1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a84a186f-f62c-41d7-80b7-ba26b0912ef1",e._sentryDebugIdIdentifier="sentry-dbid-a84a186f-f62c-41d7-80b7-ba26b0912ef1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60933],{381338:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/coins/views/all",function(){return n(846823)}])},346377:function(e,t,n){"use strict";n.r(t);var r=n(552322),a=n(202784),c=n(549948),s=n(82740),o=n(294184),i=n.n(o),l=n(400752),p=n(735197),h=n(97729),u=n.n(h),g=n(205632),y=n.n(g),d=n(160643),f=n(686937),m=n(983562),C=n.n(m),v=n(498635),b=n(801739),w=n(476182),_=n(509165),S=n(981433),N=n(35183),T=n(145430),k=n(480804),x=n(893794),L=n(595474),P=n(958850),j=n(62171),A=n(338524);let I=(0,A.uB)(()=>Promise.all([n.e(9462),n.e(38842)]).then(n.bind(n,538842))),O={[C().cryptocurrency.type.COINS]:"Coins",[C().cryptocurrency.type.TOKENS]:"Tokens"},D=s.ZP.div.withConfig({componentId:"sc-ace3fc28-0"})([".cmc-view-all__table-footer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-top:24px;}.cmc-view-all__asterisks{font-style:italic;}"]);class E extends a.PureComponent{static getInitialProps(e){let{ctx:t,store:n,cryptocurrencyType:r=""}=e,{query:a={}}=t,{dispatch:c,getState:s}=n,{cryptocurrency:{listingLatest:o}}=s(),i={cryptocurrencyType:r=r||a.cryptocurrencyType||C().cryptocurrency.type.ALL,filters:o.filters,page:1,pageSize:200,sort:C().sort.MARKET_CAP};c((0,P.getCryptocurrencyListingsLatest)(i));let l={section:"Market Cap",subSection:O[r]||"Cryptocurrencies"};return{cryptocurrencyType:r,gaPageviewProps:l,listingParams:i}}componentDidMount(){y().events.on("routeChangeComplete",this.handleRouteChange)}componentWillUnmount(){y().events.off("routeChangeComplete",this.handleRouteChange)}render(){let{listingLatest:e,locale:t,className:n,gaPageviewProps:a,t:c,i18n:s}=this.props,{page:o}=this.state,l=this.getTableData(),p=e.data&&e.data[0]&&e.data[0].last_updated;return(0,r.jsxs)(D,{className:i()(n,{"cmc-view-all-coins":!0}),children:[(0,r.jsxs)(u(),{children:[(0,_.ud)(this.getTitle(),void 0,{t:c,i18n:s}),(0,_._u)(this.getDescription())]}),(0,r.jsx)(T.H1,{center:!0,children:this.getTitle()}),(0,r.jsx)(x.Z,{selectedTab:"cryptocurrencies",pathname:this.getPathName(),tableColumns:this.getTableColumns(),tableData:l,lastUpdated:p,sort:e.sort,sortDirection:e.sortDirection,setSort:P.setCryptocurrencyListingsLatestSort,loadmore:e.data.length%100==0&&e.data.length>0,onLoadMore:this.loadMore,loading:e.page+1===o,tight:!0,renderCustomFooter:this.renderCustomFooter,filters:(0,r.jsx)(I,{filters:e.filters,locale:t,onApply:this.handleFilterChange,t:c}),t:c})]})}constructor(...e){super(...e),this.state={page:1},this.handleRouteChange=()=>{this.setState({page:1})},this.loadMore=(0,p.Z)(()=>{let e=Math.min(this.state.page+1,1e3);e!==this.state.page&&this.setState({page:e},()=>{let{getMore:t,cryptocurrencyType:n,listingLatest:r}=this.props;t({page:e,sort:C().sort.MARKET_CAP,cryptocurrencyType:n,pageSize:200,concat:!0,filters:r.filters})})},1e3),this.getTitle=()=>{let{cryptocurrencyType:e,t}=this.props;return t(e===C().cryptocurrency.type.ALL?"All Cryptocurrencies":e===C().cryptocurrency.type.COINS?"All Coins":"All Tokens")},this.getDescription=()=>{let{cryptocurrencyType:e,t}=this.props;return t(e===C().cryptocurrency.type.ALL?"View the full list of all active cryptocurrencies.":e===C().cryptocurrency.type.COINS?"View the full list of all active coins.":"View the full list of all active tokens.")},this.getPathName=()=>{let{cryptocurrencyType:e}=this.props;return e===C().cryptocurrency.type.ALL?"/all/views/all/":e===C().cryptocurrency.type.COINS?"/coins/views/all/":"/tokens/views/all/"},this.getTableColumns=()=>{let{t:e,isNarrowLayout:t}=this.props,{cryptocurrencyType:n}=this.props,r=new k.wy(t,e);return t&&n!==C().cryptocurrency.type.TOKENS?[r.rank(),r.name(),r.marketCap(),r.price(),r.circulatingSupply(),r.volume2("volume24h",e("Volume24h")),r.change1h("percentChange1h","percentChange1h",e("% 1h")),r.change24h("percentChange24h","percentChange24h",e("% 24h")),r.change7d("percentChange7d","percentChange7d",e("% 7d")),r.options()]:[r.rank(),r.name(),n===C().cryptocurrency.type.TOKENS?r.platform(!0):r.symbol(!0),r.marketCap(),r.price(),r.circulatingSupply2(),r.volume2("volume24h",e("Volume(24h)")),r.change1h("percentChange1h","percentChange1h",e("% 1h")),r.change24h("percentChange24h","percentChange24h",e("% 24h")),r.change7d("percentChange7d","percentChange7d",e("% 7d")),r.options()]},this.getTableData=()=>{let{listingLatest:e}=this.props,{sort:t,sortDirection:n}=e,{data:r}=e;return(0,A.dV)(r,t,n)},this.renderCustomFooter=()=>{let{cryptocurrencyType:e,t}=this.props;return(0,r.jsxs)("div",{className:"cmc-view-all__table-footer",children:[e!==C().cryptocurrency.type.TOKENS?(0,r.jsx)("div",{className:"cmc-view-all__asterisks",children:t("* Not Mineable")}):(0,r.jsx)("div",{}),(0,r.jsx)(N.Z,{href:"/",className:"cmc-view-all__back-button",children:"â "+t("Back to Top 100")})]})},this.handleFilterChange=e=>{let{getMore:t,listingParams:n,router:r}=this.props;this.setState({page:1},()=>{t({...n,page:1,filters:{...e}})});let{page:a,...c}=r.query;r.push({pathname:r.pathname,query:c},(0,j.HQ)(r.pathname,c),{shallow:!0}),(0,b.Z)(function(){let t=Object.keys(e).reduce((t,n)=>{let r=e[n];return r&&(t[n]=r.floatValue),t},{});w.Z.sendEvent({category:"Homepage Filters",action:"Filter Set",label:JSON.stringify(t)})})}}}let M=e=>{let t=(0,l.Dv)(d.n$),{isNarrowLayout:n}=(0,l.Dv)(f.x);return(0,r.jsx)(E,{...e,locale:t,isNarrowLayout:n})};M.getInitialProps=E.getInitialProps;let Z=(0,v.Z)(g.withRouter,(0,c.connect)(e=>({listingLatest:e.cryptocurrency.listingLatest}),e=>({getMore:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];e((0,P.getCryptocurrencyListingsLatest)(...n))}})),(0,S.GV)())(M);Z.gaPageviewProps={disabled:!0},Z.AppWrapper=L.Z,t.default=Z},846823:function(e,t,n){"use strict";n.r(t);var r=n(552322),a=n(983562),c=n.n(a),s=n(346377),o=n(595474);let i=e=>(0,r.jsx)(s.default,{...e});i.getInitialProps=async e=>s.default.getInitialProps({...e,cryptocurrencyType:c().cryptocurrency.type.COINS}),i.gaPageviewProps={disabled:!0},i.AppWrapper=o.Z,t.default=i},62171:function(e,t,n){"use strict";let r=n(983562),a=":lang(".concat(Object.keys(r.languages).join("|"),")?"),c=Object.values(r.cryptocurrencyPage.sections).concat(Object.values(r.cryptocurrencyPage.subSections)).join("|");e.exports.A3="/".concat(a,"/currencies/:cryptocurrencySlug/:section(").concat(c,")?/:cryptoFrom?/:fiatTo(").concat(r.currencies.list.map(e=>e.symbol.toLocaleLowerCase()).join("|"),")?"),e.exports.Sk="/".concat(a,"/exchanges/:exchangeSlug");let s={"/homepage":{pathname:e=>{let{cryptocurrencyType:t="",view:n=""}=e;return n?"/".concat(t,"/views/").concat(n,"/"):"/".concat(t,"/")}},"/view-all":{pathname:e=>{let{cryptocurrencyType:t=""}=e;return"/".concat(t,"/views/all/")}},"/beta":{pathname:e=>{let{cryptocurrencyType:t="",view:n=""}=e;return n?"/".concat(t,"/views/").concat(n):"/".concat(t)}},"/view/[tagSlug]":{pathname:e=>{let{tagSlug:t=""}=e;return"/view/".concat(t,"/")}},"/nft":{pathname:e=>{let{section:t=""}=e;return"/nft/".concat(t)}}};e.exports.HQ=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(s[e]?s[e].pathname(t):e).replace(/\/\/+/g,"/")}}},function(e){e.O(0,[49774,43701,58964,10423,80644,47935,66197,8435,56639,37918,9497,558,32109,26226,96063,97659,9027,39
1634,3366,35970,6180,48831,67699,93794,92888,40179],function(){return e(e.s=381338)}),_N_E=e.O()}]); 2//# sourceMappingURL=all-e873e94e1c7cae45.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.