1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8d271268-302e-415b-a48b-0aafa665c916",e._sentryDebugIdIdentifier="sentry-dbid-8d271268-302e-415b-a48b-0aafa665c916")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d2911879bc35c39df91a8e85b8eeba45c19f4ad7"};"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1039],{57858:function(e,t){t.Z=function(e){var t=n.find(function(t){return Math.pow(10,t.digits)<e});if(!t)return e;var r=t.digits,i=t.label,l=Math.pow(10,r),a=l.toString().substring(1,3);return"".concat(Math.floor(e/l)).concat("00"===a||"e+"===a?"":",".concat(a)," ").concat(i)};var n=[{digits:21,label:"sextillion"},{digits:18,label:"quintillion"},{digits:15,label:"Quadrillion"},{digits:12,label:"Trillion"},{digits:9,label:"Billion"},{digits:6,label:"Million"},{digits:3,label:"Thousand"}]},91521:function(e,t,n){function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.Z=function(e,t){var i=e.action,l=e.initialData,a=e.onSuccess,o=e.onError,s=e.sentry,c=void 0!==s&&s,u=_slicedToArray((0,r.useState)(!1),2),d=u[0],f=u[1],x=_slicedToArray((0,r.useState)(),2),p=x[0],h=x[1],g=_slicedToArray((0,r.useState)(l),2),j=g[0],b=g[1];return[(0,r.useCallback)(function(){return f(!0),i.apply(void 0,arguments).then(function(e){var t=(null==e?void 0:e.data)||e;return h(),b(t),f(!1),a&&a(t),t}).catch(function(e){h(e),b(l),f(!1),o&&o(e),c&&Promise.resolve().then(function(){return function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=i?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(r,l,a):r[l]=e[l]}return r.default=e,n&&n.set(e,r),r}(n(71817))}).then(function(t){return(0,t.captureException)(e)})})},t),j,d,p]};var r=n(67294);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function(e){return e?n:t})(e)}function _slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,l,a,o=[],s=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=l.call(n)).done)&&(o.push(r.value),o.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}},54205:function(e,t){t.Z={src:"/_next/static/media/todaysBest.22ecc963.svg",height:256,width:256,blurWidth:0,blurHeight:0}},54383:function(e,t,n){var r=n(82729),i=n(18087),l=n(70714);function _templateObject(){let e=(0,r._)(["\n white-space: nowrap;\n"]);return _templateObject=function(){return e},e}let a=(0,l.default)(i.x).withConfig({componentId:"sc-6e4c769a-0"}
1)(_templateObject());t.Z=a},21195:function(e,t,n){n.r(t),n.d(t,{default:function(){return Desktop}});var r=n(85893),i=n(16839),l=n(18087),a=n(3896),o=n(94200),s=n(52941),c=n(40310),u=n(67294),d=n(42708),f=n(54383),x=n(26413),p=n(55452),h=n(46404),g=n(70212),j=n(10425),b=n(57858),y=n(10407);function Amount(e){let{slug:t}=e,{amount:n}=(0,y.z6)(t);return(0,r.jsx)(l.x,{children:(0,b.Z)(n)})}var m=n(74201);function EndDate(e){let{slug:t}=e,{endDate:n}=(0,y.z6)(t);return(0,r.jsx)(o.x,{children:(0,r.jsx)(l.x,{wordBreak:"break-all",children:(0,m.Z)(n,"dd LLL")})})}function StartDate(e){let{slug:t}=e,{startDate:n}=(0,y.z6)(t);return(0,r.jsx)(o.x,{children:(0,r.jsx)(l.x,{wordBreak:"break-all",children:(0,m.Z)(n,"dd LLL")})})}var w=n(76286);function Participants(e){let{slug:t}=e,{totalParticipants:n,status:i}=(0,y.z6)(t);return(0,r.jsx)(o.x,{children:(0,r.jsx)(l.x,{wordBreak:"break-all",children:"pending"===i?"-":n})})}function Winners(e){let{slug:t}=e,{winners:n}=(0,y.z6)(t);return(0,r.jsx)(o.x,{children:(0,r.jsx)(l.x,{wordBreak:"break-all",children:n})})}function Row(e){let{gaCategory:t,slug:n,rank:a,firstIndex:o,index:s,navigate:c}=e,d={slug:n,navigate:c,gaCategory:t,index:s};return(0,r.jsxs)(u.Fragment,{children:[(0,r.jsx)(i.p,{size:"20px",align:"left",pad:{left:"medium"},children:(0,r.jsx)(j.Z,{slug:n})},"watchlist"),a&&(0,r.jsxs)(i.p,{size:"20px",pad:{horizontal:"small"},children:[(0,r.jsx)(l.x,{children:o+s+1}),(0,r.jsx)(x.Z,{...d,first:!0})]},"rank"),(0,r.jsxs)(i.p,{size:"56px",align:"left",children:[(0,r.jsx)(h.Z,{slug:n}),(0,r.jsx)(x.Z,{...d,first:!0})]},"icon"),(0,r.jsxs)(i.p,{align:"left",size:"170px",children:[(0,r.jsx)(g.vJ,{slug:n}),(0,r.jsx)(x.Z,{...d})]},"name"),(0,r.jsxs)(i.p,{size:"74px",align:"left",children:[(0,r.jsx)(StartDate,{slug:n}),(0,r.jsx)(x.Z,{...d})]},"startdate"),(0,r.jsxs)(i.p,{size:"74px",align:"left",children:[(0,r.jsx)(EndDate,{slug:n}),(0,r.jsx)(x.Z,{...d})]},"enddate"),(0,r.jsxs)(i.p,{size:"140px",align:"left",children:[(0,r.jsx)(Amount,{slug:n}),(0,r.jsx)(x.Z,{...d})]},"amount"),(0,r.jsxs)(i.p,{size:"120px",align:"left",children:[(0,r.jsx)(Participants,{slug:n}),(0,r.jsx)(x.Z,{...d})]},"participants"),(0,r.jsxs)(i.p,{size:"100px",align:"left",children:[(0,r.jsx)(Winners,{slug:n}),(0,r.jsx)(x.Z,{...d})]},"winners"),(0,r.jsxs)(i.p,{size:"100px",align:"left",children:[(0,r.jsx)(w.Z,{slug:n}),(0,r.jsx)(x.Z,{...d})]},"join")]})}function Header(e){let{id:t,label:n,...l}=e;return(0,r.jsx)(i.p,{scope:"col",align:"left",...l,children:n&&(0,r.jsx)(f.Z,{color:"brand",weight:500,children:n})},t)}function PlaceholderRow(e){let{slug:t,navigate:n,rank:l,showVotesToday:a}=e;return(0,r.jsxs)(u.Fragment,{children:[(0,r.jsx)(i.p,{align:"left",pad:{left:"medium"}},"watchlist"),l&&(0,r.jsx)(i.p,{align:"left"},"rank"),(0,r.jsx)(i.p,{align:"left"},"icon"),(0,r.jsxs)(i.p,{align:"left",colSpan:a?10:9,children:[(0,r.jsx)(g.VG,{slug:t}),(0,r.jsx)(x.Z,{slug:t,navigate:n})]},"name")]})}let v=(0,u.memo)(function(e){let{gaCategory:t,index:n,slug:i,initialVisible:l,...o}=e,s=-1===l||n<l,{ref:c,inView:u}=(0,d.YD)({rootMargin:"100px 0px",triggerOnce:!0,skip:s});return(0,r.jsx)(a.S,{style:{height:"72px"},ref:c,round:!0,children:u||s?(0,r.jsx)(Row,{slug:i,index:n,gaCategory:t,...o}):(0,r.jsx)(PlaceholderRow,{slug:i,...o})},i)});function Desktop(e){let{slugs:t,rank:n=!0,firstIndex:i=0,navigate:l,initialVisible:u=-1,...d}=e;return(0,r.jsx)(o.x,{overflow:{horizontal:"auto"},children:(0,r.jsxs)(p.Z,{hasHeader:!0,elevation:"xlarge",...d,children:[(0,r.jsx)(s.x,{children:(0,r.jsxs)(a.S,{children:[(0,r.jsx)(Header,{id:"watchlist"}),n&&(0,r.jsx)(Header,{id:"rank",label:"#",pad:{horizontal:"small"}}),(0,r.jsx)(Header,{id:"icon",label:"Icon"}),(0,r.jsx)(Header,{label:"Name"},"name"),(0,r.jsx)(Header,{label:"Start Date"},"startdate"),(0,r.jsx)(Header,{label:"End Date"},"enddate"),(0,r.jsx)(Header,{label:"Total Tokens"},"amount"),(0,r.jsx)(Header,{label:"Participants"},"participants"),(0,r.jsx)(Header,{label:"Winners"},"winners"),(0,r.jsx)(Header,{label:""},"join")]})}),(0,r.jsx)(c.R,{children:t.map((e,t)=>(0,r.jsx)(v,{initialVisible:u,slug:e,rank:n,firstIndex:i,index:t,navigate:l},e))})]})})}},76286:function(e,t,n){n.d(t,{Z:function(){return Join}});var r=n(82729),i=n(85893),l=n(1958),a=n(94200),o=n(18087),s=n(70714),c=n(41664),u=n.n(c),d=n(81379),f=n(10407);
1function _templateObject(){let e=(0,r._)(["\n ","\n text-align: center;\n"]);return _templateObject=function(){return e},e}let x=(0,s.default)(l.z).withConfig({componentId:"sc-af37f93a-0"})(_templateObject(),e=>{let{small:t}=e;return t?"width: 70px; padding: 4px 8px;":"width: 110px;"});function JoinButton(e){let{slug:t,...n}=e;return(0,i.jsx)(u(),{href:"/coin/".concat(t,"/airdrop"),passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(x,{title:"Join",...n})})}function Join(e){let{slug:t}=e,n=(0,d.default)(),{status:r,participate:l}=(0,f.z6)(t);function getLabelText(){return"finished"===r?l&&n?"Participated":"Ended":"progress"===r?"".concat(l?"Joined":"Join"):"Upcoming"}return(0,i.jsxs)(a.x,{align:"center",children:["progress"===r&&(0,i.jsx)(JoinButton,{primary:l,slug:t,label:getLabelText(),small:!n}),"progress"!==r&&(0,i.jsx)(o.x,{color:"brand",size:n?"medium":"small",children:getLabelText()})]})}},29514:function(e,t,n){n.d(t,{Z:function(){return login}});var r=n(11163),i=n.n(r),l=n(98708);function login(e){return new Promise((t,n)=>{let r={};i().replace({hash:"login&".concat(e)});let onHashChange=()=>{if(r.unsubscribe&&r.unsubscribe(),!l.ZP.auth().currentUser)return n();t()};r.unsubscribe=l.ZP.auth().onAuthStateChanged(e=>{e&&onHashChange()})})}},10425:function(e,t,n){n.d(t,{Z:function(){return Watchlist}});var r=n(85893),i=n(94200),l=n(18087),a=n(81379),o=n(66990);function Watchlist(e){let{slug:t,rank:n,index:s}=e,c=(0,a.default)();return(0,r.jsxs)(i.x,{direction:c?"row":"column",align:"center",justify:n?"between":"center",children:[n&&(0,r.jsx)(l.x,{size:"xsmall",color:"dark-4",children:s}),(0,r.jsx)(o.Z,{slug:t,short:!0})]})}}}]); 2//# sourceMappingURL=1039.0d85e4048d31bcc1.js.map
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.