1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9608],{7227:(t,e,i)=>{i.r(e),i.d(e,{default:()=>_});var a=i(2969),s=i(3857),n=i(3081),r=i.n(n),o=i(4232),d=i(6581),u=i(8437),l=i(3745),h=i(7251),c=i(8177),p=i.n(c),f=(0,l.A)(function t(e){var i=e.nid,a=e.title,s=e.publishDate,n=e.author,r=e.siteSection,o=e.videoAutoPlay,d=e.videoExists;(0,h.A)(this,t),this.assetId=i,this.assetTitle=a,this.assetType="content_article",this.assetPubDate=s,this.authorId=n||"Inside Edition Staff",this.authorName=n||"Inside Edition Staff",this.brandPlatformId=(0,u.km)(),this.campaign=(0,u.W6)("ftag"),this.deviceType=(0,u.ZI)(),this.gaAccount="UA-1072526-1",this.mii={viewtime:"10",refreshcap:"1000"},this.pageType="article",this.pageViewGuid=p()(),this.siteSection=r,this.siteHier="".concat(this.siteSection,"|").concat(this.pageType),this.userState="not authenticated",this.userType="anon",this.userId="",this.videoAutoPlay=o,this.videoExists=d}),y=(0,l.A)(function t(e){var i,a,s,n,r=e.siteSection,o=e.pageType,d=e.data,l=e.mediaRegion;(0,h.A)(this,t),this.assetId=(null==d||null==(i=d.field_video_mpx_id)?void 0:i.reference_id)||(null==d?void 0:d.reference_id)||(null==d?void 0:d.daiId),this.assetTitle=d.field_display_headline||d.title,this.assetType="content_video",this.assetPubDate=d.field_display_date||(null==(a=d.metadata)?void 0:a.assetPubDate),this.authorId=(null==(s=d.field_byline)||null==(s=s.authors)||null==(s=s.shift())?void 0:s.name)||"Inside Edition Staff",this.authorName=(null==(n=d.field_byline)||null==(n=n.authors)||null==(n=n.shift())?void 0:n.name)||"Inside Edition Staff",this.brandPlatformId=(0,u.km)(),this.mediaRegion=l,this.pageType=o,this.pageViewGuid=p()(),this.siteSection=r,this.siteHier="".concat(this.siteSection,"|").concat(this.pageType),this.siteType="responsive web",this.userState="not authenticated",this.userType="anon",this.userId=""}),m=i(2146),v=(0,l.A)(function t(e){var i=e.sitePrimaryRsid,a=e.pageType,s=e.siteSection;(0,h.A)(this,t),this.isSPA=!0,this.sitePrimaryRsid=i,this.siteSection=s,this.pageType=a,this.brandPlatformId=(0,u.km)(),this.deviceType=(0,u.ZI)(),this.pageName="".concat(m.A.brand,":").concat(document.location.pathname),this.pageURL=document.location.href,this.pageViewGuid=p()(),this.siteCode=m.A.brand,this.siteType="responsive web",this.userState="not authenticated",this.userType="anon",this.userId=""}),b=(0,l.A)(function t(e){var i=e.sitePrimaryRsid,a=e.pageType,s=e.siteSection;(0,h.A)(this,t),this.brandPlatformId=(0,u.km)(),this.deviceType=(0,u.ZI)(),this.sitePrimaryRsid=i,this.siteSection=s,this.pageName="".concat(m.A.brand,":").concat(document.location.pathname),this.pageType=a,this.pageURL=document.location.href,this.pageViewGuid=p()(),this.siteCode=m.A.brand,this.siteType="responsive web",this.userState="not authenticated",this.userType="anon",this.userId=""});function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,a)}return i}function w(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach(function(e){(0,a.A)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function _(t){var e,i,a=t.author,n=t.nid,l=t.title,h=t.publishDate,c=t.video,p=t.pageType,m=t.siteSection,g=t.data,_=t.sitePrimaryRsid,S=d.A.useStore(),T=null==S||null==(e=S.get)?void 0:e.call(S,"mediaRegion"),P=null==S||null==(i=S.get)?void 0:i.call(S,"pageType"),I=(0,o.useRef)(!0);return(0,o.useEffect)(function(){function t(){return(t=(0,s.A)(r().mark(function t(){return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=p,t.next="article"===t.t0?3:"video"===t.t0||"video_landing"===t.t0?5:"landing_page"===t.t0?8:10;break;case 3:return window.utag_data=new f({nid:n,title:l,publishDate:h?h.slice(0,-5):"",author:a,siteSection:m,videoAutoPlay:c?"on":"off",videoExists:c?"true":"false"}),t.abrupt("break",12);case 5:return p=P||p,window.utag_data=new y({siteSection:m,pageType:p,data:g,mediaRegion:T}),t.abrupt("break",12);case 8:return window.utag_data=new v({sitePrimaryRsid:_,siteSection:m,pageType:p}),t.abrupt("break",12);case 10:return window.utag_data=new b({sitePrimaryRsid:_,siteSection:m,pageType:p}),t.abrupt("break",12);case 12:case"end":return t.stop()}},t)}))).apply(this,arguments)}!function(){t.apply(this,arguments)}()},[p,T]),(0,o.useEffect)(function(){var t;(t=(0,s.A)(r().mark(function t(){var e,i,a,s,n,o,d,l;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,u.h_)(100,10,["om","utag_data"]);case 2:t.sent&&(I.current?(window.om.trackState(window.utag_data),I.current=!1):(l={assetId:(null==(e=g.metadata)?void 0:e.assetId)||g.field_video_reference_id,assetPubDate:(null==(i=g.metadata)?void 0:i.assetPubDate)||g.field_display_date,assetTitle:g.field_display_headline||g.title||(null==(a=g.field_video_mpx_id)?void 0:a.title),authorId:(null==(s=g.metadata)?void 0:s.authorId)||(null==(n=g.field_byline)||null==(n=n.authors)||null==(n=n.shift())?void 0:n.name)||"Inside Edition Staff",authorName:(null==(o=g.metadata)?void 0:o.authorName)||(null==(d=g.field_byline)||null==(d=d.authors)||null==(d=d.shift())?void 0:d.name)||"Inside Edition Staff",path:g.path,siteSection:"/live"===g.path?"live":"video"},window.om.trackState(w(w({},window.utag_data),l))));case 4:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)})()},[g.path]),null}}}]);
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.