performance.mark("js-parse-end:59852-fce64b550433e072.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["59852"],{63429(e,t,i){i.d(t,{Fr:()=>l,R0:()=>d,U0:()=>u,xl:()=>c});var n=i(26316);let o="Android",s="macOS",a="Windows",r="Linux";function d(){let e="Unknown",t=!1;if(n.cg){let i=n.cg.navigator,d="";try{d=i.userAgent}catch{}let l="";try{l=i?.userAgentData?.platform||i.platform}catch{}-1!==["Macintosh","MacIntel","MacPPC","Mac68K","macOS"].indexOf(l)?e=s:-1!==["iPhone","iPad","iPod"].indexOf(l)?e="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(l)?e=a:/Android/.test(d)?e=o:/Linux/.test(l)&&(e=r),t=i?.userAgentData?.mobile??(e===o||"iOS"===e)}return{os:e,isAndroid:e===o,isIOS:"iOS"===e,isMacOS:e===s,isWindows:e===a,isLinux:e===r,isDesktop:e===s||e===a||e===r,isMobile:t}}function l(){return d().isMobile}function c(){return d().isDesktop}function u(){return d().isMacOS}},98795(e,t,i){i.d(t,{JC:()=>n.JC,KK:()=>n.KK,SK:()=>s,Vy:()=>n.Vy,ai:()=>n.ai,rd:()=>n.rd});var n=i(50515);let o=/(?:^|,)((?:[^,]|,(?=\+| |$))*(?:,(?=,))?)/g;function s(e){return Array.from(e.matchAll(o)).map(([,e])=>e)}},39423(e,t,i){i.d(t,{$$:()=>l,GI:()=>a,fg:()=>d,zw:()=>s});var n=i(63429),o=i(98795);let s=()=>{if("u"/Enter|Arrow|Escape|Meta|Control|Mod|Esc|Tab/.test(e)||!(0,n.U0)()&&e.includes("Alt")&&e.includes("Shift"),r=new Set(["button","checkbox","color","file","hidden","image","radio","range","reset","submit"]);function d(e){if(!(e instanceof HTMLElement))return!1;let t=e.nodeName.toLowerCase(),i=e.getAttribute("type")?.toLowerCase()??"text",n="true"===e.ariaReadOnly||"true"===e.getAttribute("aria-readonly")||null!==e.getAttribute("readonly");return("select"===t||"textarea"===t||"input"===t&&!r.has(i)||e.isContentEditable)&&!n}let l=e=>{let t=(0,o.Vy)(e),i=s()&&!d(e.target);return a(t)||i}},47314(e,t,i){i.d(t,{J:()=>s,k:()=>o});var n=i(69807);class o{commandId;constructor(e){this.commandId=e}}let s={entries:e=>Object.entries(e).filter(e=>n.dx.is(e[0])&&void 0!==e[1]),keys:e=>Object.keys(e).filter(n.dx.is)}},58856(e,t,i){i.d(t,{F:()=>a,j:()=>r});var n=i(96540),o=i(26458);let s=(0,n.createContext)({triggerCommand(e,t,i=!1){if(i)return!1;(0,o.b)(e,t)},registerLimitedKeybindingScope:()=>{}});s.displayName="CommandsContext";let a=s,r=()=>(0,n.use)(s)},8204(e,t,i){i.d(t,{J:()=>l,c:()=>d});var n=i(16522),o=i(96540),s=i(47314),a=i(69807);let r=new Map;function d(){let e=new Map;for(let t of new Set(Array.from(r.values()).flat())){let i=a.dx.getServiceId(t);if(!e.has(i)){let t=(0,a.tp)(i);e.set(i,{service:{id:t.id,name:t.name},commands:[]})}let n=(0,a.fL)(t),o=(0,a.eY)(t);n&&o.length>0&&e.get(i)?.commands.push({id:t,name:n.name,description:n.description,keybinding:o.length>1?o:o[0]})}return Array.from(e.values())}let l=e=>{let t,i,a=(0,n.c)(4),d=(0,o.useId)();a[0]!==e||a[1]!==d?(t=()=>(r.set(d,s.J.keys(e)),()=>{r.delete(d)}),i=[e,d],a[0]=e,a[1]=d,a[2]=t,a[3]=i):(t=a[2],i=a[3]),(0,o.useEffect)(t,i)}},69807(e,t,i){i.d(t,{tp:()=>c,dx:()=>d,eY:()=>u,hq:()=>p,LU:()=>m,fL:()=>l});var n=i(73537),o=i(98795);let{P:s,$:a}=JSON.parse('{"$":{"code-view":{"id":"code-view","name":"Code view","commandIds":["code-view:edit-file","code-view:copy-file-path","code-view:copy-permalink","code-view:toggle-symbols","code-view:commit-changes","code-view:find-selection","code-view:find-next","code-view:find-prev","code-view:open-github-dev","code-view:open-github-dev-new-window","code-view:toggle-edit-preview","code-view:permalink","code-view:view-raw","code-view:copy-raw","code-view:download-raw","code-view:view-code","code-view:view-preview","code-view:view-blame","code-view:go-to-line","code-view:find-symbol","code-view:toggle-focused-pane","code-view:find-in-file","code-view:focus-next-directory-item","code-view:focus-previous-directory-item","code-view:open-ref-selector"]},"commit-diff-view":{"id":"commit-diff-view","name":"Commits","commandIds":["commit-diff-view:open-find","commit-diff-view:create-permalink","commit-diff-view:collapse-expand-comments"]},"copilot-chat":{"id":"copilot-chat","name":"Copilot Chat","commandIds":["copilot-chat:open-assistive","copilot-chat:open-immersive","copilot-chat:continue-in-immersive","copilot-chat:send-message","copilot-chat:send-message-new-conversation","copilot-chat:add-attachment","copilot-chat:close-assistive","copilot-chat:deep-codesearch","copilot-chat:edit-last-message"]},"github":{"id":"github","name":"GitHub (site-wide)","commandIds":["github:submit-form","github:select","github:select-multiple","github:cancel","github:go-to-start","github:go-to-end","github:up","github:down","github:focus-next"]},"global-navigation":{"id":"global-navigation","name":"Global navigation","commandIds":["global-navigation:open-repo-picker","global-navigation:show-shortcuts-dialog","global-navigation:search","global-navigation:enter-hovercard","global-navigation:go-to-dashboard","global-navigation:go-to-notifications","global-navigation:go-to-repositories","global-navigation:go-to-issues","global-navigation:go-to-pull-requests"]},"issue-body":{"id":"issue-body","name":"Issues: issue body","commandIds":["issue-body:open-copilot-panel"]},"issue-create":{"id":"issue-create","name":"Issue creation","commandIds":["issue-create:new","issue-create:submit-and-create-more","issue-create:open-fullscreen","issue-create:edit-parent","issue-create:mark-blocked-by","issue-create:mark-blocking","issue-create:open-copilot-panel"]},"issue-viewer":{"id":"issue-viewer","name":"Issues: issue viewer","commandIds":["issue-viewer:edit-parent","issue-viewer:edit-title-submit","issue-viewer:close-edit-title","issue-viewer:mark-blocked-by","issue-viewer:mark-blocking","issue-viewer:edit-security-alert"]},"issues-react":{"id":"issues-react","name":"Issues","commandIds":["issues-react:focus-next-issue","issues-react:focus-previous-issue"]},"item-pickers":{"id":"item-pickers","name":"Item pickers","commandIds":["item-pickers:open-assignees","item-pickers:open-development","item-pickers:open-labels","item-pickers:open-milestone","item-pickers:open-projects","item-pickers:open-issue-type","item-pickers:open-author","item-pickers:open-fields"]},"list-view-items-issues-prs":{"id":"list-view-items-issues-prs","name":"Issue and pull request lists","commandIds":["list-view-items-issues-prs:open-focused-item","list-view-items-issues-prs:toggle-focused-item-selection"]},"list-views":{"id":"list-views","name":"List views","commandIds":["list-views:open-manage-item-dialog"]},"projects":{"id":"projects","name":"Projects","commandIds":["projects:save-view","projects:save-form"]},"pull-request-files-changed":{"id":"pull-request-files-changed","name":"Pull Requests: \'files changed\' view","commandIds":["pull-request-files-changed:collapse-expand-comments","pull-request-files-changed:open-commits-list","pull-request-files-changed:focus-file-tree-filter","pull-request-files-changed:submit-review","pull-request-files-changed:go-to-previous-commit","pull-request-files-changed:go-to-next-commit"]},"pull-requests-conversations":{"id":"pull-requests-conversations","name":"Pull Requests: conversations","commandIds":["pull-requests-conversations:submit-comment-and-review"]},"pull-requests-diff-file-tree":{"id":"pull-requests-diff-file-tree","name":"Pull Requests: file tree","commandIds":["pull-requests-diff-file-tree:focus-file-tree"]},"pull-requests-diff-view":{"id":"pull-requests-diff-view","name":"Pull Requests: diff view","commandIds":["pull-requests-diff-view:copy-anchor-link","pull-requests-diff-view:copy-code","pull-requests-diff-view:close-find","pull-requests-diff-view:jump-to-next-result","pull-requests-diff-view:jump-to-next-result-alternate","pull-requests-diff-view:jump-to-previous-result","pull-requests-diff-view:jump-to-previous-result-alternate","pull-requests-diff-view:open-find","pull-requests-diff-view:submit-comment-and-review","pull-requests-diff-view:start-conversation-current","pull-requests-diff-view:quote-reply"]},"react-sandbox":{"id":"react-sandbox","name":"React Sandbox","commandIds":["react-sandbox:example-command"]},"repositories":{"id":"repositories","name":"Repositories","commandIds":["repositories:go-to-code","repositories:go-to-issues","repositories:go-to-pull-requests","repositories:go-to-discussions","repositories:go-to-actions","repositories:go-to-projects","repositories:go-to-models","repositories:go-to-agents","repositories:go-to-wiki","repositories:go-to-security","repositories:go-to-insights","repositories:go-to-settings"]},"repository-label":{"id":"repository-label","name":"Repository label","commandIds":["repository-label:save-label-submit","repository-label:cancel-save-label"]},"sub-issues":{"id":"sub-issues","name":"Sub-issues","commandIds":["sub-issues:create-sub-issue","sub-issues:add-existing-issue"]},"ui-commands":{"id":"ui-commands","name":"UI Commands","commandIds":["ui-commands:test-chord","ui-commands:test-sequence","ui-commands:modifier-sequence","ui-commands:conflicting-chord","ui-commands:flagged-command","ui-commands:single-key"]},"workspace-editor":{"id":"workspace-editor","name":"Workspace editor","commandIds":["workspace-editor:escape-editor--mac","workspace-editor:escape-editor","workspace-editor:toggle-file-tree-pane"]}},"P":{"code-view:commit-changes":{"name":"Commit changes","description":"Open the commit dialog to save changes","defaultBinding":"Mod+s"},"code-view:copy-file-path":{"name":"Copy file path","description":"Copy the file path to clipboard","defaultBinding":"Mod+Shift+>"},"code-view:copy-permalink":{"name":"Copy permalink","description":"Copy a permanent link to the current file to clipboard","defaultBinding":"Mod+Shift+<"},"code-view:copy-raw":{"name":"Copy raw content","description":"Copy the raw file content to clipboard","defaultBinding":"Mod+Shift+C"},"code-view:download-raw":{"name":"Download raw file","description":"Download the raw file content","defaultBinding":"Mod+Shift+S"},"code-view:edit-file":{"name":"Edit file","description":"Open code editor for the current file","defaultBinding":"e,Shift+E"},"code-view:find-in-file":{"name":"Find in file","description":"Open the find-in-file search","defaultBinding":"Mod+f,F3"},"code-view:find-next":{"name":"Find next","description":"Navigate to the next search result or reference","defaultBinding":"Mod+g"},"code-view:find-prev":{"name":"Find previous","description":"Navigate to the previous search result or reference","defaultBinding":"Mod+Shift+G"},"code-view:find-selection":{"name":"Find selection","description":"Find the current text selection in the file","defaultBinding":"Mod+e"},"code-view:find-symbol":{"name":"Find symbol","description":"Open the symbol navigation panel","defaultBinding":"r,Shift+R"},"code-view:focus-next-directory-item":{"name":"Next item","description":"Focus the next item in the directory listing","defaultBinding":"j"},"code-view:focus-previous-directory-item":{"name":"Previous item","description":"Focus the previous item in the directory listing","defaultBinding":"k"},"code-view:go-to-line":{"name":"Go to line","description":"Open the go-to-line dialog","defaultBinding":"l,Shift+L,Mod+Alt+g"},"code-view:open-github-dev":{"name":"Open in github.dev","description":"Open the current file in github.dev editor","defaultBinding":".,Mod+Shift+?"},"code-view:open-github-dev-new-window":{"name":"Open in github.dev (new window)","description":"Open the current file in github.dev in a new browser window","defaultBinding":"Shift+>"},"code-view:open-ref-selector":{"name":"Open ref selector","description":"Open the ref selector dropdown","defaultBinding":"w"},"code-view:permalink":{"name":"Create permalink","description":"Create and navigate to a permanent link for the current file","defaultBinding":"y,Shift+Y"},"code-view:toggle-edit-preview":{"name":"Toggle edit/preview","description":"Switch between edit and preview tabs in the editor","defaultBinding":"Mod+Shift+P"},"code-view:toggle-focused-pane":{"name":"Toggle focused pane","description":"Cycle focus between file tree, content, and text area","defaultBinding":"Mod+F6,Mod+Shift+F6"},"code-view:toggle-symbols":{"name":"Toggle symbols panel","description":"Open or close the symbols navigation panel","defaultBinding":"Mod+i"},"code-view:view-blame":{"name":"View blame","description":"Switch to the blame view","defaultBinding":"b,Shift+B,Mod+/ Mod+b"},"code-view:view-code":{"name":"View code","description":"Switch to the code view tab","defaultBinding":"Mod+/ Mod+c"},"code-view:view-preview":{"name":"View preview","description":"Switch to the preview tab","defaultBinding":"Mod+/ Mod+p"},"code-view:view-raw":{"name":"View raw","description":"View the raw content of the file","defaultBinding":"Mod+/ Mod+r"},"commit-diff-view:collapse-expand-comments":{"name":"Toggle comments","description":"Toggle between collapsed and expanded comments","defaultBinding":"i"},"commit-diff-view:create-permalink":{"name":"Create permalink","description":"Expand the current URL to a full permalink","defaultBinding":"y"},"commit-diff-view:open-find":{"name":"Open find and search on selection","description":"Open the find widget with the current selection","defaultBinding":"Mod+e"},"copilot-chat:add-attachment":{"name":"Add attachment","description":"Add an attachment to the current message","defaultBinding":"Mod+Shift+@"},"copilot-chat:close-assistive":{"name":"Close chat","description":"Close the assistive chat","defaultBinding":"Shift+Z"},"copilot-chat:continue-in-immersive":{"name":"Continue conversation in immersive","description":"Continue the current assistive chat conversation in immersive mode","defaultBinding":"Mod+Shift+C"},"copilot-chat:deep-codesearch":{"name":"Deep code search","description":"Perform a deep code search for the current message if applicable"},"copilot-chat:edit-last-message":{"name":"Edit last message","description":"Edit the last-sent message in the conversation","defaultBinding":"ArrowUp"},"copilot-chat:open-assistive":{"name":"Open Copilot Chat (assistive mode)","description":"Open Copilot Chat in the assistive overlay mode"},"copilot-chat:open-immersive":{"name":"Open Copilot Chat (immersive mode)","description":"Open Copilot Chat in the full-page immersive mode","defaultBinding":"Shift+C"},"copilot-chat:send-message":{"name":"Send message","description":"Send the current message","defaultBinding":"Enter"},"copilot-chat:send-message-new-conversation":{"name":"Send message to new conversation","description":"Send the current message to a newly created conversation","defaultBinding":"Mod+Shift+S"},"github:cancel":{"name":"Cancel","description":"Cancel the current operation","defaultBinding":"Escape"},"github:down":{"name":"Down","description":"Navigate down","defaultBinding":"ArrowDown"},"github:focus-next":{"name":"Focus next item","description":"Navigate to the next focusable item","defaultBinding":"Tab"},"github:go-to-end":{"name":"Go to end","description":"Go to the last item in a list","defaultBinding":"End"},"github:go-to-start":{"name":"Go to start","description":"Go to the first item in a list","defaultBinding":"Home"},"github:select":{"name":"Select item","description":"Select the current item","defaultBinding":"Enter"},"github:select-multiple":{"name":"Select multiple items","description":"Add the current item to a multi-selection (or remove it if already added)","defaultBinding":"Mod+Enter"},"github:submit-form":{"name":"Submit form","description":"Submit the current form","defaultBinding":"Mod+Enter"},"github:up":{"name":"Up","description":"Navigate up","defaultBinding":"ArrowUp"},"global-navigation:enter-hovercard":{"name":"Show hovercard","description":"Expand and move focus into the focused link\'s hovercard","defaultBinding":"Alt+ArrowUp"},"global-navigation:go-to-dashboard":{"name":"Go to dashboard","description":"Navigate to the main dashboard","defaultBinding":"g d"},"global-navigation:go-to-issues":{"name":"Go to your issues","description":"Navigate to your issues dashboard page","defaultBinding":"g i"},"global-navigation:go-to-notifications":{"name":"Go to notifications","description":"Navigate to the notifications page","defaultBinding":"g n"},"global-navigation:go-to-pull-requests":{"name":"Go to your pull requests","description":"Navigate to your pull requests dashboard page","defaultBinding":"g p"},"global-navigation:go-to-repositories":{"name":"Go to your repositories","description":"Navigate to your repositories dashboard page"},"global-navigation:open-repo-picker":{"name":"Open repository switcher","description":"Open the repository switcher to navigate between repositories","defaultBinding":"Alt+Shift+R"},"global-navigation:search":{"name":"Open search bar","description":"Opens and focus the search experience","defaultBinding":"/,s"},"global-navigation:show-shortcuts-dialog":{"name":"Show keyboard shortcuts dialog","description":"Display the keyboard shortcuts help dialog","defaultBinding":"Shift+?"},"issue-body:open-copilot-panel":{"name":"Open Write with Copilot panel","description":"Open the Copilot panel to generate an issue description","defaultBinding":"Mod+Shift+C","featureFlag":"write_issue_body_with_copilot"},"issue-create:edit-parent":{"name":"Add or change parent issue","description":"Open picker to add or change the parent issue","defaultBinding":"Alt+Shift+P","featureFlag":"issue_create_relationships"},"issue-create:mark-blocked-by":{"name":"Add or change blocked by","description":"Add or change an issue that blocks the current issue","defaultBinding":"b b","featureFlag":"issue_create_relationships"},"issue-create:mark-blocking":{"name":"Add or change blocking","description":"Add or change an issue that is blocked by the current issue","defaultBinding":"b x","featureFlag":"issue_create_relationships"},"issue-create:new":{"name":"Create issue","description":"Open the new issue creation flow","defaultBinding":"c"},"issue-create:open-copilot-panel":{"name":"Open Write with Copilot panel","description":"Open the Copilot panel to generate an issue description","defaultBinding":"Mod+Shift+C","featureFlag":"write_issue_body_with_copilot"},"issue-create:open-fullscreen":{"name":"Open issue creation in fullscreen","description":"Open the issue creation dialog in fullscreen mode","defaultBinding":"Mod+Shift+Enter"},"issue-create:submit-and-create-more":{"name":"Submit and create more","description":"Submit the current issue and create a new one","defaultBinding":"Mod+Alt+Enter"},"issue-viewer:close-edit-title":{"name":"Cancel","description":"Cancel out of editing an issue\'s title","defaultBinding":"Escape"},"issue-viewer:edit-parent":{"name":"Edit parent issue","description":"Change the parent issue","defaultBinding":"Alt+Shift+P"},"issue-viewer:edit-security-alert":{"name":"Add or change security alert","description":"Add or change a security alert related to the current issue","featureFlag":"code_scanning_alert_tracking_links_phase_2"},"issue-viewer:edit-title-submit":{"name":"Save","description":"Submit changes made to an issue\'s title","defaultBinding":"Enter"},"issue-viewer:mark-blocked-by":{"name":"Add or change blocked by","description":"Add or change an issue that blocks the current issue","defaultBinding":"b b"},"issue-viewer:mark-blocking":{"name":"Add or change blocking","description":"Add or change an issue that is blocked by the current issue","defaultBinding":"b x"},"issues-react:focus-next-issue":{"name":"Focus next issue","description":"Move focus to the next issue in the list, or the first if none are focused","defaultBinding":"j"},"issues-react:focus-previous-issue":{"name":"Focus previous issue","description":"Move focus to the previous issue in the list","defaultBinding":"k"},"item-pickers:open-assignees":{"name":"Open assignees panel","description":"Open panel to select assignees","defaultBinding":"a"},"item-pickers:open-author":{"name":"Open author panel","description":"Open panel to select author","defaultBinding":"u"},"item-pickers:open-development":{"name":"Open development panel","description":"Open panel to create or link a pull request","defaultBinding":"d"},"item-pickers:open-fields":{"name":"Open fields panel","description":"Open panel to select custom fields","defaultBinding":"f"},"item-pickers:open-issue-type":{"name":"Open issue type panel","description":"Open panel to select issue type","defaultBinding":"t"},"item-pickers:open-labels":{"name":"Open labels panel","description":"Open panel to select labels","defaultBinding":"l"},"item-pickers:open-milestone":{"name":"Open milestone panel","description":"Open panel to select milestone","defaultBinding":"m"},"item-pickers:open-projects":{"name":"Open projects panel","description":"Open panel to select projects","defaultBinding":"p"},"list-view-items-issues-prs:open-focused-item":{"name":"Open focused item","description":"Open the currently focused item","defaultBinding":"o"},"list-view-items-issues-prs:toggle-focused-item-selection":{"name":"Toggle focused item selection","description":"Toggle the selection state of the currently focused item for bulk actions","defaultBinding":"x"},"list-views:open-manage-item-dialog":{"name":"Open manage item dialog","defaultBinding":"Mod+Shift+U","description":"Open a dialog to manage the currently focused item"},"projects:save-form":{"name":"Save","description":"Submit the currently focused form","defaultBinding":"Mod+Enter"},"projects:save-view":{"name":"Save view","description":"Save any unsaved changes to the current project view","defaultBinding":"Mod+s"},"pull-request-files-changed:collapse-expand-comments":{"name":"Toggle comments","description":"Toggle between collapsed and expanded comments","defaultBinding":"i"},"pull-request-files-changed:focus-file-tree-filter":{"name":"Focus file tree filter","description":"Open the file tree and focus the filter input","defaultBinding":"t"},"pull-request-files-changed:go-to-next-commit":{"name":"Go to next commit","description":"Navigate to the next commit in the commit range","defaultBinding":"n"},"pull-request-files-changed:go-to-previous-commit":{"name":"Go to previous commit","description":"Navigate to the previous commit in the commit range","defaultBinding":"p"},"pull-request-files-changed:open-commits-list":{"name":"Open commit selector","description":"Open the commit selector dialog","defaultBinding":"c"},"pull-request-files-changed:submit-review":{"name":"Submit review","description":"Submit the current review","defaultBinding":"Mod+Enter"},"pull-requests-conversations:submit-comment-and-review":{"name":"Submit comment and review","description":"Submit the new comment and any pending review comments","defaultBinding":"Mod+Shift+Enter"},"pull-requests-diff-file-tree:focus-file-tree":{"name":"Focus file tree","description":"Move focus to the file tree","defaultBinding":"Mod+F6"},"pull-requests-diff-view:close-find":{"name":"Close find","description":"Close the find widget","defaultBinding":"Escape"},"pull-requests-diff-view:copy-anchor-link":{"name":"Copy link","description":"Copy link to the current line","defaultBinding":"Mod+Alt+y"},"pull-requests-diff-view:copy-code":{"name":"Copy","description":"Copy the code for the current line(s)","defaultBinding":"Mod+c"},"pull-requests-diff-view:jump-to-next-result":{"name":"Jump to next result","description":"Move to the next search result","defaultBinding":"Enter"},"pull-requests-diff-view:jump-to-next-result-alternate":{"name":"Jump to next result","description":"Move to the next search result","defaultBinding":"Mod+g"},"pull-requests-diff-view:jump-to-previous-result":{"name":"Jump to previous result","description":"Move to the previous search result","defaultBinding":"Shift+Enter"},"pull-requests-diff-view:jump-to-previous-result-alternate":{"name":"Jump to previous result","description":"Move to the previous search result","defaultBinding":"Mod+Shift+G"},"pull-requests-diff-view:open-find":{"name":"Open find","description":"Open the find widget","defaultBinding":"Mod+f"},"pull-requests-diff-view:quote-reply":{"name":"Quote reply","description":"Reply to a comment with quoted text","defaultBinding":"r"},"pull-requests-diff-view:start-conversation-current":{"name":"Add comment on line","description":"Add a comment on the current line"},"pull-requests-diff-view:submit-comment-and-review":{"name":"Submit comment and review","description":"Submit the new comment and any pending review comments","defaultBinding":"Mod+Shift+Enter"},"react-sandbox:example-command":{"name":"React Sandbox example command","description":"Do something","defaultBinding":"Mod+Shift+Enter"},"repositories:go-to-actions":{"name":"Go to actions","description":"Navigate to the current repository\'s actions tab","defaultBinding":"g a"},"repositories:go-to-agents":{"name":"Go to agents","description":"Navigate to the current repository\'s AI agents tab","defaultBinding":"g e"},"repositories:go-to-code":{"name":"Go to code","description":"Navigate to the current repository\'s code tab","defaultBinding":"g c"},"repositories:go-to-discussions":{"name":"Go to discussions","description":"Navigate to the current repository\'s discussions tab","defaultBinding":"g g"},"repositories:go-to-insights":{"name":"Go to insights","description":"Navigate to the current repository\'s insights tab"},"repositories:go-to-issues":{"name":"Go to issues","description":"Navigate to the current repository\'s issues tab","defaultBinding":"g i"},"repositories:go-to-models":{"name":"Go to models","description":"Navigate to the current repository\'s AI models tab","defaultBinding":"g m"},"repositories:go-to-projects":{"name":"Go to projects","description":"Navigate to the current repository\'s projects tab","defaultBinding":"g b"},"repositories:go-to-pull-requests":{"name":"Go to pull requests","description":"Navigate to the current repository\'s pull requests tab","defaultBinding":"g p"},"repositories:go-to-security":{"name":"Go to security","description":"Navigate to the current repository\'s security tab","defaultBinding":"g s"},"repositories:go-to-settings":{"name":"Go to settings","description":"Navigate to the current repository\'s settings tab"},"repositories:go-to-wiki":{"name":"Go to wiki","description":"Navigate to the current repository\'s wiki tab","defaultBinding":"g w"},"repository-label:cancel-save-label":{"name":"Cancel","description":"Cancel out of editing a label","defaultBinding":"Escape"},"repository-label:save-label-submit":{"name":"Create label","description":"Submit changes made to a label","defaultBinding":"Mod+Enter"},"sub-issues:add-existing-issue":{"name":"Add existing issue","description":"Add an existing issue as a sub-issue","defaultBinding":"Alt+Shift+A"},"sub-issues:create-sub-issue":{"name":"Create sub-issue","description":"Create a new sub-issue","defaultBinding":"Alt+Shift+C"},"ui-commands:conflicting-chord":{"name":"Conflicting Chord","description":"This is just a test chord to test when there is a conflict","defaultBinding":"Control+Shift+Enter"},"ui-commands:flagged-command":{"name":"Flagged command","description":"This command is flagged","defaultBinding":"a","featureFlag":"test_feature"},"ui-commands:modifier-sequence":{"name":"Modifier sequence","description":"This is just a test sequence for unit testing purposes","defaultBinding":"Mod+g Mod+q"},"ui-commands:single-key":{"name":"Single-key","description":"This is test command for a single-key keybinding","defaultBinding":"a"},"ui-commands:test-chord":{"name":"Test chord","description":"This is just a test chord for unit testing purposes","defaultBinding":"Control+Shift+Enter"},"ui-commands:test-sequence":{"name":"Test sequence","description":"This is just a test sequence for unit testing purposes","defaultBinding":"g q"},"workspace-editor:escape-editor":{"name":"Move focus out of editor","description":"Move focus out of the editor to other elements","defaultBinding":"Mod+m"},"workspace-editor:escape-editor--mac":{"name":"Move focus out of editor","description":"Move focus out of the editor to other elements","defaultBinding":"Alt+Tab"},"workspace-editor:toggle-file-tree-pane":{"name":"Toggle file tree pane","description":"Show or hide the file tree pane","defaultBinding":"Mod+b"}}}'),r=new Set(Object.keys(s)),d={is:e=>r.has(e),getServiceId:e=>e.split(":")[0]},l=e=>{let t=s[e];return!t?.featureFlag||(0,n.G7)(t.featureFlag)?t:void 0},c=e=>a[e],u=e=>{let t=l(e);return t?.defaultBinding?(0,o.SK)(t.defaultBinding).map(o.rd):[]},m=e=>u(e)[0],p=e=>{let t=[];for(let i of e)for(let e of u(i))t.push([i,e]);return t}},86733(e,t,i){i.d(t,{N:()=>r});var n=i(74848),o=i(26108),s=i(69807),a=i(58856);let r=({ref:e,commandId:t,"aria-label":i,onClick:r,icon:d,...l})=>{let c=(0,s.fL)(t),{triggerCommand:u}=(0,a.j)();return c?(0,n.jsx)(o.K,{"aria-label":i??c.name,onClick:e=>{r?.(e),e.defaultPrevented||u(t,e.nativeEvent)},icon:d,ref:e,keybindingHint:(0,s.LU)(t),...l}):null};r.displayName="CommandIconButton",r.displayName="CommandIconButton"},26458(e,t,i){i.d(t,{a:()=>f,b:()=>p});var n=i(74848),o=i(96540),s=i(47314),a=i(8204),r=i(3795),d=i(92187),l=i(66286),c=i(36251);class u extends Event{commandId;domEvent;constructor(e,t){super(m),this.commandId=e,this.domEvent=t}}let m="ui-command-trigger";function p(e,t){document.dispatchEvent(new u(e,t))}let f=({commands:e})=>{let t=(0,o.useRef)(null),i=(0,o.useCallback)((i,n)=>{if(n instanceof KeyboardEvent){let e=(0,c.ck)();if(e&&!(0,c.Yq)(e,t.current))return!1}let o=e[i];if(!o)return!1;{let e=new s.k(i);try{o(e)}finally{(0,r.T)(e,n)}}},[e]),p=(0,o.useEffectEvent)(i),f=(0,o.useEffectEvent)((0,l.k)(s.J.keys(e),i));return(0,d.A)("global",e),(0,a.J)(e),(0,o.useEffect)(()=>{let e=e=>{if(!(e instanceof u))return;let{commandId:t,domEvent:i}=e;p(t,i)};return document.addEventListener("keydown",f),document.addEventListener(m,e),()=>{document.removeEventListener("keydown",f),document.removeEventListener(m,e)}},[]),(0,n.jsx)("div",{ref:t,className:"d-none"})};f.displayName="GlobalCommands"},3795(e,t,i){i.d(t,{T:()=>a});var n=i(66743),o=i(69807);let s={TYPE:"command.trigger",send(e){(0,n.BI)(s.TYPE,e)}};function a(e,t){var i;let n,a;s.send({app_name:"ui-commands",command_id:e.commandId,trigger_type:t instanceof KeyboardEvent?"keybinding":"click",target_element_html:t.target instanceof HTMLElement?(n=(i=t.target).tagName.toLowerCase(),a=Array.from(i.attributes).map(e=>`${e.name}="${e.value.replaceAll('"','\\"')}"`).join(" "),`<${n}${a?` ${a}`:""}>`):void 0,keybinding:(0,o.LU)(e.commandId)})}},70887(e,t,i){i.d(t,{N5:()=>g.N,eY:()=>o.eY,LU:()=>o.LU,cQ:()=>f,tL:()=>E,hh:()=>c,ak:()=>h.a,Vr:()=>u});var n=i(47314),o=i(69807),s=i(74848),a=i(16522),r=i(18990),d=i(58856),l=i(79076);let c=e=>{let t,i,n,r,d=(0,a.c)(8);d[0]!==e?({commandId:t,...i}=e,d[0]=e,d[1]=t,d[2]=i):(t=d[1],i=d[2]),d[3]!==t?(n=(0,o.LU)(t),d[3]=t,d[4]=n):n=d[4];let c=n;return d[5]!==c||d[6]!==i?(r=c?(0,s.jsx)(l.U,{keys:c,...i}):null,d[5]=c,d[6]=i,d[7]=r):r=d[7],r};c.displayName="CommandKeybindingHint";let u=e=>{let t,i,n,l,u,m,p,f,g,h,v,w,b,y=(0,a.c)(29);y[0]!==e?({commandId:i,children:t,description:n,leadingVisual:u,trailingVisual:m,...l}=e,y[0]=e,y[1]=t,y[2]=i,y[3]=n,y[4]=l,y[5]=u,y[6]=m):(t=y[1],i=y[2],n=y[3],l=y[4],u=y[5],m=y[6]),y[7]!==i?(p=(0,o.fL)(i),y[7]=i,y[8]=p):p=y[8];let k=p,{triggerCommand:B}=(0,d.j)();return k?(y[9]!==i||y[10]!==B?(f=e=>B(i,e.nativeEvent),y[9]=i,y[10]=B,y[11]=f):f=y[11],y[12]!==t||y[13]!==k?(g=t??(0,s.jsx)("span",{children:k.name}),y[12]=t,y[13]=k,y[14]=g):g=y[14],y[15]!==n?(h=n?(0,s.jsx)(r.l.Description,{truncate:!0,children:n}):null,y[15]=n,y[16]=h):h=y[16],y[17]!==u?(v=u?(0,s.jsx)(r.l.LeadingVisual,{children:u}):null,y[17]=u,y[18]=v):v=y[18],y[19]!==i||y[20]!==m?(w=null!==m&&(0,s.jsxs)(r.l.TrailingVisual,{children:[(0,s.jsx)("span",{className:"sr-only",children:"("}),m??(0,s.jsx)(c,{commandId:i,format:"condensed"}),(0,s.jsx)("span",{className:"sr-only",children:")"})]}),y[19]=i,y[20]=m,y[21]=w):w=y[21],y[22]!==l||y[23]!==f||y[24]!==g||y[25]!==h||y[26]!==v||y[27]!==w?(b=(0,s.jsxs)(r.l.Item,{...l,onSelect:f,children:[g,h,v,w]}),y[22]=l,y[23]=f,y[24]=g,y[25]=h,y[26]=v,y[27]=w,y[28]=b):b=y[28],b):null};u.displayName="CommandActionListItem",u.displayName="ActionList.CommandItem";var m=i(21373);let p=e=>{let t,i,n,o,r=(0,a.c)(6),{commandId:d}=e;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsx)("span",{className:"sr-only",children:"("}),r[0]=t):t=r[0],r[1]!==d?(i=(0,s.jsx)(c,{commandId:d,format:"condensed"}),r[1]=d,r[2]=i):i=r[2],r[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,s.jsx)("span",{className:"sr-only",children:")"}),r[3]=n):n=r[3],r[4]!==i?(o=(0,s.jsxs)(s.Fragment,{children:[t,i,n]}),r[4]=i,r[5]=o):o=r[5],o};p.displayName="ButtonKeybindingHint";let f=e=>{let t,i,n,r,l,c,u,f,g,h,v,w=(0,a.c)(24);w[0]!==e?({ref:l,commandId:i,children:t,trailingVisual:u,showKeybindingHint:c,onClick:n,...r}=e,w[0]=e,w[1]=t,w[2]=i,w[3]=n,w[4]=r,w[5]=l,w[6]=c,w[7]=u):(t=w[1],i=w[2],n=w[3],r=w[4],l=w[5],c=w[6],u=w[7]);let b=void 0!==c&&c;w[8]!==i?(f=(0,o.fL)(i),w[8]=i,w[9]=f):f=w[9];let y=f,{triggerCommand:k}=(0,d.j)();if(!y)return null;w[10]!==i||w[11]!==n||w[12]!==k?(g=e=>{n?.(e),e.defaultPrevented||k(i,e.nativeEvent)},w[10]=i,w[11]=n,w[12]=k,w[13]=g):g=w[13],w[14]!==i||w[15]!==b||w[16]!==u?(h=u??(b?(0,s.jsx)(p,{commandId:i}):void 0),w[14]=i,w[15]=b,w[16]=u,w[17]=h):h=w[17];let B=t??y.name;return w[18]!==r||w[19]!==l||w[20]!==g||w[21]!==h||w[22]!==B?(v=(0,s.jsx)(m.Q,{...r,onClick:g,trailingVisual:h,ref:l,children:B}),w[18]=r,w[19]=l,w[20]=g,w[21]=h,w[22]=B,w[23]=v):v=w[23],v};f.displayName="CommandButton",f.displayName="CommandButton";var g=i(86733),h=i(26458),v=i(4485),w=i(53449),b=i(21513),y=i(96540),k=i(8204),B=i(3795),S=i(92187),C=i(66286);let x=new Map,M=({ref:e,commands:t,...i})=>{let o=(0,w.M)(t),a=(0,d.j)(),r=(0,y.useCallback)((e,t,i=!1)=>{let s=o.current[e];if(!s)return a.triggerCommand(e,t,i);{let i=new n.k(e);try{s(i)}finally{(0,B.T)(i,t)}}},[o,a]);(0,S.A)("scoped",t),(0,k.J)(t);let[l,c]=(0,y.useState)(x),u=(0,y.useCallback)((e,t)=>c(i=>{let n=i.get(e);return t.length===n?.length&&t.every((e,t)=>n[t]===e)?i:new Map([...i,[e,t]])}),[]),m=(0,y.useMemo)(()=>{let e=new Set(Array.from(l.values()).flat());return n.J.keys(t).filter(i=>void 0!==t[i]&&!e.has(i))},[t,l]),p=(0,y.useMemo)(()=>({triggerCommand:r,registerLimitedKeybindingScope:u}),[r,u]);return(0,s.jsx)(d.F,{value:p,children:(0,s.jsx)(q,{commandIds:m,...i,ref:e})})};M.displayName="ScopedCommands";let q=e=>{let t,i,n,o,r,l,c,u,m,p,f,g,h=(0,a.c)(23);h[0]!==e?({ref:n,commandIds:i,as:t,limited:r,triggerOnDefaultPrevented:l,...o}=e,h[0]=e,h[1]=t,h[2]=i,h[3]=n,h[4]=o,h[5]=r,h[6]=l):(t=h[1],i=h[2],n=h[3],o=h[4],r=h[5],l=h[6]);let w=void 0!==r&&r,k=(0,d.j)();h[7]!==w||h[8]!==k?(c=(e,t)=>k.triggerCommand(e,t,w),h[7]=w,h[8]=k,h[9]=c):c=h[9];let B=c;h[10]!==l?(u={triggerOnDefaultPrevented:l},h[10]=l,h[11]=u):u=h[11];let S=(0,C.k)(i,B,u),x=(0,v._)(S),M=(0,y.useRef)(null);(0,b.T)(n??null,M);let q=(0,y.useEffectEvent)(x.onKeyDown);h[12]!==q?(m=()=>{let e=M.current;if(e)return e.addEventListener("keydown",q),()=>e.removeEventListener("keydown",q)},h[12]=q,h[13]=m):m=h[13],h[14]===Symbol.for("react.memo_cache_sentinel")?(p=[],h[14]=p):p=h[14],(0,y.useEffect)(m,p),h[15]!==t||h[16]!==o?(f=void 0!==t||void 0!==o.className?void 0:{display:"contents"},h[15]=t,h[16]=o,h[17]=f):f=h[17];let O=f,E=t??"div";return h[18]!==E||h[19]!==x||h[20]!==o||h[21]!==O?(g=(0,s.jsx)(E,{style:O,...o,...x,ref:M}),h[18]=E,h[19]=x,h[20]=o,h[21]=O,h[22]=g):g=h[22],g};q.displayName="KeyboardScope";let O=e=>{let t,i,n,o,r,l,c,u,m=(0,a.c)(17);m[0]!==e?({ref:i,commandIds:t,...n}=e,m[0]=e,m[1]=t,m[2]=i,m[3]=n):(t=m[1],i=m[2],n=m[3]);let p=(0,d.j)(),f=(0,y.useId)();return m[4]!==t||m[5]!==p||m[6]!==f?(o=()=>p.registerLimitedKeybindingScope(f,t),r=[p,t,f],m[4]=t,m[5]=p,m[6]=f,m[7]=o,m[8]=r):(o=m[7],r=m[8]),(0,y.useEffect)(o,r),m[9]!==p||m[10]!==f?(l=()=>()=>p.registerLimitedKeybindingScope(f,[]),c=[p,f],m[9]=p,m[10]=f,m[11]=l,m[12]=c):(l=m[11],c=m[12]),(0,y.useEffect)(l,c),m[13]!==t||m[14]!==i||m[15]!==n?(u=(0,s.jsx)(q,{limited:!0,commandIds:t,...n,ref:i}),m[13]=t,m[14]=i,m[15]=n,m[16]=u):u=m[16],u};O.displayName="LimitKeybindingScope";let E=Object.assign(M,{LimitKeybindingScope:O})},92187(e,t,i){i.d(t,{A:()=>l});var n=i(16522),o=i(96540),s=i(47314),a=i(69807),r=i(36251);let d=new Map;function l(e,t){let i,l,c,u=(0,n.c)(5);u[0]===Symbol.for("react.memo_cache_sentinel")?(i=new Map,u[0]=i):i=u[0];let m=i,p="global"===e?d:m;u[1]!==t||u[2]!==p?(l=()=>{for(let[e,i]of(0,a.hq)(s.J.keys(t))){let t=p.get(i)?.filter(t=>t!==e)??[];t.length&&console.warn(`The keybinding (${i}) for the "${e}" command conflicts with the keybinding for the already-registered command(s) "${t.join(", ")}". This may result in unpredictable behavior.`),p.set(i,t.concat(e))}return()=>{for(let[e,i]of(0,a.hq)(s.J.keys(t))){let t=(0,r.CV)(p.get(i)??[],e);t?.length?p.set(i,t):p.delete(i)}}},c=[t,p],u[1]=t,u[2]=p,u[3]=l,u[4]=c):(l=u[3],c=u[4]),(0,o.useEffect)(l,c)}},66286(e,t,i){i.d(t,{k:()=>l});var n=i(16522),o=i(98795),s=i(39423),a=i(96540),r=i(69807),d=i(36251);function l(e,t,i){let l,c,u,m,p=(0,n.c)(9);p[0]!==i?(l=void 0===i?{}:i,p[0]=i,p[1]=l):l=p[1];let{triggerOnDefaultPrevented:f}=l,g=void 0!==f&&f;p[2]===Symbol.for("react.memo_cache_sentinel")?(c=new o.KK,p[2]=c):c=p[2];let h=c;if(p[3]!==e){for(let[t,i]of(u=new Map,(0,r.hq)(e)))u.set(i,t);p[3]=e,p[4]=u}else u=p[4];let v=u,w=(0,a.useRef)(null);return p[5]!==v||p[6]!==t||p[7]!==g?(m=e=>{let i,n="nativeEvent"in e?e.nativeEvent:e;if((g||!n.defaultPrevented)&&w.current!==n){if(w.current=n,!(0,s.$$)(n))return void h.reset();for(let e of(h.registerKeypress(n),(0,d.P0)(h.sequence)))if(i=v.get(e))break;!i||(t(i,n)??!0)&&(h.reset(),e.preventDefault(),e.stopPropagation(),n.stopImmediatePropagation())}},p[5]=v,p[6]=t,p[7]=g,p[8]=m):m=p[8],m}},36251(e,t,i){function n(e,t){let i=!1;return e.filter(e=>e!==t||!!i||(i=!0,!1))}function o(){let e=[...document.querySelectorAll('dialog:modal, [role="dialog"][aria-modal="true"]')].filter(e=>e.childNodes.length>0&&function e(t){if(t.clientHeight>0)return!0;for(let i of t.children)if(e(i))return!0;return!1}(e));return e.length?e[e.length-1]:null}function s(e,t){return!!t&&(e.contains(t)??!1)}function a(e){let t=e.split(" "),i=[];for(;t.length>=1;)i.push(t.join(" ")),t.shift();return i}i.d(t,{CV:()=>n,P0:()=>a,Yq:()=>s,ck:()=>o})},4485(e,t,i){i.d(t,{_:()=>r});var n=i(16522),o=i(63429),s=i(96540);let a=new Set(["enter","tab"]),r=e=>{let t,i,r,d=(0,n.c)(5),l=(0,s.useRef)(!1);d[0]===Symbol.for("react.memo_cache_sentinel")?(t=e=>{"compositionstart"===e.type&&(l.current=!0),"compositionend"===e.type&&(l.current=!1)},d[0]=t):t=d[0];let c=t;d[1]!==e?(i=t=>{let i=t.nativeEvent,n=i&&"isComposing"in i&&i.isComposing,s="Process"===t.key;if((0,o.U0)()&&229===t.keyCode)return;let r=l.current||n||s;a.has(t.key.toLowerCase())&&r||e(t)},d[1]=e,d[2]=i):i=d[2];let u=i;return d[3]!==u?(r={onCompositionStart:c,onCompositionEnd:c,onKeyDown:u},d[3]=u,d[4]=r):r=d[4],r}},53449(e,t,i){i.d(t,{M:()=>s});var n=i(16522),o=i(96540);function s(e){let t,i,s=(0,n.c)(3),a=(0,o.useRef)(e);return s[0]!==e?(t=()=>{a.current=e},i=[e],s[0]=e,s[1]=t,s[2]=i):(t=s[1],i=s[2]),(0,o.useLayoutEffect)(t,i),a}}}]); //# sourceMappingURL=59852-fce64b550433e072-40fa25bfead5616e.js.map