// For license information, see `https://assets.adobedtm.com/898335afd880/c52ee8aa1e90/launch-5ef258dce664.js`. window._satellite=window._satellite||{},window._satellite.container={buildInfo:{minified:!0,buildDate:"2022-04-19T13:59:46Z",turbineBuildDate:"2022-04-04T18:33:44Z",turbineVersion:"27.2.1"},environment:{id:"EN105e63e6135548ada58fef69bf5e1699",stage:"production"},dataElements:{"Page Name":{modulePath:"core/src/lib/dataElements/pageInfo.js",settings:{attribute:"title"}},"File Name":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(e){return e.element.getAttribute("title")?e.element.getAttribute("title"):e.element.getAttribute("href")}}},"Page URL":{modulePath:"core/src/lib/dataElements/pageInfo.js",settings:{attribute:"url"}},"Exit Link":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e="javascript:,"+document.domain;return e}}},"Site Section":{cleanText:!0,modulePath:"core/src/lib/dataElements/pageInfo.js",settings:{attribute:"hostname"}},Referrer:{modulePath:"core/src/lib/dataElements/pageInfo.js",settings:{attribute:"referrer"}},"Error Page":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(document.title.includes("Not Found"))var e="404";else document.title.includes("Access denied")&&(e="403");return e}}},"Search Term":{forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"query",caseInsensitive:!0}},UTM_Campaign:{forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"utm_campaign",caseInsensitive:!0}},UTM_Medium:{forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"utm_medium",caseInsensitive:!0}},UTM_Source:{forceLowerCase:!0,cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"utm_source",caseInsensitive:!0}},"Adobe Campaign":{modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"cid",caseInsensitive:!0}}},extensions:{"adobe-analytics":{displayName:"Adobe Analytics",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP171e731c9ba34f1c950c36d26e3efd61/",settings:{orgId:"98CF678254E93B1B0A4C98A5@AdobeOrg",customSetup:{source:function(){}},libraryCode:{type:"custom",source:"https://assets.adobedtm.com/898335afd880/c52ee8aa1e90/76214e8d1512/EXc7ae36d698ee4133b97af1e1c0d584a5-libraryCode_source.min.js",trackerVariableName:"s"},trackerProperties:{campaign:{type:"value",value:"%Adobe Campaign%"},currencyCode:"USD",trackingServer:"thomsonreuterscorporategroupweb.sc.omtrdc.net",trackInlineStats:!0,trackDownloadLinks:!1,trackExternalLinks:!0,writeSecureCookies:!0,linkExternalFilters:[],linkInternalFilters:[],linkLeaveQueryString:!1,trackingServerSecure:"thomsonreuterscorporategroupweb.sc.omtrdc.net"}},modules:{"adobe-analytics/src/lib/actions/sendBeacon.js":{name:"send-beacon",displayName:"Send Beacon",script:function(e,t,n,r){"use strict";var i=n("../sharedModules/getTracker"),a=n("../helpers/getNodeLinkText"),o=function(e){return e&&e.nodeName&&"a"===e.nodeName.toLowerCase()},s=function(e){return o(e)?a(e):"link clicked"},c=function(e,t,n){if("page"===t.type)r.logger.info("Firing page view beacon."),e.t();else{var i={linkType:t.linkType||"o",linkName:t.linkName||s(n)};r.logger.info("Firing link track beacon using the values: "+JSON.stringify(i)+"."),e.tl(o(n)?n:"true",i.linkType,i.linkName)}};e.exports=function(e,t){return i().then((function(n){c(n,e,t.element)}),(function(e){r.logger.error("Cannot send beacon: "+e)}))}}},"adobe-analytics/src/lib/actions/clearVariables.js":{name:"clear-variables",displayName:"Clear Variables",script:function(e,t,n,r){"use strict";var i=n("../sharedModules/getTracker");e.exports=function(){return i().then((function(e){e.clearVars&&(r.logger.info("Clear variables."),e.clearVars())}),(function(e){r.logger.error("Cannot clear variables: "+e)}))}}},"adobe-analytics/src/lib/actions/setVariables.js":{name:"set-variables",displayName:"Set Variables",script:function(e,t,n,r){"use strict";var i=n("../sharedModules/getTracker"),a=n("../helpers/applyTrackerVariables");e.exports=function(e,t){return i().then((function(n){r.logger.info("Set variables on the tracker."),a(n,e.trackerProperties),e.customSetup&&e.customSetup.source&&e.customSetup.source.call(t.element,t,n)}),(function(e){r.logger.error("Cannot set variables: "+e)}))}}},"adobe-analytics/src/lib/sharedModules/getTracker.js":{script:function(e,t,n,r){"use strict";var i,a=n("@adobe/reactor-cookie"),o=n("@adobe/reactor-promise"),s=n("@adobe/reactor-window"),c=n("../helpers/settingsHelper"),l=n("../helpers/augmenters"),u=n("../helpers/applyTrackerVariables"),d=n("../helpers/loadLibrary"),f=n("../helpers/generateVersion")(r.buildInfo.turbineBuildDate),p="beforeSettings",h=r.getSharedModule("adobe-mcid","mcid-instance"),m=function(e){return!e||"true"===a.get(e)},g=function(e){return o.all(l.map((function(t){var n;try{n=t(e)}catch(e){setTimeout((function(){throw e}))}return o.resolve(n)}))).then((function(){return e}))},v=function(e){return h&&(r.logger.info("Setting MCID instance on the tracker."),e.visitor=h),e},y=function(e){return r.logger.info('Setting version on tracker: "'+f+'".'),void 0!==e.tagContainerMarker?e.tagContainerMarker=f:"string"==typeof e.version&&e.version.substring(e.version.length-5)!=="-"+f&&(e.version+="-"+f),e},b=function(e,t,n){return t.loadPhase===p&&t.source&&(r.logger.info("Calling custom script before settings."),t.source.call(s,n)),u(n,e||{}),t.loadPhase!==p&&t.source&&(r.logger.info("Calling custom script after settings."),t.source.call(s,n)),n},_=function(e,t){return c.isAudienceManagementEnabled(e)&&(t.loadModule("AudienceManagement"),r.logger.info("Initializing AudienceManagement module"),t.AudienceManagement.setup(e.moduleProperties.audienceManager.config)),t},E=(i=r.getExtensionSettings(),m(i.trackingCookieName)?d(i).then(g).then(v).then(y).then(b.bind(null,i.trackerProperties,i.customSetup||{})).then(_.bind(null,i)):o.reject("EU compliance was not acknowledged by the user."));e.exports=function(){return E}},name:"get-tracker",shared:!0},"adobe-analytics/src/lib/sharedModules/augmentTracker.js":{name:"augment-tracker",shared:!0,script:function(e,t,n){"use strict";var r=n("../helpers/augmenters");e.exports=function(e){r.push(e)}}},"adobe-analytics/src/lib/helpers/getNodeLinkText.js":{script:function(e){"use strict";var t=function(e){return e&&e.replace(/\s+/g," ").trim()},n=/^(SCRIPT|STYLE|LINK|CANVAS|NOSCRIPT|#COMMENT)$/i,r=function(e){return!(e&&e.nodeName&&e.nodeName.match(n))},i=function(e){var t=[],n=!1;return r(e)?(t.push(e),e.childNodes&&Array.prototype.slice.call(e.childNodes).forEach((function(e){var r=i(e);t=t.concat(r.supportedNodes),n=n||r.includesUnsupportedNodes}))):n=!0,{supportedNodes:t,includesUnsupportedNodes:n}},a=function(e,t,n){var r;return n&&n!==e.nodeName.toUpperCase()||(r=e.getAttribute(t)),r};e.exports=function(e){var n=t(e.innerText||e.textContent),r=i(e);if(!n||r.includesUnsupportedNodes){var o,s,c,l,u=[];r.supportedNodes.forEach((function(e){e.getAttribute&&(o=o||t(e.getAttribute("alt")),s=s||t(e.getAttribute("title")),c=c||t(a(e,"value","INPUT")),l=l||t(a(e,"src","IMG"))),e.nodeValue&&u.push(e.nodeValue)})),(n=t(u.join("")))||(n=t(o||s||c||l||""))}return n}}},"adobe-analytics/src/lib/helpers/settingsHelper.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-window"),a={LIB_TYPES:{MANAGED:"managed",PREINSTALLED:"preinstalled",REMOTE:"remote",CUSTOM:"custom"},MANAGED_LIB_PATHS:{APP_MEASUREMENT:"AppMeasurement.js",ACTIVITY_MAP:"AppMeasurement_Module_ActivityMap.js",AUDIENCE_MANAGEMENT:"AppMeasurement_Module_AudienceManagement.js"},getReportSuites:function(e){var t=e.production;return e[r.environment.stage]&&(t=e[r.environment.stage]),t.join(",")},isActivityMapEnabled:function(e){return!(e.libraryCode&&!e.libraryCode.useActivityMap&&!1===e.libraryCode.useActivityMap)},isAudienceManagementEnabled:function(e){var t=!1;return e&&e.moduleProperties&&e.moduleProperties.audienceManager&&e.moduleProperties.audienceManager.config&&i&&i._satellite&&i._satellite.company&&i._satellite.company.orgId&&(t=!0),t}};e.exports=a}},"adobe-analytics/src/lib/helpers/augmenters.js":{script:function(e){"use strict";e.exports=[]}},"adobe-analytics/src/lib/helpers/applyTrackerVariables.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-query-string"),a=n("@adobe/reactor-window"),o=/eVar([0-9]+)/,s=/prop([0-9]+)/,c=new RegExp("^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$"),l=function(e,t,n){return n.indexOf(e)===t},u=function(e,t,n){var r=Object.keys(t).filter(c.test.bind(c));return n&&r.push("events"),(r=r.concat((e.linkTrackVars||"").split(","))).filter((function(e,t){return"None"!==e&&e&&l(e,t,r)})).join(",")},d=function(e,t){var n=t.map((function(e){return e.name}));return(n=n.concat((e.linkTrackEvents||"").split(","))).filter((function(e,t){return"None"!==e&&l(e,t,n)})).join(",")},f=function(e,t,n){e[t]=n[t].join(",")},p=function(e,t,n){var r=n.dynamicVariablePrefix||"D=";n[t].forEach((function(t){var n;if("value"===t.type)n=t.value;else{var i=o.exec(t.value);if(i)n=r+"v"+i[1];else{var a=s.exec(t.value);a&&(n=r+"c"+a[1])}}e[t.name]=n}))},h={linkDownloadFileTypes:f,linkExternalFilters:f,linkInternalFilters:f,hierarchies:function(e,t,n){n[t].forEach((function(t){e[t.name]=t.sections.join(t.delimiter)}))},props:p,eVars:p,campaign:function(e,t,n){if("queryParam"===n[t].type){var r=i.parse(a.location.search);e[t]=r[n[t].value]}else e[t]=n[t].value},events:function(e,t,n){var r=n[t].map((function(e){var t=e.name;return e.id&&(t=[t,e.id].join(":")),e.value&&(t=[t,e.value].join("=")),t}));e[t]=r.join(",")}};e.exports=function(e,t){var n={};t=t||{},Object.keys(t).forEach((function(e){var r=h[e],i=t[e];r?r(n,e,t):n[e]=i})),n.events&&e.events&&e.events.length>0&&(n.events=e.events+","+n.events);var i=t&&t.events&&t.events.length>0,a=u(e,n,i);a&&(n.linkTrackVars=a);var o=d(e,t.events||[]);o&&(n.linkTrackEvents=o),r.logger.info('Applying the following properties on tracker: "'+JSON.stringify(n)+'".'),Object.keys(n).forEach((function(t){e[t]=n[t]}))}}},"adobe-analytics/src/lib/helpers/loadLibrary.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-load-script"),a=n("@adobe/reactor-window"),o=n("@adobe/reactor-promise"),s=n("./settingsHelper"),c=n("./pollHelper"),l=function(e,t){if(!a.s_gi)throw new Error("Unable to create AppMeasurement tracker, `s_gi` function not found."+a.AppMeasurement);r.logger.info('Creating AppMeasurement tracker with these report suites: "'+t+'"');var n=a.s_gi(t);return e.libraryCode.scopeTrackerGlobally&&(r.logger.info("Setting the tracker as window.s"),a.s=n),n},u=function(e){var t=[];switch(e.libraryCode.type){case s.LIB_TYPES.MANAGED:t.push(r.getHostedLibFileUrl(s.MANAGED_LIB_PATHS.APP_MEASUREMENT)),s.isActivityMapEnabled(e)&&t.push(r.getHostedLibFileUrl(s.MANAGED_LIB_PATHS.ACTIVITY_MAP));break;case s.LIB_TYPES.CUSTOM:t.push(e.libraryCode.source);break;case s.LIB_TYPES.REMOTE:t.push("https:"===a.location.protocol?e.libraryCode.httpsUrl:e.libraryCode.httpUrl)}if(s.isAudienceManagementEnabled(e)){var n={namespace:a._satellite.company.orgId};e.moduleProperties.audienceManager.config.visitorService=n,t.push(r.getHostedLibFileUrl(s.MANAGED_LIB_PATHS.AUDIENCE_MANAGEMENT))}return t},d=function(e){return o.all(u(e).map((function(e){return r.logger.info("Loading script: "+e),i(e)})))},f=function(e,t){if(e.libraryCode.accounts)if(t.sa){var n=s.getReportSuites(e.libraryCode.accounts);r.logger.info('Setting the following report suites on the tracker: "'+n+'"'),t.sa(n)}else r.logger.warn("Cannot set report suites on tracker. `sa` method not available.");return t},p=function(e){if(a[e])return r.logger.info('Found tracker located at: "'+e+'".'),a[e];throw new Error('Cannot find the global variable name: "'+e+'".')};e.exports=function(e){var t=d(e);switch(e.libraryCode.type){case s.LIB_TYPES.MANAGED:var n=s.getReportSuites(e.libraryCode.accounts);return t.then(l.bind(null,e,n));case s.LIB_TYPES.PREINSTALLED:return t.then(c.poll.bind(null,a,e.libraryCode.trackerVariableName)).then(f.bind(null,e));case s.LIB_TYPES.CUSTOM:case s.LIB_TYPES.REMOTE:return t.then(p.bind(null,e.libraryCode.trackerVariableName)).then(f.bind(null,e));default:throw new Error("Cannot load library. Type not supported.")}}}},"adobe-analytics/src/lib/helpers/generateVersion.js":{script:function(e){"use strict";var t=8,n=function(e){return e.getUTCDate().toString(36)},r=function(e){return e.substr(e.length-1)},i=function(e){return Math.floor(e.getUTCHours()/t)},a=function(e){var t=(e.getUTCMonth()+1+12*i(e)).toString(36);return r(t)},o=function(e){return(e.getUTCFullYear()-2010).toString(36)};e.exports=function(e){var t=new Date(e);if(isNaN(t))throw new Error("Invalid date provided");return("L"+o(t)+a(t)+n(t)).toUpperCase()}}},"adobe-analytics/src/lib/helpers/pollHelper.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-promise"),a=40,o=250,s=function(e,t,n){r.logger.info('Found property located at: "'+t+'"].'),e(n)},c=function(e,t){return new i((function(n,r){if(e[t])return s(n,t,e[t]);var i=1,c=setInterval((function(){e[t]&&(s(n,t,e[t]),clearInterval(c)),i>=a&&(clearInterval(c),r(new Error('Bailing out. Cannot find the variable name: "'+t+'"].'))),i++}),o)}))};e.exports={poll:function(e,t){return r.logger.info('Waiting for the property to become accessible at: "'+t+'"].'),c(e,t)}}}}}},core:{displayName:"Core",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EPd22815afd48447aa955be6a3a012e3b5/",modules:{"core/src/lib/dataElements/pageInfo.js":{name:"page-info",displayName:"Page Info",script:function(e,t,n){"use strict";var r=n("@adobe/reactor-document");e.exports=function(e){switch(e.attribute){case"url":return r.location.href;case"hostname":return r.location.hostname;case"pathname":return r.location.pathname;case"protocol":return r.location.protocol;case"referrer":return r.referrer;case"title":return r.title}}}},"core/src/lib/dataElements/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){return e.source(t)}}},"core/src/lib/dataElements/queryStringParameter.js":{name:"query-string-parameter",displayName:"Query String Parameter",script:function(e,t,n){"use strict";var r=n("@adobe/reactor-window"),i=n("@adobe/reactor-query-string");e.exports=function(e){var t=i.parse(r.location.search);if(!e.caseInsensitive)return t[e.name];for(var n=e.name.toLowerCase(),a=Object.keys(t),o=0;ot})),greaterThanOrEqual:l((function(e,t){return e>=t})),isTrue:function(e){return!0===e},isTruthy:function(e){return Boolean(e)},isFalse:function(e){return!1===e},isFalsy:function(e){return!e}};e.exports=function(e){return d[e.comparison.operator](e.leftOperand,e.rightOperand,Boolean(e.comparison.caseInsensitive))}}},"core/src/lib/events/click.js":{name:"click",displayName:"Click",script:function(e,t,n){"use strict";var r=n("@adobe/reactor-window"),i=n("./helpers/createBubbly")(),a=new(n("./helpers/weakMap")),o=2,s=n("../helpers/stringAndNumberUtils").castToNumberIfString,c=function(e){if(!e.ctrlKey&&!e.metaKey&&e.button!==o)for(var t=e.target;t;){var n=t.tagName;if(n&&"a"===n.toLowerCase()){var i=t.getAttribute("href"),a=t.getAttribute("target");return i&&(!a||"_self"===a||"_top"===a&&r.top===r||a===r.name)?t:void 0}t=t.parentNode}};document.addEventListener("click",i.evaluateEvent,!0),e.exports=function(e,t){i.addListener(e,(function(n){var i=n.nativeEvent;if(!i.s_fe){var o=s(e.anchorDelay);if(o&&!a.has(i)){var l=c(i);l&&(i.preventDefault(),setTimeout((function(){r.location=l.href}),o)),a.set(i,!0)}t(n)}}))},e.exports.__reset=i.__reset}},"core/src/lib/conditions/queryStringParameter.js":{name:"query-string-parameter",displayName:"Query String Parameter",script:function(e,t,n){"use strict";var r=n("@adobe/reactor-window"),i=n("@adobe/reactor-query-string"),a=n("../helpers/textMatch");e.exports=function(e){var t=e.valueIsRegex?new RegExp(e.value,"i"):e.value,n=i.parse(r.location.search);return a(n[e.name],t)}}},"core/src/lib/events/libraryLoaded.js":{name:"library-loaded",displayName:"Library Loaded (Page Top)",script:function(e,t,n){"use strict";var r=n("./helpers/pageLifecycleEvents");e.exports=function(e,t){r.registerLibraryLoadedTrigger(t)}}},"core/src/lib/events/helpers/pageLifecycleEvents.js":{script:function(e,t,n){"use strict";var r=n("@adobe/reactor-window"),i=n("@adobe/reactor-document"),a=-1!==r.navigator.appVersion.indexOf("MSIE 10"),o="WINDOW_LOADED",s="DOM_READY",c="PAGE_BOTTOM",l=[c,s,o],u=function(e,t){return{element:e,target:e,nativeEvent:t}},d={};l.forEach((function(e){d[e]=[]}));var f=function(e,t){l.slice(0,h(e)+1).forEach((function(e){m(t,e)}))},p=function(){return"complete"===i.readyState?o:"interactive"===i.readyState?a?null:s:void 0},h=function(e){return l.indexOf(e)},m=function(e,t){d[t].forEach((function(t){g(e,t)})),d[t]=[]},g=function(e,t){var n=t.trigger,r=t.syntheticEventFn;n(r?r(e):null)};r._satellite=r._satellite||{},r._satellite.pageBottom=f.bind(null,c),i.addEventListener("DOMContentLoaded",f.bind(null,s),!0),r.addEventListener("load",f.bind(null,o),!0),r.setTimeout((function(){var e=p();e&&f(e)}),0),e.exports={registerLibraryLoadedTrigger:function(e){e()},registerPageBottomTrigger:function(e){d[c].push({trigger:e})},registerDomReadyTrigger:function(e){d[s].push({trigger:e,syntheticEventFn:u.bind(null,i)})},registerWindowLoadedTrigger:function(e){d[o].push({trigger:e,syntheticEventFn:u.bind(null,r)})}}}},"core/src/lib/helpers/stringAndNumberUtils.js":{script:function(e){"use strict";var t=function(e){return"number"==typeof e&&isFinite(e)},n=function(e){return"string"==typeof e||e instanceof String},r=function(e){return t(e)?String(e):e},i=function(e){return n(e)?Number(e):e};e.exports={isNumber:t,isString:n,castToStringIfNumber:r,castToNumberIfString:i}}},"core/src/lib/events/helpers/createBubbly.js":{script:function(e,t,n){"use strict";var r=n("./weakMap"),i=n("./matchesProperties"),a=n("./matchesSelector");e.exports=function(){var e=[],t=new r,n={addListener:function(t,n){e.push({settings:t,callback:n})},evaluateEvent:function(n,r){if(e.length&&!t.has(n)){for(var o=n.target,s=!1;o;){for(var c=!1,l=!1,u=0;u>>0)+a+++"__"}).prototype={set:function(e,t){var n=e[this.name];return n&&n[0]===e?n[1]=t:i(e,this.name,{value:[e,t],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e||(t[0]=t[1]=void 0,0))},has:function(e){var t=e[this.name];return!!t&&t[0]===e}}}e.exports=r}},"core/src/lib/events/helpers/matchesProperties.js":{script:function(e,t,n){"use strict";var r=n("./../../helpers/textMatch"),i=function(e,t){return"@text"===t||"innerText"===t?e.textContent||e.innerText:t in e?e[t]:e.getAttribute?e.getAttribute(t):void 0};e.exports=function(e,t){return!t||t.every((function(t){var n=i(e,t.name),a=t.valueIsRegex?new RegExp(t.value,"i"):t.value;return r(n,a)}))}}},"core/src/lib/events/helpers/matchesSelector.js":{script:function(e,t,n,r){"use strict";e.exports=function(e,t){var n=e.matches||e.msMatchesSelector;if(n)try{return n.call(e,t)}catch(e){return r.logger.warn("Matching element failed. "+t+" is not a valid selector."),!1}return!1}}},"core/src/lib/helpers/textMatch.js":{script:function(e){"use strict";e.exports=function(e,t){if(null==t)throw new Error("Illegal Argument: Pattern is not present");return null!=e&&("string"==typeof t?e===t:t instanceof RegExp&&t.test(e))}}}}},"adobe-mcid":{displayName:"Experience Cloud ID Service",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EPbdfb4b2e3570442dafcd49b858f2288a/",settings:{orgId:"98CF678254E93B1B0A4C98A5@AdobeOrg",variables:[{name:"idSyncDisableSyncs",value:"true"},{name:"secureCookie",value:"true"}],doesOptInApply:!1},modules:{"adobe-mcid/src/lib/sharedModules/mcidInstance.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-document"),a=n("../codeLibrary/VisitorAPI"),o=n("../../view/utils/timeUnits"),s=function(e){return e.reduce((function(e,t){var n=/^(true|false)$/i.test(t.value)?JSON.parse(t.value):t.value;return e[t.name]=n,e}),{})},c=function(e){var t=r.getExtensionSettings();if("string"!=typeof t.orgId)throw new TypeError("Org ID is not a string.");var n=s(t.variables||[]),i=t.doesOptInApply;i&&("boolean"==typeof i?n.doesOptInApply=i:t.optInCallback&&(n.doesOptInApply=t.optInCallback));var a=t.isOptInStorageEnabled;a&&(n.isOptInStorageEnabled=a);var c=t.optInCookieDomain;c&&(n.optInCookieDomain=c);var l=t.optInStorageExpiry;if(l){var u=t.timeUnit;if(u&&o[u]){var d=l*o[u];n.optInStorageExpiry=d}}else!0===a&&(n.optInStorageExpiry=33696e3);var f=t.previousPermissions;f&&(n.previousPermissions=f);var p=t.preOptInApprovals;if(p)n.preOptInApprovals=p;else{var h=t.preOptInApprovalInput;h&&(n.preOptInApprovals=h)}var m=t.isIabContext;m&&(n.isIabContext=m);var g=e.getInstance(t.orgId,n);return r.logger.info('Created instance using orgId: "'+t.orgId+'"'),r.logger.info("Set variables: "+JSON.stringify(n)),g.getMarketingCloudVisitorID((function(e){r.logger.info("Obtained Marketing Cloud Visitor Id: "+e)}),!0),g},l=function(e){return(r.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(i.location.pathname)?r.logger.warn("MCID library not loaded. One of the path exclusions matches the current path."):u=c(a),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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(){return{callbacks:{},add:function(e,t){this.callbacks[e]=this.callbacks[e]||[];var n=this.callbacks[e].push(t)-1,r=this;return function(){r.callbacks[e].splice(n,1)}},execute:function(e,t){if(this.callbacks[e]){t=(t=void 0===t?[]:t)instanceof Array?t:[t];try{for(;this.callbacks[e].length;){var n=this.callbacks[e].shift();"function"==typeof n?n.apply(null,t):n instanceof Array&&n[1].apply(n[0],t)}delete this.callbacks[e]}catch(e){}}},executeAll:function(e,t){(t||e&&!D.isObjectEmpty(e))&&Object.keys(this.callbacks).forEach((function(t){var n=void 0!==e[t]?e[t]:"";this.execute(t,n)}),this)},hasCallbacks:function(){return Boolean(Object.keys(this.callbacks).length)}}}function r(e,t,n){var r=null==e?void 0:e[t];return void 0===r?n:r}function i(e){for(var t=/^\d+$/,n=0,r=e.length;ni)return 1;if(i>r)return-1}return 0}function s(e,t){if(e===t)return 0;var n=e.toString().split("."),r=t.toString().split(".");return i(n.concat(r))?(a(n,r),o(n,r)):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:Ae,set:Ae,remove:Ae};var n={remove:function(){t.remove(e)},get:function(){var n=t.get(e),r={};try{r=JSON.parse(n)}catch(n){r={}}return r},set:function(r,i){i=i||{};var a=n.get(),o=Object.assign(a,r);t.set(e,JSON.stringify(o),{domain:i.optInCookieDomain||"",cookieLifetime:i.optInStorageExpiry||3419e4,expires:!0})}};return n}function f(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 p(){function e(e,t){var n=me(e);return n.length?n.every((function(e){return!!t[e]})):ge(t)}function t(){O(C),A(te.COMPLETE),g(m.status,m.permissions),s&&h.set(m.permissions,{optInCookieDomain:c,optInStorageExpiry:l}),v.execute(Te)}function n(e){return function(n,r){if(!ve(n))throw new Error("[OptIn] Invalid category(-ies). Please use the `OptIn.Categories` enum.");return A(te.CHANGED),Object.assign(C,ye(me(n),e)),r||t(),m}}var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.doesOptInApply,a=r.previousPermissions,o=r.preOptInApprovals,s=r.isOptInStorageEnabled,c=r.optInCookieDomain,l=r.optInStorageExpiry,u=r.isIabContext,f=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).cookies,p=Oe(a);ke(p,"Invalid `previousPermissions`!"),ke(o,"Invalid `preOptInApprovals`!");var h=d({cookieName:"adobeujs-optin"},{cookies:f}),m=this,g=ee(m),v=se(),y=Ee(p),b=Ee(o),_=s?h.get():{},E={},S=function(e,t){return Se(e)||t&&Se(t)?te.COMPLETE:te.PENDING}(y,_),I=function(e,t,n){var r=ye(oe,!i);return i?Object.assign({},r,e,t,n):r}(b,y,_),C=be(I),A=function(e){return S=e},O=function(e){return I=e};m.deny=n(!1),m.approve=n(!0),m.denyAll=m.deny.bind(m,oe),m.approveAll=m.approve.bind(m,oe),m.isApproved=function(t){return e(t,m.permissions)},m.isPreApproved=function(t){return e(t,b)},m.fetchPermissions=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?m.on(te.COMPLETE,e):Ae;return!i||i&&m.isComplete||o?e(m.permissions):t||v.add(Te,(function(){return e(m.permissions)})),n},m.complete=function(){m.status===te.CHANGED&&t()},m.registerPlugin=function(e){if(!e||!e.name||"function"!=typeof e.onRegister)throw new Error(we);E[e.name]||(E[e.name]=e,e.onRegister.call(e,m))},m.execute=De(E),m.memoizeContent=function(e){Ce(e)&&h.set(e,{optInCookieDomain:c,optInStorageExpiry:l})},m.getMemoizedContent=function(e){var t=h.get();if(t)return t[e]},Object.defineProperties(m,{permissions:{get:function(){return I}},status:{get:function(){return S}},Categories:{get:function(){return ne}},doesOptInApply:{get:function(){return!!i}},isPending:{get:function(){return m.status===te.PENDING}},isComplete:{get:function(){return m.status===te.COMPLETE}},__plugins:{get:function(){return Object.keys(E)}},isIabContext:{get:function(){return u}}})}function h(e,t){function n(){i=null,e.call(e,new f("The call took longer than you wanted!"))}function r(){i&&(clearTimeout(i),e.apply(e,arguments))}if(void 0===t)return e;var i=setTimeout(n,t);return r}function m(){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 n={};return window.__tcfapi=function(e,r,i,a){var o=Math.random()+"",s={__tcfapiCall:{command:e,parameter:a,version:r,callId:o}};n[o]=i,t.postMessage(s,"*")},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 r=t.__tcfapiReturn;"function"==typeof n[r.callId]&&(n[r.callId](r.returnValue,r.success),delete n[r.callId])}}),!1),window.__tcfapi}pe.error("__tcfapi not found")}else pe.error("__tcfapi not found")}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!0===e.vendor.consents[t],i=n.every((function(t){return!0===e.purpose.consents[t]}));return r&&i}function v(){var e=this;e.name="iabPlugin",e.version="0.0.2";var t,n=se(),r={transparencyAndConsentData:null},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r[e]=t};e.fetchConsentData=function(e){var t=h(e.callback,e.timeout);a({callback:t})},e.isApproved=function(e){var t=e.callback,n=e.category,i=e.timeout;if(r.transparencyAndConsentData)return t(null,g(r.transparencyAndConsentData,re[n],ie[n]));var o=h((function(e,r){t(e,g(r,re[n],ie[n]))}),i);a({category:n,callback:o})},e.onRegister=function(n){t=n;var r=Object.keys(re),i=function(e,t){!e&&t&&(r.forEach((function(e){var r=g(t,re[e],ie[e]);n[r?"approve":"deny"](e,!0)})),n.complete())};e.fetchConsentData({callback:i})};var a=function(e){var a=e.callback;if(r.transparencyAndConsentData)return a(null,r.transparencyAndConsentData);n.add("FETCH_CONSENT_DATA",a),o((function(e,a){if(a){var o=be(e),s=t.getMemoizedContent("iabConsentHash"),c=fe(o.tcString).toString(32);o.consentString=e.tcString,o.hasConsentChangedSinceLastCmpPull=s!==c,i("transparencyAndConsentData",o),t.memoizeContent({iabConsentHash:c})}n.execute("FETCH_CONSENT_DATA",[null,r.transparencyAndConsentData])}))},o=function(e){var t=Pe(re),n=m();"function"==typeof n&&n("getTCData",2,e,t)}}var y="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,n,r=1;r=0||t.indexOf("Trident/index.html")>=0&&t.indexOf("Windows NT 6")>=0};n.getIeVersion=function(){return document.documentMode?document.documentMode:r()?7:null},n.isFirefox=function(e){return!!/Firefox\/([0-9\.]+)(?:\s|$)/.test(e||window.navigator.userAgent)},n.encodeAndBuildRequest=function(e,t){return e.map(encodeURIComponent).join(t)},n.isObject=function(t){return null!==t&&"object"===e(t)&&!1===Array.isArray(t)},n.defineGlobalNamespace=function(){return window.adobe=n.isObject(window.adobe)?window.adobe:{},window.adobe},n.pluck=function(e,t){return t.reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),Object.create(null))},n.parseOptOut=function(e,t,n){t||(t=n,e.d_optout&&e.d_optout instanceof Array&&(t=e.d_optout.join(",")));var r=parseInt(e.d_ottl,10);return isNaN(r)&&(r=7200),{optOut:t,d_ottl:r}},n.normalizeBoolean=function(e){var t=e;return"true"===e?t=!0:"false"===e&&(t=!1),t}})),T=(D.isObjectEmpty,D.isValueEmpty,D.getIeVersion,D.isFirefox,D.encodeAndBuildRequest,D.isObject,D.defineGlobalNamespace,D.pluck,D.parseOptOut,D.normalizeBoolean,n),w=E.MESSAGES,N={0:"prefix",1:"orgID",2:"state"},x=function(e,t){this.parse=function(e){try{var t={};return e.data.split("|").forEach((function(e,n){void 0!==e&&(t[N[n]]=2!==n?e:JSON.parse(e))})),t}catch(e){}},this.isInvalid=function(n){var r=this.parse(n);if(!r||Object.keys(r).length<2)return!0;var i=e!==r.orgID,a=!t||n.origin!==t,o=-1===Object.keys(w).indexOf(r.prefix);return i||a||o},this.send=function(n,r,i){var a=r+"|"+e;i&&i===Object(i)&&(a+="|"+JSON.stringify(i));try{n.postMessage(a,t)}catch(e){}}},L=E.MESSAGES,R=function(e,t,n,r){function i(e){Object.assign(p,e)}function a(e){Object.assign(p.state,e),Object.assign(p.state.ALLFIELDS,e),p.callbackRegistry.executeAll(p.state)}function o(e){if(!g.isInvalid(e)){m=!1;var t=g.parse(e);p.setStateAndPublish(t.state)}}function s(e){!m&&h&&(m=!0,g.send(r,e))}function c(){i(new I(n._generateID)),p.getMarketingCloudVisitorID(),p.callbackRegistry.executeAll(p.state,!0),y.removeEventListener("message",l)}function l(e){if(!g.isInvalid(e)){var t=g.parse(e);m=!1,y.clearTimeout(p._handshakeTimeout),y.removeEventListener("message",l),i(new k(p)),y.addEventListener("message",o),p.setStateAndPublish(t.state),p.callbackRegistry.hasCallbacks()&&s(L.GETSTATE)}}function u(){h&&postMessage?(y.addEventListener("message",l),s(L.HANDSHAKE),p._handshakeTimeout=setTimeout(c,250)):c()}function d(){y.s_c_in||(y.s_c_il=[],y.s_c_in=0),p._c="Visitor",p._il=y.s_c_il,p._in=y.s_c_in,p._il[p._in]=p,y.s_c_in++}function f(){function e(e){0!==e.indexOf("_")&&"function"==typeof n[e]&&(p[e]=function(){})}Object.keys(n).forEach(e),p.getSupplementalDataID=n.getSupplementalDataID,p.isAllowed=function(){return!0}}var p=this,h=t.whitelistParentDomain;p.state={ALLFIELDS:{}},p.version=n.version,p.marketingCloudOrgID=e,p.cookieDomain=n.cookieDomain||"",p._instanceType="child";var m=!1,g=new x(e,h);p.callbackRegistry=T(),p.init=function(){d(),f(),i(new P(p)),u()},p.findField=function(e,t){if(void 0!==p.state[e])return t(p.state[e]),p.state[e]},p.messageParent=s,p.setStateAndPublish=a},j=E.MESSAGES,U=E.ALL_APIS,F=E.ASYNC_API_MAP,V=E.FIELDGROUP_TO_FIELD,B=function(e,t){function n(){var t={};return Object.keys(U).forEach((function(n){var r=U[n],i=e[r]();D.isValueEmpty(i)||(t[n]=i)})),t}function r(){var t=[];return e._loading&&Object.keys(e._loading).forEach((function(n){if(e._loading[n]){var r=V[n];t.push(r)}})),t.length?t:null}function i(t){return function n(){var i=r();if(i){var a=F[i[0]];e[a](n,!0)}else t()}}function a(e,r){var i=n();t.send(e,r,i)}function o(e){c(e),a(e,j.HANDSHAKE)}function s(e){i((function(){a(e,j.PARENTSTATE)}))()}function c(n){function r(r){i.call(e,r),t.send(n,j.PARENTSTATE,{CUSTOMERIDS:e.getCustomerIDs()})}var i=e.setCustomerIDs;e.setCustomerIDs=r}return function(e){t.isInvalid(e)||(t.parse(e).prefix===j.HANDSHAKE?o:s)(e.source)}},H=function(e,t){function n(e){return function(n){r[e]=n,++i===a&&t(r)}}var r={},i=0,a=Object.keys(e).length;Object.keys(e).forEach((function(t){var r=e[t];if(r.fn){var i=r.args||[];i.unshift(n(t)),r.fn.apply(r.context||null,i)}}))},G={get:function(e){e=encodeURIComponent(e);var t=(";"+document.cookie).split(" ").join(";"),n=t.indexOf(";"+e+"="),r=n<0?n:t.indexOf(";",n+1);return n<0?"":decodeURIComponent(t.substring(n+2+e.length,r<0?t.length:r))},set:function(e,t,n){var i=r(n,"cookieLifetime"),a=r(n,"expires"),o=r(n,"domain"),s=r(n,"secure"),c=r(n,"sameSite"),l=s?"Secure":"",u=c?"SameSite="+c+";":"";if(a&&"SESSION"!==i&&"NONE"!==i){var d=""!==t?parseInt(i||0,10):-60;if(d)(a=new Date).setTime(a.getTime()+1e3*d);else if(1===a){var f=(a=new Date).getYear();a.setYear(f+2+(f<1900?1900:0))}}else a=0;return e&&"NONE"!==i?(document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(a?" expires="+a.toGMTString()+";":"")+(o?" domain="+o+";":"")+u+l,this.get(e)===t):0},remove:function(e,t){var n=r(t,"domain");n=n?" domain="+n+";":"";var i=r(t,"secure"),a=r(t,"sameSite"),o=i?"Secure":"",s=a?"SameSite="+a+";":"";document.cookie=encodeURIComponent(e)+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"+n+s+o}},q=function(e,t){!e&&y.location&&(e=y.location.hostname);var n,r=e.split("."),i=t||{};for(n=r.length-2;n>=0;n--)if(i.domain=r.slice(n).join("."),G.set("TEST_AMCV_COOKIE_WRITE","cookie",i))return G.remove("TEST_AMCV_COOKIE_WRITE",i),i.domain;return""},Y={compare:s,isLessThan:function(e,t){return s(e,t)<0},areVersionsDifferent:function(e,t){return 0!==s(e,t)},isGreaterThan:function(e,t){return s(e,t)>0},isEqual:function(e,t){return 0===s(e,t)}},W=!!y.postMessage,K={postMessage:function(e,t,n){var r=1;t&&(W?n.postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1")):t&&(n.location=t.replace(/#.*$/,"")+"#"+ +new Date+r+++"&"+e))},receiveMessage:function(e,t){var n;try{W&&(e&&(n=function(n){if("string"==typeof t&&n.origin!==t||"[object Function]"===Object.prototype.toString.call(t)&&!1===t(n.origin))return!1;e(n)}),y.addEventListener?y[e?"addEventListener":"removeEventListener"]("message",n):y[e?"attachEvent":"detachEvent"]("onmessage",n))}catch(e){}}},J=function(e){var t,n,r="0123456789",i="",a="",o=8,s=10,c=10,l=(""+Date.now()).substr(-6).split("").reverse("").join("");if(1==e){for(r+="ABCDEF",t=0;16>t;t++)n=Math.floor(Math.random()*o),4>t&&l[t]t;t++)n=Math.floor(Math.random()*s),6>t&&l[t]n||2n||20&&(t=!1)),{corsType:e,corsCookiesEnabled:t}}(),getCORSInstance:function(){return"none"===this.corsMetadata.corsType?null:new y[this.corsMetadata.corsType]},fireCORS:function(t,n){function r(e){var n;try{if((n=JSON.parse(e))!==Object(n))return void i.handleCORSError(t,null,"Response is not JSON")}catch(e){return void i.handleCORSError(t,e,"Error parsing response as JSON")}try{for(var r=t.callback,a=y,o=0;o=a&&(e.splice(i,1),i--);return{dataPresent:o,dataValid:s}},manageSyncsSize:function(e){if(e.join("*").length>this.MAX_SYNCS_LENGTH)for(e.sort((function(e,t){return parseInt(e.split("-")[1],10)-parseInt(t.split("-")[1],10)}));e.join("*").length>this.MAX_SYNCS_LENGTH;)e.shift()},fireSync:function(t,n,r,i,a,o){var s=this;if(t){if("img"===n.tag){var c,l,u,d,f=n.url,p=e.loadSSL?"https:":"http:";for(c=0,l=f.length;c$.DAYS_BETWEEN_SYNC_ID_CALLS},attachIframeASAP:function(){function e(){t.startedAttachingIframe||(n.body?t.attachIframe():setTimeout(e,30))}var t=this;e()}}},Q={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(Q)},getConfigs:function(){return Q},normalizeConfig:function(e,t){return Q[e]&&"boolean"===Q[e].type?"function"!=typeof t?t:t():t}},ee=function(e){var t={};return e.on=function(e,n,r){if(!n||"function"!=typeof n)throw new Error("[ON] Callback should be a function.");t.hasOwnProperty(e)||(t[e]=[]);var i=t[e].push({callback:n,context:r})-1;return function(){t[e].splice(i,1),t[e].length||delete t[e]}},e.off=function(e,n){t.hasOwnProperty(e)&&(t[e]=t[e].filter((function(e){if(e.callback!==n)return e})))},e.publish=function(e){if(t.hasOwnProperty(e)){var n=[].slice.call(arguments,1);t[e].slice(0).forEach((function(e){e.callback.apply(e.context,n)}))}},e.publish},te={PENDING:"pending",CHANGED:"changed",COMPLETE:"complete"},ne={AAM:"aam",ADCLOUD:"adcloud",ANALYTICS:"aa",CAMPAIGN:"campaign",ECID:"ecid",LIVEFYRE:"livefyre",TARGET:"target",MEDIA_ANALYTICS:"mediaaa"},re=(t(b={},ne.AAM,565),t(b,ne.ECID,565),b),ie=(t(_={},ne.AAM,[1,10]),t(_,ne.ECID,[1,10]),_),ae=["videoaa","iabConsentHash"],oe=function(e){return Object.keys(e).map((function(t){return e[t]}))}(ne),se=function(){var e={};return e.callbacks=Object.create(null),e.add=function(t,n){if(!l(n))throw new Error("[callbackRegistryFactory] Make sure callback is a function or an array of functions.");e.callbacks[t]=e.callbacks[t]||[];var r=e.callbacks[t].push(n)-1;return function(){e.callbacks[t].splice(r,1)}},e.execute=function(t,n){if(e.callbacks[t]){n=(n=void 0===n?[]:n)instanceof Array?n:[n];try{for(;e.callbacks[t].length;){var r=e.callbacks[t].shift();"function"==typeof r?r.apply(null,n):r instanceof Array&&r[1].apply(r[0],n)}delete e.callbacks[t]}catch(e){}}},e.executeAll=function(t,n){(n||t&&!c(t))&&Object.keys(e.callbacks).forEach((function(n){var r=void 0!==t[n]?t[n]:"";e.execute(n,r)}),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,n){return n()?function(){if(le(e)){for(var n=arguments.length,r=new Array(n),i=0;i>>1:n>>>1;e.push(n)}return function(t,n){t=unescape(encodeURIComponent(t)),n||(n=0),n^=-1;for(var r=0;r>>8^e[i]}return(n^=-1)>>>0}}(),pe=new de("[ADOBE OPT-IN]"),he=function(t,n){return e(t)===n},me=function(e,t){return e instanceof Array?e:he(e,"string")?[e]:t||[]},ge=function(e){var t=Object.keys(e);return!!t.length&&t.every((function(t){return!0===e[t]}))},ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e||_e(e))&&me(e).every((function(e){return oe.indexOf(e)>-1||t&&ae.indexOf(e)>-1}))},ye=function(e,t){return e.reduce((function(e,n){return e[n]=t,e}),{})},be=function(e){return JSON.parse(JSON.stringify(e))},_e=function(e){return"[object Array]"===Object.prototype.toString.call(e)&&!e.length},Ee=function(e){if(Ce(e))return e;try{return JSON.parse(e)}catch(e){return{}}},Se=function(e){return void 0===e||(Ce(e)?ve(Object.keys(e),!0):Ie(e))},Ie=function(e){try{var t=JSON.parse(e);return!!e&&he(e,"string")&&ve(Object.keys(t),!0)}catch(e){return!1}},Ce=function(e){return null!==e&&he(e,"object")&&!1===Array.isArray(e)},Ae=function(){},Oe=function(e){return he(e,"function")?e():e},ke=function(e,t){Se(e)||pe.error("".concat(t))},Me=function(e){return Object.keys(e).map((function(t){return e[t]}))},Pe=function(e){return Me(e).filter((function(e,t,n){return n.indexOf(e)===t}))},De=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.command,r=t.params,i=void 0===r?{}:r,a=t.callback,o=void 0===a?Ae:a;if(!n||-1===n.indexOf("."))throw new Error("[OptIn.execute] Please provide a valid command.");try{var s=n.split("."),c=e[s[0]],l=s[1];if(!c||"function"!=typeof c[l])throw new Error("Make sure the plugin and API name exist.");var u=Object.assign(i,{callback:o});c[l].call(c,u)}catch(e){pe.error("[execute] Something went wrong: "+e.message)}}};f.prototype=Object.create(Error.prototype),f.prototype.constructor=f;var Te="fetchPermissions",we="[OptIn#registerPlugin] Plugin is invalid.";p.Categories=ne,p.TimeoutError=f;var Ne=Object.freeze({OptIn:p,IabPlugin:v}),xe=function(e,t){e.publishDestinations=function(n){var r=arguments[1],i=arguments[2];try{i="function"==typeof i?i:n.callback}catch(e){i=function(){}}var a=t;if(a.readyToAttachIframePreliminary()){if("string"==typeof n){if(!n.length)return void i({error:"subdomain is not a populated string."});if(!(r instanceof Array&&r.length))return void i({error:"messages is not a populated array."});var o=!1;if(r.forEach((function(e){"string"==typeof e&&e.length&&(a.addMessage(e),o=!0)})),!o)return void i({error:"None of the messages are populated strings."})}else{if(!D.isObject(n))return void i({error:"Invalid parameters passed."});var s=n;if("string"!=typeof(n=s.subdomain)||!n.length)return void i({error:"config.subdomain is not a populated string."});var c=s.urlDestinations;if(!(c instanceof Array&&c.length))return void i({error:"config.urlDestinations is not a populated array."});var l=[];c.forEach((function(e){D.isObject(e)&&(e.hideReferrer?e.message&&a.addMessage(e.message):l.push(e))})),function e(){l.length&&setTimeout((function(){var t=new Image,n=l.shift();t.src=n.url,a.onPageDestinationsFired.push(n),e()}),100)}()}a.iframe?(i({message:"The destination publishing iframe is already attached and loaded."}),a.requestToProcess()):!e.subdomain&&e._getField("MCMID")?(a.subdomain=n,a.doAttachIframe=!0,a.url=a.getUrl(),a.readyToAttachIframe()?(a.iframeLoadedCallbacks.push((function(e){i({message:"Attempted to attach and load the destination publishing iframe through this API call. Result: "+(e.message||"no result")})})),a.attachIframe()):i({error:"Encountered a problem in attempting to attach and load the destination publishing iframe through this API call."})):a.iframeLoadedCallbacks.push((function(e){i({message:"Attempted to attach and load the destination publishing iframe through normal Visitor API processing. Result: "+(e.message||"no result")})}))}else i({error:"The destination publishing iframe is disabled in the Visitor library."})}},Le=function e(t){function n(e,t){return e>>>t|e<<32-t}for(var r,i,a=Math.pow,o=a(2,32),s="",c=[],l=8*t.length,u=e.h=e.h||[],d=e.k=e.k||[],f=d.length,p={},h=2;f<64;h++)if(!p[h]){for(r=0;r<313;r+=h)p[r]=h;u[f]=a(h,.5)*o|0,d[f++]=a(h,1/3)*o|0}for(t+="\x80";t.length%64-56;)t+="\0";for(r=0;r>8)return;c[r>>2]|=i<<(3-r)%4*8}for(c[c.length]=l/o|0,c[c.length]=l,i=0;i>>3)+m[r-7]+(n(y,17)^n(y,19)^y>>>10)|0);(u=[E+((n(b,2)^n(b,13)^n(b,22))+(b&u[1]^b&u[2]^u[1]&u[2]))|0].concat(u))[4]=u[4]+E|0}for(r=0;r<8;r++)u[r]=u[r]+g[r]|0}for(r=0;r<8;r++)for(i=3;i+1;i--){var S=u[r]>>8*i&255;s+=(S<16?0:"")+S.toString(16)}return s},Re=function(e,t){return"SHA-256"!==t&&"SHA256"!==t&&"sha256"!==t&&"sha-256"!==t||(e=Le(e)),e},je=function(e){return String(e).trim().toLowerCase()},Ue=Ne.OptIn;D.defineGlobalNamespace(),window.adobe.OptInCategories=Ue.Categories;var Fe=function(t,n,r){function i(){b._customerIDsHashChanged=!1}function a(e){var t=e;return function(e){var n=e||O.location.href;try{var r=b._extractParamFromUri(n,t);if(r)return te.parsePipeDelimetedKeyValues(r)}catch(e){}}}function o(e){function t(e,t,n){e&&e.match($.VALID_VISITOR_ID_REGEX)&&(n===w&&(A=!0),t(e))}t(e[w],b.setMarketingCloudVisitorID,w),b._setFieldExpire(U,-1),t(e[R],b.setAnalyticsVisitorID)}function s(e){e=e||{},b._supplementalDataIDCurrent=e.supplementalDataIDCurrent||"",b._supplementalDataIDCurrentConsumed=e.supplementalDataIDCurrentConsumed||{},b._supplementalDataIDLast=e.supplementalDataIDLast||"",b._supplementalDataIDLastConsumed=e.supplementalDataIDLastConsumed||{}}function c(e){function t(e,t,n){return(n=n?n+="|":n)+(e+"=")+encodeURIComponent(t)}function n(e,n){var r=n[0],i=n[1];return null!=i&&i!==F&&(e=t(r,i,e)),e}return function(e){return(e=e?e+="|":e)+"TS="+te.getTimestampInSeconds()}(e.reduce(n,""))}function l(e){var t=e.minutesToLive,n="";return(b.idSyncDisableSyncs||b.disableIdSyncs)&&(n=n||"Error: id syncs have been disabled"),"string"==typeof e.dpid&&e.dpid.length||(n=n||"Error: config.dpid is empty"),"string"==typeof e.url&&e.url.length||(n=n||"Error: config.url is empty"),void 0===t?t=20160:(t=parseInt(t,10),(isNaN(t)||t<=0)&&(n=n||"Error: config.minutesToLive needs to be a positive number")),{error:n,ttl:t}}function u(){return!(!b.configs.doesOptInApply||_.optIn.isComplete&&d())}function d(){return b.configs.doesOptInApply&&b.configs.isIabContext?_.optIn.isApproved(_.optIn.Categories.ECID)&&C:_.optIn.isApproved(_.optIn.Categories.ECID)}function f(){[["getMarketingCloudVisitorID"],["setCustomerIDs",void 0],["syncIdentity",void 0],["getAnalyticsVisitorID"],["getAudienceManagerLocationHint"],["getLocationHint"],["getAudienceManagerBlob"]].forEach((function(e){var t=e[0],n=2===e.length?e[1]:"",r=b[t];b[t]=function(e){return d()&&b.isAllowed()?r.apply(b,arguments):("function"==typeof e&&b._callCallback(e,[n]),n)}}))}function p(){var e=b._getAudienceManagerURLData(),t=e.url;return b._loadData(T,t,null,e)}function h(e,t){if(C=!0,e)throw new Error("[IAB plugin] : "+e);t&&t.gdprApplies&&(S=t.consentString,I=t.hasConsentChangedSinceLastCmpPull?1:0),p(),v()}function m(e,t){if(C=!0,e)throw new Error("[IAB plugin] : "+e);t.gdprApplies&&(S=t.consentString,I=t.hasConsentChangedSinceLastCmpPull?1:0),b.init(),v()}function g(){_.optIn.isComplete&&(_.optIn.isApproved(_.optIn.Categories.ECID)?b.configs.isIabContext?_.optIn.execute({command:"iabPlugin.fetchConsentData",callback:m}):(b.init(),v()):b.configs.isIabContext?_.optIn.execute({command:"iabPlugin.fetchConsentData",callback:h}):(f(),v()))}function v(){_.optIn.off("complete",g)}if(!r||r.split("").reverse().join("")!==t)throw new Error("Please use `Visitor.getInstance` to instantiate Visitor.");var b=this,_=window.adobe,S="",I=0,C=!1,A=!1;b.version="5.4.0";var O=y,k=O.Visitor;k.version=b.version,k.AuthState=E.AUTH_STATE,k.OptOut=E.OPT_OUT,O.s_c_in||(O.s_c_il=[],O.s_c_in=0),b._c="Visitor",b._il=O.s_c_il,b._in=O.s_c_in,b._il[b._in]=b,O.s_c_in++,b._instanceType="regular",b._log={requests:[]},b.marketingCloudOrgID=t,b.cookieName="AMCV_"+t,b.sessionCookieName="AMCVS_"+t;var M={};n&&n.secureCookie&&n.sameSiteCookie&&(M={sameSite:n.sameSiteCookie,secure:n.secureCookie}),b.cookieDomain=b.useLocalStorage?"":q(null,M),b.loadSSL=!0,b.loadTimeout=3e4,b.CORSErrors=[],b.marketingCloudServer=b.audienceManagerServer="dpm.demdex.net",b.sdidParamExpiry=30;var P=null,T="MC",w="MCMID",N="MCIDTS",L="A",R="MCAID",j="AAM",U="MCAAMB",F="NONE",V=function(e){return!Object.prototype[e]},W=z(b);b.FIELDS=E.FIELDS,b.cookieRead=function(e){return b.useLocalStorage?e===b.sessionCookieName?sessionStorage.getItem(e):localStorage.getItem(e):G.get(e)},b.cookieWrite=function(e,t,n){var r=""+t;if(b.useLocalStorage)return e===b.sessionCookieName?sessionStorage.setItem(e,r):localStorage.setItem(e,r);var i=b.cookieLifetime?(""+b.cookieLifetime).toUpperCase():"",a={expires:n,domain:b.cookieDomain,cookieLifetime:i};return b.configs&&b.configs.secureCookie&&"https:"===location.protocol&&(a.secure=!0),b.configs&&b.configs.sameSiteCookie&&"https:"===location.protocol&&(a.sameSite=E.SAME_SITE_VALUES[b.configs.sameSiteCookie.toUpperCase()]||"Lax"),G.set(e,r,a)},b.removeCookie=function(e){if(b.useLocalStorage)return e===b.sessionCookieName?sessionStorage.removeItem(e):localStorage.removeItem(e);var t={domain:b.cookieDomain};return b.configs&&b.configs.secureCookie&&"https:"===location.protocol&&(t.secure=!0),b.configs&&b.configs.sameSiteCookie&&"https:"===location.protocol&&(t.sameSite=E.SAME_SITE_VALUES[b.configs.sameSiteCookie.toUpperCase()]||"Lax"),G.remove(e,t)},b.resetState=function(e){e?b._mergeServerState(e):s()},b._isAllowedDone=!1,b._isAllowedFlag=!1,b.isAllowed=function(){return b._isAllowedDone||(b._isAllowedDone=!0,(b.cookieRead(b.cookieName)||b.cookieWrite(b.cookieName,"T",1))&&(b._isAllowedFlag=!0)),"T"===b.cookieRead(b.cookieName)&&b.removeCookie(b.cookieName),b._isAllowedFlag},b.setMarketingCloudVisitorID=function(e){b._setMarketingCloudFields(e)},b._use1stPartyMarketingCloudServer=!1,b.getMarketingCloudVisitorID=function(e,t){b.marketingCloudServer&&b.marketingCloudServer.indexOf(".demdex.net")<0&&(b._use1stPartyMarketingCloudServer=!0);var n=b._getAudienceManagerURLData("_setMarketingCloudFields"),r=n.url;return b._getRemoteField(w,r,e,t,n)};var Q=function(e,t){var n={};b.getMarketingCloudVisitorID((function(){t.forEach((function(e){n[e]=b._getField(e,!0)})),-1!==t.indexOf("MCOPTOUT")?b.isOptedOut((function(t){n.MCOPTOUT=t,e(n)}),null,!0):e(n)}),!0)};b.getVisitorValues=function(e,t){var n={MCMID:{fn:b.getMarketingCloudVisitorID,args:[!0],context:b},MCOPTOUT:{fn:b.isOptedOut,args:[void 0,!0],context:b},MCAID:{ fn:b.getAnalyticsVisitorID,args:[!0],context:b},MCAAMLH:{fn:b.getAudienceManagerLocationHint,args:[!0],context:b},MCAAMB:{fn:b.getAudienceManagerBlob,args:[!0],context:b}},r=t&&t.length?D.pluck(n,t):n;t&&-1===t.indexOf("MCAID")?Q(e,t):H(r,e)},b._currentCustomerIDs={},b._customerIDsHashChanged=!1,b._newCustomerIDsHash="",b.setCustomerIDs=function(t,n){if(!b.isOptedOut()&&t){if(!D.isObject(t)||D.isObjectEmpty(t))return!1;var r,a,o,s;for(r in b._readVisitor(),t)if(V(r)&&(b._currentCustomerIDs.dataSources=b._currentCustomerIDs.dataSources||{},n=(a=t[r]).hasOwnProperty("hashType")?a.hashType:n,a))if("object"===e(a)){var c={};if(a.id){if(n){if(!(s=Re(je(a.id),n)))return;a.id=s,c.hashType=n}c.id=a.id}null!=a.authState&&(c.authState=a.authState),b._currentCustomerIDs.dataSources[r]=c}else if(n){if(!(s=Re(je(a),n)))return;b._currentCustomerIDs.dataSources[r]={id:s,hashType:n}}else b._currentCustomerIDs.dataSources[r]={id:a};var l=b.getCustomerIDs(!0),u=b._getField("MCCIDH"),d="";for(o in u||(u=0),l){var f=l[o];if(!D.isObjectEmpty(f))for(r in f)V(r)&&(d+=(d?"|":"")+r+"|"+((a=f[r]).id?a.id:"")+(a.authState?a.authState:""))}b._newCustomerIDsHash=String(b._hash(d)),b._newCustomerIDsHash!==u&&(b._customerIDsHashChanged=!0,b._mapCustomerIDs(i))}},b.syncIdentity=function(t,n){if(!b.isOptedOut()&&t){if(!D.isObject(t)||D.isObjectEmpty(t))return!1;var r,a,o,s,c;for(r in b._readVisitor(),t)if(V(r)&&(b._currentCustomerIDs.nameSpaces=b._currentCustomerIDs.nameSpaces||{},n=(a=t[r]).hasOwnProperty("hashType")?a.hashType:n,a&&"object"===e(a))){var l={};if(a.id){if(n){if(!(o=Re(je(a.id),n)))return;a.id=o,l.hashType=n}l.id=a.id}null!=a.authState&&(l.authState=a.authState),a.dataSource&&(b._currentCustomerIDs.dataSources=b._currentCustomerIDs.dataSources||{},s=a.dataSource,b._currentCustomerIDs.dataSources[s]=l),b._currentCustomerIDs.nameSpaces[r]=l}var u=b.getCustomerIDs(!0),d=b._getField("MCCIDH"),f="";for(c in d||(d="0"),u){var p=u[c];if(!D.isObjectEmpty(p))for(r in p)V(r)&&(f+=(f?"|":"")+r+"|"+((a=p[r]).id?a.id:"")+(a.authState?a.authState:""))}b._newCustomerIDsHash=String(b._hash(f)),b._newCustomerIDsHash!==d&&(b._customerIDsHashChanged=!0,b._mapCustomerIDs(i))}},b.getCustomerIDs=function(e){b._readVisitor();var t,n,r={dataSources:{},nameSpaces:{}},i=b._currentCustomerIDs.dataSources;for(t in i)V(t)&&(n=i[t]).id&&(r.dataSources[t]||(r.dataSources[t]={}),r.dataSources[t].id=n.id,null!=n.authState?r.dataSources[t].authState=n.authState:r.dataSources[t].authState=k.AuthState.UNKNOWN,n.hashType&&(r.dataSources[t].hashType=n.hashType));var a=b._currentCustomerIDs.nameSpaces;for(t in a)V(t)&&(n=a[t]).id&&(r.nameSpaces[t]||(r.nameSpaces[t]={}),r.nameSpaces[t].id=n.id,null!=n.authState?r.nameSpaces[t].authState=n.authState:r.nameSpaces[t].authState=k.AuthState.UNKNOWN,n.hashType&&(r.nameSpaces[t].hashType=n.hashType));return e?r:r.dataSources},b.setAnalyticsVisitorID=function(e){b._setAnalyticsFields(e)},b.getAnalyticsVisitorID=function(e,t,n){if(!te.isTrackingServerPopulated()&&!n)return b._callCallback(e,[""]),"";var r="";if(n||(r=b.getMarketingCloudVisitorID((function(){b.getAnalyticsVisitorID(e,!0)}))),r||n){var i=n?b.marketingCloudServer:b.trackingServer,a="";b.loadSSL&&(n?b.marketingCloudServerSecure&&(i=b.marketingCloudServerSecure):b.trackingServerSecure&&(i=b.trackingServerSecure));var o={};if(i){var s="http"+(b.loadSSL?"s":"")+"://"+i+"/id",c=b.configs.cookieLifetime,l="d_visid_ver="+b.version+"&mcorgid="+encodeURIComponent(b.marketingCloudOrgID)+(r?"&mid="+encodeURIComponent(r):"")+(c?"&cl="+encodeURIComponent(c):"")+(b.idSyncDisable3rdPartySyncing||b.disableThirdPartyCookies?"&d_coppa=true":""),u=["s_c_il",b._in,"_set"+(n?"MarketingCloud":"Analytics")+"Fields"];a=s+"?"+l+"&callback=s_c_il%5B"+b._in+"%5D._set"+(n?"MarketingCloud":"Analytics")+"Fields",o.corsUrl=s+"?"+l,o.callback=u}return o.url=a,b._getRemoteField(n?w:R,a,e,t,o)}return""},b.getAudienceManagerLocationHint=function(e,t){if(b.getMarketingCloudVisitorID((function(){b.getAudienceManagerLocationHint(e,!0)}))){var n=b._getField(R);if(!n&&te.isTrackingServerPopulated()&&(n=b.getAnalyticsVisitorID((function(){b.getAudienceManagerLocationHint(e,!0)}))),n||!te.isTrackingServerPopulated()){var r=b._getAudienceManagerURLData(),i=r.url;return b._getRemoteField("MCAAMLH",i,e,t,r)}}return""},b.getLocationHint=b.getAudienceManagerLocationHint,b.getAudienceManagerBlob=function(e,t){if(b.getMarketingCloudVisitorID((function(){b.getAudienceManagerBlob(e,!0)}))){var n=b._getField(R);if(!n&&te.isTrackingServerPopulated()&&(n=b.getAnalyticsVisitorID((function(){b.getAudienceManagerBlob(e,!0)}))),n||!te.isTrackingServerPopulated()){var r=b._getAudienceManagerURLData(),i=r.url;return b._customerIDsHashChanged&&b._setFieldExpire(U,-1),b._getRemoteField(U,i,e,t,r)}}return""},b._supplementalDataIDCurrent="",b._supplementalDataIDCurrentConsumed={},b._supplementalDataIDLast="",b._supplementalDataIDLastConsumed={},b.getSupplementalDataID=function(e,t){b._supplementalDataIDCurrent||t||(b._supplementalDataIDCurrent=b._generateID(1));var n=b._supplementalDataIDCurrent;return b._supplementalDataIDLast&&!b._supplementalDataIDLastConsumed[e]?(n=b._supplementalDataIDLast,b._supplementalDataIDLastConsumed[e]=!0):n&&(b._supplementalDataIDCurrentConsumed[e]&&(b._supplementalDataIDLast=b._supplementalDataIDCurrent,b._supplementalDataIDLastConsumed=b._supplementalDataIDCurrentConsumed,b._supplementalDataIDCurrent=n=t?"":b._generateID(1),b._supplementalDataIDCurrentConsumed={}),n&&(b._supplementalDataIDCurrentConsumed[e]=!0)),n};var Z=!1;b._liberatedOptOut=null,b.getOptOut=function(e,t){var n=b._getAudienceManagerURLData("_setMarketingCloudFields"),r=n.url;if(d())return b._getRemoteField("MCOPTOUT",r,e,t,n);if(b._registerCallback("liberatedOptOut",e),null!==b._liberatedOptOut)return b._callAllCallbacks("liberatedOptOut",[b._liberatedOptOut]),Z=!1,b._liberatedOptOut;if(Z)return null;Z=!0;var i="liberatedGetOptOut";return n.corsUrl=n.corsUrl.replace(/\.demdex\.net\/id\?/,".demdex.net/optOutStatus?"),n.callback=[i],y[i]=function(e){if(e===Object(e)){var t,n,r=D.parseOptOut(e,t,F);t=r.optOut,n=1e3*r.d_ottl,b._liberatedOptOut=t,setTimeout((function(){b._liberatedOptOut=null}),n)}b._callAllCallbacks("liberatedOptOut",[t]),Z=!1},W.fireCORS(n),null},b.isOptedOut=function(e,t,n){t||(t=k.OptOut.GLOBAL);var r=b.getOptOut((function(n){var r=n===k.OptOut.GLOBAL||n.indexOf(t)>=0;b._callCallback(e,[r])}),n);return r?r===k.OptOut.GLOBAL||r.indexOf(t)>=0:null};var ee={subscribed:!1,callbacks:[]};b.onReceiveEcid=function(e){if(d())return b.getMarketingCloudVisitorID(e,!0);ee.subscribed=!0,e&&"function"==typeof e&&ee.callbacks.push(e)},b._fields=null,b._fieldsExpired=null,b._hash=function(e){var t,n=0;if(e)for(t=0;t0;)b._callCallback(n.shift(),t)}},b._addQuerystringParam=function(e,t,n,r){var i=encodeURIComponent(t)+"="+encodeURIComponent(n),a=te.parseHash(e),o=te.hashlessUrl(e);if(-1===o.indexOf("?"))return o+"?"+i+a;var s=o.split("?"),c=s[0]+"?",l=s[1];return c+te.addQueryParamAtLocation(l,i,r)+a},b._extractParamFromUri=function(e,t){var n=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);if(n&&n.length)return decodeURIComponent(n[1])},b._parseAdobeMcFromUrl=a($.ADOBE_MC),b._parseAdobeMcSdidFromUrl=a($.ADOBE_MC_SDID),b._attemptToPopulateSdidFromUrl=function(e){var n=b._parseAdobeMcSdidFromUrl(e),r=1e9;n&&n.TS&&(r=te.getTimestampInSeconds()-n.TS),n&&n.SDID&&n.MCORGID===t&&r$.ADOBE_MC_TTL_IN_MIN||e.MCORGID!==t)return;o(e)}},b._mergeServerState=function(e){if(e)try{if((e=function(e){return te.isObject(e)?e:JSON.parse(e)}(e))[b.marketingCloudOrgID]){var t=e[b.marketingCloudOrgID];!function(e){te.isObject(e)&&b.setCustomerIDs(e)}(t.customerIDs),s(t.sdid)}}catch(e){throw new Error("`serverState` has an invalid format.")}},b._timeout=null,b._loadData=function(e,t,n,r){t=b._addQuerystringParam(t,"d_fieldgroup",e,1),r.url=b._addQuerystringParam(r.url,"d_fieldgroup",e,1),r.corsUrl=b._addQuerystringParam(r.corsUrl,"d_fieldgroup",e,1),ie.fieldGroupObj[e]=!0,r===Object(r)&&r.corsUrl&&"XMLHttpRequest"===W.corsMetadata.corsType&&W.fireCORS(r,n,e)},b._clearTimeout=function(e){null!=b._timeout&&b._timeout[e]&&(clearTimeout(b._timeout[e]),b._timeout[e]=0)},b._settingsDigest=0,b._getSettingsDigest=function(){if(!b._settingsDigest){var e=b.version;b.audienceManagerServer&&(e+="|"+b.audienceManagerServer),b.audienceManagerServerSecure&&(e+="|"+b.audienceManagerServerSecure),b._settingsDigest=b._hash(e)}return b._settingsDigest},b._readVisitorDone=!1,b._readVisitor=function(){if(!b._readVisitorDone){b._readVisitorDone=!0;var e,t,n,r,i,a,o=b._getSettingsDigest(),s=!1,c=b.cookieRead(b.cookieName),l=new Date;if(c||A||b.discardTrackingServerECID||(c=b.cookieRead($.FIRST_PARTY_SERVER_COOKIE)),null==b._fields&&(b._fields={}),c&&"T"!==c)for((c=c.split("|"))[0].match(/^[\-0-9]+$/)&&(parseInt(c[0],10)!==o&&(s=!0),c.shift()),c.length%2==1&&c.pop(),e=0;e1?(i=parseInt(t[1],10),a=t[1].indexOf("s")>0):(i=0,a=!1),s&&("MCCIDH"===n&&(r=""),i>0&&(i=l.getTime()/1e3-60)),n&&r&&(b._setField(n,r,1),i>0&&(b._fields["expire"+n]=i+(a?"s":""),(l.getTime()>=1e3*i||a&&!b.cookieRead(b.sessionCookieName))&&(b._fieldsExpired||(b._fieldsExpired={}),b._fieldsExpired[n]=!0)));!b._getField(R)&&te.isTrackingServerPopulated()&&(c=b.cookieRead("s_vi"))&&(c=c.split("|")).length>1&&c[0].indexOf("v1")>=0&&((e=(r=c[1]).indexOf("["))>=0&&(r=r.substring(0,e)),r&&r.match($.VALID_VISITOR_ID_REGEX)&&b._setField(R,r))}},b._appendVersionTo=function(e){var t="vVersion|"+b.version,n=e?b._getCookieVersion(e):null;return n?Y.areVersionsDifferent(n,b.version)&&(e=e.replace($.VERSION_REGEX,t)):e+=(e?"|":"")+t,e},b._writeVisitor=function(){var e,t,n=b._getSettingsDigest();for(e in b._fields)V(e)&&b._fields[e]&&"expire"!==e.substring(0,6)&&(t=b._fields[e],n+=(n?"|":"")+e+(b._fields["expire"+e]?"-"+b._fields["expire"+e]:"")+"|"+t);n=b._appendVersionTo(n),b.cookieWrite(b.cookieName,n,1)},b._getField=function(e,t){return null==b._fields||!t&&b._fieldsExpired&&b._fieldsExpired[e]?null:b._fields[e]},b._setField=function(e,t,n){null==b._fields&&(b._fields={}),b._fields[e]=t,n||b._writeVisitor()},b._getFieldList=function(e,t){var n=b._getField(e,t);return n?n.split("*"):null},b._setFieldList=function(e,t,n){b._setField(e,t?t.join("*"):"",n)},b._getFieldMap=function(e,t){var n=b._getFieldList(e,t);if(n){var r,i={};for(r=0;r0?e.substr(t):""},hashlessUrl:function(e){var t=e.indexOf("#");return t>0?e.substr(0,t):e},addQueryParamAtLocation:function(e,t,n){var r=e.split("&");return n=null!=n?n:r.length,r.splice(n,0,t),r.join("&")},isFirstPartyAnalyticsVisitorIDCall:function(e,t,n){return e===R&&(t||(t=b.trackingServer),n||(n=b.trackingServerSecure),!("string"!=typeof(r=b.loadSSL?n:t)||!r.length)&&r.indexOf("2o7.net")<0&&r.indexOf("omtrdc.net")<0);var r},isObject:function(e){return Boolean(e&&e===Object(e))},removeCookie:function(e){G.remove(e,{domain:b.cookieDomain})},isTrackingServerPopulated:function(){return!!b.trackingServer||!!b.trackingServerSecure},getTimestampInSeconds:function(){return Math.round((new Date).getTime()/1e3)},parsePipeDelimetedKeyValues:function(e){return e.split("|").reduce((function(e,t){var n=t.split("=");return e[n[0]]=decodeURIComponent(n[1]),e}),{})},generateRandomString:function(e){e=e||5;for(var t="",n="abcdefghijklmnopqrstuvwxyz0123456789";e--;)t+=n[Math.floor(Math.random()*n.length)];return t},normalizeBoolean:function(e){return"true"===e||"false"!==e&&e},parseBoolean:function(e){return"true"===e||"false"!==e&&null},replaceMethodsWithFunction:function(e,t){for(var n in e)e.hasOwnProperty(n)&&"function"==typeof e[n]&&(e[n]=t);return e}};b._helpers=te;var ne=X(b,k);b._destinationPublishing=ne,b.timeoutMetricsLog=[];var re,ie={isClientSideMarketingCloudVisitorID:null,MCIDCallTimedOut:null,AnalyticsIDCallTimedOut:null,AAMIDCallTimedOut:null,fieldGroupObj:{},setState:function(e,t){switch(e){case T:!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 j:!1===t?!0!==this.AAMIDCallTimedOut&&(this.AAMIDCallTimedOut=!1):this.AAMIDCallTimedOut=t}}};b.isClientSideMarketingCloudVisitorID=function(){return ie.isClientSideMarketingCloudVisitorID},b.MCIDCallTimedOut=function(){return ie.MCIDCallTimedOut},b.AnalyticsIDCallTimedOut=function(){return ie.AnalyticsIDCallTimedOut},b.AAMIDCallTimedOut=function(){return ie.AAMIDCallTimedOut},b.idSyncGetOnPageSyncInfo=function(){return b._readVisitor(),b._getField("MCSYNCSOP")},b.idSyncByURL=function(e){if(!b.isOptedOut()){var t=l(e||{});if(t.error)return t.error;var n,r,i=e.url,a=encodeURIComponent,o=ne;return i=i.replace(/^https:/,"").replace(/^http:/,""),n=D.encodeAndBuildRequest(["",e.dpid,e.dpuuid||""],","),r=["ibs",a(e.dpid),"img",a(i),t.ttl,"",n],o.addMessage(r.join("|")),o.requestToProcess(),"Successfully queued"}},b.idSyncByDataSource=function(e){if(!b.isOptedOut())return e===Object(e)&&"string"==typeof e.dpuuid&&e.dpuuid.length?(e.url="//dpm.demdex.net/ibs:dpid="+e.dpid+"&dpuuid="+e.dpuuid,b.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},xe(b,ne),b._getCookieVersion=function(e){e=e||b.cookieRead(b.cookieName);var t=$.VERSION_REGEX.exec(e);return t&&t.length>1?t[1]:null},b._resetAmcvCookie=function(e){var t=b._getCookieVersion();t&&!Y.isLessThan(t,e)||b.removeCookie(b.cookieName)},b.setAsCoopSafe=function(){P=!0},b.setAsCoopUnsafe=function(){P=!1},function(){if(b.configs=Object.create(null),te.isObject(n))for(var e in n)V(e)&&(b[e]=n[e],b.configs[e]=n[e])}(),f(),b.init=function(){u()&&(_.optIn.fetchPermissions(g,!0),!_.optIn.isApproved(_.optIn.Categories.ECID))||re||(re=!0,function(){if(te.isObject(n)){b.idSyncContainerID=b.idSyncContainerID||0,P="boolean"==typeof b.isCoopSafe?b.isCoopSafe:te.parseBoolean(b.isCoopSafe),b.resetBeforeVersion&&b._resetAmcvCookie(b.resetBeforeVersion),b._attemptToPopulateIdsFromUrl(),b._attemptToPopulateSdidFromUrl(),b._readVisitor();var e=b._getField(N),t=Math.ceil((new Date).getTime()/$.MILLIS_PER_DAY);b.idSyncDisableSyncs||b.disableIdSyncs||!ne.canMakeSyncIDCall(e,t)||(b._setFieldExpire(U,-1),b._setField(N,t)),b.getMarketingCloudVisitorID(),b.getAudienceManagerLocationHint(),b.getAudienceManagerBlob(),b._mergeServerState(b.serverState)}else b._attemptToPopulateIdsFromUrl(),b._attemptToPopulateSdidFromUrl()}(),function(){if(!b.idSyncDisableSyncs&&!b.disableIdSyncs){ne.checkDPIframeSrc();var e=function(){var e=ne;e.readyToAttachIframe()&&e.attachIframe()};O.addEventListener("load",(function(){k.windowLoaded=!0,e()}));try{K.receiveMessage((function(e){ne.receiveMessage(e.data)}),ne.iframeHost)}catch(e){}}}(),b.whitelistIframeDomains&&$.POST_MESSAGE_ENABLED&&(b.whitelistIframeDomains=b.whitelistIframeDomains instanceof Array?b.whitelistIframeDomains:[b.whitelistIframeDomains],b.whitelistIframeDomains.forEach((function(e){var n=new x(t,e),r=B(b,n);K.receiveMessage(r,e)}))))}};Fe.config=Z,y.Visitor=Fe;var Ve=Fe,Be=function(e){if(D.isObject(e))return Object.keys(e).filter((function(t){return""!==e[t]&&Z.getConfigs()[t]})).reduce((function(t,n){var r=Z.normalizeConfig(n,e[n]),i=D.normalizeBoolean(r);return t[n]=i,t}),Object.create(null))},He=Ne.OptIn,Ge=Ne.IabPlugin;Ve.getInstance=function(e,t){if(!e)throw new Error("Visitor requires Adobe Marketing Cloud Org ID.");e.indexOf("@")<0&&(e+="@AdobeOrg");var n=function(){var t=y.s_c_il;if(t)for(var n=0;nn?r:n:null},r.prototype.isSubscriptionValid=function(e,t){var n=this.getLatestSubscriptionEndDate(e,t);if(!n)return!1;var r=new Date(1e3*n);return Date.now()n[e]&&delete n[e]})),n[e]=i,localStorage.setItem("apolloSchemaCache",JSON.stringify(n))},u=function(e,t,n,r){var i=c(e,t),a=localStorage.getItem(i),o=a&&JSON.parse(a)||{};o[n]=r,localStorage.setItem(i,JSON.stringify(o)),l(i)},d=function(e,t,n){var r=c(e,t),i=localStorage.getItem(r),a=i&&JSON.parse(i)||{};if(a[n])return JSON.parse(a[n])},f=function(e,t){return e.schemaProvider&&e.schemaProvider[t]&&"Apollo"===e.schemaProvider[t]?null:e.validationSchema&&"Disabled"!==e.schemaProvider[t]&&"object"==typeof e.validationSchema[t]?{eventName:t,validationSchema:e.validationSchema[t]}:-1},p=function(e,t,n){return new Promise((function(r){var i=f(e,t.event,n),a=!i&&d(e.apollo.organizationId,e.apollo.propertyId,e.apollo.buildId,t.event);if(i)t.__meta.validationResult.schemaProvider="DLM settings",r({status:304,data:i});else if(a)t.__meta.validationResult.schemaProvider="localStorage.apolloSchemaCache",r({status:304,data:a});else{var o=s(e.apollo.cdnHost,e.apollo.cdnPathPrefix,e.apollo.organizationId,e.apollo.propertyId,e.apollo.buildId,t.event);t.__meta.validationResult.schemaProvider=o,fetch(o).then((function(n){n.status&&200===n.status?n.json().then((function(i){u(e.apollo.propertyId,e.apollo.buildId,t.event,JSON.stringify(i)),t.__meta.validationResult.fetchResponse=n.status,r({status:n.status,data:i})})):(u(e.apollo.propertyId,e.apollo.buildId,e.apollo.eventId,JSON.stringify({})),t.__meta.validationResult.fetchResponse=n.status,r({status:n.status,data:{}}))}))}}))},h=function(e,t,n){var r=i.copy(t);delete r.__meta;var a=n.params.key||n.dataPath.split("index.html").pop();return{error:t.event+" > "+a+" > "+n.message.replace(/:/g," >"),params:{key:a,event:t.event,code:n.code,dataPath:n.dataPath,schemaPath:n.schemaPath,message:n.message,sender:"Launch > Data Layer Manager",eventPayload:r},environment:{launchEnv:e,sender:t.sender}}},m=function(e,t,n,r){n.__meta.validationResult.errors.push(r),n.__meta.validationResult.valid=!1,console.error("EVENT PAYLOAD VALIDATION FAILED:",r.message,r,n),e&&e.notify(h(t,n,r))},g=function(e,t,n){e&&!t.event&&n.error("EVENT NAME VALIDATION FAILED: Missing event name")},v=function(e,t,n,r,i,a,o){e&&r&&p(i,t,n).then((function(e){if(e&&e.data&&e.data.validationSchema){var n=r.validateMultiple(t,e.data.validationSchema);t.__meta.validationResult.validated=!0,t.__meta.validationResult.valid=!0,n.errors.forEach((function(e){m(a,o,t,e)})),n.missing.forEach((function(e){m(a,o,t,e)}))}}))},y=function(e,t,n,r,i,a){return function(o){o.detail.__meta=o.detail.__meta||{},o.detail.__meta.validationResult={active:e,errors:[],valid:null,validated:!1},g(e,o.detail,n),v(e,o.detail,n,r,t,i,a)}},b=function(e,t){var r=e.airbrakeConfig||{},i=e.environment,a=e.proFeatures&&e.payloadValidation[i],s=a&&n("./tv4_commonJS"),c=a&&o(r,i,t);return c&&c.addFilter((function(e){return e.params&&e.params.sender?"Launch > Data Layer Manager"!==e.params.sender?null:e:null})),{validateEvent:y(a,e,t,s,c,i)}};e.exports=b}},"data-layer-manager-search-discovery/src/lib/data_layer.js":{script:function(e,t,n){var r=n("./util"),i=n("@adobe/reactor-object-assign"),a=n("./event_processor"),o=function(e){this.logger=e.logger,this.window=e.window,this.eventResets=e.config.eventResets,this.dataLayerName=e.config.dataLayerName,this.eventProcessor=new a(e);var t=this._initializeDataLayer();if(Array.isArray(t)){var n=t.slice(0);this._augmentDataLayer(t),this.reset(),t.push.apply(t,n),this._monitorDataLayerOverwrite()}else this.logger.error("Data layer must be an Array.",this.dataLayerName)};i(o.prototype,{get:function(){return r.deepFind(this.window,this.dataLayerName)},set:function(e){r.deepSet(this.window,this.dataLayerName,e)},reset:function(){this.get().length=0},_initializeDataLayer:function(){return void 0===this.get()&&this.set([]),this.get()},_augmentDataLayer:function(e){o.addComputedState(e),this._replacePush(e),this._assignReset(e),e._managedBy="https://techdocs.searchdiscovery.com/adobe-solutions/adobe-launch/launch-extensions/data-layer-manager"},_monitorDataLayerOverwrite:function(){this.window._dataLayerOverwriteMonitor=this.window.setInterval((function(e){var t=e.get();t&&t._managedBy||(e.logger.error("Management Functionality Severed... Data Layer has been overwritten!"),e.window.clearInterval(e.window._dataLayerOverwriteMonitor))}),2500,this)},_assignReset:function(e){var t=this;e._reset=function(){t.reset()}},_replacePush:function(e){var t=e.push,n=this.eventProcessor.preProcessEventFn(this),i=this.eventProcessor.processEventFn(this),a=function(){var a=r.argumentsToArray(arguments).map(n);t.apply(e,a),a.forEach(i)};e.push=a}}),o.addComputedState=function(e){var t=function(){return function(t){t=void 0===t?e.length-1:t;var n=e.slice(0,t+1).filter(a.isEventObject).reduce((function(e,t){return i(e,t)}),{});return delete n.event,delete n.__meta,r.copy(n)}};e.computedState||Object.defineProperty(e,"computedState",{configurable:!1,enumerable:!1,get:t()}),e._computedStateAtIndex||Object.defineProperty(e,"_computedStateAtIndex",{configurable:!1,enumerable:!1,get:t}),e._computedStateAtEvent||Object.defineProperty(e,"_computedStateAtEvent",{configurable:!1,enumerable:!1,get:function(){return function(n){var r=e.indexOf(n);return t()(r)}}})},e.exports=o}},"data-layer-manager-search-discovery/src/lib/tv4_commonJS.js":{script:function(e){function t(e){return encodeURI(e).replace(/%25[0-9][0-9]/g,(function(e){return"%"+e.substring(3)}))}function n(e){var n="";p[e.charAt(0)]&&(n=e.charAt(0),e=e.substring(1));var r="",i="",a=!0,o=!1,s=!1;"+"===n?a=!1:"."===n?(i=".",r="."):"/"===n?(i="index.html",r="index.html"):"#"===n?(i="#",a=!1):";"===n?(i=";",r=";",o=!0,s=!0):"?"===n?(i="?",r="&",o=!0):"&"===n&&(i="&",r="&",o=!0);for(var c=[],l=e.split(","),u=[],d={},f=0;f0&&(n+=d.suffices["*"]&&r||",",d.suffices["*"]&&o&&(n+=d.name+"=")),n+=a?encodeURIComponent(f[p]).replace(/!/g,"%21"):t(f[p])}else if("object"==typeof f){o&&!d.suffices["*"]&&(n+=d.name+"=");var h=!0;for(var m in f)h||(n+=d.suffices["*"]&&r||","),h=!1,n+=a?encodeURIComponent(m).replace(/!/g,"%21"):t(m),n+=d.suffices["*"]?"=":",",n+=a?encodeURIComponent(f[m]).replace(/!/g,"%21"):t(f[m])}else o&&(n+=d.name,s&&""===f||(n+="=")),null!=d.truncate&&(f=f.substring(0,d.truncate)),n+=a?encodeURIComponent(f).replace(/!/g,"%21"):t(f)}return n};return _.varNames=c,{prefix:i,substitution:_}}function r(e){if(!(this instanceof r))return new r(e);for(var t=e.split("{"),i=[t.shift()],a=[],o=[],s=[];t.length>0;){var c=t.shift(),l=c.split("}")[0],u=c.substring(l.length+1),d=n(l);o.push(d.substitution),a.push(d.prefix),i.push(u),s=s.concat(d.substitution.varNames)}this.fill=function(e){for(var t=i[0],n=0;n0&&"/"===t.charAt(e.length-1)||"#"===n.charAt(0)||"?"===n.charAt(0))return!0}return!1}function f(e){var t,n,r=new m,i={setErrorReporter:function(e){return"string"==typeof e?this.language(e):(n=e,!0)},addFormat:function(){r.addFormat.apply(r,arguments)},language:function(e){return e?(I[e]||(e=e.split("-")[0]),!!I[e]&&(t=e,e)):t},addLanguage:function(e,t){var n;for(n in y)t[n]&&!t[y[n]]&&(t[y[n]]=t[n]);var r=e.split("-")[0];if(I[r])for(n in I[e]=Object.create(I[r]),t)void 0===I[r][n]&&(I[r][n]=t[n]),I[e][n]=t[n];else I[e]=t,I[r]=t;return this},freshApi:function(e){var t=f();return e&&t.language(e),t},validate:function(e,i,a,o){var s=l(t),c=n?function(e,t,r){return n(e,t,r)||s(e,t,r)}:s,u=new m(r,!1,c,a,o);"string"==typeof i&&(i={$ref:i}),u.addSchema("",i);var d=u.validateAll(e,i,null,null,"");return!d&&o&&(d=u.banUnknownProperties(e,i)),this.error=d,this.missing=u.missing,this.valid=null===d,this.valid},validateResult:function(){var e={toString:function(){return this.valid?"valid":this.error.message}};return this.validate.apply(e,arguments),e},validateMultiple:function(e,i,a,o){var s=l(t),c=n?function(e,t,r){return n(e,t,r)||s(e,t,r)}:s,u=new m(r,!0,c,a,o);"string"==typeof i&&(i={$ref:i}),u.addSchema("",i),u.validateAll(e,i,null,null,""),o&&u.banUnknownProperties(e,i);var d={toString:function(){return this.valid?"valid":this.error.message}};return d.errors=u.errors,d.missing=u.missing,d.valid=0===d.errors.length,d},addSchema:function(){return r.addSchema.apply(r,arguments)},getSchema:function(){return r.getSchema.apply(r,arguments)},getSchemaMap:function(){return r.getSchemaMap.apply(r,arguments)},getSchemaUris:function(){return r.getSchemaUris.apply(r,arguments)},getMissingUris:function(){return r.getMissingUris.apply(r,arguments)},dropSchemas:function(){r.dropSchemas.apply(r,arguments)},defineKeyword:function(){r.defineKeyword.apply(r,arguments)},defineError:function(e,t,n){if("string"!=typeof e||!/^[A-Z]+(_[A-Z]+)*$/.test(e))throw new Error("Code name must be a string in UPPER_CASE_WITH_UNDERSCORES");if("number"!=typeof t||t%1!=0||t<1e4)throw new Error("Code number must be an integer > 10000");if(void 0!==y[e])throw new Error("Error already defined: "+e+" as "+y[e]);if(void 0!==b[t])throw new Error("Error code already used: "+b[t]+" as "+t);for(var r in y[e]=t,b[t]=e,E[e]=E[t]=n,I){var i=I[r];i[e]&&(i[t]=i[t]||i[e])}},reset:function(){r.reset(),this.error=null,this.missing=[],this.valid=!0},missing:[],error:null,valid:!0,normSchema:c,resolveUrl:o,getDocumentUri:s,errorCodes:y};return i.language(e||"en"),i}var p={"+":!0,"#":!0,".":!0,"/":!0,";":!0,"?":!0,"&":!0},h={"*":!0};r.prototype={toString:function(){return this.template},fillFromObject:function(e){return this.fill((function(t){return e[t]}))}};var m=function(e,t,n,r,i){if(this.missing=[],this.missingMap={},this.formatValidators=e?Object.create(e.formatValidators):{},this.schemas=e?Object.create(e.schemas):{},this.collectMultiple=t,this.errors=[],this.handleError=t?this.collectError:this.returnError,r&&(this.checkRecursive=!0,this.scanned=[],this.scannedFrozen=[],this.scannedFrozenSchemas=[],this.scannedFrozenValidationErrors=[],this.validatedSchemasKey="tv4_validation_id",this.validationErrorsKey="tv4_validation_errors_id"),i&&(this.trackUnknownProperties=!0,this.knownPropertyPaths={},this.unknownPropertyPaths={}),this.errorReporter=n||l("en"),"string"==typeof this.errorReporter)throw new Error("debug");if(this.definedKeywords={},e)for(var a in e.definedKeywords)this.definedKeywords[a]=e.definedKeywords[a].slice(0)};m.prototype.defineKeyword=function(e,t){this.definedKeywords[e]=this.definedKeywords[e]||[],this.definedKeywords[e].push(t)},m.prototype.createError=function(e,t,n,r,i,a,o){var s=new u(e,t,n,r,i);return s.message=this.errorReporter(s,a,o),s},m.prototype.returnError=function(e){return e},m.prototype.collectError=function(e){return e&&this.errors.push(e),null},m.prototype.prefixErrors=function(e,t,n){for(var r=e;r=g&&rt.maximum)return this.createError(y.NUMBER_MAXIMUM,{value:e,maximum:t.maximum},"","/maximum",null,e,t);if(t.exclusiveMaximum&&e===t.maximum)return this.createError(y.NUMBER_MAXIMUM_EXCLUSIVE,{value:e,maximum:t.maximum},"","/exclusiveMaximum",null,e,t)}return null},m.prototype.validateNaN=function(e,t){return"number"!=typeof e?null:!0===isNaN(e)||e===1/0||e===-1/0?this.createError(y.NUMBER_NOT_A_NUMBER,{value:e},"","/type",null,e,t):null},m.prototype.validateString=function(e,t,n){return this.validateStringLength(e,t,n)||this.validateStringPattern(e,t,n)||null},m.prototype.validateStringLength=function(e,t){return"string"!=typeof e?null:void 0!==t.minLength&&e.lengtht.maxLength?this.createError(y.STRING_LENGTH_LONG,{length:e.length,maximum:t.maxLength},"","/maxLength",null,e,t):null},m.prototype.validateStringPattern=function(e,t){if("string"!=typeof e||"string"!=typeof t.pattern&&!(t.pattern instanceof RegExp))return null;var n;if(t.pattern instanceof RegExp)n=t.pattern;else{var r,i="",a=t.pattern.match(/^\/(.+)\/([img]*)$/);a?(r=a[1],i=a[2]):r=t.pattern,n=new RegExp(r,i)}return n.test(e)?null:this.createError(y.STRING_PATTERN,{pattern:t.pattern},"","/pattern",null,e,t)},m.prototype.validateArray=function(e,t,n){return Array.isArray(e)&&(this.validateArrayLength(e,t,n)||this.validateArrayUniqueItems(e,t,n)||this.validateArrayItems(e,t,n))||null},m.prototype.validateArrayLength=function(e,t){var n;return void 0!==t.minItems&&e.lengtht.maxItems&&(n=this.createError(y.ARRAY_LENGTH_LONG,{length:e.length,maximum:t.maxItems},"","/maxItems",null,e,t),this.handleError(n))?n:null},m.prototype.validateArrayUniqueItems=function(e,t){if(t.uniqueItems)for(var n=0;nt.maxProperties&&(n=this.createError(y.OBJECT_PROPERTIES_MAXIMUM,{propertyCount:r.length,maximum:t.maxProperties},"","/maxProperties",null,e,t),this.handleError(n))?n:null},m.prototype.validateObjectRequiredProperties=function(e,t){if(void 0!==t.required)for(var n=0;n ")},_cssPathStep:function(e,n,r){function i(e){var t=e.getAttribute("class");return t?t.split(/\s+/g).filter(Boolean).map((function(e){return"$"+e})):[]}function a(e){return"#"+o(e)}function o(e){if(u(e))return e;var t=/^(?:[0-9]|-[0-9-]?)/.test(e),n=e.length-1;return e.replace(/./g,(function(e,r){return t&&0===r||!l(e)?s(e,r===n):e}))}function s(e,t){return"\\"+c(e)+(t?"":" ")}function c(e){var t=e.charCodeAt(0).toString(16);return 1===t.length&&(t="0"+t),t}function l(e){return!!/[a-zA-Z0-9_-]/.test(e)||e.charCodeAt(0)>=160}function u(e){return/^-?[a-zA-Z_][a-zA-Z0-9_-]*$/.test(e)}if(e.nodeType!==Node.ELEMENT_NODE)return null;var d=e.getAttribute("id");if(n){if(d)return new t.DOMNodePathStep(a(d),!0);var f=e.nodeName.toLowerCase();if("body"===f||"head"===f||"html"===f)return new t.DOMNodePathStep(e.nodeName.toLowerCase(),!0)}var p=e.nodeName.toLowerCase();if(d)return new t.DOMNodePathStep(p.toLowerCase()+a(d),!0);var h=e.parentNode;if(!h||h.nodeType===Node.DOCUMENT_NODE)return new t.DOMNodePathStep(p.toLowerCase(),!0);for(var m=i(e),g=!1,v=!1,y=-1,b=h.children,_=0;(-1===y||!v)&&_10?(Y.error("Data element circular reference detected: "+s.join(" -> ")),e):o(e,t)}},Ee=function(e){return function(){if("string"==typeof arguments[0])e[arguments[0]]=arguments[1];else if(arguments[0]){var t=arguments[0];for(var n in t)e[n]=t[n]}}},Se=setTimeout;c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){var n=new this.constructor(o);return l(this,new p(e,t,n)),n},c.prototype.finally=i,c.all=function(e){return new c((function(t,n){function r(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){r(e,t)}),n)}i[e]=a,0==--o&&t(i)}catch(e){n(e)}}if(!a(e))return n(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var o=i.length,s=0;s0&&s>o&&(s=o);for(var c=0;c=0?(l=p.substr(0,h),u=p.substr(h+1)):(l=p,u=""),d=decodeURIComponent(l),f=decodeURIComponent(u),g(i,d)?Array.isArray(i[d])?i[d].push(f):i[d]=[i[d],f]:i[d]=f}return i},st=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},ct=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var i=encodeURIComponent(st(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return i+encodeURIComponent(st(e))})).join(t):i+encodeURIComponent(st(e[r]))})).join(t):r?encodeURIComponent(st(r))+n+encodeURIComponent(st(e)):""},lt=r((function(e,t){t.decode=t.parse=ot,t.encode=t.stringify=ct})),ut="@adobe/reactor-",dt={cookie:J,document:_,"load-script":at,"object-assign":A,promise:Ce,"query-string":{parse:function(e){return"string"==typeof e&&(e=e.trim().replace(/^[?#&]/,"")),lt.parse(e)},stringify:function(e){return lt.stringify(e)}},window:O},ft=function(e){return function(t){if(0===t.indexOf(ut)){var n=t.substr(ut.length),r=dt[n];if(r)return r}if(0===t.indexOf("./")||0===t.indexOf("../"))return e(t);throw new Error('Cannot resolve module "'+t+'".')}},pt=function(e,t,n,r,i,a,o){var s=e.extensions,c=e.buildInfo,l=e.environment,u=e.property.settings;if(s){var d=Xe(s,t);Object.keys(s).forEach((function(f){var p=s[f],h=p.settings;Array.isArray(p.filePaths)&&(h=a(h,p.filePaths));var m=Qe(r,h);if(p.modules){var g=Y.createPrefixedLogger(p.displayName),v=Ze(o,p.hostedLibFilesBaseUrl,c.minified),y={buildInfo:c,environment:l,property:{name:e.property.name,id:e.property.id},getDataElementValue:i,getExtensionSettings:m,getHostedLibFileUrl:v,getSharedModule:d,logger:g,propertySettings:u,replaceTokens:r,onDebugChanged:n.onDebugChanged,get debugEnabled(){return n.getDebugEnabled()}};Object.keys(p.modules).forEach((function(e){var n=p.modules[e],r=ft((function(n){var r=rt(e,n);return t.getModuleExports(r)}));t.registerModule(e,n,f,r,y)}))}})),t.hydrateCache()}return t},ht=function(e,t,n,r,i){var a=Y.createPrefixedLogger("Custom Script");e.track=function(e){Y.log('"'+e+'" does not match any direct call identifiers.')},e.getVisitorId=function(){return null},e.property={name:t.property.name,id:t.property.id},e.company=t.company,e.buildInfo=t.buildInfo,e.environment=t.environment,e.logger=a,e.notify=function(e,t){switch(Y.deprecation("_satellite.notify is deprecated. Please use the `_satellite.logger` API."),t){case 3:a.info(e);break;case 4:a.warn(e);break;case 5:a.error(e);break;default:a.log(e)}},e.getVar=r,e.setVar=i,e.setCookie=function(e,t,n){var r="",i={};n&&(r=", { expires: "+n+" }",i.expires=n);var a='_satellite.setCookie is deprecated. Please use _satellite.cookie.set("'+e+'", "'+t+'"'+r+").";Y.deprecation(a),J.set(e,t,i)},e.readCookie=function(e){return Y.deprecation('_satellite.readCookie is deprecated. Please use _satellite.cookie.get("'+e+'").'),J.get(e)},e.removeCookie=function(e){ Y.deprecation('_satellite.removeCookie is deprecated. Please use _satellite.cookie.remove("'+e+'").'),J.remove(e)},e.cookie=J,e.pageBottom=function(){},e.setDebug=n;var o=!1;Object.defineProperty(e,"_container",{get:function(){return o||(Y.warn("_satellite._container may change at any time and should only be used for debugging."),o=!0),t}})},mt=function(e){for(var t=_.querySelectorAll("script"),n=0;n