티스토리 수익 글 보기

티스토리 수익 글 보기

performance.mark(“js-parse-end:8173-bdc1616379db1afa.js”); “use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[“8173″],{21744(e,t,n){function i(){if(!(this instanceof i))return new i;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}n.d(t,{h:()=>T,on:()=>S});var r,s=window.document.documentElement,o=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector;i.prototype.matchesSelector=function(e,t){return o.call(e,t)},i.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},i.prototype.indexes=[];var l=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;i.prototype.indexes.push({name:”ID”,selector:function(e){var t;if(t=e.match(l))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var a=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;i.prototype.indexes.push({name:”CLASS”,selector:function(e){var t;if(t=e.match(a))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 c=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;i.prototype.indexes.push({name:”TAG”,selector:function(e){var t;if(t=e.match(c))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),i.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 h=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|[‘”][^'”]*[‘”]|[^\[\]'”]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function u(e,t){var n,i,r,s,o,l,a=(e=e.slice(0).concat(e.default)).length,c=t,u=[];do if(h.exec(“”),(r=h.exec(c))&&(c=r[3],r[2]||!c)){for(n=0;n3&&void 0!==arguments[3]?arguments[3]:{},s=!!r.capture,o=s?p:d,l=o[e];l||(l=new i,o[e]=l,document.addEventListener(e,O,s)),l.add(t,n)}function T(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}},50515(e,t,n){n.d(t,{JC:()=>k,KK:()=>f,Vy:()=>a,ai:()=>w,rd:()=>d});class i{constructor(e){this.children=[],this.parent=e}delete(e){let t=this.children.indexOf(e);return -1!==t&&(this.children=this.children.slice(0,t).concat(this.children.slice(t+1)),0===this.children.length&&this.parent.delete(this),!0)}add(e){return this.children.push(e),this}}class r{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let n=0;n“,”\xbf”:”?”},o={“`”:”~”,1:”!”,2:”@”,3:”#”,4:”$”,5:”%”,6:”^”,7:”&”,8:”*”,9:”(“,0:”)”,”-“:”_”,”=”:”+”,”[“:”{“,”]”:”}”,”\\”:”|”,”;”:”:”,”‘”:'”‘,”,”:”<",".":">“,”/”:”?”,q:”Q”,w:”W”,e:”E”,r:”R”,t:”T”,y:”Y”,u:”U”,i:”I”,o:”O”,p:”P”,a:”A”,s:”S”,d:”D”,f:”F”,g:”G”,h:”H”,j:”J”,k:”K”,l:”L”,z:”Z”,x:”X”,c:”C”,v:”V”,b:”B”,n:”N”,m:”M”},l={” “:”Space”,”+”:”Plus”};function a(e,t=navigator.platform){var n,i,r;let{ctrlKey:h,altKey:f,metaKey:d,shiftKey:p,key:g}=e,m=[];for(let[e,t]of[h,f,d,p].entries())t&&m.push(c[e]);if(!c.includes(g)){let e=m.includes(“Alt”)&&u.test(t)&&null!=(n=s[g])?n:g,a=m.includes(“Shift”)&&u.test(t)&&null!=(i=o[e])?i:e,c=null!=(r=l[a])?r:a;m.push(c)}return m.join(“+”)}let c=[“Control”,”Alt”,”Meta”,”Shift”];function h(e,t){let n,i,r;{var s,o,l,a=(s=e,o=t,i=”u”this.reset(),f.CHORD_TIMEOUT)}}function d(e){return e.split(” “).map(e=>h(e)).join(” “)}function p(e){if(!(e instanceof HTMLElement))return!1;let t=e.nodeName.toLowerCase(),n=(e.getAttribute(“type”)||””).toLowerCase();return”select”===t||”textarea”===t||”input”===t&&”submit”!==n&&”reset”!==n&&”checkbox”!==n&&”radio”!==n&&”file”!==n||e.isContentEditable}f.CHORD_TIMEOUT=1500;let g=new r,m=new WeakMap,v=g,y=new f({onReset(){v=g}});function b(e){if(e.defaultPrevented||!(e.target instanceof Node))return;if(p(e.target)){let t=e.target;if(!t.id||!t.ownerDocument.querySelector(`[data-hotkey-scope=”${t.id}”]`))return}let t=v.get(a(e));if(!t)return void y.reset();if(y.registerKeypress(e),v=t,t instanceof i){let i,r=e.target,s=!1,o=p(r);for(let e=t.children.length-1;e>=0;e-=1){let n=(i=t.children[e]).getAttribute(“data-hotkey-scope”);if(!o&&!n||o&&r.id===n){s=!0;break}}if(i&&s){var n;let t;n=i,t=new CustomEvent(“hotkey-fire”,{cancelable:!0,detail:{path:y.path}}),n.dispatchEvent(t)&&(p(n)?n.focus():n.click()),e.preventDefault()}y.reset()}}function w(e,t){0===Object.keys(g.children).length&&document.addEventListener(“keydown”,b);let n=(function(e){let t=[],n=[“”],i=!1;for(let r=0;re.map(e=>h(e)).filter(e=>””!==e)).filter(e=>e.length>0)})(t||e.getAttribute(“data-hotkey”)||””).map(t=>g.insert(t).add(e));m.set(e,n)}function k(e){let t=m.get(e);if(t&&t.length)for(let n of t)n&&n.delete(e);0===Object.keys(g.children).length&&document.removeEventListener(“keydown”,b)}},5225(e,t,n){function i(…e){return JSON.stringify(e,(e,t)=>”object”==typeof t?t:String(t))}function r(e,t={}){let{hash:n=i,cache:s=new Map}=t;return function(…t){let i=n.apply(this,t);if(s.has(i))return s.get(i);let r=e.apply(this,t);return r instanceof Promise&&(r=r.catch(e=>{throw s.delete(i),e})),s.set(i,r),r}}n.d(t,{A:()=>r})}}]); //# sourceMappingURL=8173-bdc1616379db1afa-fbc1861f2e7d05ae.js.map