/* eslint-disable */ /*! * 51LA Analysis Javascript Software Development Kit * js-sdk-perf v1.7.08 * Copyright © 2016-2021 51.la All Rights Reserved */ var LingQue=function(c){'use strict';function d(e){return(d='function'==typeof Symbol&&'symbol'==typeof Symbol['iterator']?function(f){return typeof f;}:function(g){return g&&'function'==typeof Symbol&&g['constructor']===Symbol&&g!==Symbol['prototype']?'symbol':typeof g;})(e);}function h(i,c){if(!(i instanceof c))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');}function k(l,c){for(var B=0x0;BV['length'])&&(c=V['length']);for(var B=0x0,k=new Array(c);Bc));B+=0x1);return p['removeRule'](0x0),d;},document['querySelectorAll']||document['querySelector']||(document['querySelectorAll']=function(bn){return k(bn,0x1/0x0);},document['querySelector']=function(bo){return k(bo,0x1)[0x0]||null;});for(var bp=document['all'],c=bp['length'],B=0x0;Bthis['limit']||this['queues']['push'](cd);},'fire':function(){this['queues']&&0x0!==this['queues']['length']?(this['isStop']=!0x1,function(ce,c,B){B=!(0x2>>0x20-c;}var cx=function(cU){function c(cU,c,B,k){if('string'==typeof cU&&(cU=function(cU){cU=unescape(encodeURIComponent(cU));for(var c=[],B=0x0;B>>0x18,B[0x1]=c>>>0x10&0xff,B[0x2]=c>>>0x8&0xff,B[0x3]=0xff&c,B[0x4]=(c=parseInt(cU['slice'](0x9,0xd),0x10))>>>0x8,B[0x5]=0xff&c,B[0x6]=(c=parseInt(cU['slice'](0xe,0x12),0x10))>>>0x8,B[0x7]=0xff&c,B[0x8]=(c=parseInt(cU['slice'](0x13,0x17),0x10))>>>0x8,B[0x9]=0xff&c,B[0xa]=(c=parseInt(cU['slice'](0x18,0x24),0x10))/0x10000000000&0xff,B[0xb]=c/0x100000000&0xff,B[0xc]=c>>>0x18&0xff,B[0xd]=c>>>0x10&0xff,B[0xe]=c>>>0x8&0xff,B[0xf]=0xff&c,B;}(c):c)['length'])throw TypeError('Namespace\x20must\x20be\x20array-like\x20(16\x20iterable\x20integer\x20values,\x200-255)');var h=new Uint8Array(0x10+cU['length']);if(h['set'](c),h['set'](cU,c['length']),(h=function(cU){var c=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],B=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if('string'==typeof cU){var k=unescape(encodeURIComponent(cU));cU=[];for(var h=0x0;h>>0x0;al=ak,ak=aj,aj=cs(ai,0x1e)>>>0x0,ai=ah,ah=ca;}B[0x0]=B[0x0]+ah>>>0x0,B[0x1]=B[0x1]+ai>>>0x0,B[0x2]=B[0x2]+aj>>>0x0,B[0x3]=B[0x3]+ak>>>0x0,B[0x4]=B[0x4]+al>>>0x0;}return[B[0x0]>>0x18&0xff,B[0x0]>>0x10&0xff,B[0x0]>>0x8&0xff,0xff&B[0x0],B[0x1]>>0x18&0xff,B[0x1]>>0x10&0xff,B[0x1]>>0x8&0xff,0xff&B[0x1],B[0x2]>>0x18&0xff,B[0x2]>>0x10&0xff,B[0x2]>>0x8&0xff,0xff&B[0x2],B[0x3]>>0x18&0xff,B[0x3]>>0x10&0xff,B[0x3]>>0x8&0xff,0xff&B[0x3],B[0x4]>>0x18&0xff,B[0x4]>>0x10&0xff,B[0x4]>>0x8&0xff,0xff&B[0x4]];}(h))[0x6]=0xf&h[0x6]|0x50,h[0x8]=0x3f&h[0x8]|0x80,B){k=k||0x0;for(var d=0x0;d<0x10;++d)B[k+d]=h[d];return B;}return function(cU,c){c=0x1this['queues']['length']?0x0:fr;return this['queues']['slice'](fr);},'addQueues':function(fs){fs&&0x1<=Object['keys'](fs)['length']&&this['queues']['push'](fs);},'getLength':function(){return this['queues']['length'];}},cM=function(){t(k,cz);var B=G(k);function k(fv){var c;return h(this,k),(c=B['call'](this,fv))['jankFps']=fv['jankFps'],c['maxReport']=0xa,c;}return p(k,[{'key':'handleJank','value':function(){var B=this,k=this,h=0x0,d=this['maxReport'],p=this['jankFps']||0x14,t=0x0,fD=[Date['now'](),Date['now']()],w=fD[0x0],G=fD[0x1],P=[],U=[];this['sendSpaPv']&&al['registerHistoryHandler'](function(){P=[],U=[],d=B['maxReport'];});var Z=window['requestAnimationFrame']||window['webkitRequestAnimationFrame']||window['mozRequestAnimationFrame']||function(fD){window['setTimeout'](fD,0x3e8/0x3c);},c=function B(){var fD=Date['now'](),c=fD-G;Math['round'](0x3e8/c);t+=0x1,0x3e8+w<(G=fD)&&((c=Math['round'](0x3e8*t/(fD-w)))&&c<=p?P['push']({'time':new Date()['valueOf'](),'fps':c}):p