s");
"use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["36547"],{45062(t,e,n){n.d(e,{s:()=>s});var i=n(70170);function s(t=0,e={}){return(n,s,r)=>{if(!r||"function"!=typeof r.value)throw Error("debounce can only decorate functions");let o=r.value;r.value=(0,i.s)(o,t,e),Object.defineProperty(n,s,r)}}},91385(t,e,n){n.d(e,{Xq:()=>a,ai:()=>s,fN:()=>o,qA:()=>l});var i=-1/0,s=1/0;function r(t,e,n,s){for(var r=t.length,o=e.length,a=t.toLowerCase(),l=e.toLowerCase(),u=function(t){for(var e=t.length,n=Array(e),i="/",s=0;s<e;s++){var r,o=t[s];"/"===i?n[s]=.9:"-"===i||"_"===i||" "===i?n[s]=.8:"."===i?n[s]=.6:(r=i).toLowerCase()===r&&o.toUpperCase()===o?n[s]=.7:n[s]=0,i=o}return n}(e,u),h=0;h<r;h++){n[h]=Array(o),s[h]=Array(o);for(var c=i,d=h===r-1?-.005:-.01,f=0;f<o;f++)if(a[h]===l[f]){var p=i;h?f&&(p=Math.max(s[h-1][f-1]+u[f],n[h-1][f-1]+1)):p=-.005*f+u[f],n[h][f]=p,s[h][f]=c=Math.max(p,c+d)}else n[h][f]=i,s[h][f]=c+=d}}function o(t,e){var n=t.length,o=e.length;if(!n||!o)return i;if(n===o)return s;if(o>1024)return i;var a=Array(n),l=Array(n);return r(t,e,a,l),l[n-1][o-1]}function a(t,e){var n=t.length,s=e.length,o=Array(n);if(!n||!s)return o;if(n===s){for(var a=0;a<n;a++)o[a]=a;return o}if(s>1024)return o;var l=Array(n),u=Array(n);r(t,e,l,u);for(var h=!1,a=n-1,c=s-1;a>=0;a--)for(;c>=0;c--)if(l[a][c]!==i&&(h||l[a][c]===u[a][c])){h=a&&c&&u[a][c]===l[a-1][c-1]+1,o[a]=c--;break}return o}function l(t,e){t=t.toLowerCase(),e=e.toLowerCase();for(var n=t.length,i=0,s=0;i<n;i+=1)if(0===(s=e.indexOf(t[i],s)+1))return!1;return!0}},56819(t,e,n){n.d(e,{lG:()=>g,jl:()=>h,m4:()=>w});var i=n(16969),s=n(49539),r=n(38267),o=n(96540),a=n(74848);let l=(0,r.Ay)(i.A).withConfig({shouldForwardProp:t=>"sx"!==t}).withConfig({displayName:"TabNav__StyledTabNav",componentId:"sc-13kad3t-0"})(["",""],s.sx),u=(0,r.Ay)(i.A.Link).withConfig({shouldForwardProp:t=>"sx"!==t}).withConfig({displayName:"TabNav__StyledTabNavLink",componentId:"sc-13kad3t-1"})(["",""],s.sx),h=Object.assign(({as:t,...e})=>(0,a.jsx)(l,{...e,...t?{forwardedAs:t}:{}}),{Link:(0,o.forwardRef)(({as:t,...e},n)=>(0,a.jsx)(u,{...e,...t?{forwardedAs:t}:{},ref:n}))});var c=n(49305),d=n(45846);let f=(0,o.forwardRef)(function(t,e){return(0,a.jsx)(d.a,{as:c.A,ref:e,...t})}),p=(0,o.forwardRef)(({as:t,...e},n)=>(0,a.jsx)(f,{...e,...t?{forwardedAs:t}:{},ref:n})),m=(0,o.forwardRef)(function(t,e){return(0,a.jsx)(d.a,{as:c.A.Header,ref:e,...t})}),g=Object.assign(p,{Header:(0,o.forwardRef)(({as:t,...e},n)=>(0,a.jsx)(m,{...e,...t?{forwardedAs:t}:{},ref:n}))});var y=n(10095);let v=(0,r.Ay)(y.A).withConfig({shouldForwardProp:t=>"sx"!==t}).withConfig({displayName:"Octicon__StyledOcticon",componentId:"sc-jtj3m8-0"})(["",""],({color:t,sx:e})=>(0,s.sx)({sx:{color:t,...e}})),w=(0,o.forwardRef)(({as:t,...e},n)=>(0,a.jsx)(v,{...e,...t?{forwardedAs:t}:{},ref:n}));var O=n(30331);let E=(0,r.Ay)(O.A).withConfig({shouldForwardProp:t=>"sx"!==t}).withConfig({displayName:"Tooltip__StyledTooltip",componentId:"sc-145jcib-0"})(["",""],s.sx),b=(0,o.forwardRef)(function({as:t,...e},n){return(0,a.jsx)(E,{...e,...t?{forwardedAs:t}:{},ref:n})});b.alignments=O.A.alignments,b.directions=O.A.directions,b.__SLOT__=O.A.__SLOT__;var x=n(40236);let C=(0,o.forwardRef)(function(t,e){return(0,a.jsx)(d.a,{as:x.l,ref:e,...t})}),R=(0,r.Ay)(x.l.Item).withConfig({shouldForwardProp:t=>"sx"!==t}).withConfig({displayName:"ActionList__StyledActionListItem",componentId:"sc-1ugfmds-0"})(["",""],s.sx);Object.assign(C,{Item:(0,o.forwardRef)(({as:t,...e},n)=>(0,a.jsx)(R,{...e,...t?{forwardedAs:t}:{},ref:n})),Group:function(t){return(0,a.jsx)(d.a,{as:x.l.Group,...t})},Divider:function(t){return(0,a.jsx)(d.a,{as:x.l.Divider,...t})}})},61388(t,e,n){n.d(e,{_:()=>a});var i=n(36158),s=n(26261),r=n(66500),o=n(24880),a=class extends r.Q{#t;#e=void 0;#n;#i;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#s()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,o.f8)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,o.EN)(e.mutationKey)!==(0,o.EN)(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#s(),this.#r(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#s(),this.#r()}mutate(t,e){return this.#i=e,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#s(){let t=this.#n?.state??(0,i.$)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#r(t){s.jG.batch(()=>{if(this.#i&&this.hasListeners()){let e=this.#e.variables,n=this.#e.context,i={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#i.onSuccess?.(t.data,e,n,i)}catch(t){Promise.reject(t)}try{this.#i.onSettled?.(t.data,null,e,n,i)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#i.onError?.(t.error,e,n,i)}catch(t){Promise.reject(t)}try{this.#i.onSettled?.(void 0,t.error,e,n,i)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#e)})})}}},94747(t,e,n){n.d(e,{n:()=>l});var i=n(96540),s=n(61388),r=n(26261),o=n(24880),a=n(97665);function l(t,e){let n=(0,a.jE)(e),[l]=i.useState(()=>new s._(n,t));i.useEffect(()=>{l.setOptions(t)},[l,t]);let u=i.useSyncExternalStore(i.useCallback(t=>l.subscribe(r.jG.batchCalls(t)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),h=i.useCallback((t,e)=>{l.mutate(t,e).catch(o.lQ)},[l]);if(u.error&&(0,o.GU)(l.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:h,mutateAsync:u.mutate}}},26692(t,e,n){n.d(e,{Qr:()=>a});class i extends Event{constructor(){super("update")}}let s=new WeakMap;class r extends EventTarget{#o=new MutationObserver(()=>this.#a());#l=new ResizeObserver(()=>this.#u());#h;#c=document.createElement("div");#d=document.createElement("div");static for(t){let e=s.get(t);return e||(e=new r(t),s.set(t,e)),e}constructor(t){super(),this.#h=new WeakRef(t),this.#c.style.position="absolute",this.#c.style.pointerEvents="none",this.#c.setAttribute("aria-hidden","true"),this.#c.appendChild(this.#d),this.#d.style.pointerEvents="none",this.#d.style.userSelect="none",this.#d.style.overflow="hidden",this.#d.style.display="block",this.#d.style.visibility="hidden",t instanceof HTMLTextAreaElement?(this.#d.style.whiteSpace="pre-wrap",this.#d.style.wordWrap="break-word"):(this.#d.style.whiteSpace="nowrap",this.#d.style.display="table-cell",this.#d.style.verticalAlign="middle"),t.after(this.#c),this.#a(),this.#f(),this.#o.observe(t,{attributeFilter:["style","dir"]}),this.#l.observe(t),document.addEventListener("scroll",this.#p,{capture:!0}),window.addEventListener("resize",this.#p,{capture:!0}),t.addEventListener("input",this.#m,{capture:!0})}get element(){return this.#d}forceUpdate(){this.#a(),this.#f()}disconnect(){this.#c?.remove(),this.#o.disconnect(),this.#l.disconnect(),document.removeEventListener("scroll",this.#p,{capture:!0}),window.removeEventListener("resize",this.#p,{capture:!0});let t=this.#g;t&&(t.removeEventListener("input",this.#m,{capture:!0}),s.delete(t))}get #g(){return this.#h?.deref()}#y(t){let e=this.#g;return e?t(e):this.disconnect()}#v=0;#w=0;#O(){this.#y(t=>{let e=window.getComputedStyle(t);this.#d.style.height=e.height,this.#d.style.width=e.width,t.clientHeight!==this.#d.clientHeight&&(this.#d.style.height=`calc(${e.height} + ${t.clientHeight-this.#d.clientHeight}px)`),t.clientWidth!==this.#d.clientWidth&&(this.#d.style.width=`calc(${e.width} + ${t.clientWidth-this.#d.clientWidth}px)`);let n=t.getBoundingClientRect(),s=this.#d.getBoundingClientRect();this.#v=this.#v+n.left-s.left,this.#w=this.#w+n.top-s.top,this.#d.style.transform=`translate(${this.#v}px, ${this.#w}px)`,this.#d.scrollTop=t.scrollTop,this.#d.scrollLeft=t.scrollLeft,this.dispatchEvent(new i)})}#E=!1;#u(){this.#E||(this.#E=!0,requestAnimationFrame(()=>{this.#O(),this.#E=!1}))}#a(){this.#y(t=>{let e=window.getComputedStyle(t);for(let t of o)this.#d.style[t]=e[t];this.#u()})}#f(){this.#y(t=>{this.#d.textContent=t.value,this.#O()})}#m=()=>this.#f();#p=t=>{this.#y(e=>{(t.target===document||t.target===window||t.target instanceof Node&&t.target.contains(e))&&this.#u()})}}let o=["direction","writingMode","unicodeBidi","textOrientation","boxSizing","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];class a{#b;#x;#C;constructor(t,e=0,n=e){this.#b=t,this.#x=e,this.#C=n}static fromSelection(t){let{selectionStart:e,selectionEnd:n}=t;return new a(t,e??void 0,n??void 0)}get collapsed(){return this.startOffset===this.endOffset}get commonAncestorContainer(){return this.#b}get endContainer(){return this.#b}get startContainer(){return this.#b}get startOffset(){return this.#x}get endOffset(){return this.#C}setStartOffset(t){this.#x=this.#R(t)}setEndOffset(t){this.#C=this.#R(t)}collapse(t=!1){t?this.setEndOffset(this.startOffset):this.setStartOffset(this.endOffset)}cloneContents(){return this.#S().cloneContents()}cloneRange(){return new a(this.#b,this.startOffset,this.endOffset)}getBoundingClientRect(){return this.#S().getBoundingClientRect()}getClientRects(){return this.#S().getClientRects()}toString(){return this.#S().toString()}getStyleClone(){return this.#A}get #A(){return r.for(this.#b)}get #d(){return this.#A}#R(t){return Math.max(0,Math.min(t,this.#b.value.length))}#S(){let t=document.createRange(),e=this.#d.element.childNodes[0];return e&&(t.setStart(e,this.startOffset),t.setEnd(e,this.endOffset)),t}}},74022(t,e,n){n.d(e,{A:()=>r});var i=n(52246),s=n(23149);let r=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw TypeError("Expected a function");return(0,s.A)(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),(0,i.A)(t,e,{leading:r,maxWait:e,trailing:o})}},11561(t,e,n){n.d(e,{A:()=>i});function i(t,e){if(!t)throw Error("Invariant failed")}}}]);
//# sourceMappingURL=36547-a4cc2ffd590f0737-df0ee02886c5b721.js.mapӘ