티스토리 수익 글 보기

티스토리 수익 글 보기

(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[“environment”],{48359:()=>{if(!(“ariaNotify”in Element.prototype)){let e=`${Date.now()}`;try{e=crypto.randomUUID()}catch{}let t=Symbol(),o=`live-region-${e}`;let Message=class Message{element;message;priority=”normal”;constructor({element:e,message:t,priority:o=”normal”}){this.element=e,this.message=t,this.priority=o}#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(o);r||(r=document.createElement(o),e.append(r)),await new Promise(e=>setTimeout(e,250)),r.handleMessage(t,this.message)}};let r=new class MessageQueue{#t=[];#o;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.#o||this.#r()}async #r(){this.#o=this.#t.shift(),this.#o&&(await this.#o.announce(),this.#r())}};let LiveRegionCustomElement=class LiveRegionCustomElement extends HTMLElement{#l=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,o=””){t===e&&(this.#l.textContent==o&&(o+=”\xa0″),this.#l.textContent=o)}};customElements.define(o,LiveRegionCustomElement),Element.prototype.ariaNotify=function(e,{priority:t=”normal”}={}){r.enqueue(new Message({element:this,message:e,priority:t}))}}},31196:e=>{e.exports={polyfill:function(){var e,t=window,o=document;if(!(“scrollBehavior”in o.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var r=t.HTMLElement||t.Element,l={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||n,scrollIntoView:r.prototype.scrollIntoView},i=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,s=(e=t.navigator.userAgent,RegExp(“MSIE |Trident/|Edge/”).test(e))?1:0;t.scroll=t.scrollTo=function(){if(void 0!==arguments[0]){if(!0===c(arguments[0])){l.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:”object”!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset);return}f.call(t,o.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset)}},t.scrollBy=function(){if(void 0!==arguments[0]){if(c(arguments[0])){l.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:”object”!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0);return}f.call(t,o.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset))}},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0]){if(!0===c(arguments[0])){if(“number”==typeof arguments[0]&&void 0===arguments[1])throw SyntaxError(“Value could not be converted”);l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:”object”!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop);return}var e=arguments[0].left,t=arguments[0].top;f.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}},r.prototype.scrollBy=function(){if(void 0!==arguments[0]){if(!0===c(arguments[0])){l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},r.prototype.scrollIntoView=function(){if(!0===c(arguments[0])){l.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]);return}var e=function(e){for(var t,r,l;e!==o.body&&!1===(r=a(t=e,”Y”)&&u(t,”Y”),l=a(t,”X”)&&u(t,”X”),r||l);)e=e.parentNode||e.host;return e}(this),r=e.getBoundingClientRect(),i=this.getBoundingClientRect();e!==o.body?(f.call(this,e,e.scrollLeft+i.left-r.left,e.scrollTop+i.top-r.top),”fixed”!==t.getComputedStyle(e).position&&t.scrollBy({left:r.left,top:r.top,behavior:”smooth”})):t.scrollBy({left:i.left,top:i.top,behavior:”smooth”})}}function n(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e){if(null===e||”object”!=typeof e||void 0===e.behavior||”auto”===e.behavior||”instant”===e.behavior)return!0;if(“object”==typeof e&&”smooth”===e.behavior)return!1;throw TypeError(“behavior member of ScrollOptions “+e.behavior+” is not a valid value for enumeration ScrollBehavior.”)}function a(e,t){return”Y”===t?e.clientHeight+s1?1:n))),l=o.startX+(o.x-o.startX)*r,s=o.startY+(o.y-o.startY)*r,o.method.call(o.scrollable,l,s),(l!==o.x||s!==o.y)&&t.requestAnimationFrame(e.bind(t,o))}({scrollable:c,method:f,startTime:h,startX:a,startY:u,x:r,y:s})}}}},9158:(e,t,o)=>{“use strict”;var r=o(22353),l=o(96679);l.cg?.addEventListener(“error”,e=>{e.error&&r.N7(e.error)}),l.cg?.addEventListener(“unhandledrejection”,async e=>{if(e.promise)try{await e.promise}catch(e){r.N7(e)}}),l.cg?.location.hash===”#b00m”&&setTimeout(()=>{throw Error(“b00m”)}),o(31196),o(48359);var i=o(7479);let s=fetch;function n({input:e,error:t,status:o}){if(!t)return;let r=e instanceof Request?e.url:e.toString();(0,i.i)({incrementKey:”FETCH_ERROR”,requestUrl:window.location.href,referredRequestUrl:r,incrementTags:{status:String(o)}},!1,1)}var c=o(27851),a=o(77065),u=o(26559);let f=window.fetch,h=(e,t)=>{if(e instanceof Request){let t={…Object.fromEntries(e.headers.entries()),…(0,u.kt)()};return f(new Request(e,{headers:t}))}{let o={…t?.headers??{},…(0,u.kt)()};return f(new Request(e,{…t,headers:o}))}};document.documentElement.hasAttribute(“override-fetch”)&&window.fetch!==h&&(window.fetch=h);var d=o(88191);(0,a.Bb)(),”undefined”!=typeof document&&(l.cg&&(l.cg.fetch=async(e,t)=>{try{let o=await s(e,t);return n({input:e,error:!o.ok,status:o.status}),o}catch(t){throw n({input:e,error:!0,status:”unknown”}),t}}),(()=>{if((0,c.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,c.G7)(“insert_before_patch”)&&”function”==typeof Node&&Node.prototype){let e=Node.prototype.insertBefore;Node.prototype.insertBefore=function(t,o){try{return e.apply(this,[t,o])}catch(e){if(e instanceof Error&&(e.stack?.includes(“react-lib”)||e.stack?.includes(“react-dom”)))return t;throw e}}}})(),(0,d.pS)())},53005:(e,t,o)=>{“use strict”;o.d(t,{O:()=>s,S:()=>i});var r=o(96679);let l=r.cg?.document?.head?.querySelector(‘meta[name=”release”]’)?.content||””,i=”X-GitHub-Client-Version”;function s(){return l}},26559:(e,t,o)=>{“use strict”;o.d(t,{jC:()=>c,kt:()=>s,tV:()=>n});var r=o(53005),l=o(27851),i=o(88191);function s(e){let t={“X-Requested-With”:”XMLHttpRequest”,…(0,i.wE)(e)};return(0,l.G7)(“client_version_header”)&&(t={…t,[r.S]:(0,r.O)()}),t}function n(e,t){for(let[o,r]of Object.entries(s(t)))e.set(o,r)}function c(e){if((0,l.G7)(“send_app_type_header”))return{“X-GitHub-App-Type”:e}}},88191:(e,t,o)=>{“use strict”;o.d(t,{$r:()=>s,M1:()=>n,li:()=>l,pS:()=>a,wE:()=>c});var r=o(96679);let l=”X-Fetch-Nonce”,i=new Set;function s(e){i.add(e)}function n(){return i.values().next().value||””}function c(e){let t={};return void 0!==e&&(t[“X-Fetch-Nonce-To-Validate”]=e),void 0===e?t[l]=n():i.has(e)?t[l]=e:t[l]=Array.from(i).join(“,”),t}function a(){let e=r.XC?.head?.querySelector(‘meta[name=”fetch-nonce”]’)?.content||””;e&&s(e)}}},e=>{var t=t=>e(e.s=t);e.O(0,[“vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js”,”vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1d3d52″,”ui_packages_failbot_failbot_ts”],()=>t(9158)),e.O()}]); //# sourceMappingURL=environment-68ef4cbd858a.js.map