"use strict";(self.webpackJsonpRuntime=self.webpackJsonpRuntime||[]).push([[902],{4902:(e,t,a)=>{a.r(t),a.d(t,{collectAnimations:()=>l});var n=a(6856),i=a(5116);const o='[data-animation-trigger-desktop="hover"]',r='[data-animation-trigger-desktop="entrance"], [data-animation-trigger-mobile="entrance"]',c='[data-animation-trigger-desktop="viewport"], [data-animation-trigger-mobile="viewport"]',s="[data-anim-extended]";function u({selector:e,feature:t}){const a=document.querySelectorAll(e)?.length;return a?[{feature:t,count:a}]:[]}async function l(){if(!(0,n.V)("fnb.animations.tracking.enabled"))return;const e=[];document.querySelector("body.flex-site")?e.push(...u({selector:o,feature:"hover-animation"}),...u({selector:r,feature:"entrance-animation"}),...u({selector:c,feature:"scroll-animation"})):e.push(...u({selector:s,feature:"classic-animations"})),(0,i._)(e)}},5116:(e,t,a)=>{async function n(e){const{_currentPage:t,Parameters:a}=window;!async function(e){try{const t=window.rtCommonProps?.["runtimecollector.url"];if(!t)return;await fetch(`${t}/feature/metrics`,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e)})}catch(e){console.debug("Failed send metrics for feature count",e)}}({features:e,siteAlias:a?.SiteAlias,sitePublicationDate:a?.PublicationDate?new Date(a?.PublicationDate).getTime():0,pageType:a?.pageType,pageUuid:t?.pageContent?.uuid||a?.InitialPageUuid||`${t?.pageID}`,path:location.pathname})}a.d(t,{_:()=>n})}}]);