1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2978,7451],{92978:function(e,n,l){"use strict";l.r(n);var a=l(85893),t=l(67294),r=l(41664),o=l.n(r),s=l(5152),i=l.n(s),c=l(41481),_=l(70724),d=l(7451),u=l.n(d);let v=i()(()=>l.e(530).then(l.bind(l,40530)).then(e=>e.ImageComponent),{loadableGenerated:{webpack:()=>[40530]}});n.default=e=>{var n;let{blok:l,logo:r,ctas:s,scrollOffset:i,navbarClass:d,innerClass:b,logoClass:g,ctaWrapperClass:f}=e,[m,p]=(0,t.useState)(!1),h=(null==l?void 0:l.scroll_offset)?Number(l.scroll_offset):null!=i?i:60;(0,t.useEffect)(()=>{let e=()=>p(window.scrollY>h);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[h]),(0,t.useEffect)(()=>{let e=document.documentElement;return e.style.scrollBehavior="smooth",e.style.scrollPaddingTop="80px",()=>{e.style.scrollBehavior="",e.style.scrollPaddingTop=""}},[]);let x=(null==l?void 0:l.logo)||r,w=(null==l?void 0:l.ctas)||s||[];return(0,a.jsx)("nav",{...l?(0,c.LF)(l):{},className:"".concat(u().navbar," ").concat(m?u().fixed:u().absolute," ").concat((null==l?void 0:l.navbar_class)||d||""),children:(0,a.jsxs)("div",{className:"".concat(u().inner," ").concat((null==l?void 0:l.inner_class)||b||""),children:[(0,a.jsx)(o(),{href:(0,_.yc)(null==x?void 0:null===(n=x.link)||void 0===n?void 0:n.cached_url)||"/",prefetch:!1,className:"".concat(u().logo," ").concat((null==l?void 0:l.logo_class)||g||""),children:(null==x?void 0:x.filename)?(0,a.jsx)(v,{url:x.filename,altText:x.alt||"Logo",withContainer:!1,imgClass:"!static"}):(0,a.jsx)("span",{style:{fontFamily:"arponasans, sans-serif",fontWeight:600,fontSize:"20px",color:"#010012"},children:"Darwinbox"})}),(0,a.jsx)("div",{className:"".concat(u().ctas," ").concat((null==l?void 0:l.cta_wrapper_class)||f||""),children:w.length>0?w.map(e=>(0,_.sb)(e)):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:"#agenda",className:u().btn_secondary,children:"Agenda"}),(0,a.jsx)("a",{href:"#register",className:u().btn_primary,children:"Save your spot"})]})})]})})}},7451:function(e){e.exports={navbar:"intelligence-tour-navbar_navbar__qPNG1",absolute:"intelligence-tour-navbar_absolute__5q6oF",fixed:"intelligence-tour-navbar_fixed__0P__a",all:"intelligence-tour-navbar_all__goDg3",inner:"intelligence-tour-navbar_inner__cSnua",logo:"intelligence-tour-navbar_logo__55Wx3",links:"intelligence-tour-navbar_links__JzBXd",ctas:"intelligence-tour-navbar_ctas__Kliid",spacer:"intelligence-tour-navbar_spacer__JmLm3",btn_secondary:"intelligence-tour-navbar_btn_secondary__DskuM",btn_primary:"intelligence-tour-navbar_btn_primary__wds71",slideDown:"intelligence-tour-navbar_slideDown__Ji3pp"}}}]);
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.