1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9269],{34376:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/success",function(){return r(39043)}])},99606:function(e,t,r){"use strict";r.d(t,{z:function(){return n}});var s=r(85893);r(67294);let n=e=>{let{href:t,variant:r="primary",children:n,className:a="",onClick:c,disabled:o=!1,type:i="button"}=e,l="".concat("px-6 py-3 rounded-lg font-medium transition-colors duration-200 inline-block text-center"," ").concat({primary:"bg-theme-secondary text-white hover:bg-theme-secondary-dark",secondary:"bg-theme-text-primary text-theme-surface hover:bg-theme-text-secondary",outline:"border-2 border-theme-text-primary text-theme-text-primary hover:bg-theme-text-primary hover:text-theme-surface",ghost:"bg-transparent border-2 border-theme-secondary text-theme-text-inverse hover:bg-theme-secondary/20 backdrop-blur-sm"}[r]," ").concat(o?"opacity-50 cursor-not-allowed":""," ").concat(a);return t?(0,s.jsx)("a",{href:t,className:l,children:n}):(0,s.jsx)("button",{type:i,className:l,onClick:c,disabled:o,children:n})}},7376:function(e,t,r){"use strict";r.d(t,{H:function(){return o}});var s=r(85893),n=r(9008),a=r.n(n),c=r(34155);function o(e){let{title:t,description:r,canonical:n,ogImage:o="/og-image.jpg",ogType:i="website",twitterCard:l="summary_large_image",keywords:m,noindex:d=!1}
1=e,x=c.env.NEXT_PUBLIC_BASE_PATH||"",h="https://duneweaver.com",u=n?"".concat(h).concat(n):h,p=o.startsWith("http")?o:"".concat(h).concat(x).concat(o);return(0,s.jsxs)(a(),{children:[(0,s.jsx)("title",{children:t}),(0,s.jsx)("meta",{name:"description",content:r}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),m&&(0,s.jsx)("meta",{name:"keywords",content:m}),d&&(0,s.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,s.jsx)("link",{rel:"canonical",href:u}),(0,s.jsx)("meta",{property:"og:type",content:i}),(0,s.jsx)("meta",{property:"og:title",content:t}),(0,s.jsx)("meta",{property:"og:description",content:r}),(0,s.jsx)("meta",{property:"og:url",content:u}),(0,s.jsx)("meta",{property:"og:image",content:p}),(0,s.jsx)("meta",{property:"og:site_name",content:"Dune Weaver"}),(0,s.jsx)("meta",{name:"twitter:card",content:l}),(0,s.jsx)("meta",{name:"twitter:title",content:t}),(0,s.jsx)("meta",{name:"twitter:description",content:r}),(0,s.jsx)("meta",{name:"twitter:image",content:p}),(0,s.jsx)("meta",{name:"author",content:"Dune Weaver"}),(0,s.jsx)("meta",{name:"theme-color",content:"#d97706"})]})}},30455:function(e,t,r){"use strict";r.d(t,{$:function(){return n}});var s=r(85893);r(67294);let n=e=>{let{id:t,className:r="",children:n,background:a="white",hero:c=!1}=e;return(0,s.jsx)("section",{id:t,className:"".concat(c?"pt-0 pb-12 md:pt-8 md:pb-24":"py-12 md:py-24"," ").concat({white:"bg-theme-background",gray:"bg-theme-background-alt",sand:"bg-theme-background-sand"}[a]," ").concat(r),children:(0,s.jsx)("div",{className:"container mx-auto px-4 md:px-6 max-w-7xl",children:n})})}},39043:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return p},default:function(){return g}});var s=r(85893),n=r(67294),a=r(11163),c=r(60882),o=r(25346),i=r(82210),l=r(30455),m=r(7376),d=r(99606),x=r(80780),h=r(40211);function u(e,t){try{return new Intl.NumberFormat("en-US",{style:"currency",currency:t.toUpperCase()}).format(e)}catch(t){return"$".concat(e.toFixed(2))}}var p=!0;function g(e){let{orderEmail:t,items:r,totalAmount:p,currency:g,sessionId:j,paymentPending:f}=e,b=(0,a.useRouter)(),{clearCart:y}=(0,c.j)(),v=String(Math.abs(j.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0))%9e5+1e5),w=t.length>0;(0,n.useEffect)(()=>{y()},[y]);let N=!0===f;return(0,n.useEffect)(()=>{N||0===r.length||(0,x.vF)({transactionId:j,value:p,currency:g,items:(0,h.yz)(r.map(e=>({priceId:e.priceId,name:e.name,amount:e.amount,quantity:e.quantity})))})},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.H,{title:N?"Payment Processing | Dune Weaver":"Thank You for Your Purchase!",description:N?"Your payment is being processed":"Your order has been confirmed",noindex:!0}),(0,s.jsx)(o.h,{}),(0,s.jsx)("main",{className:"min-h-screen pt-16",children:(0,s.jsx)(l.$,{background:"sand",hero:!0,children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto text-center",children:(0,s.jsxs)("div",{className:"bg-theme-surface rounded-xl p-8 md:p-12 shadow-lg border border-theme-border-light",children:[(0,s.jsx)("h1",{className:"text-3xl md:text-4xl font-bold text-theme-text-primary mb-3",children:N?"Payment Processing":"You're awesome â¤ï¸"}),N?(0,s.jsx)("p",{className:"text-lg text-theme-text-secondary mb-8",children:"Your payment is being processed. You'll receive access once payment confirms."}):(0,s.jsxs)("p",{className:"text-lg text-theme-text-secondary mb-8",children:["Your order"," ",(0,s.jsxs)("span",{className:"font-mono font-bold text-theme-secondary",children:["#",v]})," ","is confirmed",w&&(0,s.jsxs)(s.Fragment,{children:[" ","and a confirmation email will be sent to"," ",(0,s.jsx)("strong",{className:"text-theme-text-primary",children:t})]}),"."]}),(0,s.jsx)("div",{className:"mb-8 p-4 md:p-6 bg-theme-background rounded-lg text-left",children:r.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("ul",{className:"space-y-4",children:r.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-center gap-4",children:[e.image&&(0,s.jsx)("img",{src:e.image,alt:e.name,className:"w-14 h-14 rounded-lg object-cover flex-shrink-0"}),(0,s.jsxs)("span",{className:"flex-1 text-theme-text-secondary",children:[e.name,e.quantity>1&&(0,s.jsxs)("span",{className:"text-theme-text-muted ml-1",children:["x",e.quantity]})]}),(0,s.jsx)("span",{className:"text-theme-text-primary font-medium",children:u(e.amount,e.currency)})]},t))}),(0,s.jsxs)("div",{className:"border-t border-theme-border-light mt-4 pt-4 flex justify-between items-center",children:[(0,s.jsx)("span",{className:"text-theme-text-primary font-bold",children:"Total"}),(0,s.jsx)("span",{className:"text-lg text-theme-text-primary font-bold",children:u(p,g)})]})]})}),!N&&(0,s.jsxs)("div",{className:"mb-8 text-left bg-theme-background rounded-lg p-6",children:[(0,s.jsx)("h2",{className:"text-xl font-bold text-theme-text-primary mb-4 text-center",children:"Access Your Downloads"}),(0,s.jsxs)("ol",{className:"space-y-3 text-theme-text-secondary",children:[(0,s.jsxs)("li",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"flex-shrink-0 w-6 h-6 rounded-full bg-theme-secondary text-theme-text-inverse flex items-center justify-center text-sm font-bold",children:"1"}),(0,s.jsxs)("span",{children:["Sign in using the same email you used to purchase",w&&(0,s.jsxs)(s.Fragment,{children:[" ","(",(0,s.jsx)("strong",{children:t}),")"]})]})]}),(0,s.jsxs)("li",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"flex-shrink-0 w-6 h-6 rounded-full bg-theme-secondary text-theme-text-inverse flex items-center justify-center text-sm font-bold",children:"2"}),(0,s.jsx)("span",{children:"Download your files from your account dashboard"})]})]})]}),(0,s.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center mb-8",children:N?(0,s.jsx)(d.z,{variant:"primary",onClick:()=>
1b.push("/"),className:"px-8 py-3",children:"Return Home"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.z,{variant:"primary",onClick:()=>b.push("/account"),className:"px-8 py-3",children:"Access Your Downloads"}),(0,s.jsx)(d.z,{variant:"outline",onClick:()=>b.push("/"),className:"px-8 py-3",children:"Continue Shopping"})]})}),!N&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"border-t border-theme-border-light pt-8 mb-8",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,s.jsxs)("a",{href:"https://discord.com/invite/YZ8PTezVHt",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-4 p-4 bg-theme-background rounded-xl hover:shadow-md transition-shadow group",children:[(0,s.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-lg bg-[#5865F2] flex items-center justify-center",children:(0,s.jsx)("svg",{className:"w-5 h-5 text-white",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"})})}),(0,s.jsxs)("div",{className:"text-left",children:[(0,s.jsx)("p",{className:"font-semibold text-theme-text-primary group-hover:text-theme-secondary transition-colors",children:"Join our Discord"}),(0,s.jsx)("p",{className:"text-sm text-theme-text-muted",children:"3,000+ makers sharing tips & builds"})]})]}),(0,s.jsxs)("a",{href:"/docs",className:"flex items-center gap-4 p-4 bg-theme-background rounded-xl hover:shadow-md transition-shadow group",children:[(0,s.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-lg bg-theme-secondary flex items-center justify-center",children:(0,s.jsx)("svg",{className:"w-5 h-5 text-white",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"})})}),(0,s.jsxs)("div",{className:"text-left",children:[(0,s.jsx)("p",{className:"font-semibold text-theme-text-primary group-hover:text-theme-secondary transition-colors",children:"Help Guides & Resources"}),(0,s.jsx)("p",{className:"text-sm text-theme-text-muted",children:"Setup, wiring, software & more"})]})]})]})}),(0,s.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-5",children:[(0,s.jsx)("a",{href:"https://www.youtube.com/@dune_weaver",target:"_blank",rel:"noopener noreferrer",className:"text-theme-text-muted hover:text-theme-secondary transition-colors","aria-label":"YouTube",children:(0,s.jsx)("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),(0,s.jsx)("a",{href:"https://www.instagram.com/dune_weaver/",target:"_blank",rel:"noopener noreferrer",className:"text-theme-text-muted hover:text-theme-secondary transition-colors","aria-label":"Instagram",children:(0,s.jsx)("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,s.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z"})})}),(0,s.jsx)("a",{href:"http://facebook.com/duneweaver",target:"_blank",rel:"noopener noreferrer",className:"text-theme-text-muted hover:text-theme-secondary transition-colors","aria-label":"Facebook",children:(0,s.jsx)("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})})]}),(0,s.jsx)("p",{className:"text-theme-text-secondary",children:"Thanks again â happy building!"})]})]})]})})})}),(0,s.jsx)(i.$,{})]})}},11163:function(e,t,r){e.exports=r(43079)}},function(e){e.O(0,[959,5346,2210,2888,9774,179],function(){return e(e.s=34376)}),_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.