PageSourceSearch

https://www.nextiva.com/wp-content/themes/nextiva-2024-v2/assets/b…/view.js?ver=1790198535

js nextiva.com collected 2026-09-24 17:13:26 UTC 5,311 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t={981:()=>{(()=>{const e=document.querySelectorAll("[data-nb20-header]");e.length&&e.forEach((e=>{const t=e.querySelector(".nb20-logo[href]");t&&(t.setAttribute("target","_self"),t.addEventListener("click",(e=>{if(e.defaultPrevented)return;if(0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;const s=t.getAttribute("href");s&&"#"!==s&&(e.preventDefault(),window.location.assign(s))})));if(e.hasAttribute("data-nb20-minimal"))return e.classList.add("nb20-header--minimal"),void e.classList.add("is-style-nextiva-header-block-transparent");const s=e.querySelectorAll("[data-nb20-nav-item]"),n=e.querySelector("[data-nb20-mobile-toggle]"),a=e.querySelector("[data-nb20-mobile-panel]"),o=e.querySelector("[data-nb20-mobile-overlay]"),i=e.classList.contains("is-style-nextiva-header-block-transparent")||Boolean(e.closest(".is-style-nextiva-header-block-transparent"))||e.classList.contains("is-style-nextiva-header-block-transparent__black-text")||Boolean(e.closest(".is-style-nextiva-header-block-transparent__black-text")),r=document.querySelector(".hero");let l=window.pageYOffset||0,d=0;let c=!1;let v,b;const u=()=>{s.forEach((e=>{e.classList.remove("is-open");const t=e.querySelector("[data-nb20-mega-toggle]");t&&t.setAttribute("aria-expanded","false")}))},m=e=>{u(),e.classList.add("is-open");const t=e.querySelector("[data-nb20-mega-toggle]");t&&t.setAttribute("aria-expanded","true")};let p=0;const h=()=>{if(!n||!a||!o)return;const e=a.classList.contains("is-open");n.classList.remove("is-active"),n.setAttribute("aria-expanded","false"),a.classList.remove("is-open"),o.classList.remove("is-visible"),document.body.classList.remove("nb20-mobile-nav-open"),document.body.style.top="",e&&window.scrollTo(0,p)},f=()=>{a&&(a.classList.contains("is-open")?h():n&&a&&o&&!(window.innerWidth>960)&&(u(),e.classList.remove("nav-hidden"),p=window.scrollY,document.body.style.top=`-${p}px`,n.classList.add("is-active"),n.setAttribute("aria-expanded","true"),a.classList.add("is-open"),o.classList.add("is-visible"),document.body.classList.add("nb20-mobile-nav-open")))};if(n&&a&&o&&(n.addEventListener("click",f),o.addEventListener("click",h),a.addEventListener("click",(e=>{const t=e.target.closest("[data-nb20-mobile-cta-dropdown-toggle]");if(t){const e=t.closest("[data-nb20-mobile-cta-dropdown]");if(!e)return;return void e.classList.toggle("is-open")}const s=e.target.closest("[data-nb20-mobile-accordion]");if(s){const e=s.closest(".nb20-mobile-nav-item");if(!e)return;const t=e.classList.contains("is-open");return a.querySelectorAll(".nb20-mobile-nav-item.is-open").forEach((e=>e.classList.remove("is-open"))),void(t||e.classList.add("is-open"))}const n=e.target.closest("a[href]");n&&"#"!==n.getAttribute("href")&&h()})),window.addEventListener("resize",(()=>{window.innerWidth>960&&h()}))),s.forEach((e=>{const t=e.querySelector("[data-nb20-mega-toggle]");t&&(e.addEventListener("mouseenter",(()=>{clearTimeout(b),clearTimeout(v),b=setTimeout((()=>m(e)),60)})),e.addEventListener("mouseleave",(()=>{clearTimeout(b),v=setTimeout((()=>u()),180)})),t.addEventListener("click",(t=>{t.preventDefault(),e.classList.contains("is-open")?u():m(e)})),e.addEventListener("focusin",(()=>{clearTimeout(b),clearTimeout(v),m(e)})))})),document.addEventListener("click",(t=>{e.contains(t.target)||u()})),document.addEventListener("keydown",(e=>{"Escape"===e.key&&(u(),h())})),i){const t=r||document.querySelector("body > section, body > main, body > div:not(.nb20-header)")||document.body;const s=getComputedStyle(t).backgroundColor.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(s){(.299*parseInt(s[1],10)+.587*parseInt(s[2],10)+.114*parseInt(s[3],10))/255>.6&&e.classList.add("nb20-header--light-hero")}}const L=()=>{const t=window.pageYOffset||0,s=t-l,n=r?r.offsetHeight:600,a=Math.min(100,.1*n);return document.body.classList.contains("nb20-mobile-nav-open")?(e.classList.remove("nav-hidden"),void(l=t)):(i&&t>a?e.classList.add("nb20-header--scrolled"):i&&(e.classList.remove("nb20-header--scrolled"),e.classList.remove("nav-hidden"),d=0),t<=0?(e.classList.remove("nav-hidden"),d=0,void(l=t)):(t>100&&(d+=s,d>50?(e.classList.add("nav-hidden"),d=0):d<-10&&(e.classList.remove("nav-hidden"),d=0)),void(l=t)))};L(),window.addEventListener("scroll",(()=>{c||(requestAnimationFrame((()=>{L(),c=!1})),c=!0)}),{passive:!0})}
1))})()}},s={};function n(e){var a=s[e];if(void 0!==a)return a.exports;var o=s[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.m=t,e=[],n.O=(t,s,a,o)=>{if(!s){var i=1/0;for(c=0;c<e.length;c++){for(var[s,a,o]=e[c],r=!0,l=0;l<s.length;l++)(!1&o||i>=o)&&Object.keys(n.O).every((e=>n.O[e](s[l])))?s.splice(l--,1):(r=!1,o<i&&(i=o));if(r){e.splice(c--,1);var d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[s,a,o]},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={53012:0,29928:0};n.O.j=t=>0===e[t];var t=(t,s)=>{var a,o,[i,r,l]=s,d=0;if(i.some((t=>0!==e[t]))){for(a in r)n.o(r,a)&&(n.m[a]=r[a]);if(l)var c=l(n)}for(t&&t(s);d<i.length;d++)o=i[d],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},s=globalThis.webpackChunknextiva_2024_v2=globalThis.webpackChunknextiva_2024_v2||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))})();var a=n.O(void 0,[29928],(()=>n(981)));a=n.O(a)})();

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.