-
Notifications
You must be signed in to change notification settings - Fork 3
/
omni-min.js
2 lines (2 loc) · 32.7 KB
/
omni-min.js
1
2
function Visitor(a){var b=this;b.version="1.1";var c=window;c.s_c_in||(c.s_c_il=[],c.s_c_in=0),b._c="Visitor",b._il=c.s_c_il,b._in=c.s_c_in,b._il[b._in]=b,c.s_c_in++;var d=c.document,e=c.z;e||(e=null);var f=c.A;f||(f=!0);var g=c.w;g||(g=!1),b.s=function(){var a;if(!a&&c.location&&(a=c.location.hostname),a)if(/^[0-9.]+$/.test(a))a="";else{var b=a.split("."),d=b.length-1,e=d-1;if(d>1&&2>=b[d].length&&0>",am,aq,ax,cc,cf,cg,ch,cv,cz,de,dj,dk,eu,fm,fo,ga,gd,gf,gl,gm,gq,gs,gw,hm,li,lu,md,mh,mp,mq,ms,ne,nl,nu,pm,si,sk,sm,sr,su,tc,td,tf,tg,tk,tv,va,vg,vu,wf,yt,".indexOf(","+b[d]+",")&&e--,e>0)for(a="";d>=e;)a=b[d]+(a?".":"")+a,d--}return a},b.cookieRead=function(a){var b=(";"+d.cookie).split(" ").join(";"),c=b.indexOf(";"+a+"="),e=0>c?c:b.indexOf(";",c+1);return 0>c?"":decodeURIComponent(b.substring(c+2+a.length,0>e?b.length:e))},b.cookieWrite=function(a,c,e){var f,g=b.cookieLifetime,c=""+c,g=g?(""+g).toUpperCase():"";return e&&"SESSION"!=g&&"NONE"!=g?(f=""!=c?parseInt(g?g:0):-60)?(e=new Date,e.setTime(e.getTime()+1e3*f)):1==e&&(e=new Date,f=e.getYear(),e.setYear(f+2+(1900>f?1900:0))):e=0,a&&"NONE"!=g?(d.cookie=a+"="+encodeURIComponent(c)+"; path=/;"+(e?" expires="+e.toGMTString()+";":"")+(b.k?" domain="+b.k+";":""),b.cookieRead(a)==c):0},b.b=e,b.j=function(a,b){try{"function"==typeof a?a.apply(c,b):a[1].apply(a[0],b)}catch(d){}},b.u=function(a,c){c&&(b.b==e&&(b.b={}),void 0==b.b[a]&&(b.b[a]=[]),b.b[a].push(c))},b.p=function(a,c){if(b.b!=e){var d=b.b[a];if(d)for(;0<d.length;)b.j(d.shift(),c)}},b.c=e,b.t=function(a,c,f){!c&&f&&f();var g=d.getElementsByTagName("HEAD")[0],h=d.createElement("SCRIPT");h.type="text/javascript",h.setAttribute("async","async"),h.src=c,g.firstChild?g.insertBefore(h,g.firstChild):g.appendChild(h),b.c==e&&(b.c={}),b.c[a]=setTimeout(f,b.loadTimeout)},b.q=function(a){b.c!=e&&b.c[a]&&(clearTimeout(b.c[a]),b.c[a]=0)},b.l=g,b.m=g,b.isAllowed=function(){return!b.l&&(b.l=f,b.cookieRead(b.cookieName)||b.cookieWrite(b.cookieName,"T",1))&&(b.m=f),b.m},b.a=e,b.n=g,b.i=function(){if(!b.n){b.n=f;var a,c,d,e,g=b.cookieRead(b.cookieName),h=new Date;if(g&&"T"!=g)for(g=g.split("|"),1==g.length%2&&g.pop(),a=0;a<g.length;a+=2)c=g[a].split("-"),d=c[0],e=g[a+1],c=1<c.length?parseInt(c[1]):0,d&&e&&(!c||h.getTime()<1e3*c)&&(b.f(d,e,1),c>0&&(b.a["expire"+d]=c));!b.d("MCAID")&&(g=b.cookieRead("s_vi"))&&(g=g.split("|"),1<g.length&&0<=g[0].indexOf("v1")&&(e=g[1],a=e.indexOf("["),a>=0&&(e=e.substring(0,a)),e&&e.match(/^[0-9a-fA-F\-]+$/)&&b.f("MCAID",e)))}},b.v=function(){var a,c,d="";for(a in b.a)!Object.prototype[a]&&b.a[a]&&"expire"!=a.substring(0,6)&&(c=b.a[a],d+=(d?"|":"")+a+(b.a["expire"+a]?"-"+b.a["expire"+a]:"")+"|"+c);b.cookieWrite(b.cookieName,d,1)},b.d=function(a){return b.a!=e?b.a[a]:e},b.f=function(a,c,d){b.a==e&&(b.a={}),b.a[a]=c,d||b.v()},b.o=function(a,c){var d=new Date;d.setTime(d.getTime()+1e3*c),b.a==e&&(b.a={}),b.a["expire"+a]=Math.floor(d.getTime()/1e3)},b.r=function(a){return a&&("object"==typeof a&&(a=a.visitorID?a.visitorID:a.id?a.id:a.uuid?a.uuid:""+a),a&&(a=a.toUpperCase(),"NOTARGET"==a&&(a="NONE")),!a||"NONE"!=a&&!a.match(/^[0-9a-fA-F\-]+$/))&&(a=""),a},b.g=function(a,c){var d;if(b.q(a),d=b.d(a),d||(d=b.r(c))&&b.f(a,d),"object"==typeof c){var e=86400;"MCAAMID"==a&&(void 0!=c.id_sync_ttl&&c.id_sync_ttl&&(e=parseInt(c.id_sync_ttl)),b.o(a,e),b.o("MCAAMLH",e),c.dcs_region&&b.f("MCAAMLH",c.dcs_region))}b.p(a,["NONE"!=d?d:""])},b.e=e,b.h=function(a,c,d){if(b.isAllowed()){b.i();var g=b.d(a);if(g)return"NONE"==g&&b.j(d,[""]),"NONE"!=g?g:"";(b.e==e||void 0==b.e[a])&&(b.e==e&&(b.e={}),b.e[a]=f,b.t(a,c,function(){if(!b.d(a)){var c="";if("MCMID"==a){var d,e,f=c="",g=10,h=10;for(d=0;19>d;d++)e=Math.floor(Math.random()*g),c+="0123456789".substring(e,e+1),g=0==d&&9==e?3:10,e=Math.floor(Math.random()*h),f+="0123456789".substring(e,e+1),h=0==d&&9==e?3:10;c+=f}b.g(a,c)}})),b.u(a,d)}return""},b.setMarketingCloudVisitorID=function(a){b.g("MCMID",a)},b.getMarketingCloudVisitorID=function(a){var c=b.marketingCloudServer,d="";return b.loadSSL&&b.marketingCloudServerSecure&&(c=b.marketingCloudServerSecure),c&&(d="http"+(b.loadSSL?"s":"")+"://"+c+"/id?d_rtbd=json&d_cid="+encodeURIComponent(b.namespace)+"&d_cb=s_c_il%5B"+b._in+"%5D.setMarketingCloudVisitorID"),b.h("MCMID",d,a)},b.setAudienceManagerVisitorID=function(a){b.g("MCAAMID",a)},b.getAudienceManagerVisitorID=function(a){var c=b.audienceManagerServer,d="";return b.loadSSL&&b.audienceManagerServerSecure&&(c=b.audienceManagerServerSecure),c&&(d="http"+(b.loadSSL?"s":"")+"://"+c+"/id?d_rtbd=json&d_cb=s_c_il%5B"+b._in+"%5D.setAudienceManagerVisitorID"),b.h("MCAAMID",d,a)},b.getAudienceManagerLocationHint=function(){b.i();var a=b.d("MCAAMLH");return a?a:0},b.setAnalyticsVisitorID=function(a){b.i(),b.g("MCAID",a)},b.getAnalyticsVisitorID=function(a){var c=b.trackingServer,d="";return b.loadSSL&&b.trackingServerSecure&&(c=b.trackingServerSecure),c&&(d="http"+(b.loadSSL?"s":"")+"://"+c+"/id?callback=s_c_il%5B"+b._in+"%5D.setAnalyticsVisitorID"),b.h("MCAID",d,a)},b.getVisitorID=function(a){return b.getMarketingCloudVisitorID(a)},b.namespace=a,b.cookieName="AMCV_"+a,b.k=b.s(),b.loadSSL=0<=c.location.protocol.toLowerCase().indexOf("https"),b.loadTimeout=500,b.marketingCloudServer=b.audienceManagerServer="dpm.demdex.net"}function AppMeasurement(){var a=this;a.version="1.2.1";var b=window;b.s_c_in||(b.s_c_il=[],b.s_c_in=0),a._il=b.s_c_il,a._in=b.s_c_in,a._il[a._in]=a,b.s_c_in++,a._c="s_c";var c=b.fb;c||(c=null);var d,e,f=b;try{for(d=f.parent,e=f.location;d&&d.location&&e&&""+d.location!=""+e&&f.location&&""+d.location!=""+f.location&&d.location.host==e.host;)f=d,d=f.parent}catch(g){}for(a.Sa=function(a){try{console.log(a)}catch(b){}},a.ja=function(a){return""+parseInt(a)==""+a},a.replace=function(a,b,c){return!a||a.indexOf(b)<0?a:a.split(b).join(c)},a.escape=function(b){var c,d;if(!b)return b;for(b=encodeURIComponent(b),c=0;7>c;c++)d="+~!*()'".substring(c,c+1),b.indexOf(d)>=0&&(b=a.replace(b,d,"%"+d.charCodeAt(0).toString(16).toUpperCase()));return b},a.unescape=function(b){if(!b)return b;b=b.indexOf("+")>=0?a.replace(b,"+"," "):b;try{return decodeURIComponent(b)}catch(c){}return unescape(b)},a.Ja=function(){var c,d=b.location.hostname,e=a.fpCookieDomainPeriods;if(e||(e=a.cookieDomainPeriods),d&&!a.ca&&!/^[0-9.]+$/.test(d)&&(e=e?parseInt(e):2,e=e>2?e:2,c=d.lastIndexOf("."),c>=0)){for(;c>=0&&e>1;)c=d.lastIndexOf(".",c-1),e--;a.ca=c>0?d.substring(c):d}return a.ca},a.c_r=a.cookieRead=function(b){b=a.escape(b);var c=" "+a.d.cookie,d=c.indexOf(" "+b+"="),e=0>d?d:c.indexOf(";",d);return b=0>d?"":a.unescape(c.substring(d+2+b.length,0>e?c.length:e)),"[[B]]"!=b?b:""},a.c_w=a.cookieWrite=function(b,c,d){var e,f=a.Ja(),g=a.cookieLifetime;return c=""+c,g=g?(""+g).toUpperCase():"",d&&"SESSION"!=g&&"NONE"!=g&&((e=""!=c?parseInt(g?g:0):-60)?(d=new Date,d.setTime(d.getTime()+1e3*e)):1==d&&(d=new Date,e=d.getYear(),d.setYear(e+5+(1900>e?1900:0)))),b&&"NONE"!=g?(a.d.cookie=b+"="+a.escape(""!=c?c:"[[B]]")+"; path=/;"+(d&&"SESSION"!=g?" expires="+d.toGMTString()+";":"")+(f?" domain="+f+";":""),a.cookieRead(b)==c):0},a.C=[],a.B=function(b,c,d){if(a.da)return 0;a.maxDelay||(a.maxDelay=250);var e=0,f=(new Date).getTime()+a.maxDelay,g=a.d.cb,h=["webkitvisibilitychange","visibilitychange"];if(g||(g=a.d.eb),g&&"prerender"==g){if(!a.M)for(a.M=1,d=0;d<h.length;d++)a.d.addEventListener(h[d],function(){var b=a.d.cb;b||(b=a.d.eb),"visible"==b&&(a.M=0,a.delayReady())});e=1,f=0}else d||a.q("_d")&&(e=1);return e&&(a.C.push({m:b,a:c,t:f}),a.M||setTimeout(a.delayReady,a.maxDelay)),e},a.delayReady=function(){var b,c=(new Date).getTime(),d=0;for(a.q("_d")&&(d=1);a.C.length>0;){if(b=a.C.shift(),d&&!b.t&&b.t>c){a.C.unshift(b),setTimeout(a.delayReady,parseInt(a.maxDelay/2));break}a.da=1,a[b.m].apply(a,b.a),a.da=0}},a.setAccount=a.sa=function(b){var c,d;if(!a.B("setAccount",arguments))if(a.account=b,a.allAccounts)for(c=a.allAccounts.concat(b.split(",")),a.allAccounts=[],c.sort(),d=0;d<c.length;d++)(0==d||c[d-1]!=c[d])&&a.allAccounts.push(c[d]);else a.allAccounts=b.split(",")},a.W=function(b,c,d,e,f){var g,h,i,j,k="",l=0;if("contextData"==b&&(b="c"),c){for(g in c)if(!Object.prototype[g]&&(!f||g.substring(0,f.length)==f)&&c[g]&&(!d||d.indexOf(","+(e?e+".":"")+g+",")>=0)){if(i=!1,l)for(h=0;h<l.length;h++)g.substring(0,l[h].length)==l[h]&&(i=!0);if(!i&&(""==k&&(k+="&"+b+"."),h=c[g],f&&(g=g.substring(f.length)),g.length>0))if(i=g.indexOf("."),i>0)h=g.substring(0,i),i=(f?f:"")+h+".",l||(l=[]),l.push(i),k+=a.W(h,c,d,e,i);else if("boolean"==typeof h&&(h=h?"true":"false"),h){if("retrieveLightData"==e&&f.indexOf(".contextData.")<0)switch(i=g.substring(0,4),j=g.substring(4),g){case"transactionID":g="xact";break;case"channel":g="ch";break;case"campaign":g="v0";break;default:a.ja(j)&&("prop"==i?g="c"+j:"eVar"==i?g="v"+j:"list"==i?g="l"+j:"hier"==i&&(g="h"+j,h=h.substring(0,255)))}k+="&"+a.escape(g)+"="+a.escape(h)}}""!=k&&(k+="&."+b)}return k},a.La=function(){var b,c,d,e,f,g,h,i,j="",k="",l="",m=c="";for(a.lightProfileID?(b=a.P,(k=a.lightTrackVars)&&(k=","+k+","+a.ma.join(",")+",")):(b=a.e,(a.pe||a.linkType)&&(k=a.linkTrackVars,l=a.linkTrackEvents,a.pe&&(c=a.pe.substring(0,1).toUpperCase()+a.pe.substring(1),a[c])&&(k=a[c].pb,l=a[c].ob)),k&&(k=","+k+","+a.H.join(",")+","),l&&(l=","+l+",",k&&(k+=",events,")),a.events2&&(m+=(""!=m?",":"")+a.events2)),c=0;c<b.length;c++){if(e=b[c],f=a[e],d=e.substring(0,4),g=e.substring(4),!f&&"events"==e&&m&&(f=m,m=""),f&&(!k||k.indexOf(","+e+",")>=0)){switch(e){case"timestamp":e="ts";break;case"dynamicVariablePrefix":e="D";break;case"visitorID":e="vid";break;case"marketingCloudVisitorID":e="mid";break;case"analyticsVisitorID":e="aid";break;case"audienceManagerVisitorID":e="aamid";break;case"audienceManagerLocationHint":e="aamlh";break;case"pageURL":e="g",f.length>255&&(a.pageURLRest=f.substring(255),f=f.substring(0,255));break;case"pageURLRest":e="-g";break;case"referrer":e="r";break;case"vmk":case"visitorMigrationKey":e="vmt";break;case"visitorMigrationServer":e="vmf",a.ssl&&a.visitorMigrationServerSecure&&(f="");break;case"visitorMigrationServerSecure":e="vmf",!a.ssl&&a.visitorMigrationServer&&(f="");break;case"charSet":e="ce";break;case"visitorNamespace":e="ns";break;case"cookieDomainPeriods":e="cdp";break;case"cookieLifetime":e="cl";break;case"variableProvider":e="vvp";break;case"currencyCode":e="cc";break;case"channel":e="ch";break;case"transactionID":e="xact";break;case"campaign":e="v0";break;case"resolution":e="s";break;case"colorDepth":e="c";break;case"javascriptVersion":e="j";break;case"javaEnabled":e="v";break;case"cookiesEnabled":e="k";break;case"browserWidth":e="bw";break;case"browserHeight":e="bh";break;case"connectionType":e="ct";break;case"homepage":e="hp";break;case"plugins":e="p";break;case"events":if(m&&(f+=(""!=f?",":"")+m),l)for(g=f.split(","),f="",d=0;d<g.length;d++)h=g[d],i=h.indexOf("="),i>=0&&(h=h.substring(0,i)),i=h.indexOf(":"),i>=0&&(h=h.substring(0,i)),l.indexOf(","+h+",")>=0&&(f+=(f?",":"")+g[d]);break;case"events2":f="";break;case"contextData":j+=a.W("c",a[e],k,e),f="";break;case"lightProfileID":e="mtp";break;case"lightStoreForSeconds":e="mtss",a.lightProfileID||(f="");break;case"lightIncrementBy":e="mti",a.lightProfileID||(f="");break;case"retrieveLightProfiles":e="mtsr";break;case"deleteLightProfiles":e="mtsd";break;case"retrieveLightData":a.retrieveLightProfiles&&(j+=a.W("mts",a[e],k,e)),f="";break;default:a.ja(g)&&("prop"==d?e="c"+g:"eVar"==d?e="v"+g:"list"==d?e="l"+g:"hier"==d&&(e="h"+g,f=f.substring(0,255)))}f&&(j+="&"+e+"="+("pev"!=e.substring(0,3)?a.escape(f):f))}"pev3"==e&&a.g&&(j+=a.g)}return j},a.u=function(a){var b=a.tagName;return""+a.nb!="undefined"||""+a.Xa!="undefined"&&"HTML"!=(""+a.Xa).toUpperCase()?"":(b=b&&b.toUpperCase?b.toUpperCase():"","SHAPE"==b&&(b=""),b&&(("INPUT"==b||"BUTTON"==b)&&a.type&&a.type.toUpperCase?b=a.type.toUpperCase():!b&&a.href&&(b="A")),b)},a.fa=function(a){var b,c,d,e=a.href?a.href:"";return b=e.indexOf(":"),c=e.indexOf("?"),d=e.indexOf("/"),e&&(0>b||c>=0&&b>c||d>=0&&b>d)&&(c=a.protocol&&a.protocol.length>1?a.protocol:l.protocol?l.protocol:"",b=l.pathname.lastIndexOf("/"),e=(c?c+"//":"")+(a.host?a.host:l.host?l.host:"")+("/"!=h.substring(0,1)?l.pathname.substring(0,0>b?0:b)+"/":"")+e),e},a.D=function(b){var c,d,e=a.u(b),f="",g=0;return e&&(c=b.protocol,d=b.onclick,!b.href||"A"!=e&&"AREA"!=e||d&&c&&!(c.toLowerCase().indexOf("javascript")<0)?d?(f=a.replace(a.replace(a.replace(a.replace(""+d,"\r",""),"\n","")," ","")," ",""),g=2):"INPUT"==e||"SUBMIT"==e?(b.value?f=b.value:b.innerText?f=b.innerText:b.textContent&&(f=b.textContent),g=3):b.src&&"IMAGE"==e&&(f=b.src):f=a.fa(b),f)?{id:f.substring(0,100),type:g}:0},a.kb=function(b){for(var c=a.u(b),d=a.D(b);b&&!d&&"BODY"!=c;)(b=b.parentElement?b.parentElement:b.parentNode)&&(c=a.u(b),d=a.D(b));return d&&"BODY"!=c||(b=0),b&&(c=b.onclick?""+b.onclick:"",c.indexOf(".tl(")>=0||c.indexOf(".trackLink(")>=0)&&(b=0),b},a.Va=function(){var c,d,e,f,g=a.linkObject,h=a.linkType,i=a.linkURL;if(a.Q=1,g||(a.Q=0,g=a.j),g){for(c=a.u(g),d=a.D(g);g&&!d&&"BODY"!=c;)(g=g.parentElement?g.parentElement:g.parentNode)&&(c=a.u(g),d=a.D(g));if(d&&"BODY"!=c||(g=0),g){var j=g.onclick?""+g.onclick:"";(j.indexOf(".tl(")>=0||j.indexOf(".trackLink(")>=0)&&(g=0)}}else a.Q=1;if(!i&&g&&(i=a.fa(g)),i&&!a.linkLeaveQueryString&&(e=i.indexOf("?"),e>=0&&(i=i.substring(0,e))),!h&&i){var k,l=0,m=0;if(a.trackDownloadLinks&&a.linkDownloadFileTypes)for(j=i.toLowerCase(),e=j.indexOf("?"),f=j.indexOf("#"),e>=0?f>=0&&e>f&&(e=f):e=f,e>=0&&(j=j.substring(0,e)),e=a.linkDownloadFileTypes.toLowerCase().split(","),f=0;f<e.length;f++)(k=e[f])&&j.substring(j.length-(k.length+1))=="."+k&&(h="d");if(a.trackExternalLinks&&!h&&(j=i.toLowerCase(),a.ia(j))&&(a.linkInternalFilters||(a.linkInternalFilters=b.location.hostname),e=0,a.linkExternalFilters?(e=a.linkExternalFilters.toLowerCase().split(","),l=1):a.linkInternalFilters&&(e=a.linkInternalFilters.toLowerCase().split(",")),e)){for(f=0;f<e.length;f++)k=e[f],j.indexOf(k)>=0&&(m=1);m?l&&(h="e"):l||(h="e")}}a.linkObject=g,a.linkURL=i,a.linkType=h,(a.trackClickMap||a.trackInlineStats)&&(a.g="",g&&(h=a.pageName,i=1,g=g.sourceIndex,h||(h=a.pageURL,i=0),b.s_objectID&&(d.id=b.s_objectID,g=d.type=1),h&&d&&d.id&&c&&(a.g="&pid="+a.escape(h.substring(0,255))+(i?"&pidt="+i:"")+"&oid="+a.escape(d.id.substring(0,100))+(d.type?"&oidt="+d.type:"")+"&ot="+c+(g?"&oi="+g:""))))},a.Ma=function(){var b=a.Q,c=a.linkType,d=a.linkURL,e=a.linkName;if(c&&(d||e)&&(c=c.toLowerCase(),"d"!=c&&"e"!=c&&(c="o"),a.pe="lnk_"+c,a.pev1=d?a.escape(d):"",a.pev2=e?a.escape(e):"",b=1),a.abort&&(b=0),a.trackClickMap||a.trackInlineStats){c={},d=0;var f,g,h,i=a.cookieRead("s_sq"),j=i?i.split("&"):0;if(i=0,j)for(f=0;f<j.length;f++)g=j[f].split("="),e=a.unescape(g[0]).split(","),g=a.unescape(g[1]),c[g]=e;if(e=a.account.split(","),b||a.g){b&&!a.g&&(i=1);for(g in c)if(!Object.prototype[g])for(f=0;f<e.length;f++)for(i&&(h=c[g].join(","),h==a.account&&(a.g+=("&"!=g.charAt(0)?"&":"")+g,c[g]=[],d=1)),j=0;j<c[g].length;j++)h=c[g][j],h==e[f]&&(i&&(a.g+="&u="+a.escape(h)+("&"!=g.charAt(0)?"&":"")+g+"&u=0"),c[g].splice(j,1),d=1);if(b||(d=1),d){i="",f=2,!b&&a.g&&(i=a.escape(e.join(","))+"="+a.escape(a.g),f=1);for(g in c)!Object.prototype[g]&&f>0&&c[g].length>0&&(i+=(i?"&":"")+a.escape(c[g].join(","))+"="+a.escape(g),f--);a.cookieWrite("s_sq",i)}}}return b},a.Na=function(){if(!a.bb){var b,c,d,e=new Date,g=f.location,h=d=c=b="",i="",j="",k="1.2",l=a.cookieWrite("s_cc","true",0)?"Y":"N",m="",n="",o=0;if(e.setUTCDate&&(k="1.3",o.toPrecision&&(k="1.5",b=[],b.forEach))){k="1.6",d=0,c={};try{d=new Iterator(c),d.next&&(k="1.7",b.reduce&&(k="1.8",k.trim&&(k="1.8.1",Date.parse&&(k="1.8.2",Object.create&&(k="1.8.5")))))}catch(p){}}b=screen.width+"x"+screen.height,d=navigator.javaEnabled()?"Y":"N",c=screen.pixelDepth?screen.pixelDepth:screen.colorDepth,i=a.w.innerWidth?a.w.innerWidth:a.d.documentElement.offsetWidth,j=a.w.innerHeight?a.w.innerHeight:a.d.documentElement.offsetHeight,e=navigator.plugins;try{a.b.addBehavior("#default#homePage"),m=a.b.lb(g)?"Y":"N"}catch(q){}try{a.b.addBehavior("#default#clientCaps"),n=a.b.connectionType}catch(r){}if(e)for(;o<e.length&&30>o;)(g=e[o].name)&&(g=g.substring(0,100)+";",h.indexOf(g)<0&&(h+=g)),o++;a.resolution=b,a.colorDepth=c,a.javascriptVersion=k,a.javaEnabled=d,a.cookiesEnabled=l,a.browserWidth=i,a.browserHeight=j,a.connectionType=n,a.homepage=m,a.plugins=h,a.bb=1}},a.G={},a.loadModule=function(c,d){var e=a.G[c];if(!e){e=b["AppMeasurement_Module_"+c]?new b["AppMeasurement_Module_"+c](a):{},a.G[c]=a[c]=e,e.ua=function(){return e.wa},e.xa=function(b){(e.wa=b)&&(a[c+"_onLoad"]=b,a.B(c+"_onLoad",[a,e],1)||b(a,e))};try{Object.defineProperty?Object.defineProperty(e,"onLoad",{get:e.ua,set:e.xa}):e._olc=1}catch(f){e._olc=1}}d&&(a[c+"_onLoad"]=d,a.B(c+"_onLoad",[a,e],1)||d(a,e))},a.q=function(b){var c,d;for(c in a.G)if(!Object.prototype[c]&&(d=a.G[c])&&(d._olc&&d.onLoad&&(d._olc=0,d.onLoad(a,d)),d[b]&&d[b]()))return 1;return 0},a.Qa=function(){var b=Math.floor(1e13*Math.random()),c=a.visitorSampling,d=a.visitorSamplingGroup;d="s_vsn_"+(a.visitorNamespace?a.visitorNamespace:a.account)+(d?"_"+d:"");var e=a.cookieRead(d);if(c){if(e&&(e=parseInt(e)),!e){if(!a.cookieWrite(d,b))return 0;e=b}if(e%1e4>v)return 0}return 1},a.I=function(b,c){var d,e,f,g,h,i;for(d=0;2>d;d++)for(e=d>0?a.$:a.e,f=0;f<e.length;f++)if(g=e[f],(h=b[g])||b["!"+g]){if(!c&&("contextData"==g||"retrieveLightData"==g)&&a[g])for(i in a[g])h[i]||(h[i]=a[g][i]);a[g]=h}},a.qa=function(b,c){var d,e,f,g;for(d=0;2>d;d++)for(e=d>0?a.$:a.e,f=0;f<e.length;f++)g=e[f],b[g]=a[g],!c&&!b[g]&&(b["!"+g]=1)},a.Ia=function(a){var b,c,d,e,f,g,h=0,i="",j="";if(a&&a.length>255&&(b=""+a,c=b.indexOf("?"),c>0&&(g=b.substring(c+1),b=b.substring(0,c),e=b.toLowerCase(),d=0,"http://"==e.substring(0,7)?d+=7:"https://"==e.substring(0,8)&&(d+=8),c=e.indexOf("/",d),c>0&&(e=e.substring(d,c),f=b.substring(c),b=b.substring(0,c),e.indexOf("google")>=0?h=",q,ie,start,search_key,word,kw,cd,":e.indexOf("yahoo.co")>=0&&(h=",p,ei,"),h&&g)))){if((a=g.split("&"))&&a.length>1){for(d=0;d<a.length;d++)e=a[d],c=e.indexOf("="),c>0&&h.indexOf(","+e.substring(0,c)+",")>=0?i+=(i?"&":"")+e:j+=(j?"&":"")+e;i&&j?g=i+"&"+j:j=""}c=253-(g.length-j.length)-b.length,a=b+(c>0?f.substring(0,c):"")+"?"+g}return a},a.za=!1,a.Z=!1,a.ib=function(b){a.marketingCloudVisitorID=b,a.Z=!0,a.z()},a.J=!1,a.X=!1,a.ta=function(b){a.analyticsVisitorID=b,a.X=!0,a.z()},a.ya=!1,a.Y=!1,a.hb=function(b){a.audienceManagerVisitorID=b,a.audienceManagerVisitorID&&a.visitor.getAudienceManagerLocationHint&&(a.audienceManagerLocationHint=a.visitor.getAudienceManagerLocationHint()),a.Y=!0,a.z()},a.isReadyToTrack=function(){var b=!0,c=a.visitor;return c&&c.isAllowed()&&(a.J||a.analyticsVisitorID||!c.getAnalyticsVisitorID||(a.analyticsVisitorID=c.getAnalyticsVisitorID([a,a.ta]),a.analyticsVisitorID)||(a.J=!0),(a.za&&!a.Z&&!a.marketingCloudVisitorID||a.J&&!a.X&&!a.analyticsVisitorID||a.ya&&!a.Y&&!a.audienceManagerVisitorID)&&(b=!1)),b},a.k=c,a.l=0,a.callbackWhenReadyToTrack=function(b,d,e){var f;f={},f.Da=b,f.Ca=d,f.Aa=e,a.k==c&&(a.k=[]),a.k.push(f),0==a.l&&(a.l=setInterval(a.z,100))},a.z=function(){var b;if(a.isReadyToTrack()&&(a.l&&(clearInterval(a.l),a.l=0),a.k!=c))for(;a.k.length>0;)b=a.k.shift(),b.Ca.apply(b.Da,b.Aa)},a.va=function(b){var d,e,f=c,g=c;if(!a.isReadyToTrack()){if(d=[],b!=c)for(e in f={},b)f[e]=b[e];return g={},a.qa(g,!0),d.push(f),d.push(g),a.callbackWhenReadyToTrack(a,a.track,d),!0}return!1},a.Ka=function(){var b,c=a.cookieRead("s_fid"),d="",e="";b=8;var f=4;if(!c||c.indexOf("-")<0){for(c=0;16>c;c++)b=Math.floor(Math.random()*b),d+="0123456789ABCDEF".substring(b,b+1),b=Math.floor(Math.random()*f),e+="0123456789ABCDEF".substring(b,b+1),b=f=16;c=d+"-"+e}return a.cookieWrite("s_fid",c,1)||(c=0),c},a.t=a.track=function(c,d){var e,g=new Date,h="s"+Math.floor(g.getTime()/108e5)%10+Math.floor(1e13*Math.random()),i=g.getYear();i="t="+a.escape(g.getDate()+"/"+g.getMonth()+"/"+(1900>i?i+1900:i)+" "+g.getHours()+":"+g.getMinutes()+":"+g.getSeconds()+" "+g.getDay()+" "+g.getTimezoneOffset()),a.q("_s"),a.B("track",arguments)||(a.va(c)||(d&&a.I(d),c&&(e={},a.qa(e,0),a.I(c)),a.Qa()&&(a.analyticsVisitorID||a.marketingCloudVisitorID||(a.fid=a.Ka()),a.Va(),a.usePlugins&&a.doPlugins&&a.doPlugins(a),a.account&&(a.abort||(a.trackOffline&&!a.timestamp&&(a.timestamp=Math.floor(g.getTime()/1e3)),g=b.location,a.pageURL||(a.pageURL=g.href?g.href:g),a.referrer||a.ra||(a.referrer=f.document.referrer,a.ra=1),a.referrer=a.Ia(a.referrer),a.q("_g")),a.Ma()&&!a.abort&&(a.Na(),i+=a.La(),a.Ua(h,i)),a.abort||a.q("_t"))),c&&a.I(e,1)),a.timestamp=a.linkObject=a.j=a.linkURL=a.linkName=a.linkType=b.mb=a.pe=a.pev1=a.pev2=a.pev3=a.g=0)},a.tl=a.trackLink=function(b,c,d,e,f){return a.linkObject=b,a.linkType=c,a.linkName=d,f&&(a.i=b,a.p=f),a.track(e)},a.trackLight=function(b,c,d,e){return a.lightProfileID=b,a.lightStoreForSeconds=c,a.lightIncrementBy=d,a.track(e)},a.clearVars=function(){var b,c;for(b=0;b<a.e.length;b++)c=a.e[b],("prop"==c.substring(0,4)||"eVar"==c.substring(0,4)||"hier"==c.substring(0,4)||"list"==c.substring(0,4)||"channel"==c||"events"==c||"eventList"==c||"products"==c||"productList"==c||"purchaseID"==c||"transactionID"==c||"state"==c||"zip"==c||"campaign"==c)&&(a[c]=void 0)},a.Ua=function(b,c){var d,e=a.trackingServer;d="";var f=a.dc,g="sc.",h=a.visitorNamespace;e?a.trackingServerSecure&&a.ssl&&(e=a.trackingServerSecure):(h||(h=a.account,e=h.indexOf(","),e>=0&&(h=h.gb(0,e)),h=h.replace(/[^A-Za-z0-9]/g,"")),d||(d="2o7.net"),f=f?(""+f).toLowerCase():"d1","2o7.net"==d&&("d1"==f?f="112":"d2"==f&&(f="122"),g=""),e=h+"."+f+"."+g+d),d=a.ssl?"https://":"http://",d+=e+"/b/ss/"+a.account+"/"+(a.mobile?"5.":"")+"1/JS-"+a.version+(a.ab?"T":"")+"/"+b+"?AQB=1&ndh=1&"+c+"&AQE=1",a.Pa&&(d=d.substring(0,2047)),a.Ga(d),a.N()},a.Ga=function(b){a.c||a.Oa(),a.c.push(b),a.O=a.r(),a.pa()},a.Oa=function(){a.c=a.Ra(),a.c||(a.c=[])},a.Ra=function(){var c,d;if(a.T()){try{(d=b.localStorage.getItem(a.R()))&&(c=b.JSON.parse(d))}catch(e){}return c}},a.T=function(){var c=!0;return a.trackOffline&&a.offlineFilename&&b.localStorage&&b.JSON||(c=!1),c},a.ga=function(){var b=0;return a.c&&(b=a.c.length),a.v&&b++,b},a.N=function(){if(!a.v)if(a.ha=c,a.S)a.O>a.F&&a.na(a.c),a.V(500);else{var b=a.Ba();b>0?a.V(b):(b=a.ea())&&(a.v=1,a.Ta(b),a.Ya(b))}},a.V=function(b){a.ha||(b||(b=0),a.ha=setTimeout(a.N,b))},a.Ba=function(){var b;return!a.trackOffline||a.offlineThrottleDelay<=0?0:(b=a.r()-a.la,a.offlineThrottleDelay<b?0:a.offlineThrottleDelay-b)},a.ea=function(){return a.c.length>0?a.c.shift():void 0},a.Ta=function(b){if(a.debugTracking){var c="AppMeasurement Debug: "+b;b=b.split("&");var d;for(d=0;d<b.length;d++)c+="\n "+a.unescape(b[d]);a.Sa(c)}},a.Ya=function(c){var d;d||(d=new Image,d.alt=""),d.ba=function(){try{a.U&&(clearTimeout(a.U),a.U=0),d.timeout&&(clearTimeout(d.timeout),d.timeout=0)}catch(b){}},d.onload=d.$a=function(){d.ba(),a.Fa(),a.K(),a.v=0,a.N()},d.onabort=d.onerror=d.Ha=function(){d.ba(),(a.trackOffline||a.S)&&a.v&&a.c.unshift(a.Ea),a.v=0,a.O>a.F&&a.na(a.c),a.K(),a.V(500)},d.onreadystatechange=function(){4==d.readyState&&(200==d.status?d.$a():d.Ha())},a.la=a.r(),d.src=c,d.abort&&(a.U=setTimeout(d.abort,5e3)),a.Ea=c,a.jb=b["s_i_"+a.replace(a.account,",","_")]=d,(a.useForcedLinkTracking&&a.A||a.p)&&(a.forcedLinkTrackingTimeout||(a.forcedLinkTrackingTimeout=250),a.L=setTimeout(a.K,a.forcedLinkTrackingTimeout))},a.Fa=function(){if(a.T()&&!(a.ka>a.F))try{b.localStorage.removeItem(a.R()),a.ka=a.r()}catch(c){}},a.na=function(c){if(a.T()){a.pa();try{b.localStorage.setItem(a.R(),b.JSON.stringify(c)),a.F=a.r()}catch(d){}}},a.pa=function(){if(a.trackOffline)for((!a.offlineLimit||a.offlineLimit<=0)&&(a.offlineLimit=10);a.c.length>a.offlineLimit;)a.ea()},a.forceOffline=function(){a.S=!0},a.forceOnline=function(){a.S=!1},a.R=function(){return a.offlineFilename+"-"+a.visitorNamespace+a.account},a.r=function(){return(new Date).getTime()},a.ia=function(a){return a=a.toLowerCase(),0!=a.indexOf("#")&&0!=a.indexOf("about:")&&0!=a.indexOf("opera:")&&0!=a.indexOf("javascript:")?!0:!1},a.setTagContainer=function(b){var c,d,e;for(a.ab=b,c=0;c<a._il.length;c++)if((d=a._il[c])&&"s_l"==d._c&&d.tagContainerName==b){if(a.I(d),d.lmq)for(c=0;c<d.lmq.length;c++)e=d.lmq[c],a.loadModule(e.n);if(d.ml)for(e in d.ml)if(a[e])for(c in b=a[e],e=d.ml[e])!Object.prototype[c]&&("function"!=typeof e[c]||(""+e[c]).indexOf("s_c_il")<0)&&(b[c]=e[c]);if(d.mmq)for(c=0;c<d.mmq.length;c++)e=d.mmq[c],a[e.m]&&(b=a[e.m],b[e.f]&&"function"==typeof b[e.f]&&(e.a?b[e.f].apply(b,e.a):b[e.f].apply(b)));if(d.tq)for(c=0;c<d.tq.length;c++)a.track(d.tq[c]);d.s=a;break}},a.Util={urlEncode:a.escape,urlDecode:a.unescape,cookieRead:a.cookieRead,cookieWrite:a.cookieWrite,getQueryParam:function(c,d,e){var f;return d||(d=a.pageURL?a.pageURL:b.location),e||(e="&"),c&&d&&(d=""+d,f=d.indexOf("?"),f>=0&&(d=e+d.substring(f+1)+e,f=d.indexOf(e+c+"="),f>=0&&(d=d.substring(f+e.length+c.length+1),f=d.indexOf(e),f>=0&&(d=d.substring(0,f)),d.length>0)))?a.unescape(d):""}},a.H=["timestamp","dynamicVariablePrefix","visitorID","marketingCloudVisitorID","analyticsVisitorID","audienceManagerVisitorID","audienceManagerLocationHint","fid","vmk","visitorMigrationKey","visitorMigrationServer","visitorMigrationServerSecure","charSet","visitorNamespace","cookieDomainPeriods","fpCookieDomainPeriods","cookieLifetime","pageName","pageURL","referrer","contextData","currencyCode","lightProfileID","lightStoreForSeconds","lightIncrementBy","retrieveLightProfiles","deleteLightProfiles","retrieveLightData","pe","pev1","pev2","pev3","pageURLRest"],a.e=a.H.concat(["purchaseID","variableProvider","channel","server","pageType","transactionID","campaign","state","zip","events","events2","products","tnt"]),a.ma=["timestamp","charSet","visitorNamespace","cookieDomainPeriods","cookieLifetime","contextData","lightProfileID","lightStoreForSeconds","lightIncrementBy"],a.P=a.ma.slice(0),a.$=["account","allAccounts","debugTracking","visitor","trackOffline","offlineLimit","offlineThrottleDelay","offlineFilename","usePlugins","doPlugins","configURL","visitorSampling","s.visitorSamplingGroup","linkObject","linkURL","linkName","linkType","trackDownloadLinks","trackExternalLinks","trackClickMap","trackInlineStats","linkLeaveQueryString","linkTrackVars","linkTrackEvents","linkDownloadFileTypes","linkExternalFilters","linkInternalFilters","useForcedLinkTracking","forcedLinkTrackingTimeout","trackingServer","trackingServerSecure","ssl","abort","mobile","dc","lightTrackVars","maxDelay"],d=0;75>=d;d++)a.e.push("prop"+d),a.P.push("prop"+d),a.e.push("eVar"+d),a.P.push("eVar"+d),6>d&&a.e.push("hier"+d),4>d&&a.e.push("list"+d);d=["resolution","colorDepth","javascriptVersion","javaEnabled","cookiesEnabled","browserWidth","browserHeight","connectionType","homepage","plugins"],a.e=a.e.concat(d),a.H=a.H.concat(d),a.ssl=b.location.protocol.toLowerCase().indexOf("https")>=0,a.charSet="UTF-8",a.contextData={},a.offlineThrottleDelay=0,a.offlineFilename="AppMeasurement.offline",a.la=0,a.O=0,a.F=0,a.ka=0,a.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx",a.w=b,a.d=b.document;try{a.Pa="Microsoft Internet Explorer"==navigator.appName}catch(i){}a.K=function(){a.L&&(b.clearTimeout(a.L),a.L=c),a.i&&a.A&&a.i.dispatchEvent(a.A),a.p&&("function"==typeof a.p?a.p():a.i&&a.i.href&&(a.d.location=a.i.href)),a.i=a.A=a.p=0},a.oa=function(){a.b=a.d.body,a.b?(a.o=function(c){var d,e,f,g,h;if(!(a.d&&a.d.getElementById("cppXYctnr")||c&&c.Wa)){if(a.aa){if(!a.useForcedLinkTracking)return a.b.removeEventListener("click",a.o,!0),a.aa=a.useForcedLinkTracking=0,void 0;a.b.removeEventListener("click",a.o,!1)}else a.useForcedLinkTracking=0;a.j=c.srcElement?c.srcElement:c.target;try{if(a.j&&(a.j.tagName||a.j.parentElement||a.j.parentNode)&&(f=a.ga(),a.track(),f<a.ga()&&a.useForcedLinkTracking&&c.target)){for(g=c.target;g&&g!=a.b&&"A"!=g.tagName.toUpperCase()&&"AREA"!=g.tagName.toUpperCase();)g=g.parentNode;if(g&&(h=g.href,a.ia(h)||(h=0),e=g.target,c.target.dispatchEvent&&h&&(!e||"_self"==e||"_top"==e||"_parent"==e||b.name&&e==b.name))){try{d=a.d.createEvent("MouseEvents")}catch(i){d=new b.MouseEvent}if(d){try{d.initMouseEvent("click",c.bubbles,c.cancelable,c.view,c.detail,c.screenX,c.screenY,c.clientX,c.clientY,c.ctrlKey,c.altKey,c.shiftKey,c.metaKey,c.button,c.relatedTarget)}catch(j){d=0}d&&(d.Wa=1,c.stopPropagation(),c.Za&&c.Za(),c.preventDefault(),a.i=c.target,a.A=d)}}}}catch(k){}a.j=0}},a.b&&a.b.attachEvent?a.b.attachEvent("onclick",a.o):a.b&&a.b.addEventListener&&(navigator&&(navigator.userAgent.indexOf("WebKit")>=0&&a.d.createEvent||navigator.userAgent.indexOf("Firefox/2")>=0&&b.MouseEvent)&&(a.aa=1,a.useForcedLinkTracking=1,a.b.addEventListener("click",a.o,!0)),a.b.addEventListener("click",a.o,!1))):setTimeout(a.oa,30)},a.oa()}function s_gi(a){var b,c,d,e,f=window.s_c_il,g=a.split(","),h=0;if(f)for(c=0;!h&&c<f.length;){if(b=f[c],"s_c"==b._c&&b.account)if(b.account==a)h=1;else for(b.allAccounts||(b.allAccounts=b.account.split(",")),d=0;d<g.length;d++)for(e=0;e<b.allAccounts.length;e++)g[d]==b.allAccounts[e]&&(h=1);c++}return h||(b=new AppMeasurement),b.setAccount(a),b}function s_pgicq(){var a,b,c,d=window,e=d.s_giq;if(e)for(a=0;a<e.length;a++)b=e[a],c=s_gi(b.oun),c.setAccount(b.un),c.setTagContainer(b.tagContainerName);d.s_giq=0}function Omniture(a){this.instance=s_gi(a),this.util=this.instance.util;var b=a+"visitor";this.setOption("account",a),this.setOption("visitorNamespace",b),this.setOption("charSet","UTF-8"),this.setOption("linkTrackVars","None"),this.setOption("linkTrackEvents","None"),this.routes=[],this.autotrack()}function omni(a){return new Omniture(a)}Visitor.getInstance=function(a){var b,c,d=window.s_c_il;if(d)for(c=0;c<d.length;c++)if((b=d[c])&&"Visitor"==b._c&&b.namespace==a)return b;return new Visitor(a)},AppMeasurement.getInstance=s_gi,window.s_objectID||(window.s_objectID=0),s_pgicq(),Omniture.prototype.setOption=function(a,b){return this.instance[a]=b,this},Omniture.prototype.getOption=function(a){return this.instance[a]},Omniture.prototype.setSeqParam=function(a,b,c){return this.setOption(a+b,c),this},Omniture.prototype.setEVar=function(a,b){return this.setSeqParam("eVar",a,b),this},Omniture.prototype.setHier=function(a,b){return this.setSeqParam("hier",a,b.join("|")),this},Omniture.prototype.setProp=function(a,b){return this.setSeqParam("prop",a,b),this},Omniture.prototype.route=function(a,b){return this.routes.push({route:a,callback:b}),this},Omniture.prototype.clear=function(){return this.instance.clearVars(),this},Omniture.prototype.set=Omniture.prototype.setOption,Omniture.prototype.get=Omniture.prototype.getOption,Omniture.prototype.evar=Omniture.prototype.setEVar,Omniture.prototype.hier=Omniture.prototype.setHier,Omniture.prototype.hierarchy=Omniture.prototype.setHier,Omniture.prototype.prop=Omniture.prototype.setProp,Omniture.prototype.property=Omniture.prototype.setProp,Omniture.prototype.run=function(a){for(var b=a||window.location.pathname+window.location.search+window.location.hash,c=0;c<this.routes.length;c++)switch(router=this.routes[c],typeof router.route){case"string":router.route==b&&router.callback.call(this,router.route);break;case"object":if(!(router.route instanceof RegExp))throw new Error("Unacceptable route type! Use string or regexp.");var d=b.match(router.route);d&&router.callback.apply(this,d.splice(1))}return this.push(),this},Omniture.prototype.push=function(){return this.instance.t()},Omniture.prototype.track=function(a,b,c,d,e,f){if(!jQuery)throw new Error("Element tracking need jQuery");var g=this;return $(document).on(b,a,function(){g.set("linkTrackVars","eVar"+c),g.evar(c,[g.get("pageName"),d].join(" : ")),f&&f.call&&f.call(this),g.instance.tl(this,"o",e)}),this},Omniture.prototype.autotrack=function(){var a=this;return $(document).ready(function(){$("[data-track]").each(function(){var b=$(this);b.on(b.data("track-on"),function(){var c=b.data("track-evar");c&&(a.set("linkTrackVars","eVar"+c),a.evar(c,[a.get("pageName"),b.data("track")].join(" : "))),a.instance.tl(b.get(0),(b.data("track-link")||"o").substr(0,1),b.data("track-action"))
})})}),this},Omniture.prototype.errorPage=function(a){var b=this;return function(){switch(a){case 404:b.set("pageType","errorPage");break;case 500:b.set("pageName","500 Error:"+window.location.href),b.set("pageType","errorPage")}}},Omniture.prototype.serialize=function(a,b,c){for(var d=[],e=[a],c=(c||"").split(","),f=0;f<b.length;f++){for(var g=b[f],h=[],i=0;i<c.length;i++){var j=g[c[i]]||"";h.push(j)}if(g.events){var k=[];for(var l in g.events)if(g.events.hasOwnProperty(l)){var m=g.events[l],n="event"+l;-1==e.indexOf(n)&&e.push(n),k.push([n,m].join("="))}h.push(k.join("|"))}d.push(h.join(";"))}return{events:e.join(","),list:d.join(",")}},Omniture.prototype.productsEvent=function(a){var b=this.serialize("prodView",a,"category,product");this.setOption("events",b.events),this.setOption("products",b.list)},Omniture.prototype.purchaseEvent=function(a,b){"object"==typeof a?b=a:a&&this.setOption("purchaseID",a);var c=this.serialize("purchase",b,"category,product,quantity,price");this.setOption("events",c.events),this.setOption("products",c.list)},Omniture.prototype.productEvent=function(a){this.productsEvent([a])},Omniture.prototype.preset=function(a){var b=this[a+"Event"];if("function"!=typeof b)throw new Error(a+" is not a registered event to call. Please add 'Event' prefix to the method name");b.apply(this,Array.prototype.slice.call(arguments,1))};