1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[99704],{6438:(e,t,l)=>{"use strict";l.d(t,{Z:()=>c});var n=l(22342),r=l(70667),i=l(17439),s=l(44918),a=l(33670);function c(e){let{show:t,onAgree:l,onDisagree:c,title:o,blurb:d,account:u,slug:h}=e,x=(0,a.useRef)(null);if(!t)return null;let m=(null==u?void 0:u.address)?"agreedTerms_".concat(h,"_").concat(u.address):"agreedTerms_".concat(h,"_anon");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-25 backdrop-blur-sm z-50",onClick:e=>{e.target===e.currentTarget&&(localStorage.setItem(m,"false"),c())}}),(0,n.jsx)("div",{ref:x,className:"fixed z-50 inset-x-8 top-1/2 -translate-y-1/2 lg:w-[500px] lg:left-1/2 lg:-translate-x-1/2 bg-white rounded-20 shadow-modal p-6",children:(0,n.jsxs)("div",{className:"px-6 flex flex-col gap-y-3 text-center mx-auto",children:[(0,n.jsx)("h2",{className:"text-28 font-extrabold",children:o}),(0,n.jsx)(i.RK,{components:s.e,value:null!=d?d:[]}),(0,n.jsx)(r.Button,{type:"cta-outline",className:"!h-15 !w-fit !px-8 mx-auto font-bold text-xl mt-5 text-grey-60",onClick:()=>{localStorage.setItem(m,"true"),l()},children:"Agree to Terms"})]})})]})}},8407:(e,t,l)=>{"use strict";l.d(t,{d:()=>a});var n=l(39781),r=l.n(n),i=l(34941);let s=r()({projectId:i.Lg,dataset:i.RT}),a=e=>s.image(e)},11853:(e,t,l)=>{"use strict";l.d(t,{S:()=>r});var n=l(30926);let r=(0,n.createServerReference)("7f1e2ce6ca6f08890c2920ab430b08674a579b2964",n.callServer,void 0,n.findSourceMapURL,"getStoreValues")},18573:(e,t,l)=>{"use strict";l.d(t,{H:()=>a,MobileMenuProvider:()=>s});var n=l(22342),r=l(33670);let i=(0,r.createContext)({isOpen:!1,setIsOpen:()=>{},isFullScreen:!0,setIsFullScreen:()=>{},content:null,setContent:()=>{}});function s(e){let{children:t}=e,[l,s]=(0,r.useState)(!1),[a,c]=(0,r.useState)(null),[o,d]=(0,r.useState)(!0);return(0,n.jsx)(i.Provider,{value:{isOpen:l,setIsOpen:s,isFullScreen:o,setIsFullScreen:d,content:a,setContent:c},children:t})}function a(){let e=(0,r.useContext)(i);if(void 0===e)throw Error("useMobileMenu must be used within a MobileMenuProvider");return e}},34941:(e,t,l)=>{"use strict";l.d(t,{Lg:()=>i,RT:()=>r,XV:()=>n});let n=l(87358).env.NEXT_PUBLIC_SANITY_API_VERSION||"2024-10-15",r=s("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),i=s("zbj8hofe","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");function s(e,t){if(void 0===e)throw Error(t);return e}},37653:(e,t,l)=>{"use strict";l.d(t,{MobileMenuButton:()=>o});var n=l(22342),r=l(18573);function i(e){let{fill:t="#0334AB"}=e;return(0,n.jsxs)("svg",{className:"h-full",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 1200 400",xmlSpace:"preserve",children:[(0,n.jsx)("g",{id:"_x34_",display:"none"}),(0,n.jsx)("g",{id:"_x33_"}),(0,n.jsx)("g",{id:"_x32_",children:(0,n.jsx)("g",{children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{fill:t,d:"M51.108,78.383h42.356c4.567,0,8.305,1.038,11.212,3.114c2.905,2.078,4.983,4.828,6.229,8.253 l49.882,135.319c1.971,5.294,3.971,11.056,5.995,17.285c2.025,6.228,3.918,12.769,5.684,19.621 c1.453-6.852,3.139-13.393,5.061-19.621c1.92-6.229,3.815-11.991,5.684-17.285l46.912-131.243c1.6-4.476,4.225-8.559,7.84-11.646 c0.326-0.279,0.658-0.549,0.992-0.808c3.01-2.336,7.304-2.988,11.664-2.988h42.668L195.67,319.125h-47.651L51.108,78.383z"}),(0,n.jsx)("path",{fill:t,d:"M509.893,319.125h-33.9c-10.518,0-19.044-8.526-19.044-19.044V223.2h-92.187v95.925h-52.946V92.238 h52.946v94.835h92.187V92.238h52.945V319.125z"}),(0,n.jsx)("path",{fill:t,d:"M758.425,319.125h-40.799c-4.57,0-8.332-1.064-11.29-3.193c-2.959-2.126-5.01-4.851-6.15-8.175 l-13.393-39.553h-86.27l-13.393,39.553c-1.038,2.908-3.063,5.528-6.073,7.865c-3.012,2.335-6.696,3.503-11.056,3.503h-41.111 l87.826-226.887h53.881L758.425,319.125z M612.669,232.388h61.977l-20.866-62.133c-1.35-3.944-2.935-8.589-4.749-13.937 c-1.818-5.345-3.609-11.134-5.373-17.363c-1.662,6.334-3.375,12.2-5.139,17.597c-1.766,5.4-3.426,10.071-4.983,14.015 L612.669,232.388z"}),(0,n.jsx)("path",{fill:t,d:"M901.943,138.332c-1.558,2.491-3.193,4.36-4.906,5.606s-3.92,1.869-6.617,1.869 c-2.39,0-4.959-0.752-7.708-2.258c-2.753-1.504-5.867-3.192-9.345-5.061c-3.479-1.869-7.45-3.555-11.913-5.061 c-4.464-1.504-9.552-2.258-15.261-2.258c-9.864,0-17.206,2.102-22.035,6.306c-4.827,4.205-7.241,9.889-7.241,17.052 c0,4.57,1.453,8.358,4.36,11.368c2.905,3.012,6.72,5.606,11.446,7.786c4.724,2.18,10.122,4.18,16.196,5.995 c6.073,1.818,12.275,3.843,18.609,6.074c6.331,2.233,12.535,4.854,18.609,7.863c6.073,3.012,11.47,6.853,16.195,11.524 c4.723,4.672,8.538,10.355,11.445,17.051c2.905,6.696,4.36,14.769,4.36,24.215c0,10.487-1.817,20.298-5.45,29.432 c-3.634,9.136-8.903,17.105-15.805,23.903c-6.905,6.801-15.416,12.147-25.538,16.04c-10.122,3.893-21.62
11,5.84-34.493,5.84 c-7.06,0-14.249-0.728-21.568-2.18c-7.319-1.453-14.404-3.505-21.256-6.152c-6.852-2.647-13.289-5.786-19.31-9.421 c-6.022-3.633-11.265-7.681-15.728-12.147l15.573-24.604c1.141-1.868,2.75-3.372,4.827-4.516c2.076-1.14,4.308-1.713,6.696-1.713 c3.115,0,6.253,0.989,9.421,2.959c3.166,1.974,6.747,4.154,10.746,6.541c3.995,2.389,8.589,4.57,13.781,6.54 c5.191,1.974,11.314,2.959,18.376,2.959c9.549,0,16.974-2.102,22.268-6.307c5.295-4.205,7.942-10.873,7.942-20.01 c0-5.294-1.455-9.602-4.36-12.924c-2.908-3.321-6.723-6.074-11.446-8.254c-4.725-2.18-10.098-4.1-16.117-5.762 c-6.022-1.659-12.2-3.503-18.531-5.528c-6.334-2.023-12.512-4.515-18.531-7.474c-6.022-2.959-11.395-6.853-16.117-11.68 c-4.725-4.827-8.54-10.847-11.446-18.064c-2.908-7.214-4.36-16.117-4.36-26.706c0-8.511,1.713-16.818,5.139-24.915 c3.426-8.097,8.46-15.312,15.105-21.646c6.642-6.331,14.794-11.391,24.447-15.182c9.655-3.788,20.711-5.684,33.17-5.684 c6.953,0,13.727,0.545,20.322,1.635c6.591,1.09,12.847,2.7,18.764,4.827c5.917,2.129,11.446,4.672,16.584,7.63 c5.139,2.959,9.733,6.307,13.782,10.044L901.943,138.332z"}),(0,n.jsx)("path",{fill:t,d:"M1148.892,319.125h-52.945V223.2h-92.188v95.925h-52.945V92.238h52.945v94.835h92.188V92.238h52.945 V319.125z"})]})})}),(0,n.jsx)("g",{id:"_x31_"})]})}var s=l(99539),a=l(52619),c=l.n(a);function o(e){var t;let{nav:l}=e,{setIsOpen:a,setContent:o,setIsFullScreen:d}=(0,r.H)(),u=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center p-4",children:[(0,n.jsx)("div",{className:"h-[28px]",children:(0,n.jsx)(i,{})}),(0,n.jsx)("button",{onClick:()=>a(!1),className:"text-xl",children:(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M19.7433 3.48947C19.5452 3.49414 19.357 3.577 19.2198 3.71994L12.0001 10.9397L4.78039 3.71994C4.71048 3.64794 4.62684 3.59071 4.53441 3.55163C4.44198 3.51254 4.34265 3.4924 4.2423 3.4924C4.09304 3.49243 3.94719 3.537 3.8234 3.6204C3.69961 3.70379 3.60352 3.82223 3.54741 3.96054C3.49131 4.09886 3.47775 4.25077 3.50847 4.39683C3.53918 4.5429 3.61278 4.67648 3.71984 4.78048L10.9396 12.0002L3.71984 19.2199C3.64786 19.289 3.5904 19.3718 3.55081 19.4634C3.51122 19.555 3.49031 19.6536 3.4893 19.7534C3.48828 19.8531 3.50719 19.9521 3.5449 20.0445C3.58262 20.1369 3.63839 20.2208 3.70895 20.2914C3.77951 20.3619 3.86344 20.4177 3.95582 20.4554C4.0482 20.4931 4.14718 20.512 4.24696 20.511C4.34674 20.51 4.44531 20.4891 4.53691 20.4495C4.6285 20.4099 4.71128 20.3525 4.78039 20.2805L12.0001 13.0608L19.2198 20.2805C19.289 20.3525 19.3717 20.4099 19.4633 20.4495C19.5549 20.4891 19.6535 20.51 19.7533 20.511C19.8531 20.512 19.952 20.4931 20.0444 20.4554C20.1368 20.4177 20.2207 20.3619 20.2913 20.2914C20.3618 20.2208 20.4176 20.1369 20.4553 20.0445C20.493 19.9521 20.5119 19.8531 20.5109 19.7534C20.5099 19.6536 20.489 19.555 20.4494 19.4634C20.4098 19.3718 20.3524 19.289 20.2804 19.2199L13.0607 12.0002L20.2804 4.78048C20.3895 4.6758 20.4643 4.54061 20.4952 4.39263C20.5261 4.24465 20.5116 4.09079 20.4535 3.95121C20.3955 3.81164 20.2966 3.69287 20.1698 3.61047C20.0431 3.52807 19.8944 3.4859 19.7433 3.48947Z",fill:"#4E525F"})})})]}),(0,n.jsx)("nav",{className:"flex-1 flex-grow flex flex-col justify-center gap-4 p-4 text-center",children:null==l||null==(t=l.menuItems)?void 0:t.map(e=>{var t;return e.title&&e.link&&(0,n.jsxs)(c(),{href:e.link,onClick:()=>a(!1),className:"w-full flex items-center justify-center gap-2 p-2 text-2xl font-medium",children:[(null==(t=e.icon)?void 0:t.icon)&&(0,n.jsx)(s.Wu,{iconName:e.icon.icon,className:"w-6 h-6",pathClassName:"fill-black"}),(0,n.jsx)("span",{children:e.title})]},e._key)})})]});return(0,n.jsx)("button",{className:"md:hidden flex items-center justify-center p-2",onClick:()=>{d(!0),o(u),a(!0)},children:(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M2.74994 4.50008C2.65056 4.49867 2.55188 4.51703 2.45966 4.55409C2.36743 4.59115 2.28349 4.64617 2.21271 4.71595C2.14194 4.78574 2.08573 4.86889 2.04737 4.96059C2.00901 5.05228 1.98926 5.15068 1.98926 5.25007C1.98926 5.34947 2.00901 5.44787 2.04737 5.53956C2.08573 5.63126 2.14194 5.71441 2.21271 5.7842C2.28349 5.85398 2.36743 5.909 2.45966 5.94606C2.5
15188 5.98312 2.65056 6.00148 2.74994 6.00007H21.2499C21.3493 6.00148 21.448 5.98312 21.5402 5.94606C21.6324 5.909 21.7164 5.85398 21.7872 5.7842C21.8579 5.71441 21.9141 5.63126 21.9525 5.53956C21.9909 5.44787 22.0106 5.34947 22.0106 5.25007C22.0106 5.15068 21.9909 5.05228 21.9525 4.96059C21.9141 4.86889 21.8579 4.78574 21.7872 4.71595C21.7164 4.64617 21.6324 4.59115 21.5402 4.55409C21.448 4.51703 21.3493 4.49867 21.2499 4.50008H2.74994ZM2.74994 11.2501C2.65056 11.2487 2.55188 11.267 2.45966 11.3041C2.36743 11.3412 2.28349 11.3962 2.21271 11.466C2.14194 11.5357 2.08573 11.6189 2.04737 11.7106C2.00901 11.8023 1.98926 11.9007 1.98926 12.0001C1.98926 12.0995 2.00901 12.1979 2.04737 12.2896C2.08573 12.3813 2.14194 12.4644 2.21271 12.5342C2.28349 12.604 2.36743 12.659 2.45966 12.6961C2.55188 12.7331 2.65056 12.7515 2.74994 12.7501H21.2499C21.3493 12.7515 21.448 12.7331 21.5402 12.6961C21.6324 12.659 21.7164 12.604 21.7872 12.5342C21.8579 12.4644 21.9141 12.3813 21.9525 12.2896C21.9909 12.1979 22.0106 12.0995 22.0106 12.0001C22.0106 11.9007 21.9909 11.8023 21.9525 11.7106C21.9141 11.6189 21.8579 11.5357 21.7872 11.466C21.7164 11.3962 21.6324 11.3412 21.5402 11.3041C21.448 11.267 21.3493 11.2487 21.2499 11.2501H2.74994ZM2.74994 18.0001C2.65056 17.9987 2.55188 18.017 2.45966 18.0541C2.36743 18.0912 2.28349 18.1462 2.21271 18.216C2.14194 18.2857 2.08573 18.3689 2.04737 18.4606C2.00901 18.5523 1.98926 18.6507 1.98926 18.7501C1.98926 18.8495 2.00901 18.9479 2.04737 19.0396C2.08573 19.1313 2.14194 19.2144 2.21271 19.2842C2.28349 19.354 2.36743 19.409 2.45966 19.4461C2.55188 19.4831 2.65056 19.5015 2.74994 19.5001H21.2499C21.3493 19.5015 21.448 19.4831 21.5402 19.4461C21.6324 19.409 21.7164 19.354 21.7872 19.2842C21.8579 19.2144 21.9141 19.1313 21.9525 19.0396C21.9909 18.9479 22.0106 18.8495 22.0106 18.7501C22.0106 18.6507 21.9909 18.5523 21.9525 18.4606C21.9141 18.3689 21.8579 18.2857 21.7872 18.216C21.7164 18.1462 21.6324 18.0912 21.5402 18.0541C21.448 18.017 21.3493 17.9987 21.2499 18.0001H2.74994Z",fill:"#111217"})})})}},41290:()=>{},44918:(e,t,l)=>{"use strict";l.d(t,{e:()=>i});var n=l(8407),r=l(33670);let i={types:{image:e=>{var t;let{value:l}=e;if(!(null==l||null==(t=l.asset)?void 0:t._ref))return null;let i=[r.createElement("img",{key:"image",src:(0,n.d)(l.asset._ref).url(),alt:l.alt||"Untitled image",style:{maxWidth:"100%",height:"auto"}})];return l.caption&&i.push(r.createElement("p",{key:"caption",style:{fontSize:"0.875rem",color:"#666"},children:l.caption})),r.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.5rem",margin:"1.5rem 0",width:"100%",maxWidth:"100%",overflow:"hidden",boxSizing:"border-box"},children:i})},iframe:e=>{let{value:t}=e;if(!(null==t?void 0:t.html))return null;let l=t.html;return l.includes("<iframe")?(l=l.replace(/<iframe([^>]*)>/gi,(e,t)=>{let l=t.replace(/\s*width\s*=\s*["'][^"']*["']/gi,"").replace(/\s*height\s*=\s*["'][^"']*["']/gi,"").replace(/\s*style\s*=\s*["'][^"']*["']/gi,"");return"<iframe".concat(l,' style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;">')}),l='\n <div style="position: relative; width: 100%; max-width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 1.5rem 0;">\n '.concat(l,"\n </div>\n ")):l='\n <div style="width: 100%; max-width: 100%; overflow: hidden; margin: 1.5rem 0;">\n '.concat(l,"\n </div>\n "),r.createElement("div",{style:{width:"100%",maxWidth:"100%",overflow:"hidden",boxSizing:"border-box"},dangerouslySetInnerHTML:{__html:l}})}},list:e=>r.createElement("ul",{style:{paddingLeft:"1.5rem",listStyleType:"disc"},children:e.children}),listItem:e=>r.createElement("li",{children:e.children}),marks:{left:e=>r.createElement("span",{style:{textAlign:"left",width:"100%",display:"block"},children:e.children}),center:e=>r.createElement("span",{style:{textAlign:"center",width:"100%",display:"block"},children:e.children}),right:e=>r.createElement("span",{style:{textAlign:"right",width:"100%",display:"block"},children:e.children}),justify:e=>r.createElement("span",{style:{textAlign:"justify",width:"100%",display:"block"},children:e.children}),link:e=>{let{children:t,mark:l}=e,n=(null==l?void 0:l.href)||"#";return r.createElement("a",{href:n,style:{textDecoration:"underline"},children:t})}},block:{normal:e=>r.createElement("p",{style:{margin:"16px 0 0 0"},children:e.children})}}},61892:(e,t,l)=>{"use strict";l.d(t,{CartButton:()=>o});var n=l(22342),r=l(33670),i=l(70667),s=l(57899),a=l(47801),c=l(11853);let o=()=>{let[e,t]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),[d,u]=(0,r.useState)(),[h,x]=(0,r.useState)(),m=(0,r.useRef)(null),g=(0,r.useRef)(null);return(0,r.useEffect)(()=>{e&&(async()=>{var e,t;let l,n,r=await (0,c.S)();if(!r)return;let i=(e,t,l)=>{let n,i=e[e.length-1];if(o(i),u(t),console.log("latest:",i),"onboard"===t)n=r.initialVhash;else if("buy"===t)n=i.initialVhash||BigInt(0);else if("upgrade"===t&&l&&i.minerID&&void 0!==l[i.minerID])n=l[i.minerID];else{var s;n=(null==(s=i.miner)?void 0:s.vhash)||BigInt(0)}x(n)},s=localStorage.getItem("last_cart_action");u(s||""),console.log("last action:",s),s&&(l=localStorage.getItem("cart_".concat(s))),l&&(n=JSON.parse(l)),console.log("cart for action:",s,n);let a=["claim","upgrade","buy","onboard"],d=!1;if(s&&(null==(e=n.items)?void 0:e.length)>0&&a.includes(s))console.log("found cart for last action",s),d=!0,i(n.items,s,n.selectedVhash);else for(let e of(console.log("looking for other cart"),a)){let l=localStorage.getItem("cart_".concat(e));if(l){let n=JSON.parse(l);if((null==(t=n.items)?void 0:t.length)>0){d=!0,console.log("found cart:",e),i(n.items,e,n.selectedVhash);break}}}d||o(null)})()},[e]),(0,r.useEffect)(()=>{let e=()=>{console.log("showCart event triggered"),t(e=>!e)};return document.addEventListener("showCart",e),()=>document.removeEventListener("showCart",e)},[]),(0,r.useEffect)(()=>{let e=e=>{var l;!m.current||m.current.contains(e.target)||(null==(l=g.current)?void 0:l.contains(e.target))||t(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-25 backdrop-blur-sm z-50"}),(0,n.jsx)("div",{className:"",ref:g,children:(0,n.jsx)(i.Button,{type:"blank",onClick:()=>{t(e=>!e)},children:(0,n.jsx)("div",{className:"h-12 w-12 flex justify-center items-center rounded-full bg-blue-10",children:(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M1.75092 2.99995C1.65153 2.99855 1.55286 3.01691 1.46063 3.05397C1.36841 3.09103 1.28447 3.14605 1.21369 3.21583C1.14291 3.28562 1.08671 3.36877 1.04835 3.46046C1.00999 3.55216 0.990234 3.65056 0.990234 3.74995C0.990234 3.84935 1.00999 3.94775 1.04835 4.03944C1.08671 4.13113 1.14291 4.21429 1.21369 4.28407C1.28447 4.35386 1.36841 4.40888 1.46063 4.44594C1.55286 4.483 1.65153 4.50136 1.75092 4.49995H3.12885C3.49281 4.49995 3.79621 4.75142 3.86517 5.10933L4.01459 5.89058L5.62689 14.3584C5.91845 15.8861 7.26448 17 8.82025 17H18.1816C19.7373 17 21.0839 15.8865 21.3749 14.3584L22.9872 5.89058C23.0079 5.78216 23.0044 5.67051 22.97
17 5.5636C22.9496 5.45669 22.8989 5.35716 22.8285 5.27209C22.7582 5.18702 22.67 5.11853 22.5701 5.07149C22.4703 5.02445 22.3613 5.00002 22.2509 4.99995H5.37103L5.33881 4.82905C5.13725 3.77272 4.2044 2.99995 3.12885 2.99995H1.75092ZM5.65717 6.49995H21.3447L19.9013 14.0781C19.7433 14.9079 19.0268 15.5 18.1816 15.5H8.82025C7.97532 15.5 7.25931 14.9079 7.10053 14.0781V14.0771L5.65717 6.49995ZM10.0009 18C9.60309 18 9.22156 18.158 8.94026 18.4393C8.65895 18.7206 8.50092 19.1021 8.50092 19.5C8.50092 19.8978 8.65895 20.2793 8.94026 20.5606C9.22156 20.8419 9.60309 21 10.0009 21C10.3987 21 10.7803 20.8419 11.0616 20.5606C11.3429 20.2793 11.5009 19.8978 11.5009 19.5C11.5009 19.1021 11.3429 18.7206 11.0616 18.4393C10.7803 18.158 10.3987 18 10.0009 18ZM17.0009 18C16.6031 18 16.2216 18.158 15.9403 18.4393C15.659 18.7206 15.5009 19.1021 15.5009 19.5C15.5009 19.8978 15.659 20.2793 15.9403 20.5606C16.2216 20.8419 16.6031 21 17.0009 21C17.3987 21 17.7803 20.8419 18.0616 20.5606C18.3429 20.2793 18.5009 19.8978 18.5009 19.5C18.5009 19.1021 18.3429 18.7206 18.0616 18.4393C17.7803 18.158 17.3987 18 17.0009 18Z",fill:"#0434AC"})})})})}),(0,n.jsx)("div",{ref:m,className:"fixed lg:absolute z-50 inset-x-8 inset-y-1/4 h-fit lg:right-8 lg:left-auto lg:top-20 bg-white rounded-20 shadow-modal transition-all duration-160\n ".concat(e?"opacity-100 translate-y-0":"opacity-0 -translate-y-4 pointer-events-none","\n "),children:(0,n.jsx)("div",{className:"p-4 md:p-6",children:l?(0,n.jsxs)("div",{className:"lg:w-[420px]",children:[(0,n.jsx)("p",{className:"text-xl lg:text-2xl lg:font-semibold text-center lg:text-left",children:"".concat("claim"===d?"Claim ":"","ProtoMiner ").concat("upgrade"===d?"Upgrade":""," has been added to the cart.")}),(0,n.jsxs)("div",{className:"mt-4 lg:mt-5 mb-6 lg:mb-8 flex gap-x-4 lg:gap-x-5",children:[(0,n.jsx)("div",{className:"rounded-16 overflow-hidden",style:{backgroundColor:l.background},children:(0,n.jsx)(s.MediaRenderer,{client:a.L,src:l.media||"/images/NFT_404_animate.gif",poster:l.poster,requireInteraction:!0,alt:l.name||"NFT",width:"100",height:"100",className:"w-full h-full object-cover"})}),(0,n.jsxs)("div",{className:"flex flex-col gap-y-2 lg:gap-y-3 items-start justify-center",children:[(0,n.jsx)("p",{className:"text-xl lg:text-2xl lg:font-medium",children:l.name}),(0,n.jsxs)("p",{className:"text-2xl lg:text-4xl font-extrabold",children:["upgrade"===d?"+":"",Number(h).toLocaleString(),"\xa0",(0,n.jsx)("span",{className:"text-base lg:text-xl font-normal",children:"onboard"===d?"Initial VHASH":"VHASH"})]})]})]}),(0,n.jsxs)("div",{className:"flex gap-y-3 flex-col",children:[(0,n.jsx)(i.Button,{onClick:()=>t(!1),href:"".concat("buy"===d?"/#ProtoMiners":"/my-nfts"),type:"cta-blue",className:"!h-12 lg:!h-15 font-bold text-xl",children:"Get More"}),(0,n.jsx)(i.Button,{onClick:()=>t(!1),href:"/cart/".concat(d),type:"cta-outline",className:"!h-12 lg:!h-15 font-bold text-xl",children:"Go To The Cart"})]})]}):(0,n.jsx)("div",{className:"px-5 w-max lg:w-[420px]",children:(0,n.jsx)("p",{className:"text-2xl font-semibold",children:"Nothing in the cart."})})})})]})}},70667:(e,t,l)=>{"use strict";l.d(t,{Button:()=>s});var n=l(22342),r=l(52619),i=l.n(r);let s=e=>{let{type:t,children:l,onClick:r,onMouseDown:s,onMouseUp:a,onMouseLeave:c,isActive:o=!1,disabled:d=!1,submit:u,href:h,className:x}=e,m=d?"opacity-60 pointer-events-none":"",g="".concat("w-full h-full cursor-pointer flex items-center justify-center transition-all duration-200 whitespace-nowrap"," ").concat({cta:"bg-white text-blue-100 rounded-full px-10","cta-blue":"bg-blue-100 text-white rounded-full","cta-outline":"bg-white text-grey-80 border border-grey-80 rounded-full","full-slim":o?"h-15 px-10 py-18 rounded-3xl border border-blue-100 bg-white":"h-15 px-10 py-18 rounded-full border border-slate2",pill:o?"px-3 lg:px-5 leading-8 lg:leading-12 rounded-pill border border-blue-100 bg-line-100 text-blue-100 text-sm lg:text-xl font-normal":"px-3 lg:px-5 leading-8 lg:leading-12 rounded-pill border border-grey-40 text-grey-60 text-body text-sm lg:text-xl font-normal",search:"bg-gray-100 text-gray-700 rounded-md px-4 py-2",action:o?"text-white rounded-full bg-green-10 !text-green-100":"text-white rounded-full bg-alert-success",blank:""}[t]).concat(m?" ".concat(m):"").concat(x?" ".concat(x):"");if(h)return(0,n.jsx)(i(),{href:h,className:g,onClick:r,children:l});let f={type:u?"submit":"button",className:g,disabled:d};return r&&(f.onClick=r),s&&(f.onMouseDown=s),a&&(f.onMouseUp=a),c&&(f.onMouseLeave=c),(0,n.jsx)("button",{...f,children:l})}},71069:(e,t,l)=>{"use strict";l.d(t,{WalletConnect:()=>C});var n=l(22342),r=l(33670),i=l(61636),s=l(47801),a=l(27395),c=l(50422),o=l(15170),d=l(17698),u=l(99539),h=l(20063),x=l(825),m=l(6438);let g=o.u,f=[(0,a.i)("io.metamask"),(0,a.i)("com.coinbase.wallet"),(0,a.i)("me.rainbow"),(0,a.i)("io.rabby"),(0,a.i)("io.zerion.wallet"),(0,c.q)({auth:{options:["google","discord","telegram","farcaster","email","x","passkey"]}})],C=e=>{let{welcomeBlurb:t}=e,l=(0,h.useRouter)(),a=(0,h.usePathname)(),c=(0,x.useActiveAccount)(),o=(0,r.useRef)(null==c?void 0:c.address),[C,p]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{c&&t&&(c.address!==o.current&&((null==a?void 0:a.includes("my-nfts"))&&l.push("/my-nfts"),"true"!==localStorage.getItem("agreedTerms_welcome_".concat(c.address))&&p(!0)),o.current=null==c?void 0:c.address)},[c,l,a,t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.ConnectButton,{client:s.L,chain:g,wallets:f,connectButton:{label:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.Ti,{}),(0,n.jsx)("span",{className:"ml-2",children:"Log In"})]}),className:"!stroke-white !w-fit !min-w-32 !px-8 !bg-blue-100 !rounded-full !text-white !md:text-2xl !font-medium [&:disabled_svg_circle]:!stroke-white"},detailsButton:{className:"!w-fit !min-w-max !px-4 !bg-blue-1 !border-none
1!rounded-full"},connectModal:{size:"compact",title:"Connect",showThirdwebBranding:!1},theme:(0,d._k)({colors:{primaryButtonBg:"#ECEEF8",primaryButtonText:"#0434AC",secondaryButtonBg:"#ECEEF8",secondaryButtonText:"#0434AC",connectedButtonBg:"#ECEEF8",primaryText:"#0434AC",accentButtonText:"#797E8B"}})}),(0,n.jsx)(m.Z,{show:C,onAgree:()=>p(!1),onDisagree:()=>p(!1),title:(null==t?void 0:t.title)||void 0,blurb:null==t?void 0:t.blurb,account:c?{address:c.address}:void 0,slug:"welcome"})]})}},71861:(e,t,l)=>{"use strict";l.d(t,{AdminNavLink:()=>u});var n=l(22342),r=l(33670),i=l(52619),s=l.n(i),a=l(825),c=l(29118),o=l(30926);let d=(0,o.createServerReference)("4024b9ea1e207930358c283bc97545d4358a2c8c85",o.callServer,void 0,o.findSourceMapURL,"isReadOnlyAdmin"),u=()=>{let e=(0,a.useActiveAccount)(),[t,l]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{(async()=>{if(!e)return l(!1);try{let[t,n]=await Promise.all([(0,c.qc)(e.address),d(e.address)]);l(!!(t||n))}catch(e){console.error(e),l(!1)}})()},[e]),t)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"relative group hidden md:flex md:text-sm rounded-full px-1 py-2",children:(0,n.jsx)(s(),{href:"/studio",className:"flex items-center text-blue-100",children:"Studio"})}),(0,n.jsx)("li",{className:"relative group hidden md:flex md:text-sm rounded-full px-1 py-2",children:(0,n.jsx)(s(),{href:"/admin",className:"flex items-center text-blue-100",children:"Admin Panel"})})]}):null}},73786:(e,t,l)=>{"use strict";l.d(t,{Q:()=>r});var n=l(30926);let r=(0,n.createServerReference)("7f6da85dc71c72c726ef45def2f62cb4003b8d414c",n.callServer,void 0,n.findSourceMapURL,"revalidateSyncTags")}}]);
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.