티스토리 수익 글 보기

티스토리 수익 글 보기

!function(){function t(t,r,i){return r=n(r),function(t,e){if(e&&(“object”==o(e)||”function”==typeof e))return e;if(void 0!==e)throw new TypeError(“Derived constructors may only return object or undefined”);return function(t){if(void 0===t)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return t}(t)}(t,e()?Reflect.construct(r,i||[],n(t).constructor):r.apply(t,i))}function e(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e=function(){return!!t})()}function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function o(t){return o=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&”function”==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?”symbol”:typeof t},o(t)}function i(t,e){for(var n=0;n-1},C}(),Y=d,B=function(t){return!!O(t)&&!P.test(k.call(t))},V=K,Q=function(t){var e=z(null);return F.call(arguments,(function(t){L(t)&&function(t,e){var n;for(n in t)e[n]=t[n]}(Object(t),e)})),e},Z=H,q=m.exports=function(t,e){var n,r,o,i,a;return arguments.length<2||"string"!=typeof t?(i=e,e=t,t=null):i=arguments[2],Y(t)?(n=Z.call(t,"c"),r=Z.call(t,"e"),o=Z.call(t,"w")):(n=o=!0,r=!1),a={value:e,configurable:n,enumerable:r,writable:o},i?V(Q(i),a):a};q.gs=function(t,e,n){var r,o,i,a;return"string"!=typeof t?(i=n,n=e,e=t,t=null):i=arguments[3],Y(e)?B(e)?Y(n)?B(n)||(i=n,n=void 0):n=void 0:(i=e,e=n=void 0):e=void 0,Y(t)?(r=Z.call(t,"c"),o=Z.call(t,"e")):(r=!0,o=!1),a={get:e,set:n,configurable:r,enumerable:o},i?V(Q(i),a):a};var G,J,W=m.exports;var X,$,tt=function(){var t=Math.sign;return"function"==typeof t&&(1===t(10)&&-1===t(-20))}()?Math.sign:(J||(J=1,G=function(t){return t=Number(t),isNaN(t)||0===t?t:t>0?1:-1}),G),et=tt,nt=Math.abs,rt=Math.floor,ot=function(t){return isNaN(t)?0:0!==(t=Number(t))&&isFinite(t)?et(t)*rt(nt(t)):t};var it,at,st,ut,ct,lt,ft=”function”==typeof”foo”.repeat&&”foofoo”===”foo”.repeat(2)?String.prototype.repeat:function(){if($)return X;$=1;var t=U,e=ot;return X=function(n){var r,o=String(t(this));if((n=e(n))<0)throw new RangeError("Count must be >= 0″);if(!isFinite(n))throw new RangeError(“Count must be < ∞");for(r="";n;)n%2&&(r+=o),n>1&&(o+=o),n>>=1;return r},X}(),ht=ot,pt=U,gt=ft,yt=Math.abs,mt=Math.max,dt=ot,vt=Math.max,bt=function(t){return vt(0,dt(t))},wt=function(t){var e=String(pt(this)),n=e.length,r=arguments[1];return r=isNaN(r)?1:ht(r),t=gt.call(String(t),yt(r)),r>=0?t.slice(0,mt(0,r-n))+e:e+(n+r>=0?””:t.slice(r+n))},St=bt,Ot=Number.prototype.toFixed,Pt=Object.prototype.toString,kt=Pt.call(new Date),jt=function(t){return t&&!isNaN(t)&&(t instanceof Date||Pt.call(t)===kt)||!1},Tt=Date.prototype.getMonth,It=Date.prototype.getTime,_t=Date.prototype.setHours,Dt=function(){return _t.call(this,0,0,0,0),this},Mt=Dt,At=function(){return Mt.call(this).setDate(1),this},Et=At,Nt=function(t){return”function”==typeof t},Ut=U,Ct=Function.prototype.call,xt=W,Kt=function(t){var e;return t=St(t),e=St(arguments[1]),wt.call(e?Ot.call(this,e):this,”0″,t+(e?1+e:0))},Lt=function(t){if(!jt(t))throw new TypeError(t+” is not valid Date object”);return t},Ft=function(){switch(Tt.call(this)){case 1:return this.getFullYear()%4?28:29;case 3:case 5:case 8:case 10:return 30;default:return 31}},zt=function(){return new Date(It.call(this))},Rt=Dt,Ht=At,Yt=function(){return Et.call(this).setMonth(0),this},Bt=ot,Vt=bt,Qt=D,Zt=Math.abs;lt={y:function(){return String(Zt(this.year))},m:function(){return Kt.call(Zt(this.month),2)},d:function(){return Kt.call(Zt(this.day),2)},H:function(){return Kt.call(Zt(this.hour),2)},M:function(){return Kt.call(Zt(this.minute),2)},S:function(){return Kt.call(Zt(this.second),2)},L:function(){return Kt.call(Zt(this.millisecond),3)},ms:function(){return String(Zt(this.months))},ds:function(){return String(Zt(this.days))},Hs:function(){return String(Zt(this.hours))},Ms:function(){return String(Zt(this.minutes))},Ss:function(){return String(Zt(this.seconds))},Ls:function(){return String(Zt(this.milliseconds))},sign:function(){return this.to=e.from-Rt.call(zt.call(e.from));return n>r?(t=n-r,o||–t,e.sign*t):n===r&&o?0:(t=o?n:n-1,t+=Ft.call(e.from)-e.from.getDate(),e.sign*t)})),month:xt.gs((function(){var t=ct(this);return t.sign*((12-t.from.getMonth()+t.to.getMonth())%12-(t.from-Ht.call(zt.call(t.from))>t.to-Ht.call(zt.call(t.to))))})),year:xt.gs(st=function(){var t=ct(this);return t.sign*(t.to.getFullYear()-t.from.getFullYear()-(t.from-Yt.call(zt.call(t.from))>t.to-Yt.call(zt.call(t.to))))}),milliseconds:xt.gs(at,null),seconds:xt.gs((function(){return Bt(this.valueOf()/1e3)})),minutes:xt.gs((function(){return Bt(this.valueOf()/6e4)})),hours:xt.gs((function(){return Bt(this.valueOf()/36e5)})),days:xt.gs((function(){return Bt(this.valueOf()/864e5)})),months:xt.gs((function(){var t=ct(this);return t.sign*(12*(t.to.getFullYear()-t.from.getFullYear())+t.to.getMonth()-t.from.getMonth()-(t.from-Ht.call(zt.call(t.from))>t.to-Ht.call(zt.call(t.to))))})),years:xt.gs(st),_resolveSign:xt((function(t){return t&&this.to=0)&&(e=Zt(n=this.year)+”y”+(e?” “:””)+e)),this._resolveSign(n)+e)})),_toStringDefault:xt((function(t){var e,n=””;return t–<=0&&(n+="."+Kt.call(Zt(e=this.millisecond),3)),!this.seconds&&t<0?this._resolveSign(e)+n:(t--<=0&&(e=this.second,n=(this.minutes?Kt.call(Zt(e),2):Zt(e))+n),!this.minutes&&t<0?this._resolveSign(e)+n:(t--<=0&&(e=this.minute,n=(this.hours||n?Kt.call(Zt(e),2):Zt(e))+(n?":":"")+n),!this.hours&&t<0?this._resolveSign(e)+n:(t--<=0&&(n=Kt.call(Zt(e=this.hour),2)+(n?":":"")+n),this._toStringDefaultDate(t,n,e))))})),_toString1:xt((function(t){var e,n=[];return t--<=0&&n.unshift(Zt(e=this.millisecond)+"ms"),!this.seconds&&t<0?this._resolveSign(e)+n.join(" "):(t--<=0&&n.unshift(Zt(e=this.second)+"s"),!this.minutes&&t<0?this._resolveSign(e)+n.join(" "):(t--<=0&&n.unshift(Zt(e=this.minute)+"m"),!this.hours&&t<0?this._resolveSign(e)+n.join(" "):(t--<=0&&n.unshift(Zt(e=this.hour)+"h"),!this.days&&t<0?this._resolveSign(e)+n.join(" "):(t--<=0&&n.unshift(Zt(e=this.day)+"d"),!this.months&&t<0?this._resolveSign(e)+n.join(" "):(t--<=0&&n.unshift(Zt(e=this.month)+"m"),!this.years&&t<0||n.unshift(Zt(e=this.year)+"y"),this._resolveSign(e)+n.join(" "))))))})),toString:xt((function(t){var e;return Qt(t)||(t=0),isNaN(t)?it.call(this,t):(t=Number(t),e=Vt(arguments[1]),1===t?this._toString1(e):this._toStringDefault(e))}))});var qt,Gt,Jt,Wt,Xt=h(y.exports),$t=function(e){function n(e){var r;return s(this,n),u(r=t(this,n,[e]),"setUsage",(function(t){return r.TiaraInstance.usage(t),r})),u(r,"start",(function(){l()?r.TiaraInstance.trackUsage("글 상세뷰 완독률"):f()?r.TiaraInstance.trackUsage("블로그홈_체류시간"):r.TiaraInstance.trackUsage(),r.TiaraInstance.track()})),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&r(t,e)}(n,e),a(n)}(e);function te(){if(qt&&(l()||f())){var t=new Xt(Wt,new Date).milliseconds,e=document.documentElement.scrollHeight,n=document.documentElement.clientHeight,r=window.scrollY,o=r+n;(Gt=new $t(Jt.svcDomain)).setSection(qt.section).setPage(qt.page).setCustomProps(qt.customProps).setPageMeta(qt.pageMeta).setReferrer(qt.referrer).setUsage({duration:t,scroll_bottom:"".concat(o),scroll_height:"".concat(e),scroll_inner_height:"".concat(n),scroll_percent:"".concat(Math.round(o/e*100)),scroll_top:"".concat(r)}),qt.url&&Gt.setUrl(qt.url),Gt.start()}}function ee(t){if(t.detail&&c(t.detail,["url","prevLocation","currentLocation"])){Wt=new Date;var e=t.detail,n=e.url,r=e.prevLocation,o=e.currentLocation;r&&Object.prototype.hasOwnProperty.call(r,"pathname")&&qt.setReferrer("".concat(n).concat(r.pathname)),o&&Object.prototype.hasOwnProperty.call(o,"pathname")&&qt.setPage(o.pathname.replace("/","")).setUrl("".concat(n).concat(o.pathname)),qt.start(Jt.trackPage),te()}}window.addEventListener("load",(function(){Wt=new Date,Jt=new i,function(){qt=new e(Jt.svcDomain),Object.prototype.hasOwnProperty.call(Jt,"page")&&Jt.page?Jt.page=Jt.page.replace("/","_"):Jt.page="default";qt.setSection(Jt.section).setPage(Jt.page||"default").setCustomProps(Jt.customProps).setPageMeta(Jt.meta).setTitle(document.title).setKakaoAppKey(Jt.kakaoAppKey).setAppUserId(Jt.appUserId).start(Jt.trackPage)}(),window.addEventListener("changeStateEvent",ee)})),window.addEventListener("beforeunload",(function(){te(),window.removeEventListener("changeStateEvent",ee)}))}}}))}();