티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[“environment”],{5225:(e,t,n)=>{function r(…e){return JSON.stringify(e,(e,t)=>”object”==typeof t?t:String(t))}function o(e,t={}){let{hash:n=r,cache:a=new Map}=t;return function(…t){let r=n.apply(this,t);if(a.has(r))return a.get(r);let o=e.apply(this,t);return o instanceof Promise&&(o=o.catch(e=>{throw a.delete(r),e})),a.set(r,o),o}}n.d(t,{A:()=>o})},6923:(e,t,n)=>{n.d(t,{KJ:()=>a,X3:()=>o,g5:()=>i});var r=n(56038);let o=void 0===r.XC,a=!o;function i(){return!!o||!r.XC||!!(r.XC.querySelector(‘react-app[data-ssr=”true”]’)||r.XC.querySelector(‘react-partial[data-ssr=”true”][partial-name=”repos-overview”]’))}},11083:(e,t,n)=>{n.d(t,{X:()=>h,i:()=>l});var r=n(71315),o=n(34095),a=n(99223),i=n(69599),c=n(21067),u=n(70170);let s=[];function l(e,t=!1,n=.5){if(!r.X3&&!0!==(0,i.G7)(“browser_stats_disabled”)){if(n<0||n>1)throw RangeError(“Sampling probability must be between 0 and 1”);void 0===e.timestamp&&(e.timestamp=Date.now()),e.loggedIn=(0,c.M3)(),e.staff=h(),e.bundler=a.v,Math.random()JSON.stringify(e));for(;n.length>0;)t.push(function(e){let t=e.shift(),n=[t],r=t.length;for(;e.length>0&&r<=65536;){let t=e[0].length;if(r+t<=65536){let o=e.shift();n.push(o),r+=t}else break}return n}(n));return t}(s)){var t=e,n=`{"stats": [${o.join(",")}], "target": "${r.XC?.head?.querySelector('meta[name="ui-target"]')?.content||"full"}"}`;try{navigator.sendBeacon&&navigator.sendBeacon(t,n)}catch{}}s=[]}}function h(){return!!r.XC?.head?.querySelector('meta[name="user-staff"]')?.content}r.XC?.addEventListener("pagehide",m),r.XC?.addEventListener("visibilitychange",m)},13523:(e,t,n)=>{n.d(t,{$r:()=>i,M1:()=>c,li:()=>o,pS:()=>s,wE:()=>u});var r=n(71315);let o=”X-Fetch-Nonce”,a=new Set;function i(e){a.add(e)}function c(){return a.values().next().value||””}function u(e){let t={};return void 0!==e&&(t[“X-Fetch-Nonce-To-Validate”]=e),void 0===e?t[o]=c():a.has(e)?t[o]=e:t[o]=Array.from(a).join(“,”),t}function s(){let e=r.XC?.head?.querySelector(‘meta[name=”fetch-nonce”]’)?.content||””;e&&i(e)}},21067:(e,t,n)=>{let r;function o(){if(!r)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 r}function a(){return r?.locale??”en-US”}function i(){return!!o().login}function c(){return o().login}if(n.d(t,{JK:()=>a,M3:()=>i,_$:()=>o,cj:()=>c}),”undefined”!=typeof document){let e=document.getElementById(“client-env”);if(e)try{r=JSON.parse(e.textContent||””)}catch(e){console.error(“Error parsing client-env”,e)}}},34095:(e,t,n)=>{n.d(t,{G:()=>o,K:()=>a});var r=n(71315);let o=r.XC?.readyState===”interactive”||r.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{r.XC?.addEventListener(“DOMContentLoaded”,()=>{e()})}),a=r.XC?.readyState===”complete”?Promise.resolve():new Promise(e=>{r.cg?.addEventListener(“load”,e)})},36301:(e,t,n)=>{let r;function o(){return`${Math.round(0x7fffffff*Math.random())}.${Math.round(Date.now()/1e3)}`}function a(){try{let e=function(){let e,t=document.cookie.match(/_octo=([^;]+)/g);if(!t)return;let n=[0,0];for(let r of t){let[,t]=r.split(“=”),[,o,…a]=t.split(“.”),i=o.split(“-“).map(Number);i>n&&(n=i,e=a.join(“.”))}return e}();if(e)return e;let t=o();return!function(e){let t=`GH1.1.${e}`,n=new Date(Date.now()+31536e6).toUTCString(),{domain:r}=document;r.endsWith(“.github.com”)&&(r=”github.com”),document.cookie=`_octo=${t}; expires=${n}; path=/; domain=${r}; secure; samesite=lax`}(t),t}catch(e){return r||(r=o()),r}}n.d(t,{y:()=>a})},38102:(e,t,n)=>{n.d(t,{N7:()=>w});var r=n(36301),o=n(77065),a=n(24212);function i(e){return(0,a.q)(e.stack||””).map(e=>({filename:e.file||””,function:String(e.methodName),lineno:(e.lineNumber||0).toString(),colno:(e.column||0).toString()}))}function c(e){let t=document.querySelectorAll(e);if(t.length>0)return t[t.length-1]}var u=n(99223),s=n(71315),l=n(94416),f=n(69599),d=n(88057);let m=!1,h=0,p=Date.now(),y=new Set([“AbortError”,”AuthSessionExpiredError”,”TypeError”,”RateLimitError”]),g=new Set([“Failed to fetch”,”NetworkError when attempting to fetch resource.”,”Unable to perform this operation. Please try again later.”]);function w(e,t={}){if(!(e instanceof Error||”object”==typeof e&&null!==e&&”name”in e&&”string”==typeof e.name&&”message”in e&&”string”==typeof e.message)){if(function(e){if(!e||”boolean”==typeof e||”number”==typeof e)return!0;if(“string”==typeof e){if(q.some(t=>e.includes(t)))return!0}else if(“object”==typeof e&&”string”==typeof e.message&&”number”==typeof e.code)return!0;return!1}(e))return;let n=Error(),r=function(e){try{return JSON.stringify(e)}catch{return”Unserializable”}}(e);v(S({type:”UnknownError”,value:`Unable to report error, due to a thrown non-Error type: ${typeof e}, with value ${r}`,stacktrace:i(n),catalogService:document.head?.querySelector(‘meta[name=”current-catalog-service”]’)?.content,catalogServiceHash:document.head?.querySelector(‘meta[name=”current-catalog-service-hash”]’)?.content},t));return}e.name&&(“AbortError”===e.name||(0,f.G7)(“react_fetch_graphql_rate_limit_error_handling”)&&”RateLimitError”===e.name||y.has(e.name)&&g.has(e.message)||e.name.startsWith(“ApiError”)&&g.has(e.message))||v(S({type:e.name,value:e.message,stacktrace:i(e),catalogService:e.catalogService||document.head?.querySelector(‘meta[name=”current-catalog-service”]’)?.content,catalogServiceHash:e.catalogServiceHash||document.head?.querySelector(‘meta[name=”current-catalog-service-hash”]’)?.content},t))}async function v(e){if(!(!E&&!m&&h<10&&(0,o.TT)()))return;let t=document.head?.querySelector('meta[name="browser-errors-url"]')?.content;if(t){if(e.error.stacktrace.some(e=>b.test(e.filename)||b.test(e.function))){m=!0;return}h++;try{await fetch(t,{method:”post”,body:JSON.stringify({context:e,target:document.head?.querySelector(‘meta[name=”ui-target”]’)?.content||”full”})})}catch{}}}function S(e,t={}){let n,o={…t};return(0,f.G7)(“failbot_report_error_react_apps_on_page”)&&!o.reactAppName&&(o.reactAppName=function(e){let t=function(){let e=new Set;for(let[t,n]of _)for(let r of document.querySelectorAll(t))if(r instanceof HTMLElement){let t=r.getAttribute(n);t&&e.add(t)}return Array.from(e)}();if(!t||!t.length||!e||!e.length)return;let n=new Set;for(let r of e){if(!r||!r.filename)continue;let e=r.filename.split(/[\\/]/).pop();if(!e||n.has(e))continue;n.add(e);let o=t.find(t=>e.toLowerCase().includes(t.toLowerCase()));if(o)return o}}(e.stacktrace)),Object.assign({error:e,sanitizedUrl:`${window.location.protocol}//${window.location.host}${((n=c(“meta[name=analytics-location]”))?n.content:window.location.pathname)+function(){let e=c(“meta[name=analytics-location-query-strip]”),t=””;e||(t=window.location.search);let n=c(“meta[name=analytics-location-params]”);for(let e of(n&&(t+=(t?”&”:”?”)+n.content),document.querySelectorAll(“meta[name=analytics-param-rename]”))){let n=e.content.split(“:”,2);t=t.replace(RegExp(`(^|[?&])${n[0]}($|=)`,”g”),`$1${n[1]}$2`)}return t}()}`||window.location.href,readyState:document.readyState,referrer:(0,l.dR)(),timeSinceLoad:Math.round(Date.now()-p),user:function(){let e=document.head?.querySelector(‘meta[name=”user-login”]’)?.content;if(e)return e;let t=(0,r.y)();return`anonymous-${t}`}()||void 0,actorId:document.head?.querySelector(‘meta[name=”octolytics-actor-id”]’)?.content,bundler:u.v,ui:!!document.querySelector(‘meta[name=”ui”]’),release:document.head?.querySelector(‘meta[name=”release”]’)?.content,pastRequestIds:(0,d.xA)()},o)}let b=/(chrome|moz|safari)-extension:\/\//,E=!1;s.cg?.addEventListener(“pageshow”,()=>E=!1),s.cg?.addEventListener(“pagehide”,()=>E=!0),”function”==typeof BroadcastChannel&&new BroadcastChannel(“shared-worker-error”).addEventListener(“message”,e=>{w(e.data.error)});let q=[“Object Not Found Matching Id”,”Not implemented on this platform”,”provider because it’s not your default extension”],_=[[“react-app”,”app-name”],[“react-partial”,”partial-name”]]},51987:(e,t,n)=>{n.d(t,{jC:()=>u,kt:()=>i,tV:()=>c});var r=n(87057),o=n(69599),a=n(13523);function i(e){let t={“X-Requested-With”:”XMLHttpRequest”,…(0,a.wE)(e)};return(0,o.G7)(“client_version_header”)&&(t={…t,[r.S]:(0,r.O)()}),t}function c(e,t){for(let[n,r]of Object.entries(i(t)))e.set(n,r)}function u(e){return{“X-GitHub-App-Type”:e}}},56038:(e,t,n)=>{n.d(t,{Kn:()=>i,XC:()=>o,cg:()=>a,fV:()=>c});let r=”undefined”!=typeof FORCE_SERVER_ENV&&FORCE_SERVER_ENV,o=”undefined”==typeof document||r?void 0:document,a=”undefined”==typeof window||r?void 0:window,i=”undefined”==typeof history||r?void 0:history,c=”undefined”==typeof location||r?{pathname:””,origin:””,search:””,hash:””,href:””}:location},69599:(e,t,n)=>{n.d(t,{G7:()=>u,XY:()=>s,fQ:()=>c});var r=n(5225),o=n(21067);function a(){return new Set((0,o._$)().featureFlags)}let i=n(71315).X3||function(){try{return process?.env?.STORYBOOK===”true”}catch{return!1}}()?a:(0,r.A)(a);function c(){return Array.from(i())}function u(e){return i().has(e)}let s={isFeatureEnabled:u}},70170:(e,t,n)=>{function r(e,t=0,{start:n=!0,middle:o=!0,once:a=!1}={}){let i,c=n,u=0,s=!1;function l(…r){if(s)return;let f=Date.now()-u;u=Date.now(),n&&o&&f>=t&&(c=!0),c?(c=!1,e.apply(this,r),a&&l.cancel()):(o&&f{u=Date.now(),e.apply(this,r),a&&l.cancel()},o?t-f:t))}return l.cancel=()=>{clearTimeout(i),s=!0},l}function o(e,t=0,{start:n=!1,middle:a=!1,once:i=!1}={}){return r(e,t,{start:n,middle:a,once:i})}n.d(t,{n:()=>r,s:()=>o})},71315:(e,t,n)=>{n.d(t,{KJ:()=>r.KJ,Kn:()=>o.Kn,X3:()=>r.X3,XC:()=>o.XC,cg:()=>o.cg,fV:()=>o.fV,g5:()=>r.g5});var r=n(6923),o=n(56038)},82075:(e,t,n)=>{n.d(t,{A:()=>i,D:()=>c});var r=n(71315),o=n(11083);let a=class NoOpStorage{getItem(){return null}setItem(){}removeItem(){}clear(){}key(){return null}get length(){return 0}};function i(e,t={throwQuotaErrorsOnSet:!1},n=r.cg,c=e=>e,u=e=>e){let s;try{if(!n)throw Error();s=n[e]||new a}catch{s=new a}let{throwQuotaErrorsOnSet:l}=t;function f(e){t.sendCacheStats&&(0,o.i)({incrementKey:e})}function d(e){try{if(s.removeItem(e),t.ttl){let t=`${e}:expiry`;s.removeItem(t)}}catch{}}return{getItem:function(e,t=Date.now()){try{let n=s.getItem(e);if(!n)return null;let r=`${e}:expiry`,o=Number(s.getItem(r));if(o&&t>o)return d(e),d(r),f(“SAFE_STORAGE_VALUE_EXPIRED”),null;return f(“SAFE_STORAGE_VALUE_WITHIN_TTL”),c(n)}catch{return null}},setItem:function(e,n,r=Date.now()){try{if(s.setItem(e,u(n)),t.ttl){let n=`${e}:expiry`,o=r+t.ttl;s.setItem(n,o.toString())}}catch(e){if(l&&e instanceof Error&&e.message.toLowerCase().includes(“quota”))throw e}},removeItem:d,clear:s.clear,getKeys:function(){return Object.keys(s)},get length(){return s.length}}}function c(e){return i(e,{throwQuotaErrorsOnSet:!1},r.cg,JSON.parse,JSON.stringify)}},86418:(e,t,n)=>{var r=n(38102),o=n(71315);if(o.cg?.addEventListener(“error”,e=>{e.error&&(0,r.N7)(e.error)}),o.cg?.addEventListener(“unhandledrejection”,async e=>{if(e.promise)try{await e.promise}catch(e){(0,r.N7)(e)}}),o.cg?.location.hash===”#b00m”&&setTimeout(()=>{throw Error(“b00m”)}),!(“ariaNotify”in Element.prototype)||!(“ariaNotify”in Document.prototype)){let e=`${Date.now()}`;try{e=crypto.randomUUID()}catch{}let t=Symbol(),n=`live-region-${e}`;let Message=class Message{element;message;priority=”normal”;constructor({element:e,message:t,priority:n=”normal”}){this.element=e,this.message=t,this.priority=n}#e(){return this.element.isConnected&&!this.element.closest(“[inert]”)&&(this.element.ownerDocument.querySelector(“:modal”)?.contains(this.element)??!0)}async announce(){if(!this.#e())return;let e=this.element.closest(“dialog”)||this.element.closest(“[role=’dialog’]”)||this.element.getRootNode();(!e||e instanceof Document)&&(e=document.body);let r=e.querySelector(n);r||(r=document.createElement(n),e.append(r)),await new Promise(e=>setTimeout(e,250)),r.handleMessage(t,this.message)}};let r=new class MessageQueue{#t=[];#n;enqueue(e){let{priority:t}=e;if(“high”===t){let t=this.#t.findLastIndex(e=>”high”===e.priority);this.#t.splice(t+1,0,e)}else this.#t.push(e);this.#n||this.#r()}async #r(){this.#n=this.#t.shift(),this.#n&&(await this.#n.announce(),this.#r())}};let LiveRegionCustomElement=class LiveRegionCustomElement extends HTMLElement{#o=this.attachShadow({mode:”closed”});connectedCallback(){this.ariaLive=”polite”,this.ariaAtomic=”true”,this.style.marginLeft=”-1px”,this.style.marginTop=”-1px”,this.style.position=”absolute”,this.style.width=”1px”,this.style.height=”1px”,this.style.overflow=”hidden”,this.style.clipPath=”rect(0 0 0 0)”,this.style.overflowWrap=”normal”}handleMessage(e=null,n=””){t===e&&(this.#o.textContent==n&&(n+=”\xa0″),this.#o.textContent=n)}};customElements.define(n,LiveRegionCustomElement),”ariaNotify”in Element.prototype||(Element.prototype.ariaNotify=function(e,{priority:t=”normal”}={}){r.enqueue(new Message({element:this,message:e,priority:t}))}),”ariaNotify”in Document.prototype||(Document.prototype.ariaNotify=function(e,{priority:t=”normal”}={}){r.enqueue(new Message({element:this.documentElement,message:e,priority:t}))})}var a=n(11083);let i=fetch;function c({input:e,error:t,status:n}){if(!t)return;let r=e instanceof Request?e.url:e.toString();(0,a.i)({incrementKey:”FETCH_ERROR”,requestUrl:window.location.href,referredRequestUrl:r,incrementTags:{status:String(n)}},!1,1)}var u=n(69599),s=n(77065),l=n(51987);let f=window.fetch,d=(e,t)=>{if(e instanceof Request){let t={…Object.fromEntries(e.headers.entries()),…(0,l.kt)()};return f(new Request(e,{headers:t}))}{let n={…t?.headers??{},…(0,l.kt)()};return f(new Request(e,{…t,headers:n}))}};document.documentElement.hasAttribute(“override-fetch”)&&window.fetch!==d&&(window.fetch=d);var m=n(13523),h=n(88057);if((0,s.Bb)(),”undefined”!=typeof document){if(o.cg&&(o.cg.fetch=async(e,t)=>{try{let n=await i(e,t);return c({input:e,error:!n.ok,status:n.status}),n}catch(t){throw c({input:e,error:!0,status:”unknown”}),t}}),(0,u.G7)(“remove_child_patch”)&&”function”==typeof Node&&Node.prototype){let e=Node.prototype.removeChild;Node.prototype.removeChild=function(t){try{return e.apply(this,[t])}catch(e){if(e instanceof Error&&e.stack?.includes(“react-lib”))return t;throw e}}}if((0,u.G7)(“insert_before_patch”)&&”function”==typeof Node&&Node.prototype){let e=Node.prototype.insertBefore;Node.prototype.insertBefore=function(t,n){try{return e.apply(this,[t,n])}catch(e){if(e instanceof Error&&(e.stack?.includes(“react-lib”)||e.stack?.includes(“react-dom”)))return t;throw e}}}(0,m.pS)(),(0,h.kt)()}},87057:(e,t,n)=>{n.d(t,{O:()=>i,S:()=>a});var r=n(71315);let o=r.cg?.document?.head?.querySelector(‘meta[name=”release”]’)?.content||””,a=”X-GitHub-Client-Version”;function i(){return o}},88057:(e,t,n)=>{n.d(t,{Ex:()=>i,kt:()=>u,xA:()=>c});var r=n(71315);let o=Array(10).fill(null),a=0;function i(e){o[a]=e,a=(a+1)%10}function c(){let e=[];for(let t=0;t<10;t++){let n=o[(a-1-t+10)%10];n&&e.push(n)}return e}function u(){let e=r.XC;if(!e)return;let t=e.querySelector('meta[name="request-id"]'),n=t?.getAttribute("content");n&&i(n)}},94416:(e,t,n)=>{n.d(t,{BW:()=>o,Ff:()=>m,HK:()=>v,JA:()=>C,LM:()=>h,Pv:()=>E,Vy:()=>d,ZW:()=>b,dR:()=>S,di:()=>p,fX:()=>q,gc:()=>_,k9:()=>w,my:()=>g,r7:()=>A,wG:()=>y,xT:()=>f});var r=n(95800);let o=”reload”,a=”soft-nav:fail”,i=”soft-nav:fail-referrer”,c=”soft-nav:referrer”,u=”soft-nav:marker”,s=”soft-nav:react-app-name”,l=”soft-nav:latest-mechanism”;function f(){(0,r.SO)(u,”0″),(0,r.Ai)(c),(0,r.Ai)(a),(0,r.Ai)(i),(0,r.Ai)(s),(0,r.Ai)(l)}function d(e){(0,r.SO)(u,e)}function m(){(0,r.SO)(u,”0″)}function h(){let e=(0,r.Gq)(u);return e&&”0″!==e}function p(){return(0,r.Gq)(u)}function y(){return!!g()}function g(){return(0,r.Gq)(a)}function w(e){(0,r.SO)(a,e||o),(0,r.SO)(i,window.location.href)}function v(){(0,r.SO)(c,window.location.href)}function S(){return(0,r.Gq)(c)||document.referrer}function b(){let e=q();e?(0,r.SO)(s,e):(0,r.Ai)(s)}function E(){return(0,r.Gq)(s)}function q(){return document.querySelector(“projects-v2″)?”memex”:document.querySelector(‘react-partial[partial-name=”repos-overview”]’)?”repos-overview”:document.querySelector(“react-app”)?.getAttribute(“app-name”)}function _(){return!!document.querySelector(“react-app”)?.getAttribute(“app-name”)||!!document.querySelector(“projects-v2”)}function C(e){(0,r.SO)(l,e)}function A(){return(0,r.Gq)(l)}},95800:(e,t,n)=>{n.d(t,{Ai:()=>a,Gq:()=>r,SO:()=>o});let{getItem:r,setItem:o,removeItem:a}=(0,n(82075).A)(“sessionStorage”)},99223:(e,t,n)=>{n.d(t,{k:()=>i,v:()=>c});var r=n(5225),o=n(71315);let a=(0,r.A)(function(){return o.XC?.head?.querySelector(‘meta[name=”runtime-environment”]’)?.content||””}),i=(0,r.A)(function(){return”enterprise”===a()}),c=”webpack”}},e=>{e.O(0,[“vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js”,”vendors-node_modules_stacktrace-parser_dist_stack-trace-parser_esm_js-node_modules_github_bro-2f4e04″],()=>e(e.s=86418)),e.O()}]); //# sourceMappingURL=environment-87d049da6995.js.map