/* ============== DO NOT ALTER ANYTHING BELOW THIS LINE ! ============ Adobe Visitor API for JavaScript version: 1.10.0 Copyright 1996-2015 Adobe, Inc. All Rights Reserved More info available at http://www.omniture.com */ function Visitor(e,t){function n(e){function t(e,t,n){return n=n?n+="|":n,n+(e+"="+encodeURIComponent(t))}for(var n="",i=0,a=e.length;a>i;i++){var r=e[i],s=r[0],r=r[1];r!=o&&r!==T&&(n=t(s,r,n))}return function(e){var t=(new Date).getTime(),e=e?e+="|":e;return e+("TS="+t)}(n)}if(!e)throw"Visitor requires Adobe Marketing Cloud Org ID";var i=this;i.version="1.10.0";var a=window,r=a.Visitor;r.version=i.version,a.s_c_in||(a.s_c_il=[],a.s_c_in=0),i._c="Visitor",i._il=a.s_c_il,i._in=a.s_c_in,i._il[i._in]=i,a.s_c_in++,i.ja={Fa:[]};var s=a.document,o=r.Cb;o||(o=null);var c=r.Db;c||(c=void 0);var l=r.Oa;l||(l=!0);var u=r.Ma;u||(u=!1),i.fa=function(e){var t,n,i=0;if(e)for(t=0;tn;n++)i=Math.floor(Math.random()*o),r+=a.substring(i,i+1),i=Math.floor(Math.random()*o),s+=a.substring(i,i+1),o=16;return r+"-"+s}for(n=0;19>n;n++)i=Math.floor(Math.random()*c),r+=a.substring(i,i+1),0==n&&9==i?c=3:(1==n||2==n)&&10!=c&&2>i?c=10:n>2&&(c=10),i=Math.floor(Math.random()*u),s+=a.substring(i,i+1),0==n&&9==i?u=3:(1==n||2==n)&&10!=u&&2>i?u=10:n>2&&(u=10);return r+s},i.Ra=function(){var e;if(!e&&a.location&&(e=a.location.hostname),e)if(/^[0-9.]+$/.test(e))e="";else{var t=e.split("."),n=t.length-1,i=n-1;if(n>1&&2>=t[n].length&&(2==t[n-1].length||0>",ac,ad,ae,af,ag,ai,al,am,an,ao,aq,ar,as,at,au,aw,ax,az,ba,bb,be,bf,bg,bh,bi,bj,bm,bo,br,bs,bt,bv,bw,by,bz,ca,cc,cd,cf,cg,ch,ci,cl,cm,cn,co,cr,cu,cv,cw,cx,cz,de,dj,dk,dm,do,dz,ec,ee,eg,es,et,eu,fi,fm,fo,fr,ga,gb,gd,ge,gf,gg,gh,gi,gl,gm,gn,gp,gq,gr,gs,gt,gw,gy,hk,hm,hn,hr,ht,hu,id,ie,im,in,io,iq,ir,is,it,je,jo,jp,kg,ki,km,kn,kp,kr,ky,kz,la,lb,lc,li,lk,lr,ls,lt,lu,lv,ly,ma,mc,md,me,mg,mh,mk,ml,mn,mo,mp,mq,mr,ms,mt,mu,mv,mw,mx,my,na,nc,ne,nf,ng,nl,no,nr,nu,nz,om,pa,pe,pf,ph,pk,pl,pm,pn,pr,ps,pt,pw,py,qa,re,ro,rs,ru,rw,sa,sb,sc,sd,se,sg,sh,si,sj,sk,sl,sm,sn,so,sr,st,su,sv,sx,sy,sz,tc,td,tf,tg,th,tj,tk,tl,tm,tn,to,tp,tr,tt,tv,tw,tz,ua,ug,uk,us,uy,uz,va,vc,ve,vg,vi,vn,vu,wf,ws,yt,".indexOf(","+t[n]+","))&&i--,i>0)for(e="";n>=i;)e=t[n]+(e?".":"")+e,n--}return e},i.cookieRead=function(e){var e=encodeURIComponent(e),t=(";"+s.cookie).split(" ").join(";"),n=t.indexOf(";"+e+"="),i=0>n?n:t.indexOf(";",n+1);return 0>n?"":decodeURIComponent(t.substring(n+2+e.length,0>i?t.length:i))},i.cookieWrite=function(e,t,n){var a,r=i.cookieLifetime,t=""+t,r=r?(""+r).toUpperCase():"";return n&&"SESSION"!=r&&"NONE"!=r?(a=""!=t?parseInt(r?r:0,10):-60)?(n=new Date,n.setTime(n.getTime()+1e3*a)):1==n&&(n=new Date,a=n.getYear(),n.setYear(a+2+(1900>a?1900:0))):n=0,e&&"NONE"!=r?(s.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(n?" expires="+n.toGMTString()+";":"")+(i.cookieDomain?" domain="+i.cookieDomain+";":""),i.cookieRead(e)==t):0},i.h=o,i.J=function(e,t){try{"function"==typeof e?e.apply(a,t):e[1].apply(e[0],t)}catch(n){}},i.Xa=function(e,t){t&&(i.h==o&&(i.h={}),i.h[e]==c&&(i.h[e]=[]),i.h[e].push(t))},i.r=function(e,t){if(i.h!=o){var n=i.h[e];if(n)for(;0t;t++){var c=r[t].split("=");e[c[0]]=decodeURIComponent(c[1])}return e}catch(l){}},i.ba=function(){var t=i.Wa();if(t&&t.TS&&!(((new Date).getTime()-t.TS)/6e4>C.Ka||t[g]!==e)){var n=t[p],a=i.setMarketingCloudVisitorID;n&&n.match(C.u)&&a(n),i.j(S,-1),t=t[k],n=i.setAnalyticsVisitorID,t&&t.match(C.u)&&n(t)}},i.Va=function(e){function t(e){E.pb(e)&&i.setCustomerIDs(e)}function n(e){e=e||{},i._supplementalDataIDCurrent=e.supplementalDataIDCurrent||"",i._supplementalDataIDCurrentConsumed=e.supplementalDataIDCurrentConsumed||{},i._supplementalDataIDLast=e.supplementalDataIDLast||"",i._supplementalDataIDLastConsumed=e.supplementalDataIDLastConsumed||{}}e&&e[i.marketingCloudOrgID]&&(e=e[i.marketingCloudOrgID],t(e.customerIDs),n(e.sdid))},i.l=o,i.Ta=function(e,t,n,a){t=i.v(t,"d_fieldgroup",e,1),a.url=i.v(a.url,"d_fieldgroup",e,1),a.m=i.v(a.m,"d_fieldgroup",e,1),_.d[e]=l,a===Object(a)&&a.m&&"XMLHttpRequest"===i.la.C.D?i.la.ib(a,n,e):i.useCORSOnly||i.ia(e,t,n)},i.ia=function(e,t,n){var a,r=0,c=0;if(t&&s){for(a=0;!r&&2>a;){try{r=(r=s.getElementsByTagName(a>0?"HEAD":"head"))&&0a;){try{c=s.createElement(a>0?"SCRIPT":"script")}catch(p){c=0}a++}}t&&r&&c?(c.type="text/javascript",c.src=t,r.firstChild?r.insertBefore(c,r.firstChild):r.appendChild(c),r=i.loadTimeout,P.d[e]={requestStart:P.o(),url:t,ta:r,ra:P.ya(),sa:0},n&&(i.l==o&&(i.l={}),i.l[e]=setTimeout(function(){n(l)},r)),i.ja.Fa.push(t)):n&&n()},i.Pa=function(e){i.l!=o&&i.l[e]&&(clearTimeout(i.l[e]),i.l[e]=0)},i.ga=u,i.ha=u,i.isAllowed=function(){return!i.ga&&(i.ga=l,i.cookieRead(i.cookieName)||i.cookieWrite(i.cookieName,"T",1))&&(i.ha=l),i.ha},i.b=o,i.c=o;var d=r.Ub;d||(d="MC");var p=r.ac;p||(p="MCMID");var g=r.Yb;g||(g="MCORGID");var f=r.Vb;f||(f="MCCIDH");var h=r.Zb;h||(h="MCSYNCS");var v=r.$b;v||(v="MCSYNCSOP");var m=r.Wb;m||(m="MCIDTS");var y=r.Xb;y||(y="MCOPTOUT");var b=r.Sb;b||(b="A");var k=r.Pb;k||(k="MCAID");var w=r.Tb;w||(w="AAM");var D=r.Rb;D||(D="MCAAMLH");var S=r.Qb;S||(S="MCAAMB");var T=r.bc;T||(T="NONE"),i.L=0,i.ea=function(){if(!i.L){var e=i.version;i.audienceManagerServer&&(e+="|"+i.audienceManagerServer),i.audienceManagerServerSecure&&(e+="|"+i.audienceManagerServerSecure),i.L=i.fa(e)}return i.L},i.ka=u,i.f=function(){if(!i.ka){i.ka=l;var e,t,n,a,r=i.ea(),s=u,c=i.cookieRead(i.cookieName),d=new Date;if(i.b==o&&(i.b={}),c&&"T"!=c)for(c=c.split("|"),c[0].match(/^[\-0-9]+$/)&&(parseInt(c[0],10)!=r&&(s=l),c.shift()),1==c.length%2&&c.pop(),r=0;r0&&(a=d.getTime()/1e3-60)),t&&n&&(i.e(t,n,1),a>0&&(i.b["expire"+t]=a+(e?"s":""),d.getTime()>=1e3*a||e&&!i.cookieRead(i.sessionCookieName)))&&(i.c||(i.c={}),i.c[t]=l);s=i.loadSSL?!!i.trackingServerSecure:!!i.trackingServer,!i.a(k)&&s&&(c=i.cookieRead("s_vi"))&&(c=c.split("|"),1=0&&(n=n.substring(0,r)),n&&n.match(C.u)&&i.e(k,n)))}},i.Za=function(){var e,t,n=i.ea();for(e in i.b)!Object.prototype[e]&&i.b[e]&&"expire"!=e.substring(0,6)&&(t=i.b[e],n+=(n?"|":"")+e+(i.b["expire"+e]?"-"+i.b["expire"+e]:"")+"|"+t);i.cookieWrite(i.cookieName,n,1)},i.a=function(e,t){return i.b==o||!t&&i.c&&i.c[e]?o:i.b[e]},i.e=function(e,t,n){i.b==o&&(i.b={}),i.b[e]=t,n||i.Za()},i.Sa=function(e,t){var n=i.a(e,t);return n?n.split("*"):o},i.Ya=function(e,t,n){i.e(e,t?t.join("*"):"",n)},i.Jb=function(e,t){var n=i.Sa(e,t);if(n){var a,r={};for(a=0;at?(i.c||(i.c={}),i.c[e]=l):i.c&&(i.c[e]=u),n&&(i.cookieRead(i.sessionCookieName)||i.cookieWrite(i.sessionCookieName,"1"))},i.da=function(e){return e&&("object"==typeof e&&(e=e.d_mid?e.d_mid:e.visitorID?e.visitorID:e.id?e.id:e.uuid?e.uuid:""+e),e&&(e=e.toUpperCase(),"NOTARGET"==e&&(e=T)),!e||e!=T&&!e.match(C.u))&&(e=""),e},i.k=function(e,t){if(i.Pa(e),i.i!=o&&(i.i[e]=u),P.d[e]&&(P.d[e].Ab=P.o(),P.I(e)),_.d[e]&&_.Ha(e,u),e==d){_.isClientSideMarketingCloudVisitorID!==l&&(_.isClientSideMarketingCloudVisitorID=u);var n=i.a(p);if(!n||i.overwriteCrossDomainMCIDAndAID){if(n="object"==typeof t&&t.mid?t.mid:i.da(t),!n){if(i.B)return void i.getAnalyticsVisitorID(o,u,l);n=i.s(0,p)}i.e(p,n)}n&&n!=T||(n=""),"object"==typeof t&&((t.d_region||t.dcs_region||t.d_blob||t.blob)&&i.k(w,t),i.B&&t.mid&&i.k(b,{id:t.id})),i.r(p,[n])}if(e==w&&"object"==typeof t){n=604800,t.id_sync_ttl!=c&&t.id_sync_ttl&&(n=parseInt(t.id_sync_ttl,10));var a=i.a(D);a||((a=t.d_region)||(a=t.dcs_region),a&&(i.j(D,n),i.e(D,a))),a||(a=""),i.r(D,[a]),a=i.a(S),(t.d_blob||t.blob)&&((a=t.d_blob)||(a=t.blob),i.j(S,n),i.e(S,a)),a||(a=""),i.r(S,[a]),!t.error_msg&&i.A&&i.e(f,i.A)}if(e==b&&(n=i.a(k),(!n||i.overwriteCrossDomainMCIDAndAID)&&((n=i.da(t))?n!==T&&i.j(S,-1):n=T,i.e(k,n)),n&&n!=T||(n=""),i.r(k,[n])),i.idSyncDisableSyncs?L.za=l:(L.za=u,n={},n.ibs=t.ibs,n.subdomain=t.subdomain,L.wb(n)),t===Object(t)){var r;i.isAllowed()&&(r=i.a(y)),r||(r=T,t.d_optout&&t.d_optout instanceof Array&&(r=t.d_optout.join(",")),n=parseInt(t.d_ottl,10),isNaN(n)&&(n=7200),i.j(y,n,l),i.e(y,r)),i.r(y,[r])}},i.i=o,i.t=function(e,t,n,a,r){var s,c="",u=E.ob(e);return i.isAllowed()&&(i.f(),c=i.a(e,I[e]===l),i.disableThirdPartyCalls&&!c&&(e===p?(c=i.s(0,p),i.setMarketingCloudVisitorID(c)):e===k&&!u&&(c="",i.setAnalyticsVisitorID(c))),(!c||i.c&&i.c[e])&&(!i.disableThirdPartyCalls||u))&&(e==p||e==y?s=d:e==D||e==S?s=w:e==k&&(s=b),s)?(!t||i.i!=o&&i.i[s]||(i.i==o&&(i.i={}),i.i[s]=l,i.Ta(s,t,function(t,n){if(!i.a(e))if(P.d[s]&&(P.d[s].timeout=P.o(),P.d[s].nb=!!t,P.I(s)),n!==Object(n)||i.useCORSOnly){t&&_.Ha(s,l);var a="";e==p?a=i.s(0,p):s==w&&(a={error_msg:"timeout"}),i.k(s,a)}else i.ia(s,n.url,n.G)},r)),c?c:(i.Xa(e,n),t||i.k(s,{id:T}),"")):(e!=p&&e!=k||c!=T||(c="",a=l),n&&(a||i.disableThirdPartyCalls)&&i.J(n,[c]),c)},i._setMarketingCloudFields=function(e){i.f(),i.k(d,e)},i.setMarketingCloudVisitorID=function(e){i._setMarketingCloudFields(e)},i.B=u,i.getMarketingCloudVisitorID=function(e,t){if(i.isAllowed()){i.marketingCloudServer&&0>i.marketingCloudServer.indexOf(".demdex.net")&&(i.B=l);var n=i.z("_setMarketingCloudFields");return i.t(p,n.url,e,t,n)}return""},i.Ua=function(){i.getAudienceManagerBlob()},r.AuthState={UNKNOWN:0,AUTHENTICATED:1,LOGGED_OUT:2},i.w={},i.ca=u,i.A="",i.setCustomerIDs=function(e){if(i.isAllowed()&&e){i.f();var t,n;for(t in e)if(!Object.prototype[t]&&(n=e[t]))if("object"==typeof n){var a={};n.id&&(a.id=n.id),n.authState!=c&&(a.authState=n.authState),i.w[t]=a}else i.w[t]={id:n};var e=i.getCustomerIDs(),a=i.a(f),r="";a||(a=0);for(t in e)Object.prototype[t]||(n=e[t],r+=(r?"|":"")+t+"|"+(n.id?n.id:"")+(n.authState?n.authState:""));i.A=i.fa(r),i.A!=a&&(i.ca=l,i.Ua())}},i.getCustomerIDs=function(){i.f();var e,t,n={};for(e in i.w)Object.prototype[e]||(t=i.w[e],n[e]||(n[e]={}),t.id&&(n[e].id=t.id),n[e].authState=t.authState!=c?t.authState:r.AuthState.UNKNOWN);return n},i._setAnalyticsFields=function(e){i.f(),i.k(b,e)},i.setAnalyticsVisitorID=function(e){i._setAnalyticsFields(e)},i.getAnalyticsVisitorID=function(e,t,n){if(i.isAllowed()){var a="";if(n||(a=i.getMarketingCloudVisitorID(function(){i.getAnalyticsVisitorID(e,l)})),a||n){var r=n?i.marketingCloudServer:i.trackingServer,s="";i.loadSSL&&(n?i.marketingCloudServerSecure&&(r=i.marketingCloudServerSecure):i.trackingServerSecure&&(r=i.trackingServerSecure));var o={};if(r){var r="http"+(i.loadSSL?"s":"")+"://"+r+"/id",a="d_visid_ver="+i.version+"&mcorgid="+encodeURIComponent(i.marketingCloudOrgID)+(a?"&mid="+encodeURIComponent(a):"")+(i.idSyncDisable3rdPartySyncing?"&d_coppa=true":""),c=["s_c_il",i._in,"_set"+(n?"MarketingCloud":"Analytics")+"Fields"],s=r+"?"+a+"&callback=s_c_il%5B"+i._in+"%5D._set"+(n?"MarketingCloud":"Analytics")+"Fields";o.m=r+"?"+a,o.oa=c}return o.url=s,i.t(n?p:k,s,e,t,o)}}return""},i._setAudienceManagerFields=function(e){i.f(),i.k(w,e)},i.z=function(e){var t=i.audienceManagerServer,n="",a=i.a(p),r=i.a(S,l),s=i.a(k),s=s&&s!=T?"&d_cid_ic=AVID%01"+encodeURIComponent(s):"";if(i.loadSSL&&i.audienceManagerServerSecure&&(t=i.audienceManagerServerSecure),t){var o,c,n=i.getCustomerIDs();if(n)for(o in n)Object.prototype[o]||(c=n[o],s+="&d_cid_ic="+encodeURIComponent(o)+"%01"+encodeURIComponent(c.id?c.id:"")+(c.authState?"%01"+c.authState:""));return e||(e="_setAudienceManagerFields"),t="http"+(i.loadSSL?"s":"")+"://"+t+"/id",a="d_visid_ver="+i.version+"&d_rtbd=json&d_ver=2"+(!a&&i.B?"&d_verify=1":"")+"&d_orgid="+encodeURIComponent(i.marketingCloudOrgID)+"&d_nsid="+(i.idSyncContainerID||0)+(a?"&d_mid="+encodeURIComponent(a):"")+(i.idSyncDisable3rdPartySyncing?"&d_coppa=true":"")+(r?"&d_blob="+encodeURIComponent(r):"")+s,r=["s_c_il",i._in,e],n=t+"?"+a+"&d_cb=s_c_il%5B"+i._in+"%5D."+e,{url:n,m:t+"?"+a,oa:r}}return{url:n}},i.getAudienceManagerLocationHint=function(e,t){if(i.isAllowed()&&i.getMarketingCloudVisitorID(function(){i.getAudienceManagerLocationHint(e,l)})){var n=i.a(k);if(n||(n=i.getAnalyticsVisitorID(function(){i.getAudienceManagerLocationHint(e,l)})),n)return n=i.z(),i.t(D,n.url,e,t,n)}return""},i.getLocationHint=i.getAudienceManagerLocationHint,i.getAudienceManagerBlob=function(e,t){if(i.isAllowed()&&i.getMarketingCloudVisitorID(function(){i.getAudienceManagerBlob(e,l)})){var n=i.a(k);if(n||(n=i.getAnalyticsVisitorID(function(){i.getAudienceManagerBlob(e,l)})),n){var n=i.z(),a=n.url;return i.ca&&i.j(S,-1),i.t(S,a,e,t,n)}}return""},i._supplementalDataIDCurrent="",i._supplementalDataIDCurrentConsumed={},i._supplementalDataIDLast="",i._supplementalDataIDLastConsumed={},i.getSupplementalDataID=function(e,t){!i._supplementalDataIDCurrent&&!t&&(i._supplementalDataIDCurrent=i.s(1));var n=i._supplementalDataIDCurrent;return i._supplementalDataIDLast&&!i._supplementalDataIDLastConsumed[e]?(n=i._supplementalDataIDLast,i._supplementalDataIDLastConsumed[e]=l):n&&(i._supplementalDataIDCurrentConsumed[e]&&(i._supplementalDataIDLast=i._supplementalDataIDCurrent,i._supplementalDataIDLastConsumed=i._supplementalDataIDCurrentConsumed,i._supplementalDataIDCurrent=n=t?"":i.s(1),i._supplementalDataIDCurrentConsumed={}),n&&(i._supplementalDataIDCurrentConsumed[e]=l)),n},r.OptOut={GLOBAL:"global"},i.getOptOut=function(e,t){if(i.isAllowed()){var n=i.z("_setMarketingCloudFields");return i.t(y,n.url,e,t,n)}return""},i.isOptedOut=function(e,t,n){return i.isAllowed()?(t||(t=r.OptOut.GLOBAL),(n=i.getOptOut(function(n){i.J(e,[n==r.OptOut.GLOBAL||0<=n.indexOf(t)])},n))?n==r.OptOut.GLOBAL||0<=n.indexOf(t):o):u},i.appendVisitorIDsTo=function(e){var t=C.Z,a=n([[p,i.a(p)],[k,i.a(k)],[g,i.marketingCloudOrgID]]);try{return i.v(e,t,a)}catch(r){return e}};var C={q:!!a.postMessage,La:1,aa:864e5,Z:"adobe_mc",u:/^[0-9a-fA-F\-]+$/,Ka:5};i.Eb=C,i.na={postMessage:function(e,t,n){var i=1;t&&(C.q?n.postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1")):t&&(n.location=t.replace(/#.*$/,"")+"#"+ +new Date+i++ +"&"+e))},U:function(e,t){var n;try{C.q&&(e&&(n=function(n){return"string"==typeof t&&n.origin!==t||"[object Function]"===Object.prototype.toString.call(t)&&!1===t(n.origin)?!1:void e(n)}),window.addEventListener?window[e?"addEventListener":"removeEventListener"]("message",n,!1):window[e?"attachEvent":"detachEvent"]("onmessage",n))}catch(i){}}};var E={M:function(){return s.addEventListener?function(e,t,n){e.addEventListener(t,function(e){"function"==typeof n&&n(e)},u)}:s.attachEvent?function(e,t,n){e.attachEvent("on"+t,function(e){"function"==typeof n&&n(e)})}:void 0}(),map:function(e,t){if(Array.prototype.map)return e.map(t);if(void 0===e||e===o)throw new TypeError;var n=Object(e),i=n.length>>>0;if("function"!=typeof t)throw new TypeError;for(var a=Array(i),r=0;i>r;r++)r in n&&(a[r]=t.call(t,n[r],r,n));return a},va:function(e,t){return this.map(e,function(e){return encodeURIComponent(e)}).join(t)},vb:function(e){var t=e.indexOf("#");return t>0?e.substr(t):""},mb:function(e){var t=e.indexOf("#");return t>0?e.substr(0,t):e},$a:function(e,t,n){return e=e.split("&"),n=n!=o?n:e.length,e.splice(n,0,t),e.join("&")},ob:function(e,t,n){return e!==k?u:(t||(t=i.trackingServer),n||(n=i.trackingServerSecure),e=i.loadSSL?n:t,"string"==typeof e&&e.length?0>e.indexOf("2o7.net")&&0>e.indexOf("omtrdc.net"):u)},pb:function(e){return Boolean(e&&e===Object(e))}};i.Kb=E;var V={C:function(){var e="none",t=l;return"undefined"!=typeof XMLHttpRequest&&XMLHttpRequest===Object(XMLHttpRequest)&&("withCredentials"in new XMLHttpRequest?e="XMLHttpRequest":new Function("/*@cc_on return /^10/.test(@_jscript_version) @*/")()?e="XMLHttpRequest":"undefined"!=typeof XDomainRequest&&XDomainRequest===Object(XDomainRequest)&&(t=u),0e;e++)i=t[e],i.syncOnPage&&this.qa(i,"","syncOnPage")},I:function(e){var t,n,i,a,r,s=encodeURIComponent;if((t=e.ibs)&&t instanceof Array&&(n=t.length))for(i=0;n>i;i++)a=t[i],r=[s("ibs"),s(a.id||""),s(a.tag||""),E.va(a.url||[],","),s(a.ttl||""),"","",a.fireURLSync?"true":"false"],a.syncOnPage||(this.pa?this.N(r.join("|")):a.fireURLSync&&this.qa(a,r.join("|")));this.qb.push(e)},qa:function(e,t,n){var a=(n="syncOnPage"===n?l:u)?v:h;i.f();var r=i.a(a),s=u,o=u,c=Math.ceil((new Date).getTime()/C.aa);r?(r=r.split("*"),o=this.yb(r,e.id,c),s=o.gb,o=o.hb,(!s||!o)&&this.wa(n,e,t,r,a,c)):(r=[],this.wa(n,e,t,r,a,c))},yb:function(e,t,n){var i,a,r,s=u,o=u;for(a=0;an?o=l:(e.splice(a,1),a--)):n>=r&&(e.splice(a,1),a--);return{gb:s,hb:o}},rb:function(e){if(e.join("*").length>this.$)for(e.sort(function(e,t){return parseInt(e.split("-")[1],10)-parseInt(t.split("-")[1],10)});e.join("*").length>this.$;)e.shift()},wa:function(e,t,n,a,r,s){var c=this;if(e){if("img"===t.tag){var l,u,d,e=t.url,n=i.loadSSL?"https:":"http:";for(a=0,l=e.length;l>a;a++){u=e[a],d=/^\/\//.test(u);var p=new Image;E.M(p,"load",function(e,t,n,a){return function(){c.T[e]=o,i.f();var s=i.a(r),l=[];if(s){var u,d,p,s=s.split("*");for(u=0,d=s.length;d>u;u++)p=s[u],p.match("^"+t.id+"-")||l.push(p)}c.Ia(l,t,n,a)}}(this.T.length,t,r,s)),p.src=(d?n:"")+u,this.T.push(p)}}}else this.N(n),this.Ia(a,t,r,s)},N:function(e){var t=encodeURIComponent;this.H.push(t(i.Hb?"---destpub-debug---":"---destpub---")+e)},Ia:function(e,t,n,a){e.push(t.id+"-"+(a+Math.ceil(t.ttl/60/24))),this.rb(e),i.e(n,e.join("*"))},Ga:function(){var e,t=this;this.H.length?(e=this.H.shift(),i.na.postMessage(e,this.url,this.Aa.contentWindow),this.sb.push(e),setTimeout(function(){t.Ga()},this.Ba)):this.V=u},U:function(e){var t=/^---destpub-to-parent---/;"string"==typeof e&&t.test(e)&&(t=e.replace(t,"").split("|"),"canSetThirdPartyCookies"===t[0]&&(this.pa="true"===t[1]?l:u,this.Ea=l,this.p()),this.tb.push(e))},wb:function(e){(this.url===o||e.subdomain&&"nosubdomainreturned"===this.g)&&(this.g="string"==typeof i.ma&&i.ma.length?i.ma:e.subdomain||"",this.url=this.kb()),e.ibs instanceof Array&&e.ibs.length&&(this.ua=l),this.Da()&&(i.idSyncAttachIframeOnWindowLoad?(r.Y||"complete"===s.readyState||"loaded"===s.readyState)&&this.O():this.ab()),"function"==typeof i.idSyncIDCallResult?i.idSyncIDCallResult(e):this.p(e),"function"==typeof i.idSyncAfterIDCallResult&&i.idSyncAfterIDCallResult(e)},bb:function(e,t){return i.Ib||!e||t-e>C.La},ab:function(){function e(){t.W||(document.body?t.O():setTimeout(e,30))}var t=this;e()}};i.Fb=L,i.timeoutMetricsLog=[];var P={fb:window.performance&&window.performance.timing?1:0,Ca:window.performance&&window.performance.timing?window.performance.timing:o,X:o,P:o,d:{},S:[],send:function(e){if(i.takeTimeoutMetrics&&e===Object(e)){var t,n=[],a=encodeURIComponent;for(t in e)e.hasOwnProperty(t)&&n.push(a(t)+"="+a(e[t]));e="http"+(i.loadSSL?"s":"")+"://dpm.demdex.net/event?d_visid_ver="+i.version+"&d_visid_stg_timeout="+i.loadTimeout+"&"+n.join("&")+"&d_orgid="+a(i.marketingCloudOrgID)+"&d_timingapi="+this.fb+"&d_winload="+this.lb()+"&d_ld="+this.o(),(new Image).src=e,i.timeoutMetricsLog.push(e)}},lb:function(){return this.P===o&&(this.P=this.Ca?this.X-this.Ca.navigationStart:this.X-r.eb),this.P},o:function(){return(new Date).getTime()},I:function(e){var t=this.d[e],n={};n.d_visid_stg_timeout_captured=t.ta,n.d_visid_cors=t.sa,n.d_fieldgroup=e,n.d_settimeout_overriden=t.ra,t.timeout?t.nb?(n.d_visid_timedout=1,n.d_visid_timeout=t.timeout-t.requestStart,n.d_visid_response=-1):(n.d_visid_timedout="n/a",n.d_visid_timeout="n/a",n.d_visid_response="n/a"):(n.d_visid_timedout=0,n.d_visid_timeout=-1,n.d_visid_response=t.Ab-t.requestStart),n.d_visid_url=t.url,r.Y?this.send(n):this.S.push(n),delete this.d[e]},zb:function(){for(var e=0,t=this.S.length;t>e;e++)this.send(this.S[e])},ya:function(){return"function"==typeof setTimeout.toString?-1=t)&&(a=a?a:"Error: config.minutesToLive needs to be a positive number")),t={error:a,ec:t},t.error)return t.error;var r,a=e.url,s=encodeURIComponent,n=L,a=a.replace(/^https:/,"").replace(/^http:/,"");return r=E.va(["",e.dpid,e.dpuuid||""],","),e=["ibs",s(e.dpid),"img",s(a),t.ttl,"",r],n.N(e.join("|")),n.p(),"Successfully queued"},i.idSyncByDataSource=function(e){return e===Object(e)&&"string"==typeof e.dpuuid&&e.dpuuid.length?(e.url="//dpm.demdex.net/ibs:dpid="+e.dpid+"&dpuuid="+e.dpuuid,i.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},0>e.indexOf("@")&&(e+="@AdobeOrg"),i.marketingCloudOrgID=e,i.cookieName="AMCV_"+e,i.sessionCookieName="AMCVS_"+e,i.cookieDomain=i.Ra(),i.cookieDomain==a.location.hostname&&(i.cookieDomain=""),i.loadSSL=0<=a.location.protocol.toLowerCase().indexOf("https"),i.loadTimeout=3e4,i.CORSErrors=[],i.marketingCloudServer=i.audienceManagerServer="dpm.demdex.net";var I={};if(I[D]=l,I[S]=l,t&&"object"==typeof t){for(var O in t)!Object.prototype[O]&&(i[O]=t[O]);i.idSyncContainerID=i.idSyncContainerID||0,i.ba(),i.f(),V=i.a(m),O=Math.ceil((new Date).getTime()/C.aa),!i.idSyncDisableSyncs&&L.bb(V,O)&&(i.j(S,-1),i.e(m,O)),i.getMarketingCloudVisitorID(),i.getAudienceManagerLocationHint(),i.getAudienceManagerBlob(),i.Va(i.serverState)}else i.ba();if(!i.idSyncDisableSyncs){L.cb(),E.M(window,"load",function(){r.Y=l,P.X=P.o(),P.zb();var e=L;e.Da()&&e.O()});try{i.na.U(function(e){L.U(e.data)},L.Q)}catch(A){}}}Visitor.getInstance=function(e,t){var n,i,a=window.s_c_il;if(0>e.indexOf("@")&&(e+="@AdobeOrg"),a)for(i=0;i0&&T.domReady(T.bind(this.initialize,this))}function r(){T.addEventHandler(e,"orientationchange",r.orientationChange)}function s(){var e=this.eventRegex=/^hover\(([0-9]+)\)$/,t=this.rules=[];T.each(T.rules,function(n){var i=n.event.match(e);i&&t.push([Number(n.event.match(e)[1]),n.selector])})}function o(){this.defineEvents(),this.visibilityApiHasPriority=!0,t.addEventListener?this.setVisibilityApiPriority(!1):this.attachDetachOlderEventListeners(!0,t,"focusout");T.bindEvent("aftertoolinit",function(){T.fireEvent(T.visibility.isHidden()?"tabblur":"tabfocus")})}function c(){this.lastURL=T.URL(),this._fireIfURIChanged=T.bind(this.fireIfURIChanged,this),this._onPopState=T.bind(this.onPopState,this),this._onHashChange=T.bind(this.onHashChange,this),this._pushState=T.bind(this.pushState,this),this._replaceState=T.bind(this.replaceState,this),this.initialize()}function l(){this.rules=T.filter(T.rules,function(e){return"videoplayed"===e.event.substring(0,11)}),this.eventHandler=T.bind(this.onUpdateTime,this)}function u(e){this.delay=250,this.FB=e,T.domReady(T.bind(function(){T.poll(T.bind(this.initialize,this),this.delay,8)},this))}function d(t){T.domReady(T.bind(function(){this.twttr=t||e.twttr,this.initialize()},this))}function p(t){t=t||T.rules,this.rules=T.filter(t,function(e){return"inview"===e.event}),this.elements=[],this.eventHandler=T.bind(this.track,this),T.addEventHandler(e,"scroll",this.eventHandler),T.addEventHandler(e,"load",this.eventHandler)}function g(){var e=T.filter(T.rules,function(e){return 0===e.event.indexOf("dataelementchange")});this.dataElementsNames=T.map(e,function(e){var t=e.event.match(/dataelementchange\((.*)\)/i);return t[1]},this),this.initPolling()}function f(e){T.BaseTool.call(this,e),this.name=e.name||"VisitorID",this.initialize()}function h(e){T.BaseTool.call(this,e),this.name=e.name||"Basic"}function v(e){T.BaseTool.call(this,e),this.styleElements={},this.targetPageParamsStore={}}function m(e){T.BaseTool.call(this,e)}function y(e){T.BaseTool.call(this,e)}function b(e){T.BaseTool.call(this,e),this.varBindings={},this.events=[],this.products=[],this.customSetupFuns=[]}function k(){T.BaseTool.call(this),this.asyncScriptCallbackQueue=[],this.argsForBlockingScripts=[]}function w(e){T.BaseTool.call(this,e),this.defineListeners(),this.beaconMethod="plainBeacon",this.adapt=new w.DataAdapters,this.dataProvider=new w.DataProvider.Aggregate}var D=Object.prototype.toString,S=e._satellite&&e._satellite.override,T={initialized:!1,$data:function(e,t,i){if(e){var a="__satellite__",r=T.dataCache,s=e[a];s||(s=e[a]=T.uuid++);var o=r[s];return o||(o=r[s]={}),i===n?o[t]:void(o[t]=i)}},uuid:1,dataCache:{},keys:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},values:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},isArray:Array.isArray||function(e){return"[object Array]"===D.apply(e)},isObject:function(e){return null!=e&&!T.isArray(e)&&"object"==typeof e},isString:function(e){return"string"==typeof e},isNumber:function(e){return"[object Number]"===D.apply(e)&&!T.isNaN(e)},isNaN:function(e){return e!==e},isRegex:function(e){return e instanceof RegExp},isLinkTag:function(e){return!(!e||!e.nodeName||"a"!==e.nodeName.toLowerCase())},each:function(e,t,n){for(var i=0,a=e.length;a>i;i++)t.call(n,e[i],i,e)},map:function(e,t,n){for(var i=[],a=0,r=e.length;r>a;a++)i.push(t.call(n,e[a],a,e));return i},filter:function(e,t,n){for(var i=[],a=0,r=e.length;r>a;a++){var s=e[a];t.call(n,s,a,e)&&i.push(s)}return i},any:function(e,t,n){for(var i=0,a=e.length;a>i;i++){var r=e[i];if(t.call(n,r,i,e))return!0}return!1},every:function(e,t,n){for(var i=!0,a=0,r=e.length;r>a;a++){var s=e[a];i=i&&t.call(n,s,a,e)}return i},contains:function(e,t){return-1!==T.indexOf(e,t)},indexOf:function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=e.length;n--;)if(t===e[n])return n;return-1},find:function(e,t,n){if(!e)return null;for(var i=0,a=e.length;a>i;i++){var r=e[i];if(t.call(n,r,i,e))return r}return null},textMatch:function(e,t){if(null==t)throw new Error("Illegal Argument: Pattern is not present");return null==e?!1:"string"==typeof t?e===t:t instanceof RegExp?t.test(e):!1},stringify:function(e,t){if(t=t||[],T.isObject(e)){if(T.contains(t,e))return"";t.push(e)}if(T.isArray(e))return"["+T.map(e,function(e){return T.stringify(e,t)}).join(",")+"]";if(T.isString(e))return'"'+String(e)+'"';if(T.isObject(e)){var n=[];for(var i in e)e.hasOwnProperty(i)&&n.push(i+": "+T.stringify(e[i],t));return"{"+n.join(", ")+"}"}return String(e)},trim:function(e){return null==e?null:e.trim?e.trim():e.replace(/^ */,"").replace(/ *$/,"")},bind:function(e,t){return function(){return e.apply(t,arguments)}},throttle:function(e,t){var n=null;return function(){var i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(i,a)},t)}},domReady:function(e){function n(e){for(p=1;e=a.shift();)e()}var i,a=[],r=!1,s=t,o=s.documentElement,c=o.doScroll,l="DOMContentLoaded",u="addEventListener",d="onreadystatechange",p=/^loade|^c/.test(s.readyState);return s[u]&&s[u](l,i=function(){s.removeEventListener(l,i,r),n()},r),c&&s.attachEvent(d,i=function(){/^c/.test(s.readyState)&&(s.detachEvent(d,i),n())}),e=c?function(t){self!=top?p?t():a.push(t):function(){try{o.doScroll("left")}catch(n){return setTimeout(function(){e(t)},50)}t()}()}:function(e){p?e():a.push(e)}}(),loadScript:function(e,n){var i=t.createElement("script");T.scriptOnLoad(e,i,n),i.src=e,t.getElementsByTagName("head")[0].appendChild(i)},scriptOnLoad:function(e,t,n){function i(e){e&&T.logError(e),n&&n(e)}"onload"in t?(t.onload=function(){i()},t.onerror=function(){i(new Error("Failed to load script "+e))}):"readyState"in t&&(t.onreadystatechange=function(){var e=t.readyState;("loaded"===e||"complete"===e)&&(t.onreadystatechange=null,i())})},loadScriptOnce:function(e,t){T.loadedScriptRegistry[e]||T.loadScript(e,function(n){n||(T.loadedScriptRegistry[e]=!0),t&&t(n)})},loadedScriptRegistry:{},loadScriptSync:function(e){return t.write?T.domReadyFired?void T.notify('Cannot load sync the "'+e+'" script after DOM Ready.',1):(e.indexOf('"')>-1&&(e=encodeURI(e)),void t.write('')):void T.notify('Cannot load sync the "'+e+'" script because "document.write" is not available',1)},pushAsyncScript:function(e){T.tools["default"].pushAsyncScript(e)},pushBlockingScript:function(e){T.tools["default"].pushBlockingScript(e)},addEventHandler:e.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},removeEventHandler:e.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)},preventDefault:e.addEventListener?function(e){e.preventDefault()}:function(e){e.returnValue=!1},stopPropagation:function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()},containsElement:function(e,t){return e.contains?e.contains(t):!!(16&e.compareDocumentPosition(t))},matchesCss:function(n){function i(e,t){var n=t.tagName;return n?e.toLowerCase()===n.toLowerCase():!1}var a=n.matchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||n.msMatchesSelector;return a?function(n,i){if(i===t||i===e)return!1;try{return a.call(i,n)}catch(r){return!1}}:n.querySelectorAll?function(e,t){var n=t.parentNode;if(!n)return!1;if(e.match(/^[a-z]+$/i))return i(e,t);try{for(var a=t.parentNode.querySelectorAll(e),r=a.length;r--;)if(a[r]===t)return!0}catch(s){}return!1}:function(e,t){if(e.match(/^[a-z]+$/i))return i(e,t);try{return T.Sizzle.matches(e,[t]).length>0}catch(n){return!1}}}(t.documentElement),cssQuery:function(e){return e.querySelectorAll?function(t,n){var i;try{i=e.querySelectorAll(t)}catch(a){i=[]}n(i)}:function(e,t){if(T.Sizzle){var n;try{n=T.Sizzle(e)}catch(i){n=[]}t(n)}else T.sizzleQueue.push([e,t])}}(t),hasAttr:function(e,t){return e.hasAttribute?e.hasAttribute(t):e[t]!==n},inherit:function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},extend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},toArray:function(){try{var e=Array.prototype.slice;return e.call(t.documentElement.childNodes,0)[0].nodeType,function(t){return e.call(t,0)}}catch(n){return function(e){for(var t=[],n=0,i=e.length;i>n;n++)t.push(e[n]);return t}}}(),equalsIgnoreCase:function(e,t){return null==e?null==t:null==t?!1:String(e).toLowerCase()===String(t).toLowerCase()},poll:function(e,t,n){function i(){T.isNumber(n)&&a++>=n||e()||setTimeout(i,t)}var a=0;t=t||1e3,i()},escapeForHtml:function(e){return e?String(e).replace(/\&/g,"&").replace(/\/g,">").replace(/\"/g,""").replace(/\'/g,"'").replace(/\//g,"/"):e}};T.availableTools={},T.availableEventEmitters=[],T.fireOnceEvents=["condition","elementexists"],T.initEventEmitters=function(){T.eventEmitters=T.map(T.availableEventEmitters,function(e){return new e})},T.eventEmitterBackgroundTasks=function(){T.each(T.eventEmitters,function(e){"backgroundTasks"in e&&e.backgroundTasks()})},T.initTools=function(e){var t={"default":new k},n=T.settings.euCookieName||"sat_track";for(var i in e)if(e.hasOwnProperty(i)){var a,r,s;if(a=e[i],a.euCookie){var o="true"!==T.readCookie(n);if(o)continue}if(r=T.availableTools[a.engine],!r){var c=[];for(var l in T.availableTools)T.availableTools.hasOwnProperty(l)&&c.push(l);throw new Error("No tool engine named "+a.engine+", available: "+c.join(",")+".")}s=new r(a),s.id=i,t[i]=s}return t},T.preprocessArguments=function(e,t,n,i,a){function r(e){return i&&T.isString(e)?e.toLowerCase():e}function s(e){var c={};for(var l in e)if(e.hasOwnProperty(l)){var u=e[l];T.isObject(u)?c[l]=s(u):T.isArray(u)?c[l]=o(u,i):c[l]=r(T.replace(u,t,n,a))}return c}function o(e,i){for(var a=[],o=0,c=e.length;c>o;o++){var l=e[o];T.isString(l)?l=r(T.replace(l,t,n)):l&&l.constructor===Object&&(l=s(l)),a.push(l)}return a}return e?o(e,i):e},T.execute=function(e,t,n,i){function a(a){var r=i[a||"default"];if(r)try{r.triggerCommand(e,t,n)}catch(s){T.logError(s)}}if(!_satellite.settings.hideActivity)if(i=i||T.tools,e.engine){var r=e.engine;for(var s in i)if(i.hasOwnProperty(s)){var o=i[s];o.settings&&o.settings.engine===r&&a(s)}}else e.tool instanceof Array?T.each(e.tool,function(e){a(e)}):a(e.tool)},T.Logger={outputEnabled:!1,messages:[],keepLimit:100,flushed:!1,LEVELS:[null,null,"log","info","warn","error"],message:function(e,t){var n=this.LEVELS[t]||"log";this.messages.push([n,e]),this.messages.length>this.keepLimit&&this.messages.shift(),this.outputEnabled&&this.echo(n,e)},getHistory:function(){return this.messages},clearHistory:function(){this.messages=[]},setOutputState:function(e){this.outputEnabled!=e&&(this.outputEnabled=e,e?this.flush():this.flushed=!1)},echo:function(t,n){e.console&&e.console[t]("SATELLITE: "+n)},flush:function(){this.flushed||(T.each(this.messages,function(e){e[2]!==!0&&(this.echo(e[0],e[1]),e[2]=!0)},this),this.flushed=!0)}},T.notify=T.bind(T.Logger.message,T.Logger),T.cleanText=function(e){return null==e?null:T.trim(e).replace(/\s+/g," ")},T.cleanText.legacy=function(e){return null==e?null:T.trim(e).replace(/\s{2,}/g," ").replace(/[^\000-\177]*/g,"")},T.text=function(e){return e.textContent||e.innerText},T.specialProperties={text:T.text,cleanText:function(e){return T.cleanText(T.text(e))}},T.getObjectProperty=function(e,t,i){for(var a,r=t.split("."),s=e,o=T.specialProperties,c=0,l=r.length;l>c;c++){if(null==s)return n;var u=r[c];if(i&&"@"===u.charAt(0)){var d=u.slice(1);s=o[d](s)}else if(s.getAttribute&&(a=u.match(/^getAttribute\((.+)\)$/))){var p=a[1];s=s.getAttribute(p)}else s=s[u]}return s},T.getToolsByType=function(e){if(!e)throw new Error("Tool type is missing");var t=[];for(var n in T.tools)if(T.tools.hasOwnProperty(n)){var i=T.tools[n];i.settings&&i.settings.engine===e&&t.push(i)}return t},T.setVar=function(){var e=T.data.customVars;if(null==e&&(T.data.customVars={},e=T.data.customVars),"string"==typeof arguments[0]){var t=arguments[0];e[t]=arguments[1]}else if(arguments[0]){var n=arguments[0];for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}},T.dataElementSafe=function(e,t){if(arguments.length>2){var n=arguments[2];"pageview"===t?T.dataElementSafe.pageviewCache[e]=n:"session"===t?T.setCookie("_sdsat_"+e,n):"visitor"===t&&T.setCookie("_sdsat_"+e,n,730)}else{if("pageview"===t)return T.dataElementSafe.pageviewCache[e];if("session"===t||"visitor"===t)return T.readCookie("_sdsat_"+e)}},T.dataElementSafe.pageviewCache={},T.realGetDataElement=function(t){var n;return t.selector?T.hasSelector&&T.cssQuery(t.selector,function(e){if(e.length>0){var i=e[0];"text"===t.property?n=i.innerText||i.textContent:t.property in i?n=i[t.property]:T.hasAttr(i,t.property)&&(n=i.getAttribute(t.property))}}):t.queryParam?n=t.ignoreCase?T.getQueryParamCaseInsensitive(t.queryParam):T.getQueryParam(t.queryParam):t.cookie?n=T.readCookie(t.cookie):t.jsVariable?n=T.getObjectProperty(e,t.jsVariable):t.customJS?n=t.customJS():t.contextHub&&(n=t.contextHub()),T.isString(n)&&t.cleanText&&(n=T.cleanText(n)),n},T.getDataElement=function(e,t,i){if(i=i||T.dataElements[e],null==i)return T.settings.undefinedVarsReturnEmpty?"":null;var a=T.realGetDataElement(i);return a===n&&i.storeLength?a=T.dataElementSafe(e,i.storeLength):a!==n&&i.storeLength&&T.dataElementSafe(e,i.storeLength,a),a||t||(a=i["default"]||""),T.isString(a)&&i.forceLowerCase&&(a=a.toLowerCase()),a},T.getVar=function(i,a,r){var s,o,c=T.data.customVars,l=r?r.target||r.srcElement:null,u={uri:T.URI(),protocol:t.location.protocol,hostname:t.location.hostname};if(T.dataElements&&i in T.dataElements)return T.getDataElement(i);if(o=u[i.toLowerCase()],o===n)if("this."===i.substring(0,5))i=i.slice(5),o=T.getObjectProperty(a,i,!0);else if("event."===i.substring(0,6))i=i.slice(6),o=T.getObjectProperty(r,i);else if("target."===i.substring(0,7))i=i.slice(7),o=T.getObjectProperty(l,i);else if("window."===i.substring(0,7))i=i.slice(7),o=T.getObjectProperty(e,i);else if("param."===i.substring(0,6))i=i.slice(6),o=T.getQueryParam(i);else if(s=i.match(/^rand([0-9]+)$/)){var d=Number(s[1]),p=(Math.random()*(Math.pow(10,d)-1)).toFixed(0);o=Array(d-p.length+1).join("0")+p}else o=T.getObjectProperty(c,i);return o},T.getVars=function(e,t,n){var i={};return T.each(e,function(e){i[e]=T.getVar(e,t,n)}),i},T.replace=function(e,t,n,i){return"string"!=typeof e?e:e.replace(/%(.*?)%/g,function(e,a){var r=T.getVar(a,t,n);return null==r?T.settings.undefinedVarsReturnEmpty?"":e:i?T.escapeForHtml(r):r})},T.escapeHtmlParams=function(e){return e.escapeHtml=!0,e},T.searchVariables=function(e,t,n){if(!e||0===e.length)return"";for(var i=[],a=0,r=e.length;r>a;a++){var s=e[a],o=T.getVar(s,t,n);i.push(s+"="+escape(o))}return"?"+i.join("&")},T.fireRule=function(e,t,n){var i=e.trigger;if(i){for(var a=0,r=i.length;r>a;a++){var s=i[a];T.execute(s,t,n)}T.contains(T.fireOnceEvents,e.event)&&(e.expired=!0)}},T.isLinked=function(e){for(var t=e;t;t=t.parentNode)if(T.isLinkTag(t))return!0;return!1},T.firePageLoadEvent=function(e){for(var n=t.location,i={type:e,target:n},a=T.pageLoadRules,r=T.evtHandlers[i.type],s=a.length;s--;){var o=a[s];T.ruleMatches(o,i,n)&&(T.notify('Rule "'+o.name+'" fired.',1),T.fireRule(o,n,i))}for(var c in T.tools)if(T.tools.hasOwnProperty(c)){var l=T.tools[c];l.endPLPhase&&l.endPLPhase(e)}r&&T.each(r,function(e){e(i)})},T.track=function(e){e=e.replace(/^\s*/,"").replace(/\s*$/,"");for(var t=0;t0)return!1;if(e.expired)return!1;if("inview"===o&&t.inviewDelay!==e.inviewDelay)return!1;if(!u&&(e.bubbleFireIfParent===!1||0!==i&&e.bubbleFireIfChildFired===!1))return!1;if(e.selector&&!T.matchesCss(e.selector,n))return!1;if(!T.propertiesMatch(s,n))return!1;if(null!=c)if("string"==typeof c){if(c!==n.value)return!1}else if(!c.test(n.value))return!1;if(a)try{if(!a.call(n,t,l))return T.notify('Condition for rule "'+e.name+'" not met.',1),!1}catch(d){return T.notify('Condition for rule "'+e.name+'" not met. Error: '+d.message,1),!1}if(r){var p=T.find(r,function(i){try{return!i.call(n,t,l)}catch(a){return T.notify('Condition for rule "'+e.name+'" not met. Error: '+a.message,1),!0}});if(p)return T.notify("Condition "+p.toString()+' for rule "'+e.name+'" not met.',1),!1}return!0},T.evtHandlers={},T.bindEvent=function(e,t){var n=T.evtHandlers;n[e]||(n[e]=[]),n[e].push(t)},T.whenEvent=T.bindEvent,T.unbindEvent=function(e,t){var n=T.evtHandlers;if(n[e]){var i=T.indexOf(n[e],t);n[e].splice(i,1)}},T.bindEventOnce=function(e,t){var n=function(){T.unbindEvent(e,n),t.apply(null,arguments)};T.bindEvent(e,n)},T.isVMLPoisoned=function(e){if(!e)return!1;try{e.nodeName}catch(t){if("Attribute only valid on v:image"===t.message)return!0}return!1},T.handleEvent=function(e){if(!T.$data(e,"eventProcessed")){var t=e.type.toLowerCase(),n=e.target||e.srcElement,i=0,a=T.rules,r=(T.tools,T.evtHandlers[e.type]);if(T.isVMLPoisoned(n))return void T.notify("detected "+t+" on poisoned VML element, skipping.",1);r&&T.each(r,function(t){t(e)});var s=n&&n.nodeName;s?T.notify("detected "+t+" on "+n.nodeName,1):T.notify("detected "+t,1);for(var o=n;o;o=o.parentNode){var c=!1;if(T.each(a,function(t){T.ruleMatches(t,e,o,i)&&(T.notify('Rule "'+t.name+'" fired.',1),T.fireRule(t,o,e),i++,t.bubbleStop&&(c=!0))}),c)break}T.$data(e,"eventProcessed",!0)}},T.onEvent=t.querySelectorAll?function(e){T.handleEvent(e)}:function(){var e=[],t=function(t){t.selector?e.push(t):T.handleEvent(t)};return t.pendingEvents=e,t}(),T.fireEvent=function(e,t){T.onEvent({type:e,target:t})},T.registerEvents=function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];T.$data(e,i+".tracked")||(T.addEventHandler(e,i,T.onEvent),T.$data(e,i+".tracked",!0))}},T.registerEventsForTags=function(e,n){for(var i=e.length-1;i>=0;i--)for(var a=e[i],r=t.getElementsByTagName(a),s=r.length-1;s>=0;s--)T.registerEvents(r[s],n)},T.setListeners=function(){var e=["click","submit"];T.each(T.rules,function(t){"custom"===t.event&&t.hasOwnProperty("customEvent")&&!T.contains(e,t.customEvent)&&e.push(t.customEvent)}),T.registerEvents(t,e)},T.getUniqueRuleEvents=function(){return T._uniqueRuleEvents||(T._uniqueRuleEvents=[],T.each(T.rules,function(e){-1===T.indexOf(T._uniqueRuleEvents,e.event)&&T._uniqueRuleEvents.push(e.event)})),T._uniqueRuleEvents},T.setFormListeners=function(){if(!T._relevantFormEvents){var e=["change","focus","blur","keypress"];T._relevantFormEvents=T.filter(T.getUniqueRuleEvents(),function(t){return-1!==T.indexOf(e,t)})}T._relevantFormEvents.length&&T.registerEventsForTags(["input","select","textarea","button"],T._relevantFormEvents)},T.setVideoListeners=function(){if(!T._relevantVideoEvents){var e=["play","pause","ended","volumechange","stalled","loadeddata"];T._relevantVideoEvents=T.filter(T.getUniqueRuleEvents(),function(t){return-1!==T.indexOf(e,t)})}T._relevantVideoEvents.length&&T.registerEventsForTags(["video"],T._relevantVideoEvents)},T.readStoredSetting=function(t){try{return t="sdsat_"+t,e.localStorage.getItem(t)}catch(n){return T.notify("Cannot read stored setting from localStorage: "+n.message,2),null}},T.loadStoredSettings=function(){var e=T.readStoredSetting("debug"),t=T.readStoredSetting("hide_activity");e&&(T.settings.notifications="true"===e),t&&(T.settings.hideActivity="true"===t)},T.isRuleActive=function(e,t){function n(e,t){return t=a(t,{hour:e[g](),minute:e[f]()}),Math.floor(Math.abs((e.getTime()-t.getTime())/864e5))}function i(e,t){function n(e){return 12*e[d]()+e[p]()}return Math.abs(n(e)-n(t))}function a(e,t){var n=new Date(e.getTime());for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];switch(i){case"hour":n[h](a);break;case"minute":n[v](a);break;case"date":n[m](a)}}return n}function r(e,t){var n=e[g](),i=e[f](),a=t[g](),r=t[f]();return 60*n+i>60*a+r}function s(e,t){var n=e[g](),i=e[f](),a=t[g](),r=t[f]();return 60*a+r>60*n+i}var o=e.schedule;if(!o)return!0;var c=o.utc,l=c?"getUTCDate":"getDate",u=c?"getUTCDay":"getDay",d=c?"getUTCFullYear":"getFullYear",p=c?"getUTCMonth":"getMonth",g=c?"getUTCHours":"getHours",f=c?"getUTCMinutes":"getMinutes",h=c?"setUTCHours":"setHours",v=c?"setUTCMinutes":"setMinutes",m=c?"setUTCDate":"setDate";if(t=t||new Date,o.repeat){if(r(o.start,t))return!1;if(s(o.end,t))return!1;if(t=o.endRepeat)return!1;if("daily"===o.repeat){if(o.repeatEvery){var y=n(o.start,t);if(y%o.repeatEvery!==0)return!1}}else if("weekly"===o.repeat){if(o.days){if(!T.contains(o.days,t[u]()))return!1}else if(o.start[u]()!==t[u]())return!1;if(o.repeatEvery){var b=n(o.start,t);if(b%(7*o.repeatEvery)!==0)return!1}}else if("monthly"===o.repeat){if(o.repeatEvery){var k=i(o.start,t);if(k%o.repeatEvery!==0)return!1}if(o.nthWeek&&o.mthDay){if(o.mthDay!==t[u]())return!1;var w=Math.floor((t[l]()-t[u]()+1)/7);if(o.nthWeek!==w)return!1}else if(o.start[l]()!==t[l]())return!1}else if("yearly"===o.repeat){if(o.start[p]()!==t[p]())return!1;if(o.start[l]()!==t[l]())return!1;if(o.repeatEvery){var b=Math.abs(o.start[d]()-t[d]());if(b%o.repeatEvery!==0)return!1}}}else{if(o.start>t)return!1;if(o.end0?T.equalsIgnoreCase(e.substring(n),t):!1},T.getVisitorId=function(){var e=T.getToolsByType("visitor_id");return 0===e.length?null:e[0].getInstance()},T.URI=function(){var e=t.location.pathname+t.location.search;return T.settings.forceLowerCase&&(e=e.toLowerCase()),e},T.URL=function(){var e=t.location.href;return T.settings.forceLowerCase&&(e=e.toLowerCase()),e},T.filterRules=function(){function e(e){return T.isRuleActive(e)?!0:!1}T.rules=T.filter(T.rules,e),T.pageLoadRules=T.filter(T.pageLoadRules,e)},T.ruleInScope=function(e,n){function i(e,t){function n(e){return t.match(e)}var i=e.include,r=e.exclude;if(i&&a(i,t))return!0;if(r){if(T.isString(r)&&r===t)return!0;if(T.isArray(r)&&T.any(r,n))return!0;if(T.isRegex(r)&&n(r))return!0}return!1}function a(e,t){function n(e){return t.match(e)}return T.isString(e)&&e!==t?!0:T.isArray(e)&&!T.any(e,n)?!0:T.isRegex(e)&&!n(e)?!0:!1}n=n||t.location;var r=e.scope;if(!r)return!0;var s=r.URI,o=r.subdomains,c=r.domains,l=r.protocols,u=r.hashes;return s&&i(s,n.pathname+n.search)?!1:o&&i(o,n.hostname)?!1:c&&a(c,n.hostname)?!1:l&&a(l,n.protocol)?!1:u&&i(u,n.hash)?!1:!0},T.backgroundTasks=function(){+new Date;T.setFormListeners(),T.setVideoListeners(),T.loadStoredSettings(),T.registerNewElementsForDynamicRules(),T.eventEmitterBackgroundTasks();+new Date},T.registerNewElementsForDynamicRules=function(){function e(t,n){var i=e.cache[t];return i?n(i):void T.cssQuery(t,function(i){e.cache[t]=i,n(i)})}e.cache={},T.each(T.dynamicRules,function(t){e(t.selector,function(e){T.each(e,function(e){var n="custom"===t.event?t.customEvent:t.event;T.$data(e,"dynamicRules.seen."+n)||(T.$data(e,"dynamicRules.seen."+n,!0),T.propertiesMatch(t.property,e)&&T.registerEvents(e,[n]))})})})},T.ensureCSSSelector=function(){return t.querySelectorAll?void(T.hasSelector=!0):(T.loadingSizzle=!0,T.sizzleQueue=[],void T.loadScript(T.basePath()+"selector.js",function(){if(!T.Sizzle)return void T.logError(new Error("Failed to load selector.js"));var e=T.onEvent.pendingEvents;T.each(e,function(e){T.handleEvent(e)},this),T.onEvent=T.handleEvent,T.hasSelector=!0,delete T.loadingSizzle,T.each(T.sizzleQueue,function(e){T.cssQuery(e[0],e[1])}),delete T.sizzleQueue}))},T.errors=[],T.logError=function(e){T.errors.push(e),T.notify(e.name+" - "+e.message,5)},T.pageBottom=function(){T.initialized&&(T.pageBottomFired=!0,T.firePageLoadEvent("pagebottom"))},T.stagingLibraryOverride=function(){var e="true"===T.readStoredSetting("stagingLibrary");if(e){for(var n,i,a,r=t.getElementsByTagName("script"),s=/^(.*)satelliteLib-([a-f0-9]{40})\.js$/,o=/^(.*)satelliteLib-([a-f0-9]{40})-staging\.js$/,c=0,l=r.length;l>c&&(a=r[c].getAttribute("src"),!a||(n||(n=a.match(s)),i||(i=a.match(o)),!i));c++);if(n&&!i){var u=n[1]+"satelliteLib-"+n[2]+"-staging.js";if(t.write)t.write('');else{var d=t.createElement("script");d.src=u,t.head.appendChild(d)}return!0}}return!1},T.checkAsyncInclude=function(){e.satellite_asyncLoad&&T.notify('You may be using the async installation of Satellite. In-page HTML and the "pagebottom" event will not work. Please update your Satellite installation for these features.',5)},T.hasMultipleDomains=function(){return!!T.settings.domainList&&T.settings.domainList.length>1},T.handleOverrides=function(){if(S)for(var e in S)S.hasOwnProperty(e)&&(T.data[e]=S[e])},T.privacyManagerParams=function(){var e={};T.extend(e,T.settings.privacyManagement);var t=[];for(var n in T.tools)if(T.tools.hasOwnProperty(n)){var i=T.tools[n],a=i.settings;if(!a)continue;"sc"===a.engine&&t.push(i)}var r=T.filter(T.map(t,function(e){return e.getTrackingServer()}),function(e){return null!=e});e.adobeAnalyticsTrackingServers=r;for(var s=["bannerText","headline","introductoryText","customCSS"],o=0;o0){var t=e[0];if(T.$data(t,"elementexists.seen"))return;T.$data(t,"elementexists.seen",!0),T.onEvent({type:"elementexists",target:t})}})})},T.availableEventEmitters.push(i), a.prototype={obue:!1,initialize:function(){this.attachCloseListeners()},obuePrevUnload:function(){},obuePrevBeforeUnload:function(){},newObueListener:function(){this.obue||(this.obue=!0,this.triggerBeacons())},attachCloseListeners:function(){this.prevUnload=e.onunload,this.prevBeforeUnload=e.onbeforeunload,e.onunload=T.bind(function(t){this.prevUnload&&setTimeout(T.bind(function(){this.prevUnload.call(e,t)},this),1),this.newObueListener()},this),e.onbeforeunload=T.bind(function(t){this.prevBeforeUnload&&setTimeout(T.bind(function(){this.prevBeforeUnload.call(e,t)},this),1),this.newObueListener()},this)},triggerBeacons:function(){T.fireEvent("leave",t)}},T.availableEventEmitters.push(a),r.orientationChange=function(t){var n=0===e.orientation?"portrait":"landscape";t.orientation=n,T.onEvent(t)},T.availableEventEmitters.push(r),s.prototype={backgroundTasks:function(){var e=this;T.each(this.rules,function(t){var n=t[1],i=t[0];T.cssQuery(n,function(t){T.each(t,function(t){e.trackElement(t,i)})})},this)},trackElement:function(e,t){var n=this,i=T.$data(e,"hover.delays");i?T.contains(i,t)||i.push(t):(T.addEventHandler(e,"mouseover",function(t){n.onMouseOver(t,e)}),T.addEventHandler(e,"mouseout",function(t){n.onMouseOut(t,e)}),T.$data(e,"hover.delays",[t]))},onMouseOver:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.fromElement,a=(t===n||T.containsElement(t,n))&&!T.containsElement(t,i);a&&this.onMouseEnter(t)},onMouseEnter:function(e){var t=T.$data(e,"hover.delays"),n=T.map(t,function(t){return setTimeout(function(){T.onEvent({type:"hover("+t+")",target:e})},t)});T.$data(e,"hover.delayTimers",n)},onMouseOut:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.toElement,a=(t===n||T.containsElement(t,n))&&!T.containsElement(t,i);a&&this.onMouseLeave(t)},onMouseLeave:function(e){var t=T.$data(e,"hover.delayTimers");t&&T.each(t,function(e){clearTimeout(e)})}},T.availableEventEmitters.push(s),o.prototype={defineEvents:function(){this.oldBlurClosure=function(){T.fireEvent("tabblur",t)},this.oldFocusClosure=T.bind(function(){this.visibilityApiHasPriority?T.fireEvent("tabfocus",t):null!=T.visibility.getHiddenProperty()?T.visibility.isHidden()||T.fireEvent("tabfocus",t):T.fireEvent("tabfocus",t)},this)},attachDetachModernEventListeners:function(e){var n=0==e?"removeEventHandler":"addEventHandler";T[n](t,T.visibility.getVisibilityEvent(),this.handleVisibilityChange)},attachDetachOlderEventListeners:function(t,n,i){var a=0==t?"removeEventHandler":"addEventHandler";T[a](n,i,this.oldBlurClosure),T[a](e,"focus",this.oldFocusClosure)},handleVisibilityChange:function(){T.visibility.isHidden()?T.fireEvent("tabblur",t):T.fireEvent("tabfocus",t)},setVisibilityApiPriority:function(t){this.visibilityApiHasPriority=t,this.attachDetachOlderEventListeners(!1,e,"blur"),this.attachDetachModernEventListeners(!1),t?null!=T.visibility.getHiddenProperty()?this.attachDetachModernEventListeners(!0):this.attachDetachOlderEventListeners(!0,e,"blur"):(this.attachDetachOlderEventListeners(!0,e,"blur"),null!=T.visibility.getHiddenProperty()&&this.attachDetachModernEventListeners(!0))},oldBlurClosure:null,oldFocusClosure:null,visibilityApiHasPriority:!0},T.availableEventEmitters.push(o),c.prototype={initialize:function(){this.setupHistoryAPI(),this.setupHashChange()},fireIfURIChanged:function(){var e=T.URL();this.lastURL!==e&&(this.fireEvent(),this.lastURL=e)},fireEvent:function(){T.updateQueryParams(),T.onEvent({type:"locationchange",target:t})},setupSPASupport:function(){this.setupHistoryAPI(),this.setupHashChange()},setupHistoryAPI:function(){var t=e.history;t&&(t.pushState&&(this.originalPushState=t.pushState,t.pushState=this._pushState),t.replaceState&&(this.originalReplaceState=t.replaceState,t.replaceState=this._replaceState)),T.addEventHandler(e,"popstate",this._onPopState)},pushState:function(){var e=this.originalPushState.apply(history,arguments);return this.onPushState(),e},replaceState:function(){var e=this.originalReplaceState.apply(history,arguments);return this.onReplaceState(),e},setupHashChange:function(){T.addEventHandler(e,"hashchange",this._onHashChange)},onReplaceState:function(){setTimeout(this._fireIfURIChanged,0)},onPushState:function(){setTimeout(this._fireIfURIChanged,0)},onPopState:function(){setTimeout(this._fireIfURIChanged,0)},onHashChange:function(){setTimeout(this._fireIfURIChanged,0)},uninitialize:function(){this.cleanUpHistoryAPI(),this.cleanUpHashChange()},cleanUpHistoryAPI:function(){history.pushState===this._pushState&&(history.pushState=this.originalPushState),history.replaceState===this._replaceState&&(history.replaceState=this.originalReplaceState),T.removeEventHandler(e,"popstate",this._onPopState)},cleanUpHashChange:function(){T.removeEventHandler(e,"hashchange",this._onHashChange)}},T.availableEventEmitters.push(c),l.prototype={backgroundTasks:function(){var e=this.eventHandler;T.each(this.rules,function(t){T.cssQuery(t.selector||"video",function(t){T.each(t,function(t){T.$data(t,"videoplayed.tracked")||(T.addEventHandler(t,"timeupdate",T.throttle(e,100)),T.$data(t,"videoplayed.tracked",!0))})})})},evalRule:function(e,t){var n=t.event,i=e.seekable,a=i.start(0),r=i.end(0),s=e.currentTime,o=t.event.match(/^videoplayed\(([0-9]+)([s%])\)$/);if(o){var c=o[2],l=Number(o[1]),u="%"===c?function(){return 100*(s-a)/(r-a)>=l}:function(){return s-a>=l};!T.$data(e,n)&&u()&&(T.$data(e,n,!0),T.onEvent({type:n,target:e}))}},onUpdateTime:function(e){var t=this.rules,n=e.target;if(n.seekable&&0!==n.seekable.length)for(var i=0,a=t.length;a>i;i++)this.evalRule(n,t[i])}},T.availableEventEmitters.push(l),u.prototype={initialize:function(){return this.FB=this.FB||e.FB,this.FB&&this.FB.Event&&this.FB.Event.subscribe?(this.bind(),!0):void 0},bind:function(){this.FB.Event.subscribe("edge.create",function(){T.notify("tracking a facebook like",1),T.onEvent({type:"facebook.like",target:t})}),this.FB.Event.subscribe("edge.remove",function(){T.notify("tracking a facebook unlike",1),T.onEvent({type:"facebook.unlike",target:t})}),this.FB.Event.subscribe("message.send",function(){T.notify("tracking a facebook share",1),T.onEvent({type:"facebook.send",target:t})})}},T.availableEventEmitters.push(u),d.prototype={initialize:function(){var e=this.twttr;e&&"function"==typeof e.ready&&e.ready(T.bind(this.bind,this))},bind:function(){this.twttr.events.bind("tweet",function(e){e&&(T.notify("tracking a tweet button",1),T.onEvent({type:"twitter.tweet",target:t}))})}},T.availableEventEmitters.push(d),p.offset=function(n){var i=null,a=null;try{var r=n.getBoundingClientRect(),s=t,o=s.documentElement,c=s.body,l=e,u=o.clientTop||c.clientTop||0,d=o.clientLeft||c.clientLeft||0,p=l.pageYOffset||o.scrollTop||c.scrollTop,g=l.pageXOffset||o.scrollLeft||c.scrollLeft;i=r.top+p-u,a=r.left+g-d}catch(f){}return{top:i,left:a}},p.getViewportHeight=function(){var n=e.innerHeight,i=t.compatMode;return i&&(n="CSS1Compat"==i?t.documentElement.clientHeight:t.body.clientHeight),n},p.getScrollTop=function(){return t.documentElement.scrollTop?t.documentElement.scrollTop:t.body.scrollTop},p.isElementInDocument=function(e){return t.body.contains(e)},p.isElementInView=function(e){if(!p.isElementInDocument(e))return!1;var t=p.getViewportHeight(),n=p.getScrollTop(),i=p.offset(e).top,a=e.offsetHeight;return null!==i?!(n>i+a||i>n+t):!1},p.prototype={backgroundTasks:function(){var e=this.elements;T.each(this.rules,function(t){T.cssQuery(t.selector,function(n){var i=0;T.each(n,function(t){T.contains(e,t)||(e.push(t),i++)}),i&&T.notify(t.selector+" added "+i+" elements.",1)})}),this.track()},checkInView:function(e,t,n){var i=T.$data(e,"inview");if(p.isElementInView(e)){i||T.$data(e,"inview",!0);var a=this;this.processRules(e,function(n,i,r){if(t||!n.inviewDelay)T.$data(e,i,!0),T.onEvent({type:"inview",target:e,inviewDelay:n.inviewDelay});else if(n.inviewDelay){var s=T.$data(e,r);s||(s=setTimeout(function(){a.checkInView(e,!0,n.inviewDelay)},n.inviewDelay),T.$data(e,r,s))}},n)}else{if(!p.isElementInDocument(e)){var r=T.indexOf(this.elements,e);this.elements.splice(r,1)}i&&T.$data(e,"inview",!1),this.processRules(e,function(t,n,i){var a=T.$data(e,i);a&&clearTimeout(a)},n)}},track:function(){for(var e=this.elements.length-1;e>=0;e--)this.checkInView(this.elements[e])},processRules:function(e,t,n){var i=this.rules;n&&(i=T.filter(this.rules,function(e){return e.inviewDelay==n})),T.each(i,function(n,i){var a=n.inviewDelay?"viewed_"+n.inviewDelay:"viewed",r="inview_timeout_id_"+i;T.$data(e,a)||T.matchesCss(n.selector,e)&&t(n,a,r)})}},T.availableEventEmitters.push(p),g.prototype.getStringifiedValue=JSON.stringify||T.stringify,g.prototype.initPolling=function(){0!==this.dataElementsNames.length&&(this.dataElementsStore=this.getDataElementsValues(),T.poll(T.bind(this.checkDataElementValues,this),1e3))},g.prototype.getDataElementsValues=function(){var e={};return T.each(this.dataElementsNames,function(t){var n=T.getVar(t);e[t]=this.getStringifiedValue(n)},this),e},g.prototype.checkDataElementValues=function(){T.each(this.dataElementsNames,T.bind(function(e){var n=this.getStringifiedValue(T.getVar(e)),i=this.dataElementsStore[e];n!==i&&(this.dataElementsStore[e]=n,T.onEvent({type:"dataelementchange("+e+")",target:t}))},this))},T.availableEventEmitters.push(g),T.visibility={isHidden:function(){var e=this.getHiddenProperty();return e?t[e]:!1},isVisible:function(){return!this.isHidden()},getHiddenProperty:function(){var e=["webkit","moz","ms","o"];if("hidden"in t)return"hidden";for(var n=0;n1){T.stringify(e.slice(1));i+=" with parameters "+T.stringify(e.slice(1))}i+=".",T.notify(i,1)}}),T.availableTools.ga_universal=m,T.inherit(y,T.BaseTool),T.extend(y.prototype,{name:"GA",initialize:function(){var t=this.settings,n=e._gaq,i=t.initCommands||[],a=t.customInit;if(n||(_gaq=[]),this.isSuppressed())T.notify("GA: page code not loaded(suppressed).",1);else{if(!n&&!y.scriptLoaded){var r=T.isHttps(),s=(r?"https://ssl":"http://www")+".google-analytics.com/ga.js";t.url&&(s=r?t.url.https:t.url.http),T.loadScript(s),y.scriptLoaded=!0,T.notify("GA: page code loaded.",1)}var o=(t.domain,t.trackerName),c=C.allowLinker(),l=T.replace(t.account,location);T.settings.domainList||[];_gaq.push([this.cmd("setAccount"),l]),c&&_gaq.push([this.cmd("setAllowLinker"),c]),_gaq.push([this.cmd("setDomainName"),C.cookieDomain()]),T.each(i,function(e){var t=[this.cmd(e[0])].concat(T.preprocessArguments(e.slice(1),location,null,this.forceLowerCase));_gaq.push(t)},this),a&&(this.suppressInitialPageView=!1===a(_gaq,o)),t.pageName&&this.$overrideInitialPageView(null,null,t.pageName)}this.initialized=!0,T.fireEvent(this.id+".configure",_gaq,o)},isSuppressed:function(){return this._cancelToolInit||this.settings.initTool===!1},tracker:function(){return this.settings.trackerName},cmd:function(e){var t=this.tracker();return t?t+"._"+e:"_"+e},$overrideInitialPageView:function(e,t,n){this.urlOverride=n},trackInitialPageView:function(){if(!this.isSuppressed()&&!this.suppressInitialPageView)if(this.urlOverride){var e=T.preprocessArguments([this.urlOverride],location,null,this.forceLowerCase);this.$missing$("trackPageview",null,null,e)}else this.$missing$("trackPageview")},endPLPhase:function(e){var t=this.settings.loadOn;e===t&&(T.notify("GA: Initializing at "+e,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},call:function(e,t,n,i){if(!this._cancelToolInit){var a=(this.settings,this.tracker()),r=this.cmd(e),i=i?[r].concat(i):[r];_gaq.push(i),a?T.notify("GA: sent command "+e+" to tracker "+a+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1):T.notify("GA: sent command "+e+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1)}},$missing$:function(e,t,n,i){this.call(e,t,n,i)},$postTransaction:function(t,n,i){var a=T.data.customVars.transaction=e[i];this.call("addTrans",t,n,[a.orderID,a.affiliation,a.total,a.tax,a.shipping,a.city,a.state,a.country]),T.each(a.items,function(e){this.call("addItem",t,n,[e.orderID,e.sku,e.product,e.category,e.unitPrice,e.quantity])},this),this.call("trackTrans",t,n)},delayLink:function(e,t){var n=this;if(C.allowLinker()&&e.hostname.match(this.settings.linkerDomains)&&!T.isSubdomainOf(e.hostname,location.hostname)){T.preventDefault(t);var i=T.settings.linkDelay||100;setTimeout(function(){n.call("link",e,t,[e.href])},i)}},popupLink:function(t,n){if(e._gat){T.preventDefault(n);var i=this.settings.account,a=e._gat._createTracker(i),r=a._getLinkerUrl(t.href);e.open(r)}},$link:function(e,t){"_blank"===e.getAttribute("target")?this.popupLink(e,t):this.delayLink(e,t)},$trackEvent:function(e,t){var n=Array.prototype.slice.call(arguments,2);if(n.length>=4&&null!=n[3]){var i=parseInt(n[3],10);T.isNaN(i)&&(i=1),n[3]=i}this.call("trackEvent",e,t,n)}}),T.availableTools.ga=y,T.inherit(b,T.BaseTool),T.extend(b.prototype,{name:"SC",endPLPhase:function(e){var t=this.settings.loadOn;e===t&&this.initialize(e)},initialize:function(t){if(!this._cancelToolInit)if(this.settings.initVars=this.substituteVariables(this.settings.initVars,{type:t}),this.settings.initTool!==!1){var n=this.settings.sCodeURL||T.basePath()+"s_code.js";"object"==typeof n&&(n="https:"===e.location.protocol?n.https:n.http),n.match(/^https?:/)||(n=T.basePath()+n),this.settings.initVars&&this.$setVars(null,null,this.settings.initVars),T.loadScript(n,T.bind(this.onSCodeLoaded,this)),this.initializing=!0}else this.initializing=!0,this.pollForSC()},getS:function(t,n){var i=n&&n.hostname||e.location.hostname,a=this.concatWithToolVarBindings(n&&n.setVars||this.varBindings),r=n&&n.addEvent||this.events,s=this.getAccount(i),o=e.s_gi;if(!o)return null;if(this.isValidSCInstance(t)||(t=null),!s&&!t)return T.notify("Adobe Analytics: tracker not initialized because account was not found",1),null;var t=t||o(s),c="D"+T.appVersion;"undefined"!=typeof t.tagContainerMarker?t.tagContainerMarker=c:"string"==typeof t.version&&t.version.substring(t.version.length-5)!=="-"+c&&(t.version+="-"+c),t.sa&&this.settings.skipSetAccount!==!0&&this.settings.initTool!==!1&&t.sa(this.settings.account),this.applyVarBindingsOnTracker(t,a),r.length>0&&(t.events=r.join(","));var l=T.getVisitorId();return l&&(t.visitor=T.getVisitorId()),t},onSCodeLoaded:function(e){this.initialized=!0,this.initializing=!1;var t=["Adobe Analytics: loaded",e?" (manual)":"","."];T.notify(t.join(""),1),T.fireEvent(this.id+".load",this.getS()),e||(this.flushQueueExceptTrackLink(),this.sendBeacon()),this.flushQueue()},getAccount:function(t){return e.s_account?e.s_account:t&&this.settings.accountByHost?this.settings.accountByHost[t]||this.settings.account:this.settings.account},getTrackingServer:function(){var t=this,n=t.getS();if(n){if(n.ssl&&n.trackingServerSecure)return n.trackingServerSecure;if(n.trackingServer)return n.trackingServer}var i=t.getAccount(e.location.hostname);if(!i)return null;var a,r,s,o="",c=n&&n.dc;return a=i,r=a.indexOf(","),r>=0&&(a=a.gb(0,r)),a=a.replace(/[^A-Za-z0-9]/g,""),o||(o="2o7.net"),c=c?(""+c).toLowerCase():"d1","2o7.net"==o&&("d1"==c?c="112":"d2"==c&&(c="122"),s=""),r=a+"."+c+"."+s+o},sendBeacon:function(){var t=this.getS(e[this.settings.renameS||"s"]);return t?this.settings.customInit&&this.settings.customInit(t)===!1?void T.notify("Adobe Analytics: custom init suppressed beacon",1):(this.settings.executeCustomPageCodeFirst&&this.applyVarBindingsOnTracker(t,this.varBindings),this.executeCustomSetupFuns(t),t.t(),this.clearVarBindings(),this.clearCustomSetup(),void T.notify("Adobe Analytics: tracked page view",1)):void T.notify("Adobe Analytics: page code not loaded",1)},pollForSC:function(){T.poll(T.bind(function(){return"function"==typeof e.s_gi?(this.onSCodeLoaded(!0),!0):void 0},this))},flushQueueExceptTrackLink:function(){if(this.pending){for(var e=[],t=0;t0&&u.push("events"),o.products&&u.push("products"),u=this.mergeTrackLinkVars(o.linkTrackVars,u),s=this.mergeTrackLinkVars(o.linkTrackEvents,s),o.linkTrackVars=this.getCustomLinkVarsList(u);var d=T.map(s,function(e){return e.split(":")[0]});o.linkTrackEvents=this.getCustomLinkVarsList(d),o.tl(!0,i||"o",a),T.notify(["Adobe Analytics: tracked link ","using: linkTrackVars=",T.stringify(o.linkTrackVars),"; linkTrackEvents=",T.stringify(o.linkTrackEvents)].join(""),1),o.linkTrackVars=c,o.linkTrackEvents=l},mergeTrackLinkVars:function(e,t){return e&&(t=e.split(",").concat(t)),t},getCustomLinkVarsList:function(e){var t=T.indexOf(e,"None");return t>-1&&e.length>1&&e.splice(t,1),e.join(",")},definedVarNames:function(e){e=e||this.varBindings;var t=[];for(var n in e)e.hasOwnProperty(n)&&/^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$/.test(n)&&t.push(n);return t},$trackPageView:function(e,t,n){var i=n&&n.setVars,a=n&&n.addEvent||[],r=this.getS(null,{setVars:i,addEvent:a});return r?(r.linkTrackVars="",r.linkTrackEvents="",this.executeCustomSetupFuns(r),n&&n.customSetup&&n.customSetup.call(e,t,r),r.t(),this.clearVarBindings(),this.clearCustomSetup(),void T.notify("Adobe Analytics: tracked page view",1)):void T.notify("Adobe Analytics: page code not loaded",1)},$postTransaction:function(t,n,i){var a=T.data.transaction=e[i],r=this.varBindings,s=this.settings.fieldVarMapping;if(T.each(a.items,function(e){this.products.push(e)},this),r.products=T.map(this.products,function(e){var t=[];if(s&&s.item)for(var n in s.item)if(s.item.hasOwnProperty(n)){var i=s.item[n];t.push(i+"="+e[n]),"event"===i.substring(0,5)&&this.events.push(i)}var a=["",e.product,e.quantity,e.unitPrice*e.quantity];return t.length>0&&a.push(t.join("|")),a.join(";")},this).join(","),s&&s.transaction){var o=[];for(var c in s.transaction)if(s.transaction.hasOwnProperty(c)){var i=s.transaction[c];o.push(i+"="+a[c]),"event"===i.substring(0,5)&&this.events.push(i)}r.products.length>0&&(r.products+=","),r.products+=";;;;"+o.join("|")}},$addEvent:function(e,t){for(var n=2,i=arguments.length;i>n;n++)this.events.push(arguments[n])},$addProduct:function(e,t){for(var n=2,i=arguments.length;i>n;n++)this.products.push(arguments[n])}}),T.availableTools.sc=b,T.inherit(k,T.BaseTool),T.extend(k.prototype,{name:"Default",$loadIframe:function(t,n,i){var a=i.pages,r=i.loadOn,s=T.bind(function(){T.each(a,function(e){this.loadIframe(t,n,e)},this)},this);r||s(),"domready"===r&&T.domReady(s),"load"===r&&T.addEventHandler(e,"load",s)},loadIframe:function(e,n,i){var a=t.createElement("iframe");a.style.display="none";var r=T.data.host,s=i.data,o=this.scriptURL(i.src),c=T.searchVariables(s,e,n);r&&(o=T.basePath()+o),o+=c,a.src=o;var l=t.getElementsByTagName("body")[0];l?l.appendChild(a):T.domReady(function(){t.getElementsByTagName("body")[0].appendChild(a)})},scriptURL:function(e){var t=T.settings.scriptDir||"";return t+e},$loadScript:function(t,n,i){var a=i.scripts,r=i.sequential,s=i.loadOn,o=T.bind(function(){r?this.loadScripts(t,n,a):T.each(a,function(e){this.loadScripts(t,n,[e])},this)},this);s?"domready"===s?T.domReady(o):"load"===s&&T.addEventHandler(e,"load",o):o()},loadScripts:function(e,t,n){function i(){if(r.length>0&&a){var c=r.shift();c.call(e,t,s)}var l=n.shift();if(l){var u=T.data.host,d=o.scriptURL(l.src);u&&(d=T.basePath()+d),a=l,T.loadScript(d,i)}}try{var a,n=n.slice(0),r=this.asyncScriptCallbackQueue,s=t.target||t.srcElement,o=this}catch(c){console.error("scripts is",T.stringify(n))}i()},$loadBlockingScript:function(e,t,n){var i=n.scripts,a=(n.loadOn,T.bind(function(){T.each(i,function(n){this.loadBlockingScript(e,t,n)},this)},this));a()},loadBlockingScript:function(e,t,n){var i=this.scriptURL(n.src),a=T.data.host,r=t.target||t.srcElement;a&&(i=T.basePath()+i),this.argsForBlockingScripts.push([e,t,r]),T.loadScriptSync(i)},pushAsyncScript:function(e){this.asyncScriptCallbackQueue.push(e)},pushBlockingScript:function(e){var t=this.argsForBlockingScripts.shift(),n=t[0];e.apply(n,t.slice(1))},$writeHTML:T.escapeHtmlParams(function(e,n){if(T.domReadyFired||!t.write)return void T.notify("Command writeHTML failed. You should try appending HTML using the async option.",1);if("pagebottom"!==n.type&&"pagetop"!==n.type)return void T.notify("You can only use writeHTML on the `pagetop` and `pagebottom` events.",1);for(var i=2,a=arguments.length;a>i;i++){var r=arguments[i].html;r=T.replace(r,e,n),t.write(r)}}),linkNeedsDelayActivate:function(t,n){n=n||e;var i=t.tagName,a=t.getAttribute("target"),r=t.getAttribute("href");return i&&"a"!==i.toLowerCase()?!1:r?a?"_blank"===a?!1:"_top"===a?n.top===n:"_parent"===a?!1:"_self"===a?!0:n.name?a===n.name:!0:!0:!1},$delayActivateLink:function(e,t){if(this.linkNeedsDelayActivate(e)){T.preventDefault(t);var n=T.settings.linkDelay||100;setTimeout(function(){T.setLocation(e.href)},n)}},isQueueable:function(e){return"writeHTML"!==e.command}}),T.availableTools["default"]=k,T.inherit(w,T.BaseTool),T.extend(w.prototype,{name:"Nielsen",endPLPhase:function(e){switch(e){case"pagetop":this.initialize();break;case"pagebottom":this.enableTracking&&(this.queueCommand({command:"sendFirstBeacon",arguments:[]}),this.flushQueueWhenReady())}},defineListeners:function(){this.onTabFocus=T.bind(function(){this.notify("Tab visible, sending view beacon when ready",1),this.tabEverVisible=!0,this.flushQueueWhenReady()},this),this.onPageLeave=T.bind(function(){this.notify("isHuman? : "+this.isHuman(),1),this.isHuman()&&this.sendDurationBeacon()},this),this.onHumanDetectionChange=T.bind(function(e){this==e.target.target&&(this.human=e.target.isHuman)},this)},initialize:function(){this.initializeTracking(),this.initializeDataProviders(),this.initializeNonHumanDetection(),this.tabEverVisible=T.visibility.isVisible(),this.tabEverVisible?this.notify("Tab visible, sending view beacon when ready",1):T.bindEventOnce("tabfocus",this.onTabFocus),this.initialized=!0},initializeTracking:function(){this.initialized||(this.notify("Initializing tracking",1),this.addRemovePageLeaveEvent(this.enableTracking),this.addRemoveHumanDetectionChangeEvent(this.enableTracking),this.initialized=!0)},initializeDataProviders:function(){var e,t=this.getAnalyticsTool();this.dataProvider.register(new w.DataProvider.VisitorID(T.getVisitorId())),t?(e=new w.DataProvider.Generic("rsid",function(){return t.settings.account}),this.dataProvider.register(e)):this.notify("Missing integration with Analytics: rsid will not be sent.")},initializeNonHumanDetection:function(){T.nonhumandetection?(T.nonhumandetection.init(),this.setEnableNonHumanDetection(0==this.settings.enableNonHumanDetection?!1:!0),this.settings.nonHumanDetectionDelay>0&&this.setNonHumanDetectionDelay(1e3*parseInt(this.settings.nonHumanDetectionDelay))):this.notify("NHDM is not available.")},getAnalyticsTool:function(){ return this.settings.integratesWith?T.tools[this.settings.integratesWith]:void 0},flushQueueWhenReady:function(){this.enableTracking&&this.tabEverVisible&&T.poll(T.bind(function(){return this.isReadyToTrack()?(this.flushQueue(),!0):void 0},this),100,20)},isReadyToTrack:function(){return this.tabEverVisible&&this.dataProvider.isReady()},$setVars:function(e,t,n){for(var i in n){var a=n[i];"function"==typeof a&&(a=a()),this.settings[i]=a}this.notify("Set variables done",2),this.prepareContextData()},$setEnableTracking:function(e,t,n){this.notify("Will"+(n?"":" not")+" track time on page",1),this.enableTracking!=n&&(this.addRemovePageLeaveEvent(n),this.addRemoveHumanDetectionChangeEvent(n),this.enableTracking=n)},$sendFirstBeacon:function(e,t,n){this.sendViewBeacon()},setEnableNonHumanDetection:function(e){e?T.nonhumandetection.register(this):T.nonhumandetection.unregister(this)},setNonHumanDetectionDelay:function(e){T.nonhumandetection.register(this,e)},addRemovePageLeaveEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" page leave event",1);var t=0==e?"unbindEvent":"bindEvent";T[t]("leave",this.onPageLeave)},addRemoveHumanDetectionChangeEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" human detection change event",1);var t=0==e?"unbindEvent":"bindEvent";T[t]("humandetection.change",this.onHumanDetectionChange)},sendViewBeacon:function(){this.notify("Tracked page view.",1),this.sendBeaconWith()},sendDurationBeacon:function(){if(!T.timetracking||"function"!=typeof T.timetracking.timeOnPage||null==T.timetracking.timeOnPage())return void this.notify("Could not track close due missing time on page",5);this.notify("Tracked close",1),this.sendBeaconWith({timeOnPage:Math.round(T.timetracking.timeOnPage()/1e3),duration:"D",timer:"timer"});var e,t="";for(e=0;e2&&"undefined"!=i[1]&&"undefined"!=typeof i[1]&&"undefined"!=i[2]&&"undefined"!=typeof i[2]?n.prop17=i[1]+"|"+i[2]:n.prop17="no data available"}n.eVar66=n.eVar67="+1",n.events=n.apl(n.events,"event27",",",2),n.eVar72&&(n.events=n.apl(n.events,"event9",",",2)),"true"==_satellite.getDataElement("Visitor - Login Success")&&(n.events=n.apl(n.events,"event23",",",2),pageData.visitor.loginSuccess="false");var a="";if(n.eVar19&&!n.prop21&&(n.prop21=n.eVar19),n.eVar19&&(n.eVar19=n.cleanUrlData(n.eVar19)),n.prop21){n.prop21=n.cleanUrlData(n.prop21),a=n.getValOnce(n.prop21,"c21",0),a&&(n.events=n.apl(n.events,"event3",",",2),n.eVar35=n.eVar36="+1","0"==n.eVar3?(n.eVar3="zero",n.events=n.apl(n.events,"event4",",",2)):n.eVar3&&(n.events=n.apl(n.events,"event14="+n.eVar3,",",2)));var r=_satellite.getDataElement("Search - Results per Page"),s=n.getValOnce(_satellite.getDataElement("Search - Current Page"),"e13",0);s&&r&&(n.events=n.apl(n.events,"event13="+r,",",2))}n.prop13&&(a=n.getValOnce(n.prop13,"c13",0),a&&(n.events=n.apl(n.events,"event24",",",2))),(n.prop7||n.eVar46)&&(a=n.getValOnce(n.prop7||n.eVar46,"c7",0),a&&(n.events=n.apl(n.events,"event6",",",2))),n.prop60&&(a=n.getValOnce(n.prop60,"c60",0),a&&(n.events=n.apl(n.events,"event88",",",2)));var o=_satellite.getDataElement("Page - Load Timestamp"),c=n.getPreviousValue(o,"v68","")||o,l=n.c_r("v31")||o,u=n.getValOnce("1","e41",0);if(n.clickPast(u,"event41","event42"),n.events.indexOf("event41")>-1&&o&&n.c_w("v31",o),n.list3&&(n.events=n.apl(n.events,"event21",",",2)),o&&c)try{var d=new Date(parseInt(o)),p=new Date(parseInt(c)),g=new Date(parseInt(l)),f=d.getTime()-p.getTime();f>0&&(n.eVar68="+"+(f/1e3).toFixed(0)),n.currentVisitTime=((d.getTime()-g.getTime())/1e3).toFixed(0)}catch(h){}if(pageData.eventList)for(var v=0;v-1?(y="event"+(b.indexOf("register")>-1||b.indexOf("registration")>-1?"2":"47"),n.linkTrackVars=n.apl(n.linkTrackVars,"events",",",2),n.linkTrackVars=n.apl(n.linkTrackEvents,"prop2",",",2),n.linkTrackVars=n.apl(n.linkTrackEvents,"eVar4",",",2),n.linkTrackEvents=n.apl(n.linkTrackEvents,y,",",2)):y="event"+(b.indexOf("register")>-1||b.indexOf("registration")>-1?"1":"46"),n.events=n.apl(n.events,y,",",2)}t.location.href.length>255&&(n.pageURL=t.location.href.substring(0,255)),t.referrer&&t.referrer.length>255&&(n.referrer=t.referrer.substring(0,255)),n.prop8&&(n.linkTrackVars=n.apl(n.linkTrackVars,"prop8",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar18",",",2)),n.prop25&&(n.linkTrackVars=n.apl(n.linkTrackVars,"prop25",",",2)),n.prop29=n.eVar7?"D=v7":"",n.eVar1=n.prop21?"D=c21":"",n.eVar2=n.prop6?"D=c6":"",n.eVar4=n.prop2?"D=c2":"",n.eVar5=n.prop5?"D=c5":"",n.eVar9=n.prop16?"D=c16":"",n.eVar10=n.prop18?"D=c18":"",n.eVar11=n.pageName?"D=pageName":"",n.eVar13=n.prop4?"D=c4":"",n.eVar14=n.purchaseID?"D=purchaseID":"",n.eVar16=n.prop1?"D=c1":"",n.eVar18=n.prop8?"D=c8":"",n.eVar26=n.prop13?"D=c13":"",n.eVar29=n.prop12?"D=c12":"",n.eVar32=n.prop19?"D=c19":"",n.eVar46=n.prop7?"D=c7":"",n.eVar101="D=g",n.list1=n.prop7?"D=c7":"",n.linkTrackVars=n.apl(n.linkTrackVars,"prop2",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop3",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop4",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop5",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop9",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop16",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop18",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop19",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop24",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"prop32",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar4",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar5",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar8",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar9",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar10",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar11",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar13",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar32",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar50",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"eVar101",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"products",",",2),n.linkTrackVars=n.apl(n.linkTrackVars,"currencyCode",",",2),n.prop3=n.getKPIName()}},n.doPlugins=e.s_doPlugins;try{n.loadModule("Media"),n.Media.autoTrack=!1,n.Media.trackWhilePlaying=!1,n.Media.playerName="elsevier video player",n.Media.segmentByMilestones=!0,n.Media.trackMilestones="50",n.Media.trackUsingContextData=!0,n.Media.contextDataMapping={"a.media.name":"eVar77,prop10","a.media.view":"event105","a.media.timePlayed":"event108","a.media.complete":"event107","a.media.milestones":{50:"event106"}},n.Media.trackVars="prop17,eVar52,eVar1,eVar2,eVar3",n.Media.trackEvents="event66"}catch(i){}n.getJBSReportSuiteId=function(){if(e.pageData&&pageData.page){var i=pageData.page.server||t.location.hostname,a=n.Util.getQueryParam("code"),r=pageData.page.environment||"dev";"www.cell.com"==i||"cell-site"==a?site="ce":"www.thelancet.com"==i||"lancet-site"==a?site="lc":site="ha"}return"elsevier-"+site+"-"+r+",elsevier-global-"+r},n.removeFromList=function(e,t,n,i){t=t||",",i=i||",";for(var a=e.split(t),r=n.split(i),s=[],o=0;ods&&dde||d=12){U=' PM';H=H-12;}if(H==0){H=12;}D=da[D];tm=H+':'+M+U;return(tm+'|'+D);}"),n.getDaysSinceLastVisit=new Function("c","var s=this,e=new Date(),es=new Date(),cval,cval_s,cval_ss,ct=e.getTime(),day=24*60*60*1000,f1,f2,f3,f4,f5;e.setTime(ct+3*365*day);es.setTime(ct+30*60*1000);f0='Cookies Not Supported';f1='First Visit';f2='More than 30 days';f3='More than 7 days';f4='Less than 7 days';f5='Less than 1 day';cval=s.c_r(c);if(cval.length==0){s.c_w(c,ct,e);s.c_w(c+'_s',f1,es);}else{var d=ct-cval;if(d>30*60*1000){if(d>30*day){s.c_w(c,ct,e);s.c_w(c+'_s',f2,es);}else if(d<30*day+1 && d>7*day){s.c_w(c,ct,e);s.c_w(c+'_s',f3,es);}else if(d<7*day+1 && d>day){s.c_w(c,ct,e);s.c_w(c+'_s',f4,es);}else if(d-1?i:l.length;a[x++]=l.substring(0,i);l=l.substring(i+d.length);}return a"),n.getPercentPageViewed=new Function("n","var s=this,W=window,EL=W.addEventListener,AE=W.attachEvent,E=['load','unload','scroll','resize','zoom','keyup','mouseup','touchend','orientationchange','pan'];W.s_Obj=s;s_PPVid=(n=='-'?s.pageName:n)||s.pageName||location.href;if(!W.s_PPVevent){s.s_PPVg=function(n,r){var k='s_ppv',p=k+'l',c=s.c_r(n||r?k:p),a=c.indexOf(',')>-1?c.split(',',10):[''],l=a.length,i;a[0]=unescape(a[0]);r=r||(n&&n!=a[0])||0;a.length=10;if(typeof a[0]!='string')a[0]='';for(i=1;i<10;i++)a[i]=!r&&i0&&b>0?M.round(C*b/h):0,O=W.orientation,o=!isNaN(O)?M.abs(o)%180:Y>X?0:90,L=e=='load'||s_PPVi<1,a=s.s_PPVg(s_PPVid,L),V=function(i,v,f,n){i=parseInt(typeof a==J&&a.length>i?a[i]:'0')||0;v=typeof v!=N?i:v;v=f||v>i?v:i;return n?v:v>C?C:v<0?0:v};if(new RegExp('(iPod|iPad|iPhone)').exec(navigator.userAgent||'')&&o){o=x;x=y;y=o}o=o?'P':'L';a[9]=L?'':a[9].substring(0,1);s.c_w('s_ppv',escape(W.s_PPVid)+','+V(1,p,L)+','+(L||!V(2)?p:V(2))+','+V(3,b,L,1)+','+X+','+Y+','+x+','+y+','+r+','+a[9]+(a[9]==o?'':o))}if(!W.s_PPVt&&e!='unload')W.s_PPVt=setTimeout(W.s_PPVevent,333)};for(var f=W.s_PPVevent,i=0;i=1){s.events=ev+cp_ev;s.c_w(cpc,0,0);}}}"),n.__ccucr||(n.c_rr=n.c_r,n.__ccucr=!0,n.c_r=new Function("k","var s=this,d=new Date,v=s.c_rr(k),c=s.c_rr('s_pers'),i,m,e;if(v)return v;k=s.escape(k);i=c.indexOf(' '+k+'=');c=i<0?s.c_rr('s_sess'):c;i=c.indexOf(' '+k+'=');m=i<0?i:c.indexOf('|',i);e=i<0?i:c.indexOf(';',i);m=m>0?m:e;v=i<0?'':s.unescape(c.substring(i+2+k.length,m<0?c.length:m));if(m>0&&m!=e)if(parseInt(c.substring(m+1,e<0?c.length:e))d.getTime()){pv+=' '+k+'='+s.escape(v)+'|'+e.getTime()+';';pc=1;}}else{sv+=' '+k+'='+s.escape(v)+';';sc=1;}if(sc) s.c_wr(sn,sv,0);if(pc){t=pv;while(t&&t.indexOf(';')!=-1){var t1=parseInt(t.substring(t.indexOf('|')+1,t.indexOf(';')));t=t.substring(t.indexOf(';')+1);ht=ht