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6CCZC,SAAS5D,EAAgB7J,CAAc,KAAd,CAAE8J,WAAAA,CAAU,CAAE,CAAd9J,EAChC,CAAC0N,EAAkBC,EAAoB,CAAGpM,CAAAA,EAAAA,EAAAA,QAAAA,EAAS,IACnD,CAAEqM,YAAAA,CAAW,CAAEC,YAAAA,CAAW,CAAEC,eAAAA,CAAc,CAAE,CAAG3M,CAAAA,EAAAA,EAAAA,UAAAA,EAAW4M,EAAAA,CAAYA,EA+B5E,MA7BAzK,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACRwK,EAAe,EAAE,CACnB,EAAG,EAAE,EAELxK,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,SACUsK,EAAlB,IAAMI,EAAAA,OAAYJ,CAAAA,EAAAA,EAAYK,IAAI,CAChC,GAAgBC,EAAWC,MAAM,GAAKrE,EAAAA,GADtB8D,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,EAEflE,SAAS,CAEZ,GAAKsE,GAIL,GAAIH,EAAYO,QAAQ,CAACJ,GAAY,CACnCL,EAAoBE,EAAYQ,OAAO,CAACL,GAAa,GACrD,MACF,CAIAF,EADsB,CAACE,KAAc,IAAInH,IAAIgH,GAAa,EAE1DF,EAAoBE,EAAYrI,MAAM,CAAG,GAC3C,EAAG,CACDsE,EACA8D,EACAC,EACAH,EACAC,EACD,EACM,GAAAV,EAAA7F,GAAA,EAACgF,MAAAA,UAAKsB,GACf,oBCpCAY,EAAAC,OAAA,EAAkB,y0DCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/constants/address.js","webpack://_N_E/./src/components/base/v1/RTB Hero/FullAddressForm/index.js","webpack://_N_E/./src/components/base/v1/RTB Hero/index.js","webpack://_N_E/./src/components/icons/InfoCircle.js","webpack://_N_E/./src/components/shared/LegalAnnotation/index.js","webpack://_N_E/./src/components/base/v1/RTB Hero/FullAddressForm/AddressForm.module.scss","webpack://_N_E/./src/components/base/v1/RTB Hero/Hero.module.scss"],"sourcesContent":["const STATE_OPTIONS_ARRAY = [\n { value: 'AL', name: 'AL' },\n { value: 'AK', name: 'AK' },\n { value: 'AZ', name: 'AZ' },\n { value: 'AR', name: 'AR' },\n { value: 'CA', name: 'CA' },\n { value: 'CO', name: 'CO' },\n { value: 'CT', name: 'CT' },\n { value: 'DE', name: 'DE' },\n { value: 'DC', name: 'DC' },\n { value: 'FL', name: 'FL' },\n { value: 'GA', name: 'GA' },\n { value: 'HI', name: 'HI' },\n { value: 'ID', name: 'ID' },\n { value: 'IL', name: 'IL' },\n { value: 'IN', name: 'IN' },\n { value: 'IA', name: 'IA' },\n { value: 'KS', name: 'KS' },\n { value: 'KY', name: 'KY' },\n { value: 'LA', name: 'LA' },\n { value: 'ME', name: 'ME' },\n { value: 'MD', name: 'MD' },\n { value: 'MA', name: 'MA' },\n { value: 'MI', name: 'MI' },\n { value: 'MN', name: 'MN' },\n { value: 'MS', name: 'MS' },\n { value: 'MO', name: 'MO' },\n { value: 'MT', name: 'MT' },\n { value: 'NE', name: 'NE' },\n { value: 'NV', name: 'NV' },\n { value: 'NH', name: 'NH' },\n { value: 'NJ', name: 'NJ' },\n { value: 'NM', name: 'NM' },\n { value: 'NY', name: 'NY' },\n { value: 'NC', name: 'NC' },\n { value: 'ND', name: 'ND' },\n { value: 'OH', name: 'OH' },\n { value: 'OK', name: 'OK' },\n { value: 'OR', name: 'OR' },\n { value: 'PA', name: 'PA' },\n { value: 'RI', name: 'RI' },\n { value: 'SC', name: 'SC' },\n { value: 'SD', name: 'SD' },\n { value: 'TN', name: 'TN' },\n { value: 'TX', name: 'TX' },\n { value: 'UT', name: 'UT' },\n { value: 'VT', name: 'VT' },\n { value: 'VA', name: 'VA' },\n { value: 'WA', name: 'WA' },\n { value: 'WV', name: 'WV' },\n { value: 'WI', name: 'WI' },\n { value: 'WY', name: 'WY' },\n];\n\nconst ADDRESS = {\n STATE_OPTIONS_ARRAY,\n};\n\nexport default ADDRESS;\n","import React, { useState, useContext, useEffect, useCallback } from 'react';\nimport styles from './AddressForm.module.scss';\nimport Button from '~/components/shared/Button';\nimport { SMARTY_STREETS } from '@constants/smartyStreets';\nimport SuggestionItems from '~/components/shared/AddressForm/SuggestionList';\nimport Typography from '~/components/shared/Typography';\nimport { addPageAction } from '~/helpers/utils';\nimport LegalAnnotation from '~/components/shared/LegalAnnotation';\nimport { CallCenterContext } from '~/providers/CallCenterProvider';\nimport { PhoneRebrand } from '~/components/icons';\nimport PhoneNumber from '~/components/shared/Fuse/PhoneNumber';\nimport ADDRESS from '~/constants/address';\nimport { useMedia } from '~/helpers/hooks';\nimport { PROMO_END_DATE } from '@constants/legalInfo';\nimport { useMonarchSlotContext } from '@redventures/cohesion-utils-react';\nimport { getLegalInformationByHandles } from '@red-digital/hughesnet-developer-kit';\nimport {\n formatForAutocomplete,\n fetchAddressSuggestions,\n formatAddressString,\n} from '@helpers/utils/smartyStreets';\nimport { createKeyboardNavigationHandler } from '@helpers/utils/keyboardNavigation';\nimport { setTimedCookie } from '@helpers/utils/setCookie';\nimport {\n suggestionClicked,\n linkedToOrderOnline,\n passedThroughToProductSelection,\n} from '@constants/newRelicActions';\n\nexport default function AddressForm({ componentLocation }) {\n const { data: monarchData } = useMonarchSlotContext();\n const { STATE_OPTIONS_ARRAY } = ADDRESS;\n const isMedia = useMedia();\n const mirPrice = getLegalInformationByHandles(['mir_price']);\n const {\n addressPlaceHolderCopy,\n addressCTACopy,\n offerBoxHeader1Copy,\n offerBoxHeader1Legal,\n callCTACopy,\n offerEndDateLegal,\n showOfferEndDate,\n offerEndDateLegalToggle,\n } = monarchData;\n const callCenterOpen = useContext(CallCenterContext);\n const [address, setAddress] = useState('');\n const [zipCode, setZipCode] = useState('');\n const [finalAddress, setFinalAddress] = useState({});\n const [showNoApartmentSuggestions, setShowNoApartmentSuggestions] =\n useState(false);\n\n const [addressForm, setAddressForm] = useState({\n street_line: '',\n city: '',\n state: '',\n zipcode: '',\n });\n\n const [suggestions, setSuggestions] = useState([]);\n const [disableButton, setDisableButton] = useState(false);\n const [showSuggestions, setShowSuggestions] = useState(false);\n const [activeIdx, setActiveIdx] = useState(0);\n const location = componentLocation ? componentLocation : 'Homepage';\n const position = 'Hero';\n\n const { API_KEY, AUTOCOMPLETE_URL } = SMARTY_STREETS;\n\n const checkFormButton = useCallback(() => {\n const hasStreetLine = addressForm.street_line !== '';\n const hasCity = addressForm.city !== '';\n const hasState = addressForm.state !== '';\n const hasZipcode = addressForm.zipcode !== '';\n const isEmpty = !hasStreetLine || !hasCity || !hasState || !hasZipcode;\n\n if (!isEmpty) {\n setDisableButton(false);\n } else {\n setDisableButton(true);\n }\n });\n\n useEffect(() => {\n checkFormButton();\n }, [addressForm, checkFormButton]);\n\n const onFormSubmit = async (event) => {\n event.preventDefault();\n if (finalAddress) {\n const userData = {\n street_line: finalAddress.street_line,\n city: finalAddress.city,\n state: finalAddress.state,\n zip: finalAddress.zipcode,\n isUnit: finalAddress.entries > 0,\n unitValue: finalAddress.secondary,\n };\n setTimedCookie('address', JSON.stringify(userData), 30);\n // Tagular track form submitted\n window.tagular('beam', 'FormSubmitted', {\n '@type': 'redventures.usertracking.v3.FormSubmitted',\n formContext: {\n formType: 'Cart CTA',\n formName: `${position}`,\n formId: 'Homepage',\n },\n });\n\n addPageAction(passedThroughToProductSelection);\n\n window.location.href = '/order-online/product-selection/';\n } else {\n // Navigate to order online page\n addPageAction(linkedToOrderOnline);\n window.location.href = '/order-online/';\n }\n };\n\n /**\n * Fetch suggestions from Smarty Streets API\n */\n const fetchSuggestions = async (query) => {\n const addressSuggestions = await fetchAddressSuggestions(\n query,\n AUTOCOMPLETE_URL\n );\n\n if (addressSuggestions) {\n setSuggestions(addressSuggestions);\n return addressSuggestions;\n } else {\n setSuggestions([]);\n return [];\n }\n };\n\n /**\n * Handle suggestion click\n * @param {Object} item - The suggestion item\n */\n const onSuggestionClick = async (item) => {\n const selected = `${item.street_line} ${formatForAutocomplete(\n item.secondary\n )} (${item.entries}) ${item.city} ${item.state} ${item.zipcode}`;\n\n addPageAction(suggestionClicked);\n\n if (item.secondary && item.entries > 1) {\n const searchQuery = `?auth-id=${API_KEY}&search=${\n item.street_line\n }&selected=${formatForAutocomplete(selected)}`;\n\n const suggestions = await fetchSuggestions(searchQuery);\n\n if (suggestions && suggestions.length > 0) {\n setSuggestions(suggestions);\n } else {\n setShowNoApartmentSuggestions(true);\n }\n } else {\n setAddress(formatAddressString(item));\n setFinalAddress(item);\n setAddressForm({\n street_line: item.street_line,\n city: item.city,\n state: item.state,\n zipcode: item.zipcode,\n });\n setZipCode(item.zipcode);\n setShowSuggestions(false);\n\n // Tagular track suggestion clicked\n window.tagular('beam', 'ElementClicked', {\n '@type': 'redventures.usertracking.v3.ElementClicked',\n webElement: {\n location: location,\n position: 'ADDRESS AUTOFILL',\n htmlId: '',\n elementType: 'DROP DOWN',\n text: 'Used Suggestion',\n },\n actionOutcome: 'Internallink',\n });\n\n checkFormButton();\n }\n };\n\n /**\n * Handle keyboard navigation\n */\n const handleAddressKeyDown = createKeyboardNavigationHandler({\n onEscape: () => {\n setShowSuggestions(false);\n },\n onArrowDown: () => {\n if (activeIdx >= suggestions.length) {\n setActiveIdx(0);\n } else {\n setActiveIdx(activeIdx + 1);\n }\n },\n onArrowUp: () => {\n if (activeIdx > 0) {\n setActiveIdx(activeIdx - 1);\n }\n },\n onEnter: () => {\n const address = suggestions[activeIdx];\n onSuggestionClick(address);\n },\n afterKeyHandler: () => {\n checkFormButton();\n },\n });\n\n const onInputClick = (event) => {\n // handle address input field on click (means form started)\n window.tagular('beam', 'FormStarted', {\n '@type': 'redventures.usertracking.v3.FormStarted',\n formContext: {\n formType: 'ADDRESS CHECK FORM',\n formName: `ADDRESS INPUT FIELD ${location}`,\n formId: event.name,\n },\n });\n };\n\n const onSuggestionKeyDown = (event, suggestion) => {\n if (event.keyCode === 13) {\n event.preventDefault();\n onSuggestionClick(suggestion);\n }\n };\n\n const onCloseClick = () => {\n // Tagular track 'close suggestions' button clicked\n window.tagular('beam', 'ElementClicked', {\n '@type': 'redventures.usertracking.v3.ElementClicked',\n webElement: {\n location: location,\n position: 'ADDRESS AUTOFILL',\n htmlId: '',\n elementType: 'DROP DOWN',\n text: 'Closed suggestions',\n },\n actionOutcome: '',\n });\n\n setShowSuggestions(false);\n setSuggestions([]);\n };\n\n const handleInputChange = (event) => {\n const { name, value } = event.target;\n //Update address form\n setAddressForm((addressData) => ({\n ...addressData,\n [name]: value,\n }));\n // Update the address object\n setAddress(\n `${addressForm.street_line} - ${addressForm.city}, ${addressForm.state} ${addressForm.zipcode}`\n );\n\n if (name === 'street_line') {\n const searchQuery = `?auth-id=${API_KEY}&search=${value}&prefer_geolocation=city`;\n\n fetchSuggestions(searchQuery);\n if (suggestions) {\n const uniqueSet = new Set();\n const uniqueAddress = [];\n\n suggestions.map((item) => {\n if (!uniqueSet.has(item.street_line)) {\n uniqueSet.add(item.street_line);\n uniqueAddress.push(item);\n }\n return null;\n });\n setSuggestions(uniqueAddress);\n setShowSuggestions(true);\n setActiveIdx(0);\n } else {\n setShowSuggestions(false);\n }\n }\n };\n\n return (\n \n
\n \n Street Address\n \n
\n handleInputChange(e)}\n name=\"street_line\"\n className={`${styles.textInput} ${styles.textInputColor}`}\n onKeyDown={(e) => handleAddressKeyDown(e)}\n onClick={onInputClick}\n placeholder={addressPlaceHolderCopy}\n />\n {showSuggestions && (\n
\n
    \n \n
