cbf3ac9766c65caa71d489bc5bfbe0f0bc3d1c68d6e957feca784dbffa81e8fb

Source Code:

/**
 * @(#)Rtoaster.js
 * Copyright (c) 2006-2021 BrainPad, Inc. All right reserved.
 * @version 4.5.1
 */
if(typeof Rtoaster==="undefined"){var Rtoaster={callback:void 0,timeout:2000,permit:true,host:"rt.rtoaster.jp"};!function(S,W){"use strict";var A="object",B="string",C="load",D=W.document,E=[],F="function",G="charAt",H=[],I="indexOf",J="style",K="script",L=W.location,M="onreadystatechange",N="length",O="lastIndexOf",P=L.protocol,Q="substring",R=D.referrer,T={},U="getElementById",V=void 0,X="parentNode",Y="visibility",Z="addEventListener",z="removeEventListener",y="attachEvent",x="detachEvent",w="event",v="_rt.",u=v+"uid",t=v+"opt",s=v+"sid",_A=function(a,b,c,d,e){(d=W.console)&&(e=d.error)&&e("["+a+"] "+b+(c?"\n"+c:""))},_B=function(a){return a&&a[N]&&a!=="null"&&a!=="undefined"},_C=W.encodeURIComponent||W.escape,_D=function(a){try{return(W.decodeURIComponent||W.unescape)(a.replace(/\+/g," "))}catch(_){return a}},_E=function(a,b){_A(a,new Error(b||"not initialized"))},_F=function(){return D.cookie.replace(/; /g,";").split(";")},_G=function(a){if(_B(a))for(var b=_F(),c=_C(a)+"=",d=b[N]-1,e,f,g;d>=0;d--)if(!(e=b[d])[I](c))return _D(e[Q](e[G](f=c[N])==='"'?f+1:f,e[G](g=e[N]-1)==='"'?g:g+1));return""},_H=function(a,b,c){for(b=E[N]-1;b>=0;b--)if((c=E[b]).E===a)return c},_I=W.setTimeout,_J=function(a,b){b=b||"\n";var c="",d=0,e=a[N],f;for(;d<e;d++)if(f=a[d])c+=(c?b:"")+f;return c},_K=W.clearTimeout,_L=function(a,b,c,d,e){if(e||_P())try{var f=D.charset||"UTF-8",g=D.getElementsByTagName(K)[0],h=D.createElement(K),i="on"+C,j="onerror";h.type="text/javascript";h.charset=f;h.src=P+"//"+S.host+"/"+a+"/?a="+T.A+"&m="+T.M+"&l="+T.L+b+"&i="+Math.random()+"&c="+f;h[i]=h[j]=h[M]=function(_,k){if(h&&(k||_N(h))){_K(h.X);try{h[M]=h[j]=h[i]=V;h[X].removeChild(h)}catch(_){}_Q(c,d);h=V}};if(c)h.X=_I(function(){h&&h.onload(V,1)},S.timeout);g[X].insertBefore(h,g)}catch(_){_Z()}else _Z(_Q(c,d))},_M=function(a,b,c){c=_G(t);if(!b&&c!=="O"||b&&(c==="O"||!S.permit&&!c))_T(2,V,{"_rt.of":b},typeof a===F?a:V,b?"optin":"optout",b)},_N=function(a,b,c){return(c=a.readyState)?c===C+"ed"||c==="complete":!b},_O=function(a,b,c){T.O||(T.O=[],_O(W,"un"+C,function(d,e,f,g){for(d=T.O,e=d[N]-1;e>=0;e--)f=d[e],g=f[0],g[z]?g[z](f[1],f[2]):g[x]&&g[x](f[1],f[2]),f[0]=f[2]=V;T.O=V}));a[Z]?a[Z](b,c):a[y]&&a[y](b="on"+b,c);T.O[T.O[N]]=[a,b,c]},_P=function(a){return(a=_G(t))==="I"||S.permit&&a!=="O"},_Q=function(a,b){try{a&&a(b)}catch(_){_A("callback->"+b,_,a)}},_R=function(a,b){T.F||_T();if(T.F===1){T.F=2;_K(T.H);var c=0,d=a[N],e,f,g=function(h,i,j,k,l,m,n,o,p){T.Q=V;if(T.F===2){T.X||(T.X=_I(_Z,S.timeout));if((i=S[j="trackingTime"])&&(h||T.B)){h=T.G||{},T.F=3,S[j]=V;if(_B(T.M)||_B(T.M=_C(_G(u))))for(j=0,k=E[N];j<k;j++)(l=E[j]).D&&D[U](o=l.E)&&(m=_J([m,o],","),l.D=V,_B(p=h[o])&&(n=_J([n,o+" "+p],"\t")));m?_L("r","&e="+_C(m)+"&p="+_C(_J([n&&"t="+n,T.C,T.D,T.E,T.P]))+"&t="+i):_Z()}else _I(g,1)}};for(;c<d;c++)if(e=a[c])(f=_H(e))?f.D=1:E[E[N]]={E:e,D:1};E[N]?b||T.B?g(1):T.Q=g:_Z()}},_S=function(a,b,c,d){a&&_B(b=a.key)&&(d=_C(b)+"=",_V(c=a.value)&&(d+=_C(c)),d+=";path="+(_B(c=a.path)?c:"/"),(_B(c=a.domain)||(c=T.R))&&(d+=";domain="+c),_B(c=a.expires)&&(d+=";expires="+c),D.cookie=d)},_T=function(a,b,c,d,e,f){if(_B(T.A)){var g=T.U,h=_F(),i,j=function(m,n,o,p,q){if(m)if((n=typeof m)===B)o="/",m[G](0)!==o&&((p=L.pathname)?p[G](p[N]-1)!==o&&((q=p[O](o))<0?p+=o:p=p[Q](0,q+1)):p=o,m=p+m),T.L=_C(P+"//"+L.host+m);else if(n===A)for(o in m)_V(p=m[o])&&(g=_J([g,o+"="+p]));else if(n===F)i=m},k=h[N]-1,l;for(;k>=0;k--)(l=h[k])[I](v)||(g=_J([g,l?_D(l):l]));a||T.N&&(g=_J([g,T.N]));T.F||(T.F=T.T=1);j(b);j(c);j(d);_L("t","&r="+(a===2?"!":_C(R))+"&p="+_C(g),i,e,f)}else _E(e)},_U=function(a){a&&_S({key:s,value:a})},_V=function(a,b){b=typeof a;return b===B||b==="number"||b==="boolean"},_W=function(a,b){_I(function(c,d,e){if(a&&(c=T.S[a]))for(d=0,e=c[N];d<e;d++)try{c[d](a,b)}catch(_){_A("listener->"+a+":"+d,_,c[d])}_Q(S.callback,a)},1)},_X=function(a,b){var c="content->"+a.id,d=function(k){var l=[D.open,D.close,D.write,D.writeln],m="",n=function(p,q,r){for(q=0,r=p[N];q<r;q++)m+=p[q]},o="execScript";if(k){D.open=D.close=function(){};D.write=function(){n(arguments)};D.writeln=function(){n(arguments);m+="\n"};try{W[o]?W[o](k):W["eval"].call(W,k)}catch(_){_A(c,_,k)}D.open=l[0];D.close=l[1];D.write=l[2];D.writeln=l[3]}return m},e=function(k,l){try{l=new XMLHttpRequest()}catch(_){var m=".XMLHTTP",n="Msxml2"+m,o=[n+".6.0",n+".3.0","Microsoft"+m];for(m in o)try{l=new ActiveXObject(o[m]);break}catch(_){l=V}}if(l){l.open("GET",k,!1);l.send(null);return l.responseText}},f=function(k){return k==="\n"||k==="\r"},g=function(k){return k==="\t"||k==="\f"||k===" "||f(k)},h="toLowerCase",i=0,j;typeof b===A?j=b.html:(j=b,b=V);if(!j)return 1;try{while((i=j[I]("<",i))>=0){var k=i,l=i+1,m=j[G](l),n=V,o,p;if(m!=="!"&&m!=="/"){o=j[I](">",l);if(o<0)break;i=o+1;if(o-l>=6&&(g(m=j[G](l+6))||m===">")&&j[Q](l,l+6)[h]()===K){for(m=j[Q](l+6,o),l=0;(l=m[I]("=",l))>=0;){p=m[G](++l);if((p==='"'||p==="'")&&(o=m[I](p,++l))>=0){if(g(m[G](l-6))&&m[Q](l-5,l-2)[h]()==="src"){n=e(m[Q](l,o));break}l=o+1}}for(m=i;(l=j[I]("</",m))>=0&&(m=j[I](">",l+2))>=0&&j[Q](l+2,m)[h]()!==K;m++);if(m<0)break;o=m+1;if(!n){while(g(j[G](i)))i++;m=l;l=i;if(j[G](i)==="<"&&j[G](++i)==="!"){while(!f(j[G](++i)));l=i+1}n=j[Q](l,m)}j=j[Q](0,k)+d(n)+j[Q](o);i=k}}else if(m==="!"&&j[G](++l)==="-"&&j[G](++l)==="-")if(j[G](++l)===">")i=l+1;else{o=j[I]("-->",l);if(o<0)break;i=o+3}else{o=j[I](">",l);if(o<0)break;i=o+1}}if(j){a.innerHTML=j;_W(a.id,b);return 1}}catch(_){_A(c,_,j)}},_Y=function(a){a&&(typeof a===B&&(a={key:a}),a.expires=new Date(0).toUTCString(),_S(a))},_Z=function(a,b,c,d,e){if(T.F!==4){if(a)(e=D[U](a))&&e[J][b="display"]==="none"&&(e[J][b]="block");else{T.F=4;_K(T.X);T.X=V;for(b=H[N]-1;b>=0;b--)c=H[b],d=c.E&&D[U](c.E),d&&(e=d[X])?(e.removeChild(d),e[J][Y]=c.V):c.P&&(e=D[U](c.P))&&(e[J][Y]=c.V);H=[]}_W(a)}};S.getParameter=function(a,b,c,d){return _B(a)&&_B(b=L.search)&&(c=b[I](a+"="))>0&&(c===1||b[G](c-1)==="&")?_D((d=b[I]("&",c+=a[N]+1))<0?b[Q](c):b[Q](c,d)):""};S.isPermitted=_P;S.init=function(a,b,c){if(_B(a))T.A=_C(a);T.F=0;T.L=_C(L.href);T.M=_C(_B(b)?b:_G(u));T.S={};T.U=_B(c)?v+"oid="+c:"";T.C=T.D=T.E=T.G=T.N=T.P=T.Q=V};S.optin=function(a){_M(a,1)};S.optout=function(a){_M(a,0)};S.hide=function(){if(T.F<3){var a=arguments,b=H[N],c="rt:c"+b,d=function(f,g){f&&(H[b]={E:g,P:f.id,V:f[J][Y]},f[J][Y]="hidden",b++||_O(W,C,function(){if(T.F<2)T.H=_I(_Z,S.timeout)}))},e;if(a&&(e=a[N])>0)for(c=0;c<e;c++)d(D[U](a[c]));else T.B||_N(D)||(D.write('<span id="'+c+'" style="display:none"></span>'),(e=D[U](c))&&d(e[X],c))}};S.item=function(a){if(a){var b,c="item",d="_code=",e=typeof a,f,g,h;if(e===B)T.P=c+d+a,T.N=_J([T.N,T.P]);else if(e===A){if(a instanceof Array)for(f=0,g=a[N];f<g;)_V(h=a[f++])&&(b=_J([b,c+f+d+h]));else for(f in a)f[I](c)&&f!=="subtotal"||!_V(h=a[f])||(b=_J([b,f+"="+h]));T.P=b}}};S.track=function(a,b,c){_T(T.F&&T.T,a,b,c,"track")};S[w]=function(a,b,c){T.T?_T(2,a,b,c,w):_E(w,"not tracked")};S.category=function(){var a=arguments,b=a[N],c,d,e,f;if(b===1)b=0,_V(c=a[0])?T.C="c="+c:c instanceof Array&&(a=c,b=a[N]);if(b>0){for(e=0;e<b;)_V(f=a[e++])&&(d=_J([d,"c"+e+"="+f]));T.C=d}};S.omit=function(){var a=_J(arguments,"\t");T.D=a?"o="+a:V};S.price=function(a,b,c,d){c=parseFloat;if(c(a)>=0)d="pf="+a;if(c(b)>=0)d=_J([d,"pt="+b]);T.E=d};S.target=function(a){T.G=typeof a===A?a:V};S.recommend=function(){_R(arguments,0)};S.recommendNow=function(){_R(arguments,1)};S.click=function(a,b,c){b=1;if(_B(a)&&(c=_H(a))&&c.T)b=_U(c.S);return!b};S.listen=function(a,b,c){T.S?_B(a)&&typeof b===F&&((c=T.S[a])?c[c[N]]=b:T.S[a]=[b]):_E("listen")};S.observe=function(a,b){b=b||C;b===C&&T.B?_I(a,1):_O(W,b,a)};S.show=function(a){var b,c,d,e="keydown",f="touchstart",g=function(h){!(h=h||W[w])||h.type===e&&h.keyCode!==13||_U(c.S)};if(T.F===3&&a&&(b=a.element)){(c=_H(b))||(E[E[N]]=c={E:b});T.R||(T.R=a.domain);c.S=a.sid;c.T=a[w];if((d=D[U](b))&&_X(d,a.content)&&c.T){_O(d,"mousedown",g);_O(d,e,g);if(W["on"+f]!==V)_O(d,f,g),_O(d,"touchmove",function(){_Y(s)})}}};S.flush=_Z;S.Cookie={get:_G,set:_S,remove:_Y};S.History={remove:function(){var a=arguments,b=a[N]?_J(a,"\t"):"*";T.F?_T(2,{"_rt.rh":b}):T.N=_J([T.N,v+"rh="+b])}};!function(a,b,c,d){a=function(){T.B=C;T.Q&&T.Q()};if(_N(D,1))a();else{D[Z]&&D[Z](d="DOMContentLoaded",c=function(){D[z](d,c);a()});D[y]&&D[y](M,b=function(){if(_N(D))D[x](M,b),a()});/*@cc_on if((c=D.documentElement).doScroll&&W==W.top)(d=function(){try{c.doScroll("left");a()}catch(_){_I(d,1)}})();@*/_O(W,C,a)}}()}(Rtoaster,window)}