52.203.255.244 Open in urlscan Pro
52.203.255.244  Public Scan

Submitted URL: http://52.203.255.244/
Effective URL: https://52.203.255.244/
Submission: On April 12 via manual from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

!function(win,undefined){function getType(e){return null===e?nullStr:e===undefined?undefStr:objProto.toString.call(e)}function typeErr(e){throw new TypeError(e)}function keys(e){var t,a=[];if(getType(e.keys)===TYPES.fu)return e.keys();for(t in e)e[hop](t)===!0&&a.push(t);return a}function map(e,t){var a,s;if(getType(e.map)===TYPES.fu)return e.map(t);for(s=e.length,a=new Array(s);s--;)a[s]=t.call(e[s],s,e);return a}function setCookie(){var e=Array(33).join((Math.random().toString(36)+'00000000000000000').slice(2,18)).slice(0,32),t=new Date;return t.setTime(t.getTime()+15768e7),Globals.config.domain?doc.cookie=cookieKey+'='+e+';expires='+t.toGMTString()+';path=/;domain='+Globals.config.domain:doc.cookie=cookieKey+'='+e+';expires='+t.toGMTString()+';path=/',e}function getCookie(){var e,t,a=doc.cookie.split(';'),s=0;if(cookieValue)return cookieValue;for(t=cookieKey+'=';s<a.length;s++){for(e=a[s];' '===e.charAt(0);)e=e.substring(1);if(0===e.indexOf(t))return cookieValue=e.substring(t.length,e.length)}return cookieValue=setCookie()}function loader(){function e(e){e.origin!==Globals._config.protocol+Globals.config.host&&e.origin!==Globals._config.protocol+Globals._config.dataHost||processData(e.data)}var t;Globals.logs.put('loader Start');try{Globals.iFrame=doc.createElement('iframe'),Globals.iFrame.style.cssText='position:absolute;width:1px;height:1px;left:-9999px;',Globals.iFrame.id=Globals.config.namespace+'_'+now,Globals.iFrame.name='',Globals.iFrame.src='javascript:false',Globals.iFrame.title='a1-loader',Globals.iFrame.tabIndex=-1,Globals.iFrame.ariaHidden='true',doc.body.appendChild(Globals.iFrame)}catch(e){Globals.logs.put('loader Paused - waiting for document.body to exist and be ready');var a=this,s=slice.call(arguments);return win.setTimeout(function(){loader.apply(a,s),a=s=null},50)}Globals.tagTargets=win.document.querySelectorAll('[data-a1-webtag], [a1-webtag]'),Globals.tagTargets.length>0&&neededLibraries.push('template'),win[attachListener](message,e,!1),win[Globals.config.namespace]._detach=function(){win[detachListener](message,e)},t=[Globals._config.protocol,Globals.config.host,Globals._config.path,'a1_webtag.html?version=',Globals._config.version,'&namespace=',Globals.config.namespace],Globals.iFrame.src=t.join(''),Globals.logs.put('loader End',2)}function processData(message){try{message=JSON.parse(message)}catch(e){console.log(message);try{win.console.error('AgilOne WebTag - Error in processData while parsing message: '+e)}catch(e){}}if(getType(message)===TYPES.ob)switch(message.type){case'library':Globals.logs.put('Library Code Received: '+message.id,null,message.id);try{eval(message.data)}catch(e){try{win.console.error('AgilOne WebTag - Error in processData for '+message.id+': '+e)}catch(e){}}Globals.Core.processLibrary?(Globals.Core.processLibrary(message.id),win[Globals.config.namespace].trigger({type:'libraryLoaded',target:message.id})):(Globals.logs.put('Add library to process queue: '+message.id,2,message.id),Globals.Libraries.queue.push(message.id)),Globals.logs.put('Load Request Library End: '+message.id,2,message.id);break;case'function':Globals.logs.put('Code Received: '+message.id,null,message.id);try{eval(message.data)}catch(e){try{win.console.error('AgilOne WebTag - Error in processData for '+message.id+': '+e)}catch(e){}}break;case'data':getType(Globals.Core.dataHandler)===TYPES.fu?Globals.Core.dataHandler(message):(console.log(JSON.stringify(message)),win.console.error('AgilOne WebTag - Data loaded before Core library: '+message.id));break;default:return void win.console.error('AgilOne WebTag - Unrecognized message type: '+message.type)}}function noop(){}function Promise(e){var t=this;if(t._id=Globals.Promises.ids.length,t._subscribers=[],t._state=Globals.Promises.states.pending,t.__requiresLib={},e!==noop){if(getType(e)!==TYPES.fu&&typeErr('You must pass a resolver function as the first argument to the promise constructor'),!(t instanceof Promise))return new Promise(e);Globals.Promises.objects[t._id]=t,Globals.Promises.ids.push(t._id),Globals.Promises.triggerResolver(t,e)}}function requestLibrary(e){Globals.Libraries.status[e]||(Globals.logs.put('Load Request Library Start: '+e,3,e),Globals.Libraries.status[e]=Globals.Libraries.states.pending,Globals.iFrame.contentWindow.postMessage(JSON.stringify({type:'library',data:e}),'*'))}function loadLibrary(e,t){var a,s;if(e=getType(e)===TYPES.ar?e:[e],a=e.length)for(;a--;)s=e[a],s&&(t&&!Globals.Promises.objects[t._id].__requiresLib[s]&&(Globals.Promises.objects[t._id].__requiresLib[s]=Globals.Libraries.status[s]||Globals.Libraries.states.pending),Globals.Libraries.status[s]===undefined&&(loaderFinished?requestLibrary(s):neededLibraries.push(s)));return t||!0}function sendConfig(e,t){Globals.iFrame.contentWindow.postMessage(JSON.stringify({type:'config',data:{key:e,value:t}}),'*')}function trigger(e){var t=getType(e);return t===TYPES.st&&(e={type:e.toLowerCase()},t=TYPES.ob),t===TYPES.ob&&getType(e.type)===TYPES.st?(e._ts=e._ts||new Date,Globals.Events.triggered.push(e)):typeErr('"event" must be a string or object with a "type" string'),this}function bind(e,t){return getType(e)===TYPES.st&&getType(t)===TYPES.fu?(e=e.toLowerCase(),Globals.Events.bound[e]=Globals.Events.bound[e]||[],Globals.Events.bound[e].push({ts:new Date,callback:t})):typeErr('"type" must be a string and "callback" must be a function'),this}function unbind(e,t){var a,s=0;if(getType(e)===TYPES.st)if(e=e.toLowerCase(),1===arguments.length)Globals.Events.bound[e]=[];else if(getType(t)===TYPES.fu){if(getType(Globals.Events.bound[e])===TYPES.ar&&Globals.Events.bound[e].length>0){for(a=Globals.Events.bound[e].length;s<a;s++)Globals.Events.bound[e][s].callback===t&&(Globals.Events.bound[e][s]=undefined);0===Globals.Events.bound[e].length&&delete Globals.Events.bound[e]}}else typeErr('"callback" must be a function');else typeErr('"type" must be a string');return this}function modelExtend(e,t,a){var s,n,o;if(t.prototype=objCreate(e.prototype),t.prototype.constructor=t,getType(a)===TYPES.ob)for(s in a)a[hop](s)===!0&&(t.prototype[s]=a[s]);t.prototype.__keys={},n=t.prototype.__fields;for(o in n)n[hop](o)&&n[o].k&&n[o].k!==hiddenField&&(t.prototype.__keys[n[o].k]=o);return t}function BaseModel(){this.__data={}}function setParents(e,t){var a=this;return a.__parents.length>0&&map(a.__parents,function(s){getType(s.set)===TYPES.fu&&s.set(a.__fields[t].k,e)}),e}function Customer(e){var t,a=this;if(!(a instanceof Customer))return new Customer(e);switch(a.__data={},a.__parents=[],getType(e)){case TYPES.st:case TYPES.nu:a.set('id',e);break;case TYPES.ob:for(t in e)e[hop](t)===!0&&a.set(t,e[t]);break;case TYPES.un:case TYPES.nl:break;default:typeErr('First argument of '+Globals.config.namespace+'.Customer() must be a string, number, object, null, or undefined')}}function Target(e){var t,a=this;if(!(a instanceof Target))return new Target(e);switch(a.__data={},a.__parents=[],getType(e)){case TYPES.st:case TYPES.nu:a.set('productId',e);break;case TYPES.ob:for(t in e)e[hop](t)===!0&&a.set(t,e[t]);break;case TYPES.un:case TYPES.nl:break;default:typeErr('First argument of '+Globals.config.namespace+'.Target() must be a string, number, object, null, or undefined')}}function Transaction(e){var t,a=this;if(!(a instanceof Transaction))return new Transaction(e);switch(a.__data={type:'Purchase'},a.__parents=[],getType(e)){case TYPES.st:case TYPES.nu:a.set('id',e);break;case TYPES.ob:for(t in e)e[hop](t)===!0&&a.set(t,e[t]);break;case TYPES.un:case TYPES.nl:break;default:typeErr('First argument of '+Globals.config.namespace+'.Transaction() must be a string, number, object, null, or undefined')}}function Event(e){var t,a=this;if(!(a instanceof Event))return new Event(e);switch(a.__data={URL:doc.location.href,Referer:doc.referrer||undefined,Cookie:getCookie()},getType(e)){case TYPES.st:a.set('type',e);break;case TYPES.ob:for(t in e)e[hop](t)===!0&&a.set(t,e[t]);break;case TYPES.un:case TYPES.nl:break;default:typeErr('First argument of '+Globals.config.namespace+'.Event() must be an object, null, or undefined')}}function addCustomerToEvent(e){function t(e){var t=e.get('id');return getType(t)!==TYPES.un&&(getType(s.__data.targets)===TYPES.ar&&s.__data.targets.length>0&&map(s.__data.targets,function(e){e.set('SourceCustomerNumber',t)}),s.__data.transaction instanceof Transaction&&s.__data.transaction.set('SourceCustomerNumber',t)),e}var a,s=this,n='"customer" must be either a Customer instance, object, string, number, null, or undefined';switch(s.__data.customer&&s.__data.customer.__parents.splice(s.__data.customer.__parents.indexOf(s),1),getType(e)){case TYPES.ob:e instanceof Customer?a=e:e instanceof BaseModel&&typeErr(n);case TYPES.st:case TYPES.nu:a=t(a||new Customer(e));break;case TYPES.un:case TYPES.nl:return;default:typeErr(n)}return a.__parents.push(s),a}function addTargetsToEvent(e){function t(e){return e.get('type')||e.set('type',s.__data.type),e.get('Subtype')||e.set('Subtype',s.__data.Subtype),e.get('URL')||e.set('URL',s.__data.URL),e.get('Referer')||e.set('Referer',s.__data.Referer),e.get('Cookie')||e.set('Cookie',s.__data.Cookie),e.get('Variables')||getType(s.__data.variables)!==TYPES.ob||e.set('Variables',s.__data.variables),s.__data.customer instanceof Customer&&e.set('SourceCustomerNumber',s.__data.customer.get('id')),s.__data.transaction instanceof Transaction&&e.set('SourceTransactionNumber',s.__data.transaction.get('id')),s.__data.SourceProductCategoryNumber&&getType(s.__data.SourceProductCategoryNumber)===TYPES.st&&e.set('SourceProductCategoryNumber',s.__data.SourceProductCategoryNumber),e.__parents.indexOf(s)===-1&&e.__parents.push(s),e}var a,s=this,n='"targets" must be one or more (as an array) of either a Target instance, object, string, number, null, or undefined';switch(getType(e)){case TYPES.ar:return a=[],map(e,function(e){var t=addTargetsToEvent.call(s,e);getType(t)===TYPES.ar&&t[0]instanceof Target&&a.push(t[0])}),a;case TYPES.ob:if(e instanceof Target)return[t(e)];if(!(e instanceof BaseModel))return[t(new Target(e))];break;case TYPES.st:case TYPES.nu:return[t(new Target(e))];case TYPES.un:case TYPES.nl:return}typeErr(n)}function addTransactionToEvent(e){function t(e){var t;return e.get('Subtype')||e.set('Subtype',s.__data.Subtype),s.__data.customer instanceof Customer&&e.set('SourceCustomerNumber',s.__data.customer.get('id')),getType(s.__data.targets)===TYPES.ar&&s.__data.targets.length>0&&(t=e.get('id'),map(s.__data.targets,function(e){e.set('SourceTransactionNumber',t)})),e.__parents.indexOf(s)===-1&&e.__parents.push(s),e}var a,s=this,n='"transaction" must be either a Transaction instance, object, string, number, null, or undefined';switch(s.__data.transaction&&s.__data.transaction.__parents.splice(s.__data.transaction.__parents.indexOf(s),1),getType(e)){case TYPES.ob:e instanceof Transaction?a=e:e instanceof BaseModel&&typeErr(n);case TYPES.st:case TYPES.nu:a=t(a||new Transaction(e));break;case TYPES.un:case TYPES.nl:return;default:typeErr(n)}return a.__parents.push(s),a}function modifyEventTargetsField(e,t){var a=this;return getType(a.__data.targets)===TYPES.ar&&a.__data.targets.length>0&&map(a.__data.targets,function(a){a.set(t,e)}),e}function modifyEventChildrenField(e,t){var a=this;return getType(a.__data.targets)===TYPES.ar&&a.__data.targets.length>0&&map(a.__data.targets,function(a){a.set(t,e)}),a.__data.transaction instanceof Transaction&&a.__data.transaction.set(t,e),e}var doc=win.document,attachListener=win.addEventListener?'addEventListener':'attachEvent',detachListener=win.addEventListener?'removeEventListener':'detachEvent',message=win.addEventListener?'message':'onmessage',objProto=Object.prototype,objCreate=Object.create,slice=Array.prototype.slice,scripts=doc.getElementsByTagName('script')||[],neededLibraries=[],canUsePostMessage=!!win.postMessage,loaderFinished=!1,now=+new Date,catchStr='catch',Globals={currentVersion:'3.0.2',slice:slice,iFrame:null,Libraries:{status:{},queue:[],states:{pending:1,fulfilled:2}},Promise:null,Promises:{ids:[],objects:{},states:{pending:undefined,fulfilled:1,rejected:2},triggerResolver:function(e,t){e.__resolver=t},subscribe:function(e,t,a,s){var n=e._subscribers,o=n.length;n[o]=t,n[o+Globals.Promises.states.fulfilled]=a,n[o+Globals.Promises.states.rejected]=s}},Errors:{},Core:{},Events:{triggered:[],bound:{}},config:{key:null,tenantId:null,namespace:'$A1',secure:null,host:null,domain:null,scheme:'a1webtag'},_config:{protocol:null,path:'',version:null,dataHost:'api6.agilone.com',dataVersion:'v2',contentHost:'content.agilone.com',contentVersion:'v2'},logs:{logs:[],timers:[],put:function(e,t,a){function s(a){a&&(r.timers[a]?o=i-r.timers[a]:(r.timers[a]=i,o=0)),r.logs.push({created_at:i,data:e,main:l,id:a,offset:o,level:t})}var n,o,r=this,i=+new Date,l=r.logs[0]?i-r.logs[0].created_at:0;if(t=t||3,getType(a)===TYPES.ar)for(n=a.length;n--;)s(a[n]);else s(a)}},tagTargets:null},TYPES,nullStr='[Object Null]',undefStr='[Object Undefined]',hop='hasOwnProperty',hiddenField='h',cookieKey='a1ashgd',cookieValue,scriptSrc,s,originalObject,tokenTO;for(TYPES={st:getType(''),nu:getType(0),ob:getType({}),ar:getType([]),fu:getType(noop),un:undefStr,nl:nullStr,dt:getType(new Date)},Globals.logs.put('Library Load Start: Base',null,'base'),Promise.prototype={constructor:Promise,then:function(e,t){var a,s=this;return a=new s.constructor(noop),Globals.Promises.subscribe(s,a,e,t),a},always:function(e){return this.then(e,e)}},Promise.prototype[catchStr]=function(e){return this.then(null,e)},Globals.Promise=Promise,Globals.Libraries.load=loadLibrary,BaseModel.prototype={constructor:BaseModel,__fields:{},toString:function(){return JSON.stringify(this.__data)},toJSON:function(){var e,t,a,s,n,o=this,r={};for(e in o.__data)if(o.__data[hop](e))switch(t=o.__data[e],getType(t)){case TYPES.fu:case TYPES.un:continue;case TYPES.ar:for(n=t.length,a=[],s=0;s<n;s++)getType(t[s].toJSON)===TYPES.fu?a.push(t[s].toJSON()):a.push(t[s]);o.__fields[e]&&o.__fields[e].k?o.__fields[e].k!==hiddenField&&(r[o.__fields[e].k]=a):r[e]=a;break;default:[TYPES.un,TYPES.nl].indexOf(getType(t))===-1&&getType(t.toJSON)===TYPES.fu&&(t=t.toJSON()),o.__fields[e]&&o.__fields[e].k?o.__fields[e].k!==hiddenField&&(r[o.__fields[e].k]=t):r[e]=t}return r},get:function(e){var t=this;return getType(e)===TYPES.st?t.__data[t.__keys&&t.__keys[e]?t.__keys[e]:e]:t.__data},set:function(e,t){var a=this;if(getType(e)!==TYPES.st&&typeErr('"key" must be a string'),null===t)return a.remove(e);if(e=a.__keys&&a.__keys[e]?a.__keys[e]:e,a.__fields[e]){if(a.__fields[e].t){if(a.__fields[e].t===TYPES.dt)return a.__data[e]=new Date(t),isNaN(a.__data[e].getTime())&&(delete a.__data[e],typeErr('"value" must be a valid date for the "'+e+'" field')),a;a.__fields[e].h||a.__fields[e].t===getType(t)||typeErr('Invalid "value" provided for the "'+e+'" field - expects an '+a.__fields[e].t)}if(a.__fields[e].h)return a.__fields[e].t&&a.__fields[e].t===TYPES.ar&&getType(t)!==TYPES.ar?a.__data[e]=[a.__fields[e].h.call(a,t,e)]:a.__data[e]=a.__fields[e].h.call(a,t,e),a}return a.__data[e]=t,a},add:function(e,t){var a,s,n=this;TYPES.st;if(getType(e)!==TYPES.st&&typeErr('"key" must be a string'),e=n.__keys[e]||e,s=n.__data[e],n.__fields[e]&&n.__fields[e].t===TYPES.ar||getType(s)===TYPES.ar)n.__data[e]=s||[],n.__fields[e]&&n.__fields[e].h&&(t=n.__fields[e].h.call(n,t,e)),getType(t)===TYPES.ar?n.__data[e]=s.concat(t):n.__data[e].push(t);else if(n.__fields[e]&&n.__fields[e].t===TYPES.ob||getType(s)===TYPES.ob)if(getType(t)===TYPES.ob)if(n.__fields[e]&&n.__fields[e].h)n.__data[e]=n.__fields[e].h.call(n,t,e);else{n.__data[e]=s||{};for(a in t)t[hop](a)===!0&&(n.__data[e][a]=t[a])}else typeErr('"value" must be an object for key "'+e+'"');else n.set(e,t);return n},remove:function(e,t){var a,s,n,o=this;switch(getType(e)!==TYPES.st&&typeErr('"key" must be a string'),e=o.__keys[e]||e,n=o.__data[e],getType(t)){case TYPES.un:o.__data[e]=a;break;case TYPES.nl:case TYPES.st:if(o.__fields[e]&&o.__fields[e].t===TYPES.ar||getType(n)===TYPES.ar){if(n){for(s=n.length;s--;)n[s]===t&&(o.__data[e]=n.splice(s,1));0===n.length&&(o.__data[e]=a)}}else o.__fields[e]&&o.__fields[e].t===TYPES.ob||getType(n)===TYPES.ob?n&&(delete o.__data[e][t],0===keys(n).length&&(o.__data[e]=a)):delete o.__data[e];break;default:typeErr('"value" must be a string, null, or undefined')}return o}},modelExtend(BaseModel,Customer,{__fields:{id:{k:'SourceCustomerNumber',h:setParents},custom:{t:TYPES.ob,k:'Custom'},preferences:{t:TYPES.ob,k:'Preferences'}}}),modelExtend(BaseModel,Target,{__fields:{productId:{k:'SourceProductNumber'},messageId:{k:'SourceMessageNumber'},listId:{k:'SourceListNumber'},brandId:{k:'BrandId'},reviewId:{k:'SourceReviewNumber'},transactionItemId:{k:'SourceTransactionItemNumber'},transactionId:{k:'SourceTransactionNumber'},type:{k:'Type'},Subtype:{k:'Subtype'},quantity:{k:'Quantity'},shipDate:{t:TYPES.dt,k:'ShipDate'},saleRevenue:{k:'SaleRevenue'},discount:{k:'Discount'},shippingRevenue:{k:'ShippingRevenue'},invoiceDate:{t:TYPES.dt,k:'InvoiceDate'},organizationId:{k:'SourceOrganizationNumber'},variables:{t:TYPES.ob,k:'Variables'},SourceProductCategoryNumber:{k:'SourceProductCategoryNumber'}},toJSON:function(){var e,t=this;return e=BaseModel.prototype.toJSON.apply(t,arguments),getType(e.Variables)===TYPES.ob&&(e.Variables=JSON.stringify(e.Variables)),e}}),modelExtend(BaseModel,Transaction,{__fields:{id:{k:'SourceTransactionNumber',h:setParents},organizationId:{k:'SourceOrganizationNumber'},Subtype:{k:hiddenField,h:setParents},type:{k:hiddenField,h:setParents},invoiceDate:{t:TYPES.dt,k:'TransactionTimeStamp'},total:{k:'Total'},discount:{k:'Discount'},tax:{k:'Tax'}}}),modelExtend(BaseModel,Event,{__fields:{type:{k:hiddenField,h:modifyEventTargetsField},URL:{k:hiddenField,h:modifyEventTargetsField},Referer:{k:hiddenField,h:modifyEventTargetsField},Cookie:{k:hiddenField,h:modifyEventTargetsField},Subtype:{k:hiddenField,h:modifyEventTargetsField},customer:{k:hiddenField,h:addCustomerToEvent},SourceCustomerNumber:{k:hiddenField,h:modifyEventChildrenField},SourceProductCategoryNumber:{k:hiddenField,h:modifyEventChildrenField},SourceTransactionNumber:{k:hiddenField,h:modifyEventTargetsField},transaction:{k:hiddenField,h:addTransactionToEvent},targets:{k:'events',h:addTargetsToEvent},time:{t:TYPES.dt,k:'EventTimeStamp'},location:{t:TYPES.ob,k:'GeoEncoding'},variables:{t:TYPES.ob,k:hiddenField,h:modifyEventTargetsField}},toJSON:function(){var e,t=this;return e=BaseModel.prototype.toJSON.apply(t,arguments),getType(e.Variables)===TYPES.ob&&(e.Variables=JSON.stringify(e.Variables)),t.__data.customer&&(e.customers=[t.__data.customer.toJSON.apply(t.__data.customer,arguments)]),t.__data.transaction?(e.transactions=[t.__data.transaction.toJSON.apply(t.__data.transaction,arguments)],t.__data.targets&&t.__data.targets.length>0&&(e.transactionitems=e.events,map(e.transactionitems,function(e){delete e.URL,delete e.Referer,delete e.Cookie})),e.events=[t.__data.transaction.toJSON.apply(addTargetsToEvent.call(t,{})[0],arguments)]):!t.__data.type||t.__data.targets&&0!==t.__data.targets.length||(e.events=[addTargetsToEvent.call(t,{})[0].toJSON()]),e},send:function(){return win[Globals.config.namespace](this.toJSON())}}),s=scripts.length;s--;)if(scripts[s]&&scripts[s].src&&scripts[s].src.match(/\/a1\.js\?|\/a1\.js$/)){scriptSrc=scripts[s].src;break}getType(objCreate)!==TYPES.fu&&(objCreate=function(){var e=function(){};return function(t){e.prototype=t;var a=new e;return e.prototype=null,a}}()),Globals.config.secure='https:'===scriptSrc.split('/')[0],Globals.config.host=scriptSrc.split('/')[2],Globals._config.version=scriptSrc.match(/\/v([\d])\//),Globals._config.version=null===Globals._config.version?Globals.currentVersion:Globals._config.version[1],getType(win.$A1Config)===TYPES.ob?map(keys(win.$A1Config),function(e){'host'===e?Globals._config.dataHost=win.$A1Config[e]:'contentHost'===e?Globals._config.contentHost=win.$A1Config[e]:Globals.config[e]=win.$A1Config[e]}):typeErr('$A1Config must be an object included in the window before loading the a1.js file'),Globals._config.dataHost=Globals._config.dataHost.replace(/^(https?:|)\/\//,''),Globals._config.contentHost=Globals._config.contentHost.replace(/^(https?:|)\/\//,''),Globals._config.version=isNaN(Globals.config.version)||null===Globals.config.version?Globals._config.version:parseInt(Globals.config.version),Globals._config.path=Globals.config.path?Globals.config.path:'/v'+Globals._config.version+'/',Globals._config.protocol=Globals.config.secure?'https://':'http://',Globals._config.dataPath=Globals._config.protocol+Globals._config.dataHost+'/'+Globals._config.dataVersion+'/'+Globals.config.tenantId+'/dw/tracker?scheme='+Globals.config.scheme+'&accessKey='+Globals.config.key,Globals.logs.put('A1 WebTag configured with the following options: ',3,'base'),Globals.logs.put(Globals.config,3,'base'),originalObject=win[Globals.config.namespace],originalObject&&getType(originalObject._detach)===getType(getType)&&originalObject._detach(),win[Globals.config.namespace]=function(e){return new Promise(function(t,a){getType(e)!==TYPES.ob?a():win[Globals.config.namespace].trigger({type:'track',data:e,cbs:{success:t,failure:a}})})},win[Globals.config.namespace].all=function(){var e=slice.call(arguments,0);return new Promise(function(t,a){Globals.Promises.all(e,t,a)})},win[Globals.config.namespace].trigger=trigger,win[Globals.config.namespace].bind=bind,win[Globals.config.namespace].unbind=unbind,win[Globals.config.namespace].one=function(e,t){var a=function(){t.apply(win[Globals.config.namespace],arguments),win[Globals.config.namespace].unbind(e,a)};return getType(t)===TYPES.fu?win[Globals.config.namespace].bind(e,a):void typeErr('"callback" must be a function')},win[Globals.config.namespace].showLogs=function(){return Globals},win[Globals.config.namespace].BaseModel=BaseModel,win[Globals.config.namespace].Customer=Customer,win[Globals.config.namespace].Target=Target,win[Globals.config.namespace].Transaction=Transaction,win[Globals.config.namespace].Event=Event,canUsePostMessage&&loader(),Globals.logs.put('Library Load End: Base',4,'base')}(window);
//# sourceMappingURL=a1.js.map