performance.mark("js-parse-end:95193-ea0c78d7b763c8a8.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["95193"],{34619(e,t,n){n.d(t,{O:()=>a,S:()=>r});var i=n(26316);let o=i.cg?.document?.head?.querySelector('meta[name="release"]')?.content||"",r="X-GitHub-Client-Version";function a(){return o}},5045(e,t,n){n.d(t,{jC:()=>l,kt:()=>r,tV:()=>a});var i=n(34619),o=n(381);function r(e){let t={"X-Requested-With":"XMLHttpRequest",...(0,o.wE)(e)};return{...t,[i.S]:(0,i.O)()}}function a(e,t){for(let[n,i]of Object.entries(r(t)))e.set(n,i)}function l(e){return{"X-GitHub-App-Type":e}}},381(e,t,n){n.d(t,{$r:()=>a,M1:()=>l,li:()=>o,pS:()=>s,wE:()=>c});var i=n(26316);let o="X-Fetch-Nonce",r=new Set;function a(e){r.add(e)}function l(){return r.values().next().value||""}function c(e){let t={};return void 0!==e&&(t["X-Fetch-Nonce-To-Validate"]=e),void 0===e?t[o]=l():r.has(e)?t[o]=e:t[o]=Array.from(r).join(","),t}function s(){let e=i.XC?.head?.querySelector('meta[name="fetch-nonce"]')?.content||"";e&&a(e)}},46131(e,t,n){n.d(t,{Cy:()=>l,K3:()=>u,Z8:()=>c,k_:()=>r,lK:()=>f,m$:()=>a});var i=n(84592);function o(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:n}))}function r(e,t){t&&(function(e,t){if(!(e instanceof HTMLFormElement))throw TypeError("The specified element is not of type HTMLFormElement.");if(!(t instanceof HTMLElement))throw TypeError("The specified element is not of type HTMLElement.");if("submit"!==t.type)throw TypeError("The specified element is not a submit button.");if(!e||e!==t.form)throw Error("The specified element is not owned by the form element.")}(e,t),(0,i.A)(t)),o(e,"submit",!0)&&e.submit()}function a(e,t){if("boolean"==typeof t)if(e instanceof HTMLInputElement)e.checked=t;else throw TypeError("only checkboxes can be set to boolean value");else if("checkbox"===e.type)throw TypeError("checkbox can't be set to string value");else e.value=t;o(e,"change",!1)}function l(e,t){for(let n in t){let i=t[n],o=e.elements.namedItem(n);o instanceof HTMLInputElement?o.value=i:o instanceof HTMLTextAreaElement&&(o.value=i)}}function c(e){if(!(e instanceof HTMLElement))return!1;let t=e.nodeName.toLowerCase(),n=(e.getAttribute("type")||"").toLowerCase();return"select"===t||"textarea"===t||"input"===t&&"submit"!==n&&"reset"!==n||e.isContentEditable}function s(e){return new URLSearchParams(e)}function u(e,t){let n=new URLSearchParams(e.search);for(let[e,i]of s(t))n.append(e,i);return n.toString()}function f(e){return s(new FormData(e)).toString()}},84592(e,t,n){function i(e){let t=e.closest("form");if(!(t instanceof HTMLFormElement))return;let n=o(t);if(e.name){let i=e.matches("input[type=submit]")?"Submit":"",o=e.value||i;n||((n=document.createElement("input")).type="hidden",n.classList.add("js-submit-button-value"),t.prepend(n)),n.name=e.name,n.value=o}else n&&n.remove()}function o(e){let t=e.querySelector("input.js-submit-button-value");return t instanceof HTMLInputElement?t:null}n.d(t,{A:()=>i,C:()=>o})},63429(e,t,n){n.d(t,{Fr:()=>s,R0:()=>c,U0:()=>f,xl:()=>u});var i=n(26316);let o="Android",r="macOS",a="Windows",l="Linux";function c(){let e="Unknown",t=!1;if(i.cg){let n=i.cg.navigator,c="";try{c=n.userAgent}catch{}let s="";try{s=n?.userAgentData?.platform||n.platform}catch{}-1!==["Macintosh","MacIntel","MacPPC","Mac68K","macOS"].indexOf(s)?e=r:-1!==["iPhone","iPad","iPod"].indexOf(s)?e="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(s)?e=a:/Android/.test(c)?e=o:/Linux/.test(s)&&(e=l),t=n?.userAgentData?.mobile??(e===o||"iOS"===e)}return{os:e,isAndroid:e===o,isIOS:"iOS"===e,isMacOS:e===r,isWindows:e===a,isLinux:e===l,isDesktop:e===r||e===a||e===l,isMobile:t}}function s(){return c().isMobile}function u(){return c().isDesktop}function f(){return c().isMacOS}},98795(e,t,n){n.d(t,{JC:()=>i.JC,KK:()=>i.KK,SK:()=>r,Vy:()=>i.Vy,ai:()=>i.ai,rd:()=>i.rd});var i=n(50515);let o=/(?:^|,)((?:[^,]|,(?=\+| |$))*(?:,(?=,))?)/g;function r(e){return Array.from(e.matchAll(o)).map(([,e])=>e)}},39423(e,t,n){n.d(t,{$$:()=>s,GI:()=>a,fg:()=>c,zw:()=>r});var i=n(63429),o=n(98795);let r=()=>{if("u"/Enter|Arrow|Escape|Meta|Control|Mod|Esc|Tab/.test(e)||!(0,i.U0)()&&e.includes("Alt")&&e.includes("Shift"),l=new Set(["button","checkbox","color","file","hidden","image","radio","range","reset","submit"]);function c(e){if(!(e instanceof HTMLElement))return!1;let t=e.nodeName.toLowerCase(),n=e.getAttribute("type")?.toLowerCase()??"text",i="true"===e.ariaReadOnly||"true"===e.getAttribute("aria-readonly")||null!==e.getAttribute("readonly");return("select"===t||"textarea"===t||"input"===t&&!l.has(n)||e.isContentEditable)&&!i}let s=e=>{let t=(0,o.Vy)(e),n=r()&&!c(e.target);return a(t)||n}},33910(e,t,n){n.d(t,{XC:()=>k,Yf:()=>T,LU:()=>L});var i=n(68349),o=n(21744),r=n(29941),a=n(98795),l=n(39423),c=n(21403);function s(e,t){let n=e,i=e.ownerDocument;if((n===i||n===i.defaultView||n===i.documentElement||n===i.body)&&(n=i),i.defaultView){if(n instanceof i.defaultView.Document){let e=null!=t.top?t.top:i.defaultView.pageYOffset,n=null!=t.left?t.left:i.defaultView.pageXOffset;i.defaultView.scrollTo(n,e);return}if(!(n instanceof i.defaultView.HTMLElement))throw Error("invariant");n.scrollTop=t.top,null!=t.left&&(n.scrollLeft=t.left)}}var u=n(1433),f=n(26316);let d=f.cg?.navigator.userAgent.match(/Macintosh/),m=d?"metaKey":"ctrlKey",v=d?"Meta":"Control",g=!1,p={x:0,y:0};function h(e){e instanceof MouseEvent&&((p.x!==e.clientX||p.y!==e.clientY)&&(g=!1),p={x:e.clientX,y:e.clientY})}function b(e){if(g)return;let t=e.currentTarget,{target:n}=e;if(!(n instanceof Element)||!(t instanceof HTMLElement)||!t.closest(".js-active-navigation-container"))return;let i=n.closest(".js-navigation-item");i&&S(i,t)}(0,c.lB)(".js-navigation-container:not(.js-navigation-container-no-mouse)",{subscribe:e=>(0,i.Zz)((0,i.Rt)(e,"mouseover",h),(0,i.Rt)(e,"mouseover",b))});let y=0;function w(e){if(e.target!==document.body&&e.target instanceof HTMLElement&&!e.target.classList.contains("js-navigation-enable"))return;g=!0;let t=j(),n=!1;if(t){let i=t.querySelector(".js-navigation-item.navigation-focus")||t;n=(0,o.h)(i,"navigation:keydown",{hotkey:(0,a.Vy)(e),originalEvent:e,originalTarget:e.target})}n||e.preventDefault()}function E(e){let t=e.modifierKey||e.altKey||e.ctrlKey||e.metaKey;(0,o.h)(e.currentTarget,"navigation:open",{modifierKey:t,shiftKey:e.shiftKey})||e.preventDefault()}function T(e){let t=j();e!==t&&(null!==t&&L(t),e?.classList.add("js-active-navigation-container"))}function L(e){e.classList.remove("js-active-navigation-container")}function k(e,t){let n=t||e,i=V(e)[0],o=n.closest(".js-navigation-item")||i;if(T(e),o instanceof HTMLElement){if(S(o,e))return;let t=(0,r.Nt)(o);if(!t)return;O(t,o)}}function C(e,t){let n=V(t),i=n.indexOf(e),o=n[i-1];if(o){if(S(o,t))return;let e=(0,r.Nt)(o);if(!e)return;"page"===x(t)?H(e,o):O(e,o)}}function A(e,t){let n=V(t),i=n.indexOf(e),o=n[i+1];if(o){if(S(o,t))return;let e=(0,r.Nt)(o);if(!e)return;"page"===x(t)?H(e,o):O(e,o)}}function M(e,t=!1){(0,o.h)(e,"navigation:keyopen",{modifierKey:t})}function S(e,t){if(!(0,o.h)(e,"navigation:focus"))return!0;for(let e of t.querySelectorAll(".js-navigation-item.navigation-focus"))e.classList.remove("navigation-focus");return e.classList.add("navigation-focus"),!1}function j(){return document.querySelector(".js-active-navigation-container")}function V(e){let t=[];for(let n of e.querySelectorAll(".js-navigation-item"))n instanceof HTMLElement&&(0,u.A)(n)&&t.push(n);return t}function x(e){return e.getAttribute("data-navigation-scroll")||"item"}function H(e,t,n="smooth"){let i=(0,r.eg)(t,e);i&&(i.bottom<=0?t.scrollIntoView({behavior:n,block:"start"}):i.top<=0&&t.scrollIntoView({behavior:n,block:"end"}))}function O(e,t){let n=(0,r.uw)(t,e),i=(0,r.eg)(t,e);if(null!=n&&null!=i)if(i.bottom<=0&&document.body){let t=null!=e.offsetParent?e.scrollHeight:document.body.scrollHeight,o=i.height??0;s(e,{top:t-(n.bottom+o)})}else i.top<=0&&s(e,{top:n.top})}(0,c.lB)(".js-active-navigation-container",{add(){1==++y&&document.addEventListener("keydown",w)},remove(){0==--y&&document.removeEventListener("keydown",w)}}),(0,o.on)("navigation:keydown",".js-active-navigation-container",function(e){let t=e.currentTarget,n=e.detail.originalTarget.matches("input, textarea"),i=e.target;if((0,l.$$)(e.detail.originalEvent)){if(i.classList.contains("js-navigation-item"))if(n){if(d)switch((0,a.Vy)(e.detail.originalEvent)){case"Control+n":A(i,t);break;case"Control+p":C(i,t)}switch((0,a.Vy)(e.detail.originalEvent)){case"ArrowUp":C(i,t);break;case"ArrowDown":A(i,t);break;case"Enter":case`${v}+Enter`:M(i,e.detail.originalEvent[m])}}else{if(d)switch((0,a.Vy)(e.detail.originalEvent)){case"Control+n":A(i,t);break;case"Control+p":C(i,t);break;case"Alt+v":!function(e,t){let n,i,o=V(t),a=o.indexOf(e),l=(0,r.Nt)(e);if(null!=l){for(;(n=o[a-1])&&(i=(0,r.eg)(n,l))&&i.top>=0;)a--;if(n){if(S(n,t))return;H(l,n)}}}(i,t);break;case"Control+v":!function(e,t){let n,i,o=V(t),a=o.indexOf(e),l=(0,r.Nt)(e);if(null!=l){for(;(n=o[a+1])&&(i=(0,r.eg)(n,l))&&i.bottom>=0;)a++;if(n){if(S(n,t))return;H(l,n)}}}(i,t)}switch((0,a.Vy)(e.detail.originalEvent)){case"j":case"J":A(i,t);break;case"k":case"Shift+K":C(i,t);break;case"o":case"Enter":case`${v}+Enter`:M(i,e.detail[m])}}else{let i=V(t)[0];if(i)if(n)d&&"Control+n"===(0,a.Vy)(e.detail.originalEvent)&&S(i,t),"ArrowDown"===(0,a.Vy)(e.detail.originalEvent)&&S(i,t);else{if(d)switch((0,a.Vy)(e.detail.originalEvent)){case"Control+n":case"Control+v":S(i,t)}"j"===(0,a.Vy)(e.detail.originalEvent)&&S(i,t)}}if(n){if(d)switch((0,a.Vy)(e.detail.originalEvent)){case"Control+n":case"Control+p":e.preventDefault()}switch((0,a.Vy)(e.detail.originalEvent)){case"ArrowUp":case"ArrowDown":case"Enter":e.preventDefault()}}else{if(d)switch((0,a.Vy)(e.detail.originalEvent)){case"Control+n":case"Control+p":case"Control+v":case"Alt+v":e.preventDefault()}switch((0,a.Vy)(e.detail.originalEvent)){case"j":case"k":case"o":case"Enter":case`${m}+Enter`:e.preventDefault()}}}}),(0,o.on)("click",".js-active-navigation-container .js-navigation-item",function(e){E(e)}),(0,o.on)("navigation:keyopen",".js-active-navigation-container .js-navigation-item",function(e){let t=e.currentTarget.classList.contains("js-navigation-open")?e.currentTarget:e.currentTarget.querySelector(".js-navigation-open");t instanceof HTMLAnchorElement?(e.detail.modifierKey?(window.open(t.href,"_blank"),window.focus()):t.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))&&t.click(),e.preventDefault()):E(e)})},68349(e,t,n){n.d(t,{Rt:()=>o,Zz:()=>r,yU:()=>i});class i{constructor(e){this.closed=!1,this.unsubscribe=()=>{e(),this.closed=!0}}closed;unsubscribe}function o(e,t,n,r={capture:!1}){return e.addEventListener(t,n,r),new i(()=>{e.removeEventListener(t,n,r)})}function r(...e){return new i(()=>{for(let t of e)t.unsubscribe()})}},1433(e,t,n){n.d(t,{A:()=>i});function i(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}}}]); //# sourceMappingURL=95193-ea0c78d7b763c8a8-263e70f0f98e8f37.js.map