\n {showNoApartmentSuggestions && (\n {\n setAddressForm({\n street_line: '',\n city: '',\n state: '',\n zipcode: '',\n });\n setShowNoApartmentSuggestions(false);\n onCloseClick();\n }}\n >\n \n Sorry, no secondary apartment suggestions found for this\n address.\n \n
\n )}\n \n \n Close address suggestions\n \n
\n \n )}\n \n
\n
\n \n City\n \n handleInputChange(e)}\n placeholder=\"City\"\n />\n
\n
\n \n State\n \n {\n if (/^[A-Z]{0,2}$/.test(e.target.value)) handleInputChange(e);\n }}\n placeholder=\"State\"\n aria-label=\"State\"\n >\n \n {STATE_OPTIONS_ARRAY.map((field) => (\n \n ))}\n \n
\n
\n \n Zip Code\n \n {\n if (/^[0-9]{0,5}$/.test(e.target.value)) handleInputChange(e);\n }}\n className={`${styles.textInput} ${styles.textInputColor}`}\n onClick={onInputClick}\n placeholder=\"Zip Code\"\n />\n
\n
\n
\n {isMedia.mobile && (\n
\n \n {callCenterOpen && (\n \n \n \n {callCTACopy}{' '}\n {' '}\n \n \n )}\n
\n )}\n
\n
\n
\n {mirPrice.legalStatements[0].statement}\n
\n
\n \n \n \n \n \n
\n {showOfferEndDate && (\n \n Offer ends {PROMO_END_DATE}\n \n )}\n {offerEndDateLegalToggle && (\n \n \n \n )}\n
\n
\n {!isMedia.mobile && (\n
\n \n {callCenterOpen && (\n \n \n \n {callCTACopy}{' '}\n {' '}\n \n \n )}\n
\n )}\n
\n
\n \n );\n}\n","import React, { useRef } from 'react';\nimport styles from './Hero.module.scss';\nimport FullAddressForm from './FullAddressForm';\nimport LegalAnnotation from '~/components/shared/LegalAnnotation';\nimport Typography from '~/components/shared/Typography';\nimport useIntersectionObserver from '~/helpers/hooks/useIntersectionObserver';\nimport { fireElementViewedEvent } from '~/helpers/utils/fireTagular';\nimport { InfoCircle } from '~/components/icons/InfoCircle';\nimport Tippy from '@tippyjs/react';\nimport 'tippy.js/dist/tippy.css';\nimport { useMedia } from '~/helpers/hooks';\nimport { useMonarchSlotContext } from '@redventures/cohesion-utils-react';\n\nexport default function Hero() {\n const BASE_DATA = {\n offerBoxHeader1Copy:\n 'Order now and receive a $100 Prepaid Mastercard® via rebate.',\n offerBoxHeader1Legal: 'mail-in-rebate-legal',\n addressPlaceHolderCopy: 'Enter your address',\n addressCTACopy: 'Shop plans',\n callCTACopy: ' Call',\n headline: 'Connect, stream and play with NEW plans: speeds up to 100 Mbps',\n headlineLegal: 'null',\n headlineLegalToggle: true,\n backgroundImage: 'hillshero',\n showHeaderTooltip: false,\n tooltipCopy: \"I'm a Editable Tippy Tooltip!\",\n globalBanner: true,\n globalBannerHeaderCopy: 'SUPER SUMMER SAVINGS',\n globalBannerHeaderLegalToggle: true,\n globalBannerHeaderLegal: 'mail-in-rebate-legal',\n globalBannerHeader2Copy: 'Save $25/mo.',\n showBannerHeader2: true,\n showBannerIcon: true,\n globalBannerSubHeaderCopy: 'for 12 months',\n showGlobalBannerSubHeader: true,\n globalBannerSubHeaderLegal: 'mail-in-rebate-legal',\n globalBannerSubHeaderLegalToggle: true,\n showOfferEndDate: true,\n offerEndDateLegalToggle: false,\n offerEndDateLegal: 'data-limit',\n };\n const { data: monarchData } = useMonarchSlotContext();\n const offerHero = useRef();\n const isMedia = useMedia();\n const data = { ...BASE_DATA, ...monarchData };\n const {\n headline,\n headlineLegal,\n headlineLegalToggle,\n backgroundImage,\n showHeaderTooltip,\n tooltipCopy,\n globalBanner,\n globalBannerHeaderCopy,\n globalBannerSubHeaderCopy,\n showGlobalBannerSubHeader,\n showBannerHeader2,\n globalBannerHeader2Copy,\n showBannerIcon,\n globalBannerSubHeaderLegalToggle,\n globalBannerSubHeaderLegal,\n globalBannerHeaderLegalToggle,\n globalBannerHeaderLegal,\n } = data;\n\n useIntersectionObserver(\n [offerHero],\n () =>\n fireElementViewedEvent(\n 'RTB Hero',\n 'RTB Hero section',\n 'RTB Hero',\n 'RTB Hero'\n ),\n undefined,\n // Fire tagular only when the full element is visible\n { threshold: 1.0 }\n );\n\n const bgImage = backgroundImage\n ? `/images/heroes/${backgroundImage}.jpg`\n : `/images/heroes/hillshero.jpg`;\n const showBannerSubcopy = showGlobalBannerSubHeader && isMedia.desktop;\n\n return (\n \n {globalBanner && (\n
\n \n {globalBannerHeaderCopy}\n {globalBannerHeaderLegalToggle && (\n \n )}\n \n {showBannerIcon && (\n \n )}\n {!isMedia.mobile && (\n <>\n {showBannerHeader2 && (\n {globalBannerHeader2Copy}\n )}\n {showBannerSubcopy && (\n <>\n    \n \n {globalBannerSubHeaderCopy}\n {globalBannerSubHeaderLegalToggle && (\n \n \n \n )}\n \n \n )}\n \n )}\n
\n )}\n
\n
\n \n \n\n {headlineLegalToggle && (\n \n \n \n )}\n\n {showHeaderTooltip && (\n \n \n {tooltipCopy}\n

\n }\n placement=\"right\"\n arrow={true}\n trigger=\"mouseenter\"\n theme=\"dark\"\n className=\"tooltip-icon\"\n >\n \n \n
\n )}\n
\n
\n \n
\n
\n
\n \n );\n}\n","/* eslint max-len: 0 */\nimport React from 'react';\n\nexport const InfoCircle = (props) => {\n return (\n \n \n \n );\n};\n","import React, { useEffect, useState, useContext } from 'react';\nimport { LegalContext } from '~/providers/LegalProvider';\n\nexport default function LegalAnnotation({ annotation }) {\n const [annotationNumber, setAnnotationNumber] = useState('');\n const { disclosures, activeLegal, setActiveLegal } = useContext(LegalContext);\n\n useEffect(() => {\n setActiveLegal([]);\n }, []);\n\n useEffect(() => {\n const legalText = disclosures.find(\n (disclosure) => disclosure.handle === annotation\n )?.statement;\n\n if (!legalText) {\n return;\n }\n\n if (activeLegal.includes(legalText)) {\n setAnnotationNumber(activeLegal.indexOf(legalText) + 1);\n return;\n }\n\n // Using Set to get rid of duplicates\n const filteredArray = [legalText, ...new Set(activeLegal)];\n setActiveLegal(filteredArray);\n setAnnotationNumber(activeLegal.length + 1);\n }, [\n annotation,\n disclosures,\n activeLegal,\n annotationNumber,\n setAnnotationNumber,\n ]);\n return {annotationNumber};\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tippy-touch\":\"AddressForm_tippy-touch__rIMMN\",\"tooltip-btn\":\"AddressForm_tooltip-btn__cfOiv\",\"tooltip-icon\":\"AddressForm_tooltip-icon__dXnog\",\"tooltip-content--legal\":\"AddressForm_tooltip-content--legal__bxu7S\",\"tippy-box\":\"AddressForm_tippy-box__dSJ06\",\"tippy-arrow\":\"AddressForm_tippy-arrow__Psii9\",\"custom-dots\":\"AddressForm_custom-dots__h0wAv\",\"custom-dot\":\"AddressForm_custom-dot__ghjiz\",\"slick-active\":\"AddressForm_slick-active__UCQZt\",\"addressForm\":\"AddressForm_addressForm__zzKN7\",\"addressHeadline\":\"AddressForm_addressHeadline__QHCmo\",\"fieldset\":\"AddressForm_fieldset__0gQYe\",\"inputWrapper\":\"AddressForm_inputWrapper___8NWf\",\"textInput\":\"AddressForm_textInput__x888a\",\"textInputColor\":\"AddressForm_textInputColor__tHkTA\",\"suggestionsList\":\"AddressForm_suggestionsList__hjJAI\",\"suggestionsListItems\":\"AddressForm_suggestionsListItems__uyl4d\",\"suggestionsListClose\":\"AddressForm_suggestionsListClose__XW3Sg\",\"suggestionListNoApartments\":\"AddressForm_suggestionListNoApartments__3NxFS\",\"suggestionsListCloseCopy\":\"AddressForm_suggestionsListCloseCopy__lfTe0\",\"offerValueBox\":\"AddressForm_offerValueBox__sYJ5s\",\"offerValue\":\"AddressForm_offerValue__a_IYx\",\"offerHeading\":\"AddressForm_offerHeading__GW_x1\",\"offerSup\":\"AddressForm_offerSup__mF0Pw\",\"offerEndDate\":\"AddressForm_offerEndDate__0wcHy\",\"offerEndSup\":\"AddressForm_offerEndSup__kZuc0\",\"actions\":\"AddressForm_actions__S2xeE\",\"flexContainer\":\"AddressForm_flexContainer__lq_wQ\",\"buttons\":\"AddressForm_buttons__N3ce0\",\"btn\":\"AddressForm_btn__RuvWl\",\"callNowCta\":\"AddressForm_callNowCta__H7_de\",\"callNowCtaText\":\"AddressForm_callNowCtaText__1KSHm\",\"marginRight\":\"AddressForm_marginRight__jjsuB\",\"inputRow\":\"AddressForm_inputRow__5hic1\",\"inputColumn__city\":\"AddressForm_inputColumn__city__rtOtR\",\"inputColumn__state\":\"AddressForm_inputColumn__state__RNILN\",\"inputColumn__zip\":\"AddressForm_inputColumn__zip__YPznV\",\"ring\":\"AddressForm_ring__JE5Z6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tippy-touch\":\"Hero_tippy-touch__kAzCO\",\"tooltip-btn\":\"Hero_tooltip-btn__ldRGX\",\"tooltip-icon\":\"Hero_tooltip-icon__GlN3y\",\"tooltip-content--legal\":\"Hero_tooltip-content--legal__EPfBu\",\"tippy-box\":\"Hero_tippy-box__NpCfc\",\"tippy-arrow\":\"Hero_tippy-arrow__STHxL\",\"custom-dots\":\"Hero_custom-dots__O1bte\",\"custom-dot\":\"Hero_custom-dot__ZQ4BO\",\"slick-active\":\"Hero_slick-active__dxHSP\",\"container\":\"Hero_container__fIsAZ\",\"butterfly\":\"Hero_butterfly__qRILO\",\"globalBanner\":\"Hero_globalBanner__a9I1Y\",\"head\":\"Hero_head__SC_L7\",\"subHead\":\"Hero_subHead__erBoi\",\"bannerIcon\":\"Hero_bannerIcon__Kagfa\",\"content\":\"Hero_content__Dbg3W\",\"offerBox\":\"Hero_offerBox___7IIF\",\"offerHeading\":\"Hero_offerHeading__vmc7p\",\"offerSubheading\":\"Hero_offerSubheading__olLyM\",\"addressContainer\":\"Hero_addressContainer__Rybu6\",\"addressLabel\":\"Hero_addressLabel__vwVPn\",\"headline\":\"Hero_headline__bmJHd\",\"callNowCta\":\"Hero_callNowCta__2GVna\",\"callNowCtaText\":\"Hero_callNowCtaText__iskFj\",\"offerModal\":\"Hero_offerModal__kV1G2\",\"close\":\"Hero_close__CC5Gt\",\"ring\":\"Hero_ring__r_T5h\"};"],"names":["constants_address","STATE_OPTIONS_ARRAY","value","name","AddressForm","param","componentLocation","data","monarchData","useMonarchSlotContext","ADDRESS","isMedia","useMedia","mirPrice","getLegalInformationByHandles","addressPlaceHolderCopy","addressCTACopy","offerBoxHeader1Copy","offerBoxHeader1Legal","callCTACopy","offerEndDateLegal","showOfferEndDate","offerEndDateLegalToggle","callCenterOpen","useContext","CallCenterContext","address","setAddress","useState","zipCode","setZipCode","finalAddress","setFinalAddress","showNoApartmentSuggestions","setShowNoApartmentSuggestions","addressForm","setAddressForm","street_line","city","state","zipcode","suggestions","setSuggestions","disableButton","setDisableButton","showSuggestions","setShowSuggestions","activeIdx","setActiveIdx","location","API_KEY","AUTOCOMPLETE_URL","SMARTY_STREETS","checkFormButton","useCallback","hasStreetLine","hasCity","hasState","hasZipcode","useEffect","onFormSubmit","event","preventDefault","userData","zip","isUnit","entries","unitValue","secondary","setTimedCookie","JSON","stringify","window","tagular","formContext","formType","formName","concat","formId","addPageAction","passedThroughToProductSelection","href","linkedToOrderOnline","fetchSuggestions","query","addressSuggestions","fetchAddressSuggestions","onSuggestionClick","item","selected","formatForAutocomplete","suggestionClicked","searchQuery","length","formatAddressString","webElement","position","htmlId","elementType","text","actionOutcome","handleAddressKeyDown","createKeyboardNavigationHandler","onEscape","onArrowDown","onArrowUp","onEnter","afterKeyHandler","onInputClick","onCloseClick","handleInputChange","target","addressData","uniqueSet","Set","uniqueAddress","map","has","add","push","jsx_runtime","jsx","form","onSubmit","autoComplete","className","styles","jsxs","fieldset","Typography","variant","div","input","onChange","e","onKeyDown","onClick","placeholder","ul","SuggestionItems","items","handleKeyDown","suggestion","keyCode","select","test","aria-label","option","field","mobile","Button","isDisabled","tracking","fuse","isSecondary","PhoneRebrand","span","PhoneNumber","legalStatements","statement","dangerouslySetInnerHTML","__html","LegalAnnotation","annotation","br","PROMO_END_DATE","Hero","offerHero","useRef","headline","headlineLegal","headlineLegalToggle","backgroundImage","showHeaderTooltip","tooltipCopy","globalBanner","globalBannerHeaderCopy","globalBannerSubHeaderCopy","showGlobalBannerSubHeader","showBannerHeader2","globalBannerHeader2Copy","showBannerIcon","globalBannerSubHeaderLegalToggle","globalBannerSubHeaderLegal","globalBannerHeaderLegalToggle","globalBannerHeaderLegal","useIntersectionObserver","fireElementViewedEvent","undefined","threshold","showBannerSubcopy","desktop","id","ref","style","img","src","alt","width","height","Fragment","sup","Tippy","content","p","placement","arrow","trigger","theme","button","role","InfoCircle","FullAddressForm","metadata","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","svg","viewBox","version","xmlns","data-automation-key","props","path","d","annotationNumber","setAnnotationNumber","disclosures","activeLegal","setActiveLegal","LegalContext","legalText","find","disclosure","handle","includes","indexOf","module","exports"],"sourceRoot":""}