ScienceDirect
Are you a robot?
Please confirm you are a human by completing the captcha challenge below.
- Reference number: a1ff62003c155094
- IP Address: 104.23.243.33
",promise:n.resolve()}}}},"core/src/lib/actions/helpers/decorators/decorateNonGlobalJavaScriptCode.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-promise"),r=0;e.exports=function(e,t){var a="_runScript"+ ++r,i=new n((function(t,r){_satellite[a]=function(i){delete _satellite[a],new n((function(t){t(i.call(e.event.element,e.event,e.event.target,n))})).then(t,r)}}));return{code:'",promise:i}}}},"core/src/lib/actions/helpers/decorators/decorateHtmlCode.js":{script:function(e,t,a,n){"use strict";var r=a("@adobe/reactor-promise"),i=0,s={};window._satellite=window._satellite||{},window._satellite._onCustomCodeSuccess=function(e){var t=s[e];t&&(delete s[e],t.resolve())},window._satellite._onCustomCodeFailure=function(e){var t=s[e];t&&(delete s[e],t.reject())};var o=function(e){return-1!==e.indexOf("${reactorCallbackId}")},c=function(e,t){return e.replace(/\${reactorCallbackId}/g,t)},l=function(e){return e.settings.isExternal};e.exports=function(e,t){var a;return l(e)&&(t=n.replaceTokens(t,e.event)),o(t)?(a=new r((function(e,t){s[String(i)]={resolve:e,reject:t}})),t=c(t,i),i+=1):a=r.resolve(),{code:t,promise:a}}}},"core/src/lib/actions/helpers/getSourceByUrl.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-load-script"),r=a("@adobe/reactor-promise"),i=a("../../helpers/findPageScript").byRegexPattern,s={},o={},c=function(e){return o[e]||(o[e]=n(e)),o[e]};_satellite.__registerScript=function(e,t){var a;if(document.currentScript)a=document.currentScript.getAttribute("src");else{var n=new RegExp(".*"+e+".*");a=i(n).getAttribute("src")}s[a]=t},e.exports=function(e){return s[e]?r.resolve(s[e]):new r((function(t){c(e).then((function(){t(s[e])}),(function(){t()}))}))}}},"core/src/lib/events/helpers/pageLifecycleEvents.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-window"),r=a("@adobe/reactor-document"),i=-1!==n.navigator.appVersion.indexOf("MSIE 10"),s="WINDOW_LOADED",o="DOM_READY",c="PAGE_BOTTOM",l=[c,o,s],u=function(e,t){return{element:e,target:e,nativeEvent:t}},d={};l.forEach((function(e){d[e]=[]}));var p=function(e,t){l.slice(0,v(e)+1).forEach((function(e){g(t,e)}))},m=function(){return"complete"===r.readyState?s:"interactive"===r.readyState?i?null:o:void 0},v=function(e){return l.indexOf(e)},g=function(e,t){d[t].forEach((function(t){f(e,t)})),d[t]=[]},f=function(e,t){var a=t.trigger,n=t.syntheticEventFn;a(n?n(e):null)};n._satellite=n._satellite||{},n._satellite.pageBottom=p.bind(null,c),r.addEventListener("DOMContentLoaded",p.bind(null,o),!0),n.addEventListener("load",p.bind(null,s),!0),n.setTimeout((function(){var e=m();e&&p(e)}),0),e.exports={registerLibraryLoadedTrigger:function(e){e()},registerPageBottomTrigger:function(e){d[c].push({trigger:e})},registerDomReadyTrigger:function(e){d[o].push({trigger:e,syntheticEventFn:u.bind(null,r)})},registerWindowLoadedTrigger:function(e){d[s].push({trigger:e,syntheticEventFn:u.bind(null,n)})}}}}}},"adobe-mcid":{displayName:"Experience Cloud ID Service",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP31a59fd25d824db7be52972a70e94c1c/",settings:{orgId:"4D6368F454EC41940A4C98A6@AdobeOrg",variables:[{name:"serverState",value:"%serverState%"},{name:"trackingServer",value:"metrics.elsevier.com"},{name:"trackingServerSecure",value:"smetrics.elsevier.com"},{name:"marketingCloudServer",value:"metrics.elsevier.com"},{name:"marketingCloudServerSecure",value:"smetrics.elsevier.com"},{name:"loadSSL",value:"true"},{name:"overwriteCrossDomainMCIDAndAID",value:"%mcmid - pass params%"}]},modules:{"adobe-mcid/src/lib/sharedModules/mcidInstance.js":{script:function(e,t,a,n){"use strict";var r=a("@adobe/reactor-document"),i=a("../codeLibrary/VisitorAPI"),s=a("../../view/utils/timeUnits"),o=function(e){return e.reduce((function(e,t){var a=/^(true|false)$/i.test(t.value)?JSON.parse(t.value):t.value;return e[t.name]=a,e}),{})},c=function(e){var t=n.getExtensionSettings();if("string"!=typeof t.orgId)throw new TypeError("Org ID is not a string.");var a=o(t.variables||[]),r=t.doesOptInApply;r&&("boolean"==typeof r?a.doesOptInApply=r:t.optInCallback&&(a.doesOptInApply=t.optInCallback));var i=t.isOptInStorageEnabled;i&&(a.isOptInStorageEnabled=i);var c=t.optInCookieDomain;c&&(a.optInCookieDomain=c);var l=t.optInStorageExpiry;if(l){var u=t.timeUnit;if(u&&s[u]){var d=l*s[u];a.optInStorageExpiry=d}}else!0===i&&(a.optInStorageExpiry=33696e3);var p=t.previousPermissions;p&&(a.previousPermissions=p);var m=t.preOptInApprovals;if(m)a.preOptInApprovals=m;else{var v=t.preOptInApprovalInput;v&&(a.preOptInApprovals=v)}var g=t.isIabContext;g&&(a.isIabContext=g);var f=e.getInstance(t.orgId,a);return n.logger.info('Created instance using orgId: "'+t.orgId+'"'),n.logger.info("Set variables: "+JSON.stringify(a)),f.getMarketingCloudVisitorID((function(e){n.logger.info("Obtained Marketing Cloud Visitor Id: "+e)}),!0),f},l=function(e){return(n.getExtensionSettings().pathExclusions||[]).some((function(t){return t.valueIsRegex?new RegExp(t.value,"i").test(e):t.value===e}))},u=null;_satellite.getVisitorId=function(){return u},l(r.location.pathname)?n.logger.warn("MCID library not loaded. One of the path exclusions matches the current path."):u=c(i),e.exports=u},name:"mcid-instance",shared:!0},"adobe-mcid/src/lib/codeLibrary/VisitorAPI.js":{script:function(e){e.exports=(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function a(){return{callbacks:{},add:function(e,t){this.callbacks[e]=this.callbacks[e]||[];var a=this.callbacks[e].push(t)-1,n=this;return function(){n.callbacks[e].splice(a,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 a=this.callbacks[e].shift();"function"==typeof a?a.apply(null,t):a instanceof Array&&a[1].apply(a[0],t)}delete this.callbacks[e]}catch(e){}}},executeAll:function(e,t){(t||e&&!A.isObjectEmpty(e))&&Object.keys(this.callbacks).forEach((function(t){var a=void 0!==e[t]?e[t]:"";this.execute(t,a)}),this)},hasCallbacks:function(){return Boolean(Object.keys(this.callbacks).length)}}}function n(e,t,a){var n=null==e?void 0:e[t];return void 0===n?a:n}function r(e){for(var t=/^\d+$/,a=0,n=e.length;ar)return 1;if(r>n)return-1}return 0}function o(e,t){if(e===t)return 0;var a=e.toString().split("."),n=t.toString().split(".");return r(a.concat(n))?(i(a,n),s(a,n)):NaN}function c(e){return e===Object(e)&&0===Object.keys(e).length}function l(e){return"function"==typeof e||e instanceof Array&&e.length}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};this.log=ue("log",e,t),this.warn=ue("warn",e,t),this.error=ue("error",e,t)}function d(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).cookieName,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).cookies;if(!e||!t)return{get:Ce,set:Ce,remove:Ce};var a={remove:function(){t.remove(e)},get:function(){var a=t.get(e),n={};try{n=JSON.parse(a)}catch(a){n={}}return n},set:function(n,r){r=r||{};var i=a.get(),s=Object.assign(i,n);t.set(e,JSON.stringify(s),{domain:r.optInCookieDomain||"",cookieLifetime:r.optInStorageExpiry||3419e4,secure:r.secure,sameSite:r.sameSite,expires:!0})}};return a}function p(e){this.name=this.constructor.name,this.message=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}function m(){function e(e,t){var a=ge(e);return a.length?a.every((function(e){return!!t[e]})):fe(t)}function t(){w(T),S(te.COMPLETE),b(h.status,h.permissions),o&&f.set(h.permissions,{optInCookieDomain:c,optInStorageExpiry:l,secure:p,sameSite:m}),y.execute(je)}function a(e){return function(a,n){if(!he(a))throw new Error("[OptIn] Invalid category(-ies). Please use the `OptIn.Categories` enum.");return S(te.CHANGED),Object.assign(T,be(ge(a),e)),n||t(),h}}var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.doesOptInApply,i=n.previousPermissions,s=n.preOptInApprovals,o=n.isOptInStorageEnabled,c=n.optInCookieDomain,l=n.optInStorageExpiry,u=n.isIabContext,p=n.secureCookie,m=n.sameSiteCookie,v=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).cookies,g=Te(i);Se(g,"Invalid `previousPermissions`!"),Se(s,"Invalid `preOptInApprovals`!");var f=d({cookieName:"adobeujs-optin"},{cookies:v}),h=this,b=ee(h),y=oe(),k=De(g),D=De(s),V=o?f.get():{},P={},E=function(e,t){return Ve(e)||t&&Ve(t)?te.COMPLETE:te.PENDING}(k,V),C=function(e,t,a){var n=be(se,!r);return r?Object.assign({},n,e,t,a):n}(D,k,V),T=ye(C),S=function(e){return E=e},w=function(e){return C=e};h.deny=a(!1),h.approve=a(!0),h.denyAll=h.deny.bind(h,se),h.approveAll=h.approve.bind(h,se),h.isApproved=function(t){return e(t,h.permissions)},h.isPreApproved=function(t){return e(t,D)},h.fetchPermissions=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=t?h.on(te.COMPLETE,e):Ce;return!r||r&&h.isComplete||s?e(h.permissions):t||y.add(je,(function(){return e(h.permissions)})),a},h.complete=function(){h.status===te.CHANGED&&t()},h.registerPlugin=function(e){if(!e||!e.name||"function"!=typeof e.onRegister)throw new Error(_e);P[e.name]||(P[e.name]=e,e.onRegister.call(e,h))},h.execute=Ae(P),h.memoizeContent=function(e){Ee(e)&&f.set(e,{optInCookieDomain:c,optInStorageExpiry:l,secure:p,sameSite:m})},h.getMemoizedContent=function(e){var t=f.get();if(t)return t[e]},Object.defineProperties(h,{permissions:{get:function(){return C}},status:{get:function(){return E}},Categories:{get:function(){return ae}},doesOptInApply:{get:function(){return!!r}},isPending:{get:function(){return h.status===te.PENDING}},isComplete:{get:function(){return h.status===te.COMPLETE}},__plugins:{get:function(){return Object.keys(P)}},isIabContext:{get:function(){return u}}})}function v(e,t){function a(){r=null,e.call(e,new p("The call took longer than you wanted!"))}function n(){r&&(clearTimeout(r),e.apply(e,arguments))}if(void 0===t)return e;var r=setTimeout(a,t);return n}function g(){if(window.__tcfapi)return window.__tcfapi;var e=window;if(e!==window.top){for(var t;!t;){e=e.parent;try{e.frames.__tcfapiLocator&&(t=e)}catch(e){}if(e===window.top)break}if(t){var a={};return window.__tcfapi=function(e,n,r,i){var s=Math.random()+"",o={__tcfapiCall:{command:e,parameter:i,version:n,callId:s}};a[s]=r,t.postMessage(o,"*")},window.addEventListener("message",(function(e){var t=e.data;if("string"==typeof t)try{t=JSON.parse(e.data)}catch(e){}if(t.__tcfapiReturn){var n=t.__tcfapiReturn;"function"==typeof a[n.callId]&&(a[n.callId](n.returnValue,n.success),delete a[n.callId])}}),!1),window.__tcfapi}me.error("__tcfapi not found")}else me.error("__tcfapi not found")}function f(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=!0===e.vendor.consents[t],r=a.every((function(t){return!0===e.purpose.consents[t]}));return n&&r}function h(){var e=this;e.name="iabPlugin",e.version="0.0.2";var t,a=oe(),n={transparencyAndConsentData:null},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n[e]=t};e.fetchConsentData=function(e){var t=v(e.callback,e.timeout);i({callback:t})},e.isApproved=function(e){var t=e.callback,a=e.category,r=e.timeout;if(n.transparencyAndConsentData)return t(null,f(n.transparencyAndConsentData,ne[a],re[a]));var s=v((function(e,n){t(e,f(n,ne[a],re[a]))}),r);i({category:a,callback:s})},e.onRegister=function(a){t=a;var n=Object.keys(ne),r=function(e,t){!e&&t&&(n.forEach((function(e){var n=f(t,ne[e],re[e]);a[n?"approve":"deny"](e,!0)})),a.complete())};e.fetchConsentData({callback:r})};var i=function(e){var i=e.callback;if(n.transparencyAndConsentData)return i(null,n.transparencyAndConsentData);a.add("FETCH_CONSENT_DATA",i),s((function(e,i){if(i){var s=ye(e),o=t.getMemoizedContent("iabConsentHash"),c=pe(s.tcString).toString(32);s.consentString=e.tcString,s.hasConsentChangedSinceLastCmpPull=o!==c,r("transparencyAndConsentData",s),t.memoizeContent({iabConsentHash:c})}a.execute("FETCH_CONSENT_DATA",[null,n.transparencyAndConsentData])}))},s=function(e){var t=Ie(ne),a=g();"function"==typeof a&&a("getTCData",2,e,t)}}var b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};Object.assign=Object.assign||function(e){for(var t,a,n=1;n=0||t.indexOf("Trident/")>=0&&t.indexOf("Windows NT 6")>=0};a.getIeVersion=function(){return document.documentMode?document.documentMode:n()?7:null},a.isFirefox=function(e){return!!/Firefox\/([0-9\.]+)(?:\s|$)/.test(e||window.navigator.userAgent)},a.encodeAndBuildRequest=function(e,t){return e.map(encodeURIComponent).join(t)},a.isObject=function(t){return null!==t&&"object"===e(t)&&!1===Array.isArray(t)},a.defineGlobalNamespace=function(){return window.adobe=a.isObject(window.adobe)?window.adobe:{},window.adobe},a.pluck=function(e,t){return t.reduce((function(t,a){return e[a]&&(t[a]=e[a]),t}),Object.create(null))},a.parseOptOut=function(e,t,a){t||(t=a,e.d_optout&&e.d_optout instanceof Array&&(t=e.d_optout.join(",")));var n=parseInt(e.d_ottl,10);return isNaN(n)&&(n=7200),{optOut:t,d_ottl:n}},a.normalizeBoolean=function(e){var t=e;return"true"===e?t=!0:"false"===e&&(t=!1),t}})),j=(A.isObjectEmpty,A.isValueEmpty,A.getIeVersion,A.isFirefox,A.encodeAndBuildRequest,A.isObject,A.defineGlobalNamespace,A.pluck,A.parseOptOut,A.normalizeBoolean,a),_=D.MESSAGES,N={0:"prefix",1:"orgID",2:"state"},O=function(e,t){this.parse=function(e){try{var t={};return e.data.split("|").forEach((function(e,a){void 0!==e&&(t[N[a]]=2!==a?e:JSON.parse(e))})),t}catch(e){}},this.isInvalid=function(a){var n=this.parse(a);if(!n||Object.keys(n).length<2)return!0;var r=e!==n.orgID,i=!t||a.origin!==t,s=-1===Object.keys(_).indexOf(n.prefix);return r||i||s},this.send=function(a,n,r){var i=n+"|"+e;r&&r===Object(r)&&(i+="|"+JSON.stringify(r));try{a.postMessage(i,t)}catch(e){}}},L=D.MESSAGES,x=function(e,t,a,n){function r(e){Object.assign(m,e)}function i(e){Object.assign(m.state,e),Object.assign(m.state.ALLFIELDS,e),m.callbackRegistry.executeAll(m.state)}function s(e){if(!f.isInvalid(e)){g=!1;var t=f.parse(e);m.setStateAndPublish(t.state)}}function o(e){!g&&v&&(g=!0,f.send(n,e))}function c(){r(new P(a._generateID)),m.getMarketingCloudVisitorID(),m.callbackRegistry.executeAll(m.state,!0),b.removeEventListener("message",l)}function l(e){if(!f.isInvalid(e)){var t=f.parse(e);g=!1,b.clearTimeout(m._handshakeTimeout),b.removeEventListener("message",l),r(new S(m)),b.addEventListener("message",s),m.setStateAndPublish(t.state),m.callbackRegistry.hasCallbacks()&&o(L.GETSTATE)}}function u(){v&&postMessage?(b.addEventListener("message",l),o(L.HANDSHAKE),m._handshakeTimeout=setTimeout(c,250)):c()}function d(){b.s_c_in||(b.s_c_il=[],b.s_c_in=0),m._c="Visitor",m._il=b.s_c_il,m._in=b.s_c_in,m._il[m._in]=m,b.s_c_in++}function p(){function e(e){0!==e.indexOf("_")&&"function"==typeof a[e]&&(m[e]=function(){})}Object.keys(a).forEach(e),m.getSupplementalDataID=a.getSupplementalDataID,m.isAllowed=function(){return!0}}var m=this,v=t.whitelistParentDomain;m.state={ALLFIELDS:{}},m.version=a.version,m.marketingCloudOrgID=e,m.cookieDomain=a.cookieDomain||"",m._instanceType="child";var g=!1,f=new O(e,v);m.callbackRegistry=j(),m.init=function(){d(),p(),r(new I(m)),u()},m.findField=function(e,t){if(void 0!==m.state[e])return t(m.state[e]),m.state[e]},m.messageParent=o,m.setStateAndPublish=i},M=D.MESSAGES,R=D.ALL_APIS,F=D.ASYNC_API_MAP,B=D.FIELDGROUP_TO_FIELD,U=function(e,t){function a(){var t={};return Object.keys(R).forEach((function(a){var n=R[a],r=e[n]();A.isValueEmpty(r)||(t[a]=r)})),t}function n(){var t=[];return e._loading&&Object.keys(e._loading).forEach((function(a){if(e._loading[a]){var n=B[a];t.push(n)}})),t.length?t:null}function r(t){return function a(){var r=n();if(r){var i=F[r[0]];e[i](a,!0)}else t()}}function i(e,n){var r=a();t.send(e,n,r)}function s(e){c(e),i(e,M.HANDSHAKE)}function o(e){r((function(){i(e,M.PARENTSTATE)}))()}function c(a){function n(n){r.call(e,n),t.send(a,M.PARENTSTATE,{CUSTOMERIDS:e.getCustomerIDs()})}var r=e.setCustomerIDs;e.setCustomerIDs=n}return function(e){t.isInvalid(e)||(t.parse(e).prefix===M.HANDSHAKE?s:o)(e.source)}},H=function(e,t){function a(e){return function(a){n[e]=a,++r===i&&t(n)}}var n={},r=0,i=Object.keys(e).length;Object.keys(e).forEach((function(t){var n=e[t];if(n.fn){var r=n.args||[];r.unshift(a(t)),n.fn.apply(n.context||null,r)}}))},W={get:function(e){e=encodeURIComponent(e);var t=(";"+document.cookie).split(" ").join(";"),a=t.indexOf(";"+e+"="),n=a<0?a:t.indexOf(";",a+1);return a<0?"":decodeURIComponent(t.substring(a+2+e.length,n<0?t.length:n))},set:function(e,t,a){var r=n(a,"cookieLifetime"),i=n(a,"expires"),s=n(a,"domain"),o=n(a,"secure"),c=n(a,"sameSite"),l=o?"Secure":"",u=c?"SameSite="+c+";":"";if(i&&"SESSION"!==r&&"NONE"!==r){var d=""!==t?parseInt(r||0,10):-60;if(d)(i=new Date).setTime(i.getTime()+1e3*d);else if(1===i){var p=(i=new Date).getYear();i.setYear(p+2+(p<1900?1900:0))}}else i=0;return e&&"NONE"!==r?(document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(i?" expires="+i.toGMTString()+";":"")+(s?" domain="+s+";":"")+u+l,this.get(e)===t):0},remove:function(e,t){var a=n(t,"domain");a=a?" domain="+a+";":"";var r=n(t,"secure"),i=n(t,"sameSite"),s=r?"Secure":"",o=i?"SameSite="+i+";":"";document.cookie=encodeURIComponent(e)+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"+a+o+s}},G=function(e,t){!e&&b.location&&(e=b.location.hostname);var a,n=e.split("."),r=t||{};for(a=n.length-2;a>=0;a--)if(r.domain=n.slice(a).join("."),W.set("TEST_AMCV_COOKIE_WRITE","cookie",r))return W.remove("TEST_AMCV_COOKIE_WRITE",r),r.domain;return""},Y={compare:o,isLessThan:function(e,t){return o(e,t)<0},areVersionsDifferent:function(e,t){return 0!==o(e,t)},isGreaterThan:function(e,t){return o(e,t)>0},isEqual:function(e,t){return 0===o(e,t)}},q=!!b.postMessage,X={postMessage:function(e,t,a){var n=1;t&&(q?a.postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1")):t&&(a.location=t.replace(/#.*$/,"")+"#"+ +new Date+n+++"&"+e))},receiveMessage:function(e,t){var a;try{q&&(e&&(a=function(a){if("string"==typeof t&&a.origin!==t||"[object Function]"===Object.prototype.toString.call(t)&&!1===t(a.origin))return!1;e(a)}),b.addEventListener?b[e?"addEventListener":"removeEventListener"]("message",a):b[e?"attachEvent":"detachEvent"]("onmessage",a))}catch(e){}}},z=function(e){var t,a,n="0123456789",r="",i="",s=8,o=10,c=10,l=(""+Date.now()).substr(-6).split("").reverse("").join("");if(1==e){for(n+="ABCDEF",t=0;16>t;t++)a=Math.floor(Math.random()*s),4>t&&l[t]t;t++)a=Math.floor(Math.random()*o),6>t&&l[t]a||2a||20&&(t=!1)),{corsType:e,corsCookiesEnabled:t}}(),getCORSInstance:function(){return"none"===this.corsMetadata.corsType?null:new b[this.corsMetadata.corsType]},fireCORS:function(t,a){function n(e){var a;try{if((a=JSON.parse(e))!==Object(a))return void r.handleCORSError(t,null,"Response is not JSON")}catch(e){return void r.handleCORSError(t,e,"Error parsing response as JSON")}try{for(var n=t.callback,i=b,s=0;s=i&&(e.splice(r,1),r--);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,a,n,r,i,s){var o=this;if(t){if("img"===a.tag){var c,l,u,d,p=a.url,m=e.loadSSL?"https:":"http:";for(c=0,l=p.length;cQ.DAYS_BETWEEN_SYNC_ID_CALLS},attachIframeASAP:function(){function e(){t.startedAttachingIframe||(a.body?t.attachIframe():setTimeout(e,30))}var t=this;e()}}},$={audienceManagerServer:{},audienceManagerServerSecure:{},cookieDomain:{},cookieLifetime:{},cookieName:{},doesOptInApply:{type:"boolean"},disableThirdPartyCalls:{type:"boolean"},discardTrackingServerECID:{type:"boolean"},idSyncAfterIDCallResult:{},idSyncAttachIframeOnWindowLoad:{type:"boolean"},idSyncContainerID:{},idSyncDisable3rdPartySyncing:{type:"boolean"},disableThirdPartyCookies:{type:"boolean"},idSyncDisableSyncs:{type:"boolean"},disableIdSyncs:{type:"boolean"},idSyncIDCallResult:{},idSyncSSLUseAkamai:{type:"boolean"},isCoopSafe:{type:"boolean"},isIabContext:{type:"boolean"},isOptInStorageEnabled:{type:"boolean"},loadSSL:{type:"boolean"},loadTimeout:{},marketingCloudServer:{},marketingCloudServerSecure:{},optInCookieDomain:{},optInStorageExpiry:{},overwriteCrossDomainMCIDAndAID:{type:"boolean"},preOptInApprovals:{},previousPermissions:{},resetBeforeVersion:{},sdidParamExpiry:{},serverState:{},sessionCookieName:{},secureCookie:{type:"boolean"},sameSiteCookie:{},takeTimeoutMetrics:{},trackingServer:{},trackingServerSecure:{},useLocalStorage:{type:"boolean"},whitelistIframeDomains:{},whitelistParentDomain:{}},Z={getConfigNames:function(){return Object.keys($)},getConfigs:function(){return $},normalizeConfig:function(e,t){return $[e]&&"boolean"===$[e].type?"function"!=typeof t?t:t():t}},ee=function(e){var t={};return e.on=function(e,a,n){if(!a||"function"!=typeof a)throw new Error("[ON] Callback should be a function.");t.hasOwnProperty(e)||(t[e]=[]);var r=t[e].push({callback:a,context:n})-1;return function(){t[e].splice(r,1),t[e].length||delete t[e]}},e.off=function(e,a){t.hasOwnProperty(e)&&(t[e]=t[e].filter((function(e){if(e.callback!==a)return e})))},e.publish=function(e){if(t.hasOwnProperty(e)){var a=[].slice.call(arguments,1);t[e].slice(0).forEach((function(e){e.callback.apply(e.context,a)}))}},e.publish},te={PENDING:"pending",CHANGED:"changed",COMPLETE:"complete"},ae={AAM:"aam",ADCLOUD:"adcloud",ANALYTICS:"aa",CAMPAIGN:"campaign",ECID:"ecid",LIVEFYRE:"livefyre",TARGET:"target",MEDIA_ANALYTICS:"mediaaa"},ne=(t(y={},ae.AAM,565),t(y,ae.ECID,565),y),re=(t(k={},ae.AAM,[1,10]),t(k,ae.ECID,[1,10]),k),ie=["videoaa","iabConsentHash"],se=function(e){return Object.keys(e).map((function(t){return e[t]}))}(ae),oe=function(){var e={};return e.callbacks=Object.create(null),e.add=function(t,a){if(!l(a))throw new Error("[callbackRegistryFactory] Make sure callback is a function or an array of functions.");e.callbacks[t]=e.callbacks[t]||[];var n=e.callbacks[t].push(a)-1;return function(){e.callbacks[t].splice(n,1)}},e.execute=function(t,a){if(e.callbacks[t]){a=(a=void 0===a?[]:a)instanceof Array?a:[a];try{for(;e.callbacks[t].length;){var n=e.callbacks[t].shift();"function"==typeof n?n.apply(null,a):n instanceof Array&&n[1].apply(n[0],a)}delete e.callbacks[t]}catch(e){}}},e.executeAll=function(t,a){(a||t&&!c(t))&&Object.keys(e.callbacks).forEach((function(a){var n=void 0!==t[a]?t[a]:"";e.execute(a,n)}),e)},e.hasCallbacks=function(){return Boolean(Object.keys(e.callbacks).length)},e},ce=function(){},le=function(e){var t=window.console;return!!t&&"function"==typeof t[e]},ue=function(e,t,a){return a()?function(){if(le(e)){for(var a=arguments.length,n=new Array(a),r=0;r>>1:a>>>1;e.push(a)}return function(t,a){t=unescape(encodeURIComponent(t)),a||(a=0),a^=-1;for(var n=0;n>>8^e[r]}return(a^=-1)>>>0}}(),me=new de("[ADOBE OPT-IN]"),ve=function(t,a){return e(t)===a},ge=function(e,t){return e instanceof Array?e:ve(e,"string")?[e]:t||[]},fe=function(e){var t=Object.keys(e);return!!t.length&&t.every((function(t){return!0===e[t]}))},he=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e||ke(e))&&ge(e).every((function(e){return se.indexOf(e)>-1||t&&ie.indexOf(e)>-1}))},be=function(e,t){return e.reduce((function(e,a){return e[a]=t,e}),{})},ye=function(e){return JSON.parse(JSON.stringify(e))},ke=function(e){return"[object Array]"===Object.prototype.toString.call(e)&&!e.length},De=function(e){if(Ee(e))return e;try{return JSON.parse(e)}catch(e){return{}}},Ve=function(e){return void 0===e||(Ee(e)?he(Object.keys(e),!0):Pe(e))},Pe=function(e){try{var t=JSON.parse(e);return!!e&&ve(e,"string")&&he(Object.keys(t),!0)}catch(e){return!1}},Ee=function(e){return null!==e&&ve(e,"object")&&!1===Array.isArray(e)},Ce=function(){},Te=function(e){return ve(e,"function")?e():e},Se=function(e,t){Ve(e)||me.error("".concat(t))},we=function(e){return Object.keys(e).map((function(t){return e[t]}))},Ie=function(e){return we(e).filter((function(e,t,a){return a.indexOf(e)===t}))},Ae=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.command,n=t.params,r=void 0===n?{}:n,i=t.callback,s=void 0===i?Ce:i;if(!a||-1===a.indexOf("."))throw new Error("[OptIn.execute] Please provide a valid command.");try{var o=a.split("."),c=e[o[0]],l=o[1];if(!c||"function"!=typeof c[l])throw new Error("Make sure the plugin and API name exist.");var u=Object.assign(r,{callback:s});c[l].call(c,u)}catch(e){me.error("[execute] Something went wrong: "+e.message)}}};p.prototype=Object.create(Error.prototype),p.prototype.constructor=p;var je="fetchPermissions",_e="[OptIn#registerPlugin] Plugin is invalid.";m.Categories=ae,m.TimeoutError=p;var Ne=Object.freeze({OptIn:m,IabPlugin:h}),Oe=function(e,t){e.publishDestinations=function(a){var n=arguments[1],r=arguments[2];try{r="function"==typeof r?r:a.callback}catch(e){r=function(){}}var i=t;if(i.readyToAttachIframePreliminary()){if("string"==typeof a){if(!a.length)return void r({error:"subdomain is not a populated string."});if(!(n instanceof Array&&n.length))return void r({error:"messages is not a populated array."});var s=!1;if(n.forEach((function(e){"string"==typeof e&&e.length&&(i.addMessage(e),s=!0)})),!s)return void r({error:"None of the messages are populated strings."})}else{if(!A.isObject(a))return void r({error:"Invalid parameters passed."});var o=a;if("string"!=typeof(a=o.subdomain)||!a.length)return void r({error:"config.subdomain is not a populated string."});var c=o.urlDestinations;if(!(c instanceof Array&&c.length))return void r({error:"config.urlDestinations is not a populated array."});var l=[];c.forEach((function(e){A.isObject(e)&&(e.hideReferrer?e.message&&i.addMessage(e.message):l.push(e))})),function e(){l.length&&setTimeout((function(){var t=new Image,a=l.shift();t.src=a.url,i.onPageDestinationsFired.push(a),e()}),100)}()}i.iframe?(r({message:"The destination publishing iframe is already attached and loaded."}),i.requestToProcess()):!e.subdomain&&e._getField("MCMID")?(i.subdomain=a,i.doAttachIframe=!0,i.url=i.getUrl(),i.readyToAttachIframe()?(i.iframeLoadedCallbacks.push((function(e){r({message:"Attempted to attach and load the destination publishing iframe through this API call. Result: "+(e.message||"no result")})})),i.attachIframe()):r({error:"Encountered a problem in attempting to attach and load the destination publishing iframe through this API call."})):i.iframeLoadedCallbacks.push((function(e){r({message:"Attempted to attach and load the destination publishing iframe through normal Visitor API processing. Result: "+(e.message||"no result")})}))}else r({error:"The destination publishing iframe is disabled in the Visitor library."})}},Le=function e(t){function a(e,t){return e>>>t|e<<32-t}for(var n,r,i=Math.pow,s=i(2,32),o="",c=[],l=8*t.length,u=e.h=e.h||[],d=e.k=e.k||[],p=d.length,m={},v=2;p<64;v++)if(!m[v]){for(n=0;n<313;n+=v)m[n]=v;u[p]=i(v,.5)*s|0,d[p++]=i(v,1/3)*s|0}for(t+="\x80";t.length%64-56;)t+="\0";for(n=0;n>8)return;c[n>>2]|=r<<(3-n)%4*8}for(c[c.length]=l/s|0,c[c.length]=l,r=0;r>>3)+g[n-7]+(a(b,17)^a(b,19)^b>>>10)|0);(u=[D+((a(y,2)^a(y,13)^a(y,22))+(y&u[1]^y&u[2]^u[1]&u[2]))|0].concat(u))[4]=u[4]+D|0}for(n=0;n<8;n++)u[n]=u[n]+f[n]|0}for(n=0;n<8;n++)for(r=3;r+1;r--){var V=u[n]>>8*r&255;o+=(V<16?0:"")+V.toString(16)}return o},xe=function(e,t){return"SHA-256"!==t&&"SHA256"!==t&&"sha256"!==t&&"sha-256"!==t||(e=Le(e)),e},Me=function(e){return String(e).trim().toLowerCase()},Re=Ne.OptIn;A.defineGlobalNamespace(),window.adobe.OptInCategories=Re.Categories;var Fe=function(t,a,n){function r(){y._customerIDsHashChanged=!1}function i(e){var t=e;return function(e){var a=e||T.location.href;try{var n=y._extractParamFromUri(a,t);if(n)return te.parsePipeDelimetedKeyValues(n)}catch(e){}}}function s(e){function t(e,t,a){e&&e.match(Q.VALID_VISITOR_ID_REGEX)&&(a===_&&(C=!0),t(e))}t(e[_],y.setMarketingCloudVisitorID,_),y._setFieldExpire(R,-1),t(e[x],y.setAnalyticsVisitorID)}function o(e){e=e||{},y._supplementalDataIDCurrent=e.supplementalDataIDCurrent||"",y._supplementalDataIDCurrentConsumed=e.supplementalDataIDCurrentConsumed||{},y._supplementalDataIDLast=e.supplementalDataIDLast||"",y._supplementalDataIDLastConsumed=e.supplementalDataIDLastConsumed||{}}function c(e){function t(e,t,a){return(a=a?a+="|":a)+(e+"=")+encodeURIComponent(t)}function a(e,a){var n=a[0],r=a[1];return null!=r&&r!==F&&(e=t(n,r,e)),e}return function(e){return(e=e?e+="|":e)+"TS="+te.getTimestampInSeconds()}(e.reduce(a,""))}function l(e){var t=e.minutesToLive,a="";return(y.idSyncDisableSyncs||y.disableIdSyncs)&&(a=a||"Error: id syncs have been disabled"),"string"==typeof e.dpid&&e.dpid.length||(a=a||"Error: config.dpid is empty"),"string"==typeof e.url&&e.url.length||(a=a||"Error: config.url is empty"),void 0===t?t=20160:(t=parseInt(t,10),(isNaN(t)||t<=0)&&(a=a||"Error: config.minutesToLive needs to be a positive number")),{error:a,ttl:t}}function u(){return!(!y.configs.doesOptInApply||k.optIn.isComplete&&d())}function d(){return y.configs.doesOptInApply&&y.configs.isIabContext?k.optIn.isApproved(k.optIn.Categories.ECID)&&E:k.optIn.isApproved(k.optIn.Categories.ECID)}function p(){[["getMarketingCloudVisitorID"],["setCustomerIDs",void 0],["syncIdentity",void 0],["getAnalyticsVisitorID"],["getAudienceManagerLocationHint"],["getLocationHint"],["getAudienceManagerBlob"]].forEach((function(e){var t=e[0],a=2===e.length?e[1]:"",n=y[t];y[t]=function(e){return d()&&y.isAllowed()?n.apply(y,arguments):("function"==typeof e&&y._callCallback(e,[a]),a)}}))}function m(){var e=y._getAudienceManagerURLData(),t=e.url;return y._loadData(j,t,null,e)}function v(e,t){if(E=!0,e)throw new Error("[IAB plugin] : "+e);t&&t.gdprApplies&&(V=t.consentString,P=t.hasConsentChangedSinceLastCmpPull?1:0),m(),h()}function g(e,t){if(E=!0,e)throw new Error("[IAB plugin] : "+e);t.gdprApplies&&(V=t.consentString,P=t.hasConsentChangedSinceLastCmpPull?1:0),y.init(),h()}function f(){k.optIn.isComplete&&(k.optIn.isApproved(k.optIn.Categories.ECID)?y.configs.isIabContext?k.optIn.execute({command:"iabPlugin.fetchConsentData",callback:g}):(y.init(),h()):y.configs.isIabContext?k.optIn.execute({command:"iabPlugin.fetchConsentData",callback:v}):(p(),h()))}function h(){k.optIn.off("complete",f)}if(!n||n.split("").reverse().join("")!==t)throw new Error("Please use `Visitor.getInstance` to instantiate Visitor.");var y=this,k=window.adobe,V="",P=0,E=!1,C=!1;y.version="5.5.0";var T=b,S=T.Visitor;S.version=y.version,S.AuthState=D.AUTH_STATE,S.OptOut=D.OPT_OUT,T.s_c_in||(T.s_c_il=[],T.s_c_in=0),y._c="Visitor",y._il=T.s_c_il,y._in=T.s_c_in,y._il[y._in]=y,T.s_c_in++,y._instanceType="regular",y._log={requests:[]},y.marketingCloudOrgID=t,y.cookieName="AMCV_"+t,y.sessionCookieName="AMCVS_"+t;var w={};a&&a.secureCookie&&a.sameSiteCookie&&(w={sameSite:a.sameSiteCookie,secure:a.secureCookie}),y.cookieDomain=y.useLocalStorage?"":G(null,w),y.loadSSL=!0,y.loadTimeout=3e4,y.CORSErrors=[],y.marketingCloudServer=y.audienceManagerServer="dpm.demdex.net",y.sdidParamExpiry=30;var I=null,j="MC",_="MCMID",N="MCIDTS",L="A",x="MCAID",M="AAM",R="MCAAMB",F="NONE",B=function(e){return!Object.prototype[e]},q=K(y);y.FIELDS=D.FIELDS,y.cookieRead=function(e){return y.useLocalStorage?e===y.sessionCookieName?sessionStorage.getItem(e):localStorage.getItem(e):W.get(e)},y.cookieWrite=function(e,t,a){var n=""+t;if(y.useLocalStorage)return e===y.sessionCookieName?sessionStorage.setItem(e,n):localStorage.setItem(e,n);var r=y.cookieLifetime?(""+y.cookieLifetime).toUpperCase():"",i={expires:a,domain:y.cookieDomain,cookieLifetime:r};return y.configs&&y.configs.secureCookie&&"https:"===location.protocol&&(i.secure=!0),y.configs&&y.configs.sameSiteCookie&&"https:"===location.protocol&&(i.sameSite=D.SAME_SITE_VALUES[y.configs.sameSiteCookie.toUpperCase()]||"Lax"),W.set(e,n,i)},y.removeCookie=function(e){if(y.useLocalStorage)return e===y.sessionCookieName?sessionStorage.removeItem(e):localStorage.removeItem(e);var t={domain:y.cookieDomain};return y.configs&&y.configs.secureCookie&&"https:"===location.protocol&&(t.secure=!0),y.configs&&y.configs.sameSiteCookie&&"https:"===location.protocol&&(t.sameSite=D.SAME_SITE_VALUES[y.configs.sameSiteCookie.toUpperCase()]||"Lax"),W.remove(e,t)},y.resetState=function(e){e?y._mergeServerState(e):o()},y._isAllowedDone=!1,y._isAllowedFlag=!1,y.isAllowed=function(){return y._isAllowedDone||(y._isAllowedDone=!0,(y.cookieRead(y.cookieName)||y.cookieWrite(y.cookieName,"T",1))&&(y._isAllowedFlag=!0)),"T"===y.cookieRead(y.cookieName)&&y.removeCookie(y.cookieName),y._isAllowedFlag},y.setMarketingCloudVisitorID=function(e){y._setMarketingCloudFields(e)},y._use1stPartyMarketingCloudServer=!1,y.getMarketingCloudVisitorID=function(e,t){y.marketingCloudServer&&y.marketingCloudServer.indexOf(".demdex.net")<0&&(y._use1stPartyMarketingCloudServer=!0);var a=y._getAudienceManagerURLData("_setMarketingCloudFields"),n=a.url;return y._getRemoteField(_,n,e,t,a)};var $=function(e,t){var a={};y.getMarketingCloudVisitorID((function(){t.forEach((function(e){a[e]=y._getField(e,!0)})),-1!==t.indexOf("MCOPTOUT")?y.isOptedOut((function(t){a.MCOPTOUT=t,e(a)}),null,!0):e(a)}),!0)};y.getVisitorValues=function(e,t){var a={MCMID:{fn:y.getMarketingCloudVisitorID,args:[!0],context:y},MCOPTOUT:{fn:y.isOptedOut,args:[void 0,!0],context:y},MCAID:{fn:y.getAnalyticsVisitorID,args:[!0],context:y},MCAAMLH:{fn:y.getAudienceManagerLocationHint,args:[!0],context:y},MCAAMB:{fn:y.getAudienceManagerBlob,args:[!0],context:y}},n=t&&t.length?A.pluck(a,t):a;t&&-1===t.indexOf("MCAID")?$(e,t):H(n,e)},y._currentCustomerIDs={},y._customerIDsHashChanged=!1,y._newCustomerIDsHash="",y.setCustomerIDs=function(t,a){if(!y.isOptedOut()&&t){if(!A.isObject(t)||A.isObjectEmpty(t))return!1;var n,i,s,o;for(n in y._readVisitor(),t)if(B(n)&&(y._currentCustomerIDs.dataSources=y._currentCustomerIDs.dataSources||{},a=(i=t[n]).hasOwnProperty("hashType")?i.hashType:a,i))if("object"===e(i)){var c={};if(i.id){if(a){if(!(o=xe(Me(i.id),a)))return;i.id=o,c.hashType=a}c.id=i.id}null!=i.authState&&(c.authState=i.authState),y._currentCustomerIDs.dataSources[n]=c}else if(a){if(!(o=xe(Me(i),a)))return;y._currentCustomerIDs.dataSources[n]={id:o,hashType:a}}else y._currentCustomerIDs.dataSources[n]={id:i};var l=y.getCustomerIDs(!0),u=y._getField("MCCIDH"),d="";for(s in u||(u=0),l){var p=l[s];if(!A.isObjectEmpty(p))for(n in p)B(n)&&(d+=(d?"|":"")+n+"|"+((i=p[n]).id?i.id:"")+(i.authState?i.authState:""))}y._newCustomerIDsHash=String(y._hash(d)),y._newCustomerIDsHash!==u&&(y._customerIDsHashChanged=!0,y._mapCustomerIDs(r))}},y.syncIdentity=function(t,a){if(!y.isOptedOut()&&t){if(!A.isObject(t)||A.isObjectEmpty(t))return!1;var n,i,s,o,c;for(n in y._readVisitor(),t)if(B(n)&&(y._currentCustomerIDs.nameSpaces=y._currentCustomerIDs.nameSpaces||{},a=(i=t[n]).hasOwnProperty("hashType")?i.hashType:a,i&&"object"===e(i))){var l={};if(i.id){if(a){if(!(s=xe(Me(i.id),a)))return;i.id=s,l.hashType=a}l.id=i.id}null!=i.authState&&(l.authState=i.authState),i.dataSource&&(y._currentCustomerIDs.dataSources=y._currentCustomerIDs.dataSources||{},o=i.dataSource,y._currentCustomerIDs.dataSources[o]=l),y._currentCustomerIDs.nameSpaces[n]=l}var u=y.getCustomerIDs(!0),d=y._getField("MCCIDH"),p="";for(c in d||(d="0"),u){var m=u[c];if(!A.isObjectEmpty(m))for(n in m)B(n)&&(p+=(p?"|":"")+n+"|"+((i=m[n]).id?i.id:"")+(i.authState?i.authState:""))}y._newCustomerIDsHash=String(y._hash(p)),y._newCustomerIDsHash!==d&&(y._customerIDsHashChanged=!0,y._mapCustomerIDs(r))}},y.getCustomerIDs=function(e){y._readVisitor();var t,a,n={dataSources:{},nameSpaces:{}},r=y._currentCustomerIDs.dataSources;for(t in r)B(t)&&(a=r[t]).id&&(n.dataSources[t]||(n.dataSources[t]={}),n.dataSources[t].id=a.id,null!=a.authState?n.dataSources[t].authState=a.authState:n.dataSources[t].authState=S.AuthState.UNKNOWN,a.hashType&&(n.dataSources[t].hashType=a.hashType));var i=y._currentCustomerIDs.nameSpaces;for(t in i)B(t)&&(a=i[t]).id&&(n.nameSpaces[t]||(n.nameSpaces[t]={}),n.nameSpaces[t].id=a.id,null!=a.authState?n.nameSpaces[t].authState=a.authState:n.nameSpaces[t].authState=S.AuthState.UNKNOWN,a.hashType&&(n.nameSpaces[t].hashType=a.hashType));return e?n:n.dataSources},y.setAnalyticsVisitorID=function(e){y._setAnalyticsFields(e)},y.getAnalyticsVisitorID=function(e,t,a){if(!te.isTrackingServerPopulated()&&!a)return y._callCallback(e,[""]),"";var n="";if(a||(n=y.getMarketingCloudVisitorID((function(){y.getAnalyticsVisitorID(e,!0)}))),n||a){var r=a?y.marketingCloudServer:y.trackingServer,i="";y.loadSSL&&(a?y.marketingCloudServerSecure&&(r=y.marketingCloudServerSecure):y.trackingServerSecure&&(r=y.trackingServerSecure));var s={};if(r){var o="http"+(y.loadSSL?"s":"")+"://"+r+"/id",c=y.configs.cookieLifetime,l="d_visid_ver="+y.version+"&mcorgid="+encodeURIComponent(y.marketingCloudOrgID)+(n?"&mid="+encodeURIComponent(n):"")+(c?"&cl="+encodeURIComponent(c):"")+(y.idSyncDisable3rdPartySyncing||y.disableThirdPartyCookies?"&d_coppa=true":""),u=["s_c_il",y._in,"_set"+(a?"MarketingCloud":"Analytics")+"Fields"];i=o+"?"+l+"&callback=s_c_il%5B"+y._in+"%5D._set"+(a?"MarketingCloud":"Analytics")+"Fields",s.corsUrl=o+"?"+l,s.callback=u}return s.url=i,y._getRemoteField(a?_:x,i,e,t,s)}return""},y.getAudienceManagerLocationHint=function(e,t){if(y.getMarketingCloudVisitorID((function(){y.getAudienceManagerLocationHint(e,!0)}))){var a=y._getField(x);if(!a&&te.isTrackingServerPopulated()&&(a=y.getAnalyticsVisitorID((function(){y.getAudienceManagerLocationHint(e,!0)}))),a||!te.isTrackingServerPopulated()){var n=y._getAudienceManagerURLData(),r=n.url;return y._getRemoteField("MCAAMLH",r,e,t,n)}}return""},y.getLocationHint=y.getAudienceManagerLocationHint,y.getAudienceManagerBlob=function(e,t){if(y.getMarketingCloudVisitorID((function(){y.getAudienceManagerBlob(e,!0)}))){var a=y._getField(x);if(!a&&te.isTrackingServerPopulated()&&(a=y.getAnalyticsVisitorID((function(){y.getAudienceManagerBlob(e,!0)}))),a||!te.isTrackingServerPopulated()){var n=y._getAudienceManagerURLData(),r=n.url;return y._customerIDsHashChanged&&y._setFieldExpire(R,-1),y._getRemoteField(R,r,e,t,n)}}return""},y._supplementalDataIDCurrent="",y._supplementalDataIDCurrentConsumed={},y._supplementalDataIDLast="",y._supplementalDataIDLastConsumed={},y.getSupplementalDataID=function(e,t){y._supplementalDataIDCurrent||t||(y._supplementalDataIDCurrent=y._generateID(1));var a=y._supplementalDataIDCurrent;return y._supplementalDataIDLast&&!y._supplementalDataIDLastConsumed[e]?(a=y._supplementalDataIDLast,y._supplementalDataIDLastConsumed[e]=!0):a&&(y._supplementalDataIDCurrentConsumed[e]&&(y._supplementalDataIDLast=y._supplementalDataIDCurrent,y._supplementalDataIDLastConsumed=y._supplementalDataIDCurrentConsumed,y._supplementalDataIDCurrent=a=t?"":y._generateID(1),y._supplementalDataIDCurrentConsumed={}),a&&(y._supplementalDataIDCurrentConsumed[e]=!0)),a};var Z=!1;y._liberatedOptOut=null,y.getOptOut=function(e,t){var a=y._getAudienceManagerURLData("_setMarketingCloudFields"),n=a.url;if(d())return y._getRemoteField("MCOPTOUT",n,e,t,a);if(y._registerCallback("liberatedOptOut",e),null!==y._liberatedOptOut)return y._callAllCallbacks("liberatedOptOut",[y._liberatedOptOut]),Z=!1,y._liberatedOptOut;if(Z)return null;Z=!0;var r="liberatedGetOptOut";return a.corsUrl=a.corsUrl.replace(/\.demdex\.net\/id\?/,".demdex.net/optOutStatus?"),a.callback=[r],b[r]=function(e){if(e===Object(e)){var t,a,n=A.parseOptOut(e,t,F);t=n.optOut,a=1e3*n.d_ottl,y._liberatedOptOut=t,setTimeout((function(){y._liberatedOptOut=null}),a)}y._callAllCallbacks("liberatedOptOut",[t]),Z=!1},q.fireCORS(a),null},y.isOptedOut=function(e,t,a){t||(t=S.OptOut.GLOBAL);var n=y.getOptOut((function(a){var n=a===S.OptOut.GLOBAL||a.indexOf(t)>=0;y._callCallback(e,[n])}),a);return n?n===S.OptOut.GLOBAL||n.indexOf(t)>=0:null};var ee={subscribed:!1,callbacks:[]};y.onReceiveEcid=function(e){if(d())return y.getMarketingCloudVisitorID(e,!0);ee.subscribed=!0,e&&"function"==typeof e&&ee.callbacks.push(e)},y._fields=null,y._fieldsExpired=null,y._hash=function(e){var t,a=0;if(e)for(t=0;t0;)y._callCallback(a.shift(),t)}},y._addQuerystringParam=function(e,t,a,n){var r=encodeURIComponent(t)+"="+encodeURIComponent(a),i=te.parseHash(e),s=te.hashlessUrl(e);if(-1===s.indexOf("?"))return s+"?"+r+i;var o=s.split("?"),c=o[0]+"?",l=o[1];return c+te.addQueryParamAtLocation(l,r,n)+i},y._extractParamFromUri=function(e,t){var a=new RegExp("[\\?]"+t+"=([^]*)").exec(e);if(a&&a.length)return decodeURIComponent(a[1])},y._parseAdobeMcFromUrl=i(Q.ADOBE_MC),y._parseAdobeMcSdidFromUrl=i(Q.ADOBE_MC_SDID),y._attemptToPopulateSdidFromUrl=function(e){var a=y._parseAdobeMcSdidFromUrl(e),n=1e9;a&&a.TS&&(n=te.getTimestampInSeconds()-a.TS),a&&a.SDID&&a.MCORGID===t&&nQ.ADOBE_MC_TTL_IN_MIN||e.MCORGID!==t)return;s(e)}},y._mergeServerState=function(e){if(e)try{if((e=function(e){return te.isObject(e)?e:JSON.parse(e)}(e))[y.marketingCloudOrgID]){var t=e[y.marketingCloudOrgID];!function(e){te.isObject(e)&&y.setCustomerIDs(e)}(t.customerIDs),o(t.sdid)}}catch(e){throw new Error("`serverState` has an invalid format.")}},y._timeout=null,y._loadData=function(e,t,a,n){t=y._addQuerystringParam(t,"d_fieldgroup",e,1),n.url=y._addQuerystringParam(n.url,"d_fieldgroup",e,1),n.corsUrl=y._addQuerystringParam(n.corsUrl,"d_fieldgroup",e,1),re.fieldGroupObj[e]=!0,n===Object(n)&&n.corsUrl&&"XMLHttpRequest"===q.corsMetadata.corsType&&q.fireCORS(n,a,e)},y._clearTimeout=function(e){null!=y._timeout&&y._timeout[e]&&(clearTimeout(y._timeout[e]),y._timeout[e]=0)},y._settingsDigest=0,y._getSettingsDigest=function(){if(!y._settingsDigest){var e=y.version;y.audienceManagerServer&&(e+="|"+y.audienceManagerServer),y.audienceManagerServerSecure&&(e+="|"+y.audienceManagerServerSecure),y._settingsDigest=y._hash(e)}return y._settingsDigest},y._readVisitorDone=!1,y._readVisitor=function(){if(!y._readVisitorDone){y._readVisitorDone=!0;var e,t,a,n,r,i,s=y._getSettingsDigest(),o=!1,c=y.cookieRead(y.cookieName),l=new Date;if(c||C||y.discardTrackingServerECID||(c=y.cookieRead(Q.FIRST_PARTY_SERVER_COOKIE)),null==y._fields&&(y._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;e1?(r=parseInt(t[1],10),i=t[1].indexOf("s")>0):(r=0,i=!1),o&&("MCCIDH"===a&&(n=""),r>0&&(r=l.getTime()/1e3-60)),a&&n&&(y._setField(a,n,1),r>0&&(y._fields["expire"+a]=r+(i?"s":""),(l.getTime()>=1e3*r||i&&!y.cookieRead(y.sessionCookieName))&&(y._fieldsExpired||(y._fieldsExpired={}),y._fieldsExpired[a]=!0)));!y._getField(x)&&te.isTrackingServerPopulated()&&(c=y.cookieRead("s_vi"))&&(c=c.split("|")).length>1&&c[0].indexOf("v1")>=0&&((e=(n=c[1]).indexOf("["))>=0&&(n=n.substring(0,e)),
n&&n.match(Q.VALID_VISITOR_ID_REGEX)&&y._setField(x,n))}},y._appendVersionTo=function(e){var t="vVersion|"+y.version,a=e?y._getCookieVersion(e):null;return a?Y.areVersionsDifferent(a,y.version)&&(e=e.replace(Q.VERSION_REGEX,t)):e+=(e?"|":"")+t,e},y._writeVisitor=function(){var e,t,a=y._getSettingsDigest();for(e in y._fields)B(e)&&y._fields[e]&&"expire"!==e.substring(0,6)&&(t=y._fields[e],a+=(a?"|":"")+e+(y._fields["expire"+e]?"-"+y._fields["expire"+e]:"")+"|"+t);a=y._appendVersionTo(a),y.cookieWrite(y.cookieName,a,1)},y._getField=function(e,t){return null==y._fields||!t&&y._fieldsExpired&&y._fieldsExpired[e]?null:y._fields[e]},y._setField=function(e,t,a){null==y._fields&&(y._fields={}),y._fields[e]=t,a||y._writeVisitor()},y._getFieldList=function(e,t){var a=y._getField(e,t);return a?a.split("*"):null},y._setFieldList=function(e,t,a){y._setField(e,t?t.join("*"):"",a)},y._getFieldMap=function(e,t){var a=y._getFieldList(e,t);if(a){var n,r={};for(n=0;n0?e.substr(t):""},hashlessUrl:function(e){var t=e.indexOf("#");return t>0?e.substr(0,t):e},addQueryParamAtLocation:function(e,t,a){var n=e.split("&");return a=null!=a?a:n.length,n.splice(a,0,t),n.join("&")},isFirstPartyAnalyticsVisitorIDCall:function(e,t,a){return e===x&&(t||(t=y.trackingServer),a||(a=y.trackingServerSecure),!("string"!=typeof(n=y.loadSSL?a:t)||!n.length)&&n.indexOf("2o7.net")<0&&n.indexOf("omtrdc.net")<0);var n},isObject:function(e){return Boolean(e&&e===Object(e))},removeCookie:function(e){W.remove(e,{domain:y.cookieDomain})},isTrackingServerPopulated:function(){return!!y.trackingServer||!!y.trackingServerSecure},getTimestampInSeconds:function(){return Math.round((new Date).getTime()/1e3)},parsePipeDelimetedKeyValues:function(e){return e.split("|").reduce((function(e,t){var a=t.split("=");return e[a[0]]=decodeURIComponent(a[1]),e}),{})},generateRandomString:function(e){e=e||5;for(var t="",a="abcdefghijklmnopqrstuvwxyz0123456789";e--;)t+=a[Math.floor(Math.random()*a.length)];return t},normalizeBoolean:function(e){return"true"===e||"false"!==e&&e},parseBoolean:function(e){return"true"===e||"false"!==e&&null},replaceMethodsWithFunction:function(e,t){for(var a in e)e.hasOwnProperty(a)&&"function"==typeof e[a]&&(e[a]=t);return e}};y._helpers=te;var ae=J(y,S);y._destinationPublishing=ae,y.timeoutMetricsLog=[];var ne,re={isClientSideMarketingCloudVisitorID:null,MCIDCallTimedOut:null,AnalyticsIDCallTimedOut:null,AAMIDCallTimedOut:null,fieldGroupObj:{},setState:function(e,t){switch(e){case j:!1===t?!0!==this.MCIDCallTimedOut&&(this.MCIDCallTimedOut=!1):this.MCIDCallTimedOut=t;break;case L:!1===t?!0!==this.AnalyticsIDCallTimedOut&&(this.AnalyticsIDCallTimedOut=!1):this.AnalyticsIDCallTimedOut=t;break;case M:!1===t?!0!==this.AAMIDCallTimedOut&&(this.AAMIDCallTimedOut=!1):this.AAMIDCallTimedOut=t}}};y.isClientSideMarketingCloudVisitorID=function(){return re.isClientSideMarketingCloudVisitorID},y.MCIDCallTimedOut=function(){return re.MCIDCallTimedOut},y.AnalyticsIDCallTimedOut=function(){return re.AnalyticsIDCallTimedOut},y.AAMIDCallTimedOut=function(){return re.AAMIDCallTimedOut},y.idSyncGetOnPageSyncInfo=function(){return y._readVisitor(),y._getField("MCSYNCSOP")},y.idSyncByURL=function(e){if(!y.isOptedOut()){var t=l(e||{});if(t.error)return t.error;var a,n,r=e.url,i=encodeURIComponent,s=ae;return r=r.replace(/^https:/,"").replace(/^http:/,""),a=A.encodeAndBuildRequest(["",e.dpid,e.dpuuid||""],","),n=["ibs",i(e.dpid),"img",i(r),t.ttl,"",a],s.addMessage(n.join("|")),s.requestToProcess(),"Successfully queued"}},y.idSyncByDataSource=function(e){if(!y.isOptedOut())return e===Object(e)&&"string"==typeof e.dpuuid&&e.dpuuid.length?(e.url="//dpm.demdex.net/ibs:dpid="+e.dpid+"&dpuuid="+e.dpuuid,y.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},Oe(y,ae),y._getCookieVersion=function(e){e=e||y.cookieRead(y.cookieName);var t=Q.VERSION_REGEX.exec(e);return t&&t.length>1?t[1]:null},y._resetAmcvCookie=function(e){var t=y._getCookieVersion();t&&!Y.isLessThan(t,e)||y.removeCookie(y.cookieName)},y.setAsCoopSafe=function(){I=!0},y.setAsCoopUnsafe=function(){I=!1},function(){if(y.configs=Object.create(null),te.isObject(a))for(var e in a)B(e)&&(y[e]=a[e],y.configs[e]=a[e])}(),p(),y.init=function(){u()&&(k.optIn.fetchPermissions(f,!0),!k.optIn.isApproved(k.optIn.Categories.ECID))||ne||(ne=!0,function(){if(te.isObject(a)){y.idSyncContainerID=y.idSyncContainerID||0,I="boolean"==typeof y.isCoopSafe?y.isCoopSafe:te.parseBoolean(y.isCoopSafe),y.resetBeforeVersion&&y._resetAmcvCookie(y.resetBeforeVersion),y._attemptToPopulateIdsFromUrl(),y._attemptToPopulateSdidFromUrl(),y._readVisitor();var e=y._getField(N),t=Math.ceil((new Date).getTime()/Q.MILLIS_PER_DAY);y.idSyncDisableSyncs||y.disableIdSyncs||!ae.canMakeSyncIDCall(e,t)||(y._setFieldExpire(R,-1),y._setField(N,t)),y.getMarketingCloudVisitorID(),y.getAudienceManagerLocationHint(),y.getAudienceManagerBlob(),y._mergeServerState(y.serverState)}else y._attemptToPopulateIdsFromUrl(),y._attemptToPopulateSdidFromUrl()}(),function(){if(!y.idSyncDisableSyncs&&!y.disableIdSyncs){ae.checkDPIframeSrc();var e=function(){var e=ae;e.readyToAttachIframe()&&e.attachIframe()};T.addEventListener("load",(function(){S.windowLoaded=!0,e()}));try{X.receiveMessage((function(e){ae.receiveMessage(e.data)}),ae.iframeHost)}catch(e){}}}(),y.whitelistIframeDomains&&Q.POST_MESSAGE_ENABLED&&(y.whitelistIframeDomains=y.whitelistIframeDomains instanceof Array?y.whitelistIframeDomains:[y.whitelistIframeDomains],y.whitelistIframeDomains.forEach((function(e){var a=new O(t,e),n=U(y,a);X.receiveMessage(n,e)}))))}};Fe.config=Z,b.Visitor=Fe;var Be=Fe,Ue=function(e){if(A.isObject(e))return Object.keys(e).filter((function(t){return""!==e[t]&&Z.getConfigs()[t]})).reduce((function(t,a){var n=Z.normalizeConfig(a,e[a]),r=A.normalizeBoolean(n);return t[a]=r,t}),Object.create(null))},He=Ne.OptIn,We=Ne.IabPlugin;Be.getInstance=function(e,t){if(!e)throw new Error("Visitor requires Adobe Marketing Cloud Org ID.");e.indexOf("@")<0&&(e+="@AdobeOrg");var a=function(){var t=b.s_c_il;if(t)for(var a=0;a0&&(window.clickedPromoId=eventData.cta.ids[0])}},trackerProperties:{events:[{name:"event22"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"",linkType:"o"}}]},{id:"RL62004130a0ed4b52b551f0a191a46a9a",name:"Event - Form Error",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"formError"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar43",type:"value",value:"%Form - Error Type%"}],props:[{name:"prop47",type:"value",value:"%Form - Error ID%"}],events:[{name:"event26"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"form error",linkType:"o"}}]},{id:"RL62711623ac0142e280425820b799bcfd",name:"Event - Search Within Content",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"searchWithinContent"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar60",type:"value",value:"%Search - Within Content Criteria%"}],events:[{name:"event75"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"search within content",linkType:"o"}}]},{id:"RL6429d0d51ea74b0eab13a2038965ea21",name:"Event - Saved Search",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"saveSearch"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.linkTrackVars=t.apl(t.linkTrackVars,"eVar2,eVar46,eVar26,eVar1",",",2)}},trackerProperties:{eVars:[{name:"eVar19",type:"value",value:"%Search - Advanced Criteria%"}],props:[{name:"prop21",type:"value",value:"%Search - Criteria%"},{name:"prop13",type:"value",value:"%Search - Sort Type%"},{name:"prop6",type:"value",value:"%Search - Type%"},{name:"prop7",type:"value",value:"%Search - Facet List%"}],events:[{name:"event12"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"saved search",linkType:"o"}}]},{id:"RL6445686d1c1c4dcc9dd5b8b322480b66",name:"Event - Content Addition Step",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"contentAdditionStep"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.eVar112=_satellite.getVar("Event - Step"),t.linkTrackVars=t.apl(t.linkTrackVars,"eVar112",",",2)}},trackerProperties:{events:[{name:"event189"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"content addition step",linkType:"o"}}]},{id:"RL6689c0af20ca4b7e9253b10ac85b3393",name:"Event - Remediation Customization",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"remediationCustomization"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.linkTrackEvents=t.apl(t.linkTrackEvents,"event291",",",1),t.events=t.apl(t.events,"event291="+_satellite.getVar("Education - Maximum Packets Issued"),",",1),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event293",",",1),t.events=t.apl(t.events,"event293="+_satellite.getVar("Education - Benchmark Score"),",",1),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event293",",",1),t.events=t.apl(t.events,"event294="+_satellite.getVar("Education - Days Until Due"),",",1),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event294",",",1)}},trackerProperties:{eVars:[{name:"eVar7",type:"alias",value:"prop29"},{name:"eVar16",type:"alias",value:"prop1"},{name:"eVar165",type:"value",value:"%Education - Program ID and Name%"},{name:"eVar187",type:"value",value:"%Education - Generic Settings Name and Value%"},{name:"eVar193",type:"value",value:"%Education - Exam ID Name and Type%"},{name:"eVar195",type:"value",value:"%Education - Exam Group ID and Name%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event284"},{name:"event292"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"remediationCustomization",linkType:"o"}}]},{id:"RL67a529992a4f4026af3d20e3ae1dbe73",name:"Event - Product Feature Click",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"productFeatureUsed"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{props:[{name:"prop25",type:"value",value:"%Event - Feature Name%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"product feature used",linkType:"o"}}]},{id:"RL67d88aedfacd4c94a347c7b73f39060b",name:"Event - Sync",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"sync"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.eVar137=_satellite.getVar("Event - Sync Method"),t.linkTrackVars=t.apl(t.linkTrackVars,"eVar137",",",2),t.eVar138=_satellite.getVar("Event - Sync Duration"),t.linkTrackVars=t.apl(t.linkTrackVars,"eVar138",",",2)}},trackerProperties:{events:[{name:"event208"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"sync",linkType:"o"}}]},{id:"RL68cd74b97a1f48b7b4753421a2d3cfa5",name:"Event - Form Start",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"formStart"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar102",type:"value",value:"%Form - Type%"}],events:[{name:"event50"}]}}
},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"form start",linkType:"o"}}]},{id:"RL6b67141693cc4177a1c11d98f0233ae7",name:"Event - Promo Link Click",events:[{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"a[data-sc-promo-id]",bubbleFireIfChildFired:!1},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/4a848ae9611a/d6c0e7f233e6/cf3f12004369/RC9a83dfa0a206428995f9ad7888f36a95-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL6da58c8983a041878b1b1b8cf8161efd",name:"Event - Item Category",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"itemCategory"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar172",type:"value",value:"%Education - Test Question%"},{name:"eVar184",type:"value",value:"%Education - Question Type%"},{name:"eVar192",type:"value",value:"%Education - Category ID and Name%%Education - Category ID and Name%"}],events:[{name:"event285"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"itemCategory",linkType:"o"}}]},{id:"RL6dd0ca6a24634c8d90c6fe15338be1b9",name:"Event - Live Chat Offered",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"liveChatOffered"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event249"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"live chat offered",linkType:"o"}}]},{id:"RL710db36f25834f999f18b422dae5d26e",name:"Event - Website Error",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"websiteError"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar43",type:"value",value:"%Page - Error Type%"}],events:[{name:"event26"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"website error",linkType:"o"}}]},{id:"RL722df919f5e34b96b2912c5533ee5fe6",name:"Event - Navigation Link Click",events:[{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"a[data-nav-name], a[data-sc-nav-name]",bubbleFireIfChildFired:!1},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/4a848ae9611a/d6c0e7f233e6/cf3f12004369/RC4ed83f6375424da3b55967fe0dc23814-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL73b1e3652abc4740a7e3dae266330434",name:"Event - Access Code Generation",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"accessCodeGeneration"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.linkTrackEvents=t.apl(t.linkTrackEvents,"event290",",",1),t.events=t.apl(t.events,"event290="+_satellite.getVar("Education - Time to Complete"),",",1)}},trackerProperties:{eVars:[{name:"eVar7",type:"alias",value:"prop29"},{name:"eVar16",type:"alias",value:"prop1"},{name:"eVar165",type:"value",value:"%Education - Program ID and Name%"},{name:"eVar166",type:"value",value:"%Education - Student and Instructor ID%"},{name:"eVar195",type:"value",value:"%Education - Exam Group ID and Name%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event286"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"accessCodeGeneration",linkType:"o"}}]},{id:"RL75b6707d4f05495997cc25fc6ad12b32",name:"Event - Recommendation Views",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"recommendationViews"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{props:[{name:"prop33",type:"value",value:"%Page - Product Application Version%"}],events:[{name:"event257"},{name:"event264"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"recommendation views",linkType:"o"}}]},{id:"RL779e66c0320d4651908603d37fbd43df",name:"Event - Save to List",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"saveToList"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event48"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"save to list",linkType:"o"}}]},{id:"RL786052d409f94371a8d4aaf5f6a6e05b",name:"Event - Social Share",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"socialShare"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar30",type:"value",value:"%Event - Share Platform%"}],events:[{name:"event11"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"content shared",linkType:"o"}}]},{id:"RL7895cbb6b25c4c22abc5701e45d9b5fd",name:"Event - Logout Click",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"logoutClick"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event180"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"logout click",linkType:"o"}}]},{id:"RL79079b0d11c64b548b86d139521ba874",name:"Event - Delete Alert",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"deleteAlert"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Search - Criteria%"},{name:"eVar97",type:"value",value:"%Event - Alert Type%"},{name:"eVar191",type:"value",value:"%Event - Alert Details%"}],props:[{name:"prop21",type:"value",value:"%Search - Criteria%"}],events:[{name:"event237"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"delete alert",linkType:"o"}}]},{id:"RL79fbe2e926f8475681c271b093a8c8e8",name:"Event - Transfer Offer Rejected",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"transferOfferRejected"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event331"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"transfer offer rejected",linkType:"o"}}]},{id:"RL7a2b6c519890486eb43eb48a3cc18af8",name:"Event - Transfer Paper Submission Starts",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"transferpaperSubmissionStarts"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{productId=pageDataTracker.getContentItem().id,productId=pageDataTracker.md5(productId),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event355",",",1),t.events=t.apl(t.events,"event355:"+productId,",",1)}catch(e){}}},trackerProperties:{events:[{name:"event354"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"transfer paper submission starts",linkType:"o"}}]},{id:"RL7b7886c215c74844afdd1f6734681104",name:"Event - Category Completed",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"categoryCompleted"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.linkTrackEvents=t.apl(t.linkTrackEvents,"event260",",",1),t.events=t.apl(t.events,"event260="+_satellite.getVar("Education - Assignment Numeric Grade"),",",1)}},trackerProperties:{eVars:[{name:"eVar7",type:"value",value:"%Visitor - Account Name%"},{name:"eVar16",type:"value",value:"%Visitor - Account ID%"},{name:"eVar167",type:"value",value:"%Education - Days Before / After Due Date%"},{name:"eVar168",type:"value",value:"%Education - Semester%"},{name:"eVar171",type:"value",value:"%Education - Assignment Duration and Score%"},{name:"eVar182",type:"value",value:"%Education - Attempt%"},{name:"eVar192",type:"value",value:"%Education - Category ID and Name%"},{name:"eVar193",type:"value",value:"%Education - Exam ID Name and Type%"},{name:"eVar195",type:"value",value:"%Education - Exam Group ID and Name%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event271"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"category completed",linkType:"o"}}]},{id:"RL7e564620da2b4ca78b64903c3ab522c6",name:"Event - Form View",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"formView"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar4",type:"value",value:"%Page - Product Name%"},{name:"eVar102",type:"value",value:"%Form - Type%"}],props:[{name:"prop2",type:"value",value:"%Page - Product Name%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"form view",linkType:"o"}}]},{id:"RL7f9af8e1df774d16a6ae00883728d9da",name:"Event - Footer Link",events:[{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:'a[class^=footer]:not([href="#"])',bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/4a848ae9611a/d6c0e7f233e6/cf3f12004369/RC1e34f29acb7146a6a2b426ac2e3b8a4f-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL8022233782b942f88917c116225c249c",name:"Event - Student Enrollment",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"studentEnrollment"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar165",type:"value",value:"%Education - Program ID and Name%"},{name:"eVar166",type:"value",value:"%Education - Student and Instructor ID%"},{name:"eVar178",type:"value",value:"%Education - Course ID and Name%"},{name:"eVar7",type:"value",value:"%Visitor - Account Name%"},{name:"eVar16",type:"value",value:"%Visitor - Account ID%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event254"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"studentEnrollment",linkType:"o"}}]},{id:"RL8435e4a7b17f4a098a96785b37769dc7",name:"Event - Form Submit",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"formSubmit"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar102",type:"value",value:"%Form - Type%"}],events:[{name:"event47"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"form submit",linkType:"o"}}]},{id:"RL91ac9a40712349c389dfd1e71a24b3b6",name:"Event - GenAI Content Requested",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"genAIContentRequested"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(eventData&&eventData.genAI){var a=eventData.genAI;a.resultWordCount&&(t.linkTrackEvents=t.apl(t.linkTrackEvents,"event340",",",1),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event341",",",1),t.events=t.apl(t.events,"event340="+a.resultWordCount,",",1),t.events=t.apl(t.events,"event341",",",1)),a.citationsCount&&(t.linkTrackEvents=t.apl(t.linkTrackEvents,"event342",",",1),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event343",",",1),t.events=t.apl(t.events,"event342="+a.citationsCount,",",1),t.events=t.apl(t.events,"event343",",",1)),a.refinementsOfferedCount&&(t.linkTrackEvents=t.apl(t.linkTrackEvents,"event344",",",1),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event345",",",1),t.events=t.apl(t.events,"event344="+a.refinementsOfferedCount,",",1),t.events=t.apl(t.events,"event345",",",1)),a.processingTime&&(t.linkTrackEvents=t.apl(t.linkTrackEvents,"event362",",",1),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event363",",",1),t.events=t.apl(t.events,"event362="+a.processingTime,",",1),t.events=t.apl(t.events,"event363",",",1));try{if(a.conversationId){var n=pageDataTracker.md5(a.conversationId).substring(0,20);t.linkTrackEvents=t.apl(t.linkTrackEvents,"event364",",",1),t.events=t.apl(t.events,"event364:"+n,",",1)}}catch(e){}try{if(a.conversationId&&a.promptCounter){var r=pageDataTracker.md5(a.conversationId+a.promptCounter).substring(0,20);t.linkTrackEvents=t.apl(t.linkTrackEvents,"event365",",",1),t.events=t.apl(t.events,"event365:"+r,",",1)}}catch(e){}}}},trackerProperties:{eVars:[{name:"eVar57",type:"value",value:"%Event - GenAI Input%"},{name:"eVar58",type:"value",value:"%Event - GenAI Details%"}],props:[{name:"prop45",type:"value",value:"%Event - GenAI Answer Details%"},{name:"prop46",type:"value",value:"%Event - GenAI ConversationId+PromptCounter%"}],events:[{name:"event366"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"genai content updated",linkType:"o"}}]},{id:"RL91de1407cce74669b7b92aae8a52754f",name:"Event - Close Tab",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"closeTab"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.eVar143=_satellite.getVar("Page - Tabs"),t.linkTrackVars=t.apl(t.linkTrackVars,"eVar143",",",2)}},trackerProperties:{events:[{name:"event215"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"close tab",linkType:"o"}}]},{id:"RL9501c0e6bd00470cadf2db767fd3b9b1",name:"Event - Content Interaction",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"contentInteraction"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{props:[{name:"prop53",type:"value",value:"%Event - Action Name%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"content interaction",linkType:"o"}}]},{id:"RL97af72a95def4b31a739ec7174ac6167",name:"Event - Assignment Graded",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"assignmentGraded"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.linkTrackEvents=t.apl(t.linkTrackEvents,"event260",",",1),t.events=t.apl(t.events,"event260="+_satellite.getVar("Education - Assignment Numeric Grade"),",",1)}},trackerProperties:{eVars:[{name:"eVar7",type:"value",value:"%Visitor - Account Name%"},{name:"eVar16",type:"value",value:"%Visitor - Account ID%"},{name:"eVar165",type:"value",value:"%Education - Program ID and Name%"},{name:"eVar166",type:"value",value:"%Education - Student and Instructor ID%"},{name:"eVar178",type:"value",value:"%Education - Course ID and Name%"},{name:"eVar179",type:"value",value:"%Education - Assignment ID Name and Type%"},{name:"eVar180",type:"value",value:"%Education - Module ID and Name%"},{name:"eVar183",type:"value",value:"%Education - Course Section ID and Name%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event259"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"assignment graded",linkType:"o"}}]},{id:"RL98ee8db2587c40ceb139dfeba06507da",name:"Event - Content Export",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"contentExport"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var a=_satellite.getVar("Event - Rows Exported");a&&(t.events=t.apl(t.events,"event246="+a,",",2),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event246",",",2));var n=_satellite.getVar("Event - Rows Exported Failed");n&&(t.events=t.apl(t.events,"event334="+n,",",2),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event334",",",2))}},trackerProperties:{eVars:[{name:"eVar69",type:"value",value:"%Event - Rows Exported%"}],events:[{name:"event39"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"content export",linkType:"o"}}]},{id:"RL9e2ff634b2ce4848857cd8001c0f619b",name:"Event - Self Reflection Result",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"selfReflectionResult"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar7",type:"value",value:"%Visitor - Account Name%"},{name:"eVar16",type:"value",value:"%Visitor - Account ID%"},{name:"eVar165",type:"value",value:"%Education - Program ID and Name%"},{name:"eVar172",type:"value",value:"%Education - Test Question%"},{name:"eVar178",type:"value",value:"%Education - Course ID and Name%"},{name:"eVar184",type:"value",value:"%Education - Question Type%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event266"},{name:"event300",value:"%Education - Self Reflection Score%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Self ReflectionResult",linkType:"o"}}]},{id:"RLa15d519fd5fe4fd8bac86a4e3d638050",name:"Event - Survey Submission",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"SurveySubmission"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar55",type:"value",value:"%Event - Survey Comment%"},{name:"eVar56",type:"alias",value:"prop43"}],props:[{name:"prop43",type:"value",value:"%Event - Survey Meta Data%"}],events:[{name:"event323"},{name:"event322",value:"%Event - Survey Score%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"survey submission",linkType:"o"}}]},{id:"RLa1e183a3c1104d9b914c5a326076e96a",name:"Event - Claim Profile",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"claimProfile"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event172"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"self-claim profile",linkType:"o"}}]},{id:"RLa34703ef7168424f9294e7bc93bcfd29",name:"Event - Paper Sent Back",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"paperSentBack"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{productId=pageDataTracker.getContentItem().id,productId=pageDataTracker.md5(productId),t.linkTrackEvents=t.apl(t.linkTrackEvents,"event339",",",1),t.events=t.apl(t.events,"event339:"+productId,",",1)}catch(e){}}},trackerProperties:{events:[{name:"event338"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"re submission start",linkType:"o"}}]},{id:"RLa437593e841c4d0d8880218aceb63c66",name:"Event - Exam Started",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"examStarted"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar7",type:"value",value:"%Visitor - Account Name%"},{name:"eVar16",type:"value",value:"%Visitor - Account ID%"},{name:"eVar165",type:"value",value:"%Education - Program ID and Name%"},{name:"eVar166",type:"value",value:"%Education - Student and Instructor ID%"},{name:"eVar167",type:"value",value:"%Education - Days Before / After Due Date%"},{name:"eVar171",type:"value",value:"%Education - Assignment Duration and Score%"},{name:"eVar182",type:"value",value:"%Education - Attempt%"},{name:"eVar193",type:"value",value:"%Education - Exam ID Name and Type%"},{name:"eVar195",type:"value",value:"%Education - Exam Group ID and Name%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event296"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"exam started",linkType:"o"}}]},{id:"RLa51893c06e424b3995191dc209070e3f",name:"Event - Search Start",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"searchStart"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){window.eventData&&eventData.search&&eventData.search.type&&(t.prop6=window.eventData.search.type,t.linkTrackVars=t.apl(t.linkTrackVars,"prop6",",",2),t.linkTrackVars=t.apl(t.linkTrackVars,"eVar2",",",2))}},trackerProperties:{events:[{name:"event211"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"search start",linkType:"o"}}]},{id:"RLa9252cdf5de9429fa4f396721aeac8a4",name:"Event - Question Incorrect",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"questionIncorrect"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar165",type:"value",value:"%Education - Program ID and Name%"},{name:"eVar166",type:"value",value:"%Education - Student and Instructor ID%"},{name:"eVar168",type:"value",value:"%Education - Semester%"},{name:"eVar172",type:"value",value:"%Education - Test Question%"},{name:"eVar178",type:"value",value:"%Education - Course ID and Name%"},{name:"eVar179",type:"value",value:"%Education - Assignment ID Name and Type%"},{name:"eVar180",type:"value",value:"%Education - Module ID and Name%"},{name:"eVar7",type:"value",value:"%Visitor - Account Name%"},{name:"eVar16",type:"value",value:"%Visitor - Account ID%"}],props:[{name:"prop1",type:"value",value:"%Visitor - Account ID%"},{name:"prop29",type:"value",value:"%Visitor - Account Name%"}],events:[{name:"event263"},{name:"event268"},{name:"event266"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"",linkType:"o"}}]},{id:"RLa9f1657d8d13488d9a494a76aa4695a5",name:"Event - Content Edit Start",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"contentEditStart"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event191"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"content edit start",linkType:"o"}}]},{id:"RLab110f9046e141569f6b0417732249e1",name:"Load - pageDataTracker",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!0,
source:"var pageDataTracker = {\n eventCookieName: 'eventTrack',\n debugCookie: 'els-aa-debugmode',\n debugCounter: 1,\n warnings: [],\n measures: {},\n timeoffset: 0\n\n ,trackPageLoad: function(data) {\n if (window.pageData && ((pageData.page && pageData.page.noTracking == 'true') || window.pageData_isLoaded)) {\n return false;\n }\n\n this.updatePageData(data);\n\n this.initWarnings();\n if(!(window.pageData && pageData.page && pageData.page.name)) {\n console.error('pageDataTracker.trackPageLoad() called without pageData.page.name being defined!');\n return;\n }\n\n this.processIdPlusData(window.pageData);\n\n if(window.pageData && pageData.page && !pageData.page.loadTime) {\n pageData.page.loadTime = performance ? Math.round((performance.now())).toString() : '';\n }\n\n if(window.pageData && pageData.page) {\n var localTime = new Date().getTime();\n if(pageData.page.loadTimestamp) {\n // calculate timeoffset\n var serverTime = parseInt(pageData.page.loadTimestamp);\n if(!isNaN(serverTime)) {\n this.timeoffset = pageData.page.loadTimestamp - localTime;\n }\n } else {\n pageData.page.loadTimestamp = localTime;\n }\n }\n\n this.validateData(window.pageData);\n\n try {\n var cookieTest = 'aa-cookie-test';\n this.setCookie(cookieTest, cookieTest);\n if(this.getCookie(cookieTest) != cookieTest) {\n this.warnings.push('dtm5');\n }\n this.deleteCookie(cookieTest);\n } catch(e){\n this.warnings.push('dtm5');\n }\n\n this.registerCallbacks();\n this.setAnalyticsData();\n\n // handle any cookied event data\n this.getEvents();\n\n window.pageData_isLoaded = true;\n\n this.debugMessage('Init - trackPageLoad()', window.pageData);\n\n _satellite.track('eventDispatcher', JSON.stringify({\n eventName: 'newPage',\n eventData: {eventName: 'newPage'},\n pageData: window.pageData\n }));\n }\n\n ,trackEvent: function(event, data, callback) {\n if (window.pageData && pageData.page && pageData.page.noTracking == 'true') {\n return false;\n }\n \n if(!window.pageData_isLoaded) {\n if(this.isDebugEnabled()) {\n console.log('[AA] pageDataTracker.trackEvent() called without calling trackPageLoad() first.');\n }\n return false;\n }\n\n if (event) {\n this.initWarnings();\n if(event === 'newPage') {\n // auto fillings\n if(data && data.page && !data.page.loadTimestamp) {\n data.page.loadTimestamp = ''+(new Date().getTime() + this.timeoffset);\n }\n this.processIdPlusData(data);\n }\n\n window.eventData = data ? data : {};\n window.eventData.eventName = event;\n if(!_satellite.getVar('blacklisted')) {\n this.handleEventData(event, data);\n \n if(event === 'newPage') {\n this.validateData(window.pageData);\n }\n this.debugMessage('Event: ' + event, data);\n \n _satellite.track('eventDispatcher', JSON.stringify({\n eventName: event,\n eventData: window.eventData,\n pageData: window.pageData\n }));\n } else {\n this.debugMessage('!! Blocked Event: ' + event, data);\n }\n }\n\n if (typeof(callback) == 'function') {\n callback.call();\n }\n }\n\n ,processIdPlusData: function(data) {\n if(data && data.visitor && data.visitor.idPlusData) {\n var idPlusFields = ['userId', 'accessType', 'accountId', 'accountName'];\n for(var i=0; i < idPlusFields.length; i++) {\n if(typeof data.visitor.idPlusData[idPlusFields[i]] !== 'undefined') {\n data.visitor[idPlusFields[i]] = data.visitor.idPlusData[idPlusFields[i]];\n }\n }\n data.visitor.idPlusData = undefined;\n }\n }\n\n ,validateData: function(data) {\n if(!data) {\n this.warnings.push('dv0');\n return;\n }\n\n // top 5\n if(!(data.visitor && data.visitor.accessType)) {\n this.warnings.push('dv1');\n }\n if(data.visitor && (data.visitor.accountId || data.visitor.accountName)) {\n if(!data.visitor.accountName) {\n this.warnings.push('dv2');\n }\n if(!data.visitor.accountId) {\n this.warnings.push('dv3');\n }\n }\n if(!(data.page && data.page.productName)) {\n this.warnings.push('dv4');\n }\n if(!(data.page && data.page.businessUnit)) {\n this.warnings.push('dv5');\n }\n if(!(data.page && data.page.name)) {\n this.warnings.push('dv6');\n }\n\n // rp mandatory\n if(data.page && data.page.businessUnit && (data.page.businessUnit.toLowerCase().indexOf('els:rp:') !== -1 || data.page.businessUnit.toLowerCase().indexOf('els:rap:') !== -1)) {\n if(!(data.page && data.page.loadTimestamp)) {\n this.warnings.push('dv7');\n }\n if(!(data.page && data.page.loadTime)) {\n this.warnings.push('dv8');\n }\n if(!(data.visitor && data.visitor.ipAddress)) {\n this.warnings.push('dv9');\n }\n if(!(data.page && data.page.type)) {\n this.warnings.push('dv10');\n }\n if(!(data.page && data.page.language)) {\n this.warnings.push('dv11');\n }\n }\n\n // other\n if(data.page && data.page.environment) {\n var env = data.page.environment.toLowerCase();\n if(!(env === 'dev' || env === 'cert' || env === 'prod')) {\n this.warnings.push('dv12');\n }\n }\n if(data.content && data.content.constructor !== Array) {\n this.warnings.push('dv13');\n }\n\n if(data.visitor && data.visitor.accountId && data.visitor.accountId.indexOf(':') == -1) {\n this.warnings.push('dv14');\n data.visitor.accountId = \"data violation\"\n }\n }\n\n ,initWarnings: function() {\n this.warnings = [];\n try {\n var hdn = document.head.childNodes;\n var libf = false;\n for(var i=0; i section',\n dtm2: 'trackPageLoad() must be placed and called before the closing tag',\n dtm3: 'trackEvent() must be called at a stage where Document.readyState=complete (e.g. on the load event or a user event)',\n dtm4: 'Embed codes need to be loaded in async mode',\n dtm5: 'Embed codes not in type script',\n dv1: 'visitor.accessType not set but mandatory',\n dv2: 'visitor.accountName not set but mandatory',\n dv3: 'visitor.accountId not set but mandatory',\n dv4: 'page.productName not set but mandatory',\n dv5: 'page.businessUnit not set but mandatory',\n dv6: 'page.name not set but mandatory',\n dv7: 'page.loadTimestamp not set but mandatory',\n dv8: 'page.loadTime not set but mandatory',\n dv9: 'visitor.ipAddress not set but mandatory',\n dv10: 'page.type not set but mandatory',\n dv11: 'page.language not set but mandatory',\n dv12: 'page.environment must be set to \\'prod\\', \\'cert\\' or \\'dev\\'',\n dv13: 'content must be of type array of objects',\n dv14: 'account number must contain at least one \\':\\', e.g. \\'ae:12345\\''\n }\n\n ,debugMessage: function(event, data) {\n if(this.isDebugEnabled()) {\n console.log('[AA] --------- [' + (this.debugCounter++) + '] Web Analytics Data ---------');\n console.log('[AA] ' + event);\n console.groupCollapsed(\"[AA] AA Data: \");\n if(window.eventData) {\n console.log(\"[AA] eventData:\\n\" + JSON.stringify(window.eventData, true, 2));\n }\n if(window.pageData) {\n console.log(\"[AA] pageData:\\n\" + JSON.stringify(window.pageData, true, 2));\n }\n console.groupEnd();\n if(this.warnings.length > 0) {\n console.groupCollapsed(\"[AA] Warnings (\"+this.warnings.length+\"): \");\n for(var i=0; i -1 ? pageData.page.name.split(':') : [pageData.page.name];\n pageData.page.sectionName = pageData.page.productName + ':' + pageEls[0];\n }\n\n ,getEvents: function() {\n pageData.savedEvents = {};\n pageData.eventList = [];\n\n var val = this.getCookie(this.eventCookieName);\n if (val) {\n pageData.savedEvents = val;\n }\n\n this.deleteCookie(this.eventCookieName);\n }\n\n ,updatePageData(data) {\n window.pageData = window.pageData || {};\n if (data && typeof(data) === 'object') {\n for (var x in data) {\n if(data.hasOwnProperty(x) && data[x] instanceof Array) {\n pageData[x] = data[x];\n } else if(data.hasOwnProperty(x) && typeof(data[x]) === 'object') {\n if(!pageData[x]) {\n pageData[x] = {};\n }\n for (var y in data[x]) {\n if(data[x].hasOwnProperty(y)) {\n pageData[x][y] = data[x][y];\n }\n }\n }\n }\n }\n }\n\n ,handleEventData: function(event, data) {\n var val;\n switch(event) {\n case 'newPage':\n this.updatePageData(data);\n this.setAnalyticsData();\n case 'saveSearch':\n case 'searchResultsUpdated':\n if (data) {\n // overwrite page-load object\n if (data.search && typeof(data.search) == 'object') {\n window.eventData.search.resultsPosition = '';\n pageData.search = pageData.search || {};\n var fields = ['advancedCriteria', 'criteria', 'currentPage', 'dataFormCriteria', 'facets', 'resultsByType', 'resultsPerPage', 'sortType', 'totalResults', 'type', 'database',\n 'suggestedClickPosition','suggestedLetterCount','suggestedResultCount', 'autoSuggestCategory', 'autoSuggestDetails','typedTerm','selectedTerm', 'channel',\n 'facetOperation', 'details'];\n for (var i=0; i 0) {\n window.eventData.linkOut = data.content[0].linkOut;\n window.eventData.referringProduct = _satellite.getVar('Page - Product Name') + ':' + data.content[0].id;\n }\n break;\n case 'socialShare':\n if (data && data.social) {\n window.eventData.sharePlatform = data.social.sharePlatform || '';\n }\n break;\n case 'contentInteraction':\n if (data && data.action) {\n window.eventData.action.name = pageData.page.productName + ':' + data.action.name;\n }\n break;\n case 'searchWithinContent':\n if (data && data.search) {\n window.pageData.search = window.pageData.search || {};\n pageData.search.withinContentCriteria = data.search.withinContentCriteria;\n }\n break;\n case 'contentShare':\n if (data && data.content) {\n window.eventData.sharePlatform = data.content[0].sharePlatform;\n }\n break;\n case 'contentLinkClick':\n if (data && data.link) {\n window.eventData.action = { name: pageData.page.productName + ':' + (data.link.type || 'no link type') + ':' + (data.link.name || 'no link name') };\n }\n break;\n case 'contentWindowLoad':\n case 'contentTabClick':\n if (data && data.content) {\n window.eventData.tabName = data.content[0].tabName || '';\n window.eventData.windowName = data.content[0].windowName || '';\n }\n break;\n case 'userProfileUpdate':\n if (data && data.user) {\n if (Object.prototype.toString.call(data.user) === \"[object Array]\") {\n window.eventData.user = data.user[0];\n }\n }\n break;\n case 'videoStart':\n if (data.video) {\n data.video.length = parseFloat(data.video.length || '0');\n data.video.position = parseFloat(data.video.position || '0');\n s.Media.open(data.video.id, data.video.length, s.Media.playerName);\n s.Media.play(data.video.id, data.video.position);\n }\n break;\n case 'videoPlay':\n if (data.video) {\n data.video.position = parseFloat(data.video.position || '0');\n s.Media.play(data.video.id, data.video.position);\n }\n break;\n case 'videoStop':\n if (data.video) {\n data.video.position = parseFloat(data.video.position || '0');\n s.Media.stop(data.video.id, data.video.position);\n }\n break;\n case 'videoComplete':\n if (data.video) {\n data.video.position = parseFloat(data.video.position || '0');\n s.Media.stop(data.video.id, data.video.position);\n s.Media.close(data.video.id);\n }\n break;\n case 'addWebsiteExtension':\n if(data && data.page) {\n val = {\n wx: data.page.websiteExtension\n }\n }\n break;\n }\n\n if (val) {\n this.setCookie(this.eventCookieName, val);\n }\n }\n\n ,registerCallbacks: function() {\n var self = this;\n if(window.usabilla_live) {\n window.usabilla_live('setEventCallback', function(category, action, label, value) {\n if(action == 'Campaign:Open') {\n self.trackEvent('ctaImpression', {\n cta: {\n ids: ['usabillaid:' + label]\n }\n });\n } else if(action == 'Campaign:Success') {\n self.trackEvent('ctaClick', {\n cta: {\n ids: ['usabillaid:' + label]\n }\n });\n }\n });\n }\n }\n\n ,getConsortiumAccountId: function() {\n var id = '';\n if (window.pageData && pageData.visitor && (pageData.visitor.consortiumId || pageData.visitor.accountId)) {\n id = (pageData.visitor.consortiumId || 'no consortium ID') + '|' + (pageData.visitor.accountId || 'no account ID');\n }\n\n return id;\n }\n\n ,getSearchClickPosition: function() {\n if (window.eventData && eventData.search && eventData.search.resultsPosition) {\n var pos = parseInt(eventData.search.resultsPosition), clickPos;\n if (!isNaN(pos)) {\n var page = pageData.search.currentPage ? parseInt(pageData.search.currentPage) : '', perPage = pageData.search.resultsPerPage ? parseInt(pageData.search.resultsPerPage) : '';\n if (!isNaN(page) && !isNaN(perPage)) {\n clickPos = pos + ((page - 1) * perPage);\n }\n }\n return clickPos ? clickPos.toString() : eventData.search.resultsPosition;\n }\n return '';\n }\n\n ,getSearchFacets: function() {\n var facetList = '';\n if (window.pageData && pageData.search && pageData.search.facets) {\n if (typeof(pageData.search.facets) == 'object') {\n for (var i=0; i 100 ? terms.substring(0, 100) : terms;\n }\n\n var areas = doc.subjectAreas ? doc.subjectAreas.split('>') : '';\n if (areas) {\n areas = areas.slice(0, 5).join('>');\n areas = areas.length > 100 ? areas.substring(0, 100) : areas;\n }\n\n var biblio\t= (doc.publisher || 'none')\n + '^' + (doc.publicationType || 'none')\n + '^' + (doc.publicationRights || 'none')\n + '^' + (terms || 'none')\n + '^' + (doc.volumeNumber || 'none')\n + '^' + (doc.issueNumber || 'none')\n + '^' + (areas || 'none')\n + '^' + (doc.isbn || 'none');\n\n return this.stripProductDelimiters(biblio).toLowerCase();\n }\n\n ,getContentItem: function() {\n var docs = window.eventData && eventData.content ? eventData.content : pageData.content;\n if (docs && docs.length > 0) {\n return docs[0];\n }\n }\n\n ,getFormattedDate: function(ts) {\n if (!ts) {\n return '';\n }\n\n var d = new Date(parseInt(ts) * 1000);\n\n // now do formatting\n var year = d.getFullYear()\n ,month = ((d.getMonth() + 1) < 10 ? '0' : '') + (d.getMonth() + 1)\n ,date = (d.getDate() < 10 ? '0' : '') + d.getDate()\n ,hours = d.getHours() > 12 ? d.getHours() - 12 : d.getHours()\n ,mins = (d.getMinutes() < 10 ? '0' : '') + d.getMinutes()\n ,ampm = d.getHours() > 12 ? 'pm' : 'am';\n\n hours = (hours < 10 ? '0' : '') + hours;\n return year + '-' + month + '-' + date;\n }\n\n ,getVisitorId: function() {\n var orgId = '4D6368F454EC41940A4C98A6@AdobeOrg';\n if(Visitor && Visitor.getInstance(orgId)) {\n return Visitor.getInstance(orgId).getMarketingCloudVisitorID();\n } else {\n return ''\n }\n }\n\n ,setProductsVariable: function() {\n var prodList = window.eventData && eventData.content ? eventData.content : pageData.content\n ,prods = [];\n if (prodList) {\n for (var i=0; i 0) {\n /*\n var regex = /[a-z]+:manuscript:id:([a-z]+-[a-z]-[0-9]+-[0-9]+)/gmi;\n var m = regex.exec(prodList[i].id);\n if(m) {\n merch.push('evar200=' + m[1]);\n }\n merch.push('evar200=' + prodList[i].id);\n */\n a = prodList[i].id.lastIndexOf(':');\n if(a>0) {\n merch.push('evar200=' + prodList[i].id.substring(a+1).toUpperCase());\n }\n } else if(type.indexOf(':submission') > 0) {\n merch.push('evar200=' + prodList[i].id);\n }\n }\n if(!prodList[i].title) {\n prodList[i].title = prodList[i].name;\n }\n if (prodList[i].title) {\n merch.push('evar75=' + this.stripProductDelimiters(prodList[i].title.toLowerCase()));\n }\n if (prodList[i].breadcrumb) {\n merch.push('evar63=' + this.stripProductDelimiters(prodList[i].breadcrumb).toLowerCase());\n }\n var nowTs = new Date().getTime()/1000;\n if (prodList[i].onlineDate && !isNaN(prodList[i].onlineDate)) {\n if(prodList[i].onlineDate > 32503680000) {\n prodList[i].onlineDate = prodList[i].onlineDate/1000;\n }\n merch.push('evar122=' + this.stripProductDelimiters(pageDataTracker.getFormattedDate(prodList[i].onlineDate)));\n var onlineAge = Math.floor((nowTs - prodList[i].onlineDate) / 86400);\n onlineAge = (onlineAge === 0) ? 'zero' : onlineAge;\n merch.push('evar128=' + onlineAge);\n }\n if (prodList[i].publishDate && !isNaN(prodList[i].publishDate)) {\n if(prodList[i].publishDate > 32503680000) {\n prodList[i].publishDate = prodList[i].publishDate/1000;\n }\n merch.push('evar123=' + this.stripProductDelimiters(pageDataTracker.getFormattedDate(prodList[i].publishDate)));\n var publishAge = Math.floor((nowTs - prodList[i].publishDate) / 86400);\n publishAge = (publishAge === 0) ? 'zero' : publishAge;\n merch.push('evar127=' + publishAge);\n }\n if (prodList[i].onlineDate && prodList[i].publishDate) {\n merch.push('evar38=' + this.stripProductDelimiters(pageDataTracker.getFormattedDate(prodList[i].onlineDate) + '^' + pageDataTracker.getFormattedDate(prodList[i].publishDate)));\n }\n if (prodList[i].mapId) {\n merch.push('evar70=' + this.stripProductDelimiters(prodList[i].mapId));\n }\n\t\t\t\t\tif (prodList[i].relevancyScore) {\n\t\t\t\t\t\tmerch.push('evar71=' + this.stripProductDelimiters(prodList[i].relevancyScore));\n\t\t\t\t\t}\n if (prodList[i].status) {\n merch.push('evar73=' + this.stripProductDelimiters(prodList[i].status));\n }\n if (prodList[i].previousStatus) {\n merch.push('evar111=' + this.stripProductDelimiters(prodList[i].previousStatus));\n }\n if (prodList[i].entitlementType) {\n merch.push('evar80=' + this.stripProductDelimiters(prodList[i].entitlementType));\n }\n if (prodList[i].recordType) {\n merch.push('evar93=' + this.stripProductDelimiters(prodList[i].recordType));\n }\n if (prodList[i].exportType) {\n merch.push('evar99=' + this.stripProductDelimiters(prodList[i].exportType));\n }\n if (prodList[i].importType) {\n merch.push('evar142=' + this.stripProductDelimiters(prodList[i].importType));\n }\n if (prodList[i].section) {\n merch.push('evar100=' + this.stripProductDelimiters(prodList[i].section));\n }\n if (prodList[i].detail) {\n merch.push('evar104=' + this.stripProductDelimiters(prodList[i].detail.toLowerCase()));\n } else if(prodList[i].details) {\n merch.push('evar104=' + this.stripProductDelimiters(prodList[i].details.toLowerCase()));\n }\n if (prodList[i].position) {\n merch.push('evar116=' + this.stripProductDelimiters(prodList[i].position));\n }\n if (prodList[i].publicationTitle) {\n merch.push('evar129=' + this.stripProductDelimiters(prodList[i].publicationTitle));\n }\n if (prodList[i].specialIssueTitle) {\n merch.push('evar130=' + this.stripProductDelimiters(prodList[i].specialIssueTitle));\n }\n if (prodList[i].specialIssueNumber) {\n merch.push('evar131=' + this.stripProductDelimiters(prodList[i].specialIssueNumber));\n }\n if (prodList[i].referenceModuleTitle) {\n merch.push('evar139=' + this.stripProductDelimiters(prodList[i].referenceModuleTitle));\n }\n if (prodList[i].referenceModuleISBN) {\n merch.push('evar140=' + this.stripProductDelimiters(prodList[i].referenceModuleISBN));\n }\n if (prodList[i].volumeTitle) {\n merch.push('evar132=' + this.stripProductDelimiters(prodList[i].volumeTitle));\n }\n if (prodList[i].publicationSection) {\n merch.push('evar133=' + this.stripProductDelimiters(prodList[i].publicationSection));\n }\n if (prodList[i].publicationSpecialty) {\n merch.push('evar134=' + this.stripProductDelimiters(prodList[i].publicationSpecialty));\n }\n if (prodList[i].issn) {\n merch.push('evar135=' + this.stripProductDelimiters(prodList[i].issn));\n }\n if (prodList[i].id2) {\n merch.push('evar159=' + this.stripProductDelimiters(prodList[i].id2));\n }\n if (prodList[i].id3) {\n merch.push('evar160=' + this.stripProductDelimiters(prodList[i].id3));\n }\n if (prodList[i].provider) {\n merch.push('evar164=' + this.stripProductDelimiters(prodList[i].provider));\n }\n if (prodList[i].citationStyle) {\n merch.push('evar170=' + this.stripProductDelimiters(prodList[i].citationStyle));\n }\n\n var biblio = this.getBibliographicInfo(prodList[i]);\n if (biblio) {\n merch.push('evar28=' + biblio);\n }\n\n if (prodList[i].turnawayId) {\n pageData.eventList.push('product turnaway');\n }\n\n var price = prodList[i].price || '', qty = prodList[i].quantity || '', evts = [];\n if (price && qty) {\n qty = parseInt(qty || '1');\n price = parseFloat(price || '0');\n price = (price * qty).toFixed(2);\n\n if (window.eventData && eventData.eventName && eventData.eventName == 'cartAdd') {\n evts.push('event20=' + price);\n }\n }\n\n var type = window.pageData && pageData.page && pageData.page.type ? pageData.page.type : '', evt = window.eventData && eventData.eventName ? eventData.eventName : '';\n if (type.match(/^CP\\-/gi) !== null && (!evt || evt == 'newPage' || evt == 'contentView')) {\n evts.push('event181=1');\n }\n if (evt == 'contentDownload' || type.match(/^CP\\-DL/gi) !== null) {\n evts.push('event182=1');\n }\n if (evt == 'contentDownloadRequest') {\n evts.push('event319=1');\n }\n if (evt == 'contentExport') {\n evts.push('event184=1');\n }\n if (this.eventFires('recommendationViews')) {\n evts.push('event264=1');\n }\n\n if(prodList[i].datapoints) {\n evts.push('event239=' + prodList[i].datapoints);\n }\n if(prodList[i].documents) {\n evts.push('event240=' + prodList[i].documents);\n }\n if(prodList[i].size) {\n evts.push('event335=' + prodList[i].size);\n evts.push('event336=1')\n }\n\n prods.push([\n ''\t\t\t\t\t// empty category\n ,prodList[i].id\t\t// id\n ,qty\t\t\t\t// qty\n ,price\t\t\t\t// price\n ,evts.join('|')\t\t// events\n ,merch.join('|')\t// merchandising eVars\n ].join(';'));\n }\n }\n }\n\n return prods.join(',');\n }\n ,eventFires: function(eventName) {\n var evt = window.eventData && eventData.eventName ? eventData.eventName : '';\n if(evt == eventName) {\n return true;\n }\n // initial pageload and new pages\n if((!window.eventData || evt == 'newPage') && window.pageData && window.pageData.trackEvents) {\n var tEvents = window.pageData.trackEvents;\n for(var i=0; i>>(32-d))}function K(G,k){var I,d,F,H,x;F=(G&2147483648);H=(k&2147483648);I=(G&1073741824);d=(k&1073741824);x=(G&1073741823)+(k&1073741823);if(I&d){return(x^2147483648^F^H)}if(I|d){if(x&1073741824){return(x^3221225472^F^H)}else{return(x^1073741824^F^H)}}else{return(x^F^H)}}function r(d,F,k){return(d&F)|((~d)&k)}function q(d,F,k){return(d&k)|(F&(~k))}function p(d,F,k){return(d^F^k)}function n(d,F,k){return(F^(d|(~k)))}function u(G,F,aa,Z,k,H,I){G=K(G,K(K(r(F,aa,Z),k),I));return K(L(G,H),F)}function f(G,F,aa,Z,k,H,I){G=K(G,K(K(q(F,aa,Z),k),I));return K(L(G,H),F)}function D(G,F,aa,Z,k,H,I){G=K(G,K(K(p(F,aa,Z),k),I));return K(L(G,H),F)}function t(G,F,aa,Z,k,H,I){G=K(G,K(K(n(F,aa,Z),k),I));return K(L(G,H),F)}function e(G){var Z;var F=G.length;var x=F+8;var k=(x-(x%64))/64;var I=(k+1)*16;var aa=Array(I-1);var d=0;var H=0;while(H>>29;return aa}function B(x){var k=\"\",F=\"\",G,d;for(d=0;d<=3;d++){G=(x>>>(d*8))&255;F=\"0\"+G.toString(16);k=k+F.substr(F.length-2,2)}return k}function J(k){k=k.replace(/rn/g,\"n\");var d=\"\";for(var F=0;F127)&&(x<2048)){d+=String.fromCharCode((x>>6)|192);d+=String.fromCharCode((x&63)|128)}else{d+=String.fromCharCode((x>>12)|224);d+=String.fromCharCode(((x>>6)&63)|128);d+=String.fromCharCode((x&63)|128)}}}return d}var C=Array();var P,h,E,v,g,Y,X,W,V;var S=7,Q=12,N=17,M=22;var A=5,z=9,y=14,w=20;var o=4,m=11,l=16,j=23;var U=6,T=10,R=15,O=21;s=J(s);C=e(s);Y=1732584193;X=4023233417;W=2562383102;V=271733878;for(P=0;Pe.length&&h.substring(0,e.length)==e?h.substring(e.length):"";l=b.contextDataMapping[h];if("string"==typeof l)for(q=l.split(","),s=0;se&&(e=1==a.k&&0e&&(e=0),a.offset=e,0a.c&&(a.c=e),y=a.D,m.name=d,m.ad=a.l,m.length=a.length,m.openTime=new Date,m.openTime.setTime(1E3*a.timestamp),m.offset=a.offset,m.percent=a.e,m.playerName=a.playerName,m.mediaEvent=0>a.g?"OPEN":1==c?"PLAY":2==c?"STOP":3==c?"MONITOR":\n4==c?"TRACK":5==c?"COMPLETE":7==c?"CLICK":"CLOSE",2=c||5<=c)&&0<=a.g&&(r=!1,q=s="None",a.g!=e)){h=a.g;h>e&&(h=a.c,h>e&&(h=e));p=u?u.split(","):0;if(0=h)for(n=0;n=g&&(r=!0,n=p.length,m.mediaEvent="MILESTONE",a.p=m.milestone=g);if((p=v?v.split(","):0)&&e>=h)for(n=0;n=g&&(r=!0,n=p.length,m.mediaEvent=\n"OFFSET_MILESTONE",a.q=m.offsetMilestone=g)}if(a.L||!f){if(w&&u&&0=c||3==c&&!a.k)a.n+=(1==c||3==c?"S":"E")+Math.floor(e),a.k=3==c?1:c;!r&&0<=a.g&&3>=c&&(t=t?t:0)&&a.a>=t&&(r=!0,m.mediaEvent="SECONDS");a.u=l;a.c=e}if(!c||3>=c&&100<=a.e)2!=a.k&&(a.n+="E"+Math.floor(e)),c=0,q=s="None",m.mediaEvent="CLOSE";7==c&&(r=m.clicked=a.r=!0);if(5==c||b.completeByCloseOffset&&(!c||100<=a.e)&&0=a.length-b.completeCloseOffsetThreshold)r=m.complete=a.complete=!0;l=m.mediaEvent;"MILESTONE"==l?l+="_"+m.milestone:"OFFSET_MILESTONE"==l&&(l+=\n"_"+m.offsetMilestone);a.I[l]?m.eventFirstTime=!1:(m.eventFirstTime=!0,a.I[l]=1);m.event=m.mediaEvent;m.timePlayed=a.C;m.segmentNum=a.m;m.segment=a.f;m.segmentLength=a.B;b.monitor&&4!=c&&b.monitor(b.s,m);b.Heartbeat&&b.Heartbeat.enabled&&0<=a.g&&(r=!1);0==c&&b.M(d);r&&a.D==y&&(d={contextData:{}},d.linkTrackVars=q,d.linkTrackEvents=s,d.linkTrackVars||(d.linkTrackVars=""),d.linkTrackEvents||(d.linkTrackEvents=""),b.P(d,a),d.linkTrackVars||(d["!linkTrackVars"]=1),d.linkTrackEvents||(d["!linkTrackEvents"]=\n1),b.s.track(d),a.F?(a.m=k,a.f=f,a.A=!0,a.F=!1):0d&&(d=c.currentTime),b.O(e,h,a,\nd,c))}),c=function(){b.o(d,1,-1)},e=function(){b.o(d,1,-1)},b.j(d,"play",c),b.j(d,"pause",e),b.j(d,"seeking",e),b.j(d,"seeked",c),b.j(d,"ended",function(){b.o(d,0,-1)}),b.j(d,"timeupdate",c),k=function(){d.paused||d.ended||d.seeking||b.o(d,3,-1);setTimeout(k,1E3)},k())};b.j=function(b,c,e){b.attachEvent?b.attachEvent("on"+c,e):b.addEventListener&&b.addEventListener(c,e,!1)};void 0==b.completeByCloseOffset&&(b.completeByCloseOffset=1);void 0==b.completeCloseOffsetThreshold&&(b.completeCloseOffsetThreshold=\n1);b.Heartbeat={};b.N=function(){var d,c;if(b.autoTrack&&(d=b.s.d.getElementsByTagName("VIDEO")))for(c=0;cr){var a=i.values().next().value;i.delete(a)}var o=n;n=!0,s.apply(null,[e.WARN].concat(Array.prototype.slice.call(arguments))),n=o}},m={log:o,info:c,debug:l,warn:u,error:d,deprecation:p,createPrefixedLogger:function(e){var t="["+e+"]";return{log:o.bind(null,t),info:c.bind(null,t),debug:l.bind(null,t),warn:u.bind(null,t),error:d.bind(null,t)}}};return Object.defineProperty(m,"outputEnabled",{get:function(){return n},set:function(e){!1===n&&!0===e&&i.clear(),n=e},enumerable:!0,configurable:!0}),re=m}function n(){return oe?se:(oe=1,se=document)}function r(){return le?ce:(le=1,ce=Object.assign)}function i(){return de?ue:(de=1,ue=window)}function s(){function e({window:e}){return function(t,a,n,r){var i,s=Boolean(a&&Array.isArray(n)),o=Boolean(s&&t),c=document.createElement("a");if(s){var l=function(){var e=new Error("Unable to find the Library Embed Code for Dynamic Host Resolution.");throw e.code="dynamic_host_resolver_constructor_error",e};if(t&&(/^((https?:)?\/\/).+/.test(t)||l(),/^\/\/.+/.test(t)?c.href=e.location.protocol+t:c.href=t),c.hostname||l(),-1===n.indexOf(c.hostname)){var u=new Error("This library is not authorized for this domain. Please contact your CSM for more information.");throw u.code="dynamic_host_not_allowed",u}}var d=function(){if(null!=i)return i;if(o){var e=c.host;/:80$/.test(e)?e=e.replace(":80",""):/:80\/$/.test(e)?e=e.replace(":80/",""):/:443$/.test(e)?e=e.replace(":443",""):/:443\/$/.test(e)&&(e=e.replace(":443/","")),i=c.protocol+"//"+e}else i="";return i},p=function(e){return o&&"string"==typeof e?[d(),"/"===e.charAt(0)?e.slice(1):e].join("/"):e},m={getTurbineHost:d,decorateWithDynamicHost:p,get isDynamicEnforced(){return s}};if(e){function v(t){t?e.dynamicHostResolver=m:delete e.dynamicHostResolver}r.onDebugChanged(v),v(r.getDebugEnabled())}return m}}if(me)return pe;me=1;const a=t()(e);return pe=a({window:i()})}function o(){return ge?ve:(ge=1,ve=function(e){var t=[];return e.forEach((function(e){e.events&&e.events.forEach((function(a){t.push({rule:e,event:a})}))})),t.sort((function(e,t){return e.event.ruleOrder-t.event.ruleOrder}))})}function c(){if(he)return fe;he=1;var e="debug";return fe=function(t,a){var n=function(){return"true"===t.getItem(e)},r=function(a){t.setItem(e,a)},i=[],s=function(e){i.push(e)};return a.outputEnabled=n(),{onDebugChanged:s,getDebugEnabled:n,setDebugEnabled:function(e){n()!==e&&(r(e),a.outputEnabled=e,i.forEach((function(t){t(e)})))}}},fe}function l(){if(ye)return be;ye=1;var e="Module did not export a function.";return be=function(t,a,n){return function(r,i,s){s=s||[];var o=t.getModuleExports(r.modulePath);if("function"!=typeof o)throw new Error(e);var c=t.getModuleDefinition(r.modulePath),l=r.settings||{};!r.hasTransformedFilePaths&&c.filePaths&&(n(l,c.filePaths,r.modulePath),r.hasTransformedFilePaths=!0);var u=a(l,i);return o.bind(null,u).apply(null,s)}}}function u(){return De?ke:(De=1,ke=function(e){return"string"==typeof e?e.replace(/\s+/g," ").trim():e})}function d(){function e({window:e}){var t="com.adobe.reactor.";return function(a,n){var r=t+(n||"");return{getItem:function(t){try{return e[a].getItem(r+t)}catch(e){return null}},setItem:function(t,n){try{return e[a].setItem(r+t,n),!0}catch(e){return!1}}}}}if(Pe)return Ve;Pe=1;const a=t()(e);return Ve=a({window:i()})}function p(){if(Ce)return Ee;Ce=1;var e=d(),t="dataElements.",a=e("sessionStorage",t),n=e("localStorage",t),r={PAGEVIEW:"pageview",SESSION:"session",VISITOR:"visitor"},i={},s=function(e){var t;try{t=JSON.stringify(e)}catch(e){}return t};return Ee={setValue:function(e,t,o){var c;switch(t){case r.PAGEVIEW:return void(i[e]=o);case r.SESSION:return void((c=s(o))&&a.setItem(e,c));case r.VISITOR:return void((c=s(o))&&n.setItem(e,c))}},getValue:function(e,t){var s;switch(t){case r.PAGEVIEW:return i.hasOwnProperty(e)?i[e]:null;case r.SESSION:return null===(s=a.getItem(e))?s:JSON.parse(s);case r.VISITOR:return null===(s=n.getItem(e))?s:JSON.parse(s)}}}}function m(){function e({cleanText:e,dataElementSafe:t,logger:a}){return function(n,i,s,o,c){return function(l,u){var d=i(l);if(!d)return o?"":void 0;var p,m,v=d.storageDuration;try{p=n.getModuleExports(d.modulePath),m=n.getModuleDefinition(d.modulePath)}catch(e){return void a.error(r(d,l,e.message,e.stack))}if("function"==typeof p){var g,f=d.settings||{};!d.hasTransformedFilePaths&&m.filePaths&&(c(f,m.filePaths,d.modulePath),d.hasTransformedFilePaths=!0);try{g=p(s(f,u),u)}catch(e){return void a.error(r(d,l,e.message,e.stack))}return v&&(null!=g?t.setValue(l,v,g):g=t.getValue(l,v)),null==g&&null!=d.defaultValue&&(g=d.defaultValue),"string"==typeof g&&(d.cleanText&&(g=e(g)),d.forceLowerCase&&(g=g.toLowerCase())),g}a.error(r(d,l,"Module did not export a function."))}}}if(Se)return Te;Se=1;var n=t(),r=function(e,t,a,n){return"Failed to execute data element module "+e.modulePath+" for data element "+t+". "+a+(n?"\n"+n:"")};const i=n(e);return Te=i({cleanText:u(),logger:a(),dataElementSafe:p()})}function v(){if(Ie)return we;Ie=1;var e=u(),t={text:function(e){return e.textContent},cleanText:function(t){return e(t.textContent)}},a=function(e,a,n){for(var r,i=e,s=0,o=a.length;s10?(e.error("Data element circular reference detected: "+c.join(" -> ")),t):o(t,a)}}}if(Fe)return Re;Fe=1;const n=t()(e);return Re=n({logger:a()})}function k(){return Ue||(Ue=1,Be=function(e){return function(){if("string"==typeof arguments[0])e[arguments[0]]=arguments[1];else if(arguments[0]){var t=arguments[0];for(var a in t)e[a]=t[a]}}}),Be}function D(){return We?He:(We=1,He="undefined"!=typeof window&&window.Promise||void 0!==ta&&ta.Promise)}function V(){if(Ye)return Ge;Ye=1;var e=D();return Ge=function(t,a,n){return function(r,i,s,o){return o.then((function(){var o,c=r.delayNext;return new e((function(a,n){var i=t(r,s,[s]);if(!c)return a();var l=r.timeout,u=new e((function(e,t){o=setTimeout((function(){t(new Error("A timeout occurred because the action took longer than "+l/1e3+" seconds to complete. "))}),l)}));e.race([i,u]).then(a,n)})).catch((function(t){return clearTimeout(o),t=a(t),n(r,i,t),e.reject(t)})).then((function(){clearTimeout(o)}))}))}},Ge}function P(){if(Xe)return qe;Xe=1;var e=D();return qe=function(t,a,n,r,i){return function(s,o,c,l){return l.then((function(){var l;return new e((function(a,n){var r=t(s,c,[c]),i=s.timeout,o=new e((function(e,t){l=setTimeout((function(){t(new Error("A timeout occurred because the condition took longer than "+i/1e3+" seconds to complete. "))}),i)}));e.race([r,o]).then(a,n)})).catch((function(t){return clearTimeout(l),t=a(t),r(s,o,t),e.reject(t)})).then((function(t){if(clearTimeout(l),!n(s,t))return i(s,o),e.reject()}))}))}},qe}function E(){if(Ke)return ze;Ke=1;var e=D().resolve();return ze=function(t,a,n){return function(r,i){return r.conditions&&r.conditions.forEach((function(a){e=t(a,r,i,e)})),r.actions&&r.actions.forEach((function(t){e=a(t,r,i,e)})),e=(e=e.then((function(){n(r)}))).catch((function(){}))}}}function C(){return Je?Qe:(Je=1,Qe=function(e){return Boolean(e&&"object"==typeof e&&"function"==typeof e.then)})}function T(){if(Ze)return $e;Ze=1;var e=C();return $e=function(t,a,n,r){return function(i,s){var o;if(i.conditions)for(var c=0;c