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urantstore/./__alias__/store/index.ts","webpack://webstaurantstore/./common/Inputs/newSelect.tsx","webpack://webstaurantstore/./common/Notification/NotificationCenter.tsx","webpack://webstaurantstore/./common/PromotedTag/PromotedTag.tsx","webpack://webstaurantstore/./common/contexts/FeatureFlagProvider/index.tsx","webpack://webstaurantstore/./productListing/FilterModalContextProvider.tsx","webpack://webstaurantstore/./productListing/Helpers/UrlHelpers.ts","webpack://webstaurantstore/./productListing/OutletPage/OutletPoliciesButton.tsx","webpack://webstaurantstore/./productListing/Pagination/PaginationComponent.tsx","webpack://webstaurantstore/./productListing/Pagination/navigateToPageNumberHref.ts","webpack://webstaurantstore/./productListing/ProductBox/PromotedProductAd/ProductAd/index.tsx","webpack://webstaurantstore/./productListing/ProductBox/PromotedProductAd/index.tsx","webpack://webstaurantstore/./productListing/ProductBoxes.tsx","webpack://webstaurantstore/./productListing/ProductListingVideo/index.tsx","webpack://webstaurantstore/./productListing/QuickFilter/Container.tsx","webpack://webstaurantstore/./productListing/QuickFilter/FilterChip.tsx","webpack://webstaurantstore/./productListing/QuickFilter/getSelectedFiltersByOrder.ts","webpack://webstaurantstore/./productListing/QuickFilter/hasMoreThanOneSelectedFilters.ts","webpack://webstaurantstore/./productListing/QuickFilter/index.tsx","webpack://webstaurantstore/./productListing/Sidebar/FilterUrlHelpers.ts","webpack://webstaurantstore/./productListing/Toolbar/Chrome.tsx","webpack://webstaurantstore/./productListing/Toolbar/SortByDropdown.tsx","webpack://webstaurantstore/./productListing/Toolbar/SortByHelpers.ts","webpack://webstaurantstore/./productListing/Toolbar/ToggleView.tsx","webpack://webstaurantstore/./productListing/Toolbar/components/CompareProductsToggle/index.tsx","webpack://webstaurantstore/./productListing/Toolbar/useProductListingView.tsx","webpack://webstaurantstore/./productListing/Toppers/GuidedMultiSelectTopper/index.tsx","webpack://webstaurantstore/./productListing/Toppers/TopperCarousel.tsx","webpack://webstaurantstore/./productListing/Toppers/TopperItem.tsx","webpack://webstaurantstore/./productListing/Toppers/Toppers.tsx","webpack://webstaurantstore/./productListing/addAdsToSessionStorage.ts","webpack://webstaurantstore/./productListing/components/CompareProducts/components/EmptyItem/index.tsx","webpack://webstaurantstore/./productListing/components/CompareProducts/constants.ts","webpack://webstaurantstore/./productListing/components/CompareProducts/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/components/Description/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/components/Image/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/components/Link/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/components/ListItem/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/components/Name/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/variants/ImageAndTitle/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/variants/ImageAndTooltip/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Item/variants/ImageTitleAndDescription/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Section/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Title/components/Header/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/components/Title/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/index.ts","webpack://webstaurantstore/./productListing/components/Topper/variants/MultiSelect/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/variants/Standard/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/variants/Standard/variants/Multi/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/variants/Standard/variants/Single/index.tsx","webpack://webstaurantstore/./productListing/components/Topper/variants/utility.ts","webpack://webstaurantstore/./productListing/trackBrandAdService.ts"],"sourcesContent":["import { cls } from \"cls\";\nimport React from \"react\";\n\ninterface ItemProps {\n children: React.ReactNode;\n listItemProps?: React.DetailedHTMLProps<\n React.HTMLAttributes,\n HTMLLIElement\n >;\n isOverflowing?: boolean;\n itemWidth?: string;\n}\n\nconst Item = ({\n children,\n listItemProps,\n itemWidth,\n isOverflowing,\n}: ItemProps) => {\n return (\n \n {children}\n \n );\n};\n\nexport default Item;\n","import { useCallback, useMemo, useRef } from \"react\";\nimport { createStore, useStore, StateCreator, StoreApi } from \"zustand\";\n\nexport type SelectorFn = (state: State) => Selected;\nexport type Store = StoreApi & {\n useState: (\n selector?: SelectorFn\n ) => Selected;\n};\n\n/**\n * Create a store outside of a component scope. See the documentation below for usage, examples, and API reference.\n * @see {@link [Documentation](./README.md)}\n */\nexport function createGlobalStore(\n // eslint-disable-next-line\n initialProps: StateCreator\n): Store {\n const store = createStore(initialProps);\n function useState(\n selector?: (state: State) => Selected\n ): Selected {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n return useStore(store, selector);\n }\n\n return { ...store, useState };\n}\n\n/**\n * Create a store within a component scope. See the documentation below for usage, examples, and API reference.\n * @see {@link [Documentation](./README.md)}\n */\nexport function useComponentStore(\n // eslint-disable-next-line\n initialProps: StateCreator\n): Store {\n const store = useRef(createStore(initialProps));\n\n const useState = useCallback(\n function handleUseState(\n selector?: (state: State) => Selected\n ): Selected {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useStore(store.current, selector);\n },\n // EsLint thinks the TS generic is a dependency when it is not\n // eslint-disable-next-line\n []);\n\n return useMemo(() => ({ ...store.current, useState }), [useState]);\n}\n","import React from \"react\";\nimport ct from \"class-types.macro\";\n\ntype SelectProps = React.DetailedHTMLProps<\n React.SelectHTMLAttributes,\n HTMLSelectElement\n>;\n\nconst newSelect = (props: SelectProps) => {\n const { children } = props;\n\n return (\n \n {children}\n \n );\n};\n\nexport default newSelect;\n","import React from \"react\";\n\nconst NotificationCenter = () => {\n return (\n <>\n
\n
\n \n );\n};\n\nexport default NotificationCenter;\n","import React from \"react\";\n\nconst PromotedTag = () => (\n <>\n \n \n \n \n Promoted\n \n \n);\n\nexport default PromotedTag;\n","import React from \"react\";\nimport { createContext } from \"@wss/react\";\n\ntype FeatureFlagState = {\n featureFlags: Record;\n evaluateFlag: (key: string) => boolean;\n};\n\nconst [FeatureFlagContext, useContext] = createContext();\n\nexport const useFeatureFlag = () => useContext();\n\ninterface FeatureFlagProviderProps {\n featureFlags?: Record;\n children: React.ReactNode;\n}\n\nconst FeatureFlagProvider = ({\n featureFlags = {},\n children,\n}: FeatureFlagProviderProps) => {\n const value: FeatureFlagState = {\n featureFlags,\n evaluateFlag: (key: string) => featureFlags[key] ?? false,\n };\n\n return (\n \n {children}\n \n );\n};\n\nexport default FeatureFlagProvider;\n","import React, {\n MutableRefObject,\n PropsWithChildren,\n createContext,\n useMemo,\n} from \"react\";\nimport { Store } from \"@wss/store\";\nimport { CompareProductsState } from \"./compareProductStore\";\n\ninterface Props {\n compareProductsStore: Store;\n storedFilterUrl: MutableRefObject<{ url: string; confirmed: boolean }>;\n}\n\ninterface FilterModalContextType {\n compareProductsActive: boolean;\n storedFilterUrl: MutableRefObject<{ url: string; confirmed: boolean }>;\n}\n\nexport const FilterModalContext = createContext({\n compareProductsActive: false,\n storedFilterUrl: { current: { url: \"\", confirmed: false } },\n});\n\nconst FilterModalContextProvider = ({\n compareProductsStore,\n storedFilterUrl,\n children,\n}: PropsWithChildren) => {\n const compareProductsActive = compareProductsStore.useState(\n (state) => state.active\n );\n const contextValue = useMemo(\n () => ({\n compareProductsActive,\n storedFilterUrl,\n }),\n [compareProductsActive, storedFilterUrl]\n );\n\n return (\n \n {children}\n \n );\n};\n\nexport default FilterModalContextProvider;\n","export const getSearchQueryFromUrl = (pageUrl: string) => {\n const urlTokens = pageUrl.split(\"?\");\n const urlSearch = urlTokens.length > 1 ? urlTokens[1] : \"\";\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return urlSearch!;\n};\n\nexport const getUrlWithoutSearchQuery = (pageUrl: string) => {\n const urlTokens = pageUrl.split(\"?\");\n return urlTokens[0];\n};\n","import React from \"react\";\nimport { cls } from \"@wss/cls\";\n\nconst OutletPoliciesButton = () => {\n return (\n
\n \n Outlet Policies\n \n
\n );\n};\nexport default OutletPoliciesButton;\n","import React from \"react\";\nimport PaginationModel from \"../../common/Store/models/Pagination\";\nimport Pagination from \"~/common/Pagination\";\nimport navigateToPageNumberHref from \"./navigateToPageNumberHref\";\n\ninterface Props {\n paging: PaginationModel;\n currentUrl: string;\n}\n\nconst PaginationComponent = ({ paging, currentUrl }: Props) => {\n return (\n navigateToPageNumberHref(currentUrl, page)}\n />\n );\n};\n\nexport default PaginationComponent;\n","const navigateToPageNumberHref = (\n currentUrl: string,\n pageNumber: number\n): string => {\n if (Number.isNaN(pageNumber) || pageNumber < 1) {\n return \"\";\n }\n\n const formerUrl = currentUrl && currentUrl.length ? currentUrl : \"\";\n const searchIndex = currentUrl.indexOf(\"?\");\n const urlPath =\n searchIndex >= 0 ? currentUrl.substring(0, searchIndex) : currentUrl;\n const nonPagingSearchParts =\n searchIndex >= 0\n ? currentUrl\n .substring(searchIndex)\n .replace(\"?\", \"\")\n .split(\"&\")\n .filter((part) => part.length > 0 && !part.startsWith(\"page=\"))\n : [];\n const newSearchParts =\n pageNumber > 1\n ? nonPagingSearchParts.concat([`page=${pageNumber}`])\n : nonPagingSearchParts;\n const newSearch = newSearchParts.length ? `?${newSearchParts.join(\"&\")}` : \"\";\n const newUrl = `${urlPath}${newSearch}`;\n\n return newUrl.toLowerCase() !== formerUrl.toLowerCase() ? newUrl : \"\";\n};\n\nexport default navigateToPageNumberHref;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport { PlusLink } from \"@clarkinc/zest-design-system\";\nimport { cls } from \"@wss/cls\";\nimport { User } from \"~/common/Store/models/User\";\nimport {\n SelectedProduct,\n PromotedProductBrandAd,\n} from \"~/common/Store/models/ProductListing\";\nimport Pricing from \"../../Pricing\";\nimport Stars from \"~/common/Stars\";\nimport spritePath from \"~/common/Icon/critical-symbol.svg\";\nimport Button from \"~/common/Buttons\";\nimport trackBrandAdService, {\n Request,\n} from \"~/productListing/trackBrandAdService\";\nimport { addPromotedProductAdToSessionStorage } from \"~/productListing/addAdsToSessionStorage\";\nimport ProductListingVideo from \"~/productListing/ProductListingVideo\";\nimport PromotedTag from \"~/common/PromotedTag/PromotedTag\";\n\ninterface Props {\n brandAd: PromotedProductBrandAd;\n user: User;\n mounted: boolean;\n selectedProduct: SelectedProduct;\n}\n\nconst ProductAd = ({ brandAd, user, mounted, selectedProduct }: Props) => {\n const { product } = brandAd;\n const [intersectionObserved, setIntersectionObserved] = useState(false);\n\n const observerRef = useRef(null);\n const adRef = useRef(null);\n const requestRef = useRef({\n adId: -1,\n userId: null,\n sessionId: undefined,\n promotedBrandAdType: -1,\n url: undefined,\n });\n const showPlusLink =\n product.isWebstaurantPlusEligible &&\n !product.isRequestAQuoteEnabled &&\n !product.price.minimumAdvertisedPriceOverride.priceLevel5;\n\n useEffect(() => {\n return () => {\n if (observerRef.current !== null) {\n observerRef.current.disconnect();\n }\n };\n }, []);\n\n useEffect(() => {\n requestRef.current.sessionId = user.cfid;\n requestRef.current.userId = Number(user.index) || null;\n requestRef.current.adId = brandAd.adId;\n requestRef.current.promotedBrandAdType = brandAd.promotedBrandAdType;\n requestRef.current.url = brandAd.product.link;\n\n if (adRef.current !== null && observerRef.current === null) {\n const observerCallback = (\n observations: IntersectionObserverEntry[],\n observer: IntersectionObserver\n ) => {\n const observation = observations[0];\n if (\n observation !== undefined &&\n observation.isIntersecting &&\n observation.intersectionRatio >= 0.8\n ) {\n trackBrandAdService(\"impression\", requestRef.current);\n setIntersectionObserved(true);\n observer.disconnect();\n }\n };\n\n const observerOptions: IntersectionObserverInit = {\n root: null,\n rootMargin: \"0px\",\n threshold: 0.8,\n };\n\n observerRef.current = new IntersectionObserver(\n observerCallback,\n observerOptions\n );\n\n observerRef.current.observe(adRef.current);\n }\n }, [\n brandAd.adId,\n brandAd.promotedBrandAdType,\n user.index,\n user.cfid,\n brandAd.product.link,\n ]);\n\n const onAdClick = async (e: React.MouseEvent) => {\n e.preventDefault();\n await trackBrandAdService(\"click\", requestRef.current);\n addPromotedProductAdToSessionStorage(\n brandAd.promotedBrandAdType === 0\n ? \"CategoryListingPromotedProduct\"\n : \"SearchListingPromotedProduct\",\n brandAd.adId,\n brandAd.product.itemNumber\n );\n\n window.location.href = brandAd.product.link || \"\";\n };\n\n const productAdWrapperClassNames = cls(\n \"bg-white\",\n \"border\",\n \"border-gray-200\",\n \"border-l-0\",\n \"border-solid\",\n \"border-t-0\",\n \"box-border\",\n \"col-span-full\",\n \"relative\",\n \"row-start-2\"\n );\n\n const promoAdContentClassNames = cls(\n \"flex\",\n \"items-center\",\n \"justify-between\",\n \"w-full\",\n \"lt:gap-6\"\n );\n\n const promoAdContainerClassNames = cls(\n \"flex\",\n \"flex-col-reverse\",\n \"gap-y-4\",\n \"items-center\",\n \"justify-center\",\n \"px-6\",\n \"py-8\",\n \"md:flex-row\",\n \"md:gap-x-4\",\n \"md:px-6\",\n \"md:py-12\"\n );\n\n const promoAdContentColumnClassNames = \"grow basis-0 w-full min-w-0 max-w-md\";\n\n return (\n
\n \n \n \n

