Joe Hadley Exits CAA, Joins Spotify as Global Head of

0
6

[]
=0&&(a||t)&&(n.delta=n.value-(i||0),(n.delta||void 0===i)&&(i=n.value,e(n)))}},f=-1,s=function(){return”hidden”===document.visibilityState?0:1/0},d=function(){o((function(e){var n=e.timeStamp;f=n}),!0)},m=function(){return f<0&&(f=s(),d(),c((function(){setTimeout((function(){f=s(),d()}),0)}))),{get firstHiddenTime(){return f}}},v=function(e,n){var t,i=m(),o=a("FCP"),f=function(e){"first-contentful-paint"===e.name&&(d&&d.disconnect(),e.startTime=0&&n1e12?new Date:performance.now())-e.timeStamp;”pointerdown”==e.type?function(e,n){var t=function(){h(e,n),a()},i=function(){a()},a=function(){removeEventListener(“pointerup”,t,w),removeEventListener(“pointercancel”,i,w)};addEventListener(“pointerup”,t,w),addEventListener(“pointercancel”,i,w)}(n,e):h(n,e)}},b=function(e){[“mousedown”,”keydown”,”touchstart”,”pointerdown”].forEach((function(n){return e(n,T,w)}))},E={},L=function(){return window.pmc.webVitals.config.sendToGA&&”function”==typeof ga},S=function(e,n){return Math.round(“CLS”===e?1e4*n:n)},C=function(e){var n=e.name;window.pmc.webVitals.queue[n]=e},k=function(e){var n=e.id,t=e.name,i=e.delta,a=window.pmc.webVitals.config,r=a.eventCategory,o=a.tracker,c={eventCategory:r,eventAction:t,eventValue:S(t,i),eventLabel:n,nonInteraction:!0};L()?ga(“”.concat(o,”.send”),”event”,c):console.info(c)},F=function(){var e=window.pmc.webVitals,n=e.config,t=n.gaId,i=n.tracker,a=e.queue;L()&&(ga(“create”,t,”auto”,i),ga(“”.concat(i,”.set”),”transport”,”beacon”)),Object.values(a).map(k)};window.addEventListener(“DOMContentLoaded”,(function(){if(!window.pmc.webVitals.config.blockGA){var t=window.pmc.webVitals.config.sampleThreshold;window.pmc.webVitals.config.sendToGA=function(){for(var e=0,n=0;e<3;)n+=Math.random(),e++;return(n/=3)-1&&e(n)},f=a("CLS",0),s=0,d=[],m=function(e){if(!e.hadRecentInput){var n=d[0],i=d[d.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-n.startTime<5e3?(s+=e.value,d.push(e)):(s=e.value,d=[e]),s>f.value&&(f.value=s,f.entries=d,t())}},w=r(“layout-shift”,m);w&&(t=u(i,f,n),o((function(){w.takeRecords().map(m),t(!0)})),c((function(){s=0,l=-1,f=a(“CLS”,0),t=u(i,f,n)})))}(C),v(C),function(t,f){var s,d=m(),v=a(“FID”),p=function(e){e.startTimeperformance.now())return;t.entries=[n],e(t)}catch(e){}},”complete”===document.readyState?setTimeout(n,0):addEventListener(“load”,(function(){return setTimeout(n,0)}))}(C)})),”[object SafariRemoteNotification]”===(!window.safari||”undefined”!=typeof safari&&safari.pushNotification).toString()?window.addEventListener(“pagehide”,F):document.addEventListener(“visibilitychange”,(function(){“hidden”===document.visibilityState&&F()}))}();]]>

Read The Full Article Here