PageSourceSearch

https://www.nextiva.com/wp-content/themes/nextiva-2024-v2/assets/build/design-v2.js?ver=1790799620

js nextiva.com collected 2026-10-02 02:40:05 UTC 8,400 bytes, 1 lines download raw bytes

1(()=>{"use strict";function e(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void document.querySelectorAll(".reveal").forEach((e=>e.classList.add("revealed")));const e=document.querySelectorAll(".reveal");if(!e.length)return;const t=new IntersectionObserver((e=>{window.requestAnimationFrame((()=>{e.forEach((e=>{e.isIntersecting&&(e.target.classList.add("revealed"),t.unobserve(e.target))}))}))}),{threshold:.1,rootMargin:"0px 0px 20px 0px"});e.forEach((e=>{t.observe(e)}))}function t(e){if(!e)return;const t=(e,t)=>Math.random()*(t-e)+e;let n=[],s=!1,o=null;const a=()=>{const t=e.getBoundingClientRect();o={width:t.width,height:t.height}};window.addEventListener("resize",(()=>{s&&a()}));const r=()=>{if(s)return;window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||(a(),n.push(((e,n,s=200)=>{const r=()=>{o||a();const n=o,s=document.createElement("span");s.className="particle";const r=t(0,n.width),i=t(0,n.height);s.style.left=`${r}px`,s.style.top=`${i}px`;const d=t(2,4);s.style.width=`${d}px`,s.style.height=1.5*d+"px";const l=Math.random()<.3;let c,h,u;l?(c=Math.round(180+75*Math.random()),h=Math.round(200+55*Math.random()),u=255):(c=Math.round(0+20*Math.random()),h=Math.round(90+30*Math.random()),u=Math.round(230+25*Math.random())),s.style.background=`rgba(${c}, ${h}, ${u}, 1)`,l&&(s.style.boxShadow="0 0 6px rgba(255, 255, 255, 0.8)"),e.appendChild(s);const m=t(60,180),p=t(-120,-40),y=t(-360,360),g=t(2500,4e3);s.animate([{transform:"translate3d(0, 0, 0) rotate(0deg) scale(1)",opacity:1},{transform:`translate3d(${m}px, ${p}px, 0) rotate(${y}deg) scale(${t(.6,1.2)})`,opacity:.3}],{duration:g,easing:"linear",fill:"forwards"}).onfinish=()=>s.remove()};return window.setInterval((()=>{const e=Math.round(t(.7*n,1.3*n));for(let t=0;t<e;t++)r()}),s)})(e,5,200)),s=!0)},i=()=>{n.forEach((e=>clearInterval(e))),n=[],s=!1,o=null,e.querySelectorAll(".particle").forEach((e=>e.remove()))};let d=!1;new IntersectionObserver((e=>{var t;d=null!==(t=e[0]?.isIntersecting)&&void 0!==t&&t,document.hidden||!d?i():r()}),{threshold:.1}).observe(e);document.addEventListener("visibilitychange",(()=>{document.hidden?i():d&&r()}))}function n(e){if(!e)return;const t=(e,t)=>Math.random()*(t-e)+e;let n=[],s=null,o=!1;let a=0,r=0;let i=0;const d=()=>{i=e.getBoundingClientRect().width};window.addEventListener("resize",(()=>{o&&d()}));const l=e=>{o&&(e-r<33||(r=e,a+=.033,n.forEach((e=>{const t=parseFloat(e.dataset.speed),n=parseFloat(e.dataset.phase),s=parseFloat(e.dataset.minOpacity),o=parseFloat(e.dataset.maxOpacity),r=parseFloat(e.dataset.driftSpeed);let d=parseFloat(e.dataset.x);d+=.048*r,d>i+50&&(d=-50),e.dataset.x=d;const l=s+(Math.sin(a*t+n)+1)/2*(o-s);e.style.opacity=l,e.style.transform=`translateX(${d}px)`}))),s=requestAnimationFrame(l))};let c=null;const h=()=>{if(!o)return;const n=document.createElement("span");n.className="shooting-star";const s=t(250,350);n.style.top=`${s}px`,n.style.left="0px",e.appendChild(n),setTimeout((()=>n.remove()),2600)},u=()=>{if(o)return;window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||(o=!0,d(),(e=>{const s=e.getBoundingClientRect(),o=Math.floor(s.width*(.5*s.height)/15e3);for(let a=0;a<o;a++){const o=document.createElement("span");o.className="star-particle";const a=t(-100,s.width),r=t(0,.5*s.height);o.style.left="0px",o.style.top=`${r}px`,o.dataset.x=a,o.dataset.driftSpeed=t(5,15),o.style.transform=`translateX(${a}px)`;const i=t(1,2.5);o.style.width=`${i}px`,o.style.height=`${i}px`,o.style.borderRadius="50%";const d=Math.random();let l,c,h;d<.3?(l=255,c=250,h=240):d<.6?(l=255,c=255,h=255):(l=230,c=240,h=255),o.style.backgroundColor=`rgb(${l}, ${c}, ${h})`,o.dataset.speed=t(.5,2),o.dataset.phase=t(0,2*Math.PI),o.dataset.minOpacity=t(.1,.3),o.dataset.maxOpacity=t(.6,1),e.appendChild(o),n.push(o)}})(e),requestAnimationFrame(l),c||setTimeout((()=>{o&&(h(),c=setInterval((()=>{o&&h()}),12e3))}),3e3))},m=()=>{o=!1,c&&(clearInterval(c),c=null),e.querySelectorAll(".shooting-star").forEach((e=>
1e.remove())),s&&(cancelAnimationFrame(s),s=null),n.forEach((e=>e.remove())),n=[]};let p=!1;new IntersectionObserver((e=>{var t;p=null!==(t=e[0]?.isIntersecting)&&void 0!==t&&t,document.hidden||!p?m():u()}),{threshold:.1}).observe(e);document.addEventListener("visibilitychange",(()=>{document.hidden?m():p&&u()}))}function s(){t(document.getElementById("heroFloatingParticles"));n(document.getElementById("platformFloatingParticles"));o(document.getElementById("enterpriseFloatingParticles"));t(document.getElementById("floatingParticles")),document.querySelectorAll(".floating-particles").forEach((e=>{"heroFloatingParticles"!==e.id&&"floatingParticles"!==e.id&&t(e)}))}function o(e){if(!e)return;const t=(e,t)=>Math.random()*(t-e)+e;let n=null,s=!1;const o=()=>{const n=e.getBoundingClientRect(),s=document.createElement("span");s.className="dust-particle";const o=t(0,.7*n.width),a=t(.1*n.height,n.height);s.style.left=`${o}px`,s.style.top=`${a}px`;const r=t(2,5);s.style.width=`${r}px`,s.style.height=`${r}px`;const i=t(15,45),d=t(90,100),l=t(55,75),c=t(.6,1);s.style.background=`hsl(${i}, ${d}%, ${l}%)`,s.style.boxShadow=`0 0 ${r+3}px hsla(${i}, ${d}%, ${l}%, 0.8)`;const h=t(100,280),u=t(-200,-80),m=t(1500,3500);s.style.setProperty("--drift-x",`${h}px`),s.style.setProperty("--drift-y",`${u}px`),s.style.setProperty("--duration",`${m}ms`),s.style.setProperty("--max-opacity",c),e.appendChild(s),setTimeout((()=>s.remove()),m)},a=()=>{if(s)return;window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||(s=!0,n=setInterval((()=>{const e=Math.floor(t(2,5));for(let t=0;t<e;t++)o()}),150))},r=()=>{n&&(clearInterval(n),n=null),s=!1};let i=!1;new IntersectionObserver((e=>{var t;i=null!==(t=e[0]?.isIntersecting)&&void 0!==t&&t,document.hidden||!i?r():a()}),{threshold:.1}).observe(e);document.addEventListener("visibilitychange",(()=>{document.hidden?r():i&&a()}))}function a(e){if(!e)return;const t=(e,t)=>Math.random()*(t-e)+e;let n=null,s=!1;const o=()=>{const n=e.getBoundingClientRect(),s=document.createElement("span");s.className="dust-particle";const o=t(.5*n.width,n.width),a=t(.4*n.height,n.height);s.style.left=`${o}px`,s.style.top=`${a}px`;const r=t(2,4);s.style.width=`${r}px`,s.style.height=`${r}px`;const i=t(5,35),d=t(95,100),l=t(55,70),c=t(.7,1);s.style.background=`hsl(${i}, ${d}%, ${l}%)`,s.style.boxShadow=`0 0 ${r+5}px hsla(${i}, ${d}%, ${l}%, 0.9)`;const h=t(-280,-100),u=t(-220,-80),m=t(1800,4e3);s.style.setProperty("--drift-x",`${h}px`),s.style.setProperty("--drift-y",`${u}px`),s.style.setProperty("--duration",`${m}ms`),s.style.setProperty("--max-opacity",c),e.appendChild(s),setTimeout((()=>{s.parentNode&&s.parentNode.removeChild(s)}),m)},a=()=>{if(!s){s=!0;for(let e=0;e<10;e++)setTimeout((()=>o()),120*e);n=setInterval(o,180)}},r=()=>{s=!1,n&&(clearInterval(n),n=null)};let i=!1;new IntersectionObserver((e=>{var t;i=null!==(t=e[0]?.isIntersecting)&&void 0!==t&&t,document.hidden||!i?r():a()}),{threshold:.1}).observe(e),document.addEventListener("visibilitychange",(()=>{document.hidden?r():i&&a()}))}function r(){o(document.getElementById("dustParticlesEnterprise"));a(document.getElementById("dustParticlesFounder"));document.querySelectorAll(".dust-particles--founder:not(#dustParticlesFounder)").forEach((e=>{a(e)}));document.querySelectorAll(".dust-particles:not(#dustParticlesEnterprise):not(#dustParticlesFounder):not(.dust-particles--founder):not(.dust-particles--blue)").forEach((e=>{o(e)}))}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(()=>{e(),s(),r()})):(e(),s(),r()),window.addEventListener("load",(()=>{!function(){const e=document.querySelectorAll([".design-v2 .section-hero",".design-v2 .section-logo-trust-bar",".design-v2 .section-tabbed-trust-showcase"].join(", "));if(!e.length)return;const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting?e.target.classList.remove("animations-paused"):e.target.classList.add("animations-paused")}))}),{rootMargin:"100px 0px 100px 0px",threshold:0});e.forEach((e=>{e.classList.add("animations-paused"),t.observe(e)})),document.addEventListener("visibilitychange",(()=>{document.hidden?e.forEach((e=>{e.classList.add("animations-paused")})):e.forEach((e=>{const t=e.getBoundingClientRect();t.top<window.innerHeight+100&&t.bottom>-100&&e.classList.remove("animations-paused")}))}))}()}))})();

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.