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AAI,CAAC6qB,EAAI/c,KAAG,CAClC,QAAS,WACTgd,SAAUhd,EAAI,EACd5N,KAAM2qB,EAAG3qB,KACTvC,KAAMktB,EAAGltB,WAM7B,C","sources":["pageComponents/_common/modals/AddToShoppingListModal.js","pageComponents/_common/multiImage/Thumbs.js","pageComponents/_common/multiImage/ImageModal.js","pageComponents/_common/multiImage/MultiImage.js","pageComponents/ItemDetail/uiComponents/accessoryItem.js","pageComponents/ItemDetail/uiComponents/SkeletonLoader.js","pageComponents/ItemDetail/uiComponents/RelatedItem.js","pageComponents/ItemDetail/uiComponents/RelatedTo.js","pageComponents/ItemDetail/uiComponents/TechSpecs.js","pageComponents/ItemDetail/uiComponents/Accessories.js","pageComponents/ItemDetail/uiComponents/ItemLinks.js","pageComponents/ItemDetail/uiComponents/ItemDetailsBase.js","pageComponents/ItemDetail/uiComponents/BomItem.js","pageComponents/ItemDetail/uiComponents/BomItems.js","pageComponents/ItemDetail/uiComponents/ItemDetailsInfo.js","pageComponents/ItemDetail/uiComponents/PrecustomizedItem.js","pageComponents/ItemDetail/uiComponents/ItemDetailsCustomizer.js","pageComponents/ItemDetail/uiComponents/FrequentItem.js","pageComponents/ItemDetail/uiComponents/Frequently.js","pageComponents/ItemDetail/itemDetailPage.js","pageComponents/_common/richSearchSchemas/productSchema.js","pageComponents/_common/BreadCrumbs.js","pageComponents/_common/richSearchSchemas/breadcrumbSchema.js"],"sourcesContent":["import React, { useState, useContext, useEffect } from 'react'\nimport Modal from '../modal'\nimport styled from 'styled-components'\nimport Context from '../../../setup/context'\nimport { ButtonBlack, ButtonRed } from '../../../styles/buttons'\nimport Select from 'react-select'\nimport AirlineInput from '../../_common/form/inputv2'\n\nconst DivRow = styled.div`\n display: flex;\n width: 90%;\n justify-content: space-between;\n`\n\nconst DivItem = styled.div`\n display: flex;\n flex-direction: column;\n`\n\nconst Label = styled.label`\n margin: 0;\n font-size: 12px;\n font-style: italic;\n`\n\nconst Container = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 12px 24px;\n h4 {\n font-family: ProximaBold;\n }\n p {\n font-family: Proxima;\n text-align: center;\n }\n button {\n margin-top: 8px;\n }\n`\n\nconst ErrorSpan = styled.div`\n\tcolor: red;\n\ttext-align: center;\n`\n\nexport default function AddToShoppingListModal({ open, hide, item, customerPartNumberId, defaultQuantity }) {\n const context = useContext(Context)\n const [listName, setListName] = useState('')\n const [listNotes, setListNotes] = useState('')\n const [shoppingListOptions, setShoppingListOptions] = useState([])\n const [selectedLists, setSelectedLists] = useState([])\n const [quantity, setQuantity] = useState(defaultQuantity || 1)\n const [error, setError] = useState('')\n\t\n const loading = context.upsertShoppingListState?.loading\n\t\n useEffect(() => {\n context.getShoppingLists()\n },[])\n\n useEffect(() => {\n setQuantity(defaultQuantity)\n }, [defaultQuantity])\n\n useEffect(() => {\n setShoppingListOptions(context.shoppingLists.map(list => (\n { \n label: list.name + (list.ownerId !== context.userInfo.webUserId \n ? \" [Owned by \" + list.ownerName + \"]\" \n : \"\"), \n value: list.id, \n ...list \n })))\n }, [context.shoppingLists])\n\t\n const handleListNameChange = ({ target: { value } }) => setListName(value)\n const handleListNotesChange = ({ target: { value } }) => setListNotes(value)\n\t\n const handleClose = () => {\n setError('')\n setSelectedLists([])\n hide()\n }\n\t\n const handleUserChange = value => {\n setSelectedLists(null)\n }\n\t\n const handleAdd = () => {\n if ((!selectedLists || !selectedLists.length) && (!listName || !listName.length)) {\n setError('Please select a list or enter a name')\n } else if (listName && listName.length) {\n setError('')\n context.upsertShoppingList({\n isForAllCustomer: false,\n name: listName,\n notes: listNotes,\n shoppingListItems: [{ ...item, customerPartNumberId }],\n editors: []\n }).then(() => hide())\n } else {\n setError('')\n const { itemCode, invMastUid } = item\n const shoppingLists = selectedLists.map(selectedList => {\n const foundList = context.shoppingLists.find(list => list.id === selectedList.value)\n return { ...foundList, ownerId: undefined, ownerName: undefined, shoppingListItems: [...foundList.shoppingListItems, { itemCode, invMastUid, quantity, customerPartNumberId }] }\n })\n Promise.all(shoppingLists.map(list => context.upsertShoppingList(list)))\n .then(() => hide())\n }\n }\n\t\n const handleQtyChange = ({ target: { value } }) => {\n const cleanVal = value.replace(/\\D/g, '')\n const quantity = cleanVal.length ? parseInt(cleanVal) : null\n setQuantity(quantity)\n }\n\t\n useEffect(() => {\n if (listName?.length || listNotes?.length) {\n setSelectedLists([])\n }\n }, [listName, listNotes])\n\t\n useEffect(() => {\n if (selectedLists && selectedLists.length) {\n setListName('')\n setListNotes('')\n }\n }, [selectedLists])\n\t\n return (\n \n \n

Add Item to Shopping List

\n \n \n \n \n\t\t\t\t\n \n

Select lists to add this item to

\n \n
\n\t\t\t\t\n

Or save as new list

\n\t\t\t\t\n \n \n \n \n\t\t\t\t\n \n \n \n \n\t\t\t\t\n {error}\n \n Cancel\n {loading ? 'Adding...' : 'Add'}\n \n
\n
\n )\n}","import React, { useState } from 'react'\nimport ItemImage from '../ItemImage'\nimport { ChevronLeft, ChevronRight } from '@mui/icons-material'\nimport styled from 'styled-components'\n\nconst DirContainer = styled.div`\n display: inline-block;\n cursor: pointer;\n margin: 0px 5px;\n width: 33px;\n`\n\nconst ImgContainer = styled.div`\n height: 50px;\n width: 50px;\n margin-left: 10px; \n cursor: pointer;\n display: inline-block;\n`\n\nexport default function Thumbs(props) {\n const { grouped, setGroupedKey, groupedKey } = props;\n const [startIdx, setStartIdx] = useState(0)\n\n const thumbs = Object.keys(grouped).map((key, i) => {\n return (\n setGroupedKey(key),\n key,\n style: {\n outline: groupedKey === key ? '1px solid rgb(219, 22, 51)' : '1px solid #aaa',\n }\n }}>\n \n \n )\n })\n\n const displayThumbs = thumbs.slice(startIdx, startIdx + 3);\n\n return (\n
\n \n {startIdx > 0 && (\n
setStartIdx(startIdx - 1)}>\n \n
\n )}\n
\n {displayThumbs}\n \n {\n thumbs.length > startIdx + 3 && (\n
setStartIdx(startIdx + 1)}>\n \n
\n )\n }\n
\n
\n )\n}","import React from 'react'\nimport ItemImage from '../ItemImage';\nimport Modal from '../modal'\nimport Thumbs from './Thumbs'\nimport styled from 'styled-components'\n\nconst Disclaimer = styled.div`\n font-size: 16px;\n color: grey;\n`\n\nconst ImgContainer = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 500px;\n max-width: 100%;\n`\n\nconst ThumbsContainer = styled.div`\n display: flex;\n justify-content: center;\n margin-top: 20px;\n`\n\nexport default function ImageModal(props) {\n const { open, onClose, grouped, groupedKey, setGroupedKey } = props\n\n const disclaimer = 'Images are representative only.'\n const groupedLength = Object.keys(grouped)?.length\n\n return (\n \n \n \n \n {groupedLength > 1 && (\n \n \n \n )}\n {disclaimer}\n \n )\n}","import React, { useEffect, useState } from 'react'\nimport ItemImage from '../ItemImage'\nimport ImageModal from './ImageModal'\nimport Thumbs from './Thumbs'\nimport styled from 'styled-components'\n\nconst ImgContainer = styled.div`\n height: 250px;\n width: 320px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: ${props => props.hasLink ? 'pointer' : null};\n`\n\nconst ThumbContainer = styled.div`\n margin-top: 15px;\n`\n\nexport default function MultiImage(props) {\n const { details, size, textSize, postCart, link } = props\n const { itemMedia } = details\n\n const [grouped, setGrouped] = useState({})\n const [groupedKey, setGroupedKey] = useState()\n const [modalOpen, setModalOpen] = useState(false)\n\n useEffect(() => {\n if (itemMedia?.length) {\n const grouped = groupImages(itemMedia)\n const groupedKey = Math.min(...Object.keys(grouped))\n\n setGrouped(grouped)\n setGroupedKey(`${groupedKey}`)\n }\n }, [itemMedia?.length])\n\n function groupImages(images) {\n const grouped = {}\n for (const i of images) {\n const key = i.sequence\n if (grouped[key]) {\n grouped[key].push(i)\n } else {\n grouped[key] = [i]\n }\n }\n return grouped\n }\n\n return (\n
\n {Object.keys(grouped).length <= 1 ? (\n details.itemMedia.length > 0 ? setModalOpen(true) : null}\n hasLink={details.itemMedia.length > 0}\n >\n \n \n ) : groupedKey ? (\n <>\n setModalOpen(true)}>\n \n \n \n \n \n \n ) : null}\n setModalOpen(false),\n grouped,\n groupedKey,\n setGroupedKey\n }} />\n
\n )\n}","import React, { useState, useContext } from 'react'\nimport Context from 'setup/context'\nimport styled from 'styled-components'\nimport LocationsModal from '../../_common/modals/LocationsModal'\nimport QuantityInput from 'pageComponents/_common/form/quantityInput'\nimport AirlineChip from 'pageComponents/_common/styledComponents/AirlineChip'\nimport { Detail1 as SkeletonDetail } from 'pageComponents/SearchResults/uiComponents/skeletonItem'\nimport ItemImage from '../../_common/ItemImage'\nimport { gtag } from 'ga-gtag';\nimport { Center, NoHoverLink, ButtonBlue } from 'pageComponents/SearchResults/uiComponents/itemResult'\nimport { Link } from 'react-router-dom'\n\nconst DivItemResultContainer = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 320px;\n margin: 0 8px 20px 8px;\n padding: 8px 0;\n border-bottom: 1px grey solid;\n`\n\nconst DivPartNumberRow = styled.div`\n width: 100%;\n display: flex;\n color: #000;\n padding: 0 5px;\n font-size: 12px;\n font-family: Arial, sans-serif;\n`\n\nconst DivExtendedDetails = styled.div`\n width: 100%;\n display: flex;\n color: #000;\n padding: 0 5px;\n font-size: 12px;\n font-family: Arial, sans-serif;\n`\nconst DivPartNumberRowSpread = styled(DivPartNumberRow)`\n justify-content: center;\n`\n\nconst P = styled.p`\n margin: 0;\n font-weight: 500;\n margin: 0 4px;\n`\n\nconst DivPartDetailsRow = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-grow: 99;\n background-color: #fff;\n width: 100%;\n`\n\nconst DivPartImg = styled.div`\n display: flex;\n width: 150px;\n height: 150px;\n background-color: white;\n`\n\nconst SmallImg = styled.div`\n display: flex;\n width: 75px;\n height: 75px;\n background-color: white;\n`\n\nconst DivPartDetails = styled.div`\n display: flex;\n flex-direction: column;\n padding: 4px;\n`\n\nconst PartTitle = styled.h3`\n margin: 0;\n font-weight: 700;\n font-size: 15px;\n color: #000000 !important;\n text-align: center;\n overflow: hidden;\n &:hover{\n cursor: pointer;\n color: #328EFC;\n }\n`\n\nconst PpartAvailability = styled.p`\n margin: 0;\n font-size: 13px;\n`\n\nconst ButtonRed = styled.button`\n background-color: #b51029;\n color: white;\n font-weight: 600;\n border: 0;\n padding: 4px 8px;\n box-shadow: 1px 1px 2px #000;\n margin: 0px auto;\n &:hover{\n background-color: rgb(219, 22, 51);\n }\n &:active{\n background-color: #b51029;\n box-shadow: 0px 0px 1px #000;\n }\n &:disabled{\n background-color: grey;\n color: white;\n }\n`\n\nconst Div = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n`\n\nconst DivSpace = styled(Div)`\n width: 100%;\n justify-content: center;\n align-items: flex-end;\n flex-grow: 99;\n margin-top: 5px;\n`\n\nconst Pprice = styled.p`\n color: #328EFC;\n font-size: 18px;\n font-weight: 700;\n padding: 0 4px;\n margin: 0;\n`\n\nconst ACall = styled.a`\n color: #328EFC;\n font-weight: 700;\n padding: 0 4px;\n`\n\nconst ImgContainer = styled.div`\n margin: auto;\n object-fit: contain;\n width: 100%;\n height: 100%;\n`\n\nconst NoHoverAnchor = styled.a`\n &:hover {\n text-decoration: none;\n }\n`\nconst StrikeThrough = styled.span`\n text-decoration: line-through;\n`\n\nexport default function AccessoryItem({ itemDetails, price, availability, setShowAddedToCartModal, isParentCalculateStock, size, type }) {\n const [quantity, setQuantity] = useState(1)\n\n const context = useContext(Context)\n\n const {\n unitPrice,\n unitOfMeasure,\n unitSize,\n roundType\n } = price || {}\n\n const setQuantityHandler = (qty) => {\n setQuantity(qty)\n }\n function handleAddToCart() {\n if (quantity > 0) {\n context.addItem({\n invMastUid: itemDetails?.invMastUid,\n quantity: quantity,\n itemUnitPriceOverride: null,\n customerPartNumberId: null\n })\n setShowAddedToCartModal(true)\n }\n if (type === 3) {\n gtag(\"event\", \"substitute_item_add_to_cart\", {\n items: [\n {\n item_id: itemDetails.itemCode,\n item_name: itemDetails.itemDesc,\n }\n ]\n });\n }\n if (type === 'frequentlyPurchasedItem') {\n gtag(\"event\", \"frequently_purchase_together_add_to_cart\", {\n items: [\n {\n item_id: itemDetails.itemCode,\n item_name: itemDetails.itemDesc,\n }\n ]\n });\n }\n }\n\n if (!itemDetails) return <>\n\n const isLarge = size !== 'small'\n\n const itemLink = `/product/${itemDetails?.itemCodeUrlSanitized}/${itemDetails?.invMastUid}`\n\n return (\n \n \n {isLarge ? (\n \n \n \n \n \n \n \n ) : (\n \n \n \n \n \n \n \n )}\n\n \n {itemDetails.itemDesc.substring(0, 90)}...\n \n\n {isLarge && (\n \n {itemDetails?.extendedDesc && itemDetails.extendedDesc.replaceAll(\"\\\"\", \"\")}\n \n )}\n\n {itemDetails?.isDiscontinued ? (\n <>\n \n Airline #: AHC{itemDetails?.invMastUid} Discontinued\n \n \n \n ) : (\n <>{isLarge && (\n \n Airline #: AHC{itemDetails?.invMastUid}\n \n )}\n )}\n\n\n \n {itemDetails.itemFamilies?.length > 0 && itemDetails.itemFamilies?.some((i => i.familyInvMastUid === itemDetails.invMastUid)) ?\n (\n
\n \n Customize Length\n \n
\n )\n :\n (\n <>\n \n
\n {isLarge ? 'Quantity:' : 'Qty:'}\n \n {\n (unitSize > 1) && (\n \n X {unitSize}\n \n )\n }\n
\n\n
\n \n {unitPrice ? (\n
\n ${unitPrice.toFixed(2)}\n

/{unitOfMeasure}

\n
\n ) : !price ? (\n
\n \n
\n ) : (\n Call for Price\n )}\n
\n\n \n {!!price && Add to Cart}\n \n \n )}\n
\n
\n )\n}\n","import React from 'react'\nimport { Detail1 as SkeletonLine, Title as SkeletonTitle } from '../../SearchResults/uiComponents/skeletonItem'\nimport styled from 'styled-components'\n\nconst Table = styled.table`\n\tmargin: 0 16px;\n\ttable-layout: fixed;\n\twidth: 100%;\n`\n\nconst TR = styled.tr`\n\tborder-bottom: 1px whitesmoke solid;\n`\n\nconst TD = styled.td`\n\tword-wrap:break-word;\n\tpadding-right: 8px;\n`\n\nexport default function SkeletonLoader() {\n const SkeletonList = () => (\n \n )\n \n const SkeletonTbody = () => (\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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n\n return (\n <>\n \n \n \n \n \n
\n \n )\n}","import React from 'react'\nimport styled from 'styled-components'\nimport ItemImage from '../../_common/ItemImage'\nimport { Link } from 'react-router-dom'\n\nconst PartTitle = styled.div`\n font-weight: 700;\n`\n/*A container is necessary for because it auto-sizes itself to 100% w&h*/\nconst PartImageDiv = styled.div`\n width: 75px;\n height: 75px;\n`\n\nconst relationsKey = {\n 1: 'Spare Part',\n 2: 'Accessory',\n 3: 'Replacement',\n 4: 'Bill of Materials'\n}\n\nexport default function RelatedItem(props) {\n const {\n itemCode,\n invMastUid,\n itemCodeUrlSanitized,\n type,\n isAssembly,\n isNcnr,\n itemMedia\n } = props\n\n const itemLink = `/product/${itemCodeUrlSanitized}/${invMastUid}`;\n\n return (\n \n \n {relationsKey[type]}\n \n \n \n {itemCode}\n \n \n \n \n \n \n \n \n \n \n )\n}\n","import React from 'react'\nimport { useQuery } from '@apollo/client'\nimport styled from 'styled-components'\nimport Loader from '../../_common/loader'\nimport RelatedItem from './RelatedItem'\nimport { GET_RELATIONS } from 'setup/providerGQL'\n\nconst RelatedToTable = styled.table`\n max-width: 800px;\n border-collapse: collapse;\n th {\n padding: 10px 30px 10px 20px;\n }\n tr {\n border-top: 1px lightgrey solid;\n\t //border-bottom: 1px lightgrey solid;\n }\n tr:last-child {\n border-bottom: 0;\n }\n td {\n padding: 10px 20px 10px 20px;\n }\n`\n\nexport default function RelatedItems(props) {\n const { invMastUid } = props\n\n const { loading, data } = useQuery(GET_RELATIONS, {\n variables: { invMastUid }\n })\n\n const relatedToDisplay = data?.relatedTo?.map((r, i) => {\n return (\n \n )\n })\n\n return (\n
\n {!loading ? (\n \n \n \n This item is a(n)...\n of the following product...\n \n \n \n {relatedToDisplay}\n \n \n ) : \n }\n
\n )\n}\n","import React from 'react'\nimport styled from 'styled-components'\n\nconst Table = styled.table`\n margin: 0 16px;\n table-layout: fixed;\n margin-bottom: 20px;\n`\n\nconst TR = styled.tr`\n border-bottom: 1px whitesmoke solid;\n`\n\nconst TD = styled.td`\n word-wrap:break-word;\n padding-right: 8px;\n`\n\nconst TDshort = styled.td`\n word-wrap:break-word;\n padding-right: 8px;\n`\n\nfunction sortTechSpecs(ts1, ts2) {\n if (ts1.sequence > ts2.sequence) {\n return 1;\n } else if (ts1.sequence < ts2.sequence) {\n return -1;\n } else {\n return ts1.name.localeCompare(ts2.name);\n }\n}\n\nexport default function TechSpecs(props) {\n const { itemDetails } = props\n\n const TechSpecItems = itemDetails?.itemTechSpecs?.sort(sortTechSpecs).map((elem, idx) => (\n \n {elem.name}\n \n \n ))\n\n return (\n <>\n {!!TechSpecItems.length && (\n <>\n

Tech Specifications

\n \n {TechSpecItems}\n
\n \n )\n }\n \n )\n\n}\n","import React from 'react';\nimport styled from 'styled-components';\nimport AccessoryItem from './accessoryItem';\n\nfunction buildAccessoryItems(accessoryItems, info, prices, setShowAddedToCartModal) {\n return accessoryItems?.map((ai, idx) => {\n\n const details = info?.itemDetailsBatch?.find(d => d.invMastUid === ai.associatedInvMastUid)\n const availability = info?.itemAvailability?.find(a => a.invMastUid === ai.associatedInvMastUid)\n const price = prices?.find(p => p.invMastUid === ai.associatedInvMastUid)\n\n return (\n \n )\n })\n}\n\nconst DivAccessoryItems = styled.div`\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tjustify-content: space-around;\n`\nexport default function Accessories(props) {\n const { items, \n info,\n prices,\n setShowAddedToCartModal\n } = props\n\n const Items = buildAccessoryItems(items, info, prices, setShowAddedToCartModal )\n \n return (\n \n {Items}\n \n )\n}","import React from \"react\";\nimport styled from \"styled-components\";\n\nconst LinkThumbnail = styled.img`\n\tmargin-right: 5px;\n\tobject-fit: contain;\n\tmax-height: 75px;\n`\n\nexport default function ItemLinks(props) {\n\tconst { links } = props\n\n\treturn (<>\n\t\t{links.map((link, idx) => {\n\t\t\treturn (\n\t\t\t\t
\n\t\t\t\t\t{link.thumbnail && }\n\t\t\t\t\t{link.title}\n\t\t\t\t
\n\t\t\t)\n\t\t})}\n\t)\n}","import React, { useState, useEffect } from 'react'\nimport { Link } from 'react-router-dom'\nimport styled from 'styled-components'\nimport Loader from '../../_common/loader'\nimport AccessoryItem from './accessoryItem'\nimport LocationsModal from '../../_common/modals/LocationsModal'\nimport CustomerPartModal from '../../_common/modals/CustomerPartModal'\nimport queryString from 'query-string'\nimport SubstituteLink from 'pageComponents/_common/SubstituteLink'\nimport NotifyMeButton from './notifyMe'\nimport SkeletonLoader from './SkeletonLoader'\nimport RelatedTo from './RelatedTo'\nimport TechSpecs from './TechSpecs'\nimport Accessories from './Accessories'\nimport ItemLinks from './ItemLinks'\n\nconst DivDetails = styled.div`\n\tflex: 1;\n\tmax-width: 100%;\n\tpadding: 0 16px;\n`\n\nconst Row = styled.div`\n\tdisplay: flex;\n\talign-items: center;\n`\n\nconst P = styled.p`\n\tmargin: 0;\n`\n\nconst DivAccessoryItems = styled.div`\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tjustify-content: space-around;\n`\n\nconst PItemExtendedDescription = styled.p`\n\tfont-size: 16px;\n`\nconst Pprice = styled.p`\n\tcolor: #328EFC;\n\tfont-size: 18px;\n\tfont-weight: 700;\n padding: 0 0 4px 4px;\n\tmargin: 0;\n`\n\nconst TABLE = styled.table`\n\tmargin-top: 20px;\n`\n\nconst TR2 = styled.tr`\n\tborder-top: 1px lightgrey solid;\n\tborder-bottom: 1px lightgrey solid;\n`\n\nconst TDGrey = styled.td`\n\ttext-align: right;\n\tpadding: 4px 8px 4px 24px;\n\tfont-weight: 500;\n\tbackground-color: whitesmoke;\n`\n\nconst H3 = styled.h3`\n font-size: 18px;\n margin: 0;\n`\n\nconst TDWhite = styled.td`\n padding: 4px 24px 4px 8px;\n`\n\nconst IMG = styled.img`\n\topacity: 0.6;\n`\n\nconst StrikeThrough = styled.span`\n text-decoration: line-through;\n`\n\nconst ACall = styled.a`\n\tcolor: #328EFC;\n\tfont-weight: 700;\n\tpadding: 0 4px;\n`\n\nconst DivOtherActions = styled.div`\n display: flex;\n flex-direction: row;\n`\n\nconst LinkBtn = styled(Link)`\n text-decoration: none!important;\n`\nconst Ul = styled.ul`\n margin-bottom: 20px;\n`\n\nconst ButtonBlue = styled.button`\n color: white;\n text-decoration: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: 'white !important';\n background: #0368e0;\n background: linear-gradient(to top left, #0368e0, #328efc);\n padding: 4px 12px;\n box-shadow: 1px 1px 2px black;\n font-size: 12px;\n font-weight: 600;\n border: none;\n margin: 5px;\n svg {\n margin-right: 5px;\n }\n &:hover {\n color: white;\n text-decoration: none;\n }\n`\n\nconst AvailabilityRow = styled.div`\n\twidth: 100%;\n\tdisplay: flex;\n\tcolor: #000;\n\tpadding: 0 5px;\n\tfont-size: 12px;\n\tfont-family: Arial, sans-serif;\n gap: 5px;\n`\n\nconst Availability = styled.p`\n\tmargin: 0;\n\tfont-size: 13px;\n`\n\nexport default function ItemDetailPage(props) {\n const {\n itemDetails,\n accessoryItems,\n accessoryItemsInfo,\n accessoryItemPrices,\n itemAvailability,\n unitOfMeasure,\n unitPrice,\n setShowAddedToCartModal,\n setSelectedCustomerPartNumberId,\n selectedCustomerPartNumberId,\n customerPartOptions,\n loadedCalls,\n invMastUid,\n itemInfo,\n brandSearchLink,\n quantityAvailableToMake\n } = props\n\n useEffect(() => {\n window.scrollTo({ top: 0 })\n }, [])\n\n const [onOrder, setOnOrder] = useState(null) /*How many are on order, when there are none in stock*/\n\n const isDiscontinued = itemDetails?.isDiscontinued\n\n const infoUrl = buildInfoUrl()\n\n function buildInfoUrl() {\n const urlArr = window.location.toString().split('/').slice(3)\n urlArr[0] = 'productinfo'\n return `/${urlArr.join('/')}`\n }\n\n function cpnModal_onSelectedChanged(value) {\n if (value === '-1') {\n setSelectedCustomerPartNumberId(0) // Reset Dropdown\n } else {\n setSelectedCustomerPartNumberId(Number(value))\n }\n }\n\n function cpnModal_onClearSelected() {\n setSelectedCustomerPartNumberId(0)\n }\n\n const FeatureItems = itemDetails?.itemFeatures?.map((elem, idx) =>
  • )\n\n const SpareParts = accessoryItems?.filter(a => a.type === 1)\n const AccessoryItems = accessoryItems?.filter(a => a.type === 2)\n const SubstituteItems = accessoryItems?.filter(a => a.type === 3)\n const bom = accessoryItems?.filter(a => a.type === 4)\n\n useEffect(() => {\n if (loadedCalls.length === 3) {\n const hash = queryString.parse(window.location.hash)\n if (Object.keys(hash).length) {\n const id = Object.keys(hash)[0]\n document.getElementById(id)?.scrollIntoView()\n }\n }\n }, [loadedCalls])\n\n const OtherActions = (props) => {\n const {\n SubstituteItems,\n onOrder\n } = props\n\n return \n {!!onOrder && }\n {SubstituteItems?.length > 0 && }\n {bom.length > 0 && itemAvailability?.availability === 0 && (\n \n Bill of Materials\n \n )}\n \n }\n\n const bomLink = `/productinfo/${itemDetails?.itemCodeUrlSanitized || encodeURIComponent(itemDetails?.itemCode)}/${itemDetails?.invMastUid}${selectedCustomerPartNumberId ? `/${selectedCustomerPartNumberId}` : ''}`;\n\n if (!itemDetails) {\n return ()\n } else if (!itemDetails?.invMastUid) {\n return (

    No item found

    )\n } else {\n return (\n \n \n\n {!isDiscontinued && (\n <>\n \n {!unitPrice ? Call for Price : `$${unitPrice.toFixed(2)}`}\n {!!unitPrice &&

    /{unitOfMeasure}

    }\n
    \n\n \n \n )}\n\n {(itemAvailability?.Availability && itemAvailability.availability === 0 && quantityAvailableToMake > 0) && (\n \n \n Components Available To Make:\n \n {quantityAvailableToMake}\n \n )}\n\n \n\n \n \n\n {itemDetails?.brand?.logoLink &&

    Manufacturer

    }\n

    Item ID

    {itemDetails?.itemCode}
    \n

    Manufacturer Part #

    {itemDetails?.mfgPartNo}
    \n

    AHC Part #

    \n {isDiscontinued ? (\n {itemDetails?.invMastUid} Discontinued\n ) : (\n {itemDetails?.invMastUid}\n )}\n\n
    \n {itemDetails?.nsn &&

    NSN #

    \n {itemDetails.nsn}\n
    }\n\n {!!customerPartOptions?.length && (\n \n

    Customer Part #

    \n \n \n \n
    \n )}\n\n \n

    Unit Size

    \n {itemDetails?.unitSizeMultiple}\n
    \n\n \n

    Brand

    \n \n \n
    {itemDetails?.brand?.name}
    \n \n
    \n
    \n {bom?.length > 0 && (\n \n \n

    BOM Available

    \n
    \n
    \n \n )}\n \n
    \n \n View Bill of Materials\n \n
    \n\n
    \n\n {!!FeatureItems?.length && (\n
    \n

    Features

    \n
      {FeatureItems}
    \n
    \n )}\n\n {!!itemDetails?.itemTechSpecs?.length && (\n \n )}\n\n {itemDetails?.itemLinks?.length > 0 &&\n
    \n

    Links

    \n \n
    }\n {SpareParts?.length > 0 &&\n
    \n

    Spare Parts

    \n \n
    \n }\n\n {AccessoryItems?.length > 0 &&\n
    \n

    Accessory Items

    \n \n
    \n }\n\n {SubstituteItems?.length > 0 &&\n
    \n

    Substitute Items

    \n \n
    \n }\n\n {itemDetails?.hasRelations && (\n
    \n

    Related To

    \n \n
    \n )}\n\n {!itemInfo && }\n
    \n )\n }\n}\n","import React from 'react'\nimport styled from 'styled-components'\nimport QuantityInput from 'pageComponents/_common/form/quantityInput'\nimport { Detail1 as SkeletonDetail } from 'pageComponents/SearchResults/uiComponents/skeletonItem'\nimport ItemImage from '../../_common/ItemImage'\n\nconst DivPartImg = styled.div`\n display: flex;\n width: 100px;\n height: 100px;\n background-color: white;\n`\n\nconst PartTitle = styled.div`\n margin: 0;\n font-weight: 700;\n`\n\nconst ButtonRed = styled.button`\n background-color: #b51029;\n color: white;\n font-weight: 600;\n border: 0;\n padding: 4px 8px;\n box-shadow: 1px 1px 2px #000;\n margin: 4px auto;\n &:hover{\n background-color: rgb(219, 22, 51);\n }\n &:active{\n background-color: #b51029;\n box-shadow: 0px 0px 1px #000;\n }\n`\n\nconst ACall = styled.a`\n color: #328EFC;\n font-weight: 700;\n padding: 0 4px;\n`\n\nconst FlexCol = styled.div`\n display: flex;\n flex-direction: column;\n gap: 5px;\n`\n\nconst FlexRow = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 5px;\n`\n\nconst FixedWidth = styled.div`\n width: 300px\n`\n\nconst Key = styled.span`\nfont-weight: 500;\nmargin: 0 4px;\n`\n\nconst Value = styled.span`\n font-size: 12px;\n`\n\nexport default function BomItem(props) {\n const {\n itemCode,\n invMastUid,\n extendedDesc,\n unitPrice,\n availability,\n unitOfMeasure,\n quantity,\n details,\n itemCodeUrlSanitized,\n setShowAddedToCartModal,\n setQuantity,\n unitSize,\n roundType,\n hasPrice,\n addItem\n } = props\n\n function handleAddToCart() {\n if (quantity > 0) {\n addItem({\n invMastUid,\n quantity,\n itemUnitPriceOverride: null,\n customerPartNumberId: null\n })\n setShowAddedToCartModal(true)\n }\n }\n\n const itemLink = `/product/${itemCodeUrlSanitized}/${invMastUid}`\n\n return (\n \n
    \n \n \n \n \n \n
    \n \n \n \n\n
    \n AHC{invMastUid}\n
    \n\n
    \n {extendedDesc}\n
    \n
    \n
    \n \n {unitPrice ? (\n \n Unit Price: \n ${unitPrice.toFixed(2)}\n\n \n ) : !hasPrice ? (\n \n \n \n ) : (\n Call for Price\n )}\n
    \n Availability: \n {availability} / {unitOfMeasure}\n
    \n
    \n
    \n \n
    \n {!!hasPrice && Add to Cart}\n
    \n
    \n
    \n )\n}\n","import React, { useContext, useEffect, useState } from 'react'\nimport styled from 'styled-components'\nimport Loader from '../../_common/loader'\nimport BomItem from './BomItem'\nimport Context from 'setup/context'\nimport { ButtonRed } from 'styles/buttons'\n\nconst FlexCol = styled.div`\n display: flex;\n flex-direction: column;\n gap: 10px;\n padding: 10px;\n max-height: 90vh;\n overflow-y: scroll;\n`\n\nconst FlexRow = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding-right: 10px;\n`\n\nexport default function BomItems(props) {\n const { bom, setShowAddedToCartModal, quantityAvailableToMake } = props\n const [localBom, setLocalBom] = useState([])\n\n const context = useContext(Context)\n\n useEffect(() => {\n if (bom) {\n setLocalBom(bom)\n }\n }, [bom])\n\n function addAllItemsToCart() {\n const items = localBom.map(item => {\n return {\n invMastUid: item.invMastUid,\n quantity: parseInt(item.quantity, 10),\n }\n })\n context.addItems(items)\n setShowAddedToCartModal(true)\n }\n\n function setQuantity(idx, value) {\n const newBom = JSON.parse(JSON.stringify(localBom))\n newBom[idx] = { ...newBom[idx], quantity: value }\n setLocalBom(newBom)\n }\n\n const bomDisplay = localBom.map((b, i) => {\n return (\n setQuantity(i, v),\n setShowAddedToCartModal,\n addItem: context.addItem,\n key: i\n }} />\n )\n })\n\n return (\n <>\n {bom ? (\n
    \n \n

    Bill of Materials

    \n \n Add Items to Cart\n \n
    \n {!!quantityAvailableToMake && (\n \n {`Components Available To Make: ${quantityAvailableToMake}`}\n \n )}\n \n {bomDisplay}\n \n
    \n ) : }\n \n )\n}","import React from 'react'\nimport { Link } from 'react-router-dom'\nimport BomItems from './BomItems'\n\nexport default function ItemDetailsInfo(props) {\n const { accessoryItemPrices, accessoryItemsInfo, accessoryItems, setShowAddedToCartModal, quantityAvailableToMake } = props\n \n const baseUrl = buildBaseUrl()\n\n function buildBaseUrl() {\n const urlArr = window.location.toString().split('/').slice(3)\n urlArr[0] = 'product'\n return `/${urlArr.join('/')}`\n } \n\n function buildBomObj(bomArr) {\n return bomArr.map(b => {\n const details = accessoryItemsInfo?.itemDetailsBatch?.find(d => d.invMastUid === b.associatedInvMastUid) || {}\n const availability = accessoryItemsInfo?.itemAvailability?.find(a => a.invMastUid === b.associatedInvMastUid) || {}\n const price = accessoryItemPrices.find(p => p.invMastUid === b.associatedInvMastUid) || {}\n const { quantity } = b\n const {\n itemCode, itemCodeUrlSanitized, invMastUid, extendedDesc,\n itemMedia, isNcnr, isAssembly\n } = details\n const { unitPrice, unitOfMeasure } = price\n\n return {\n itemCode,\n itemCodeUrlSanitized,\n invMastUid,\n extendedDesc,\n unitPrice,\n availability: availability.availability,\n unitOfMeasure,\n quantity,\n details: {\n itemMedia,\n isAssembly,\n isNcnr,\n invMastUid,\n itemCode\n },\n hasPrice: !!price\n }\n })\n }\n\n const bom = buildBomObj(accessoryItems.filter(a => a.type === 4))\n\n return (\n
    \n
    \n \n {'< Product Page'}\n \n
    \n \n
    \n )\n}","import React, { useState, useEffect, useContext } from 'react'\nimport NumberFormat from 'react-number-format'\nimport { DetailButtonSmall } from 'pageComponents/Account/orderQuoteShared'\nimport QuantityInput from 'pageComponents/_common/form/quantityInput'\n\nimport Context from 'setup/context'\nimport { useDebounceValue } from 'pageComponents/_common/helpers/generalHelperFunctions'\n\nconst PrecustomizedLengthInput = (props) => {\n const {handleUpdate, cutToLength, precustomLength, setPrecustomLength} = props\n\n const debouncedDisplayLength = useDebounceValue(precustomLength, 500)\n\n \n\n useEffect(() => {\n handleUpdate(debouncedDisplayLength)\n\n }, [debouncedDisplayLength])\n return(\n setPrecustomLength(e.target.value)} />\n )\n}\n\nexport default function PrecustomizedItem({\n item,\n cutToLength,\n cutToLengthMaterial,\n setCustomizerItem,\n isActive,\n setActive,\n handleAddToCart\n}) {\n const [quantity, setQuantity] = useState(1)\n const [precustomLength, setPrecustomLength] = useState(150)\n\n const setQuantityHandler = (qty) => {\n setQuantity(qty)\n }\n\n const setLengthHandler = (ln) => {\n const selectedCustomizations = item.precustomizedItemCustomizations?.map((customization) => ({\n unitOfMeasure: \"MM\",\n axis: \"X\",\n materialItemInvMastUid: cutToLengthMaterial?.invMastUid,\n customizationKind: \"Miter\",\n customizedItem: {\n invMastUid: customization.customizationInvMastUid\n }\n })) ?? []\n\n setCustomizerItem(customizerItem => {\n\n const oldCutToLength = customizerItem.customizations.find(c => c.customizationKind === 'CutToLength')\n oldCutToLength[\"dimLengthX\"] = parseFloat(ln)\n return {...customizerItem, customizations: [...selectedCustomizations, oldCutToLength]}\n\n })\n }\n\n return(\n {setActive(); setLengthHandler(precustomLength)}}>\n {item.iconMediaPath && }\n {item.shortDesc}\n \n \n \n \n \n \n Add To Cart\n \n )\n}","import React, { useState, useEffect, useMemo } from 'react'\nimport { useLazyQuery } from '@apollo/client'\nimport styled from 'styled-components'\n\nimport { GET_ITEM_FAMILY_DETAILS, GET_ITEM_FAMILY_PRECUSTOMIZED_ITEMS } from 'setup/gqlQueries/gqlItemQueries'\nimport { GET_ITEM_PRICE } from 'setup/providerGQL'\nimport TechSpecs from './TechSpecs'\nimport { useDebounceValue } from 'pageComponents/_common/helpers/generalHelperFunctions'\nimport { DivSection } from './ItemDetailsBase'\nimport Accessories from './Accessories'\nimport RelatedTo from './RelatedTo'\nimport SubstituteLink from 'pageComponents/_common/SubstituteLink'\nimport ItemLinks from './ItemLinks'\nimport NumberFormat from 'react-number-format'\nimport { FAMILY_MEMBER_KIND } from 'pageComponents/_common/constants/customizationConstants'\nimport { DetailButtonSmall } from 'pageComponents/Account/orderQuoteShared'\nimport PrecustomizedItem from './PrecustomizedItem'\nimport CTLAXIS from '../../../imgs/airline/ctl-axis.png'\n\nconst PItemExtendedDescription = styled.p`\n\tfont-size: 16px;\n`\n\nconst ItemCustomizerDiv = styled.div`\nflex: 1;\npadding: 0 16px;\n`\n\nconst CutToLengthSection = styled.section`\nlabel {\n display: block;\n}\ninput[type='radio'] {\n margin-right: 10px;\n}\nmargin-top: 10px;\nmax-width: 600px;\n`\nconst LengthEntryDiv = styled.div`\nmargin-left: 20px;\ninput {\n margin-bottom: 1rem;\n}\n`\nconst CutToLengthInfo = styled.div`\nfont-size: .95em;\np{\n font-weight: bold;\n margin-bottom: .5rem;\n}\n`\nconst MaxLengthDiv = styled.div`\nbackground-color: #FFFCE5;\npadding: 10px 15px;\nmargin-bottom: 10px;\np {\n margin: 0;\n padding: 0;\n}\n`\n\nconst MachiningTable = styled.table`\n border: 1px solid #CCC;\n border-collapse: collapse;\n background-color: #F9F9FC;\n margin-bottom: 10px;\n \n input {\n margin-bottom: 0;\n }\n \n\n th, td {\n font-size: 12px;\n border: 1px solid #CCC;\n overflow-wrap: unset;\n white-space: nowrap;\n }\n \n th {\n padding: 10px;\n }\n\n td {\n padding: 5px 10px;\n }\n\n .precustom-add {\n text-align: center;\n min-width: 150px;\n font-size: 15px;\n }\n`\n\nconst SubDiv = styled.div`\n display: flex;\n`\n\nconst MachiningDiv = styled.div`\n display:inline;\n\n p {\n margin-bottom: 0;\n }\n`\n\nconst CTLImage = styled.img`\n display:inline;\n position: relative;\n bottom: 50px;\n margin-left: 10px;\n`\n\nexport default function ItemDetailsCustomizer(props) {\n const { \n itemDetails, \n customItemType, \n setCustomItemType,\n unitPrice,\n quantity,\n customizerItem,\n setCustomizerItem,\n setCustomizerPrice,\n itemAvailability,\n setItemAvailability,\n handleItemChange,\n familyAccessoryItems,\n accessoryItems,\n accessoryItemsInfo,\n accessoryItemPrices,\n setShowAddedToCartModal,\n invMastUid,\n handleAddToCart,\n } = props\n \n // Assuming only one item family per item for now\n const itemFamily = itemDetails?.itemFamilies[0]\n\n const [cutToLength, setCutToLength] = useState({})\n const [customizationItemPrices, setCustomizationItemPrices] = useState([])\n const [familyItemPrices, setFamilyItemPrices] = useState([])\n const [precustomItemPrices, setPrecustomItemPrices] = useState([])\n const [length, setLength] = useState(150.0)\n const debouncedLength = useDebounceValue(length)\n const [precustomizedItems, setPrecustomizedItems] = useState([])\n const [machiningActiveRow, setMachiningActiveRow] = useState()\n\n\n const customizerLength = useMemo(() => customizerItem.customizations?.find(c => c.customizationKind === \"CutToLength\")?.dimLengthX ?? 150.0, [customizerItem])\n const cutToLengthMaterial = useMemo(() => itemFamily?.members?.find(m => m.relationshipToFamily === \"CutToLengthMaterial\") ?? {}, [itemFamily])\n\n const [getFamilyInfo, { data: familyInfo }] = useLazyQuery(GET_ITEM_FAMILY_DETAILS, {\n variables: { familyHeadInvMastUid: itemFamily?.familyInvMastUid, memberInvMastUid: itemDetails?.invMastUid },\n fetchPolicy: 'no-cache',\n onCompleted: result => {\n const customizations = result.itemFamilyDetails?.customizerOptions\n setCutToLength(customizations?.find(c => c.kind === \"CutToLength\"))\n\n //Build the price request objects\n const customizationItemPriceRequests = customizations?.map(i => {\n return {\n invMastUid: i.customizationInvMastUid,\n quantity: quantity\n }\n })\n\n const familyItemPriceRequests = itemFamily.members.map(i => {\n return {\n invMastUid: i.invMastUid,\n quantity: quantity\n }\n })\n\n queryCustomizationItemPrices({\n variables: {\n items: customizationItemPriceRequests\n }\n })\n\n queryFamilyItemPrices({\n variables: {\n items: familyItemPriceRequests\n }\n })\n },\n })\n\n const [getFamilyPrecustomizedItems, { data: familyPrecustomizedItems}] = useLazyQuery(GET_ITEM_FAMILY_PRECUSTOMIZED_ITEMS, {\n variables: { familyHeadInvMastUid: itemFamily?.familyInvMastUid },\n fetchPolicy: 'no-cache',\n onCompleted: result => {\n if(result.itemFamilyPrecustomizedItemsContainer) {\n setPrecustomizedItems(result.itemFamilyPrecustomizedItemsContainer.precustomizedItems)\n const precustomItemPriceRequests = result.itemFamilyPrecustomizedItemsContainer.precustomizedItems.flatMap(i => {\n return i.precustomizedItemCustomizations.map(p => p.customizationInvMastUid)\n })\n\n const uniquePrecustomItemPriceRequests = [...new Set(precustomItemPriceRequests)].map(i => {\n return {\n invMastUid: i\n }\n })\n \n queryPrecustomizedItemPrices({\n variables: {\n items: uniquePrecustomItemPriceRequests\n }\n })\n }\n \n }\n })\n\n const [queryCustomizationItemPrices] = useLazyQuery(GET_ITEM_PRICE, {\n onCompleted: data => {\n setCustomizationItemPrices(data.getItemPrices)\n }\n })\n\n const [queryFamilyItemPrices] = useLazyQuery(GET_ITEM_PRICE, {\n onCompleted: data => {\n setFamilyItemPrices(data.getItemPrices)\n }\n })\n\n const [queryPrecustomizedItemPrices] = useLazyQuery(GET_ITEM_PRICE, {\n onCompleted: data => {\n setPrecustomItemPrices(data.getItemPrices)\n }\n })\n\n useEffect(() => {\n getFamilyInfo()\n if(itemFamily?.precustomizedItems) {\n getFamilyPrecustomizedItems()\n }\n }, [getFamilyInfo, customItemType])\n\n const SpareParts = familyAccessoryItems.concat(accessoryItems)?.filter(a => a.type === 1)\n const AccessoryItems = familyAccessoryItems.concat(accessoryItems)?.filter(a => a.type === 2)\n const SubstituteItems = familyAccessoryItems.concat(accessoryItems)?.filter(a => a.type === 3)\n\n useEffect(() => {\n const customizationPricesByInvMastUid = Object.fromEntries(customizationItemPrices.concat(precustomItemPrices).map(i => ([i.invMastUid, i.unitPrice])))\n\n const customizationsTotalPrice = customizerItem?.customizations?.reduce((sum, next) =>\n sum + customizationPricesByInvMastUid[next.customizedItem.invMastUid], 0) ?? 0\n\n if (customizerLength >= cutToLength?.minimumLengthX && customizerLength <= cutToLength?.maximumLengthX) {\n if (customizerLength >= cutToLength?.minimumFullChargeLength && cutToLength?.minimumFullChargeLength != null) {\n setCustomizerPrice(familyItemPrices.find(i => i.invMastUid === itemFamily?.members?.find(m => m.relationshipToFamily === \"Stick\")?.invMastUid)?.unitPrice\n + customizationsTotalPrice) \n }\n else {\n setCustomizerPrice((Math.ceil(customizerLength) * unitPrice) + customizationsTotalPrice) \n }\n }\n else {\n setCustomizerPrice(null)\n }\n }, [customizerLength, customizerItem, customizationItemPrices, cutToLength, itemFamily?.members, unitPrice, setCustomizerPrice, familyItemPrices])\n\n useEffect(() => {\n // TODO: Figure out a way to load customization options for Family Head item.\n if(itemFamily?.familyInvMastUid === itemDetails?.invMastUid) {\n handleItemChange(cutToLengthMaterial?.invMastUid)\n }\n }, [handleItemChange, itemDetails?.invMastUid, itemFamily, setCustomItemType]) \n\n useEffect(() => {\n setCustomizerItem(\n { \n invMastUid: itemFamily?.familyInvMastUid,\n quantity: parseInt(quantity, 10),\n itemUnitPriceOverride: null,\n customerPartNumberId: 0,\n customizations: [{\n axis: \"X\",\n dimLengthX: parseFloat(debouncedLength),\n materialItemInvMastUid: cutToLengthMaterial?.invMastUid,\n unitOfMeasure: familyInfo?.itemFamilyDetails?.unitOfMeasure,\n customizationKind: \"CutToLength\",\n customizedItem: {\n invMastUid: cutToLength?.customizationInvMastUid,\n }\n }]\n }\n )\n }, [cutToLength, debouncedLength, quantity, itemFamily, familyInfo?.itemFamilyDetails?.unitOfMeasure, setCustomizerItem])\n\n useEffect(() => {\n if((customItemType === 'cut' || customItemType === 'machining') && cutToLength && itemDetails) {\n const calculatedAvailability = Math.floor(parseInt(itemDetails?.availability) / parseInt(cutToLength?.maximumLengthX))\n setItemAvailability({...itemAvailability, availability: `${calculatedAvailability} Stick(s) Available`})\n }\n }, [customItemType, itemDetails, cutToLength])\n\n return (\n \n \n{SubstituteItems?.length > 0 && }\n { cutToLength && \n \n

    Options

    \n
    \n {/* Temporary Fix to allow partial family members */}\n { itemFamily?.members.some(m => m.relationshipToFamily === FAMILY_MEMBER_KIND.Bundle) && }\n { itemFamily?.members.some(m => m.relationshipToFamily === FAMILY_MEMBER_KIND.Stick) && }\n { itemFamily?.members.some(m => m.relationshipToFamily === FAMILY_MEMBER_KIND.CutToLengthMaterial) && }\n { customItemType === 'cut' && \n \n setLength(e.target.value)} />\n \n }\n { itemFamily?.precustomizedItems && }\n
    \n \n { (customItemType === 'cut' || customItemType === 'machining') && \n \n {customItemType === 'machining' &&\n <>\n
    Machining Options
    \n \n \n

    Please enter a length and quantity for an item below.

    \n

    Please contact us for more customized machining.

    \n
    \n \n
    \n \n \n \n \n Profile\n Machining\n Length (mm)\n Quantity\n \n \n \n {precustomizedItems.map((item, idx) => {\n return (\n setMachiningActiveRow(idx), handleAddToCart}} />\n )\n })}\n \n \n \n }\n {customizerLength > cutToLength.maximumLengthX && \n

    For lengths over { cutToLength.maximumLengthX }{String(cutToLength.unitOfMeasure).toLowerCase()} please call us at 800-999-7378 for pricing or learn more about our engineered framing solutions.

    \n
    }\n \n {customizerLength < cutToLength.minimumLengthX && \n

    For lengths under { cutToLength.minimumLengthX }{String(cutToLength.unitOfMeasure).toLowerCase()} please call us at 800-999-7378 for pricing or learn more about our engineered framing solutions.

    \n
    }\n \n {customizerLength >= 2641 &&

    All lengths 2,387mm - 2,641mm may incur over-length fees via UPS and FedEx.
    All lengths over 2,641mm will be shipped via freight.

    }\n

    Cutting & Packaging Included. View our packaging.

    \n

    Order may require up to 2 business days of processing time.

    \n

    Minimum: { cutToLength.minimumLengthX }{String(cutToLength.unitOfMeasure).toLowerCase()} Maximum: { cutToLength.maximumLengthX }{String(cutToLength.unitOfMeasure).toLowerCase()}.

    \n

    Standard cut tolerance is +/- .5mm. Please contact us for tighter tolerance needs.

    \n
    \n
    }\n
    }\n
    \n {!!itemDetails?.itemTechSpecs?.length && ( )}\n\n {itemDetails?.itemLinks?.length > 0 && \n\t\t\t
    \n\t\t\t\t

    Links

    \n\t\t\t\t\n\t\t\t
    }\n {SpareParts?.length > 0 && \n\t\t\t\t
    \n\t\t\t\t\t

    Spare Parts

    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t}\n\n\t\t\t{AccessoryItems?.length > 0 && \n\t\t\t\t
    \n\t\t\t\t\t

    Accessory Items

    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t}\n\n\t\t\t{SubstituteItems?.length > 0 && \n\t\t\t\t
    \n\t\t\t\t\t

    Substitute Items

    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t}\n\t\t\t\n\t\t\t{itemDetails?.hasRelations && (\n\t\t\t\t
    \n\t\t\t\t\t

    Related To

    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t)}\n
    \n \n )\n}","import React from 'react'\nimport AccessoryItem from './accessoryItem'\n\nexport default function FrequentItem(props) {\n const { availability, price, itemDetails, setShowAddedToCartModal } = props\n\n return (\n \n )\n}","import React, { useState } from 'react'\nimport { useQuery, useLazyQuery } from '@apollo/client'\nimport styled from 'styled-components'\nimport Loader from '../../_common/loader'\nimport FrequentItem from './FrequentItem'\nimport { GET_FREQUENTLY_BOUGHT_TOGETHER, GET_FREQUENT_ITEMS_INFO } from 'setup/providerGQL'\n\nconst Container = styled.div`\n display: flex;\n flex-direction: column;\n height: calc(100vh - 460px);\n min-height: 350px;\n overflow-y: scroll;\n > * {\n flex-shrink: 0;\n }\n @media (max-width: 1278px){\n\t\tflex-direction: row;\n overflow-x: scroll;\n overflow-y: auto;\n height: 250px;\n\t}\n`\n\nconst Main = styled.section`\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n margin: 0 5px 5px;\n position: sticky;\n top: 125px;\n`\n\nexport default function Frequently(props) {\n const { invMastUid, setShowAddedToCartModal } = props\n const [combinedDetails, setCombinedDetails] = useState([])\n const [itemDetails, setItemDetails] = useState([])\n\n const { loading } = useQuery(GET_FREQUENTLY_BOUGHT_TOGETHER, {\n variables: { invMastUid },\n fetchPolicy: 'no-cache',\n onCompleted: result => {\n const firstTen = result.frequentlyBoughtTogether?.slice(0, 10)\n const invMastUids = firstTen.map(f => f.invMastUid)\n const items = invMastUids.map(invMastUid => ({\n invMastUid,\n quantity: 1\n }))\n setItemDetails(firstTen)\n getFrequentItemsInfo({ variables: { invMastUids, items } })\n }\n })\n\n const [getFrequentItemsInfo] = useLazyQuery(GET_FREQUENT_ITEMS_INFO, {\n fetchPolicy: 'no-cache',\n onCompleted: result => {\n // console.log(result)\n combineData(result)\n }\n })\n\n function combineData(result) {\n const { getItemPrices, itemAvailability } = result\n const combined = itemDetails.map(d => {\n const { invMastUid } = d\n const availability = itemAvailability.find(a => a.invMastUid === invMastUid)\n const price = getItemPrices.find(a => a.invMastUid === invMastUid)\n return {\n itemDetails: d,\n availability,\n price\n }\n })\n setCombinedDetails(combined)\n }\n\n const frequentDisplay = combinedDetails.map((r, i) => {\n return (\n \n )\n })\n\n return (\n
    \n {!loading ? (\n combinedDetails.length > 0 && (\n
    \n

    Frequently Purchased Together

    \n \n {frequentDisplay}\n \n
    \n )\n ) : }\n
    \n )\n}","import React, { useState, useContext, useEffect } from 'react'\nimport { useParams, Link } from 'react-router-dom'\nimport styled from 'styled-components'\nimport { useLazyQuery } from '@apollo/client'\nimport Loader from '../_common/loader'\nimport AddedModal from '../SearchResults/uiComponents/addedModal'\nimport Context from '../../setup/context'\nimport { zonedTimeToUtc, format as dateFormat } from 'date-fns-tz'\nimport AddToShoppingListModal from '../_common/modals/AddToShoppingListModal'\nimport { GET_ITEM_PRICE } from 'setup/providerGQL'\nimport { buildSearchString, getRidOf__typename_generic } from 'pageComponents/_common/helpers/generalHelperFunctions'\nimport { GET_ITEM_DETAIL_PAGE_ITEM_INFO, GET_ACCESSORY_ITEMS_INFO } from 'setup/gqlQueries/gqlItemQueries'\nimport LocationsModal from '../_common/modals/LocationsModal'\nimport QuantityInput from 'pageComponents/_common/form/quantityInput'\nimport AirlineChip from 'pageComponents/_common/styledComponents/AirlineChip'\nimport BreadCrumbs from 'pageComponents/_common/BreadCrumbs'\nimport { Helmet } from 'react-helmet'\nimport { productSchema } from '../_common/richSearchSchemas/productSchema'\nimport { breadcrumbSchema } from '../_common/richSearchSchemas/breadcrumbSchema'\nimport queryString from 'query-string'\nimport MultiImage from 'pageComponents/_common/multiImage/MultiImage'\nimport ItemDetailsBase from './uiComponents/ItemDetailsBase'\nimport ItemDetailsInfo from './uiComponents/ItemDetailsInfo'\nimport ItemDetailsCustomizer from './uiComponents/ItemDetailsCustomizer'\nimport RequestPriceButton from 'pageComponents/_common/RequestPriceButton'\nimport Frequently from './uiComponents/Frequently'\nimport EmployeeAddButton from 'pageComponents/_common/EmployeeAddButton'\nimport { gtag } from 'ga-gtag';\n\nimport SkeletonItem, { Title, Detail1 as SkeletonLine } from '../SearchResults/uiComponents/skeletonItem'\n\nconst ItemDetailPageContainer = styled.div`\n\tdisplay: flex;\n\tflex-wrap: wrap;\n`\n\nconst DivPhoto = styled.div`\n\tmin-width: 200px;\n\tmax-width: 400px;\n\tmax-height: 400px;\n\tmargin: 0 8px;\n\ttext-align: center;\n`\n\nconst DivPurchaseInfo = styled.div`\n\tposition: -webkit-sticky;\n\tposition: sticky;\n\ttop: 125px;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\twidth: 100%;\n\tmargin: 30px 8px 0 12px;\n\tpadding: 8px 16px;\n\tbox-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n`\n\nconst DivLeftCol = styled.div`\n\tdisplay: flex;\n \tflex-direction: column;\n \tmax-width: 400px;\n \talign-items: center;\n \tpadding: 0 16px;\n \tmargin-bottom: 16px;\n`\n\nconst DivPurchaseInfoButtons = styled.div`\n\tdisplay: flex;\n\tflex-direction: column;\n\twidth: 100%;\n\talign-items: center;\n\tmargin: 16px 0;\n`\n\nconst Row = styled.div`\n\tdisplay: flex;\n\talign-items: center;\n`\n\nconst RowCentered = styled.div`\n\tdisplay: flex;\n\tjustify-content: center;\n`\n\nconst P = styled.p`\n\tmargin: 0;\n`\n\nconst ButtonRed = styled.button`\n\tbackground-color: #b51029;\n\twidth: 70%;\n\tcolor: white;\n\tfont-weight: 600;\n\tborder: 0;\n\tbox-shadow: 1px 1px 2px #000;\n\tmargin: 4px auto;\n\tpadding: 4px 0;\n\t&:hover{\n\t\tbackground-color: rgb(219, 22, 51);\n\t}\n\t&:active{\n\t\tbackground-color: #b51029;\n\t\tbox-shadow: 0 0 1px #000;\n\t}\n`\n\nconst Pprice = styled.p`\n\tcolor: #328EFC;\n\tfont-size: 18px;\n\tfont-weight: 700;\n padding: 0 0 4px 4px;\n\tmargin: 0;\n`\n\nconst ACall = styled.a`\n\tcolor: #328EFC;\n\tfont-weight: 700;\n\tpadding: 0 4px;\n`\n\nconst DivBrand = styled.div`\n display: flex;\n justify-content: flex-end;\n width: 100%;\n`\n\nconst BrandContainer = styled.div`\n height: 25px;\n`\n\nconst BrandImg = styled.img`\n width: 75px;\n height: 100%;\n object-fit: contain;\n`\n\nexport default function ItemDetailPage(props) {\n\n const {\n userInfo,\n addItem,\n itemPrices: cachedPrices,\n getItemPrices,\n itemAvailabilities: cachedAvailabilities,\n customerPartNumbers,\n stockAvailabilities,\n getStocks,\n impersonatedCompanyInfo\n } = useContext(Context)\n\n const { itemView } = props\n\n useEffect(() => {\n window.scrollTo({ top: 0 })\n }, [])\n\n const { itemId, customerPartNumber: param_customerPartNumber, item } = useParams();\n const [invMastUid, setInvMastUid] = useState(parseInt(itemId))\n const [accessoryItems, setAccessoryItems] = useState([])\n const [familyAccessoryItems, setFamilyAccessoryItems] = useState([])\n const [accessoryItemPrices, setAccessoryItemPrices] = useState([])\n const [accessoryItemsInfo, setAccessoryItemsInfo] = useState({})\n const [quantity, setQuantity] = useState(1)\n const [selectedCustomerPartNumberId, setSelectedCustomerPartNumberId] = useState(0)\n const [customerPartOptions, setCustomerPartOptions] = useState([])\n const [customItemType, setCustomItemType] = useState()\n const [customizerPrice, setCustomizerPrice] = useState(0)\n\n //If the itemId changes using useParams, without this use effect, the page wont retrieve the correct item information\n useEffect(() => {\n var newId = parseInt(itemId);\n if (newId !== invMastUid) {\n setInvMastUid(newId);\n }\n }, [itemId]);\n\n const cachedItemPrice = cachedPrices.find(price => price.invMastUid === invMastUid)\n const {\n unitOfMeasure,\n unitSize,\n roundType,\n unitPrice\n } = cachedItemPrice || { unitPrice: 0 }\n\n const [showShowAddedToCartModal, setShowAddedToCartModal] = useState(false)\n const [showAddListModal, setShowAddListModal] = useState(false)\n const [loadedCalls, setLoadedCalls] = useState([])\n const [customizerItem, setCustomizerItem] = useState([])\n\n function handleAddedToCart() {\n setShowAddedToCartModal(false)\n }\n\n const [getItemInfo, { data: itemInfo }] = useLazyQuery(GET_ITEM_DETAIL_PAGE_ITEM_INFO, {\n variables: { invMastUid },\n fetchPolicy: 'no-cache',\n onCompleted: result => {\n const details = result.itemDetails\n if (!details) return;\n if (!cachedItemPrice) getItemPrices([details])\n\n //If there are accessory items attached to this item, query for their details\n if (details.associatedItems && details.associatedItems.length) {\n setAccessoryItems(details.associatedItems)\n //Family Head Item is overwritten by CutToLengthMaterial item so we need to save its accessory items separately\n if (details.itemFamilies.length > 0 && details.itemFamilies?.some(f => f.familyInvMastUid === details.invMastUid)) {\n setFamilyAccessoryItems(details.associatedItems)\n }\n\n //Load stock information for the related products\n if (details.associatedItems.length) {\n const itemsWithoutStockInfo = accessoryItem =>\n !stockAvailabilities.some(stock => stock.invMastUid === accessoryItem.associatedInvMastUid)\n\n const filteredAccessoryItems = details.associatedItems\n .filter(itemsWithoutStockInfo)\n .map(accessoryItem => ({ invMastUid: accessoryItem.associatedInvMastUid }))\n\n if (filteredAccessoryItems.length) {\n getStocks(filteredAccessoryItems)\n }\n }\n //If an item is CutToLengthMaterial we don't want to get its accessoryItems\n if (!details.itemFamilies?.some(f => f.members.find(m => m.relationshipToFamily === \"CutToLengthMaterial\").invMastUid === details.invMastUid)) {\n //Build the price request objects\n const accessoryItemPriceRequests = details.associatedItems.map(i => {\n return {\n invMastUid: i.associatedInvMastUid,\n quantity: 1\n }\n })\n\n queryAccessoryItemPrices({\n variables: {\n items: accessoryItemPriceRequests\n }\n })\n\n queryAccessoryItemsInfo({\n variables: {\n invMastUids: details.associatedItems.map(i => i.associatedInvMastUid)\n }\n })\n }\n } else {\n setAccessoryItems([])\n }\n setLoadedCalls(loadedCalls => [...loadedCalls, 'getItemInfo'])\n }\n })\n\n useEffect(() => {\n //Gathers part numbers from the context or the item info sets the selected CPN ID\n //to the first one in the list, if it is the only CPN for the item\n const distinctCPNs = []\n const map = new Map()\n for (const item of (itemInfo?.customerPartNumbers || []).concat(customerPartNumbers || [])) {\n if (!map.has(item.customerPartNumber)) {\n map.set(item.customerPartNumber, true);\n distinctCPNs.push(item)\n }\n }\n const filteredCustomerPartNumbers = distinctCPNs.filter(c => c.invMastUid === invMastUid)\n setCustomerPartOptions(filteredCustomerPartNumbers)\n if (filteredCustomerPartNumbers?.length === 1) {\n setSelectedCustomerPartNumberId(filteredCustomerPartNumbers[0].id)\n }\n }, [customerPartNumbers, invMastUid, itemInfo?.customerPartNumbers])\n\n useEffect(() => {\n //Choose the associted customer part number ID from the part number in the URL\n if (param_customerPartNumber) {\n setSelectedCustomerPartNumberId(customerPartOptions.find(p => p.customerPartNumber === param_customerPartNumber)?.id)\n }\n }, [userInfo, param_customerPartNumber, customerPartOptions])\n\n useEffect(() => {\n getItemInfo()\n }, [userInfo, invMastUid])\n\n const itemDetails = itemInfo?.itemDetails;\n const isDiscontinued = itemDetails?.isDiscontinued;\n\n //Create the canonical for this page, based on the parameters to it not the data query. (ItemId is sanitized)\n const canonItem = item.trim().replace(/[^a-zA-Z0-9]/g, '-')\n const canonUrl = itemView\n ? (itemView === 'info' ? `${process.env.REACT_APP_SITE_URL}/productinfo/${canonItem}/${itemId}` : `${process.env.REACT_APP_SITE_URL}/productcustomizer/${canonItem}/${itemId}`)\n : `${process.env.REACT_APP_SITE_URL}/product/${canonItem}/${itemId}`\n\n useEffect(() => {\n document.title = `${itemDetails?.itemDesc || item}${itemView ? (itemView === 'info' ? ' Bill of Materials' : ' Customizer') : ''} | Airline Hydraulics`\n }, [itemDetails, item, itemView])\n\n const cachedItemAvailability = cachedAvailabilities.find(avail => avail.invMastUid === invMastUid)\n const [itemAvailability, setItemAvailability] = useState()\n const [queryAccessoryItemPrices] = useLazyQuery(GET_ITEM_PRICE, {\n onCompleted: data => {\n setAccessoryItemPrices(data.getItemPrices)\n setLoadedCalls([...loadedCalls, 'getItemPrices'])\n }\n })\n\n const [queryAccessoryItemsInfo] = useLazyQuery(GET_ACCESSORY_ITEMS_INFO, {\n onCompleted: ({ itemAvailability, itemDetailsBatch }) => {\n setAccessoryItemsInfo({ itemAvailability, itemDetailsBatch })\n setLoadedCalls([...loadedCalls, 'queryAccessoryItemsInfo'])\n }\n })\n\n const handleAddToCart = () => {\n // Will need to be changed to fit future customizations\n if (customItemType === 'cut' || customItemType === 'machining') {\n addItem(customizerItem)\n }\n else {\n addItem({\n invMastUid: invMastUid,\n quantity: parseInt(quantity, 10),\n itemUnitPriceOverride: null,\n customerPartNumberId: selectedCustomerPartNumberId || 0\n })\n }\n gtag(\"event\", \"add_to_cart\", {\n items: [\n {\n item_id: itemDetails.itemCode,\n item_name: itemDetails.itemDesc,\n price: unitPrice\n }\n ]\n });\n setShowAddedToCartModal(true)\n setQuantity(1)\n }\n const categoryBreadcrumbs = itemDetails?.categoryBreadcrumbs\n\n useEffect(() => {\n if (customItemType !== 'cut') {\n setItemAvailability(itemInfo?.itemAvailabilitySingular || cachedItemAvailability)\n }\n\n }, [setItemAvailability, itemInfo?.itemAvailabilitySingular, cachedItemAvailability, customItemType])\n\n useEffect(() => {\n if (loadedCalls.length === 3) {\n const hash = queryString.parse(window.location.hash)\n if (Object.keys(hash).length) {\n const id = Object.keys(hash)[0]\n document.getElementById(id)?.scrollIntoView()\n }\n }\n }, [loadedCalls])\n\n const handleItemChange = (invMastUid) => {\n setInvMastUid(parseInt(invMastUid))\n }\n\n const brandSearchLink = `/search?searchTerm=${itemDetails?.brand?.name}&sortType=relevancy&nonweb=false&brands=${itemDetails?.brand?.name}&resultPage=1`\n const brandLogo = itemDetails?.brand?.media?.svgPath ?? itemDetails?.brand?.media?.imgPath;\n const brandLogoHeight = itemDetails?.brand?.media?.svgPath ? 25 : (itemDetails?.brand?.media?.imgPath ? itemDetails?.brand?.media?.imgHeight : -1);\n const brandLogoWidth = itemDetails?.brand?.media?.svgAspectRatio\n ? (itemDetails?.brand?.media?.svgAspectRatio ?? 1) * brandLogoHeight\n : itemDetails?.brand?.media?.imgWidth;\n\n const quantityAvailableToMake = stockAvailabilities.find(s => s.invMastUid === invMastUid)?.airlineStock?.[0]?.quantityAvailableToMake\n const restrictedCustomerIds = itemDetails?.restrictedCustomers?.map(c => c.customerIdP21)\n const customerIdP21 = impersonatedCompanyInfo?.customerIdP21 || userInfo?.companyId\n\n const [canAddToList, setCanAddToList] = useState(false)\n\n useEffect(() => {\n if (customItemType === 'cut') setCanAddToList(false) // cuts can't be added to a list\n else if (!customerIdP21) setCanAddToList(false) // a non-signed in user can't add to a list\n else if (userInfo?.isAirlineEmployee) { // employees can add to if the item is not restricted or they are in the restricted allow list\n if (restrictedCustomerIds?.length === 0) setCanAddToList(true) // if there are no restricted customers, anyone can add to a list\n else if (restrictedCustomerIds?.length > 0 && restrictedCustomerIds.includes(customerIdP21)) setCanAddToList(true) // if the customer is in the restricted allow list, they can add to a list\n } else {\n // this is a customer, who is signed in and not an employee\n setCanAddToList(itemDetails?.CurrentUserAllowed)\n }\n }, [customerIdP21, restrictedCustomerIds, customItemType])\n\n // TODO: Fix the placeholders and loading\n return (\n \n {itemDetails && \n {itemDetails?.itemDesc || item}{itemView ? (itemView === 'info' ? ' Bill of Materials' : ' Customizer') : ''} | Airline Hydraulics\n \n \n \n {productSchema(itemDetails, cachedItemPrice, itemAvailability)}\n {breadcrumbSchema([\n {\n name: itemDetails.brand?.name,\n item: process.env.REACT_APP_SITE_URL + buildSearchString({ searchTerm: itemDetails.brand?.name })\n },\n {\n name: itemDetails.itemCode\n }\n ])}\n \n }\n\n {!itemDetails ? : <>\n {isDiscontinued ? (\n

    {itemDetails?.itemDesc}

    \n ) : (\n

    {itemDetails?.itemDesc}

    \n )}\n \n }\n\n {!itemDetails ? : }\n {!itemDetails ? :\n \n \n \n \n {brandLogo ? (\n \n ) : (\n
    {itemDetails?.brand?.name}
    \n )}\n\n \n
    \n
    \n \n \n \n {isDiscontinued &&
    Item Discontinued
    }\n {(!isDiscontinued || userInfo?.isAirlineEmployee) && (\n\n \n {(customItemType === 'cut' || customItemType === 'machining') ?\n <>\n \n {!customizerPrice ? Call for Price : `$${customizerPrice.toFixed(2)}`}\n :\n <>\n \n {!unitPrice ? Call for Price : `$${unitPrice.toFixed(2)}`}\n {!!unitPrice &&

    /{unitOfMeasure}

    }\n
    }\n {\n itemDetails && (\n !unitPrice\n ? gtag(\"event\", \"item_detail_page_call_for_price_page_view\", {\n items: [\n {\n item_id: itemDetails?.itemCode,\n item_name: itemDetails?.itemDesc,\n }\n ]\n })\n : gtag(\"event\", \"view_item\", {\n items: [\n {\n item_id: itemDetails?.itemCode,\n item_name: itemDetails?.itemDesc,\n price: unitPrice,\n }\n ]\n })\n )\n }\n \n {customItemType !== 'machining' &&\n \n \n Qty:\n \n {(unitSize > 1) && (\n \n X {unitSize}\n \n )}\n \n {\n // no one, employee or customer, should be able to add a restrict item to a list\n canAddToList &&\n setShowAddListModal(true)}>Add to List\n }\n\n {!!cachedItemPrice && (\n userInfo?.isAirlineEmployee &&\n userInfo?.isImpersonatorUser ? (\n \n ) : !unitPrice || customItemType && !customizerPrice ? (\n \n ) : (\n Add to Cart\n )\n )}\n \n }\n {!!itemDetails.itemFeatures?.length && Features}\n {!!itemDetails.itemTechSpecs?.length && Tech Specs}\n {accessoryItems?.filter(a => a.type === 2)?.length > 0 && Accessory}\n {itemDetails.hasRelations && Related To...}\n
    \n )\n\n }\n\n
    \n }\n\n {itemView === 'info' ? (\n ) :\n (\n itemDetails?.itemFamilies.length > 0 ?\n : (\n !itemDetails ? :\n \n ))}\n \n \n\n {userInfo && (\n setShowAddListModal(false)}\n item={itemDetails}\n customerPartNumberId={selectedCustomerPartNumberId}\n defaultQuantity={quantity}\n />\n )}\n
    \n )\n}\n","import React from 'react'\n\nexport function productSchema(itemDetails, itemPrice, itemAvailability) {\n return (\n \n )\n}","import React from 'react'\nimport { Link } from 'react-router-dom'\nimport styled from 'styled-components'\n\nconst DivRow = styled.ol`\n\tdisplay: flex;\n\tflex-wrap: wrap;\n width: 100%;\n li {\n list-style: none;\n }\n`\n\nexport default function BreadCrumbs(props) {\n const { breadCrumbTrail } = props;\n\n return (\n \n\t\t\t» \n
  • \n \n All Categories\n \n \n
  • \n {(breadCrumbTrail || []).map(({ urlSlug, name }, idx) => (\n \n  »\n
  • \n \n {name}\n \n \n
  • \n
    \n ))}\n
    \n )\n}","import React from 'react'\n\nexport function breadcrumbSchema(elements) {\n return (\n \n )\n}"],"names":["DivRow","styled","div","withConfig","displayName","componentId","DivItem","Label","label","Container","ErrorSpan","AddToShoppingListModal","_ref","_context$upsertShoppi","open","hide","item","customerPartNumberId","defaultQuantity","context","useContext","Context","_useState","useState","_useState2","_slicedToArray","listName","setListName","_useState3","_useState4","listNotes","setListNotes","_useState5","_useState6","shoppingListOptions","setShoppingListOptions","_useState7","_useState8","selectedLists","setSelectedLists","_useState9","_useState10","quantity","setQuantity","_useState11","_useState12","error","setError","loading","upsertShoppingListState","useEffect","getShoppingLists","shoppingLists","map","list","name","ownerId","userInfo","webUserId","ownerName","value","id","handleClose","length","React","Modal","onClose","contentStyle","borderRadius","marginTop","style","AirlineInput","type","width","onChange","_ref4","cleanVal","target","replace","parseInt","margin","Select","isMulti","options","placeholder","_ref2","_ref3","rows","ButtonBlack","onClick","ButtonRed","disabled","handleAdd","upsertShoppingList","isForAllCustomer","notes","shoppingListItems","editors","then","itemCode","invMastUid","selectedList","foundList","find","undefined","Promise","all","DirContainer","ImgContainer","Thumbs","props","grouped","setGroupedKey","groupedKey","startIdx","setStartIdx","thumbs","Object","keys","key","i","outline","ItemImage","details","itemMedia","size","displayThumbs","slice","ChevronLeft","fontSize","sx","color","ChevronRight","Disclaimer","ThumbsContainer","ImageModal","_Object$keys","groupedLength","window","innerWidth","overflow","maxHeight","link","hasLink","ThumbContainer","MultiImage","textSize","postCart","setGrouped","modalOpen","setModalOpen","images","_step","_iterator","_createForOfIteratorHelper","s","n","done","sequence","push","err","e","f","groupImages","Math","min","DivItemResultContainer","DivPartNumberRow","DivExtendedDetails","DivPartNumberRowSpread","P","p","DivPartDetailsRow","DivPartImg","SmallImg","DivPartDetails","PartTitle","h3","PpartAvailability","button","Div","DivSpace","Pprice","ACall","a","NoHoverAnchor","StrikeThrough","span","AccessoryItem","_itemDetails$itemFami","_itemDetails$itemFami2","itemDetails","price","availability","setShowAddedToCartModal","isParentCalculateStock","unitPrice","unitOfMeasure","unitSize","roundType","isLarge","itemLink","itemCodeUrlSanitized","Link","to","lazy","height","href","itemDesc","substring","extendedDesc","replaceAll","isDiscontinued","LocationsModal","availabilityInfo","isAssembly","itemFamilies","some","familyInvMastUid","Center","ButtonBlue","QuantityInput","handleUpdate","qty","debounce","AirlineChip","marginLeft","toFixed","SkeletonDetail","addItem","itemUnitPriceOverride","gtag","items","item_id","item_name","Table","table","TR","tr","TD","td","SkeletonLoader","SkeletonList","SkeletonLine","SkeletonTbody","SkeletonTitle","PartImageDiv","relationsKey","RelatedItem","isNcnr","RelatedToTable","RelatedItems","_data$relatedTo","_useQuery","useQuery","GET_RELATIONS","variables","data","relatedToDisplay","relatedTo","r","_extends","Loader","colSpan","TDshort","sortTechSpecs","ts1","ts2","localeCompare","TechSpecs","_itemDetails$itemTech","TechSpecItems","itemTechSpecs","sort","elem","idx","dangerouslySetInnerHTML","__html","DivAccessoryItems","Accessories","Items","accessoryItems","info","prices","ai","_info$itemDetailsBatc","_info$itemAvailabilit","itemDetailsBatch","d","associatedInvMastUid","itemAvailability","buildAccessoryItems","LinkThumbnail","img","ItemLinks","links","thumbnail","src","linkPath","rel","title","DivDetails","Row","PItemExtendedDescription","TABLE","TR2","TDGrey","H3","TDWhite","IMG","DivOtherActions","LinkBtn","Ul","ul","AvailabilityRow","Availability","ItemDetailPage","_itemDetails$itemFeat","accessoryItemsInfo","accessoryItemPrices","setSelectedCustomerPartNumberId","selectedCustomerPartNumberId","customerPartOptions","loadedCalls","itemInfo","brandSearchLink","quantityAvailableToMake","scrollTo","top","onOrder","setOnOrder","infoUrl","urlArr","location","toString","split","join","buildInfoUrl","FeatureItems","itemFeatures","text","SpareParts","filter","AccessoryItems","SubstituteItems","bom","hash","queryString","_document$getElementB","document","getElementById","scrollIntoView","OtherActions","NotifyMeButton","SubstituteLink","bomLink","encodeURIComponent","_itemDetails$brand","_itemDetails$brand2","_itemDetails$brand3","_itemDetails$brand4","_itemDetails$itemLink","brand","logoLink","mfgPartNo","nsn","CustomerPartModal","customerPartNumbers","onSelectedChanged","Number","onClearSelected","unitSizeMultiple","brandPromoLink","itemLinks","hasRelations","RelatedTo","FlexCol","FlexRow","FixedWidth","Key","Value","BomItem","hasPrice","BomItems","localBom","setLocalBom","bomDisplay","b","v","newBom","JSON","parse","stringify","addItems","ItemDetailsInfo","baseUrl","buildBaseUrl","_accessoryItemsInfo$i","_accessoryItemsInfo$i2","PrecustomizedLengthInput","cutToLength","precustomLength","setPrecustomLength","debouncedDisplayLength","useDebounceValue","NumberFormat","decimalScale","step","minimumLengthX","max","maximumLengthX","PrecustomizedItem","cutToLengthMaterial","setCustomizerItem","isActive","setActive","handleAddToCart","setLengthHandler","ln","_item$precustomizedIt","_item$precustomizedIt2","selectedCustomizations","precustomizedItemCustomizations","customization","axis","materialItemInvMastUid","customizationKind","customizedItem","customizationInvMastUid","customizerItem","oldCutToLength","customizations","c","parseFloat","iconMediaPath","shortDesc","className","DetailButtonSmall","ItemCustomizerDiv","CutToLengthSection","section","LengthEntryDiv","CutToLengthInfo","MaxLengthDiv","MachiningTable","SubDiv","MachiningDiv","CTLImage","ItemDetailsCustomizer","_familyAccessoryItems","_familyAccessoryItems2","_familyAccessoryItems3","_familyInfo$itemFamil2","_familyInfo$itemFamil3","_familyInfo$itemFamil4","_familyInfo$itemFamil5","customItemType","setCustomItemType","setCustomizerPrice","setItemAvailability","handleItemChange","familyAccessoryItems","itemFamily","setCutToLength","customizationItemPrices","setCustomizationItemPrices","familyItemPrices","setFamilyItemPrices","precustomItemPrices","setPrecustomItemPrices","setLength","debouncedLength","precustomizedItems","setPrecustomizedItems","_useState13","_useState14","machiningActiveRow","setMachiningActiveRow","customizerLength","useMemo","_customizerItem$custo","_customizerItem$custo2","_customizerItem$custo3","dimLengthX","_itemFamily$members$f","_itemFamily$members","members","m","relationshipToFamily","_useLazyQuery","useLazyQuery","GET_ITEM_FAMILY_DETAILS","familyHeadInvMastUid","memberInvMastUid","fetchPolicy","onCompleted","result","_result$itemFamilyDet","itemFamilyDetails","customizerOptions","kind","customizationItemPriceRequests","familyItemPriceRequests","queryCustomizationItemPrices","queryFamilyItemPrices","_useLazyQuery2","getFamilyInfo","familyInfo","_useLazyQuery3","GET_ITEM_FAMILY_PRECUSTOMIZED_ITEMS","itemFamilyPrecustomizedItemsContainer","precustomItemPriceRequests","flatMap","uniquePrecustomItemPriceRequests","Set","queryPrecustomizedItemPrices","_useLazyQuery4","getFamilyPrecustomizedItems","_useLazyQuery5","GET_ITEM_PRICE","getItemPrices","_useLazyQuery7","_useLazyQuery9","concat","_customizerItem$custo4","_customizerItem$custo5","customizationPricesByInvMastUid","fromEntries","customizationsTotalPrice","reduce","sum","next","_familyItemPrices$fin","minimumFullChargeLength","_itemFamily$members2","_itemFamily$members2$","ceil","_familyInfo$itemFamil","calculatedAvailability","floor","FAMILY_MEMBER_KIND","Bundle","checked","_itemFamily$members$f2","relationshipQty","String","toLowerCase","Stick","_itemFamily$members$f3","CutToLengthMaterial","CTLAXIS","FrequentItem","Main","Frequently","combinedDetails","setCombinedDetails","setItemDetails","GET_FREQUENTLY_BOUGHT_TOGETHER","_result$frequentlyBou","firstTen","frequentlyBoughtTogether","invMastUids","getFrequentItemsInfo","GET_FREQUENT_ITEMS_INFO","combined","combineData","frequentDisplay","maxWidth","ItemDetailPageContainer","DivPhoto","DivPurchaseInfo","DivLeftCol","DivPurchaseInfoButtons","RowCentered","DivBrand","BrandContainer","BrandImg","_itemDetails$brand$me","_itemDetails$brand3$m","_itemDetails$brand4$m","_itemDetails$brand5","_itemDetails$brand5$m","_itemDetails$brand6","_itemDetails$brand6$m","_itemDetails$brand7","_itemDetails$brand7$m","_itemDetails$brand8","_itemDetails$brand8$m","_itemDetails$brand$me2","_itemDetails$brand9","_itemDetails$brand9$m","_itemDetails$brand10","_itemDetails$brand10$","_stockAvailabilities$","_stockAvailabilities$2","_stockAvailabilities$3","_itemDetails$restrict","_itemDetails$brand11","_itemDetails$brand12","_itemDetails$brand13","_itemDetails$brand14","_accessoryItems$filte","_useContext","cachedPrices","itemPrices","cachedAvailabilities","itemAvailabilities","stockAvailabilities","getStocks","impersonatedCompanyInfo","itemView","_useParams","useParams","itemId","param_customerPartNumber","customerPartNumber","setInvMastUid","setAccessoryItems","setFamilyAccessoryItems","setAccessoryItemPrices","setAccessoryItemsInfo","_useState15","_useState16","setCustomerPartOptions","_useState17","_useState18","_useState19","_useState20","customizerPrice","newId","cachedItemPrice","_useState21","_useState22","showShowAddedToCartModal","_useState23","_useState24","showAddListModal","setShowAddListModal","_useState25","_useState26","setLoadedCalls","_useState27","_useState28","GET_ITEM_DETAIL_PAGE_ITEM_INFO","associatedItems","_details$itemFamilies","_details$itemFamilies2","itemsWithoutStockInfo","accessoryItem","stock","filteredAccessoryItems","accessoryItemPriceRequests","queryAccessoryItemPrices","queryAccessoryItemsInfo","getItemInfo","distinctCPNs","Map","has","set","filteredCustomerPartNumbers","_customerPartOptions$","canonItem","trim","canonUrl","cachedItemAvailability","avail","_useState29","_useState30","GET_ACCESSORY_ITEMS_INFO","categoryBreadcrumbs","itemAvailabilitySingular","brandLogo","media","svgPath","imgPath","brandLogoHeight","imgHeight","brandLogoWidth","svgAspectRatio","imgWidth","airlineStock","restrictedCustomerIds","restrictedCustomers","customerIdP21","companyId","_useState31","_useState32","canAddToList","setCanAddToList","isAirlineEmployee","includes","CurrentUserAllowed","Helmet","content","httpEquiv","dateFormat","zonedTimeToUtc","dateModified","Date","itemPrice","sku","barcode","image","path","description","mpn","offers","url","priceCurrency","priceValidUntil","itemOffered","inventoryLevel","productSchema","breadcrumbSchema","process","buildSearchString","searchTerm","textDecoration","BreadCrumbs","breadCrumbTrail","alt","isImpersonatorUser","EmployeeAddButton","RequestPriceButton","SkeletonItem","ItemDetailsBase","AddedModal","timeout","ol","itemScope","itemType","paddingLeft","itemProp","itemID","fontWeight","urlSlug","elements","itemListElement","el","position"],"sourceRoot":""}