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AC,KAAI,GACJxB,UAAWC,IAAAA,GAAAA,WAEX,GAAAJ,EAAAC,GAAA,EAAC2B,EAAAA,EAAYA,CAAAA,CAACjB,MAAO,SAAU,IAAEjC,EAAa,IAC9C,GAAAsB,EAAAC,GAAA,EAAC4B,EAAAA,CAAWA,CAAAA,CAAAA,qBAWlC,uGCjJe,SAASd,EAAgBe,CAAc,KAAd,CAAEd,WAAAA,CAAU,CAAE,CAAdc,EAChC,CAACC,EAAkBC,EAAoB,CAAGC,CAAAA,EAAAA,EAAAA,QAAAA,EAAS,IACnD,CAAEC,YAAAA,CAAW,CAAEC,YAAAA,CAAW,CAAEC,eAAAA,CAAc,CAAE,CAAGC,CAAAA,EAAAA,EAAAA,UAAAA,EAAWC,EAAAA,CAAYA,EA+B5E,MA7BAC,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACRH,EAAe,EAAE,CACnB,EAAG,EAAE,EAELG,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,SACUL,EAAlB,IAAMM,EAAAA,OAAYN,CAAAA,EAAAA,EAAYO,IAAI,CAChC,GAAgBC,EAAWC,MAAM,GAAK3B,EAAAA,GADtBkB,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,EAEfU,SAAS,CAEZ,GAAKJ,GAIL,GAAIL,EAAYU,QAAQ,CAACL,GAAY,CACnCR,EAAoBG,EAAYW,OAAO,CAACN,GAAa,GACrD,MACF,CAIAJ,EADsB,CAACI,KAAc,IAAIO,IAAIZ,GAAa,EAE1DH,EAAoBG,EAAYa,MAAM,CAAG,GAC3C,EAAG,CACDhC,EACAkB,EACAC,EACAJ,EACAC,EACD,EACM,GAAAhC,EAAAC,GAAA,EAACgD,MAAAA,UAAKlB,GACf,oBCpCAmB,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/base/v1/ACP Banner/index.js","webpack://_N_E/./src/components/shared/LegalAnnotation/index.js","webpack://_N_E/./src/components/base/v1/ACP Banner/Banner.module.scss"],"sourcesContent":["import React, { useRef } from 'react';\nimport styles from './Banner.module.scss';\nimport PhoneNumber from '~/components/shared/Fuse/PhoneNumber';\nimport Button from '~/components/shared/Button';\nimport LegalAnnotation from '~/components/shared/LegalAnnotation';\nimport useIntersectionObserver from '~/helpers/hooks/useIntersectionObserver';\nimport { fireElementViewedEvent } from '~/helpers/utils/fireTagular';\nimport { PhoneRebrand } from '~/components/icons';\nimport { useMonarchSlotContext } from '@redventures/cohesion-utils-react';\n\nconst BASE_DATA = {\n backgroundImage: 'acp-banner',\n borderColor: 'white',\n callCTA: true,\n callCTACopy: 'CALL',\n epqCopy: 'CHECK AVAILABILITY',\n epqShow: true,\n headerCopy:\n 'You may be eligible to receive a $30 monthly credit through the FCC Affordable Connectivity Program',\n headerLegalToggle: false,\n headerFontColor: '#fff',\n iconColor: '#ffffff',\n showSubhead: false,\n subheadLegalToggle: false,\n subheadCopy1:\n 'Hughes® is proud to participate in the Affordable Connectivity Program.',\n subheadCopy2:\n 'Find out if you can get a discounted rate on your Internet plan.',\n subheadFontColor: '#fff',\n};\n\nexport default function ACP_Banner() {\n const { data: monarchData } = useMonarchSlotContext();\n const acpBanner = useRef();\n\n const observeSections = useIntersectionObserver(\n [acpBanner],\n (el) =>\n fireElementViewedEvent(\n 'ACP Banner',\n 'ACP Banner Section',\n 'ACP Banner',\n headerCopy\n ),\n undefined,\n // Fire tagular only when the full element is visible\n { threshold: 1.0 }\n );\n\n const {\n headerFontColor,\n headerCopy,\n headerLegalToggle,\n subheadCopy1,\n subheadLegalToggle,\n subheadCopy2,\n subheadFontColor,\n callCTA,\n epqCopy,\n epqShow,\n callCTACopy,\n backgroundImage,\n showSubhead,\n } = { ...BASE_DATA, ...monarchData };\n\n const bgImage = backgroundImage\n ? `/images/section/${backgroundImage}.jpg`\n : `/images/section/acp-banner.jpg`;\n return (\n