티스토리 수익 글 보기
“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[48775],{5225:(e,t,i)=>{function n(…e){return JSON.stringify(e,(e,t)=>”object”==typeof t?t:String(t))}function r(e,t={}){let{hash:i=n,cache:o=new Map}=t;return function(…t){let n=i.apply(this,t);if(o.has(n))return o.get(n);let r=e.apply(this,t);return r instanceof Promise&&(r=r.catch(e=>{throw o.delete(n),e})),o.set(n,r),r}}i.d(t,{A:()=>r})},5570:(e,t,i)=>{i.d(t,{_:()=>n});function n(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError(“attempted to set read only private field”);t.value=i}}},18150:(e,t,i)=>{i.d(t,{_:()=>r});var n=i(53482);function r(e,t,i){(0,n._)(e,t),t.set(e,i)}},29304:(e,t,i)=>{i.d(t,{_:()=>n});function n(e,t,i){if(!t.has(e))throw TypeError(“attempted to “+i+” private field on non-instance”);return t.get(e)}},35750:(e,t,i)=>{i.d(t,{_:()=>o});var n=i(50894),r=i(29304);function o(e,t){var i=(0,r._)(e,t,”get”);return(0,n._)(e,i)}},36301:(e,t,i)=>{let n;function r(){return`${Math.round(0x7fffffff*Math.random())}.${Math.round(Date.now()/1e3)}`}function o(){try{let e=function(){let e,t=document.cookie.match(/_octo=([^;]+)/g);if(!t)return;let i=[0,0];for(let n of t){let[,t]=n.split(“=”),[,r,…o]=t.split(“.”),s=r.split(“-“).map(Number);s>i&&(i=s,e=o.join(“.”))}return e}();if(e)return e;let t=r();return!function(e){let t=`GH1.1.${e}`,i=new Date(Date.now()+31536e6).toUTCString(),{domain:n}=document;n.endsWith(“.github.com”)&&(n=”github.com”),document.cookie=`_octo=${t}; expires=${i}; path=/; domain=${n}; secure; samesite=lax`}(t),t}catch(e){return n||(n=r()),n}}i.d(t,{y:()=>o})},46493:(e,t,i)=>{i.d(t,{Cj:()=>B,iP:()=>z});let n=”less”,r=”equal”,o=”greater”;var s,l,a,h,c,u,d,p,f,m,v,w,g,y,b,T,E,k=(e,t,i)=>{if(!t.has(e))throw TypeError(“Cannot “+i)},_=(e,t,i)=>(k(e,t,”read from private field”),i?i.call(e):t.get(e)),C=(e,t,i)=>{if(t.has(e))throw TypeError(“Cannot add the same private member more than once”);t instanceof WeakSet?t.add(e):t.set(e,i)},M=(e,t,i,n)=>(k(e,t,”write to private field”),n?n.call(e,i):t.set(e,i),i),x=(e,t,i)=>(k(e,t,”access private method”),i);let MinHeap=class MinHeap{constructor({compareFn:e}){C(this,a),C(this,c),C(this,s,void 0),C(this,l,void 0),M(this,s,e),M(this,l,[])}insert(e){_(this,l).push(e),x(this,c,u).call(this)}pop(){let e=_(this,l)[0];return _(this,l)[_(this,l).length-1]&&(_(this,l)[0]=_(this,l)[_(this,l).length-1],_(this,l).pop()),x(this,a,h).call(this),e}peek(){return _(this,l)[0]}delete(e){let t=_(this,l).indexOf(e);-1!==t&&(S(_(this,l),t,_(this,l).length-1),_(this,l).pop(),x(this,a,h).call(this))}clear(){M(this,l,[])}get size(){return _(this,l).length}};function W(e){return Math.floor((e-1)/2)}function S(e,t,i){let n=e[t];e[t]=e[i],e[i]=n}s=new WeakMap,l=new WeakMap,a=new WeakSet,h=function(){let e=0;for(;2*e+1<_(this,l).length;){var t,i;let r=2*e+1;if(2*e+2<_(this,l).length&&_(this,s).call(this,(t=_(this,l),t[2*e+2]),(i=_(this,l),i[2*e+1]))===n&&(r=2*e+2),_(this,s).call(this,_(this,l)[e],_(this,l)[r])===n)break;S(_(this,l),e,r),e=r}},c=new WeakSet,u=function(){var e;let t=_(this,l).length-1;for(;t>0&&_(this,s).call(this,_(this,l)[t],(e=_(this,l),e[W(t)]))===n;)S(_(this,l),t,W(t)),t=W(t)};var D=Object.defineProperty,P=(e,t,i)=>{if(!t.has(e))throw TypeError(“Cannot “+i)},$=(e,t,i)=>(P(e,t,”read from private field”),i?i.call(e):t.get(e)),j=(e,t,i)=>{if(t.has(e))throw TypeError(“Cannot add the same private member more than once”);t instanceof WeakSet?t.add(e):t.set(e,i)},R=(e,t,i,n)=>(P(e,t,”write to private field”),n?n.call(e,i):t.set(e,i),i);let Deferred=class Deferred{constructor(){((e,t,i)=>{let n;return(n=”symbol”!=typeof t?t+””:t)in e?D(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i})(this,d,”Deferred”),j(this,p,void 0),j(this,f,void 0),j(this,m,void 0),R(this,p,new Promise((e,t)=>{R(this,f,e),R(this,m,t)}))}then(e,t){return Promise.prototype.then.apply($(this,p),[e,t])}catch(e){return Promise.prototype.catch.apply($(this,p),[e])}finally(e){return Promise.prototype.finally.apply($(this,p),[e])}resolve(e){$(this,f).call(this,e)}reject(e){$(this,m).call(this,e)}getPromise(){return $(this,p)}};d=Symbol.toStringTag,p=new WeakMap,f=new WeakMap,m=new WeakMap;var A=(e,t,i)=>{if(!t.has(e))throw TypeError(“Cannot “+i)},H=(e,t,i)=>(A(e,t,”read from private field”),i?i.call(e):t.get(e)),L=(e,t,i)=>{if(t.has(e))throw TypeError(“Cannot add the same private member more than once”);t instanceof WeakSet?t.add(e):t.set(e,i)},F=(e,t,i,n)=>(A(e,t,”write to private field”),n?n.call(e,i):t.set(e,i),i),N=(e,t,i)=>(A(e,t,”access private method”),i);let LiveRegionElement=class LiveRegionElement extends HTMLElement{constructor(){if(super(),L(this,y),L(this,T),L(this,v,void 0),L(this,w,void 0),L(this,g,void 0),!this.shadowRoot){const e=(I||((I=document.createElement(“template”)).innerHTML=O),I);this.attachShadow({mode:”open”}).appendChild(e.content.cloneNode(!0))}F(this,v,!1),F(this,g,null),F(this,w,new MinHeap({compareFn:U}))}get delay(){let e=this.getAttribute(“delay”);return e?parseInt(e,10):150}set delay(e){this.setAttribute(“delay”,`${e}`)}announce(e,t={}){let{delayMs:i,politeness:n=”polite”}=t,r=Date.now(),o=new Deferred,s={deferred:o,politeness:n,contents:e,scheduled:void 0!==i?r+i:r};return H(this,w).insert(s),N(this,y,b).call(this),{…o.getPromise(),cancel:()=>{H(this,w).delete(s),o.resolve()}}}announceFromElement(e,t){var i;let n,r=(n=””,(i=e).hasAttribute(“aria-label”)?n=i.getAttribute(“aria-label”):i.innerText?n=i.innerText:i.textContent&&(n=i.textContent),n?n.trim():””);return””!==r?this.announce(r,t):{…Promise.resolve(),cancel:q}}getMessage(e=”polite”){let t=this.shadowRoot?.getElementById(e);if(!t)throw Error(“Unable to find container for message”);return t.textContent}clear(){null!==H(this,g)&&(clearTimeout(H(this,g)),F(this,g,null)),H(this,w).clear()}};v=new WeakMap,w=new WeakMap,g=new WeakMap,y=new WeakSet,b=function(){if(H(this,v))return;let e=H(this,w).peek();if(!e)return;null!==H(this,g)&&(clearTimeout(H(this,g)),F(this,g,null));let t=Date.now();if(e.scheduled<=t){(e=H(this,w).pop())&&N(this,T,E).call(this,e),N(this,y,b).call(this);return}let i=e.scheduled-t;F(this,g,window.setTimeout(()=>{F(this,g,null),N(this,y,b).call(this)},i))},T=new WeakSet,E=function(e){F(this,v,!0);let{contents:t,deferred:i,politeness:n}=e,r=this.shadowRoot?.getElementById(n);if(!r)throw F(this,v,!1),Error(`Unable to find container for message. Expected a container with id=”${n}”`);r.textContent===t?r.textContent=`${t}\xa0`:r.textContent=t,null!==H(this,g)&&clearTimeout(H(this,g)),i.resolve(),this.delay>0?F(this,g,window.setTimeout(()=>{F(this,g,null),F(this,v,!1),N(this,y,b).call(this)},this.delay)):(F(this,g,null),F(this,v,!1),N(this,y,b).call(this))};let I=null,O=`
`;function U(e,t){return e.politeness===t.politeness?e.scheduled===t.scheduled?r:e.scheduled{n=!0};return{…Q(K).then(()=>{if(!n){let n=i.announce(e,t);return r=n.cancel,n}}),cancel:()=>{r()}}}return i.announce(e,t)}function B(e,t={}){let i=G(t.from);if(!i){i=document.createElement(“live-region”),t.appendTo?t.appendTo.appendChild(i):J(t.from).appendChild(i);let n=!1,r=()=>{n=!0};return{…Q(K).then(()=>{if(!n){let n=i.announceFromElement(e,t);return r=n.cancel,n}}),cancel:()=>{r()}}}return i.announceFromElement(e,t)}function G(e){let t=null;return null!==(t=e?function(e){let t=e.closest(“dialog”),i=e;for(;(i=i.parentElement)&&(!t||t.contains(i));)for(let e of i.childNodes)if(e instanceof LiveRegionElement)return e;return null}(e):null)||null!==(t=J(e).querySelector(“live-region”))?t:null}function J(e){let t=document.body;if(e){let i=e.closest(“dialog”);i&&(t=i)}return t}customElements.get(“live-region”)||customElements.define(“live-region”,LiveRegionElement);let K=150;function Q(e){return new Promise(t=>{setTimeout(t,e)})}},50894:(e,t,i)=>{i.d(t,{_:()=>n});function n(e,t){return t.get?t.get.call(e):t.value}},53482:(e,t,i)=>{i.d(t,{_:()=>n});function n(e,t){if(t.has(e))throw TypeError(“Cannot initialize the same private elements twice on an object”)}},70170:(e,t,i)=>{function n(e,t=0,{start:i=!0,middle:r=!0,once:o=!1}={}){let s,l=i,a=0,h=!1;function c(…n){if(h)return;let u=Date.now()-a;a=Date.now(),i&&r&&u>=t&&(l=!0),l?(l=!1,e.apply(this,n),o&&c.cancel()):(r&&u{a=Date.now(),e.apply(this,n),o&&c.cancel()},r?t-u:t))}return c.cancel=()=>{clearTimeout(s),h=!0},c}function r(e,t=0,{start:i=!1,middle:o=!1,once:s=!1}={}){return n(e,t,{start:i,middle:o,once:s})}i.d(t,{n:()=>n,s:()=>r})},85242:(e,t,i)=>{i.d(t,{_:()=>o});var n=i(5570),r=i(29304);function o(e,t,i){var o=(0,r._)(e,t,”set”);return(0,n._)(e,o,i),i}}}]);
//# sourceMappingURL=48775-15d14995676b.js.map