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AAOnH,QAAQ8G,UAAUM,MAAK,KAC7B,IAAIhD,EAAI,IAAIoB,MAAM,uBAAyB2B,EAAM,KAEjD,MADA/C,EAAEiD,KAAO,mBACHjD,CAAC,IAIT,IAAIuD,EAAM9H,EAAIsH,GAAMI,EAAKI,EAAI,GAC7B,OAAOD,EAAoBtD,EAAEuD,EAAI,IAAIP,MAAK,IAClCM,EAAoBH,IAE7B,CACAE,EAAoBH,KAAO,IAAOzC,OAAOyC,KAAKzH,GAC9C4H,EAAoBF,GAAK,KACzBC,EAAOP,QAAUQ,C,iBC1DjB,IAAI5H,EAAM,CACT,+BAAgC,CAC/B,KACA,MAED,kCAAmC,CAClC,KACA,MAED,6BAA8B,CAC7B,KACA,MAED,gCAAiC,CAChC,KACA,MAED,oCAAqC,CACpC,KACA,MAED,uCAAwC,CACvC,KACA,OAGF,SAAS4H,EAAoBN,GAC5B,IAAIO,EAAoBjD,EAAE5E,EAAKsH,GAC9B,OAAOnH,QAAQ8G,UAAUM,MAAK,KAC7B,IAAIhD,EAAI,IAAIoB,MAAM,uBAAyB2B,EAAM,KAEjD,MADA/C,EAAEiD,KAAO,mBACHjD,CAAC,IAIT,IAAIuD,EAAM9H,EAAIsH,GAAMI,EAAKI,EAAI,GAC7B,OAAOD,EAAoBtD,EAAEuD,EAAI,IAAIP,MAAK,IAClCM,EAAoBH,IAE7B,CACAE,EAAoBH,KAAO,IAAOzC,OAAOyC,KAAKzH,GAC9C4H,EAAoBF,GAAK,KACzBC,EAAOP,QAAUQ,C","sources":["webpack://ws-tagging/./src/utils/adobeOptOut.js","webpack://ws-tagging/./src/utils/legacy/projects/projects.js","webpack://ws-tagging/./node_modules/wsm-tagging-utils/dist/umd.js","webpack://ws-tagging/./src/utils/legacy/projects/ lazy ^\\.\\/.*\\/commands\\/.*$ namespace object","webpack://ws-tagging/./src/utils/legacy/projects/ lazy ^\\.\\/.*\\/decorators\\/.*$ namespace object","webpack://ws-tagging/./src/utils/legacy/projects/ lazy ^\\.\\/.*\\/handlers\\/.*$ referencedExports: default namespace object","webpack://ws-tagging/./src/utils/legacy/projects/ lazy ^\\.\\/.*\\/util\\/.*$ namespace object"],"sourcesContent":["/**\n * Continues support for the opt-out/override functionality in cms-web for fordDirect/adobeLaunch\n *\n * @param {string} project - the project being used, from configuration\n * @param {string} liveScriptLocation - the value in liveScriptLocation, from configuration\n * @param {string} defaultScriptLocation - the value in defaultScriptLocation, from configuration\n * @returns array of new script locations if found in siteProperties\n */\n\nconst adobeOptOut = (liveScriptLocation, defaultScriptLocation) => {\n\treturn [\n\t\twindow?.DDC?.siteProperties?.adobeTagManagerUrl || liveScriptLocation,\n\t\twindow?.DDC?.siteProperties?.adobeTagManagerUrlStaging ||\n\t\t\tdefaultScriptLocation\n\t];\n};\n\nexport default adobeOptOut;\n","import { addNewRelicPageAction } from 'ddc-new-relic';\nimport { namespace } from 'wsm-tagging-utils';\nimport getEnv from '../../getEnv';\nimport formatSlugs from '../../formatSlugs';\nimport adobeOptOut from '../../adobeOptOut';\n\nconst runProject = (winToRename, flags, configuration) => {\n\tconst win = winToRename; // this sillyness to get around eslint rule\n\tlet mutateableConfiguration = JSON.parse(JSON.stringify(configuration));\n\tmutateableConfiguration = formatSlugs({\n\t\tinput: mutateableConfiguration\n\t});\n\n\tconst {\n\t\tadditionalConfiguration = {},\n\t\tclientId,\n\t\tdealerAreaCode = false,\n\t\tdealerCodeType,\n\t\tdecoratorNames = [],\n\t\tdefaultScriptLocation,\n\t\teventHandlerName,\n\t\tformChangeTagging = false,\n\t\tformErrorTagging = false,\n\t\tgrouping,\n\t\tliveScriptLocation,\n\t\tlocationCode = false,\n\t\tproject,\n\t\tproviderId,\n\t\tretailerId,\n\t\tscriptObjectName,\n\t\tstartupCommands = [],\n\t\tstockStatusTagging = false,\n\t\tsupportSitePropertyScript = false,\n\t\twaitOnEventToStartHandling = '',\n\t\twidgetId,\n\t\twsTaggingGrouping\n\t} = mutateableConfiguration;\n\n\tconst className = `DDC.tracking.${project}.handlers.${eventHandlerName}`;\n\tconst decorators = decoratorNames.map((decoratorName) => ({\n\t\tclassName: `DDC.tracking.${project}.decorators.${decoratorName}`\n\t}));\n\n\tnamespace(win, 'DDC.WidgetData');\n\tnamespace(win, 'DDC.tracking');\n\n\tconst {\n\t\tDDC: { WidgetData }\n\t} = win;\n\n\tWidgetData[project] = WidgetData[project] || {};\n\n\t// bmw specific logic\n\t// if locationCode exists append to create something like: 01234-01\n\tconst retailerIdToUse = locationCode\n\t\t? `${retailerId}-${locationCode}`\n\t\t: retailerId;\n\n\tif (configuration.grouping === 'bmw') {\n\t\t// is this report still happenings?\n\t\taddNewRelicPageAction('wsTaggingLegacyBMW', {\n\t\t\tretailerId: retailerIdToUse || 'retaileridmissing'\n\t\t});\n\t}\n\n\tlet liveScriptLocationToUse = liveScriptLocation;\n\tlet defaultScriptLocationToUse = defaultScriptLocation;\n\n\tif (supportSitePropertyScript) {\n\t\t[liveScriptLocationToUse, defaultScriptLocationToUse] = adobeOptOut(\n\t\t\tliveScriptLocation,\n\t\t\tdefaultScriptLocation\n\t\t);\n\t}\n\n\tconst main = new win.DDC.tracking.framework.config.Main(\n\t\tnew win.DDC.tracking.framework.config.RuntimeBuilder(win, {\n\t\t\teventHandler: {\n\t\t\t\tclassName,\n\t\t\t\tproperties: {\n\t\t\t\t\t...additionalConfiguration,\n\t\t\t\t\tclientId,\n\t\t\t\t\tdealerAreaCode,\n\t\t\t\t\tdealerCodeType,\n\t\t\t\t\teventHandlerName,\n\t\t\t\t\tformChangeTagging,\n\t\t\t\t\tformErrorTagging,\n\t\t\t\t\tgrouping,\n\t\t\t\t\tlocationCode,\n\t\t\t\t\tproject,\n\t\t\t\t\tproviderId,\n\t\t\t\t\tretailerId: retailerIdToUse,\n\t\t\t\t\tscriptLocation:\n\t\t\t\t\t\tgetEnv() === 'prod'\n\t\t\t\t\t\t\t? liveScriptLocationToUse\n\t\t\t\t\t\t\t: defaultScriptLocationToUse,\n\t\t\t\t\tscriptObjectName,\n\t\t\t\t\tstockStatusTagging,\n\t\t\t\t\twaitOnEventToStartHandling\n\t\t\t\t}\n\t\t\t},\n\t\t\tform: {\n\t\t\t\twsTaggingGrouping,\n\t\t\t\twsTaggingTrackingWidget: project\n\t\t\t},\n\t\t\tdecorators,\n\t\t\twaitOnEventToStartHandling,\n\t\t\tstartupCommands: startupCommands.map((startupCommand) => ({\n\t\t\t\tclassName: `DDC.tracking.${project}.commands.${startupCommand}`\n\t\t\t})),\n\t\t\twidgetId,\n\t\t\twidgetName: project,\n\t\t\tflags\n\t\t})\n\t);\n\n\tmain.execute();\n\n\treturn main;\n};\n\nasync function initProject(winToRename, flags, configuration) {\n\tconst win = winToRename;\n\tconst {\n\t\tbaseEventHandler,\n\t\tdecoratorNames = [],\n\t\teventHandlerName,\n\t\tproject,\n\t\tliveScriptLocation,\n\t\tdefaultScriptLocation,\n\t\tutilNames = [],\n\t\tstartupCommands = [],\n\t\tsupportSitePropertyScript = false\n\t} = configuration;\n\n\tlet liveScriptLocationToUse;\n\tlet defaultScriptLocationToUse;\n\n\tif (\n\t\tsupportSitePropertyScript &&\n\t\tbaseEventHandler === 'AdobeLaunchEventHandler'\n\t) {\n\t\t[liveScriptLocationToUse, defaultScriptLocationToUse] = adobeOptOut(\n\t\t\tliveScriptLocation,\n\t\t\tdefaultScriptLocation\n\t\t);\n\n\t\t// we do this for Adobe Launch since the prefs specify only this small part of URL\n\t\tif (!liveScriptLocationToUse.includes('https://assets.adobedtm.com')) {\n\t\t\tliveScriptLocationToUse = `https://assets.adobedtm.com/${liveScriptLocation}.min.js`;\n\t\t}\n\t\tif (\n\t\t\t!defaultScriptLocationToUse.includes('https://assets.adobedtm.com')\n\t\t) {\n\t\t\tdefaultScriptLocationToUse = `https://assets.adobedtm.com/${defaultScriptLocation}.js`;\n\t\t}\n\t}\n\n\tconst utilsToLoad = utilNames.map?.((utilsName) =>\n\t\timport(`./${project}/util/${utilsName}`)\n\t);\n\tconst loadedUtils = await Promise.all(utilsToLoad);\n\n\tconst commandsToLoad = startupCommands.map?.((startupCommand) =>\n\t\timport(`./${project}/commands/${startupCommand}`)\n\t);\n\tconst loadedCommands = await Promise.all(commandsToLoad);\n\n\tconst decoratorsToLoad = decoratorNames.map((decoratorName) =>\n\t\timport(`./${project}/decorators/${decoratorName}`)\n\t);\n\tconst loadedDecorators = await Promise.all(decoratorsToLoad);\n\tconst { default: runBaseEventHandler } = await import(\n\t\t`./${project}/handlers/${baseEventHandler}`\n\t);\n\tconst { default: runEventHandler } = await import(\n\t\t`./${project}/handlers/${eventHandlerName}`\n\t);\n\n\tloadedUtils.forEach((runLoadedUtil) => {\n\t\trunLoadedUtil.default(win);\n\t});\n\n\tloadedCommands.forEach((runLoadedCommand) => {\n\t\trunLoadedCommand.default(win);\n\t});\n\n\tloadedDecorators.forEach((runLoadedDecorator) => {\n\t\trunLoadedDecorator.default(win);\n\t});\n\n\tconst { fdRegion, paCode, fdafRegionCode } = configuration;\n\n\t// This basically checks if the loaded config is for Ford Direct and then adds extra configurations.\n\tif (fdRegion || paCode || fdafRegionCode) {\n\t\tnamespace(win, 'digitaldata.user');\n\t\tnamespace(\n\t\t\twin,\n\t\t\t'DDC.tracking.forddirect.store',\n\t\t\tundefined,\n\t\t\t(storeIn) => {\n\t\t\t\tconst store = storeIn;\n\t\t\t\tif (fdRegion) {\n\t\t\t\t\tstore.fdRegion = fdRegion;\n\t\t\t\t\twin.digitaldata.user.fordRegion = fdRegion;\n\t\t\t\t}\n\t\t\t\tif (paCode) {\n\t\t\t\t\tstore.dealerCode = paCode;\n\t\t\t\t\twin.digitaldata.user.paCode = paCode;\n\t\t\t\t}\n\t\t\t\tif (fdafRegionCode) {\n\t\t\t\t\tstore.fdafRegionCode = fdafRegionCode;\n\t\t\t\t\twin.digitaldata.user.fdafCode = fdafRegionCode;\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\trunBaseEventHandler(win);\n\trunEventHandler(win);\n\treturn runProject(win, flags, {\n\t\t...configuration,\n\t\tliveScriptLocation: liveScriptLocationToUse || liveScriptLocation,\n\t\tdefaultScriptLocation:\n\t\t\tdefaultScriptLocationToUse || defaultScriptLocation\n\t});\n}\n\nexport default initProject;\n","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],t):t((e=\"undefined\"!=typeof globalThis?globalThis:e||self).WsmTaggingUtils={})}(this,(function(e){\"use strict\";const t=e=>e.trim().replace(/ {2}|[\\t\\n\\r]/gm,\"\"),n=(e,t,o,r,i)=>{const s=[...e];return Object.entries(o).forEach((e=>{let[o,a]=e;const l=a,c=(e=>null==e||!e.trim())(t)?o:`${t}.${o}`;\"function\"==typeof l?(void 0===i||i(c,l))&&s.push(l):r&&n(s,c,l,r,i)})),s},o=Object.freeze({SPECIALS_EVENT:\"specialsEvent\",THIRD_PARTY_USER_EVENT:\"thirdPartyUserEvent\",TRACK_EVENT:\"trackEvent\",WIDGET_USER_EVENT:\"widgetUserEvent\"}),r=(e,t,n)=>{if(void 0===t)throw new Error(\"Invalid class name\");const o=t.split(\".\");if(\"\"===o[0])throw new Error(\"Invalid class name\");for(void 0===n&&(n=e);o.length>0;){if(void 0===(n=n[o.shift()]))break}if(void 0!==n&&\"function\"!=typeof n)throw new Error(`${t} is not a class definition`);return n};e.createElement=e=>{const n=document.createElement(\"template\");return n.innerHTML=t(e),n.content.firstChild},e.enumerate=(e,t,o,r)=>{let i,s;if(void 0===t)throw new Error(\"Invalid namespace\");const a=t.split(\".\");if(\"\"===a[0])throw new Error(\"Invalid namespace\");void 0===r&&(i=e);const l=(d=\"*\",-1!==(c=t).indexOf(d,c.length-d.length));var c,d;if(l){if(a.pop(),0===a.length&&i===e)throw new Error(\"Wildcard enumeration window scope not allowed\");s=a.join(\".\")}for(;a.length>0;){const e=a.shift();if(i=i[e],void 0===i)throw new Error(`Invalid namespace: ${e} not found in ${s}`)}return n([],s,i,l,o)},e.extend=(e,t)=>{e.prototype=Object.create(t.prototype),e.prototype.constructor=e},e.globalConstants=o,e.lookup=r,e.namespace=(e,t,n,o)=>{let r=n,i=o;if(void 0===t)throw new Error(\"Invalid namespace name\");void 0===r&&(r=e),void 0===o&&\"function\"==typeof r&&(i=r,r=e);const s=t.split(\".\");if(\"\"===s[0])return void 0!==i&&i.call(i,r),r;for(;s.length>0;){const e=s.shift();void 0===r[e]&&(r[e]={}),r=r[e]}return void 0!==i&&i.call(i,r),r},e.readyHTMLForParse=t,e.resolve=(e,t,n)=>{const o=r(e,t,n);if(void 0===o)throw new Error(`${t} not found`);return o},Object.defineProperty(e,\"__esModule\",{value:!0})}));\n//# sourceMappingURL=umd.js.map\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(() => {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = () => ([]);\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 2831;\nmodule.exports = webpackEmptyAsyncContext;","var map = {\n\t\"./forddirect/decorators/DealerConnectionDecorator\": [\n\t\t4999,\n\t\t4999\n\t],\n\t\"./forddirect/decorators/DealerConnectionDecorator.js\": [\n\t\t4999,\n\t\t4999\n\t],\n\t\"./forddirect/decorators/LinkTypeDecorator\": [\n\t\t6974,\n\t\t6974\n\t],\n\t\"./forddirect/decorators/LinkTypeDecorator.js\": [\n\t\t6974,\n\t\t6974\n\t],\n\t\"./forddirect/decorators/OsirisEventAdapterDecorator\": [\n\t\t6374,\n\t\t6374\n\t],\n\t\"./forddirect/decorators/OsirisEventAdapterDecorator.js\": [\n\t\t6374,\n\t\t6374\n\t],\n\t\"./shift/decorators/GlobalDecorator\": [\n\t\t37,\n\t\t37\n\t],\n\t\"./shift/decorators/GlobalDecorator.js\": [\n\t\t37,\n\t\t37\n\t],\n\t\"./shift/decorators/LinkLocationDecorator\": [\n\t\t977,\n\t\t977\n\t],\n\t\"./shift/decorators/LinkLocationDecorator.js\": [\n\t\t977,\n\t\t977\n\t],\n\t\"./shift/decorators/LinkTypeDecorator\": [\n\t\t4586,\n\t\t4586\n\t],\n\t\"./shift/decorators/LinkTypeDecorator.js\": [\n\t\t4586,\n\t\t4586\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 8563;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./forddirect/handlers/DealerConnectionAbstractEventHandler\": [\n\t\t7011,\n\t\t7011\n\t],\n\t\"./forddirect/handlers/DealerConnectionAbstractEventHandler.js\": [\n\t\t7011,\n\t\t7011\n\t],\n\t\"./forddirect/handlers/FDDTMEventHandler\": [\n\t\t6535,\n\t\t6535\n\t],\n\t\"./forddirect/handlers/FDDTMEventHandler.js\": [\n\t\t6535,\n\t\t6535\n\t],\n\t\"./forddirect/handlers/FPSEventHandler\": [\n\t\t3441,\n\t\t3441\n\t],\n\t\"./forddirect/handlers/FPSEventHandler.js\": [\n\t\t3441,\n\t\t3441\n\t],\n\t\"./shift/handlers/AbstractEventHandler\": [\n\t\t3450,\n\t\t3450\n\t],\n\t\"./shift/handlers/AbstractEventHandler.js\": [\n\t\t3450,\n\t\t3450\n\t],\n\t\"./shift/handlers/ShiftEventHandler\": [\n\t\t1538,\n\t\t1538\n\t],\n\t\"./shift/handlers/ShiftEventHandler.js\": [\n\t\t1538,\n\t\t1538\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 3109;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./forddirect/util/DataMapper\": [\n\t\t7602,\n\t\t7602\n\t],\n\t\"./forddirect/util/DataMapper.js\": [\n\t\t7602,\n\t\t7602\n\t],\n\t\"./forddirect/util/mapUtils\": [\n\t\t3516,\n\t\t3516\n\t],\n\t\"./forddirect/util/mapUtils.js\": [\n\t\t3516,\n\t\t3516\n\t],\n\t\"./forddirect/util/vinrealSelector\": [\n\t\t3975,\n\t\t3975\n\t],\n\t\"./forddirect/util/vinrealSelector.js\": [\n\t\t3975,\n\t\t3975\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 3081;\nmodule.exports = webpackAsyncContext;"],"names":["liveScriptLocation","defaultScriptLocation","window","DDC","siteProperties","adobeTagManagerUrl","adobeTagManagerUrlStaging","async","winToRename","flags","configuration","win","baseEventHandler","decoratorNames","eventHandlerName","project","utilNames","startupCommands","supportSitePropertyScript","liveScriptLocationToUse","defaultScriptLocationToUse","adobeOptOut","includes","utilsToLoad","map","utilsName","loadedUtils","Promise","all","commandsToLoad","startupCommand","loadedCommands","decoratorsToLoad","decoratorName","loadedDecorators","default","runBaseEventHandler","runEventHandler","forEach","runLoadedUtil","runLoadedCommand","runLoadedDecorator","fdRegion","paCode","fdafRegionCode","namespace","undefined","storeIn","store","digitaldata","user","fordRegion","dealerCode","fdafCode","mutateableConfiguration","JSON","parse","stringify","formatSlugs","input","additionalConfiguration","clientId","dealerAreaCode","dealerCodeType","formChangeTagging","formErrorTagging","grouping","locationCode","providerId","retailerId","scriptObjectName","stockStatusTagging","waitOnEventToStartHandling","widgetId","wsTaggingGrouping","className","decorators","WidgetData","retailerIdToUse","addNewRelicPageAction","main","tracking","framework","config","Main","RuntimeBuilder","eventHandler","properties","scriptLocation","getEnv","form","wsTaggingTrackingWidget","widgetName","execute","runProject","e","t","trim","replace","n","o","r","i","s","Object","entries","a","l","c","push","freeze","SPECIALS_EVENT","THIRD_PARTY_USER_EVENT","TRACK_EVENT","WIDGET_USER_EVENT","Error","split","length","shift","createElement","document","innerHTML","content","firstChild","enumerate","d","indexOf","pop","join","extend","prototype","create","constructor","globalConstants","lookup","call","readyHTMLForParse","resolve","defineProperty","value","exports","webpackEmptyAsyncContext","req","then","code","keys","id","module","webpackAsyncContext","__webpack_require__","ids"],"sourceRoot":""}