"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[673],{35989:function(e,s,t){t.d(s,{W:function(){return a}});var n=t(85893),r=(t(67294),t(89583));function a(e){var s=e.social,t=e.size,a=void 0===t?"text-2xl":t;return s?(0,n.jsxs)("ul",{className:"flex flex-wrap items-center text-main space-x-6 z-20 relative ".concat(a),children:[s.telegram&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:s.telegram,target:"_blank",onClick:function(e){return e.stopPropagation()},className:"text-main",rel:"noreferrer",children:(0,n.jsx)(r.FaTelegramPlane,{})})}),s.telegramAnno&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:s.telegramAnno,target:"_blank",onClick:function(e){return e.stopPropagation()},className:"text-main",rel:"noreferrer",children:(0,n.jsx)(r.FaBullhorn,{})})}),s.twitter&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:s.twitter,target:"_blank",onClick:function(e){return e.stopPropagation()},className:"text-main",rel:"noreferrer",children:(0,n.jsx)(r.FaTwitter,{})})}),s.medium&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:s.medium,target:"_blank",onClick:function(e){return e.stopPropagation()},className:"text-main",rel:"noreferrer",children:(0,n.jsx)(r.FaMedium,{})})}),s.website&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:s.website,target:"_blank",onClick:function(e){return e.stopPropagation()},className:"text-main",rel:"noreferrer",children:(0,n.jsx)(r.FaGlobe,{})})}),s.github&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:s.github,target:"_blank",onClick:function(e){return e.stopPropagation()},className:"text-main",rel:"noreferrer",children:(0,n.jsx)(r.FaGithub,{})})}),s.whitepaper&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:s.whitepaper,target:"_blank",onClick:function(e){return e.stopPropagation()},className:"text-main",rel:"noreferrer",children:(0,n.jsx)(r.FaFileWord,{})})})]}):null}},78824:function(e,s,t){t.d(s,{o:function(){return o}});var n,r=t(9669),a=t.n(r),i=t(67294),l=new Set,c=function(e){return e&&l.add(e),new Promise((function(s){n||(n=new Promise((function(e){setTimeout((function(){0!=l.size&&a().get("https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=".concat(Array.from(l).join())).then(e),n=void 0}),200)}))),n.then((function(t){if(e){var n=t.data.find((function(s){return s.id===e}));if(n){var r=parseFloat(n.current_price),a=parseFloat(n.ath);if(r&&a)s({price:r,athPrice:a})}}}))}))};function o(e){var s=(0,i.useState)(),t=s[0],n=s[1];return(0,i.useEffect)((function(){c(e).then(n)}),[e]),t}},61735:function(e,s,t){t(85893),t(67294),t(68067)},19431:function(e,s,t){t.d(s,{G:function(){return l}});var n=t(85893),r=t(95749),a=(t(67294),t(89583)),i=t(82555);function l(e){var s=e.center,t=e.children,l=(0,r.useUser)().kycStatus,c=function(e){var t=e.children;return(0,n.jsx)("div",{className:s?"space-y-3 text-center border-t border-main pt-6 pb-3 border-opacity-30 relative z-20":"space-y-3 relative z-20",children:t})};return"valid"===l?t||(0,n.jsx)(c,{children:(0,n.jsxs)("div",{className:"flex items-center justify-center",children:[(0,n.jsx)("span",{children:"KYC verified"})," ",(0,n.jsx)(a.FaCheck,{className:"text-green-600 ml-1"})]})}):"pending"===l||"processing"===l?(0,n.jsxs)(c,{children:["KYC: ",(0,n.jsx)("b",{children:"In review"})," ",(0,n.jsx)(a.FaCircleNotch,{className:"inline fa-spin ml-1 align-text-bottom"})]}):"invalid"===l?(0,n.jsxs)(c,{children:[(0,n.jsx)("p",{children:"You did not pass KYC and can't participate in this IDO."}),(0,n.jsx)(i.o,{label:"Try again"})]}):(0,n.jsxs)(c,{children:[(0,n.jsx)("p",{children:"This IDO requires KYC verification."}),(0,n.jsx)(i.o,{})]})}},50942:function(e,s,t){t.d(s,{P:function(){return j}});var n=t(85893),r=t(95749),a=t(67294),i=t(21297),l=t(41664),c=t(35005),o=t(89583),d=t(68067),u=t(59707),x=t(72132),m=t(88258);function h(e){var s=e.center,t=function(){b&&(U(!0),v.methods.register().send({from:b}).then((function(e){L(),function(e){var s=e.content,t=e.tx;x.Am.success((0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("h4",{className:"text-green-900",children:"Success"}),(0,n.jsx)("p",{className:"text-white",children:s}),(0,n.jsx)("p",{children:(0,n.jsx)("a",{href:(0,m.Qd)(t.transactionHash),className:"text-green-900",children:"Transaction"})})]}))}({content:'You registered for the "'.concat(g.name,'" sale!'),tx:e})})).catch((function(e){!function(e){var s=e.content,t=e.txHash,r=e.error;x.Am.error((0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("h4",{className:"text-red-000",children:"Failed"}),(0,n.jsx)("p",{className:"text-white",children:s}),t&&(0,n.jsx)("p",{children:(0,n.jsx)("a",{href:(0,m.Qd)(t),className:"text-red-900",children:"Transaction"})}),(0,n.jsxs)("p",{children:["Error: ",(null===r||void 0===r?void 0:r.message)||r.toString()]})]}))}({content:'Failed to register in "'.concat(g.name,'" sale!'),error:e})})).finally((function(){return U(!1)})))},h=(0,r.useLaunchpadProvider)().levels,f=(0,r.usePool)(),j=f.pool,p=j.sale,g=j.token,v=f.saleInstance,b=(0,r.useUser)().account,y=(0,r.useUserSaleTier)(),N=y.tierState,k=N.tier,w=N.isLocked,S=y.isWhitelisted,T=y.isCurrentTierLoading,F=y.registeredTier,P=y.userState,C=P.weight,A=P.isWinner,L=y.refresh,B=(0,a.useState)(!1),I=B[0],U=B[1];if(!b)return null;if(!p.isTiered)return null;if(T)return(0,n.jsx)(o.FaCircleNotch,{size:40,className:"inline fa-spin opacity-50"});var _=function(e){var t=e.children;return(0,n.jsx)("div",{className:s?"space-y-3 text-center border-t border-main py-3 border-opacity-30 relative z-20":"space-y-3 relative z-20",children:t})},D=function(){return p.registerDate?(0,n.jsx)("p",{className:"text-sm",children:"\u26a0\ufe0f The registration will lock your staked tokens for 21 days from the start of the sale if less than that of lock-up period is left in the pool your tokens are staked in."}):null},Y=function(e){var s=e.buttonLabel,r=e.showLock,a=void 0===r||r;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c.Z,{variant:"main",disabled:I,onClick:function(e){e.stopPropagation(),e.preventDefault(),t()},children:[s||"Register in IDO"," ",I&&(0,n.jsx)(o.FaCircleNotch,{size:20,className:"inline fa-spin"})]}),a&&w&&(0,n.jsx)(D,{})]})};if(!C&&S)return k.multiplier>0?(0,n.jsxs)(_,{children:[(0,n.jsxs)("p",{children:["You are whitelisted! But you also can register as"," ",(0,n.jsx)(d.c,{name:k.name}),"."]}),(0,n.jsx)(Y,{})]}):(0,n.jsx)(_,{children:(0,n.jsx)("p",{children:"You are whitelisted!"})});if(!F.multiplier&&k.multiplier>0){if(p.minAllowedLevelMultiplier&&k.multiplier=p.minAllowedLevelMultiplier}));return(0,n.jsxs)(_,{children:[(0,n.jsxs)("p",{children:["This IDO is private. You need at least the"," ",(0,n.jsx)(d.c,{name:R.name})," level."]}),(0,n.jsx)(l.default,{href:"/levels",passHref:!0,children:(0,n.jsx)(c.Z,{variant:"main",children:"Stake more"})})]})}return(0,n.jsxs)(_,{children:[(0,n.jsxs)("p",{children:["Your level is ",(0,n.jsx)(u.T,{tier:k}),"."]}),(0,n.jsx)(Y,{})]})}return F.multiplier?k.multiplier>0&&(k.multiplier>F.multiplier||!k.random&&F.random||k.random&&F.random&&k.odds>F.odds)?(0,n.jsxs)(_,{children:[(0,n.jsxs)("p",{children:["You registered as ",(0,n.jsx)(u.T,{tier:F})," level, but your current ",(0,n.jsx)(u.T,{tier:k})," is higher."]}),(0,n.jsx)(Y,{buttonLabel:"Up your level",showLock:!1})]}):F.random?(0,n.jsx)(_,{children:A?(0,n.jsxs)(n.Fragment,{children:["You've won a place in the lottery as"," ",(0,n.jsx)(u.T,{tier:F})," level!"]}):(0,n.jsxs)(n.Fragment,{children:["You've got a place in the lottery as"," ",(0,n.jsx)(u.T,{tier:F})," level. ",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"Winners will be picked before the IDO start."]})}):(0,i.isNFTSale)(p)?(0,n.jsxs)(_,{children:["You've got an allocation as"," ",(0,n.jsx)(u.T,{tier:F})," level. It's not guaranteed. This sale is FCFS."]}):(0,n.jsxs)(_,{children:["You've got a guaranteed allocation as"," ",(0,n.jsx)(u.T,{tier:F})," level."]}):(0,n.jsxs)(_,{children:[(0,n.jsxs)("p",{children:["Your level ",(0,n.jsx)(d.c,{name:k.name})," is too low to participate."]}),(0,n.jsx)(l.default,{href:"/levels",passHref:!0,children:(0,n.jsx)(c.Z,{variant:"main",children:"Stake more"})})]})}var f=t(19431);function j(e){var s=e.pool,t=e.center,a=s.sale,i=(0,r.useUser)().kycStatus;return a.status===r.SaleStatus.static?s.kyc&&"valid"!==i?(0,n.jsx)(f.G,{center:t}):null:a.status===r.SaleStatus.register?s.kyc?(0,n.jsx)(f.G,{center:t,children:(0,n.jsx)(h,{center:t})}):(0,n.jsx)(h,{center:t}):null}},13284:function(e,s,t){t.d(s,{f:function(){return u}});var n=t(85893),r=(t(67294),"/_next/static/media/ada.08b7eaf3.png"),a="/_next/static/media/bnb.7cc16f9e.svg",i="/_next/static/media/dot.b06ab00d.svg",l="/_next/static/media/eth.b741d80d.png",c="/_next/static/media/polygon.5f530928.svg",o="/_next/static/media/solana.537d2425.png",d="/_next/static/media/terra.65a9a206.png";function u(e){var s=e.chain;return"ETH"===s?(0,n.jsx)("div",{className:"rounded-full h-7 w-7 flex items-center justify-center bg-opacity-70 bg-indigo-400",style:{padding:4},children:(0,n.jsx)("img",{src:l,alt:"Ethereum",className:"h-full img-white"})}):"SOL"===s?(0,n.jsx)("div",{className:"rounded-full h-7 w-7 flex items-center justify-center bg-opacity-70 bg-solana",style:{padding:6},children:(0,n.jsx)("img",{src:o,alt:"Solana",className:"h-full img-white"})}):"BSC"===s?(0,n.jsx)("div",{className:"rounded-full h-7 w-7 flex items-center justify-center bg-opacity-70 bg-acc",children:(0,n.jsx)("img",{src:a,alt:"BNB Chain",className:"h-full w-full"})}):"DOT"===s?(0,n.jsx)("div",{className:"rounded-full h-7 w-7 flex items-center justify-center bg-opacity-70 bg-polkadot",style:{padding:2},children:(0,n.jsx)("img",{src:i,alt:"PolkaDot",className:"h-full img-white"})}):"ADA"===s?(0,n.jsx)("div",{className:"rounded-full h-7 w-7 flex items-center justify-center bg-opacity-70 bg-ada",style:{padding:2},children:(0,n.jsx)("img",{src:r,alt:"Cardano",className:"h-full img-white"})}):"POLY"===s?(0,n.jsx)("div",{className:"rounded-full h-8 w-8 flex items-center justify-center",style:{padding:2},children:(0,n.jsx)("img",{src:c,alt:"Polygon",className:"h-full"})}):"TERRA"===s?(0,n.jsx)("div",{className:"rounded-full h-8 w-8 flex items-center justify-center bg-white",style:{padding:2},children:(0,n.jsx)("img",{src:d,alt:"Terra",className:"h-full rounded-full"})}):null}},16354:function(e,s,t){t.d(s,{a:function(){return c}});var n=t(85893),r=t(21297),a=(t(67294),t(7222)),i=t(52673),l=t(88258);function c(e){var s=e.topLeft,t=e.hideDetails,c=(0,i.AI)().pool,d=c.sale,u=c.fundToken,x=c.token,m=(0,l.oT)(d.tokensSold),h=(0,r.isNFTSale)(d)?100*d.tokensSold.toNumber()/(0,l.oT)(d.tokensForSale):100*(0,l.oT)(d.tokensSold)/(0,l.oT)(d.tokensForSale),f=h?(0,l.lt)(h,2):0;return(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsxs)("div",{className:"flex justify-between text-sm tracking-wide space-x-3",children:[(0,n.jsx)("div",{className:"",children:s}),(0,n.jsx)("div",{className:"font-medium opacity-90 text-right",children:(0,n.jsxs)(a.ug,{children:[f,"%"]})})]}),(0,n.jsx)(o,{now:h}),!t&&(0,n.jsxs)("div",{className:"flex justify-between text-sm tracking-wide space-x-3",children:[(0,n.jsxs)("div",{className:"text-ignored opacity-90 flex-shrink-0",children:[(0,l.dv)(d.raised)," ",u.symbol]}),(0,n.jsxs)("div",{className:"text-ignored opacity-90 text-right",children:[(0,r.isNFTSale)(d)?d.tokensSold.toString():(0,l.dv)(m)," /"," ",(0,l.dv)(d.tokensForSale)," ",x.symbol]})]})]})}function o(e){var s=e.now;return(0,n.jsx)("div",{className:"h-2 bg-gray-600 flex overflow-hidden rounded",style:{boxShadow:"inset 0 0.1rem 0.1rem rgb(0 0 0 / 10%)"},children:(0,n.jsx)("div",{role:"progressbar",className:"bg-primary",style:{width:"".concat(s,"%")},"aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100})})}},11640:function(e,s,t){t.d(s,{b:function(){return u}});var n=t(85893),r=t(95749),a=t(27484),i=t.n(a),l=t(67294),c=t(52673),o=t(88258);function d(e,s){return function(e){if(Array.isArray(e))return e}(e)||function(e,s){var t=[],n=!0,r=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(t.push(i.value),!s||t.length!==s);n=!0);}catch(c){r=!0,a=c}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}return t}(e,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(e){var s=e.shorterIfBig,t=void 0===s||s,a=e.isSoldOut,u=(0,r.usePool)().isLoading,x=d((0,r.usePoolSale)(),1)[0],m=(0,c.AX)(),h=m.start,f=m.end,j=m.registerStart,p=m.registerEnd,g=m.fcfsStart,v=(0,l.useState)((function(){return i()()})),b=v[0],y=v[1];if((0,l.useEffect)((function(){if(h){var e=setInterval((function(){return y(i()())}),1e3);return function(){return clearInterval(e)}}}),[h]),u)return null;if(!h)return(0,n.jsx)("span",{children:"TBA"});var N=j&&(0,o.og)(b,j),k=p&&(0,o.og)(b,p),w=(0,o.og)(b,h),S=f&&(0,o.og)(b,f),T=g&&(0,o.og)(b,g),F=(0,o.og)(f,b);return(null===N||void 0===N?void 0:N.asSeconds())>0?(0,n.jsxs)("span",{className:"break-words",children:["registration opens in"," ",(0,o.US)(N,{smallerIfBig:t})]}):(null===k||void 0===k?void 0:k.asSeconds())>0?x.reachedMinBaseAllocation?(0,n.jsx)("span",{className:"break-words",children:"min base allocation reached, registration closed"}):(0,n.jsxs)("span",{className:"break-words",children:["registration closes in"," ",(0,o.US)(k,{smallerIfBig:t})]}):w.asSeconds()>0?(0,n.jsxs)("span",{children:["opens in ",(0,o.US)(w,{smallerIfBig:t})]}):(null===S||void 0===S?void 0:S.asSeconds())>0?a?(0,n.jsx)("span",{children:"closed, sold out"}):(null===T||void 0===T?void 0:T.asSeconds())>0?(0,n.jsxs)("span",{children:["FCFS opens in"," ",(0,o.US)(T,{smallerIfBig:t})]}):(0,n.jsxs)("span",{children:[T?"FCFS closes":"closes"," in"," ",(0,o.US)(S,{smallerIfBig:t})]}):(0,n.jsxs)("span",{children:["finished ",(0,o.US)(F,{smallerIfBig:t})," ago"]})}},52673:function(e,s,t){t.d(s,{AP:function(){return A},n2:function(){return r.PoolProvider},Z5:function(){return r.UserSaleTierProvider},Td:function(){return n.T},dn:function(){return r.useClaimerContract},AI:function(){return r.usePool},Dt:function(){return r.usePriceConverters},Ve:function(){return r.useSaleBaseAllocation},rd:function(){return r.useSaleRate},AX:function(){return r.useSaleTimeline},sv:function(){return r.useUserPoolContribution},eE:function(){return r.useUserSaleTier}});var n=t(81642),r=t(95749),a=t(98001),i=t(85893),l=t(21297),c=t(42691),o=t(27484),d=t.n(o),u=t(41664),x=(t(67294),t(62255)),m=t(89583),h=t(27977);function f(e){var s=e.className,t=e.children;return(0,i.jsx)(h.Z,{pill:!0,variant:"secondary",className:"".concat(s," py-1 px-2 font-normal tracking-wider h-6 leading-4 uppercase"),children:t})}var j=t(35989),p=t(78824),g=t(32839);var v=t(8002);function b(e){var s=e.pool.access,t="py-1 px-2 font-normal tracking-wider h-6 leading-4 uppercase";return"levels_fcfs"===s?(0,i.jsx)(h.Z,{pill:!0,variant:"secondary",className:"".concat(t," bg-gray-400 bg-opacity-20 text-gray-300"),children:"Levels FCFS"}):"private"===s?(0,i.jsxs)(h.Z,{pill:!0,variant:"secondary",className:"".concat(t," bg-gray-400 bg-opacity-20 text-gray-300"),children:["Private ",(0,i.jsx)(m.FaLock,{className:"inline-block mt-[-3px]"})]}):"seed"===s?(0,i.jsxs)(h.Z,{pill:!0,variant:"secondary",className:"".concat(t," bg-gray-400 bg-opacity-20 text-gray-300"),children:["Seed ",(0,i.jsx)(m.FaLock,{className:"inline"})]}):"whitelist"===s?(0,i.jsx)(h.Z,{pill:!0,variant:"secondary",className:"".concat(t," bg-gray-400 bg-opacity-20 text-gray-300"),children:"Whitelist"}):null}var y=t(16354),N=t(11640),k=t(88258),w=t(19394),S=(t(61735),t(50942)),T=function(e){var s=e.pool,t=e.isListed,n=s.sale.tokensForSale.sub(s.sale.tokensSold).lt(s.sale.tokensForSale.div((0,k.MN)(100)));if(t)return(0,i.jsx)(f,{className:"bg-opacity-40 bg-green-700 text-green-500",children:"Listed"});var r=s.sale.status;return[a.R.static,a.R.init,a.R.preRegister].includes(r)?(0,i.jsx)(f,{className:"bg-gray-400 bg-opacity-20 text-gray-300",children:"Upcoming"}):r===a.R.register?(0,i.jsx)(f,{className:"bg-opacity-40 bg-green-700 text-green-500",children:"Register"}):r===a.R.open?(0,i.jsx)(f,{className:"bg-opacity-40 bg-green-700 text-green-500",children:"Live"}):r===a.R.finished?(0,i.jsx)(f,{className:"bg-gray-400 bg-opacity-20 text-gray-300",children:n?"Filled":"Ended"}):null},F=t(13284),P=function(e){var s=e.pool,t=s.sale,n=s.token,a=s.fundToken,l=(0,r.usePriceConverters)().usdToCurrency,c=(0,r.useSaleRate)().currencyPerToken;return t.rateString?(0,i.jsx)("div",{className:"text-main inline",children:t.rateString}):(0,i.jsx)("div",{className:"text-main inline",children:t.rate?(0,i.jsxs)("span",{children:["1 ",n.symbol," ="," ",t.fixedUsdPrice?(0,k.dv)(l(t.fixedUsdPrice)):(0,k.dv)(c)," ",a.symbol]}):"TBA"})};function C(e){var s=e.token,t=e.fundToken;return(0,l.isNFTPool)(e)?"INO":s.symbol?"BUSD"!==t.symbol?"$".concat(s.symbol," / ").concat(t.symbol):"$".concat(s.symbol):"TBA"}function A(){var e,s,t,n=(0,r.usePool)(),a=n.pool,o=n.isSoldOut,h=n.isFinished,A=a.sale,L=a.token,B=a.fundToken,I=a.token.listingTime,U=(0,r.useSaleTimeline)().start,_=(0,r.useSaleBaseAllocation)(),D=_.baseCurrencyAllocation,Y=_.isApprox,R=(0,r.usePriceConverters)().tokensToCurrency,O=(0,p.o)(a.token.coingeckoId),Z=(0,r.useIsTokenListed)(),z=Z.isListed,E=Z.isValid,M=(s=A.address,{contribution:(0,g.G)().contributions.find((function(e){return e.saleAddress===s.toLowerCase()}))}).contribution;L.athXManual?t=L.athXManual:O&&A.rate&&(t=O.athPrice/(1/A.rate));var W=!(0,l.isNFTPool)(a)&&"whitelist"!==a.access&&A.status>=r.SaleStatus.register&&D.gtn(0),G=h&&t;return(0,i.jsxs)(x.Z,{className:"hover:shadow-xl hover:bg-opacity-20 hover:bg-gray-800 bg-dark2 border-mainDark h-full hover:-translate-y-2 transform transition relative overflow-hidden",children:[(0,i.jsx)("div",{className:"absolute z-0 min-w-full transform scale-150 -bottom-16 -right-1/4 opacity-30",children:(0,i.jsx)("img",{src:c.h6.src,className:"opacity-5 w-full h-full",alt:"Bg"})}),(0,i.jsx)(u.default,{href:(0,w.Dg)(a),children:(0,i.jsx)("a",{className:"absolute top-0 left-0 h-full w-full z-10"})}),(0,i.jsxs)(x.Z.Body,{className:"space-y-6 flex flex-col justify-between",children:[(0,i.jsxs)("div",{className:"space-y-3",children:[(0,i.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h2",{className:"text-2xl font-semibold font-kgqj",children:L.name}),(0,i.jsx)("p",{className:"text-secondary leading-none text-sm",children:C(a)})]}),(0,i.jsx)("div",{className:"relative",children:(0,i.jsxs)("div",{className:"h-20 w-20 overflow-hidden rounded-full border-2 border-mainDark flex items-center justify-center",children:[(0,i.jsx)("img",{className:"w-full",src:L.imageSrc||c.dP.src,alt:L.name}),(0,i.jsx)("div",{className:"absolute bg-dark1 rounded-full -bottom-1 -right-1",children:(0,i.jsx)(F.f,{chain:L.chain})}),(0,i.jsxs)("div",{className:"absolute top-[-5px] right-0",children:[(A.status>=r.SaleStatus.register&&A.status<=r.SaleStatus.open||"artemisvision"===a.id)&&(0,i.jsx)("div",{className:"text-2xl",children:"\ud83d\udd25"}),M&&(0,i.jsx)(m.FaCheckCircle,{className:"text-2xl text-green-500"})]})]})})]}),(0,i.jsx)("div",{className:"pb-3",children:(0,i.jsx)(j.W,{size:"text-2xl",social:a.social})}),(0,i.jsxs)("div",{className:"flex items-center space-x-3 flex-wrap",children:[!1,(0,i.jsx)(T,{pool:a,isListed:z}),a.sale.refunded&&(0,i.jsx)(f,{className:"bg-opacity-20 bg-red-600 text-red-500",children:"Refunded"}),(0,i.jsx)(b,{pool:a})]}),(0,i.jsx)("div",{className:"overflow-hidden h-[45px]",style:{maskImage:"linear-gradient(to bottom, black 50%, transparent 100%)",WebkitMaskImage:"linear-gradient(to bottom, black 50%, transparent 100%)"},children:(0,i.jsx)("div",{className:"text-sm opacity-70",children:a.descriptionShort||a.description})})]}),(0,i.jsxs)("div",{className:"space-y-3",children:[(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)("span",{children:"Total Raise"}),(0,i.jsx)("span",{className:"text-[1.5rem] -my-[1rem] text-main font-Rubik",children:(0,w.OI)(A,B)})]}),(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)("span",{children:"Starts"}),(0,i.jsx)("span",{className:"text-main",children:U?"".concat(U.format(v.U5.noYear)):"TBA"})]}),!(0,l.isNFTPool)(a)&&!(h&&!A.rate)&&(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)("span",{children:"Price"}),(0,i.jsx)(P,{pool:a})]}),(null===(e=A.minBaseAllocation)||void 0===e?void 0:e.gtn(0))&&(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:"text-sm mb-2",children:["Min 1x allocation:"," ",(0,i.jsxs)("span",{className:"text-main",children:["$",(0,k.dv)(R(A.minBaseAllocation))]})]}),(0,i.jsx)("div",{className:"text-sm",children:"\u26a0\ufe0f FCFS registration \u26a0\ufe0f"})]}),(0,i.jsx)("div",{className:"mb-6 pt-3",children:(0,i.jsx)(y.a,{topLeft:(0,i.jsx)(N.b,{isSoldOut:o}),hideDetails:A.status===r.SaleStatus.finished})}),(0,i.jsxs)("div",{className:"flex justify-between gap-6",children:[W&&(0,i.jsxs)("div",{children:[(0,i.jsxs)("p",{className:"text-sm mb-0",children:["1x ",Y&&"(approx) ","="]}),(0,i.jsxs)("p",{className:"text-main",children:["$",(0,k.dv)(D,2)]})]}),!z&&(0,i.jsxs)("div",{className:"text-right ml-auto",children:[(0,i.jsx)("p",{className:"text-sm mb-0",children:"Listing Time"}),(0,i.jsx)("div",{className:"text-main",children:E?d()(I).utc().format(v.U5.noYear):I||"TBA"})]}),G&&(0,i.jsxs)("div",{className:"text-right",children:[(0,i.jsx)("p",{className:"text-sm mb-0",children:"ATH X"}),(0,i.jsxs)("div",{className:"text ".concat(t>=1?"bg-opacity-40 text-green-500":"bg-opacity-40 text-red-500"," "),children:["x",t.toFixed(2)]})]})]})]}),(0,i.jsx)(S.P,{pool:a,center:!0})]})]})}},59707:function(e,s,t){t.d(s,{c:function(){return r},T:function(){return a}});var n=t(85893);t(67294);function r(e){var s=e.className,t=void 0===s?"":s,r=e.name;return(0,n.jsx)("span",{className:"font-secondary tracking-wide uppercase ".concat(t),children:r})}var a=function(e){var s=e.tier;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r,{name:s.name})," ",(0,n.jsxs)("span",{className:"text-sm",children:["[",s.multiplier,"x]"]})]})}},68067:function(e,s,t){t.d(s,{m:function(){return c},c:function(){return o.c}});var n=t(85893),r=(t(67294),t(62255)),a=t(89583),i=t(3780),l=t(88258);function c(e){var s=e.tier;return(0,n.jsx)(r.Z,{bg:"darker",className:"bg-dark2 border-dark1 hover:bg-dark2-hover border-2 \n shadow-xl hover:shadow-none hover:border-dark2-hover",children:(0,n.jsxs)(r.Z.Body,{className:"space-y-8 text-center py-8",children:[(0,n.jsx)("h2",{className:"font-secondary uppercase text-2xl tracking-wider",children:s.name}),s.multiplier>=i.P.partner.multiplier&&(0,n.jsx)("div",{className:"brand-text text-2xl leading-none uppercase",children:"Private access"}),(0,n.jsxs)("div",{className:"bg-mainDark bg-opacity-25 -mx-5 py-3 space-y-6 shadow-xl",children:[(0,n.jsx)("div",{className:"opacity-60 text-sm",children:"Staking Requirements"}),(0,n.jsxs)("div",{className:"font-Ubuntu tracking-wide flex items-center justify-center",children:[(0,n.jsx)("div",{className:"mx-2 brand-text text-5xl font-Rubik",children:(0,l.dv)(s.minAmount)}),(0,n.jsx)("div",{className:"text-lg opacity-60",children:"TPAD"})]}),!1]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm opacity-60 mb-1",children:"Pool Weight"}),(0,n.jsxs)("div",{className:"text-5xl brand-text",children:[s.multiplier,"x"]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm opacity-60 mb-1",children:"Allocation Type"}),(0,n.jsx)("div",{className:"text-xl inline-flex items-center justify-center",children:s.random?(0,n.jsxs)("span",{children:["Lottery (",s.odds,"%)"]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:"Guaranteed"})," ",(0,n.jsx)(a.FaCheck,{className:"inline text-green-600 ml-2"})]})})]})]})})}var o=t(59707)}}]); //# sourceMappingURL=673-0fbf2537f9dfcdd6.js.map