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AmBM,aAAc,eAAgBf,KAAM,iBAAkB,EACjF,CAAES,KAAM,YAAaM,aAAc,eAAgBf,KAAM,WAAY,EACrE,CAAES,KAAM,SAAUM,aAAc,eAAgBf,KAAM,QAAS,EAC/D,CAAES,KAAM,OAAQM,aAAc,eAAgBf,KAAM,MAAO,EAC3D,CAAES,KAAM,SAAUM,aAAc,eAAgBf,KAAM,QAAS,EAC/D,CAAES,KAAM,gBAAiBM,aAAc,eAAgBf,KAAM,eAAgB,EAC7E,CAAES,KAAM,oBAAqBM,aAAc,eAAgBf,KAAM,mBAAoB,EACrF,oBCpBD8F,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?715b","webpack://_N_E/./node_modules/next/dist/api/navigation.js","webpack://_N_E/./src/app/products/component/Banner.jsx","webpack://_N_E/./src/app/products/component/Categories.jsx","webpack://_N_E/./src/app/products/ProductsMain.jsx","webpack://_N_E/./src/components/Loader.jsx","webpack://_N_E/./src/components/ReactGAs.jsx","webpack://_N_E/./src/constants/index.js","webpack://_N_E/./src/components/page.module.scss","webpack://_N_E/"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src1127248754/src/mb-website/src/app/products/ProductsMain.jsx\")","export * from \"../client/components/navigation\";\n\n//# sourceMappingURL=navigation.js.map","import React from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\n\nconst Banner = () => {\n return (\n <>\n \n \n

\n Order Ferrous and Non-Ferrous
commodities on Metalbook\n

