/* jshint ignore:start */ (function(){function docProto(){}docProto.prototype.createElement=function(elType){return{element:elType}};var isFrame=typeof window!=="undefined"&&window!==top?true:false;var DEFAULT_NAME="_dct";var _globalObj=typeof window!=="undefined"?window:global;var _docObj=typeof document!=="undefined"?document:new docProto;var dataCloudObject=_globalObj.DataCloudObject||DEFAULT_NAME;var tempObject=_globalObj[dataCloudObject]||{};var ACTION_CREATE="create",ACTION_SEND="send",ACTION_ROUTE="route";var EVENT_CONFIRMATION="confirmation",EVENT_LANDING="landing",EVENT_LOGIN="login",EVENT_PAGEVIEW="pageview",EVENT_REGISTRATION="registration",EVENT_SUCCESSFUL_PAYMENT="successful_payment",EVENT_INFO="info";var ROUTE_BASE="/",ROUTE_SYNC="/sync/",ROUTE_SYNC_FORWARD="/sync_forward/";var ROUTE_LIST=[ROUTE_BASE,ROUTE_SYNC,ROUTE_SYNC_FORWARD];var ACTIONS_LIST=[ACTION_CREATE,ACTION_SEND,ACTION_ROUTE];var EVENTS_LIST=[EVENT_CONFIRMATION,EVENT_LANDING,EVENT_LOGIN,EVENT_PAGEVIEW,EVENT_REGISTRATION,EVENT_SUCCESSFUL_PAYMENT,EVENT_INFO];var SEND_URL="//t.insigit.com";var INTEGRATION_TYPE="img";var METHODOLOGY={aif_id:"afd",sub_aif_id:"sa",traffic_source:"ts",aff_campaign:"ac",platform:"p",profile_id:"pid",site_id:"sid",gender1:"g1",gender2:"g2",gender3:"g3",gender0:"g0",date_of_birth:"dfb",age_period:"ap",age:"ag",age0:"ag0",domain:"d",amount:"am",currency:"cr",visitor_id:"vid",partner_id:"ext",partner_subid:"eid",email:"emh",email_domain:"emd",confirmed_date:"cd","registration _date":"rd",browser_name_registration:"bnr",browser_language_registration:"blr",devicetype_registration:"dtr",login_ip:"lip",reg_ip:"rip",country_reg:"c",order_date:"od",transaction_status:"ts",ip_payment:"ipp",browser_name_payment:"bnp",browser_language_payment:"blp",number_of_logins:"l"};var dpgHash=null;var dpHash=null;var route=ROUTE_BASE;var stack=[];if(isArray(tempObject.q)){stack=tempObject.q}var time=typeof Date.now==="function"?Date.now():+new Date;if(isTimestamp(tempObject.l)){time=tempObject.l}function createSendUrl(data){var url="";url+=detectProtocol();url+=SEND_URL;url+=route;url+=dpgHash;url+="/";url+=dpHash;url+="?event="+data[1];url+="&time="+time;url+="&__v="+Math.floor(Math.random()*1e5);if(isObject(data[2])){data[2]=replaceByMethodology(data[2]);var params=serialize(data[2]);if(params){url+="&"+params}}return url}function detectProtocol(){return _globalObj&&_globalObj.location&&_globalObj.location.protocol==="https:"?"https:":"http:"}function detectAuth(){for(var i=0,l=stack.length;i