티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[“repos-overview”],{27128:(e,t,o)=>{var i=o(52497),n=o(74848),r=o(96540),a=o(26033),s=o(88795),l=o(64262),c=o(68415),d=o(69098),u=o(51314),h=o(93224),m=o(85579),p=o(141),f=o(28408),x=o(93955),_=o(30903),g=o(50436),y=o(72334),w=o(6453),b=o(24484),j=o(29693),B=o(54763),N=o(95782),k=o(25925),C=o(96235),A=o(70179),S=o(28391),R=o(26807),I=o(60039),M=o(38621),P=o(55847),F=o(89323),T=o(87330),O=o(15385),L=o(53110),H=o(53861),E=o(50144),D=o(87183),W=o(71748),U=o(18138),$=o(66871),q=o(63867),z=o(5420),G=o(84217);let V={Box:”OverviewRepoFiles-module__Box–_HFSP”,Box_1:”OverviewRepoFiles-module__Box_1–xSt0T”,Box_2:”OverviewRepoFiles-module__Box_2–yIjMp”,Box_3:”OverviewRepoFiles-module__Box_3–Bi2jM”,UnderlineNav:”OverviewRepoFiles-module__UnderlineNav–BHfFi”,ActionMenu_Button:”OverviewRepoFiles-module__ActionMenu_Button–xB9DS”,ActionMenu_Overlay:”OverviewRepoFiles-module__ActionMenu_Overlay–zwi46″,Box_4:”OverviewRepoFiles-module__Box_4–ghpG3″,Octicon:”OverviewRepoFiles-module__Octicon–EF8ti”,Box_5:”OverviewRepoFiles-module__Box_5–UVjY_”,Heading:”OverviewRepoFiles-module__Heading–mOkGl”,Text:”OverviewRepoFiles-module__Text–sPHHb”};function Q({initialFiles:e,shouldRecommendReadme:t,isPersonalRepo:o}){let i,a;let[l,c]=(0,r.useState)(e),d=l?.find(e=>e.preferredFileType===U.fP.README),u=l?.find(e=>e.preferredFileType===U.fP.CODE_OF_CONDUCT),h=(l??[]).filter(e=>e.preferredFileType===U.fP.LICENSE),m=l?.find(e=>e.preferredFileType===U.fP.SECURITY),f=”readme-ov-file”;d||t||(u?f=”coc-ov-file”:h.length>0&&h[0]?f=`${h[0].tabName}-1-ov-file`:m&&(f=”security-ov-file”));let[x,_]=(0,r.useState)(f),g=(0,r.useRef)(null),y=(0,s.t)(),{refInfo:w}=(0,p.eu)();(0,r.useEffect)(()=>{let t=async()=>{let e=(0,C.IO9)({repo:y,action:”overview-files”,commitish:w.name}),t=await (0,I.lS)(e,{method:”GET”});t.ok&&c((await t.json()).files??[])};e?.some(e=>!e.loaded)&&t()},[y,w.name,e]);let b=(0,r.useCallback)(()=>{let e=[];if((d||t)&&e.push(“readme-ov-file”),u&&e.push(“coc-ov-file”),h.length)for(let[t,o]of h.entries())e.push(`${o.tabName}-${t+1}-ov-file`);return m&&e.push(“security-ov-file”),e},[u,h,d,m,t]),j=(0,r.useCallback)(()=>{let e=window.location.hash.replace(“#”,””),t=b();if(e&&t.includes(e)){let t=`${window.location.protocol}//${window.location.host}${window.location.pathname}?tab=${e}#readme`;(0,$.bj)(t),_(e)}else{let e=new URLSearchParams(window.location.search).get(“tab”);e&&t.includes(e)&&_(e)}window.requestAnimationFrame(()=>{g.current&&”#readme”===window.location.hash&&g.current.scrollIntoView()})},[b]);(0,r.useEffect)(()=>(j(),window.addEventListener(“hashchange”,j),()=>{window.removeEventListener(“hashchange”,j)}),[j]);let B=(0,r.useCallback)((e,t)=>{if(e.preventDefault(),x===t)return;_(t);let o=`${window.location.protocol}//${window.location.host}${window.location.pathname}?tab=${t}`;(0,$.bj)(o)},[x]);if(!d&&!u&&!h.length&&!m&&!t)return null;let N=h.find((e,t)=>`${e.tabName}-${t+1}-ov-file`===x);return”readme-ov-file”===x?d?a=d:t&&(i=(0,n.jsx)(K,{title:”Add a README”,description:o?”Add a README with an overview of your project.”:”Help people interested in this repository understand your project by adding a README.”,icon:M.BookIcon,buttonText:”Add a README”,href:`${(0,C.IO9)({repo:y,path:void 0,commitish:w.name,action:”new”})}?filename=README.md`})):”coc-ov-file”===x&&u?a=u:N?a=N:m&&(a=m),a&&a.path&&(i=a.loaded?(0,n.jsx)(W.e,{errorMessage:a.errorMessage,onAnchorClick:()=>{let e=`${window.location.protocol}//${window.location.host}${window.location.pathname}?tab=${x}${window.location.hash}`;(0,$.bj)(e)},path:a.path,richText:a.richText,stickyHeaderHeight:50,timedOut:a.timedOut}):(0,n.jsx)(“div”,{className:V.Box,children:(0,n.jsx)(q.A,{})})),(0,n.jsx)(“div”,{className:V.Box_1,children:(0,n.jsxs)(“div”,{ref:g,className:V.Box_2,children:[(0,n.jsxs)(“div”,{itemScope:!0,itemType:”https://schema.org/abstract”,className:V.Box_3,children:[(0,n.jsxs)(z.O,{“aria-label”:”Repository files”,className:V.UnderlineNav,children:[(d||t)&&(0,n.jsx)(z.O.Item,{icon:M.BookIcon,”aria-current”:”readme-ov-file”===x?”page”:void 0,onSelect:e=>B(e,”readme-ov-file”),children:d?.tabName||”README”}),u&&(0,n.jsx)(z.O.Item,{icon:M.CodeOfConductIcon,”aria-current”:”coc-ov-file”===x?”page”:void 0,onSelect:e=>B(e,”coc-ov-file”),children:u?.tabName||”Code of conduct”}),h.length?h.map((e,t)=>{let o=`${e.tabName}-${t+1}-ov-file`;return(0,n.jsx)(z.O.Item,{icon:M.LawIcon,”aria-current”:x===o?”page”:void 0,onSelect:e=>B(e,o),children:e.tabName?.toLowerCase()!==”license”?`${e.tabName} license`:”License”},e.path)}):null,m&&(0,n.jsx)(z.O.Item,{icon:M.LawIcon,”aria-current”:”security-ov-file”===x?”page”:void 0,onSelect:e=>B(e,”security-ov-file”),children:m?.tabName||”Security policy”})]}),w.canEdit&&a&&(0,n.jsx)(E.l,{editPath:(0,C.Nyd)({owner:y.ownerLogin,repo:a.repoName,commitish:a.refName,filePath:a.path}),editTooltip:”Edit file”,customSx:{mr:2,height:”28px”}}),a?.headerInfo?.toc&&a?.headerInfo?.toc?.length>=2&&(0,n.jsxs)(F.W,{children:[(0,n.jsx)(F.W.Button,{icon:M.ListUnorderedIcon,variant:”invisible”,”aria-label”:”Outline”,className:V.ActionMenu_Button,children:”Outline”}),(0,n.jsx)(F.W.Overlay,{align:”end”,className:V.ActionMenu_Overlay,children:(0,n.jsx)(D.A,{toc:a.headerInfo.toc})})]})]}),i]})})}function K({title:e,description:t,icon:o,buttonText:i,href:r}){return(0,n.jsxs)(“div”,{className:V.Box_4,children:[(0,n.jsx)(L.A,{icon:o,size:32,className:V.Octicon}),(0,n.jsxs)(“div”,{className:V.Box_5,children:[(0,n.jsx)(G.A,{as:”h2″,className:V.Heading,children:e}),(0,n.jsx)(“span”,{className:V.Text,children:t})]}),(0,n.jsx)(P.Q,{as:S.N,to:r,variant:”primary”,reloadDocument:!0,children:i})]})}try{Q.displayName||(Q.displayName=”OverviewFiles”)}catch{}try{K.displayName||(K.displayName=”MissingContent”)}catch{}var Y=o(75177),Z=o(61020),J=o(98013),X=o(6869),ee=o(10871);let et={Flash:”RecentlyTouchedBranches-module__Flash–ZwF1d”,Box:”RecentlyTouchedBranches-module__Box–YQ8UP”,Octicon:”RecentlyTouchedBranches-module__Octicon–Gt0Jx”};function eo({repo:e}){let[t,o]=(0,r.useState)([]),[i,a]=(0,r.useState)(),s=(0,r.useCallback)(async()=>{let t=await (0,I.lS)(`/${e.ownerLogin}/${e.name}/recently-touched-branches`);if(t.ok){let e=await t.json();e.channel&&a(e.channel),o(e.branches??[])}},[e.name,e.ownerLogin]);return((0,r.useEffect)(()=>{s()},[s]),i)?(0,n.jsx)(ei,{branches:t,channel:i,fetchRecentlyTouchedBranches:s,repo:e}):null}function ei({branches:e,channel:t,fetchRecentlyTouchedBranches:o,repo:i}){let a=(0,r.useRef)(null),s=(0,r.useCallback)(()=>{null!==a.current&&window.clearTimeout(a.current),a.current=window.setTimeout(()=>{o()},500)},[o]);return((0,J.x)(t,s),e)?(0,n.jsx)(n.Fragment,{children:e.map((t,o)=>(0,n.jsxs)(X.A,{variant:”warning”,sx:{mb:o===e.length-1?3:2},className:et.Flash,children:[(0,n.jsxs)(“div”,{className:et.Box,children:[(0,n.jsx)(L.A,{icon:M.GitBranchIcon,className:et.Octicon}),(0,n.jsxs)(S.N,{to:(0,C.WJ9)({owner:t.repoOwner,repo:t.repoName,branch:t.branchName}),reloadDocument:!0,style:{fontWeight:”bold”},children:[i.ownerLogin!==t.repoOwner?`${t.repoOwner}:`:””,t.branchName]}),` had recent pushes ${(0,Z.V)(new Date(t.date))}`]}),(0,n.jsx)(ee.z,{href:t.comparePath,variant:”primary”,children:”Compare & pull request”})]},t.branchName+o))}):null}try{eo.displayName||(eo.displayName=”RecentlyTouchedBranches”)}catch{}try{ei.displayName||(ei.displayName=”RecentlyTouchedBranchesInner”)}catch{}var en=o(34614),er=o(47139);let ea={Octicon:”InterractionLimitsBanner-module__Octicon–b1II8″,Label:”InterractionLimitsBanner-module__Label–synHw”,Box:”InterractionLimitsBanner-module__Box–nGJOo”,Box_1:”InterractionLimitsBanner-module__Box_1–RY0gV”,Box_2:”InterractionLimitsBanner-module__Box_2–FZMyG”,Box_3:”InterractionLimitsBanner-module__Box_3–dOZ8N”,Box_4:”InterractionLimitsBanner-module__Box_4–rbPP2″};function es({interactionLimitBanner:e}){let t;let o=(0,s.t)();return t=e.usersHaveAccess?”Users that have recently created their account will be unable to interact with the repository.”:e.contributorsHaveAccess?(0,n.jsxs)(n.Fragment,{children:[“Users that have not previously”,” “,(0,n.jsx)(en.A,{inline:!0,href:(0,C.e87)(o),children:”committed”}),” “,”to the “,o.defaultBranch,” branch of this repository will be unable to interact with the repository.”]}):(0,n.jsxs)(n.Fragment,{children:[“Users that are not”,” “,(0,n.jsx)(en.A,{inline:!0,href:(0,C.H1o)(o),children:”collaborators”}),” “,”will not be able to interact with the repository.”]}),(0,n.jsxs)(X.A,{children:[(0,n.jsxs)(“div”,{children:[(0,n.jsx)(L.A,{icon:M.ClockIcon,className:ea.Octicon}),(0,n.jsx)(“span”,{children:e.limitTitle}),(0,n.jsx)(er.A,{variant:”success”,className:ea.Label,children:`${e.currentExpiry} remaining`})]}),(0,n.jsx)(“div”,{className:ea.Box,children:(0,n.jsx)(“span”,{children:t})}),(0,n.jsxs)(“div”,{className:ea.Box_1,children:[(0,n.jsx)(el,{userRole:”New users”,access:!1}),(0,n.jsx)(el,{userRole:”Users”,access:e.usersHaveAccess}),(0,n.jsx)(el,{userRole:”Contributors”,access:e.contributorsHaveAccess}),(0,n.jsx)(el,{userRole:”Collaborators”,access:!0}),e.inOrganization&&(0,n.jsx)(el,{userRole:”Organization members”,access:!0})]}),e.adminText&&e.adminLink&&e.disablePath&&(0,n.jsxs)(“div”,{className:ea.Box_2,children:[(0,n.jsx)(P.Q,{onClick:async()=>{let t=new FormData;t.append(“interaction_setting”,”NO_LIMIT”),t.append(“_method”,”put”),await (0,I.DI)(e.disablePath,{body:t,method:”POST”,redirect:”manual”}),window.location.reload()},children:”Disable”}),(0,n.jsxs)(“div”,{className:ea.Box_3,children:[“\xa0or view\xa0”,(0,n.jsx)(en.A,{inline:!0,href:e.adminLink,children:e.adminText})]})]})]})}function el({userRole:e,access:t}){return(0,n.jsxs)(“div”,{className:ea.Box_4,children:[(0,n.jsx)(L.A,{icon:t?M.CheckIcon:M.XIcon,sx:{path:{color:t?”success.fg”:”danger.fg”}}}),e]})}try{es.displayName||(es.displayName=”InterractionLimitsBanner”)}catch{}try{el.displayName||(el.displayName=”RoleInteractionIndicator”)}catch{}var ec=o(73081);let ed={Box:”PendingInvitationBanner-module__Box–rXKDK”,Box_1:”PendingInvitationBanner-module__Box_1–EUuuy”,Link:”PendingInvitationBanner-module__Link–IbmKE”};function eu({inviterName:e}){let{ownerLogin:t,name:o}=(0,s.t)();return(0,n.jsx)(X.A,{children:(0,n.jsxs)(“div”,{className:ed.Box,children:[(0,n.jsxs)(“div”,{className:ed.Box_1,children:[(0,n.jsxs)(en.A,{href:(0,C.p3r)({owner:e}),”data-hovercard-url”:(0,C.dCN)({owner:e}),className:ed.Link,children:[“@”,e]}),”\xa0has invited you to collaborate on this repository”]}),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(ee.z,{href:(0,C.Gy_)({owner:t,repo:o}),sx:ec.E,children:”View invitation”})})]})})}try{eu.displayName||(eu.displayName=”PendingInvitationBanner”)}catch{}var eh=o(80663);let em={Box:”ProtectBranchBanner-module__Box–JKC5V”,Box_1:”ProtectBranchBanner-module__Box_1–uf2LR”,Octicon:”ProtectBranchBanner-module__Octicon–j2K9i”,Box_2:”ProtectBranchBanner-module__Box_2–EW2A_”,Box_3:”ProtectBranchBanner-module__Box_3–HznMn”,Text:”ProtectBranchBanner-module__Text–bDmgW”,Text_1:”ProtectBranchBanner-module__Text_1–fYWSq”,Box_4:”ProtectBranchBanner-module__Box_4–pl9ez”,Button:”ProtectBranchBanner-module__Button–nPx7w”,IconButton:”ProtectBranchBanner-module__IconButton–bVVzw”};function ep({helpUrl:e}){let{refInfo:t}=(0,p.eu)(),o=(0,s.t)(),i=`${e}/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets`,a=(0,x.i)(),l=()=>{if(!a)return;let e=(0,C.jMU)({login:a.login}),t=new FormData;t.append(“_method”,”delete”),t.append(“repository_id”,o.id.toString()),t.append(“notice_name”,”sculk_protect_this_branch”),(0,I.DI)(e,{method:”POST”,body:t}),d(!0)},[c,d]=r.useState(!1),[u]=(0,eh.I)(()=>!1,!0,[]),h=ef(“click_to_learn_more_about_rulesets”,”ref_cta:learn_more_about_rulesets”,o,u),m=ef(“click_to_add_a_rule”,”ref_cta:protect_this_branch”,o,u),f=ef(“click_to_dismiss”,”ref_cta:dismiss”,o,u),_=(0,C.cmy)({owner:o.ownerLogin,repo:o.name});return(0,n.jsx)(“div”,{hidden:c,className:em.Box,children:(0,n.jsxs)(“div”,{className:em.Box_1,children:[(0,n.jsx)(L.A,{icon:M.GitBranchIcon,size:”medium”,className:em.Octicon}),(0,n.jsxs)(“div”,{className:em.Box_2,children:[(0,n.jsxs)(“div”,{className:em.Box_3,children:[(0,n.jsxs)(“span”,{className:em.Text,children:[“Your “,t.name,” branch isn’t protected”]}),(0,n.jsxs)(“span”,{className:em.Text_1,children:[“Protect this branch from force pushing or deletion, or require status checks before merging.\xa0″,(0,n.jsx)(en.A,{inline:!0,href:i,”data-analytics-event”:h,children:”View documentation.”})]})]}),(0,n.jsxs)(“div”,{className:em.Box_4,children:[(0,n.jsx)(ee.z,{href:_,sx:ec.E,”data-analytics-event”:m,children:”Protect this branch”}),(0,n.jsx)(P.Q,{onClick:l,”data-analytics-event”:f,className:em.Button,children:”Dismiss”}),(0,n.jsx)(T.K,{unsafeDisableTooltip:!0,”aria-label”:”Dismiss banner”,icon:M.XIcon,variant:”invisible”,onClick:l,”data-analytics-event”:f,className:em.IconButton})]})]})]})})}function ef(e,t,o,i){return JSON.stringify({category:”Suggestions”,action:e,label:`ref_page:${i?`https://github.com${(0,C.Do2)(o)}`:window.location};${t};ref_loc:repo files listing;`})}try{ep.displayName||(ep.displayName=”ProtectBranchBanner”)}catch{}var ex=o(98637);let e_={Box:”UseActionBanner-module__Box–xfWtP”,Box_1:”UseActionBanner-module__Box_1–ScLD6″,Box_2:”UseActionBanner-module__Box_2–dELUx”,Text:”UseActionBanner-module__Text–lpXAR”,Text_1:”UseActionBanner-module__Text_1–_C0th”};function eg({actionSlug:e,actionId:t}){let{sendMarketplaceActionEvent:o}=(0,ex.T)();return(0,n.jsx)(X.A,{children:(0,n.jsxs)(“div”,{className:e_.Box,children:[(0,n.jsxs)(“div”,{className:e_.Box_1,children:[(0,n.jsxs)(“div”,{className:e_.Box_2,children:[(0,n.jsx)(L.A,{icon:M.PlayIcon,size:”small”}),(0,n.jsx)(“span”,{className:e_.Text,children:”Use this GitHub action with your project”})]}),(0,n.jsx)(“span”,{className:e_.Text_1,children:”Add this Action to an existing workflow or create a new one”})]}),(0,n.jsx)(ee.z,{href:(0,C.xwZ)({slug:e}),sx:ec.E,onClick:()=>o(“MARKETPLACE.ACTION.CLICK”,{repository_action_id:t,source_url:`${window.location}`,location:”files#overview”}),children:”View on Marketplace”})]})})}try{eg.displayName||(eg.displayName=”UseActionBanner”)}catch{}var ey=o(27331);let ev={IconButton:”ImmutableActionsMigrationDialog-module__IconButton–WtS5v”,Text:”ImmutableActionsMigrationDialog-module__Text–B8AIL”,Link:”ImmutableActionsMigrationDialog-module__Link–y9NU5″,Box:”ImmutableActionsMigrationDialog-module__Box–PoB3N”,Octicon:”ImmutableActionsMigrationDialog-module__Octicon–xhnSH”};var ew=o(34164);function eb({repoName:e,releaseTags:t,nonSemverTags:o,migratePath:i,setMigrationDialogOpen:a,setHasUnmigratableTagsDialogOpen:s,setMigrationStatus:l}){let c=(0,r.useRef)(null),d=t.length-o.length,[u,h]=(0,r.useState)(null),[m,p]=(0,r.useState)(0);async function f(){let e=new FormData;(await (0,I.DI)(i,{method:”POST”,body:e})).ok?(l(“in_progress”),a(!1)):(h(“Failed to start migration, please try again. If this error persists, please ensure you are authenticated with the organization that owns this repository.”),p(e=>e+1))}return(0,r.useEffect)(()=>{m>3&&window.location.reload()},[m]),(0,n.jsx)(ey.l,{returnFocusRef:c,onClose:()=>{a(!1),h(null)},width:”large”,”aria-labelledby”:”header”,title:(0,n.jsxs)(“div”,{className:”d-flex”,children:[o.length>0&&(0,n.jsx)(T.K,{icon:M.ArrowLeftIcon,size:”small”,className:(0,ew.$)(“mr-2″,ev.IconButton),”aria-labelledby”:”back”,variant:”invisible”,”data-testid”:”ia-migration-back”,onClick:()=>{a(!1),s(!0),h(null)}}),(0,n.jsx)(“span”,{“data-testid”:”ia-migration-title”,className:ev.Text,children:”Create immutable action”})]}),renderFooter:()=>(0,n.jsxs)(ey.l.Footer,{children:[(0,n.jsx)(en.A,{href:”https://docs.github.com/actions”,className:ev.Link,children:”Learn more”}),(0,n.jsx)(P.Q,{type:”button”,onClick:()=>a(!1),children:”Cancel”}),(0,n.jsx)(P.Q,{type:”submit”,variant:”primary”,onClick:f,”data-testid”:”ia-migration-button-dialog”,children:”Create immutable action”})]}),children:(0,n.jsxs)(“div”,{“data-testid”:”inner”,children:[u&&(0,n.jsx)(X.A,{variant:”danger”,className:”mb-3″,children:u}),(0,n.jsxs)(“div”,{className:”d-flex my-2″,style:{margin:”auto”,justifyContent:”center”},children:[(0,n.jsxs)(“div”,{className:ev.Box,children:[(0,n.jsx)(L.A,{icon:M.TagIcon,size:16,className:(0,ew.$)(“mr-1”,ev.Octicon)}),ej(“tag”,d)]}),(0,n.jsx)(L.A,{icon:M.ArrowRightIcon,size:16,className:(0,ew.$)(“mx-2”,ev.Text)}),(0,n.jsxs)(“div”,{className:ev.Box,children:[(0,n.jsx)(L.A,{icon:M.PackageIcon,size:16,className:(0,ew.$)(“mr-1”,ev.Octicon)}),ej(“version”,d)]})]}),(0,n.jsxs)(“div”,{children:[(0,n.jsxs)(“p”,{children:[(0,n.jsxs)(“strong”,{children:[d,” out of “,t.length,” tags”]}),” “,”from “,(0,n.jsx)(“strong”,{children:e}),” will be recreated as immutable package versions.”]}),(0,n.jsx)(“p”,{children:”After this process you can activate your package, at which point references to semantic versions of your action will be resolved from immutable package versions rather than git references. Non-semantic version references to your action will continue to be resolved from git references.”})]})]})})}function ej(e,t){return`${t} ${e}${t>1?”s”:””}`}try{eb.displayName||(eb.displayName=”ImmutableActionsMigrationDialog”)}catch{}let eB={Octicon:”ImmutableActionsHasUnmigratableTagsDialog-module__Octicon–niEHA”};function eN({releaseTags:e,nonSemverTags:t,setMigrationDialogOpen:o,setHasUnmigratableTagsDialogOpen:i}){var a;let s=(0,r.useRef)(null);return(0,n.jsx)(ey.l,{returnFocusRef:s,onClose:()=>i(!1),width:”large”,”aria-labelledby”:”header”,title:(0,n.jsx)(“div”,{“data-testid”:”ia-unmigratable-tags-title”,children:”Non-semantic version tags found”}),renderFooter:()=>(0,n.jsxs)(ey.l.Footer,{children:[(0,n.jsx)(P.Q,{type:”button”,onClick:()=>i(!1),children:”Cancel”}),(0,n.jsx)(P.Q,{type:”button”,variant:”primary”,onClick:()=>{i(!1),o(!0)},children:”Continue anyways”})]}),children:(0,n.jsxs)(“div”,{children:[(0,n.jsxs)(“div”,{className:”mb-2″,children:[t.length>0&&(0,n.jsxs)(“p”,{children:[(0,n.jsxs)(“strong”,{children:[t.length,” out of “,e.length,” “,(a=e.length,`tag${a>1?”s”:””}`)]}),” “,”cannot be recreated because they did not follow semantic versioning at the time of their release. To include these tags, re-release these versions following semantic versioning. You can still continue with the migration process without re-releasing these versions, but they will not be recreated as immutable package versions.”]}),t.length>100&&(0,n.jsxs)(“p”,{children:[“Only the first “,100,” invalid tags are listed.”]})]}),t.length>0&&(0,n.jsx)(“div”,{children:(0,n.jsx)(“ul”,{className:”list-style-none”,children:t.slice(0,100).map(e=>(0,n.jsxs)(“li”,{children:[(0,n.jsx)(L.A,{icon:M.XIcon,className:(0,ew.$)(“mr-1″,eB.Octicon)}),e]},e))})})]})})}try{eN.displayName||(eN.displayName=”ImmutableActionsHasUnmigratableTagsDialog”)}catch{}let ek=RegExp(“^(?0|[1-9]\\d*)\\.(?0|[1-9]\\d*)\\.(?0|[1-9]\\d*)(?:-(?(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+(?[0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$”),eC={Box:”ImmutableActionsMigrationBanner-module__Box–QqwIc”,Box_1:”ImmutableActionsMigrationBanner-module__Box_1–iSakm”,Box_2:”ImmutableActionsMigrationBanner-module__Box_2–hSZBQ”,Text:”ImmutableActionsMigrationBanner-module__Text–InXFo”,Text_1:”ImmutableActionsMigrationBanner-module__Text_1–xBCPs”};function eA({releaseTags:e,initialMigrationStatus:t}){let[o,i]=(0,r.useState)(!1),[a,l]=(0,r.useState)(!1),[c,d]=(0,r.useState)(t),u=(0,r.useRef)(null),h=(0,s.t)(),m=(0,C.CF0)({owner:h.ownerLogin,repo:h.name}),p=(0,C.wHS)({owner:h.ownerLogin,repo:h.name}),f=e.filter(e=>!function(e){let t=e.replace(/^v/,””);return ek.test(t)}(e));return(0,n.jsxs)(X.A,{children:[(0,n.jsxs)(“div”,{className:eC.Box,children:[“in_progress”===c&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(“div”,{className:eC.Box_1,children:(0,n.jsx)(“div”,{className:eC.Box_2,children:”Your Action is being migrated to an immutable package version.”})}),(0,n.jsx)(“div”,{children:(0,n.jsx)(P.Q,{as:”a”,href:p,”data-testid”:”ia-migration-progress-button”,children:”View progress”})})]}),(null===c||”failed”===c)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(“div”,{className:eC.Box_1,children:[(0,n.jsx)(“div”,{className:eC.Box_2,children:(0,n.jsx)(“span”,{className:eC.Text,children:”failed”===c?”Immutable Action Migration Failed”:”Make your GitHub Action Immutable”})}),(0,n.jsxs)(“span”,{className:eC.Text_1,children:[“failed”===c?”One or more of your tags failed to be migrated to immutable action versions. You can try the migration again to migrate the remaining tags. “:”Upgrade to a newer, more secure, and more reliable way of releasing and referencing GitHub Actions by recreating your existing tags as immutable package versions. “,(0,n.jsx)(en.A,{inline:!0,target:”_blank”,href:”https://docs.github.com/actions”,children:”Learn more about immutable actions.”})]})]}),(0,n.jsx)(“div”,{children:(0,n.jsx)(P.Q,{ref:u,”data-testid”:”ia-migration-button-banner”,onClick:()=>{f.length>0?l(!0):i(!0)},children:”failed”===c?”Retry migration”:”Create immutable action”})})]})]}),a&&(0,n.jsx)(eN,{releaseTags:e,nonSemverTags:f,setMigrationDialogOpen:i,setHasUnmigratableTagsDialogOpen:l}),o&&(0,n.jsx)(eb,{repoName:h.name,releaseTags:e,nonSemverTags:f,migratePath:m,setMigrationDialogOpen:i,setHasUnmigratableTagsDialogOpen:l,setMigrationStatus:d})]})}try{eA.displayName||(eA.displayName=”ImmutableActionsMigrationBanner”)}catch{}var eS=o(56236),eR=o(6709);let eI={Box:”OverviewHeader-module__Box–fFKf5″,Box_1:”OverviewHeader-module__Box_1–zJpeS”,PublishBanners:”OverviewHeader-module__PublishBanners–QtLjz”};function eM({payload:e}){let t=(0,s.t)();return(0,n.jsxs)(“div”,{className:eI.Box,children:[e.currentUser&&(0,n.jsx)(eo,{repo:t}),(0,n.jsx)(eP,{overview:e.overview})]})}function eP({overview:e}){let{showUseActionBanner:t,showProtectBranchBanner:o,actionId:i,actionSlug:r,publishBannersInfo:{dismissActionNoticePath:a,releasePath:s,showPublishActionBanner:l},interactionLimitBanner:c,showInvitationBanner:d,inviterName:u,actionsMigrationBannerInfo:h}=e.banners,{helpUrl:m}=(0,p.sq)(),f=(0,eR.QU)(),x=c||d&&u||l||t&&r&&i||o||h.showImmutableActionsMigrationBanner||f;return(0,n.jsxs)(Y.A,{sx:{mb:x?3:0},className:eI.Box_1,children:[f&&(0,n.jsx)(eR.IL,{}),c&&(0,n.jsx)(es,{interactionLimitBanner:c}),d&&u&&(0,n.jsx)(eu,{inviterName:u}),(0,n.jsx)(eS.A,{showPublishActionBanner:l,releasePath:s,dismissActionNoticePath:a,className:eI.PublishBanners}),t&&r&&i?(0,n.jsx)(eg,{actionSlug:r,actionId:i}):null,o&&(0,n.jsx)(ep,{helpUrl:m}),h.showImmutableActionsMigrationBanner&&(0,n.jsx)(eA,{releaseTags:h.releaseTags,initialMigrationStatus:h.initialMigrationStatus})]})}try{eM.displayName||(eM.displayName=”OverviewHeader”)}catch{}try{eP.displayName||(eP.displayName=”OverviewBanners”)}catch{}var eF=o(8579),eT=o(98939),eO=o(2676);let eL={Popover:”BranchRenamePopover-module__Popover–DukM6″,Popover_Content:”BranchRenamePopover-module__Popover_Content–X2VnC”,Heading:”BranchRenamePopover-module__Heading–U8QRH”,BranchName:”BranchRenamePopover-module__BranchName–KaPHw”,Text:”BranchRenamePopover-module__Text–A4POS”,Box:”BranchRenamePopover-module__Box–csvPY”};function eH({rename:e}){let[t,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),a=(0,x.i)(),l=(0,s.t)();return(0,n.jsx)(eT.A,{open:!t,caret:”top-left”,className:eL.Popover,children:(0,n.jsxs)(eT.A.Content,{className:eL.Popover_Content,children:[(0,n.jsx)(G.A,{as:”h4″,className:eL.Heading,children:”The default branch has been renamed!”}),(0,n.jsxs)(“p”,{children:[(0,n.jsx)(eO.A,{children:e.oldName}),” is now named”,” “,(0,n.jsx)(eO.A,{className:eL.BranchName,children:e.newName})]}),(0,n.jsxs)(“p”,{className:eL.Text,children:[“If you have a local clone, you can update it by running the following commands.”,e.shellEscapingDocsURL?(0,n.jsx)(en.A,{href:e.shellEscapingDocsURL,children:”Learn about dealing with special characters on the command line.”}):null]}),(0,n.jsx)(eF.T,{textToCopy:i.current?.textContent??””,tooltipProps:{sx:{position:”absolute”,right:3,top:”140px”}}}),(0,n.jsx)(“pre”,{ref:i,className:eL.Box,children:`git branch -m ${e.shellOldName} ${e.shellNewName} git fetch origin git branch -u origin/${e.shellNewName} ${e.shellNewName} git remote set-head origin -a`}),(0,n.jsx)(P.Q,{onClick:()=>{if(!a)return;let e=(0,C.jMU)({login:a.login}),t=new FormData;t.append(“_method”,”delete”),t.append(“repository_id”,l.id.toString()),t.append(“notice_name”,”repo_default_branch_rename”),(0,I.DI)(e,{method:”POST”,body:t}),o(!0)},children:”OK, got it”})]})})}try{eH.displayName||(eH.displayName=”BranchRenamePopover”)}catch{}let eE={Popover:”ParentBranchRenamePopover-module__Popover–CPnFQ”,Popover_Content:”ParentBranchRenamePopover-module__Popover_Content–q9czd”,Heading:”ParentBranchRenamePopover-module__Heading–BN4KI”,BranchName:”ParentBranchRenamePopover-module__BranchName–KdFWA”};function eD({branchName:e,nameWithOwner:t}){let[o,i]=(0,r.useState)(!1),a=(0,x.i)(),l=(0,s.t)();return(0,n.jsx)(eT.A,{open:!o,caret:”top-left”,className:eE.Popover,children:(0,n.jsxs)(eT.A.Content,{className:eE.Popover_Content,children:[(0,n.jsx)(G.A,{as:”h4″,className:eE.Heading,children:”The default branch on the parent repository has been renamed!”}),(0,n.jsxs)(“p”,{children:[(0,n.jsx)(eO.A,{children:t}),” renamed its default branch”,” “,(0,n.jsx)(eO.A,{className:eE.BranchName,children:e})]}),(0,n.jsxs)(“p”,{children:[“You can rename this fork’s default branch to match in”,” “,(0,n.jsx)(en.A,{inline:!0,href:(0,C.SHX)({owner:l.ownerLogin,repo:l.name,action:”settings”}),children:”branch settings”})]}),(0,n.jsx)(P.Q,{onClick:()=>{if(!a)return;let e=(0,C.jMU)({login:a.login}),t=new FormData;t.append(“_method”,”delete”),t.append(“repository_id”,l.id.toString()),t.append(“notice_name”,”repo_parent_default_branch_rename”),(0,I.DI)(e,{method:”POST”,body:t}),i(!0)},children:”OK, got it”})]})})}try{eD.displayName||(eD.displayName=”ParentBranchRenamePopover”)}catch{}var eW=o(50104);let eU={Box:”OverviewContent-module__Box–uNd1J”,Box_1:”OverviewContent-module__Box_1–RhaEy”,Box_2:”OverviewContent-module__Box_2–uHewD”,Box_3:”OverviewContent-module__Box_3–NEYWl”,Box_4:”OverviewContent-module__Box_4–rOz8J”,Button:”OverviewContent-module__Button–MDoYP”,Box_5:”OverviewContent-module__Box_5–PPbL1″,Button_1:”OverviewContent-module__Button_1–_1Ng2″,Box_6:”OverviewContent-module__Box_6–wV7Tw”,Box_7:”OverviewContent-module__Box_7–SbxdI”,Box_8:”OverviewContent-module__Box_8–oumpR”,FileResultsList:”OverviewContent-module__FileResultsList–irMg6″,Box_9:”OverviewContent-module__Box_9–mQYON”,Box_10:”OverviewContent-module__Box_10–ULKAG”,Box_11:”OverviewContent-module__Box_11–Tqhu2″},e$=(0,r.lazy)(()=>o.e(“ui_packages_code-view-shared_components_files-search_FileResultsList_tsx”).then(o.bind(o,2680)));function eq({payload:e}){let{helpUrl:t}=(0,p.sq)(),o=(0,s.t)(),i=(0,x.i)(),{refInfo:a,path:l}=(0,p.eu)(),{findFileWorkerPath:d}=(0,p.sq)(),u=(0,R.Z)(),{findFilesShortcut:h}=(0,eW.wk)(),m=(0,r.useRef)(null),[f,_]=(0,r.useState)(null),E=e.overview,D=E.codeButton,W={…D.local,helpUrl:t},U={hasAccessToCodespaces:D.hasAccessToCodespaces,repoPolicyInfo:D.repoPolicyInfo,contactPath:D.contactPath,currentUserIsEnterpriseManaged:D.currentUserIsEnterpriseManaged,enterpriseManagedBusinessName:D.enterpriseManagedBusinessName,newCodespacePath:D.newCodespacePath,codespacesPath:(0,b.QS)(o.id,a.name),isLoggedIn:!!i};(0,r.useEffect)(()=>{let e=async()=>{let e=await (0,I.lS)((0,C.Gll)(o),{method:”get”});e.ok&&_(await e.json())};E&&e()},[E,o]);let $=r.useCallback(()=>{window.innerWidth{u(`${window.location.pathname}?search=1`)},[u]);return(0,n.jsx)(n.Fragment,{children:e.error?(0,n.jsx)(N.D,{…e.error}):(0,n.jsxs)(“div”,{className:eU.Box,children:[(0,n.jsx)(eM,{payload:e}),(0,n.jsxs)(“div”,{className:eU.Box_1,children:[(0,n.jsxs)(“div”,{className:eU.Box_2,children:[(0,n.jsxs)(“div”,{className:eU.Box_3,children:[(0,n.jsx)(k.R,{buttonClassName:”overview-ref-selector width-full”,allowResizing:!0}),E.popovers.rename?(0,n.jsx)(eH,{rename:E.popovers.rename}):E.popovers.renamedParentRepo?(0,n.jsx)(eD,{branchName:E.popovers.renamedParentRepo.branchName,nameWithOwner:E.popovers.renamedParentRepo.nameWithOwner}):null]}),(0,n.jsxs)(“div”,{className:eU.Box_4,children:[(0,n.jsx)(P.Q,{as:”a”,leadingVisual:M.GitBranchIcon,variant:”invisible”,href:(0,C.yf2)({repo:o}),className:eU.Button,children:f?(0,n.jsxs)(“span”,{children:[(0,n.jsxs)(“strong”,{className:”color-fg-default”,children:[f.branches,” “]}),1===f.branches?”Branch”:”Branches”]}):”Branches”}),(0,n.jsx)(P.Q,{as:”a”,leadingVisual:M.TagIcon,variant:”invisible”,href:(0,C.jIv)({repo:o}),className:eU.Button,children:f?(0,n.jsxs)(“span”,{children:[(0,n.jsxs)(“strong”,{className:”color-fg-default”,children:[f.tags,” “]}),1===f.tags?”Tag”:”Tags”]}):”Tags”})]}),(0,n.jsxs)(“div”,{className:eU.Box_5,children:[(0,n.jsx)(P.Q,{as:”a”,”aria-label”:”Go to Branches page”,icon:M.GitBranchIcon,variant:”invisible”,href:(0,C.yf2)({repo:o}),className:eU.Button_1}),(0,n.jsx)(P.Q,{as:”a”,”aria-label”:”Go to Tags page”,icon:M.TagIcon,variant:”invisible”,href:(0,C.jIv)({repo:o}),className:eU.Button_1})]})]}),(0,n.jsxs)(“div”,{className:eU.Box_6,children:[(0,n.jsxs)(“div”,{className:eU.Box_7,children:[(0,n.jsx)(B.E,{children:(0,n.jsx)(“button”,{hidden:!0,”data-hotkey”:h.hotkey,onClick:$})}),(0,n.jsx)(“div”,{className:eU.Box_8,children:(0,n.jsx)(r.Suspense,{fallback:null,children:(0,n.jsx)(e$,{commitOid:a.currentOid,findFileWorkerPath:d,searchBoxRef:m,className:eU.FileResultsList})})}),(0,n.jsx)(“div”,{className:eU.Box_9,children:(0,n.jsx)(P.Q,{onClick:q,children:”Go to file”})}),(0,n.jsx)(“div”,{className:”react-directory-add-file-icon”,children:(0,n.jsx)(y.L,{useIcon:!0})}),(0,n.jsx)(“div”,{className:”react-directory-remove-file-icon”,children:(0,n.jsx)(y.L,{useIcon:!1})})]}),(0,n.jsx)(w.n,{primary:!E.templateButton,showCodespacesTab:D.codespacesEnabled,isEnterprise:D.isEnterprise,localTab:(0,n.jsx)(j.F,{…W}),codespacesTab:(0,n.jsx)(b.wW,{…U})}),(0,n.jsx)(“div”,{className:eU.Box_10,children:(0,n.jsxs)(F.W,{children:[(0,n.jsx)(F.W.Anchor,{children:(0,n.jsx)(T.K,{tooltipDirection:”n”,icon:M.KebabHorizontalIcon,”aria-label”:”Open more actions menu”})}),(0,n.jsx)(F.W.Overlay,{children:(0,n.jsxs)(O.l,{children:[(0,n.jsxs)(O.l.LinkItem,{href:(0,C.yf2)({repo:o}),children:[(0,n.jsx)(O.l.LeadingVisual,{children:(0,n.jsx)(L.A,{icon:M.GitBranchIcon})}),”Branches”]}),(0,n.jsxs)(O.l.LinkItem,{href:(0,C.jIv)({repo:o}),children:[(0,n.jsx)(O.l.LeadingVisual,{children:(0,n.jsx)(L.A,{icon:M.TagIcon})}),”Tags”]}),(0,n.jsx)(O.l.Divider,{}),(0,n.jsxs)(O.l.Item,{onSelect:q,children:[(0,n.jsx)(O.l.LeadingVisual,{children:(0,n.jsx)(L.A,{icon:M.SearchIcon})}),”Go to file”]}),(0,n.jsxs)(O.l.LinkItem,{as:S.N,to:(0,C.IO9)({repo:o,path:l,commitish:a.name,action:”new”}),children:[(0,n.jsx)(O.l.LeadingVisual,{children:(0,n.jsx)(L.A,{icon:M.PlusIcon})}),”Create new file”]}),(0,n.jsxs)(O.l.LinkItem,{href:(0,C.IO9)({repo:o,path:l,commitish:a.name,action:”upload”}),children:[(0,n.jsx)(O.l.LeadingVisual,{children:(0,n.jsx)(L.A,{icon:M.UploadIcon})}),”Upload file”]})]})})]})})]})]}),e.tree.showBranchInfobar&&(0,n.jsx)(A.t,{fallback:(0,n.jsx)(g.o,{}),children:(0,n.jsx)(g.k,{})}),(0,n.jsxs)(“div”,{className:eU.Box_11,children:[(0,n.jsx)(H.t,{overview:e.overview}),(0,n.jsx)(Q,{initialFiles:E.overviewFiles,shouldRecommendReadme:E.banners.shouldRecommendReadme,isPersonalRepo:E.banners.isPersonalRepo})]})]})})}try{e$.displayName||(e$.displayName=”FileResultsList”)}catch{}try{eq.displayName||(eq.displayName=”OverviewContent”)}catch{}function ez({initialPayload:e,appPayload:t}){let o=(0,f.P)(e),[i]=r.useState(e?.repo),[g]=r.useState(e?.currentUser),y=(0,_.p)(o.refInfo),w=(0,r.useMemo)(()=>({}),[]);return(0,r.useEffect)(()=>{let e=document.querySelector(“.footer”);e&&(e.querySelector(“.mt-6”)?.classList.replace(“mt-6″,”mt-0”),e.querySelector(“.border-top”)?.classList.remove(“border-top”))},[]),(0,n.jsx)(l.z.Provider,{value:t,children:(0,n.jsx)(c.LB,{initialValue:c.Gy.xxxlarge,children:(0,n.jsx)(a.y,{appName:”react-code-view-overview”,category:””,metadata:w,children:(0,n.jsx)(x.Q,{user:g,children:(0,n.jsx)(s.d,{repository:i,children:(0,n.jsx)(p.qV,{refInfo:y,path:o.path,action:”tree”,copilotAccessAllowed:o.copilotAccessAllowed??!1,children:(0,n.jsx)(u.lG,{children:(0,n.jsx)(d.$,{allShortcutsEnabled:o.allShortcutsEnabled,children:(0,n.jsx)(m.Ck,{children:(0,n.jsx)(h.X,{payload:o.tree,children:(0,n.jsx)(eq,{payload:o})})})})})})})})})})})}try{ez.displayName||(ez.displayName=”ReposOverview”)}catch{}(0,i.k)(“repos-overview”,{Component:ez})},50104:(e,t,o)=>{o.d(t,{V3:()=>c,_y:()=>l,wk:()=>s});var i=o(80663),n=o(33299);let r={cursorNavigationHopWordLeft:{hotkey:”Alt+ArrowLeft,Ctrl+ArrowLeft”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowLeft”],modifierRequired:!0},cursorNavigationHopWordRight:{hotkey:”Alt+ArrowRight,Ctrl+ArrowRight”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowRight”],modifierRequired:!0},cursorNavigationTopOfPage:{hotkey:”Meta+ArrowUp”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowUp”],modifierRequired:!0},cursorNavigationBottomOfPage:{hotkey:”Meta+ArrowDown”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowDown”],modifierRequired:!0},cursorNavigationEnd:{hotkey:”End,Meta+ArrowRight”,useWhileBlobFocused:!0,noModifierHotkey:[“End”]},cursorNavigationHome:{hotkey:”Home,Meta+ArrowLeft”,useWhileBlobFocused:!0,noModifierHotkey:[“Home”]},cursorNavigationPageUp:{hotkey:”PageUp”,useWhileBlobFocused:!0,noModifierHotkey:[“PageUp”]},cursorNavigationPageDown:{hotkey:”PageDown”,useWhileBlobFocused:!0,noModifierHotkey:[“PageDown”]},cursorNavigationArrowDown:{hotkey:”ArrowDown”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowDown”]},cursorNavigationArrowUp:{hotkey:”ArrowUp”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowUp”]},cursorNavigationArrowLeft:{hotkey:”ArrowLeft”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowLeft”]},cursorNavigationArrowRight:{hotkey:”ArrowRight”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowRight”]},cursorNavigationShiftHopWordLeft:{hotkey:”Alt+Shift+ArrowLeft,Ctrl+Shift+ArrowLeft”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowLeft”],modifierRequired:!0},cursorNavigationShiftHopWordRight:{hotkey:”Alt+Shift+ArrowRight,Ctrl+Shift+ArrowRight”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowRight”],modifierRequired:!0},cursorNavigationShiftTopOfPage:{hotkey:”Meta+Shift+ArrowUp”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowUp”],modifierRequired:!0},cursorNavigationShiftBottomOfPage:{hotkey:”Meta+Shift+ArrowDown”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowDown”],modifierRequired:!0},cursorNavigationShiftEnd:{hotkey:”Shift+End,Meta+Shift+ArrowRight”,useWhileBlobFocused:!0,noModifierHotkey:[“End”],modifierRequired:!0},cursorNavigationShiftHome:{hotkey:”Shift+Home,Meta+Shift+ArrowLeft”,useWhileBlobFocused:!0,noModifierHotkey:[“Home”],modifierRequired:!0},cursorNavigationShiftPageUp:{hotkey:”Shift+PageUp”,useWhileBlobFocused:!0,noModifierHotkey:[“PageUp”],modifierRequired:!0},cursorNavigationShiftPageDown:{hotkey:”Shift+PageDown”,useWhileBlobFocused:!0,noModifierHotkey:[“PageDown”],modifierRequired:!0},cursorNavigationShiftArrowDown:{hotkey:”Shift+ArrowDown”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowDown”],modifierRequired:!0},cursorNavigationShiftArrowUp:{hotkey:”Shift+ArrowUp”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowUp”],modifierRequired:!0},cursorNavigationShiftArrowLeft:{hotkey:”Shift+ArrowLeft”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowLeft”],modifierRequired:!0},cursorNavigationShiftArrowRight:{hotkey:”Shift+ArrowRight”,useWhileBlobFocused:!0,noModifierHotkey:[“ArrowRight”],modifierRequired:!0},cursorNavigationHighlightLine:{text:”J”,hotkey:”Shift+J”,useWhileBlobFocused:!0,noModifierHotkey:[“J”],modifierRequired:!0},cursorNavigationGoLineUp:{hotkey:”Ctrl+p”,useWhileBlobFocused:!0,noModifierHotkey:[“p”],modifierRequired:!0},cursorNavigationOpenHelpDialog:{hotkey:”Alt+F1,Control+Alt+\u02D9,Control+Alt+h”,useWhileBlobFocused:!0,noModifierHotkey:[“F1″,”h”,”\u02D9″],modifierRequired:!0},cursorNavigationGoLineDown:{hotkey:”Ctrl+n”,useWhileBlobFocused:!0,noModifierHotkey:[“n”],modifierRequired:!0},cursorNavigationEnter:{text:”\u2318 Enter”,hotkey:”Meta+Enter”,useWhileBlobFocused:!0,noModifierHotkey:[“Enter”],modifierRequired:!0},cursorNavigationSpace:{hotkey:” “,useWhileBlobFocused:!0,noModifierHotkey:[” “],modifierRequired:!1},cursorNavigationShiftSpace:{hotkey:”Shift+ “,useWhileBlobFocused:!0,noModifierHotkey:[” “],modifierRequired:!0},expandAndFocusLineContextMenu:{text:”Shift Alt C”,hotkey:”Alt+Shift+C,Alt+Shift+\xc7″,useWhileBlobFocused:!0,noModifierHotkey:[“C”],modifierRequired:!0},copyFilePathShortcut:{text:”\u2318 shift .”,hotkey:”Meta+Shift+>”,useWhileBlobFocused:!0,noModifierHotkey:[“.”],modifierRequired:!0},copyPermalinkShortcut:{text:”\u2318 shift ,”,hotkey:”Meta+Shift+<",useWhileBlobFocused:!0,noModifierHotkey:[","],modifierRequired:!0},copyRawContentShortcut:{text:"\u2318 shift c",hotkey:"Meta+Shift+C",useWhileBlobFocused:!0,noModifierHotkey:["c"],modifierRequired:!0},downloadRawContentShortcut:{text:"\u2318 shift s",hotkey:"Meta+Shift+S",useWhileBlobFocused:!0,noModifierHotkey:["s"],modifierRequired:!0},editFileShortcut:{hotkey:"e,Shift+E",useWhileBlobFocused:!0,noModifierHotkey:["e","E"]},goToLineShortcut:{text:"l",hotkey:"l,Shift+L",ariaKeyShortcuts:"l",useWhileBlobFocused:!0,noModifierHotkey:["l","L"]},alternativeGoToLineShortcut:{hotkey:"Mod+Alt+g",ariaKeyShortcuts:"Mod+Alt+g",useWhileBlobFocused:!0,noModifierHotkey:["g","G"]},findInFileShortcut:{hotkey:"Meta+f, F3",text:"\u2318 f",ariaKeyShortcuts:"Meta+F",useWhileBlobFocused:!0,noModifierHotkey:["f","F3"],modifierRequired:!0},findFilesShortcut:{hotkey:"t,Shift+T",useWhileBlobFocused:!0,noModifierHotkey:["t","T"]},findSelectionShortcut:{hotkey:"Meta+e",useWhileBlobFocused:!0,noModifierHotkey:["e"],modifierRequired:!0},findNextShortcut:{hotkey:"Mod+g"},findPrevShortcut:{hotkey:"Mod+Shift+G"},openWithGitHubDevShortcut:{hotkey:"., Meta+Shift+/",useWhileBlobFocused:!0,noModifierHotkey:["."]},openWithGitHubDevInNewWindowShortcut:{hotkey:"Shift+.,Shift+>,>”,useWhileBlobFocused:!0,noModifierHotkey:[“>”]},permalinkShortcut:{hotkey:”y,Shift+Y”,useWhileBlobFocused:!0,noModifierHotkey:[“y”,”Y”]},searchShortcut:{hotkey:”/”,useWhileBlobFocused:!0,noModifierHotkey:[“/”]},selectAllShortcut:{hotkey:”Meta+a”,useWhileBlobFocused:!0,noModifierHotkey:[“a”],modifierRequired:!0},selectEditTabShortcut:{hotkey:”Mod+Shift+P”},submitCommitDialogShortcut:{hotkey:”Mod+Enter”},refSelectorShortcut:{hotkey:”w”,text:”w”,useWhileBlobFocused:!0,noModifierHotkey:[“w”]},escapeRightClickMenu:{hotkey:”Escape”,useWhileBlobFocused:!0,noModifierHotkey:[“Escape”]},toggleFocusedPaneShortcut:{hotkey:”Meta+F6,Meta+Shift+F6″,useWhileBlobFocused:!0,noModifierHotkey:[“F6″],modifierRequired:!0},toggleSymbolsShortcut:{hotkey:”Meta+i”,useWhileBlobFocused:!0,noModifierHotkey:[“i”],modifierRequired:!0},toggleTreeShortcut:{hotkey:”Meta+b”,useWhileBlobFocused:!0,noModifierHotkey:[“b”],modifierRequired:!0},viewBlameShortcut:{hotkey:”b,Shift+B,Meta+/ Meta+b”,useWhileBlobFocused:!0,noModifierHotkey:[“b”]},viewCodeShortcut:{hotkey:”Meta+/ Meta+c”,useWhileBlobFocused:!0,modifierRequired:!0},viewPreviewShortcut:{hotkey:”Meta+/ Meta+p”},viewRawContentShortcut:{text:”\u2318 / \u2318 r”,hotkey:”Meta+/ Meta+r”,useWhileBlobFocused:!0,noModifierHotkey:[“r”],modifierRequired:!0},findSymbolShortcut:{hotkey:”r,Shift+R”,useWhileBlobFocused:!0,noModifierHotkey:[“r”,”R”],modifierRequired:!1}},a=new Map;function s(){let e=(0,n.X)([“mac”]),[t]=(0,i.I)(()=>!1,!0,[]),o=0;if(e?o=1:t||(o=2),!a.has(o)){var s,l;let i=r;e||t||(i=Object.keys(s=i).reduce((e,t)=>{let o=s[t];return e[t]={hotkey:o.hotkey?.replace(/Meta/g,”Control”),text:o.text?.replace(/⌘/g,”Ctrl”).replace(/⇧/g,”Shift”),ariaKeyShortcuts:o.ariaKeyShortcuts?.replace(/Meta/g,”Control”),useWhileBlobFocused:o.useWhileBlobFocused,modifierRequired:o.modifierRequired,noModifierHotkey:o.noModifierHotkey},e},{})),t&&(i=Object.keys(l=i).reduce((e,t)=>{let o=l[t];return e[t]={hotkey:void 0,text:o.text?.replace(/⌘/g,”Ctrl”).replace(/⇧/g,”Shift”),ariaKeyShortcuts:o.ariaKeyShortcuts?.replace(/Meta/g,”Control”),useWhileBlobFocused:o.useWhileBlobFocused,modifierRequired:o.modifierRequired,noModifierHotkey:o.noModifierHotkey},e},{})),a.set(o,i)}return a.get(o)}function l(){let e=s();return Object.keys(e).reduce((t,o)=>{let i=e[o];if(i.useWhileBlobFocused&&i.noModifierHotkey&&i.modifierRequired)for(let e of i.noModifierHotkey)t.includes(e)||t.push(e);return t},[])}function c(){let e=s();return Object.keys(e).reduce((t,o)=>{let i=e[o];if(i.useWhileBlobFocused&&i.noModifierHotkey&&!i.modifierRequired)for(let e of i.noModifierHotkey)t.includes(e)||t.push(e);return t},[])}},98637:(e,t,o)=>{o.d(t,{T:()=>d});var i=o(88795),n=o(96235),r=o(60183),a=o(75367),s=o(60039),l=o(96540),c=o(93955);function d(){let{sendAnalyticsEvent:e}=(0,a.s)(),t=function(){let e=function(){let e=(0,i.t)(),t=(0,c.i)();return(0,l.useMemo)(()=>({react_app:”code-view”,repository_id:e.id,repository_nwo:`${e.ownerLogin}/${e.name}`,repository_public:e.public,repository_is_fork:e.isFork,actor_id:t?.id,actor_login:t?.login}),[e,t])}(),t=(0,i.t)(),o=(0,n.yH8)(n.tTz,{owner:t.ownerLogin,repo:t.name});return(0,l.useCallback)((t,i,n)=>{let r={target:t,interaction:i,context:n,…e,url:window.location.href,user_agent:window.navigator.userAgent,browser_width:window.innerWidth,browser_languages:window.navigator.languages.join(“,”)};(0,s.lS)(o,{method:”POST”,body:r})},[e,o])}(),o=(0,r.u)(“code_nav_ui_events”);return{sendRepoClickEvent:(0,l.useCallback)((i,n={})=>{e(“repository.click”,i,n),o&&t(i,”click”,n)},[e,t,o]),sendRepoKeyDownEvent:(0,l.useCallback)((i,n={})=>{e(“repository.keydown”,i,n),o&&t(i,”keydown”,n)},[e,t,o]),sendStats:(0,l.useCallback)((i,n={})=>{e(i,””,n),o&&t(i,”stats”,n)},[e,t,o]),sendMarketplaceActionEvent:(0,l.useCallback)((t,o={})=>{e(“marketplace.action.click”,t,o)},[e])}}},21113:(e,t,o)=>{o.d(t,{Z:()=>l});var i=o(141),n=o(88795),r=o(96235),a=o(80663),s=o(96540);function l(){let e=(0,n.t)(),{path:t,action:o,refInfo:l}=(0,i.eu)(),[c]=(0,a.I)(()=>!1,!0,[]);function d(e){return e?`?${e}`:””}function u(e){return c?””:void 0===e?window.location.hash:e?`#${e}`:””}return{getItemUrl:s.useCallback(t=>(0,r.IO9)({repo:e,commitish:l.name,action:”directory”===t.contentType?”tree”:”blob”,path:t.path}),[e.ownerLogin,e.name,l.name]),getUrl(i={}){let n=(0,r.IO9)({repo:e,commitish:i.commitish||l.name,action:i.action||o,path:i.path||t})+function({params:e,hash:t}){return d(e)+u(t)}(i);return i.absolute?new URL(n,window.location.origin).href:n},createPermalink(i={}){let n=(0,r.IO9)({repo:e,commitish:l.currentOid,action:i.action||o,path:i.path||t})+function({params:e,hash:t}){return d(e)+u(t)}(i);return i.absolute?new URL(n,window.location.origin).href:n},isCurrentPagePermalink:()=>!c&&l.name===l.currentOid&&window.location.pathname.includes(l.currentOid)}}},18138:(e,t,o)=>{function i(e){return”blob”in e}function n(e){return i(e)&&”blame”in e}function r(e){return”deleteInfo”in e&&”webCommitInfo”in e}function a(e){return”editInfo”in e&&”webCommitInfo”in e}o.d(t,{fP:()=>s,KR:()=>n,mM:()=>i,iS:()=>r,di:()=>a,Hf:()=>l});let s={README:”readme”,CODE_OF_CONDUCT:”code_of_conduct”,LICENSE:”license”,SECURITY:”security”};function l(e){return”tree”in e}},3785:(e,t,o)=>{o.d(t,{Av:()=>s,BM:()=>n,Gr:()=>l,HX:()=>u,M_:()=>h,RD:()=>d,rb:()=>r});var i=o(96679);let n=”GraphQLTraces”,r=”GraphQLTracingRefresh”,a=decodeURIComponent(new URLSearchParams(i.fV.search).get(“disable_clusters”)||””).split(“,”).filter(e=>””!==e);function s(e){if(!i.cg||!l()||!e)return;let t=i.cg;t&&!t[n]&&(t[n]=[]),t&&e.__trace&&(t[n].push(e.__trace),”function”==typeof t[r]&&t[r]())}function l(){let e=i.cg;return”true”===new URLSearchParams(i.fV.search).get(“_tracing”)||e&&void 0!==e[n]}function c(){return a.length>0}function d(e){if(!l()&&!c())return e;let t=new URL(e,i.fV.origin);return l()&&t.searchParams.set(“_tracing”,”true”),c()&&t.searchParams.set(“disable_clusters”,a.join(“,”)),t.pathname+t.search}function u(e){return a.indexOf(e)>-1}function h(e){let t=a.indexOf(e);t>-1?a.splice(t,1):a.push(e);let o=new URLSearchParams(i.fV.search);o.set(“disable_clusters”,a.join(“,”)),i.fV.search=o.toString()}},72841:(e,t,o)=>{o.d(t,{A:()=>i});let i=(e,t)=>{let o=new URL(e,window.location.origin),i=new URL(t,window.location.origin);return i.href.includes(“#”)&&o.host===i.host&&o.pathname===i.pathname&&o.search===i.search}},79369:(e,t,o)=>{o.d(t,{e:()=>r});var i=o(3785),n=o(81830);function r(e,t){let{basePageDataUrl:o}=(0,n.Yu)(),r=`${o}/page_data/${e}`;return t&&(r+=`?${t}`),(0,i.RD)(r)}},60826:(e,t,o)=>{o.d(t,{u:()=>i});let i={codeButton:”code_button”,codeowners:”codeowners”,commits:”commits”,diffEntries:”diff_entries”,diffstat:”diffstat”,header:”header”,mergeBox:”merge_box”,mergeInstructions:”merge_instructions”,pendingReview:”pending_review”,statusChecks:”status_checks”,tabCounts:”tab_counts”,threadPreviews:”thread_previews”,viewedFilesCount:”viewed_files_count”,viewedFilesCount2:”viewed_files_count2″,diffSummaries:”diff_summaries”,diffViewUserSettings:”user_diff_view_settings”,tableOfContents:”table_of_contents”,markers:”markers”,diffCollapsedStatus:”diff_collapsed_status”,diffContextLines:”diff_entry_lines”,abandonReview:”abandon_review”,addCommentReaction:”add_comment_reaction”,changeBase:”change_base”,cleanupCodespaces:”cleanup_codespaces”,createReviewComment:”create_review_comment”,deleteHeadRef:”delete_head_ref”,dequeuePullRequest:”dequeue_pull_request”,disableAutoMerge:”disable_auto_merge”,enableAutoMerge:”enable_auto_merge”,dismissReview:”dismiss_review”,markReadyForReview:”mark_ready_for_review”,merge:”merge”,removeCommentReaction:”remove_comment_reaction”,reRequestReviewFromUser:”re_request_review_from_user”,restoreHeadRef:”restore_head_ref”,resolveThread:”resolve_thread”,runActionRequiredWorkflows:”run_action_required_workflows”,submitReview:”submit_review”,unresolveThread:”unresolve_thread”,updateReviewComment:”update_review_comment”,updatePullRequestBranch:”update_pull_request_branch”,updateTitle:”update_title”,updateDiffViewUserSettings:”update_diff_view_user_settings”,updateViewedFiles:”update_viewed_files”,updateMergeBoxUserPreference:”update_merge_box_user_preference”,hideComment:”hide_comment”,unhideComment:”unhide_comment”,submitSuggestedChanges:”apply_suggestions”}},75367:(e,t,o)=>{o.d(t,{S:()=>l,s:()=>s});var i=o(21728),n=o(96540),r=o(38007),a=o(78924);function s(){let e,t;let o=(0,i.c)(6),s=(0,n.useContext)(a.I);if(!s)throw Error(“useAnalytics must be used within an AnalyticsContext”);let{appName:l,category:c,metadata:d}=s;o[0]!==l||o[1]!==c||o[2]!==d?(e=(e,t,o)=>{let i={react:!0,app_name:l,category:c,…d};(0,r.BI)(e,{…i,…void 0===o?{}:o,target:t})},o[0]=l,o[1]=c,o[2]=d,o[3]=e):e=o[3];let u=e;return o[4]!==u?(t={sendAnalyticsEvent:u},o[4]=u,o[5]=t):t=o[5],t}function l(){let e,t;let o=(0,i.c)(4),{sendAnalyticsEvent:n}=s();o[0]!==n?(e=e=>{n(“analytics.click”,void 0,void 0===e?{}:e)},o[0]=n,o[1]=e):e=o[1];let r=e;return o[2]!==r?(t={sendClickAnalyticsEvent:r},o[2]=r,o[3]=t):t=o[3],t}},33299:(e,t,o)=>{o.d(t,{X:()=>n});var i=o(80663);function n(e){let t=e.join(“,”),[o]=(0,i.I)(()=>{let e=/Windows/.test(navigator.userAgent)?”windows”:/Macintosh/.test(navigator.userAgent)?”mac”:null;return!!e&&t.includes(e)},!1,[t]);return o}},26807:(e,t,o)=>{o.d(t,{Z:()=>u,o:()=>h});var i=o(96540),n=o(47767),r=o(45588),a=o(84976),s=o(72841),l=o(97396),c=o(32494),d=o(23818);let u=()=>{let{routes:e}=i.useContext(d.k),t=(0,n.Zp)();return i.useCallback((n,a={})=>{let d=(0,r.o1)(n).pathname;if(!(0,r.ue)(e,d)||a.reloadDocument){let e=”string”==typeof n?n:(0,r.AO)(n);(async()=>{let{softNavigate:t}=await Promise.all([o.e(“vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js”),o.e(“ui_packages_soft-navigate_soft-navigate_ts”)]).then(o.bind(o,59519));t(e)})()}else{(0,s.A)(location.href,n.toString())||(0,l.SC)(“react”);let{preventAutofocus:e,…o}=a;(0,i.startTransition)(()=>{t(n,e?{…o,state:{[c.V]:!0,…o.state}}:o)})}},[t,e])},h=()=>{let[e]=(0,a.ok)(),t=u(),{pathname:o}=(0,n.zy)(),r=i.useCallback((i,n={})=>{t({pathname:o,search:(0,a.PI)(“function”==typeof i?i(e):i).toString()},n)},[e,t,o]);return[e,r]}},61020:(e,t,o)=>{o.d(t,{V:()=>u,o:()=>h});var i=o(74848),n=o(30631),r=o(52464),a=o(34614);let s=[{unit:”month”,ms:2592e6},{unit:”day”,ms:864e5},{unit:”hour”,ms:36e5},{unit:”minute”,ms:6e4},{unit:”second”,ms:1e3}],l=new Intl.DateTimeFormat(void 0,{year:”numeric”,month:”short”,day:”numeric”,hour:”numeric”,minute:”numeric”,second:void 0,timeZoneName:”short”}),c=new Intl.DateTimeFormat(void 0,{year:”numeric”,month:”short”,day:”numeric”}),d=new Intl.DateTimeFormat(void 0,{month:”short”,day:”numeric”});function u(e,t=!0){let o=””,i=new Date,n=i.getTime()-e.getTime(),r=s.find(e=>e.ms1?”s”:””} ago`}else{let n=e.getFullYear()===i.getFullYear()?d:c;o=`${t?”on “:””}${n.format(e)}`}return o}function h({timestamp:e,usePreposition:t=!0,linkUrl:o,sx:s}){let c=u(e,t),d=l.format(e);return o?(0,i.jsx)(a.A,{sx:{color:”fg.muted”,…s},href:o,target:”_blank”,children:(0,i.jsx)(n.A,{inline:!0,title:d,children:(0,i.jsx)(r.A,{title:d,sx:{“&:hover, &:focus”:{color:”accent.fg”,textDecoration:”underline”}},children:c})})}):(0,i.jsx)(n.A,{inline:!0,title:d,children:(0,i.jsx)(r.A,{title:d,sx:s,children:c})})}try{h.displayName||(h.displayName=”Ago”)}catch{}},6453:(e,t,o)=>{o.d(t,{n:()=>B});var i=o(74848),n=o(85351),r=o(55847),a=o(60499),s=o(96540),l=o(24484),c=o(29693),d=o(3785),u=o(60826),h=o(79369),m=o(60039),p=o(65510),f=o(60183),x=o(85349),_=o(89323),g=o(38621);let y=({isPrimary:e,children:t,size:o,onOpenChange:n})=>{let a=(0,f.u)(“accessible_code_button”),[l,c]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{a&&n&&n(l)},[l,a]),a)?(0,i.jsx)(x.T,{align:”end”,focusZoneSettings:{disabled:!0},open:l,onOpen:()=>c(!0),onClose:()=>c(!1),renderAnchor:t=>(0,i.jsx)(r.Q,{…t,variant:e?”primary”:void 0,leadingVisual:()=>(0,i.jsx)(g.CodeIcon,{className:”hide-sm”}),trailingVisual:()=>(0,i.jsx)(g.TriangleDownIcon,{}),size:o||”medium”,children:”Code”}),children:t}):(0,i.jsxs)(_.W,{children:[(0,i.jsx)(_.W.Button,{variant:e?”primary”:void 0,leadingVisual:()=>(0,i.jsx)(g.CodeIcon,{className:”hide-sm”}),size:o||”medium”,children:”Code”}),(0,i.jsx)(_.W.Overlay,{width:”auto”,align:”end”,children:t})]})};try{y.displayName||(y.displayName=”CodeMenuButton”)}catch{}let w={TabNav:”CodeDropdownButton-module__TabNav–qDYNs”,NavItem:”CodeDropdownButton-module__NavItem–UJ0Gr”},b=(0,n.A)(“localStorage”),j={Local:”local”,Codespaces:”cloud”};function B(e){let{primary:t,size:o,showCodespacesTab:n,isEnterprise:d,localTab:u,codespacesTab:h,localTabProps:m,codespacesPath:p}=e,f=”code-button-default-tab”,[x,_]=(0,s.useState)(j.Local),g=(0,s.useCallback)(e=>{_(j.Codespaces),b.setItem(f,j.Codespaces),e?.preventDefault()},[]),B=(0,s.useCallback)(e=>{_(j.Local),b.setItem(f,j.Local),e?.preventDefault()},[]);(0,s.useEffect)(()=>{b.getItem(f)===j.Codespaces&&n&&g()},[]);let k=!d&&n;return(0,i.jsxs)(y,{size:o,isPrimary:t,children:[k&&(0,i.jsxs)(a.A,{className:w.TabNav,children:[(0,i.jsx)(a.A.Link,{as:r.Q,selected:x===j.Local,onClick:B,className:w.NavItem,children:”Local”}),!d&&n&&(0,i.jsx)(a.A.Link,{as:r.Q,selected:x===j.Codespaces,onClick:g,className:w.NavItem,children:”Codespaces”})]}),(0,i.jsxs)(“div”,{className:”react-overview-code-button-action-list py-0″,children:[x===j.Local&&(u||(m?(0,i.jsx)(c.F,{…m}):null)),x===j.Codespaces&&(h||(p?(0,i.jsx)(l.VO,{children:(0,i.jsx)(N,{codespacesPath:p})}):null))]})]})}function N(e){let t=function(e){let t=(0,h.e)(u.u.codeButton);return(0,p.U)({queryKey:[u.u.codeButton,t],queryFn:async()=>{let e=await (0,m.QJ)(t);if(!e.ok)throw Error(`HTTP ${e.status}`);let o=await e.json();return(0,d.Av)(o),o},initialData:void 0,staleTime:1/0})}().data;return(0,i.jsx)(l.NF,{codespacesPath:e.codespacesPath,…t})}try{B.displayName||(B.displayName=”CodeDropdownButton”)}catch{}try{N.displayName||(N.displayName=”SuspendedCodespacesTab”)}catch{}},24484:(e,t,o)=>{o.d(t,{NF:()=>x,QS:()=>u,VO:()=>p,wW:()=>_});var i=o(74848),n=o(42083),r=o(60039),a=o(34614),s=o(63867),l=o(96540),c=o(70179),d=o(65510);function u(e,t){let o=encodeURIComponent(t);return`/codespaces?codespace%5Bref%5D=${o}&current_branch=${o}&event_target=REPO_PAGE&repo=${e}`}function h(e){return(0,i.jsxs)(“span”,{children:[“An unexpected error occurred. Please”,” “,(0,i.jsx)(a.A,{inline:!0,href:e,children:”contact support”}),” “,”for more information.”]})}function m({header:e,message:t}){return(0,i.jsxs)(“div”,{className:”blankslate”,children:[(0,i.jsx)(“p”,{className:”fgColor-default text-bold mb-1″,children:e}),(0,i.jsx)(“p”,{className:”mt-2 mx-4″,children:t})]})}function p({children:e}){return(0,i.jsx)(“div”,{className:”d-flex flex-justify-center”,children:(0,i.jsx)(c.t,{fallback:(0,i.jsx)(m,{header:”Codespaces data failed to load.”,message:”Refresh the page and try again.”}),children:(0,i.jsx)(l.Suspense,{fallback:(0,i.jsx)(“div”,{className:”m-2″,children:(0,i.jsx)(s.A,{})}),children:e})})})}function f({codespacesPath:e}){let{data:t}=(0,d.U)({queryKey:[“CodespacesTabContent.content”,e],queryFn:async()=>{let t=await (0,r.QJ)(e);if(t.status>=400&&t.status<=499)return"";if(!t.ok)throw Error(`HTTP ${t.status}`);return await t.text()}});return(0,i.jsx)(n.oG,{className:"width-full",html:t})}function x(e){let{hasAccessToCodespaces:t,repositoryPolicyInfo:o,contactPath:n,currentUserIsEnterpriseManaged:r,enterpriseManagedBusinessName:s,newCodespacePath:l,codespacesPath:c,isLoggedIn:d}=e;if(!t){if(!d)return(0,i.jsx)(m,{header:"Sign in required",message:(0,i.jsxs)("span",{children:["Please"," ",(0,i.jsx)(a.A,{inline:!0,href:l,children:"sign in"})," ","to use Codespaces."]})});if(o?.allowed)return o?.changesWouldBeSafe?(0,i.jsx)(m,{header:"Codespace access limited",message:h(n)}):(0,i.jsx)(m,{header:"Repository access limited",message:(0,i.jsx)("span",{children:"You do not have access to push to this repository and its owner has disabled forking."})});{let e=null;return e=!o?.canBill&&r?(0,i.jsxs)("span",{children:[(0,i.jsx)(a.A,{href:"https://docs.github.com/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users",children:"Enterprise-managed users"}),` must have their Codespaces usage paid for by ${s||"their enterprise"}.`]}):o?.hasIpAllowLists?(0,i.jsxs)("span",{children:["Your organization or enterprise enforces"," ",(0,i.jsx)(a.A,{inline:!0,href:"https://docs.github.com/enterprise-cloud@latest/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-allowed-ip-addresses-for-your-organization",children:"IP allow lists"}),"which are unsupported by Codespaces at this time."]}):o?.disabledByBusiness?(0,i.jsx)("span",{children:"Your enterprise has disabled Codespaces at this time. Please contact your enterprise administrator for more information."}):o?.disabledByOrganization?(0,i.jsx)("span",{children:"Your organization has disabled Codespaces on this repository. Please contact your organization administrator for more information."}):h(n),(0,i.jsx)(m,{header:"Codespace access limited",message:e})}}return(0,i.jsx)(f,{codespacesPath:c})}function _(e){return(0,i.jsx)(p,{children:(0,i.jsx)(x,{...e})})}try{m.displayName||(m.displayName="ErrorMessage")}catch{}try{p.displayName||(p.displayName="CodespacesTabWrapper")}catch{}try{f.displayName||(f.displayName="ServerRenderedCodespacesTabContent")}catch{}try{x.displayName||(x.displayName="CodespacesTabContent")}catch{}try{_.displayName||(_.displayName="CodespacesTab")}catch{}},29693:(e,t,o)=>{o.d(t,{F:()=>_,J:()=>y});var i=o(74848),n=o(96540),r=o(33299),a=o(26807),s=o(60039),l=o(34614),c=o(5420),d=o(6869),u=o(15385),h=o(75177),m=o(84217),p=o(42522),f=o(8579),x=o(38621);function _(e){let{httpAvailable:t,sshAvailable:o,httpUrl:h,showCloneWarning:m,sshUrl:f,sshCertificatesRequired:_,sshCertificatesAvailable:w,ghCliUrl:b,newSshKeyUrl:j,setProtocolPath:B}=e.protocolInfo,{defaultProtocol:N}=e.protocolInfo,[k,C]=(0,n.useState)(N),[A,S]=(0,n.useState)(“”),{cloneUrl:R,visualStudioCloneUrl:I,showVisualStudioCloneButton:M,showXcodeCloneButton:P,xcodeCloneUrl:F,zipballUrl:T}=e.platformInfo,O=(0,r.X)([“windows”,”mac”]),L=(0,r.X)([“mac”]),H=(0,a.Z)(),E=”mt-2 fgColor-muted text-normal”,D=(0,n.useCallback)(e=>{if(k!==e){C(e);let t=new FormData;t.set(“protocol_selector”,e),(0,s.DI)(B,{method:”post”,body:t})}},[k,C,B]),W=(0,n.useMemo)(()=>{let e=[];return t&&e.push({protocol:”http”,displayName:”HTTPS”,ariaLabel:”Clone with HTTPS”,handler:()=>D(“http”)}),o&&e.push({protocol:”ssh”,displayName:”SSH”,ariaLabel:”Clone with SSH”,handler:()=>D(“ssh”)}),e.push({protocol:”gh_cli”,displayName:”GitHub CLI”,ariaLabel:”Clone with GitHub CLI”,handler:()=>D(“gh_cli”)}),e},[t,D,o]),U=(0,n.useMemo)(()=>{let e=[];return O&&e.push({name:”githubDesktop”,text:”Open with GitHub Desktop”,url:R,icon:x.DesktopDownloadIcon}),O&&M&&e.push({name:”visualStudio”,text:”Open with Visual Studio”,url:I}),L&&P&&e.push({name:”xcode”,text:”Open with Xcode”,url:F}),e.push({name:”zip”,text:”Download ZIP”,url:T,icon:x.FileZipIcon}),e},[R,L,O,M,P,I,F,T]);return(0,i.jsx)(“div”,{children:”githubDesktop”===A?(0,i.jsx)(g,{platform:”GitHub Desktop”,href:”https://desktop.github.com/”}):”visualStudio”===A?(0,i.jsx)(g,{platform:”Visual Studio”}):”xcode”===A?(0,i.jsx)(g,{platform:”Xcode”,href:”https://developer.apple.com/xcode/”}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(“div”,{className:”m-3″,children:[(0,i.jsxs)(“div”,{className:”d-flex flex-items-center”,children:[(0,i.jsx)(x.TerminalIcon,{className:”mr-2″}),(0,i.jsx)(“p”,{className:”flex-1 text-bold mb-0″,children:”Clone”}),(0,i.jsx)(p.m,{text:”Which remote URL should I use?”,type:”label”,direction:”w”,children:(0,i.jsx)(l.A,{muted:!0,href:`${e.helpUrl}/articles/which-remote-url-should-i-use`,children:(0,i.jsx)(x.QuestionIcon,{className:”mr-1″})})})]}),(0,i.jsx)(c.O,{sx:{border:”none”,my:2,px:0,fontWeight:”bold”},”aria-label”:”Remote URL selector”,children:W.map(e=>(0,i.jsx)(c.O.Item,{“aria-current”:k===e.protocol?”page”:void 0,”aria-label”:e.ariaLabel,onClick:e.handler,children:e.displayName},e.protocol))}),”http”===k?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{inputId:”clone-with-https”,inputLabel:”Clone with HTTPS url”,url:h}),(0,i.jsx)(“p”,{className:E,children:”Clone using the web URL.”})]}):”ssh”===k?(0,i.jsxs)(i.Fragment,{children:[m&&(0,i.jsxs)(d.A,{className:”mb-2″,variant:”warning”,children:[“You don’t have any public SSH keys in your GitHub account. “,”You can”,” “,(0,i.jsx)(l.A,{inline:!0,href:j,children:”add a new public key”}),”, or try cloning this repository via HTTPS.”]}),(0,i.jsx)(y,{inputId:”clone-with-ssh”,inputLabel:”Clone with SSH url”,url:f}),(0,i.jsx)(“p”,{className:E,children:_?”Use a password-protected SSH certificate.”:w?”Use a password-protected SSH key or certificate.”:”Use a password-protected SSH key.”})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{buttonAriaLabel:”Copy command to clipboard”,inputId:”clone-with-gh-cli”,inputLabel:”Clone with GitHub CLI command”,url:b}),(0,i.jsxs)(“p”,{className:E,children:[“Work fast with our official CLI.”,” “,(0,i.jsx)(l.A,{inline:!0,href:”https://cli.github.com”,target:”_blank”,”aria-label”:”Learn more about the GitHub CLI”,children:”Learn more”})]})]})]}),(0,i.jsx)(u.l,{variant:”inset”,className:”border-top”,children:U.map(e=>”zip”===e.name?(0,i.jsxs)(u.l.LinkItem,{“data-turbo”:”false”,href:e.url,rel:”nofollow”,children:[e.icon&&(0,i.jsx)(u.l.LeadingVisual,{children:(0,i.jsx)(e.icon,{})}),e.text]},e.name):(0,i.jsxs)(u.l.Item,{onSelect:t=>{S(e.name),t.preventDefault(),H(e.url)},children:[e.icon&&(0,i.jsx)(u.l.LeadingVisual,{children:(0,i.jsx)(e.icon,{})}),e.text]},e.name))})]})})}function g({platform:e,href:t}){return(0,i.jsxs)(h.A,{className:”p-3″,sx:{width:”400px”},children:[(0,i.jsx)(m.A,{as:”h4″,className:”mb-3 text-center”,children:`Launching ${e}`}),t&&(0,i.jsxs)(“p”,{className:”mb-3″,children:[“If nothing happens, “,(0,i.jsx)(l.A,{inline:!0,href:t,children:`download ${e}`}),” and try again.”]})]})}function y({buttonAriaLabel:e=”Copy url to clipboard”,inputId:t,inputLabel:o,url:n}){return(0,i.jsxs)(h.A,{className:”d-flex mb-2″,sx:{height:”32px”},children:[(0,i.jsx)(“label”,{htmlFor:t,className:”sr-only”,children:o}),(0,i.jsx)(“input”,{id:t,type:”text”,className:”form-control input-monospace input-sm color-bg-subtle”,”data-autoselect”:!0,value:n,readOnly:!0,style:{flexGrow:1}}),(0,i.jsx)(f.T,{className:”ml-1 mr-0″,sx:{width:”32px”},textToCopy:n,ariaLabel:e,tooltipProps:{direction:”nw”}})]})}try{_.displayName||(_.displayName=”LocalTab”)}catch{}try{g.displayName||(g.displayName=”LaunchingPlatformContents”)}catch{}try{y.displayName||(y.displayName=”CloneUrl”)}catch{}},54763:(e,t,o)=>{o.d(t,{E:()=>r});var i=o(74848),n=o(69098);function r({children:e}){return(0,n.P)()?(0,i.jsx)(i.Fragment,{children:e}):null}try{r.displayName||(r.displayName=”AllShortcutsEnabled”)}catch{}},25925:(e,t,o)=>{o.d(t,{R:()=>h});var i=o(74848),n=o(88795),r=o(96235),a=o(33613),s=o(99543),l=o(96540),c=o(141),d=o(50104),u=o(98637);function h({size:e,buttonClassName:t,allowResizing:o,idEnding:h}){let m=(0,n.t)(),{refInfo:p,path:f,action:x}=(0,c.eu)(),_=function(){let{addToast:e}=(0,s.Y6)();return(0,l.useCallback)(t=>e({type:”error”,message:t}),[e])}(),{sendRepoClickEvent:g}=(0,u.T)(),{refSelectorShortcut:y}=(0,d.wk)();return(0,i.jsx)(a.PI,{currentCommitish:p.name,defaultBranch:m.defaultBranch,owner:m.ownerLogin,repo:m.name,canCreate:m.currentUserCanPush,cacheKey:p.listCacheKey,selectedRefType:p.refType,getHref:e=>`${(0,r.IO9)({repo:m,commitish:e,action:x,path:f})}${window.location.search}`,hotKey:y.hotkey,onBeforeCreate:e=>g(“REF_SELECTOR_MENU.CREATE_BRANCH”,{ref_name:e}),onCreateError:_,onOpenChange:e=>e&&g(“REF_SELECTOR_MENU”),size:e,buttonClassName:t,allowResizing:o,idEnding:h||”repos-header-ref-selector”,useFocusZone:!0})}try{h.displayName||(h.displayName=”ReposHeaderRefSelector”)}catch{}},69098:(e,t,o)=>{o.d(t,{$:()=>a,P:()=>s});var i=o(74848),n=o(96540);let r=n.createContext(!0);function a({allShortcutsEnabled:e,children:t}){return(0,i.jsxs)(r.Provider,{value:e,children:[” “,t,” “]})}function s(){return n.useContext(r)}try{r.displayName||(r.displayName=”AllShortcutsEnabledContext”)}catch{}try{a.displayName||(a.displayName=”AllShortcutsEnabledProvider”)}catch{}},85579:(e,t,o)=>{o.d(t,{Ck:()=>s,JS:()=>a});var i=o(74848),n=o(96540);let r=(0,n.createContext)({query:””,setQuery:()=>void 0});function a(){return(0,n.useContext)(r)}function s({children:e}){let[t,o]=(0,n.useState)(“”),a=(0,n.useMemo)(()=>({query:t,setQuery:o}),[o,t]);return(0,i.jsx)(r.Provider,{value:a,children:e})}try{r.displayName||(r.displayName=”FileQueryContext”)}catch{}try{s.displayName||(s.displayName=”FileQueryProvider”)}catch{}},141:(e,t,o)=>{o.d(t,{eu:()=>l,qV:()=>s,sq:()=>c});var i=o(74848),n=o(64262),r=o(96540);let a=r.createContext({});function s({children:e,…t}){return(0,i.jsx)(a.Provider,{value:t,children:e})}function l(){return r.useContext(a)}function c(){return(0,n.X)()}try{a.displayName||(a.displayName=”FilesPageInfoContext”)}catch{}try{s.displayName||(s.displayName=”FilesPageInfoProvider”)}catch{}},81830:(e,t,o)=>{o.d(t,{Kg:()=>s,Yu:()=>l});var i=o(74848),n=o(21728),r=o(96540);let a=(0,r.createContext)(null);function s(e){let t,o,r;let s=(0,n.c)(5),{children:l,basePageDataUrl:c}=e;return s[0]!==c?(o={basePageDataUrl:c},s[0]=c,s[1]=o):o=s[1],t=o,s[2]!==l||s[3]!==t?(r=(0,i.jsx)(a.Provider,{value:t,children:l}),s[2]=l,s[3]=t,s[4]=r):r=s[4],r}function l(){let e=(0,r.useContext)(a);if(!e)throw Error(“usePageDataContext must be used within a PageDataContextProvider”);return e}try{a.displayName||(a.displayName=”PageDataContext”)}catch{}try{s.displayName||(s.displayName=”PageDataContextProvider”)}catch{}},30422:(e,t,o)=>{o.d(t,{BC:()=>c,JU:()=>d,Pk:()=>l});var i=o(74848),n=o(75177),r=o(52464),a=o(99418),s=o(96540);let l=u(n.A),c=u(r.A),d=u(e=>(0,i.jsx)(“div”,{…e}));function u(e){let t=(0,s.forwardRef)((t,o)=>{let{sanitizedHTML:n,props:r}=function(e){let{html:t,domPurifyConfig:o,…i}=e,n={…o,RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1};return{sanitizedHTML:a.default.sanitize(t,n),props:i}}(t);return(0,i.jsx)(e,{ref:o,…r,dangerouslySetInnerHTML:{__html:n}})});return t.displayName=`UnsafeHTML${e.displayName||e.name}`,t}},18679:(e,t,o)=>{o.d(t,{s:()=>AnalyticsClient});let i=[“utm_source”,”utm_medium”,”utm_campaign”,”utm_term”,”utm_content”,”scid”];var n=o(36301);let AnalyticsClient=class AnalyticsClient{constructor(e){this.options=e}get collectorUrl(){return this.options.collectorUrl}get clientId(){return this.options.clientId?this.options.clientId:(0,n.y)()}createEvent(e){return{page:location.href,title:document.title,context:{…this.options.baseContext,…function(){let e={};try{for(let[t,o]of new URLSearchParams(window.location.search)){let n=t.toLowerCase();i.includes(n)&&(e[n]=o)}return e}catch(e){return{}}}(),…e}}}sendPageView(e){let t=this.createEvent(e);this.send({page_views:[t]})}sendEvent(e,t){let o={…this.createEvent(t),type:e};this.send({events:[o]})}send({page_views:e,events:t}){let o=JSON.stringify({client_id:this.clientId,page_views:e,events:t,request_context:{referrer:function(){let e;try{e=window.top.document.referrer}catch(t){if(window.parent)try{e=window.parent.document.referrer}catch(e){}}return””===e&&(e=document.referrer),e}(),user_agent:navigator.userAgent,screen_resolution:function(){try{return`${screen.width}x${screen.height}`}catch(e){return”unknown”}}(),browser_resolution:function(){let e=0,t=0;try{return”number”==typeof window.innerWidth?(t=window.innerWidth,e=window.innerHeight):null!=document.documentElement&&null!=document.documentElement.clientWidth?(t=document.documentElement.clientWidth,e=document.documentElement.clientHeight):null!=document.body&&null!=document.body.clientWidth&&(t=document.body.clientWidth,e=document.body.clientHeight),`${t}x${e}`}catch(e){return”unknown”}}(),browser_languages:navigator.languages?navigator.languages.join(“,”):navigator.language||””,pixel_ratio:window.devicePixelRatio,timestamp:Date.now(),tz_seconds:-60*new Date().getTimezoneOffset()}});try{if(navigator.sendBeacon){navigator.sendBeacon(this.collectorUrl,o);return}}catch{}fetch(this.collectorUrl,{method:”POST”,cache:”no-cache”,headers:{“Content-Type”:”application/json”},body:o,keepalive:!1})}}},70837:(e,t,o)=>{o.d(t,{O:()=>i});function i(e=”ha”){let t;let o={};for(let i of Array.from(document.head.querySelectorAll(`meta[name^=”${e}-“]`))){let{name:n,content:r}=i,a=n.replace(`${e}-`,””).replace(/-/g,”_”);”url”===a?t=r:o[a]=r}if(!t)throw Error(`AnalyticsClient ${e}-url meta tag not found`);return{collectorUrl:t,…Object.keys(o).length>0?{baseContext:o}:{}}}},37732:(e,t,o)=>{o.d(t,{a:()=>s});/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause */let i=new Set([“children”,”localName”,”ref”,”style”,”className”]),n=new WeakMap,r=(e,t,o,i,r)=>{let a=null==r?void 0:r[t];void 0===a||o===i?null==o&&t in HTMLElement.prototype?e.removeAttribute(t):e[t]=o:((e,t,o)=>{let i=n.get(e);void 0===i&&n.set(e,i=new Map);let r=i.get(t);void 0!==o?void 0===r?(i.set(t,r={handleEvent:o}),e.addEventListener(t,r)):r.handleEvent=o:void 0!==r&&(i.delete(t),e.removeEventListener(t,r))})(e,a,o)},a=(e,t)=>{“function”==typeof e?e(t):e.current=t};function s(e=window.React,t,o,n,l){let c,d,u;void 0===t?({tagName:d,elementClass:u,events:n,displayName:l}=e,c=e.react):(c=e,u=o,d=t);let h=c.Component,m=c.createElement,p=new Set(Object.keys(null!=n?n:{}));let v=class v extends h{constructor(){super(…arguments),this.o=null}t(e){if(null!==this.o)for(let t in this.i)r(this.o,t,this.props[t],e?e[t]:void 0,n)}componentDidMount(){var e;this.t(),null===(e=this.o)||void 0===e||e.removeAttribute(“defer-hydration”)}componentDidUpdate(e){this.t(e)}render(){let{_$Gl:e,…t}=this.props;this.h!==e&&(this.u=t=>{null!==e&&a(e,t),this.o=t,this.h=e}),this.i={};let o={ref:this.u};for(let[e,n]of Object.entries(t))i.has(e)?o[“className”===e?”class”:e]=n:p.has(e)||e in u.prototype?this.i[e]=n:o[e]=n;return o.suppressHydrationWarning=!0,m(d,o)}};v.displayName=null!=l?l:u.name;let f=c.forwardRef((e,t)=>m(v,{…e,_$Gl:t},null==e?void 0:e.children));return f.displayName=v.displayName,f}},65510:(e,t,o)=>{o.d(t,{U:()=>a});var i=o(1651),n=o(15985),r=o(60791);function a(e,t){return(0,n.t)({…e,enabled:!0,suspense:!0,throwOnError:r.R3,placeholderData:void 0},i.$,t)}}},e=>{var t=t=>e(e.s=t);e.O(0,[“primer-react”,”react-core”,”react-lib”,”octicons-react”,”vendors-node_modules_primer_behaviors_dist_esm_index_mjs”,”vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js”,”vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1d3d52″,”vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-b1c483″,”vendors-node_modules_github_catalyst_lib_index_js-node_modules_primer_live-region-element_dis-b2aea6″,”vendors-node_modules_dompurify_dist_purify_es_mjs”,”vendors-node_modules_github_relative-time-element_dist_index_js”,”vendors-node_modules_tanstack_query-core_build_modern_queryObserver_js-node_modules_tanstack_-defd52″,”vendors-node_modules_braintree_browser-detection_dist_browser-detection_js-node_modules_githu-bb80ec”,”vendors-node_modules_tanstack_react-virtual_dist_esm_index_js”,”ui_packages_failbot_failbot_ts”,”ui_packages_document-metadata_document-metadata_ts-ui_packages_history_history_ts-ui_packages-417c81″,”ui_packages_paths_index_ts”,”ui_packages_ref-selector_RefSelector_tsx”,”ui_packages_use-alive_use-alive_ts”,”ui_packages_commit-attribution_index_ts-ui_packages_commit-checks-status_index_ts-ui_packages-762eaa”,”ui_packages_hydro-analytics_hydro-analytics_ts-ui_packages_use-client-value_use-client-value_-6f712e”,”ui_packages_code-view-shared_hooks_use-canonical-object_ts-ui_packages_code-view-shared_hooks-7b64b1″],()=>t(27128)),e.O()}]); //# sourceMappingURL=repos-overview-c109358a5c50.js.map