"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __assign = (this && this.__assign) || Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
        s = arguments[i];
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
            t[p] = s[p];
    }
    return t;
};
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
            t[p[i]] = s[p[i]];
    return t;
};
Object.defineProperty(exports, "__esModule", { value: true });
var memoize = require("lodash/memoize");
var marked = require("marked");
var React = require("react");
var _1 = require("../");
var markedOptions = {
    gfm: true,
    breaks: true,
    headerIds: false,
    sanitize: true,
};
var render = memoize(function (text) {
    if (text === void 0) { text = ''; }
    return marked(text, markedOptions);
});
var styled_components_1 = require("styled-components");
var GitHubMarkdown = styled_components_1.default(_1.Txt)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t@font-face {\n\t\tfont-family: octicons-link;\n\t\tsrc: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AA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xwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==)\n\t\t\tformat('woff');\n\t}\n\n\t {\n\t\t-ms-text-size-adjust: 100%;\n\t\t-webkit-text-size-adjust: 100%;\n\t\tfont-size: inherit;\n\t\tword-wrap: break-word;\n\t}\n\n\t.pl-c {\n\t\tcolor: #6a737d;\n\t}\n\n\t.pl-c1,\n\t.pl-s .pl-v {\n\t\tcolor: #005cc5;\n\t}\n\n\t.pl-e,\n\t.pl-en {\n\t\tcolor: #6f42c1;\n\t}\n\n\t.pl-smi,\n\t.pl-s .pl-s1 {\n\t\tcolor: #24292e;\n\t}\n\n\t.pl-ent {\n\t\tcolor: #22863a;\n\t}\n\n\t.pl-k {\n\t\tcolor: #d73a49;\n\t}\n\n\t.pl-s,\n\t.pl-pds,\n\t.pl-s .pl-pse .pl-s1,\n\t.pl-sr,\n\t.pl-sr .pl-cce,\n\t.pl-sr .pl-sre,\n\t.pl-sr .pl-sra {\n\t\tcolor: #032f62;\n\t}\n\n\t.pl-v,\n\t.pl-smw {\n\t\tcolor: #e36209;\n\t}\n\n\t.pl-bu {\n\t\tcolor: #b31d28;\n\t}\n\n\t.pl-ii {\n\t\tcolor: #fafbfc;\n\t\tbackground-color: #b31d28;\n\t}\n\n\t.pl-c2 {\n\t\tcolor: #fafbfc;\n\t\tbackground-color: #d73a49;\n\t}\n\n\t.pl-c2::before {\n\t\tcontent: '^M';\n\t}\n\n\t.pl-sr .pl-cce {\n\t\tfont-weight: bold;\n\t\tcolor: #22863a;\n\t}\n\n\t.pl-ml {\n\t\tcolor: #735c0f;\n\t}\n\n\t.pl-mh,\n\t.pl-mh .pl-en,\n\t.pl-ms {\n\t\tfont-weight: bold;\n\t\tcolor: #005cc5;\n\t}\n\n\t.pl-mi {\n\t\tfont-style: italic;\n\t\tcolor: #24292e;\n\t}\n\n\t.pl-mb {\n\t\tfont-weight: bold;\n\t\tcolor: #24292e;\n\t}\n\n\t.pl-md {\n\t\tcolor: #b31d28;\n\t\tbackground-color: #ffeef0;\n\t}\n\n\t.pl-mi1 {\n\t\tcolor: #22863a;\n\t\tbackground-color: #f0fff4;\n\t}\n\n\t.pl-mc {\n\t\tcolor: #e36209;\n\t\tbackground-color: #ffebda;\n\t}\n\n\t.pl-mi2 {\n\t\tcolor: #f6f8fa;\n\t\tbackground-color: #005cc5;\n\t}\n\n\t.pl-mdr {\n\t\tfont-weight: bold;\n\t\tcolor: #6f42c1;\n\t}\n\n\t.pl-ba {\n\t\tcolor: #586069;\n\t}\n\n\t.pl-sg {\n\t\tcolor: #959da5;\n\t}\n\n\t.pl-corl {\n\t\ttext-decoration: underline;\n\t\tcolor: #032f62;\n\t}\n\n\t.octicon {\n\t\tdisplay: inline-block;\n\t\tvertical-align: text-top;\n\t\tfill: currentColor;\n\t}\n\n\ta {\n\t\tbackground-color: transparent;\n\t\t-webkit-text-decoration-skip: objects;\n\t}\n\n\ta:active,\n\ta:hover {\n\t\toutline-width: 0;\n\t}\n\n\tstrong {\n\t\tfont-weight: inherit;\n\t}\n\n\tstrong {\n\t\tfont-weight: bolder;\n\t}\n\n\th1 {\n\t\tfont-size: 2em;\n\t\tmargin: 0.67em 0;\n\t}\n\n\timg {\n\t\tborder-style: none;\n\t}\n\n\tsvg:not(:root) {\n\t\toverflow: hidden;\n\t}\n\n\tcode,\n\tkbd,\n\tpre {\n\t\tfont-family: ", ";\n\t\tfont-size: 1em;\n\t}\n\n\thr {\n\t\tbox-sizing: content-box;\n\t\theight: 0;\n\t\toverflow: visible;\n\t}\n\n\tinput {\n\t\tfont: inherit;\n\t\tmargin: 0;\n\t}\n\n\tinput {\n\t\toverflow: visible;\n\t}\n\n\t[type='checkbox'] {\n\t\tbox-sizing: border-box;\n\t\tpadding: 0;\n\t}\n\n\t* {\n\t\tbox-sizing: border-box;\n\t}\n\n\tinput {\n\t\tfont-family: inherit;\n\t\tfont-size: inherit;\n\t\tline-height: inherit;\n\t}\n\n\ta {\n\t\tcolor: #0366d6;\n\t\ttext-decoration: none;\n\t}\n\n\ta:hover {\n\t\ttext-decoration: underline;\n\t}\n\n\tstrong {\n\t\tfont-weight: 600;\n\t}\n\n\thr {\n\t\theight: 0;\n\t\tmargin: 15px 0;\n\t\toverflow: hidden;\n\t\tbackground: transparent;\n\t\tborder: 0;\n\t\tborder-bottom: 1px solid #dfe2e5;\n\t}\n\n\thr::before {\n\t\tdisplay: table;\n\t\tcontent: '';\n\t}\n\n\thr::after {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\tcontent: '';\n\t}\n\n\ttable {\n\t\tborder-spacing: 0;\n\t\tborder-collapse: collapse;\n\t}\n\n\ttd,\n\tth {\n\t\tpadding: 0;\n\t}\n\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6 {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\th1 {\n\t\tfont-size: 32px;\n\t\tfont-weight: 600;\n\t}\n\n\th2 {\n\t\tfont-size: 24px;\n\t\tfont-weight: 600;\n\t}\n\n\th3 {\n\t\tfont-size: 20px;\n\t\tfont-weight: 600;\n\t}\n\n\th4 {\n\t\tfont-size: 16px;\n\t\tfont-weight: 600;\n\t}\n\n\th5 {\n\t\tfont-size: 14px;\n\t\tfont-weight: 600;\n\t}\n\n\th6 {\n\t\tfont-size: 12px;\n\t\tfont-weight: 600;\n\t}\n\n\tp {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 10px;\n\t}\n\n\tblockquote {\n\t\tmargin: 0;\n\t}\n\n\tul,\n\tol {\n\t\tpadding-left: 0;\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\tol ol,\n\tul ol {\n\t\tlist-style-type: lower-roman;\n\t}\n\n\tul ul ol,\n\tul ol ol,\n\tol ul ol,\n\tol ol ol {\n\t\tlist-style-type: lower-alpha;\n\t}\n\n\tdd {\n\t\tmargin-left: 0;\n\t}\n\n\tcode {\n\t\tfont-family: ", ";\n\t\tfont-size: 1em;\n\t}\n\n\tpre {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t\tfont-size: 1em;\n\t\tfont-family: ", ";\n\t}\n\n\t.octicon {\n\t\tvertical-align: text-bottom;\n\t}\n\n\t.pl-0 {\n\t\tpadding-left: 0 !important;\n\t}\n\n\t.pl-1 {\n\t\tpadding-left: 4px !important;\n\t}\n\n\t.pl-2 {\n\t\tpadding-left: 8px !important;\n\t}\n\n\t.pl-3 {\n\t\tpadding-left: 16px !important;\n\t}\n\n\t.pl-4 {\n\t\tpadding-left: 24px !important;\n\t}\n\n\t.pl-5 {\n\t\tpadding-left: 32px !important;\n\t}\n\n\t.pl-6 {\n\t\tpadding-left: 40px !important;\n\t}\n\n\t.markdown-body::before {\n\t\tdisplay: table;\n\t\tcontent: '';\n\t}\n\n\t.markdown-body::after {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\tcontent: '';\n\t}\n\n\t> *:first-child {\n\t\tmargin-top: 0 !important;\n\t}\n\n\t> *:last-child {\n\t\tmargin-bottom: 0 !important;\n\t}\n\n\ta:not([href]) {\n\t\tcolor: inherit;\n\t\ttext-decoration: none;\n\t}\n\n\t.anchor {\n\t\tfloat: left;\n\t\tpadding-right: 4px;\n\t\tmargin-left: -20px;\n\t\tline-height: 1;\n\t}\n\n\t.anchor:focus {\n\t\toutline: none;\n\t}\n\n\tp,\n\tblockquote,\n\tul,\n\tol,\n\tdl,\n\ttable,\n\tpre {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 16px;\n\t}\n\n\thr {\n\t\theight: 0.25em;\n\t\tpadding: 0;\n\t\tmargin: 24px 0;\n\t\tbackground-color: #e1e4e8;\n\t\tborder: 0;\n\t}\n\n\tblockquote {\n\t\tpadding: 0 1em;\n\t\tcolor: #6a737d;\n\t\tborder-left: 0.25em solid #dfe2e5;\n\t}\n\n\tblockquote > :first-child {\n\t\tmargin-top: 0;\n\t}\n\n\tblockquote > :last-child {\n\t\tmargin-bottom: 0;\n\t}\n\n\tkbd {\n\t\tdisplay: inline-block;\n\t\tpadding: 3px 5px;\n\t\tfont-size: 11px;\n\t\tline-height: 10px;\n\t\tcolor: #444d56;\n\t\tvertical-align: middle;\n\t\tbackground-color: #fafbfc;\n\t\tborder: solid 1px #c6cbd1;\n\t\tborder-bottom-color: #959da5;\n\t\tborder-radius: 3px;\n\t\tbox-shadow: inset 0 -1px 0 #959da5;\n\t}\n\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6 {\n\t\tmargin-top: 24px;\n\t\tmargin-bottom: 16px;\n\t\tfont-weight: 600;\n\t\tline-height: 1.25;\n\t}\n\n\th1 .octicon-link,\n\th2 .octicon-link,\n\th3 .octicon-link,\n\th4 .octicon-link,\n\th5 .octicon-link,\n\th6 .octicon-link {\n\t\tcolor: #1b1f23;\n\t\tvertical-align: middle;\n\t\tvisibility: hidden;\n\t}\n\n\th1:hover .anchor,\n\th2:hover .anchor,\n\th3:hover .anchor,\n\th4:hover .anchor,\n\th5:hover .anchor,\n\th6:hover .anchor {\n\t\ttext-decoration: none;\n\t}\n\n\th1:hover .anchor .octicon-link,\n\th2:hover .anchor .octicon-link,\n\th3:hover .anchor .octicon-link,\n\th4:hover .anchor .octicon-link,\n\th5:hover .anchor .octicon-link,\n\th6:hover .anchor .octicon-link {\n\t\tvisibility: visible;\n\t}\n\n\th1 {\n\t\tpadding-bottom: 0.3em;\n\t\tfont-size: 2em;\n\t\tborder-bottom: 1px solid #eaecef;\n\t}\n\n\th2 {\n\t\tpadding-bottom: 0.3em;\n\t\tfont-size: 1.5em;\n\t\tborder-bottom: 1px solid #eaecef;\n\t}\n\n\th3 {\n\t\tfont-size: 1.25em;\n\t}\n\n\th4 {\n\t\tfont-size: 1em;\n\t}\n\n\th5 {\n\t\tfont-size: 0.875em;\n\t}\n\n\th6 {\n\t\tfont-size: 0.85em;\n\t\tcolor: #6a737d;\n\t}\n\n\tul,\n\tol {\n\t\tpadding-left: 2em;\n\t}\n\n\tul ul,\n\tul ol,\n\tol ol,\n\tol ul {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\tli > p {\n\t\tmargin-top: 16px;\n\t}\n\n\tli + li {\n\t\tmargin-top: 0.25em;\n\t}\n\n\tdl {\n\t\tpadding: 0;\n\t}\n\n\tdl dt {\n\t\tpadding: 0;\n\t\tmargin-top: 16px;\n\t\tfont-size: 1em;\n\t\tfont-style: italic;\n\t\tfont-weight: 600;\n\t}\n\n\tdl dd {\n\t\tpadding: 0 16px;\n\t\tmargin-bottom: 16px;\n\t}\n\n\ttable {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\toverflow: auto;\n\t}\n\n\ttable th {\n\t\tfont-weight: 600;\n\t}\n\n\ttable th,\n\ttable td {\n\t\tpadding: 6px 13px;\n\t\tborder: 1px solid #dfe2e5;\n\t}\n\n\ttable tr {\n\t\tbackground-color: #fff;\n\t\tborder-top: 1px solid #c6cbd1;\n\t}\n\n\ttable tr:nth-child(2n) {\n\t\tbackground-color: #f6f8fa;\n\t}\n\n\timg {\n\t\tmax-width: 100%;\n\t\tbox-sizing: content-box;\n\t\tbackground-color: #fff;\n\t}\n\n\tcode {\n\t\tpadding: 0;\n\t\tpadding-top: 0.2em;\n\t\tpadding-bottom: 0.2em;\n\t\tmargin: 0;\n\t\tbackground-color: rgba(27, 31, 35, 0.05);\n\t\tborder-radius: 3px;\n\t}\n\n\tcode::before,\n\tcode::after {\n\t\tletter-spacing: -0.2em;\n\t\tcontent: '\x000a0';\n\t}\n\n\tpre {\n\t\tword-wrap: normal;\n\t}\n\n\tpre > code {\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tfont-size: 100%;\n\t\tword-break: normal;\n\t\twhite-space: pre;\n\t\tbackground: transparent;\n\t\tborder: 0;\n\t}\n\n\t.highlight {\n\t\tmargin-bottom: 16px;\n\t}\n\n\t.highlight pre {\n\t\tmargin-bottom: 0;\n\t\tword-break: normal;\n\t}\n\n\t.highlight pre,\n\tpre {\n\t\tpadding: 16px;\n\t\toverflow: auto;\n\t\tfont-size: 95%;\n\t\tline-height: 1.45;\n\t\tbackground-color: #f6f8fa;\n\t\tborder-radius: 3px;\n\t}\n\n\tpre code {\n\t\tdisplay: inline;\n\t\tmax-width: auto;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\toverflow: visible;\n\t\tline-height: inherit;\n\t\tword-wrap: normal;\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t}\n\n\tpre code::before,\n\tpre code::after {\n\t\tcontent: normal;\n\t}\n\n\t.full-commit .btn-outline:not(:disabled):hover {\n\t\tcolor: #005cc5;\n\t\tborder-color: #005cc5;\n\t}\n\n\tkbd {\n\t\tdisplay: inline-block;\n\t\tpadding: 3px 5px;\n\t\tfont-size: 11px\n\t\tfont-family: ", ";\n\t\tline-height: 10px;\n\t\tcolor: #444d56;\n\t\tvertical-align: middle;\n\t\tbackground-color: #fafbfc;\n\t\tborder: solid 1px #d1d5da;\n\t\tborder-bottom-color: #c6cbd1;\n\t\tborder-radius: 3px;\n\t\tbox-shadow: inset 0 -1px 0 #c6cbd1;\n\t}\n\n\t:checked + .radio-label {\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\tborder-color: #0366d6;\n\t}\n\n\t.task-list-item {\n\t\tlist-style-type: none;\n\t}\n\n\t.task-list-item + .task-list-item {\n\t\tmargin-top: 3px;\n\t}\n\n\t.task-list-item input {\n\t\tmargin: 0 0.2em 0.25em -1.6em;\n\t\tvertical-align: middle;\n\t}\n\n\thr {\n\t\tborder-bottom-color: #eee;\n\t}\n"], ["\n\t@font-face {\n\t\tfont-family: octicons-link;\n\t\tsrc: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tp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JlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==)\n\t\t\tformat('woff');\n\t}\n\n\t {\n\t\t-ms-text-size-adjust: 100%;\n\t\t-webkit-text-size-adjust: 100%;\n\t\tfont-size: inherit;\n\t\tword-wrap: break-word;\n\t}\n\n\t.pl-c {\n\t\tcolor: #6a737d;\n\t}\n\n\t.pl-c1,\n\t.pl-s .pl-v {\n\t\tcolor: #005cc5;\n\t}\n\n\t.pl-e,\n\t.pl-en {\n\t\tcolor: #6f42c1;\n\t}\n\n\t.pl-smi,\n\t.pl-s .pl-s1 {\n\t\tcolor: #24292e;\n\t}\n\n\t.pl-ent {\n\t\tcolor: #22863a;\n\t}\n\n\t.pl-k {\n\t\tcolor: #d73a49;\n\t}\n\n\t.pl-s,\n\t.pl-pds,\n\t.pl-s .pl-pse .pl-s1,\n\t.pl-sr,\n\t.pl-sr .pl-cce,\n\t.pl-sr .pl-sre,\n\t.pl-sr .pl-sra {\n\t\tcolor: #032f62;\n\t}\n\n\t.pl-v,\n\t.pl-smw {\n\t\tcolor: #e36209;\n\t}\n\n\t.pl-bu {\n\t\tcolor: #b31d28;\n\t}\n\n\t.pl-ii {\n\t\tcolor: #fafbfc;\n\t\tbackground-color: #b31d28;\n\t}\n\n\t.pl-c2 {\n\t\tcolor: #fafbfc;\n\t\tbackground-color: #d73a49;\n\t}\n\n\t.pl-c2::before {\n\t\tcontent: '^M';\n\t}\n\n\t.pl-sr .pl-cce {\n\t\tfont-weight: bold;\n\t\tcolor: #22863a;\n\t}\n\n\t.pl-ml {\n\t\tcolor: #735c0f;\n\t}\n\n\t.pl-mh,\n\t.pl-mh .pl-en,\n\t.pl-ms {\n\t\tfont-weight: bold;\n\t\tcolor: #005cc5;\n\t}\n\n\t.pl-mi {\n\t\tfont-style: italic;\n\t\tcolor: #24292e;\n\t}\n\n\t.pl-mb {\n\t\tfont-weight: bold;\n\t\tcolor: #24292e;\n\t}\n\n\t.pl-md {\n\t\tcolor: #b31d28;\n\t\tbackground-color: #ffeef0;\n\t}\n\n\t.pl-mi1 {\n\t\tcolor: #22863a;\n\t\tbackground-color: #f0fff4;\n\t}\n\n\t.pl-mc {\n\t\tcolor: #e36209;\n\t\tbackground-color: #ffebda;\n\t}\n\n\t.pl-mi2 {\n\t\tcolor: #f6f8fa;\n\t\tbackground-color: #005cc5;\n\t}\n\n\t.pl-mdr {\n\t\tfont-weight: bold;\n\t\tcolor: #6f42c1;\n\t}\n\n\t.pl-ba {\n\t\tcolor: #586069;\n\t}\n\n\t.pl-sg {\n\t\tcolor: #959da5;\n\t}\n\n\t.pl-corl {\n\t\ttext-decoration: underline;\n\t\tcolor: #032f62;\n\t}\n\n\t.octicon {\n\t\tdisplay: inline-block;\n\t\tvertical-align: text-top;\n\t\tfill: currentColor;\n\t}\n\n\ta {\n\t\tbackground-color: transparent;\n\t\t-webkit-text-decoration-skip: objects;\n\t}\n\n\ta:active,\n\ta:hover {\n\t\toutline-width: 0;\n\t}\n\n\tstrong {\n\t\tfont-weight: inherit;\n\t}\n\n\tstrong {\n\t\tfont-weight: bolder;\n\t}\n\n\th1 {\n\t\tfont-size: 2em;\n\t\tmargin: 0.67em 0;\n\t}\n\n\timg {\n\t\tborder-style: none;\n\t}\n\n\tsvg:not(:root) {\n\t\toverflow: hidden;\n\t}\n\n\tcode,\n\tkbd,\n\tpre {\n\t\tfont-family: ", ";\n\t\tfont-size: 1em;\n\t}\n\n\thr {\n\t\tbox-sizing: content-box;\n\t\theight: 0;\n\t\toverflow: visible;\n\t}\n\n\tinput {\n\t\tfont: inherit;\n\t\tmargin: 0;\n\t}\n\n\tinput {\n\t\toverflow: visible;\n\t}\n\n\t[type='checkbox'] {\n\t\tbox-sizing: border-box;\n\t\tpadding: 0;\n\t}\n\n\t* {\n\t\tbox-sizing: border-box;\n\t}\n\n\tinput {\n\t\tfont-family: inherit;\n\t\tfont-size: inherit;\n\t\tline-height: inherit;\n\t}\n\n\ta {\n\t\tcolor: #0366d6;\n\t\ttext-decoration: none;\n\t}\n\n\ta:hover {\n\t\ttext-decoration: underline;\n\t}\n\n\tstrong {\n\t\tfont-weight: 600;\n\t}\n\n\thr {\n\t\theight: 0;\n\t\tmargin: 15px 0;\n\t\toverflow: hidden;\n\t\tbackground: transparent;\n\t\tborder: 0;\n\t\tborder-bottom: 1px solid #dfe2e5;\n\t}\n\n\thr::before {\n\t\tdisplay: table;\n\t\tcontent: '';\n\t}\n\n\thr::after {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\tcontent: '';\n\t}\n\n\ttable {\n\t\tborder-spacing: 0;\n\t\tborder-collapse: collapse;\n\t}\n\n\ttd,\n\tth {\n\t\tpadding: 0;\n\t}\n\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6 {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\th1 {\n\t\tfont-size: 32px;\n\t\tfont-weight: 600;\n\t}\n\n\th2 {\n\t\tfont-size: 24px;\n\t\tfont-weight: 600;\n\t}\n\n\th3 {\n\t\tfont-size: 20px;\n\t\tfont-weight: 600;\n\t}\n\n\th4 {\n\t\tfont-size: 16px;\n\t\tfont-weight: 600;\n\t}\n\n\th5 {\n\t\tfont-size: 14px;\n\t\tfont-weight: 600;\n\t}\n\n\th6 {\n\t\tfont-size: 12px;\n\t\tfont-weight: 600;\n\t}\n\n\tp {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 10px;\n\t}\n\n\tblockquote {\n\t\tmargin: 0;\n\t}\n\n\tul,\n\tol {\n\t\tpadding-left: 0;\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\tol ol,\n\tul ol {\n\t\tlist-style-type: lower-roman;\n\t}\n\n\tul ul ol,\n\tul ol ol,\n\tol ul ol,\n\tol ol ol {\n\t\tlist-style-type: lower-alpha;\n\t}\n\n\tdd {\n\t\tmargin-left: 0;\n\t}\n\n\tcode {\n\t\tfont-family: ", ";\n\t\tfont-size: 1em;\n\t}\n\n\tpre {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t\tfont-size: 1em;\n\t\tfont-family: ", ";\n\t}\n\n\t.octicon {\n\t\tvertical-align: text-bottom;\n\t}\n\n\t.pl-0 {\n\t\tpadding-left: 0 !important;\n\t}\n\n\t.pl-1 {\n\t\tpadding-left: 4px !important;\n\t}\n\n\t.pl-2 {\n\t\tpadding-left: 8px !important;\n\t}\n\n\t.pl-3 {\n\t\tpadding-left: 16px !important;\n\t}\n\n\t.pl-4 {\n\t\tpadding-left: 24px !important;\n\t}\n\n\t.pl-5 {\n\t\tpadding-left: 32px !important;\n\t}\n\n\t.pl-6 {\n\t\tpadding-left: 40px !important;\n\t}\n\n\t.markdown-body::before {\n\t\tdisplay: table;\n\t\tcontent: '';\n\t}\n\n\t.markdown-body::after {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\tcontent: '';\n\t}\n\n\t> *:first-child {\n\t\tmargin-top: 0 !important;\n\t}\n\n\t> *:last-child {\n\t\tmargin-bottom: 0 !important;\n\t}\n\n\ta:not([href]) {\n\t\tcolor: inherit;\n\t\ttext-decoration: none;\n\t}\n\n\t.anchor {\n\t\tfloat: left;\n\t\tpadding-right: 4px;\n\t\tmargin-left: -20px;\n\t\tline-height: 1;\n\t}\n\n\t.anchor:focus {\n\t\toutline: none;\n\t}\n\n\tp,\n\tblockquote,\n\tul,\n\tol,\n\tdl,\n\ttable,\n\tpre {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 16px;\n\t}\n\n\thr {\n\t\theight: 0.25em;\n\t\tpadding: 0;\n\t\tmargin: 24px 0;\n\t\tbackground-color: #e1e4e8;\n\t\tborder: 0;\n\t}\n\n\tblockquote {\n\t\tpadding: 0 1em;\n\t\tcolor: #6a737d;\n\t\tborder-left: 0.25em solid #dfe2e5;\n\t}\n\n\tblockquote > :first-child {\n\t\tmargin-top: 0;\n\t}\n\n\tblockquote > :last-child {\n\t\tmargin-bottom: 0;\n\t}\n\n\tkbd {\n\t\tdisplay: inline-block;\n\t\tpadding: 3px 5px;\n\t\tfont-size: 11px;\n\t\tline-height: 10px;\n\t\tcolor: #444d56;\n\t\tvertical-align: middle;\n\t\tbackground-color: #fafbfc;\n\t\tborder: solid 1px #c6cbd1;\n\t\tborder-bottom-color: #959da5;\n\t\tborder-radius: 3px;\n\t\tbox-shadow: inset 0 -1px 0 #959da5;\n\t}\n\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6 {\n\t\tmargin-top: 24px;\n\t\tmargin-bottom: 16px;\n\t\tfont-weight: 600;\n\t\tline-height: 1.25;\n\t}\n\n\th1 .octicon-link,\n\th2 .octicon-link,\n\th3 .octicon-link,\n\th4 .octicon-link,\n\th5 .octicon-link,\n\th6 .octicon-link {\n\t\tcolor: #1b1f23;\n\t\tvertical-align: middle;\n\t\tvisibility: hidden;\n\t}\n\n\th1:hover .anchor,\n\th2:hover .anchor,\n\th3:hover .anchor,\n\th4:hover .anchor,\n\th5:hover .anchor,\n\th6:hover .anchor {\n\t\ttext-decoration: none;\n\t}\n\n\th1:hover .anchor .octicon-link,\n\th2:hover .anchor .octicon-link,\n\th3:hover .anchor .octicon-link,\n\th4:hover .anchor .octicon-link,\n\th5:hover .anchor .octicon-link,\n\th6:hover .anchor .octicon-link {\n\t\tvisibility: visible;\n\t}\n\n\th1 {\n\t\tpadding-bottom: 0.3em;\n\t\tfont-size: 2em;\n\t\tborder-bottom: 1px solid #eaecef;\n\t}\n\n\th2 {\n\t\tpadding-bottom: 0.3em;\n\t\tfont-size: 1.5em;\n\t\tborder-bottom: 1px solid #eaecef;\n\t}\n\n\th3 {\n\t\tfont-size: 1.25em;\n\t}\n\n\th4 {\n\t\tfont-size: 1em;\n\t}\n\n\th5 {\n\t\tfont-size: 0.875em;\n\t}\n\n\th6 {\n\t\tfont-size: 0.85em;\n\t\tcolor: #6a737d;\n\t}\n\n\tul,\n\tol {\n\t\tpadding-left: 2em;\n\t}\n\n\tul ul,\n\tul ol,\n\tol ol,\n\tol ul {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\tli > p {\n\t\tmargin-top: 16px;\n\t}\n\n\tli + li {\n\t\tmargin-top: 0.25em;\n\t}\n\n\tdl {\n\t\tpadding: 0;\n\t}\n\n\tdl dt {\n\t\tpadding: 0;\n\t\tmargin-top: 16px;\n\t\tfont-size: 1em;\n\t\tfont-style: italic;\n\t\tfont-weight: 600;\n\t}\n\n\tdl dd {\n\t\tpadding: 0 16px;\n\t\tmargin-bottom: 16px;\n\t}\n\n\ttable {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\toverflow: auto;\n\t}\n\n\ttable th {\n\t\tfont-weight: 600;\n\t}\n\n\ttable th,\n\ttable td {\n\t\tpadding: 6px 13px;\n\t\tborder: 1px solid #dfe2e5;\n\t}\n\n\ttable tr {\n\t\tbackground-color: #fff;\n\t\tborder-top: 1px solid #c6cbd1;\n\t}\n\n\ttable tr:nth-child(2n) {\n\t\tbackground-color: #f6f8fa;\n\t}\n\n\timg {\n\t\tmax-width: 100%;\n\t\tbox-sizing: content-box;\n\t\tbackground-color: #fff;\n\t}\n\n\tcode {\n\t\tpadding: 0;\n\t\tpadding-top: 0.2em;\n\t\tpadding-bottom: 0.2em;\n\t\tmargin: 0;\n\t\tbackground-color: rgba(27, 31, 35, 0.05);\n\t\tborder-radius: 3px;\n\t}\n\n\tcode::before,\n\tcode::after {\n\t\tletter-spacing: -0.2em;\n\t\tcontent: '\\00a0';\n\t}\n\n\tpre {\n\t\tword-wrap: normal;\n\t}\n\n\tpre > code {\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tfont-size: 100%;\n\t\tword-break: normal;\n\t\twhite-space: pre;\n\t\tbackground: transparent;\n\t\tborder: 0;\n\t}\n\n\t.highlight {\n\t\tmargin-bottom: 16px;\n\t}\n\n\t.highlight pre {\n\t\tmargin-bottom: 0;\n\t\tword-break: normal;\n\t}\n\n\t.highlight pre,\n\tpre {\n\t\tpadding: 16px;\n\t\toverflow: auto;\n\t\tfont-size: 95%;\n\t\tline-height: 1.45;\n\t\tbackground-color: #f6f8fa;\n\t\tborder-radius: 3px;\n\t}\n\n\tpre code {\n\t\tdisplay: inline;\n\t\tmax-width: auto;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\toverflow: visible;\n\t\tline-height: inherit;\n\t\tword-wrap: normal;\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t}\n\n\tpre code::before,\n\tpre code::after {\n\t\tcontent: normal;\n\t}\n\n\t.full-commit .btn-outline:not(:disabled):hover {\n\t\tcolor: #005cc5;\n\t\tborder-color: #005cc5;\n\t}\n\n\tkbd {\n\t\tdisplay: inline-block;\n\t\tpadding: 3px 5px;\n\t\tfont-size: 11px\n\t\tfont-family: ", ";\n\t\tline-height: 10px;\n\t\tcolor: #444d56;\n\t\tvertical-align: middle;\n\t\tbackground-color: #fafbfc;\n\t\tborder: solid 1px #d1d5da;\n\t\tborder-bottom-color: #c6cbd1;\n\t\tborder-radius: 3px;\n\t\tbox-shadow: inset 0 -1px 0 #c6cbd1;\n\t}\n\n\t:checked + .radio-label {\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\tborder-color: #0366d6;\n\t}\n\n\t.task-list-item {\n\t\tlist-style-type: none;\n\t}\n\n\t.task-list-item + .task-list-item {\n\t\tmargin-top: 3px;\n\t}\n\n\t.task-list-item input {\n\t\tmargin: 0 0.2em 0.25em -1.6em;\n\t\tvertical-align: middle;\n\t}\n\n\thr {\n\t\tborder-bottom-color: #eee;\n\t}\n"])), function (props) { return props.theme.monospace; }, function (props) { return props.theme.monospace; }, function (props) { return props.theme.monospace; }, function (props) { return props.theme.monospace; });
exports.Markdown = function (_a) {
    var children = _a.children, props = __rest(_a, ["children"]);
    return (React.createElement(GitHubMarkdown, __assign({}, props, { dangerouslySetInnerHTML: { __html: render(children) } })));
};
var templateObject_1;
