0% found this document useful (0 votes)
50 views2 pages

F

This document defines functions for initializing and interacting with a botguard instance. It defines functions for starting timing measurements, reporting measurements to the botguard queue, and retrieving a botguard response code.

Uploaded by

Sunshine girl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views2 pages

F

This document defines functions for initializing and interacting with a botguard instance. It defines functions for starting timing measurements, reporting measurements to the botguard queue, and retrieving a botguard response code.

Uploaded by

Sunshine girl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

(function(){/*

Copyright The Closure Library Authors.


SPDX-License-Identifier: Apache-2.0
*/
var aa="function"==typeof Object.create?Object.create:function(a){function b()
{}b.prototype=a;return new b},g;if("function"==typeof
Object.setPrototypeOf)g=Object.setPrototypeOf;else{var k;a:{var ba={a:!
0},l={};try{l.__proto__=ba;k=l.a;break a}catch(a){}k=!1}g=k?function(a,b)
{a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not
extensible");return a}:null}var m=g;
function n(a,b)
{a.prototype=aa(b.prototype);a.prototype.constructor=a;if(m)m(a,b);else for(var c
in b)if("prototype"!=c)if(Object.defineProperties){var
d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else
a[c]=b[c];a.j=b.prototype}var p=this||self,ca=/^[\w+/_-]+[=]{0,2}$/,q=null;function
r(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||
a.getAttribute("nonce"))&&ca.test(a)?a:""}function t(){}function u(a){return a};var
v;var da=Array.prototype.forEach?function(a,b)
{Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var
c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void
0,d[e],e,a)};var w;function x(a,b){this.g=b===y?
a:""}x.prototype.toString=function(){return this.g+""};var y={};function z(a){z["
"](a);return a}z[" "]=t;function A(a,b,c)
{a.addEventListener&&a.addEventListener(b,c,!1)};function B(a,b)
{b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return
a.createElement(b)}function C(a){this.g=a||p.document||document};function D(){var
a=E;try{var b;if(b=!!a&&null!=a.location.href)a:{try{z(a.foo);b=!0;break a}catch(c)
{}b=!1}return b}catch(c){return!1}};var F=document;var G={};function H(a){if(a!
==G)throw Error("Bad secret");};function I(){var a="undefined"!==typeof window?
window.trustedTypes:void 0;return null!==a&&void 0!==a?a:null};var J;function ea()
{}function K(a,b){H(b);this.g=a}n(K,ea);K.prototype.toString=function(){return
this.g.toString()};var L=null===(J=I())||void 0===J?void 0:J.emptyHTML;new K(null!
==L&&void 0!==L?L:"",G);var M;function fa(){}function N(a,b)
{H(b);this.g=a}n(N,fa);N.prototype.toString=function(){return
this.g.toString()};var O=null===(M=I())||void 0===M?void 0:M.emptyScript;new
N(null!==O&&void 0!==O?O:"",G);function ha(){}function P(a,b)
{H(b);this.g=a}n(P,ha);P.prototype.toString=function(){return this.g};new
P("about:blank",G);new P("about:invalid#zTSz",G);function ia(a,b){a.src=b
instanceof x&&b.constructor===x?b.g:"type_error:TrustedResourceUrl";
(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=p?b=r(b.document):
(null===q&&(q=r(p.document)),b=q);b&&a.setAttribute("nonce",b)};function ja(a)
{ka();if(void 0===w){var b=null;var c=p.trustedTypes;if(c&&c.createPolicy)
{try{b=c.createPolicy("goog#html",
{createHTML:u,createScript:u,createScriptURL:u})}catch(d)
{p.console&&p.console.error(d.message)}w=b}else w=b}a=(b=w)?
b.createScriptURL(a):a;return new x(a,y)}var ka=t;function la(a){var
b=ma,c=na;a=void 0===a?document:a;var d=B((a?new C(9==a.nodeType?
a:a.ownerDocument||a.document):v||(v=new
C)).g,"SCRIPT");d.type="text/javascript";c&&(void 0!==d.onreadystatechange?
d.onreadystatechange=function()
{if("complete"==d.readyState||"loaded"==d.readyState)try{c&&c()}catch(f)
{}}:d.onload=c);ia(d,ja(b));var e=a.getElementsByTagName("head")
[0];if(e)try{p.setTimeout(function(){e.appendChild(d)},0)}catch(f){}}var oa=!!
window.google_async_iframe_id,E=oa&&window.parent||window;var Q=null;function
pa(a,b){var c=void 0===c?p:c;c=c.performance;(c=c&&c.now?c.now():null)||
(c=(c=p.performance)&&c.now&&c.timing?Math.floor(c.now()
+c.timing.navigationStart):Date.now());this.label=a;this.type=b;this.value=c;this.d
uration=0;this.uniqueId=Math.random();this.slotId=void 0};var R=p.performance,qa=!!
(R&&R.mark&&R.measure&&R.clearMarks),S=function(a){var b=!1,c;return function(){b||
(c=a(),b=!0);return c}}(function(){var a;if(a=qa){var b;if(null===Q)
{Q="";try{a="";try{a=p.top.location.hash}catch(c)
{a=p.location.hash}a&&(Q=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c)
{}}b=Q;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
function ra(){var a=T;this.g=[];this.i=a||p;var
b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||
[],this.g=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.h=S()||
(null!=b?b:1>Math.random())}function sa(a)
{a&&R&&S()&&(R.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),R.clearMarks("go
og_"+a.label+"_"+a.uniqueId+"_end"))}ra.prototype.start=function(a,b){if(!
this.h)return null;a=new
pa(a,b);b="goog_"+a.label+"_"+a.uniqueId+"_start";R&&S()&&R.mark(b);return
a};if(oa&&!D()){var U="."+F.domain;try{for(;2<U.split(".").length&&!
D();)F.domain=U=U.substr(U.indexOf(".")+1),E=window.parent}catch(a){}D()||
(E=window)}var T=E,V=new ra;function ta(){T.google_measure_js_timing||(V.h=!1,V.g!
=V.i.google_js_reporting_queue&&(S()&&da(V.g,sa),V.g.length=0))}"number"!==typeof
T.google_srt&&(T.google_srt=Math.random());"complete"==T.document.readyState?
ta():V.h&&A(T,"load",function(){ta()});function W(a,b,c,d,e){if(e)c=a+
("&"+b+"="+c);else{var f="&"+b+"=",h=a.indexOf(f);0>h?c=a+f+c:
(h+=f.length,f=a.indexOf("&",h),c=0<=f?a.substring(0,h)
+c+a.substring(f):a.substring(0,h)+c)}return 2E3<c.length?void 0!==d?W(a,b,d,void
0,e):a:c};function ua(a,b,c,d,e,f){window.css?
window.css(b,c,d,e,f):a&&(a.href=W(a.href,c,d,f,e))};var ma,va,X,wa,Y;function xa()
{var a=window,b=xa;a.removeEventListener&&a.removeEventListener("load",b,!1);!
Y&&(a=B(document,"IFRAME"),a.frameBorder="0",a.style.height=0,a.style.width=0,a.sty
le.position="absolute",Y=a,document.body&&(document.body.appendChild(a),a=Y))&&(a=a
.contentWindow)&&(X="1",a.document.open(),a.document.write("<!doctype
html><html><head></head><body></body></html>"),a.document.close(),la(a.document))}
function na(){var a=Y;if(a&&(a=a.contentWindow))if(X="",a.botguard){var
b=a.botguard.bg;if(b)try{ya(function(){wa=new b(va)})}catch(c){X="5"}else
X="3"}else X="2"}function za(){var a=null;try{a=window.rvdt,"number"===typeof a?
a=36E5>a?""+a:"M":a=null}catch(b){}return a}function Aa()
{return["bg",Z(),"9"]}function ya(a){window.wrpfc=a;window.wrpfc()}
function Z(){var a=wa;if(X)return X;if(!a)return"5";if(!a.invoke)return"4";var
b;try{ya(function(){a.invoke(function(c){b=c})})}catch(c){return"6"}return
b&&b.length?3>b.length?"7":1350<b.length?(A(window,"unload",function(){var
c=["bg",b],d=["id","bg"];if(d&&c&&d.length&&c.length&&d.length==c.length){for(var
e=["https://","pagead2.googlesyndication.com","/pagead/gen_204"],f="?",h=0;h<d.leng
th;h++)e.push(f+d[h]
+"="+c[h]),f="&";c=e.join("");d=window;d.google_image_requests||
(d.google_image_requests=
[]);e=d.document.createElement("img");e.src=c;d.google_image_requests.push(e)}}),"8
"):b:"6"};window.bga=function(a,b,c)
{ma=a;va=b;X="0";c&&window.osdlac&&window.osdlac(Aa);A(window,"load",xa)};window.bg
y=function(a){var b=za();b&&(a=W(a,"rvdt",b));return
W(a,"bg",Z(),"9")};window.bgz=function(a){var b=document.getElementById(a);if(b)
{var c=za();c&&ua(b,a,"rvdt",c);ua(b,a,"bg",Z(),!1,"9")}};}).call(this);

You might also like