(function(e){var d=window.AmazonUIPageJS||window.P,k=d._namespace||d.attributeErrors,f=k?k("MarsUtilityAssets",""):d;f.guardFatal?f.guardFatal(e)(f,window):f.execute(function(){e(f,window)})})(function(e,d,k){function f(a,b,g){g||(g=b,b=a,a=[]);var c=d.AmazonUIPageJS||d.P||e;c.now(b).execute("Registrant",function(l){if(!l)try{c.when.apply(c,a).register(b,g)}catch(m){c.log(b+" error: "+m,"WARN")}})}f([],"MarsSafeRegister",function(){return{safeRegister:f}});"use strict";e.when("MarsSafeRegister").execute("marsCsmCounter.js", function(a){a.safeRegister(["A"],"marsCsmCounter",function(b){var g=b.$;return{register:function(c,b,a){c&&b&&a&&g(c).bind(b,g.proxy(this.increment,this,a))},increment:function(c){c&&d.ue.count(c,(d.ue.count(c)||0)+1)},update:function(c,b){c&&"number"===typeof b&&d.ue.count(c,b)}}})});"use strict";e.when("MarsSafeRegister").execute("marsCsmLogger.js",function(a){a.safeRegister([],"marsCsmLogger",function(){function b(b,c,a){d.ueLogError(b,{logLevel:c,attribution:a})}return{logError:b,logCustomError:function(a, c,d){b({message:a},c,d)}}})});"use strict";e.when("MarsSafeRegister").execute("marsRefTagEmitter.js",function(a){a.safeRegister(["A","marsCsmCounter"],"marsRefTagEmitter",function(b,a){return{send:function(c,b){if(!c)throw a.increment("odsRefTagUtils_reftag_undefined"),Error("refTag is not defined");a.increment(c);a.increment("odsRefTagUtils_csm_counter")}}})});"use strict";e.when("MarsSafeRegister").execute("marsAjaxWithRetry.js",function(a){a.safeRegister(["A","3p-promise"],"marsAjaxWithRetry", function(a,d){function c(a,e,h){return new d(function(d,f){b.ajax(a).done(function(a){d(a)}).fail(function(b){h&&e<=h.retryLimit?setTimeout(function(){c(a,e+1,h).then(d).catch(f)},h.exponentialBackoff?Math.pow(2,e)*h.retryDelay:h.retryDelay):f(b)})})}var b=a.$;return{retry:function(a,b){var d={retryLimit:2,retryDelay:1E3,exponentialBackoff:!1};b&&(d=Object.assign(d,b));return c(a,0,d)}}})});"use strict";e.when("MarsSafeRegister").execute("marsRefTagSender.js",function(a){a.safeRegister(["A"],"marsRefTagSender", function(a){var b=a.$;return{send:function(a){if(!a)throw Error("refTag is not defined");b.get("/hctp/log/refMarker?ref_\x3d"+a)}}})})});