(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[145],{51929:function(e,t,s){"use strict";s.d(t,{Z:function(){return h}});var a=s(57437),i=s(66648),r=s(87138),l=s(53661),n=s.n(l),o=s(82506),c=s.n(o),d=e=>{let{color:t="white",width:s=16,height:i=12}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:i,viewBox:"0 0 16 12",fill:"none",children:(0,a.jsx)("path",{d:"M12.15 6.563H1C0.716667 6.563 0.479167 6.46717 0.2875 6.2755C0.0958333 6.08383 0 5.84633 0 5.563C0 5.27967 0.0958333 5.04217 0.2875 4.8505C0.479167 4.65883 0.716667 4.563 1 4.563H12.15L9.3 1.713C9.1 1.513 9.00417 1.27967 9.0125 1.013C9.02083 0.746333 9.11667 0.513 9.3 0.313C9.5 0.113 9.7375 0.00883333 10.0125 0.0005C10.2875 -0.00783333 10.525 0.088 10.725 0.288L15.3 4.863C15.4 4.963 15.4708 5.07133 15.5125 5.188C15.5542 5.30467 15.575 5.42967 15.575 5.563C15.575 5.69633 15.5542 5.82133 15.5125 5.938C15.4708 6.05467 15.4 6.163 15.3 6.263L10.725 10.838C10.525 11.038 10.2875 11.1338 10.0125 11.1255C9.7375 11.1172 9.5 11.013 9.3 10.813C9.11667 10.613 9.02083 10.3797 9.0125 10.113C9.00417 9.84633 9.1 9.613 9.3 9.413L12.15 6.563Z",fill:t})})};function h(e){let{btnType:t="link",text:s,arrowIcon:l,arrowColor:o,textColor:h,backgroundColor:u,linkUrl:m="",icon:f,newTab:x=!1,clickFunction:b=()=>{}}=e;return(0,a.jsx)(a.Fragment,{children:"link"==t?(0,a.jsxs)(r.default,{href:m,className:"".concat(c().className," font-bold font-h5 ").concat(n().button),style:{color:h,backgroundColor:u},target:x?"_target":"_blank",rel:x?"noopener noreferrer":"",children:[f&&(0,a.jsx)(i.default,{src:f,width:50,alt:"icon"}),s,l&&(0,a.jsx)("span",{className:n().arrowWrapper,children:(0,a.jsx)(d,{color:o})})]}):(0,a.jsxs)("button",{className:"".concat(c().className," font-bold font-h5 ").concat(n().button),style:{color:h,backgroundColor:u},onClick:e=>b(e),children:[s,l&&(0,a.jsx)("span",{className:n().arrowWrapper,children:(0,a.jsx)(d,{color:o})})]})})}},93335:function(e,t,s){"use strict";s.d(t,{Z:function(){return y}});var a=s(57437),i=s(2265),r=s(87138),l=s(66648),n=s(98503),o=s(75795),c=s(93982),d=s.n(c),h=s(95940),u=s.n(h),m=s(29857),f=s.n(m),x=s(51929),b={src:"/_next/static/media/envelope.fe2789f0.svg",height:20,width:20,blurWidth:0,blurHeight:0};function _(){let[e,t]=(0,i.useState)(""),[s,r]=(0,i.useState)(!0),[n,o]=(0,i.useState)(!1),[c,d]=(0,i.useState)(""),h=async s=>{if(s.preventDefault(),!/^\S+@\S+\.\S+$/.test(e)){r(!1),o(!1),d("Invalid address. Please check your email address again.");return}try{let s=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})});if(!s.ok)throw Error("Failed to subscribe");await s.json(),o(!0),r(!0),t(""),d("")}catch(e){console.error("Error subscribing:",e.message),d("Failed to subscribe.")}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("form",{className:u().subscribtionForm,onSubmit:h,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(l.default,{src:b,width:20,alt:"icon",className:u().icon}),(0,a.jsx)("input",{type:"email",className:"".concat(u().emailInput," ").concat(f().className),placeholder:"Email address",value:e,onChange:e=>{t(e.target.value),r(!0),d(""),o(!1)},required:!0})]}),(0,a.jsx)(x.Z,{btnType:"button",linkUrl:"/",text:"Subscribe",arrowIcon:!0,arrowColor:"#fff",textColor:"#fff",clickFunction:e=>h(e)})]}),(0,a.jsx)("div",{className:"".concat(u().validationMsg," ").concat(!s||c||n?u().visible:""," font-p2 mt-3"),children:c&&!s?(0,a.jsx)("span",{className:u().validationError,children:c}):n&&"\uD83C\uDF89 Thanks for subscribing! You will be receiving our newsletter soon."})]})}var g=s(82506),j=s.n(g),v={src:"/_next/static/media/x.019b5b04.svg",height:25,width:24,blurWidth:0,blurHeight:0},p={src:"/_next/static/media/github.abb8220c.svg",height:28,width:29,blurWidth:0,blurHeight:0},w={src:"/_next/static/media/telegram.f261a6d9.svg",height:23,width:29,blurWidth:0,blurHeight:0},N={src:"/_next/static/media/youtube.09af8ea8.svg",height:36,width:35,blurWidth:0,blurHeight:0},k={src:"/_next/static/media/nostr.aeed5b03.svg",height:32,width:27,blurWidth:0,blurHeight:0},C={src:"/_next/static/media/bol2.7cfc4671.svg",height:52,width:51,blurWidth:0,blurHeight:0};function y(){let[e,t]=(0,i.useState)(!1),[s,c]=(0,i.useState)(!1);return(0,a.jsxs)("footer",{className:d().footer,children:[(0,a.jsxs)("div",{className:d().footeFormContainer,children:[(0,a.jsx)(r.default,{href:"/",children:(0,a.jsx)(l.default,{src:o.Z,width:58,height:58,alt:"logo"})}),(0,a.jsx)("h2",{className:"".concat(j().className," font-regular font-h2 mb-4"),children:"Get the latest updates on Liquid"}),(0,a.jsx)(_,{})]}),(0,a.jsxs)("div",{className:d().footerNav,children:[(0,a.jsxs)("ul",{className:"".concat(d().footerLinks),children:[(0,a.jsx)("li",{children:(0,a.jsx)("div",{onClick:()=>t(!0),className:"".concat(j().className," font-bold font-h5"),children:"Terms"})}),(0,a.jsx)("li",{children:(0,a.jsx)("div",{onClick:()=>c(!0),className:"".concat(j().className," font-bold font-h5"),children:"Privacy"})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://blog.liquid.net/",target:"_blank",className:"".concat(j().className," font-bold font-h5"),children:"Blog"})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://help.blockstream.com/hc/en-us/categories/900000056143-Liquid-Network/",target:"_blank",className:"".concat(j().className," font-bold font-h5"),children:"Support"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"mailto:business@liquid.net",className:"".concat(j().className," font-bold font-h5"),children:"Contact us"})})]}),(0,a.jsxs)("ul",{className:d().socialLinks,children:[(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://community.liquid.net/home",target:"_blank",children:(0,a.jsx)(l.default,{src:C,width:25,alt:"social media icon"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://x.com/Liquid_BTC",target:"_blank",children:(0,a.jsx)(l.default,{src:v,width:20,alt:"social media icon"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://primal.net/p/npub1nyyhnqahf3cgqzcc927x7eqyd2msgplfe27ddn6hpgu2m200wh2s0s7gan",target:"_blank",children:(0,a.jsx)(l.default,{src:k,width:25,alt:"social media icon"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://t.me/liquid_community",target:"_blank",children:(0,a.jsx)(l.default,{src:w,width:25,alt:"social media icon"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://github.com/elementsProject/elements",target:"_blank",children:(0,a.jsx)(l.default,{src:p,width:25,alt:"social media icon"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:"https://www.youtube.com/liquidnetwork",target:"_blank",children:(0,a.jsx)(l.default,{src:N,width:25,alt:"social media icon"})})})]})]}),(0,a.jsx)("div",{className:d().footerGlow}),(0,a.jsxs)(n.Z,{showModal:e,setShowModal:t,maxWidth:"750px",children:[(0,a.jsx)("h2",{className:"".concat(j().className," liquidColor font-light text-center font-h2 mb-4"),children:"Terms of Use Agreement"}),(0,a.jsxs)("p",{className:"text-center font-p2 leading",children:["Blockstream Corporation Inc., as technology provider to the Liquid Federation, operates this website. As such, users of this website are subject to Blockstream's website privacy policy, available",(0,a.jsx)(r.default,{href:"https://blockstream.com/privacy/",target:"_blank",className:"liquidColor",children:" here "}),"and Blockstream's website terms and conditions available",(0,a.jsx)(r.default,{href:"https://blockstream.com/terms/",target:"_blank",className:"liquidColor",children:" here"}),"."]})]}),(0,a.jsxs)(n.Z,{showModal:s,setShowModal:c,maxWidth:"750px",children:[(0,a.jsx)("h2",{className:"".concat(j().className," liquidColor font-light text-center font-h2 mb-4"),children:"Privacy Policy"}),(0,a.jsxs)("p",{className:"text-center font-p2 leading",children:["Blockstream Corporation Inc., as technology provider to the Liquid Federation, operates this website. As such, users of this website are subject to Blockstream's website privacy policy, available",(0,a.jsx)(r.default,{href:"https://blockstream.com/privacy/",target:"_blank",className:"liquidColor",children:" here "}),"and Blockstream's website terms and conditions available",(0,a.jsx)(r.default,{href:"https://blockstream.com/terms/",target:"_blank",className:"liquidColor",children:" here"}),"."]})]})]})}},98503:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var a=s(57437),i=s(70569),r=s.n(i);function l(e){let{children:t,showModal:s,maxWidth:i,setShowModal:l}=e;return(0,a.jsx)("div",{className:"".concat(r().modalOuter," ").concat(!s&&r().hidden),onClick:()=>l(!1),children:(0,a.jsxs)("div",{className:r().modalContainer,style:{maxWidth:i},onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("div",{className:r().modalClose,onClick:()=>l(!1),children:(0,a.jsxs)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("line",{x1:"25",y1:"25",x2:"75",y2:"75"}),(0,a.jsx)("line",{x1:"25",y1:"75",x2:"75",y2:"25"})]})}),t]})})}},22637:function(e,t,s){"use strict";s.d(t,{Z:function(){return x}});var a=s(57437),i=s(2265),r=s(87138),l=s(66648),n=s(16463),o=s(75795),c=s(48978),d=s.n(c),h=s(82506),u=s.n(h),m={src:"/_next/static/media/burger-menu.46954677.svg",height:800,width:800,blurWidth:0,blurHeight:0},f={src:"/_next/static/media/close.f96fa1a1.svg",height:800,width:800,blurWidth:0,blurHeight:0};function x(){let[e,t]=(0,i.useState)(!1),s=(0,n.usePathname)();return(0,a.jsxs)("nav",{className:d().navbar,children:[(0,a.jsx)("div",{children:(0,a.jsx)(r.default,{href:"/",children:(0,a.jsx)(l.default,{src:o.Z,width:58,height:58,alt:"logo"})})}),(0,a.jsxs)("div",{className:"".concat(u().className," font-bold"),children:[(0,a.jsx)("button",{onClick:()=>{t(!e)},className:d().hamburger,children:e?(0,a.jsx)(l.default,{src:f,width:30,alt:"icon"}):(0,a.jsx)(l.default,{src:m,width:30,alt:"icon"})}),(0,a.jsxs)("ul",{className:"".concat(e?d().nav_active:""," ").concat(d().navbar_links),children:[(0,a.jsx)("li",{className:"/"===s?d().active:"",children:(0,a.jsx)(r.default,{href:"/",children:"Home"})}),(0,a.jsx)("li",{className:"/federation"===s?d().active:"",children:(0,a.jsx)(r.default,{href:"/federation",children:"Federation"})}),(0,a.jsx)("li",{className:"/developers"===s?d().active:"",children:(0,a.jsx)(r.default,{href:"/developers",children:"Developers"})}),(0,a.jsx)("li",{className:"/enterprises"===s?d().active:"",children:(0,a.jsx)(r.default,{href:"/enterprises",children:"Enterprise"})}),(0,a.jsx)("li",{className:"/users"===s?d().active:"",children:(0,a.jsx)(r.default,{href:"/users",children:"Users"})}),(0,a.jsx)("li",{className:"/merchants"===s?d().active:"",children:(0,a.jsx)(r.default,{href:"/merchants",children:"Merchants"})}),(0,a.jsxs)("li",{className:d().navItemDropdown,children:[(0,a.jsx)("div",{className:d().moreButton,children:"More"}),(0,a.jsx)("div",{className:d().menuDropdown,children:(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:(0,a.jsx)("a",{target:"blank",href:"https://blog.liquid.net/",children:"Blog"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{target:"blank",href:"https://liquid.network/",children:"Block Explorer"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{target:"blank",href:"https://docs.liquid.net/",children:"Documentation"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{target:"blank",href:"https://help.blockstream.com/hc/en-us/categories/900000056143-Liquid-Network/",children:"Support"})})]})})]})]})]})]})}},63474:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var a=s(57437),i=s(82506),r=s.n(i);function l(e){let{title:t}=e;return t?(0,a.jsx)("h2",{className:"".concat(r().className," font-h2 font-regular mb-4 text-center"),children:t}):null}},53661:function(e){e.exports={button:"Button_button__8jU_S",arrowWrapper:"Button_arrowWrapper__fsslW"}},93982:function(e){e.exports={footer:"Footer_footer__Ir1kR",footerGlow:"Footer_footerGlow__zw3Ie",footeFormContainer:"Footer_footeFormContainer__tf3PT",footerNav:"Footer_footerNav__0dD18",footerLinks:"Footer_footerLinks__rQ2jN",socialLinks:"Footer_socialLinks__bkYdw"}},95940:function(e){e.exports={subscribtionForm:"Form_subscribtionForm__meTi9",icon:"Form_icon__QIkNM",emailInput:"Form_emailInput__nrc4y",subscribeBtn:"Form_subscribeBtn__l2Ldz",validationMsg:"Form_validationMsg__aYZ_B",visible:"Form_visible__pgSq0",validationError:"Form_validationError__c2fK4"}},70569:function(e){e.exports={modalOuter:"Modal_modalOuter__6pdvr",modalContainer:"Modal_modalContainer__87Zbj",modalClose:"Modal_modalClose__LpwmM",hidden:"Modal_hidden__UQBDI"}},48978:function(e){e.exports={navbar:"Navigation_navbar__3GOR8",navbar_links:"Navigation_navbar_links__vNpTF",nav_active:"Navigation_nav_active__v06gO",active:"Navigation_active__iWhq5",navItemDropdown:"Navigation_navItemDropdown__fd_wB",menuDropdown:"Navigation_menuDropdown__OG5gr",visible:"Navigation_visible__xJAWh",moreButton:"Navigation_moreButton__AMFyO",hamburger:"Navigation_hamburger__OaArM"}},75795:function(e,t){"use strict";t.Z={src:"/_next/static/media/logo.28b5ba97.svg",height:2e3,width:2e3,blurWidth:0,blurHeight:0}}}]);