\n \n {brandAd.showVideoIfAvailable && (\n \n )}\n \n \n {!!product.brandLogo && !!product.brandLink && (\n \n \n \n )}\n \n \n {product.description}\n \n

\n
\n {(showPlusLink || product.overallRating > 3) && (\n 3\n ? \"-mb-1\"\n : \"\"\n }`}\n >\n
\n {showPlusLink && (\n \n )}\n {product.overallRating > 3 && (\n \n )}\n
\n
\n )}\n \n {`#${product.itemNumber.toUpperCase()}`}\n

\n
\n \n \n
\n \n Shop Product\n \n \n \n \n\n \n {brandAd.showVideoIfAvailable && !!brandAd.video && (\n \n )}\n {!brandAd.showVideoIfAvailable &&\n !!product.primaryImagePath &&\n !brandAd.imageUrlOverride && (\n \n )}\n {!brandAd.showVideoIfAvailable && brandAd.imageUrlOverride && (\n \n )}\n \n \n \n );\n};\n\nexport default ProductAd;\n","import React from \"react\";\nimport { User } from \"~/common/Store/models/User\";\nimport {\n SelectedProduct,\n PromotedProductBrandAd,\n} from \"~/common/Store/models/ProductListing\";\nimport ProductAd from \"./ProductAd\";\n\ninterface Props {\n productListingView: \"list\" | \"grid\";\n brandAd: PromotedProductBrandAd;\n user: User;\n mounted: boolean;\n fillPartialRowForGridView?: boolean;\n}\n\nconst PromotedProductAd = ({\n user,\n brandAd,\n productListingView,\n mounted,\n fillPartialRowForGridView = false,\n}: Props) => {\n const { product } = brandAd;\n\n // Promoted Product Ads only display sale price, p1, and lowest qty discount\n const selectedProduct: SelectedProduct = {\n ...product,\n activeSale: product.price.displaySalePrice,\n isOutlet: product.outletAttributes && product.outletAttributes.isOutlet,\n price: {\n ...product.price,\n minimumAdvertisedPriceProperties: {\n // Override MAP\n price: 0,\n type: \"\",\n },\n },\n };\n\n if (!product.isInStock) {\n return <>;\n }\n\n return (\n <>\n {fillPartialRowForGridView && productListingView === \"grid\" && (\n \n )}\n \n \n );\n};\n\nexport default PromotedProductAd;\n","/* eslint-disable no-nested-ternary */\nimport { logException } from \"@wss/error-tracking\";\nimport { Throwable } from \"@wss/error-tracking/throwable\";\nimport { toError } from \"@wss/error-tracking/utils\";\nimport ct from \"class-types.macro\";\nimport { cls } from \"cls\";\nimport React, { Suspense, useCallback, useEffect, useState } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { connect } from \"react-redux\";\nimport { Store } from \"@wss/store\";\nimport {\n Button,\n Modal,\n ModalBody,\n ModalFooter,\n ModalHeader,\n} from \"@clarkinc/zest-design-system/ui\";\nimport NotificationCenter from \"~/common/Notification/NotificationCenter\";\nimport {\n CompatibleModel,\n MultiSelectTopper,\n} from \"~/common/Store/models/Category\";\nimport PaginationModel from \"~/common/Store/models/Pagination\";\nimport {\n GroupMember,\n Product,\n PromotedProductBrandAd,\n} from \"~/common/Store/models/ProductListing\";\nimport { RootState } from \"~/common/Store/models/RootReadonly\";\nimport { Topper, TopperAction } from \"~/common/Store/models/Topper\";\nimport { PreviouslyPurchasedItems, User } from \"~/common/Store/models/User\";\nimport { defaultLoginModalObject } from \"~/common/Store/rootReducer\";\nimport CompareProducts from \"./components/CompareProducts\";\nimport PaginationComponent from \"./Pagination/PaginationComponent\";\nimport PromotedProductAd from \"./ProductBox/PromotedProductAd\";\nimport ProductBox from \"./ProductBox/index\";\nimport { PurchasingGroupProps } from \"./PurchasingGroupPage/purchasingGroupPageResult\";\nimport QuickFilterContainer from \"./QuickFilter/Container\";\nimport { FacetNavigation } from \"./Sidebar/Filters\";\nimport useProductListingView, {\n ViewSetting,\n} from \"./Toolbar/useProductListingView\";\nimport GuidedMultiSelectTopper from \"./Toppers/GuidedMultiSelectTopper\";\nimport TopperV2 from \"./components/Topper\";\nimport { TopperSection } from \"./components/Topper/types\";\nimport { useFeatureFlag } from \"~/common/contexts/FeatureFlagProvider\";\nimport Toppers from \"./Toppers/Toppers\";\nimport { CompareProductsState } from \"./compareProductStore\";\n\nconst LoginModalWrapper = React.lazy(() => import(\"./LoginModalWrapper\"));\n\nimport(\n /* webpackChunkName: \"modals-standalone\" */ \"~/bootstrap/less/modals-standalone.less\"\n);\n\ninterface Props {\n items: Product[];\n filtersSelected: boolean;\n pagination: PaginationModel | undefined;\n topper?: Topper;\n pageUrl?: string;\n displayTopper?: boolean;\n viewTopper?: string;\n setTopperView?: React.Dispatch;\n hasCustomizableProductsOverride?: boolean;\n productListingView?: ViewSetting;\n compareProductsStore?: Store;\n purchasingGroupProps?: PurchasingGroupProps;\n belowListingComponent?: JSX.Element;\n user: User;\n mounted: boolean;\n discountCode?: string;\n showSaleStockNotice?: boolean;\n shouldPreselectVirtualGrouping?: boolean;\n facetsWithMultipleSelections?: string[];\n promotedProductBrandAd?: PromotedProductBrandAd;\n facetNavigation: FacetNavigation;\n ignoreCategoryFacets?: boolean;\n compatibleModels?: CompatibleModel[];\n multiSelectTopper?: MultiSelectTopper;\n setIsFilterRemoved?: (isCleared: boolean) => void;\n}\n\ntype ShoppingCartItem = {\n outletItemId: number;\n isOutletItem: number;\n itemNumber: string;\n};\n\ninterface AutoReorderItemsRequest {\n itemNumbers: string[];\n}\n\nexport async function getPreviouslyPurchasedItems(): Promise<\n Throwable\n> {\n const endpoint = \"/api/productdetails/getproductpurchasingactivity\";\n try {\n const url = new URL(endpoint, window.location.origin);\n const result = await fetch(url.href);\n if (!result.ok) {\n throw new Error(\n result.statusText ||\n \"There was an unknown error with the call to /api/productdetails/getproductpurchasingactivity\"\n );\n }\n const previouslyPurchasedData: PreviouslyPurchasedItems = await result.json();\n return { isError: false, value: previouslyPurchasedData };\n } catch (error) {\n return { isError: true, error: toError(error) };\n }\n}\n\nconst ProductBoxes = ({\n items,\n filtersSelected,\n topper,\n displayTopper = false,\n pageUrl = \"\",\n setTopperView,\n pagination,\n viewTopper,\n hasCustomizableProductsOverride = false,\n productListingView,\n compareProductsStore,\n purchasingGroupProps,\n belowListingComponent,\n user,\n mounted,\n discountCode,\n showSaleStockNotice = false,\n shouldPreselectVirtualGrouping = false,\n promotedProductBrandAd,\n facetsWithMultipleSelections,\n facetNavigation,\n ignoreCategoryFacets = false,\n compatibleModels,\n multiSelectTopper,\n setIsFilterRemoved,\n}: Props) => {\n const { evaluateFlag } = useFeatureFlag();\n const {\n active: compareProductsActive,\n items: compareItems,\n } = compareProductsStore?.useState((state) => state) || {\n active: false,\n items: [],\n };\n const removeComparisonItem = (itemNumber: string) =>\n compareProductsStore?.setState({\n items: compareItems.filter((item) => item.itemNumber !== itemNumber),\n });\n const clearComparisonItems = () =>\n compareProductsStore?.setState({ items: [] });\n\n const [currentUrl, setCurrentUrl] = useState(pageUrl);\n const [activeProductListingView] = useProductListingView(\n productListingView || \"grid\"\n );\n\n const { totalPages = 1, currentPage = 1 } = pagination || {};\n const [itemsOnAutoReorder, setItemsOnAutoReorder] = useState([]);\n const [cartItems, setCartItems] = useState([]);\n const [\n previouslyPurchasedItems,\n setPreviouslyPurchasedItems,\n ] = useState({});\n const [\n previouslyPurchasedItemsKeys,\n setPreviouslyPurchasedItemsKeys,\n ] = useState([]);\n\n const [\n isQuantityDiscountPopoverOpen,\n setIsQuantityDiscountPopoverOpen,\n ] = useState(\"\");\n\n const [isCompareErrorModalOpen, setIsCompareErrorModalOpen] = useState(false);\n\n useEffect(() => {\n setCurrentUrl(window.location.pathname + window.location.search);\n\n const populateItemsOnReorder = async () => {\n const endpointUrl = \"/api/myaccount/autoreorderitems\";\n const request: AutoReorderItemsRequest = {\n itemNumbers: [],\n };\n\n items.forEach((product) =>\n !product.grouping\n ? request.itemNumbers.push(product.itemNumber.toUpperCase())\n : product.groupingAttributes.groupMembers.forEach((groupMember) =>\n request.itemNumbers.push(groupMember.itemNumber.toUpperCase())\n )\n );\n\n try {\n const response = await fetch(endpointUrl, {\n method: \"POST\",\n headers: {\n \"Content-type\": \"application/json\",\n },\n body: JSON.stringify(request),\n });\n if (!response.ok) {\n throw new Error(\n `Failed to fetch auto reorder items, status ${response.status}`\n );\n }\n\n const result = await response.json();\n\n setItemsOnAutoReorder(result.map((i: string) => i.toLowerCase()));\n } catch {\n // Do nothing\n }\n };\n\n if (user.registered) {\n populateItemsOnReorder();\n }\n }, [items, user.registered]);\n\n useEffect(() => {\n const shouldGetShoppingCartItems = items.some(\n (x) => x.outletAttributes?.isOutlet\n );\n\n if (shouldGetShoppingCartItems) {\n (async function getShoppingCartItems() {\n const endpointUrl = \"/api/shoppingcart/items\";\n\n try {\n const response = await fetch(`${endpointUrl}`);\n\n if (!response.ok) {\n throw new Error(\n `Failed to fetch shopping cart items, status ${response.status}`\n );\n }\n\n const result = await response.json();\n\n const camelcaseKeysImport = import(\"camelcase-keys\");\n const { default: camelcaseKeys } = await camelcaseKeysImport;\n const cartItems = camelcaseKeys(result);\n setCartItems(cartItems);\n } catch {\n // Do nothing\n }\n })();\n }\n }, [items]);\n\n const isOutletItemAlreadyInCart = (product: Product) =>\n product.outletAttributes?.isOutlet &&\n cartItems.some(\n (x) => x.outletItemId === product.outletAttributes.outletProductId\n );\n\n // Calculate desired row by looking at number of columns at various breakpoints\n // Included to maintain DOM order for accessibility\n const getBrandAdGridIndex = () => {\n const gridDesktopRow = 2;\n const gridMobileRow = 3;\n const desktopBreakPoint = 1100;\n const maxCols = 6;\n\n const columnsPerWidth = [\n {\n // Minimum number of cols, so width 0-499 will have 2 cols.\n width: 0,\n cols: 2,\n },\n {\n width: 500,\n cols: 3,\n },\n {\n width: desktopBreakPoint,\n cols: 4,\n },\n {\n width: 1430,\n cols: 5,\n },\n {\n width: 1650,\n cols: maxCols,\n },\n ];\n\n const currentBreakPoint = columnsPerWidth.filter(\n (c) => c.width <= window?.innerWidth\n );\n\n const isServerSideRendering = window?.innerWidth === undefined;\n\n const insertRow =\n isServerSideRendering || window?.innerWidth >= desktopBreakPoint\n ? gridDesktopRow\n : gridMobileRow;\n\n const colsPerRow =\n !isServerSideRendering && !!currentBreakPoint\n ? currentBreakPoint[currentBreakPoint.length - 1]?.cols\n : maxCols;\n\n const insertIndex = colsPerRow\n ? insertRow * colsPerRow\n : insertRow * maxCols;\n\n return {\n brandAdGridIndex: insertIndex,\n numberOfCols: colsPerRow ?? maxCols,\n };\n };\n\n const [brandAdPlacementData, setBrandAdPlacementData] = useState(\n getBrandAdGridIndex()\n );\n\n const handleResize = () => {\n // Don't adjust layout if video is fullscreen or it may exit fullscreen mode\n if (currentPage === 1 && !document.fullscreenElement) {\n setBrandAdPlacementData(getBrandAdGridIndex());\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"resize\", handleResize, false);\n\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(\n function initPreviouslyPurchasedItems() {\n async function handlePreviouslyPurchasedItems() {\n const result = await getPreviouslyPurchasedItems();\n if (result.isError) {\n logException(result.error);\n return;\n }\n setPreviouslyPurchasedItems(result.value);\n setPreviouslyPurchasedItemsKeys(Object.keys(result.value));\n }\n\n if (user.registered) {\n handlePreviouslyPurchasedItems();\n }\n },\n [user.registered]\n );\n\n const dateOptions: Intl.DateTimeFormatOptions = {\n year: \"2-digit\",\n month: \"numeric\",\n day: \"numeric\",\n };\n\n const findPreviouslyPurchasedVGItemNumber = (groupMembers: GroupMember[]) => {\n const vgItemNumbers = groupMembers.map((groupMember) =>\n groupMember.itemNumber.toUpperCase()\n );\n\n const previouslyPurchasedVGItemNumbers = vgItemNumbers.filter(\n (item: string) => previouslyPurchasedItemsKeys.includes(item)\n );\n const dates = Object.entries(previouslyPurchasedItems)\n .filter(([key]) => previouslyPurchasedVGItemNumbers.includes(key))\n .map(([, value]) => new Date(value));\n\n return dates.length > 0\n ? new Date(\n Math.max(...dates.map((date) => date.getTime()))\n ).toLocaleDateString(\"en-US\", dateOptions)\n : undefined;\n };\n\n const findPreviouslyPurchasedItemNumber = (itemNumber: string) => {\n const purchasedDate = previouslyPurchasedItems[itemNumber];\n if (purchasedDate !== undefined) {\n return new Date(purchasedDate).toLocaleDateString(\"en-US\", dateOptions);\n }\n return undefined;\n };\n\n const handleCompareErrorModalOpen = useCallback(\n () => setIsCompareErrorModalOpen(true),\n []\n );\n\n const handleCompareErrorModalClose = useCallback(\n () => setIsCompareErrorModalOpen(false),\n []\n );\n\n const getProductBoxes = () => {\n const productBoxes = items.map((product, index) => (\n 12}\n index={index}\n compareProductsStore={compareProductsStore}\n productListingView={activeProductListingView}\n hasCustomizableProductsOverride={hasCustomizableProductsOverride}\n purchasingGroupProps={purchasingGroupProps}\n itemsOnAutoReorder={itemsOnAutoReorder}\n isItemAlreadyInCart={isOutletItemAlreadyInCart(product)}\n discountCode={discountCode}\n showSaleStockNotice={showSaleStockNotice}\n shouldPreselectVirtualGrouping={shouldPreselectVirtualGrouping}\n facetsWithMultipleSelections={facetsWithMultipleSelections}\n previouslyPurchased={\n product.groupingAttributes.isVirtual\n ? findPreviouslyPurchasedVGItemNumber(\n product.groupingAttributes.groupMembers\n )\n : findPreviouslyPurchasedItemNumber(\n product.itemNumber.toUpperCase()\n )\n }\n setIsQuantityDiscountPopoverOpen={setIsQuantityDiscountPopoverOpen}\n isQuantityDiscountPopoverOpen={isQuantityDiscountPopoverOpen}\n handleCompareErrorModalOpen={handleCompareErrorModalOpen}\n />\n ));\n\n if (promotedProductBrandAd) {\n const indexToInsertAd =\n activeProductListingView === \"list\"\n ? 1\n : brandAdPlacementData.brandAdGridIndex;\n\n productBoxes.splice(\n Math.min(indexToInsertAd, items.length),\n 0,\n = items.length &&\n items.length % brandAdPlacementData.numberOfCols > 0\n }\n />\n );\n }\n\n return productBoxes;\n };\n\n const listingHasResults = items.length > 0 || !!promotedProductBrandAd;\n\n return (\n
\n \n {filtersSelected && (\n \n )}\n {compareProductsActive && (\n \n )}\n {!compareProductsActive &&\n displayTopper &&\n topper &&\n topper.isActive &&\n pageUrl &&\n viewTopper &&\n setTopperView &&\n !multiSelectTopper &&\n ((!!topper.sections.length && evaluateFlag(\"toppersv2\") && (\n \n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n ({\n sectionId: section.id,\n name: section.name,\n displayType: section.displayType,\n items: section.items.map((item) => ({\n itemId: item.id,\n name: item.name,\n image: item.image,\n url: item.url,\n description: item.description,\n })),\n } as TopperSection)\n )}\n />\n )) || (\n \n ))}\n {!compareProductsActive &&\n multiSelectTopper &&\n multiSelectTopper.currentSection.items.length > 0 ? (\n evaluateFlag(\"toppersv2\") ? (\n \n ) : (\n \n )\n ) : null}\n\n {listingHasResults ? (\n <>\n 1) ||\n totalPages === 1\n ? ct(\"mb-5\")\n : \"\"\n } ${\n activeProductListingView === \"grid\"\n ? cls(\n \"grid\",\n \"grid-cols-2\",\n \"xsl:grid-cols-3\",\n \"lz:grid-cols-4\",\n \"xxl:grid-cols-5\",\n \"xxxl:grid-cols-6\",\n \"border-0\",\n \"border-solid\",\n \"border-l\",\n \"border-gray-200\",\n \"mt-0\"\n )\n : cls(\n \"border-x\",\n \"border-t-0\",\n \"border-b\",\n \"border-solid\",\n \"border-gray-200\",\n \"pl-0\",\n \"-mt-px\"\n )\n }`}\n >\n {getProductBoxes()}\n
\n {belowListingComponent}\n \n ) : (\n

Sorry! No results found

\n )}\n\n {pagination && totalPages > 1 && (\n \n \n \n )}\n\n {mounted && (\n <>\n {ReactDOM.createPortal(\n \n \n ,\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n document.querySelector(\"body\") as Element\n )}\n \n )}\n\n