1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7648],{894:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/download",function(){return n(10088)}])},6763:(e,t,n)=>{"use strict";n.d(t,{Q:()=>g});var r=n(53108),i=n(64312),s=n(37295),a=n(76692),o=n(48569),l=n(45322),c=n(53015),u=n(14782),d=n(75953),m=n(11521),f=n(93545),h=n(30644),x=n(92846),w=n(16600),p=n(46391),v=n(46569),j=n(69256);let g=e=>{var t;let{appIcon:n,headline:g,subheadline:b,cta:y,disclaimer:E,mobileDisclaimer:N,successTitle:k,successSubtitle:R,unavailableMessage:D,mobileUnavailableMessage:z}=e,C=(0,m.useRouter)(),[_,L]=(0,f.A)(),{isReady:O,isMobile:B,isWindows:T}=(0,h.t)(),{waitlistUrl:A,waitlistTitle:F}=(0,x.lY)(),S=(0,x.Xv)(),H=!!S,I=(0,r.jsx)(o.$h,{variants:w.Rl,transition:w.RD,className:"h1 text-center max-w-[15ch] mx-auto",children:(0,r.jsxs)(i.Fragment,{children:["Meet Dia,",(0,r.jsx)("br",{}),g]})},"initial"),U=(0,r.jsx)(o.Uu,{variants:w.Rl,transition:w.RD,children:(0,r.jsx)(a.N,{mode:"wait",children:(0,r.jsxs)(o.Uu,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{...w.RD,delay:.0625},className:"mt-20 text-center text-black/60 p1 max-w-[45ch] text-balance mx-auto rich-text line-break",children:[B&&z&&(0,r.jsx)(i.Fragment,{children:z}),!B&&(D||b)&&(0,r.jsx)(i.Fragment,{children:!H&&D?D:b}),!B&&!1]},"initial")})}),M=(0,r.jsx)(a.N,{mode:"wait",children:(0,r.jsx)(o.Uu,{variants:w.Rl,exit:{opacity:0},transition:w.RD,className:"relative z-1 mt-40 w-max",children:B?(0,r.jsx)(d.U,{shareUrl:window.location.href}):(0,r.jsx)(u.N,{...y,url:H?S:A,title:H?y.title:F,className:"w-max block",onClick:()=>{H&&((0,p.sx)("Download Clicked",{location:"download-page-hero",cta:y.title||"Download Dia",platform:T?"windows":"mac"}),sessionStorage.setItem("fromDownload","true"),setTimeout(()=>{C.push("/download/thanks")},100))},download:!0,children:(0,r.jsx)(c.o,{title:null!=(t=H?y.title:F)?t:"Stay in the loop"})})})});return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)("div",{className:"fixed inset-0 h-full w-full z-0",children:(0,r.jsx)(l.H,{stillImage:!0})}),O&&(0,r.jsxs)(o.Io,{variants:w.hv,transition:w.RD,initial:"initial",animate:O?"animate":"initial",className:"min-h-[100svh] 800:landscape:min-h-download-page 1000:min-h-download-page flex flex-col items-center justify-center relative z-1 py-100 px-20 800:px-0",children:[(0,r.jsx)(o.cq,{variants:w.Rl,transition:w.RD,src:(0,v.A)(n.url,{w:200}),alt:n.alt||"Dia Browser Icon",className:"w-100 h-100 object-contain mb-32 800:mb-40 1000:mb-50"}),(0,r.jsx)(o.Uu,{animate:{height:L.height},transition:{...w.RD,delay:.0625},children:(0,r.jsxs)("div",{ref:_,className:"flex flex-col items-center justify-center",children:[I,U,M]})}),(0,r.jsx)(o.Uu,{variants:w.Rl,transition:w.RD,className:"p2 mt-24 800:mt-40 rich-text line-break text-center text-black/50 max-w-[55ch] text-balance 800:max-w-[45ch] 1000:max-w-prose mx-auto",children:(0,r.jsx)(s.RK,{value:B?N:E,components:j.hE})})]})]})}},9270:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(6384),i=n(64312),s=n(66555),a=n(91340);function o(e){let t=(0,a.M)(()=>(0,r.OQ)(e)),{isStatic:n}=(0,i.useContext)(s.Q);if(n){let[,n]=(0,i.useState)(e);(0,i.useEffect)(()=>t.on("change",n),[])}return t}},10088:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>u,default:()=>d});var r=n(53108),i=n(64312),s=n(6763),a=n(61805),o=n(77074),l=n(39933);let c=n.n(l)()(()=>Promise.all([n.e(7234),n.e(465)]).then(n.bind(n,21856)),{loadableGenerated:{webpack:()=>[21856]}});var u=!0;let d=e=>{let{draftMode:t,config:n,seo:l,...u}=e,d=(null==n?void 0:n.seo)||{},m=(0,o.C)([d,{metaTitle:"Dia Browser | Download",openGraphTitle:"Dia Browser | Download",twitterTitle:"Dia Browser | Download"},l]);return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(a.G,{...m}),t?(0,r.jsx)(c,{...u,...n}):(0,r.jsx)(s.Q,{...u,...n})]})}},18783:(e,t,n)=>{var r=n(77882),i=n(867),s=n(50482);e.exports=function(e){return"string"==typeof e||!i(e)&&s(e)&&"[object String]"==r(e)}},35474:(e,t,n)=>{e.exports=n(74755)},45322:(e,t,n)=>{"use strict";n.d(t,{H:()=>m});var r=n(53108),i=n(64312),s=n(60886),a=n(91249),o=n(16537);let l=(0,i.forwardRef)((e,t)=>{let{video:n,poster:l,posterWidth:c=1200,posterFitMode:u="preserve",className:d,videoClassName:m="block w-full",autoplay:f=!0,paused:h=!1,currentUseCaseIndex:x,...w}=e,p=(0,i.useRef)(void 0),{streamUrl:v,posterUrl:j}=(0,a.F)(n.asset.playbackId,{posterWidth:c,posterFitMode:u,thumbTime:n.asset.thumbTime}),{videoEl:g,notSupported:b,setIsPlaying:y}=(0,o.g)({src:v,autoplay:f}),E=(0,s.p)(t,g);return((0,i.useEffect)(()=>
1{if(!g.current)return;let e=g.current;void 0!==x&&x!==p.current&&(e.currentTime=0,p.current=x),h?e.pause():e.play()},[x,h,g]),(0,i.useEffect)(()=>{if(!g.current)return;let e=()=>{var e;y(!(null==(e=g.current)?void 0:e.paused))},t=g.current;return t.addEventListener("play",e),t.addEventListener("pause",e),()=>{t.removeEventListener("play",e),t.removeEventListener("pause",e)}},[g,y]),b)?(0,r.jsx)("picture",{className:"block w-full",children:(0,r.jsx)("img",{className:"block w-full",src:(null==l?void 0:l.url)||j,alt:""})}):(0,r.jsx)("div",{className:d,role:"region","aria-label":"Video player",children:(0,r.jsx)("video",{...w,preload:"metadata",ref:E,poster:(null==l?void 0:l.url)||j,className:m,controls:!1,muted:!0,playsInline:!0,src:v})})});l.displayName="ChromaVideo";var c=n(30644),u=n(93548),d=n(85905);let m=e=>{let{paused:t=!1,currentUseCaseIndex:n,alternativeChromaVideo:s,className:o,chromaClassName:m,stillImage:f=!1}=e,{isReady:h}=(0,c.t)(),x=(0,u.P)(e=>e.fallbackChroma),w=s||(null==x?void 0:x.video),p=(0,i.useMemo)(()=>{var e;if(!(null==w||null==(e=w.asset)?void 0:e.playbackId))return null;let{posterUrl:t}=(0,a.F)(w.asset.playbackId,{posterWidth:1920,posterFitMode:"preserve",thumbTime:w.asset.thumbTime});return t},[w]);return(0,r.jsx)("div",{className:(0,d.A)("absolute inset-0 h-full w-full z-1 pointer-events-none flex items-center justify-center overflow-hidden",o),children:h&&w&&(0,r.jsx)(r.Fragment,{children:f&&p?(0,r.jsx)("img",{src:p,alt:"",className:(0,d.A)("w-full h-full object-fill",m)}):(0,r.jsx)(l,{video:w,className:(0,d.A)("w-full h-full object-fill",m),videoClassName:"w-full h-full object-fill",paused:t,currentUseCaseIndex:n})})})}},46569:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(66996),i=n.n(r);let s={auto:"format",q:"80"},a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...s,...t},r=i()(n,(e,t)=>"".concat(t,"=").concat(e));return"".concat(e,"?").concat(r.join("&"))}},53015:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var r=n(53108);n(64312);var i=n(85905);let s=e=>{let{title:t,fullWidthOnMobile:n=!1,children:s}=e;return(0,r.jsx)("div",{className:(0,i.A)("h-56 px-28 flex items-center justify-center gap-14 font-sans font-500 text-18 800:text-20 rounded-14 bg-black text-true-white button--cta min-w-170",{"800:w-max max-w-full w-full":n,"w-max":!n}),children:t?(0,r.jsx)("span",{children:t}):s})}},61805:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(53108);n(64312);var i=n(35474),s=n.n(i),a=n(11521),o=n(46569);let l={fm:"jpg",q:80,w:1200,h:630,fit:"crop"},c=e=>{let{metaTitle:t="Dia Browser",metaDescription:n,metaKeywords:i,openGraphTitle:c="Dia Browser",openGraphDescription:u,openGraphImage:d,twitterUser:m="",twitterTitle:f="Dia Browser",twitterDescription:h,twitterImage:x,siteName:w="Dia Browser",siteUrl:p="https://www.diabrowser.com",disallowRobots:v,themeColor:j="#F8F8F8",children:g}=e,{asPath:b}=(0,a.useRouter)(),y=b.replace(/[?#].*$/,"").replace(/\/$/,"").replace(/^\/index$/,"");return(0,r.jsxs)(s(),{children:[(0,r.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon-96x96.png",sizes:"96x96"}),(0,r.jsx)("link",{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,r.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Dia Browser"}),(0,r.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,r.jsx)("link",{rel:"preload",href:"/fonts/ABCOracle-Regular.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),t&&(0,r.jsx)("title",{children:t}),n&&(0,r.jsx)("meta",{name:"description",content:n}),(0,r.jsx)("meta",{name:"keywords",content:i}),(0,r.jsx)("link",{rel:"canonical",href:"".concat(p).concat(y)}),(0,r.jsx)("meta",{property:"og:url",content:"".concat(p).concat(y)}),(0,r.jsx)("meta",{property:"og:title",content:c}),(0,r.jsx)("meta",{property:"og:site_name",content:w}),(0,r.jsx)("meta",{property:"og:description",content:u}),d&&(0,r.jsx)("meta",{property:"og:image",content:(0,o.A)(d.url,l)}),(0,r.jsx)("meta",{name:"twitter:site",content:m}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:f}),(0,r.jsx)("meta",{name:"twitter:description",content:h}),(0,r.jsx)("meta",{name:"twitter:url",content:"".concat(p).concat(y)}
1),x&&(0,r.jsx)("meta",{name:"twitter:image:src",content:(0,o.A)(x.url,l)}),(0,r.jsx)("meta",{name:"robots",content:v?"noindex, nofollow":"index, follow"}),(0,r.jsx)("meta",{httpEquiv:"x-ua-compatible",content:"ie=edge"}),(0,r.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),j&&(0,r.jsx)("meta",{name:"theme-color",content:j}),g]})}},77074:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=e=>e.filter(Boolean).reduce((e,t)=>(Object.entries(t||{}).forEach(t=>{let[n,r]=t;null!=r&&(e[n]=r)}),e),{})},93545:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(64312);function i(e,t){let n;return(...r)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...r),t)}}function s({debounce:e,scroll:t,polyfill:n,offsetSize:a}={debounce:0,scroll:!1,offsetSize:!1}){var l,c,u;let d=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!d)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[m,f]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),h=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:m,orientationHandler:null}),x=e?"number"==typeof e?e:e.scroll:null,w=e?"number"==typeof e?e:e.resize:null,p=(0,r.useRef)(!1);(0,r.useEffect)(()=>(p.current=!0,()=>void(p.current=!1)));let[v,j,g]=(0,r.useMemo)(()=>{let e=()=>{if(!h.current.element)return;let{left:e,top:t,width:n,height:r,bottom:i,right:s,x:l,y:c}=h.current.element.getBoundingClientRect(),u={left:e,top:t,width:n,height:r,bottom:i,right:s,x:l,y:c};h.current.element instanceof HTMLElement&&a&&(u.height=h.current.element.offsetHeight,u.width=h.current.element.offsetWidth),Object.freeze(u),p.current&&!o(h.current.lastBounds,u)&&f(h.current.lastBounds=u)};return[e,w?i(e,w):e,x?i(e,x):e]},[f,a,x,w]);function b(){h.current.scrollContainers&&(h.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",g,!0)),h.current.scrollContainers=null),h.current.resizeObserver&&(h.current.resizeObserver.disconnect(),h.current.resizeObserver=null),h.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",h.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",h.current.orientationHandler))}function y(){h.current.element&&(h.current.resizeObserver=new d(g),h.current.resizeObserver.observe(h.current.element),t&&h.current.scrollContainers&&h.current.scrollContainers.forEach(e=>e.addEventListener("scroll",g,{capture:!0,passive:!0})),h.current.orientationHandler=()=>{g()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",h.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",h.current.orientationHandler))}return l=g,c=!!t,(0,r.useEffect)(()=>{if(c)return window.addEventListener("scroll",l,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",l,!0)},[l,c]),u=j,(0,r.useEffect)(()=>(window.addEventListener("resize",u),()=>void window.removeEventListener("resize",u)),[u]),(0,r.useEffect)(()=>{b(),y()},[t,g,j]),(0,r.useEffect)(()=>b,[]),[e=>{e&&e!==h.current.element&&(b(),h.current.element=e,h.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:r,overflowX:i,overflowY:s}=window.getComputedStyle(t);return[r,i,s].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),y())},m,v]}let a=["x","y","top","bottom","left","right","width","height"],o=(e,t)=>a.every(n=>e[n]===t[n])},93673:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var r=n(53108),i=n(64312),s=n(42816),a=n(46569),o=n(85905),l=n(18783),c=n.n(l);let u=(0,i.forwardRef)((e,t)=>{let n,{alt:l,lqip:u,src:d,sources:m=[],className:f,imgProps:h={},pictureProps:x={},lazy:w=!0,sizes:p,lazyBlur:v=!0,children:j,...g}=e,[b,y]=(0,i.useState)(!1),E=(0,i.useRef)(null),N=(0,s.W)(E,{amount:.05,once:!0}),k=!w||w&&N,R=k&&m.map((e,t)=>{let n,{media:i,url:s,...o}=e;return n=0===Object.keys(o).length?"string"==typeof e?e:void 0:(0,a.A)(s,o),(0,r.jsx)("source",{srcSet:n,media:i},t)});if(c()(d))n=d;else if(d.url){let{url:e,...t}=d;n=(0,a.A)(e,t)}else console.warn("Image is missing src.");let{className:D,...z}=h,C=(0,r.jsx)("img",{...z,ref:E,className:(0,o.$)(D,{"":!(!w||w&&N&&b)&&v}),src:k?n:u,alt:null!=l?l:"",sizes:p,loading:w?"lazy":void 0,decoding:w?"async":void 0,onLoad:k?()=>{requestAnimationFrame(()=>{y(!0)})}:void 0});return(0,r.jsxs)("div",{ref:t,className:(0,o.$)("image overflow-hidden",f),...g,children:[(0,r.jsxs)("picture",{...x,children:[R,C]}),j]})});u.displayName="Image"}},e=>{e.O(0,[6996,9256,503,636,6593,8792],()=>e(e.s=894)),_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.