티스토리 수익 글 보기
“use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[1972,3201,4218,4329,6315,9389,13114,13892,16902,19973,23767,24291,28773,28970,31146,34313,35168,37402,37415,38074,41357,42352,45338,48727,49940,50531,52296,53345,54501,57293,57431,58281,59485,60229,64492,65404,65995,71282,71556,73369,73560,73575,74327,75057,76326,76413,76512,77589,78927,83846,84798,85243,86460,86830,90920,91472,95919],{39595:(t,e,o)=>{let n;o.d(e,{CF:()=>g,p_:()=>P,FB:()=>u,Se:()=>E,aC:()=>L,zV:()=>x});let a=new WeakSet,r=new WeakMap;function s(t=document){if(r.has(t))return r.get(t);let e=!1,o=new MutationObserver(t=>{for(let e of t)if(“attributes”===e.type&&e.target instanceof Element)d(e.target);else if(“childList”===e.type&&e.addedNodes.length)for(let t of e.addedNodes)t instanceof Element&&i(t)});o.observe(t,{childList:!0,subtree:!0,attributeFilter:[“data-action”]});let n={get closed(){return e},unsubscribe(){e=!0,r.delete(t),o.disconnect()}};return r.set(t,n),n}function i(t){for(let e of t.querySelectorAll(“[data-action]”))d(e);t instanceof Element&&t.hasAttribute(“data-action”)&&d(t)}function l(t){let e=t.currentTarget;for(let o of c(e))if(t.type===o.type){let n=e.closest(o.tag);a.has(n)&&”function”==typeof n[o.method]&&n[o.method](t);let r=e.getRootNode();if(r instanceof ShadowRoot&&a.has(r.host)&&r.host.matches(o.tag)){let e=r.host;”function”==typeof e[o.method]&&e[o.method](t)}}}function*c(t){for(let e of(t.getAttribute(“data-action”)||””).trim().split(/\s+/)){let t=e.lastIndexOf(“:”),o=Math.max(0,e.lastIndexOf(“#”))||e.length;yield{type:e.slice(0,t),tag:e.slice(t+1,o),method:e.slice(o+1)||”handleEvent”}}}function d(t){for(let e of c(t))t.addEventListener(e.type,l)}function u(t,e){let o=t.tagName.toLowerCase();if(t.shadowRoot){for(let n of t.shadowRoot.querySelectorAll(`[data-target~=”${o}.${e}”]`))if(!n.closest(o))return n}for(let n of t.querySelectorAll(`[data-target~=”${o}.${e}”]`))if(n.closest(o)===t)return n}let f=t=>String(“symbol”==typeof t?t.description:t).replace(/([A-Z]($|[a-z]))/g,”-$1″).replace(/–/g,”-“).replace(/^-|-$/,””).toLowerCase(),b=(t,e=”property”)=>{let o=f(t);if(!o.includes(“-“))throw new DOMException(`${e}: ${String(t)} is not a valid ${e} name`,”SyntaxError”);return o},h=”attr”;function g(t,e){$(t,h).add(e)}let p=new WeakSet;function m(t,e){if(p.has(t))return;p.add(t);let o=Object.getPrototypeOf(t),n=o?.constructor?.attrPrefix??”data-“;for(let a of(e||(e=$(o,h)),e)){let e=t[a],o=b(`${n}${a}`),r={configurable:!0,get(){return this.getAttribute(o)||””},set(t){this.setAttribute(o,t||””)}};”number”==typeof e?r={configurable:!0,get(){return Number(this.getAttribute(o)||0)},set(t){this.setAttribute(o,t)}}:”boolean”==typeof e&&(r={configurable:!0,get(){return this.hasAttribute(o)},set(t){this.toggleAttribute(o,t)}}),Object.defineProperty(t,a,r),a in t&&!t.hasAttribute(o)&&r.set.call(t,e)}}let y=new Map,w=new Promise(t=>{“loading”!==document.readyState?t():document.addEventListener(“readystatechange”,()=>t(),{once:!0})}),A=new Promise(t=>{let e=new AbortController;e.signal.addEventListener(“abort”,()=>t());let o={once:!0,passive:!0,signal:e.signal},n=()=>e.abort();document.addEventListener(“mousedown”,n,o),document.addEventListener(“touchstart”,n,o),document.addEventListener(“keydown”,n,o),document.addEventListener(“pointerdown”,n,o)}),C={ready:()=>w,firstInteraction:()=>A,visible:t=>new Promise(e=>{let o=new IntersectionObserver(t=>{for(let n of t)if(n.isIntersecting){e(),o.disconnect();return}},{rootMargin:”0px 0px 256px 0px”,threshold:.01});for(let e of document.querySelectorAll(t))o.observe(e)})},v=new WeakMap;function k(t){cancelAnimationFrame(v.get(t)||0),v.set(t,requestAnimationFrame(()=>{for(let e of y.keys()){let o=t instanceof Element&&t.matches(e)?t:t.querySelector(e);if(customElements.get(e)||o){let n=o?.getAttribute(“data-load-on”)||”ready”,a=n in C?C[n]:C.ready;for(let t of y.get(e)||[])a(e).then(t);y.delete(e),v.delete(t)}}}))}function E(t,e){for(let[o,n]of(“string”==typeof t&&e&&(t={[t]:e}),Object.entries(t)))y.has(o)||y.set(o,new Set),y.get(o).add(n);S(document)}function S(t){n||(n=new MutationObserver(t=>{if(y.size)for(let e of t)for(let t of e.addedNodes)t instanceof Element&&k(t)})),k(t),n.observe(t,{subtree:!0,childList:!0})}let O=Symbol.for(“catalyst”);let CatalystDelegate=class CatalystDelegate{constructor(t){const e=this,o=t.prototype.connectedCallback;t.prototype.connectedCallback=function(){e.connectedCallback(this,o)};const n=t.prototype.disconnectedCallback;t.prototype.disconnectedCallback=function(){e.disconnectedCallback(this,n)};const a=t.prototype.attributeChangedCallback;t.prototype.attributeChangedCallback=function(t,o,n){e.attributeChangedCallback(this,t,o,n,a)};let r=t.observedAttributes||[];Object.defineProperty(t,”observedAttributes”,{configurable:!0,get(){return e.observedAttributes(this,r)},set(t){r=t}}),function(t){let e=t.observedAttributes||[],o=t.attrPrefix??”data-“,n=t=>b(`${o}${t}`);Object.defineProperty(t,”observedAttributes”,{configurable:!0,get:()=>[…$(t.prototype,h)].map(n).concat(e),set(t){e=t}})}(t),function(t){let e=f(t.name).replace(/-element$/,””);try{window.customElements.define(e,t),window[t.name]=customElements.get(e)}catch(t){if(!(t instanceof DOMException&&”NotSupportedError”===t.name))throw t}}(t)}observedAttributes(t,e){return e}connectedCallback(t,e){var o,n;for(let e of(t.toggleAttribute(“data-catalyst”,!0),customElements.upgrade(t),t.querySelectorAll(“template[data-shadowroot]”)))e.parentElement===t&&t.attachShadow({mode:”closed”===e.getAttribute(“data-shadowroot”)?”closed”:”open”}).append(e.content.cloneNode(!0));(m(t),a.add(t),t.shadowRoot&&(i(n=t.shadowRoot),s(n)),i(t),s(t.ownerDocument),e?.call(t),t.shadowRoot)&&(i(o=t.shadowRoot),s(o),S(t.shadowRoot))}disconnectedCallback(t,e){e?.call(t)}attributeChangedCallback(t,e,o,n,a){m(t),”data-catalyst”!==e&&a&&a.call(t,e,o,n)}};function $(t,e){if(!Object.prototype.hasOwnProperty.call(t,O)){let e=t[O],o=t[O]=new Map;if(e)for(let[t,n]of e)o.set(t,new Set(n))}let o=t[O];return o.has(e)||o.set(e,new Set),o.get(e)}function L(t,e){$(t,”target”).add(e),Object.defineProperty(t,e,{configurable:!0,get(){return u(this,e)}})}function x(t,e){$(t,”targets”).add(e),Object.defineProperty(t,e,{configurable:!0,get(){let t=this.tagName.toLowerCase(),o=[];if(this.shadowRoot)for(let n of this.shadowRoot.querySelectorAll(`[data-targets~=”${t}.${e}”]`))n.closest(t)||o.push(n);for(let n of this.querySelectorAll(`[data-targets~=”${t}.${e}”]`))n.closest(t)===this&&o.push(n);return o}})}function P(t){new CatalystDelegate(t)}}},t=>{t.O(0,[3088,43934,82216,67733,97068,913,6488,31475,48775,42892,23832,9288,57972],()=>t(t.s=24117)),t.O()}]);
//# sourceMappingURL=notifications-subscriptions-menu-1a2cbe969ea5.js.map