(function(){(function(bk){"use strict";var P=Function.prototype.call.bind(Function.prototype.toString);var u=[];var B=[];var n={toString:function(){var a=u.lastIndexOf(this);if(a>=0){return B[a]}return P(this)}};n.toString.prototype=void 0;u=[n.toString];B=[P(Function.prototype.toString)];function C(a,c){if(typeof c!=="function"){return}try{var b=n.toString.call(c);B.push(b);u.push(a);if(Function.prototype.toString!==n.toString){Function.prototype.toString=n.toString}}catch(a){}}var H="ZT4tcOwEFkVEzfiT1T6u";var bo=Object.call.bind(Object.bind,Object.call);var bm=bo(Object.call);var bn=Array.prototype.push;var bq=Array.prototype.indexOf;var bc=Array.prototype.concat;var m=Array.prototype.slice;function D(){return{__callbacks:[],notify:function(g){var h;var d=bm(m,this.__callbacks);var a=d.length;for(var b=a-1;b>=0;--b){try{var e=d[b];if(e!=null){var c=e(g,h);if(c!=null){h=c}}}catch(a){}}return h},register:function(a){bm(bn,this.__callbacks,a)},unregister:function(b){var a=bm(bq,this.__callbacks,b);if(a!==-1){this.__callbacks[a]=null}},__merge:function(a){if(a!=null){this.__callbacks=bm(bc,this.__callbacks,a.__callbacks)}}}}var O=Object.hasOwnProperty;var Q=Object.getPrototypeOf;var S=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var Z=Object.defineProperty;var bg=Object.call.bind(Object.bind,Object.call);var bj=bg(Object.apply);var bd=bg(Object.call);var ba=Object.create;var bh=Function.prototype.bind;var s=Array.prototype.push;var N=Array.prototype.indexOf;var A=["arguments","caller"];var bb;if(typeof Reflect!=="undefined"&&Reflect!=null&&typeof Reflect.construct==="function"){bb=Reflect.construct}else{bb=function(a,c){var d=[null];bj(s,d,c);var e=bj(bh,a,d);return new e}}function W(a,e){var c=a;while(c!=null){var b=S(c,e);if(b!=null){return{containingObj:c,desc:b}}c=Q(c)}return null}var I=ba(null);function M(a){if(a==null){return}I=a}function E(b,e){var a=I[e];if(a==null){return null}for(var f=0;f0){var g=e[0];var h=e[1];var f=new o(g,h);var a={url:f.url,method:f.method};if(r!=null&&r.shouldHook(a)){var j=r.getEncodedData();if(j){for(var b in j){if(!{}.hasOwnProperty.call(j,b))continue;var d=j[b];var i=r.config.headerNamePrefix+b;var k=r.chunk(i,d,r.config.headerChunkSize);for(var l in k){if(!{}.hasOwnProperty.call(k,l))continue;f.headers.set(l,k[l])}}}}return{args:[f]}}return c};F.fetch.onBeforeInvoke.register(p)}}());addEventListener(G,function c(b){r=b.detail;removeEventListener(G,c,true)},true);addEventListener(t,function c(b){if(b.detail!=null&&b.detail.exchange!=null){{if(F.xhrOpen!=null&&y!=null){F.xhrOpen.onBeforeInvoke.unregister(y)}if(F.xhrSend!=null&&x!=null){F.xhrSend.onBeforeInvoke.unregister(x)}}{if(F.fetch!=null){F.fetch.onBeforeInvoke.unregister(z)}}b.detail.exchange({instrumented:F})}removeEventListener(t,c,true)},true)}(this))}())