1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3423],{20663:(e,s,a)=>{a.d(s,{Cf:()=>m,L3:()=>h,c7:()=>f,lG:()=>o,rr:()=>p,zM:()=>d});var t=a(57535),l=a(7799),n=a(9908),i=a(30776),r=a(77406);let o=r.bL,d=r.l9,c=r.ZL;r.bm;let x=l.forwardRef(({className:e,...s},a)=>(0,t.jsx)(r.hJ,{ref:a,className:(0,i.cn)("fixed inset-0 z-50 bg-black/90 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...s}));x.displayName=r.hJ.displayName;let m=l.forwardRef(({className:e,children:s,...a},l)=>(0,t.jsxs)(c,{children:[(0,t.jsx)(x,{}),(0,t.jsxs)(r.UC,{ref:l,onOpenAutoFocus:e=>e.preventDefault(),className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-white/10 bg-black/60 p-6 shadow-lg backdrop-blur-md duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[s,(0,t.jsxs)(r.bm,{tabIndex:-1,onMouseDown:e=>
1e.preventDefault(),className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(n.oP,{size:28}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));m.displayName=r.UC.displayName;let f=({className:e,...s})=>(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...s});f.displayName="DialogHeader";let h=l.forwardRef(({className:e,...s},a)=>(0,t.jsx)(r.hE,{ref:a,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",e),...s}));h.displayName=r.hE.displayName;let p=l.forwardRef(({className:e,...s},a)=>(0,t.jsx)(r.VY,{ref:a,className:(0,i.cn)("text-sm text-muted-foreground",e),...s}));p.displayName=r.VY.displayName},46261:(e,s,a)=>{a.d(s,{default:()=>N});var t=a(57535),l=a(7799),n=a(19397),i=a(12178),r=a(30776),o=a(85137),d=a(47466),c=a(62492),x=a(15860),m=a.n(x),f=a(55959);let h="(max-width: 1278px) 100vw, (max-width: 1534px) 100vw, (max-width: 2046px) 100vw, (max-width: 2558px) 50vw, (max-width: 3070px) 50vw, 33vw";var p=a(77089);let u={"download-commander":()=>(0,t.jsx)(f.DownloadCommander,{})},j=({src:e})=>(0,t.jsxs)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 aspect-[1120/691.466] translate-y-[18%]",children:[(0,t.jsx)("div",{className:"absolute left-0 top-0 aspect-square w-[61.74%]",children:(0,t.jsx)(c.default,{src:e,alt:"",fill:!0,sizes:h,className:"select-none object-contain"})}),(0,t.jsx)("div",{className:"absolute left-[37.32%] top-[7.95%] aspect-square w-[51.88%]",children:(0,t.jsx)(c.default,{src:e,alt:"",fill:!0,sizes:h,className:"select-none object-contain"})})]}),g=({caption:e,value:s})=>(0,t.jsx)("div",{className:(0,r.cn)("flex justify-between","hidden"===e?"opacity-0":""),children:(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)(n.DZ,{variant:"h4",children:s}),(0,t.jsx)(n.DZ,{variant:"p2",className:"text-left text-[10px] text-white/80 sm:text-sm md:text-base",children:e})]})}),w=({id:e,product:s,description:a,ctaPrimary:l,ctaSecondary:i,kpiList:o,heroImage:d,heroAspect:x,heroVariant:f,fitHero:w=!1})=>(0,t.jsxs)("div",{className:"flex h-full flex-col px-4 pt-8 sm:px-8 md:pt-9 lg:px-[3.5rem] lg:pt-10",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-y-4 sm:flex-row sm:items-end sm:justify-between sm:gap-x-10 sm:gap-y-0",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(n.DZ,{variant:"h3",className:"text-left text-2xl",children:s}),(0,t.jsx)(n.DZ,{variant:"p2",className:"mt-4 sm:max-w-64 md:max-w-xs lg:max-w-lg xl:max-w-2xl",children:a})]}),(0,t.jsxs)("div",{className:"inline-flex gap-x-2 sm:flex-col sm:gap-y-2 xl:flex-row",children:[l.action&&u[l.action]?u[l.action]():!1===l.external?(0,t.jsx)(n.$n,{asChild:!0,children:(0,t.jsx)(m(),{href:l.href??"#",children:l.label})}):(0,t.jsx)(n.$n,{asChild:!0,children:(0,t.jsx)(p.A,{href:l.href??"#",children:l.label})}),null!=i&&(0,t.jsx)(n.$n,{variant:"outline",asChild:!0,children:(0,t.jsx)(m(),{href:i.href,prefetch:!1,children:i.label})})]})]}),o.length>0&&(0,t.jsx)("div",{className:"mt-6 flex gap-x-8",children:o.map(({caption:s,value:a},l)=>(0,t.jsx)(g,{value:a,caption:s},`${e}-product-kpi-${l}`))}),(0,t.jsx)("div",{className:(0,r.cn)("relative w-full flex-shrink-0",w?"mt-6 flex-none md:mt-9":"mt-0 flex-1 md:mt-9"),style:w?{aspectRatio:x??"2/1"}:void 0,children:"freight"===f?(0,t.jsx)(j,{src:d}):(0,t.jsx)("div",{className:"flex items-end justify-center",children:(0,t.jsx)(c.default,{src:d,alt:"mining pool dashboard",fill:!0,sizes:h,className:"object-contain object-bottom"})})})]}),N=({slides:e=i.no,fitHero:s=!1})=>{let[a,c]=(0,d.A)({loop:!0,align:"center",containScroll:"trimSnaps",skipSnaps:!1}),{selectedIndex:x,scrollSnaps:m,onDotButtonClick:f}=(e=>{let[s,a]=(0,l.useState)(0),[t,n]=(0,l.useState)([]),i=(0,l.useCallback)(s=>{e&&e.scrollTo(s)},[e]),r=(0,l.useCallback)(e=>{n(e.scrollSnapList())},[]),o=(0,l.useCallback)(e=>{a(e.selectedScrollSnap())},[]);return(0,l.useEffect)(()=>
1{if(e)return r(e),o(e),e.on("reInit",r).on("reInit",o).on("select",o),()=>{e.off("reInit",r).off("reInit",o).off("select",o)}},[e,r,o]),{selectedIndex:s,scrollSnaps:t,onDotButtonClick:i}})(c),h=(0,l.useRef)(0),p=(0,l.useCallback)(e=>{h.current=.7*e.scrollSnapList().length},[]),u=(0,l.useCallback)((e,s)=>{let a=e.internalEngine(),t=e.scrollProgress(),l=e.slidesInView(),n="scroll"===s;e.scrollSnapList().forEach((s,i)=>{let o=s-t;a.slideRegistry[i].forEach(i=>{if(n&&!l.includes(i))return;a.options.loop&&a.slideLooper.loopPoints.forEach(e=>{let a=e.target();if(i===e.index&&0!==a){let e=Math.sign(a);-1===e&&(o=s-(1+t)),1===e&&(o=s+(1-t))}});let d=1-Math.abs(o*h.current),c=(0,r.I)(d,0,1).toString();e.slideNodes()[i].style.opacity=c})})},[]),j=(0,l.useCallback)(e=>{c&&c.scrollTo(e)},[c]);return(0,l.useEffect)(()=>{if(c)return p(c),u(c),c.on("reInit",p).on("reInit",u).on("scroll",u),()=>{c.off("reInit",p).off("reInit",u).off("scroll",u)}},[c,p,u]),(0,t.jsxs)("section",{className:"embla",children:[(0,t.jsx)("div",{className:"embla__viewport mt-10 lg:mt-12",ref:a,children:(0,t.jsx)("div",{className:"embla__container",children:e.map((e,a)=>(0,t.jsx)("div",{className:(0,r.cn)("embla__slide flex justify-center sm:block"),children:(0,t.jsx)("div",{className:(0,r.cn)("embla__slide__number overflow-hidden rounded-xl border border-white/10 bg-black/60 lg:rounded-3xl",s&&"!h-auto",o.JA),"data-aos":"fade-up","data-aos-delay":0===a?200:400,onClick:()=>{x===a||j(a)},children:(0,t.jsx)(w,{...e,fitHero:s})})},a))})}),(0,t.jsx)("div",{className:"mt-10 flex flex-wrap justify-center gap-x-2 gap-y-2 px-4","data-aos":"fade-right",children:m.map((s,a)=>(0,t.jsx)(n.$n,{variant:"outline",onClick:()=>f(a),className:(0,r.cn)("px-4 py-2 lg:rounded-xl",a===x?"bg-white text-black":"text-white/40"),children:e[a].product},`carousel-button-${a}`))})]})}},55959:(e,s,a)=>{a.d(s,{DownloadCommander:()=>p});var t=a(57535),l=a(7799),n=a(9908),i=a(19397),r=a(20663),o=a(47078),d=a(31832);let c=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none",...e,children:[(0,t.jsx)("path",{fill:"url(#a)",d:"M28.022 16.004c-.805.537-3.354 1.993-3.738 2.28-.747.595-1.437.557-2.185-.018-.383-.307-2.932-1.764-3.737-2.281-.92-.594-.863-1.342.153-1.763 3.143-1.323 6.287-1.227 9.411.057.94.403.978 1.15.096 1.725ZM41.86 29.957c-1.782-4.005-4.216-7.647-7.36-10.848a8.242 8.242 0 0 1-2.032-3.603c-.191-.633-.325-1.284-.46-1.936-.383-1.687-.555-3.412-1.341-5.003-1.4-3.028-3.834-4.6-7.36-4.734-3.47.096-6.057 1.553-7.571 4.6-.402.824-.69 1.687-.882 2.569-.325 1.456-.613 2.97-.958 4.446a6.48 6.48 0 0 1-1.84 3.278A37.44 37.44 0 0 0 4.619 28.98c-.268.556-.536 1.112-.709 1.687-.364 1.265.556 2.146 1.898 1.84.843-.173 1.686-.345 2.491-.595.786-.287 1.093-.095 1.285.671 1.245 4.121 3.967 7.015 8.126 8.625 7.897 2.99 17.116-1.265 19.11-8.778.133-.518.325-.71.9-.518.882.269 1.783.46 2.684.671.939.173 1.629-.306 1.763-1.226.057-.499-.115-.94-.307-1.4Z"}),(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"a",x1:3.83,x2:42.178,y1:23.003,y2:23.003,gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#fff"}),(0,t.jsx)("stop",{offset:1,stopColor:"#B8B8B8"})]})})]}),x=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...e,children:[(0,t.jsx)("path",{fill:"url(#a)",d:"M36.822 29.15c-.92 2.036-1.36 2.947-2.542 4.747-1.65 2.514-3.981 5.65-6.863 5.672-2.563.022-3.224-1.672-6.703-1.644-3.478.017-4.203 1.675-6.77 1.649-2.88-.026-5.087-2.852-6.74-5.362-4.62-7.038-5.107-15.287-2.251-19.677 2.02-3.112 5.216-4.94 8.218-4.94 3.057 0 4.979 1.68 7.506 1.68 2.453 0 3.946-1.684 7.482-1.684 2.674 0 5.501 1.457 7.521 3.97-6.609 3.622-5.535 13.062 1.142 15.588ZM25.476 6.781c1.286-1.651 2.261-3.98 1.907-6.356-2.098.143-4.552 1.483-5.986 3.219-1.298 1.58-2.375 3.927-1.955 6.198 2.289.074 4.658-1.29 6.034-3.061Z"}),(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"a",x1:3.181,x2:36.822,y1:20,y2:20,gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#fff"}),(0,t.jsx)("stop",{offset:1,stopColor:"#B8B8B8"})]})})]}),m=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:50,height:50,fill:"none",...e,children:[(0,t.jsx)("path",{fill:"url(#a)",fillRule:"evenodd",d:"m6.26 25-.01-11.65 14.167-1.923v13.577H6.26V25Zm16.657-13.917 18.743-2.75V25H22.917V11.083Zm18.89 16-.145 16.667-18.885-2.656.14-14.01h18.89Zm-21.39 13.709L6.26 38.852V27.083h14.157v13.709Z",clipRule:"evenodd"}),(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"a",x1:6.25,x2:41.806,y1:26.042,y2:26.042,gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#fff"}),(0,t.jsx)("stop",{offset:1,stopColor:"#B8B8B8"})]})})]}),f=({commanderData:e})=>{let{trackClickedButton:s}=(0,o.X)();return(0,t.jsx)("section",{className:"grid grid-cols-2 gap-3 md:grid-cols-4 md:gap-x-3",children:e.map((e,a)=>{var l;return(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-y-4 rounded-xl border border-white/10 bg-black/60 p-3",children:[(0,t.jsx)("div",{className:"h-10",children:(l=e.system).includes("Windows")?(0,t.jsx)(m,{}):l.includes("Linux")?(0,t.jsx)(c,{}):(0,t.jsx)(x,{})}),(0,t.jsx)(i.DZ,{variant:"p2",className:"text-center",children:"MacOS (Apple Silicon)"!==e.system?e.system:"MacOS (Silicon)"}),(0,t.jsx)("div",{className:"mt-auto w-full px-0 pt-4",children:(0,t.jsx)(i.$n,{className:"w-full",children:(0,t.jsxs)("a",{href:e.url,className:"flex w-full items-center justify-center gap-x-2.5",target:"_blank",onClick:()=>{var a,t;return a=e.system,t=e.url,void s({buttonName:d._h.DOWNLOAD_FIRMWARE,destinationUrl:t,properties:{selected_os:a.toUpperCase()}})},children:[(0,t.jsx)(n.jo,{size:18,variant:"Bold"})," Download"]})})})]},e.system+a)})})};async function h(){let e=await fetch("/api/firmware-links");return e.ok?e.json():{firmware_images:[],cli_tool_images:[],commander_images:[]}}let p=()=>{let[e,s]=(0,l.useState)(null),[a,c]=(0,l.useState)(!1),{trackClickedButton:x}=(0,o.X)();return(0,l.useEffect)(()=>{c(!0),h().then(e=>s(e)).finally(()=>c(!1))},[]),(0,t.jsxs)(r.lG,{children:[(0,t.jsx)(r.zM,{asChild:!0,children:(0,t.jsx)(i.$n,{onClick:()=>{x({buttonName:d._h.DOWNLOAD_FIRMWARE})},children:"Install LuxOS â"})}),(0,t.jsxs)(r.Cf,{className:"max-w-2xl",children:[(0,t.jsxs)(r.c7,{className:"mt-4",children:[(0,t.jsx)(r.L3,{className:"text-center",children:"Download LuxOS Desktop Installer"}),(0,t.jsx)(r.rr,{className:"text-center",children:"Please, choose your platform"})]}),(0,t.jsx)("section",{className:"mt-6 flex min-h-56 items-center justify-center",children:a?(0,t.jsx)(n.zm,{variant:"Bold",size:40,className:"animate-pulse text-accent/60"}):(0,t.jsx)(f,{commanderData:e?e.commander_images:[]})})]})]})}},70067:(e,s,a)=>{a.d(s,{Accordion:()=>o,AccordionContent:()=>x,AccordionItem:()=>d,AccordionTrigger:()=>c});var t=a(57535),l=a(7799),n=a(9908),i=a(30776),r=a(90902);let o=r.bL,d=l.forwardRef(({className:e,...s},a)=>(0,t.jsx)(r.q7,{ref:a,className:(0,i.cn)("border-b border-white/20",e),...s}));d.displayName="AccordionItem";let c=l.forwardRef(({className:e,children:s,...a},l)=>(0,t.jsx)(r.Y9,{className:"flex",children:(0,t.jsxs)(r.l9,{ref:l,className:(0,i.cn)("flex flex-1 items-center justify-between py-4 text-left text-sm font-medium transition-all hover:underline","[&[data-state=open]>.plus-icon]:hidden","[&[data-state=closed]>.minus-icon]:hidden",e),...a,children:[s,(0,t.jsx)("span",{className:"minus-icon rounded-lg bg-white/5 p-3",children:(0,t.jsx)(n.Hs,{size:"16",className:"h-4 w-4 shrink-0 text-muted-foreground text-white transition-transform duration-200"})}),(0,t.jsx)("span",{className:"plus-icon rounded-lg bg-white/5 p-3",children:(0,t.jsx)(n.OM,{size:"16",className:"h-4 w-4 shrink-0 text-muted-foreground text-white transition-transform duration-200",variant:"Outline"})})]})}));c.displayName=r.l9.displayName;let x=l.forwardRef(({className:e,children:s,...a},l)=>(0,t.jsx)(r.UC,{ref:l,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...a,children:(0,t.jsx)("div",{className:(0,i.cn)("pb-4 pt-0",e),children:s})}));x.displayName=r.UC.displayName}}]);
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.