1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[116,2768],{98082:function(e,t,r){Promise.resolve().then(r.t.bind(r,72972,23)),Promise.resolve().then(r.bind(r,54376)),Promise.resolve().then(r.bind(r,98622))},27648:function(e,t,r){"use strict";r.d(t,{default:function(){return i.a}});var n=r(72972),i=r.n(n)},54376:function(e,t,r){"use strict";r.d(t,{EnableMotion:function(){return s},SalesHeader:function(){return a}});var n=r(57437),i=r(2265),o=r(27648);function s(){return(0,i.useEffect)(()=>{let e=document.documentElement;return e.classList.add("vd-js"),()=>e.classList.remove("vd-js")},[]),null}function a(e){let{links:t}=e,[r,s]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=0,t=()=>{e=0,l(window.scrollY>24)},r=()=>{e||(e=requestAnimationFrame(t))};return t(),window.addEventListener("scroll",r,{passive:!0}),()=>{e&&cancelAnimationFrame(e),window.removeEventListener("scroll",r)}},[]),(0,i.useEffect)(()=>{if(!r)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[r]),(0,n.jsxs)("header",{className:"sticky top-0 z-50 transition-colors duration-300 ".concat(a?"border-b border-border/70 bg-background/80 backdrop-blur-xl":"border-b border-transparent"),children:[(0,n.jsxs)("div",{className:"mx-auto flex h-16 max-w-6xl items-center justify-between px-5 sm:px-6",children:[(0,n.jsx)(o.default,{href:"/",className:"flex items-center","aria-label":"VidEdge home",children:(0,n.jsx)("img",{src:"/logo-white.png",alt:"VidEdge",className:"h-7 w-auto"})}),(0,n.jsx)("nav",{className:"hidden items-center gap-8 md:flex",children:t.map(e=>e.href.startsWith("#")?(0,n.jsx)("a",{href:e.href,className:"text-[14.5px] font-medium transition-colors hover:text-text-primary ".concat(e.active?"text-primary-text":"text-text-secondary"),children:e.label},e.label):(0,n.jsx)(o.default,{href:e.href,"aria-current":e.active?"page":void 0,className:"text-[14.5px] font-medium transition-colors hover:text-text-primary ".concat(e.active?"text-primary-text":"text-text-secondary"),children:e.label},e.label))}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(o.default,{href:"/login",className:"hidden px-3 py-2 text-[14.5px] font-medium text-text-secondary transition-colors hover:text-text-primary md:block",children:"Log in"}),(0,n.jsx)(o.default,{href:"/signup",className:"rounded-full bg-gradient-to-r from-primary to-primary-end shadow-glow px-5 py-2.5 text-[14.5px] font-bold text-white transition-colors hover:brightness-110",children:"Get started"}),(0,n.jsx)("button",{type:"button",onClick:()=>s(e=>!e),"aria-label":r?"Close menu":"Open menu","aria-expanded":r,className:"-mr-1 ml-1 flex h-10 w-10 items-center justify-center rounded-xl border-2 border-border bg-surface-2 text-text-primary transition-colors hover:bg-elevated md:hidden",children:(0,n.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",className:"h-5 w-5","aria-hidden":!0,children:r?(0,n.jsx)("path",{d:"m6 6 12 12M18 6 6 18"}):(0,n.jsx)("path",{d:"M4 7h16M4 12h16M4 17h16"})})})]})]}),r&&(0,n.jsx)("div",{className:"border-t border-border bg-background/95 backdrop-blur-xl md:hidden",children:(0,n.jsxs)("nav",{className:"mx-auto flex max-w-6xl flex-col px-5 py-3",children:[t.map(e=>{let t="rounded-xl px-3 py-3.5 text-[16px] font-semibold transition-colors hover:bg-surface-2 hover:text-text-primary ".concat(e.active?"text-primary-text":"text-text-secondary");return e.href.startsWith("#")?(0,n.jsx)("a",{href:e.href,onClick:()=>s(!1),className:t,children:e.label},e.label):(0,n.jsx)(o.default,{href:e.href,onClick:()=>s(!1),className:t,children:e.label},e.label)}),(0,n.jsx)(o.default,{href:"/login",onClick:()=>s(!1),className:"mt-1 rounded-xl border-2 border-border bg-surface-2 px-3 py-3.5 text-center text-[16px] font-bold text-text-primary",children:"Log in"})]})})]})}},98622:function(e,t,r){"use strict";r.r(t),r.d(t,{Reveal:function(){return s},useScrollProgress:function(){return a},useStage:function(){return l}});var n=r(57437),i=r(2265);function o(){var e,t,r;return null!==(r=null===(e=(t=window).matchMedia)||void 0===e?void 0:e.call(t,"(prefers-reduced-motion: reduce)").matches)&&void 0!==r&&r}function s(e){let{children:t,delay:r=0,className:s="",as:a="div"}=e,l=(0,i.useRef)(null),[d,c]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=l.current;if(!e)return;if(o()||"undefined"==typeof IntersectionObserver){c(!0);return}let t=new IntersectionObserver(e=>{for(let r of e)r.isIntersecting&&(c(!0),t.disconnect())},{rootMargin:"0px 0px -12% 0px",threshold:.05});return t.observe(e),()=>t.disconnect()},[]),(0,n.jsx)(a,{ref:l,className:"vd-reveal ".concat(d?"vd-reveal-in":""," ").concat(s),style:{transitionDelay:"".concat(r,"ms")},children:t})}function a(e){let[t,r]=(0,i.useState)(0),[n,s]=(0,i.useState)(!1);return(0,i.useEffect)(()=>
1{if(o()){s(!0),r(1);return}let t=e.current;if(!t)return;let n=()=>{let e=t.getBoundingClientRect(),n=e.height-window.innerHeight;if(n<=0){r(e.top<=0?1:0);return}r(Math.min(1,Math.max(0,-e.top/n)))};return n(),window.addEventListener("scroll",n,{passive:!0}),window.addEventListener("resize",n),document.addEventListener("visibilitychange",n),()=>{window.removeEventListener("scroll",n),window.removeEventListener("resize",n),document.removeEventListener("visibilitychange",n)}},[e]),n?1:t}function l(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.08,n=Math.max(0,(e-r)/(1-r))*t,i=Math.min(t-1,Math.floor(n));return{index:i,within:Math.min(1,Math.max(0,n-i))}}}},function(e){e.O(0,[2972,2971,2117,1744],function(){return e(e.s=98082)}),_N_E=e.O()}]);
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.