\n \n
\n \n );\n};\n\nexport default Banner;\n","import { usePathname } from 'next/navigation'\nimport React, { useEffect } from 'react'\nimport { Col, Row } from 'react-bootstrap'\nimport { ReactGAEvent } from '@/components/ReactGAs'\n\nconst Categories = ({ category, selectedCategory, setSelectedCategory, page = 0 }) => {\n\tconst pathname = usePathname()\n\n\tuseEffect(() => {\n\t\tconst _CategoryFromPath = pathname.substring(pathname.lastIndexOf('/') + 1)\n\t\tif (_CategoryFromPath === 'products') {\n\t\t\tsetSelectedCategory(category[0])\n\t\t} else {\n\t\t\tsetSelectedCategory(category.find((item) => item.slug === _CategoryFromPath))\n\t\t}\n\t}, [pathname])\n\n\tconst clickGAHandler = (category) => {\n\t\tReactGAEvent({ action: 'Click', event: 'view_page', label: 'Blank', category })\n\t}\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t

Add any commodity you want to enquire about and get instant quotations.

\n\t\t\t\n\t\t\t\n\t\t\t\t{category?.map((item, index) => {\n\t\t\t\t\tconst _selectedCategory =\n\t\t\t\t\t\tselectedCategory?.name === item?.name && page === 1 ? 'scroll-selected-tab btn-primary' : 'scroll-disabled-tab text-dark'\n\t\t\t\t\treturn (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tif (index === 0) {\n\t\t\t\t\t\t\t\t\tif (selectedCategory?.commodity_id !== 0) {\n\t\t\t\t\t\t\t\t\t\tclickGAHandler('all')\n\t\t\t\t\t\t\t\t\t\tsetSelectedCategory(item)\n\t\t\t\t\t\t\t\t\t\twindow.history.go(-1)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tclickGAHandler(item?.name)\n\t\t\t\t\t\t\t\t\tsetSelectedCategory(item)\n\t\t\t\t\t\t\t\t\tif (window.location.pathname.includes('products/')) {\n\t\t\t\t\t\t\t\t\t\twindow.history.replaceState(null, null, `${item?.slug}`)\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\twindow.history.pushState(null, null, `products/${item?.slug}`)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{item?.name}\n\t\t\t\t\t\t\n\t\t\t\t\t)\n\t\t\t\t})}\n\t\t\t\n\t\t
\t\t\n\t)\n}\n\nexport default Categories\n","'use client'\n\nimport React, { lazy, useEffect, useState } from 'react'\nimport { Container } from 'react-bootstrap'\nimport { category } from '@/constants'\n\nimport Banner from './component/Banner'\nimport Categories from './component/Categories'\n// import Quotation from './component/Quotation'\nimport Loader from '@/components/Loader'\n\nconst Quotation = lazy(() => import('./component/Quotation'))\n\nexport const isBrowser = () => {\n\treturn typeof window !== 'undefined'\n}\n\n/// category\n\nexport const getCategory = () => {\n\tif (isBrowser()) {\n\t\tconst activeCategory = sessionStorage.getItem('_activeCategory')\n\t\tif (activeCategory) {\n\t\t\treturn JSON.parse(activeCategory)\n\t\t}\n\t\treturn false\n\t}\n}\n\nexport const setCategory = (_items) => {\n\tsessionStorage.setItem('_activeCategory', JSON.stringify(_items))\n}\n\n/// product\nexport const getFavoriteItem = () => {\n\tif (isBrowser()) {\n\t\tconst localfavoriteItems = localStorage.getItem('favoriteItems')\n\t\tif (localfavoriteItems) {\n\t\t\treturn JSON.parse(localfavoriteItems)\n\t\t}\n\t\treturn false\n\t}\n}\n\nexport const setFavoriteItems = (_items) => {\n\tlocalStorage.setItem('favoriteItems', JSON.stringify(_items))\n}\n\nexport const clearFavoriteItems = () => {\n\tlocalStorage.clear()\n}\n\nconst ProductsMain = ({ response, categoryId }) => {\n\tconst [productList, setProductList] = useState(response)\n\tconst [filterProductList, setFilterProductList] = useState([])\n\tconst [selectedProducts, setSelectedProducts] = useState([])\n\tconst [selectedCategory, setSelectedCategory] = useState()\n\tconst [page, setPage] = useState(1)\n\tconst [loading, setLoading] = useState(true)\n\n\tuseEffect(() => {\n\t\tif (localStorage.getItem('last_modified') && localStorage.getItem('last_modified') + 1000 * 60 * 60 * 24 * 7 < new Date().getTime()) {\n\t\t\tclearAllItems()\n\t\t}\n\t\tsetFilterProductList(filterProductHandler(response))\n\n\t\tif (getFavoriteItem()) {\n\t\t\tsetSelectedProducts(getFavoriteItem())\n\t\t} else {\n\t\t\tsetSelectedProducts([])\n\t\t}\n\t\tsetLoading(false)\n\t}, [])\n\n\tuseEffect(() => {\n\t\tif (categoryId) {\n\t\t\tlet _category = category.find((item) => item?.slug === unescape(categoryId))\n\t\t\tsetSelectedCategory(_category)\n\t\t} else {\n\t\t\tsetSelectedCategory(category[0])\n\t\t}\n\t}, [categoryId])\n\n\tuseEffect(() => {\n\t\tconst _productList = filterProductHandler(productList)\n\t\tsetFilterProductList(_productList)\n\t}, [selectedCategory])\n\n\tconst filterProductHandler = (_items) => {\n\t\treturn selectedCategory?.commodity_id !== 0 ? _items.filter((item) => selectedCategory?.commodity_id == item?.commodity_id) : _items\n\t}\n\n\tconst addOrderItemHandler = (orderItem) => {\n\t\tconst _orderItem = [...selectedProducts, { ...orderItem, required_weight: '0' }]\n\t\tsetSelectedProducts(_orderItem)\n\t\tsetFavoriteItems(_orderItem)\n\t\tlocalStorage.setItem('last_modified', new Date().getTime())\n\t}\n\n\tconst removeOrderItemHandler = (removeItem) => {\n\t\tif (page === 2) return\n\t\tconst _removeItem = selectedProducts?.filter((item) => item?.category_id !== removeItem?.category_id)\n\t\tsetSelectedProducts(_removeItem)\n\t\tsetFavoriteItems(_removeItem)\n\t}\n\n\tconst clearAllItems = () => {\n\t\tclearFavoriteItems()\n\t\tsetSelectedProducts([])\n\t\tsetPage(1)\n\t}\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t{loading ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t setPage(pg)}\n\t\t\t\t\tloading={loading}\n\t\t\t\t\tclearAllItems={clearAllItems}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\n\t)\n}\n\nexport default ProductsMain\n","import React from 'react'\nimport styles from './page.module.scss'\n\nconst Loader = () => {\n\treturn (\n\t\t
\n\t\t\t
\n\t\t
\n\t)\n}\n\nexport default Loader\n","'use client'\nimport ReactGA from 'react-ga4'\nReactGA.initialize(process.env.gaKey)\n\nexport const ReactGAEvent = ({ action = null, event = null, label = null, category = null, value = 0 }) => {\n\tReactGA.event({\n\t\taction,\n\t\tevent,\n\t\tcategory,\n\t\tlabel, // Optional, a label to describe the action\n\t\tvalue, // Optional, any numeric value (e.g., purchase amount, etc.)\n\t})\n}\n\nexport const ReactGASent = ({ hitType = null, page = null, title = null }) => {\n\t// Send pageview with a custom path\n\tReactGA.send({ hitType, page, title })\n}\n","export const cookieKeys = {\n\tuser: 'mb-user',\n\tlanguage: 'mb-language',\n}\n\nexport const languages = {\n\tenglish: 'en',\n\thindi: 'hi',\n\tbengali: 'be',\n}\n\nexport const category = [\n\t{ name: 'All', commodity_id: 0, slug: '' },\n\t{ name: 'Mild Steel', commodity_id: 'COtx2Px-1001', slug: 'mild-steel' },\n\t{ name: 'Stainless Steel', commodity_id: 'CObxfTX-6615', slug: 'stainless-steel' },\n\t{ name: 'Aluminium', commodity_id: 'COtx2Sx-1131', slug: 'aluminium' },\n\t{ name: 'Copper', commodity_id: 'COLRzke-3499', slug: 'copper' },\n\t{ name: 'Zinc', commodity_id: 'COLRzke-3791', slug: 'zinc' },\n\t{ name: 'Nickel', commodity_id: 'COSFCRk-1464', slug: 'nickel' },\n\t{ name: 'Ferrous Scrap', commodity_id: 'COcArWq-5141', slug: 'ferrous-scrap' },\n\t{ name: 'Non Ferrous Scrap', commodity_id: 'COdjADD-7166', slug: 'non-ferrous-scrap' },\n]\n\nexport const setHeader = { method: 'GET', headers: { 'mb-app-api': true } }\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"ScheduleContainer\":\"page_ScheduleContainer__DLste\",\"scheduleDemo\":\"page_scheduleDemo___tQ8v\",\"orderNow\":\"page_orderNow__ZkYQc\",\"aboutUs\":\"page_aboutUs__P3_HQ\",\"componentLoader\":\"page_componentLoader__3S643\",\"loader\":\"page_loader__gMJRm\",\"l3\":\"page_l3__rqU25\",\"activeAccordionText\":\"page_activeAccordionText__bdMDd\",\"activeAccordionHeader\":\"page_activeAccordionHeader__FRw_U\",\"stickyForm\":\"page_stickyForm__cYz1E\",\"closedForm\":\"page_closedForm__p8VFr\",\"openForm\":\"page_openForm__YPKYc\",\"mainForm\":\"page_mainForm__usQjH\",\"formHeading\":\"page_formHeading__Sod_9\",\"spanError\":\"page_spanError__ZINMg\",\"spinnerBootom\":\"page_spinnerBootom___hGxn\",\"stickyFormBackround\":\"page_stickyFormBackround__9okzp\",\"formNavBar\":\"page_formNavBar__ZDH6u\",\"speakInput\":\"page_speakInput__GFtiW\",\"borderColor\":\"page_borderColor__z4a9w\",\"unSelectedIcon\":\"page_unSelectedIcon__ys2bM\",\"selectedTab\":\"page_selectedTab__raEeb\",\"selectForm\":\"page_selectForm__3v7T3\",\"CloseButton\":\"page_CloseButton__E6wrK\",\"BuyNowBtn\":\"page_BuyNowBtn___ZBIG\",\"tada\":\"page_tada__XNc78\",\"ripple\":\"page_ripple__XevZN\",\"LoaderBaseWrapper\":\"page_LoaderBaseWrapper__D7Z13\",\"LoaderBackground\":\"page_LoaderBackground__lhUrm\",\"LoaderWrapper\":\"page_LoaderWrapper__WMbws\"};"],"names":["Promise","resolve","then","__webpack_require__","bind","component_Banner","jsx_runtime","jsx","Fragment","Row","Col","xs","md","jsxs","p","className","br","component_Categories","category","selectedCategory","setSelectedCategory","page","param","pathname","usePathname","useEffect","_CategoryFromPath","substring","lastIndexOf","find","item","slug","clickGAHandler","ReactGAEvent","action","event","label","map","index","_selectedCategory","name","button","concat","disabled","size","onClick","commodity_id","window","history","go","location","includes","replaceState","pushState","Quotation","lazy","all","e","isBrowser","getCategory","activeCategory","sessionStorage","getItem","JSON","parse","setCategory","setItem","stringify","_items","getFavoriteItem","localfavoriteItems","localStorage","setFavoriteItems","clearFavoriteItems","clear","products_ProductsMain","response","categoryId","productList","setProductList","useState","filterProductList","setFilterProductList","selectedProducts","setSelectedProducts","setPage","loading","setLoading","Date","getTime","clearAllItems","filterProductHandler","unescape","filter","Container","fluid","Banner","Categories","Loader","addOrderItemHandler","_orderItem","orderItem","required_weight","removeOrderItemHandler","_removeItem","category_id","removeItem","updatePage","pg","__webpack_exports__","Z","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","div","styles","ReactGA","initialize","process","value","cookieKeys","user","language","languages","english","hindi","bengali","module","exports"],"sourceRoot":""}