Raw Source
Kir_Antipov / GitHub Defreshed

// ==UserScript==
// @name         GitHub Defreshed
// @namespace    GitHub
// @version      4.1.0
// @author       Kir_Antipov
// @description  Classical GitHub at its finest
// @license      MIT
// @homepageURL  https://github.com/Kir-Antipov/GitHub-Defreshed
// @updateURL    https://raw.githubusercontent.com/Kir-Antipov/GitHub-Defreshed/master/build/github-defreshed.meta.js
// @downloadURL  https://raw.githubusercontent.com/Kir-Antipov/GitHub-Defreshed/master/build/github-defreshed.user.js
// @supportURL   https://github.com/Kir-Antipov/GitHub-Defreshed/issues/new/choose
// @match        https://github.com/*
// @run-at       document-start
// @grant        none
// ==/UserScript==
(()=>{"use strict";var e={684:(e,t,r)=>{var n=r(119);function i(e=location.pathname){try{e=new URL(e).pathname}catch(e){}return e.replace(/^[/]|[/]$|(\?(.*))$|(\/\?(.*))$/g,"")}function o(e=location.pathname){const t=function(e=location.pathname){if(!s(e=i(e)))return null;const[t,r]=e.split("/");return{owner:t,repo:r}}(e);return t?`${t.owner}/${t.repo}`:null}function a(e=location.pathname){if(!s(e=i(e)))return null;const t=e.match(/^[^/]+[/][^/]+[/]?(.*)$/);return t?t[1]:null}function s(e=location.pathname){const t=(e=i(e)).substring(0,e.indexOf("/"));return/^[^/]+\/[^/]+/.test(e)&&!(0,n.BF)(t)&&!function(e=location.pathname){return/^((orgs[/][^/]+[/])?dashboard([/]index[/]\d+)?)?$/.test(i(e))}(e)&&!function(e=location.pathname){return/^([^/]+[/][^/]+\/)?notifications$/.test(i(e))}(e)}function l(e=location.pathname){let t=a(e);const r=/^(tree[/][^/]+)?$/.test(t);return r||!(t||"").startsWith("tree/")?r:(t=t.substring(5),[...document.querySelectorAll("#ref-list-branches > .SelectMenu-list > a > span:not(.Label)")].map((e=>e.innerText&&e.innerText.trim())).filter((e=>e)).some((e=>e===t)))}function c(e=location.pathname){return/^tree\//.test(a(e))}function u(e=location.pathname){return/^blob\//.test(a(e))}function d(e=location.pathname){return function(e=location.pathname){return(a(e)||"").startsWith("raw/")}(e)||function(e=location.pathname){return(a(e)||"").startsWith("archive/")}(e)||function(e=location.pathname){return(a(e)||"").startsWith("releases/download/")}(e)}function p(e=location.pathname){return/^projects\/\d+$/.test(a(e))}function h(e=location.pathname){return/#[^/]*$/.test(e)}function m(e=location.pathname){return/^settings[/]profile$/.test(i(e))}function f(e=location.pathname){return(e=i(e))&&!e.includes("/")&&!(0,n.BF)(e)}function y(e,t){try{return new URL(e).host===t}catch(r){return window.location.host===t&&e.startsWith("/")}}function v(e=location.pathname,t=location.host,r=location.protocol){return function(e){try{return new URL(e),!0}catch(e){return!1}}(e)?e:`${r}//${t}/${e=i(e)}`}function g(e=window.location.href){return y(e,"github.com")}var b=r(176);function w(e){return new Promise((t=>{setTimeout(t,e)}))}const x=w;var S=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function k(e,t,r){return S(this,void 0,void 0,(function*(){const n=new Date;for(;(new Date).valueOf()-n.valueOf()<r;){const r=e();if("boolean"==typeof r)return r;yield w(t)}return!!e()}))}function q(){return["complete","interactive","uninitialized"].includes(document.readyState)}function A(e){return e&&(q()||B(e))}function B(e){return e&&(!!e.nextSibling||B(e.parentNode))}function P(e,t,r,n,i){return k(i?()=>!!A(e.querySelector(t))||null:()=>q()?A(e.querySelector(t)):!!A(e.querySelector(t))||null,r,n)}function E(e,t,r,n,i){return k(i?()=>!!e.querySelector(t)||null:()=>q()?!!e.querySelector(t):!!e.querySelector(t)||null,r,n)}function N(e,t){return S(this,void 0,void 0,(function*(){let r;r="string"==typeof e[0]?{selectors:[...e]}:e[0]instanceof HTMLElement?{container:e[0],selectors:[...e].splice(1)}:e[0],r=Object.assign({container:document.documentElement,interval:100,timeout:1500,dynamic:!1,selectors:[]},r),r.selector&&(r.selectors=[r.selector]),r.selectors&&!Array.isArray(r.selectors)&&(r.selectors=[...r.selectors]);return(yield Promise.all(r.selectors.map((e=>t(r.container,e,r.interval,r.timeout,r.dynamic))))).every((e=>e))}))}function T(...e){let t;return t="string"==typeof e[0]?{selectors:e}:e[0]instanceof Node?{container:e[0],selectors:[...e].splice(1)}:e[0],t.interval=0,t.timeout=0,j(t)}function R(...e){return N(e,E)}function j(...e){return N(e,P)}const L=JSON.parse('{"u2":"github-defreshed","ss":"GitHub Defreshed"}');class C{isApplieble(e,t){return!0}waitUntilFixerReady(e,t){return!0}apply(e,t){}}const O=Object.keys;function U(e){return"string"==typeof e}function z(e){return"number"==typeof e}function F(e){return"object"==typeof e?null!==e:V(e)}function V(e){return"function"==typeof e}function M(e,t){if(e)for(const r of O(e))t(e[r],r)}const D={animationIterationCount:0,borderImageOutset:0,borderImageSlice:0,borderImageWidth:0,boxFlex:0,boxFlexGroup:0,boxOrdinalGroup:0,columnCount:0,columns:0,flex:0,flexGrow:0,flexPositive:0,flexShrink:0,flexNegative:0,flexOrder:0,gridArea:0,gridRow:0,gridRowEnd:0,gridRowSpan:0,gridRowStart:0,gridColumn:0,gridColumnEnd:0,gridColumnSpan:0,gridColumnStart:0,fontWeight:0,lineClamp:0,lineHeight:0,opacity:0,order:0,orphans:0,tabSize:0,widows:0,zIndex:0,zoom:0,fillOpacity:0,floodOpacity:0,stopOpacity:0,strokeDasharray:0,strokeDashoffset:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0};const G=["Webkit","ms","Moz","O"];O(D).forEach((e=>{G.forEach((t=>{D[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=0}))}));function $(e){return Array.isArray(e)?e.map($).filter(Boolean).join(" "):F(e)?O(e).filter((t=>e[t])).join(" "):function(e){return t=e,!("boolean"==typeof t||null==e);var t}(e)?""+e:""}const H={animate:0,circle:0,clipPath:0,defs:0,desc:0,ellipse:0,feBlend:0,feColorMatrix:0,feComponentTransfer:0,feComposite:0,feConvolveMatrix:0,feDiffuseLighting:0,feDisplacementMap:0,feDistantLight:0,feFlood:0,feFuncA:0,feFuncB:0,feFuncG:0,feFuncR:0,feGaussianBlur:0,feImage:0,feMerge:0,feMergeNode:0,feMorphology:0,feOffset:0,fePointLight:0,feSpecularLighting:0,feSpotLight:0,feTile:0,feTurbulence:0,filter:0,foreignObject:0,g:0,image:0,line:0,linearGradient:0,marker:0,mask:0,metadata:0,path:0,pattern:0,polygon:0,polyline:0,radialGradient:0,rect:0,stop:0,svg:0,switch:0,symbol:0,text:0,textPath:0,tspan:0,use:0,view:0},I=/^(a(ll|t|u)|base[FP]|c(al|lipPathU|on)|di|ed|ex|filter[RU]|g(lyphR|r)|ke|l(en|im)|ma(rker[HUW]|s)|n|pat|pr|point[^e]|re[^n]|s[puy]|st[^or]|ta|textL|vi|xC|y|z)/;function W(e){const t=document.createDocumentFragment();return K(e.children,t),t}function _(e){this.props=e}function Z(e,{children:t,...r}){let n;var i;return r.namespaceURI||0!==H[e]||(r={...r,namespaceURI:"http://www.w3.org/2000/svg"}),U(e)?(n=r.namespaceURI?document.createElementNS(r.namespaceURI,e):document.createElement(e),function(e,t){for(const r of O(e))Y(r,e[r],t)}(r,n),J(t,n)):V(e)&&(F(e.defaultProps)&&(r={...e.defaultProps,...r}),n=function(e){const t=e.prototype;return!(!t||!t.isReactComponent)}(e)?new e({...e.defaultProps,...r,children:t}).render():e({...r,children:t})),F(i=r.ref)&&"current"in i?r.ref.current=n:V(r.ref)&&r.ref(n),n}function J(e,t){var r,n;F(n=e)&&"number"==typeof n.length&&"number"!=typeof n.nodeType?K(e,t):U(e)||z(e)?X(document.createTextNode(e),t):null===e?X(document.createComment(""),t):(r=e)&&"number"==typeof r.nodeType&&X(e,t)}function K(e,t){for(const r of[...e])J(r,t);return t}function X(e,t){t instanceof window.HTMLTemplateElement?t.content.appendChild(e):t.appendChild(e)}function Q(e,t){return e.replace(/[A-Z\d]/g,(e=>t+e.toLowerCase()))}function Y(e,t,r){switch(e){case"xlinkActuate":case"xlinkArcrole":case"xlinkHref":case"xlinkRole":case"xlinkShow":case"xlinkTitle":case"xlinkType":return void te(r,"http://www.w3.org/1999/xlink",Q(e,":"),t);case"xmlnsXlink":return void ee(r,Q(e,":"),t);case"xmlBase":case"xmlLang":case"xmlSpace":return void te(r,"http://www.w3.org/XML/1998/namespace",Q(e,":"),t)}switch(e){case"htmlFor":return void ee(r,"for",t);case"dataset":return void M(t,((e,t)=>{null!=e&&(r.dataset[t]=e)}));case"innerHTML":case"innerText":case"textContent":return void(r[e]=t);case"dangerouslySetInnerHTML":return void(F(t)&&(r.innerHTML=t.__html));case"spellCheck":return void(r.spellcheck=t);case"class":case"className":return void(V(t)?t(r):ee(r,"class",$(t)));case"ref":case"namespaceURI":return;case"style":if(F(t))return void M(t,((e,t)=>{z(e)&&0!==D[t]?r.style[t]=e+"px":r.style[t]=e}))}if(V(t)){if("o"===e[0]&&"n"===e[1]){const n=e.toLowerCase();null==r[n]?r[n]=t:r.addEventListener(e,t)}}else!0===t?ee(r,e,""):!1!==t&&null!=t&&(r instanceof SVGElement&&!I.test(e)?ee(r,Q(e,"-"),t):ee(r,e,t))}function ee(e,t,r){e.setAttribute(t,r)}function te(e,t,r,n){e.setAttributeNS(t,r,n)}Object.defineProperties(_.prototype,{isReactComponent:{value:!0},render:{value:()=>null}});const re=({name:e,children:t})=>Z("style",{type:"text/css",[e]:"",children:t});var ne=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class ie extends C{constructor(e,t,r){super(),this.css=t.toString(),this.option=e,this.name=`${L.u2}-${r}`}isApplieble(){return ne(this,void 0,void 0,(function*(){return(yield this.option.getValue())&&!document.querySelector(`head > style[${this.name}]`)}))}waitUntilFixerReady(){return k((()=>!!document.head||null),(e=Object.assign({interval:100,timeout:3e3},e)).interval,e.timeout);var e}apply(){document.head.append(Z(re,{name:this.name,children:this.css}))}}var oe=r(12);function ae(e,t,...r){return function(e,...t){return new Promise(((r,n)=>{try{const i=e(...t,r);i instanceof Promise?i.then(r).catch(n):void 0!==i&&r(i)}catch(e){n(e)}}))}(t.bind(e),...r)}var se=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function le(e){return e.storage&&!(!e.storage.sync&&!e.storage.local)}class ce{constructor(e){this.storage=e}setItem(e,t){return se(this,void 0,void 0,(function*(){this.storage[e]=t}))}getItem(e){return se(this,void 0,void 0,(function*(){return this.storage[e]}))}}class ue{constructor(e){this.storage=e.storage.sync||e.storage.local}setItem(e,t){return se(this,void 0,void 0,(function*(){yield ae(this.storage,this.storage.set,{[e]:t})}))}getItem(e){return se(this,void 0,void 0,(function*(){return yield ae(this.storage,this.storage.get,e).then((t=>(t||{})[e]))}))}}function de(e){try{return window[e+"Storage"]}catch(e){return null}}const pe=new class{constructor(e){this.storage=e}setItem(e,t){return se(this,void 0,void 0,(function*(){yield this.storage.setItem(e,JSON.stringify(t))}))}getItem(e){return se(this,void 0,void 0,(function*(){const t=yield this.storage.getItem(e);return"string"!=typeof t?null:JSON.parse(t)}))}}("undefined"!=typeof browser&&le(browser)&&new ue(browser)||"undefined"!=typeof chrome&&le(chrome)&&new ue(chrome)||de("local")||de("session")||new ce({}));var he;!function(e){e.Original="original",e.Pjax="pjax"}(he||(he={}));const me=he;var fe=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class ye{constructor(e,t,r,n,i=null){if(i&&!i.includes(n)&&!i.includes(null))throw new RangeError("defaultValue should be in the list of available options.");this.name=e,this.title=t,this.description=r,this.defaultValue=n,this.options=i,Object.freeze(this)}getValue(){return fe(this,void 0,void 0,(function*(){const e=yield pe.getItem(this.name);return null==e?this.defaultValue:e}))}setValue(e){return fe(this,void 0,void 0,(function*(){if(typeof e!=typeof this.defaultValue||Array.isArray(e)!==Array.isArray(this.defaultValue))throw new Error("Invalid type.");if(this.options&&!this.options.includes(e)&&!this.options.includes(null))throw new RangeError("value should be in the list of available options.");yield pe.setItem(this.name,e)}))}}const ve=new class extends Array{constructor(){super(),this.useOldCSS=new ye("useOldCSS","Use old css styles","This will revert old css styles where it's possible. For example, it will unround edges of avatars and containers.",!0),this.enableLightHeader=new ye("enableLightHeader","Enable light header","Some folks are nostalgic for the days when the GitHub header was light. This option is specifically for them.",!1),this.usePreloader=new ye("usePreloader","Use preloader","This will activate preloader during script initialization (first load of any GitHub page) to make the load look way smoother.",!0),this.defreshProfilePage=new ye("defreshProfilePage","Defresh profile page","This will roll back the changes of the profile page interface.",!0),this.removeThemeSelector=new ye("removeThemeSelector","Remove theme selector from the profile page","This will remove the theme selector from your profile page. (Why in the world is it here?)",!0),this.keepProfilePageIcons=new ye("keepProfilePageIcons","Don't remove tab icons on the profile page","If you want to keep tab icons on the profile page, enable this option.",!1),this.defreshProfilePageUserStatus=new ye("defreshProfilePageUserStatus","Defresh status appearance on the profile page","If you prefer the way the status looked before, then this option's for you.",!0),this.disableUserStatus=new ye("disableUserStatus","Disable the status editor on the profile page","Don't even try to ask. But if you will, here's the answer: I use one password manager, which is good at everything, but, for some reason, it's not friendly to the status editor: it makes the UI freeze for a couple of seconds. So, here we go...",!1),this.jumpToTop=new ye("jumpToTop","Jump to the page's top after loading","If you want to preserve the scroll position after page load, you can disable this option.",!0),this.treatTagsAsReleases=new ye("treatTagsAsReleases","Treat tags as releases","Some repositories only use pre-releases, which aren't displayed as regular releases by GitHub, so without using this option you'll see 0 as the number of releases.",!0),this.openLanguagesByDefault=new ye("openLanguagesByDefault","Open language bar by default","This option allows you to change the default state of the language bar.",!1),this.showLatestReleasePopup=new ye("showLatestReleasePopup","Show information about the latest release","This will show information about the latest release (if any) when hovering over the releases section.",!0),this.mainBranchName=new ye("mainBranchName","Main branch name","Here you can specify default name of the main branch.","main"),this.engine=new ye("engine",`Engine that powers ${L.ss}`,`"${me.Original}" engine completely replaces the GitHub navigation system with dynamic page loading.\n"${me.Pjax}" engine was designed to be compatible with other scripts/extensions (e.g. "Refined GitHub") and is based on listening for pjax events.`,me.Pjax,[me.Original,me.Pjax]);for(const e of Object.values(this))this.push(e)}};var ge=r(907);var be=r(213);var we=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};class xe extends _{get id(){return`github-defreshed_${this.props.property.name}`}constructor(e){super(e)}}const Se=({text:e})=>e&&(e=e.trim())?Z("div",{className:"note",children:e.split("\n").filter((e=>e)).map((e=>Z("div",{children:e})))}):null;class ke extends xe{render(){const e=this.props.property;return Z("dl",{className:"form-group",children:[Z("dt",{children:Z("label",{htmlFor:this.id,children:e.title})}),Z("dd",{children:[Z("input",{id:this.id,type:"text",className:"form-control",onChange:function(){e.setValue(this.value)},ref:t=>e.getValue().then((e=>t.value=e))}),Z(Se,{text:e.description})]})]})}}class qe extends xe{render(){const e=this.props.property;return Z("div",{className:"form-checkbox mt-0",children:[Z("input",{id:this.id,type:"checkbox",onChange:function(){e.setValue(this.checked)},ref:t=>e.getValue().then((e=>t.checked=e))}),Z("label",{htmlFor:this.id,children:e.title}),Z(Se,{text:e.description})]})}}class Ae extends xe{render(){const e=this.props.property,t=e.getValue();return Z("dl",{class:"form-group",children:[Z("dt",{children:Z("label",{htmlFor:this.id,children:e.title})}),Z("dd",{children:[Z("select",{id:this.id,className:"form-select form-control",onChange:function(){e.setValue(this.value)},children:e.options.map((e=>Z("option",{value:e,ref:r=>t.then((t=>r.selected=e===t)),children:e})))}),Z(Se,{text:e.description})]})]})}}class Be extends xe{render(){switch(typeof this.props.property.defaultValue){case"boolean":return Z(qe,{...this.props});case"string":return this.props.property.options?Z(Ae,{...this.props}):Z(ke,{...this.props});default:return null}}}function Pe(){return Z("form",{className:"edit_user",children:[ve.map((e=>Z(Be,{property:e}))),Z("button",{className:"btn",onClick:e=>{e.preventDefault(),location.reload()},children:"Update preference"})]})}const Ee=()=>Z("div",{className:"Subhead Subhead--spacious",children:Z("h2",{className:"Subhead-heading",children:[L.ss," settings"]})}),Ne=()=>Z(W,{children:[Z(Ee,{}),Z(Pe,{})]});function Te(){var e;return"Page not found · GitHub"===(null===(e=document.head.querySelector("title"))||void 0===e?void 0:e.innerText)}function Re(){return!!document.querySelector("main:nth-child(1) div.repository-content > git-clone-help")}const je=({styles:e={},...t})=>Z("svg",{className:(e.octicon||"octicon")+" "+(e["octicon-kebab-horizontal"]||"octicon-kebab-horizontal"),width:"16",height:"16","aria-hidden":"true",...t,children:Z("path",{d:"M8 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM1.5 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm13 0a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"})}),Le=({children:e})=>Z("div",{class:"UnderlineNav-actions js-responsive-underlinenav-overflow position-absolute pr-3 pr-md-4 pr-lg-5 right-0",children:Z("details",{class:"details-overlay details-reset position-relative",children:[Z("summary",{role:"button",children:Z("div",{class:"UnderlineNav-item mr-0 border-0",children:[Z(je,{}),Z("span",{class:"sr-only",children:"More"})]})}),Z("div",{children:Z("details-menu",{role:"menu",class:"dropdown-menu dropdown-menu-sw",children:Z("ul",{children:e&&[].concat(...e).map((e=>(e instanceof HTMLElement?e.classList.add("js-selected-navigation-item","dropdown-item"):e&&(e=Z("div",{className:"js-selected-navigation-item dropdown-item",children:e})),Z("li",{children:e}))))})})})]})});void 0===window.ResizeObserver&&(window.ResizeObserver=class{constructor(e){this.callback=e,this.watchlist=new Set}observe(e){if(this.watchlist.has(e))return;const t=Z("iframe",{title:"resize-observer",style:{top:0,left:0,width:"100%",height:"100%",opacity:0,zIndex:-9999,position:"absolute"}});e.prepend(t),t.contentWindow.onresize=()=>{const t={blockSize:e.clientHeight,inlineSize:e.clientWidth,width:e.clientWidth,height:e.clientHeight,x:e.clientLeft,y:e.clientTop,top:e.clientTop,bottom:e.clientTop+e.clientHeight,left:e.clientLeft,right:e.clientLeft+e.clientWidth,toJSON(){return{bottom:this.bottom,height:this.height,left:this.left,right:this.right,top:this.top,width:this.width,x:this.x,y:this.y}}};this.callback([{borderBoxSize:[t],contentBoxSize:[t],contentRect:t,target:e}],this)},this.watchlist.add(e)}unobserve(e){if(!this.watchlist.has(e))return;const t=e.querySelector("iframe[title='resize-observer']");t&&(t.contentWindow.onresize=null,e.removeChild(t)),this.watchlist.delete(e)}disconnect(){for(const e of this.watchlist)this.unobserve(e)}});const Ce=ResizeObserver;var Oe=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const Ue=()=>Z("i",{className:"d-none d-lg-inline",children:"Branch: "});const ze=e=>{const t=(e||"0000000").split("/");return(t.length&&t[t.length-1]).slice(0,7)},Fe=({href:e,datetime:t})=>Z("div",{className:"css-truncate css-truncate-overflow text-gray",children:["Latest commit"," ",Z("a",{href:e,className:"f6 link-gray text-mono d-none d-lg-inline",children:ze(e)})," ",Z("relative-time",{datetime:t,class:"no-wrap"})]}),Ve=({children:e})=>Z("div",{className:"ml-1",children:e});const Me=({lang:e})=>Z("span",{className:"language-color","aria-label":`${e.name} ${e.percent}`,itemProp:"keywords",style:{width:e.percent,backgroundColor:e.color},children:e.name}),De=({lang:e})=>Z("li",{children:Z(e.link?"a":"span",{href:e.link,children:[Z("span",{className:"color-block language-color",style:{backgroundColor:e.color}}),Z("span",{className:"lang",children:[" ",e.name," "]}),Z("span",{className:"percent",children:e.percent})]})}),Ge=({open:e,langs:t})=>Z("details",{className:"details-reset mb-3",open:e,children:[Z("summary",{title:"Click for language details",children:Z("div",{className:"d-flex repository-lang-stats-graph",children:t.map((e=>Z(Me,{lang:e})))})}),Z("div",{className:"repository-lang-stats",children:Z("ol",{className:"repository-lang-stats-numbers",children:t.map((e=>Z(De,{lang:e})))})})]});var $e=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function He(e,t){return(t=isNaN(t)?-1:+t)<0||1===t?e:e.endsWith("s")||e.endsWith("sh")||e.endsWith("ch")||e.endsWith("x")||e.endsWith("z")?e+"es":e+"s"}const Ie=({icon:e,href:t,text:r,count:n})=>Z("li",{children:Z("a",{href:t,children:[e," ","-1"!==String(n)&&Z("span",{className:"num text-emphasized",children:n})," ",He(r,n)]})});Ie.defaultProps={count:-1};const We=Ie,_e=({styles:e={},...t})=>Z("svg",{className:(e.octicon||"octicon")+" "+(e["octicon-law"]||"octicon-law"),width:"16",height:"16","aria-hidden":"true",...t,children:Z("path",{fillRule:"evenodd",d:"M8.75.75a.75.75 0 00-1.5 0V2h-.984c-.305 0-.604.08-.869.23l-1.288.737A.25.25 0 013.984 3H1.75a.75.75 0 000 1.5h.428L.066 9.192a.75.75 0 00.154.838l.53-.53-.53.53v.001l.002.002.002.002.006.006.016.015.045.04a3.514 3.514 0 00.686.45A4.492 4.492 0 003 11c.88 0 1.556-.22 2.023-.454a3.515 3.515 0 00.686-.45l.045-.04.016-.015.006-.006.002-.002.001-.002L5.25 9.5l.53.53a.75.75 0 00.154-.838L3.822 4.5h.162c.305 0 .604-.08.869-.23l1.289-.737a.25.25 0 01.124-.033h.984V13h-2.5a.75.75 0 000 1.5h6.5a.75.75 0 000-1.5h-2.5V3.5h.984a.25.25 0 01.124.033l1.29.736c.264.152.563.231.868.231h.162l-2.112 4.692a.75.75 0 00.154.838l.53-.53-.53.53v.001l.002.002.002.002.006.006.016.015.045.04a3.517 3.517 0 00.686.45A4.492 4.492 0 0013 11c.88 0 1.556-.22 2.023-.454a3.512 3.512 0 00.686-.45l.045-.04.01-.01.006-.005.006-.006.002-.002.001-.002-.529-.531.53.53a.75.75 0 00.154-.838L13.823 4.5h.427a.75.75 0 000-1.5h-2.234a.25.25 0 01-.124-.033l-1.29-.736A1.75 1.75 0 009.735 2H8.75V.75zM1.695 9.227c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327l-1.305 2.9zm10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327l-1.305 2.9z"})}),Ze=({styles:e={},...t})=>Z("svg",{className:(e.octicon||"octicon")+" "+(e["octicon-people"]||"octicon-people"),width:"16",height:"16","aria-hidden":"true",...t,children:Z("path",{fillRule:"evenodd",d:"M5.5 3.5a2 2 0 100 4 2 2 0 000-4zM2 5.5a3.5 3.5 0 115.898 2.549 5.507 5.507 0 013.034 4.084.75.75 0 11-1.482.235 4.001 4.001 0 00-7.9 0 .75.75 0 01-1.482-.236A5.507 5.507 0 013.102 8.05 3.49 3.49 0 012 5.5zM11 4a.75.75 0 100 1.5 1.5 1.5 0 01.666 2.844.75.75 0 00-.416.672v.352a.75.75 0 00.574.73c1.2.289 2.162 1.2 2.522 2.372a.75.75 0 101.434-.44 5.01 5.01 0 00-2.56-3.012A3 3 0 0011 4z"})}),Je=({styles:e={},...t})=>Z("svg",{className:(e.octicon||"octicon")+" "+(e["octicon-tag"]||"octicon-tag"),width:"16",height:"16","aria-hidden":"true",...t,children:Z("path",{fillRule:"evenodd",d:"M2.5 7.775V2.75a.25.25 0 01.25-.25h5.025a.25.25 0 01.177.073l6.25 6.25a.25.25 0 010 .354l-5.025 5.025a.25.25 0 01-.354 0l-6.25-6.25a.25.25 0 01-.073-.177zm-1.5 0V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 010 2.474l-5.026 5.026a1.75 1.75 0 01-2.474 0l-6.25-6.25A1.75 1.75 0 011 7.775zM6 5a1 1 0 100 2 1 1 0 000-2z"})}),Ke=({styles:e={},...t})=>Z("svg",{className:(e.octicon||"octicon")+" "+(e["octicon-git-branch"]||"octicon-git-branch"),width:"16",height:"16","aria-hidden":"true",...t,children:Z("path",{fillRule:"evenodd",d:"M11.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122V6A2.5 2.5 0 0110 8.5H6a1 1 0 00-1 1v1.128a2.251 2.251 0 11-1.5 0V5.372a2.25 2.25 0 111.5 0v1.836A2.492 2.492 0 016 7h4a1 1 0 001-1v-.628A2.25 2.25 0 019.5 3.25zM4.25 12a.75.75 0 100 1.5.75.75 0 000-1.5zM3.5 3.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z"})}),Xe=({styles:e={},...t})=>Z("svg",{className:(e.octicon||"octicon")+" "+(e["octicon-git-commit"]||"octicon-git-commit"),width:"16",height:"16","aria-hidden":"true",...t,children:Z("path",{fillRule:"evenodd",d:"M10.5 7.75a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm1.43.75a4.002 4.002 0 01-7.86 0H.75a.75.75 0 110-1.5h3.32a4.001 4.001 0 017.86 0h3.32a.75.75 0 110 1.5h-3.32z"})}),Qe=({rounded:e,children:t})=>Z("div",{class:["overall-summary","mt-3",e?"mb-3":["border-bottom-0","mb-0","rounded-bottom-0"]],children:Z("ul",{className:"numbers-summary",children:t})});Qe.defaultProps={rounded:!0};const Ye=Qe;var et=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const tt=({children:e})=>Z("div",{className:"repository-topics-container mt-3 mb-3 js-topics-list-container",children:e});var rt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const nt=({website:e,children:t})=>Z("div",{children:Z("div",{className:"f4",children:[Z("span",{className:"text-gray-dark mr-2",children:t}),e&&Z("span",{children:Z("a",{href:e,title:e,role:"link",target:"_blank",rel:"noopener noreferrer",children:e})})]})});var it=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const ot=({styles:e={},...t})=>Z("svg",{className:(e.octicon||"octicon")+" "+(e["octicon-book"]||"octicon-book"),width:"16",height:"16","aria-hidden":"true",...t,children:Z("path",{fillRule:"evenodd",d:"M0 1.75A.75.75 0 01.75 1h4.253c1.227 0 2.317.59 3 1.501A3.744 3.744 0 0111.006 1h4.245a.75.75 0 01.75.75v10.5a.75.75 0 01-.75.75h-4.507a2.25 2.25 0 00-1.591.659l-.622.621a.75.75 0 01-1.06 0l-.622-.621A2.25 2.25 0 005.258 13H.75a.75.75 0 01-.75-.75V1.75zm8.755 3a2.25 2.25 0 012.25-2.25H14.5v9h-3.757c-.71 0-1.4.201-1.992.572l.004-7.322zm-1.504 7.324l.004-5.073-.002-2.253A2.25 2.25 0 005.003 2.5H1.5v9h3.757a3.75 3.75 0 011.994.574z"})});var at=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const st=({href:e,icon:t,text:r,count:n,selected:i})=>Z("a",{href:e,class:["UnderlineNav-item",i&&"selected"],children:[t,r,0!=n&&Z("span",{className:"Counter",title:n,children:n})]});var lt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var ct=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const ut=function(e,t=null){return t=t||e.method,fetch(e.action,{method:t,body:new URLSearchParams(new FormData(e))})},dt=({emoji:e,text:t,isBusy:r,dialog:n})=>Z(n?"details":"div",{class:["user-status-container","border","position-relative","hide-sm","bg-white","hide-md",n?["details-reset","details-overlay","details-overlay-dark"]:null],children:[Z(n?"summary":"div",{className:"d-flex",children:Z("div",{class:["d-flex","p-2","width-full","border-0","rounded-bottom-0",r?["user-status-container-border-busy","bg-yellow-light","border-yellow"]:null],children:[Z("div",{className:"flex-self-start mr-1 ml-1",children:Z("div",{children:e})}),Z("div",{className:"user-status-message-wrapper f6 mt-1 text-gray-dark ws-normal",children:Z("div",{children:Z("div",{children:t})})})]})}),n]});dt.defaultProps={isBusy:!1,dialog:null};const pt=dt;var ht=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const mt=({children:e})=>Z("div",{className:"pt-3",children:[].concat([e]).map((e=>{var t;const r=null===(t=null==e?void 0:e.querySelector)||void 0===t?void 0:t.call(e,"summary");return r&&(r.className="btn-link text-small muted-link my-1"),e}))});var ft=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var yt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var vt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function gt(e){return vt(this,void 0,void 0,(function*(){!function(){const e=document.querySelector(".progress-pjax-loader");if(e){const t=e.firstElementChild,r=1200,n=100;t.style.width="0",e.style.opacity="100%";for(let e=0;e<r;e+=n){let n=Math.floor((Math.exp(e/r)-1)/(Math.E-1)*100);n=Math.min(n,100),setTimeout((()=>t.style.width=`${n}%`),e)}setTimeout((()=>e.style.opacity="0"),r+n)}}();const t=yield fetch(e);return{document:(new DOMParser).parseFromString(yield t.text(),"text/html"),url:t.url}}))}function bt(e){return e.src||e.getAttribute("data-src")}function wt(e){document.body.className=e.body.className,document.head.querySelector("title").innerText=e.head.querySelector("title").innerText,function(e){const t=document.querySelector("header"),r=e.querySelector("header");t&&r&&t.replaceWith(r)}(e),function(e){const t=[...document.querySelectorAll("script")],r=[...e.querySelectorAll("script")].map(bt).filter((e=>!t.some((t=>bt(t)===e)))).map((e=>Z("script",{src:e})));document.body.append(...r)}(e)}const xt=function(e=window.location.href,t=!0){return vt(this,void 0,void 0,(function*(){const r=function(e=location.pathname){return!i(e)}(),n=p(),o=yield gt(e),a=o.document.querySelector("main");if(a.style.display="none",r){document.querySelector("body > div.application-main").prepend(Z("div",{itemScope:!0,itemType:"http://schema.org/SoftwareSourceCode",children:Z("main",{})}))}const s=document.querySelector("main");if(s.parentElement.insertBefore(a,s),yield Et(o.url),s.replaceWith(a),r){const e=document.querySelector("body > div.application-main");for(const t of[...e.children].splice(1))e.removeChild(t)}else n&&(a.parentElement.className="");a.style.display="",(yield ve.jumpToTop.getValue())&&window.scrollTo(0,0),wt(o.document),t&&function(e){try{history.pushState(null,null,e)}catch(t){location.hash="#"+e}}(o.url)}))};var St=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var kt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var qt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const At=[new class extends ie{constructor(){super(ve.usePreloader,be.Z,"preloader")}},new class extends ie{constructor(){super({getValue:()=>!0},b.Z,"compatibility")}},new class extends ie{constructor(){super(ve.useOldCSS,oe.Z,"old-school")}},new class extends ie{constructor(){super(ve.enableLightHeader,ge.Z,"light-header")}},new class extends C{isApplieble(e){return m(e)}waitUntilFixerReady(){return j(".Subhead--spacious")}apply(){const e=document.querySelector(".Subhead--spacious");e.parentElement.insertBefore(Z(Ne,{}),e)}},new class extends C{constructor(){super(...arguments),this.wasShown=!1}isApplieble(){return we(this,void 0,void 0,(function*(){return(!this.wasShown||(yield ve.engine.getValue())===me.Pjax)&&(yield ve.usePreloader.getValue())}))}apply(){this.wasShown=!0,document.documentElement.classList.add("defreshing"),document.documentElement.dataset.defreshedAt=String((new Date).valueOf())}},new class extends C{isApplieble(e){return s(e)&&!Te()}waitUntilFixerReady(){return j("main:nth-child(1) > div > nav")}apply(e){const t=document.querySelector("main > div > nav"),r=t.parentElement;p(e)||(r.className="pagehead repohead hx_repohead readability-menu bg-gray-light pb-0 pt-3",r.firstElementChild.className="d-flex container-lg mb-4 px-3"),t.className="js-repo-nav js-sidenav-container-pjax clearfix hx_reponav reponav px-3 container-lg",t.querySelector(":scope > ul").className="list-style-none";for(const e of t.querySelectorAll(":scope > ul > li")){e.className="";const t=e.querySelector("a"),r=t.classList.contains("selected");t.className="js-selected-navigation-item reponav-item"+(r?" selected":"")}const n=Z(Le,{children:[...t.querySelectorAll(":scope > ul > li > a")].map((e=>Z("a",{dataset:{name:e.getAttribute("data-tab-item")},href:e.href,children:e.querySelector("span").textContent})))}),i=t.querySelector(":scope > div");i?i.replaceWith(n):t.append(n);new Ce((()=>{let e=!1;for(const r of t.querySelectorAll(":scope > ul > li > a")){r.style.display="block";const t=n.querySelector(`a[data-name=${r.getAttribute("data-tab-item")}]`);if(t){const n=!!r.offsetTop;e||(e=n),r.style.display=n?"none":"block",r.style.visibility=n?"hidden":"visible",t.style.display=n?"block":"none"}}n.style.display=e?"block":"none"})).observe(t)}},new class extends C{isApplieble(e){return s(e)&&!p(e)&&!Te()}waitUntilFixerReady(){return R("main:nth-child(1) .container-xl")}apply(){document.querySelector("main .container-xl").className="container-lg clearfix new-discussion-timeline px-3"}},new class extends C{isApplieble(e){return s(e)&&!Te()}waitUntilFixerReady(){return R("main:nth-child(1) div.repository-content > :first-child")}},new class extends C{isApplieble(){return Re()}waitUntilFixerReady(){return j("main:nth-child(1) git-clone-help")}apply(){return Oe(this,void 0,void 0,(function*(){const e=document.querySelector("main:nth-child(1) git-clone-help"),t=new Map([[`-M ${ve.mainBranchName.defaultValue}`,`-M ${yield ve.mainBranchName.getValue()}`],[`origin ${ve.mainBranchName.defaultValue}`,`origin ${yield ve.mainBranchName.getValue()}`]]),r=[...e.querySelectorAll("span")].filter((e=>(e.innerText||"").trim()));for(const e of r)for(const r of t)e.innerText=e.innerText.replace(r[0],r[1])}))}},new class extends C{isApplieble(e){return(l(e)||c(e)||u(e))&&!(Re()||Te())}waitUntilFixerReady(){return j("main:nth-child(1) #branch-select-menu","main:nth-child(1) #branch-select-menu span.css-truncate-target")}apply(){const e=document.querySelector("#branch-select-menu"),t=e.querySelector("details-menu"),r=t&&t.getAttribute("src"),n=e.querySelector("include-fragment");n&&n.setAttribute("src",r);const i=e.querySelector("span.css-truncate-target");i.parentElement.insertBefore(Z(Ue,{}),i)}},new class extends C{isApplieble(e){return(l(e)||c(e)||u(e))&&!(Re()||Te())}waitUntilFixerReady(){return j("main:nth-child(1) #ref-list-branches")}},new class extends C{isApplieble(e){return(l(e)||c(e))&&!(Re()||Te())}waitUntilFixerReady(e){const t=["main:nth-child(1) .repository-content .Box relative-time","main:nth-child(1) .repository-content .Box div.flex-shrink-0:not(.hx_avatar_stack_commit)"];return l(e)&&(t.push("main:nth-child(1) .repository-content .file-navigation > :not(:first-child) svg.octicon-git-branch"),t.push("main:nth-child(1) .repository-content .Box ul.list-style-none svg.octicon-history")),j({selectors:t,dynamic:!0})}apply(e,t){l(e)&&this.backupDetails(t),this.moveCommitBuildStatuses(),this.moveCommitComments(),this.moveCommitDetails(),this.removeSecondCommitTitle()}backupDetails(e){const t=document.querySelector(".repository-content .file-navigation > :not(:first-child) svg.octicon-git-branch").parentElement;t.id="backup-branches";t.parentElement.remove(),e.append(t);const r=document.querySelector(".repository-content .Box ul.list-style-none svg.octicon-history").parentElement;r.id="backup-commits";r.parentElement.parentElement.remove(),e.append(r)}getBuildStatuses(){const e=document.querySelector("main:nth-child(1) .repository-content .Box .Box-header");return e.querySelector("details.commit-build-statuses")||e.querySelector("include-fragment")}moveCommitBuildStatuses(){if(this.getBuildStatuses()){const e=document.querySelector(".repository-content .Box .Box-header .commit-author").parentElement;e.parentElement.insertBefore(Z(Ve,{children:this.getBuildStatuses()}),e.nextSibling)}}moveCommitComments(){const e=document.querySelector("main:nth-child(1) .repository-content .Box .Box-header svg.octicon-comment");if(e){const t=e.parentElement;t.className="no-wrap muted-link text-inherit ml-2";const r=document.querySelector(".repository-content .Box .Box-header a.commit-author").parentElement;r.parentElement.insertBefore(t,r.nextSibling)}}moveCommitDetails(){const e=document.querySelector(".repository-content .Box relative-time").parentElement.parentElement,t=document.querySelector(".repository-content .Box div.flex-shrink-0:not(.hx_avatar_stack_commit)");for(const e of[...t.children])t.removeChild(e);const r=e.querySelector("a.text-mono"),n=e.querySelector("relative-time");t.append(Z(Fe,{href:r.href,datetime:n.getAttribute("datetime")})),e.remove()}removeSecondCommitTitle(){const e=document.querySelector(".repository-content .Box .Box-header .Details-content--hidden a.text-bold");e&&e.parentElement.remove()}},new class extends C{isApplieble(e){return l(e)&&!Re()&&!Te()}waitUntilFixerReady(){return $e(this,void 0,void 0,(function*(){return(yield j("main:nth-child(1) .BorderGrid-row:last-child"))&&(yield T("main:nth-child(1) .BorderGrid-row .Progress"))}))}apply(){return $e(this,void 0,void 0,(function*(){const e=[...document.querySelector("main .BorderGrid-row .Progress").parentElement.nextElementSibling.children].map(this.extractLanguageData),t=document.querySelector(".repository-content"),r=yield ve.openLanguagesByDefault.getValue();t.prepend(Z(Ge,{open:r,langs:e}))}))}extractLanguageData(e){return e.querySelector("a")?{name:e.querySelector("span").innerText,percent:e.querySelectorAll("span")[1].innerText,color:e.querySelector("svg").style.color,link:e.querySelector("a").href}:{name:e.querySelectorAll("span")[1].innerText,percent:e.querySelectorAll("span")[2].innerText,color:e.querySelector("svg").style.color,link:""}}},new class extends C{isApplieble(e){return l(e)&&!Re()&&!Te()}apply(e,t){return et(this,void 0,void 0,(function*(){const r=document.querySelector(".repository-content details summary div.repository-lang-stats-graph");document.querySelector(".repository-content").prepend(Z(Ye,{rounded:!r,children:[this.createCommitsSummaryElement(t),this.createBranchesSummaryElement(t),this.createPackagesSummaryElement(e),this.createReleasesSummaryElement(e,yield ve.treatTagsAsReleases.getValue(),yield ve.showLatestReleasePopup.getValue()),this.createContributorsSummaryElement(e),this.createLicenseSummaryElement()]}))}))}createCommitsSummaryElement(e){const t=e.querySelector("#backup-commits"),r=t.querySelector("strong").innerText,n=t.href;return Z(We,{icon:Z(Xe,{}),href:n,text:"commit",count:r})}createBranchesSummaryElement(e){const t=e.querySelector("#backup-branches"),r=t.querySelector("strong").innerText,n=t.href;return Z(We,{icon:Z(Ke,{}),href:n,text:"branch",count:r})}createPackagesSummaryElement(e){const t=Z(Je,{});return this.createSummaryElementFromRightBar(e,t,"package",0,"",!1)}createReleasesSummaryElement(e,t,r){var n;const i=Z(Je,{}),o=this.createSummaryElementFromRightBar(e,i,"release",0,"",!0,t);if(r&&o){const e=this.findRightBarSectionByName("releases"),t=null==e?void 0:e.querySelector("relative-time"),r=null===(n=null==t?void 0:t.parentElement)||void 0===n?void 0:n.previousElementSibling,i=null==r?void 0:r.querySelector("span");if(i){const e=`${i.innerText} — ${t.innerText}`;o.classList.add("tooltipped","tooltipped-se"),o.setAttribute("aria-label",e)}}return o}createContributorsSummaryElement(e){const t=Z(Ze,{});return this.createSummaryElementFromRightBar(e,t,"contributor",1,"graphs/")}createLicenseSummaryElement(){const e=document.querySelector(".flex-shrink-0.col-12.col-md-3 svg.octicon-law");if(e){const t=e.parentElement,r=t.href,n=t.innerText.replace("License","").trim();return Z(We,{icon:Z(_e,{}),href:r,text:n})}return null}createSummaryElementFromRightBar(e,t,r,n=0,i="",a=!0,s=!1){const l=this.findRightBarSectionByName(r);if(!l&&!a)return null;let c,u;if(l){let e=l.querySelector("span.Counter");!e&&s&&(e=l.querySelector(":scope > a > span")),c=(null==e?void 0:e.innerText)||n,u=l.querySelector("a").href}else c=n,u=`/${o(e)}/${i}${He(r,c)}`;return Z(We,{icon:t,href:u,text:r,count:c})}findRightBarSectionByName(e){return[...document.querySelectorAll(".flex-shrink-0.col-12.col-md-3 div.BorderGrid-cell")].find((t=>{const r=t.querySelector("a");return r&&r.href.includes(e)}))}},new class extends C{isApplieble(e){return l(e)&&!Re()&&!Te()}waitUntilFixerReady(){return rt(this,void 0,void 0,(function*(){return(yield j("main:nth-child(1) .repository-content .BorderGrid-row"))&&(yield T("main:nth-child(1) .repository-content .BorderGrid-cell .topic-tag"))}))}apply(){const e=document.querySelector("main .repository-content .BorderGrid-cell .topic-tag");document.querySelector("main .repository-content").prepend(Z(tt,{children:e.parentElement}))}},new class extends C{isApplieble(e){return l(e)&&!Re()&&!Te()}waitUntilFixerReady(){return j("main:nth-child(1) .repository-content .BorderGrid-row")}apply(){var e,t;const r=document.querySelector("main .repository-content"),n=r.querySelector(".BorderGrid-cell"),i=n.querySelector(".f4"),o=null===(t=null===(e=n.querySelector(".octicon-link"))||void 0===e?void 0:e.parentElement.querySelector("a"))||void 0===t?void 0:t.href;r.prepend(Z(nt,{website:o,children:i.childNodes}))}},new class extends C{isApplieble(e){return l(e)&&!Re()&&!Te()}waitUntilFixerReady(){return it(this,void 0,void 0,(function*(){return(yield j("main:nth-child(1) .repository-content .BorderGrid-row"))&&(yield T("main:nth-child(1) .repository-content .BorderGrid-row:nth-child(1) details"))}))}apply(){const e=document.querySelector("main .repository-content .BorderGrid-row:nth-child(1) details");e&&document.querySelector("main .repository-content").prepend(e)}},new class extends C{isApplieble(e){return l(e)&&!Re()&&!Te()}waitUntilFixerReady(){return j("main:nth-child(1) .repository-content")}apply(){const e=document.querySelector(".repository-content"),t=e.querySelector(".gutter-condensed"),r=t.firstElementChild;e.append(...r.children),t.parentElement.removeChild(t)}},new class extends C{isApplieble(e){return(l(e)||c(e))&&!Re()&&!Te()}waitUntilFixerReady(){return at(this,void 0,void 0,(function*(){return(yield j("main:nth-child(1) .repository-content"))&&(yield T("main:nth-child(1) #readme"))}))}apply(){const e=document.querySelector("#readme");e.className="Box md js-code-block-container Box--condensed";e.querySelector(".Box-header").className="Box-header d-flex flex-items-center flex-justify-between";e.querySelector(".Box-title.pr-3").prepend(Z(ot,{}))}},new class extends C{isApplieble(e){return lt(this,void 0,void 0,(function*(){return(yield ve.defreshProfilePage.getValue())&&f(e)&&!Te()}))}waitUntilFixerReady(){return j("main:nth-child(1) nav","main:nth-child(1) div.js-profile-editable-area > :not(.js-user-profile-bio)[class]")}apply(e){return lt(this,void 0,void 0,(function*(){const t=document.querySelector("main div.js-profile-editable-area > :not(.js-user-profile-bio)[class]"),r=document.querySelector("main nav");if(r.style.overflow="hidden",r.append(...this.generateTabs(t,e)),t.remove(),!(yield ve.keepProfilePageIcons.getValue()))for(const e of r.querySelectorAll("svg"))e.style.display="none"}))}generateTabs(e,t){const r=new Map([["stars",null],["followers",null],["following",Z(Ze,{})]]),n=[...r.keys()];return[...e.querySelectorAll("a")].filter((e=>r.has(this.getTabName(e.href)))).sort(((e,t)=>n.indexOf(this.getTabName(e.href))-n.indexOf(this.getTabName(t.href)))).map((e=>this.generateTab(t,e,r.get(this.getTabName(e.href))))).filter((e=>e))}getTabName(e){const t=e.indexOf("?");return-1===t?"":new URLSearchParams(e.substring(t)).get("tab")}generateTab(e,t,r=null){var n;const i=t.querySelector("svg")||r;null==i||i.classList.add("UnderlineNav-octicon");let o=this.getTabName(t.href).trim();o=o[0].toUpperCase()+o.slice(1);const a=t.querySelector("span"),s=(null===(n=null==a?void 0:a.innerText)||void 0===n?void 0:n.trim())||0;return Z(st,{href:t.href,selected:this.getTabName(e)===this.getTabName(t.href),icon:i,text:o,count:s})}},new class extends C{isApplieble(e){return ct(this,void 0,void 0,(function*(){return(yield ve.defreshProfilePage.getValue())&&(yield ve.removeThemeSelector.getValue())&&f(e)&&!Te()}))}waitUntilFixerReady(){return ct(this,void 0,void 0,(function*(){return j("main:nth-child(1) nav")}))}apply(){const e=document.querySelector("main:nth-child(1) nav");e&&e.nextElementSibling&&e.nextElementSibling.remove()}},new class extends C{isApplieble(){return ve.disableUserStatus.getValue()}waitUntilFixerReady(){return T(".js-user-status-details include-fragment")}apply(){for(const e of document.querySelectorAll(".js-user-status-details"))for(const t of e.querySelectorAll("include-fragment"))t.remove()}},new class extends C{isApplieble(e){return ht(this,void 0,void 0,(function*(){return(yield ve.defreshProfilePage.getValue())&&(yield ve.defreshProfilePageUserStatus.getValue())&&f(e)&&!Te()}))}waitUntilFixerReady(){return T("main:nth-child(1) .user-status-container")}apply(){const e=document.querySelector("main .user-status-container"),t=e.querySelector("img")||e.querySelector("g-emoji"),r=e.querySelector(".user-status-message-wrapper"),n=(null==r?void 0:r.innerText.trim())||"",i=!!e.querySelector(".user-status-busy"),o=e.querySelector("details-dialog");this.fixDialog(o),e.replaceWith(Z(pt,{emoji:t,text:n,isBusy:i,dialog:o}));const a=document.querySelector("main img.avatar");a&&a.classList.add("avatar-before-user-status")}fixDialog(e){e&&(this.fixDialogFragments(e),this.fixDialogEmojis(e),this.fixDialogButtons(e))}fixDialogFragments(e){for(const t of[...e.querySelectorAll("include-fragment")])t.setAttribute("src",t.getAttribute("data-url"))}fixDialogEmojis(e){const t=e.querySelector(".js-user-status-custom-emoji"),r=e.querySelector("form").emoji;e.querySelector(".btn.js-toggle-user-status-emoji-picker").addEventListener("click",(n=>{n.preventDefault(),n.stopPropagation();const i=e.querySelector("emoji-picker");i&&(this.fixEmojiPicker(t,r,i),i.open())}))}fixEmojiPicker(e,t,r){if(!r.fixed){for(const n of[...r.querySelectorAll(".js-emoji-button")])n.addEventListener("click",(function(n){n.preventDefault(),t.value=this.getAttribute("value");const i=this.children[0].cloneNode(!0);i.removeAttribute("width"),i.removeAttribute("height"),e.children[0].replaceWith(Z("div",{children:i})),r.close()}));r.fixed=!0}}fixDialogButtons(e){const t=e.querySelector("form button[type='submit']"),r=t.parentElement.querySelector("button:not([type='submit'])");t.addEventListener("click",(function(e){return ht(this,void 0,void 0,(function*(){e.preventDefault(),yield ut(this.form),location.reload()}))})),r.addEventListener("click",(function(e){return ht(this,void 0,void 0,(function*(){e.preventDefault();const t=this.form;t.emoji.value="",t.message.value="",t.limited_availability.value="0",yield ut(this.form),location.reload()}))}))}},new class extends C{isApplieble(e){return ft(this,void 0,void 0,(function*(){return(yield ve.defreshProfilePage.getValue())&&f(e)&&!Te()}))}waitUntilFixerReady(){return ft(this,void 0,void 0,(function*(){return(yield j("main:nth-child(1) .h-card"))&&(yield T("main:nth-child(1) #blob-more-options-details"))}))}apply(){const e=document.querySelector("#blob-more-options-details"),t=e.querySelector("details").parentElement;document.querySelector("main .h-card").append(Z(mt,{children:t})),e.parentElement.remove()}},new class extends C{constructor(){super(...arguments),this.isActive=!1}isApplieble(){return yt(this,void 0,void 0,(function*(){return!this.isActive&&(yield ve.engine.getValue())===me.Pjax}))}apply(){this.isActive=!0,document.addEventListener("pjax:success",(()=>Et()))}},new class extends C{isApplieble(){return St(this,void 0,void 0,(function*(){return(yield ve.engine.getValue())===me.Original}))}apply(){this.setupObserver(),this.fixAll()}needsToBeFixed(e){return!e.hasAttribute("defreshed")&&e.href&&!h(e.href)&&(!!(t=e.href)&&(t.startsWith("/")||y(t,location.host)))&&(s(e.href)||m(e.href)||f(e.href))&&!d(e.href)&&!p(e.href);var t}fix(e){e.setAttribute("defreshed",""),e.addEventListener("click",(function(e){return St(this,void 0,void 0,(function*(){e.metaKey||e.ctrlKey||(e.stopPropagation(),e.preventDefault(),xt(v(this.href)))}))}))}fixAll(){[...document.querySelectorAll("a")].filter(this.needsToBeFixed).forEach(this.fix)}setupObserver(){if(!("defreshObserver"in window)){const e=new MutationObserver((()=>this.fixAll()));e.observe(document.body,{childList:!0,subtree:!0}),window.defreshObserver=e}}},new class extends C{isApplieble(){return kt(this,void 0,void 0,(function*(){return(yield ve.engine.getValue())===me.Original}))}apply(){window.onpopstate=function(){const e=document.location.href;g(e)&&s(e)&&!h(e)?xt(e,!1):window.location.href=document.location.href}}},new class extends C{apply(){[...document.querySelectorAll(".js-notification-top-shelf[closing], div#js-flash-container[closing]")].forEach((e=>e.remove())),[...document.querySelectorAll(".js-notification-top-shelf, div#js-flash-container")].forEach((e=>e.setAttribute("closing","")))}},new class extends C{isApplieble(){return document.documentElement.classList.contains("defreshing")}apply(){return qt(this,void 0,void 0,(function*(){const e=document.documentElement.classList;e.remove("defreshing");const t=+document.documentElement.dataset.defreshedAt;delete document.documentElement.dataset.defreshedAt;(new Date).valueOf()-t>100&&(e.add("defreshed"),yield x(1500),e.remove("defreshed"))}))}}];var Bt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};function Pt(e=window.location.href){return Bt(this,void 0,void 0,(function*(){const t=document.createElement("backup");for(const r of At){if((yield r.isApplieble(e,t))&&(yield r.waitUntilFixerReady(e,t)))try{yield r.apply(e,t)}catch(e){console.log("Fixer exception: ",e)}0}}))}const Et=Pt;var Nt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};!function(){Nt(this,void 0,void 0,(function*(){!document.documentElement.classList.contains(L.u2)&&g()&&(document.documentElement.classList.add(L.u2),yield Pt())}))}()},176:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,".overall-summary{position:relative;border:1px solid}.overall-summary.rounded-bottom-0{border-bottom-right-radius:0 !important;border-bottom-left-radius:0 !important}.overall-summary>ul.numbers-summary{display:table;width:100%;table-layout:fixed}.overall-summary>ul.numbers-summary>li{display:table-cell;padding:0;text-align:center;white-space:nowrap}.overall-summary>ul.numbers-summary>li>a{display:block;padding:10px 0;text-decoration:none}.overall-summary>ul.numbers-summary>li.tooltipped-se::before{bottom:3px}.overall-summary>ul.numbers-summary>li.tooltipped-se::after{top:calc(100% - 10px)}.overall-summary{border-color:var(--color-btn-border)}.overall-summary a{color:var(--color-text-secondary)}.overall-summary a:hover{color:var(--color-text-link)}.overall-summary .octicon{color:var(--color-text-tertiary)}.reponav-item svg.octicon{color:var(--color-underlinenav-icon)}div.repository-lang-stats-graph{border-color:var(--color-btn-border)}\n",""]);const o=i},907:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'[data-color-mode="light"]{--color-header-text: #333 !important;--color-header-bg: #f5f5f5 !important;--color-header-logo: #333 !important;--color-header-search-bg: #fff !important;--color-header-search-border: #dadbdc !important}[data-color-mode="light"] .header-search-input::placeholder{color:#333 !important}\n',""]);const o=i},12:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'body .rounded-1{border-radius:3px !important}.btn{border-radius:3px !important}.repository-content .file-navigation .btn,.repository-content .flex-items-start .btn{padding:3px 10px !important;font-size:12px !important;line-height:20px !important;font-weight:600 !important}.repository-content #blob-path{line-height:20px}#branch-select-menu>.btn>svg{display:none !important}#branch-select-menu>.btn>span{font-weight:600 !important}.subnav-item:first-child,.subnav-search-context .btn,.BtnGroup-item:first-child,.BtnGroup-parent:first-child .BtnGroup-item,.input-group .input-group-button:first-child .btn,.btn.btn-with-count{border-top-left-radius:3px !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;border-bottom-left-radius:3px !important}.subnav-item:last-child,.subnav-search-context+.subnav-search .subnav-search-input,.BtnGroup-item:last-child,.BtnGroup-parent:last-child .BtnGroup-item,.input-group .input-group-button:last-child .btn{border-top-left-radius:0 !important;border-top-right-radius:3px !important;border-bottom-right-radius:3px !important;border-bottom-left-radius:0 !important}.avatar,.avatar-user{border-radius:3px !important}body:not(.page-profile) .avatar,body:not(.page-profile) .avatar-user,.avatar-small{box-shadow:none !important;background-color:transparent !important}.Box-header .avatar[width="24"],.Box-header .avatar-user[width="24"]{position:relative;top:2px;left:2px}.avatar[width="24"],.avatar-user[width="24"]{width:20px;height:20px}.hx_avatar_stack_commit,.AvatarStack-body{background-color:transparent !important}.Box{border-radius:3px !important}.Box-header{margin:0;border:none;border-bottom:1px solid var(--color-border-primary)}.Box-header,:not(li).Box-row:first-of-type,.Box--danger li.Box-row:first-of-type{border-top-left-radius:3px !important;border-top-right-radius:3px !important}.Box-row,.Box-header,.Box-body{padding:8px 12px}.Box-header .ml-n1{margin-left:0 !important;margin-right:-8px !important}.markdown-body pre{border-radius:3px !important}.dropdown-menu,.SelectMenu-modal{border-radius:3px !important}.SelectMenu-modal .SelectMenu-tab{border-top-left-radius:4px !important;border-top-right-radius:4px !important}nav.menu{border-radius:3px !important}nav.menu>*:first-child{border-top-left-radius:3px !important;border-top-right-radius:3px !important}nav.menu>*:last-child{border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}input[type=\'text\'].form-control,input[type=\'url\'].form-control,textarea.form-control,label.form-control,div.tag-input.form-control,select.form-select{border-radius:3px !important}textarea.form-control.js-quick-submit{border-top-left-radius:3px !important;border-top-right-radius:3px !important;border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}text-expander+label.drag-and-drop,text-expander+label.drag-and-drop>input{border-top-left-radius:0 !important;border-top-right-radius:0 !important;border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}.pagehead-actions .btn{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;padding:3px 10px !important}.pagehead-actions a.social-count{border-top-right-radius:3px !important;border-bottom-right-radius:3px !important;padding:3px 10px !important}div.overall-summary{border-radius:3px !important}div.repository-lang-stats-graph{border-bottom-left-radius:3px !important;border-bottom-right-radius:3px !important}div.repository-lang-stats-graph>span.language-color:first-child{border-bottom-left-radius:3px !important}div.repository-lang-stats-graph>span.language-color:last-child{border-bottom-right-radius:3px !important}a.topic-tag{border:none !important;display:inline-block !important;padding:.3em .9em !important;margin:0 .5em .5em 0 !important;white-space:nowrap !important;line-height:1.5 !important;font-size:12px !important;border-radius:3px !important}li.topic-tag-action{border-radius:3px !important}.IssueLabel{border-radius:2px !important}.IssueLabel--big.lh-condensed,.State{border-radius:3px !important}.timeline-comment{border-radius:3px !important}.timeline-comment-header,.previewable-comment-form .comment-form-head.tabnav{border-top-left-radius:3px !important;border-top-right-radius:3px !important}.timeline-comment-header .tabnav-tab,.previewable-comment-form .comment-form-head.tabnav .tabnav-tab{border-top-left-radius:4px !important;border-top-right-radius:4px !important}div.comment-reactions-options .reaction-summary-item:first-child{border-bottom-left-radius:3px}.h-card .avatar-before-user-status{border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.h-card .user-status-container{border-top:0 !important}.dropdown-menu .js-user-status-container{border-radius:3px !important}body.page-profile .graph-before-activity-overview{border-radius:3px !important}body.page-profile .contribution-activity li>.js-year-link{border-radius:3px !important}\n',""]);const o=i},213:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'html.defreshing main>*,html.defreshing div.footer{opacity:0}html.defreshing main::before{content:url("https://github.githubassets.com/images/spinners/octocat-spinner-128.gif");position:relative;left:calc(50% - 64px);top:64px}html.defreshing[data-color-mode=dark] main::before{filter:invert(1)}html.defreshed *{transition:1000ms opacity}\n',""]);const o=i},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},119:(e,t,r)=>{const n=r(940),i=r(298);t.BF=e=>(e=(e||"").toString().toLowerCase(),n.includes(e))},298:e=>{e.exports=JSON.parse('{"avatars":{"reserved":true,"taken":true,"typical":true,"included":false},"assets":{"reserved":true,"taken":true,"typical":true,"included":false},"bookmarks":{"reserved":true,"taken":true,"typical":true,"included":false},"checks":{"reserved":true,"taken":true,"typical":true,"included":false},"conversations":{"reserved":true,"taken":true,"typical":true,"included":false},"labels":{"reserved":true,"taken":true,"typical":true,"included":false},"media":{"reserved":true,"taken":true,"typical":true,"included":false},"nodes":{"reserved":true,"taken":true,"typical":true,"included":false},"owners":{"reserved":true,"taken":true,"typical":true,"included":false},"page":{"reserved":true,"taken":true,"typical":true,"included":false},"registry":{"reserved":true,"taken":true,"typical":true,"included":false},"seats":{"reserved":true,"taken":true,"typical":true,"included":false},"shared":{"reserved":true,"taken":true,"typical":true,"included":false},"tasks":{"reserved":true,"taken":true,"typical":true,"included":false},"uploads":{"reserved":true,"taken":true,"typical":true,"included":false},"account":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/settings/profile","included":true},"apps":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/marketplace","included":true},"blog":{"reserved":true,"taken":false,"typical":false,"redirect":"https://blog.github.com","included":true},"c":{"reserved":true,"taken":false,"typical":false,"redirect":"https://support.github.com/","included":true},"contact":{"reserved":true,"taken":false,"typical":false,"redirect":"https://support.github.com/","included":true},"contributing":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/about/careers","included":true},"customer":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/business/customers","included":true},"customers":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/business/customers","included":true},"developer":{"reserved":true,"taken":false,"typical":false,"redirect":"https://developer.github.com","included":true},"edu":{"reserved":true,"taken":false,"typical":false,"redirect":"https://education.github.com","included":true},"guides":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com","included":true},"help":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com","included":true},"launch":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/search","included":true},"mac":{"reserved":true,"taken":false,"typical":false,"redirect":"https://desktop.github.com","included":true},"mirrors":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/about-github-mirrors/","included":true},"pages":{"reserved":true,"taken":false,"typical":false,"redirect":"https://pages.github.com","included":true},"plans":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/pricing","included":true},"press":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/about/press","included":true},"readme":{"reserved":true,"taken":false,"typical":false,"included":true},"repositories":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/trending","included":true},"resources":{"reserved":true,"taken":false,"typical":false,"redirect":"https://resources.github.com","included":true},"security":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-security/","included":true},"settings":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/settings/profile","included":true},"signup":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/join","included":true},"terms":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-terms-of-service/","included":true},"topic":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com/topics","included":true},"tos":{"reserved":true,"taken":false,"typical":false,"redirect":"https://help.github.com/articles/github-terms-of-service/","included":true},"training":{"reserved":true,"taken":false,"typical":false,"redirect":"https://services.github.com","included":true},"users":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com","included":true},"wiki":{"reserved":true,"taken":false,"typical":false,"redirect":"https://github.com","included":true},"windows":{"reserved":true,"taken":false,"typical":false,"redirect":"https://desktop.github.com","included":true},"advisories":{"reserved":true,"taken":true,"typical":false,"included":true,"notes":"GitHub Advisory Database"},"collections":{"reserved":true,"taken":false,"typical":false,"included":true,"notes":"Curated lists of GitHub repos"},"hovercards":{"reserved":true,"taken":false,"typical":false,"included":true,"notes":"HTTP ERROR 406"},"inbox":{"reserved":true,"taken":true,"typical":false,"redirect":"https://github.com/410","included":true,"notes":"410 ERROR"},"invalid-email-address":{"reserved":true,"taken":true,"typical":false,"included":true,"notes":"HTTP ERROR 404"},"suggestions":{"reserved":true,"taken":false,"typical":false,"included":true},"suspended":{"reserved":true,"taken":true,"typical":false,"redirect":"https://github.com","included":true,"notes":"Page behaviour depends on whether you\'re logged in or if your account is actually suspended"},"case-studies":{"reserved":false,"taken":true,"typical":false,"included":true},"watching":{"reserved":false,"taken":true,"typical":false,"included":true},"save-net-neutrality":{"reserved":false,"taken":true,"typical":false,"included":true},"ghost":{"reserved":false,"taken":true,"typical":true,"included":true},"status":{"reserved":true,"taken":false,"typical":false,"included":true}}')},940:e=>{e.exports=JSON.parse('["400","401","402","403","404","405","406","407","408","409","410","411","412","413","414","415","416","417","418","419","420","421","422","423","424","425","426","427","428","429","430","431","500","501","502","503","504","505","506","507","508","509","510","511","about","access","account","admin","advisories","anonymous","any","api","apps","attributes","auth","billing","blob","blog","bounty","branches","business","businesses","c","cache","case-studies","categories","central","certification","changelog","cla","cloud","codereview","collection","collections","comments","commit","commits","community","companies","compare","contact","contributing","cookbook","coupons","customer-stories","customer","customers","dashboard","dashboards","design","develop","developer","diff","discover","discussions","docs","downloads","downtime","editor","editors","edu","enterprise","events","explore","featured","features","files","fixtures","forked","garage","ghost","gist","gists","graphs","guide","guides","help","help-wanted","home","hooks","hosting","hovercards","identity","images","inbox","individual","info","integration","interfaces","introduction","invalid-email-address","investors","issues","jobs","join","journal","journals","lab","labs","languages","launch","layouts","learn","legal","library","linux","listings","lists","login","logos","logout","mac","maintenance","malware","man","marketplace","mention","mentioned","mentioning","mentions","migrating","milestones","mine","mirrors","mobile","navigation","network","new","news","none","nonprofit","nonprofits","notices","notifications","oauth","offer","open-source","organisations","organizations","orgs","pages","partners","payments","personal","plans","plugins","popular","popularity","posts","press","pricing","professional","projects","pulls","raw","readme","recommendations","redeem","releases","render","reply","repositories","resources","restore","revert","save-net-neutrality","saved","scraping","search","security","services","sessions","settings","shareholders","shop","showcases","signin","signup","site","spam","sponsors","ssh","staff","starred","stars","static","status","statuses","storage","store","stories","styleguide","subscriptions","suggest","suggestion","suggestions","support","suspended","talks","teach","teacher","teachers","teaching","team","teams","ten","terms","timeline","topic","topics","tos","tour","train","training","translations","tree","trending","updates","username","users","visualization","w","watching","wiki","windows","works-with","www0","www1","www2","www3","www4","www5","www6","www7","www8","www9"]')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);r(684)})();