{"version":3,"file":"style-me.js","sources":["../../../resources/javascript/entrypoint/style-me.js"],"sourcesContent":["import { onDOMContentLoaded } from '../util/loaded';\nimport { setupQuickadd } from '../features/tracking/list';\n\nonDOMContentLoaded(async () => {\n  await window.MV.loadAssetGroup('quickAdd');\n\n  const quickAdds = document.querySelectorAll('.get-the-look.style-me .js-quick-atb');\n\n  quickAdds.forEach((element, index) => {\n    element.addEventListener('click', (event) => {\n      const overrides = {position: index + 1};\n      setupQuickadd(event, 'style-me', overrides);\n      window.MV.quickaddClick(event);\n    });\n  });\n});\n"],"names":["onDOMContentLoaded","async","window","MV","loadAssetGroup","document","querySelectorAll","forEach","element","index","addEventListener","event","setupQuickadd","position","quickaddClick"],"mappings":"6FAGAA,GAAmBC,gBACXC,OAAOC,GAAGC,eAAe,YAEbC,SAASC,iBAAiB,wCAElCC,SAAQ,CAACC,EAASC,KAC1BD,EAAQE,iBAAiB,SAAUC,IAEjCC,EAAcD,EAAO,WADH,CAACE,SAAUJ,EAAQ,IAErCP,OAAOC,GAAGW,cAAcH,EAAM,GAC9B,GACF"}