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IhQ,QAAS,CAaP,GAAA7D,CAAA,CAAA4F,CAAA,IAAA4L,OAAA,CAAA2B,MAAA,aAGD,GAAAtU,CAAS,CAAAyF,GAAA,EAAA/E,CAAA,CAAA+D,CAAA,EACfqQ,KAAA,CAAO,SAAE,CAAMzN,OACb,YACA8Z,EAAiB,KAClBpd,EAAA,CAAAtE,IAAA,OALIuF,QAAS,CAQP,GAAA7D,CAAA,CAAA4F,CAAA,IAAA4L,OAAA,CAAAuB,MAAA,CACV,cAEClP,QAAA,CAAE,GAAAhF,CAAA,CAAAyF,GAAO,EAAE,GAAC,EAA2CT,QAAA,IAAA7D,CAAA,CAAA4F,CAAA,IAAA4L,OAAA,CAAAC,QAAA,CAAAiU,qBAAA,CACnD,IAEV,CACH,EAED,CAA8B,gBAAAnnB,CAAA,CAAAC,CAAA,ECjlB9B,cAC4B,IAAA6gB,WAAK,UAAMsG,CAAQ,SAAAA,CAAA,CAAA5W,QAAA,CAC3C,kBAAA6W,CAAA,ECDcA,CAAA,CAAAC,OAAA,iHAAAD,CAAA,ECAAA,CAAA,CAAAC,OAAA,uLAAAD,CAAA,ECAAA,CAAA,CAAAC,OAAA,2RAAAD,CAAA,ECAAA,CAAA,CAAAC,OAAA","sources":["webpack://_N_E/./src/components/views/ProductDetailsPage/ProductBuyBox/ProductImagesSection.tsx","webpack://_N_E/./public/assets/icons/lock.svg","webpack://_N_E/./src/components/views/ProductDetailsPage/ProductBuyBox/ProductDetailsSection.tsx","webpack://_N_E/./src/components/views/ProductDetailsPage/ProductBuyBox/ProductDetailsLeftSection.tsx","webpack://_N_E/./src/components/shared/SpecSheetAccessModal/index.tsx","webpack://_N_E/./src/components/views/ProductDetailsPage/types.ts","webpack://_N_E/./src/components/views/ProductDetailsPage/ProductDetailsSection/DetailsPanel/index.tsx","webpack://_N_E/./src/components/views/ProductDetailsPage/ProductDetailsSection/index.tsx","webpack://_N_E/./src/modules/Products/selector.ts","webpack://_N_E/./src/components/shared/SpecSheetAccessModal/styles.module.scss","webpack://_N_E/./src/components/views/ProductDetailsPage/ProductDetailsSection/DetailsPanel/styles.module.scss","webpack://_N_E/./src/components/views/ProductDetailsPage/ProductDetailsSection/styles.module.scss","webpack://_N_E/./src/pages/product/styles.module.scss","webpack://_N_E/"],"sourcesContent":["import { Col, Image, Carousel, Modal } from \"antd\";\nimport Styles from \"@src/pages/product/styles.module.scss\";\nimport { useState, useRef, useLayoutEffect, useEffect } from \"react\";\nimport Zoom from \"react-medium-image-zoom\";\nimport \"react-medium-image-zoom/dist/styles.css\";\nimport Icon from \"~/src/components/shared/Icon\";\nimport { useWindowResize } from \"~/src/utilities/hooks/useWindowResize\";\nimport { useRouter } from \"next/router\";\nimport Link from \"next/link\";\nimport { getText } from \"~/src/libs/resources\";\n\nconst ProductImagesSection = ({ productInfo }: { productInfo: any }) => {\n const emptyCoolSchoolImage =\n \"https://22338452.fs1.hubspotusercontent-na1.net/hubfs/22338452/images_storefront/cool_box_empty.jpg\";\n const emptyProductImage =\n \"https://22338452.fs1.hubspotusercontent-na1.net/hubfs/22338452/images_storefront/box-empty-white.png\";\n const mainCarousel = useRef(null);\n const [currentIndex, setCurrentIndex] = useState(0);\n const [playVideoModal, setPlayVideoModal] = useState(false);\n const [selectedVideo, setSelectedVideo] = useState();\n const windowWidth = useWindowResize();\n const goToSlide = (index: number, thump?: any) => {\n if (thump?.file) {\n setPlayVideoModal(true);\n setSelectedVideo(thump);\n } else {\n mainCarousel?.current.goTo(index);\n setCurrentIndex(index);\n }\n };\n const router = useRouter();\n useEffect(() => {\n playVideoModal\n ? (document.body.style.overflow = \"hidden\")\n : (document.body.style.overflow = \"auto\");\n }, [playVideoModal]);\n const [productThumps, setProductThumps] = useState();\n useEffect(() => {\n let thumpsArray = [\n ...productInfo?.erpProductData?.images,\n ...productInfo?.erpProductData?.videos,\n ];\n setProductThumps(thumpsArray);\n }, [router]);\n\n return (\n <>\n \n
\n
\n setCurrentIndex(next)}\n >\n {productInfo?.erpProductData?.images?.map(\n (thump: any, index: number) => {\n return (\n !thump?.file && (\n
\n \n \n \n
\n )\n );\n }\n )}\n {productInfo?.erpProductData?.images?.length === 0 && (\n
\n \n \n \n
\n )}\n {productInfo?.erpProductData?.cool_school_point_eligible && (\n \n \n \n \n {getText()?.PDP?.messages?.CoolSchoolMessage}\n \n
\n \n \n )}\n {productInfo?.erpProductData?.videos?.map(\n (video: any, index: number) => {\n return (\n
\n goToSlide(index, video)}\n >\n
\n
\n \n
\n
\n
\n
\n );\n }\n )}\n \n \n \n
\n \n {productInfo?.erpProductData?.images?.length === 0 && (\n goToSlide(0, null)}\n className={`${Styles.productThumpItem} ${\n currentIndex === 0 ? Styles.productActiveThumb : \"\"\n }`}\n >\n \n
\n )}\n\n {productThumps?.map((thump: any, index: number) => {\n return (\n \n goToSlide(\n productInfo?.erpProductData?.images?.length === 0\n ? index + 1\n : index,\n thump\n )\n }\n className={`${Styles.productThumpItem} ${\n (productInfo?.erpProductData?.images?.length === 0\n ? index + 1\n : index) === currentIndex\n ? Styles.productActiveThumb\n : \"\"\n }`}\n >\n {thump?.file ? (\n
\n
\n \n
\n
\n ) : (\n \n )}\n \n );\n })}\n {productInfo?.erpProductData?.cool_school_point_eligible && (\n \n goToSlide(\n productThumps?.length ? productThumps?.length : 1,\n null\n )\n }\n >\n \n \n )}\n \n \n \n setPlayVideoModal(false)}\n footer={false}\n closable={true}\n centered\n >\n \n \n \n );\n};\n\nexport default ProductImagesSection;\n\nconst CustomZoomContent = ({ buttonUnzoom, modalState, img }: any) => {\n useLayoutEffect(() => {\n if (modalState === \"LOADED\") {\n const overlay: any = document.getElementById(\"zoomingOverlay\");\n overlay.style.touchAction = \"none\";\n }\n }, [modalState]);\n\n return (\n
\n {buttonUnzoom}\n\n
{img}
\n
\n );\n};\n","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgLock = function SvgLock(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.327 10.223H17.32c-.13 0-.259-.096-.259-.24V7.784c0-2.534-2.117-4.686-4.855-4.78-2.867-.097-5.243 2.031-5.243 4.685v2.318a.25.25 0 0 1-.258.24H5.697c-.387 0-.697.286-.697.645v8.463c0 .358.31.645.697.645h12.604c.388 0 .698-.287.698-.645v-8.487c.025-.359-.285-.646-.672-.646ZM8.538 7.688c0-1.84 1.653-3.322 3.668-3.227 1.885.096 3.332 1.578 3.332 3.323v2.223a.25.25 0 0 1-.259.24H8.771c-.13 0-.259-.096-.259-.24V7.688h.026Z\",\n fill: \"#02254A\"\n })));\n};\nexport default SvgLock;","import { Col, Modal, notification, Row, Tooltip } from \"antd\";\nimport Styles from \"@src/pages/product/styles.module.scss\";\nimport Button from \"@components/shared/Button\";\nimport Tag from \"@components/shared/Tag\";\nimport Lock from \"@assets/icons/lock.svg\";\nimport { useContext, useEffect, useState } from \"react\";\nimport { AppContext } from \"~/src/libs/context\";\nimport LoginModal from \"@components/shared/Header/Navbar/LoginModal\";\nimport { useRouter } from \"next/router\";\nimport { getCookie } from \"cookies-next\";\nimport Icon from \"~/src/components/shared/Icon\";\nimport classNames from \"classnames\";\nimport { getText } from \"~/src/libs/resources\";\nimport { PdpContext } from \"~/src/libs/context/pdp\";\nimport useClient from \"~/src/server/utils/client\";\nimport { useDispatch } from \"react-redux\";\nimport Selector from \"~/src/modules/MixedPallet/selector\";\nimport { useTypedSelector } from \"~/src/libs/utils/useTypedSelector\";\nimport {\n setIsLoaded,\n setLoading,\n setPalletItems,\n setPalletLoadedProgress,\n setPalletName,\n setVendorProducts,\n setVendorProductsCount,\n} from \"~/src/libs/utils/mixedPallet\";\nimport { MixedPalletContext } from \"~/src/libs/context/mixedPallet\";\nimport useCompareProducts from \"~/src/utilities/hooks/useCompareProducts\";\n\nconst ProductDetailsSection = ({\n productInfo,\n pricesData,\n isGuestUser,\n}: {\n productInfo: any;\n pricesData: any;\n isGuestUser?: boolean;\n}) => {\n const {\n setShowProductCompare,\n guestUser,\n compareProductsSku,\n setCompareProductsSku,\n customerStatus,\n defaultPostZip,\n setShowVerifyModal,\n completeProfileLink,\n isVendor,\n } = useContext(AppContext);\n\n const client = useClient({});\n const { setShowModal } = useContext(PdpContext);\n\n const tooltipStyle = {\n fontSize: \"12px\",\n borderRadius: \"15px\",\n padding: \"10px\",\n };\n\n const TooltipConfigs = {\n title: isGuestUser\n ? \"Sign up for ePallet to see additional information\"\n : !customerStatus.profile_completed\n ? \"Complete your profile to see the lead times\"\n : !customerStatus.email_verified &&\n \"Verify your email to see the lead times\",\n showArrow: false,\n arrow: true,\n color: \"#333\",\n overlayInnerStyle: tooltipStyle,\n overlayStyle: {\n paddingBottom: \"0\",\n },\n };\n\n const [productTags] = useState([\n \"fat_free\",\n \"gluten_free\",\n \"halal\",\n \"kosher\",\n \"low_fat\",\n \"non_gmo\",\n \"organic\",\n \"vegan\",\n ]);\n\n const dispatch = useDispatch();\n const { sortByVal, searchVal, setPalletId, palletId } =\n useContext(MixedPalletContext);\n const {\n palletName,\n appliedPalletFilters,\n vendorProducts,\n vendorId,\n vendorName,\n sku,\n viewDetails,\n offset,\n } = useTypedSelector(Selector.getMixedPallet);\n const [leadTimeValue, setLeadTimeValue] = useState();\n //TODO: In the refactor, we need to change from SKU to slug, since in the new API we are using slug, but we can't change the name since that would be a breaking change, so we need to change the name in the refactor in the future.\n //const [productSku] = useState(productInfo?.erpProductData?.slug);\n const [productSku] = useState(productInfo?.erpProductData?.id);\n useEffect(() => {\n let leadTimeAtt = pricesData?.[0]?.lead_time_days\n setLeadTimeValue(leadTimeAtt);\n }, []);\n\n const { compareProductHandler } = useCompareProducts();\n\n const setProductsToCompare = (productSku: any) => {\n compareProductHandler(undefined, productSku, guestUser);\n };\n\n const router = useRouter();\n const isMixedPallet = router.pathname.includes('mixed-pallet-vendor');\n\n const [showCompleteProfileModal, setShowCompleteProfileModal] =\n useState(false);\n\n const addItemToPallet = async () => {\n dispatch(setLoading(true));\n if (palletId == null) {\n let _url = `/api/ERP/customer/mixedPallet`;\n if (defaultPostZip) {\n _url += `?post_zip=${defaultPostZip}`;\n }\n\n await client.basic\n .post(_url, {\n data: { product: productSku, case_quantity: null },\n headers: { sessionId: getCookie(\"sessionid\") },\n })\n .then(async (res) => {\n dispatch(setPalletItems(res?.data?.products));\n dispatch(setPalletLoadedProgress(res?.data?.pallet_load_percents));\n setPalletId(res?.data?.id);\n dispatch(setIsLoaded(res?.data?.is_loaded));\n router.query.pallet = res?.data?.id;\n router.push(router, undefined, { shallow: true });\n if (palletName === \"\") {\n await client.basic\n .post(\n `api/ERP/customer/mixedPallet/${res?.data?.id}/changeName`,\n {\n data: {\n name: `${vendorName} Mixed Pallet`,\n },\n headers: { sessionId: getCookie(\"sessionid\") },\n }\n )\n .then((res) => {\n dispatch(setPalletName(res?.data?.name));\n })\n .catch((e) => {});\n }\n\n let _palletURL = `api/ERP/customer/mixedPallet/${res?.data?.id}`;\n if (defaultPostZip) {\n _palletURL += `?post_zip=${defaultPostZip}`;\n }\n\n await client.basic\n .get(_palletURL, {\n headers: { sessionId: getCookie(\"sessionid\") },\n })\n .then(async () => {\n let url = `api/ERP/customer/mixedPalletProducts?${\n !guestUser ? \"status=true&\" : \"\"\n }limit=6&vendor=${vendorId}&ordering=${sortByVal}&pallet=${\n res?.data?.id\n }`;\n\n if (defaultPostZip) {\n url += `&post_zip=${defaultPostZip}`;\n }\n\n const searchQuery = router.query[\"search\"];\n if (\n searchVal &&\n searchVal !== \"\" &&\n searchQuery &&\n searchQuery !== \"\"\n ) {\n url += `&search=${searchVal}`;\n }\n\n if (offset > 0) {\n url += `&limit=6&offset=${0}`;\n } else {\n url += `&limit=6&offset=${offset}`;\n }\n if (appliedPalletFilters && appliedPalletFilters.length > 0) {\n const filters: any = [];\n appliedPalletFilters?.map((item: any) => {\n if (\n filters &&\n filters.length > 0 &&\n filters.find((f: any) => f.name === item?.filter?.name)\n ) {\n filters\n .find((f: any) => f.name === item?.filter?.name)\n .ids.push(item?.filter?.id);\n } else {\n filters.push({\n name: item?.filter?.name,\n ids: [item.filter?.id],\n });\n }\n });\n\n delete router.query?.category;\n delete router.query?.pack;\n filters?.map((f: any) => {\n url += `&${f?.name}=${f?.ids?.toString()}`;\n router.query[f?.name] = f?.ids;\n });\n router.push(router, undefined, { shallow: true });\n }\n await client.basic\n .get(url, {\n headers: { sessionId: getCookie(\"sessionid\") },\n })\n .then((res) => {\n const products: any = [];\n res?.data?.results?.map((result: any) => {\n products.push(result?.product);\n });\n dispatch(setVendorProducts(res?.data?.results));\n dispatch(setVendorProductsCount(res?.data?.count));\n notification.success({\n message: getText().PDP.messages.productAddedToPallet,\n duration: 3,\n });\n })\n .catch((e) => {\n console.error(e);\n });\n dispatch(setLoading(false));\n });\n })\n .catch((e) => {\n dispatch(setLoading(false));\n });\n } else {\n await client.basic\n .post(`api/ERP/customer/mixedPallet/${palletId}/setProductQuantity`, {\n data: { product: productSku, case_quantity: null },\n headers: { sessionId: getCookie(\"sessionid\") },\n })\n .then(async (res) => {\n let _url = `api/ERP/customer/mixedPallet/${palletId}`;\n if (defaultPostZip) {\n _url += `?post_zip=${defaultPostZip}`;\n }\n\n await client.basic\n .get(_url, {\n headers: { sessionId: getCookie(\"sessionid\") },\n })\n .then(async (res) => {\n {\n dispatch(setPalletItems(res?.data?.products));\n dispatch(\n setPalletLoadedProgress(res?.data?.pallet_load_percents)\n );\n dispatch(setPalletName(res?.data?.name));\n dispatch(setIsLoaded(res?.data?.is_loaded));\n\n let url = `api/ERP/customer/mixedPalletProducts?${\n !guestUser ? \"status=true&\" : \"\"\n }limit=6&vendor=${vendorId}&ordering=${sortByVal}&pallet=${\n res?.data?.id\n }`;\n\n if (defaultPostZip) {\n url += `&post_zip=${defaultPostZip}`;\n }\n\n const searchQuery = router.query[\"search\"];\n if (\n searchVal &&\n searchVal !== \"\" &&\n searchQuery &&\n searchQuery !== \"\"\n ) {\n url += `&search=${searchVal}`;\n }\n\n if (offset > 0) {\n url += `&limit=6&offset=${0}`;\n } else {\n url += `&limit=6&offset=${offset}`;\n }\n if (appliedPalletFilters && appliedPalletFilters.length > 0) {\n const filters: any = [];\n appliedPalletFilters?.map((item: any) => {\n if (\n filters &&\n filters.length > 0 &&\n filters.find((f: any) => f.name === item?.filter?.name)\n ) {\n filters\n .find((f: any) => f.name === item?.filter?.name)\n .ids.push(item?.filter?.id);\n } else {\n filters.push({\n name: item?.filter?.name,\n ids: [item.filter?.id],\n });\n }\n });\n\n delete router.query?.category;\n delete router.query?.pack;\n filters?.map((f: any) => {\n url += `&${f?.name}=${f?.ids?.toString()}`;\n router.query[f?.name] = f?.ids;\n });\n\n router.push(router, undefined, { shallow: true });\n }\n await client.basic\n .get(url, {\n headers: { sessionId: getCookie(\"sessionid\") },\n })\n .then((res) => {\n const products: any = [];\n res?.data?.results?.map((result: any) => {\n products.push(result?.product);\n });\n dispatch(setVendorProducts(res?.data?.results));\n dispatch(setVendorProductsCount(res?.data?.count));\n notification.success({\n message: getText().PDP.messages.productAddedToPallet,\n duration: 3,\n });\n })\n .catch((e) => {\n console.error(e);\n });\n dispatch(setLoading(false));\n }\n })\n .catch((e) => {\n dispatch(setLoading(false));\n });\n })\n .catch((e) => {\n dispatch(setLoading(false));\n });\n }\n };\n\n const downloadSpecSheet = async () => {\n try {\n client.basic\n .get(\n `/api/ERP/customer/product/pdf?slug=${productInfo?.erpProductData?.slug}`,\n {\n headers: {\n sessionId: getCookie(\"sessionid\"),\n },\n }\n )\n .then((response) => {\n window.open(response?.data?.url, '_blank');\n })\n .catch((e) => {\n if (e?.response?.status === 403) console.log(e);\n else {\n notification.error({\n message: getText()?.General?.Messages?.SomethingWrongTryAgain,\n duration: 4,\n });\n }\n });\n } catch (e: any) {\n if (e?.response?.status === 403) console.log(e);\n else {\n notification.error({\n message: getText()?.General?.Messages?.SomethingWrongTryAgain,\n duration: 4,\n });\n }\n }\n };\n\n const lockIcon = () => {\n return ;\n };\n\n const [isAddToPalletDisabled, setIsAddToPalletDisabled] =\n useState(false);\n\n useEffect(() => {\n if (vendorProducts && vendorProducts.length > 0) {\n const item = vendorProducts.filter(\n (item: any) => item?.product?.id === sku\n )?.[0];\n if (item?.max_case_quantity - item?.case_quantity < item?.ti) {\n setIsAddToPalletDisabled(true);\n } else {\n setIsAddToPalletDisabled(false);\n }\n }\n }, [vendorProducts]);\n\n const checkStatus = () => {\n if (guestUser) {\n setShowModal(true);\n } else if (!customerStatus.profile_completed) {\n setShowCompleteProfileModal(true);\n } else if (!customerStatus.email_verified) {\n setShowVerifyModal(true);\n }\n };\n\n return (\n \n \n \n \n router.push(\n `/product-list/brands/${productInfo?.erpProductData?.brand?.name}`\n )\n }\n >\n {productInfo?.erpProductData?.brand?.name}\n \n \n \n \n {productInfo?.erpProductData?.name}\n \n \n\n \n \n \n {getText().PDP.productDetails.packSize}\n \n
\n \n {productInfo?.erpProductData?.pack_size}\n \n \n\n {true && (\n \n <>\n \n {getText()?.PDP?.productDetails?.leadTime}\n \n
\n {!isGuestUser &&\n ((customerStatus.profile_completed &&\n customerStatus.email_verified) ||\n isVendor) ? (\n \n {productInfo?.erpProductData?.lead_time_days}{\" \"}\n \n {getText()?.General?.daysAndDelivery}\n \n \n ) : isGuestUser ? (\n \n \n \n ) : !customerStatus.profile_completed ? (\n \n {\" \"}\n setShowCompleteProfileModal(true)}\n />\n \n ) : (\n !customerStatus.email_verified && (\n \n {\" \"}\n setShowVerifyModal(true)}\n />{\" \"}\n \n )\n )}\n \n \n )}\n\n \n \n {getText().PDP.productDetails.casesPerPallet}\n \n
\n \n {productInfo?.erpProductData?.case_per_pallet}\n \n \n
\n\n \n {productTags?.map((productTag: string) => {\n return productInfo?.erpProductData?.[productTag] ? (\n \n ) : null;\n })}\n \n
\n \n \n \n {productInfo?.erpProductData?.description_short}\n \n \n {productInfo?.erpProductData?.description_long}\n

\n \n \n \n {getText().PDP.productDetails.ProductInformationProvided}\n \n \n \n \n {isGuestUser ? (\n \n \n \n ) : (!customerStatus.profile_completed ||\n !customerStatus.email_verified) &&\n !isVendor ? (\n \n ) : (\n \n )}\n \n {!viewDetails ? (\n \n {isGuestUser ? (\n \n \n \n ) : (!customerStatus.profile_completed ||\n !customerStatus.email_verified) &&\n !isVendor ? (\n \n ) : (\n {\n setProductsToCompare(productSku);\n }}\n />\n )}\n \n ) : null}\n \n \n router.push(\"/contact-us\")}\n theme=\"link\"\n className={`font-bold-sm text-oxfordBlue ms-0 ps-0 ${Styles.reportBtn}`}\n text={getText().PDP.reportIncorrectInformation}\n />\n \n
\n {viewDetails &&\n !isGuestUser &&\n customerStatus.profile_completed &&\n customerStatus.email_verified ? (\n \n }\n onClick={addItemToPallet}\n disabled={isAddToPalletDisabled}\n >\n {getText().PDP.addToPallet}\n \n \n ) : null}\n {showCompleteProfileModal && (\n {\n router.push(completeProfileLink);\n }}\n onCancel={() => setShowCompleteProfileModal(false)}\n okText=\"Complete Now\"\n centered\n >\n

{getText()?.General?.Messages?.pleaseCompleteProfile}

\n \n )}\n \n );\n};\n\nexport default ProductDetailsSection;","import styles from \"@src/pages/product/styles.module.scss\";\nimport { Row, Col, Tooltip, Image } from \"antd\";\nimport Link from \"next/link\";\nimport Button from \"@src/components/shared/Button\";\nimport ProductImagesSection from \"./ProductImagesSection\";\nimport ProductDetailsSection from \"./ProductDetailsSection\";\nimport Icon from \"@components/shared/Icon\";\nimport { useContext, useEffect, useState } from \"react\";\nimport ShareProductModal from \"@components/shared/ShareDialog\";\nimport AddToShoppingListDialog from \"~/src/components/shared/AddToShoppingList\";\nimport { getText } from \"~/src/libs/resources\";\nimport { AppContext } from \"~/src/libs/context\";\nimport { useWindowResize } from \"@src/utilities/hooks/useWindowResize.js\";\nimport Selector from \"~/src/modules/MixedPallet/selector\";\nimport { useTypedSelector } from \"~/src/libs/utils/useTypedSelector\";\n\nconst ProductDetailsLeftSection = ({\n productInfo,\n pricesData,\n isGuestUser,\n shoppingList,\n productListInfo,\n}: {\n productInfo: any;\n pricesData: any;\n isGuestUser?: boolean;\n shoppingList?: any;\n productListInfo?: any;\n}) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n const { viewDetails } = useTypedSelector(Selector.getMixedPallet);\n\n const [isWishlist, setIsWishlist] = useState(false || productInfo?.erpProductData?.is_wished);\n const [showShoppingListDialog, setShowToShoppingListDialog] =\n useState(false);\n const [selectedItem, setSelectedItem] = useState();\n const [itemShoppingLists, setItemShoppingLists] = useState();\n const { quantityValue, customerStatus } = useContext(AppContext);\n const windowWidth = useWindowResize();\n const shareIcon = () => {\n return (\n \n );\n };\n const mobileShareIcon = () => {\n return (\n \n );\n };\n const heartIcon = () => {\n return (\n 576 ? 20 : 15}\n height={windowWidth > 576 ? 20 : 14}\n classesName={styles.iconStyle}\n />\n );\n };\n\n const wishlistHeartIcon = () => {\n return (\n 576 ? 20 : 15}\n height={windowWidth > 576 ? 20 : 14}\n />\n );\n };\n useEffect(() => {\n const newArray: any = [];\n\n if (Array.isArray(shoppingList)) {\n shoppingList.forEach((shoppingItem: any) => {\n if (Array.isArray(shoppingItem?.products)) {\n shoppingItem.products.forEach((productItem: any) => {\n if (productItem?.id === productInfo?.erpProductData?.id) {\n setIsWishlist(true);\n newArray.push(shoppingItem?.uid);\n }\n });\n }\n });\n }\n setItemShoppingLists(newArray);\n }, []);\n\n useEffect(() => {\n if (isModalOpen || showShoppingListDialog) {\n document.body.style.overflow = \"hidden\";\n } else {\n document.body.style.overflow = \"auto\";\n }\n\n return () => {\n document.body.style.overflow = \"auto\";\n };\n }, [isModalOpen, showShoppingListDialog]);\n\n const doWishlistAction = (item: any) => {\n setShowToShoppingListDialog(true);\n setSelectedItem(item);\n };\n const addToCartHandler = (event: string) => {\n window?.dataLayer?.push({ ecommerce: null });\n window?.dataLayer?.push({\n event: event,\n ecommerce: {\n currency: \"USD\",\n value: productInfo?.pricesData?.[0]?.base_delivered_price,\n items: [\n {\n item_id: productInfo?.erpProductData?.id?.toString(),\n item_name: productInfo?.erpProductData?.name,\n coupon: \"\",\n currency: \"USD\",\n discount: productInfo?.pricesData?.delivered_discount || 0,\n index: productListInfo?.id,\n item_brand: productInfo?.erpProductData?.brand_name,\n item_category:\n productInfo?.erpProductData?.main_category_name,\n item_category2:\n productInfo?.erpProductData?.sub_category_name,\n item_list_id: \"\",\n item_list_name:\n productInfo?.erpProductData?.sub_category_name,\n item_variant: productInfo?.erpProductData?.pack_size,\n price: productInfo?.pricesData?.[0]?.base_delivered_price,\n quantity: quantityValue,\n },\n ],\n },\n });\n };\n\n return (\n <>\n \n \n \n {productInfo?.erpProductData?.has_haggle_rewards &&\n !isGuestUser && (\n \n \n \n \n \n )}\n\n \n 576 ? shareIcon : mobileShareIcon}\n onClick={() => {\n setIsModalOpen(true);\n }}\n aria-label=\"Share product\"\n />\n \n {!isGuestUser && !(!customerStatus?.is_vendor && !customerStatus?.profile_completed) && (\n \n doWishlistAction(productInfo)}\n className={\n isWishlist\n ? styles.wishlistedItem\n : styles.iconButtonWrapper\n }\n />\n \n )}\n\n \n \n \n \n \n \n \n \n {showShoppingListDialog && (\n addToCartHandler(\"add_to_wishlist\")}\n />\n )}\n \n );\n};\n\nexport default ProductDetailsLeftSection;\n","import { Col, Form, Input, Modal, Row, notification } from \"antd\";\nimport axios from \"axios\";\nimport classnames from \"classnames\";\nimport { getCookie } from \"cookies-next\";\nimport { useRouter } from \"next/router\";\nimport { useContext } from \"react\";\nimport { MixedPalletContext } from \"~/src/libs/context/mixedPallet\";\nimport { PdpContext } from \"~/src/libs/context/pdp\";\nimport { getText } from \"~/src/libs/resources\";\nimport CustomButton from \"../Button\";\nimport Icon from \"../Icon\";\nimport styles from \"./styles.module.scss\";\n\nconst SpecSheetAccess = ({ showModal, handleCancel, slug, item }: any) => {\n const router = useRouter();\n const [form] = Form.useForm();\n const { accessRequested, setAccessRequested } = useContext(\n router.pathname.includes(\"mixed-pallet-vendor\")\n ? MixedPalletContext\n : PdpContext\n );\n const requestAccess = async (values: any) => {\n axios\n .post(\n `/api/ERP/customer/product/${slug}/certificateAccessRequest`,\n {\n certificate: item?.id,\n customer_access_reason: values?.customer_access_reason,\n },\n { headers: { sessionid: getCookie(\"sessionid\") } }\n )\n .then((res) => {\n setAccessRequested(true);\n })\n .catch((e) => {\n notification.error({\n message: getText()?.General?.Messages?.SomethingWrongTryAgain,\n duration: 2,\n });\n });\n };\n return (\n \n
\n \n
\n {item?.access_status !== \"PENDING\" &&\n !accessRequested\n ? getText()?.PDP?.RestrictedInfo\n : getText()?.PDP?.AccessRequested}\n
\n\n \n {item?.access_status !== \"PENDING\" &&\n !accessRequested ? (\n \n \n \n \n \n \n \n ) : null}\n \n \n {item?.access_status !== \"PENDING\" &&\n !accessRequested && (\n \n )}\n \n \n \n
\n {item?.access_status == \"DECLINED\" && item?.vendor_declined_reason && (\n \n {getText()?.PDP?.declined_reason}\n {item?.vendor_declined_reason}\n \n )}\n \n );\n};\n\nexport default SpecSheetAccess;\n","export interface PDPProps {\n productData?: any;\n productAttributeGroups?: object;\n productSlug?: string;\n productSku?: number;\n isValidProduct?: boolean;\n isGuestUser?: boolean;\n customerStatus?: any;\n shoppingList?: any;\n pricesData?: any;\n}\n\nexport interface ICountryOfManufacturer {\n id: string,\n name: CountryOfManufacturerEnum.name,\n description: string,\n type: CountryOfManufacturerEnum.type,\n value: string,\n localizable: boolean,\n locales: []\n}\n\nexport enum CountryOfManufacturerEnum {\n type = \"OPTIONS\",\n name = \"Country of manufacturer\",\n}\n\nexport enum PanelHeadersNamesEnum {\n OVERVIEW = 'Overview',\n NUTRITIONAL = 'Nutritionals',\n SHIPPING_STORAGE = 'Shipping/Storage',\n CASE_CONFIGURATION = 'Case Configuration',\n PALLET_CONFIGURATION = 'Pallet Configuration',\n}","import { Col, Row, Tooltip } from \"antd\";\n\nimport { getText } from \"~/src/libs/resources\";\nimport styles from \"./styles.module.scss\";\nimport Nutritionals from \"@components/shared/Nutritionals\";\nimport { useContext } from \"react\";\nimport { AppContext } from \"@src/libs/context\";\nimport {\n CountryOfManufacturerEnum,\n ICountryOfManufacturer,\n PanelHeadersNamesEnum,\n} from \"../../types\";\nimport Icon from \"~/src/components/shared/Icon\";\nimport { useWindowResize } from \"~/src/utilities/hooks/useWindowResize\";\n\nconst DetailsPanel = ({ data, itemHeader }: any) => {\n const { countries } = useContext(AppContext);\n const isMobile = useWindowResize() <= 768;\n //Manufacturer country grouping under the same heading => Multiple countries would be mentioned in a single country field and it should be separated by a comma (,).\n let CountryOfManufacturersList;\n let detailsPanelContentData;\n\n if (itemHeader === PanelHeadersNamesEnum.OVERVIEW) {\n CountryOfManufacturersList = data\n ?.filter(\n (obj: ICountryOfManufacturer) =>\n obj.name === CountryOfManufacturerEnum.name\n )\n ?.map((obj: ICountryOfManufacturer) => countries?.[obj.value])\n ?.join(\", \");\n\n detailsPanelContentData = data?.filter(\n (obj: any) => obj.name !== CountryOfManufacturerEnum.name\n );\n detailsPanelContentData?.push({\n name: CountryOfManufacturerEnum.name,\n value: CountryOfManufacturersList,\n });\n }\n\n const displayValue = (value: any) => {\n if (value === true || value === \"true\") {\n return \"Yes\";\n } else if (value === false || value === \"false\") {\n return \"No\";\n }\n\n if (value?.length > 0) {\n for (let i = 0; i < value?.length; i++) {\n if (value[i] === \"US\") {\n value[i] = \"United States\";\n } else if (value[i] === \"CA\") {\n value[i] = \", Canada\";\n }\n }\n }\n return value;\n };\n\n const formatAttrName = (name: string) => {\n if (name === \"Vendor item\") {\n return \"Vendor item #\";\n } else if (name === \"Mfg item\") {\n return \"Mfg item #\";\n }\n\n return name;\n };\n\n const formatAttrVal = (attr: any) => {\n if (\n attr.name === CountryOfManufacturerEnum.name ||\n attr.name === \"Country of growth\"\n ) {\n return displayValue(countries?.[attr.value]);\n } else if (attr.name === \"Type of Product\") {\n return attr.value ? \"Food\" : \"Non-food\";\n }\n return displayValue(attr.value);\n };\n\n return (\n <>\n {itemHeader === PanelHeadersNamesEnum.NUTRITIONAL ? (\n \n ) : (\n \n {(data) &&\n (data)?.map(\n (attribute: any, index: number) => {\n let _AttrVal;\n if (\n detailsPanelContentData?.length > 0 &&\n attribute.name === CountryOfManufacturerEnum.name\n ) {\n _AttrVal = attribute.value;\n }\n return (\n \n {attribute.name === \"Shelf life\" ? (\n \n \n {formatAttrName(attribute.name)}\n \n \n \n \n \n ) :\n (\n \n {attribute.name.toLowerCase() === \"minimum lifespan from arrival\" ? getText()?.PDP?.minShelf: formatAttrName(attribute.name)}\n \n )}\n
\n {formatAttrVal(attribute) || _AttrVal}\n
\n \n );\n }\n )}\n {(detailsPanelContentData || data)?.length === 0 && (\n \n \n {getText().PDP.noDataToShow}\n \n \n )}\n \n )}\n \n );\n};\n\nexport default DetailsPanel;\n","import Accordion from \"@components/shared/Accordion\";\nimport Icon from \"@components/shared/Icon\";\nimport { PdpContext } from \"@src/libs/context/pdp\";\nimport { AppContext } from \"@src/libs/context\";\nimport { useContext, useEffect, useMemo, useState } from \"react\";\nimport styles from \"./styles.module.scss\";\nimport { Modal, Row, Tooltip, notification } from \"antd\";\nimport { MixedPalletContext } from \"~/src/libs/context/mixedPallet\";\nimport { useRouter } from \"next/router\";\nimport { getText } from \"~/src/libs/resources\";\nimport Button from \"@components/shared/Button\";\nimport Link from \"next/link\";\nimport SpecSheetAccess from \"~/src/components/shared/SpecSheetAccessModal\";\nimport Selector from \"~/src/modules/MixedPallet/selector\";\nimport SelectorProducts from \"~/src/modules/Products/selector\";\nimport { useTypedSelector } from \"~/src/libs/utils/useTypedSelector\";\nimport { useDispatch } from \"react-redux\";\nimport { setProductListInfo } from \"~/src/libs/utils/products\";\nimport axios from \"axios\";\nimport { getCookie } from \"~/src/server/utils/commonUtils\";\nimport { useWindowResize } from \"@src/utilities/hooks/useWindowResize\";\nimport DetailsPanel from \"./DetailsPanel\";\n\n\nconst ProductDetails = ({\n productInfo,\n attributeGroups,\n isGuestUser,\n pricesData,\n}: {\n productInfo: any;\n attributeGroups: any;\n isGuestUser?: boolean;\n pricesData?: any;\n}) => {\n const [overviewData, setOverviewData] = useState([]);\n const [selectedLink, setSelectedLink] = useState();\n const [nutritionalData, setNutritionalData] = useState([]);\n const [shippingData, setShippingData] = useState([]);\n const [caseConfigData, setCaseConfigData] = useState([]);\n const [palletConfigData, setPalletConfigData] = useState([]);\n const { viewDetails } = useTypedSelector(Selector.getMixedPallet);\n const {\n customerStatus,\n guestUser,\n setShowVerifyModal,\n completeProfileLink,\n isVendor,\n } = useContext(AppContext);\n const dispatch = useDispatch();\n const { productListInfo } = useTypedSelector(SelectorProducts.getProducts);\n const [productTitle, setProductTitle] = useState(\"\");\n const { setShowModal, certificatesData, setCertificatesData } =\n useContext(PdpContext);\n const [showRequestAccessModal, setShowRequestAccessModal] =\n useState(false);\n const router = useRouter();\n const { accessRequested, setAccessRequested } = useContext(\n router.pathname.includes(\"mixed-pallet-vendor\")\n ? MixedPalletContext\n : PdpContext\n );\n\n const tooltipStyle = {\n fontSize: \"12px\",\n borderRadius: \"15px\",\n padding: \"10px\",\n };\n\n const isMobile = useWindowResize() <= 768;\n const TooltipConfigs = useMemo(\n () => ({\n title: isGuestUser\n ? \"Sign up for ePallet to see additional information\"\n : !customerStatus.profile_completed\n ? \"Complete your profile to see additional information\"\n : !customerStatus.email_verified &&\n \"Verify your email to see additional information\",\n showArrow: false,\n arrow: true,\n color: \"#333\",\n overlayInnerStyle: tooltipStyle,\n overlayStyle: {\n paddingBottom: \"0\",\n },\n ...(isMobile ? { open: false } : {}),\n }),\n [isMobile, isGuestUser]\n ) as any;\n\n const panels = [\n {\n header: \"Overview\",\n content: overviewData,\n },\n {\n header: \"Nutritionals\",\n content: nutritionalData,\n },\n {\n header: \"Shipping/Storage\",\n content: shippingData,\n },\n {\n header: \"Case Configuration\",\n content: caseConfigData,\n },\n {\n header: \"Pallet Configuration\",\n content: palletConfigData,\n },\n ];\n\n const [showLoginModal, setShowLoginModal] = useState(false);\n useEffect(() => {\n const fetchERPData = async () => {\n try {\n const response = await axios.get(\n `/api/ERP/customer/product/${productInfo?.erpProductData?.slug}?show-non-active=1`,\n {\n headers: { sessionId: getCookie(\"sessionid\") },\n }\n );\n\n const data = response.data;\n\n const overviewData = [\n { name: \"Upc\", value: data.upc },\n { name: \"Gtin\", value: data.gtin },\n { name: \"Mfg Name\", value: data.mfg_name },\n { name: \"Mfg Item #\", value: data.mfg_item },\n { name: \"Vendor Name\", value: data.vendor_name },\n { name: \"Vendor Item #\", value: data.vendor_item },\n { name: \"Packaging\", value: data.packaging },\n { name: \"Date Code Type\", value: data.date_code_type },\n { name: \"Type Of Product\", value: data.food ? \"Food\" : \"Non-food\" },\n ...data.industry_type.map((type: string) => ({ name: \"Industry Type\", value: type })),\n { name: \"Country Of Growth\", value: data.country_of_growth },\n { name: \"Country Of Manufacturer\", value: Array.isArray(data.country_of_manufacturer) ? data.country_of_manufacturer.join(\", \") : data.country_of_manufacturer },\n ].filter(item => item.value !== undefined && item.value !== null && item.value !== \"\" && !(Array.isArray(item.value) && item.value.length === 0));\n\n setOverviewData(overviewData);\n \n\n setNutritionalData(\n data.nutritions\n .map((nutrition: any) => ({\n name: nutrition.nutrition_name || \"Nutrition Facts\",\n image: nutrition.image || null, // Include image if available\n serving_size: nutrition.serving_size,\n servings_per_container: nutrition.servings_per_container,\n calories: nutrition.calories,\n total_fat: nutrition.total_fat?.value\n ? { value: nutrition.total_fat.value, dv: nutrition.total_fat.dv || 0.0 }\n : null,\n saturated_fat: nutrition.saturated_fat?.value\n ? { value: nutrition.saturated_fat.value, dv: nutrition.saturated_fat.dv || 0.0 }\n : null,\n trans_fat: nutrition.trans_fat?.value\n ? { value: nutrition.trans_fat.value, dv: nutrition.trans_fat.dv || 0.0 }\n : null,\n cholesterol: nutrition.cholesterol?.value\n ? { value: nutrition.cholesterol.value, dv: nutrition.cholesterol.dv || 0.0 }\n : null,\n sodium: nutrition.sodium?.value\n ? { value: nutrition.sodium.value, dv: nutrition.sodium.dv || 0.0 }\n : null,\n total_carbohydrate: nutrition.total_carbohydrate?.value\n ? { value: nutrition.total_carbohydrate.value, dv: nutrition.total_carbohydrate.dv || 0.0 }\n : null,\n dietary_fiber: nutrition.dietary_fiber?.value\n ? { value: nutrition.dietary_fiber.value, dv: nutrition.dietary_fiber.dv || 0.0 }\n : null,\n total_sugars: nutrition.total_sugars?.value\n ? { value: nutrition.total_sugars.value, dv: nutrition.total_sugars.dv || 0.0 }\n : null,\n includes_added_sugars: nutrition.includes_added_sugars?.value\n ? { value: nutrition.includes_added_sugars.value, dv: nutrition.includes_added_sugars.dv || 0.0 }\n : null,\n protein: nutrition.protein?.value\n ? { value: nutrition.protein.value, dv: nutrition.protein.dv || 0.0 }\n : null,\n vitamin_a: nutrition.vitamin_a?.value\n ? { value: nutrition.vitamin_a.value, dv: nutrition.vitamin_a.dv || 0.0 }\n : null,\n vitamin_c: nutrition.vitamin_c?.value\n ? { value: nutrition.vitamin_c.value, dv: nutrition.vitamin_c.dv || 0.0 }\n : null,\n calcium: nutrition.calcium?.value\n ? { value: nutrition.calcium.value, dv: nutrition.calcium.dv || 0.0 }\n : null,\n iron: nutrition.iron?.value\n ? { value: nutrition.iron.value, dv: nutrition.iron.dv || 0.0 }\n : null,\n vitamin_d: nutrition.vitamin_d?.value\n ? { value: nutrition.vitamin_d.value, dv: nutrition.vitamin_d.dv || 0.0 }\n : null,\n potassium: nutrition.potassium?.value\n ? { value: nutrition.potassium.value, dv: nutrition.potassium.dv || 0.0 }\n : null,\n ingredients: nutrition.ingredients,\n allergens: nutrition.allergens,\n cooking_instructions: nutrition.cooking_instructions,\n }))\n .map((item: any) =>\n Object.fromEntries(\n Object.entries(item).filter(\n ([_, value]) =>\n value !== undefined &&\n value !== null &&\n value !== \"\" &&\n !(Array.isArray(value) && value.length === 0)\n )\n )\n )\n );\n\n\n\n setShippingData([\n { name: \"Shipping method\", value: data. shipping_method },\n { name: \"Shipping temp ambient\", value: data.shipping_temp_ambient},\n { name: \"Storage method\", value: data.storage_method},\n { name: \"Storage temp ambient\", value: data.storage_temp_ambient},\n { name:\"Freight Class\", value: data.freight_class},\n\n ]);\n\n setCaseConfigData([\n { name: \"Case weight net\", value: data.case_weight_net },\n { name: \"Case weight gross\", value: data.case_weight_gross },\n { name: \"Case weight uom\", value: data.case_weight_uom },\n { name: \"Case length\", value: data.case_length },\n { name: \"Case width\", value: data.case_width },\n { name: \"Case height\", value: data.case_height },\n { name: \"Case size uom\", value: data.case_size_uom },\n { name: \"Case upc\", value: data.case_upc },\n { name: \"Case gtin\", value: data.case_gtin },\n { name: \"Case date code type\", value: data.case_date_code_type },\n \n ].filter(item => item.value !== \"\" && item.value !== null && !(Array.isArray(item.value) && item.value.length === 0)));\n\n setPalletConfigData([\n { name: \"Pallet length\", value: data.pallet_length },\n { name: \"Pallet width\", value: data.pallet_width },\n { name: \"Double stackable\", value: data.double_stackable },\n { name: \"Triple stackable\", value: data.triple_stackable },\n { name: \"Hi\", value: data.hi },\n { name: \"Ti\", value: data.ti },\n { name: \"Case per pallet\", value: data.case_per_pallet },\n { name: \"Total pallet weight\", value: data.total_pallet_weight },\n { name: \"Pallet height\", value: data.pallet_height },\n { name: \"Pallet per truckload\", value: data.pallet_per_truckload },\n { name: \"Weight per truckload\", value: data.weight_per_truckload },\n\n ].filter(item => item.value !== \"\" && item.value !== null && !(Array.isArray(item.value) && item.value.length === 0)));\n\n } catch (error) {\n console.error(\"Error fetching ERP data:\", error);\n }\n };\n\n if (productInfo?.erpProductData?.slug) {\n fetchERPData();\n }\n }, [productInfo]);\n\n useEffect(() => {\n if (pricesData?.delivered_price || guestUser) {\n setTimeout(() => {\n window?.dataLayer?.push({ ecommerce: null });\n window?.dataLayer?.push({\n event: \"view_item\",\n ecommerce: {\n currency: \"USD\",\n value: pricesData?.delivered_price || null,\n items: [\n {\n item_id: productInfo?.erpProductData?.id,\n item_name: productInfo?.erpProductData?.name,\n coupon: null,\n currency: \"USD\",\n discount: 0,\n index: productListInfo?.id || 0,\n item_brand: productInfo?.erpProductData?.brand_name,\n item_category: productInfo?.erpProductData?.main_category_name,\n item_category2: productInfo?.erpProductData?.sub_category_name,\n item_list_id: \"\",\n item_list_name: productInfo?.erpProductData?.sub_category_name,\n item_variant: productInfo?.erpProductData?.pack_size,\n price: pricesData?.delivered_price,\n quantity: pricesData?.quantity || null,\n },\n ],\n },\n });\n dispatch(setProductListInfo());\n }, 1000);\n }\n }, [guestUser, pricesData?.delivered_price, productInfo]);\n\n const [showCompleteProfileModal, setShowCompleteProfileModal] =\n useState(false);\n\n const checkStatus = () => {\n if (guestUser) {\n if (setShowModal) {\n setShowModal(true);\n } else {\n setShowLoginModal(true);\n }\n } else if (!customerStatus.profile_completed) {\n setShowCompleteProfileModal(true);\n } else if (!customerStatus.email_verified) {\n setShowVerifyModal(true);\n }\n };\n useEffect(() => {\n setCertificatesData(productInfo?.erpProductData?.certificates);\n }, []);\n const getCertificates = () => {\n axios\n .get(\n `/api/ERP/customer/product/${productInfo?.erpProductData?.slug}?show-non-active=1`,\n {\n headers: {\n sessionId: getCookie(\"sessionid\"),\n },\n }\n )\n .then((res) => {\n setAccessRequested(true);\n setCertificatesData(res?.data?.certificates);\n })\n .catch((e) => {\n notification.error({\n message: getText()?.General?.Messages?.SomethingWrongTryAgain,\n duration: 2,\n });\n });\n };\n useEffect(() => {\n if (accessRequested) {\n getCertificates();\n }\n }, [accessRequested]);\n return (\n \n \n

