1"use strict";(globalThis.webpackChunklightspeed_marketing=globalThis.webpackChunklightspeed_marketing||[]).push([[1149,8121],{46747(n,i,e){e.r(i),e.d(i,{default:()=>l});var a=e(9043),t=e(81785),o=e(90092);function l(n){n[0].addEventListener("click",n=>{var i;const e=null===(i=n.target)||void 0===i?void 0:i.closest("[".concat(a.navigation_link_attribute,"]"));if(e){const n=(0,o.A)(e);n&&t.d.sendEvent(n)}})}},90092(n,i,e){e.d(i,{A:()=>m});var a=e(54705),t=e(2543),o=e(56524),l=e(40948),r=e(2229);function c(n,i){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);i&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,a)}return e}function s(n){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?c(Object(e),!0).forEach(function(i){(0,a.A)(n,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(e,i))})}return n}var d=function(n){return n.menuAction="click_menu",n.submenuAction="click_sub_menu",n.secondaryAction="click_secondary_menu",n.secondarySubmenuAction="click_secondary_sub_menu",n}(d||{}),u=function(n){return n.menuCat="menu_category",n.submenuCat="sub_menu_category",n.labelCat="label",n}(u||{}),v=function(n){return n.main="main",n.secondary="secondary",n}(v||{}),b=function(n){return n.parent="parent",n.child="child",n.grandchild="grandchild",n}(b||{}),g=function(n){return n.mobile="mobile",n.desktop="desktop",n}(g||{});function m(n){var i,e,a,c,m,p,h,y,f,S;const N=null==n?void 0:n.closest("[data-navigation-level]"),_=null==n?void 0:n.closest("[data-navigation-platform]"),O=null==n?void 0:n.closest("[data-navigation-group]"),k=N&&(null==N?void 0:N.dataset.navigationLevel),j=_&&(null==_?void 0:_.dataset.navigationPlatform),C=O&&(null==O?void 0:O.dataset.navigationGroup),{parent:L,child:A,grandchild:M}=b,{main:E,secondary:P}=v,{mobile:w,desktop:T}=g,D={parent:{isMainNavigation:k===L&&C===E,isSecondaryNavigation:null!==(i=k===L&&C===P&&j===T)&&void 0!==i&&i,isSecondaryNavigationMobile:null!==(e=k===L&&C===P&&j===w)&&void 0!==e&&e,isFooterNavigation:null!==(a=n.closest("[data-footer-nav-column]")&&k===L)&&void 0!==a&&a,isTabsNavigation:null!==(c=k===L)&&void 0!==c&&c},child:{isSubNavigation:null!==(m=k===A&&C===E)&&void 0!==m&&m,isSecondarySubNavigationMobile:null!==(p=k===A&&C===P&&j===w)&&void 0!==p&&p},grandchild:{isSubNavigationLabel:null!==(h=k===M&&C===E)&&void 0!==h&&h,isSecondaryLabelNavigation:null!==(y=k===M&&C===P&&j===T)&&void 0!==y&&y,isSecondaryLabelNavigationMobile:null!==(f=k===M&&C===P&&j===w)&&void 0!==f&&f,isFooterLabelNavigation:null!==(S=n.closest("[data-footer-nav-column]")&&k===M)&&void 0!==S&&S}},F=()=>{const{nav:i,hero:e,footer:a,body:t}=o.m;return[i,e,a,t].includes(null==n?void 0:n.dataset.placement)?n.dataset.placement:null},x=()=>{const{isSecondaryNavigation:n,isSecondaryNavigationMobile:i}=D.parent,{isSubNavigation:e,isSecondarySubNavigationMobile:a}=D.child,{isSubNavigationLabel:t,isSecondaryLabelNavigation:o,isSecondaryLabelNavigationMobile:l}=D.grandchild;return e||t?d.submenuAction:n||o||i?d.secondaryAction:a||l?d.secondarySubmenuAction:d.menuAction},z=()=>{const{isSecondaryNavigation:n,isSecondaryNavigationMobile:i,isFooterNavigation:e,isTabsNavigation:a}=D.parent,{isSecondarySubNavigationMobile:t}=D.child,{isFooterLabelNavigation:l,isSecondaryLabelNavigation:r,isSecondaryLabelNavigationMobile:c}=D.grandchild;return n||r||i||t||c?o.m.hero:e||l?o.m.footer:a&&F()?F():o.m.nav};if(Object.values(s(s(s({},D.grandchild),D.child),D.parent)).includes(!0))return(()=>{var i,e;const a={event_action:x(),placement:z(),scrolled_75:null!==(i=(0,l.r$)(r.aV))&&void 0!==i?i:"false",session_start_time:null!==(e=(0,l.r$)(r.lH))&&void 0!==e?e:"0"};return(i=>{var e,a,o,l,r;const c=null===(e=n.closest("[data-footer-nav-column]"))||void 0===e?void 0:e.querySelector("[data-navigation-level=parent]"),s=n.closest("[data-navigation-level=child]"),d=(null===(a=n.closest("[role=tab]"))||void 0===a?void 0:a.firstElementChild)||n.closest("[role=tab]"),v=(null===(o=n.closest("[data-navigation-level=parent]"))||void 0===o?void 0:o.firstElementChild)||n.closest("[data-navigation-level=parent]")||d||
1c,b=(null===(l=n.closest("[data-navigation-level=child]"))||void 0===l?void 0:l.firstElementChild)||n.closest("[data-navigation-level=child]"),g=(null===(r=n.closest("[data-navigation-level=grandchild]"))||void 0===r?void 0:r.firstElementChild)||n.closest("[data-navigation-level=grandchild]")||s,m=n=>{var i;return(0,t.capitalize)(null!==(i=null==n?void 0:n.innerText)&&void 0!==i?i:"")},p=(n=>{var i;const e=null===(i=n.closest(".navigation-btf-mobile__menu__list[data-secondary-nav-header]"))||void 0===i?void 0:i.firstElementChild;var a,o;if(null!=e&&e.classList.contains("navigation-btf-mobile__item--breadcrumb-first"))return null!==(a=(0,t.capitalize)(null==e||null===(o=e.textContent)||void 0===o?void 0:o.trim()))&&void 0!==a?a:""})(v)||m(v),h=m(b),y=m(g),f=Object.values(D.parent).includes(!0),S=Object.values(D.child).includes(!0),N=Object.values(D.grandchild).includes(!0),{menuCat:_,submenuCat:O,labelCat:k}=u;f?p&&(i[_]=p):S?(p&&(i[_]=p),h&&(i[O]=h)):N&&(p&&(i[_]=p),h&&(i[O]=h),y&&(i[k]=y))})(a),a})()}},9043(n){n.exports=JSON.parse('{"navigation_link_attribute":"data-menu-link"}')}}]); 2//# sourceMappingURL=navigation-navigationFooter.chunk.670716674bec39bbd5ef.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.