function renderGithubButton() { "use strict"; var e = window.document, t = e.location, o = window.Math, r = window.HTMLElement, n = window.XMLHttpRequest, a = "https://buttons.github.io/buttons.html", i = n && n.prototype && "withCredentials" in n.prototype, l = i && r && r.prototype.attachShadow && !r.prototype.attachShadow.prototype, c = function (e, t, o, r) { null == t && (t = "&"), null == o && (o = "="), null == r && (r = window.decodeURIComponent); for (var n = {}, a = e.split(t), i = 0, l = a.length; i < l; ++i) { var c = a[i]; if ("" !== c) { var d = c.split(o); n[r(d[0])] = null != d[1] ? r(d.slice(1).join(o)) : void 0 } } return n }, d = function (e, t, o) { e.addEventListener ? e.addEventListener(t, o, !1) : e.attachEvent("on" + t, o) }, s = function (e, t, o) { e.removeEventListener ? e.removeEventListener(t, o, !1) : e.detachEvent("on" + t, o) }, f = function (e, t, o) { var r = function (n) { return s(e, t, r), o(n) }; d(e, t, r) }, u = function (e, t, o) { var r = function (n) { if (t.test(e.readyState)) return s(e, "readystatechange", r), o(n) }; d(e, "readystatechange", r) }, h = function (e) { return function (t, o, r) { var n = e.createElement(t); if (o) for (var a in o) { var i = o[a]; null != i && (null != n[a] ? n[a] = i : n.setAttribute(a, i)) } if (r) for (var l = 0, c = r.length; l < c; l++) { var d = r[l]; n.appendChild("string" == typeof d ? e.createTextNode(d) : d) } return n } }, g = h(e), p = function (e) { var t; return function () { t || (t = 1, e.apply(this, arguments)) } }, b = function (e, t) { return {}.hasOwnProperty.call(e, t) }, m = { light: ".btn{color:#24292e;background-color:#eff3f6;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23fafbfc'/%3e%3cstop offset='90%25' stop-color='%23eff3f6'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #fafbfc, #eff3f6 90%);background-image:linear-gradient(180deg, #fafbfc, #eff3f6 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFFAFBFC', endColorstr='#FFEEF2F5');border-color:#cdcfd1;border-color:rgba(27,31,35,.2)}:root .btn{filter:none}.btn:focus,.btn:hover{background-color:#e6ebf1;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f0f3f6'/%3e%3cstop offset='90%25' stop-color='%23e6ebf1'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #f0f3f6, #e6ebf1 90%);background-image:linear-gradient(180deg, #f0f3f6, #e6ebf1 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF0F3F6', endColorstr='#FFE5EAF0');background-position:-0.5em;border-color:#acaeb0;border-color:rgba(27,31,35,.35)}:root .btn:focus,:root .btn:hover{filter:none}.btn:active{background-color:#e9ecef;background-image:none;border-color:#acaeb0;border-color:rgba(27,31,35,.35);box-shadow:inset 0 .15em .3em rgba(27,31,35,.15);filter:none}.social-count{color:#24292e;background-color:#fff;border-color:#d1d2d3;border-color:rgba(27,31,35,.2)}.social-count:focus,.social-count:hover{color:#0366d6}.octicon-heart{color:#ea4aaa}", dark: ".btn{color:#fafbfc;background-color:#202428;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%232f363d'/%3e%3cstop offset='90%25' stop-color='%23202428'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #2f363d, #202428 90%);background-image:linear-gradient(180deg, #2f363d, #202428 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF2F363D', endColorstr='#FF1E2226');border-color:#2b3138;border-color:rgba(27,31,35,.2)}:root .btn{filter:none}.btn:focus,.btn:hover{background-color:#1b1f23;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%232b3137'/%3e%3cstop offset='90%25' stop-color='%231b1f23'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #2b3137, #1b1f23 90%);background-image:linear-gradient(180deg, #2b3137, #1b1f23 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF2B3137', endColorstr='#FF191D21');background-position:-0.5em;border-color:#252b30;border-color:rgba(27,31,35,.5)}:root .btn:focus,:root .btn:hover{filter:none}.btn:active{background-color:#181b1f;background-image:none;border-color:#252b30;border-color:rgba(27,31,35,.5);box-shadow:inset 0 .15em .3em rgba(27,31,35,.15);filter:none}.social-count{color:#fafbfc;background-color:#1b1f23;border-color:#1b1f23;border-color:rgba(27,31,35,.2)}.social-count:focus,.social-count:hover{color:#2188ff}.octicon-heart{color:#ec6cb9}" }, v = function (e, t) { return "@media(prefers-color-scheme:" + e + "){" + m[b(m, t) ? t : e] + "}" }, w = { "mark-github": { width: 16, height: 16, path: '' }, heart: { width: 12, height: 16, path: '' }, eye: { width: 16, height: 16, path: '' }, star: { width: 14, height: 16, path: '' }, "repo-forked": { width: 10, height: 16, path: '' }, "issue-opened": { width: 14, height: 16, path: '' }, "cloud-download": { width: 16, height: 16, path: '' } }, x = {}, y = function (e, t) { var o = x[e] || (x[e] = []); if (!(o.push(t) > 1)) { var r = p((function () { for (delete x[e]; t = o.shift();) t.apply(null, arguments) })); if (i) { var a = new n; d(a, "abort", r), d(a, "error", r), d(a, "load", (function () { var e; try { e = JSON.parse(a.responseText) } catch (e) { return void r(e) } r(200 !== a.status, e) })), a.open("GET", e), a.send() } else { var l = this || window; l._ = function (e) { l._ = null, r(200 !== e.meta.status, e.data) }; var c = h(l.document)("script", { async: !0, src: e + (/\?/.test(e) ? "&" : "?") + "callback=_" }), s = function () { l._ && l._({ meta: {} }) }; d(c, "load", s), d(c, "error", s), c.readyState && u(c, /de|m/, s), l.document.getElementsByTagName("head")[0].appendChild(c) } } }, k = function (e, t, o) { var r = h(e.ownerDocument), n = e.appendChild(r("style", { type: "text/css" })), a = "body{margin:0}a{text-decoration:none;outline:0}.widget{display:inline-block;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:0;white-space:nowrap}.btn,.social-count{position:relative;display:inline-block;height:14px;padding:2px 5px;font-size:11px;font-weight:600;line-height:14px;vertical-align:bottom;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:repeat-x;background-position:-1px -1px;background-size:110% 110%;border:1px solid}.btn{border-radius:.25em}.btn:not(:last-child){border-radius:.25em 0 0 .25em}.social-count{border-left:0;border-radius:0 .25em .25em 0}.widget-lg .btn,.widget-lg .social-count{height:20px;padding:3px 10px;font-size:12px;line-height:20px}.octicon{display:inline-block;vertical-align:text-top;fill:currentColor}" + function (e) { if (null == e) return m.light; var t = c(e, ";", ":", (function (e) { return e.replace(/^[ \t\n\f\r]+|[ \t\n\f\r]+$/g, "") })); return m[b(m, t["no-preference"]) ? t["no-preference"] : "light"] + v("light", t.light) + v("dark", t.dark) }(t["data-color-scheme"]); n.styleSheet ? n.styleSheet.cssText = a : n.appendChild(e.ownerDocument.createTextNode(a)); var i, l, d = r("a", { className: "btn", href: t.href, target: "_blank", rel: "noopener", innerHTML: (i = t["data-icon"], l = /^large$/i.test(t["data-size"]) ? 16 : 14, i = ("" + i).toLowerCase().replace(/^octicon-/, ""), b(w, i) || (i = "mark-github"), '"), "aria-label": t["aria-label"] || void 0 }, [" ", r("span", {}, [t["data-text"] || ""])]), s = e.appendChild(r("div", { className: "widget" + (/^large$/i.test(t["data-size"]) ? " widget-lg" : "") }, [d])), f = d.hostname.split(".").reverse(); if ("" === f[0] && f.shift(), "com" !== f[0] || "github" !== f[1]) return d.href = "#", d.target = "_self", void o(s); var u = f.length, g = (" /" + d.pathname).split(/\/+/); if (((2 === u || 3 === u && "gist" === f[2]) && "archive" === g[3] || 2 === u && "releases" === g[3] && "download" === g[4] || 3 === u && "codeload" === f[2]) && (d.target = "_top"), /^true$/i.test(t["data-show-count"]) && 2 === u) { var p, x; if (!g[2] && g[1]) p = x = "followers"; else if (!g[3] && g[2]) x = "stargazers_count", p = "stargazers"; else if (g[4] || "subscription" !== g[3]) if (g[4] || "fork" !== g[3]) { if ("issues" !== g[3]) return void o(s); x = "open_issues_count", p = "issues" } else x = "forks_count", p = "network/members"; else x = "subscribers_count", p = "watchers"; var k = g[2] ? "/repos/" + g[1] + "/" + g[2] : "/users/" + g[1]; y.call(this, "https://api.github.com" + k, (function (e, t) { if (!e) { var n = t[x]; s.appendChild(r("a", { className: "social-count", href: t.html_url + "/" + p, target: "_blank", rel: "noopener", "aria-label": n + " " + x.replace(/_count$/, "").replace("_", " ").slice(0, n < 2 ? -1 : void 0) + " on GitHub" }, [("" + n).replace(/\B(?=(\d{3})+(?!\d))/g, ",")])) } o(s) })) } else o(s) }, C = window.devicePixelRatio || 1, z = function (e) { return (C > 1 ? o.ceil(o.round(e * C) / C * 2) / 2 : o.ceil(e)) || 0 }, F = function (e, t) { e.style.width = t[0] + "px", e.style.height = t[1] + "px" }, M = function (t, r) { if (null != t && null != r) if (t.getAttribute && (t = function (e) { for (var t = { href: e.href, title: e.title, "aria-label": e.getAttribute("aria-label") }, o = ["icon", "color-scheme", "text", "size", "show-count"], r = 0, n = o.length; r < n; r++) { var a = "data-" + o[r]; t[a] = e.getAttribute(a) } return null == t["data-text"] && (t["data-text"] = e.textContent || e.innerText), t }(t)), l) { var n = g("span", { title: t.title || void 0 }); k(n.attachShadow({ mode: "closed" }), t, (function () { r(n) })) } else { var i = g("iframe", { src: "javascript:0", title: t.title || void 0, allowtransparency: !0, scrolling: "no", frameBorder: 0 }); F(i, [0, 0]), i.style.border = "none"; var c = function () { var n, l = i.contentWindow; try { n = l.document.body } catch (t) { return void e.body.appendChild(i.parentNode.removeChild(i)) } s(i, "load", c), k.call(l, n, t, (function (e) { var n = function (e) { var t = e.offsetWidth, r = e.offsetHeight; if (e.getBoundingClientRect) { var n = e.getBoundingClientRect(); t = o.max(t, z(n.width)), r = o.max(r, z(n.height)) } return [t, r] }(e); i.parentNode.removeChild(i), f(i, "load", (function () { F(i, n) })), i.src = a + "#" + (i.name = function (e, t, o, r) { null == t && (t = "&"), null == o && (o = "="), null == r && (r = window.encodeURIComponent); var n = []; for (var a in e) { var i = e[a]; null != i && n.push(r(a) + o + r(i)) } return n.join(t) }(t)), r(i) })) }; d(i, "load", c), e.body.appendChild(i) } }; t.protocol + "//" + t.host + t.pathname === a ? k(e.body, c(window.name || t.hash.replace(/^#/, "")), (function () { })) : function (t) { if (/m/.test(e.readyState) || !/g/.test(e.readyState) && !e.documentElement.doScroll) setTimeout(t); else if (e.addEventListener) { var o = p(t); f(e, "DOMContentLoaded", o), f(window, "load", o) } else u(e, /m/, t) }((function () { for (var t = e.querySelectorAll ? e.querySelectorAll("a.github-button") : function () { for (var t = [], o = e.getElementsByTagName("a"), r = 0, n = o.length; r < n; r++) ~(" " + o[r].className + " ").replace(/[ \t\n\f\r]+/g, " ").indexOf(" github-button ") && t.push(o[r]); return t }(), o = 0, r = t.length; o < r; o++) ! function (e) { M(e, (function (t) { e.parentNode.replaceChild(t, e) })) }(t[o]) })) }