1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29566],{29566:(e,t,a)=>{a.d(t,{kF:()=>m,Ls:()=>E,uT:()=>_});var i,n,s=a(15222);let l=e=>{for(let t of null!=s?document.cookie.split(";"):[""])if((t=t.trim()).indexOf(e)+1)return t},r=(e,t)=>{if(e)for(let a of e.split("|")){let e=a.split("=");if(e[0]===t)return e[1]}return null},o="Other",c="VIDEO",d="VIDEO",p="Prospect";var u=a(15222);!function(e){e.PAGE_LOAD="pageLoad",e.LINK_CLICK="linkClick",e.FORM_RESPONSE="formResponse",e.FORM_SUBMIT="formSubmit",e.IMPRESSION="impression",e.SYSTEM_EVENT="systemEvent",e.DTV_Timeout_Warning_System_Submit="DTV_Timeout_Warning_System_Submit",e.DTV_Timeout_Logout_System_Submit="DTV_Timeout_Logout_System_Submit",e.Dispute_Promo_Eligibility_Submit="Dispute_Promo_Eligibility_Submit"}(i||(i={})),function(e){e.PAGE_LOAD="Page_Load",e.LINK_CLICK="Link_Click",e.FORM_RESPONSE="Form_Response",e.DTV_ZipCode_Submit="DTV_ZipCode_Submit",e.FORM_SUBMIT="Form_Submit",e.IMPRESSION="impression",e.DTV_SUPPORT_SEARCH_TEXT_SUBMIT="DTV_Support_Search_Text_Submit",e.DTV_Timeout_Warning_System_Submit="DTV_Timeout_Warning_System_Submit",e.DTV_Timeout_Logout_System_Submit="DTV_Timeout_Logout_System_Submit",e.Dispute_Promo_Eligibility_Submit="Dispute_Promo_Eligibility_Submit"}(n||(n={}));class m{constructFullUrl(e){return void 0!==e&&-1!==e.indexOf("http")?e:window.location.origin+e}fireLinkClickEvent(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&!(Object.keys(e).length<=0)&&(e.linkDestination&&(e.linkDestination=this.constructFullUrl(e.linkDestination)),t?Promise.resolve(this.fireEvent(i.LINK_CLICK,n.LINK_CLICK,e)):this.fireEvent(i.LINK_CLICK,n.LINK_CLICK,e))}fireFormAction(e,t,a){e&&!(Object.keys(e).length<=0)&&(e.linkDestination&&(e.linkDestination=this.constructFullUrl(e.linkDestination)),this.fireEvent(i[t],n[a],e))}firePageLoadEvent(e){this.fireEvent(i.PAGE_LOAD,n.PAGE_LOAD,e)}fireImpression(e){this.fireEvent(i.IMPRESSION,n.IMPRESSION,e)}fixAnalyticsValues(e,t,a,i,n){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"AEM";if(!e)return;let l={...e};return e&&!e.analytics&&(l={...e,analytics:t||{}}),l.analytics&&a&&i>-1&&"object"==typeof l.analytics&&(l.analytics.contentSystem=s,l.analytics.componentOrder=i+1,l.analytics.slotOrder=n?n+1:1,l.analytics.componentName=a,delete l.analytics.contentPageSectionId,delete l.analytics.contentId,delete l.analytics.slotFriendlyName),l}sendImpressions(e,t,a,i,n,s){let u=[];if(!e||!e.data)return;e.data.map((e,t)=>{if(e&&e.props){let i=e.props,n=a+e.props.options.id+t;for(let e in!i.analytics||"CARDGRIDLIST"===i.type||"CAROUSEL"===i.type||this.sentImpressions[n]||i.hc||(u.push(i.analytics),this.sentImpressions[n]=1),i)if(i[e]){let a=i[e];if("layout"===e&&"PARALLAXCONTAINER"===i.type){let t=i.items;a.forEach((a,i)=>{let s=t[a];s&&(s.analytics&&"CANVAS"===s.type?this.sentImpressions[n+e+i]||s.hc||(u.push(s.analytics),this.sentImpressions[n+e+i]=1):"CARDGRIDLIST"===s.type?(s.rows||[]).forEach(t=>{(t.cards||[]).forEach((t,a)=>{this.sentImpressions[n+e+"cardgridlist"+a]||s.hc||(u.push({...t.analytics,componentOrder:i+1,slotOrder:a+1}),this.sentImpressions[n+e+"cardgridlist"+a]=1)})}):"CAROUSEL"===s.type&&((s.rows||{}).cards||[]).forEach((t,a)=>{this.sentImpressions[n+e+"carousel"+a]||s.hc||(u.push({...t.analytics,componentOrder:i+1,slotOrder:a+1}),this.sentImpressions[n+e+"carousel"+a]=1)}))})}else a instanceof Array?a.forEach((a,s)=>{!a.analytics||this.sentImpressions[n+e+s]||a.hc||(u.push(a.analytics),this.sentImpressions[n+e+s]=1),a.cards&&Array.isArray(a.cards)&&a.cards.forEach((a,l)=>{a.analytics&&("CARDGRIDLIST"===i.type?this.sentImpressions[n+e+"cardgridlist"+l]||a.hc||(u.push({...a.analytics,componentOrder:t+1,slotOrder:l+1}),this.sentImpressions[n+e+"cardgridlist"+l]=1):"CAROUSEL"!==i.type||this.sentImpressions[n+e+"carousel"+l]||a.hc||(u.push({...a.analytics,componentOrder:s+1,slotOrder:l+1}),this.sentImpressions[n+e+"carousel"+l]=1))})}):!a.analytics||this.sentImpressions[n+e]||a.hc||(u.push(a.analytics),this.sentImpressions[n+e]=1)}}});let m="".concat(i.replace(n,"").replace(/\/+$/g,""),"/"),g=m.split("?")[0];m.includes("channel-lineup")&&(m="rsn"===s.tab?"/"===g.charAt(g.length-1)?"".concat(g,"regional-sports-local"):"".concat(g,"/regional-sports-local"):"/"===g.charAt(g.length-1)?"".concat(g,"national"):"".concat(g,"/national"));let y="".concat(a.replace(/\//g," "));if(this.sentImpressions.page!==i){let t,n=e.feed&&e.feed.pageProperties?e.feed.pageProperties.pageImpressionAnalytics:null,s=c,u="VideoUpperFunnel ".concat(y," - SSR"),g="AEM";e.feed.analytics&&e.feed.analytics.iXPTestName&&(u=e.feed.analytics.iXPTestName),e.feed.analytics&&e.feed.analytics.iXPAssignmentName&&(t=e.feed.analytics.iXPAssignmentName),e.feed.analytics&&e.feed.analytics.abSystem&&(g=e.feed.analytics.abSystem),e.feed.analytics&&e.feed.analytics.lineOfBusiness&&(s=e.feed.analytics.lineOfBusiness),m&&"?"==m.charAt(0)&&(m="/");let v={"page.category.applicationName":"UF","page.category.pageFunction":"homepage"===a?"Home Page":o,"page.category.siteSection":"homepage"===a?"att":"myatt Sales","page.location.url":m,"page.pageInfo.friendlyPageName":"homepage"===a?"UF Home Pg":"UF ".concat(y?y.split(" ").map(e=>e[0].toUpperCase()+e.substr(1).toLowerCase()).join(" "):""," Pg"),"page.category.pageOwnership":d,"page.pageInfo.lineOfBusiness":s,"page.pageInfo.pageTitle":document.title};v["page.pageInfo.flowCode"]=p,e.data.map(t=>
1{if(t&&"INPAGE_LOCATION"===t.type){let t=l("attPersistantLocalization"),a=r(t||"","zipCode")?r(t||"","zipCode"):r(t||"","zip"),i=e.zipCode?e.zipCode.toString():"";v["page.pageInfo.zipCode"]=a||i}}),n?delete n.variationID:n={abCampaignName:"Personalized Page",abSystem:g,abTestEvent:"ABTestSplit",abTestId:u,abTreatmentName:t},n["page.pageInfo.flowCode"]=p,("homepage"===a||"stream"===a||"satellite"===a)&&(v["page.category.applicationName"]="Video-Sales",v["page.location.domain"]=window.location.origin,v["page.location.url"]=window.location.pathname,v["page.pageInfo.flowCode"]=e.isUserAuthenticated?"Existing":"Prospect","homepage"===a&&e.recognizedUserData&&("stream"===e.recognizedUserData.accountType?v["page.location.url"]="/stream/recognized/":"satellite"===e.recognizedUserData.accountType&&(v["page.location.url"]="/satellite/recognized/"))),"sitemap"===a&&(v["page.category.applicationName"]="Video-Support",v["page.location._addressBarFullURL"]=window.location.href,v["page.location.domain"]=window.location.origin,v["page.location.url"]=window.location.pathname,v["page.pageInfo.flowCode"]=e.isUserAuthenticated?"Existing":"Prospect"),"stream/amazon"===a&&(v["page.category.applicationName"]="Video-Sales",v["page.attributes.offerType"]="VIDEOOEMFIRETV"),"stream/roku"===a&&(v["page.category.applicationName"]="Video-Sales",v["page.attributes.offerType"]="VIDEOOEMROKU"),"stream/samsung"===a&&(v["page.category.applicationName"]="Video-Sales",v["page.attributes.offerType"]="VIDEOOEMSAMSUNG"),"stream/googlefiber"===a&&(v["page.category.applicationName"]="Video-Sales",v["page.attributes.offerType"]="VIDEOOEMGOOGLE"),"stream/pointbroadband"===a&&(v["page.category.applicationName"]="Video-Sales",v["page.attributes.offerType"]="VIDEOOEMPOINTBROADBAND"),"stream/ziplyfiber"===a&&(v["page.category.applicationName"]="Video-Sales",v["page.attributes.offerType"]="VIDEOOEMZIPLYFIBER"),"stream/mavs"===a&&(v["page.category.applicationName"]="Video-Sales"),"tvpromise"===a&&(v["page.category.applicationName"]="Video-Support"),this.firePageLoadEvent(v),this.fireImpression(n),this.sentImpressions.page=i}u.forEach(e=>{this.fireImpression(e)})}tagCookieData(e,t){if(!e)return;({...e});let a=l(t);return a?{...e,inventorySpaceId:a.split("=")[1]}:e}fireEvent(e,t,a){if(a&&Object.keys(a).length>0){let i={...a},n=0;if(window.DataMappingInterface)window.DataMappingInterface.init({eventAction:e,eventCode:t,additionaldata:i,datatransform:!1});else{let a=setInterval(()=>{++n>100&&clearInterval(a),null!=u&&window.DataMappingInterface&&(clearInterval(a),window.DataMappingInterface.init({eventAction:e,eventCode:t,additionaldata:i,datatransform:!1}))},50)}}}constructor(){this.sentImpressions={},this.fireTabHandleChange=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",event_name:"custom_link_click",linkName:e.linkName,linkPosition:e.linkPosition,linkDestination:e.linkDestination};a&&a.push(i)},this.fireCustomLinkClickImpressions=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",event_name:"custom_link_click",linkName:e,linkPosition:"widget search"};console.log("DATA",i),a&&a.push(i)},this.fireModalPageLoadEvent=(e,t,a,i,n)=>{let s={"page.category.applicationName":"tvpromise"===i?"Video-Support":"UF","page.category.pageFunction":o,"page.category.flowCode":p,"page.location.url":e,"page.pageInfo.friendlyPageName":t,"page.pageInfo.lineOfBusiness":c,"page.pageInfo.pageTitle":document.title,"page.category.pageOwnership":d,"page.attributes.displayedMessage":"tvpromise"===i?n:""};a&&(s["page.pageInfo.zipCode"]=a),this.firePageLoadEvent(s)},this.fireCtaClickEventGA=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEECEvent",event_name:"product_click",ecommerce:{currencyCode:"USD",click:{products:[{...e,quantity:1}]}}};a&&a.push(i)},this.fireQuizEventGA=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=(null==(e=window)?void 0:e.dataLayer)||[],i={event:"trackEvent",event_name:"quiz",...t};a&&a.push(i)},this.fireZoovuEventGA=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=(null==(e=window)?void 0:e.dataLayer)||[],i={event:"zoovu",event_name:"zoovu-quiz",...t};a&&a.push(i)},this.fireSearchImpressions=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"search",searchTerm:e,searchCategory:"channelLineup"};console.log("DATA",i),a&&a.push(i)},this.fireGaProductImpression=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[];a&&a.push({event:"trackEECEvent",event_name:"product_impressions",ecommerce:{currencyCode:"USD",impressions:e}})},this.fireLeadCaptureEventGA=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(null==(e=window)?void 0:e.dataLayer)||[],i={event:"trackEvent",event_name:"lead_capture",...t};a&&a.push(i)},this.fireTVPromiseGA=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[];a&&a.push({event:"trackEvent",event_name:"tvpromise_displayed",displayed_message:e})},this.fireTVPromiseZipSearchCaptureGA=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[];a&&a.push({event:"trackEvent",event_name:"tvpromise_zipsearch_capture",dim_name:"tv service type",dim_value:e})},this.fireVideoPlayerGA=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",...e};a&&a.push(i)},this.fireCustomLinkClickGA=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",event_name:"custom_link_click",linkName:(null==e?void 0:e.linkName)||e,linkPosition:(null==e?void 0:e.linkPosition)||"packageCarousel",...e&&(null==e?void 0:e.linkDestination)&&{linkDestination:null==e?void 0:e.linkDestination}};a&&a.push(i)},this.fireCustomLinkClickForLabels=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",event_name:"custom_link_click",linkName:null==e?void 0:e.linkName,linkLabel:null==e?void 0:e.linkName};a&&a.push(i)},this.fireWidgetCustomLinkClickGA=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",event_name:"custom_link_click",linkPosition:"chat",...e};a&&a.push(i)},this.fireVideoPlayEvent=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",event_name:e.event_name,video_status:e.video_status,video_name:e.video_name,video_id:e.video_id,video_length_total:e.video_length_total,video_length_viewed:e.video_length_viewed};a&&a.push(i)},this.fireHeaderLinkClickGA=e=>{var t;let a=(null==(t=window)?void 0:t.dataLayer)||[],i={event:"trackEvent",event_name:"custom_link_click",linkName:e.linkName,linkPosition:e.linkPosition,linkDestination:this.constructFullUrl(e.linkDestination)};a&&a.push(i)},this.fireErrorDisplayedGA=(e,t)=>
1{var a;let i=(null==(a=window)?void 0:a.dataLayer)||[];i&&i.push({event:"trackEvent",event_name:"error_displayed",errorMessage:t,errorCode:e})},this.fireCtaClickEventGA4=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer&&window.dataLayer.push({event:"select_item",currencyCode:"USD",items:[e]})},this.fireGa4ProductImpression=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer&&window.dataLayer.push({event:"view_item_list",currencyCode:"USD",items:e})},this.fireSearchEvent=e=>{let t=window.dataLayer||[],a={event:"search",searchTerm:null==e?void 0:e.searchTerm,searchCategory:null==e?void 0:e.searchCategory};t&&t.push(a)}}}var g=a(41120),y=a(62077);let v={A:["href","id","class","target","onclick","rel","title","download","hreflang","type","style","aria-label"],B:["role","class","id","style","aria-label","title"],BR:["class","id","style"],DIV:["class","id","style","role","title","aria-label","data-*"],H1:["class","id","style","title","role","aria-label"],H2:["class","id","style","title","role","aria-label"],H3:["class","id","style","title","role","aria-label"],H4:["class","id","style","title","role","aria-label"],H5:["class","id","style","title","role","aria-label"],H6:["class","id","style","title","role","aria-label"],I:["role","class","id","style","aria-hidden","aria-label","title"],IMG:["src","Alt","alt","width","height","title","class","id","loading","decoding","referrerpolicy","style"],LI:["class","id","style","value","role","aria-label"],P:["class","id","role","style","title","aria-label"],SPAN:["class","id","role","style","title","aria-label","aria-describedby"],STRONG:["class","id","style","title","aria-label"],SUB:["class","id","style","title","aria-label"],SUP:["class","id","style","title","aria-label"],U:["class","id","style","title","aria-label"],UL:["class","id","style","role","aria-label"],OL:["class","id","style","start","type","reversed","role","aria-label"],SVG:["xmlns","id","x","y","version","viewBox","xml:space","width","height","xmlns:xlink","role","aria-label","focusable","class","style","aria-hidden","alt"],G:["id","transform","clip-path","fill","class","style","stroke","opacity"],CLIPPATH:["id","clipPathUnits"],POLYGON:["points","fill","stroke","stroke-width","class","style","opacity"],PATH:["fill","d","class","id","transform","clip-rule","opacity","stroke","stroke-width","style"],STYLE:["type","media","scoped","title"]},h=(e,t)=>e.some(e=>{if(!e.includes("*"))return e===t;let a=e.replace("*","");return t.startsWith(a)}),f=e=>e.children?e.children.map(e=>{if("text"===e.type)return"data"in e?e.data:"";if("tag"===e.type){let t=f(e),a=(e=>e.attribs?Object.entries(e.attribs).map(e=>{let[t,a]=e;return"".concat(t,"='").concat(String(a),"'")}).join(" "):"")(e);return"<".concat(e.name).concat(a?" ".concat(a):"",">").concat(t,"</").concat(e.name,">")}return""}).join(""):"",_=e=>{let{content:t,tooltipComponent:a,buttonComponent:i,analytics:n,richTextLinkClick:s}=e;return(0,y.Ay)(t,{replace:e=>{var t,l,r,o,c,d,p,u,m;if("tag"!==e.type)return;let y=null==(t=e.name)?void 0:t.toUpperCase();if(!y)return;let _=v[y];if(_&&((e,t)=>{e.attribs&&Object.keys(e.attribs).forEach(a=>{h(t,a)||delete e.attribs[a]})})(e,_),a&&(e=>{var t;return(null==(t=e.name)?void 0:t.toUpperCase())==="TOOLTIP"})(e)){let t=f(e);return g.createElement(a,{content:t,mode:null!=(r=null==(l=e.attribs)?void 0:l.mode)?r:"dark",sx:{dis
1play:"inline-flex",verticalAlign:"baseline"}})}if(i&&(e=>{var t;return(null==(t=e.name)?void 0:t.toUpperCase())==="A"})(e)){let t=f(e),a=(e=>e?e.split(";").map(e=>e.trim()).filter(Boolean).reduce((e,t)=>{let[a,i]=t.split(":");return a&&i&&(e[a.trim().toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())]=i.trim()),e},{}):{})(null==(o=e.attribs)?void 0:o.style);return g.createElement(i,{children:t,href:null==(c=e.attribs)?void 0:c.href,analytics:n,target:null==(d=e.attribs)?void 0:d.target,id:null==(p=e.attribs)?void 0:p.id,className:null==(u=e.attribs)?void 0:u.class,sx:{verticalAlign:"baseline",fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",lineHeight:"inherit",letterSpacing:"inherit",...a},...s&&{onClick:s}})}if(a&&e.parent&&"tag"===e.parent.type){let t=e.parent,a=null==(m=t.name)?void 0:m.toUpperCase();if(!a)return!1;let i=v[a];return!!i&&!!Object.keys(t.attribs||{}).every(e=>h(i,e))&&e}}})};function E(e){let t=(0,g.useRef)(null);return(0,g.useEffect)(()=>{let a=a=>{let i=t.current;!i||i.contains(a.target)||e(a)};return document.addEventListener("mousedown",a),document.addEventListener("touchstart",a,{passive:!0}),()=>{document.removeEventListener("mousedown",a),document.removeEventListener("touchstart",a)}},[e]),t}}}]); 2//# sourceMappingURL=29566-b67fc2e15e54b4ef.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.