{"version":3,"file":"9289.26ddbbfb241ccbb1acdb.js","mappings":"kHACe,SAASA,IAAkC,IAAdC,EAAOC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,CAAC,EACtD,IACC,MAAM,MAACG,GAASJ,EACVK,EAAUD,EAAMC,QAClBA,EAAQC,wBACX,+BACEC,MAAMC,IACkB,IAAIA,EAAOC,QAAQL,EAAM,IAEjDM,OAAOC,IACPC,QAAQD,MACP,yCACAA,EACA,IAGAN,EAAQQ,oBACX,+BAEEN,MAAMC,IACPA,EAAOC,QAAQL,EAAM,IAGnBC,EAAQS,uBACX,wDAEEP,MAAMC,IACPA,EAAOC,QAAQL,EAAM,IAGnBC,EAAQU,wBACX,wDAEER,MAAMC,IACPA,EAAOC,QAAQL,EAAM,IAGnBC,EAAQW,wBACX,+BAEET,MAAMC,IACPA,EAAOC,QAAQL,EAAM,GAGxB,CAAE,MAAOO,GACRC,QAAQD,MAAMA,EACf,CACD,C","sources":["webpack://global-theme/./assets/js/blocks/standard-content-v2.js"],"sourcesContent":["// LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.\nexport default function standardcontentV2Js(options = {}) {\n\ttry {\n\t\tconst {block} = options;\n\t\tconst dataset = block.dataset;\n\t\tif (dataset.enablevideoncontroller) {\n\t\t\timport('@pernod-ricard-global-cms/cblvideocontroller')\n\t\t\t\t.then((module) => {\n\t\t\t\t\tconst videoController = new module.default(block);\n\t\t\t\t})\n\t\t\t\t.catch((error) => {\n\t\t\t\t\tconsole.error(\n\t\t\t\t\t\t'Failed to load video controller module',\n\t\t\t\t\t\terror\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t}\n\t\tif (dataset.enablebuynowbutton) {\n\t\t\timport(\n\t\t\t\t'Assets/js/modules/library-modules/buy-now-button/buy-now-button.js'\n\t\t\t).then((module) => {\n\t\t\t\tmodule.default(block);\n\t\t\t});\n\t\t}\n\t\tif (dataset.enablescrollingbanner) {\n\t\t\timport(\n\t\t\t\t'Assets/js/modules/library-modules/scrolling-banner/scrolling-banner.js'\n\t\t\t).then((module) => {\n\t\t\t\tmodule.default(block);\n\t\t\t});\n\t\t}\n\t\tif (dataset.enablelottieanimations) {\n\t\t\timport(\n\t\t\t\t'Assets/js/modules/library-modules/lottie-animations/lottie-animations.js'\n\t\t\t).then((module) => {\n\t\t\t\tmodule.default(block);\n\t\t\t});\n\t\t}\n\t\tif (dataset.enablecontentcontainer) {\n\t\t\timport(\n\t\t\t\t'Assets/js/modules/library-modules/content-container/content-container.js'\n\t\t\t).then((module) => {\n\t\t\t\tmodule.default(block);\n\t\t\t});\n\t\t}\n\t} catch (error) {\n\t\tconsole.error(error);\n\t}\n}\n"],"names":["standardcontentV2Js","options","arguments","length","undefined","block","dataset","enablevideoncontroller","then","module","default","catch","error","console","enablebuynowbutton","enablescrollingbanner","enablelottieanimations","enablecontentcontainer"],"sourceRoot":""}