{"version":3,"file":"1523.9d5440844816839d6c27.bundle.js","mappings":"kqCAAA,C,+iCAAA,EAAe,c,IACPA,EAGoC,EAAvBC,E,yDAHbD,EAAgBE,SAASC,iBAAiB,8BAE9BC,OACwB,C,EAAM,0DAD5CJ,C,YACsC,WAAvBC,EAAuB,EAAhCI,QAIRL,EAAcM,SAAQ,SAACC,GACrB,IAAMC,EAAWD,EAAaE,cAAc,gBAE5C,GAAKD,GAAcA,aAAoBE,YAAvC,CAEA,IAAM,EAAiBF,EAASG,QAAxBC,WAER,IAAIX,E,sUAAmB,EACrBY,SAAUL,EACVM,WAAY,KACRF,GAAc,CAAEA,WAAAA,IAPqC,CAS7D,I,8BAEJ,G","sources":["webpack://webstaurantstore/./common/initCategoryCarousels.ts"],"sourcesContent":["export default async () => {\n const carouselWraps = document.querySelectorAll(\"[data-component=carousel]\");\n\n if (carouselWraps.length) {\n const { default: FixedWidthCarousel } = await import(\n \"./FixedWidthCarousel\"\n );\n\n carouselWraps.forEach((carouselWrap) => {\n const carousel = carouselWrap.querySelector(\".ag-carousel\");\n\n if (!carousel || !(carousel instanceof HTMLElement)) return;\n\n const { slideWidth } = carousel.dataset;\n\n new FixedWidthCarousel({\n selector: carousel,\n sigmoidMax: 120,\n ...(slideWidth && { slideWidth }),\n });\n });\n }\n};\n"],"names":["carouselWraps","FixedWidthCarousel","document","querySelectorAll","length","default","forEach","carouselWrap","carousel","querySelector","HTMLElement","dataset","slideWidth","selector","sigmoidMax"],"sourceRoot":""}