/*
 * Copyright (c) 2013 Netbiscuits GmbH
 * All rights reserved. Unless required by applicable law
 * or agreed to in writing, this software/data
 * USAGE IS STRICTLY PROHIBITED
 *
 * Date: 2013-2-19
 */
(function(){var JSON;var deviceDetect;var dcsInitialization;dcsInitialization=(function(func){return func;}(function DCS_initialization(response,deviceDetectCallbacks){var CONSTANT={LOG:"log",SILENT:"silent",THROW:"throw",ROOT:window};var DCS={};DCS.dcsVersion="1.0.7";function raiseException(){var i;for(i=0;i<response.errors.length;i+=1){DCS._error(response.errors[i].text+". "+response.errors[i].reason);}}function exportPlugin(){var settingsNames=DCS.settings.name,namesLength,i;if(typeof settingsNames==="string"){settingsNames=[settingsNames];}namesLength=settingsNames.length;function processNames(nsName){var namespaceName=nsName,objectTree,papaObject,pluginName;objectTree=getTree(namespaceName);papaObject=getPreLast(objectTree);pluginName=namespaceName.split(".");pluginName=getLast(pluginName);if(papaObject){papaObject[pluginName]=DCS;}}for(i=0;i<namesLength;i+=1){processNames(settingsNames[i]);}}function mergeClientDetection(){if(isObject(deviceDetectCallbacks)){DCS._data=merge(deviceDetectCallbacks,DCS._data);}}function initPlugin(){mergeClientDetection();exportPlugin();raiseException();return DCS;}var create=Object.create?function(){return Object.create.apply(Object,arguments);}:function(obj){var F=function(){};F.prototype=obj;return new F();};var trim=String.prototype.trim?function(string){return string.trim();}:function(string){return string.replace(/^\s+|\s+$/g,"");};function isObject(obj){return Object.prototype.toString.call(obj)==="[object Object]"||typeof obj==="object";}function merge(from,to){var propertyName;for(propertyName in from){if(isObject(from[propertyName])){if(!to.hasOwnProperty(propertyName)){to[propertyName]={};}merge(from[propertyName],to[propertyName]);}else{to[propertyName.toLowerCase()]=from[propertyName];}}return to;}function getLast(arr){return arr[arr.length-1];}function setLast(arr,val){arr[arr.length-1]=val;}function getPreLast(arr){return arr[arr.length-2];}function getTree(string,context){var path;var i;var res;var current_level;string=trim(string);path=string.split(".");current_level=context||CONSTANT.ROOT;res=[current_level];for(i=0;i<path.length;i+=1){if(current_level&&isObject(current_level)&&path[i] in current_level){current_level=current_level[path[i]];}else{current_level=undefined;}res.push(current_level);}return res;}function updateTree(string,context,value){var path;var i;var current_level;string=trim(string);path=string.split(".");current_level=context||CONSTANT.ROOT;for(i=0;i<path.length;i+=1){if(i===path.length-1){current_level[path[i]]=value;}else{if(current_level&&isObject(current_level)&&path[i] in current_level){current_level=current_level[path[i]];}else{current_level[path[i]]={};current_level=current_level[path[i]];}}}}DCS.settings=response.settings;DCS._data=response.data;DCS._log=function(){if(window.console&&typeof window.console.log==="function"){window.console.log.apply(window.console,arguments);}};DCS.Error=function(message){if(this.constructor!==DCS.Error){return new DCS.Error(message);}else{message=DCS.settings.name+": "+message;this.message=message;}};DCS.Error.prototype=create(Error.prototype);DCS.Error.prototype.constructor=DCS.Error;DCS._error=function(error){var loglevel;if(typeof error==="string"){this._error(this.Error(error));}else{loglevel=this.settings.loglevel;switch(loglevel){case CONSTANT.SILENT:break;case CONSTANT.THROW:throw error;case CONSTANT.LOG:this._log(error.message);break;default:this._log(error.message);this._log(DCS.settings.name+': Invalid "loglevel" setting: "'+loglevel+'"');break;}}};DCS.get=function(propertyName){var propertyValue;var path;if(propertyName&&propertyName.toString){if(propertyName.toString().toLowerCase()==="device.model"){propertyName="device.modelname";}path=getTree(trim(propertyName.toString().toLowerCase()),this._data);propertyValue=getLast(path);if(typeof propertyValue==="undefined"){this._error('Property "'+propertyName+'" is not provided');}}if(typeof propertyValue==="function"){try{propertyValue=propertyValue();}catch(err){DCS._error('Error, while evaluating "'+propertyName+'" ');}}return propertyValue;};DCS.set=function(propertyName,value){if(propertyName&&propertyName.toString){updateTree(trim(propertyName.toString().toLowerCase()),this._data,value);}};DCS.isProvided=function(propertyName){var foundProperty;var path;if(propertyName&&propertyName.toString){propertyName=trim(propertyName.toString().toLowerCase());path=getTree(propertyName,DCS._data);foundProperty=getLast(path);return foundProperty!==null&&foundProperty!==undefined;}};return initPlugin();}))||function(){};JSON={};JSON.data=(function(obj){return obj;}(
{"html5form" : {"caninputdatetimelocal" : true, "caninputautocorrect" : false, "caninputplaceholdercss" : true, "caninputnumbercontrols" : true, "caninputrequired" : true, "caninputautocapitalize" : false, "caninputplaceholder" : true, "caninputplaceholderfallback" : "1"}, "os" : {"releasedate" : "2009-10-22"}, "hardware" : {"bearer" : {"canevdo" : false, "cannfc" : false, "canlte" : false, "cancdma" : false, "canhsdpa" : false, "canumts" : false, "canedge" : false, "cancsd" : false, "canconsumerir" : false, "cangprs" : false}, "cancamera3d" : false, "performance" : {"js" : 1414.77}, "cancamera" : false}, "clusters" : {"cluster_device_routing" : ["desktop"], "cluster_newcluster" : []}, "operatingsystemagelatest" : 208, "operatingsystemage" : 2013, "html5media" : {"canvideomultisrc" : true, "canaudiomultisrc" : true, "canvideoonerror" : true, "canaudiosinglesrc" : true, "canvideoonerrorsinglesrc" : true, "canaudioonerror" : true, "canaudioasvideo" : true, "canaudioonerrorsinglesrc" : true, "canvideosinglesrc" : true}, "device" : {"modelname" : "Windows PC", "operatingsystemmodel" : "Windows 7", "uaid" : "999-023-001", "vendor" : "Misc", "displayresolutiondetectionmethod" : "document client width", "isbot" : false, "operatingsystemuaid" : "201-026-001", "operatingsystem" : "Windows", "copyright" : "Copyright (c) 2013 Netbiscuits GmbH. All rights reserved.\\nUnless required by applicable law or agreed to in writing, this\\nsoftware/data USAGE IS STRICTLY PROHIBITED.", "type" : "Computer", "revision" : "619119464969", "operatingsystemversion" : "7", "operatingsystemvendor" : "Microsoft", "modelseries" : "Windows PC", "carrier" : "International", "canswitchdisplayorientation" : false}, "browser" : {"candisableinput" : true, "markup" : {"canhtmltransitional" : true, "canhtml5" : true, "canhtmlstrict" : true, "canchtml" : true, "canxhtml1.0" : true, "canxhtml1.1" : true, "canxhtml1.2" : false}, "model" : "Chrome 39", "canserverredirect" : true, "events" : {"canonorientationchange" : false}, "releasedate" : "2014-11-18", "canjavascript" : true, "type" : "Desktop-Browser", "agelatest" : 10, "canpointerapi" : false, "cancookie" : true, "age" : 160, "html5" : {"files" : {"canfilereaderapi" : true, "canfilesystemapi" : true}, "other" : {"cangetselection" : true, "canpagevisiblity" : true, "canscrollintoview" : true}, "animation" : {"canrequestanimationframe" : true, "canrequestfullscreen" : true}, "audio" : {"canaudio" : true, "canaac" : true, "canmp3" : true, "canvorbis" : true, "canpcm" : true, "canwebm" : true}, "location" : {"canorientation" : true, "cangeolocation" : true}, "communication" : {"canxmlhttprequest2upload" : true, "canxmlhttprequest2blobresponse" : true, "caneventsource" : true, "canpostmessage" : true, "canxmlhttprequest2textresponse" : true, "canxmlhttprequest2documentresponse" : true, "canwebsocket" : true, "canxmlhttprequest2arrayresponse" : true}, "canhistory" : true, "canmicrodata" : false, "canvas" : {"cancontext" : true, "cantext" : true, "cancanvas" : true}, "canwebaudioapi" : true, "interaction" : {"editing" : {"elementscaniscontenteditable" : true, "elementscancontenteditable" : true, "documentscandesignmode" : true}, "apis" : {"canquerycommandvalue" : true, "canexeccommand" : true, "canquerycommandindeterm" : true, "canquerycommandsupported" : true, "canquerycommandstate" : true, "canquerycommandenabled" : true}, "events" : {"canondrop" : true, "canondragstart" : true, "canondragover" : true, "canondrag" : true, "canondragleave" : true, "canondragenter" : true, "canondragend" : true}, "canspellcheck" : true, "attributes" : {"candropzone" : true, "candraggable" : true}}, "security" : {"cansrcdoc" : true, "canseamless" : false, "cansandbox" : true}, "workers" : {"cansharedworker" : true, "canworker" : true}, "canhistoryhashchange" : true, "offline" : {"canaddsearchprovider" : true, "canregistercontenthandler" : false, "canregisterprotocolhandler" : true, "canapplicationcache" : true}, "webgl" : {"cancontext" : true, "datatypes" : {"canint16array" : true, "canuint32array" : true, "canarraybuffer" : true, "canint32array" : true, "canfloat64array" : true, "candataview" : true, "canuint8array" : true, "canint8array" : true, "canuint16array" : true, "canfloat32array" : true}}, "cangetusermedia" : true, "cannotifications" : false, "parsing" : {"candoctype" : true, "cantree" : true, "canmathml" : true, "cansvg" : true, "cantokenizer" : true}, "various" : {"canbase64" : true, "canscoped" : false, "canonerror" : true, "canasync" : true}, "sdtsize" : "753761293249", "elements" : {"caninteractivemenutoolbar" : false, "cangroupingfigure" : true, "caninteractivemenucontext" : false, "cangroupingol" : true, "cansemanticwbr" : true, "cansectionaside" : true, "canhidden" : true, "caninteractivecommand" : false, "cansectionsection" : true, "candataset" : true, "candynamicouterhtml" : true, "cansectionfooter" : true, "cansectionarticle" : true, "caninteractivedetails" : true, "cansectionhgroup" : true, "cansectionheader" : true, "cangroupingfigcaption" : true, "cansectionnav" : true, "cansemanticmark" : true, "cansemantictime" : false, "caninteractivemenu" : true, "candynamicinsertadjacenthtml" : true, "caninteractivesummary" : true, "cansemanticruby" : true}, "video" : {"cansubtitle" : true, "cantheora" : true, "canh264" : true, "canposter" : true, "canwebm" : true, "canvideo" : true, "canmpeg4" : false}, "forms" : {"canselect" : true, "candatalist" : true, "other" : {"canplaceholder" : true, "candirname" : true, "canautocomplete" : true, "canmultiple" : true, "canautofocus" : true}, "candatalistlist" : true, "validation" : {"canrequired" : true, "cannovalidate" : true, "cancheckvalidity" : true, "canpattern" : true}, "cantextareawrap" : true, "association" : {"canformmethod" : true, "canformtarget" : true, "canlabels" : true, "canformnovalidate" : true, "canform" : true, "cancontrol" : true, "canformenctype" : true, "canformaction" : true}, "events" : {"canoninvalid" : true, "canoninput" : true, "canonchange" : true}, "cantextareamaxlength" : true, "canoutput" : true, "cankeygenkeytype" : true, "canmeter" : true, "canfieldsetdisabled" : true, "inputtype" : {"candatestepdown" : true, "canmonthmax" : true, "cancolorsanitization" : true, "cannumbermax" : true, "candatetimelocal" : true, "canmonthmin" : true, "cantimesanitization" : true, "cantimemin" : true, "canrangestepdown" : true, "canurl" : true, "cantimemax" : true, "cantimestepup" : true, "candatestepup" : true, "canimageheight" : true, "canmonthstep" : true, "cannumberstepdown" : true, "cannumbersanitization" : true, "canmonthstepdown" : true, "canweekui" : true, "canmonthsanitization" : true, "canemailvalidation" : true, "cantimeui" : true, "cantimestep" : true, "candatemin" : true, "canweekmax" : true, "candatemax" : true, "canimagewidth" : true, "candatetimelocalstepdown" : true, "cancolor" : true, "canmonthstepup" : true, "candatetimestepdown" : false, "canfile" : true, "candatetimelocalstep" : true, "candatetimelocalstepup" : true, "candateui" : true, "canweekstepdown" : true, "cannumbervalidation" : true, "cantime" : true, "candatetimestepup" : false, "canweekstepup" : true, "candate" : true, "canmonth" : true, "cantel" : true, "canweeksanitization" : true, "candatetimesanitization" : false, "canfilefiles" : true, "candatetimelocalmin" : true, "canrangestepup" : true, "cancolorvalidation" : false, "candatetimeui" : false, "canurlvalidation" : true, "canrangesanitization" : true, "cancheckbox" : true, "cannumbermin" : true, "candatetime" : false, "canrangeui" : true, "candatetimemin" : false, "candatesanitization" : true, "cannumberui" : true, "cannumber" : true, "cantext" : true, "candatetimemax" : false, "candatestep" : true, "candatetimelocalmax" : true, "canweekmin" : true, "canrange" : true, "candatetimelocalui" : true, "canweekstep" : true, "canrangemax" : true, "cannumberstepup" : true, "canrangemin" : true, "canemail" : true, "cannumberstep" : true, "cantimestepdown" : true, "candatetimestep" : false, "cantextselection" : true, "candatetimelocalsanitization" : true, "canrangestep" : true, "cancheckboxindeterminate" : true, "canimage" : true, "canmonthui" : true, "canweek" : true, "cansearch" : true, "cancolorui" : true}, "cankeygenchallenge" : true, "selectors" : {"canrequired" : true, "canoptional" : true, "canvalid" : true, "canoutofrange" : true, "canreadwrite" : true, "canreadonly" : true, "caninvalid" : true, "caninrange" : true}, "canfieldset" : true, "canfieldsetelements" : true, "canprogress" : true, "canselectrequired" : true, "cankeygen" : true, "cantextarea" : true}, "storage" : {"canindexeddb" : true, "canlocalstorage" : true, "cansessionstorage" : true, "cansqldatabase" : true}}, "canjavascriptredirect" : true, "cantable" : true, "javascript" : {"canmatchmediaapi" : false}, "uaid" : "119-187-001", "vendor" : "Google", "cantouch" : false, "canssl" : true, "canajax" : true, "cantelmakecall" : false, "canmailtotag" : true, "tables" : {"canverticalalignment" : true, "canth" : true, "cancellbackgroundcolor" : true, "canverticalalignmenttop" : true, "canborder" : true, "canhorizontalaligment" : true, "canbackgroundcolor" : true, "cancellspacing" : true, "cancellpadding" : true}, "islatestrelease" : false, "cantouchapi" : true, "newerreleasecount" : 27, "canmetaredirect" : true, "modelseries" : "Chrome", "css" : {"3image" : {"canlineargradient" : false, "canrepeatingradialgradient" : false, "canobjectfit" : true, "canrepeatinglineargradient" : false, "canradialgradient" : false, "canorientation" : false, "canimage" : false, "canobjectposition" : true, "canresolution" : false}, "3animations" : {"cananimationiterationcount" : true, "cananimationfillmode" : true, "cananimation" : true, "cananimationplaystate" : true, "cananimationdirection" : true, "cananimationtimingfunction" : true, "cananimationduration" : true, "cananimationname" : true, "cananimationdelay" : true}, "cansvg" : true, "canfonthelvetica" : true, "3flexbox" : {"canflexgrow" : true, "canorder" : true, "canminheight" : false, "canalignitems" : true, "canflexflow" : true, "canjustifycontent" : true, "canflexshrink" : true, "canaligncontent" : true, "candisplay" : true, "canflexdirection" : true, "canminwidth" : false, "canflexwrap" : true, "canflex" : true, "canflexbasis" : true, "canalignself" : true}, "3color" : {"canrgba" : true, "canhsla" : true, "cantransparent" : true, "canopacity" : true, "canhsl" : true, "cancurrentcolor" : true}, "3multicolumns" : {"cancolumncount" : true, "cancolumnrulewidth" : true, "canbreakinside" : false, "cancolumns" : true, "cancolumnrulecolor" : true, "cancolumnrule" : true, "cancolumnwidth" : true, "cancolumngap" : true, "cancolumnfill" : false, "cancolumnrulestyle" : true, "canbreakbefore" : false, "cancolumnspan" : true, "canbreakafter" : false}, "3mediaqueries" : {"canheight" : true, "canaspectratio" : true, "canmonochrome" : true, "cangrid" : true, "candeviceheight" : true, "canorientation" : true, "cancolor" : true, "candeviceaspectratio" : true, "canwidth" : true, "cannegation" : true, "canscan" : true, "cancolorindex" : true, "candevicewidth" : true, "canresolution" : true}, "3transitions" : {"cantransitionproperty" : true, "cantransitiondelay" : true, "cantransitiontimingfunction" : true, "cantransitionduration" : true, "cantransition" : true}, "fontsizesuitable" : 16, "cansvgclippath" : true, "canfontsansserif" : true, "3border" : {"canimagerepeat" : true, "canimagesource" : true, "canimageoutset" : true, "canradius" : true, "canimage" : true}, "3selectors" : {"canroot" : true, "cannamespaces" : true, "cannthoftype" : true, "cansiblingcombinator" : true, "cannthlastchild" : true, "cansuffix" : true, "candisabled" : true, "cannthchild" : true, "canonlyoftype" : true, "canenabled" : true, "cannthlastoftype" : true, "canchecked" : true, "canlastoftype" : true, "canfirstletter" : true, "canafter" : true, "canfirstoftype" : true, "canfirstline" : true, "canbefore" : true, "cancontains" : true, "cannot" : true, "cantarget" : true, "canlastchild" : true, "canempty" : true, "canonlychild" : true, "canindeterminate" : true, "canprefix" : true}, "3text" : {"canlinebreak" : true, "canletterspacing" : false, "cantextalign" : true, "cantextemphasisstyle" : true, "cantextdecorationstyle" : false, "cantextunderlineposition" : false, "cantextindent" : false, "canwordspacing" : false, "cantexttransform" : false, "cantextalignlast" : false, "cantextemphasis" : true, "cantabsize" : true, "cantextdecorationcolor" : false, "cantextemphasiscolor" : true, "cantextdecoration" : false, "cantextjustify" : false, "canoverflowwrap" : true, "canhyphens" : false, "cantextdecorationskip" : false, "canwordbreak" : false, "cantextshadow" : true, "cantextemphasisposition" : false, "cantextdecorationline" : false, "canhangingpunctuation" : false}, "cansvginline" : true, "canformmargin" : true, "vendorprefix" : "-webkit-", "cangeneratedcontent" : true, "3transforms" : {"canperspectiveorigin" : true, "canperspective" : true, "cantransformorigin" : true, "canbackfacevisibility" : true, "cantransform" : true, "cantransformstyle" : true, "cantransform3d" : true}, "canelementbackgroundcolor" : true, "canfontsize" : true, "fontsizeminimum" : 14, "3fonts" : {"canfontvariantalternates" : false, "canfontsizeadjust" : false, "canfontvariantposition" : false, "canfontvariant" : false, "canfontkerning" : true, "canfontvariantnumeric" : false, "canfontvarianteastasian" : false, "canfontstretch" : true, "canfontvariantcaps" : false, "canfontsynthesis" : false, "canfontface" : true, "canfontvariantligatures" : true}, "3valuesunits" : {"canvmin" : true, "canch" : true, "cancalc" : true, "cantoggle" : false, "canrem" : true, "canvh" : true, "canattr" : false, "canvw" : true}, "canfontarial" : true, "3background" : {"canrepeat" : true, "canclip" : true, "canmultiple" : true, "canattachment" : true, "cansize" : true, "canposition" : true}, "3ui" : {"canboxsizing" : false, "cannavup" : false, "cannavleft" : false, "cannavindex" : false, "cannavdown" : false, "canoutlineoffset" : true, "cancursor" : true, "cantextoverflow" : true, "cannavright" : false, "canresize" : true, "cancontent" : false, "canimemode" : false, "canicon" : false}, "cansvgsmil" : true, "canpositionfixed" : true, "3box" : {"candecorationbreak" : true, "canshadow" : true}, "3writingmodes" : {"cantextcombinehorizontal" : false, "cantextcombinemode" : false, "canwritingmode" : false, "canunicodebidi" : true, "cantextorientation" : true, "cancaptionside" : false}, "canformsubmitgraphical" : false, "3speech" : {"canvoicerate" : false, "canvoicebalance" : false, "cancueafter" : false, "canspeakas" : false, "canspeak" : false, "cancuebefore" : false, "canpauseafter" : false, "canvoicestress" : false, "canrestafter" : false, "canvoicevolume" : false, "canvoicerange" : false, "canvoicepitch" : false, "cancue" : false, "canpause" : false, "canvoiceduration" : false, "canvoicefamily" : false, "canrestbefore" : false, "canpausebefore" : false, "canrest" : false}, "canfontverdana" : false, "canreflections" : true}}, "image" : {"maxwidth" : 1920, "maxheight" : 1080}, "operatingsystemislatestrelease" : false, "operatingsystemnewerreleasecount" : 5, "internal" : {"carriername" : "n/a", "cachekey" : "999-023-001,201-026-001,119-187-001", "devicemodelnamegeneralized" : "Windows PC"}, "video" : {"suggestedvideoformat" : {"videovideoformatframesize" : "qcif", "videovideoformatmaxvideobitrate" : 104, "videovideoformatvideocodec" : "H264", "videovideoformatframespersecond" : "15", "videovideoformatvideocodecprofile" : "Baseline Profile, Level 1", "videovideoformatcanstreaming" : true, "videovideoformataudiochannels" : 2, "videovideoformatmaxaudiobitrate" : 24, "videovideoformatcontainertype" : "mp4", "videovideoformatsupportsprogressivedownloads" : true, "videovideoformataudiosamplingrate" : "22050", "videovideoformataudiocodec" : "AAC"}, "canh264_480" : true}}
))||{};JSON.errors=(function(arr){return arr;}(

))||[];deviceDetect=(function(obj){return obj;}(
{"internal" : {"cookiesupporttested" : function() {  var support, cvalue, readUrl;  support = false;  cvalue = 0;  try {   if (document.cookie) {    var cookies = document.cookie.split("; ");    var output = "";    for ( var i = 0; i < cookies.length; i++) {     var cookiesplit = cookies[i].split("=");     if (cookiesplit[0] === "emvcc") {      cvalue = cookiesplit[1];     }    }   }   if (cvalue === "true" || cvalue === "1") {    support = true;   }  } catch (ex) { }  return support; }, "connectiontype" : function() {  var ct, t;  ct = "unknown";  try {   for (t in navigator.connection) {    if (t != "type" && navigator.connection.type === navigator.connection[t]) {     ct = t;    }   }  } catch (ex) { }  return ct; }, "browserpixelratio" : function() {  var pr = 1;  try {   pr = window.devicePixelRatio;   if (pr) {    pr = parseFloat(pr, 10);   } else {    pr = 1;   }  } catch (ex) { }  return pr; }}}
))||{};JSON.settings={loglevel:"log",name:["jQuery.dcs","jQuery.dci","window.dcs"]};dcsInitialization(JSON,deviceDetect);}());if(typeof dcs==="undefined"){var dcs={}}dcs.dynamic=(function(){var sessionID="",hostname=(typeof window!=="undefined"&&typeof window.location!=="undefined")?window.location.hostname:undefined,pathname=(typeof window!=="undefined"&&typeof window.location!=="undefined")?window.location.pathname:undefined,origReferrer=(typeof document!=="undefined")?document.referrer:undefined,analytics=undefined,customClusters=undefined,conversionsToLog=[],nbASCookieName="nbasl";
function run(paras){var paraSensors=paras.sensors,paraImage=paras.image||"http://bandwidth.netbiscuits.net/pixel.gif",paraHwBench=paras.benchmark||false,paraProfileDiff=paras.profilediff||false,disableAnalyticsSessionFlag=paras.disableAnalyticsSession||false,toolsToExecuteCount=0,tools={},results={},nbParams="",allToolsCount=0,path=paras.path,callback="dcs.dynamic.processCluster",finishedSensorsCount=0,pathClusters="//dcs.netbiscuits.net:80/ds/detect/cluster/account/Netbiscuits21/token/ab9c96d87f0522e5?cb=",pathAnalytics="//dcs.netbiscuits.net:80/ds/analytics/log/account/Netbiscuits21/token/ab9c96d87f0522e5?cb=";
hostname=paras.hostname||hostname;nbParams+=(hostname)?"&h="+hostname:"";if(pathname){nbParams+="&p="+encodeURIComponent(pathname);
var googlePaid=/(utm_|GCLID)/i;if(googlePaid.test(window.location.search)){var sParams=window.location.search.slice(1).split("&"),queryString="";
while(sParams.length){var p=sParams.pop();if(googlePaid.test(p)){queryString+=(queryString?"%26":"?")+p
}}nbParams+=queryString}}nbParams+=(origReferrer)?"&or="+encodeURIComponent(origReferrer):"";dcs.dynamic.clientCallback=paras.callback;
if(!path){if(!customClusters){path=pathAnalytics}else{nbParams+="&cl="+customClusters.join(",");path=pathClusters
}}tools.hardware=function(){var pr="1.0",ar="",ident,t=-1,settings,p="",ch=window.navigator.userAgent.indexOf("CriOS")>=0,osv,ack,i,cv,getCookie,measureTime,getPixelRatio,getOsVersion,getAspectRatio,getPlatform,getSettings,deciders=[];
getOsVersion=function(){var ua,osv,v,versions=0;versions={};ua=window.navigator.userAgent;if(ua.indexOf("OS 8")>=0){osv=8
}else{if(ua.indexOf("OS 7")>=0){osv=7}else{if(ua.indexOf("OS 6")>=0){osv=6}else{if(ua.indexOf("OS 5")>=0){osv=5
}else{if(ua.indexOf("OS 4")>=0){osv=4}else{if(ua.indexOf("OS 3")>=0){osv=3}else{if(ua.indexOf("OS 2")>=0){osv=2
}else{if(ua.indexOf("OS 1")>=0){osv=1}else{osv=0}}}}}}}}if(osv===1){versions.major=1;versions.minor=0;
versions.build=0}else{try{v=(navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/);versions.major=parseInt(v[1],10);
versions.minor=parseInt(v[2],10);versions.build=parseInt(v[3],10)}catch(e){versions.major=osv;versions.minor=0;
versions.build=0}}return versions};getPixelRatio=function(){var pr="1.0";try{pr=window.devicePixelRatio;
if(pr){pr=""+parseFloat(pr)}else{pr="1.0"}}catch(e2){}return pr};ack=function(mm,nn){return mm===0?nn+1:ack(mm-1,nn===0?1:ack(mm,nn-1))
};measureTime=function(mm,nn){var startS,endS,t;t=-1;try{startS=new Date().getTime();ack(mm,nn);endS=new Date().getTime();
t=endS-startS}catch(ex){t=-1}return t};getPlatform=function(){var p="";try{p=window.navigator.platform;
if(p==="iPhone Simulator"){p="iPhone"}}catch(e1){}return p};getAspectRatio=function(){var mq,ar;try{mq=window.matchMedia("(device-aspect-ratio: 2/3)");
if(mq.matches){ar="2/3"}}catch(e3){}try{mq=window.matchMedia("(device-aspect-ratio: 40/71)");if(mq.matches){ar="40/71"
}}catch(e4){}try{mq=window.matchMedia("(device-aspect-ratio: 3/4)");if(mq.matches){ar="3/4"}}catch(e5){}return ar
};getCookie=function(name){var cv,cvs,ctvs;cv=undefined;try{cvs=document.cookie.split(";");for(i=0;i<cvs.length;
i=i+1){ctvs=cvs[i].split("=");if(ctvs[0]===name){cv=ctvs[1]}}}catch(e0){}return cv};getSettings=function(platform,pixelRatio,aspectRatio,osVersion){var n,m,result;
n=0;m=2;result={};if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2"||pixelRatio==="3.0"||pixelRatio==="3")){if(aspectRatio==="2/3"){if(osVersion.major<=4){n=300
}else{n=7;m=3}}else{if(aspectRatio==="40/71"){n=600}else{if(aspectRatio===""){if(osVersion.major<=4){n=300
}}}}if(pixelRatio==="3.0"||pixelRatio==="3"){n=0}else{if(pixelRatio==="2.0"||pixelRatio==="2"){if((screen.availWidth===375&&screen.availHeight===647)||(screen.availWidth===667&&screen.availHeight===375)){n=0
}}}}if(platform==="iPad"){if(pixelRatio==="2.0"||pixelRatio==="2"){n=1000}else{if(osVersion.major<5){n=6;
m=3}else{n=7;m=3}}}result.n=n;result.m=m;return result};deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pr==="3.0"||pr==="3")&&osVersion.major>=8){result="2c66"}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2")){if((screen.availWidth===375&&screen.availHeight===647)||(screen.availWidth===667&&screen.availHeight===375)){result="a9b4"
}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(aspectRatio==="40/71"){if(osVersion.major<=7){if(time>=0&&time<=35){result="1bc3"
}}else{if(time>=0&&time<=25){result="1bc3"}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(aspectRatio==="40/71"){if(osVersion.major===6){if(bench){result="e55d"
}else{result="9f1b"}}else{if(osVersion.major===7){if(time>35){result="9afe"}}else{if(time>25){result="9afe"
}}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(aspectRatio==="40/71"){if(osVersion.major===7){if(time===-1){result="ffe7"
}}else{if(!(screen.availWidth===375&&screen.availHeight===647)&&!(screen.availWidth===667&&screen.availHeight===375)){result="ffe7"
}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"){if(osVersion.major<=3){result="50d7"}else{if(osVersion.major===4){if(pixelRatio==="1.0"||pixelRatio==="1"){result="6e7b"
}}else{if(pixelRatio==="1.0"||pixelRatio==="1"){result="27ac"}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(aspectRatio==="2/3"){if(osVersion.major===5){if(time>=0&&time<=155){result="cb24"
}}else{if(osVersion.major===6){if(time>=0&&time<=120){result="cb24"}}else{if(osVersion.major===7){if(time>=0&&time<=120){result="cb24"
}}else{if(bench){result="cb24"}else{result="d7d5"}}}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(osVersion.major<=4){if(bench){result="6b71"
}else{result="154e"}}else{if(osVersion.major===5){if(time>155){result="6b71"}}else{if(osVersion.major>5){if(time>120){result="6b71"
}}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPhone"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(aspectRatio==="2/3"){if(time===-1||!bench){result="a11c"
}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"&&(pixelRatio==="1.0"||pixelRatio==="1")){if(osVersion.major<5){if(time>=0&&time<=50){result="7a3d"
}}else{if(osVersion.major===5){if(time>=0&&time<=125){result="7a3d"}}else{result="bb57"}}}return result
});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"){if(osVersion.major===3){if(bench){result="5766"}else{result="e199"}}else{if(osVersion.major===4&&osVersion.minor<3){if(bench){result="5766"
}else{result="e199"}}else{if(osVersion.major===4&&osVersion.minor===3){if(time>50){result="5766"}}else{if(osVersion.major===5){if(pixelRatio==="1.0"||pixelRatio==="1"){if(time>125){result="5766"
}}}}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"&&(pixelRatio==="1.0"||pixelRatio==="1")){if(osVersion.major===4&&osVersion.minor===3){if(!bench){result="1e79"
}}else{if(osVersion.major===5){if(!bench){result="1e79"}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(osVersion.major>=8){if(time>=0&&time<=24){result="a40c"
}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(osVersion.major<=7){if(time>=0&&time<=65){result="88a1"
}}else{if(time>=25&&time<=55){result="88a1"}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(osVersion.major<=7){if(time>65&&time<=130){result="58be"
}}else{if(time>55&&time<=110){result="58be"}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(osVersion.major===5&&osVersion.minor===1){if(bench){result="4c04"
}else{result="162a"}}else{if(osVersion.major===6){if(time>110){result="4c04"}}else{if(osVersion.major===7){if(time>130){result="4c04"
}}else{if(time>110){result="4c04"}}}}}return result});deciders.push(function(platform,pixelRatio,aspectRatio,osVersion,time,bench){var result=undefined;
if(platform==="iPad"&&(pixelRatio==="2.0"||pixelRatio==="2")){if(time===-1){if(osVersion.major===6){result="6630"
}else{if(osVersion.major===7&&osVersion.minor===0&&osVersion.build<3){result="6630"}else{result="2bf5"
}}}}return result});cv=getCookie("nbhwident");if(typeof cv==="undefined"){osv=getOsVersion();pr=getPixelRatio();
p=getPlatform();ar=getAspectRatio();settings=getSettings(p,pr,ar,osv);if(paraHwBench&&settings.n!==0&&(p==="iPhone"||p==="iPad")&&!ch){t=measureTime(settings.m,settings.n)
}ident=undefined;for(i=0;i<deciders.length;i=i+1){var f=deciders[i];ident=f(p,pr,ar,osv,t,paraHwBench);
if(typeof ident!=="undefined"){break}}if(typeof ident==="undefined"){ident=""}document.cookie="nbhwident="+ident
}else{pr=getPixelRatio();ar=getAspectRatio();t=-1;ident=cv}if(typeof results.hardware==="undefined"){results.hardware={}
}results.hardware.os=osv;results.hardware.pr=pr;results.hardware.ar=ar;results.hardware.t=t;results.hardware.ident=ident;
if(ident!==""){nbParams+="&hwIdent="+results.hardware.ident}if(paraProfileDiff&&ident!==""){var diffs=dcs.get("profile.diffs");
try{if(typeof diffs!=="undefined"){for(i=0;i<diffs.length;i=i+1){var cond=diffs[i].condition;var diff=diffs[i].diff;
if((typeof cond!=="undefined"&&typeof diff!=="undefined")&&(cond.param.toLowerCase()==="hwident")&&(cond.comp==="="||cond.comp==="==")&&(cond.value===ident)){for(var j=0;
j<diff.length;j=j+1){dcs.set(diff[j].name,diff[j].value)}}}}}catch(e){}}if(nbParams.indexOf("nbpr")===-1){nbParams+="&nbpr="+pr
}if(typeof dcs!=="undefined"&&typeof dcs.set==="function"){dcs.set("browser.pixelratio",pr);dcs.set("device.aspectratio",ar)
}checkToSend()};analytics=(function(){var odsVersion="1.1.15";var getCookie=function(variable){if(document.cookie&&document.cookie.indexOf(variable)>-1){var cookies=document.cookie.split("; ");
for(var i=0;i<cookies.length;i++){var cookiesplit=cookies[i].split("=");if(cookiesplit[0]===variable){return cookiesplit[1]
}}}};var getQueryVariable=function(variable){var query=window.location.search.substring(1);if(query&&query.indexOf(variable)>-1){var vars=query.split("&");
for(var i=0;i<vars.length;i++){var pair=vars[i].split("=");if(pair[0]===variable){return pair[1]}}}};
var updateOneParam=function(nbParams,name){var tmp;tmp=getCookie(name);if(!tmp){tmp=getQueryVariable(name)
}if(tmp){nbParams=nbParams+"&"+name+"="+tmp}return nbParams};var updateParams=function(nbParams,nbASCookieName){var params=nbParams;
params=updateOneParam(params,"emvcc");params=updateOneParam(params,"emvAD");params=updateOneParam(params,"nbcol");
if(params.indexOf("nbpr")===-1){params=updateOneParam(params,"nbpr")}if(nbASCookieName&&params.indexOf(nbASCookieName)===-1){params=updateOneParam(params,nbASCookieName)
}return params};var getVersions=function(){var versionString="";if(odsVersion){versionString+="&ods="+encodeURIComponent(odsVersion)
}if(dcs.dcsVersion){versionString+="&dcs="+encodeURIComponent(dcs.dcsVersion)}return versionString};return{sendValues:function(nbParams,path,callback,nbASCookieName){var script=document.createElement("script");
script.src=path+callback+updateParams(nbParams,nbASCookieName)+getVersions();document.body.appendChild(script)
},disableAnalyticsSession:function(){var script=document.createElement("script");script.type="text/javascript";
script.src="//dcs.netbiscuits.net:80/ds/analytics/disableSession";document.body.appendChild(script)},trackConversion:function(conversionData){if(typeof conversionData!=="object"){return
}var script=document.createElement("script");script.type="text/javascript";script.src="//dcs.netbiscuits.net:80/ds/analytics/log/conversion/account/Netbiscuits21/token/ab9c96d87f0522e5?conversion="+encodeURIComponent(JSON.stringify(conversionData))+"&rsid="+sessionID+nbParams+getVersions();
document.body.appendChild(script)}}})();/*!Copyright (c), 2014, Netbiscuits*/
var quality=(function(){"use strict";function h(){var m,l,j=(new Date()).getTime(),k=false;
return{done:function(n){m=n},resolve:function(o){if(k){return}k=true;var p=(new Date()).getTime()-j,n=0;
if(p<20){n=20}if(m){setTimeout(function(){m.call(undefined,o)},n)}},wait:function(n){setTimeout(function(){if(l){l.call(undefined)
}else{this.resolve([])}},n);return this},terminate:function(n){l=n}}}function f(l,j){var k;for(k in j){if(j.hasOwnProperty(k)){l[k]=j[k]
}}return l}function b(j,l){var k;for(k=0;k<l.length;k+=1){delete j[l[k]]}return j}function i(){if(typeof console!=="undefined"&&console&&typeof console.log==="function"){return console.log.apply(console,arguments)
}}var a={t_quantile:{1:6.313,2:2.92,3:2.3534,4:2.1318,5:2.015,6:1.943,7:1.8946,8:1.8596,9:1.8331,10:1.8125,11:1.795,12:1.7823,13:1.7709,14:1.7613,15:1.753,16:1.745,17:1.7396,18:1.7341,19:1.7291,20:1.7247,21:1.72,22:1.7117,23:1.7139,24:1.7109,25:1.7081,26:1.705,27:1.7033,28:1.7011,29:1.6991,30:1.6973},mean:function(j){var l=0,k;
for(k=0;k<j.length;k+=1){l+=parseFloat(j[k])}return l/(j.length===0?1:j.length)},deviation:function(l){if(l.length<2){return 0
}var k=this.mean(l),o=0,n;for(n=0;n<l.length;n+=1){o+=parseFloat(Math.pow(l[n]-k,2))}return Math.sqrt(o/(l.length-1))
},confidenceInterval:function(o){var l=this.mean(o),s=o.length,r=this.range(o),q=l-r,k=l+r,j=[],p;for(p=0;
p<s;p+=1){if(o[p]<k&&o[p]>q){j.push(o[p])}}if(j.length===0){j.push(l)}return j},range:function(j){var l=this.deviation(j),m=j.length>1?j.length:2,k=this.t_quantile[m-1];
return k*l/Math.sqrt(m)},sampleSize:function(o,n,j){if(j.length<3){return o}var l=j.length,k=this.t_quantile[l-1],m=this.deviation(j);
return Math.round((Math.pow(k,2)*o*Math.pow(m,2))/(Math.pow(n,2)*o+Math.pow(k,2)*Math.pow(m,2)))}},g=function(k){var j={image:function(){var p=new Image(),o=new h();
p.onload=function(){o.resolve(true)};p.onerror=function(){i("Problem with downloading test image");o.resolve(false)
};p.onabort=function(){i("Downloading test image was aborted");o.resolve(false)};p.src=k.url+"?size="+k.size+"&n="+Math.random();
return o}},m=new h(),n=j[k.loader]||j.image,l=(new Date()).getTime();n().done(function(p){function q(s,r){if(s===0){return 0
}return r*8/1024/s}var o=p?((new Date()).getTime()-l)/1000:0;m.resolve(q(o,k.size))});return m},d={networks:[{name:"Very Slow (GPRS equivalent)",max_score:0,max_samples:0},{name:"Very Slow (GPRS equivalent)",max_score:0.6,max_samples:2},{name:"Slow (EDGE equivalent)",max_score:2,max_samples:2},{name:"Medium (3G equivalent)",max_score:6,max_samples:3},{name:"Fast (3.5G/HSDPA equivalent)",max_score:12,max_samples:4},{name:"Very Fast (4G/WiFi equivalent)",max_score:30,max_samples:5}],byScore:function(l){if(l<=0){return this.networks[0]
}var j,k;for(j=0;j<this.networks.length;j+=1){k=this.networks[j];if(l<k.max_score){return k}}return this.networks[this.networks.length-1]
}},c={magicConst:111,estimate:function(k,j){return(j*this.magicConst/k).toFixed(1)}},e={isOperaMini:Object.prototype.toString.call(window.operamini)==="[object OperaMini]"};
return{speed:function(l){var k=(new Date()).getTime(),o=new h(),j={size:45,url:"cqdsampleimg.gif",timeout:30,debug:false,debugMessage:"",loader:"image",store:false,quick:false,maxTime:5000};
l=l?f(j,b(l,["timeout","debug","debugMessage","loader"])):j;function n(){function r(w){if(l.quick){return d.networks[1].max_samples
}var v=a.mean(a.confidenceInterval(w)),x=d.byScore(c.estimate(l.size,v)).max_samples;return a.sampleSize(x,a.mean(w)/10,w)
}var t=new h(),u=0,s=[];function q(){if(e.isOperaMini){t.resolve([0.4,0.5,0.5,0.5,0.5,0.4])}else{g(l).done(function(v){u+=1;
s.push(v);if(u>=r(s)){t.resolve(s)}else{setTimeout(function(){q()},l.timeout)}})}}setTimeout(function(){q()
},l.timeout);t.terminate(function(){t.resolve(s)});return t}function p(t){if(t.length===0){return{score:0.1,network:d.byScore(0.1),network_second:d.byScore(0.1),stability:10,samples_size:0,size:0,time:new Date().getTime()-k}
}var q={},r=a.mean(a.confidenceInterval(t)),s=a.range(t);q.score=c.estimate(l.size,r);q.stability=q.score>0?Math.abs(100-(s*100/r).toPrecision(2)):0;
if(q.stability>100||q.stability<0){q.stability=10}q.network=d.byScore(q.score);q.network_second=d.byScore(c.estimate(l.size,(r+s)));
q.time=new Date().getTime()-k;q.samples_size=t.length;q.size=l.size;return q}function m(q){q=Math.max(q,0);
if(q>=10){q=Math.floor(q)}return Math.round(q*10)}n().wait(l.maxTime).done(function(q){var r=p(q);if(l.debug){i(l.debugMessage+"|"+l.loader+"|"+l.quick+"|"+navigator.userAgent+"|"+navigator.appName+"|"+q.join(",")+"|"+r.score+"|"+r.network.name+"|"+r.network_second.name+"|"+r.time)
}if(l.store){quality.storage().save("Netbiscuits.quality.speed",r)}r.score=m(r.score);o.resolve(r)});
return o},storage:function(){var j={};j.save=function(k,l){document.cookie=[k,"=",JSON.stringify(l),"; expires=Wed, 09-Jun-2021 10:18:14 GMT; path=/;"].join("")
};j.load=function(l){var k=document.cookie.match(new RegExp(l+"=([^;]+)"));if(k){k=JSON.parse(k[1])}return k
};j.remove=function(k){document.cookie=[k,"=empty; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/;"].join("")
};return j}}}());if(typeof quality!=="undefined"){tools.bwd=function(){var params={url:paraImage};
function callBack(result){results.bwd={};results.bwd.bandwidthScore=result.score;results.bwd.bandwidthNetwork=encodeURIComponent(result.network.name);
if(typeof dcs.set==="function"){dcs.set("bandwidth.estimatednetwork",results.bwd.bandwidthNetwork);dcs.set("bandwidth.score",results.bwd.bandwidthScore)
}nbParams+="&bandwidthScore="+results.bwd.bandwidthScore+"&bandwidthNetwork="+results.bwd.bandwidthNetwork;
checkToSend()}quality.speed(params).done(callBack)}}if(typeof nbgeo!=="undefined"){tools.geo=function(){function success_callback(result){results.geo={};
results.geo.latitude=result.coords.latitude.toFixed(5);results.geo.longitude=result.coords.longitude.toFixed(5);
if(typeof dcs.set==="function"){dcs.set("location.latitude",results.geo.latitude);dcs.set("internal.latitude",results.geo.latitude);
dcs.set("location.longitude",results.geo.longitude);dcs.set("internal.longitude",results.geo.longitude)
}nbParams+="&latitude="+results.geo.latitude+"&longitude="+results.geo.longitude;checkToSend()}function error_callback(){checkToSend()
}if(nbgeo.init()){nbgeo.getCurrentPosition(success_callback,error_callback,{enableHighAccuracy:true})
}else{checkToSend()}}}tools.localtime=function(){var date=new Date();nbParams+="&localtime="+(date.getTime()-(date.getTimezoneOffset()*60000));
checkToSend()};tools.screensize=function(){var checkSizeVariable=function(v){return v&&typeof(v)==="number"&&v>0
};var sensor=function(results){var w,h;if(checkSizeVariable(window.innerWidth)&&checkSizeVariable(window.innerHeight)){w=window.innerWidth;
h=window.innerHeight}else{if(document.documentElement&&checkSizeVariable(document.documentElement.clientWidth)&&checkSizeVariable(document.documentElement.clientHeight)){w=document.documentElement.clientWidth;
h=document.documentElement.clientHeight}else{if(document.body&&checkSizeVariable(document.body.clientWidth)&&checkSizeVariable(document.body.clientHeight)){w=document.body.clientWidth;
h=document.body.clientHeight}else{if(checkSizeVariable(window.screen.availWidth)&&checkSizeVariable(window.screen.availHeight)){w=window.screen.availWidth;
h=window.screen.availHeight}}}}results.browserusablewidth=w;results.browserusableheight=h;results.screenorientation=undefined;
if(results.browserusablewidth<=results.browserusableheight){results.screenorientation="portrait"}else{results.screenorientation="landscape"
}if(typeof dcs.set==="function"){dcs.set("browser.usablewidth",results.browserusablewidth);dcs.set("browser.usableheight",results.browserusableheight);
if(results.screenorientation!==undefined){dcs.set("device.screen.orientation",results.screenorientation)
}}};sensor(results);try{if("onresize" in window){addEventListener("resize",function(){sensor(results)
},true)}else{if("onorientationchange" in window){addEventListener("orientationchange",function(){sensor(results)
},true)}}}catch(e){}nbParams+="&buw="+results.browserusablewidth;nbParams+="&buh="+results.browserusableheight;
if(results.browserusablewidth>10000){var d="";try{d+="&wiw=";d+=window.innerWidth;d+="&wih=";d+=window.innerHeight
}catch(ignore){}try{d+="&dcw=";d+=document.documentElement.clientWidth;d+="&dch=";d+=document.documentElement.clientHeight
}catch(ignore){}try{d+="&dbw=";d+=document.body.clientWidth;d+="&dbh=";d+=document.body.clientHeight}catch(ignore){}try{d+="&saw=";
d+=window.screen.availWidth;d+="&sah=";d+=window.screen.availHeight}catch(ignore){}nbParams+=d}checkToSend()
};for(var tool in tools){if(tools.hasOwnProperty(tool)){allToolsCount+=1}}if(disableAnalyticsSessionFlag){dcs.dynamic.disableAnalyticsSession()
}function checkToSend(){finishedSensorsCount+=1;if(toolsToExecuteCount===finishedSensorsCount){dcs.dynamic.result=results;
if(analytics&&typeof analytics.sendValues==="function"){analytics.sendValues(nbParams,path,callback,nbASCookieName)
}if(dcs.dynamic.clientCallback&&!customClusters){dcs.dynamic.clientCallback()}}}function addSensor(sensorName){toolsToExecuteCount+=1;
paraSensors.push(sensorName)}if(!paraSensors){paraSensors=[];addSensor("localtime");addSensor("screensize");
if(tools.hardware){addSensor("hardware")}if(tools.battery){addSensor("battery")}if(tools.pr){addSensor("pr")
}if(tools.cs){addSensor("cs")}if(tools.bwd){addSensor("bwd")}if(tools.geo){addSensor("geo")}if(tools.benchmark){addSensor("benchmark")
}}else{var filteredSensors=[];for(var i=0;i<paraSensors.length;i++){if(tools.hasOwnProperty(paraSensors[i])){filteredSensors.push(paraSensors[i])
}}paraSensors=filteredSensors;toolsToExecuteCount=paraSensors.length;var containsLocaltime=false;var containsScreensize=false;
var containsbenchmark=false;for(var j=0;j<paraSensors.length;j++){if(paraSensors[j]==="localtime"){containsLocaltime=true
}else{if(paraSensors[j]==="screensize"){containsScreensize=true}else{if(paraSensors[j]==="benchmark"){containsbenchmark=true
}}}}if(!containsLocaltime){addSensor("localtime")}if(!containsScreensize){addSensor("screensize")}if(tools.benchmark&&!containsbenchmark){addSensor("benchmark")
}}if(toolsToExecuteCount>0&&toolsToExecuteCount<=allToolsCount){for(var k=0;k<toolsToExecuteCount;k++){if(tools[paraSensors[k]]){tools[paraSensors[k]]()
}}}else{if(toolsToExecuteCount===0){if(analytics&&typeof analytics.sendValues==="function"){analytics.sendValues(nbParams,path,callback,nbASCookieName)
}if(dcs.dynamic.clientCallback&&!customClusters){dcs.dynamic.clientCallback()}}}}return{init:function(args){run.apply(this,arguments)
},processCluster:function(data){if(data){var result={};for(var property in data){if(data.hasOwnProperty(property)){if(property.indexOf("cluster_")===0){result[property]=data[property]
}else{if(property==="requestSessionId"){sessionID=data[property][0]}else{if(property==="asid"){var cookieDefinition=data[property][0];
if(cookieDefinition){try{var domainParts=window.location.hostname.split("."),domain="."+domainParts.pop();
while(domainParts.length){domain="."+domainParts.pop()+domain;document.cookie=nbASCookieName+"="+cookieDefinition+";domain="+domain;
if(document.cookie.indexOf(nbASCookieName)>-1){break}}}catch(ignore){}}}}}}}dcs.dynamic.cluster=result
}var conversion=conversionsToLog.shift();while(conversion){analytics.trackConversion(conversion);conversion=conversionsToLog.shift()
}if(dcs.dynamic.clientCallback&&customClusters){dcs.dynamic.clientCallback()}},disableAnalyticsSession:function(){if(analytics&&typeof analytics.disableAnalyticsSession==="function"){analytics.disableAnalyticsSession()
}},trackConversion:function(conversionData){if(analytics&&typeof analytics.trackConversion==="function"){if(sessionID){analytics.trackConversion(conversionData)
}else{conversionsToLog.push(conversionData)}}}}}());