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YAAYkK,eAAeyE,qCAGzC,EACaC,EAAsB,SAAC3K,GAClC,IAAA4K,EAAyB5K,EAAMjE,YAAYmJ,IAAnC1R,EAAMoX,EAANpX,OAAQyI,EAAI2O,EAAJ3O,KAEhB,MAAO,CACLzI,OAAQ,CACNqX,kBAAkBjF,EAAAA,EAAAA,GAAYpS,EAAOqX,kBACrCC,wBAAwBlF,EAAAA,EAAAA,GAAYpS,EAAOsX,yBAE7C7O,KAAM,CACJ8O,mBAAmBvB,EAAAA,EAAAA,GAAUvN,EAAK8O,oBAGxC,C","sources":["components/Modal/AccessoryModal/AccessoryModal.styles.tsx","components/Modal/AccessoryModal/AccessoryModal.tsx","components/Modal/ConfirmationModal/ConfirmationModal.styles.tsx","components/Modal/ConfirmationModal/ConfirmationModal.tsx","components/Modal/ConflictModal/ConflictModal.styles.tsx","components/Modal/ConflictModal/ConflictModal.tsx","components/Modal/ReserveModal/ReserveModal.styles.ts","components/Modal/ReserveModal/ReserveModal.tsx","hooks/useScript.ts","redux/selectors/bapContentSelector.ts"],"sourcesContent":["import { theme } from 'theme/App.theme';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { appPalette } from 'theme/App.palette';\ntype Props = {\n viewHeight: string;\n};\nconst { light_grey_2, mid_grey, dark_grey_1 } = appPalette.colors;\nfunction styleScroll() {\n return {\n '&::-webkit-scrollbar': {\n width: '0.375rem',\n },\n '&::-webkit-scrollbar-track': {\n backgroundColor: light_grey_2,\n },\n '&::-webkit-scrollbar-thumb': {\n backgroundColor: mid_grey,\n },\n };\n}\nexport const useStyles = makeStyles({\n paper: {\n position: 'relative',\n backgroundColor: 'white',\n width: 'auto',\n height: 'auto',\n maxHeight: (props: Props) => props.viewHeight,\n border: '0',\n top: '50%',\n left: '0%',\n transform: `translate(0%, -50%)`,\n outline: 'none',\n padding: '1rem 0 4.625rem 0',\n [theme.breakpoints.up('viewportMedium')]: {\n padding: '1rem 0 2.5rem 0',\n width: '44.375rem',\n height: '32.5rem',\n maxHeight: '32.5rem',\n '& .acr-caption-13': {\n padding: '0',\n },\n backgroundColor: 'white',\n border: '0',\n top: '50%',\n left: '50%',\n transform: `translate(-50%, -50%)`,\n },\n [theme.breakpoints.up('viewportLarge')]: {\n padding: '1rem 0rem 2.5rem 0',\n width: '63.4375rem',\n },\n },\n modal_data: {\n height: 'auto',\n width: '20.4375rem',\n margin: '0 auto',\n maxHeight: (props: Props) => `calc(${props.viewHeight} - 7rem)`,\n overflowY: 'auto',\n overflowX: 'hidden',\n ...styleScroll(),\n '&::-webkit-scrollbar': {\n width: '0rem',\n },\n paddingBottom: '1rem',\n [theme.breakpoints.up('viewportMedium')]: {\n height: 'auto',\n maxHeight: 'calc(32.5rem - 3rem)',\n width: 'auto',\n paddingBottom: '0',\n },\n },\n grid_item: {\n position: 'relative',\n [theme.breakpoints.up('viewportMedium')]: {\n display: 'flex',\n flexDirection: 'column',\n height: 'calc(32.5rem - 7rem)',\n maxHeight: 'calc(32.5rem - 7rem)',\n '&:first-child': {\n paddingLeft: '2rem',\n paddingRight: '1rem',\n },\n '&:last-child': {\n paddingLeft: '1rem',\n paddingRight: '2rem',\n overflowY: 'auto',\n overflowX: 'hidden',\n '&::-webkit-scrollbar': {\n width: '0.375rem',\n },\n '&::-webkit-scrollbar-track': {\n marginTop: '1rem',\n backgroundColor: light_grey_2,\n },\n '&::-webkit-scrollbar-thumb': {\n backgroundColor: mid_grey,\n },\n },\n },\n [theme.breakpoints.up('viewportLarge')]: {\n '&:first-child': {\n paddingLeft: '4rem',\n paddingRight: '2.5rem',\n },\n '&:last-child': {\n paddingLeft: '2.5rem',\n paddingRight: '3.75rem',\n },\n },\n },\n package_image: {\n width: '100%',\n margin: 'auto 0',\n paddingTop: '56.3%',\n },\n picture_class: {\n width: '100%',\n height: '100%',\n },\n modal_text: {\n width: '100%',\n margin: 'auto 0',\n },\n title_style: {\n width: '100%',\n margin: '0.75rem auto 0.5rem auto',\n padding: '0',\n [theme.breakpoints.up('viewportMedium')]: {\n margin: '0 auto 0.375rem auto',\n },\n },\n subtitle_style: {\n width: '100%',\n margin: '0 0 1rem 0',\n lineHeight: 1,\n color: mid_grey,\n [theme.breakpoints.up('viewportMedium')]: {\n margin: '0 0 1.5rem 0',\n },\n },\n description_style: {\n width: '100%',\n margin: '0 0 1rem 0',\n '& li': {\n '& ul': {\n '&:before': {\n content: '\"• \"',\n },\n padding: 0,\n margin: 0,\n marginTop: '1rem',\n '&:last-child': {\n marginBottom: '1rem',\n },\n },\n },\n },\n disclaimer_style: {\n width: '100%',\n margin: '0 0 1.5rem 0',\n color: dark_grey_1,\n },\n button_container: {\n display: 'flex',\n justifyContent: 'center',\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%',\n height: '4.625rem',\n borderTop: 'solid 0.125rem',\n borderColor: light_grey_2,\n [theme.breakpoints.up('viewportMedium')]: {\n borderTop: '0',\n boxShadow: '0 -3px 5px 0 rgba(149, 149, 149, 0.23)',\n height: '4rem',\n },\n },\n build_button: {\n display: 'block',\n width: '9.6875rem',\n height: '2.5rem',\n margin: 'auto',\n [theme.breakpoints.up('viewportMedium')]: {\n width: '12rem',\n },\n },\n button_icon: {\n width: '0.6875rem',\n height: '0.6875rem',\n marginLeft: '0.5rem',\n },\n});\n","import React, { useEffect } from 'react';\nimport Grid from '@mui/material/Grid';\nimport { use100vh } from 'react-div-100vh';\nimport ModalContainer from 'components/Modal/ModalContainer/ModalContainer';\nimport { Picture } from 'components/Global/Picture/Picture';\nimport TextRender from 'components/Global/TextRender/TextRender';\nimport {\n LinkButton,\n LinkButtonType,\n} from 'components/Global/LinkButton/LinkButton';\nimport { IAccessoryModal } from 'interfaces/modal';\nimport { useStyles } from './AccessoryModal.styles';\nimport { useMediaQuery } from '@mui/material';\nimport { theme } from 'theme/App.theme';\nimport { Icon, Icons } from 'components/Global/Icon/Icon';\nimport { appPalette } from 'theme/App.palette';\nimport { useSelector } from 'react-redux';\nimport { getCurrentAccessories } from 'redux/slices/vehicleSlice';\nimport { convertCostValue } from 'helpers/Prices';\nimport { getBapAccessoryListLabels } from 'redux/selectors/bapContentSelector';\n\nexport interface IAccessoryModalProps {\n closeFunction: () => void;\n handleAccessorySelection: (opCode: string) => void;\n isOpen: boolean;\n content: IAccessoryModal;\n dealerId?: string;\n noTracking?: boolean;\n}\n\nconst AccessoryModal = ({\n closeFunction,\n handleAccessorySelection,\n content,\n isOpen,\n dealerId,\n noTracking,\n}: IAccessoryModalProps): JSX.Element => {\n const { title, price, opCode, image, description, disclaimer, category } =\n content;\n const viewHeightValue = use100vh();\n const labels = useSelector(getBapAccessoryListLabels);\n const colors = appPalette.colors;\n const viewHeightStyle = viewHeightValue\n ? `${viewHeightValue / 16}rem`\n : '100%';\n const classes = useStyles({ viewHeight: viewHeightStyle });\n const matchesMediumBreakpoint = useMediaQuery(theme.breakpoints.up('md'), {\n noSsr: true,\n });\n const selectedAccessories = useSelector(getCurrentAccessories) || [];\n const isSelected =\n selectedAccessories.findIndex((acc) => acc.opCode === opCode) !== -1;\n\n useEffect(() => {\n //close accessories on any redux change\n closeFunction();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedAccessories]);\n\n return (\n \n
\n \n \n {!matchesMediumBreakpoint && (\n <>\n \n \n \n \n \n \n \n )}\n {image && (\n \n )}\n \n \n
\n {matchesMediumBreakpoint && (\n <>\n \n \n \n \n \n \n \n )}\n \n {disclaimer && (\n \n )}\n
\n
\n
\n
\n handleAccessorySelection(opCode)}\n dataAutomation={`modal-toggle-accessory-${opCode}`}\n trackEventData={{\n label: `${category}:${isSelected ? 'remove' : 'add'}`,\n category: { includePageName: true, text: category || '' },\n user: { bap_accessories: title },\n }}\n >\n \n \n \n
\n
\n \n );\n};\n\nexport default AccessoryModal;\n","import { theme } from 'theme/App.theme';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { appPalette } from 'theme/App.palette';\n\nconst colors = appPalette.colors;\n\nexport const useStyles = makeStyles({\n paper: {\n position: 'relative',\n backgroundColor: 'white',\n width: 'auto',\n height: 'auto',\n border: '0',\n top: '50%',\n left: '0%',\n transform: `translate(0%, -50%)`,\n outline: 'none',\n padding: '1rem 2rem 0 2rem',\n [theme.breakpoints.up('viewportMedium')]: {\n padding: '1rem 2rem 2.5rem 2rem',\n width: '36rem',\n height: 'auto',\n maxHeight: '20rem',\n backgroundColor: 'white',\n border: '0',\n top: '50%',\n left: '50%',\n transform: `translate(-50%, -50%)`,\n },\n },\n modal_data: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: '0',\n height: 'auto',\n maxHeight: 'calc(100vh - 4rem)',\n paddingBottom: '2rem',\n '& .acr-caption-13': {\n marginBottom: '1.5rem',\n },\n '& .acr-paragraph-2': {\n margin: '0 0 2rem 0',\n },\n [theme.breakpoints.up('viewportMedium')]: {\n height: 'auto',\n maxHeight: 'calc(20rem - 6.25rem)',\n paddingBottom: '0',\n },\n },\n copy_button: {\n '& svg': {\n margin: 'auto 0 auto 0.5rem',\n height: '0.75rem',\n width: 'auto',\n },\n padding: 0,\n backgroundColor: 'transparent',\n border: 'none',\n display: 'flex',\n textTransform: 'uppercase',\n '&:hover': {\n cursor: 'pointer',\n },\n },\n copy: {\n '& svg': {\n margin: 'auto 0 auto 0.5rem',\n height: '0.75rem',\n width: 'auto',\n },\n backgroundColor: 'transparent',\n border: 'none',\n display: 'flex',\n textTransform: 'uppercase',\n },\n button_group: {\n marginTop: '2.5rem',\n display: 'flex',\n },\n confirmation_button: {\n width: '9.375rem',\n height: '2.5rem',\n textTransform: 'uppercase',\n boxSizing: 'border-box',\n '&:first-child': {\n backgroundColor: 'transparent',\n border: '0.0625rem black solid',\n marginRight: '0.5rem',\n [theme.breakpoints.up('viewportMedium')]: {\n marginRight: '1rem',\n },\n },\n '&:last-child': {\n backgroundColor: colors.acura_red,\n border: 'none',\n color: colors.white,\n marginLeft: '0.5rem',\n [theme.breakpoints.up('viewportMedium')]: {\n marginLeft: '1rem',\n },\n },\n '&:hover': {\n cursor: 'pointer',\n },\n [theme.breakpoints.up('viewportMedium')]: {\n width: '12rem',\n },\n },\n});\n","import React, { useState } from 'react';\nimport ModalContainer from 'components/Modal/ModalContainer/ModalContainer';\nimport { Icon, Icons } from 'components/Global/Icon/Icon';\nimport { IConfirmationModal } from 'interfaces/modal';\nimport { appPalette } from 'theme/App.palette';\nimport { useStyles } from './ConfirmationModal.styles';\nimport {\n LinkButton,\n LinkButtonType,\n} from 'components/Global/LinkButton/LinkButton';\nimport TextRender from 'components/Global/TextRender/TextRender';\n\nconst colors = appPalette.colors;\n\ninterface ConfirmationModalProps {\n closeFunction: () => void;\n confirmFunction: () => void;\n content: IConfirmationModal;\n isOpen: boolean;\n}\n\nconst ConfirmationModal = ({\n closeFunction,\n confirmFunction,\n content,\n isOpen,\n}: ConfirmationModalProps): JSX.Element => {\n const classes = useStyles();\n const [isCopied, setIsCopied] = useState(false);\n\n const copyFunction = () => {\n navigator.clipboard.writeText(window.location.href).then(\n function () {\n setIsCopied(true);\n },\n function (err) {\n console.error('There was a problem copying the build url: ', err);\n }\n );\n };\n\n return (\n \n
\n

{content.title}

\n

{content.content}

\n {!isCopied ? (\n \n \n \n \n ) : (\n
\n \n \n
\n )}\n
\n \n \n \n \n \n \n
\n
\n \n );\n};\n\nexport default ConfirmationModal;\n","import { theme } from 'theme/App.theme';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { appPalette } from 'theme/App.palette';\ntype Props = {\n viewHeight: string;\n};\nconst colors = appPalette.colors;\n\nfunction styleScroll() {\n return {\n '&::-webkit-scrollbar': {\n width: '0.375rem',\n },\n '&::-webkit-scrollbar-track': {\n backgroundColor: colors.light_grey_2,\n },\n '&::-webkit-scrollbar-thumb': {\n backgroundColor: colors.mid_grey,\n },\n };\n}\n\nexport const useStyles = makeStyles({\n paper: {\n position: 'relative',\n backgroundColor: 'white',\n width: 'auto',\n height: 'auto',\n maxHeight: (props: Props) => props.viewHeight,\n border: '0',\n top: '50%',\n left: '0%',\n transform: `translate(0%, -50%)`,\n outline: 'none',\n padding: '1rem 0 4.625rem 0',\n [theme.breakpoints.up('md')]: {\n padding: '1rem 0 4rem 0',\n width: '44.375rem',\n maxHeight: (props: Props) => '32.5rem',\n backgroundColor: 'white',\n border: '0',\n top: '50%',\n left: '50%',\n transform: `translate(-50%, -50%)`,\n },\n [theme.breakpoints.up('lg')]: {\n padding: '1rem 0rem 4rem 0',\n width: '63.4375rem',\n },\n },\n modal_data: {\n height: 'auto',\n width: '20.4375rem',\n margin: '0 auto',\n maxHeight: (props: Props) => `calc(${props.viewHeight} - 7.625rem)`,\n overflowY: 'auto',\n overflowX: 'hidden',\n '& .acr-caption-13': {\n marginBottom: '1.5rem',\n },\n '&::-webkit-scrollbar': {\n width: '0rem',\n },\n [theme.breakpoints.up('md')]: {\n height: 'auto',\n maxHeight: (props: Props) => 'calc(32.5rem - 7rem)',\n width: 'auto',\n paddingBottom: '0',\n '& .acr-caption-13': {\n padding: '0 2rem',\n marginBottom: '2rem',\n },\n },\n [theme.breakpoints.up('lg')]: {\n '& .acr-caption-13': {\n padding: '0 4rem',\n },\n },\n },\n grid_container: {\n maxHeight: (props: Props) => `calc(${props.viewHeight} - 12.125rem)`,\n '&::-webkit-scrollbar': {\n width: '0rem',\n },\n overflowY: 'auto',\n overflowX: 'hidden',\n [theme.breakpoints.up('md')]: {\n maxHeight: (props: Props) => `unset`,\n },\n },\n grid_item: {\n position: 'relative',\n '& .acr-label-3': {\n margin: '0 0 1rem 0',\n },\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n flexDirection: 'column',\n maxHeight: 'calc(32.5rem - 11rem)',\n '&:last-child': {\n paddingLeft: '1rem',\n paddingRight: '2rem',\n overflowY: 'auto',\n overflowX: 'hidden',\n },\n '&:first-child': {\n paddingLeft: '2rem',\n paddingRight: '1rem',\n },\n },\n [theme.breakpoints.up('lg')]: {\n minHeight: '7.6875rem',\n '&:last-child': {\n paddingLeft: '2.5rem',\n paddingRight: '3.75rem',\n },\n '&:first-child': {\n paddingLeft: '4rem',\n paddingRight: '2.5rem',\n },\n },\n },\n selection_container: {\n width: '100%',\n '& .acr-paragraph-5': {\n paddingLeft: '1rem',\n marginBottom: '1rem',\n display: 'flex',\n '&:last-child': {\n marginBottom: '2.5rem',\n },\n },\n [theme.breakpoints.up('md')]: {\n ...styleScroll(),\n maxHeight: 'calc(32.5rem - 13.25rem)',\n overflowY: 'auto',\n },\n [theme.breakpoints.up('lg')]: {\n maxHeight: 'calc(32.5rem - 13.5rem)',\n },\n },\n button_container: {\n display: 'flex',\n justifyContent: 'center',\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%',\n height: '4.625rem',\n borderTop: 'solid 0.125rem',\n borderColor: colors.light_grey_2,\n [theme.breakpoints.up('md')]: {\n borderTop: 'none',\n boxShadow: '0 -3px 5px 0 rgba(149, 149, 149, 0.23)',\n height: '4rem',\n },\n },\n build_button: {\n display: 'block',\n width: '9.75rem',\n height: '2.5rem',\n '&:first-child': {\n margin: 'auto 0.46875rem auto auto',\n },\n '&:last-child': {\n margin: 'auto auto auto 0.46875rem',\n },\n [theme.breakpoints.up('md')]: {\n margin: 'auto',\n width: '12rem',\n '&:first-child': {\n margin: 'auto 0.75rem auto auto',\n },\n '&:last-child': {\n margin: 'auto auto auto 0.75rem',\n },\n },\n },\n button_icon: {\n width: '0.75rem',\n height: '0.75rem',\n margin: 'auto 0.5rem auto 0',\n display: 'none',\n [theme.breakpoints.up('md')]: {\n display: 'inline',\n },\n },\n});\n","import React from 'react';\nimport { use100vh } from 'react-div-100vh';\nimport ModalContainer from 'components/Modal/ModalContainer/ModalContainer';\nimport { appPalette } from 'theme/App.palette';\nimport { useStyles } from './ConflictModal.styles';\nimport {\n LinkButton,\n LinkButtonType,\n} from 'components/Global/LinkButton/LinkButton';\nimport TextRender from 'components/Global/TextRender/TextRender';\nimport { Grid } from '@mui/material';\nimport { Icon, Icons } from 'components/Global/Icon/Icon';\nimport { IConflict, IReduxAccessory } from 'interfaces/vehicle';\n\nconst colors = appPalette.colors;\n\ninterface ConflictModalProps {\n closeFunction: () => void;\n confirmFunction: () => void;\n content: IConflict;\n noTracking?: boolean;\n}\n\nconst ConflictModal = ({\n closeFunction,\n confirmFunction,\n content,\n noTracking,\n}: ConflictModalProps): JSX.Element => {\n const { addList, removeList, isOpen } = content;\n const title = 'This Selection Will Affect Your Build';\n const removeTitle = 'PREVIOUS SELECTIONS TO BE REMOVED';\n const addTitle = 'NEW SELECTION';\n const viewHeightValue = use100vh();\n const viewHeightStyle = viewHeightValue\n ? `${viewHeightValue / 16}rem`\n : '100%';\n const classes = useStyles({ viewHeight: viewHeightStyle });\n\n return (\n \n
\n

\n \n

\n \n \n

\n \n

\n
\n {removeList.map(({ opCode, name }: IReduxAccessory) => (\n \n \n \n

\n ))}\n
\n
\n {addList.length > 0 && (\n \n

\n \n

\n
\n {addList.map(({ opCode, name }: IReduxAccessory) => (\n \n \n \n

\n ))}\n
\n
\n )}\n
\n
\n \n Cancel\n \n \n Confirm Changes\n \n
\n
\n \n );\n};\n\nexport default ConflictModal;\n","import { theme } from 'theme/App.theme';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { appPalette } from 'theme/App.palette';\ntype Props = {\n viewHeight: string;\n};\n\nconst { light_grey_2, mid_grey, acura_red, white } = appPalette.colors;\nfunction styleScroll() {\n return {\n '&::-webkit-scrollbar': {\n width: '0.375rem',\n },\n '&::-webkit-scrollbar-track': {\n backgroundColor: light_grey_2,\n },\n '&::-webkit-scrollbar-thumb': {\n backgroundColor: mid_grey,\n },\n };\n}\n\nexport const useStyles = makeStyles({\n paper: {\n maxHeight: (props: Props) => props.viewHeight,\n width: '100vw',\n overflow: 'auto',\n position: 'relative',\n backgroundColor: 'white',\n border: '0',\n outline: 'none',\n padding: '1rem 2rem 0 2rem',\n [theme.breakpoints.up('viewportMobileMid')]: {\n margin: '0 auto',\n maxWidth: '87.5rem',\n maxHeight: '90.625rem',\n },\n [theme.breakpoints.up('viewportMedium')]: {\n padding: '1rem 2rem 2.5rem 2rem',\n backgroundColor: 'white',\n border: '0',\n },\n },\n modal_data: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: '0',\n height: 'auto',\n maxHeight: (props: Props) => `calc(${props.viewHeight} - 3rem)`,\n paddingBottom: '2rem',\n ...styleScroll(),\n [theme.breakpoints.up('viewportMedium')]: {\n height: 'auto',\n maxHeight: 'calc(20rem - 6.25rem)',\n paddingBottom: '0',\n },\n },\n copy_button: {\n '& svg': {\n margin: 'auto 0 auto 0.5rem',\n height: '0.75rem',\n width: 'auto',\n },\n padding: 0,\n backgroundColor: 'transparent',\n border: 'none',\n display: 'flex',\n textTransform: 'uppercase',\n '&:hover': {\n cursor: 'pointer',\n },\n },\n copy: {\n '& svg': {\n margin: 'auto 0 auto 0.5rem',\n height: '0.75rem',\n width: 'auto',\n },\n backgroundColor: 'transparent',\n border: 'none',\n display: 'flex',\n textTransform: 'uppercase',\n },\n button_group: {\n marginTop: '2.5rem',\n display: 'flex',\n },\n confirmation_button: {\n width: '9.375rem',\n height: '2.5rem',\n textTransform: 'uppercase',\n boxSizing: 'border-box',\n '&:first-child': {\n backgroundColor: 'transparent',\n border: '0.0625rem black solid',\n marginRight: '0.5rem',\n [theme.breakpoints.up('viewportMedium')]: {\n marginRight: '1rem',\n },\n },\n '&:last-child': {\n backgroundColor: acura_red,\n border: 'none',\n color: white,\n marginLeft: '0.5rem',\n [theme.breakpoints.up('viewportMedium')]: {\n marginLeft: '1rem',\n },\n },\n '&:hover': {\n cursor: 'pointer',\n },\n [theme.breakpoints.up('viewportMedium')]: {\n width: '12rem',\n },\n },\n spinner_container: {\n width: '100%',\n height: '100%',\n backgroundColor: 'rgba(0, 0, 0, 0.3)',\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 2,\n opacity: 1,\n transition: 'opacity 0.5s ease',\n\n '&.images-loaded': {\n opacity: 0,\n zIndex: 0,\n },\n },\n\n spinner: {\n left: '50%',\n marginLeft: '-35px',\n marginTop: '-35px',\n position: 'absolute',\n top: '50%',\n zIndex: 2,\n '&:before': {\n animation: '$slide-spin .75s linear infinite',\n borderRadius: '50%',\n borderRight: '0.125rem solid transparent',\n borderTop: `0.125rem solid ${acura_red}`,\n content: \"''\",\n height: '4.375rem',\n width: '4.375rem',\n position: 'absolute',\n boxSizing: 'border-box',\n },\n },\n\n '@keyframes slide-spin': {\n to: {\n transform: 'rotate(360deg)',\n },\n },\n});\n","import JSONCrush from 'jsoncrush';\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\nimport ModalContainer from 'components/Modal/ModalContainer/ModalContainer';\nimport { useStyles } from './ReserveModal.styles';\nimport { use100vh } from 'react-div-100vh';\nimport { displayZipgate } from 'helpers/DisplayZipgate';\nimport { selectZipcode } from 'redux/slices/zipcodeSlice';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { pageLoad } from 'helpers/Analytics';\nimport { IPageLoadData } from 'interfaces/analytics';\nimport ReserveDealers from 'components/Reserve/ReserveDealers/ReserveDealers';\nimport { removeSelectedDealer, selectedDealer } from 'redux/slices/dealerSlice';\nimport { cleanHTMLFromString } from 'helpers/FormatText';\nimport {\n IBuildAndPriceModelData,\n IBuildAndPriceReserveData,\n} from 'interfaces/buildAndPrice';\nimport { IReduxAccessory, IReduxColor } from 'interfaces/vehicle';\nimport ReserveHeader from 'components/Reserve/ReserveHeader/ReserveHeader';\nimport { b64EncodeUrlFriendly } from 'helpers/Encoding';\nimport { useQueryParameters } from 'hooks/useQueryString';\nimport { updateUrlParameter } from 'helpers/Url';\nimport { useHistory } from 'react-router-dom';\n\nexport interface IReserveModalProps {\n closeFunction: () => void;\n isOpen: boolean;\n pageloadConfig?: IPageLoadData;\n reserveData: IBuildAndPriceReserveData;\n currentModel: IBuildAndPriceModelData;\n currentExterior: IReduxColor;\n currentInterior: IReduxColor;\n zipcodeTest?: string; //Use for testing\n currentAccessories: IReduxAccessory[];\n}\n\nexport function ReserveModal({\n closeFunction,\n isOpen,\n pageloadConfig,\n reserveData,\n currentModel,\n currentExterior,\n currentInterior,\n zipcodeTest,\n currentAccessories,\n}: IReserveModalProps): JSX.Element {\n const dispatch = useDispatch();\n const history = useHistory();\n const queryParameters = useQueryParameters();\n const dealerIdQS = queryParameters.get('dealerid');\n const viewHeightValue = use100vh();\n const viewHeightStyle = viewHeightValue\n ? `${viewHeightValue / 16}rem`\n : '100%';\n const classes = useStyles({\n viewHeight: viewHeightStyle,\n });\n const currentDealer = useSelector(selectedDealer);\n const zipcode = useSelector(selectZipcode);\n const [hasDealer, setHasDealer] = useState(dealerIdQS ? true : false);\n const { settings, pageContent, subscriptionInfo } = reserveData;\n const { ctas, labels } = pageContent;\n const modelInfo = {\n modelSeries: currentModel.modelSeries,\n modelSeriesStandalone: currentModel.standaloneModelSeries,\n modelYear: currentModel.modelYear,\n reserveModel: currentModel.modelSeries,\n };\n const isDataNotLoaded =\n currentExterior.internalCode === 'empty' ||\n currentInterior.internalCode === 'empty' ||\n (currentAccessories.length === 1 && currentAccessories[0].name === 'empty');\n const reserveCardLabels = {\n reserveDisclaimer: labels.confirmationDisclaimer || '',\n reserveYours: ctas.reserveYours?.label || '',\n termsConditions: labels.viewFullTerms,\n };\n\n const iriAccessories = useMemo((): string => {\n return currentAccessories.map((acc) => acc.opCode).join(',');\n }, [currentAccessories]);\n\n const headerValues = useMemo(() => {\n return !currentDealer\n ? {\n subhead: labels.pageSubHeadDealer,\n step: 2,\n disclaimer: labels.dealerDisclaimer,\n }\n : {\n subhead: labels.pageSubHeadConfirmation,\n step: 2,\n disclaimer: labels.dealerConfirmationDisclaimer,\n };\n }, [labels, currentDealer]);\n\n const finishReserve = useCallback(() => {\n if (currentModel && currentExterior && currentInterior && currentDealer) {\n const {\n modelId,\n modelYear,\n modelSeries,\n paragraphModelSeries,\n standaloneModelSeries,\n enPackageName,\n msrp,\n } = currentModel;\n\n // Check if is needed to add the modelName at the start of the packageName\n // some cases the package name already includes the modelName already\n const vehicleModelSeriesPackage = cleanHTMLFromString(enPackageName);\n const modelSeriesRegex = new RegExp(`${modelSeries.toLowerCase()}`, 'gi');\n const cleanedPackageName = vehicleModelSeriesPackage\n .replace(modelSeriesRegex, '')\n .trim();\n\n const vehicleModelSeriesComplete =\n `${paragraphModelSeries} ${cleanedPackageName}`.trim();\n\n //Create the salesForce data object\n const salesforceData = {\n id: subscriptionInfo.id,\n modelId: modelId,\n uniqueModelId: modelId,\n modelName: paragraphModelSeries || '',\n // The modelSeriesStandalone would be the same as the modelSeries if the field in sitecore is empty\n modelNameStandalone: standaloneModelSeries || '',\n packageName: cleanHTMLFromString(cleanedPackageName),\n vehicleModelSeries: cleanHTMLFromString(vehicleModelSeriesComplete),\n modelYear: modelYear,\n exteriorColor: currentExterior.name.replace(/\\[[^/\\]]*\\]]/, ''),\n exteriorColorCode: currentExterior.internalCode,\n exteriorColorPrice: currentExterior.price,\n interiorColor: currentInterior.name || '',\n interiorColorCode:\n currentInterior.internalCode !== 'empty'\n ? currentInterior.internalCode\n : '',\n depositAmount: (settings.reservePrice || '').replace('$', ''),\n MSRP: msrp,\n dealerNumber: currentDealer.dealerNumber,\n dealerName: currentDealer.name,\n dealerAddress: currentDealer.address,\n dealerPhoneNumber: currentDealer.phone,\n dealerCity: currentDealer.city,\n dealerState: currentDealer.state,\n isParticipantDealer:\n currentDealer.attributes.findIndex((attr) => attr.code === 'RB') !==\n -1,\n zipCode: currentDealer.zipCode,\n callbackUrl: window.location.origin + settings.callbackUrl,\n subsciptionInfo: subscriptionInfo,\n isInMarket: true,\n accessories: currentAccessories.map((acc) => {\n return {\n opCode: acc.opCode,\n name: cleanHTMLFromString(acc.enName),\n msrp: acc.price,\n };\n }),\n };\n\n // Crush the salesForceData to compress it and be legible to be pass to the url as param\n const stringData = JSON.stringify(salesforceData);\n const crushedStringData = b64EncodeUrlFriendly(\n JSONCrush.crush(stringData)\n );\n //Send the user to the salesforce page with the encoded data object\n const toUrl = `${settings.salesForceUrl}?data=${crushedStringData}`;\n window.location.href = toUrl;\n }\n }, [\n subscriptionInfo,\n currentModel,\n currentExterior,\n currentInterior,\n currentAccessories,\n currentDealer,\n settings,\n ]);\n\n useEffect(() => {\n if (pageloadConfig) {\n pageLoad(pageloadConfig);\n }\n\n if (!zipcode && isOpen) {\n displayZipgate(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n hasDealer &&\n currentDealer?.dealerNumber !== dealerIdQS &&\n dispatch(removeSelectedDealer());\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [hasDealer, currentDealer]);\n\n useEffect(() => {\n !hasDealer &&\n (currentDealer\n ? updateUrlParameter(\n 'dealer',\n currentDealer.dealerNumber || '',\n history\n )\n : updateUrlParameter('dealerid', 0, history));\n if (hasDealer && currentDealer?.dealerNumber === dealerIdQS) {\n setHasDealer(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [currentDealer]);\n\n return (\n <>\n {(zipcodeTest !== undefined || zipcode) && (\n \n <>\n \n \n {isDataNotLoaded && (\n
\n
\n
\n )}\n \n \n )}\n \n );\n}\n","// Imported from https://usehooks-ts.com/react-hook/use-script#hook\nimport { useEffect, useState, useRef } from 'react';\n\nexport type UseScriptStatus =\n | 'idle'\n | 'loading'\n | 'ready'\n | 'error'\n | 'refetch';\n\nexport interface UseScriptReturn {\n status: UseScriptStatus;\n retry: () => void;\n}\nexport interface UseScriptOptions {\n shouldPreventLoad?: boolean;\n removeOnUnmount?: boolean;\n}\n\n// Cached script statuses\nconst cachedScriptStatuses: Record = {};\n\nfunction getScriptNode(src: string) {\n const node: HTMLScriptElement | null = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node?.getAttribute('data-status') as\n | UseScriptStatus\n | undefined;\n\n return {\n node,\n status,\n };\n}\n\nexport default function useScript(\n src: string | null,\n options?: UseScriptOptions\n): UseScriptReturn {\n const [status, setStatus] = useState(() => {\n if (!src || options?.shouldPreventLoad) {\n return 'idle';\n }\n\n if (typeof window === 'undefined') {\n // SSR Handling - always return 'loading'\n return 'loading';\n }\n\n return cachedScriptStatuses[src] ?? 'loading';\n });\n const scriptNode = useRef(null);\n\n const retry = () => {\n if (status === 'error' && src) {\n scriptNode.current?.remove();\n setStatus('refetch');\n }\n };\n\n // Script event handler to update status in state\n // Note: Even if the script already exists we still need to add\n // event handlers to update the state for *this* hook instance.\n const setStateFromEvent = (event: Event) => {\n if (src) {\n const newStatus = event.type === 'load' ? 'ready' : 'error';\n console.log(event);\n setStatus(newStatus);\n cachedScriptStatuses[src] = newStatus;\n }\n };\n\n // Store status in attribute on script\n // This can be read by other instances of this hook\n const setAttributeFromEvent = (event: Event) => {\n const scriptStatus: UseScriptStatus =\n event.type === 'load' ? 'ready' : 'error';\n\n scriptNode.current?.setAttribute('data-status', scriptStatus);\n };\n\n const setupScript = () => {\n if (src) {\n // Create script element and add it to document body\n scriptNode.current = document.createElement('script');\n scriptNode.current.src = src || '';\n scriptNode.current.async = true;\n scriptNode.current.setAttribute('data-status', 'loading');\n document.body.appendChild(scriptNode.current);\n\n scriptNode.current.addEventListener('load', setAttributeFromEvent);\n scriptNode.current.addEventListener('error', setAttributeFromEvent);\n // Add event listeners\n scriptNode.current?.addEventListener('load', setStateFromEvent);\n scriptNode.current?.addEventListener('error', setStateFromEvent);\n }\n };\n\n const cleanScript = () => {\n if (scriptNode.current) {\n scriptNode.current.removeEventListener('load', setStateFromEvent);\n scriptNode.current.removeEventListener('error', setStateFromEvent);\n }\n\n if (scriptNode.current && options?.removeOnUnmount) {\n scriptNode.current.remove();\n }\n };\n\n useEffect(() => {\n if (status === 'refetch') {\n console.log('refetch');\n\n setupScript();\n // Remove event listeners on cleanup\n return cleanScript;\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [status]);\n\n useEffect(() => {\n if (!src || options?.shouldPreventLoad) {\n return;\n }\n\n const cachedScriptStatus = cachedScriptStatuses[src];\n if (cachedScriptStatus === 'ready' || cachedScriptStatus === 'error') {\n // If the script is already cached, set its status immediately\n setStatus(cachedScriptStatus);\n return;\n }\n\n // Fetch existing script element by src\n // It may have been added by another instance of this hook\n const script = getScriptNode(src);\n scriptNode.current = script.node;\n\n if (!scriptNode.current) {\n // Create script element and add it to document body\n setupScript();\n } else {\n // Grab existing script status from attribute and set to state.\n setStatus(script.status ?? cachedScriptStatus ?? 'loading');\n // Add event listeners\n scriptNode.current.addEventListener('load', setStateFromEvent);\n scriptNode.current.addEventListener('error', setStateFromEvent);\n }\n\n // Remove event listeners on cleanup\n return cleanScript;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [src, options?.shouldPreventLoad, options?.removeOnUnmount]);\n\n return { status, retry };\n}\n","import { RootState } from 'redux/store';\nimport { renderLabel, renderCta } from 'helpers/pageContent';\nimport { ISavedConfigModalContent } from 'interfaces/modal';\n\nexport const getBapSavedConfigModal = (state: RootState) => {\n const { configuratorModalSavedConfig } = state.pageContent.bap.modals;\n return configuratorModalSavedConfig as ISavedConfigModalContent;\n};\n\nexport const getBapTabPanelContent = (state: RootState) => {\n const { labels } = state.pageContent.bap;\n const { exteriorAngles, interiorAngles, tekionSummaryScript } =\n state.pageContent.bapSettings;\n\n return {\n labels: {\n expand: renderLabel(labels.expand),\n reduce: renderLabel(labels.reduce),\n rotateYourPhone: renderLabel(labels.rotateYourPhone),\n },\n settings: {\n exteriorAngles,\n interiorAngles,\n tekionSummaryScript,\n },\n featureToggle: {\n abTesting: state.pageContent.featureToggles.abTestingConfigEnabled,\n },\n };\n};\n\nexport const getBapSummaryListingLabels = (state: RootState) => {\n const { labels } = state.pageContent.bap;\n\n return {\n accessories: renderLabel(labels.summaryAccessories),\n accessoryPriceDisclaimer: renderLabel(labels.accessoryPriceDisclaimer),\n generalChargingPriceDisclaimer: renderLabel(\n labels.generalChargingPriceDisclaimer\n ),\n specificChargingPriceDisclaimer: renderLabel(\n labels.specificChargingPriceDisclaimer\n ),\n accessoryRemoveButton: renderLabel(labels.summaryAccessoryRemoveButton),\n accessoryRemoveMessage: renderLabel(labels.summaryAccessoryRemoveMessage),\n checkOutYour: renderLabel(labels.summaryCheckOutYour),\n destinationCharge: renderLabel(labels.summaryDestinationCharge),\n exterior: renderLabel(labels.summaryExterior),\n interior: renderLabel(labels.summaryInterior),\n package: renderLabel(labels.summaryPackage),\n powertrain: renderLabel(labels.summaryPowertrain),\n powertrainDetail: renderLabel(labels.summaryPowertrainDetail),\n standardFeatures: renderLabel(labels.summaryStandardFeatures),\n startOver: renderLabel(labels.startOver),\n startingAt: renderLabel(labels.summaryStartingAt),\n total: renderLabel(labels.summaryTotal),\n totalAsConfigured: renderLabel(labels.summaryTotalAsConfigured),\n prepaidLabel: renderLabel(labels.prepaidLabel),\n prepaidValue: renderLabel(labels.prepaidValue),\n };\n};\n\nexport const getBapFlyoutContent = (state: RootState) => {\n const { labels, ctas } = state.pageContent.bap;\n\n return {\n labels: {\n accessories: renderLabel(labels.flyoutAccessories),\n accessoryDisclaimer: renderLabel(labels.flyoutAccessoriesDisclaimer),\n accessoryPriceDisclaimer: renderLabel(\n labels.accessoryPriceDealerDisclaimer\n ),\n baseMSRP: renderLabel(labels.baseMSRP),\n destinationCharge: renderLabel(labels.flyoutDestinationCharge),\n exterior: renderLabel(labels.exterior),\n interior: renderLabel(labels.interior),\n charging: renderLabel(labels.charging),\n item: renderLabel(labels.item),\n items: renderLabel(labels.items),\n package: renderLabel(labels.package),\n powertrainLabel: renderLabel(labels.powertrain),\n powertrainValue: renderLabel(labels.flyoutPowertrain),\n priceBreakdown: renderLabel(labels.priceBreakdown),\n seeFullSummary: renderLabel(labels.flyoutSeeFullSummary),\n totalAsConfigured: renderLabel(labels.flyoutTotalAsConfigured),\n totalMSRP: renderLabel(labels.totalMSRP),\n prepaidLabel: renderLabel(labels.prepaidLabel),\n prepaidValue: renderLabel(labels.prepaidValue),\n },\n ctas: {\n estimatePayments: renderCta(ctas.estimatePayments),\n sendBuildToDealer: renderCta(ctas.sendBuildToDealer),\n },\n };\n};\n\nexport const getBapAccessoryListLabels = (state: RootState) => {\n const { labels } = state.pageContent.bap;\n\n return {\n priceDealerDisclaimer: renderLabel(labels.accessoryPriceDealerDisclaimer),\n priceDisclaimer: renderLabel(labels.accessoryPriceDisclaimer),\n generalChargingPriceDisclaimer: renderLabel(\n labels.generalChargingPriceDisclaimer\n ),\n specificChargingPriceDisclaimer: renderLabel(\n labels.specificChargingPriceDisclaimer\n ),\n };\n};\n\nexport const getBapAccessoryPanelLabels = (state: RootState) => {\n const { labels } = state.pageContent.bap;\n\n return {\n iriNotification: renderLabel(labels.accessoryIRINotification),\n switchValueLeft: renderLabel(labels.switchValueLeft),\n switchValueRight: renderLabel(labels.switchValueRight),\n };\n};\n\nexport const getBapAccessoryDisplayLabels = (state: RootState) => {\n const { labels } = state.pageContent.bap;\n\n return {\n accessories: renderLabel(labels.summaryAccessories),\n };\n};\nexport const getBapCompressedFooterContent = (state: RootState) => {\n return state.pageContent.bap.footer;\n};\n\nexport const getBapSummaryAccessoryItemLabels = (state: RootState) => {\n const { labels } = state.pageContent.bap;\n\n return {\n accessories: renderLabel(labels.summaryAccessories),\n accessoryRemoveMessage: renderLabel(labels.summaryAccessoryRemoveMessage),\n accessoryRemoveButton: renderLabel(labels.summaryAccessoryRemoveButton),\n accessoryPriceDisclaimer: renderLabel(labels.accessoryPriceDisclaimer),\n generalChargingPriceDisclaimer: renderLabel(\n labels.generalChargingPriceDisclaimer\n ),\n specificChargingPriceDisclaimer: renderLabel(\n labels.specificChargingPriceDisclaimer\n ),\n };\n};\n\nexport const getBapToolbarContent = (state: RootState) => {\n const { labels, ctas } = state.pageContent.bap;\n\n return {\n labels: {\n copied: renderLabel(labels.copied),\n copyLink: renderLabel(labels.copyLink),\n copyLinkToBuild: renderLabel(labels.copyLinkToBuild),\n },\n ctas: {\n searchInventory: renderCta(ctas.searchInventory),\n estimatePayments: renderCta(ctas.estimatePayments),\n headerAction: renderCta(ctas.headerAction),\n },\n featureToggles: {\n abTesting: state.pageContent.featureToggles.abTestingConfigEnabled,\n tekionIntegrationEntryPointsEnabled:\n state.pageContent.featureToggles.tekionIntegrationEntryPointsEnabled,\n },\n };\n};\nexport const getBapTekionContent = (state: RootState) => {\n const { labels, ctas } = state.pageContent.bap;\n\n return {\n labels: {\n tekionErrorTitle: renderLabel(labels.tekionErrorTitle),\n tekionErrorDescription: renderLabel(labels.tekionErrorDescription),\n },\n ctas: {\n tekionErrorAction: renderCta(ctas.tekionErrorAction),\n },\n };\n};\n"],"names":["_appPalette$colors","appPalette","colors","light_grey_2","mid_grey","dark_grey_1","useStyles","makeStyles","paper","_defineProperty","position","backgroundColor","width","height","maxHeight","props","viewHeight","border","top","left","transform","outline","padding","theme","breakpoints","up","modal_data","_objectSpread","margin","concat","overflowY","overflowX","paddingBottom","grid_item","display","flexDirection","paddingLeft","paddingRight","marginTop","package_image","paddingTop","picture_class","modal_text","title_style","subtitle_style","lineHeight","color","description_style","content","marginBottom","disclaimer_style","button_container","justifyContent","bottom","borderTop","borderColor","boxShadow","build_button","button_icon","marginLeft","_ref","closeFunction","handleAccessorySelection","isOpen","dealerId","noTracking","title","price","opCode","image","description","disclaimer","category","viewHeightValue","use100vh","labels","useSelector","getBapAccessoryListLabels","viewHeightStyle","classes","matchesMediumBreakpoint","useMediaQuery","noSsr","selectedAccessories","getCurrentAccessories","isSelected","findIndex","acc","useEffect","_jsx","ModalContainer","className","children","_jsxs","Grid","container","item","xs","md","_Fragment","id","TextRender","text","convertCostValue","parseFloat","Picture","classNames","Math","ceil","priceDealerDisclaimer","priceDisclaimer","tagName","LinkButton","link","variant","LinkButtonType","black","red","onClick","dataAutomation","trackEventData","label","includePageName","user","bap_accessories","Icon","type","Icons","minus","plus","white","alignItems","copy_button","textTransform","cursor","copy","button_group","confirmation_button","boxSizing","marginRight","acura_red","confirmFunction","_useState","useState","_useState2","_slicedToArray","isCopied","setIsCopied","copiedLabel","check","green","navigator","clipboard","writeText","window","location","href","then","err","console","error","copyCta","blackOutlined","cancelCta","confirmCta","grid_container","minHeight","selection_container","addList","removeList","map","_ref2","name","length","_ref3","redOutlined","overflow","maxWidth","spinner_container","zIndex","opacity","transition","spinner","animation","borderRadius","borderRight","to","ReserveModal","_ctas$reserveYours","pageloadConfig","reserveData","currentModel","currentExterior","currentInterior","zipcodeTest","currentAccessories","dispatch","useDispatch","history","useHistory","dealerIdQS","useQueryParameters","get","currentDealer","selectedDealer","zipcode","selectZipcode","hasDealer","setHasDealer","settings","pageContent","subscriptionInfo","ctas","modelInfo","modelSeries","modelSeriesStandalone","standaloneModelSeries","modelYear","reserveModel","isDataNotLoaded","internalCode","reserveCardLabels","reserveDisclaimer","confirmationDisclaimer","reserveYours","termsConditions","viewFullTerms","iriAccessories","useMemo","join","headerValues","subhead","pageSubHeadConfirmation","step","dealerConfirmationDisclaimer","pageSubHeadDealer","dealerDisclaimer","finishReserve","useCallback","modelId","paragraphModelSeries","enPackageName","msrp","vehicleModelSeriesPackage","cleanHTMLFromString","modelSeriesRegex","RegExp","toLowerCase","cleanedPackageName","replace","trim","vehicleModelSeriesComplete","salesforceData","uniqueModelId","modelName","modelNameStandalone","packageName","vehicleModelSeries","exteriorColor","exteriorColorCode","exteriorColorPrice","interiorColor","interiorColorCode","depositAmount","reservePrice","MSRP","dealerNumber","dealerName","dealerAddress","address","dealerPhoneNumber","phone","dealerCity","city","dealerState","state","isParticipantDealer","attributes","attr","code","zipCode","callbackUrl","origin","subsciptionInfo","isInMarket","accessories","enName","stringData","JSON","stringify","crushedStringData","b64EncodeUrlFriendly","JSONCrush","crush","toUrl","salesForceUrl","pageLoad","displayZipgate","removeSelectedDealer","updateUrlParameter","undefined","displayTitle","modalId","dataTestId","ReserveHeader","ReserveDealers","labelSelectedDealer","filterCodes","dealersFiltersCodes","showDealersDropdown","selectedExteriorCode","selectedExteriorName","selectedInteriorName","handleFinishReserve","labelsReserveCard","cachedScriptStatuses","useScript","src","options","_cachedScriptStatuses","shouldPreventLoad","status","setStatus","scriptNode","useRef","setStateFromEvent","event","newStatus","log","setAttributeFromEvent","_scriptNode$current2","scriptStatus","current","setAttribute","setupScript","_scriptNode$current3","_scriptNode$current4","document","createElement","async","body","appendChild","addEventListener","cleanScript","removeEventListener","removeOnUnmount","remove","cachedScriptStatus","_script$status","script","node","querySelector","getAttribute","getScriptNode","retry","_scriptNode$current","getBapSavedConfigModal","bap","modals","configuratorModalSavedConfig","getBapTabPanelContent","_state$pageContent$ba","bapSettings","exteriorAngles","interiorAngles","tekionSummaryScript","expand","renderLabel","reduce","rotateYourPhone","featureToggle","abTesting","featureToggles","abTestingConfigEnabled","getBapSummaryListingLabels","summaryAccessories","accessoryPriceDisclaimer","generalChargingPriceDisclaimer","specificChargingPriceDisclaimer","accessoryRemoveButton","summaryAccessoryRemoveButton","accessoryRemoveMessage","summaryAccessoryRemoveMessage","checkOutYour","summaryCheckOutYour","destinationCharge","summaryDestinationCharge","exterior","summaryExterior","interior","summaryInterior","package","summaryPackage","powertrain","summaryPowertrain","powertrainDetail","summaryPowertrainDetail","standardFeatures","summaryStandardFeatures","startOver","startingAt","summaryStartingAt","total","summaryTotal","totalAsConfigured","summaryTotalAsConfigured","prepaidLabel","prepaidValue","getBapFlyoutContent","_state$pageContent$ba2","flyoutAccessories","accessoryDisclaimer","flyoutAccessoriesDisclaimer","accessoryPriceDealerDisclaimer","baseMSRP","flyoutDestinationCharge","charging","items","powertrainLabel","powertrainValue","flyoutPowertrain","priceBreakdown","seeFullSummary","flyoutSeeFullSummary","flyoutTotalAsConfigured","totalMSRP","estimatePayments","renderCta","sendBuildToDealer","getBapAccessoryPanelLabels","iriNotification","accessoryIRINotification","switchValueLeft","switchValueRight","getBapAccessoryDisplayLabels","getBapCompressedFooterContent","footer","getBapSummaryAccessoryItemLabels","getBapToolbarContent","_state$pageContent$ba3","copied","copyLink","copyLinkToBuild","searchInventory","headerAction","tekionIntegrationEntryPointsEnabled","getBapTekionContent","_state$pageContent$ba4","tekionErrorTitle","tekionErrorDescription","tekionErrorAction"],"sourceRoot":""}