\n Details\n

\n {panels?.map((item, index) => (\n 0 ? (\n \n ) : (\n \n Locked - Sign up or complete your profile to access\n \n )\n }\n closedIcon={\n item?.header === \"Overview\" || \n (!isGuestUser && customerStatus.profile_completed && customerStatus.email_verified) ? (\n \n ) : (\n \n \n \n )\n }\n openedIcon={\n item?.header === \"Overview\" || \n (!isGuestUser && customerStatus.profile_completed && customerStatus.email_verified) ? (\n \n ) : (\n \n \n \n )\n }\n />\n ))}\n\n\n {certificatesData?.length > 0 && (\n \n {certificatesData?.map((item: any, index: number) => (\n \n
  • \n {item?.access_status === \"APPROVED\" ? (\n \n \n {item?.name}\n \n \n ) : (\n \n {\n item?.access_status == null\n ? setAccessRequested(false)\n : null;\n setSelectedLink(item);\n setShowRequestAccessModal(true);\n event.preventDefault();\n }}\n >\n {item?.name}\n \n \n )}\n
  • \n \n ))}\n \n }\n closedIcon={\n (isGuestUser ||\n !customerStatus.profile_completed ||\n !customerStatus.email_verified) &&\n !isVendor ? (\n \n \n \n ) : (\n \n )\n }\n openedIcon={\n (isGuestUser || !customerStatus.profile_completed) &&\n !isVendor ? (\n \n \n \n ) : (\n \n )\n }\n />\n )}\n {showRequestAccessModal && (\n setShowRequestAccessModal(false)}\n />\n )}\n \n {showCompleteProfileModal && (\n {\n router.push(completeProfileLink);\n }}\n onCancel={() => setShowCompleteProfileModal(false)}\n okText=\"Complete Now\"\n centered\n >\n

    {getText()?.General?.Messages?.pleaseCompleteProfile}

    \n \n )}\n setShowLoginModal(false)}\n onCancel={() => setShowLoginModal(false)}\n className={styles.Modal}\n footer={[\n {\n router?.push(\n `/?epallet_login=true&source_path=${router?.asPath?.replace(\n \"&\",\n \"__\"\n )}`\n );\n }}\n >\n {getText().General.SignIn}\n ,\n {\n setShowLoginModal(false);\n router.push(\"/\");\n }}\n >\n {getText().General.SignUp}\n ,\n ]}\n >\n

    {getText().General.Messages.signToShowInformation}

    \n \n
    \n );\n};\n\nexport default ProductDetails;\n\n","export default {\n getProducts: (state: any) => state.products\n };","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal\":\"styles_modal__iRyA7\",\"modalContent\":\"styles_modalContent__CnIWP\",\"btn\":\"styles_btn__vR2P3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"AttrName\":\"styles_AttrName__r3lat\",\"AttrVal\":\"styles_AttrVal__B1RQF\",\"AttrNameWrapper\":\"styles_AttrNameWrapper__S4mIQ\",\"AttributeWrapper\":\"styles_AttributeWrapper__u7szn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"PdpAccordion\":\"styles_PdpAccordion__whgtD\",\"DetailsTitle\":\"styles_DetailsTitle__o27JG\",\"plpDetailsSection\":\"styles_plpDetailsSection___5T5k\",\"Modal\":\"styles_Modal__7593W\",\"PdpPanel\":\"styles_PdpPanel__sclHk\",\"itemWrapper\":\"styles_itemWrapper___Mat1\",\"link\":\"styles_link__ev9Xc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dataLoader\":\"styles_dataLoader__ZUM63\",\"mainSection\":\"styles_mainSection___bJ0V\",\"haggleWrapper\":\"styles_haggleWrapper__29bCr\",\"hasHaggle\":\"styles_hasHaggle___iwXU\",\"haggleText\":\"styles_haggleText__cWh0v\",\"link\":\"styles_link__1ZA6R\",\"addToPalletBttn\":\"styles_addToPalletBttn__ssOdk\",\"fontItalic\":\"styles_fontItalic__yDTBm\",\"reportBtn\":\"styles_reportBtn__yUMw5\",\"productDetailsSection\":\"styles_productDetailsSection__Uyu4J\",\"headerButtons\":\"styles_headerButtons__EM27z\",\"headerButtonsWrapper\":\"styles_headerButtonsWrapper__KmoMq\",\"wishlistedItem\":\"styles_wishlistedItem__4fbgx\",\"haggleLink\":\"styles_haggleLink__bHLDT\",\"iconButtonWrapper\":\"styles_iconButtonWrapper__HWzaq\",\"iconStyle\":\"styles_iconStyle__o_Ej4\",\"imageContainer\":\"styles_imageContainer__gLHij\",\"productMainImage\":\"styles_productMainImage__BNS91\",\"productVideoWrapper\":\"styles_productVideoWrapper__nqi6y\",\"productVideo\":\"styles_productVideo__mL2u1\",\"CarouselVideo\":\"styles_CarouselVideo__t3fQg\",\"coolSchoolContainer\":\"styles_coolSchoolContainer__MBTXu\",\"thumpImagesCarousel\":\"styles_thumpImagesCarousel__pCkRh\",\"productThumpItem\":\"styles_productThumpItem__o227W\",\"playIconWrapper\":\"styles_playIconWrapper__qAkD5\",\"iconWrapper\":\"styles_iconWrapper__ndZsw\",\"productActiveThumb\":\"styles_productActiveThumb__NbZub\",\"detailsContainer\":\"styles_detailsContainer__V2Xq2\",\"productDetailsUpperSection\":\"styles_productDetailsUpperSection___Egqc\",\"productTags\":\"styles_productTags__zaxBe\",\"productTag\":\"styles_productTag__P9MFV\",\"borderRight\":\"styles_borderRight__6Db38\",\"leadTimeButton\":\"styles_leadTimeButton__i3dd1\",\"productDetailsBottomSection\":\"styles_productDetailsBottomSection__2qmdA\",\"productDetailsBtn\":\"styles_productDetailsBtn__m4sL0\",\"lockIcon\":\"styles_lockIcon__uxzP_\",\"productActionSection\":\"styles_productActionSection__SAMYi\",\"right-section\":\"styles_right-section__nFXYU\",\"promoTag\":\"styles_promoTag__6AApH\",\"productPricesSection\":\"styles_productPricesSection__Z35hS\",\"flagContainer\":\"styles_flagContainer__u34dO\",\"boxShadow\":\"styles_boxShadow__r0LOQ\",\"flagBlock\":\"styles_flagBlock__jSyRY\",\"fullWidth\":\"styles_fullWidth__xOssF\",\"signUpContainer\":\"styles_signUpContainer__XEfHY\",\"deliveryDetails\":\"styles_deliveryDetails__HsnFf\",\"rightAlign\":\"styles_rightAlign___t4GT\",\"leftAlign\":\"styles_leftAlign__eith1\",\"quantityContainer\":\"styles_quantityContainer__nHxsM\",\"quantityDetails\":\"styles_quantityDetails__HLwJp\",\"addMore\":\"styles_addMore__I_Yhb\",\"totalContainer\":\"styles_totalContainer__RHVkZ\",\"addToCartContainer\":\"styles_addToCartContainer__ICkJr\",\"addToCart\":\"styles_addToCart__W3K_8\",\"letUsKnow\":\"styles_letUsKnow__cA9rK\",\"mobilePriceSummerySection\":\"styles_mobilePriceSummerySection__vi50m\",\"product-unavailable\":\"styles_product-unavailable__4NGwH\",\"ant-collapse\":\"styles_ant-collapse__zvaDx\",\"active\":\"styles_active__hSrvR\",\"ant-collapse-item\":\"styles_ant-collapse-item__DdfmN\",\"ant-collapse-header-text\":\"styles_ant-collapse-header-text__e_VtP\",\"ant-collapse-item-disabled\":\"styles_ant-collapse-item-disabled__qxAmV\",\"ant-collapse-header\":\"styles_ant-collapse-header__zbTfZ\",\"ant-tooltip-inner\":\"styles_ant-tooltip-inner__QgJ7K\",\"productSizesWrapper\":\"styles_productSizesWrapper__Wo5Yh\",\"productInformation\":\"styles_productInformation__oUZvw\",\"productDetailsText\":\"styles_productDetailsText__9C8zd\",\"bottomSectionTitle\":\"styles_bottomSectionTitle__rS139\",\"downloadSpecSheetBtn\":\"styles_downloadSpecSheetBtn__o5wDj\",\"compareBtn\":\"styles_compareBtn__wDFoQ\",\"deliveredPriceTitle\":\"styles_deliveredPriceTitle__30OMu\",\"pricesDetails\":\"styles_pricesDetails__VdZJ4\",\"mobileTotalContaner\":\"styles_mobileTotalContaner__4dRuU\",\"MobileAddToCartSection\":\"styles_MobileAddToCartSection__ZDeRN\",\"ant-carousel\":\"styles_ant-carousel__92pQO\",\"slick-prev\":\"styles_slick-prev__0lKLU\",\"slick-next\":\"styles_slick-next__Koap0\",\"addToPallet\":\"styles_addToPallet__z9SUq\",\"videoPlayModal\":\"styles_videoPlayModal__lGRpG\",\"baseValue\":\"styles_baseValue__YZsZo\",\"priceValueItem\":\"styles_priceValueItem__QRheB\"};","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[1734],{\n\n/***/ 96760:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"Z\": function() { return /* binding */ ProductBuyBox_ProductDetailsLeftSection; }\n});\n\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(85893);\n// EXTERNAL MODULE: ./src/pages/product/styles.module.scss\nvar styles_module = __webpack_require__(41687);\nvar styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module);\n// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js\nvar col = __webpack_require__(15746);\n// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js\nvar row = __webpack_require__(71230);\n// EXTERNAL MODULE: ./node_modules/antd/es/image/index.js + 20 modules\nvar es_image = __webpack_require__(6343);\n// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules\nvar tooltip = __webpack_require__(83062);\n// EXTERNAL MODULE: ./node_modules/next/link.js\nvar next_link = __webpack_require__(41664);\nvar link_default = /*#__PURE__*/__webpack_require__.n(next_link);\n// EXTERNAL MODULE: ./src/components/shared/Button/index.tsx\nvar Button = __webpack_require__(5172);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_to_consumable_array.mjs + 2 modules\nvar _to_consumable_array = __webpack_require__(29815);\n// EXTERNAL MODULE: ./node_modules/antd/es/carousel/index.js + 10 modules\nvar carousel = __webpack_require__(91978);\n// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 9 modules\nvar modal = __webpack_require__(64187);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(67294);\n// EXTERNAL MODULE: ./node_modules/react-medium-image-zoom/dist/index.js\nvar dist = __webpack_require__(89378);\n// EXTERNAL MODULE: ./node_modules/react-medium-image-zoom/dist/styles.css\nvar styles = __webpack_require__(91597);\n// EXTERNAL MODULE: ./src/components/shared/Icon/index.tsx\nvar Icon = __webpack_require__(81394);\n// EXTERNAL MODULE: ./src/utilities/hooks/useWindowResize.js\nvar useWindowResize = __webpack_require__(53547);\n// EXTERNAL MODULE: ./node_modules/next/router.js\nvar next_router = __webpack_require__(11163);\n// EXTERNAL MODULE: ./src/libs/resources/index.js + 1 modules\nvar resources = __webpack_require__(41090);\n;// CONCATENATED MODULE: ./src/components/views/ProductDetailsPage/ProductBuyBox/ProductImagesSection.tsx\n\n\n\n\n\n\n\n\n\n\n\n\nvar ProductImagesSection = function(param) {\n var productInfo = param.productInfo;\n var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, ref10, ref11, ref12, ref13, ref14, ref15, ref16, ref17;\n var emptyCoolSchoolImage = \"https://22338452.fs1.hubspotusercontent-na1.net/hubfs/22338452/images_storefront/cool_box_empty.jpg\";\n var emptyProductImage = \"https://22338452.fs1.hubspotusercontent-na1.net/hubfs/22338452/images_storefront/box-empty-white.png\";\n var mainCarousel = (0,react.useRef)(null);\n var ref18 = (0,react.useState)(0), currentIndex = ref18[0], setCurrentIndex = ref18[1];\n var ref19 = (0,react.useState)(false), playVideoModal = ref19[0], setPlayVideoModal = ref19[1];\n var ref20 = (0,react.useState)(), selectedVideo = ref20[0], setSelectedVideo = ref20[1];\n var windowWidth = (0,useWindowResize/* useWindowResize */.w)();\n var goToSlide = function(index, thump) {\n if (thump === null || thump === void 0 ? void 0 : thump.file) {\n setPlayVideoModal(true);\n setSelectedVideo(thump);\n } else {\n mainCarousel === null || mainCarousel === void 0 ? void 0 : mainCarousel.current.goTo(index);\n setCurrentIndex(index);\n }\n };\n var router = (0,next_router.useRouter)();\n (0,react.useEffect)(function() {\n playVideoModal ? document.body.style.overflow = \"hidden\" : document.body.style.overflow = \"auto\";\n }, [\n playVideoModal\n ]);\n var ref21 = (0,react.useState)(), productThumps = ref21[0], setProductThumps = ref21[1];\n (0,react.useEffect)(function() {\n var ref, ref1;\n var thumpsArray = (0,_to_consumable_array/* default */.Z)(productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.images).concat((0,_to_consumable_array/* default */.Z)(productInfo === null || productInfo === void 0 ? void 0 : (ref1 = productInfo.erpProductData) === null || ref1 === void 0 ? void 0 : ref1.videos));\n setProductThumps(thumpsArray);\n }, [\n router\n ]);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n xs: {\n span: 24\n },\n sm: {\n span: 24\n },\n md: {\n span: 24\n },\n lg: {\n span: 10\n },\n xl: {\n span: 9\n },\n className: \"\".concat((styles_module_default()).imageContainer, \" ps-4\"),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"\".concat((styles_module_default()).productMainImage),\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(carousel/* default */.Z, {\n arrows: true,\n slidesToShow: 1,\n slidesToScroll: 1,\n variableWidth: false,\n dots: false,\n infinite: false,\n draggable: true,\n ref: mainCarousel,\n beforeChange: function(current, next) {\n return setCurrentIndex(next);\n },\n children: [\n productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : (ref1 = ref.images) === null || ref1 === void 0 ? void 0 : ref1.map(function(thump, index) {\n var ref;\n return !(thump === null || thump === void 0 ? void 0 : thump.file) && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(dist/* default */.Z, {\n ZoomContent: CustomZoomContent,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"img\", {\n alt: productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.name,\n src: thump === null || thump === void 0 ? void 0 : thump.big_thumbnail\n })\n })\n }, index);\n }),\n (productInfo === null || productInfo === void 0 ? void 0 : (ref2 = productInfo.erpProductData) === null || ref2 === void 0 ? void 0 : (ref3 = ref2.images) === null || ref3 === void 0 ? void 0 : ref3.length) === 0 && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(dist/* default */.Z, {\n ZoomContent: CustomZoomContent,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"img\", {\n alt: \"box-empty-white\",\n src: (productInfo === null || productInfo === void 0 ? void 0 : (ref4 = productInfo.erpProductData) === null || ref4 === void 0 ? void 0 : ref4.cool_school_point_eligible) ? emptyCoolSchoolImage : emptyProductImage\n })\n })\n }),\n (productInfo === null || productInfo === void 0 ? void 0 : (ref5 = productInfo.erpProductData) === null || ref5 === void 0 ? void 0 : ref5.cool_school_point_eligible) && /*#__PURE__*/ (0,jsx_runtime.jsx)((link_default()), {\n href: \"https://www.coolschoolcafe.com/index\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"a\", {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"\".concat((styles_module_default()).coolSchoolContainer, \" px-4 py-4 \"),\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-regular-base px-16\",\n children: (ref6 = (0,resources/* getText */.Q)()) === null || ref6 === void 0 ? void 0 : (ref7 = ref6.PDP) === null || ref7 === void 0 ? void 0 : (ref8 = ref7.messages) === null || ref8 === void 0 ? void 0 : ref8.CoolSchoolMessage\n })\n }, (productThumps === null || productThumps === void 0 ? void 0 : productThumps.length) + 2)\n })\n }),\n productInfo === null || productInfo === void 0 ? void 0 : (ref9 = productInfo.erpProductData) === null || ref9 === void 0 ? void 0 : (ref10 = ref9.videos) === null || ref10 === void 0 ? void 0 : ref10.map(function(video, index) {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: (styles_module_default()).CarouselVideo,\n onClick: function() {\n return goToSlide(index, video);\n },\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: (styles_module_default()).playIconWrapper,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: (styles_module_default()).iconWrapper,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"play-icon\",\n width: 24,\n height: 24\n })\n })\n })\n })\n }, index);\n })\n ]\n })\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: (styles_module_default()).thumpImagesCarousel,\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(carousel/* default */.Z, {\n arrows: true,\n slidesToShow: 3.2,\n slidesToScroll: 1,\n variableWidth: false,\n dots: false,\n infinite: false,\n draggable: true,\n children: [\n (productInfo === null || productInfo === void 0 ? void 0 : (ref11 = productInfo.erpProductData) === null || ref11 === void 0 ? void 0 : (ref12 = ref11.images) === null || ref12 === void 0 ? void 0 : ref12.length) === 0 && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n onClick: function() {\n return goToSlide(0, null);\n },\n className: \"\".concat((styles_module_default()).productThumpItem, \" \").concat(currentIndex === 0 ? (styles_module_default()).productActiveThumb : \"\"),\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(es_image/* default */.Z, {\n src: (productInfo === null || productInfo === void 0 ? void 0 : (ref13 = productInfo.erpProductData) === null || ref13 === void 0 ? void 0 : ref13.cool_school_point_eligible) ? emptyCoolSchoolImage : emptyProductImage,\n preview: false,\n alt: \"box-empty-white\"\n }, \"box-empty-white\")\n }, \"box-empty-white\"),\n productThumps === null || productThumps === void 0 ? void 0 : productThumps.map(function(thump, index) {\n var ref, ref1, ref2;\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n onClick: function() {\n var ref, ref1;\n return goToSlide((productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : (ref1 = ref.images) === null || ref1 === void 0 ? void 0 : ref1.length) === 0 ? index + 1 : index, thump);\n },\n className: \"\".concat((styles_module_default()).productThumpItem, \" \").concat(((productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : (ref1 = ref.images) === null || ref1 === void 0 ? void 0 : ref1.length) === 0 ? index + 1 : index) === currentIndex ? (styles_module_default()).productActiveThumb : \"\"),\n children: (thump === null || thump === void 0 ? void 0 : thump.file) ? /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: (styles_module_default()).playIconWrapper,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: (styles_module_default()).iconWrapper,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"play-icon\",\n width: 11,\n height: 11\n })\n })\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)(es_image/* default */.Z, {\n src: thump === null || thump === void 0 ? void 0 : thump.thumbnail,\n preview: false,\n alt: productInfo === null || productInfo === void 0 ? void 0 : (ref2 = productInfo.erpProductData) === null || ref2 === void 0 ? void 0 : ref2.name\n }, thump)\n }, thump === null || thump === void 0 ? void 0 : thump.thumbnail);\n }),\n (productInfo === null || productInfo === void 0 ? void 0 : (ref14 = productInfo.erpProductData) === null || ref14 === void 0 ? void 0 : ref14.cool_school_point_eligible) && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"\".concat((styles_module_default()).productThumpItem, \" \").concat(((productInfo === null || productInfo === void 0 ? void 0 : (ref15 = productInfo.erpProductData) === null || ref15 === void 0 ? void 0 : (ref16 = ref15.images) === null || ref16 === void 0 ? void 0 : ref16.length) === 0 ? (productThumps === null || productThumps === void 0 ? void 0 : productThumps.length) + 1 : productThumps === null || productThumps === void 0 ? void 0 : productThumps.length) === currentIndex ? (styles_module_default()).productActiveThumb : \"\"),\n onClick: function() {\n return goToSlide((productThumps === null || productThumps === void 0 ? void 0 : productThumps.length) ? productThumps === null || productThumps === void 0 ? void 0 : productThumps.length : 1, null);\n },\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(es_image/* default */.Z, {\n src: \"https://22338452.fs1.hubspotusercontent-na1.net/hubfs/22338452/images_storefront/cool_school.png\",\n preview: false,\n alt: productInfo === null || productInfo === void 0 ? void 0 : (ref17 = productInfo.erpProductData) === null || ref17 === void 0 ? void 0 : ref17.name\n })\n }, \"cool_school_point_eligible\")\n ]\n })\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(modal/* default */.Z, {\n className: \"bg-transparent p-0 \".concat((styles_module_default()).videoPlayModal),\n open: playVideoModal,\n onCancel: function() {\n return setPlayVideoModal(false);\n },\n footer: false,\n closable: true,\n centered: true,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"video\", {\n src: (selectedVideo === null || selectedVideo === void 0 ? void 0 : selectedVideo.file) + \"#t=0.001\",\n controls: true,\n width: windowWidth <= 576 ? 270 : \"\",\n height: windowWidth <= 576 ? 200 : \"\"\n })\n })\n ]\n });\n};\n/* harmony default export */ var ProductBuyBox_ProductImagesSection = (ProductImagesSection);\nvar CustomZoomContent = function(param) {\n var buttonUnzoom = param.buttonUnzoom, modalState = param.modalState, img = param.img;\n (0,react.useLayoutEffect)(function() {\n if (modalState === \"LOADED\") {\n var overlay = document.getElementById(\"zoomingOverlay\");\n overlay.style.touchAction = \"none\";\n }\n }, [\n modalState\n ]);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n id: \"zoomingOverlay\",\n className: \"bg-oxfordBlue\",\n children: [\n buttonUnzoom,\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"figure\", {\n children: img\n })\n ]\n });\n};\n\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_async_to_generator.mjs\nvar _async_to_generator = __webpack_require__(47568);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread.mjs\nvar _object_spread = __webpack_require__(26042);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread_props.mjs\nvar _object_spread_props = __webpack_require__(69396);\n// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.mjs\nvar tslib_es6 = __webpack_require__(97582);\n// EXTERNAL MODULE: ./node_modules/antd/es/notification/index.js + 5 modules\nvar notification = __webpack_require__(54689);\n// EXTERNAL MODULE: ./src/components/shared/Tag/index.tsx\nvar Tag = __webpack_require__(79256);\n;// CONCATENATED MODULE: ./public/assets/icons/lock.svg\nvar _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar SvgLock = function SvgLock(props) {\n return /*#__PURE__*/react.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/react.createElement(\"path\", {\n d: \"M18.327 10.223H17.32c-.13 0-.259-.096-.259-.24V7.784c0-2.534-2.117-4.686-4.855-4.78-2.867-.097-5.243 2.031-5.243 4.685v2.318a.25.25 0 0 1-.258.24H5.697c-.387 0-.697.286-.697.645v8.463c0 .358.31.645.697.645h12.604c.388 0 .698-.287.698-.645v-8.487c.025-.359-.285-.646-.672-.646ZM8.538 7.688c0-1.84 1.653-3.322 3.668-3.227 1.885.096 3.332 1.578 3.332 3.323v2.223a.25.25 0 0 1-.259.24H8.771c-.13 0-.259-.096-.259-.24V7.688h.026Z\",\n fill: \"#02254A\"\n })));\n};\n/* harmony default export */ var lock = (SvgLock);\n// EXTERNAL MODULE: ./src/libs/context/index.js\nvar context = __webpack_require__(58218);\n// EXTERNAL MODULE: ./src/components/shared/Header/Navbar/LoginModal/index.tsx\nvar LoginModal = __webpack_require__(45936);\n// EXTERNAL MODULE: ./node_modules/cookies-next/lib/index.js\nvar lib = __webpack_require__(47041);\n// EXTERNAL MODULE: ./node_modules/classnames/index.js\nvar classnames = __webpack_require__(93967);\nvar classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);\n// EXTERNAL MODULE: ./src/libs/context/pdp/index.js\nvar pdp = __webpack_require__(73411);\n// EXTERNAL MODULE: ./src/server/utils/client.ts\nvar utils_client = __webpack_require__(9343);\n// EXTERNAL MODULE: ./node_modules/react-redux/es/index.js + 13 modules\nvar es = __webpack_require__(9473);\n// EXTERNAL MODULE: ./src/modules/MixedPallet/selector.ts\nvar selector = __webpack_require__(39927);\n// EXTERNAL MODULE: ./src/libs/utils/useTypedSelector/index.ts\nvar useTypedSelector = __webpack_require__(24748);\n// EXTERNAL MODULE: ./src/libs/utils/mixedPallet.ts\nvar mixedPallet = __webpack_require__(3992);\n// EXTERNAL MODULE: ./src/libs/context/mixedPallet/index.js\nvar context_mixedPallet = __webpack_require__(58027);\n// EXTERNAL MODULE: ./src/utilities/hooks/useCompareProducts.ts\nvar useCompareProducts = __webpack_require__(58515);\n;// CONCATENATED MODULE: ./src/components/views/ProductDetailsPage/ProductBuyBox/ProductDetailsSection.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ProductDetailsSection = function(param) {\n var productInfo = param.productInfo, pricesData = param.pricesData, isGuestUser = param.isGuestUser;\n var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, ref10, ref11, ref12, ref13, ref14, ref15, ref16, ref17, ref18;\n var ref19 = (0,react.useContext)(context/* AppContext */.I), setShowProductCompare = ref19.setShowProductCompare, guestUser = ref19.guestUser, compareProductsSku = ref19.compareProductsSku, setCompareProductsSku = ref19.setCompareProductsSku, customerStatus = ref19.customerStatus, defaultPostZip = ref19.defaultPostZip, setShowVerifyModal = ref19.setShowVerifyModal, completeProfileLink = ref19.completeProfileLink, isVendor = ref19.isVendor;\n var client = (0,utils_client/* default */.Z)({});\n var setShowModal = (0,react.useContext)(pdp/* PdpContext */.Q).setShowModal;\n var tooltipStyle = {\n fontSize: \"12px\",\n borderRadius: \"15px\",\n padding: \"10px\"\n };\n var TooltipConfigs = {\n title: isGuestUser ? \"Sign up for ePallet to see additional information\" : !customerStatus.profile_completed ? \"Complete your profile to see the lead times\" : !customerStatus.email_verified && \"Verify your email to see the lead times\",\n showArrow: false,\n arrow: true,\n color: \"#333\",\n overlayInnerStyle: tooltipStyle,\n overlayStyle: {\n paddingBottom: \"0\"\n }\n };\n var ref20 = (0,react.useState)([\n \"fat_free\",\n \"gluten_free\",\n \"halal\",\n \"kosher\",\n \"low_fat\",\n \"non_gmo\",\n \"organic\",\n \"vegan\", \n ]), productTags = ref20[0];\n var dispatch = (0,es/* useDispatch */.I0)();\n var ref21 = (0,react.useContext)(context_mixedPallet/* MixedPalletContext */.S), sortByVal = ref21.sortByVal, searchVal = ref21.searchVal, setPalletId = ref21.setPalletId, palletId = ref21.palletId;\n var ref22 = (0,useTypedSelector/* useTypedSelector */.i)(selector/* default.getMixedPallet */.Z.getMixedPallet), palletName = ref22.palletName, appliedPalletFilters = ref22.appliedPalletFilters, vendorProducts = ref22.vendorProducts, vendorId = ref22.vendorId, vendorName = ref22.vendorName, sku = ref22.sku, viewDetails = ref22.viewDetails, offset = ref22.offset;\n var ref23 = (0,react.useState)(), leadTimeValue = ref23[0], setLeadTimeValue = ref23[1];\n //TODO: In the refactor, we need to change from SKU to slug, since in the new API we are using slug, but we can't change the name since that would be a breaking change, so we need to change the name in the refactor in the future.\n //const [productSku] = useState(productInfo?.erpProductData?.slug);\n var ref24 = (0,react.useState)(productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.id), productSku = ref24[0];\n (0,react.useEffect)(function() {\n var ref;\n var leadTimeAtt = pricesData === null || pricesData === void 0 ? void 0 : (ref = pricesData[0]) === null || ref === void 0 ? void 0 : ref.lead_time_days;\n setLeadTimeValue(leadTimeAtt);\n }, []);\n var compareProductHandler = (0,useCompareProducts/* default */.Z)().compareProductHandler;\n var setProductsToCompare = function(productSku) {\n compareProductHandler(undefined, productSku, guestUser);\n };\n var router = (0,next_router.useRouter)();\n var isMixedPallet = router.pathname.includes(\"mixed-pallet-vendor\");\n var ref25 = (0,react.useState)(false), showCompleteProfileModal = ref25[0], setShowCompleteProfileModal = ref25[1];\n var addItemToPallet = function() {\n var _ref = (0,_async_to_generator/* default */.Z)(function() {\n var _url;\n return (0,tslib_es6.__generator)(this, function(_state) {\n switch(_state.label){\n case 0:\n dispatch((0,mixedPallet/* setLoading */.K4)(true));\n if (!(palletId == null)) return [\n 3,\n 2\n ];\n _url = \"/api/ERP/customer/mixedPallet\";\n if (defaultPostZip) {\n _url += \"?post_zip=\".concat(defaultPostZip);\n }\n return [\n 4,\n client.basic.post(_url, {\n data: {\n product: productSku,\n case_quantity: null\n },\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function() {\n var _ref = (0,_async_to_generator/* default */.Z)(function(res) {\n var ref, ref1, ref2, ref3, ref4, ref5, ref6, _palletURL;\n return (0,tslib_es6.__generator)(this, function(_state) {\n switch(_state.label){\n case 0:\n dispatch((0,mixedPallet/* setPalletItems */.qH)(res === null || res === void 0 ? void 0 : (ref = res.data) === null || ref === void 0 ? void 0 : ref.products));\n dispatch((0,mixedPallet/* setPalletLoadedProgress */.Xw)(res === null || res === void 0 ? void 0 : (ref1 = res.data) === null || ref1 === void 0 ? void 0 : ref1.pallet_load_percents));\n setPalletId(res === null || res === void 0 ? void 0 : (ref2 = res.data) === null || ref2 === void 0 ? void 0 : ref2.id);\n dispatch((0,mixedPallet/* setIsLoaded */.lp)(res === null || res === void 0 ? void 0 : (ref3 = res.data) === null || ref3 === void 0 ? void 0 : ref3.is_loaded));\n router.query.pallet = res === null || res === void 0 ? void 0 : (ref4 = res.data) === null || ref4 === void 0 ? void 0 : ref4.id;\n router.push(router, undefined, {\n shallow: true\n });\n if (!(palletName === \"\")) return [\n 3,\n 2\n ];\n return [\n 4,\n client.basic.post(\"api/ERP/customer/mixedPallet/\".concat(res === null || res === void 0 ? void 0 : (ref6 = res.data) === null || ref6 === void 0 ? void 0 : ref6.id, \"/changeName\"), {\n data: {\n name: \"\".concat(vendorName, \" Mixed Pallet\")\n },\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function(res) {\n var ref;\n dispatch((0,mixedPallet/* setPalletName */.jq)(res === null || res === void 0 ? void 0 : (ref = res.data) === null || ref === void 0 ? void 0 : ref.name));\n }).catch(function(e) {})\n ];\n case 1:\n _state.sent();\n _state.label = 2;\n case 2:\n _palletURL = \"api/ERP/customer/mixedPallet/\".concat(res === null || res === void 0 ? void 0 : (ref5 = res.data) === null || ref5 === void 0 ? void 0 : ref5.id);\n if (defaultPostZip) {\n _palletURL += \"?post_zip=\".concat(defaultPostZip);\n }\n return [\n 4,\n client.basic.get(_palletURL, {\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(/*#__PURE__*/ (0,_async_to_generator/* default */.Z)(function() {\n var ref, url, searchQuery, ref1, ref2, filters;\n return (0,tslib_es6.__generator)(this, function(_state) {\n switch(_state.label){\n case 0:\n url = \"api/ERP/customer/mixedPalletProducts?\".concat(!guestUser ? \"status=true&\" : \"\", \"limit=6&vendor=\").concat(vendorId, \"&ordering=\").concat(sortByVal, \"&pallet=\").concat(res === null || res === void 0 ? void 0 : (ref = res.data) === null || ref === void 0 ? void 0 : ref.id);\n if (defaultPostZip) {\n url += \"&post_zip=\".concat(defaultPostZip);\n }\n searchQuery = router.query[\"search\"];\n if (searchVal && searchVal !== \"\" && searchQuery && searchQuery !== \"\") {\n url += \"&search=\".concat(searchVal);\n }\n if (offset > 0) {\n url += \"&limit=6&offset=\".concat(0);\n } else {\n url += \"&limit=6&offset=\".concat(offset);\n }\n if (appliedPalletFilters && appliedPalletFilters.length > 0) {\n ;\n filters = [];\n appliedPalletFilters === null || appliedPalletFilters === void 0 ? void 0 : appliedPalletFilters.map(function(item) {\n if (filters && filters.length > 0 && filters.find(function(f) {\n var ref;\n return f.name === (item === null || item === void 0 ? void 0 : (ref = item.filter) === null || ref === void 0 ? void 0 : ref.name);\n })) {\n var ref;\n filters.find(function(f) {\n var ref;\n return f.name === (item === null || item === void 0 ? void 0 : (ref = item.filter) === null || ref === void 0 ? void 0 : ref.name);\n }).ids.push(item === null || item === void 0 ? void 0 : (ref = item.filter) === null || ref === void 0 ? void 0 : ref.id);\n } else {\n var ref1, ref2;\n filters.push({\n name: item === null || item === void 0 ? void 0 : (ref1 = item.filter) === null || ref1 === void 0 ? void 0 : ref1.name,\n ids: [\n (ref2 = item.filter) === null || ref2 === void 0 ? void 0 : ref2.id\n ]\n });\n }\n });\n (ref1 = router.query) === null || ref1 === void 0 ? void 0 : delete ref1.category;\n (ref2 = router.query) === null || ref2 === void 0 ? void 0 : delete ref2.pack;\n filters === null || filters === void 0 ? void 0 : filters.map(function(f) {\n var ref;\n url += \"&\".concat(f === null || f === void 0 ? void 0 : f.name, \"=\").concat(f === null || f === void 0 ? void 0 : (ref = f.ids) === null || ref === void 0 ? void 0 : ref.toString());\n router.query[f === null || f === void 0 ? void 0 : f.name] = f === null || f === void 0 ? void 0 : f.ids;\n });\n router.push(router, undefined, {\n shallow: true\n });\n }\n return [\n 4,\n client.basic.get(url, {\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function(res) {\n var ref, ref1, ref2, ref3;\n var products = [];\n res === null || res === void 0 ? void 0 : (ref = res.data) === null || ref === void 0 ? void 0 : (ref1 = ref.results) === null || ref1 === void 0 ? void 0 : ref1.map(function(result) {\n products.push(result === null || result === void 0 ? void 0 : result.product);\n });\n dispatch((0,mixedPallet/* setVendorProducts */.Ip)(res === null || res === void 0 ? void 0 : (ref2 = res.data) === null || ref2 === void 0 ? void 0 : ref2.results));\n dispatch((0,mixedPallet/* setVendorProductsCount */.nY)(res === null || res === void 0 ? void 0 : (ref3 = res.data) === null || ref3 === void 0 ? void 0 : ref3.count));\n notification/* default.success */.Z.success({\n message: (0,resources/* getText */.Q)().PDP.messages.productAddedToPallet,\n duration: 3\n });\n }).catch(function(e) {\n console.error(e);\n })\n ];\n case 1:\n _state.sent();\n dispatch((0,mixedPallet/* setLoading */.K4)(false));\n return [\n 2\n ];\n }\n });\n }))\n ];\n case 3:\n _state.sent();\n return [\n 2\n ];\n }\n });\n });\n return function(res) {\n return _ref.apply(this, arguments);\n };\n }()).catch(function(e) {\n dispatch((0,mixedPallet/* setLoading */.K4)(false));\n })\n ];\n case 1:\n _state.sent();\n return [\n 3,\n 4\n ];\n case 2:\n return [\n 4,\n client.basic.post(\"api/ERP/customer/mixedPallet/\".concat(palletId, \"/setProductQuantity\"), {\n data: {\n product: productSku,\n case_quantity: null\n },\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function() {\n var _ref = (0,_async_to_generator/* default */.Z)(function(res) {\n var _url;\n return (0,tslib_es6.__generator)(this, function(_state) {\n switch(_state.label){\n case 0:\n _url = \"api/ERP/customer/mixedPallet/\".concat(palletId);\n if (defaultPostZip) {\n _url += \"?post_zip=\".concat(defaultPostZip);\n }\n return [\n 4,\n client.basic.get(_url, {\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function() {\n var _ref = (0,_async_to_generator/* default */.Z)(function(res) {\n var ref, ref1, ref2, ref3, ref4, url, searchQuery, ref5, ref6, filters;\n return (0,tslib_es6.__generator)(this, function(_state) {\n switch(_state.label){\n case 0:\n dispatch((0,mixedPallet/* setPalletItems */.qH)(res === null || res === void 0 ? void 0 : (ref = res.data) === null || ref === void 0 ? void 0 : ref.products));\n dispatch((0,mixedPallet/* setPalletLoadedProgress */.Xw)(res === null || res === void 0 ? void 0 : (ref1 = res.data) === null || ref1 === void 0 ? void 0 : ref1.pallet_load_percents));\n dispatch((0,mixedPallet/* setPalletName */.jq)(res === null || res === void 0 ? void 0 : (ref2 = res.data) === null || ref2 === void 0 ? void 0 : ref2.name));\n dispatch((0,mixedPallet/* setIsLoaded */.lp)(res === null || res === void 0 ? void 0 : (ref3 = res.data) === null || ref3 === void 0 ? void 0 : ref3.is_loaded));\n url = \"api/ERP/customer/mixedPalletProducts?\".concat(!guestUser ? \"status=true&\" : \"\", \"limit=6&vendor=\").concat(vendorId, \"&ordering=\").concat(sortByVal, \"&pallet=\").concat(res === null || res === void 0 ? void 0 : (ref4 = res.data) === null || ref4 === void 0 ? void 0 : ref4.id);\n if (defaultPostZip) {\n url += \"&post_zip=\".concat(defaultPostZip);\n }\n searchQuery = router.query[\"search\"];\n if (searchVal && searchVal !== \"\" && searchQuery && searchQuery !== \"\") {\n url += \"&search=\".concat(searchVal);\n }\n if (offset > 0) {\n url += \"&limit=6&offset=\".concat(0);\n } else {\n url += \"&limit=6&offset=\".concat(offset);\n }\n if (appliedPalletFilters && appliedPalletFilters.length > 0) {\n ;\n filters = [];\n appliedPalletFilters === null || appliedPalletFilters === void 0 ? void 0 : appliedPalletFilters.map(function(item) {\n if (filters && filters.length > 0 && filters.find(function(f) {\n var ref;\n return f.name === (item === null || item === void 0 ? void 0 : (ref = item.filter) === null || ref === void 0 ? void 0 : ref.name);\n })) {\n var ref;\n filters.find(function(f) {\n var ref;\n return f.name === (item === null || item === void 0 ? void 0 : (ref = item.filter) === null || ref === void 0 ? void 0 : ref.name);\n }).ids.push(item === null || item === void 0 ? void 0 : (ref = item.filter) === null || ref === void 0 ? void 0 : ref.id);\n } else {\n var ref1, ref2;\n filters.push({\n name: item === null || item === void 0 ? void 0 : (ref1 = item.filter) === null || ref1 === void 0 ? void 0 : ref1.name,\n ids: [\n (ref2 = item.filter) === null || ref2 === void 0 ? void 0 : ref2.id\n ]\n });\n }\n });\n (ref5 = router.query) === null || ref5 === void 0 ? void 0 : delete ref5.category;\n (ref6 = router.query) === null || ref6 === void 0 ? void 0 : delete ref6.pack;\n filters === null || filters === void 0 ? void 0 : filters.map(function(f) {\n var ref;\n url += \"&\".concat(f === null || f === void 0 ? void 0 : f.name, \"=\").concat(f === null || f === void 0 ? void 0 : (ref = f.ids) === null || ref === void 0 ? void 0 : ref.toString());\n router.query[f === null || f === void 0 ? void 0 : f.name] = f === null || f === void 0 ? void 0 : f.ids;\n });\n router.push(router, undefined, {\n shallow: true\n });\n }\n return [\n 4,\n client.basic.get(url, {\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function(res) {\n var ref, ref1, ref2, ref3;\n var products = [];\n res === null || res === void 0 ? void 0 : (ref = res.data) === null || ref === void 0 ? void 0 : (ref1 = ref.results) === null || ref1 === void 0 ? void 0 : ref1.map(function(result) {\n products.push(result === null || result === void 0 ? void 0 : result.product);\n });\n dispatch((0,mixedPallet/* setVendorProducts */.Ip)(res === null || res === void 0 ? void 0 : (ref2 = res.data) === null || ref2 === void 0 ? void 0 : ref2.results));\n dispatch((0,mixedPallet/* setVendorProductsCount */.nY)(res === null || res === void 0 ? void 0 : (ref3 = res.data) === null || ref3 === void 0 ? void 0 : ref3.count));\n notification/* default.success */.Z.success({\n message: (0,resources/* getText */.Q)().PDP.messages.productAddedToPallet,\n duration: 3\n });\n }).catch(function(e) {\n console.error(e);\n })\n ];\n case 1:\n _state.sent();\n dispatch((0,mixedPallet/* setLoading */.K4)(false));\n return [\n 2\n ];\n }\n });\n });\n return function(res) {\n return _ref.apply(this, arguments);\n };\n }()).catch(function(e) {\n dispatch((0,mixedPallet/* setLoading */.K4)(false));\n })\n ];\n case 1:\n _state.sent();\n return [\n 2\n ];\n }\n });\n });\n return function(res) {\n return _ref.apply(this, arguments);\n };\n }()).catch(function(e) {\n dispatch((0,mixedPallet/* setLoading */.K4)(false));\n })\n ];\n case 3:\n _state.sent();\n _state.label = 4;\n case 4:\n return [\n 2\n ];\n }\n });\n });\n return function addItemToPallet() {\n return _ref.apply(this, arguments);\n };\n }();\n var downloadSpecSheet = function() {\n var _ref = (0,_async_to_generator/* default */.Z)(function() {\n var ref, ref1, ref2, ref3, ref4;\n return (0,tslib_es6.__generator)(this, function(_state) {\n try {\n ;\n client.basic.get(\"/api/ERP/customer/product/pdf?slug=\".concat(productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.slug), {\n headers: {\n sessionId: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function(response) {\n var ref;\n window.open(response === null || response === void 0 ? void 0 : (ref = response.data) === null || ref === void 0 ? void 0 : ref.url, \"_blank\");\n }).catch(function(e) {\n var ref;\n if ((e === null || e === void 0 ? void 0 : (ref = e.response) === null || ref === void 0 ? void 0 : ref.status) === 403) console.log(e);\n else {\n var ref1, ref2, ref3;\n notification/* default.error */.Z.error({\n message: (ref1 = (0,resources/* getText */.Q)()) === null || ref1 === void 0 ? void 0 : (ref2 = ref1.General) === null || ref2 === void 0 ? void 0 : (ref3 = ref2.Messages) === null || ref3 === void 0 ? void 0 : ref3.SomethingWrongTryAgain,\n duration: 4\n });\n }\n });\n } catch (e) {\n ;\n if ((e === null || e === void 0 ? void 0 : (ref1 = e.response) === null || ref1 === void 0 ? void 0 : ref1.status) === 403) console.log(e);\n else {\n ;\n notification/* default.error */.Z.error({\n message: (ref2 = (0,resources/* getText */.Q)()) === null || ref2 === void 0 ? void 0 : (ref3 = ref2.General) === null || ref3 === void 0 ? void 0 : (ref4 = ref3.Messages) === null || ref4 === void 0 ? void 0 : ref4.SomethingWrongTryAgain,\n duration: 4\n });\n }\n }\n return [\n 2\n ];\n });\n });\n return function downloadSpecSheet() {\n return _ref.apply(this, arguments);\n };\n }();\n var lockIcon = function() {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"lock\",\n classesName: (styles_module_default()).lockIcon\n });\n };\n var ref26 = (0,react.useState)(false), isAddToPalletDisabled = ref26[0], setIsAddToPalletDisabled = ref26[1];\n (0,react.useEffect)(function() {\n if (vendorProducts && vendorProducts.length > 0) {\n var ref;\n var item = (ref = vendorProducts.filter(function(item) {\n var ref;\n return (item === null || item === void 0 ? void 0 : (ref = item.product) === null || ref === void 0 ? void 0 : ref.id) === sku;\n })) === null || ref === void 0 ? void 0 : ref[0];\n if ((item === null || item === void 0 ? void 0 : item.max_case_quantity) - (item === null || item === void 0 ? void 0 : item.case_quantity) < (item === null || item === void 0 ? void 0 : item.ti)) {\n setIsAddToPalletDisabled(true);\n } else {\n setIsAddToPalletDisabled(false);\n }\n }\n }, [\n vendorProducts\n ]);\n var checkStatus = function() {\n if (guestUser) {\n setShowModal(true);\n } else if (!customerStatus.profile_completed) {\n setShowCompleteProfileModal(true);\n } else if (!customerStatus.email_verified) {\n setShowVerifyModal(true);\n }\n };\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n xs: {\n span: 24\n },\n sm: {\n span: 24\n },\n md: {\n span: 24\n },\n lg: {\n span: 14\n },\n xl: {\n span: 15\n },\n className: \"ps-10 pe-10 mb-25 \".concat((styles_module_default()).detailsContainer),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n className: (styles_module_default()).productDetailsUpperSection,\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n span: 24,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n style: {\n cursor: \"pointer\"\n },\n className: \"font-bold-xs text-primary\",\n onClick: function() {\n var ref, ref1;\n return router.push(\"/product-list/brands/\".concat(productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : (ref1 = ref.brand) === null || ref1 === void 0 ? void 0 : ref1.name));\n },\n children: productInfo === null || productInfo === void 0 ? void 0 : (ref1 = productInfo.erpProductData) === null || ref1 === void 0 ? void 0 : (ref2 = ref1.brand) === null || ref2 === void 0 ? void 0 : ref2.name\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n xs: {\n span: 24\n },\n sm: {\n span: 24\n },\n md: {\n span: 24\n },\n lg: {\n span: 16\n },\n xl: {\n span: 16\n },\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-medium-h3 text-oxfordBlue\",\n children: productInfo === null || productInfo === void 0 ? void 0 : (ref3 = productInfo.erpProductData) === null || ref3 === void 0 ? void 0 : ref3.name\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n className: \"mt-8 w-100 \".concat((styles_module_default()).productSizesWrapper),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n className: \"pe-8 \".concat((styles_module_default()).borderRight),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-regular-xs\",\n children: (0,resources/* getText */.Q)().PDP.productDetails.packSize\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"br\", {}),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-bold-h5 text-oxfordBlue\",\n children: productInfo === null || productInfo === void 0 ? void 0 : (ref4 = productInfo.erpProductData) === null || ref4 === void 0 ? void 0 : ref4.pack_size\n })\n ]\n }),\n true && /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n className: \"px-8 \".concat((styles_module_default()).borderRight),\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-regular-xs\",\n children: (ref5 = (0,resources/* getText */.Q)()) === null || ref5 === void 0 ? void 0 : (ref6 = ref5.PDP) === null || ref6 === void 0 ? void 0 : (ref7 = ref6.productDetails) === null || ref7 === void 0 ? void 0 : ref7.leadTime\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"br\", {}),\n !isGuestUser && (customerStatus.profile_completed && customerStatus.email_verified || isVendor) ? /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"span\", {\n className: \"font-bold-h5 text-oxfordBlue\",\n children: [\n productInfo === null || productInfo === void 0 ? void 0 : (ref8 = productInfo.erpProductData) === null || ref8 === void 0 ? void 0 : ref8.lead_time_days,\n \" \",\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"ps-2\",\n children: (ref9 = (0,resources/* getText */.Q)()) === null || ref9 === void 0 ? void 0 : (ref10 = ref9.General) === null || ref10 === void 0 ? void 0 : ref10.daysAndDelivery\n })\n ]\n }) : isGuestUser ? /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(LoginModal/* default */.Z, {\n signUpLabel: (0,resources/* getText */.Q)().General.SignUp,\n signUpLink: \"#\",\n signInLink: \"#\",\n signInLabel: (0,resources/* getText */.Q)().General.SignIn,\n hasIcon: true,\n Icon: lockIcon,\n className: \"font-bold-base lh-sm \".concat((styles_module_default()).leadTimeButton),\n dialogMessage: (0,resources/* getText */.Q)().PDP.SignUpToSeeInformation\n })\n })) : !customerStatus.profile_completed ? /*#__PURE__*/ (0,jsx_runtime.jsxs)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n style: {\n cursor: \"pointer\"\n },\n children: [\n \" \",\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"lock\",\n color: \"#02254a\",\n onClick: function() {\n return setShowCompleteProfileModal(true);\n }\n })\n ]\n })) : !customerStatus.email_verified && /*#__PURE__*/ (0,jsx_runtime.jsxs)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n style: {\n cursor: \"pointer\"\n },\n children: [\n \" \",\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"lock\",\n color: \"#02254a\",\n onClick: function() {\n return setShowVerifyModal(true);\n }\n }),\n \" \"\n ]\n }))\n ]\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n className: \"ps-8\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-regular-xs\",\n children: (0,resources/* getText */.Q)().PDP.productDetails.casesPerPallet\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"br\", {}),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-bold-h5 text-oxfordBlue\",\n children: productInfo === null || productInfo === void 0 ? void 0 : (ref11 = productInfo.erpProductData) === null || ref11 === void 0 ? void 0 : ref11.case_per_pallet\n })\n ]\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n className: \"\".concat((styles_module_default()).productTags, \" mt-13 mb-9\"),\n span: 24,\n children: productTags === null || productTags === void 0 ? void 0 : productTags.map(function(productTag) {\n var ref;\n return (productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref[productTag]) ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Tag/* default */.Z, {\n theme: \"light\",\n className: \"font-bold-xs text-oxfordBlue me-8 mt-8 \".concat((styles_module_default()).productTag),\n text: productTag.replace(\"_\", \" \"),\n \"aria-label\": productTag,\n hasIcon: true,\n iconName: productTag === \"non_gmo\" ? productTag.replace(\"_\", \"-\") + \"-icon\" : productTag.replace(\"_\", \"-\"),\n iconWidth: 20,\n iconHeight: 20\n }, productTag) : null;\n })\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n className: \"\".concat((styles_module_default()).productDetailsBottomSection, \" mt-12\"),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n span: 24,\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"h1\", {\n className: \"font-bold-h5 text-oxfordBlue mb-0 \".concat((styles_module_default()).bottomSectionTitle),\n children: productInfo === null || productInfo === void 0 ? void 0 : (ref12 = productInfo.erpProductData) === null || ref12 === void 0 ? void 0 : ref12.description_short\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n className: \"\".concat((styles_module_default()).productDetailsText, \" mt-3 font-regular-sm text-oxfordBlue\"),\n children: productInfo === null || productInfo === void 0 ? void 0 : (ref13 = productInfo.erpProductData) === null || ref13 === void 0 ? void 0 : ref13.description_long\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n className: \"\".concat((styles_module_default()).productInformation, \" mt-15\"),\n span: 24,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"\".concat((styles_module_default()).fontItalic, \" font-regular-sm text-oxfordBlue\"),\n children: (0,resources/* getText */.Q)().PDP.productDetails.ProductInformationProvided\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n className: \"my-12 \".concat((styles_module_default()).productActionSection),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n className: \"me-8\",\n children: isGuestUser ? /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(LoginModal/* default */.Z, {\n signUpLabel: (0,resources/* getText */.Q)().General.SignUp,\n signUpLink: \"#\",\n signInLink: \"#\",\n signInLabel: (0,resources/* getText */.Q)().General.SignIn,\n buttonText: (0,resources/* getText */.Q)().PDP.downloadSpecSheet,\n hasIcon: true,\n Icon: lockIcon,\n className: \"font-bold-base lh-sm \".concat((styles_module_default()).productDetailsBtn),\n dialogMessage: (0,resources/* getText */.Q)().PDP.SignUpToSeeInformation\n })\n })) : (!customerStatus.profile_completed || !customerStatus.email_verified) && !isVendor ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n text: (0,resources/* getText */.Q)().PDP.downloadSpecSheet,\n theme: \"secondary\",\n hasIcon: true,\n Icon: lock,\n className: \"font-bold-base lh-sm \".concat((styles_module_default()).downloadSpecSheetBtn),\n onClick: checkStatus\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n text: (0,resources/* getText */.Q)().PDP.downloadSpecSheet,\n theme: \"secondary\",\n hasIcon: false,\n Icon: lock,\n className: \"font-bold-base lh-sm \".concat((styles_module_default()).downloadSpecSheetBtn),\n onClick: downloadSpecSheet\n })\n }),\n !viewDetails ? /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n children: isGuestUser ? /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(LoginModal/* default */.Z, {\n signUpLabel: (0,resources/* getText */.Q)().General.SignUp,\n signUpLink: \"#\",\n signInLink: \"#\",\n signInLabel: (0,resources/* getText */.Q)().General.SignIn,\n buttonText: (0,resources/* getText */.Q)().PDP.compare,\n hasIcon: true,\n Icon: lockIcon,\n className: \"font-bold-base lh-sm \".concat((styles_module_default()).productDetailsBtn),\n dialogMessage: (0,resources/* getText */.Q)().PDP.SignUpToSeeInformation\n })\n })) : (!customerStatus.profile_completed || !customerStatus.email_verified) && !isVendor ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n text: (0,resources/* getText */.Q)().PDP.compare,\n theme: \"secondary\",\n hasIcon: true,\n Icon: lock,\n className: \"font-bold-base lh-sm \".concat((styles_module_default()).compareBtn),\n onClick: checkStatus\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n text: (0,resources/* getText */.Q)().PDP.compare,\n theme: \"secondary\",\n className: \"font-bold-base lh-sm \".concat((styles_module_default()).compareBtn),\n hasIcon: false,\n Icon: lock,\n onClick: function() {\n setProductsToCompare(productSku);\n }\n })\n }) : null\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n span: 24,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n onClick: function() {\n return router.push(\"/contact-us\");\n },\n theme: \"link\",\n className: \"font-bold-sm text-oxfordBlue ms-0 ps-0 \".concat((styles_module_default()).reportBtn),\n text: (0,resources/* getText */.Q)().PDP.reportIncorrectInformation\n })\n })\n ]\n }),\n viewDetails && !isGuestUser && customerStatus.profile_completed && customerStatus.email_verified ? /*#__PURE__*/ (0,jsx_runtime.jsx)(row/* default */.Z, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n theme: \"primary\",\n className: classnames_default()((styles_module_default()).addToPalletBttn, \"font-bold-base py-7 h-auto\"),\n hasIcon: true,\n icon: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"my-order\",\n color: \"white\"\n }),\n onClick: addItemToPallet,\n disabled: isAddToPalletDisabled,\n children: (0,resources/* getText */.Q)().PDP.addToPallet\n })\n }) : null,\n showCompleteProfileModal && /*#__PURE__*/ (0,jsx_runtime.jsx)(modal/* default */.Z, {\n title: (ref14 = (0,resources/* getText */.Q)()) === null || ref14 === void 0 ? void 0 : (ref15 = ref14.PDP) === null || ref15 === void 0 ? void 0 : ref15.completeProfile,\n open: showCompleteProfileModal,\n onOk: function() {\n router.push(completeProfileLink);\n },\n onCancel: function() {\n return setShowCompleteProfileModal(false);\n },\n okText: \"Complete Now\",\n centered: true,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n children: (ref16 = (0,resources/* getText */.Q)()) === null || ref16 === void 0 ? void 0 : (ref17 = ref16.General) === null || ref17 === void 0 ? void 0 : (ref18 = ref17.Messages) === null || ref18 === void 0 ? void 0 : ref18.pleaseCompleteProfile\n })\n })\n ]\n });\n};\n/* harmony default export */ var ProductBuyBox_ProductDetailsSection = (ProductDetailsSection);\n\n// EXTERNAL MODULE: ./src/components/shared/ShareDialog/index.tsx + 11 modules\nvar ShareDialog = __webpack_require__(37792);\n// EXTERNAL MODULE: ./src/components/shared/AddToShoppingList/index.tsx\nvar AddToShoppingList = __webpack_require__(66918);\n;// CONCATENATED MODULE: ./src/components/views/ProductDetailsPage/ProductBuyBox/ProductDetailsLeftSection.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ProductDetailsLeftSection = function(param) {\n var productInfo = param.productInfo, pricesData = param.pricesData, isGuestUser = param.isGuestUser, shoppingList = param.shoppingList, productListInfo = param.productListInfo;\n var ref, ref1, ref2, ref3, ref4;\n var ref5 = (0,react.useState)(false), isModalOpen = ref5[0], setIsModalOpen = ref5[1];\n var viewDetails = (0,useTypedSelector/* useTypedSelector */.i)(selector/* default.getMixedPallet */.Z.getMixedPallet).viewDetails;\n var ref6 = (0,react.useState)( false || (productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.is_wished)), isWishlist = ref6[0], setIsWishlist = ref6[1];\n var ref7 = (0,react.useState)(false), showShoppingListDialog = ref7[0], setShowToShoppingListDialog = ref7[1];\n var ref8 = (0,react.useState)(), selectedItem = ref8[0], setSelectedItem = ref8[1];\n var ref9 = (0,react.useState)(), itemShoppingLists = ref9[0], setItemShoppingLists = ref9[1];\n var ref10 = (0,react.useContext)(context/* AppContext */.I), quantityValue = ref10.quantityValue, customerStatus = ref10.customerStatus;\n var windowWidth = (0,useWindowResize/* useWindowResize */.w)();\n var shareIcon = function() {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"product-share\",\n width: 20,\n height: 20,\n classesName: (styles_module_default()).iconStyle\n });\n };\n var mobileShareIcon = function() {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: isModalOpen ? \"white-share\" : \"product-share\",\n width: 10,\n height: 11\n });\n };\n var heartIcon = function() {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"product-heart\",\n width: windowWidth > 576 ? 20 : 15,\n height: windowWidth > 576 ? 20 : 14,\n classesName: (styles_module_default()).iconStyle\n });\n };\n var wishlistHeartIcon = function() {\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"white-fav\",\n width: windowWidth > 576 ? 20 : 15,\n height: windowWidth > 576 ? 20 : 14\n });\n };\n (0,react.useEffect)(function() {\n var newArray = [];\n if (Array.isArray(shoppingList)) {\n shoppingList.forEach(function(shoppingItem) {\n if (Array.isArray(shoppingItem === null || shoppingItem === void 0 ? void 0 : shoppingItem.products)) {\n shoppingItem.products.forEach(function(productItem) {\n var ref;\n if ((productItem === null || productItem === void 0 ? void 0 : productItem.id) === (productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.id)) {\n setIsWishlist(true);\n newArray.push(shoppingItem === null || shoppingItem === void 0 ? void 0 : shoppingItem.uid);\n }\n });\n }\n });\n }\n setItemShoppingLists(newArray);\n }, []);\n (0,react.useEffect)(function() {\n if (isModalOpen || showShoppingListDialog) {\n document.body.style.overflow = \"hidden\";\n } else {\n document.body.style.overflow = \"auto\";\n }\n return function() {\n document.body.style.overflow = \"auto\";\n };\n }, [\n isModalOpen,\n showShoppingListDialog\n ]);\n var doWishlistAction = function(item) {\n setShowToShoppingListDialog(true);\n setSelectedItem(item);\n };\n var addToCartHandler = function(event) {\n var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, ref10, ref11, ref12, ref13, ref14;\n window === null || window === void 0 ? void 0 : (ref = window.dataLayer) === null || ref === void 0 ? void 0 : ref.push({\n ecommerce: null\n });\n window === null || window === void 0 ? void 0 : (ref1 = window.dataLayer) === null || ref1 === void 0 ? void 0 : ref1.push({\n event: event,\n ecommerce: {\n currency: \"USD\",\n value: productInfo === null || productInfo === void 0 ? void 0 : (ref2 = productInfo.pricesData) === null || ref2 === void 0 ? void 0 : (ref3 = ref2[0]) === null || ref3 === void 0 ? void 0 : ref3.base_delivered_price,\n items: [\n {\n item_id: productInfo === null || productInfo === void 0 ? void 0 : (ref4 = productInfo.erpProductData) === null || ref4 === void 0 ? void 0 : (ref5 = ref4.id) === null || ref5 === void 0 ? void 0 : ref5.toString(),\n item_name: productInfo === null || productInfo === void 0 ? void 0 : (ref6 = productInfo.erpProductData) === null || ref6 === void 0 ? void 0 : ref6.name,\n coupon: \"\",\n currency: \"USD\",\n discount: (productInfo === null || productInfo === void 0 ? void 0 : (ref7 = productInfo.pricesData) === null || ref7 === void 0 ? void 0 : ref7.delivered_discount) || 0,\n index: productListInfo === null || productListInfo === void 0 ? void 0 : productListInfo.id,\n item_brand: productInfo === null || productInfo === void 0 ? void 0 : (ref8 = productInfo.erpProductData) === null || ref8 === void 0 ? void 0 : ref8.brand_name,\n item_category: productInfo === null || productInfo === void 0 ? void 0 : (ref9 = productInfo.erpProductData) === null || ref9 === void 0 ? void 0 : ref9.main_category_name,\n item_category2: productInfo === null || productInfo === void 0 ? void 0 : (ref10 = productInfo.erpProductData) === null || ref10 === void 0 ? void 0 : ref10.sub_category_name,\n item_list_id: \"\",\n item_list_name: productInfo === null || productInfo === void 0 ? void 0 : (ref11 = productInfo.erpProductData) === null || ref11 === void 0 ? void 0 : ref11.sub_category_name,\n item_variant: productInfo === null || productInfo === void 0 ? void 0 : (ref12 = productInfo.erpProductData) === null || ref12 === void 0 ? void 0 : ref12.pack_size,\n price: productInfo === null || productInfo === void 0 ? void 0 : (ref13 = productInfo.pricesData) === null || ref13 === void 0 ? void 0 : (ref14 = ref13[0]) === null || ref14 === void 0 ? void 0 : ref14.base_delivered_price,\n quantity: quantityValue\n }, \n ]\n }\n });\n };\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n xs: {\n span: 24\n },\n sm: {\n span: 24\n },\n md: {\n span: 24\n },\n lg: {\n span: viewDetails ? 24 : 17\n },\n xl: {\n span: viewDetails ? 24 : 17\n },\n className: \"left-section \".concat((styles_module_default()).productDetailsSection),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(row/* default */.Z, {\n className: \"\".concat((styles_module_default()).headerButtons, \" mt-8\"),\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n className: \"\".concat((styles_module_default()).headerButtonsWrapper, \" \"),\n children: [\n (productInfo === null || productInfo === void 0 ? void 0 : (ref1 = productInfo.erpProductData) === null || ref1 === void 0 ? void 0 : ref1.has_haggle_rewards) && !isGuestUser && /*#__PURE__*/ (0,jsx_runtime.jsx)((link_default()), {\n href: \"/haggle\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"a\", {\n \"aria-label\": \"Huggle landing page link\",\n className: (styles_module_default()).haggleLink,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(es_image/* default */.Z, {\n width: 44,\n preview: false,\n src: \"https://22338452.fs1.hubspotusercontent-na1.net/hubfs/22338452/logos_storefront/haggleLogo.svg\"\n })\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, {\n title: \"Share\",\n placement: \"top\",\n rootClassName: \"custom-tooltip\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n className: \"\".concat((styles_module_default()).iconButtonWrapper),\n shape: \"circle\",\n hasIcon: true,\n Icon: windowWidth > 576 ? shareIcon : mobileShareIcon,\n onClick: function() {\n setIsModalOpen(true);\n },\n \"aria-label\": \"Share product\"\n })\n }),\n !isGuestUser && !(!(customerStatus === null || customerStatus === void 0 ? void 0 : customerStatus.is_vendor) && !(customerStatus === null || customerStatus === void 0 ? void 0 : customerStatus.profile_completed)) && /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, {\n placement: \"top\",\n rootClassName: \"custom-tooltip\",\n title: isWishlist ? (0,resources/* getText */.Q)().PDP.removeFromShoppingList : (0,resources/* getText */.Q)().PDP.addToShoppingList,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n shape: \"circle\",\n hasIcon: true,\n Icon: isWishlist ? wishlistHeartIcon : heartIcon,\n \"aria-label\": isWishlist ? (0,resources/* getText */.Q)().PDP.removeFromShoppingList : (0,resources/* getText */.Q)().PDP.addToShoppingList,\n onClick: function() {\n return doWishlistAction(productInfo);\n },\n className: isWishlist ? (styles_module_default()).wishlistedItem : (styles_module_default()).iconButtonWrapper\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(ShareDialog/* default */.Z, {\n setIsModalOpen: setIsModalOpen,\n isModalOpen: isModalOpen,\n isProductShare: true\n })\n ]\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(ProductBuyBox_ProductImagesSection, {\n productInfo: productInfo\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(ProductBuyBox_ProductDetailsSection, {\n productInfo: productInfo,\n pricesData: pricesData,\n isGuestUser: isGuestUser\n })\n ]\n })\n ]\n }),\n showShoppingListDialog && /*#__PURE__*/ (0,jsx_runtime.jsx)(AddToShoppingList/* default */.Z, {\n setShowToShoppingListDialog: setShowToShoppingListDialog,\n isModalOpen: showShoppingListDialog,\n favClick: isWishlist,\n selectedItem: selectedItem,\n setFavClick: setIsWishlist,\n setIsWishlist: setIsWishlist,\n slug: productInfo === null || productInfo === void 0 ? void 0 : (ref2 = productInfo.erpProductData) === null || ref2 === void 0 ? void 0 : ref2.slug,\n productId: productInfo === null || productInfo === void 0 ? void 0 : (ref3 = productInfo.erpProductData) === null || ref3 === void 0 ? void 0 : ref3.id,\n productName: productInfo === null || productInfo === void 0 ? void 0 : (ref4 = productInfo.erpProductData) === null || ref4 === void 0 ? void 0 : ref4.name,\n itemShoppingLists: itemShoppingLists,\n gaForWishList: function() {\n return addToCartHandler(\"add_to_wishlist\");\n }\n })\n ]\n });\n};\n/* harmony default export */ var ProductBuyBox_ProductDetailsLeftSection = (ProductDetailsLeftSection);\n\n\n/***/ }),\n\n/***/ 40469:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"Z\": function() { return /* binding */ ProductDetailsSection; }\n});\n\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_async_to_generator.mjs\nvar _async_to_generator = __webpack_require__(47568);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread.mjs\nvar _object_spread = __webpack_require__(26042);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_object_spread_props.mjs\nvar _object_spread_props = __webpack_require__(69396);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_sliced_to_array.mjs + 2 modules\nvar _sliced_to_array = __webpack_require__(828);\n// EXTERNAL MODULE: ./node_modules/@swc/helpers/src/_to_consumable_array.mjs + 2 modules\nvar _to_consumable_array = __webpack_require__(29815);\n// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.mjs\nvar tslib_es6 = __webpack_require__(97582);\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(85893);\n// EXTERNAL MODULE: ./src/components/shared/Accordion/index.tsx\nvar Accordion = __webpack_require__(82147);\n// EXTERNAL MODULE: ./src/components/shared/Icon/index.tsx\nvar Icon = __webpack_require__(81394);\n// EXTERNAL MODULE: ./src/libs/context/pdp/index.js\nvar pdp = __webpack_require__(73411);\n// EXTERNAL MODULE: ./src/libs/context/index.js\nvar context = __webpack_require__(58218);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(67294);\n// EXTERNAL MODULE: ./src/components/views/ProductDetailsPage/ProductDetailsSection/styles.module.scss\nvar styles_module = __webpack_require__(51174);\nvar styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module);\n// EXTERNAL MODULE: ./node_modules/antd/es/notification/index.js + 5 modules\nvar notification = __webpack_require__(54689);\n// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js\nvar row = __webpack_require__(71230);\n// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules\nvar tooltip = __webpack_require__(83062);\n// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 9 modules\nvar modal = __webpack_require__(64187);\n// EXTERNAL MODULE: ./src/libs/context/mixedPallet/index.js\nvar mixedPallet = __webpack_require__(58027);\n// EXTERNAL MODULE: ./node_modules/next/router.js\nvar next_router = __webpack_require__(11163);\n// EXTERNAL MODULE: ./src/libs/resources/index.js + 1 modules\nvar resources = __webpack_require__(41090);\n// EXTERNAL MODULE: ./src/components/shared/Button/index.tsx\nvar Button = __webpack_require__(5172);\n// EXTERNAL MODULE: ./node_modules/next/link.js\nvar next_link = __webpack_require__(41664);\nvar link_default = /*#__PURE__*/__webpack_require__.n(next_link);\n// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 20 modules\nvar es_form = __webpack_require__(80442);\n// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js\nvar col = __webpack_require__(15746);\n// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules\nvar input = __webpack_require__(79531);\n// EXTERNAL MODULE: ./node_modules/axios/lib/axios.js + 42 modules\nvar axios = __webpack_require__(5121);\n// EXTERNAL MODULE: ./node_modules/classnames/index.js\nvar classnames = __webpack_require__(93967);\nvar classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);\n// EXTERNAL MODULE: ./node_modules/cookies-next/lib/index.js\nvar lib = __webpack_require__(47041);\n// EXTERNAL MODULE: ./src/components/shared/SpecSheetAccessModal/styles.module.scss\nvar SpecSheetAccessModal_styles_module = __webpack_require__(25094);\nvar SpecSheetAccessModal_styles_module_default = /*#__PURE__*/__webpack_require__.n(SpecSheetAccessModal_styles_module);\n;// CONCATENATED MODULE: ./src/components/shared/SpecSheetAccessModal/index.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar SpecSheetAccess = function(param) {\n var showModal = param.showModal, handleCancel = param.handleCancel, slug = param.slug, item = param.item;\n var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7;\n var router = (0,next_router.useRouter)();\n var ref8 = (0,_sliced_to_array/* default */.Z)(es_form/* default.useForm */.Z.useForm(), 1), form = ref8[0];\n var ref9 = (0,react.useContext)(router.pathname.includes(\"mixed-pallet-vendor\") ? mixedPallet/* MixedPalletContext */.S : pdp/* PdpContext */.Q), accessRequested = ref9.accessRequested, setAccessRequested = ref9.setAccessRequested;\n var requestAccess = function() {\n var _ref = (0,_async_to_generator/* default */.Z)(function(values) {\n return (0,tslib_es6.__generator)(this, function(_state) {\n axios/* default.post */.Z.post(\"/api/ERP/customer/product/\".concat(slug, \"/certificateAccessRequest\"), {\n certificate: item === null || item === void 0 ? void 0 : item.id,\n customer_access_reason: values === null || values === void 0 ? void 0 : values.customer_access_reason\n }, {\n headers: {\n sessionid: (0,lib.getCookie)(\"sessionid\")\n }\n }).then(function(res) {\n setAccessRequested(true);\n }).catch(function(e) {\n var ref, ref1, ref2;\n notification/* default.error */.Z.error({\n message: (ref = (0,resources/* getText */.Q)()) === null || ref === void 0 ? void 0 : (ref1 = ref.General) === null || ref1 === void 0 ? void 0 : (ref2 = ref1.Messages) === null || ref2 === void 0 ? void 0 : ref2.SomethingWrongTryAgain,\n duration: 2\n });\n });\n return [\n 2\n ];\n });\n });\n return function requestAccess(values) {\n return _ref.apply(this, arguments);\n };\n }();\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(modal/* default */.Z, {\n title: (item === null || item === void 0 ? void 0 : item.name) || \"Spec Sheet\",\n open: showModal,\n onCancel: handleCancel,\n footer: null,\n className: classnames_default()((SpecSheetAccessModal_styles_module_default()).modal, \"bg-white p-0\"),\n destroyOnClose: true,\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n className: (SpecSheetAccessModal_styles_module_default()).modalContent,\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: (item === null || item === void 0 ? void 0 : item.access_status) !== \"PENDING\" && !accessRequested ? \"lock\" : \"unlock\",\n width: 150,\n height: 100\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"font-medium-h6 text-oxfordBlue mt-2\",\n children: (item === null || item === void 0 ? void 0 : item.access_status) !== \"PENDING\" && !accessRequested ? (ref = (0,resources/* getText */.Q)()) === null || ref === void 0 ? void 0 : (ref1 = ref.PDP) === null || ref1 === void 0 ? void 0 : ref1.RestrictedInfo : (ref2 = (0,resources/* getText */.Q)()) === null || ref2 === void 0 ? void 0 : (ref3 = ref2.PDP) === null || ref3 === void 0 ? void 0 : ref3.AccessRequested\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(es_form/* default */.Z, {\n className: \"pt-8 w-100\",\n onFinish: requestAccess,\n autoComplete: \"off\",\n form: form,\n initialValues: {\n textareaField: \"\"\n },\n children: [\n (item === null || item === void 0 ? void 0 : item.access_status) !== \"PENDING\" && !accessRequested ? /*#__PURE__*/ (0,jsx_runtime.jsx)(row/* default */.Z, {\n gutter: [\n 16,\n 12\n ],\n className: \"w-100\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n xs: {\n span: 24\n },\n className: \"w-100\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {\n className: \"w-100\",\n name: \"customer_access_reason\",\n rules: [\n {\n required: true,\n message: \"This field should not be empty\"\n }, \n ],\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(input/* default.TextArea */.Z.TextArea, {\n name: \"textareaField\",\n className: \"w-100 p-8\",\n placeholder: \"Customer access reason...\"\n })\n })\n })\n }) : null,\n /*#__PURE__*/ (0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(row/* default */.Z, {\n justify: \"center\",\n className: \"w-100\",\n children: (item === null || item === void 0 ? void 0 : item.access_status) !== \"PENDING\" && !accessRequested && /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n text: (ref4 = (0,resources/* getText */.Q)()) === null || ref4 === void 0 ? void 0 : (ref5 = ref4.PDP) === null || ref5 === void 0 ? void 0 : ref5.RequestAccess,\n theme: \"primary\",\n className: classnames_default()((SpecSheetAccessModal_styles_module_default()).btn, \"py-7 h-auto mt-16\"),\n htmlType: \"submit\"\n })\n })\n })\n ]\n })\n ]\n }),\n (item === null || item === void 0 ? void 0 : item.access_status) == \"DECLINED\" && (item === null || item === void 0 ? void 0 : item.vendor_declined_reason) && /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n className: \"px-10 font-medium-h6 text-oxfordBlue\",\n children: [\n (ref6 = (0,resources/* getText */.Q)()) === null || ref6 === void 0 ? void 0 : (ref7 = ref6.PDP) === null || ref7 === void 0 ? void 0 : ref7.declined_reason,\n item === null || item === void 0 ? void 0 : item.vendor_declined_reason\n ]\n })\n ]\n });\n};\n/* harmony default export */ var SpecSheetAccessModal = (SpecSheetAccess);\n\n// EXTERNAL MODULE: ./src/modules/MixedPallet/selector.ts\nvar selector = __webpack_require__(39927);\n// EXTERNAL MODULE: ./src/modules/Products/selector.ts\nvar Products_selector = __webpack_require__(37875);\n// EXTERNAL MODULE: ./src/libs/utils/useTypedSelector/index.ts\nvar useTypedSelector = __webpack_require__(24748);\n// EXTERNAL MODULE: ./node_modules/react-redux/es/index.js + 13 modules\nvar es = __webpack_require__(9473);\n// EXTERNAL MODULE: ./src/libs/utils/products.ts\nvar products = __webpack_require__(93844);\n// EXTERNAL MODULE: ./src/server/utils/commonUtils.tsx + 1 modules\nvar commonUtils = __webpack_require__(7898);\n// EXTERNAL MODULE: ./src/utilities/hooks/useWindowResize.js\nvar useWindowResize = __webpack_require__(53547);\n// EXTERNAL MODULE: ./src/components/views/ProductDetailsPage/ProductDetailsSection/DetailsPanel/styles.module.scss\nvar DetailsPanel_styles_module = __webpack_require__(87208);\nvar DetailsPanel_styles_module_default = /*#__PURE__*/__webpack_require__.n(DetailsPanel_styles_module);\n// EXTERNAL MODULE: ./src/components/shared/Nutritionals/index.tsx\nvar Nutritionals = __webpack_require__(5329);\n;// CONCATENATED MODULE: ./src/components/views/ProductDetailsPage/types.ts\nvar CountryOfManufacturerEnum;\n(function(CountryOfManufacturerEnum) {\n CountryOfManufacturerEnum[\"type\"] = \"OPTIONS\";\n CountryOfManufacturerEnum[\"name\"] = \"Country of manufacturer\";\n})(CountryOfManufacturerEnum || (CountryOfManufacturerEnum = {}));\nvar PanelHeadersNamesEnum;\n(function(PanelHeadersNamesEnum) {\n PanelHeadersNamesEnum[\"OVERVIEW\"] = \"Overview\";\n PanelHeadersNamesEnum[\"NUTRITIONAL\"] = \"Nutritionals\";\n PanelHeadersNamesEnum[\"SHIPPING_STORAGE\"] = \"Shipping/Storage\";\n PanelHeadersNamesEnum[\"CASE_CONFIGURATION\"] = \"Case Configuration\";\n PanelHeadersNamesEnum[\"PALLET_CONFIGURATION\"] = \"Pallet Configuration\";\n})(PanelHeadersNamesEnum || (PanelHeadersNamesEnum = {}));\n\n;// CONCATENATED MODULE: ./src/components/views/ProductDetailsPage/ProductDetailsSection/DetailsPanel/index.tsx\n\n\n\n\n\n\n\n\n\n\nvar DetailsPanel = function(param) {\n var data = param.data, itemHeader = param.itemHeader;\n var ref;\n var countries = (0,react.useContext)(context/* AppContext */.I).countries;\n var isMobile = (0,useWindowResize/* useWindowResize */.w)() <= 768;\n //Manufacturer country grouping under the same heading => Multiple countries would be mentioned in a single country field and it should be separated by a comma (,).\n var CountryOfManufacturersList;\n var detailsPanelContentData;\n if (itemHeader === PanelHeadersNamesEnum.OVERVIEW) {\n var ref1, ref2;\n CountryOfManufacturersList = (ref2 = (ref1 = data === null || data === void 0 ? void 0 : data.filter(function(obj) {\n return obj.name === CountryOfManufacturerEnum.name;\n })) === null || ref1 === void 0 ? void 0 : ref1.map(function(obj) {\n return countries === null || countries === void 0 ? void 0 : countries[obj.value];\n })) === null || ref2 === void 0 ? void 0 : ref2.join(\", \");\n detailsPanelContentData = data === null || data === void 0 ? void 0 : data.filter(function(obj) {\n return obj.name !== CountryOfManufacturerEnum.name;\n });\n detailsPanelContentData === null || detailsPanelContentData === void 0 ? void 0 : detailsPanelContentData.push({\n name: CountryOfManufacturerEnum.name,\n value: CountryOfManufacturersList\n });\n }\n var displayValue = function(value) {\n if (value === true || value === \"true\") {\n return \"Yes\";\n } else if (value === false || value === \"false\") {\n return \"No\";\n }\n if ((value === null || value === void 0 ? void 0 : value.length) > 0) {\n for(var i = 0; i < (value === null || value === void 0 ? void 0 : value.length); i++){\n if (value[i] === \"US\") {\n value[i] = \"United States\";\n } else if (value[i] === \"CA\") {\n value[i] = \", Canada\";\n }\n }\n }\n return value;\n };\n var formatAttrName = function(name) {\n if (name === \"Vendor item\") {\n return \"Vendor item #\";\n } else if (name === \"Mfg item\") {\n return \"Mfg item #\";\n }\n return name;\n };\n var formatAttrVal = function(attr) {\n if (attr.name === CountryOfManufacturerEnum.name || attr.name === \"Country of growth\") {\n return displayValue(countries === null || countries === void 0 ? void 0 : countries[attr.value]);\n } else if (attr.name === \"Type of Product\") {\n return attr.value ? \"Food\" : \"Non-food\";\n }\n return displayValue(attr.value);\n };\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {\n children: itemHeader === PanelHeadersNamesEnum.NUTRITIONAL ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Nutritionals/* default */.Z, {\n isCompare: false,\n data: data\n }) : /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n gutter: [\n 16,\n 24\n ],\n children: [\n data && (data === null || data === void 0 ? void 0 : data.map(function(attribute, index) {\n var ref, ref1, ref2, ref3;\n var _AttrVal;\n if ((detailsPanelContentData === null || detailsPanelContentData === void 0 ? void 0 : detailsPanelContentData.length) > 0 && attribute.name === CountryOfManufacturerEnum.name) {\n _AttrVal = attribute.value;\n }\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(col/* default */.Z, {\n className: \"gutter-row\",\n span: 12,\n sm: 8,\n children: [\n attribute.name === \"Shelf life\" ? /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, {\n title: (ref = (0,resources/* getText */.Q)()) === null || ref === void 0 ? void 0 : (ref1 = ref.PDP) === null || ref1 === void 0 ? void 0 : ref1.shelfLife,\n placement: isMobile ? \"top\" : \"right\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n align: \"middle\",\n gutter: [\n 6,\n 6\n ],\n className: (DetailsPanel_styles_module_default()).AttributeWrapper,\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n className: \"\".concat((DetailsPanel_styles_module_default()).AttrName, \" font-semibold-sm lh-lg text-darkGray text-capitalize\"),\n children: formatAttrName(attribute.name)\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n className: \"pb-2\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"info\"\n })\n })\n ]\n })\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"\".concat((DetailsPanel_styles_module_default()).AttrName, \" font-semibold-sm lh-lg text-darkGray text-capitalize\"),\n children: attribute.name.toLowerCase() === \"minimum lifespan from arrival\" ? (ref2 = (0,resources/* getText */.Q)()) === null || ref2 === void 0 ? void 0 : (ref3 = ref2.PDP) === null || ref3 === void 0 ? void 0 : ref3.minShelf : formatAttrName(attribute.name)\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"\".concat((DetailsPanel_styles_module_default()).AttrVal, \" font-bold-h5 lh-sm text-black\"),\n children: formatAttrVal(attribute) || _AttrVal\n })\n ]\n }, index);\n })),\n ((ref = detailsPanelContentData || data) === null || ref === void 0 ? void 0 : ref.length) === 0 && /*#__PURE__*/ (0,jsx_runtime.jsx)(col/* default */.Z, {\n className: \"gutter-row\",\n span: 12,\n sm: 8,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n className: \"font-bold-h6 lh-sm text-oxfordBlue\",\n children: (0,resources/* getText */.Q)().PDP.noDataToShow\n })\n })\n ]\n })\n });\n};\n/* harmony default export */ var ProductDetailsSection_DetailsPanel = (DetailsPanel);\n\n;// CONCATENATED MODULE: ./src/components/views/ProductDetailsPage/ProductDetailsSection/index.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ProductDetails = function(param) {\n var productInfo = param.productInfo, attributeGroups = param.attributeGroups, isGuestUser = param.isGuestUser, pricesData = param.pricesData;\n var ref, ref1, ref2, ref3, ref4, ref5;\n var ref6 = (0,react.useState)([]), overviewData = ref6[0], setOverviewData = ref6[1];\n var ref7 = (0,react.useState)(), selectedLink = ref7[0], setSelectedLink = ref7[1];\n var ref8 = (0,react.useState)([]), nutritionalData = ref8[0], setNutritionalData = ref8[1];\n var ref9 = (0,react.useState)([]), shippingData = ref9[0], setShippingData = ref9[1];\n var ref10 = (0,react.useState)([]), caseConfigData = ref10[0], setCaseConfigData = ref10[1];\n var ref11 = (0,react.useState)([]), palletConfigData = ref11[0], setPalletConfigData = ref11[1];\n var viewDetails = (0,useTypedSelector/* useTypedSelector */.i)(selector/* default.getMixedPallet */.Z.getMixedPallet).viewDetails;\n var ref12 = (0,react.useContext)(context/* AppContext */.I), customerStatus = ref12.customerStatus, guestUser = ref12.guestUser, setShowVerifyModal = ref12.setShowVerifyModal, completeProfileLink = ref12.completeProfileLink, isVendor = ref12.isVendor;\n var dispatch = (0,es/* useDispatch */.I0)();\n var productListInfo = (0,useTypedSelector/* useTypedSelector */.i)(Products_selector/* default.getProducts */.Z.getProducts).productListInfo;\n var ref13 = (0,react.useState)(\"\"), productTitle = ref13[0], setProductTitle = ref13[1];\n var ref14 = (0,react.useContext)(pdp/* PdpContext */.Q), setShowModal = ref14.setShowModal, certificatesData = ref14.certificatesData, setCertificatesData = ref14.setCertificatesData;\n var ref15 = (0,react.useState)(false), showRequestAccessModal = ref15[0], setShowRequestAccessModal = ref15[1];\n var router = (0,next_router.useRouter)();\n var ref16 = (0,react.useContext)(router.pathname.includes(\"mixed-pallet-vendor\") ? mixedPallet/* MixedPalletContext */.S : pdp/* PdpContext */.Q), accessRequested = ref16.accessRequested, setAccessRequested = ref16.setAccessRequested;\n var tooltipStyle = {\n fontSize: \"12px\",\n borderRadius: \"15px\",\n padding: \"10px\"\n };\n var isMobile = (0,useWindowResize/* useWindowResize */.w)() <= 768;\n var TooltipConfigs = (0,react.useMemo)(function() {\n return (0,_object_spread/* default */.Z)({\n title: isGuestUser ? \"Sign up for ePallet to see additional information\" : !customerStatus.profile_completed ? \"Complete your profile to see additional information\" : !customerStatus.email_verified && \"Verify your email to see additional information\",\n showArrow: false,\n arrow: true,\n color: \"#333\",\n overlayInnerStyle: tooltipStyle,\n overlayStyle: {\n paddingBottom: \"0\"\n }\n }, isMobile ? {\n open: false\n } : {});\n }, [\n isMobile,\n isGuestUser\n ]);\n var panels = [\n {\n header: \"Overview\",\n content: overviewData\n },\n {\n header: \"Nutritionals\",\n content: nutritionalData\n },\n {\n header: \"Shipping/Storage\",\n content: shippingData\n },\n {\n header: \"Case Configuration\",\n content: caseConfigData\n },\n {\n header: \"Pallet Configuration\",\n content: palletConfigData\n }, \n ];\n var ref17 = (0,react.useState)(false), showLoginModal = ref17[0], setShowLoginModal = ref17[1];\n (0,react.useEffect)(function() {\n var ref;\n var fetchERPData = function() {\n var _ref = (0,_async_to_generator/* default */.Z)(function() {\n var ref, response, data, overviewData, error;\n return (0,tslib_es6.__generator)(this, function(_state) {\n switch(_state.label){\n case 0:\n _state.trys.push([\n 0,\n 2,\n ,\n 3\n ]);\n return [\n 4,\n axios/* default.get */.Z.get(\"/api/ERP/customer/product/\".concat(productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.slug, \"?show-non-active=1\"), {\n headers: {\n sessionId: (0,commonUtils/* getCookie */.ej)(\"sessionid\")\n }\n })\n ];\n case 1:\n response = _state.sent();\n data = response.data;\n overviewData = [\n {\n name: \"Upc\",\n value: data.upc\n },\n {\n name: \"Gtin\",\n value: data.gtin\n },\n {\n name: \"Mfg Name\",\n value: data.mfg_name\n },\n {\n name: \"Mfg Item #\",\n value: data.mfg_item\n },\n {\n name: \"Vendor Name\",\n value: data.vendor_name\n },\n {\n name: \"Vendor Item #\",\n value: data.vendor_item\n },\n {\n name: \"Packaging\",\n value: data.packaging\n },\n {\n name: \"Date Code Type\",\n value: data.date_code_type\n },\n {\n name: \"Type Of Product\",\n value: data.food ? \"Food\" : \"Non-food\"\n }\n ].concat((0,_to_consumable_array/* default */.Z)(data.industry_type.map(function(type) {\n return {\n name: \"Industry Type\",\n value: type\n };\n })), [\n {\n name: \"Country Of Growth\",\n value: data.country_of_growth\n },\n {\n name: \"Country Of Manufacturer\",\n value: Array.isArray(data.country_of_manufacturer) ? data.country_of_manufacturer.join(\", \") : data.country_of_manufacturer\n }\n ]).filter(function(item) {\n return item.value !== undefined && item.value !== null && item.value !== \"\" && !(Array.isArray(item.value) && item.value.length === 0);\n });\n setOverviewData(overviewData);\n setNutritionalData(data.nutritions.map(function(nutrition) {\n var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, ref10, ref11, ref12, ref13, ref14, ref15;\n return {\n name: nutrition.nutrition_name || \"Nutrition Facts\",\n image: nutrition.image || null,\n serving_size: nutrition.serving_size,\n servings_per_container: nutrition.servings_per_container,\n calories: nutrition.calories,\n total_fat: ((ref = nutrition.total_fat) === null || ref === void 0 ? void 0 : ref.value) ? {\n value: nutrition.total_fat.value,\n dv: nutrition.total_fat.dv || 0.0\n } : null,\n saturated_fat: ((ref1 = nutrition.saturated_fat) === null || ref1 === void 0 ? void 0 : ref1.value) ? {\n value: nutrition.saturated_fat.value,\n dv: nutrition.saturated_fat.dv || 0.0\n } : null,\n trans_fat: ((ref2 = nutrition.trans_fat) === null || ref2 === void 0 ? void 0 : ref2.value) ? {\n value: nutrition.trans_fat.value,\n dv: nutrition.trans_fat.dv || 0.0\n } : null,\n cholesterol: ((ref3 = nutrition.cholesterol) === null || ref3 === void 0 ? void 0 : ref3.value) ? {\n value: nutrition.cholesterol.value,\n dv: nutrition.cholesterol.dv || 0.0\n } : null,\n sodium: ((ref4 = nutrition.sodium) === null || ref4 === void 0 ? void 0 : ref4.value) ? {\n value: nutrition.sodium.value,\n dv: nutrition.sodium.dv || 0.0\n } : null,\n total_carbohydrate: ((ref5 = nutrition.total_carbohydrate) === null || ref5 === void 0 ? void 0 : ref5.value) ? {\n value: nutrition.total_carbohydrate.value,\n dv: nutrition.total_carbohydrate.dv || 0.0\n } : null,\n dietary_fiber: ((ref6 = nutrition.dietary_fiber) === null || ref6 === void 0 ? void 0 : ref6.value) ? {\n value: nutrition.dietary_fiber.value,\n dv: nutrition.dietary_fiber.dv || 0.0\n } : null,\n total_sugars: ((ref7 = nutrition.total_sugars) === null || ref7 === void 0 ? void 0 : ref7.value) ? {\n value: nutrition.total_sugars.value,\n dv: nutrition.total_sugars.dv || 0.0\n } : null,\n includes_added_sugars: ((ref8 = nutrition.includes_added_sugars) === null || ref8 === void 0 ? void 0 : ref8.value) ? {\n value: nutrition.includes_added_sugars.value,\n dv: nutrition.includes_added_sugars.dv || 0.0\n } : null,\n protein: ((ref9 = nutrition.protein) === null || ref9 === void 0 ? void 0 : ref9.value) ? {\n value: nutrition.protein.value,\n dv: nutrition.protein.dv || 0.0\n } : null,\n vitamin_a: ((ref10 = nutrition.vitamin_a) === null || ref10 === void 0 ? void 0 : ref10.value) ? {\n value: nutrition.vitamin_a.value,\n dv: nutrition.vitamin_a.dv || 0.0\n } : null,\n vitamin_c: ((ref11 = nutrition.vitamin_c) === null || ref11 === void 0 ? void 0 : ref11.value) ? {\n value: nutrition.vitamin_c.value,\n dv: nutrition.vitamin_c.dv || 0.0\n } : null,\n calcium: ((ref12 = nutrition.calcium) === null || ref12 === void 0 ? void 0 : ref12.value) ? {\n value: nutrition.calcium.value,\n dv: nutrition.calcium.dv || 0.0\n } : null,\n iron: ((ref13 = nutrition.iron) === null || ref13 === void 0 ? void 0 : ref13.value) ? {\n value: nutrition.iron.value,\n dv: nutrition.iron.dv || 0.0\n } : null,\n vitamin_d: ((ref14 = nutrition.vitamin_d) === null || ref14 === void 0 ? void 0 : ref14.value) ? {\n value: nutrition.vitamin_d.value,\n dv: nutrition.vitamin_d.dv || 0.0\n } : null,\n potassium: ((ref15 = nutrition.potassium) === null || ref15 === void 0 ? void 0 : ref15.value) ? {\n value: nutrition.potassium.value,\n dv: nutrition.potassium.dv || 0.0\n } : null,\n ingredients: nutrition.ingredients,\n allergens: nutrition.allergens,\n cooking_instructions: nutrition.cooking_instructions\n };\n }).map(function(item) {\n return Object.fromEntries(Object.entries(item).filter(function(param) {\n var _param = (0,_sliced_to_array/* default */.Z)(param, 2), _ = _param[0], value = _param[1];\n return value !== undefined && value !== null && value !== \"\" && !(Array.isArray(value) && value.length === 0);\n }));\n }));\n setShippingData([\n {\n name: \"Shipping method\",\n value: data.shipping_method\n },\n {\n name: \"Shipping temp ambient\",\n value: data.shipping_temp_ambient\n },\n {\n name: \"Storage method\",\n value: data.storage_method\n },\n {\n name: \"Storage temp ambient\",\n value: data.storage_temp_ambient\n },\n {\n name: \"Freight Class\",\n value: data.freight_class\n }\n ]);\n setCaseConfigData([\n {\n name: \"Case weight net\",\n value: data.case_weight_net\n },\n {\n name: \"Case weight gross\",\n value: data.case_weight_gross\n },\n {\n name: \"Case weight uom\",\n value: data.case_weight_uom\n },\n {\n name: \"Case length\",\n value: data.case_length\n },\n {\n name: \"Case width\",\n value: data.case_width\n },\n {\n name: \"Case height\",\n value: data.case_height\n },\n {\n name: \"Case size uom\",\n value: data.case_size_uom\n },\n {\n name: \"Case upc\",\n value: data.case_upc\n },\n {\n name: \"Case gtin\",\n value: data.case_gtin\n },\n {\n name: \"Case date code type\",\n value: data.case_date_code_type\n }\n ].filter(function(item) {\n return item.value !== \"\" && item.value !== null && !(Array.isArray(item.value) && item.value.length === 0);\n }));\n setPalletConfigData([\n {\n name: \"Pallet length\",\n value: data.pallet_length\n },\n {\n name: \"Pallet width\",\n value: data.pallet_width\n },\n {\n name: \"Double stackable\",\n value: data.double_stackable\n },\n {\n name: \"Triple stackable\",\n value: data.triple_stackable\n },\n {\n name: \"Hi\",\n value: data.hi\n },\n {\n name: \"Ti\",\n value: data.ti\n },\n {\n name: \"Case per pallet\",\n value: data.case_per_pallet\n },\n {\n name: \"Total pallet weight\",\n value: data.total_pallet_weight\n },\n {\n name: \"Pallet height\",\n value: data.pallet_height\n },\n {\n name: \"Pallet per truckload\",\n value: data.pallet_per_truckload\n },\n {\n name: \"Weight per truckload\",\n value: data.weight_per_truckload\n }\n ].filter(function(item) {\n return item.value !== \"\" && item.value !== null && !(Array.isArray(item.value) && item.value.length === 0);\n }));\n return [\n 3,\n 3\n ];\n case 2:\n error = _state.sent();\n console.error(\"Error fetching ERP data:\", error);\n return [\n 3,\n 3\n ];\n case 3:\n return [\n 2\n ];\n }\n });\n });\n return function fetchERPData() {\n return _ref.apply(this, arguments);\n };\n }();\n if (productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.slug) {\n fetchERPData();\n }\n }, [\n productInfo\n ]);\n (0,react.useEffect)(function() {\n if ((pricesData === null || pricesData === void 0 ? void 0 : pricesData.delivered_price) || guestUser) {\n setTimeout(function() {\n var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7, ref8;\n window === null || window === void 0 ? void 0 : (ref = window.dataLayer) === null || ref === void 0 ? void 0 : ref.push({\n ecommerce: null\n });\n window === null || window === void 0 ? void 0 : (ref1 = window.dataLayer) === null || ref1 === void 0 ? void 0 : ref1.push({\n event: \"view_item\",\n ecommerce: {\n currency: \"USD\",\n value: (pricesData === null || pricesData === void 0 ? void 0 : pricesData.delivered_price) || null,\n items: [\n {\n item_id: productInfo === null || productInfo === void 0 ? void 0 : (ref2 = productInfo.erpProductData) === null || ref2 === void 0 ? void 0 : ref2.id,\n item_name: productInfo === null || productInfo === void 0 ? void 0 : (ref3 = productInfo.erpProductData) === null || ref3 === void 0 ? void 0 : ref3.name,\n coupon: null,\n currency: \"USD\",\n discount: 0,\n index: (productListInfo === null || productListInfo === void 0 ? void 0 : productListInfo.id) || 0,\n item_brand: productInfo === null || productInfo === void 0 ? void 0 : (ref4 = productInfo.erpProductData) === null || ref4 === void 0 ? void 0 : ref4.brand_name,\n item_category: productInfo === null || productInfo === void 0 ? void 0 : (ref5 = productInfo.erpProductData) === null || ref5 === void 0 ? void 0 : ref5.main_category_name,\n item_category2: productInfo === null || productInfo === void 0 ? void 0 : (ref6 = productInfo.erpProductData) === null || ref6 === void 0 ? void 0 : ref6.sub_category_name,\n item_list_id: \"\",\n item_list_name: productInfo === null || productInfo === void 0 ? void 0 : (ref7 = productInfo.erpProductData) === null || ref7 === void 0 ? void 0 : ref7.sub_category_name,\n item_variant: productInfo === null || productInfo === void 0 ? void 0 : (ref8 = productInfo.erpProductData) === null || ref8 === void 0 ? void 0 : ref8.pack_size,\n price: pricesData === null || pricesData === void 0 ? void 0 : pricesData.delivered_price,\n quantity: (pricesData === null || pricesData === void 0 ? void 0 : pricesData.quantity) || null\n }, \n ]\n }\n });\n dispatch((0,products/* setProductListInfo */.B0)());\n }, 1000);\n }\n }, [\n guestUser,\n pricesData === null || pricesData === void 0 ? void 0 : pricesData.delivered_price,\n productInfo\n ]);\n var ref18 = (0,react.useState)(false), showCompleteProfileModal = ref18[0], setShowCompleteProfileModal = ref18[1];\n var checkStatus = function() {\n if (guestUser) {\n if (setShowModal) {\n setShowModal(true);\n } else {\n setShowLoginModal(true);\n }\n } else if (!customerStatus.profile_completed) {\n setShowCompleteProfileModal(true);\n } else if (!customerStatus.email_verified) {\n setShowVerifyModal(true);\n }\n };\n (0,react.useEffect)(function() {\n var ref;\n setCertificatesData(productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.certificates);\n }, []);\n var getCertificates = function() {\n var ref;\n axios/* default.get */.Z.get(\"/api/ERP/customer/product/\".concat(productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.slug, \"?show-non-active=1\"), {\n headers: {\n sessionId: (0,commonUtils/* getCookie */.ej)(\"sessionid\")\n }\n }).then(function(res) {\n var ref;\n setAccessRequested(true);\n setCertificatesData(res === null || res === void 0 ? void 0 : (ref = res.data) === null || ref === void 0 ? void 0 : ref.certificates);\n }).catch(function(e) {\n var ref, ref1, ref2;\n notification/* default.error */.Z.error({\n message: (ref = (0,resources/* getText */.Q)()) === null || ref === void 0 ? void 0 : (ref1 = ref.General) === null || ref1 === void 0 ? void 0 : (ref2 = ref1.Messages) === null || ref2 === void 0 ? void 0 : ref2.SomethingWrongTryAgain,\n duration: 2\n });\n });\n };\n (0,react.useEffect)(function() {\n if (accessRequested) {\n getCertificates();\n }\n }, [\n accessRequested\n ]);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(row/* default */.Z, {\n className: \"bg-white\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n className: \"\".concat((styles_module_default()).PdpAccordion, \" bg-white \").concat(viewDetails ? (styles_module_default()).plpDetailsSection : \"container\"),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"h2\", {\n className: \"\".concat((styles_module_default()).DetailsTitle, \" font-bolder-lg lh-sm\"),\n children: \"Details\"\n }),\n panels === null || panels === void 0 ? void 0 : panels.map(function(item, index) {\n /*#__PURE__*/ return (0,jsx_runtime.jsx)(Accordion/* default */.Z, {\n className: \"\".concat((styles_module_default()).PdpPanel, \" mb-8 py-10\"),\n header: item === null || item === void 0 ? void 0 : item.header,\n disabled: (item === null || item === void 0 ? void 0 : item.header) === \"Overview\" ? false : isGuestUser || !customerStatus.profile_completed || !customerStatus.email_verified,\n content: (item === null || item === void 0 ? void 0 : item.content) && (item === null || item === void 0 ? void 0 : item.content.length) > 0 ? /*#__PURE__*/ (0,jsx_runtime.jsx)(ProductDetailsSection_DetailsPanel, {\n itemHeader: item === null || item === void 0 ? void 0 : item.header,\n data: item === null || item === void 0 ? void 0 : item.content\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n children: \"Locked - Sign up or complete your profile to access\"\n })\n })),\n closedIcon: (item === null || item === void 0 ? void 0 : item.header) === \"Overview\" || !isGuestUser && customerStatus.profile_completed && customerStatus.email_verified ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"down\",\n width: 24,\n height: 24,\n dir: \"\",\n color: \"#02254a\"\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"button\", {\n className: \"p-0 bg-transparent border-0\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"lock\",\n width: 24,\n height: 24,\n dir: \"\",\n color: \"#02254a\",\n onClick: checkStatus\n })\n })\n })),\n openedIcon: (item === null || item === void 0 ? void 0 : item.header) === \"Overview\" || !isGuestUser && customerStatus.profile_completed && customerStatus.email_verified ? /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"down\",\n width: 24,\n height: 24,\n dir: \"top\",\n color: \"#02254a\"\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"button\", {\n className: \"p-0 bg-transparent border-0\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"lock\",\n width: 24,\n height: 24,\n dir: \"\",\n color: \"#02254a\"\n })\n })\n }))\n }, item === null || item === void 0 ? void 0 : item.header);\n }),\n (certificatesData === null || certificatesData === void 0 ? void 0 : certificatesData.length) > 0 && /*#__PURE__*/ (0,jsx_runtime.jsx)(Accordion/* default */.Z, {\n className: \"\".concat((styles_module_default()).PdpPanel, \" mb-8 py-10\"),\n header: \"Docs & Certs\",\n disabled: isVendor ? isGuestUser : isGuestUser || !customerStatus.profile_completed || !customerStatus.email_verified,\n content: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"ul\", {\n className: \"ps-8\",\n children: certificatesData === null || certificatesData === void 0 ? void 0 : certificatesData.map(function(item, index) {\n /*#__PURE__*/ return (0,jsx_runtime.jsx)(\"div\", {\n className: \"\".concat((styles_module_default()).itemWrapper, \" d-flex font-semibold-sm lh-lg text-darkGray\"),\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"li\", {\n className: \" pe-4\",\n children: (item === null || item === void 0 ? void 0 : item.access_status) === \"APPROVED\" ? /*#__PURE__*/ (0,jsx_runtime.jsx)((link_default()), {\n passHref: true,\n href: item === null || item === void 0 ? void 0 : item.file,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"a\", {\n target: \"_blank\",\n className: \"\".concat((styles_module_default()).link, \" \"),\n children: item === null || item === void 0 ? void 0 : item.name\n })\n }) : /*#__PURE__*/ (0,jsx_runtime.jsx)((link_default()), {\n href: \"#\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"a\", {\n className: \"\".concat((styles_module_default()).link, \" \"),\n onClick: function(event) {\n (item === null || item === void 0 ? void 0 : item.access_status) == null ? setAccessRequested(false) : null;\n setSelectedLink(item);\n setShowRequestAccessModal(true);\n event.preventDefault();\n },\n children: item === null || item === void 0 ? void 0 : item.name\n })\n })\n })\n }, index);\n })\n }),\n closedIcon: (isGuestUser || !customerStatus.profile_completed || !customerStatus.email_verified) && !isVendor ? /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"button\", {\n className: \"p-0 bg-transparent border-0\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"lock\",\n width: 24,\n height: 24,\n dir: \"\",\n color: \"#02254a\",\n onClick: checkStatus\n })\n })\n })) : /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"down\",\n width: 24,\n height: 24,\n dir: \"\",\n color: \"#02254a\"\n }),\n openedIcon: (isGuestUser || !customerStatus.profile_completed) && !isVendor ? /*#__PURE__*/ (0,jsx_runtime.jsx)(tooltip/* default */.Z, (0,_object_spread_props/* default */.Z)((0,_object_spread/* default */.Z)({}, TooltipConfigs), {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"button\", {\n className: \"p-0 bg-transparent border-0\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"lock\",\n width: 24,\n height: 24,\n dir: \"\",\n color: \"#02254a\"\n })\n })\n })) : /*#__PURE__*/ (0,jsx_runtime.jsx)(Icon/* default */.Z, {\n name: \"down\",\n width: 24,\n height: 24,\n dir: \"top\",\n color: \"#02254a\"\n })\n }),\n showRequestAccessModal && /*#__PURE__*/ (0,jsx_runtime.jsx)(SpecSheetAccessModal, {\n item: selectedLink,\n showModal: showRequestAccessModal,\n slug: productInfo === null || productInfo === void 0 ? void 0 : (ref = productInfo.erpProductData) === null || ref === void 0 ? void 0 : ref.slug,\n handleCancel: function() {\n return setShowRequestAccessModal(false);\n }\n })\n ]\n }),\n showCompleteProfileModal && /*#__PURE__*/ (0,jsx_runtime.jsx)(modal/* default */.Z, {\n title: (ref1 = (0,resources/* getText */.Q)()) === null || ref1 === void 0 ? void 0 : (ref2 = ref1.PDP) === null || ref2 === void 0 ? void 0 : ref2.completeProfile,\n open: showCompleteProfileModal,\n onOk: function() {\n router.push(completeProfileLink);\n },\n onCancel: function() {\n return setShowCompleteProfileModal(false);\n },\n okText: \"Complete Now\",\n centered: true,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n children: (ref3 = (0,resources/* getText */.Q)()) === null || ref3 === void 0 ? void 0 : (ref4 = ref3.General) === null || ref4 === void 0 ? void 0 : (ref5 = ref4.Messages) === null || ref5 === void 0 ? void 0 : ref5.pleaseCompleteProfile\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(modal/* default */.Z, {\n title: (0,resources/* getText */.Q)().General.Messages.signInToContinue,\n open: showLoginModal,\n onOk: function() {\n return setShowLoginModal(false);\n },\n onCancel: function() {\n return setShowLoginModal(false);\n },\n className: (styles_module_default()).Modal,\n footer: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n theme: \"secondary\",\n className: \"mb-6\",\n onClick: function() {\n var ref;\n router === null || router === void 0 ? void 0 : router.push(\"/?epallet_login=true&source_path=\".concat(router === null || router === void 0 ? void 0 : (ref = router.asPath) === null || ref === void 0 ? void 0 : ref.replace(\"&\", \"__\")));\n },\n children: (0,resources/* getText */.Q)().General.SignIn\n }, \"sing in\"),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n theme: \"primary\",\n onClick: function() {\n setShowLoginModal(false);\n router.push(\"/\");\n },\n children: (0,resources/* getText */.Q)().General.SignUp\n }, \"sign up\"), \n ],\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n children: (0,resources/* getText */.Q)().General.Messages.signToShowInformation\n })\n })\n ]\n });\n};\n/* harmony default export */ var ProductDetailsSection = (ProductDetails);\n\n\n/***/ }),\n\n/***/ 37875:\n/***/ (function(__unused_webpack_module, __webpack_exports__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"Z\"] = ({\n getProducts: function(state) {\n return state.products;\n }\n});\n\n\n/***/ }),\n\n/***/ 25094:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal\":\"styles_modal__iRyA7\",\"modalContent\":\"styles_modalContent__CnIWP\",\"btn\":\"styles_btn__vR2P3\"};\n\n/***/ }),\n\n/***/ 87208:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"AttrName\":\"styles_AttrName__r3lat\",\"AttrVal\":\"styles_AttrVal__B1RQF\",\"AttrNameWrapper\":\"styles_AttrNameWrapper__S4mIQ\",\"AttributeWrapper\":\"styles_AttributeWrapper__u7szn\"};\n\n/***/ }),\n\n/***/ 51174:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"PdpAccordion\":\"styles_PdpAccordion__whgtD\",\"DetailsTitle\":\"styles_DetailsTitle__o27JG\",\"plpDetailsSection\":\"styles_plpDetailsSection___5T5k\",\"Modal\":\"styles_Modal__7593W\",\"PdpPanel\":\"styles_PdpPanel__sclHk\",\"itemWrapper\":\"styles_itemWrapper___Mat1\",\"link\":\"styles_link__ev9Xc\"};\n\n/***/ }),\n\n/***/ 41687:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"dataLoader\":\"styles_dataLoader__ZUM63\",\"mainSection\":\"styles_mainSection___bJ0V\",\"haggleWrapper\":\"styles_haggleWrapper__29bCr\",\"hasHaggle\":\"styles_hasHaggle___iwXU\",\"haggleText\":\"styles_haggleText__cWh0v\",\"link\":\"styles_link__1ZA6R\",\"addToPalletBttn\":\"styles_addToPalletBttn__ssOdk\",\"fontItalic\":\"styles_fontItalic__yDTBm\",\"reportBtn\":\"styles_reportBtn__yUMw5\",\"productDetailsSection\":\"styles_productDetailsSection__Uyu4J\",\"headerButtons\":\"styles_headerButtons__EM27z\",\"headerButtonsWrapper\":\"styles_headerButtonsWrapper__KmoMq\",\"wishlistedItem\":\"styles_wishlistedItem__4fbgx\",\"haggleLink\":\"styles_haggleLink__bHLDT\",\"iconButtonWrapper\":\"styles_iconButtonWrapper__HWzaq\",\"iconStyle\":\"styles_iconStyle__o_Ej4\",\"imageContainer\":\"styles_imageContainer__gLHij\",\"productMainImage\":\"styles_productMainImage__BNS91\",\"productVideoWrapper\":\"styles_productVideoWrapper__nqi6y\",\"productVideo\":\"styles_productVideo__mL2u1\",\"CarouselVideo\":\"styles_CarouselVideo__t3fQg\",\"coolSchoolContainer\":\"styles_coolSchoolContainer__MBTXu\",\"thumpImagesCarousel\":\"styles_thumpImagesCarousel__pCkRh\",\"productThumpItem\":\"styles_productThumpItem__o227W\",\"playIconWrapper\":\"styles_playIconWrapper__qAkD5\",\"iconWrapper\":\"styles_iconWrapper__ndZsw\",\"productActiveThumb\":\"styles_productActiveThumb__NbZub\",\"detailsContainer\":\"styles_detailsContainer__V2Xq2\",\"productDetailsUpperSection\":\"styles_productDetailsUpperSection___Egqc\",\"productTags\":\"styles_productTags__zaxBe\",\"productTag\":\"styles_productTag__P9MFV\",\"borderRight\":\"styles_borderRight__6Db38\",\"leadTimeButton\":\"styles_leadTimeButton__i3dd1\",\"productDetailsBottomSection\":\"styles_productDetailsBottomSection__2qmdA\",\"productDetailsBtn\":\"styles_productDetailsBtn__m4sL0\",\"lockIcon\":\"styles_lockIcon__uxzP_\",\"productActionSection\":\"styles_productActionSection__SAMYi\",\"right-section\":\"styles_right-section__nFXYU\",\"promoTag\":\"styles_promoTag__6AApH\",\"productPricesSection\":\"styles_productPricesSection__Z35hS\",\"flagContainer\":\"styles_flagContainer__u34dO\",\"boxShadow\":\"styles_boxShadow__r0LOQ\",\"flagBlock\":\"styles_flagBlock__jSyRY\",\"fullWidth\":\"styles_fullWidth__xOssF\",\"signUpContainer\":\"styles_signUpContainer__XEfHY\",\"deliveryDetails\":\"styles_deliveryDetails__HsnFf\",\"rightAlign\":\"styles_rightAlign___t4GT\",\"leftAlign\":\"styles_leftAlign__eith1\",\"quantityContainer\":\"styles_quantityContainer__nHxsM\",\"quantityDetails\":\"styles_quantityDetails__HLwJp\",\"addMore\":\"styles_addMore__I_Yhb\",\"totalContainer\":\"styles_totalContainer__RHVkZ\",\"addToCartContainer\":\"styles_addToCartContainer__ICkJr\",\"addToCart\":\"styles_addToCart__W3K_8\",\"letUsKnow\":\"styles_letUsKnow__cA9rK\",\"mobilePriceSummerySection\":\"styles_mobilePriceSummerySection__vi50m\",\"product-unavailable\":\"styles_product-unavailable__4NGwH\",\"ant-collapse\":\"styles_ant-collapse__zvaDx\",\"active\":\"styles_active__hSrvR\",\"ant-collapse-item\":\"styles_ant-collapse-item__DdfmN\",\"ant-collapse-header-text\":\"styles_ant-collapse-header-text__e_VtP\",\"ant-collapse-item-disabled\":\"styles_ant-collapse-item-disabled__qxAmV\",\"ant-collapse-header\":\"styles_ant-collapse-header__zbTfZ\",\"ant-tooltip-inner\":\"styles_ant-tooltip-inner__QgJ7K\",\"productSizesWrapper\":\"styles_productSizesWrapper__Wo5Yh\",\"productInformation\":\"styles_productInformation__oUZvw\",\"productDetailsText\":\"styles_productDetailsText__9C8zd\",\"bottomSectionTitle\":\"styles_bottomSectionTitle__rS139\",\"downloadSpecSheetBtn\":\"styles_downloadSpecSheetBtn__o5wDj\",\"compareBtn\":\"styles_compareBtn__wDFoQ\",\"deliveredPriceTitle\":\"styles_deliveredPriceTitle__30OMu\",\"pricesDetails\":\"styles_pricesDetails__VdZJ4\",\"mobileTotalContaner\":\"styles_mobileTotalContaner__4dRuU\",\"MobileAddToCartSection\":\"styles_MobileAddToCartSection__ZDeRN\",\"ant-carousel\":\"styles_ant-carousel__92pQO\",\"slick-prev\":\"styles_slick-prev__0lKLU\",\"slick-next\":\"styles_slick-next__Koap0\",\"addToPallet\":\"styles_addToPallet__z9SUq\",\"videoPlayModal\":\"styles_videoPlayModal__lGRpG\",\"baseValue\":\"styles_baseValue__YZsZo\",\"priceValueItem\":\"styles_priceValueItem__QRheB\"};\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","d","ProductBuyBox_ProductDetailsLeftSection","_path","jsx_runtime","styles_module","styles_module_default","n","col","row","es_image","tooltip","next_link","link_default","Button","_to_consumable_array","carousel","modal","react","dist","Icon","useWindowResize","next_router","resources","ProductImagesSection","param","ref","ref1","ref2","ref3","ref4","ref5","ref6","ref7","ref8","ref9","ref10","ref11","ref12","ref13","ref14","ref15","ref16","ref17","productInfo","emptyCoolSchoolImage","emptyProductImage","mainCarousel","useRef","ref18","useState","currentIndex","setCurrentIndex","ref19","playVideoModal","setPlayVideoModal","ref20","selectedVideo","setSelectedVideo","windowWidth","w","goToSlide","index","thump","file","current","goTo","router","useRouter","useEffect","document","body","style","overflow","ref21","productThumps","setProductThumps","Z","erpProductData","images","concat","videos","jsxs","Fragment","children","xs","span","sm","md","lg","xl","className","imageContainer","jsx","productMainImage","arrows","slidesToShow","slidesToScroll","variableWidth","dots","infinite","draggable","beforeChange","next","map","ZoomContent","CustomZoomContent","alt","name","src","big_thumbnail","length","cool_school_point_eligible","href","coolSchoolContainer","Q","PDP","messages","CoolSchoolMessage","video","CarouselVideo","onClick","playIconWrapper","iconWrapper","width","height","thumpImagesCarousel","productThumpItem","productActiveThumb","preview","thumbnail","videoPlayModal","open","onCancel","footer","closable","centered","controls","buttonUnzoom","modalState","img","useLayoutEffect","overlay","getElementById","touchAction","id","_async_to_generator","_object_spread","_object_spread_props","tslib_es6","notification","Tag","_extends","Object","assign","bind","target","i","arguments","source","key","prototype","hasOwnProperty","call","apply","SvgLock","props","createElement","fill","xmlns","context","LoginModal","lib","classnames","classnames_default","pdp","utils_client","es","selector","useTypedSelector","mixedPallet","context_mixedPallet","useCompareProducts","ProductDetailsSection","pricesData","isGuestUser","useContext","I","guestUser","setShowProductCompare","customerStatus","compareProductsSku","setCompareProductsSku","defaultPostZip","setShowVerifyModal","completeProfileLink","isVendor","client","setShowModal","TooltipConfigs","title","profile_completed","email_verified","showArrow","arrow","color","overlayInnerStyle","fontSize","borderRadius","padding","overlayStyle","paddingBottom","productTags","dispatch","I0","S","sortByVal","searchVal","setPalletId","palletId","ref22","getMixedPallet","palletName","appliedPalletFilters","vendorProducts","vendorId","vendorName","sku","viewDetails","offset","ref23","setLeadTimeValue","productSku","ref24","lead_time_days","compareProductHandler","setProductsToCompare","undefined","pathname","includes","_ref","ref25","showCompleteProfileModal","setShowCompleteProfileModal","addItemToPallet","_url","__generator","_state","label","K4","basic","post","data","product","case_quantity","headers","sessionId","getCookie","then","res","_palletURL","qH","products","Xw","pallet_load_percents","lp","is_loaded","query","pallet","shallow","jq","catch","e","sent","get","url","searchQuery","filters","item","find","f","filter","ids","category","pack","toString","results","result","Ip","nY","count","success","message","productAddedToPallet","duration","console","error","downloadSpecSheet","slug","response","window","status","log","General","Messages","SomethingWrongTryAgain","lockIcon","classesName","ref26","isAddToPalletDisabled","setIsAddToPalletDisabled","max_case_quantity","ti","checkStatus","detailsContainer","productDetailsUpperSection","cursor","brand","productSizesWrapper","borderRight","productDetails","packSize","pack_size","leadTime","daysAndDelivery","signUpLabel","SignUp","signUpLink","signInLink","signInLabel","SignIn","hasIcon","leadTimeButton","dialogMessage","SignUpToSeeInformation","casesPerPallet","case_per_pallet","productTag","theme","text","replace","iconName","iconWidth","iconHeight","productDetailsBottomSection","bottomSectionTitle","description_short","productDetailsText","description_long","productInformation","fontItalic","ProductInformationProvided","productActionSection","buttonText","productDetailsBtn","downloadSpecSheetBtn","compare","compareBtn","reportBtn","reportIncorrectInformation","addToPalletBttn","icon","disabled","addToPallet","completeProfile","onOk","okText","pleaseCompleteProfile","ShareDialog","AddToShoppingList","shoppingList","productListInfo","isModalOpen","setIsModalOpen","is_wished","isWishlist","setIsWishlist","showShoppingListDialog","setShowToShoppingListDialog","selectedItem","setSelectedItem","itemShoppingLists","setItemShoppingLists","quantityValue","shareIcon","iconStyle","mobileShareIcon","heartIcon","wishlistHeartIcon","newArray","Array","isArray","forEach","shoppingItem","productItem","uid","doWishlistAction","addToCartHandler","event","dataLayer","ecommerce","currency","value","base_delivered_price","items","item_id","item_name","coupon","discount","delivered_discount","item_brand","brand_name","item_category","main_category_name","item_category2","sub_category_name","item_list_id","item_list_name","item_variant","price","quantity","productDetailsSection","headerButtons","headerButtonsWrapper","has_haggle_rewards","haggleLink","placement","rootClassName","iconButtonWrapper","shape","is_vendor","removeFromShoppingList","addToShoppingList","wishlistedItem","isProductShare","favClick","setFavClick","productId","productName","gaForWishList","CountryOfManufacturerEnum","PanelHeadersNamesEnum","_sliced_to_array","Accordion","es_form","input","axios","SpecSheetAccessModal_styles_module","SpecSheetAccessModal_styles_module_default","SpecSheetAccess","showModal","handleCancel","form","useForm","accessRequested","setAccessRequested","requestAccess","values","certificate","customer_access_reason","sessionid","destroyOnClose","modalContent","access_status","AccessRequested","RestrictedInfo","onFinish","autoComplete","initialValues","textareaField","gutter","Item","rules","required","TextArea","placeholder","justify","RequestAccess","btn","htmlType","vendor_declined_reason","declined_reason","Products_selector","commonUtils","DetailsPanel_styles_module","DetailsPanel_styles_module_default","Nutritionals","DetailsPanel","CountryOfManufacturersList","detailsPanelContentData","itemHeader","countries","isMobile","OVERVIEW","obj","join","displayValue","formatAttrName","NUTRITIONAL","isCompare","attribute","_AttrVal","attr","shelfLife","align","AttributeWrapper","AttrName","toLowerCase","minShelf","AttrVal","noDataToShow","attributeGroups","overviewData","setOverviewData","selectedLink","setSelectedLink","nutritionalData","setNutritionalData","shippingData","setShippingData","caseConfigData","setCaseConfigData","palletConfigData","setPalletConfigData","getProducts","certificatesData","setCertificatesData","showRequestAccessModal","setShowRequestAccessModal","tooltipStyle","useMemo","panels","header","content","showLoginModal","setShowLoginModal","fetchERPData","trys","ej","upc","gtin","mfg_name","mfg_item","vendor_name","vendor_item","packaging","date_code_type","food","industry_type","type","country_of_growth","country_of_manufacturer","nutritions","nutrition","nutrition_name","image","serving_size","servings_per_container","calories","total_fat","dv","saturated_fat","trans_fat","cholesterol","sodium","total_carbohydrate","dietary_fiber","total_sugars","includes_added_sugars","protein","vitamin_a","vitamin_c","calcium","iron","vitamin_d","potassium","ingredients","allergens","cooking_instructions","fromEntries","entries","_param","shipping_method","shipping_temp_ambient","storage_method","storage_temp_ambient","freight_class","case_weight_net","case_weight_gross","case_weight_uom","case_length","case_width","case_height","case_size_uom","case_upc","case_gtin","case_date_code_type","pallet_length","pallet_width","double_stackable","triple_stackable","hi","total_pallet_weight","pallet_height","pallet_per_truckload","weight_per_truckload","delivered_price","setTimeout","B0","certificates","getCertificates","PdpAccordion","plpDetailsSection","DetailsTitle","PdpPanel","closedIcon","dir","openedIcon","itemWrapper","passHref","link","preventDefault","signInToContinue","Modal","asPath","signToShowInformation","state","module","exports"],"sourceRoot":""}