TvBox/all/lib/keyboard-shortcuts-dialog-b3dd4b1cb532.js

2 lines
27 KiB
JavaScript
Raw Permalink Normal View History

2025-07-03 20:15:22 +08:00
"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["keyboard-shortcuts-dialog","vendors-node_modules_github_catalyst_lib_index_js-node_modules_github_hydro-analytics-client_-4da1df"],{78924:(e,t,n)=>{n.d(t,{I:()=>r});let r=(0,n(96540).createContext)(null)},52811:(e,t,n)=>{n.d(t,{C:()=>a,i:()=>s});var r=n(96679),o=n(27851),i=n(46493);function a(e,t){(0,o.G7)("arianotify_comprehensive_migration")?s(l(e),{...t,element:t?.element??e}):(0,o.G7)("primer_live_region_element")&&t?.element===void 0?(0,i.Cj)(e,{politeness:t?.assertive?"assertive":"polite"}):s(l(e),t)}function s(e,t){let{assertive:n,element:a}=t??{};(0,o.G7)("arianotify_comprehensive_migration")&&"ariaNotify"in Element.prototype?(a||document.body).ariaNotify(e):(0,o.G7)("primer_live_region_element")&&void 0===a?(0,i.iP)(e,{politeness:n?"assertive":"polite"}):function(e,t,n){let o=n??r.XC?.querySelector(t?"#js-global-screen-reader-notice-assertive":"#js-global-screen-reader-notice");o&&(o.textContent===e?o.textContent=`${e}\u00A0`:o.textContent=e)}(e,n,a)}function l(e){return(e.getAttribute("aria-label")||e.innerText||"").trim()}},53005:(e,t,n)=>{n.d(t,{O:()=>a,S:()=>i});var r=n(96679);let o=r.cg?.document?.head?.querySelector('meta[name="release"]')?.content||"",i="X-GitHub-Client-Version";function a(){return o}},39627:(e,t,n)=>{n.d(t,{D:()=>i,Y:()=>a});var r=n(52811),o=n(96679);function i(e){if(!o.XC)return;let t=o.XC.querySelector("title"),n=o.XC.createElement("title");n.textContent=e,t?t.textContent!==e&&(t.replaceWith(n),(0,r.i)(e)):(o.XC.head.appendChild(n),(0,r.i)(e))}function a(e){return document.body.classList.contains("logged-out")?`${e} \xb7 GitHub`:e}},26559:(e,t,n)=>{n.d(t,{jC:()=>l,kt:()=>a,tV:()=>s});var r=n(53005),o=n(27851),i=n(88191);function a(e){let t={"X-Requested-With":"XMLHttpRequest",...(0,i.wE)(e)};return(0,o.G7)("client_version_header")&&(t={...t,[r.S]:(0,r.O)()}),t}function s(e,t){for(let[n,r]of Object.entries(a(t)))e.set(n,r)}function l(e){return{"X-GitHub-App-Type":e}}},88191:(e,t,n)=>{n.d(t,{$r:()=>a,M1:()=>s,li:()=>o,pS:()=>c,wE:()=>l});var r=n(96679);let o="X-Fetch-Nonce",i=new Set;function a(e){i.add(e)}function s(){return i.values().next().value||""}function l(e){let t={};return void 0!==e&&(t["X-Fetch-Nonce-To-Validate"]=e),void 0===e?t[o]=s():i.has(e)?t[o]=e:t[o]=Array.from(i).join(","),t}function c(){let e=r.XC?.head?.querySelector('meta[name="fetch-nonce"]')?.content||"";e&&a(e)}},38007:(e,t,n)=>{let r;n.d(t,{BI:()=>f,Ti:()=>p,lA:()=>h,sX:()=>m});var o=n(70837),i=n(18679),a=n(85351),s=n(7479);let{getItem:l}=(0,a.A)("localStorage"),c="dimension_",d=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];try{let e=(0,o.O)("octolytics");delete e.baseContext,r=new i.s(e)}catch{}function u(e){let t=(0,o.O)("octolytics").baseContext||{};if(t)for(let[e,n]of(delete t.app_id,delete t.event_url,delete t.host,Object.entries(t)))e.startsWith(c)&&(t[e.replace(c,"")]=n,delete t[e]);let n=document.querySelector("meta[name=visitor-payload]");for(let[e,r]of(n&&Object.assign(t,JSON.parse(atob(n.content))),new URLSearchParams(window.location.search)))d.includes(e.toLowerCase())&&(t[e]=r);return t.staff=(0,s.X)().toString(),Object.assign(t,e)}function h(e){r?.sendPageView(u(e))}function m(){return document.head?.querySelector('meta[name="current-catalog-service"]')?.content}function f(e,t={}){let n=m(),o=n?{service:n}:{};for(let[e,n]of Object.entries(t))null!=n&&(o[e]=`${n}`);r&&(u(o),r.sendEvent(e||"unknown",u(o)))}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,JSON.stringify(t)]))}},53442:(e,t,n)=>{var r=n(52497),o=n(74848),i=n(96540),a=n(42080),s=n(63867),l=n(55847),c=n(2724),d=n(96339);let u={ShortcutsGroupContainer:"ShortcutsGroupList-module__ShortcutsGroupContainer--joTOo",ShortcutsGroupHeader:"ShortcutsGroupList-module__ShortcutsGroupHeader--zr2Wb",ShortcutsList:"ShortcutsGroupList-module__ShortcutsList--B_HHQ",ShortcutItem:"ShortcutsGroupList-module__ShortcutItem--QB_cf",KeybindingContainer:"ShortcutsGroupList-module__KeybindingContainer--f21bV"};function h({group:{servic
//# sourceMappingURL=keyboard-shortcuts-dialog-88d2af820c04.js.map