티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[14155],{6923:(e,t,o)=>{o.d(t,{KJ:()=>i,X3:()=>a,g5:()=>r});var n=o(56038);let a=void 0===n.XC,i=!a;function r(){return!!a||!n.XC||!!(n.XC.querySelector(‘react-app[data-ssr=”true”]’)||n.XC.querySelector(‘react-partial[data-ssr=”true”][partial-name=”repos-overview”]’))}},14155:(e,t,o)=>{o.d(t,{h:()=>GetRepoElement});var n=o(50467),a=o(31635),i=o(39595),r=o(92454),s=o(82075),d=o(52738);let{getItem:l,setItem:c}=(0,s.A)(“localStorage”),u=”code-button-default-tab”;let GetRepoElement=class GetRepoElement extends HTMLElement{showDownloadMessage(){let e=this.findPlatform();e&&this.showPlatform(e)}showCodespaces(){let e=this.findPlatform();e&&(this.showPlatform(e),this.loadAndUpdateContent())}showCodespaceSelector(){let e=this.findPlatform();e&&(this.showPlatform(e),this.codespaceSelector&&(this.codespaceSelector.hidden=!1))}showOpenOrCreateInCodespace(){this.openOrCreateInCodespace&&(this.openOrCreateInCodespace.hidden=!1)}removeOpenOrCreateInCodespace(){this.openOrCreateInCodespace&&this.openOrCreateInCodespace.remove()}refreshList(){this.shouldRefreshList&&(this.shouldRefreshList=!1,this.loadAndUpdateContent())}trackDelete(){this.shouldRefreshList=!0}hideSpinner(){this.codespaceLoadingMenu&&(this.codespaceLoadingMenu.hidden=!0),this.codespaceList&&(this.codespaceList.hidden=!1)}showSpinner(){this.codespaceLoadingMenu&&(this.codespaceLoadingMenu.hidden=!1),this.codespaceList&&(this.codespaceList.hidden=!0)}onDetailsToggle(e){for(let e of(this.modal.hidden=!1,this.platforms))e.hidden=!0;let t=e.target;if(t&&t.open){!this.hasForcedCodespaceTabDefault&&this.forceCodespaceTabDefault?(this.hasForcedCodespaceTabDefault=!0,this.selectDefaultTab(!0)):this.selectDefaultTab(!1);let e=this.copilotTip;e&&(0,d.$3)(e)}}onDetailsKeydown(e){if(“Escape”===e.key){this.modal.hidden=!0;let t=e.target;t?.closest(“details”)?.removeAttribute(“open”)}}showPlatform(e){for(let t of(this.modal.hidden=!0,this.platforms))t.hidden=t.getAttribute(“data-platform”)!==e}findPlatform(){return(0,r.u)()}refreshOnError(){window.location.reload()}pollForVscode(e){this.showPlatform(“vscode”);let t=e.currentTarget.getAttribute(“data-src”);if(t)try{let e=new URL(t,window.location.origin);[“http:”,”https:”,”vscode:”,”vscode-insiders:”].includes(e.protocol)&&this.vscodePoller.setAttribute(“src”,e.href)}catch(e){console.log(“Error polling for VsCode:”,e)}}backToCodespacesFromVscodePolling(){this.loadAndUpdateContent(),this.showPlatform(“codespaces”)}localTabSelected(){c(u,”local”)}cloudTabSelected(){c(u,”cloud”),this.codespaceList?.id===”lazyLoadedCodespacesList”&&this.loadAndUpdateContent()}copilotTabSelected(){c(u,”copilot”)}selectDefaultTab(e){let t=e?”cloud”:l(u);if(!t)return;let o=this.querySelector(`button[data-tab=”${t}”`);o&&o.click()}loadAndUpdateContent(){this.codespaceList?.setAttribute(“src”,this.codespaceList.getAttribute(“data-src”))}constructor(…e){super(…e),(0,n._)(this,”forceCodespaceTabDefault”,!1),(0,n._)(this,”shouldRefreshList”,!1),(0,n._)(this,”hasForcedCodespaceTabDefault”,!1)}};(0,a.Cg)([i.CF],GetRepoElement.prototype,”forceCodespaceTabDefault”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”modal”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”codespaceForm”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”codespaceLoadingMenu”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”codespaceList”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”codespaceSelector”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”openOrCreateInCodespace”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”vscodePoller”,void 0),(0,a.Cg)([i.zV],GetRepoElement.prototype,”platforms”,void 0),(0,a.Cg)([i.aC],GetRepoElement.prototype,”copilotTip”,void 0),GetRepoElement=(0,a.Cg)([i.p_],GetRepoElement)},21067:(e,t,o)=>{let n;function a(){let e=(void 0)??n;if(!e)throw Error(“Client env was requested before it was loaded. This likely means you are attempting to use client env at the module level in SSR, which is not supported. Please move your client env usage into a function.”);return e}function i(){return a().locale??”en-US”}function r(){return!!a().login}function s(){return a().login}if(o.d(t,{JK:()=>i,M3:()=>r,_$:()=>a,cj:()=>s}),”undefined”!=typeof document){let e=document.getElementById(“client-env”);if(e)try{n=JSON.parse(e.textContent||””)}catch(e){console.error(“Error parsing client-env”,e)}}},34095:(e,t,o)=>{o.d(t,{G:()=>a,K:()=>i});var n=o(71315);let a=n.XC?.readyState===”interactive”||n.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{n.XC?.addEventListener(“DOMContentLoaded”,()=>{e()})}),i=n.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{n.cg?.addEventListener(“load”,e)})},52738:(e,t,o)=>{o.d(t,{$3:()=>i,HV:()=>r,Vb:()=>a});var n=o(82518);function a(e,t,o){let a={hydroEventPayload:e,hydroEventHmac:t,visitorPayload:””,visitorHmac:””,hydroClientContext:o},i=document.querySelector(“meta[name=visitor-payload]”);i instanceof HTMLMetaElement&&(a.visitorPayload=i.content);let r=document.querySelector(“meta[name=visitor-hmac]”)||””;r instanceof HTMLMetaElement&&(a.visitorHmac=r.content),(0,n.iv)(a,!0)}function i(e){a(e.getAttribute(“data-hydro-view”)||””,e.getAttribute(“data-hydro-view-hmac”)||””,e.getAttribute(“data-hydro-client-context”)||””)}function r(e){a(e.getAttribute(“data-hydro-click-payload”)||””,e.getAttribute(“data-hydro-click-hmac”)||””,e.getAttribute(“data-hydro-client-context”)||””)}},56038:(e,t,o)=>{o.d(t,{Kn:()=>r,XC:()=>a,cg:()=>i,fV:()=>s});let n=”undefined”!=typeof FORCE_SERVER_ENV&&FORCE_SERVER_ENV,a=”undefined”==typeof document||n?void 0:document,i=”undefined”==typeof window||n?void 0:window,r=”undefined”==typeof history||n?void 0:history,s=”undefined”==typeof location||n?{pathname:””,origin:””,search:””,hash:””,href:””}:location},69599:(e,t,o)=>{o.d(t,{G7:()=>d,XY:()=>l,fQ:()=>s});var n=o(5225),a=o(21067);function i(){return new Set((0,a._$)().featureFlags)}let r=o(71315).X3||function(){try{return process?.env?.STORYBOOK===”true”}catch{return!1}}()?i:(0,n.A)(i);function s(){return Array.from(r())}function d(e){return r().has(e)}let l={isFeatureEnabled:d}},71315:(e,t,o)=>{o.d(t,{KJ:()=>n.KJ,Kn:()=>a.Kn,X3:()=>n.X3,XC:()=>a.XC,cg:()=>a.cg,fV:()=>a.fV,g5:()=>n.g5});var n=o(6923),a=o(56038)},82518:(e,t,o)=>{o.d(t,{Xl:()=>g,au:()=>u,iv:()=>p});var n=o(71315),a=o(34095),i=o(99223),r=o(69599),s=o(21067),d=o(70170);let l={PRS_COMMENT_BOX_INP:{name:”pull_requests.comment_box.inp”,hash:”070a85f091c124d118031ed374badf58df0cd9c2902f9aa4f9e09f6fdcbb91d0″,type:”distribution”},PULL_REQUESTS_FILES_JS_HEAP:{name:”pull_requests.files.js_heap”,hash:”7c5d986de8ccbfd17ae58e0da85158912cf65aeb256aecf28c35ddeb794cd2d3″,type:”distribution”}},c=[];function u({name:e,value:t,tags:o}){p({customMetric:{…l[e],value:t,tags:o},ui:”vite-tss”===i.v})}function p(e,t=!1,o=.5){if(!n.X3&&!0!==(0,r.G7)(“browser_stats_disabled”)){if(o<0||o>1)throw RangeError(“Sampling probability must be between 0 and 1”);void 0===e.timestamp&&(e.timestamp=Date.now()),e.loggedIn=(0,s.M3)(),e.staff=g(),e.bundler=i.v,e.ui=”vite-tss”===i.v,Math.random()JSON.stringify(e));for(;o.length>0;)t.push(function(e){let t=e.shift(),o=[t],n=t.length;for(;e.length>0&&n<=65536;){let t=e[0].length;if(n+t<=65536){let a=e.shift();o.push(a),n+=t}else break}return o}(o));return t}(c)){var t=e,o=`{"stats": [${a.join(",")}], "target": "${n.XC?.head?.querySelector('meta[name="ui-target"]')?.content||"full"}"}`;try{navigator.sendBeacon&&navigator.sendBeacon(t,o)}catch{}}c=[]}}function g(){return!!n.XC?.head?.querySelector('meta[name="user-staff"]')?.content}n.XC?.addEventListener("pagehide",m),n.XC?.addEventListener("visibilitychange",m)},92454:(e,t,o)=>{function n(){return/Windows/.test(navigator.userAgent)?”windows”:/Macintosh/.test(navigator.userAgent)?”mac”:null}o.d(t,{u:()=>n}),(0,o(21403).lB)(“.js-remove-unless-platform”,function(e){let t,o;t=(e.getAttribute(“data-platforms”)||””).split(“,”),(o=n())&&t.includes(o)||e.remove()})},99223:(e,t,o)=>{o.d(t,{k:()=>r,v:()=>s});var n=o(5225),a=o(71315);let i=(0,n.A)(function(){return a.XC?.head?.querySelector(‘meta[name=”runtime-environment”]’)?.content||””}),r=(0,n.A)(function(){return”enterprise”===i()}),s=”webpack-react-next”}}]); //# sourceMappingURL=14155-3cf259d58c5c.js.map