티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[19973,66292],{5225:(e,t,n)=>{function o(…e){return JSON.stringify(e,(e,t)=>”object”==typeof t?t:String(t))}function r(e,t={}){let{hash:n=o,cache:i=new Map}=t;return function(…t){let o=n.apply(this,t);if(i.has(o))return i.get(o);let r=e.apply(this,t);return r instanceof Promise&&(r=r.catch(e=>{throw i.delete(o),e})),i.set(o,r),r}}n.d(t,{A:()=>r})},18679:(e,t,n)=>{n.d(t,{s:()=>AnalyticsClient});let o=[“utm_source”,”utm_medium”,”utm_campaign”,”utm_term”,”utm_content”,”scid”];var r=n(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,r.y)()}createEvent(e){return{page:location.href,title:document.title,context:{…this.options.baseContext,…function(){let e={};try{for(let[t,n]of new URLSearchParams(window.location.search)){let r=t.toLowerCase();o.includes(r)&&(e[r]=n)}return e}catch(e){return{}}}(),…e}}}sendPageView(e){let t=this.createEvent(e);this.send({page_views:[t]})}sendEvent(e,t){let n={…this.createEvent(t),type:e};this.send({events:[n]})}send({page_views:e,events:t}){let n=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)return void navigator.sendBeacon(this.collectorUrl,n)}catch{}fetch(this.collectorUrl,{method:”POST”,cache:”no-cache”,headers:{“Content-Type”:”application/json”},body:n,keepalive:!1})}}},36301:(e,t,n)=>{let o;function r(){return`${Math.round(0x7fffffff*Math.random())}.${Math.round(Date.now()/1e3)}`}function i(){try{let e=function(){let e,t=document.cookie.match(/_octo=([^;]+)/g);if(!t)return;let n=[0,0];for(let o of t){let[,t]=o.split(“=”),[,r,…i]=t.split(“.”),a=r.split(“-“).map(Number);a>n&&(n=a,e=i.join(“.”))}return e}();if(e)return e;let t=r();return!function(e){let t=`GH1.1.${e}`,n=new Date(Date.now()+31536e6).toUTCString(),{domain:o}=document;o.endsWith(“.github.com”)&&(o=”github.com”),document.cookie=`_octo=${t}; expires=${n}; path=/; domain=${o}; secure; samesite=lax`}(t),t}catch(e){return o||(o=r()),o}}n.d(t,{y:()=>i})},39595:(e,t,n)=>{let o;n.d(t,{CF:()=>g,p_:()=>P,FB:()=>d,Se:()=>k,aC:()=>$,zV:()=>_});let r=new WeakSet,i=new WeakMap;function a(e=document){if(i.has(e))return i.get(e);let t=!1,n=new MutationObserver(e=>{for(let t of e)if(“attributes”===t.type&&t.target instanceof Element)u(t.target);else if(“childList”===t.type&&t.addedNodes.length)for(let e of t.addedNodes)e instanceof Element&&s(e)});n.observe(e,{childList:!0,subtree:!0,attributeFilter:[“data-action”]});let o={get closed(){return t},unsubscribe(){t=!0,i.delete(e),n.disconnect()}};return i.set(e,o),o}function s(e){for(let t of e.querySelectorAll(“[data-action]”))u(t);e instanceof Element&&e.hasAttribute(“data-action”)&&u(e)}function c(e){let t=e.currentTarget;for(let n of l(t))if(e.type===n.type){let o=t.closest(n.tag);r.has(o)&&”function”==typeof o[n.method]&&o[n.method](e);let i=t.getRootNode();if(i instanceof ShadowRoot&&r.has(i.host)&&i.host.matches(n.tag)){let t=i.host;”function”==typeof t[n.method]&&t[n.method](e)}}}function*l(e){for(let t of(e.getAttribute(“data-action”)||””).trim().split(/\s+/)){let e=t.lastIndexOf(“:”),n=Math.max(0,t.lastIndexOf(“#”))||t.length;yield{type:t.slice(0,e),tag:t.slice(e+1,n),method:t.slice(n+1)||”handleEvent”}}}function u(e){for(let t of l(e))e.addEventListener(t.type,c)}function d(e,t){let n=e.tagName.toLowerCase();if(e.shadowRoot){for(let o of e.shadowRoot.querySelectorAll(`[data-target~=”${n}.${t}”]`))if(!o.closest(n))return o}for(let o of e.querySelectorAll(`[data-target~=”${n}.${t}”]`))if(o.closest(n)===e)return o}let f=e=>String(“symbol”==typeof e?e.description:e).replace(/([A-Z]($|[a-z]))/g,”-$1″).replace(/–/g,”-“).replace(/^-|-$/,””).toLowerCase(),h=(e,t=”property”)=>{let n=f(e);if(!n.includes(“-“))throw new DOMException(`${t}: ${String(e)} is not a valid ${t} name`,”SyntaxError”);return n},p=”attr”;function g(e,t){O(e,p).add(t)}let m=new WeakSet;function b(e,t){if(m.has(e))return;m.add(e);let n=Object.getPrototypeOf(e),o=n?.constructor?.attrPrefix??”data-“;for(let r of(t||(t=O(n,p)),t)){let t=e[r],n=h(`${o}${r}`),i={configurable:!0,get(){return this.getAttribute(n)||””},set(e){this.setAttribute(n,e||””)}};”number”==typeof t?i={configurable:!0,get(){return Number(this.getAttribute(n)||0)},set(e){this.setAttribute(n,e)}}:”boolean”==typeof t&&(i={configurable:!0,get(){return this.hasAttribute(n)},set(e){this.toggleAttribute(n,e)}}),Object.defineProperty(e,r,i),r in e&&!e.hasAttribute(n)&&i.set.call(e,t)}}let y=new Map,w=new Promise(e=>{“loading”!==document.readyState?e():document.addEventListener(“readystatechange”,()=>e(),{once:!0})}),v=new Promise(e=>{let t=new AbortController;t.signal.addEventListener(“abort”,()=>e());let n={once:!0,passive:!0,signal:t.signal},o=()=>t.abort();document.addEventListener(“mousedown”,o,n),document.addEventListener(“touchstart”,o,n),document.addEventListener(“keydown”,o,n),document.addEventListener(“pointerdown”,o,n)}),x={ready:()=>w,firstInteraction:()=>v,visible:e=>new Promise(t=>{let n=new IntersectionObserver(e=>{for(let o of e)if(o.isIntersecting){t(),n.disconnect();return}},{rootMargin:”0px 0px 256px 0px”,threshold:.01});for(let t of document.querySelectorAll(e))n.observe(t)})},A=new WeakMap;function S(e){cancelAnimationFrame(A.get(e)||0),A.set(e,requestAnimationFrame(()=>{for(let t of y.keys()){let n=e instanceof Element&&e.matches(t)?e:e.querySelector(t);if(customElements.get(t)||n){let o=n?.getAttribute(“data-load-on”)||”ready”,r=o in x?x[o]:x.ready;for(let e of y.get(t)||[])r(t).then(e);y.delete(t),A.delete(e)}}}))}function k(e,t){for(let[n,o]of(“string”==typeof e&&t&&(e={[e]:t}),Object.entries(e)))y.has(n)||y.set(n,new Set),y.get(n).add(o);E(document)}function E(e){o||(o=new MutationObserver(e=>{if(y.size)for(let t of e)for(let e of t.addedNodes)e instanceof Element&&S(e)})),S(e),o.observe(e,{subtree:!0,childList:!0})}let C=Symbol.for(“catalyst”);let CatalystDelegate=class CatalystDelegate{constructor(e){const t=this,n=e.prototype.connectedCallback;e.prototype.connectedCallback=function(){t.connectedCallback(this,n)};const o=e.prototype.disconnectedCallback;e.prototype.disconnectedCallback=function(){t.disconnectedCallback(this,o)};const r=e.prototype.attributeChangedCallback;e.prototype.attributeChangedCallback=function(e,n,o){t.attributeChangedCallback(this,e,n,o,r)};let i=e.observedAttributes||[];Object.defineProperty(e,”observedAttributes”,{configurable:!0,get(){return t.observedAttributes(this,i)},set(e){i=e}}),function(e){let t=e.observedAttributes||[],n=e.attrPrefix??”data-“,o=e=>h(`${n}${e}`);Object.defineProperty(e,”observedAttributes”,{configurable:!0,get:()=>[…O(e.prototype,p)].map(o).concat(t),set(e){t=e}})}(e),function(e){let t=f(e.name).replace(/-element$/,””);try{window.customElements.define(t,e),window[e.name]=customElements.get(t)}catch(e){if(!(e instanceof DOMException&&”NotSupportedError”===e.name))throw e}}(e)}observedAttributes(e,t){return t}connectedCallback(e,t){var n,o;for(let t of(e.toggleAttribute(“data-catalyst”,!0),customElements.upgrade(e),e.querySelectorAll(“template[data-shadowroot]”)))t.parentElement===e&&e.attachShadow({mode:”closed”===t.getAttribute(“data-shadowroot”)?”closed”:”open”}).append(t.content.cloneNode(!0));(b(e),r.add(e),e.shadowRoot&&(s(o=e.shadowRoot),a(o)),s(e),a(e.ownerDocument),t?.call(e),e.shadowRoot)&&(s(n=e.shadowRoot),a(n),E(e.shadowRoot))}disconnectedCallback(e,t){t?.call(e)}attributeChangedCallback(e,t,n,o,r){b(e),”data-catalyst”!==t&&r&&r.call(e,t,n,o)}};function O(e,t){if(!Object.prototype.hasOwnProperty.call(e,C)){let t=e[C],n=e[C]=new Map;if(t)for(let[e,o]of t)n.set(e,new Set(o))}let n=e[C];return n.has(t)||n.set(t,new Set),n.get(t)}function $(e,t){O(e,”target”).add(t),Object.defineProperty(e,t,{configurable:!0,get(){return d(this,t)}})}function _(e,t){O(e,”targets”).add(t),Object.defineProperty(e,t,{configurable:!0,get(){let e=this.tagName.toLowerCase(),n=[];if(this.shadowRoot)for(let o of this.shadowRoot.querySelectorAll(`[data-targets~=”${e}.${t}”]`))o.closest(e)||n.push(o);for(let o of this.querySelectorAll(`[data-targets~=”${e}.${t}”]`))o.closest(e)===this&&n.push(o);return n}})}function P(e){new CatalystDelegate(e)}},50467:(e,t,n)=>{n.d(t,{_:()=>o});function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},70170:(e,t,n)=>{function o(e,t=0,{start:n=!0,middle:r=!0,once:i=!1}={}){let a,s=n,c=0,l=!1;function u(…o){if(l)return;let d=Date.now()-c;c=Date.now(),n&&r&&d>=t&&(s=!0),s?(s=!1,e.apply(this,o),i&&u.cancel()):(r&&d{c=Date.now(),e.apply(this,o),i&&u.cancel()},r?t-d:t))}return u.cancel=()=>{clearTimeout(a),l=!0},u}function r(e,t=0,{start:n=!1,middle:i=!1,once:a=!1}={}){return o(e,t,{start:n,middle:i,once:a})}n.d(t,{n:()=>o,s:()=>r})},70837:(e,t,n)=>{n.d(t,{O:()=>o});function o(e=”ha”){let t,n={};for(let o of Array.from(document.head.querySelectorAll(`meta[name^=”${e}-“]`))){let{name:r,content:i}=o,a=r.replace(`${e}-`,””).replace(/-/g,”_”);”url”===a?t=i:n[a]=i}if(!t)throw Error(`AnalyticsClient ${e}-url meta tag not found`);return{collectorUrl:t,…Object.keys(n).length>0?{baseContext:n}:{}}}},97797:(e,t,n)=>{function o(){if(!(this instanceof o))return new o;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}n.d(t,{h:()=>C,on:()=>E});var r,i=window.document.documentElement,a=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector;o.prototype.matchesSelector=function(e,t){return a.call(e,t)},o.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},o.prototype.indexes=[];var s=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:”ID”,selector:function(e){var t;if(t=e.match(s))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var c=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:”CLASS”,selector:function(e){var t;if(t=e.match(c))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if(“string”==typeof t)return t.split(/\s/);else if(“object”==typeof t&&”baseVal”in t)return t.baseVal.split(/\s/)}}});var l=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:”TAG”,selector:function(e){var t;if(t=e.match(l))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),o.prototype.indexes.default={name:”UNIVERSAL”,selector:function(){return!0},element:function(){return[!0]}},r=”function”==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+” “]},e.prototype.set=function(e,t){this.map[e+” “]=t},e}();var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|[‘”][^'”]*[‘”]|[^\[\]'”]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function d(e,t){var n,o,r,i,a,s,c=(e=e.slice(0).concat(e.default)).length,l=t,d=[];do if(u.exec(“”),(r=u.exec(l))&&(l=r[3],r[2]||!l)){for(n=0;n3&&void 0!==arguments[3]?arguments[3]:{},i=!!r.capture,a=i?p:h,s=a[e];s||(s=new o,a[e]=s,document.addEventListener(e,k,i)),s.add(t,n)}function C(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}}}]); //# sourceMappingURL=66292-4d2fd20e9099.js.map