assets.adobedtm.com
Open in
urlscan Pro
2a02:26f0:3500:793::1e80
Public Scan
URL:
http://assets.adobedtm.com/5374b90b8769859d2a13e6890d74eb3a02f41dcf/satelliteLib-8b5928934f9b5215732c5ce95ff398773158337c-s...
Submission Tags: falconsandbox
Submission: On April 19 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On April 19 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
!function e(t,n,i){function a(s,o){if(!n[s]){if(!t[s]){var c="function"==typeof require&&require;if(!o&&c)return c(s,!0);if(r)return r(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return a(n||e)},u,u.exports,e,t,n,i)}return n[s].exports}for(var r="function"==typeof require&&require,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(e,t){(function(n){function i(){function e(){v.windowLoaded=!0}n.addEventListener?n.addEventListener("load",e):n.attachEvent&&n.attachEvent("onload",e),v.codeLoadEnd=(new Date).getTime()} /** @license ============== DO NOT ALTER ANYTHING BELOW THIS LINE ! ============ Adobe Visitor API for JavaScript version: 3.1.2 Copyright 1996-2015 Adobe, Inc. All Rights Reserved More info available at https://marketing.adobe.com/resources/help/en_US/mcvid/ */var a=e("./child/ChildVisitor"),r=e("./child/Message"),s=e("./child/makeChildMessageListener"),o=e("./utils/asyncParallelApply"),c=e("./utils/enums"),l=e("./utils/utils"),u=e("./utils/getDomain"),d=e("./units/version"),f=e("./units/crossDomain"),g=e("@adobe-mcid/visitor-js-shared/lib/ids/generateRandomID"),h=e("./units/makeCorsRequest"),p=e("./units/makeDestinationPublishing"),m=e("./utils/constants"),v=function(e,t,i){function a(e){var t=e;return function(e){var n=e||k.location.href;try{var i=S._extractParamFromUri(n,t);if(i)return U.parsePipeDelimetedKeyValues(i)}catch(e){}}}function v(e){function t(e,t){e&&e.match(m.VALID_VISITOR_ID_REGEX)&&t(e)}t(e[E],S.setMarketingCloudVisitorID),S._setFieldExpire(N,-1),t(e[V],S.setAnalyticsVisitorID)}function y(e){e=e||{},S._supplementalDataIDCurrent=e.supplementalDataIDCurrent||"",S._supplementalDataIDCurrentConsumed=e.supplementalDataIDCurrentConsumed||{},S._supplementalDataIDLast=e.supplementalDataIDLast||"",S._supplementalDataIDLastConsumed=e.supplementalDataIDLastConsumed||{}}function b(e){function t(e,t,n){return(n=n?n+="|":n)+(e+"=")+encodeURIComponent(t)}function n(e){return(e=e?e+="|":e)+"TS="+U.getTimestampInSeconds()}function i(e,n){var i=n[0],a=n[1];return null!=a&&a!==F&&(e=t(i,a,e)),e}return n(e.reduce(i,""))}function A(e){var t=20160,n=e.minutesToLive,i="";return(S.idSyncDisableSyncs||S.disableIdSyncs)&&(i=i||"Error: id syncs have been disabled"),"string"==typeof e.dpid&&e.dpid.length||(i=i||"Error: config.dpid is empty"),"string"==typeof e.url&&e.url.length||(i=i||"Error: config.url is empty"),void 0===n?n=t:(n=parseInt(n,10),(isNaN(n)||n<=0)&&(i=i||"Error: config.minutesToLive needs to be a positive number")),{error:i,ttl:n}}if(!i||i.split("").reverse().join("")!==e)throw new Error("Please use `Visitor.getInstance` to instantiate Visitor.");var S=this;S.version="3.1.2";var k=n,_=k.Visitor;_.version=S.version,_.AuthState=c.AUTH_STATE,_.OptOut=c.OPT_OUT,k.s_c_in||(k.s_c_il=[],k.s_c_in=0),S._c="Visitor",S._il=k.s_c_il,S._in=k.s_c_in,S._il[S._in]=S,k.s_c_in++,S._log={requests:[]},S.marketingCloudOrgID=e,S.cookieName="AMCV_"+e,S.sessionCookieName="AMCVS_"+e,S.cookieDomain=u(),S.cookieDomain===k.location.hostname&&(S.cookieDomain=""),S.loadSSL=k.location.protocol.toLowerCase().indexOf("https")>=0,S.loadTimeout=3e4,S.CORSErrors=[],S.marketingCloudServer=S.audienceManagerServer="dpm.demdex.net",S.sdidParamExpiry=30;var D=k.document,C=null,I="MC",E="MCMID",T="MCORGID",w="MCCIDH",L="MCSYNCSOP",P="MCIDTS",M="MCOPTOUT",O="A",V="MCAID",x="AAM",R="MCAAMLH",N="MCAAMB",F="NONE",H=function(e){return!Object.prototype[e]},B=h(S,z);S.FIELDS=c.FIELDS,S.cookieRead=function(e){e=encodeURIComponent(e);var t=(";"+D.cookie).split(" ").join(";"),n=t.indexOf(";"+e+"="),i=n<0?n:t.indexOf(";",n+1);return n<0?"":decodeURIComponent(t.substring(n+2+e.length,i<0?t.length:i))},S.cookieWrite=function(e,t,n){var i,a=S.cookieLifetime;if(t=""+t,a=a?(""+a).toUpperCase():"",n&&"SESSION"!==a&&"NONE"!==a){if(i=""!==t?parseInt(a||0,10):-60)(n=new Date).setTime(n.getTime()+1e3*i);else if(1===n){var r=(n=new Date).getYear();n.setYear(r+2+(r<1900?1900:0))}}else n=0;return e&&"NONE"!==a?(D.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(n?" expires="+n.toGMTString()+";":"")+(S.cookieDomain?" domain="+S.cookieDomain+";":""),S.cookieRead(e)===t):0},S.resetState=function(e){e?S._mergeServerState(e):y()},S._isAllowedDone=!1,S._isAllowedFlag=!1,S.isAllowed=function(){return S._isAllowedDone||(S._isAllowedDone=!0,(S.cookieRead(S.cookieName)||S.cookieWrite(S.cookieName,"T",1))&&(S._isAllowedFlag=!0)),S._isAllowedFlag},S.setMarketingCloudVisitorID=function(e){S._setMarketingCloudFields(e)},S._use1stPartyMarketingCloudServer=!1,S.getMarketingCloudVisitorID=function(e,t){if(S.isAllowed()){S.marketingCloudServer&&S.marketingCloudServer.indexOf(".demdex.net")<0&&(S._use1stPartyMarketingCloudServer=!0);var n=S._getAudienceManagerURLData("_setMarketingCloudFields"),i=n.url;return S._getRemoteField(E,i,e,t,n)}return""},S.getVisitorValues=function(e,t){var n={MCMID:{fn:S.getMarketingCloudVisitorID,args:[!0],context:S},MCOPTOUT:{fn:S.isOptedOut,args:[void 0,!0],context:S},MCAID:{fn:S.getAnalyticsVisitorID,args:[!0],context:S},MCAAMLH:{fn:S.getAudienceManagerLocationHint,args:[!0],context:S},MCAAMB:{fn:S.getAudienceManagerBlob,args:[!0],context:S}},i=t&&t.length?U.pluck(n,t):n;o(i,e)},S._currentCustomerIDs={},S._customerIDsHashChanged=!1,S._newCustomerIDsHash="",S.setCustomerIDs=function(e){function t(){S._customerIDsHashChanged=!1}if(S.isAllowed()&&e){var n,i;for(n in S._readVisitor(),e)if(H(n)&&(i=e[n]))if("object"==typeof i){var a={};i.id&&(a.id=i.id),null!=i.authState&&(a.authState=i.authState),S._currentCustomerIDs[n]=a}else S._currentCustomerIDs[n]={id:i};var r=S.getCustomerIDs(),s=S._getField(w),o="";for(n in s||(s=0),r)H(n)&&(o+=(o?"|":"")+n+"|"+((i=r[n]).id?i.id:"")+(i.authState?i.authState:""));S._newCustomerIDsHash=S._hash(o),S._newCustomerIDsHash!==s&&(S._customerIDsHashChanged=!0,S._mapCustomerIDs(t))}},S.getCustomerIDs=function(){S._readVisitor();var e,t,n={};for(e in S._currentCustomerIDs)H(e)&&(t=S._currentCustomerIDs[e],n[e]||(n[e]={}),t.id&&(n[e].id=t.id),null!=t.authState?n[e].authState=t.authState:n[e].authState=_.AuthState.UNKNOWN);return n},S.setAnalyticsVisitorID=function(e){S._setAnalyticsFields(e)},S.getAnalyticsVisitorID=function(e,t,n){if(!U.isTrackingServerPopulated()&&!n)return S._callCallback(e,[""]),"";if(S.isAllowed()){var i="";if(n||(i=S.getMarketingCloudVisitorID(function(){S.getAnalyticsVisitorID(e,!0)})),i||n){var a=n?S.marketingCloudServer:S.trackingServer,r="";S.loadSSL&&(n?S.marketingCloudServerSecure&&(a=S.marketingCloudServerSecure):S.trackingServerSecure&&(a=S.trackingServerSecure));var s={};if(a){var o="http"+(S.loadSSL?"s":"")+"://"+a+"/id",c="d_visid_ver="+S.version+"&mcorgid="+encodeURIComponent(S.marketingCloudOrgID)+(i?"&mid="+encodeURIComponent(i):"")+(S.idSyncDisable3rdPartySyncing||S.disableThirdPartyCookies?"&d_coppa=true":""),l=["s_c_il",S._in,"_set"+(n?"MarketingCloud":"Analytics")+"Fields"];r=o+"?"+c+"&callback=s_c_il%5B"+S._in+"%5D._set"+(n?"MarketingCloud":"Analytics")+"Fields",s.corsUrl=o+"?"+c,s.callback=l}return s.url=r,S._getRemoteField(n?E:V,r,e,t,s)}}return""},S.getAudienceManagerLocationHint=function(e,t){if(S.isAllowed()&&S.getMarketingCloudVisitorID(function(){S.getAudienceManagerLocationHint(e,!0)})){var n=S._getField(V);if(!n&&U.isTrackingServerPopulated()&&(n=S.getAnalyticsVisitorID(function(){S.getAudienceManagerLocationHint(e,!0)})),n||!U.isTrackingServerPopulated()){var i=S._getAudienceManagerURLData(),a=i.url;return S._getRemoteField(R,a,e,t,i)}}return""},S.getLocationHint=S.getAudienceManagerLocationHint,S.getAudienceManagerBlob=function(e,t){if(S.isAllowed()&&S.getMarketingCloudVisitorID(function(){S.getAudienceManagerBlob(e,!0)})){var n=S._getField(V);if(!n&&U.isTrackingServerPopulated()&&(n=S.getAnalyticsVisitorID(function(){S.getAudienceManagerBlob(e,!0)})),n||!U.isTrackingServerPopulated()){var i=S._getAudienceManagerURLData(),a=i.url;return S._customerIDsHashChanged&&S._setFieldExpire(N,-1),S._getRemoteField(N,a,e,t,i)}}return""},S._supplementalDataIDCurrent="",S._supplementalDataIDCurrentConsumed={},S._supplementalDataIDLast="",S._supplementalDataIDLastConsumed={},S.getSupplementalDataID=function(e,t){S._supplementalDataIDCurrent||t||(S._supplementalDataIDCurrent=S._generateID(1));var n=S._supplementalDataIDCurrent;return S._supplementalDataIDLast&&!S._supplementalDataIDLastConsumed[e]?(n=S._supplementalDataIDLast,S._supplementalDataIDLastConsumed[e]=!0):n&&(S._supplementalDataIDCurrentConsumed[e]&&(S._supplementalDataIDLast=S._supplementalDataIDCurrent,S._supplementalDataIDLastConsumed=S._supplementalDataIDCurrentConsumed,S._supplementalDataIDCurrent=n=t?"":S._generateID(1),S._supplementalDataIDCurrentConsumed={}),n&&(S._supplementalDataIDCurrentConsumed[e]=!0)),n},S.getOptOut=function(e,t){if(S.isAllowed()){var n=S._getAudienceManagerURLData("_setMarketingCloudFields"),i=n.url;return S._getRemoteField(M,i,e,t,n)}return""},S.isOptedOut=function(e,t,n){if(S.isAllowed()){t||(t=_.OptOut.GLOBAL);var i=S.getOptOut(function(n){var i=n===_.OptOut.GLOBAL||n.indexOf(t)>=0;S._callCallback(e,[i])},n);return i?i===_.OptOut.GLOBAL||i.indexOf(t)>=0:null}return!1},S._fields=null,S._fieldsExpired=null,S._hash=function(e){var t,n=0;if(e)for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n&=n;return n},S._generateID=g,S._generateLocalMID=function(){var e=S._generateID(0);return q.isClientSideMarketingCloudVisitorID=!0,e},S._callbackList=null,S._callCallback=function(e,t){try{"function"==typeof e?e.apply(k,t):e[1].apply(e[0],t)}catch(e){}},S._registerCallback=function(e,t){t&&(null==S._callbackList&&(S._callbackList={}),null==S._callbackList[e]&&(S._callbackList[e]=[]),S._callbackList[e].push(t))},S._callAllCallbacks=function(e,t){if(null!=S._callbackList){var n=S._callbackList[e];if(n)for(;n.length>0;)S._callCallback(n.shift(),t)}},S._addQuerystringParam=function(e,t,n,i){var a=encodeURIComponent(t)+"="+encodeURIComponent(n),r=U.parseHash(e),s=U.hashlessUrl(e);if(-1===s.indexOf("?"))return s+"?"+a+r;var o=s.split("?"),c=o[0]+"?",l=o[1];return c+U.addQueryParamAtLocation(l,a,i)+r},S._extractParamFromUri=function(e,t){var n=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);if(n&&n.length)return decodeURIComponent(n[1])},S._parseAdobeMcFromUrl=a(m.ADOBE_MC),S._parseAdobeMcSdidFromUrl=a(m.ADOBE_MC_SDID),S._attemptToPopulateSdidFromUrl=function(t){var n=S._parseAdobeMcSdidFromUrl(t),i=1e9;n&&n.TS&&(i=U.getTimestampInSeconds()-n.TS),n&&n.SDID&&n[T]===e&&i<S.sdidParamExpiry&&(S._supplementalDataIDCurrent=n.SDID,S._supplementalDataIDCurrentConsumed.SDID_URL_PARAM=!0)},S._attemptToPopulateIdsFromUrl=function(){var t=S._parseAdobeMcFromUrl();if(t&&t.TS){var n=U.getTimestampInSeconds()-t.TS;if(Math.floor(n/60)>m.ADOBE_MC_TTL_IN_MIN||t[T]!==e)return;v(t)}},S._mergeServerState=function(e){function t(e){U.isObject(e)&&S.setCustomerIDs(e)}function n(e){return U.isObject(e)?e:JSON.parse(e)}if(e)try{if((e=n(e))[S.marketingCloudOrgID]){var i=e[S.marketingCloudOrgID];t(i.customerIDs),y(i.sdid)}}catch(e){throw new Error("`serverState` has an invalid format.")}},S._timeout=null,S._loadData=function(e,t,n,i){var a="d_fieldgroup";t=S._addQuerystringParam(t,a,e,1),i.url=S._addQuerystringParam(i.url,a,e,1),i.corsUrl=S._addQuerystringParam(i.corsUrl,a,e,1),q.fieldGroupObj[e]=!0,i===Object(i)&&i.corsUrl&&"XMLHttpRequest"===B.corsMetadata.corsType&&B.fireCORS(i,n,e)},S._clearTimeout=function(e){null!=S._timeout&&S._timeout[e]&&(clearTimeout(S._timeout[e]),S._timeout[e]=0)},S._settingsDigest=0,S._getSettingsDigest=function(){if(!S._settingsDigest){var e=S.version;S.audienceManagerServer&&(e+="|"+S.audienceManagerServer),S.audienceManagerServerSecure&&(e+="|"+S.audienceManagerServerSecure),S._settingsDigest=S._hash(e)}return S._settingsDigest},S._readVisitorDone=!1,S._readVisitor=function(){if(!S._readVisitorDone){S._readVisitorDone=!0;var e,t,n,i,a,r,s=S._getSettingsDigest(),o=!1,c=S.cookieRead(S.cookieName),l=new Date;if(null==S._fields&&(S._fields={}),c&&"T"!==c)for((c=c.split("|"))[0].match(/^[\-0-9]+$/)&&(parseInt(c[0],10)!==s&&(o=!0),c.shift()),c.length%2==1&&c.pop(),e=0;e<c.length;e+=2)n=(t=c[e].split("-"))[0],i=c[e+1],t.length>1?(a=parseInt(t[1],10),r=t[1].indexOf("s")>0):(a=0,r=!1),o&&(n===w&&(i=""),a>0&&(a=l.getTime()/1e3-60)),n&&i&&(S._setField(n,i,1),a>0&&(S._fields["expire"+n]=a+(r?"s":""),(l.getTime()>=1e3*a||r&&!S.cookieRead(S.sessionCookieName))&&(S._fieldsExpired||(S._fieldsExpired={}),S._fieldsExpired[n]=!0)));!S._getField(V)&&U.isTrackingServerPopulated()&&((c=S.cookieRead("s_vi"))&&((c=c.split("|")).length>1&&c[0].indexOf("v1")>=0&&((e=(i=c[1]).indexOf("["))>=0&&(i=i.substring(0,e)),i&&i.match(m.VALID_VISITOR_ID_REGEX)&&S._setField(V,i))))}},S._appendVersionTo=function(e){var t="vVersion|"+S.version,n=e?S._getCookieVersion(e):null;return n?d.areVersionsDifferent(n,S.version)&&(e=e.replace(m.VERSION_REGEX,t)):e+=(e?"|":"")+t,e},S._writeVisitor=function(){var e,t,n=S._getSettingsDigest();for(e in S._fields)H(e)&&S._fields[e]&&"expire"!==e.substring(0,6)&&(t=S._fields[e],n+=(n?"|":"")+e+(S._fields["expire"+e]?"-"+S._fields["expire"+e]:"")+"|"+t);n=S._appendVersionTo(n),S.cookieWrite(S.cookieName,n,1)},S._getField=function(e,t){return null==S._fields||!t&&S._fieldsExpired&&S._fieldsExpired[e]?null:S._fields[e]},S._setField=function(e,t,n){null==S._fields&&(S._fields={}),S._fields[e]=t,n||S._writeVisitor()},S._getFieldList=function(e,t){var n=S._getField(e,t);return n?n.split("*"):null},S._setFieldList=function(e,t,n){S._setField(e,t?t.join("*"):"",n)},S._getFieldMap=function(e,t){var n=S._getFieldList(e,t);if(n){var i,a={};for(i=0;i<n.length;i+=2)a[n[i]]=n[i+1];return a}return null},S._setFieldMap=function(e,t,n){var i,a=null;if(t)for(i in a=[],t)H(i)&&(a.push(i),a.push(t[i]));S._setFieldList(e,a,n)},S._setFieldExpire=function(e,t,n){var i=new Date;i.setTime(i.getTime()+1e3*t),null==S._fields&&(S._fields={}),S._fields["expire"+e]=Math.floor(i.getTime()/1e3)+(n?"s":""),t<0?(S._fieldsExpired||(S._fieldsExpired={}),S._fieldsExpired[e]=!0):S._fieldsExpired&&(S._fieldsExpired[e]=!1),n&&(S.cookieRead(S.sessionCookieName)||S.cookieWrite(S.sessionCookieName,"1"))},S._findVisitorID=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&&("NOTARGET"===(e=e.toUpperCase())&&(e=F)),e&&(e===F||e.match(m.VALID_VISITOR_ID_REGEX))||(e="")),e},S._setFields=function(e,t){if(S._clearTimeout(e),null!=S._loading&&(S._loading[e]=!1),q.fieldGroupObj[e]&&q.setState(e,!1),e===I){!0!==q.isClientSideMarketingCloudVisitorID&&(q.isClientSideMarketingCloudVisitorID=!1);var n=S._getField(E);if(!n||S.overwriteCrossDomainMCIDAndAID){if(!(n="object"==typeof t&&t.mid?t.mid:S._findVisitorID(t))){if(S._use1stPartyMarketingCloudServer&&!S.tried1stPartyMarketingCloudServer)return S.tried1stPartyMarketingCloudServer=!0,void S.getAnalyticsVisitorID(null,!1,!0);n=S._generateLocalMID()}S._setField(E,n)}n&&n!==F||(n=""),"object"==typeof t&&((t.d_region||t.dcs_region||t.d_blob||t.blob)&&S._setFields(x,t),S._use1stPartyMarketingCloudServer&&t.mid&&S._setFields(O,{id:t.id})),S._callAllCallbacks(E,[n])}if(e===x&&"object"==typeof t){var i=604800;null!=t.id_sync_ttl&&t.id_sync_ttl&&(i=parseInt(t.id_sync_ttl,10));var a=j.getRegionAndCheckIfChanged(t,i);S._callAllCallbacks(R,[a]);var r=S._getField(N);(t.d_blob||t.blob)&&((r=t.d_blob)||(r=t.blob),S._setFieldExpire(N,i),S._setField(N,r)),r||(r=""),S._callAllCallbacks(N,[r]),!t.error_msg&&S._newCustomerIDsHash&&S._setField(w,S._newCustomerIDsHash)}if(e===O){var s=S._getField(V);s&&!S.overwriteCrossDomainMCIDAndAID||((s=S._findVisitorID(t))?s!==F&&S._setFieldExpire(N,-1):s=F,S._setField(V,s)),s&&s!==F||(s=""),S._callAllCallbacks(V,[s])}if(S.idSyncDisableSyncs||S.disableIdSyncs)j.idCallNotProcesssed=!0;else{j.idCallNotProcesssed=!1;var o={};o.ibs=t.ibs,o.subdomain=t.subdomain,j.processIDCallData(o)}var c,l;t===Object(t)&&(S.isAllowed()&&(c=S._getField(M)),c||(c=F,t.d_optout&&t.d_optout instanceof Array&&(c=t.d_optout.join(",")),l=parseInt(t.d_ottl,10),isNaN(l)&&(l=7200),S._setFieldExpire(M,l,!0),S._setField(M,c)),S._callAllCallbacks(M,[c]))},S._loading=null,S._getRemoteField=function(e,t,n,i,a){var r,s="",o=U.isFirstPartyAnalyticsVisitorIDCall(e),c={MCAAMLH:!0,MCAAMB:!0};if(S.isAllowed())if(S._readVisitor(),s=S._getField(e,!0===c[e]),function(){return(!s||S._fieldsExpired&&S._fieldsExpired[e])&&(!S.disableThirdPartyCalls||o)}()){if(e===E||e===M?r=I:e===R||e===N?r=x:e===V&&(r=O),r)return!t||null!=S._loading&&S._loading[r]||(null==S._loading&&(S._loading={}),S._loading[r]=!0,S._loadData(r,t,function(t){if(!S._getField(e)){t&&q.setState(r,!0);var n="";e===E?n=S._generateLocalMID():r===x&&(n={error_msg:"timeout"}),S._setFields(r,n)}},a)),S._registerCallback(e,n),s||(t||S._setFields(r,{id:F}),"")}else s||(e===E?(S._registerCallback(e,n),s=S._generateLocalMID(),S.setMarketingCloudVisitorID(s)):e===V?(S._registerCallback(e,n),s="",S.setAnalyticsVisitorID(s)):(s="",i=!0));return e!==E&&e!==V||s!==F||(s="",i=!0),n&&i&&S._callCallback(n,[s]),s},S._setMarketingCloudFields=function(e){S._readVisitor(),S._setFields(I,e)},S._mapCustomerIDs=function(e){S.getAudienceManagerBlob(e,!0)},S._setAnalyticsFields=function(e){S._readVisitor(),S._setFields(O,e)},S._setAudienceManagerFields=function(e){S._readVisitor(),S._setFields(x,e)},S._getAudienceManagerURLData=function(e){var t=S.audienceManagerServer,n="",i=S._getField(E),a=S._getField(N,!0),r=S._getField(V),s=r&&r!==F?"&d_cid_ic=AVID%01"+encodeURIComponent(r):"";if(S.loadSSL&&S.audienceManagerServerSecure&&(t=S.audienceManagerServerSecure),t){var o,c,l=S.getCustomerIDs();if(l)for(o in l)H(o)&&(c=l[o],s+="&d_cid_ic="+encodeURIComponent(o)+"%01"+encodeURIComponent(c.id?c.id:"")+(c.authState?"%01"+c.authState:""));e||(e="_setAudienceManagerFields");var u="http"+(S.loadSSL?"s":"")+"://"+t+"/id",d="d_visid_ver="+S.version+"&d_rtbd=json&d_ver=2"+(!i&&S._use1stPartyMarketingCloudServer?"&d_verify=1":"")+"&d_orgid="+encodeURIComponent(S.marketingCloudOrgID)+"&d_nsid="+(S.idSyncContainerID||0)+(i?"&d_mid="+encodeURIComponent(i):"")+(S.idSyncDisable3rdPartySyncing||S.disableThirdPartyCookies?"&d_coppa=true":"")+(!0===C?"&d_coop_safe=1":!1===C?"&d_coop_unsafe=1":"")+(a?"&d_blob="+encodeURIComponent(a):"")+s,f=["s_c_il",S._in,e];return{url:n=u+"?"+d+"&d_cb=s_c_il%5B"+S._in+"%5D."+e,corsUrl:u+"?"+d,callback:f}}return{url:n}},S.appendVisitorIDsTo=function(e){try{var t=[[E,S._getField(E)],[V,S._getField(V)],[T,S.marketingCloudOrgID]];return S._addQuerystringParam(e,m.ADOBE_MC,b(t))}catch(t){return e}},S.appendSupplementalDataIDTo=function(e,t){if(!(t=t||S.getSupplementalDataID(U.generateRandomString(),!0)))return e;try{var n=b([["SDID",t],[T,S.marketingCloudOrgID]]);return S._addQuerystringParam(e,m.ADOBE_MC_SDID,n)}catch(t){return e}};var U={parseHash:function(e){var t=e.indexOf("#");return t>0?e.substr(t):""},hashlessUrl:function(e){var t=e.indexOf("#");return t>0?e.substr(0,t):e},addQueryParamAtLocation:function(e,t,n){var i=e.split("&");return n=null!=n?n:i.length,i.splice(n,0,t),i.join("&")},isFirstPartyAnalyticsVisitorIDCall:function(e,t,n){return e===V&&(t||(t=S.trackingServer),n||(n=S.trackingServerSecure),!("string"!=typeof(i=S.loadSSL?n:t)||!i.length)&&i.indexOf("2o7.net")<0&&i.indexOf("omtrdc.net")<0);var i},isObject:function(e){return Boolean(e&&e===Object(e))},removeCookie:function(e){document.cookie=encodeURIComponent(e)+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"+(S.cookieDomain?" domain="+S.cookieDomain+";":"")},isTrackingServerPopulated:function(){return!!S.trackingServer||!!S.trackingServerSecure},getTimestampInSeconds:function(){return Math.round((new Date).getTime()/1e3)},parsePipeDelimetedKeyValues:function(e){return e.split("|").reduce(function(e,t){var n=t.split("=");return e[n[0]]=decodeURIComponent(n[1]),e},{})},generateRandomString:function(e){e=e||5;for(var t="",n="abcdefghijklmnopqrstuvwxyz0123456789";e--;)t+=n[Math.floor(Math.random()*n.length)];return t},parseBoolean:function(e){return"true"===e||"false"!==e&&null},replaceMethodsWithFunction:function(e,t){for(var n in e)e.hasOwnProperty(n)&&"function"==typeof e[n]&&(e[n]=t);return e},pluck:function(e,t){return t.reduce(function(t,n){return e[n]&&(t[n]=e[n]),t},Object.create(null))}};S._helpers=U;var j=p(S,_);S._destinationPublishing=j,S.timeoutMetricsLog=[];var z,q={isClientSideMarketingCloudVisitorID:null,MCIDCallTimedOut:null,AnalyticsIDCallTimedOut:null,AAMIDCallTimedOut:null,fieldGroupObj:{},setState:function(e,t){switch(e){case I:!1===t?!0!==this.MCIDCallTimedOut&&(this.MCIDCallTimedOut=!1):this.MCIDCallTimedOut=t;break;case O:!1===t?!0!==this.AnalyticsIDCallTimedOut&&(this.AnalyticsIDCallTimedOut=!1):this.AnalyticsIDCallTimedOut=t;break;case x:!1===t?!0!==this.AAMIDCallTimedOut&&(this.AAMIDCallTimedOut=!1):this.AAMIDCallTimedOut=t}}};S.isClientSideMarketingCloudVisitorID=function(){return q.isClientSideMarketingCloudVisitorID},S.MCIDCallTimedOut=function(){return q.MCIDCallTimedOut},S.AnalyticsIDCallTimedOut=function(){return q.AnalyticsIDCallTimedOut},S.AAMIDCallTimedOut=function(){return q.AAMIDCallTimedOut},S.idSyncGetOnPageSyncInfo=function(){return S._readVisitor(),S._getField(L)},S.idSyncByURL=function(e){var t=A(e||{});if(t.error)return t.error;var n,i,a=e.url,r=encodeURIComponent,s=j;return a=a.replace(/^https:/,"").replace(/^http:/,""),n=l.encodeAndBuildRequest(["",e.dpid,e.dpuuid||""],","),i=["ibs",r(e.dpid),"img",r(a),t.ttl,"",n],s.addMessage(i.join("|")),s.requestToProcess(),"Successfully queued"},S.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,S.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},S._getCookieVersion=function(e){e=e||S.cookieRead(S.cookieName);var t=m.VERSION_REGEX.exec(e);return t&&t.length>1?t[1]:null},S._resetAmcvCookie=function(e){var t=S._getCookieVersion();t&&!d.isLessThan(t,e)||U.removeCookie(S.cookieName)},S.setAsCoopSafe=function(){C=!0},S.setAsCoopUnsafe=function(){C=!1},S.init=function(){function n(){if(t&&"object"==typeof t){for(var e in S.configs=Object.create(null),t)H(e)&&(S[e]=t[e],S.configs[e]=t[e]);S.idSyncContainerID=S.idSyncContainerID||0,C="boolean"==typeof S.isCoopSafe?S.isCoopSafe:U.parseBoolean(S.isCoopSafe),S.resetBeforeVersion&&S._resetAmcvCookie(S.resetBeforeVersion),S._attemptToPopulateIdsFromUrl(),S._attemptToPopulateSdidFromUrl(),S._readVisitor();var n=S._getField(P),i=Math.ceil((new Date).getTime()/m.MILLIS_PER_DAY);S.idSyncDisableSyncs||S.disableIdSyncs||!j.canMakeSyncIDCall(n,i)||(S._setFieldExpire(N,-1),S._setField(P,i)),S.getMarketingCloudVisitorID(),S.getAudienceManagerLocationHint(),S.getAudienceManagerBlob(),S._mergeServerState(S.serverState)}else S._attemptToPopulateIdsFromUrl(),S._attemptToPopulateSdidFromUrl()}function i(){if(!S.idSyncDisableSyncs&&!S.disableIdSyncs){j.checkDPIframeSrc();var e=function(){var e=j;e.readyToAttachIframe()&&e.attachIframe()};k.addEventListener("load",function(){_.windowLoaded=!0,e()});try{f.receiveMessage(function(e){j.receiveMessage(e.data)},j.iframeHost)}catch(e){}}}function a(){S.whitelistIframeDomains&&m.POST_MESSAGE_ENABLED&&(S.whitelistIframeDomains=S.whitelistIframeDomains instanceof Array?S.whitelistIframeDomains:[S.whitelistIframeDomains],S.whitelistIframeDomains.forEach(function(t){var n=new r(e,t),i=s(S,n);f.receiveMessage(i,t)}))}n(),i(),a()}};v.getInstance=function(e,t){function i(){var t=n.s_c_il;if(t)for(var i=0;i<t.length;i++){var a=t[i];if(a&&"Visitor"===a._c&&a.marketingCloudOrgID===e)return a}}function r(){try{return n.self!==n.parent}catch(e){return!0}}function s(){n.s_c_il.splice(--n.s_c_in,1)}function o(e){var t="TEST_AMCV_COOKIE";return e.cookieWrite(t,"T",1),"T"===e.cookieRead(t)&&(e._helpers.removeCookie(t),!0)}if(!e)throw new Error("Visitor requires Adobe Marketing Cloud Org ID.");e.indexOf("@")<0&&(e+="@AdobeOrg");var c=i();if(c)return c;var u=e.split("").reverse().join(""),d=new v(e,null,u);s();var f=l.getIeVersion();if("number"==typeof f&&f<10)return d._helpers.replaceMethodsWithFunction(d,function(){});var g=r()&&!o(d)&&n.parent?new a(e,t,d,n.parent):new v(e,t,u);return d=null,g.init(),g},i(),n.Visitor=v,t.exports=v}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./child/ChildVisitor":2,"./child/Message":3,"./child/makeChildMessageListener":4,"./units/crossDomain":8,"./units/makeCorsRequest":9,"./units/makeDestinationPublishing":10,"./units/version":11,"./utils/asyncParallelApply":12,"./utils/constants":14,"./utils/enums":15,"./utils/getDomain":16,"./utils/utils":18,"@adobe-mcid/visitor-js-shared/lib/ids/generateRandomID":19}],2:[function(e,t){(function(n){e("../utils/polyfills");var i=e("./strategies/LocalVisitor"),a=e("./strategies/ProxyVisitor"),r=e("./strategies/PlaceholderVisitor"),s=e("../utils/callbackRegistryFactory"),o=e("./Message"),c=e("../utils/enums").MESSAGES;t.exports=function(e,t,l,u){function d(e){Object.assign(A,e)}function f(e){Object.assign(A.state,e),A.callbackRegistry.executeAll(A.state)}function g(e){if(!_.isInvalid(e)){k=!1;var t=_.parse(e);A.setStateAndPublish(t.state)}}function h(e){!k&&S&&(k=!0,_.send(u,e))}function p(){var e=!0;d(new i(l._generateID)),A.getMarketingCloudVisitorID(),A.callbackRegistry.executeAll(A.state,e),n.removeEventListener("message",m)}function m(e){if(!_.isInvalid(e)){var t=_.parse(e);k=!1,n.clearTimeout(this.timeout),n.removeEventListener("message",m),d(new a(A)),n.addEventListener("message",g),A.setStateAndPublish(t.state),A.callbackRegistry.hasCallbacks()&&h(c.GETSTATE)}}function v(){var e=250;S&&postMessage?(n.addEventListener("message",m),h(c.HANDSHAKE),this.timeout=setTimeout(p,e)):p()}function y(){n.s_c_in||(n.s_c_il=[],n.s_c_in=0),A._c="Visitor",A._il=n.s_c_il,A._in=n.s_c_in,A._il[A._in]=A,n.s_c_in++}function b(){function e(e){0!==e.indexOf("_")&&"function"==typeof l[e]&&(A[e]=function(){})}Object.keys(l).forEach(e),A.getSupplementalDataID=l.getSupplementalDataID}var A=this,S=t.whitelistParentDomain;A.state={},A.version=l.version,A.marketingCloudOrgID=e;var k=!1,_=new o(e,S);A.callbackRegistry=s(),A.init=function(){y(),b(),d(new r(A)),v()},A.findField=function(e,t){if(A.state[e])return t(A.state[e]),A.state[e]},A.messageParent=h,A.setStateAndPublish=f}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/callbackRegistryFactory":13,"../utils/enums":15,"../utils/polyfills":17,"./Message":3,"./strategies/LocalVisitor":5,"./strategies/PlaceholderVisitor":6,"./strategies/ProxyVisitor":7}],3:[function(e,t){var n=e("../utils/enums").MESSAGES,i={0:"prefix",1:"orgID",2:"state"};t.exports=function(e,t){this.parse=function(e){try{var t={};return e.data.split("|").forEach(function(e,n){if(void 0!==e){var a=i[n];t[a]=2!==n?e:JSON.parse(e)}}),t}catch(e){}},this.isInvalid=function(i){var a=this.parse(i);if(!a||Object.keys(a).length<2)return!0;var r=e!==a.orgID,s=!t||i.origin!==t,o=-1===Object.keys(n).indexOf(a.prefix);return r||s||o},this.send=function(n,i,a){var r=i+"|"+e;a&&a===Object(a)&&(r+="|"+JSON.stringify(a));try{n.postMessage(r,t)}catch(e){}}}},{"../utils/enums":15}],4:[function(e,t){var n=e("../utils/enums"),i=e("../utils/utils"),a=n.MESSAGES,r=n.ALL_APIS,s=n.ASYNC_API_MAP,o=n.FIELDGROUP_TO_FIELD;t.exports=function(e,t){function n(){var t={};return Object.keys(r).forEach(function(n){var a=r[n],s=e[a]();i.isValueEmpty(s)||(t[n]=s)}),t}function c(){var t=[];return e._loading&&Object.keys(e._loading).forEach(function(n){if(e._loading[n]){var i=o[n];t.push(i)}}),t.length?t:null}function l(t){return function n(){var i=c();if(i){var a=s[i[0]];e[a](n,!0)}else t()}}function u(e,i){var a=n();t.send(e,i,a)}function d(e){g(e),u(e,a.HANDSHAKE)}function f(e){l(function(){u(e,a.PARENTSTATE)})()}function g(n){function i(i){r.call(e,i),t.send(n,a.PARENTSTATE,{CUSTOMERIDS:e.getCustomerIDs()})}var r=e.setCustomerIDs;e.setCustomerIDs=i}return function(e){t.isInvalid(e)||(t.parse(e).prefix===a.HANDSHAKE?d:f)(e.source)}}},{"../utils/enums":15,"../utils/utils":18}],5:[function(e,t){var n=e("../../utils/enums").STATE_KEYS_MAP;t.exports=function(e){function t(){}function i(t,i){var a=this;return function(){var t=e(0,n.MCMID),r={};return r[n.MCMID]=t,a.setStateAndPublish(r),i(t),t}}this.getMarketingCloudVisitorID=function(e){e=e||t;var a=this.findField(n.MCMID,e),r=i.call(this,n.MCMID,e);return void 0!==a?a:r()}}},{"../../utils/enums":15}],6:[function(e,t){var n=e("../../utils/enums").ASYNC_API_MAP;t.exports=function(){Object.keys(n).forEach(function(e){this[n[e]]=function(t){this.callbackRegistry.add(e,t)}},this)}},{"../../utils/enums":15}],7:[function(e,t){var n=e("../../utils/enums"),i=n.MESSAGES,a=n.ASYNC_API_MAP,r=n.SYNC_API_MAP;t.exports=function(){function e(){}function t(e,t){var n=this;return function(){return n.callbackRegistry.add(e,t),n.messageParent(i.GETSTATE),""}}function n(n){this[a[n]]=function(i){i=i||e;var a=this.findField(n,i),r=t.call(this,n,i);return void 0!==a?a:r()}}function s(t){this[r[t]]=function(){return this.findField(t,e)||{}}}Object.keys(a).forEach(n,this),Object.keys(r).forEach(s,this)}},{"../../utils/enums":15}],8:[function(e,t){(function(e){var n=!!e.postMessage;t.exports={postMessage:function(e,t,i){var a=1;t&&(n?i.postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1")):t&&(i.location=t.replace(/#.*$/,"")+"#"+ +new Date+a+++"&"+e))},receiveMessage:function(t,i){var a;try{n&&(t&&(a=function(e){return!("string"==typeof i&&e.origin!==i||"[object Function]"===Object.prototype.toString.call(i)&&!1===i(e.origin))&&void t(e)}),e.addEventListener?e[t?"addEventListener":"removeEventListener"]("message",a):e[t?"attachEvent":"detachEvent"]("onmessage",a))}catch(e){}}}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],9:[function(e,t){(function(e){t.exports=function(t){return{corsMetadata:(n="none",i=!0,"undefined"!=typeof XMLHttpRequest&&XMLHttpRequest===Object(XMLHttpRequest)&&("withCredentials"in new XMLHttpRequest?n="XMLHttpRequest":"undefined"!=typeof XDomainRequest&&XDomainRequest===Object(XDomainRequest)&&(i=!1),Object.prototype.toString.call(e.HTMLElement).indexOf("Constructor")>0&&(i=!1)),{corsType:n,corsCookiesEnabled:i}),getCORSInstance:function(){return"none"===this.corsMetadata.corsType?null:new e[this.corsMetadata.corsType]},fireCORS:function(n,i){function a(t){var i;try{if((i=JSON.parse(t))!==Object(i))return void r.handleCORSError(n,null,"Response is not JSON")}catch(e){return void r.handleCORSError(n,e,"Error parsing response as JSON")}try{for(var a=n.callback,s=e,o=0;o<a.length;o++)s=s[a[o]];s(i)}catch(e){r.handleCORSError(n,e,"Error forming callback function")}}var r=this;i&&(n.loadErrorHandler=i);try{var s=this.getCORSInstance();s.open("get",n.corsUrl+"&ts="+(new Date).getTime(),!0),"XMLHttpRequest"===this.corsMetadata.corsType&&(s.withCredentials=!0,s.timeout=t.loadTimeout,s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.onreadystatechange=function(){4===this.readyState&&200===this.status&&a(this.responseText)}),s.onerror=function(e){r.handleCORSError(n,e,"onerror")},s.ontimeout=function(e){r.handleCORSError(n,e,"ontimeout")},s.send(),t._log.requests.push(n.corsUrl)}catch(e){this.handleCORSError(n,e,"try-catch")}},handleCORSError:function(e,n,i){t.CORSErrors.push({corsData:e,error:n,description:i}),e.loadErrorHandler&&("ontimeout"===i?e.loadErrorHandler(!0):e.loadErrorHandler(!1))}};var n,i}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],10:[function(e,t){(function(n){var i=e("../utils/constants"),a=e("./crossDomain"),r=e("../utils/utils"),s="MCSYNCSOP",o="MCSYNCS",c="MCAAMLH";t.exports=function(e,t){var l=n.document;return{THROTTLE_START:3e4,MAX_SYNCS_LENGTH:649,throttleTimerSet:!1,id:null,onPagePixels:[],iframeHost:null,getIframeHost:function(e){if("string"==typeof e){var t=e.split("/");return t[0]+"//"+t[2]}},subdomain:null,url:null,getUrl:function(){var t,n="http://fast.",i="?d_nsid="+e.idSyncContainerID+"#"+encodeURIComponent(l.location.href);return this.subdomain||(this.subdomain="nosubdomainreturned"),e.loadSSL&&(n=e.idSyncSSLUseAkamai?"https://fast.":"https://"),t=n+this.subdomain+".demdex.net/dest5.html"+i,this.iframeHost=this.getIframeHost(t),this.id="destination_publishing_iframe_"+this.subdomain+"_"+e.idSyncContainerID,t},checkDPIframeSrc:function(){var t="?d_nsid="+e.idSyncContainerID+"#"+encodeURIComponent(l.location.href);"string"==typeof e.dpIframeSrc&&e.dpIframeSrc.length&&(this.id="destination_publishing_iframe_"+(e._subdomain||this.subdomain||(new Date).getTime())+"_"+e.idSyncContainerID,this.iframeHost=this.getIframeHost(e.dpIframeSrc),this.url=e.dpIframeSrc+t)},idCallNotProcesssed:null,doAttachIframe:!1,startedAttachingIframe:!1,iframeHasLoaded:null,iframeIdChanged:null,newIframeCreated:null,originalIframeHasLoadedAlready:null,regionChanged:!1,timesRegionChanged:0,sendingMessages:!1,messages:[],messagesPosted:[],messagesReceived:[],messageSendingInterval:i.POST_MESSAGE_ENABLED?null:100,jsonForComparison:[],jsonDuplicates:[],jsonWaiting:[],jsonProcessed:[],canSetThirdPartyCookies:!0,receivedThirdPartyCookiesNotification:!1, readyToAttachIframe:function(){return!e.idSyncDisable3rdPartySyncing&&(this.doAttachIframe||e._doAttachIframe)&&(this.subdomain&&"nosubdomainreturned"!==this.subdomain||e._subdomain)&&this.url&&!this.startedAttachingIframe},attachIframe:function(){function e(){(i=l.createElement("iframe")).sandbox="allow-scripts allow-same-origin",i.title="Adobe ID Syncing iFrame",i.id=n.id,i.name=n.id+"_name",i.style.cssText="display: none; width: 0; height: 0;",i.src=n.url,n.newIframeCreated=!0,t(),l.body.appendChild(i)}function t(){i.addEventListener("load",function(){i.className="aamIframeLoaded",n.iframeHasLoaded=!0,n.requestToProcess()})}this.startedAttachingIframe=!0;var n=this,i=l.getElementById(this.id);i?"IFRAME"!==i.nodeName?(this.id+="_2",this.iframeIdChanged=!0,e()):(this.newIframeCreated=!1,"aamIframeLoaded"!==i.className?(this.originalIframeHasLoadedAlready=!1,t()):(this.originalIframeHasLoadedAlready=!0,this.iframeHasLoaded=!0,this.iframe=i,this.requestToProcess())):e(),this.iframe=i},requestToProcess:function(t){function n(){r.jsonForComparison.push(t),r.jsonWaiting.push(t),r.processSyncOnPage(t)}var a,r=this;if(t===Object(t)&&t.ibs)if(a=JSON.stringify(t.ibs||[]),this.jsonForComparison.length){var s,o,c,l=!1;for(s=0,o=this.jsonForComparison.length;s<o;s++)if(c=this.jsonForComparison[s],a===JSON.stringify(c.ibs||[])){l=!0;break}l?this.jsonDuplicates.push(t):n()}else n();if((this.receivedThirdPartyCookiesNotification||!i.POST_MESSAGE_ENABLED||this.iframeHasLoaded)&&this.jsonWaiting.length){var u=this.jsonWaiting.shift();this.process(u),this.requestToProcess()}!e.idSyncDisableSyncs&&this.iframeHasLoaded&&this.messages.length&&!this.sendingMessages&&(this.throttleTimerSet||(this.throttleTimerSet=!0,setTimeout(function(){r.messageSendingInterval=i.POST_MESSAGE_ENABLED?null:150},this.THROTTLE_START)),this.sendingMessages=!0,this.sendMessages())},getRegionAndCheckIfChanged:function(t,n){var i=e._getField(c),a=t.d_region||t.dcs_region;return i?a&&(e._setFieldExpire(c,n),e._setField(c,a),parseInt(i,10)!==a&&(this.regionChanged=!0,this.timesRegionChanged++,e._setField(s,""),e._setField(o,""),i=a)):(i=a)&&(e._setFieldExpire(c,n),e._setField(c,i)),i||(i=""),i},processSyncOnPage:function(e){var t,n,i,a;if((t=e.ibs)&&t instanceof Array&&(n=t.length))for(i=0;i<n;i++)(a=t[i]).syncOnPage&&this.checkFirstPartyCookie(a,"","syncOnPage")},process:function(e){var t,n,i,a,s,o=encodeURIComponent,c="",l=!1;if((t=e.ibs)&&t instanceof Array&&(n=t.length))for(l=!0,i=0;i<n;i++)a=t[i],s=[o("ibs"),o(a.id||""),o(a.tag||""),r.encodeAndBuildRequest(a.url||[],","),o(a.ttl||""),"",c,a.fireURLSync?"true":"false"],a.syncOnPage||(this.canSetThirdPartyCookies?this.addMessage(s.join("|")):a.fireURLSync&&this.checkFirstPartyCookie(a,s.join("|")));l&&this.jsonProcessed.push(e)},checkFirstPartyCookie:function(t,n,a){var r="syncOnPage"===a,c=r?s:o;e._readVisitor();var l,u,d=e._getField(c),f=!1,g=!1,h=Math.ceil((new Date).getTime()/i.MILLIS_PER_DAY);d?(l=d.split("*"),f=(u=this.pruneSyncData(l,t.id,h)).dataPresent,g=u.dataValid,f&&g||this.fireSync(r,t,n,l,c,h)):(l=[],this.fireSync(r,t,n,l,c,h))},pruneSyncData:function(e,t,n){var i,a,r,s=!1,o=!1;for(a=0;a<e.length;a++)i=e[a],r=parseInt(i.split("-")[1],10),i.match("^"+t+"-")?(s=!0,n<r?o=!0:(e.splice(a,1),a--)):n>=r&&(e.splice(a,1),a--);return{dataPresent:s,dataValid:o}},manageSyncsSize:function(e){if(e.join("*").length>this.MAX_SYNCS_LENGTH)for(e.sort(function(e,t){return parseInt(e.split("-")[1],10)-parseInt(t.split("-")[1],10)});e.join("*").length>this.MAX_SYNCS_LENGTH;)e.shift()},fireSync:function(t,n,i,a,r,s){var o=this;if(t){if("img"===n.tag){var c,l,u,d,f=n.url,g=e.loadSSL?"https:":"http:";for(c=0,l=f.length;c<l;c++){u=f[c],d=/^\/\//.test(u);var h=new Image;h.addEventListener("load",function(t,n,i,a){return function(){o.onPagePixels[t]=null,e._readVisitor();var s,c,l,u,d=e._getField(r),f=[];if(d)for(c=0,l=(s=d.split("*")).length;c<l;c++)(u=s[c]).match("^"+n.id+"-")||f.push(u);o.setSyncTrackingData(f,n,i,a)}}(this.onPagePixels.length,n,r,s)),h.src=(d?g:"")+u,this.onPagePixels.push(h)}}}else this.addMessage(i),this.setSyncTrackingData(a,n,r,s)},addMessage:function(t){var n=encodeURIComponent(e._enableErrorReporting?"---destpub-debug---":"---destpub---");this.messages.push((i.POST_MESSAGE_ENABLED?"":n)+t)},setSyncTrackingData:function(t,n,i,a){t.push(n.id+"-"+(a+Math.ceil(n.ttl/60/24))),this.manageSyncsSize(t),e._setField(i,t.join("*"))},sendMessages:function(){var e,t=this,n="",a=encodeURIComponent;this.regionChanged&&(n=a("---destpub-clear-dextp---"),this.regionChanged=!1),this.messages.length?i.POST_MESSAGE_ENABLED?(e=n+a("---destpub-combined---")+this.messages.join("%01"),this.postMessage(e),this.messages=[],this.sendingMessages=!1):(e=this.messages.shift(),this.postMessage(n+e),setTimeout(function(){t.sendMessages()},this.messageSendingInterval)):this.sendingMessages=!1},postMessage:function(e){a.postMessage(e,this.url,this.iframe.contentWindow),this.messagesPosted.push(e)},receiveMessage:function(e){var t,n=/^---destpub-to-parent---/;"string"==typeof e&&n.test(e)&&("canSetThirdPartyCookies"===(t=e.replace(n,"").split("|"))[0]&&(this.canSetThirdPartyCookies="true"===t[1],this.receivedThirdPartyCookiesNotification=!0,this.requestToProcess()),this.messagesReceived.push(e))},processIDCallData:function(n){(null==this.url||n.subdomain&&"nosubdomainreturned"===this.subdomain)&&("string"==typeof e._subdomain&&e._subdomain.length?this.subdomain=e._subdomain:this.subdomain=n.subdomain||"",this.url=this.getUrl()),n.ibs instanceof Array&&n.ibs.length&&(this.doAttachIframe=!0),this.readyToAttachIframe()&&(e.idSyncAttachIframeOnWindowLoad?(t.windowLoaded||"complete"===l.readyState||"loaded"===l.readyState)&&this.attachIframe():this.attachIframeASAP()),"function"==typeof e.idSyncIDCallResult?e.idSyncIDCallResult(n):this.requestToProcess(n),"function"==typeof e.idSyncAfterIDCallResult&&e.idSyncAfterIDCallResult(n)},canMakeSyncIDCall:function(t,n){return e._forceSyncIDCall||!t||n-t>i.DAYS_BETWEEN_SYNC_ID_CALLS},attachIframeASAP:function(){function e(){t.startedAttachingIframe||(l.body?t.attachIframe():setTimeout(e,30))}var t=this;e()}}}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/constants":14,"../utils/utils":18,"./crossDomain":8}],11:[function(e,t){function n(e){for(var t=/^\d+$/,n=0,i=e.length;n<i;n++)if(!t.test(e[n]))return!1;return!0}function i(e,t){for(;e.length<t.length;)e.push("0");for(;t.length<e.length;)t.push("0")}function a(e,t){for(var n=0;n<e.length;n++){var i=parseInt(e[n],10),a=parseInt(t[n],10);if(i>a)return 1;if(a>i)return-1}return 0}function r(e,t){if(e===t)return 0;var r=e.toString().split("."),s=t.toString().split(".");return n(r.concat(s))?(i(r,s),a(r,s)):NaN}t.exports={compare:r,isLessThan:function(e,t){return r(e,t)<0},areVersionsDifferent:function(e,t){return 0!==r(e,t)},isGreaterThan:function(e,t){return r(e,t)>0},isEqual:function(e,t){return 0===r(e,t)}}},{}],12:[function(e,t){t.exports=function(e,t){function n(e){return function(n){i[e]=n,++a===r&&t(i)}}var i={},a=0,r=Object.keys(e).length;Object.keys(e).forEach(function(t){var i=e[t];if(i.fn){var a=i.args||[];a.unshift(n(t)),i.fn.apply(i.context||null,a)}})}},{}],13:[function(e,t){function n(){return{callbacks:{},add:function(e,t){this.callbacks[e]=this.callbacks[e]||[];var n=this.callbacks[e].push(t)-1;return function(){this.callbacks[e].splice(n,1)}},execute:function(e,t){if(this.callbacks[e]){t=(t=void 0===t?[]:t)instanceof Array?t:[t];try{for(;this.callbacks[e].length;){var n=this.callbacks[e].shift();"function"==typeof n?n.apply(null,t):n instanceof Array&&n[1].apply(n[0],t)}delete this.callbacks[e]}catch(e){}}},executeAll:function(e,t){(t||e&&!i.isObjectEmpty(e))&&Object.keys(this.callbacks).forEach(function(t){var n=void 0!==e[t]?e[t]:"";this.execute(t,n)},this)},hasCallbacks:function(){return Boolean(Object.keys(this.callbacks).length)}}}var i=e("./utils");t.exports=n},{"./utils":18}],14:[function(e,t){(function(e){t.exports={POST_MESSAGE_ENABLED:!!e.postMessage,DAYS_BETWEEN_SYNC_ID_CALLS:1,MILLIS_PER_DAY:864e5,ADOBE_MC:"adobe_mc",ADOBE_MC_SDID:"adobe_mc_sdid",VALID_VISITOR_ID_REGEX:/^[0-9a-fA-F\-]+$/,ADOBE_MC_TTL_IN_MIN:5,VERSION_REGEX:/vVersion\|((\d+\.)?(\d+\.)?(\*|\d+))(?=$|\|)/}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(e,t,n){n.MESSAGES={HANDSHAKE:"HANDSHAKE",GETSTATE:"GETSTATE",PARENTSTATE:"PARENTSTATE"},n.STATE_KEYS_MAP={MCMID:"MCMID",MCAID:"MCAID",MCAAMB:"MCAAMB",MCAAMLH:"MCAAMLH",MCOPTOUT:"MCOPTOUT",CUSTOMERIDS:"CUSTOMERIDS"},n.ASYNC_API_MAP={MCMID:"getMarketingCloudVisitorID",MCAID:"getAnalyticsVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"getOptOut"},n.SYNC_API_MAP={CUSTOMERIDS:"getCustomerIDs"},n.ALL_APIS={MCMID:"getMarketingCloudVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"getOptOut",MCAID:"getAnalyticsVisitorID",CUSTOMERIDS:"getCustomerIDs"},n.FIELDGROUP_TO_FIELD={MC:"MCMID",A:"MCAID",AAM:"MCAAMB"},n.FIELDS={MCMID:"MCMID",MCOPTOUT:"MCOPTOUT",MCAID:"MCAID",MCAAMLH:"MCAAMLH",MCAAMB:"MCAAMB"},n.AUTH_STATE={UNKNOWN:0,AUTHENTICATED:1,LOGGED_OUT:2},n.OPT_OUT={GLOBAL:"global"}},{}],16:[function(e,t){(function(e){t.exports=function(t){var n;if(!t&&e.location&&(t=e.location.hostname),n=t)if(/^[0-9.]+$/.test(n))n="";else{var i=",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,",a=n.split("."),r=a.length-1,s=r-1;if(r>1&&a[r].length<=2&&(2===a[r-1].length||i.indexOf(","+a[r]+",")<0)&&s--,s>0)for(n="";r>=s;)n=a[r]+(n?".":"")+n,r--}return n}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],17:[function(){Object.assign=Object.assign||function(e){for(var t,n,i=1;i<arguments.length;++i)for(t in n=arguments[i])Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}},{}],18:[function(e,t,n){n.isObjectEmpty=function(e){return e===Object(e)&&0===Object.keys(e).length},n.isValueEmpty=function(e){return""===e||n.isObjectEmpty(e)},n.getIeVersion=function(){if(document.documentMode)return document.documentMode;for(var e=7;e>4;e--){var t=document.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e;t=null}return null},n.encodeAndBuildRequest=function(e,t){return e.map(encodeURIComponent).join(t)}},{}],19:[function(e,t){t.exports=function(e){var t,n,i="0123456789",a="",r="",s=8,o=10,c=10;if(1==e){for(i+="ABCDEF",t=0;16>t;t++)n=Math.floor(Math.random()*s),a+=i.substring(n,n+1),n=Math.floor(Math.random()*s),r+=i.substring(n,n+1),s=16;return a+"-"+r}for(t=0;19>t;t++)n=Math.floor(Math.random()*o),a+=i.substring(n,n+1),0===t&&9==n?o=3:(1==t||2==t)&&10!=o&&2>n?o=10:2<t&&(o=10),n=Math.floor(Math.random()*c),r+=i.substring(n,n+1),0===t&&9==n?c=3:(1==t||2==t)&&10!=c&&2>n?c=10:2<t&&(c=10);return a+r}},{}]},{},[1]), // All code and conventions are protected by copyright function(e,t,n){function i(){this.rules=E.filter(E.rules,function(e){return"elementexists"===e.event})}function a(){E.getToolsByType("nielsen").length>0&&E.domReady(E.bind(this.initialize,this))}function r(){E.addEventHandler(e,"orientationchange",r.orientationChange)}function s(){var e=this.eventRegex=/^hover\(([0-9]+)\)$/,t=this.rules=[];E.each(E.rules,function(n){n.event.match(e)&&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");E.bindEvent("aftertoolinit",function(){E.fireEvent(E.visibility.isHidden()?"tabblur":"tabfocus")})}function c(){this.lastURL=E.URL(),this._fireIfURIChanged=E.bind(this.fireIfURIChanged,this),this._onPopState=E.bind(this.onPopState,this),this._onHashChange=E.bind(this.onHashChange,this),this._pushState=E.bind(this.pushState,this),this._replaceState=E.bind(this.replaceState,this),this.initialize()}function l(){this.rules=E.filter(E.rules,function(e){return"videoplayed"===e.event.substring(0,11)}),this.eventHandler=E.bind(this.onUpdateTime,this)}function u(e){this.delay=250,this.FB=e,E.domReady(E.bind(function(){E.poll(E.bind(this.initialize,this),this.delay,8)},this))}function d(t){E.domReady(E.bind(function(){this.twttr=t||e.twttr,this.initialize()},this))}function f(t){t=t||E.rules,this.rules=E.filter(t,function(e){return"inview"===e.event}),this.elements=[],this.eventHandler=E.bind(this.track,this),E.addEventHandler(e,"scroll",this.eventHandler),E.addEventHandler(e,"load",this.eventHandler)}function g(){var e=E.filter(E.rules,function(e){return 0===e.event.indexOf("dataelementchange")});this.dataElementsNames=E.map(e,function(e){return e.event.match(/dataelementchange\((.*)\)/i)[1]},this),this.initPolling()}function h(e){E.BaseTool.call(this,e),this.name=e.name||"VisitorID",this.initialize()}function p(e){E.BaseTool.call(this,e),this.name=e.name||"Basic"}function m(e){E.BaseTool.call(this,e),this.styleElements={},this.targetPageParamsStore={}}function v(e){E.BaseTool.call(this,e)}function y(e){E.BaseTool.call(this,e)}function b(e){E.BaseTool.call(this,e),this.varBindings={},this.events=[],this.products=[],this.customSetupFuns=[]}function A(){E.BaseTool.call(this),this.asyncScriptCallbackQueue=[],this.argsForBlockingScripts=[]}function S(e){E.BaseTool.call(this,e),this.defineListeners(),this.beaconMethod="plainBeacon",this.adapt=new S.DataAdapters,this.dataProvider=new S.DataProvider.Aggregate}var k,_,D,C=Object.prototype.toString,I=e._satellite&&e._satellite.override,E={initialized:!1,$data:function(e,t,i){if(e){var a="__satellite__",r=E.dataCache,s=e[a];s||(s=e[a]=E.uuid++);var o=r[s];if(o||(o=r[s]={}),i===n)return o[t];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]"===C.apply(e)},isObject:function(e){return null!=e&&!E.isArray(e)&&"object"==typeof e},isString:function(e){return"string"==typeof e},isNumber:function(e){return"[object Number]"===C.apply(e)&&!E.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;i<a;i++)t.call(n,e[i],i,e)},map:function(e,t,n){for(var i=[],a=0,r=e.length;a<r;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;a<r;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;i<a;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;a<r;a++){var s=e[a];i=i&&t.call(n,s,a,e)}return i},contains:function(e,t){return-1!==E.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;i<a;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&&("string"==typeof t?e===t:t instanceof RegExp&&t.test(e))},stringify:function(e,t){if(t=t||[],E.isObject(e)){if(E.contains(t,e))return"<Cycle>";t.push(e)}if(E.isArray(e))return"["+E.map(e,function(e){return E.stringify(e,t)}).join(",")+"]";if(E.isString(e))return'"'+String(e)+'"';if(E.isObject(e)){var n=[];for(var i in e)e.hasOwnProperty(i)&&n.push(i+": "+E.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(f=1;e=a.shift();)e()}var i,a=[],r=!1,s=t,o=s.documentElement,c=o.doScroll,l="DOMContentLoaded",u="addEventListener",d="onreadystatechange",f=/^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?f?t():a.push(t):function(){try{o.doScroll("left")}catch(n){return setTimeout(function(){e(t)},50)}t()}()}:function(e){f?e():a.push(e)}}(),loadScript:function(e,n){var i=t.createElement("script");E.scriptOnLoad(e,i,n),i.src=e,t.getElementsByTagName("head")[0].appendChild(i)},scriptOnLoad:function(e,t,n){function i(e){e&&E.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){E.loadedScriptRegistry[e]||E.loadScript(e,function(n){n||(E.loadedScriptRegistry[e]=!0),t&&t(n)})},loadedScriptRegistry:{},loadScriptSync:function(e){t.write?E.domReadyFired?E.notify('Cannot load sync the "'+e+'" script after DOM Ready.',1):(e.indexOf('"')>-1&&(e=encodeURI(e)),t.write('<script src="'+e+'"></script>')):E.notify('Cannot load sync the "'+e+'" script because "document.write" is not available',1)},pushAsyncScript:function(e){E.tools["default"].pushAsyncScript(e)},pushBlockingScript:function(e){E.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()}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){if(!t.parentNode)return!1;if(e.match(/^[a-z]+$/i))return i(e,t);try{for(var n=t.parentNode.querySelectorAll(e),a=n.length;a--;)if(n[a]===t)return!0}catch(r){}return!1}:function(e,t){if(e.match(/^[a-z]+$/i))return i(e,t);try{return E.Sizzle.matches(e,[t]).length>0}catch(n){return!1}}}(t.documentElement),cssQuery:(k=t,k.querySelectorAll?function(e,t){var n;try{n=k.querySelectorAll(e)}catch(i){n=[]}t(n)}:function(e,t){if(E.Sizzle){var n;try{n=E.Sizzle(e)}catch(i){n=[]}t(n)}else E.sizzleQueue.push([e,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;n<i;n++)t.push(e[n]);return t}}}(),equalsIgnoreCase:function(e,t){return null==e?null==t:null!=t&&String(e).toLowerCase()===String(t).toLowerCase()},poll:function(e,t,n){function i(){E.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,"'").replace(/\//g,"/"):e}};E.availableTools={},E.availableEventEmitters=[],E.fireOnceEvents=["condition","elementexists"],E.initEventEmitters=function(){E.eventEmitters=E.map(E.availableEventEmitters,function(e){return new e})},E.eventEmitterBackgroundTasks=function(){E.each(E.eventEmitters,function(e){"backgroundTasks"in e&&e.backgroundTasks()})},E.initTools=function(e){var t={"default":new A},n=E.settings.euCookieName||"sat_track";for(var i in e)if(e.hasOwnProperty(i)){var a,r,s;if((a=e[i]).euCookie)if("true"!==E.readCookie(n))continue;if(!(r=E.availableTools[a.engine])){var o=[];for(var c in E.availableTools)E.availableTools.hasOwnProperty(c)&&o.push(c);throw new Error("No tool engine named "+a.engine+", available: "+o.join(",")+".")}(s=new r(a)).id=i,t[i]=s}return t},E.preprocessArguments=function(e,t,n,i,a){function r(e){return i&&E.isString(e)?e.toLowerCase():e}function s(e){var c={};for(var l in e)if(e.hasOwnProperty(l)){var u=e[l];E.isObject(u)?c[l]=s(u):E.isArray(u)?c[l]=o(u,i):c[l]=r(E.replace(u,t,n,a))}return c}function o(e){for(var i=[],a=0,o=e.length;a<o;a++){var c=e[a];E.isString(c)?c=r(E.replace(c,t,n)):c&&c.constructor===Object&&(c=s(c)),i.push(c)}return i}return e?o(e,i):e},E.execute=function(e,t,n,i){function a(a){var r=i[a||"default"];if(r)try{r.triggerCommand(e,t,n)}catch(s){E.logError(s)}}if(!_satellite.settings.hideActivity)if(i=i||E.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?E.each(e.tool,function(e){a(e)}):a(e.tool)},E.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||(E.each(this.messages,function(e){!0!==e[2]&&(this.echo(e[0],e[1]),e[2]=!0)},this),this.flushed=!0)}},E.notify=E.bind(E.Logger.message,E.Logger),E.cleanText=function(e){return null==e?null:E.trim(e).replace(/\s+/g," ")},E.cleanText.legacy=function(e){return null==e?null:E.trim(e).replace(/\s{2,}/g," ").replace(/[^\000-\177]*/g,"")},E.text=function(e){return e.textContent||e.innerText},E.specialProperties={text:E.text,cleanText:function(e){return E.cleanText(E.text(e))}},E.getObjectProperty=function(e,t,i){for(var a,r=t.split("."),s=e,o=E.specialProperties,c=0,l=r.length;c<l;c++){if(null==s)return n;var u=r[c];if(i&&"@"===u.charAt(0))s=o[u.slice(1)](s);else if(s.getAttribute&&(a=u.match(/^getAttribute\((.+)\)$/))){var d=a[1];s=s.getAttribute(d)}else s=s[u]}return s},E.getToolsByType=function(e){if(!e)throw new Error("Tool type is missing");var t=[];for(var n in E.tools)if(E.tools.hasOwnProperty(n)){var i=E.tools[n];i.settings&&i.settings.engine===e&&t.push(i)}return t},E.setVar=function(){var e=E.data.customVars;if(null==e&&(E.data.customVars={},e=E.data.customVars),"string"==typeof arguments[0])e[arguments[0]]=arguments[1];else if(arguments[0]){var t=arguments[0];for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}},E.dataElementSafe=function(e,t){if(arguments.length>2){var n=arguments[2];"pageview"===t?E.dataElementSafe.pageviewCache[e]=n:"session"===t?E.setCookie("_sdsat_"+e,n):"visitor"===t&&E.setCookie("_sdsat_"+e,n,730)}else{if("pageview"===t)return E.dataElementSafe.pageviewCache[e];if("session"===t||"visitor"===t)return E.readCookie("_sdsat_"+e)}},E.dataElementSafe.pageviewCache={},E.realGetDataElement=function(t){var n;return t.selector?E.hasSelector&&E.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]:E.hasAttr(i,t.property)&&(n=i.getAttribute(t.property))}}):t.queryParam?n=t.ignoreCase?E.getQueryParamCaseInsensitive(t.queryParam):E.getQueryParam(t.queryParam):t.cookie?n=E.readCookie(t.cookie):t.jsVariable?n=E.getObjectProperty(e,t.jsVariable):t.customJS?n=t.customJS():t.contextHub&&(n=t.contextHub()),E.isString(n)&&t.cleanText&&(n=E.cleanText(n)),n},E.getDataElement=function(e,t,i){if(null==(i=i||E.dataElements[e]))return E.settings.undefinedVarsReturnEmpty?"":null;var a=E.realGetDataElement(i);return a===n&&i.storeLength?a=E.dataElementSafe(e,i.storeLength):a!==n&&i.storeLength&&E.dataElementSafe(e,i.storeLength,a),a||t||(a=i["default"]||""),E.isString(a)&&i.forceLowerCase&&(a=a.toLowerCase()),a},E.getVar=function(i,a,r){var s,o,c=E.data.customVars,l=r?r.target||r.srcElement:null,u={uri:E.URI(),protocol:t.location.protocol,hostname:t.location.hostname};if(E.dataElements&&i in E.dataElements)return E.getDataElement(i);if((o=u[i.toLowerCase()])===n)if("this."===i.substring(0,5))i=i.slice(5),o=E.getObjectProperty(a,i,!0);else if("event."===i.substring(0,6))i=i.slice(6),o=E.getObjectProperty(r,i);else if("target."===i.substring(0,7))i=i.slice(7),o=E.getObjectProperty(l,i);else if("window."===i.substring(0,7))i=i.slice(7),o=E.getObjectProperty(e,i);else if("param."===i.substring(0,6))i=i.slice(6),o=E.getQueryParam(i);else if(s=i.match(/^rand([0-9]+)$/)){var d=Number(s[1]),f=(Math.random()*(Math.pow(10,d)-1)).toFixed(0);o=Array(d-f.length+1).join("0")+f}else o=E.getObjectProperty(c,i);return o},E.getVars=function(e,t,n){var i={};return E.each(e,function(e){i[e]=E.getVar(e,t,n)}),i},E.replace=function(e,t,n,i){return"string"!=typeof e?e:e.replace(/%(.*?)%/g,function(e,a){var r=E.getVar(a,t,n);return null==r?E.settings.undefinedVarsReturnEmpty?"":e:i?E.escapeForHtml(r):r})},E.escapeHtmlParams=function(e){return e.escapeHtml=!0,e},E.searchVariables=function(e,t,n){if(!e||0===e.length)return"";for(var i=[],a=0,r=e.length;a<r;a++){var s=e[a],o=E.getVar(s,t,n);i.push(s+"="+escape(o))}return"?"+i.join("&")},E.fireRule=function(e,t,n){var i=e.trigger;if(i){for(var a=0,r=i.length;a<r;a++){var s=i[a];E.execute(s,t,n)}E.contains(E.fireOnceEvents,e.event)&&(e.expired=!0)}},E.isLinked=function(e){for(var t=e;t;t=t.parentNode)if(E.isLinkTag(t))return!0;return!1},E.firePageLoadEvent=function(e){for(var n=t.location,i={type:e,target:n},a=E.pageLoadRules,r=E.evtHandlers[i.type],s=a.length;s--;){var o=a[s];E.ruleMatches(o,i,n)&&(E.notify('Rule "'+o.name+'" fired.',1),E.fireRule(o,n,i))}for(var c in E.tools)if(E.tools.hasOwnProperty(c)){var l=E.tools[c];l.endPLPhase&&l.endPLPhase(e)}r&&E.each(r,function(e){e(i)})},E.track=function(e){e=e.replace(/^\s*/,"").replace(/\s*$/,"");for(var t=0;t<E.directCallRules.length;t++){var n=E.directCallRules[t];if(n.name===e)return E.notify('Direct call Rule "'+e+'" fired.',1),void E.fireRule(n,location,{type:e})}E.notify('Direct call Rule "'+e+'" not found.',1)},E.basePath=function(){return E.data.host?("https:"===t.location.protocol?"https://"+E.data.host.https:"http://"+E.data.host.http)+"/":this.settings.basePath},E.setLocation=function(t){e.location=t},E.parseQueryParams=function(e){var t=function(e){var t=e;try{t=decodeURIComponent(e)}catch(n){}return t};if(""===e||!1===E.isString(e))return{};0===e.indexOf("?")&&(e=e.substring(1));var n={},i=e.split("&");return E.each(i,function(e){(e=e.split("="))[1]&&(n[t(e[0])]=t(e[1]))}),n},E.getCaseSensitivityQueryParamsMap=function(e){var t=E.parseQueryParams(e),n={};for(var i in t)t.hasOwnProperty(i)&&(n[i.toLowerCase()]=t[i]);return{normal:t,caseInsensitive:n}},E.updateQueryParams=function(){E.QueryParams=E.getCaseSensitivityQueryParamsMap(e.location.search)},E.updateQueryParams(),E.getQueryParam=function(e){return E.QueryParams.normal[e]},E.getQueryParamCaseInsensitive=function(e){return E.QueryParams.caseInsensitive[e.toLowerCase()]},E.encodeObjectToURI=function(e){if(!1===E.isObject(e))return"";var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},E.readCookie=function(e){for(var i=e+"=",a=t.cookie.split(";"),r=0;r<a.length;r++){for(var s=a[r];" "==s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(i))return s.substring(i.length,s.length)}return n},E.setCookie=function(e,n,i){var a;if(i){var r=new Date;r.setTime(r.getTime()+24*i*60*60*1e3),a="; expires="+r.toGMTString()}else a="";t.cookie=e+"="+n+a+"; path=/"},E.removeCookie=function(e){E.setCookie(e,"",-1)},E.getElementProperty=function(e,t){if("@"===t.charAt(0)){var i=E.specialProperties[t.substring(1)];if(i)return i(e)}return"innerText"===t?E.text(e):t in e?e[t]:e.getAttribute?e.getAttribute(t):n},E.propertiesMatch=function(e,t){if(e)for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=E.getElementProperty(t,n);if("string"==typeof i&&i!==a)return!1;if(i instanceof RegExp&&!i.test(a))return!1}return!0},E.isRightClick=function(e){var t;return e.which?t=3==e.which:e.button&&(t=2==e.button),t},E.ruleMatches=function(e,t,n,i){var a=e.condition,r=e.conditions,s=e.property,o=t.type,c=e.value,l=t.target||t.srcElement,u=n===l;if(e.event!==o&&("custom"!==e.event||e.customEvent!==o))return!1;if(!E.ruleInScope(e))return!1;if("click"===e.event&&E.isRightClick(t))return!1;if(e.isDefault&&i>0)return!1;if(e.expired)return!1;if("inview"===o&&t.inviewDelay!==e.inviewDelay)return!1;if(!u&&(!1===e.bubbleFireIfParent||0!==i&&!1===e.bubbleFireIfChildFired))return!1;if(e.selector&&!E.matchesCss(e.selector,n))return!1;if(!E.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 E.notify('Condition for rule "'+e.name+'" not met.',1),!1}catch(f){return E.notify('Condition for rule "'+e.name+'" not met. Error: '+f.message,1),!1}if(r){var d=E.find(r,function(i){try{return!i.call(n,t,l)}catch(f){return E.notify('Condition for rule "'+e.name+'" not met. Error: '+f.message,1),!0}});if(d)return E.notify("Condition "+d.toString()+' for rule "'+e.name+'" not met.',1),!1}return!0},E.evtHandlers={},E.bindEvent=function(e,t){var n=E.evtHandlers;n[e]||(n[e]=[]),n[e].push(t)},E.whenEvent=E.bindEvent,E.unbindEvent=function(e,t){var n=E.evtHandlers;if(n[e]){var i=E.indexOf(n[e],t);n[e].splice(i,1)}},E.bindEventOnce=function(e,t){var n=function(){E.unbindEvent(e,n),t.apply(null,arguments)};E.bindEvent(e,n)},E.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},E.handleEvent=function(e){if(!E.$data(e,"eventProcessed")){var t=e.type.toLowerCase(),n=e.target||e.srcElement,i=0,a=E.rules,r=(E.tools,E.evtHandlers[e.type]);if(E.isVMLPoisoned(n))E.notify("detected "+t+" on poisoned VML element, skipping.",1);else{r&&E.each(r,function(t){t(e)}),n&&n.nodeName?E.notify("detected "+t+" on "+n.nodeName,1):E.notify("detected "+t,1);for(var s=n;s;s=s.parentNode){var o=!1;if(E.each(a,function(t){E.ruleMatches(t,e,s,i)&&(E.notify('Rule "'+t.name+'" fired.',1),E.fireRule(t,s,e),i++,t.bubbleStop&&(o=!0))}),o)break}E.$data(e,"eventProcessed",!0)}}},E.onEvent=t.querySelectorAll?function(e){E.handleEvent(e)}:(_=[],(D=function(e){e.selector?_.push(e):E.handleEvent(e)}).pendingEvents=_,D),E.fireEvent=function(e,t){E.onEvent({type:e,target:t})},E.registerEvents=function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];E.$data(e,i+".tracked")||(E.addEventHandler(e,i,E.onEvent),E.$data(e,i+".tracked",!0))}},E.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--)E.registerEvents(r[s],n)},E.setListeners=function(){var e=["click","submit"];E.each(E.rules,function(t){"custom"===t.event&&t.hasOwnProperty("customEvent")&&!E.contains(e,t.customEvent)&&e.push(t.customEvent)}),E.registerEvents(t,e)},E.getUniqueRuleEvents=function(){return E._uniqueRuleEvents||(E._uniqueRuleEvents=[],E.each(E.rules,function(e){-1===E.indexOf(E._uniqueRuleEvents,e.event)&&E._uniqueRuleEvents.push(e.event)})),E._uniqueRuleEvents},E.setFormListeners=function(){if(!E._relevantFormEvents){var e=["change","focus","blur","keypress"];E._relevantFormEvents=E.filter(E.getUniqueRuleEvents(),function(t){return-1!==E.indexOf(e,t)})}E._relevantFormEvents.length&&E.registerEventsForTags(["input","select","textarea","button"],E._relevantFormEvents)},E.setVideoListeners=function(){if(!E._relevantVideoEvents){var e=["play","pause","ended","volumechange","stalled","loadeddata"];E._relevantVideoEvents=E.filter(E.getUniqueRuleEvents(),function(t){return-1!==E.indexOf(e,t)})}E._relevantVideoEvents.length&&E.registerEventsForTags(["video"],E._relevantVideoEvents)},E.readStoredSetting=function(t){try{return t="sdsat_"+t,e.localStorage.getItem(t)}catch(n){return E.notify("Cannot read stored setting from localStorage: "+n.message,2),null}},E.loadStoredSettings=function(){var e=E.readStoredSetting("debug"),t=E.readStoredSetting("hide_activity");e&&(E.settings.notifications="true"===e),t&&(E.settings.hideActivity="true"===t)},E.isRuleActive=function(e,t){function n(e,t){return t=a(t,{hour:e[g](),minute:e[h]()}),Math.floor(Math.abs((e.getTime()-t.getTime())/864e5))}function i(e,t){function n(e){return 12*e[d]()+e[f]()}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[p](a);break;case"minute":n[m](a);break;case"date":n[v](a)}}return n}function r(e,t){return 60*e[g]()+e[h]()>60*t[g]()+t[h]()}function s(e,t){return 60*e[g]()+e[h]()<60*t[g]()+t[h]()}var o=e.schedule;if(!o)return!0;var c=o.utc,l=c?"getUTCDate":"getDate",u=c?"getUTCDay":"getDay",d=c?"getUTCFullYear":"getFullYear",f=c?"getUTCMonth":"getMonth",g=c?"getUTCHours":"getHours",h=c?"getUTCMinutes":"getMinutes",p=c?"setUTCHours":"setHours",m=c?"setUTCMinutes":"setMinutes",v=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.start)return!1;if(o.endRepeat&&t>=o.endRepeat)return!1;if("daily"===o.repeat){if(o.repeatEvery)if(n(o.start,t)%o.repeatEvery!=0)return!1}else if("weekly"===o.repeat){if(o.days){if(!E.contains(o.days,t[u]()))return!1}else if(o.start[u]()!==t[u]())return!1;if(o.repeatEvery)if(n(o.start,t)%(7*o.repeatEvery)!=0)return!1}else if("monthly"===o.repeat){if(o.repeatEvery)if(i(o.start,t)%o.repeatEvery!=0)return!1;if(o.nthWeek&&o.mthDay){if(o.mthDay!==t[u]())return!1;var y=Math.floor((t[l]()-t[u]()+1)/7);if(o.nthWeek!==y)return!1}else if(o.start[l]()!==t[l]())return!1}else if("yearly"===o.repeat){if(o.start[f]()!==t[f]())return!1;if(o.start[l]()!==t[l]())return!1;if(o.repeatEvery)if(Math.abs(o.start[d]()-t[d]())%o.repeatEvery!=0)return!1}}else{if(o.start>t)return!1;if(o.end<t)return!1}return!0},E.isOutboundLink=function(e){if(!e.getAttribute("href"))return!1;var t=e.hostname,n=(e.href,e.protocol);return("http:"===n||"https:"===n)&&(!E.any(E.settings.domainList,function(e){return E.isSubdomainOf(t,e)})&&t!==location.hostname)},E.isLinkerLink=function(e){return!(!e.getAttribute||!e.getAttribute("href"))&&(E.hasMultipleDomains()&&e.hostname!=location.hostname&&!e.href.match(/^javascript/i)&&!E.isOutboundLink(e))},E.isSubdomainOf=function(e,t){if(e===t)return!0;var n=e.length-t.length;return n>0&&E.equalsIgnoreCase(e.substring(n),t)},E.getVisitorId=function(){var e=E.getToolsByType("visitor_id");return 0===e.length?null:e[0].getInstance()},E.URI=function(){var e=t.location.pathname+t.location.search;return E.settings.forceLowerCase&&(e=e.toLowerCase()),e},E.URL=function(){var e=t.location.href;return E.settings.forceLowerCase&&(e=e.toLowerCase()),e},E.filterRules=function(){function e(e){return!!E.isRuleActive(e)}E.rules=E.filter(E.rules,e),E.pageLoadRules=E.filter(E.pageLoadRules,e)},E.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(E.isString(r)&&r===t)return!0;if(E.isArray(r)&&E.any(r,n))return!0;if(E.isRegex(r)&&n(r))return!0}return!1}function a(e,t){function n(e){return t.match(e)}return!(!E.isString(e)||e===t)||(!(!E.isArray(e)||E.any(e,n))||!(!E.isRegex(e)||n(e)))}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))&&((!o||!i(o,n.hostname))&&((!c||!a(c,n.hostname))&&((!l||!a(l,n.protocol))&&(!u||!i(u,n.hash)))))},E.backgroundTasks=function(){new Date;E.setFormListeners(),E.setVideoListeners(),E.loadStoredSettings(),E.registerNewElementsForDynamicRules(),E.eventEmitterBackgroundTasks();new Date},E.registerNewElementsForDynamicRules=function(){function e(t,n){var i=e.cache[t];if(i)return n(i);E.cssQuery(t,function(i){e.cache[t]=i,n(i)})}e.cache={},E.each(E.dynamicRules,function(t){e(t.selector,function(e){E.each(e,function(e){var n="custom"===t.event?t.customEvent:t.event;E.$data(e,"dynamicRules.seen."+n)||(E.$data(e,"dynamicRules.seen."+n,!0),E.propertiesMatch(t.property,e)&&E.registerEvents(e,[n]))})})})},E.ensureCSSSelector=function(){t.querySelectorAll?E.hasSelector=!0:(E.loadingSizzle=!0,E.sizzleQueue=[],E.loadScript(E.basePath()+"selector.js",function(){if(E.Sizzle){var e=E.onEvent.pendingEvents;E.each(e,function(e){E.handleEvent(e)},this),E.onEvent=E.handleEvent,E.hasSelector=!0,delete E.loadingSizzle,E.each(E.sizzleQueue,function(e){E.cssQuery(e[0],e[1])}),delete E.sizzleQueue}else E.logError(new Error("Failed to load selector.js"))}))},E.errors=[],E.logError=function(e){E.errors.push(e),E.notify(e.name+" - "+e.message,5)},E.pageBottom=function(){E.initialized&&(E.pageBottomFired=!0,E.firePageLoadEvent("pagebottom"))},E.stagingLibraryOverride=function(){if("true"===E.readStoredSetting("stagingLibrary")){for(var e,n,i,a=t.getElementsByTagName("script"),r=/^(.*)satelliteLib-([a-f0-9]{40})\.js$/,s=/^(.*)satelliteLib-([a-f0-9]{40})-staging\.js$/,o=0,c=a.length;o<c&&(!(i=a[o].getAttribute("src"))||(e||(e=i.match(r)),n||(n=i.match(s)),!n));o++);if(e&&!n){var l=e[1]+"satelliteLib-"+e[2]+"-staging.js";if(t.write)t.write('<script src="'+l+'"></script>');else{var u=t.createElement("script");u.src=l,t.head.appendChild(u)}return!0}}return!1},E.checkAsyncInclude=function(){e.satellite_asyncLoad&&E.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)},E.hasMultipleDomains=function(){return!!E.settings.domainList&&E.settings.domainList.length>1},E.handleOverrides=function(){if(I)for(var e in I)I.hasOwnProperty(e)&&(E.data[e]=I[e])},E.privacyManagerParams=function(){var e={};E.extend(e,E.settings.privacyManagement);var t=[];for(var n in E.tools)if(E.tools.hasOwnProperty(n)){var i=E.tools[n],a=i.settings;if(!a)continue;"sc"===a.engine&&t.push(i)}var r=E.filter(E.map(t,function(e){return e.getTrackingServer()}),function(e){return null!=e});e.adobeAnalyticsTrackingServers=r;for(var s=["bannerText","headline","introductoryText","customCSS"],o=0;o<s.length;o++){var c=s[o],l=e[c];if(l)if("text"===l.type)e[c]=l.value;else{if("data"!==l.type)throw new Error("Invalid type: "+l.type);e[c]=E.getVar(l.value)}}return e},E.prepareLoadPrivacyManager=function(){function t(e){function t(){++r===a.length&&(n(),clearTimeout(s),e())}function n(){E.each(a,function(e){E.unbindEvent(e.id+".load",t)})}function i(){n(),e()}var a=E.filter(E.values(E.tools),function(e){return e.settings&&"sc"===e.settings.engine});if(0===a.length)return e();var r=0;E.each(a,function(e){E.bindEvent(e.id+".load",t)});var s=setTimeout(i,5e3)}E.addEventHandler(e,"load",function(){t(E.loadPrivacyManager)})},E.loadPrivacyManager=function(){var e=E.basePath()+"privacy_manager.js";E.loadScript(e,function(){var e=E.privacyManager;e.configure(E.privacyManagerParams()),e.openIfRequired()})},E.init=function(t){if(!E.stagingLibraryOverride()){E.configurationSettings=t;var i=t.tools;for(var a in delete t.tools,t)t.hasOwnProperty(a)&&(E[a]=t[a]);E.data.customVars===n&&(E.data.customVars={}),E.data.queryParams=E.QueryParams.normal,E.handleOverrides(),E.detectBrowserInfo(),E.trackVisitorInfo&&E.trackVisitorInfo(),E.loadStoredSettings(),E.Logger.setOutputState(E.settings.notifications),E.checkAsyncInclude(),E.ensureCSSSelector(),E.filterRules(),E.dynamicRules=E.filter(E.rules,function(e){return e.eventHandlerOnElement}),E.tools=E.initTools(i),E.initEventEmitters(),E.firePageLoadEvent("aftertoolinit"),E.settings.privacyManagement&&E.prepareLoadPrivacyManager(),E.hasSelector&&E.domReady(E.eventEmitterBackgroundTasks),E.setListeners(),E.domReady(function(){E.poll(function(){E.backgroundTasks()},E.settings.recheckEvery||3e3)}),E.domReady(function(){E.domReadyFired=!0,E.pageBottomFired||E.pageBottom(),E.firePageLoadEvent("domready")}),E.addEventHandler(e,"load",function(){E.firePageLoadEvent("windowload")}),E.firePageLoadEvent("pagetop"),E.initialized=!0}},E.pageLoadPhases=["aftertoolinit","pagetop","pagebottom","domready","windowload"],E.loadEventBefore=function(e,t){return E.indexOf(E.pageLoadPhases,e)<=E.indexOf(E.pageLoadPhases,t)},E.flushPendingCalls=function(e){e.pending&&(E.each(e.pending,function(t){var n=t[0],i=t[1],a=t[2],r=t[3];n in e?e[n].apply(e,[i,a].concat(r)):e.emit?e.emit(n,i,a,r):E.notify("Failed to trigger "+n+" for tool "+e.id,1)}),delete e.pending)},E.setDebug=function(t){try{e.localStorage.setItem("sdsat_debug",t)}catch(n){E.notify("Cannot set debug mode: "+n.message,2)}},E.getUserAgent=function(){return navigator.userAgent},E.detectBrowserInfo=function(){function e(e){return function(t){for(var n in e){if(e.hasOwnProperty(n))if(e[n].test(t))return n}return"Unknown"}}var t=e({"IE Edge Mobile":/Windows Phone.*Edge/,"IE Edge":/Edge/,OmniWeb:/OmniWeb/,"Opera Mini":/Opera Mini/,"Opera Mobile":/Opera Mobi/,Opera:/Opera/,Chrome:/Chrome|CriOS|CrMo/,Firefox:/Firefox|FxiOS/,"IE Mobile":/IEMobile/,IE:/MSIE|Trident/,"Mobile Safari":/Mobile(\/[0-9A-z]+)? Safari/,Safari:/Safari/}),n=e({Blackberry:/BlackBerry|BB10/,"Symbian OS":/Symbian|SymbOS/,Maemo:/Maemo/,Android:/Android/,Linux:/ Linux /,Unix:/FreeBSD|OpenBSD|CrOS/,Windows:/[\( ]Windows /,iOS:/iPhone|iPad|iPod/,MacOS:/Macintosh;/}),i=e({Nokia:/Symbian|SymbOS|Maemo/,"Windows Phone":/Windows Phone/,Blackberry:/BlackBerry|BB10/,Android:/Android/,iPad:/iPad/,iPod:/iPod/,iPhone:/iPhone/,Desktop:/.*/}),a=E.getUserAgent();E.browserInfo={browser:t(a),os:n(a),deviceType:i(a)}},E.isHttps=function(){return"https:"==t.location.protocol},E.BaseTool=function(e){this.settings=e||{},this.forceLowerCase=E.settings.forceLowerCase,"forceLowerCase"in this.settings&&(this.forceLowerCase=this.settings.forceLowerCase)},E.BaseTool.prototype={triggerCommand:function(e,t,n){var i=this.settings||{};if(this.initialize&&this.isQueueAvailable()&&this.isQueueable(e)&&n&&E.loadEventBefore(n.type,i.loadOn))this.queueCommand(e,t,n);else{var a=e.command,r=this["$"+a],s=!!r&&r.escapeHtml,o=E.preprocessArguments(e.arguments,t,n,this.forceLowerCase,s);r?r.apply(this,[t,n].concat(o)):this.$missing$?this.$missing$(a,t,n,o):E.notify("Failed to trigger "+a+" for tool "+this.id,1)}},endPLPhase:function(){},isQueueable:function(e){return"cancelToolInit"!==e.command},isQueueAvailable:function(){return!this.initialized&&!this.initializing},flushQueue:function(){this.pending&&(E.each(this.pending,function(e){this.triggerCommand.apply(this,e)},this),this.pending=[])},queueCommand:function(e,t,n){this.pending||(this.pending=[]),this.pending.push([e,t,n])},$cancelToolInit:function(){this._cancelToolInit=!0}},e._satellite=E,i.prototype.backgroundTasks=function(){E.each(this.rules,function(e){E.cssQuery(e.selector,function(e){if(e.length>0){var t=e[0];if(E.$data(t,"elementexists.seen"))return;E.$data(t,"elementexists.seen",!0),E.onEvent({type:"elementexists",target:t})}})})},E.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=E.bind(function(t){this.prevUnload&&setTimeout(E.bind(function(){this.prevUnload.call(e,t)},this),1),this.newObueListener()},this),e.onbeforeunload=E.bind(function(t){this.prevBeforeUnload&&setTimeout(E.bind(function(){this.prevBeforeUnload.call(e,t)},this),1),this.newObueListener()},this)},triggerBeacons:function(){E.fireEvent("leave",t)}},E.availableEventEmitters.push(a),r.orientationChange=function(t){var n=0===e.orientation?"portrait":"landscape";t.orientation=n,E.onEvent(t)},E.availableEventEmitters.push(r),s.prototype={backgroundTasks:function(){var e=this;E.each(this.rules,function(t){var n=t[1],i=t[0];E.cssQuery(n,function(t){E.each(t,function(t){e.trackElement(t,i)})})},this)},trackElement:function(e,t){var n=this,i=E.$data(e,"hover.delays");i?E.contains(i,t)||i.push(t):(E.addEventHandler(e,"mouseover",function(t){n.onMouseOver(t,e)}),E.addEventHandler(e,"mouseout",function(t){n.onMouseOut(t,e)}),E.$data(e,"hover.delays",[t]))},onMouseOver:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.fromElement;(t===n||E.containsElement(t,n))&&!E.containsElement(t,i)&&this.onMouseEnter(t)},onMouseEnter:function(e){var t=E.$data(e,"hover.delays"),n=E.map(t,function(t){return setTimeout(function(){E.onEvent({type:"hover("+t+")",target:e})},t)});E.$data(e,"hover.delayTimers",n)},onMouseOut:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.toElement;(t===n||E.containsElement(t,n))&&!E.containsElement(t,i)&&this.onMouseLeave(t)},onMouseLeave:function(e){var t=E.$data(e,"hover.delayTimers");t&&E.each(t,function(e){clearTimeout(e)})}},E.availableEventEmitters.push(s),o.prototype={defineEvents:function(){this.oldBlurClosure=function(){E.fireEvent("tabblur",t)},this.oldFocusClosure=E.bind(function(){this.visibilityApiHasPriority?E.fireEvent("tabfocus",t):null!=E.visibility.getHiddenProperty()&&E.visibility.isHidden()||E.fireEvent("tabfocus",t)},this)},attachDetachModernEventListeners:function(e){E[0==e?"removeEventHandler":"addEventHandler"](t,E.visibility.getVisibilityEvent(),this.handleVisibilityChange)},attachDetachOlderEventListeners:function(t,n,i){var a=0==t?"removeEventHandler":"addEventHandler";E[a](n,i,this.oldBlurClosure),E[a](e,"focus",this.oldFocusClosure)},handleVisibilityChange:function(){E.visibility.isHidden()?E.fireEvent("tabblur",t):E.fireEvent("tabfocus",t)},setVisibilityApiPriority:function(t){this.visibilityApiHasPriority=t,this.attachDetachOlderEventListeners(!1,e,"blur"),this.attachDetachModernEventListeners(!1),t?null!=E.visibility.getHiddenProperty()?this.attachDetachModernEventListeners(!0):this.attachDetachOlderEventListeners(!0,e,"blur"):(this.attachDetachOlderEventListeners(!0,e,"blur"),null!=E.visibility.getHiddenProperty()&&this.attachDetachModernEventListeners(!0))},oldBlurClosure:null,oldFocusClosure:null,visibilityApiHasPriority:!0},E.availableEventEmitters.push(o),c.prototype={initialize:function(){this.setupHistoryAPI(),this.setupHashChange()},fireIfURIChanged:function(){var e=E.URL();this.lastURL!==e&&(this.fireEvent(),this.lastURL=e)},fireEvent:function(){E.updateQueryParams(),E.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)),E.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(){E.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),E.removeEventHandler(e,"popstate",this._onPopState)},cleanUpHashChange:function(){E.removeEventHandler(e,"hashchange",this._onHashChange)}},E.availableEventEmitters.push(c),l.prototype={backgroundTasks:function(){var e=this.eventHandler;E.each(this.rules,function(t){E.cssQuery(t.selector||"video",function(t){E.each(t,function(t){E.$data(t,"videoplayed.tracked")||(E.addEventHandler(t,"timeupdate",E.throttle(e,100)),E.$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 l<=100*(s-a)/(r-a)}:function(){return l<=s-a};!E.$data(e,n)&&u()&&(E.$data(e,n,!0),E.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;i<a;i++)this.evalRule(n,t[i])}},E.availableEventEmitters.push(l),u.prototype={initialize:function(){if(this.FB=this.FB||e.FB,this.FB&&this.FB.Event&&this.FB.Event.subscribe)return this.bind(),!0},bind:function(){this.FB.Event.subscribe("edge.create",function(){E.notify("tracking a facebook like",1),E.onEvent({type:"facebook.like",target:t})}),this.FB.Event.subscribe("edge.remove",function(){E.notify("tracking a facebook unlike",1),E.onEvent({type:"facebook.unlike",target:t})}),this.FB.Event.subscribe("message.send",function(){E.notify("tracking a facebook share",1),E.onEvent({type:"facebook.send",target:t})})}},E.availableEventEmitters.push(u),d.prototype={initialize:function(){var e=this.twttr;e&&"function"==typeof e.ready&&e.ready(E.bind(this.bind,this))},bind:function(){this.twttr.events.bind("tweet",function(e){e&&(E.notify("tracking a tweet button",1),E.onEvent({type:"twitter.tweet",target:t}))})}},E.availableEventEmitters.push(d),f.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,f=l.pageYOffset||o.scrollTop||c.scrollTop,g=l.pageXOffset||o.scrollLeft||c.scrollLeft;i=r.top+f-u,a=r.left+g-d}catch(h){}return{top:i,left:a}},f.getViewportHeight=function(){var n=e.innerHeight,i=t.compatMode;return i&&(n="CSS1Compat"==i?t.documentElement.clientHeight:t.body.clientHeight),n},f.getScrollTop=function(){return t.documentElement.scrollTop?t.documentElement.scrollTop:t.body.scrollTop},f.isElementInDocument=function(e){return t.body.contains(e)},f.isElementInView=function(e){if(!f.isElementInDocument(e))return!1;var t=f.getViewportHeight(),n=f.getScrollTop(),i=f.offset(e).top,a=e.offsetHeight;return null!==i&&!(n>i+a||n+t<i)},f.prototype={backgroundTasks:function(){var e=this.elements;E.each(this.rules,function(t){E.cssQuery(t.selector,function(n){var i=0;E.each(n,function(t){E.contains(e,t)||(e.push(t),i++)}),i&&E.notify(t.selector+" added "+i+" elements.",1)})}),this.track()},checkInView:function(e,t,n){var i=E.$data(e,"inview");if(f.isElementInView(e)){i||E.$data(e,"inview",!0);var a=this;this.processRules(e,function(n,i,r){if(t||!n.inviewDelay)E.$data(e,i,!0),E.onEvent({type:"inview",target:e,inviewDelay:n.inviewDelay});else if(n.inviewDelay){var s=E.$data(e,r);s||(s=setTimeout(function(){a.checkInView(e,!0,n.inviewDelay)},n.inviewDelay),E.$data(e,r,s))}},n)}else{if(!f.isElementInDocument(e)){var r=E.indexOf(this.elements,e);this.elements.splice(r,1)}i&&E.$data(e,"inview",!1),this.processRules(e,function(t,n,i){var a=E.$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=E.filter(this.rules,function(e){return e.inviewDelay==n})),E.each(i,function(n,i){var a=n.inviewDelay?"viewed_"+n.inviewDelay:"viewed",r="inview_timeout_id_"+i;E.$data(e,a)||E.matchesCss(n.selector,e)&&t(n,a,r)})}},E.availableEventEmitters.push(f),g.prototype.getStringifiedValue=e.JSON&&e.JSON.stringify||E.stringify,g.prototype.initPolling=function(){0!==this.dataElementsNames.length&&(this.dataElementsStore=this.getDataElementsValues(),E.poll(E.bind(this.checkDataElementValues,this),1e3))},g.prototype.getDataElementsValues=function(){var e={};return E.each(this.dataElementsNames,function(t){var n=E.getVar(t);e[t]=this.getStringifiedValue(n)},this),e},g.prototype.checkDataElementValues=function(){E.each(this.dataElementsNames,E.bind(function(e){var n=this.getStringifiedValue(E.getVar(e));n!==this.dataElementsStore[e]&&(this.dataElementsStore[e]=n,E.onEvent({type:"dataelementchange("+e+")",target:t}))},this))},E.availableEventEmitters.push(g),E.visibility={isHidden:function(){var e=this.getHiddenProperty();return!!e&&t[e]},isVisible:function(){return!this.isHidden()},getHiddenProperty:function(){var e=["webkit","moz","ms","o"];if("hidden"in t)return"hidden";for(var n=0;n<e.length;n++)if(e[n]+"Hidden"in t)return e[n]+"Hidden";return null},getVisibilityEvent:function(){var e=this.getHiddenProperty();return e?e.replace(/[H|h]idden/,"")+"visibilitychange":null}},E.ecommerce={addItem:function(){var e=[].slice.call(arguments);E.onEvent({type:"ecommerce.additem",target:e})},addTrans:function(){var e=[].slice.call(arguments);E.data.saleData.sale={orderId:e[0],revenue:e[2]},E.onEvent({type:"ecommerce.addtrans",target:e})},trackTrans:function(){E.onEvent({type:"ecommerce.tracktrans",target:[]})}},E.extend(h.prototype,{getInstance:function(){return this.instance},initialize:function(){var e,t=this.settings;E.notify("Visitor ID: Initializing tool",1),null!==(e=this.createInstance(t.mcOrgId,t.initVars))&&(t.customerIDs&&this.applyCustomerIDs(e,t.customerIDs),t.autoRequest&&e.getMarketingCloudVisitorID(),this.instance=e)},createInstance:function(e,t){if(!E.isString(e))return E.notify('Visitor ID: Cannot create instance using mcOrgId: "'+e+'"',4),null;e=E.replace(e),E.notify('Visitor ID: Create instance using mcOrgId: "'+e+'"',1),t=this.parseValues(t);var n=Visitor.getInstance(e,t);return E.notify("Visitor ID: Set variables: "+E.stringify(t),1),n},applyCustomerIDs:function(e,t){var n=this.parseIds(t);e.setCustomerIDs(n),E.notify("Visitor ID: Set Customer IDs: "+E.stringify(n),1)},parseValues:function(e){if(!1===E.isObject(e))return{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=E.replace(e[n]));return t},parseIds:function(e){var t={};if(!1===E.isObject(e))return{};for(var n in e)if(e.hasOwnProperty(n)){var i=E.replace(e[n].id);i!==e[n].id&&i&&(t[n]={},t[n].id=i,t[n].authState=Visitor.AuthState[e[n].authState])}return t}}),E.availableTools.visitor_id=h,E.inherit(p,E.BaseTool),E.extend(p.prototype,{initialize:function(){var e=this.settings;if(!1!==this.settings.initTool){var t=e.url;t="string"==typeof t?E.basePath()+t:E.isHttps()?t.https:t.http,E.loadScript(t,E.bind(this.onLoad,this)),this.initializing=!0}else this.initialized=!0},isQueueAvailable:function(){return!this.initialized},onLoad:function(){this.initialized=!0,this.initializing=!1,this.settings.initialBeacon&&this.settings.initialBeacon(),this.flushQueue()},endPLPhase:function(e){e===this.settings.loadOn&&(E.notify(this.name+": Initializing at "+e,1),this.initialize())},$fire:function(e,t,n){this.initializing?this.queueCommand({command:"fire",arguments:[n]},e,t):n.call(this.settings,e,t)}}),E.availableTools.am=p,E.availableTools.adlens=p,E.availableTools.aem=p,E.availableTools.__basic=p,E.inherit(m,E.BaseTool),E.extend(m.prototype,{name:"tnt",endPLPhase:function(e){"aftertoolinit"===e&&this.initialize()},initialize:function(){E.notify("Test & Target: Initializing",1),this.initializeTargetPageParams(),this.load()},initializeTargetPageParams:function(){e.targetPageParams&&this.updateTargetPageParams(this.parseTargetPageParamsResult(e.targetPageParams())),this.updateTargetPageParams(this.settings.pageParams),this.setTargetPageParamsFunction()},load:function(){var e=this.getMboxURL(this.settings.mboxURL);!1!==this.settings.initTool?this.settings.loadSync?(E.loadScriptSync(e),this.onScriptLoaded()):(E.loadScript(e,E.bind(this.onScriptLoaded,this)),this.initializing=!0):this.initialized=!0},getMboxURL:function(t){var n=t;return E.isObject(t)&&(n="https:"===e.location.protocol?t.https:t.http),n.match(/^https?:/)?n:E.basePath()+n},onScriptLoaded:function(){E.notify("Test & Target: loaded.",1),this.flushQueue(),this.initialized=!0,this.initializing=!1},$addMbox:function(e,t,n){var i=n.mboxGoesAround,a=i+"{visibility: hidden;}",r=this.appendStyle(a);i in this.styleElements||(this.styleElements[i]=r),this.initialized?this.$addMBoxStep2(null,null,n):this.initializing&&this.queueCommand({command:"addMBoxStep2",arguments:[n]},e,t)},$addMBoxStep2:function(n,i,a){var r=this.generateID(),s=this;E.addEventHandler(e,"load",E.bind(function(){E.cssQuery(a.mboxGoesAround,function(n){var i=n[0];if(i){var o=t.createElement("div");o.id=r,i.parentNode.replaceChild(o,i),o.appendChild(i),e.mboxDefine(r,a.mboxName);var c=[a.mboxName];a.arguments&&(c=c.concat(a.arguments)),e.mboxUpdate.apply(null,c),s.reappearWhenCallComesBack(i,r,a.timeout,a)}})},this)),this.lastMboxID=r},$addTargetPageParams:function(e,t,n){this.updateTargetPageParams(n)},generateID:function(){return"_sdsat_mbox_"+String(Math.random()).substring(2)+"_"},appendStyle:function(e){var n=t.getElementsByTagName("head")[0],i=t.createElement("style");return i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(t.createTextNode(e)),n.appendChild(i),i},reappearWhenCallComesBack:function(e,t,n,i){function a(){var e=r.styleElements[i.mboxGoesAround];e&&(e.parentNode.removeChild(e),delete r.styleElements[i.mboxGoesAround])}var r=this;E.cssQuery('script[src*="omtrdc.net"]',function(e){var t=e[0];if(t){E.scriptOnLoad(t.src,t,function(){E.notify("Test & Target: request complete",1),a(),clearTimeout(i)});var i=setTimeout(function(){E.notify("Test & Target: bailing after "+n+"ms",1),a()},n)}else E.notify("Test & Target: failed to find T&T ajax call, bailing",1),a()})},updateTargetPageParams:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[E.replace(n)]=E.replace(e[n]));E.extend(this.targetPageParamsStore,t)},getTargetPageParams:function(){return this.targetPageParamsStore},setTargetPageParamsFunction:function(){e.targetPageParams=E.bind(this.getTargetPageParams,this)},parseTargetPageParamsResult:function(e){var t=e;return E.isArray(e)&&(e=e.join("&")),E.isString(e)&&(t=E.parseQueryParams(e)),t}}),E.availableTools.tnt=m;var T={allowLinker:function(){return E.hasMultipleDomains()},cookieDomain:function(){var t=E.settings.domainList,n=E.find(t,function(t){var n=e.location.hostname;return E.equalsIgnoreCase(n.slice(n.length-t.length),t)});return n?"."+n:"auto"}};E.inherit(v,E.BaseTool),E.extend(v.prototype,{name:"GAUniversal",endPLPhase:function(e){e===this.settings.loadOn&&(E.notify("GAU: Initializing at "+e,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},getTrackerName:function(){return this.settings.trackerSettings.name||""},isPageCodeLoadSuppressed:function(){return!1===this.settings.initTool||!0===this._cancelToolInit},initialize:function(){if(this.isPageCodeLoadSuppressed())return this.initialized=!0,void E.notify("GAU: Page code not loaded (suppressed).",1);var t="ga";e[t]=e[t]||this.createGAObject(),e.GoogleAnalyticsObject=t,E.notify("GAU: Page code loaded.",1),E.loadScriptOnce(this.getToolUrl());var n=this.settings;(T.allowLinker()&&!1!==n.allowLinker?this.createAccountForLinker():this.createAccount(),this.executeInitCommands(),n.customInit)&&(!1===(0,n.customInit)(e[t],this.getTrackerName())&&(this.suppressInitialPageView=!0));this.initialized=!0},createGAObject:function(){var e=function(){e.q.push(arguments)};return e.q=[],e.l=1*new Date,e},createAccount:function(){this.create()},createAccountForLinker:function(){var e={};T.allowLinker()&&(e.allowLinker=!0),this.create(e),this.call("require","linker"),this.call("linker:autoLink",this.autoLinkDomains(),!1,!0)},create:function(e){var t=this.settings.trackerSettings;(t=E.preprocessArguments([t],location,null,this.forceLowerCase)[0]).trackingId=E.replace(this.settings.trackerSettings.trackingId,location),t.cookieDomain||(t.cookieDomain=T.cookieDomain()),E.extend(t,e||{}),this.call("create",t)},autoLinkDomains:function(){var e=location.hostname;return E.filter(E.settings.domainList,function(t){return t!==e})},executeInitCommands:function(){var e=this.settings;e.initCommands&&E.each(e.initCommands,function(e){var t=e.splice(2,e.length-2);e=e.concat(E.preprocessArguments(t,location,null,this.forceLowerCase)),this.call.apply(this,e)},this)},trackInitialPageView:function(){this.suppressInitialPageView||this.isPageCodeLoadSuppressed()||this.call("send","pageview")},call:function(){"function"==typeof ga?this.isCallSuppressed()||(arguments[0]=this.cmd(arguments[0]),this.log(E.toArray(arguments)),ga.apply(e,arguments)):E.notify("GA Universal function not found!",4)},isCallSuppressed:function(){return!0===this._cancelToolInit},$missing$:function(e,t,n,i){i=i||[],i=[e].concat(i),this.call.apply(this,i)},getToolUrl:function(){var e=this.settings,t=E.isHttps();return e.url?t?e.url.https:e.url.http:(t?"https://ssl":"http://www")+".google-analytics.com/analytics.js"},cmd:function(e){var t=["send","set","get"],n=this.getTrackerName();return n&&-1!==E.indexOf(t,e)?n+"."+e:e},log:function(e){var t="GA Universal: sent command "+e[0]+" to tracker "+(this.getTrackerName()||"default");if(e.length>1){E.stringify(e.slice(1));t+=" with parameters "+E.stringify(e.slice(1))}t+=".",E.notify(t,1)}}),E.availableTools.ga_universal=v,E.inherit(y,E.BaseTool),E.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())E.notify("GA: page code not loaded(suppressed).",1);else{if(!n&&!y.scriptLoaded){var r=E.isHttps(),s=(r?"https://ssl":"http://www")+".google-analytics.com/ga.js";t.url&&(s=r?t.url.https:t.url.http),E.loadScript(s),y.scriptLoaded=!0,E.notify("GA: page code loaded.",1)}t.domain;var o=t.trackerName,c=T.allowLinker(),l=E.replace(t.account,location);E.settings.domainList;_gaq.push([this.cmd("setAccount"),l]),c&&_gaq.push([this.cmd("setAllowLinker"),c]),_gaq.push([this.cmd("setDomainName"),T.cookieDomain()]),E.each(i,function(e){var t=[this.cmd(e[0])].concat(E.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,E.fireEvent(this.id+".configure",_gaq,o)},isSuppressed:function(){return this._cancelToolInit||!1===this.settings.initTool},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=E.preprocessArguments([this.urlOverride],location,null,this.forceLowerCase);this.$missing$("trackPageview",null,null,e)}else this.$missing$("trackPageview")},endPLPhase:function(e){e===this.settings.loadOn&&(E.notify("GA: Initializing at "+e,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},call:function(e,t,n,i){if(!this._cancelToolInit){this.settings;var a=this.tracker(),r=this.cmd(e);i=i?[r].concat(i):[r];_gaq.push(i),a?E.notify("GA: sent command "+e+" to tracker "+a+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1):E.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=E.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]),E.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(T.allowLinker()&&e.hostname.match(this.settings.linkerDomains)&&!E.isSubdomainOf(e.hostname,location.hostname)){E.preventDefault(t);var i=E.settings.linkDelay||100;setTimeout(function(){n.call("link",e,t,[e.href])},i)}},popupLink:function(t,n){if(e._gat){E.preventDefault(n);var i=this.settings.account,a=e._gat._createTracker(i)._getLinkerUrl(t.href);e.open(a)}},$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);E.isNaN(i)&&(i=1),n[3]=i}this.call("trackEvent",e,t,n)}}),E.availableTools.ga=y,E.inherit(b,E.BaseTool),E.extend(b.prototype,{name:"SC",endPLPhase:function(e){e===this.settings.loadOn&&this.initialize(e)},initialize:function(t){if(!this._cancelToolInit)if(this.settings.initVars=this.substituteVariables(this.settings.initVars,{type:t}),!1!==this.settings.initTool){var n=this.settings.sCodeURL||E.basePath()+"s_code.js";"object"==typeof n&&(n="https:"===e.location.protocol?n.https:n.http),n.match(/^https?:/)||(n=E.basePath()+n),this.settings.initVars&&this.$setVars(null,null,this.settings.initVars),E.loadScript(n,E.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 E.notify("Adobe Analytics: tracker not initialized because account was not found",1),null;t=t||o(s);var c="D"+E.appVersion;return"undefined"!=typeof t.tagContainerMarker?t.tagContainerMarker=c:"string"==typeof t.version&&t.version.substring(t.version.length-5)!=="-"+c&&(t.version+="-"+c),t.sa&&!0!==this.settings.skipSetAccount&&!1!==this.settings.initTool&&t.sa(this.settings.account),this.applyVarBindingsOnTracker(t,a),r.length>0&&(t.events=r.join(",")),E.getVisitorId()&&(t.visitor=E.getVisitorId()),t},onSCodeLoaded:function(e){this.initialized=!0,this.initializing=!1;var t=["Adobe Analytics: loaded",e?" (manual)":"","."];E.notify(t.join(""),1),E.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},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,a=t.getAccount(e.location.hostname);if(!a)return null;var r,s,o="",c=n&&n.dc;return(r=(i=a).indexOf(","))>=0&&(i=i.gb(0,r)),i=i.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=i+"."+c+"."+s+o},sendBeacon:function(){var t=this.getS(e[this.settings.renameS||"s"]);t?this.settings.customInit&&!1===this.settings.customInit(t)?E.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(),E.notify("Adobe Analytics: tracked page view",1)):E.notify("Adobe Analytics: page code not loaded",1)},pollForSC:function(){E.poll(E.bind(function(){if("function"==typeof e.s_gi)return this.onSCodeLoaded(!0),!0},this))},flushQueueExceptTrackLink:function(){if(this.pending){for(var e=[],t=0;t<this.pending.length;t++){var n=this.pending[t];"trackLink"===n[0].command?e.push(n):this.triggerCommand.apply(this,n)}this.pending=e}},isQueueAvailable:function(){return!this.initialized},substituteVariables:function(e,t){var n={};for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];n[i]=E.replace(a,location,t)}return n},$setVars:function(e,t,n){for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];"function"==typeof a&&(a=a()),this.varBindings[i]=a}E.notify("Adobe Analytics: set variables.",2)},$customSetup:function(e,t,n){this.customSetupFuns.push(function(i){n.call(e,t,i)})},isValidSCInstance:function(e){return!!e&&"function"==typeof e.t&&"function"==typeof e.tl},concatWithToolVarBindings:function(e){var t=this.settings.initVars||{};return E.map(["trackingServer","trackingServerSecure"],function(n){t[n]&&!e[n]&&(e[n]=t[n])}),e},applyVarBindingsOnTracker:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},clearVarBindings:function(){this.varBindings={}},clearCustomSetup:function(){this.customSetupFuns=[]},executeCustomSetupFuns:function(t){E.each(this.customSetupFuns,function(n){n.call(e,t)})},$trackLink:function(e,t,n){var i=(n=n||{}).type,a=n.linkName;!a&&e&&e.nodeName&&"a"===e.nodeName.toLowerCase()&&(a=e.innerHTML),a||(a="link clicked");var r=n&&n.setVars,s=n&&n.addEvent||[],o=this.getS(null,{setVars:r,addEvent:s});if(o){var c=o.linkTrackVars,l=o.linkTrackEvents,u=this.definedVarNames(r);n&&n.customSetup&&n.customSetup.call(e,t,o),s.length>0&&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=E.map(s,function(e){return e.split(":")[0]});o.linkTrackEvents=this.getCustomLinkVarsList(d),o.tl(!0,i||"o",a),E.notify(["Adobe Analytics: tracked link ","using: linkTrackVars=",E.stringify(o.linkTrackVars),"; linkTrackEvents=",E.stringify(o.linkTrackEvents)].join(""),1),o.linkTrackVars=c,o.linkTrackEvents=l}else E.notify("Adobe Analytics: page code not loaded",1)},mergeTrackLinkVars:function(e,t){return e&&(t=e.split(",").concat(t)),t},getCustomLinkVarsList:function(e){var t=E.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});r?(r.linkTrackVars="",r.linkTrackEvents="",this.executeCustomSetupFuns(r),n&&n.customSetup&&n.customSetup.call(e,t,r),r.t(),this.clearVarBindings(),this.clearCustomSetup(),E.notify("Adobe Analytics: tracked page view",1)):E.notify("Adobe Analytics: page code not loaded",1)},$postTransaction:function(t,n,i){var a=E.data.transaction=e[i],r=this.varBindings,s=this.settings.fieldVarMapping;if(E.each(a.items,function(e){this.products.push(e)},this),r.products=E.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)){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(){for(var e=2,t=arguments.length;e<t;e++)this.events.push(arguments[e])},$addProduct:function(){for(var e=2,t=arguments.length;e<t;e++)this.products.push(arguments[e])}}),E.availableTools.sc=b,E.inherit(A,E.BaseTool),E.extend(A.prototype,{name:"Default",$loadIframe:function(t,n,i){var a=i.pages,r=i.loadOn,s=E.bind(function(){E.each(a,function(e){this.loadIframe(t,n,e)},this)},this);r||s(),"domready"===r&&E.domReady(s),"load"===r&&E.addEventHandler(e,"load",s)},loadIframe:function(e,n,i){var a=t.createElement("iframe");a.style.display="none";var r=E.data.host,s=i.data,o=this.scriptURL(i.src),c=E.searchVariables(s,e,n);r&&(o=E.basePath()+o),o+=c,a.src=o;var l=t.getElementsByTagName("body")[0];l?l.appendChild(a):E.domReady(function(){t.getElementsByTagName("body")[0].appendChild(a)})},scriptURL:function(e){return(E.settings.scriptDir||"")+e},$loadScript:function(t,n,i){var a=i.scripts,r=i.sequential,s=i.loadOn,o=E.bind(function(){r?this.loadScripts(t,n,a):E.each(a,function(e){this.loadScripts(t,n,[e])},this)},this);s?"domready"===s?E.domReady(o):"load"===s&&E.addEventHandler(e,"load",o):o()},loadScripts:function(e,t,n){function i(){r.length>0&&a&&r.shift().call(e,t,s);var c=n.shift();if(c){var l=E.data.host,u=o.scriptURL(c.src);l&&(u=E.basePath()+u),a=c,E.loadScript(u,i)}}try{n=n.slice(0);var a,r=this.asyncScriptCallbackQueue,s=t.target||t.srcElement,o=this}catch(c){console.error("scripts is",E.stringify(n))}i()},$loadBlockingScript:function(e,t,n){var i=n.scripts;n.loadOn;E.bind(function(){E.each(i,function(n){this.loadBlockingScript(e,t,n)},this)},this)()},loadBlockingScript:function(e,t,n){var i=this.scriptURL(n.src),a=E.data.host,r=t.target||t.srcElement;a&&(i=E.basePath()+i),this.argsForBlockingScripts.push([e,t,r]),E.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:E.escapeHtmlParams(function(e,n){if(!E.domReadyFired&&t.write)if("pagebottom"===n.type||"pagetop"===n.type)for(var i=2,a=arguments.length;i<a;i++){var r=arguments[i].html;r=E.replace(r,e,n),t.write(r)}else E.notify("You can only use writeHTML on the `pagetop` and `pagebottom` events.",1);else E.notify("Command writeHTML failed. You should try appending HTML using the async option.",1)}),linkNeedsDelayActivate:function(t,n){n=n||e;var i=t.tagName,a=t.getAttribute("target"),r=t.getAttribute("href");return(!i||"a"===i.toLowerCase())&&(!!r&&(!a||"_blank"!==a&&("_top"===a?n.top===n:"_parent"!==a&&("_self"===a||(!n.name||a===n.name)))))},$delayActivateLink:function(e,t){if(this.linkNeedsDelayActivate(e)){E.preventDefault(t);var n=E.settings.linkDelay||100;setTimeout(function(){E.setLocation(e.href)},n)}},isQueueable:function(e){return"writeHTML"!==e.command}}),E.availableTools["default"]=A,E.inherit(S,E.BaseTool),E.extend(S.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=E.bind(function(){this.notify("Tab visible, sending view beacon when ready",1),this.tabEverVisible=!0,this.flushQueueWhenReady()},this),this.onPageLeave=E.bind(function(){this.notify("isHuman? : "+this.isHuman(),1),this.isHuman()&&this.sendDurationBeacon()},this),this.onHumanDetectionChange=E.bind(function(e){this==e.target.target&&(this.human=e.target.isHuman)},this)},initialize:function(){this.initializeTracking(),this.initializeDataProviders(),this.initializeNonHumanDetection(),this.tabEverVisible=E.visibility.isVisible(),this.tabEverVisible?this.notify("Tab visible, sending view beacon when ready",1):E.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 S.DataProvider.VisitorID(E.getVisitorId())),t?(e=new S.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(){E.nonhumandetection?(E.nonhumandetection.init(),this.setEnableNonHumanDetection(0!=this.settings.enableNonHumanDetection),this.settings.nonHumanDetectionDelay>0&&this.setNonHumanDetectionDelay(1e3*parseInt(this.settings.nonHumanDetectionDelay))):this.notify("NHDM is not available.")},getAnalyticsTool:function(){if(this.settings.integratesWith)return E.tools[this.settings.integratesWith]},flushQueueWhenReady:function(){this.enableTracking&&this.tabEverVisible&&E.poll(E.bind(function(){if(this.isReadyToTrack())return this.flushQueue(),!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(){this.sendViewBeacon()},setEnableNonHumanDetection:function(e){e?E.nonhumandetection.register(this):E.nonhumandetection.unregister(this)},setNonHumanDetectionDelay:function(e){E.nonhumandetection.register(this,e)},addRemovePageLeaveEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" page leave event",1),E[0==e?"unbindEvent":"bindEvent"]("leave",this.onPageLeave)},addRemoveHumanDetectionChangeEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" human detection change event",1),E[0==e?"unbindEvent":"bindEvent"]("humandetection.change",this.onHumanDetectionChange)},sendViewBeacon:function(){this.notify("Tracked page view.",1),this.sendBeaconWith()},sendDurationBeacon:function(){if(E.timetracking&&"function"==typeof E.timetracking.timeOnPage&&null!=E.timetracking.timeOnPage()){this.notify("Tracked close",1),this.sendBeaconWith({timeOnPage:Math.round(E.timetracking.timeOnPage()/1e3),duration:"D",timer:"timer"});var e;for(e=0;e<this.magicConst;e++)"0"}else this.notify("Could not track close due missing time on page",5)},sendBeaconWith:function(e){this.enableTracking&&this[this.beaconMethod].call(this,this.prepareUrl(e))},plainBeacon:function(e){var t=new Image;t.src=e,t.width=1,t.height=1,t.alt=""},navigatorSendBeacon:function(e){navigator.sendBeacon(e)},prepareUrl:function(e){var t=this.settings;return E.extend(t,this.dataProvider.provide()),E.extend(t,e),this.preparePrefix(this.settings.collectionServer)+this.adapt.convertToURI(this.adapt.toNielsen(this.substituteVariables(t)))},preparePrefix:function(e){return"//"+encodeURIComponent(e)+".imrworldwide.com/cgi-bin/gn?"},substituteVariables:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=E.replace(e[n]));return t},prepareContextData:function(){if(this.getAnalyticsTool()){var e=this.settings;e.sdkVersion=_satellite.publishDate,this.getAnalyticsTool().$setVars(null,null,{contextData:this.adapt.toAnalytics(this.substituteVariables(e))})}else this.notify("Adobe Analytics missing.")},isHuman:function(){return this.human},onTabFocus:function(){},onPageLeave:function(){},onHumanDetectionChange:function(){},notify:function(e,t){E.notify(this.logPrefix+e,t)},beaconMethod:"plainBeacon",adapt:null,enableTracking:!1,logPrefix:"Nielsen: ",tabEverVisible:!1,human:!0,magicConst:2e6}),S.DataProvider={},S.DataProvider.Generic=function(e,t){this.key=e,this.valueFn=t},E.extend(S.DataProvider.Generic.prototype,{isReady:function(){return!0},getValue:function(){return this.valueFn()},provide:function(){this.isReady()||S.prototype.notify("Not yet ready to provide value for: "+this.key,5);var e={};return e[this.key]=this.getValue(),e}}),S.DataProvider.VisitorID=function(e,t,n){this.key=t||"uuid",this.visitorInstance=e,this.visitorInstance&&(this.visitorId=e.getMarketingCloudVisitorID([this,this._visitorIdCallback])),this.fallbackProvider=n||new S.UUID},E.inherit(S.DataProvider.VisitorID,S.DataProvider.Generic),E.extend(S.DataProvider.VisitorID.prototype,{isReady:function(){return null===this.visitorInstance||!!this.visitorId},getValue:function(){return this.visitorId||this.fallbackProvider.get()},_visitorIdCallback:function(e){this.visitorId=e}}),S.DataProvider.Aggregate=function(){this.providers=[];for(var e=0;e<arguments.length;e++)this.register(arguments[e])},E.extend(S.DataProvider.Aggregate.prototype,{register:function(e){this.providers.push(e)},isReady:function(){return E.every(this.providers,function(e){return e.isReady()})},provide:function(){var e={};return E.each(this.providers,function(t){E.extend(e,t.provide())}),e}}),S.UUID=function(){},E.extend(S.UUID.prototype,{generate:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},get:function(){var e=E.readCookie(this.key("uuid"));return e||(e=this.generate(),E.setCookie(this.key("uuid"),e),e)},key:function(e){return"_dtm_nielsen_"+e}}),S.DataAdapters=function(){},E.extend(S.DataAdapters.prototype,{toNielsen:function(e){var t=(new Date).getTime(),i={c6:"vc,",c13:"asid,",c15:"apn,",c27:"cln,",c32:"segA,",c33:"segB,",c34:"segC,",c35:"adrsid,",c29:"plid,",c30:"bldv,",c40:"adbid,"},a={ci:e.clientId,c6:e.vcid,c13:e.appId,c15:e.appName,prv:1,forward:0,ad:0,cr:e.duration||"V",rt:"text",st:"dcr",prd:"dcr",r:t,at:e.timer||"view",c16:e.sdkVersion,c27:e.timeOnPage||0,c40:e.uuid,c35:e.rsid,ti:t,sup:0,c32:e.segmentA,c33:e.segmentB,c34:e.segmentC,asn:e.assetName,c29:e.playerID,c30:e.buildVersion};for(key in a)if(a[key]!==n&&null!=a[key]&&a[key]!==n&&null!=a&&""!=a){var r=encodeURIComponent(a[key]);i.hasOwnProperty(key)&&r&&(r=i[key]+r),a[key]=r}return this.filterObject(a)},toAnalytics:function(e){return this.filterObject({"a.nielsen.clientid":e.clientId,"a.nielsen.vcid":e.vcid,"a.nielsen.appid":e.appId,"a.nielsen.appname":e.appName,"a.nielsen.accmethod":"0","a.nielsen.ctype":"text","a.nielsen.sega":e.segmentA,"a.nielsen.segb":e.segmentB,"a.nielsen.segc":e.segmentC,"a.nielsen.asset":e.assetName})},convertToURI:function(e){if(!1===E.isObject(e))return"";var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+"="+e[n]);return t.join("&")},filterObject:function(e){for(var t in e)!e.hasOwnProperty(t)||null!=e[t]&&e[t]!==n||delete e[t];return e}}),E.availableTools.nielsen=S,_satellite.init({tools:{ddc576a3290353fd666f5927db3ec737:{engine:"sc",loadOn:"pagebottom",account:"ocbcbosdev",euCookie:!1,sCodeURL:"5374b90b8769859d2a13e6890d74eb3a02f41dcf/s-code-contents-b897445ddabd5e6c84c11afac030312affb0eed7-staging.js",renameS:"s",initVars:{charSet:"UTF-8",currencyCode:"SGD",trackingServer:"ocbc.sc.omtrdc.net",trackingServerSecure:"ocbc.sc.omtrdc.net",trackInlineStats:!0,trackDownloadLinks:!0,linkDownloadFileTypes:"avi,css,csv,doc,docx,eps,exe,jpg,js,m4v,mov,mp3,pdf,png,ppt,pptx,rar,svg,tab,txt,vsd,vxd,wav,wma,wmv,xls,xlsx,xml,zip",trackExternalLinks:!0,linkInternalFilters:"%AA:content:hostName%,javascript:,mailto:,tel:",linkLeaveQueryString:!1,dynamicVariablePrefix:"D="}},"66283bdb63fbbcf9af8e70f61d7e7603bbd6ccd9":{engine:"visitor_id",loadOn:"pagetop",name:"VisitorID",mcOrgId:"EFBB176F5641ECE37F000101@AdobeOrg",autoRequest:!0,initVars:{trackingServer:"ocbc.sc.omtrdc.net",trackingServerSecure:"ocbc.sc.omtrdc.net",disableIdSyncs:"true"}}},pageLoadRules:[{name:"AA:content:allpages",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar4:"D=c4",eVar5:"D=c5",eVar9:"D=c7",prop1:"%AA:content:subcategory%",prop11:"%AA:content:loggedin%",prop12:"%AA:content:language%",prop17:"%AA:content:cookieenabledstatus%",prop2:"%AA:content:pageurl%",prop4:"%AA:content:tab:type%",prop5:"%AA:content:tab:name%",prop6:"%AA:content:platform%",prop7:"%AA:content:sitetype%",server:"%AA:content:hostName%",pageName:"%AA:content:pagename%",channel:"%AA:content:primarycategory%",pageURL:"%AA:content:pageurl%"}]},{engine:"sc",command:"addEvent",arguments:["event1"]}],conditions:[function(){return"undefined"!=typeof digitalData}],event:"pagebottom"},{name:"AA:content:otppages",trigger:[{engine:"sc",command:"customSetup",arguments:[function(e,t){try{digitalData.event&&"otpview"==digitalData.event[0].eventInfo.eventName?t.events=t.apl(t.events,"event21",",",2):digitalData.event&&"otperror"==digitalData.event[0].eventInfo.eventName?t.events=t.apl(t.events,"event23",",",2):digitalData.event&&"otpsuccess"==digitalData.event[0].eventInfo.eventName&&(t.events=t.apl(t.events,"event24",",",2))}catch(n){_satellite.notify(n,5)}}]}],event:"pagebottom"},{name:"AA:error:errortracking",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar13:"%AA:content:errormessage%",eVar14:"%AA:content:errortype%",prop21:"%AA:content:errormessage%",prop22:"%AA:content:errortype%"}]},{engine:"sc",command:"addEvent",arguments:["event19"]}],conditions:[function(){return""!=_satellite.getVar("AA:content:errormessage")}],event:"pagebottom"},{name:"AA:research:articleview",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar11:"%AA:research:articleid%",eVar16:"%AA:research:articlerecommendationtype%",eVar17:"%AA:content:eventname%"}]},{engine:"sc",command:"customSetup",arguments:[function(e,t){try{digitalData.event&&"article:detailview"==digitalData.event[0].eventInfo.eventAction?t.events=t.apl(t.events,"event12",",",2):digitalData.event&&"article:pdfview"==digitalData.event[0].eventInfo.eventAction&&(t.events=t.apl(t.events,"event14",",",2))}catch(n){_satellite.notify(n,5)}}]}],conditions:[function(){return void 0!==_satellite.getVar("AA:research:articleid")&&""!=_satellite.getVar("AA:research:articleid")}],event:"pagebottom"},{name:"AA:search:internalsitesearch",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar21:"%AA:search:searchtype%",eVar22:"%AA:search:searchterm%",eVar23:"%AA:search:noofsearchresults%"}]},{engine:"sc",command:"customSetup",arguments:[function(e,t){try{t.eVar22&&(t.events=t.apl(t.events,"event2",",",2)),"zero"==t.eVar23&&(t.events=t.apl(t.events,"event3",",",2))}catch(n){_satellite.notify(n,5)}}]}],conditions:[function(){return""!=_satellite.getVar("AA:search:searchterm")}],event:"pagebottom"},{name:"AA:selfservice:applicationjourney",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar31:"%AA:selfservice:selfservename%"}]},{engine:"sc",command:"customSetup",arguments:[function(e,t){try{digitalData.event&&"journey:start"==digitalData.event[0].eventInfo.eventName?t.events=t.apl(t.events,"event31",",",2):!digitalData.event||"journey:complete"!=digitalData.event[0].eventInfo.eventName&&"login:success"!=digitalData.event[0].eventInfo.eventName||(t.events=t.apl(t.events,"event32",",",2))}catch(n){_satellite.notify(n,5)}}]}],conditions:[function(){return""!=_satellite.getVar("AA:selfservice:selfservename")}],event:"pagebottom"},{name:"AA:visitorsegmentation:user",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar36:"%AA:content:user:profileID%",eVar37:"%AA:content:user:profilegroup%"}]},{engine:"sc",command:"customSetup",arguments:[function(e,t){try{digitalData.event&&"login:success"==digitalData.event[0].eventInfo.eventName?t.events=t.apl(t.events,"event6",",",2):digitalData.event&&"logout:success"==digitalData.event[0].eventInfo.eventName&&(t.events=t.apl(t.events,"event7",",",2))}catch(n){_satellite.notify(n,5)}}]}],event:"pagebottom"}],rules:[],directCallRules:[{name:"pageload",trigger:[{engine:"sc",command:"trackPageView",arguments:[{setVars:{eVar4:"D=c4",eVar5:"D=c5",eVar9:"D=c7",prop1:"%AA:content:subcategory%",prop11:"%AA:content:loggedin%",prop12:"%AA:content:language%",prop17:"%AA:content:cookieenabledstatus%",prop2:"%AA:content:pageurl%",prop4:"%AA:content:tab:type%",prop5:"%AA:content:tab:name%",prop6:"%AA:content:platform%",prop7:"%AA:content:sitetype%",pageName:"%AA:content:pagename%",channel:"%AA:content:primarycategory%",pageURL:"%AA:content:pageurl%"},customSetup:function(e,t){try{""!=_satellite.getVar("AA:search:searchterm")&&(t.eVar21=_satellite.getVar("AA:search:searchtype"),t.eVar22=_satellite.getVar("AA:search:searchterm"),t.eVar23=_satellite.getVar("AA:search:noofsearchresults"),t.eVar22&&(t.events=t.apl(t.events,"event2",",",2)),"notfound"==t.eVar23&&(t.events=t.apl(t.events,"event3",",",2))),digitalData.event&&"otpview"==digitalData.event[0].eventInfo.eventName?t.events=t.apl(t.events,"event21",",",2):digitalData.event&&"otperror"==digitalData.event[0].eventInfo.eventName?t.events=t.apl(t.events,"event23",",",2):digitalData.event&&"otpsuccess"==digitalData.event[0].eventInfo.eventName&&(t.events=t.apl(t.events,"event24",",",2)),digitalData.event&&"journey:start"==digitalData.event[0].eventInfo.eventName?(t.eVar31=_satellite.getVar("AA:selfservice:selfservename"),t.events=t.apl(t.events,"event31",",",2)):!digitalData.event||"journey:complete"!=digitalData.event[0].eventInfo.eventName&&"login:success"!=digitalData.event[0].eventInfo.eventName||(t.eVar31=_satellite.getVar("AA:selfservice:selfservename"),t.events=t.apl(t.events,"event32",",",2))}catch(n){_satellite.notify(n,5)}},addEvent:["event1"]}]}]},{name:"ctaclick",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"%AA:content:eventname%",setVars:{prop9:"%AA:content:pagename%"}}]}]},{name:"error",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"erroronclick",setVars:{eVar13:"%AA:content:eventname%",eVar14:"%AA:content:eventaction%",prop21:"%AA:content:eventname%",prop22:"%AA:content:eventaction%",prop9:"%AA:content:pagename%"},addEvent:["event19"]}]}]},{name:"faqclicked",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"faqclicked",setVars:{prop13:"%AA:content:eventaction%"}}]}]},{name:"filedownload",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"filedownload",setVars:{eVar6:"%AA:content:eventaction%",eVar7:"%AA:content:eventname%"},addEvent:["event5"]}]}]},{name:"filterclicked",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"filterclicked",setVars:{eVar27:"%AA:filter:filtertype%",eVar28:"%AA:content:eventaction%",eVar29:"%AA:filter:filtersearchterm%",eVar30:"%AA:filter:filtersearchresults%"},addEvent:["event26"]}]}]},{name:"internalbannerclicked",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"internalbannerclick",setVars:{eVar16:"%AA:research:articleid%",eVar17:"%AA:content:eventname%",eVar25:"%AA:internalcampaigncode%"},addEvent:["event15"]}]}]},{name:"loginclicked",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"loginclicked",setVars:{eVar31:"%AA:content:eventname%"},addEvent:["event31"]}]}]},{name:"otpcancel",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"otpcancel",addEvent:["event25"]}]}]},{name:"otpresend",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"otpresendclick",addEvent:["event22"]}]}]},{name:"articleclicked",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"articleclicked",setVars:{eVar11:"%AA:research:articleid%",eVar16:"%AA:research:articlerecommendationtype%",eVar17:"%AA:content:eventname%"},customSetup:function(e,t){try{digitalData.event&&"article:click"==digitalData.event[0].eventInfo.eventAction?(t.events=t.apl(t.events,"event11",",",2),t.linkTrackVars=t.apl(t.linkTrackVars,"events",",",2),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event11",",",2)):digitalData.event&&"article:download"==digitalData.event[0].eventInfo.eventAction&&(t.events=t.apl(t.events,"event13",",",2),t.linkTrackVars=t.apl(t.linkTrackVars,"events",",",2),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event13",",",2))}catch(n){_satellite.notify(n,5)}}}]}]},{name:"articlerated",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"articlerated",setVars:{eVar11:"%AA:research:articleid%",eVar15:"%AA:research:articlerating%",eVar17:"%AA:content:eventname%"},addEvent:["event10"]}]}]},{name:"searchresultclick",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"searchresultclicked",setVars:{eVar24:"%AA:content:eventaction%"},addEvent:["event4"]}]}]},{name:"securemessage",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"securemessageclick",setVars:{eVar32:"%AA:content:pagename%",eVar33:"%AA:content:eventname%"},customSetup:function(e,t){try{digitalData.event&&"securemessage:start"==digitalData.event[0].eventInfo.eventAction?(t.events=t.apl(t.events,"event33",",",2),t.linkTrackVars=t.apl(t.linkTrackVars,"events",",",2),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event33",",",2)):digitalData.event&&"securemessage:end"==digitalData.event[0].eventInfo.eventAction&&(t.events=t.apl(t.events,"event34",",",2),t.linkTrackVars=t.apl(t.linkTrackVars,"events",",",2),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event34",",",2))}catch(n){_satellite.notify(n,5)}}}]}]},{name:"socialshare",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"socialinteraction",setVars:{eVar8:"%AA:content:eventaction%"},addEvent:["event18"]}]}]},{name:"tab click",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"tabtype",setVars:{eVar4:"D=c4",eVar5:"D=c5",prop4:"%AA:content:tab:type%",prop5:"%AA:content:tab:name%"}}]}]},{name:"accountnamechanged",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"accountnamechanged",addEvent:["event8"]}]}]}],settings:{trackInternalLinks:!0,libraryName:"satelliteLib-8b5928934f9b5215732c5ce95ff398773158337c",isStaging:!0,allowGATTcalls:!1,downloadExtensions:/\.(?:doc|docx|eps|jpg|png|svg|xls|ppt|pptx|pdf|xlsx|tab|csv|zip|txt|vsd|vxd|xml|js|css|rar|exe|wma|mov|avi|wmv|mp3|wav|m4v)($|\&|\?)/i,notifications:!1,utilVisible:!1,domainList:["bankofsingapore.com"],scriptDir:"5374b90b8769859d2a13e6890d74eb3a02f41dcf/scripts/",tagTimeout:3e3},data:{URI:t.location.pathname+t.location.search,browser:{},cartItems:[],revenue:"",host:{http:"assets.adobedtm.com",https:"assets.adobedtm.com"}},dataElements:{"AA:content:cookieenabledstatus":{jsVariable:"navigator.cookieEnabled",storeLength:"pageview",forceLowerCase:!0},"AA:content:errormessage":{jsVariable:"digitalData.error.errormessage",storeLength:"pageview",forceLowerCase:!0},"AA:content:errortype":{jsVariable:"digitalData.error.errortype",storeLength:"pageview",forceLowerCase:!0},"AA:content:eventaction":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.eventAction)return digitalData.event[0].eventInfo.eventAction}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:content:eventname":{customJS:function(){try{if(digitalData.event)return digitalData.event[0].eventInfo.eventName}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:content:hostName":{jsVariable:"document.location.hostname",storeLength:"pageview"},"AA:content:language":{jsVariable:"digitalData.page.pageInfo.language",storeLength:"pageview",forceLowerCase:!0},"AA:content:loggedin":{jsVariable:"digitalData.page.attributes.loggindIn",storeLength:"pageview",forceLowerCase:!0},"AA:content:pagename":{jsVariable:"digitalData.page.pageInfo.pageName",storeLength:"pageview",forceLowerCase:!0},"AA:content:pageurl":{jsVariable:"location.href",storeLength:"pageview",forceLowerCase:!0},"AA:content:platform":{jsVariable:"digitalData.siteInfo.platform",storeLength:"pageview",forceLowerCase:!0},"AA:content:primarycategory":{jsVariable:"digitalData.page.category.primaryCategory",storeLength:"pageview",forceLowerCase:!0},"AA:content:sitetype":{jsVariable:"digitalData.siteInfo.siteType",storeLength:"pageview",forceLowerCase:!0},"AA:content:subcategory":{jsVariable:"digitalData.page.category.subCategory1",storeLength:"pageview",forceLowerCase:!0},"AA:content:tab:name":{customJS:function(){try{if(digitalData.tab)return digitalData.tab.name}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:content:tab:type":{customJS:function(){try{if(digitalData.tab)return digitalData.tab.type}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:content:user:profilegroup":{customJS:function(){try{if(digitalData.user)return digitalData.user[0].profile[0].profileInfo.profilegroup}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:content:user:profileID":{customJS:function(){try{if("undefined"!=typeof digitalData&&digitalData.user)return digitalData.user[0].profile[0].profileInfo.profileID}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:filter:filtersearchresults":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.filtersearchresults)return digitalData.event[0].eventInfo.filtersearchresults}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:filter:filtersearchterm":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.filtersearchterm)return digitalData.event[0].eventInfo.filtersearchterm}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:filter:filtertype":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.filtertype)return digitalData.event[0].eventInfo.filtertype}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:internalcampaigncode":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.intcid)return digitalData.event[0].eventInfo.intcid}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:research:articleid":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.articleid)return digitalData.event[0].eventInfo.articleid}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:research:articlerating":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.articlerating)return digitalData.event[0].eventInfo.articlerating}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:research:articlerecommendationtype":{customJS:function(){try{if(digitalData.event&&digitalData.event[0].eventInfo.articlerecommendationtype)return digitalData.event[0].eventInfo.articlerecommendationtype}catch(e){_satellite.notify(e,5)}},storeLength:"pageview",forceLowerCase:!0},"AA:search:noofsearchresults":{jsVariable:"digitalData.page.pageInfo.onsiteSearchResults",storeLength:"pageview",forceLowerCase:!0},"AA:search:searchterm":{jsVariable:"digitalData.page.pageInfo.onsiteSearchTerm",storeLength:"pageview",forceLowerCase:!0},"AA:search:searchtype":{jsVariable:"digitalData.page.pageInfo.onsiteSearchType",storeLength:"pageview",forceLowerCase:!0},"AA:selfservice:selfservename":{jsVariable:"digitalData.selfservice.selfserveName",storeLength:"pageview",forceLowerCase:!0}},appVersion:"7QN",buildDate:"2018-10-15 05:30:06 UTC",publishDate:"2018-08-08 05:58:11 UTC"})}(window,document);