{"version":3,"file":"static/chunks/9106.56b92f3c44014a1b.js","mappings":"6MAEO,IAAMA,EAAkB,GAE3B,GAAAC,EAAAC,GAAA,EAACC,MAAAA,CACCC,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRC,KAAMC,EAAMC,KAAK,EAAI,UACrBC,MAAM,6BACL,GAAGF,CAAK,UAET,GAAAP,EAAAC,GAAA,EAACS,OAAAA,CACCC,SAAS,UACTC,SAAS,UACTC,EAAE,yGACFP,KAAMC,EAAMC,KAAK,EAAI,cCdhBM,EAAQ,GAEjB,GAAAd,EAAAC,GAAA,EAACC,MAAAA,CACCC,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRC,KAAMC,EAAMC,KAAK,EAAI,UACpB,GAAGD,CAAK,CACTE,MAAM,sCAEN,GAAAT,EAAAC,GAAA,EAACS,OAAAA,CACCC,SAAS,UACTC,SAAS,UACTC,EAAE,2MACFP,KAAMC,EAAMC,KAAK,EAAI,gDCJ7B,IAAMO,EAAY,CAChBC,WAAY,0DAEZC,cAAe,GACfC,cAAe,YACfC,cAAe,kBACfC,OAAQ,CACN,CACEC,MAAO,WACPC,WAAY,cACZC,iBAAkB,GAClBC,eAAgB,QAChBC,qBAAsB,GACtBC,WAAY,cACZC,iBAAkB,GAClBC,gBAAiB,gBACjBC,sBAAuB,GACvBC,aAAc,QACdC,YAAa,OACf,EACA,CACEV,MAAO,oBACPC,WAAY,cACZC,iBAAkB,GAClBC,eAAgB,QAChBC,qBAAsB,GACtBC,WAAY,cACZC,iBAAkB,GAClBC,gBAAiB,GACjBC,sBAAuB,GACvBC,aAAc,QACdC,YAAa,OACf,EACA,CACEV,MAAO,mBACPC,WAAY,cACZC,iBAAkB,GAClBC,eAAgB,QAChBC,qBAAsB,GACtBC,WAAY,cACZC,iBAAkB,GAClBC,gBAAiB,GACjBC,sBAAuB,GACvBC,aAAc,QACdC,YAAa,OACf,EACA,CACEV,MAAO,mBACPC,WAAY,cACZC,iBAAkB,GAClBC,eAAgB,QAChBC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A,UAAKnB,GACf,oBCpCAoB,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/icons/CheckMarkOrange.js","webpack://_N_E/./src/components/icons/XMark.js","webpack://_N_E/./src/components/base/v1/Competitor Comparison/index.js","webpack://_N_E/./src/components/shared/LegalAnnotation/index.js","webpack://_N_E/./src/components/base/v1/Competitor Comparison/Comparison.module.scss"],"sourcesContent":["import React from 'react';\n\nexport const CheckMarkOrange = (props) => {\n return (\n \n \n \n );\n};\n","import React from 'react';\n\nexport const XMark = (props) => {\n return (\n \n \n \n );\n};\n","/* eslint-disable react/jsx-key */\n/* eslint-disable prettier/prettier */\nimport React, { useRef, useContext } from 'react';\nimport styles from './Comparison.module.scss';\nimport useIntersectionObserver from '~/helpers/hooks/useIntersectionObserver';\nimport { fireElementViewedEvent } from '~/helpers/utils/fireTagular';\nimport { CheckMarkOrange } from '~/components/icons/CheckMarkOrange';\nimport { XMark } from '~/components/icons/XMark';\nimport LegalAnnotation from '~/components/shared/LegalAnnotation';\nimport Typography from '~/components/shared/Typography';\nimport { useMonarchSlotContext } from '@redventures/cohesion-utils-react';\n\nconst BASE_DATA = {\n headerCopy: 'Compare Hughesnet to other satellite internet providers',\n\n columnHeader1: '',\n columnHeader2: 'Hughesnet',\n columnHeader3: 'Other Providers',\n claims: [\n {\n claim: '100 Mbps',\n claimLegal: '6-mos-legal',\n claimLegalToggle: true,\n claimSecondary: 'plans',\n claimSecondaryToggle: true,\n disclaimer: '6-mos-legal',\n disclaimerToggle: true,\n disclaimerLegal: 'generic-speed',\n disclaimerLegalToggle: true,\n hughesColumn: 'check',\n otherColumn: 'check',\n },\n {\n claim: 'Up to $30/mo. off',\n claimLegal: '6-mos-legal',\n claimLegalToggle: true,\n claimSecondary: 'plans',\n claimSecondaryToggle: false,\n disclaimer: '6-mos-legal',\n disclaimerToggle: true,\n disclaimerLegal: '',\n disclaimerLegalToggle: false,\n hughesColumn: 'check',\n otherColumn: 'check',\n },\n {\n claim: 'More reliability',\n claimLegal: '6-mos-legal',\n claimLegalToggle: true,\n claimSecondary: 'plans',\n claimSecondaryToggle: false,\n disclaimer: '6-mos-legal',\n disclaimerToggle: true,\n disclaimerLegal: '',\n disclaimerLegalToggle: false,\n hughesColumn: 'check',\n otherColumn: 'check',\n },\n {\n claim: 'JUPITERâ„¢ Powered',\n claimLegal: '6-mos-legal',\n claimLegalToggle: false,\n claimSecondary: 'plans',\n claimSecondaryToggle: false,\n disclaimer: '6-mos-legal',\n disclaimerToggle: true,\n disclaimerLegal: '',\n disclaimerLegalToggle: false,\n hughesColumn: 'check',\n otherColumn: 'check',\n },\n {\n claim: 'Whole Home Wi-Fi + Wi-Fi 6',\n claimLegal: '6-mos-legal',\n claimLegalToggle: false,\n claimSecondary: 'plans',\n claimSecondaryToggle: false,\n disclaimer: '6-mos-legal',\n disclaimerToggle: false,\n disclaimerLegal: '',\n disclaimerLegalToggle: false,\n hughesColumn: 'check',\n otherColumn: 'check',\n },\n {\n claim: 'Unlimited data',\n claimLegal: '6-mos-legal',\n claimLegalToggle: false,\n claimSecondary: 'plans',\n claimSecondaryToggle: false,\n disclaimer: '6-mos-legal',\n disclaimerToggle: true,\n disclaimerLegal: '',\n disclaimerLegalToggle: false,\n hughesColumn: 'check',\n otherColumn: 'check',\n },\n ],\n};\n\nexport default function CompetitorComparison() {\n const { data: monarchData } = useMonarchSlotContext();\n const data = { ...BASE_DATA, ...monarchData };\n const { headerCopy, columnHeader1, columnHeader2, columnHeader3, claims } =\n data;\n\n const competitorRef = useRef();\n\n useIntersectionObserver(\n [competitorRef],\n (el) =>\n fireElementViewedEvent(\n 'Competitor Comparison',\n 'Competitor Comparison Section',\n 'Competitor Comparison',\n headerCopy\n ),\n undefined,\n // Fire tagular only when the full element is visible\n { threshold: 1.0 }\n );\n\n return (\n
\n \n
\n
\n
{columnHeader1}
\n
{columnHeader2}
\n
{columnHeader3}
\n
\n {claims.map((item, index) => (\n
\n
\n
\n \n {item.claimLegalToggle && (\n \n )}\n {item.claimSecondaryToggle && (\n {item.claimSecondary}\n )}\n
\n {item.disclaimerToggle && (\n
\n \n \n {item.disclaimerLegalToggle && (\n \n )}\n \n
\n )}\n
\n
\n
\n {item.hughesColumn === 'check' ? (\n \n ) : (\n \n )}\n
\n
\n
\n
\n {item.otherColumn === 'check' ? (\n \n ) : (\n \n )}\n
\n
\n
\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\":\"Comparison_tippy-touch__c6INY\",\"tooltip-btn\":\"Comparison_tooltip-btn__E0MGj\",\"tooltip-icon\":\"Comparison_tooltip-icon__wRwUt\",\"tooltip-content--legal\":\"Comparison_tooltip-content--legal__2zlKU\",\"tippy-box\":\"Comparison_tippy-box__WJ_OK\",\"tippy-arrow\":\"Comparison_tippy-arrow__vhf1v\",\"custom-dots\":\"Comparison_custom-dots__s_udl\",\"custom-dot\":\"Comparison_custom-dot__zXlK4\",\"slick-active\":\"Comparison_slick-active__wPd5I\",\"container\":\"Comparison_container__A7qDF\",\"header\":\"Comparison_header__QBmEy\",\"content\":\"Comparison_content__JMCuo\",\"row\":\"Comparison_row__ZyEVA\",\"emptyContainer\":\"Comparison_emptyContainer__miYM1\",\"logoContainer\":\"Comparison_logoContainer__4MWb5\",\"logoContainer2\":\"Comparison_logoContainer2__gvcmk\",\"column1\":\"Comparison_column1__bJsUX\",\"claim\":\"Comparison_claim__oal2f\",\"column2\":\"Comparison_column2__vtCom\",\"column3\":\"Comparison_column3__lPVNo\",\"ring\":\"Comparison_ring__Dvpr7\"};"],"names":["CheckMarkOrange","jsx_runtime","jsx","svg","width","height","viewBox","fill","props","color","xmlns","path","fillRule","clipRule","d","XMark","BASE_DATA","headerCopy","columnHeader1","columnHeader2","columnHeader3","claims","claim","claimLegal","claimLegalToggle","claimSecondary","claimSecondaryToggle","disclaimer","disclaimerToggle","disclaimerLegal","disclaimerLegalToggle","hughesColumn","otherColumn","CompetitorComparison","data","monarchData","useMonarchSlotContext","competitorRef","useRef","useIntersectionObserver","fireElementViewedEvent","undefined","threshold","jsxs","div","className","styles","ref","h1","dangerouslySetInnerHTML","__html","section","map","item","index","span","LegalAnnotation","annotation","Typography","variant","param","annotationNumber","setAnnotationNumber","useState","disclosures","activeLegal","setActiveLegal","useContext","LegalContext","useEffect","legalText","find","disclosure","handle","statement","includes","indexOf","Set","length","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","sup","module","exports"],"sourceRoot":""}