1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4700],{49929:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var l=n(57437),r=n(2265);n(38779);var a=n(5674),s=n(65404),o=n(33145);let i={descend:"ascend",ascend:"descend"},c=e=>{let{sn:t,row:n,cells:r,onRowClick:a,id:o,loading:i,classNames:{root:c,td:d}={}}=e;return(0,l.jsx)("tr",{className:(0,s.yI)("w-full group",c,a?"cursor-pointer":""),onClick:()=>a&&a(n),children:r.map((e,r)=>{let c="function"==typeof e.className?e.className(n):e.className;return(0,l.jsx)(u,{textAlign:e.align?"text-".concat(e.align):"",className:(0,s.yI)(d,c,a&&"group-hover:bg-kyzzen-secondary font-light"),clickable:e.clickable,children:i?e.loader?e.loader({...n,sn:t}):(0,l.jsx)(l.Fragment,{children:"loading..."}):e.render({...n,sn:t})},e.label+(null==o?void 0:o.toString())+r)})})},u=e=>{let{children:t,className:n="",textAlign:r,clickable:a}=e;return(0,l.jsx)("td",{className:(0,s.yI)("table-cell-item px-1.5 border-b border-kyzzen-secondary py-3 text-sm",r||"text-right",n),onClick:e=>{a&&e.stopPropagation()},children:t})},d=e=>{let{children:t,className:n="",textAlign:r="",color:o,hasSorter:i,onCellClick:c,isSortingColumn:u,direction:d,classNames:{root:m,inner:f}={}}=e;return(0,l.jsx)("th",{className:(0,s.yI)("max-w-xs w-1/12 px-2.5 pb-4 font-medium text-sm whitespace-nowrap group",i?"cursor-pointer":"",n,m),onClick:()=>i&&c&&c(),children:(0,l.jsxs)("div",{className:(0,s.yI)("flex items-center ".concat(r||"justify-end"," "),f,"text-"+o),children:[(0,l.jsx)("span",{children:t}),i&&(0,l.jsx)("button",{className:"ml-0.5 group-hover:opacity-80 left-[5px] relative transition-opacity flex items-center text-accent-main ".concat(u?"!opacity-100":"opacity-20"),children:"unset"!==d&&u?"ascend"===d?(0,l.jsx)(a.h3_,{}):(0,l.jsx)(a.sF,{}):(0,l.jsx)(a.roE,{})})]})})};t.Z=e=>{let{columns:t,headerCellClasses:n,rows:a=[],rowKey:i,onRowClick:u,loading:m,lazyLoadFunc:f,onColumnSort:h,headerClasses:p,lazyLoadOnTable:v,sortOrder:g="descend",sortKey:x,footer:y,renderSkeleton:w,emptyMessage:N,classNames:{root:b,table:j,tableHead:P,tableBody:k,tableFooter:S,thRow:z,tbRow:D,th:F,thInner:C,td:L,emptyState:E,container:I}={}}=e,T=e=>{let t=e.target||e.currentTarget;(!v&&Math.ceil(window.innerHeight+window.scrollY)>=document.documentElement.scrollHeight||v&&Math.ceil((null==t?void 0:t.clientHeight)+(null==t?void 0:t.scrollTop))>=(null==t?void 0:t.scrollHeight))&&f&&f()},M=e=>{e&&h&&h(e)};return(0,r.useEffect)(()=>{if(!v)return window.addEventListener("scroll",T,{passive:!0}),()=>{window.removeEventListener("scroll",T)}},[]),(0,l.jsx)("div",{className:(0,s.yI)(I,"lg:rounded-x10 border-spacing-y-10 border-spacing-x-0 overflow-hidden border border-kyzzen-secondary"),children:(0,l.jsx)("div",{className:(0,s.yI)("app-table w-full overflow-auto h-full block custom-scrollbar ",b),onScroll:e=>{v&&!m&&T(e)},children:t.length?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("table",{className:(0,s.yI)("rounded-lg",j),children:[(0,l.jsx)("thead",{className:(0,s.yI)(P,p),children:(0,l.jsx)("tr",{className:(0,s.yI)(z),children:null==t?void 0:t.map((e,t)=>{let r="left"===e.align?"justify-start":"center"===e.align?"justify-center":"start"===e.align?"justify-start":"justify-end";return(0,l.jsx)(d,{className:"py-4\n ".concat("function"==typeof e.className?e.className():e.className,"\n "),color:n,textAlign:r,hasSorter:!!(null==e?void 0:e.sortKey),onCellClick:()=>M(null==e?void 0:e.sortKey),isSortingColumn:x===(null==e?void 0:e.sortKey),direction:g,classNames:{root:F,inner:C},children:e.label},e.label+((null==e?void 0:e.sortKey)||"")+t)})})}),(0,l.jsxs)("tbody",{className:(0,s.yI)("mt-2",k),children:[m&&!!w&&w(),!m&&(a.length?a.map((e,n)=>(0,l.jsx)(c,{row:e,sn:n+1,id:null==e?void 0:e[i],cells:t,onRowClick:u,classNames:{root:D,td:L}},(null==e?void 0:e[i])+""+n)):(0,l.jsx)("tr",{children:(0,l.jsx)("td",{colSpan:t.length,rowSpan:t.length,children:(0,l.jsxs)("div",{className:(0,s.yI)("flex justify-center items-center flex-col py-20",E),children:[(0,l.jsx)(o.default,{src:"/assets/icons/no-data.svg",alt:"No data",className:"w-24 h-24 opacity-50",width:96,height:96}
1),(0,l.jsx)("span",{className:"text-base font-medium mt-5",children:N||"No Data"})]})})}))]}),y&&(0,l.jsx)("tfoot",{className:(0,s.yI)(S),children:(0,l.jsx)("tr",{children:y.map(e=>(0,r.createElement)("td",{...null==e?void 0:e.tdProps,className:(0,s.yI)("px-1.5 border-t border-kyzzen-secondary py-3 text-sm",L,null==e?void 0:e.className),key:null==e?void 0:e.id},null==e?void 0:e.render()))})})]})}):(0,l.jsxs)("div",{className:(0,s.yI)("flex justify-center w-full items-center flex-col py-20",E),children:[(0,l.jsx)(o.default,{src:"/assets/icons/no-data.svg",alt:"No data",className:"w-24 h-24 opacity-50",width:96,height:96}),(0,l.jsx)("span",{className:"text-base font-medium mt-5",children:"No Data"})]})})})}},85583:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var l=n(57437),r=n(2265),a=n(27648),s=n(99376),o=n(49929),i=n(11115),c=n(56969);n(5062);var u=n(37527),d=n(90491),m=n(65404),f=n(79152),h=n(79479),p=n(41208),v=n(22097),g=n(59908);let x={"1h":{floorPriceDelta:"floorPricePast1hDelta",volume:"volumePast1h",volumeUsd:"volumeUsdPast1h",volumeDelta:"volumePast1hDelta",sales:"salesPast1h"},"24h":{floorPriceDelta:"floorPricePast24hDelta",volume:"volumePast24h",volumeUsd:"volumeUsdPast24h",volumeDelta:"volumePast24hDelta",sales:"salesPast24h"},"7d":{floorPriceDelta:"floorPricePast7dDelta",volume:"volumePast7d",volumeUsd:"volumeUsdPast7d",volumeDelta:"volumePast7dDelta",sales:"salesPast7d"},"30d":{floorPriceDelta:"floorPricePast30dDelta",volume:"volumePast30d",volumeUsd:"volumeUsdPast30d",volumeDelta:"volumePast30dDelta",sales:"salesPast30d"}};t.C=e=>{let{onLazyLoad:t,collections:n,loading:y,onSort:w,duration:N,sortOrder:b,sortKey:j}=e,[P,{data:k}]=(0,f.t)(h.b,{fetchPolicy:"cache-and-network"}),S=(0,s.useRouter)(),{computeSellNow:z,computeFloorPrice:D}=(0,g.c)(),[F,C]=(0,r.useState)(),L=async()=>{try{let n=await P();if(n){var e,t;let l=null==n?void 0:null===(t=n.data)||void 0===t?void 0:null===(e=t.metrics)||void 0===e?void 0:e.nodes[0];C(null==l?void 0:l.solUSD)}}catch(e){console.error(e)}};(0,r.useEffect)(()=>{L()},[]);let E=[{label:"#",align:"left",className:"pl-5 min-w-[unset] w-16 z-[2] bg-kyzzen-primary sm-column ",render:e=>(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)("div",{className:"text-sm font-normal",children:e.sn})})},{label:"",align:"left",className:(()=>{let e=!1;{let t=document.querySelector(".explore-table .app-table");t&&t.scrollWidth>t.offsetWidth&&(e=!0)}return["pl-5 min-w-[unset] w-16 z-[2] bg-kyzzen-primary sm-column",e?"sticky -left-2":""].join(" ")})(),render:e=>(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)("div",{className:"w-10 h-10 min-w-[unset] rounded-x10 md:rounded-full overflow-hidden object-center object-fill avatar mr-1 bg-kyzzen-primary",children:(0,l.jsx)(c.ZP,{src:(null==e?void 0:e.thumbnailUrl)?(0,i.Q4)(e.thumbnailUrl):"",alt:e.name+"logo",className:"w-full h-full",loading:"lazy"})})})},{label:"Collection",align:"left",className:"pl-5 pr-2 collection-name z-[1] min-w-[unset] w-20 -left-10 bg-kyzzen-primary w-[20%] whitespace-nowrap",render:e=>(0,l.jsx)("div",{className:"flex justify-start items-center text-sm w-full",children:(0,l.jsx)(a.default,{href:"".concat(d.Ul,"/").concat(null==e?void 0:e.slug),className:"truncate ... w-12/12",children:e.name})})},{label:"Floor",render:e=>{let t=D((null==e?void 0:e.floorPrice)||0,e.floorPriceWithRoyaltiesAndFees||0,e.floorPriceWithRoyalties||0,e.floorPriceWithFees||0),n=Number((0,u.TL)(t)),r=(F&&n?(n*Number(F)).toFixed(2):0).toString();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex justify-end items-center pb-1",children:[(0,l.jsx)("span",{className:"pr-1 text-white",children:(0,m.Hq)(n)}),(0,l.jsx)("img",{src:"/assets/icons/sol-spl.svg",className:"h-3.5 w-3.5 inline",alt:""})]}),(0,l.jsxs)("p",{className:"text-xs text-gray-40",children:["$",(0,m.uc)(r)]})]})},sortKey:"floorPrice"},{label:"Floor ".concat(null==N?void 0:N.label,"%"),render:e=>{var t;let n=null==x?void 0:x[N.value].floorPriceDelta,r=null==e?void 0:e[n];return(0,l.jsx)("p",{className:"".concat((0,v.L)(r)," text-sm"),children:isNaN(r)||!r?"N/A":(0,l.jsxs)(l.Fragment,{children:[r>1e3?">":r>0&&"+",null===(t=r>1e3?1e3:r)||void 0===t?void 0:t.toFixed(2),"%"]})})},sortKey:"floorPriceDelta"},{label:"Sell Now",render:e=>{let t=z((null==e?void 0:e.sellNowPrice)||0,(null==e?void 0:e.sellNowFees)||0,(null==e?void 0:e.sellNowRoyalties)||0),n=Number((0,u.TL)(t)),r=(F&&n?(n*Number(F)).toFixed(2):0).toString();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex justify-end items-center pb-1",children:[(0,l.jsx)("span",{className:"pr-1 text-white",children:(0,m.Hq)(n)}),(0,l.jsx)("img",{src:"/assets/icons/sol-spl.svg",className:"h-3.5 w-3.5 inline",alt:""})]}),(0,l.jsxs)("p",{className:"text-xs text-gray-40",children:["$",(0,m.uc)(r)]})]})},sortKey:"sellNow"},{label:"Vol ".concat(N.label),render:e=>{let t=null==x?void 0:x[N.value].volume,n=Number((0,u.TL)(null==e?void 0:e[t])),r=(F&&n?(n*Number(F)).toFixed(2):0).toString();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex justify-end items-center pb-1 text-sm",children:[(0,l.jsx)("span",{className:"pr-1 text-white",children:(0,m.Hq)(n)}),(0,l.jsx)("img",{src:"/assets/icons/sol-spl.svg",className:"h-3.5 w-3.5 inline",alt:""})]}),(0,l.jsxs)("p",{className:"text-xs text-gray-40",children:["$",(0,m.uc)(r)]})]})},sortKey:"volume"},{label:"Vol ".concat(N.label,"%"),render:e=>{var t;let n=null==x?void 0:x[N.value].volumeDelta,r=null==e?void 0:e[n];return(0,l.jsx)("p",{className:"".concat((0,v.L)(r)," text-sm"),children:isNaN(r)||!r?"N/A":(0,l.jsxs)(l.Fragment,{children:[r>1e3?">":r>0&&"+",null===(t=r>1e3?1e3:r)||void 0===t?void 0:t.toFixed(2),"%"]})})},sortKey:"volumeDelta"},{label:"Sales",render:e=>{var t;let n=null==x?void 0:null===(t=x[null==N?void 0:N.value])||void 0===t?void 0:t.sales;return(0,l.jsx)("span",{className:"text-white text-sm",children:(0,m.uc)(null==e?void 0:e[n],!1)||0})},sortKey:"sales",className:"md:w-[6%]"},{label:"Market Cap",className:"pl-7 w-[8%]",render:e=>{let t=Number((0,u.TL)(null==e?void 0:e.totalFloorPrice)),n=(F&&t?(t*Number(F)).toFixed(2):0).toString();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex justify-end items-center pb-1",children:[(0,l.jsx)("span",{className:"pr-1 text-white",children:(0,m.Hq)(t)}),(0,l.jsx)("img",{src:"/assets/icons/sol-spl.svg",className:"h-3.5 w-3.5 inline",alt:""})]}),(0,l.jsxs)("p",{className:"text-xs text-gray-40",children:["$",(0,m.uc)(n)]})]})},sortKey:"totalFloorPrice"},{label:"Items",render:e=>(0,l.jsx)("span",{className:"text-white text-sm",children:(0,m.uc)("".concat(null==e?void 0:e.items),!1)||0}),sortKey:"items",className:"md:w-[6%] "},{label:"Listed",render:e=>{var t;return(0,l.jsxs)("div",{className:"mr-1",children:[(0,l.jsxs)("p",{className:"text-sm pb-1 text-white ",children:[null==e?void 0:null===(t=e.listedPercentage)||void 0===t?void 0:t.toFixed(2),"%"]}),(0,l.jsx)("p",{className:"text-xs text-gray-40",children:null==e?void 0:e.listed})]})},sortKey:"listedPercentage",className:"md:w-[6%] md:pr-3"}];return(0,l.jsx)("div",{className:"explore-table h-inherit",children:(0,l.jsx)(p.y,{baseColor:"#1D293980",highlightColor:"rgba(15, 15, 30, 0.9)",children:(0,l.jsx)(o.Z,{columns:E,rows:n.filter(e=>e.name),rowKey:"id",onRowClick:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"items";S.push("".concat(d.Ul,"/").concat(null==e?void 0:e.slug,"?activeTab=").concat(t))},loading:y,lazyLoadFunc:t,onColumnSort:w,lazyLoadOnTable:!0,sortOrder:b,sortKey:j,classNames:{container:"h-inherit",table:"w-full h-inherit !rounded-x10 border-separate !border-spacing-0",tableHead:"bg-kyzzen-primary z-[3] relative sticky -top-1 ",th:"border-b px-6 xl:pr-2.5 border-kyzzen-secondary text-accent-main pt-4 bg-kyzzen-primary sticky top-0 bg-kyzzen-primary z-[1] !border-spacing-0"},renderSkeleton:()=>(0,l.jsx)(l.Fragment,{children:[...Array(10)].map((e,t)=>(0,l.jsx)("tr",{style:{height:80},children:E.map((e,t)=>(0,l.jsx)("td",{className:"function"==typeof e.className?e.className():e.className||"",children:"#"
1===e.label?(0,l.jsx)(p.Z,{width:20,height:20}):""===e.label?(0,l.jsx)(p.Z,{circle:!0,width:40,height:40}):"Collection"===e.label?(0,l.jsx)(p.Z,{width:100,height:20}):"Floor"===e.label||e.label.startsWith("Vol")||e.label.startsWith("Floor ")?(0,l.jsxs)("div",{className:"flex flex-col",style:{alignItems:"flex-end"},children:[(0,l.jsx)(p.Z,{width:60,height:20}),(0,l.jsx)(p.Z,{width:40,height:15})]}):"Sales"===e.label||"Market Cap"===e.label||"Items"===e.label?(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)(p.Z,{width:60,height:20}),(0,l.jsx)(p.Z,{width:40,height:15})]}):(0,l.jsx)(p.Z,{width:"100%",height:30})},"skeleton-col-".concat(t)))},"skeleton-".concat(t)))})})})})}},22097:function(e,t,n){"use strict";n.d(t,{L:function(){return l}});let l=e=>isNaN(e)||!e?"text-white":e>0?"text-success-40":"text-error-40"},56969:function(e,t,n){"use strict";n.d(t,{Mx:function(){return s},ZP:function(){return o},x8:function(){return a}});var l=n(57437),r=n(2265);let a="/assets/thumbnails/no-image.png",s="/assets/default_pfp.svg";function o(e){let{src:t,fallbackSrc:n=a,onError:s,alt:o="",...i}=e,c=e=>e&&""!==e.trim()?e:n,[u,d]=(0,r.useState)(()=>c(t));return(0,r.useEffect)(()=>{d(c(t))},[t,n]),(0,l.jsx)("img",{...i,src:u,alt:o,onError:e=>{u!==n&&d(n),null==s||s(e)}})}},79479:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var l=n(45008);function r(){let e=(0,l._)(["\n query VolTotalQuery {\n metrics {\n nodes {\n volumeTotal\n tps\n solUSD\n epoch\n inflationRate\n totalSupply\n circulatingSupply\n marketCap\n validators\n totalStaked\n trueTPS\n totalNativeStaked\n totalLiquidStakingTVL\n fdv\n mediumPriorityFee\n highPriorityFee\n lowPriorityFee\n superMinorityCount\n totalVolSol24h\n }\n }\n }\n"]);return r=function(){return e},e}let a=(0,n(19941).Ps)(r())},97357:function(e,t,n){"use strict";n.d(t,{P:function(){return o},V:function(){return s}});var l=n(57437),r=n(2265),a=n(65404);let s=(0,r.createContext)({});function o(e){let{children:t}=e,[n,o]=(0,a.Rr)("kyzzen.io_fees"),[i,c]=(0,a.Rr)("kyzzen.io_royalties");return(0,r.useEffect)(()=>{null===localStorage.getItem("kyzzen.io_fees")&&o(!0),null===localStorage.getItem("kyzzen.io_royalties")&&c(!0)},[]),(0,l.jsx)(s.Provider,{value:{marketFees:n,marketRoyalties:i,setMarketFees:o,setMarketRoyalties:c},children:t})}},59908:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var l=n(2265),r=n(97357);let a=()=>{let{marketFees:e,marketRoyalties:t}=(0,l.useContext)(r.V),n=(0,l.useCallback)((n,l,r)=>e&&t?n:t?n+l:e?n+r:n+l+r,[e,t]),a=(0,l.useCallback)((n,l,r,a)=>e&&t?l:t?r:e?a:n,[e,t]);return{marketFees:e,marketRoyalties:t,computeSellNow:n,computeFloorPrice:a}}},60912:function(e,t,n){"use strict";n.d(t,{G9:function(){return l},WK:function(){return s},XV:function(){return r},aq:function(){return a}});let l="A7p8451ktDCHq5yYaHczeLMYsjRsAkzc3hCXcSrwYHU7",r=2,a=2,s="9zcCzSBHzn3aRKovPXxnGECobSBUUVBPEmJ2sEqJCK56"},11115:function(e,t,n){"use strict";n.d(t,{Q4:function(){return s},q:function(){return l}});let l="https://ik.imagekit.io/srjnqnjbpn9/wp/",r="https://4everland.io/ipfs/",a=e=>{if(!e)return e;let t=e.match(/^ipfs:\/\/(?:ipfs\/)?(.+)/);if(t)return"".concat(r).concat(t[1]);let n=e.match(/^https?:\/\/[^/]+\/ipfs\/(.+)/);if(n)return"".concat(r).concat(n[1]);let l=e.match(/^https?:\/\/([^./]+)\.ipfs\.[^/]+\/?(.*)/);return l?"".concat(r).concat(l[1]).concat(l[2]?"/".concat(l[2]):""):e},s=(e,t)=>{if((null==e?void 0:e.includes(".webp"))||(null==e?void 0:e.includes("cointelegraph")))return e;let n=a(e);return t?"https://ik.imagekit.io/srjnqnjbpn9/wp/tr:w-500/".concat(n):"".concat(l).concat(n)}},95649:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});let l=1e9},90491:function(e,t,n){"use strict";n.d(t,{BW:function(){return s},Bz:function(){return E},FA:function(){return T},GF:function(){return F},HX:function(){return I},JD:function(){return b},Kz:function(){return g},Lo:function(){return r},Pt:function(){return y},Pv:function(){return v},Q3:function(){return k},R4:function(){return x},Rm:function(){return m},Rq:function(){return c},SA:function(){return R},Sd:function(){return l},TE:function(){return p},Tp:function(){return f},Ul:function(){return a},WN:function(){return D},Wo:function(){return N},X7:function(){return U},Xy:function(){return h},Yr:function(){return H},a5:function(){return K},cq:function(){return _},fP:function(){return u},gf:function(){return M},hJ:function(){return q},my:function(){return L},nc:function(){return A},oj:function(){return P},pU:function(){return d},rZ:function(){return z},t3:function(){return C},tI:function(){return o},v8:function(){return S},yT:function(){return j},ym:function(){return w},zv:function(){return i}});let l="/",r="/collections",a="/collections",s="/item",o="/mint-calendar",i="/nft-tokens",c="/news",u="/search",d="/giveaways",m="/spaces",f="/events-calendar",h="/nft-lending",p="/raffles",v="/news",g="/tools-directory",x="/academy",y="/ecosystem",w="/login",N="/profile-setup",b="/profile",j="/key-metrics",P="/lending",k="/quests",S="/airdrops",z="/bounties",D="/jobs",F="/staking",C="/liquid-staking",L="/economic-calendar",E="/privacy-policy",I="/tokens",T="/about",M="/solana-bb-index",A="/profile/watchlist",_="/launchpad",R="/investor-directory",K="/founder-programs",U="/grants",H="/media-platforms",q="/campaigns"},65404:function(e,t,n){"use strict";n.d(t,{$7:function(){return p},AR:function(){return w},AV:function(){return u},FP:function(){return h},Hq:function(){return m},L0:function(){return E},NM:function(){return d},QI:function(){return C},Rr:function(){return s},Ug:function(){return x},Vs:function(){return P},Xn:function(){return D},Z:function(){return N},_3:function(){return L},bI:function(){return i},eR:function(){return o},fR:function(){return b},nD:function(){return v},oZ:function(){return j},rJ:function(){return g},sy:function(){return y},tn:function(){return I},uC:function(){return S},uc:function(){return f},vv:function(){return z},xx:function(){return k},y:function(){return F},yI:function(){return c}});
1var l=n(2265),r=n(60912),a=n(25566);function s(e,t){let[n,r]=(0,l.useState)(),a=(0,l.useCallback)(t=>{n!==t&&(r(t),null===t?localStorage.removeItem(e):localStorage.setItem(e,JSON.stringify(t)))},[n,e]),s=(0,l.useCallback)(()=>{let n=localStorage.getItem(e);try{if(n)return JSON.parse(n);throw Error()}catch(e){return t}},[e,t]);return(0,l.useEffect)(()=>{r(s())},[e,t]),[n,a,s]}class o{static get(e){{let t=document.cookie.split("; ").find(t=>t.startsWith("".concat(e,"=")));return(null==t?void 0:t.split("=").slice(1).join("="))||null}}static set(e,t,n){{let l=n?"; expires=".concat(n.toUTCString()):"";document.cookie="".concat(e,"=").concat(t).concat(l,"; Secure")}}static unset(e){document.cookie="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; Secure")}}let i=(e,t,n)=>{if(!e)return"";if(e.length<=t)return e;if(n){let n=Math.floor(t/2);return"".concat(e.slice(0,n),"...").concat(e.slice(-n))}return"".concat(e.slice(0,t),"...")},c=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")},u=e=>{var t;return null==e?void 0:null===(t=e.replace(/\s+/g,"-"))||void 0===t?void 0:t.toLowerCase()},d=function(e){let t=arguments.length>
11&&void 0!==arguments[1]?arguments[1]:2,n=Math.pow(10,t||0);return Math.round((e+Number.EPSILON)*n)/n},m=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(null==e||Number.isNaN(e))return null==e?void 0:null===(t=e.toFixed)||void 0===t?void 0:t.call(e,n);let l=e=>parseFloat(e.toFixed(n)).toString();return e>=1e9?"".concat(l(e/1e9),"B"):e>=1e6?"".concat(l(e/1e6),"M"):e>=1e3?"".concat(l(e/1e3),"K"):l(e)},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return"0";let n=e.toString().split(".");return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t&&1===n.length&&n.push("00"),n.join(".")},h=e=>e?e.length>7?"".concat(e.slice(0,4),"...").concat(e.slice(-3)):e:"",p=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?parseFloat(e).toFixed(t?3:0).replace(/\B(?=(\d{3})+(?!\d))/g,","):""},v=e=>{let t={0:"â",1:"â",2:"â",3:"â",4:"â",5:"â
",6:"â",7:"â",8:"â",9:"â"};if(e>=1)return f(String(Math.round(100*e)/100),!0);{let l=String(e);if(l.includes("e")){let[,t]=l.split("e"),n=parseInt(t);n<0&&(l=e.toFixed(Math.abs(n)+5).replace(/\.?0+$/,""))}let r=l.match(/^0\.00+(?!0)(\d+)/);if(!r)return Math.round(1e5*e)/1e5;{var n;let[,e]=r,a=((null===(n=l.match(/^0\.0+(?=\d)/))||void 0===n?void 0:n[0].length)||0)-2;return"0.0".concat(a.toString().split("").map(e=>t[e]||e).join("")).concat(e.slice(0,5))}}},g=e=>{let t=Math.floor(e/31536e3),n=Math.floor(e/2592e3),l=Math.floor(e/86400),r=Math.floor(e/3600),a=Math.floor(e/60);return t>=1?"".concat(t,"y").concat(t>1?"s":""):n>=1?"".concat(n,"m").concat(n>1?"s":""):l>=1?"".concat(l,"d"):r>=1?"".concat(r,"h").concat(r>1?"s":""):a>=1?"".concat(a,"min"):"".concat(Math.ceil(e),"s")},x=e=>{let t=new Date;return g(Math.abs(new Date(e).getTime()-t.getTime())/1e3)};a.env.NEXT_PUBLIC_AIRTABLE_API_KEY;let y=(e,t)=>e>999&&e<1e6?(e/1e3).toString().match(/^\d+(?:\.\d{0,2})?/)+"K":e>=1e12?(e/1e12).toString().match(/^\d+(?:\.\d{0,2})?/)+"T":e>=1e9?(e/1e9).toString().match(/^\d+(?:\.\d{0,2})?/)+"B":e>=1e6?(e/1e6).toString().match(/^\d+(?:\.\d{0,2})?/)+"M":e<=999?e%1==0?e:e.toString().match(/^\d+(?:\.\d{0,2})?/):void 0,w=e=>e?Object.keys(e).filter(t=>!!e[t]).reduce((t,n)=>({...t,[n]:e[n]}),{}):{},N=e=>0===Object.keys(e).length,b=e=>{if(!e)return"";let t={and:[]};for(let n in e){let l=e[n].map(e=>({name:n,value:e}));(null==l?void 0:l.length)&&t.and.push({or:l})}return t},j=e=>{let{filterObj:t,collectionFilters:n}=e,l={};for(let e in t){let r=t[e],a=n.find(t=>t.name===e),s=r.filter(e=>{var t;return null==a?void 0:null===(t=a.values)||void 0===t?void 0:t[e]});s.length&&(l[e]=s)}return l},P=e=>"Magic Eden"===e||"MagicEden"===e||"Magic Eden AMM"===e?"/marketplaces/magic-eden.png":"Coral Cube"===e?"/marketplaces/coral-cube.svg":"OpenSea"===e?"/marketplaces/opensea.svg":"Solsea"===e?"/marketplaces/SolSea.svg":"Solanart"===e?"/marketplaces/solanart-logo.svg":"exchange art"===e?"/marketplaces/exchange.svg":"Fractal"===e?"/marketplaces/fractal.png":"Hyperspace"===e?"/marketplaces/hyperspace.svg":"Hadeswap"===e?"/marketplaces/hadeswap.ico":"Alpha Art"===e?"/marketplaces/alpha-art.svg":"SniperMarket"===e||"Sniper"===e?"/marketplaces/sniper-icon.svg":"Tensor"===e?"/marketplaces/tensor.svg":""===e?"/marketplaces/digitaleyes.svg":"",k=(e,t,n)=>e&&t&&n?n/1e4*e:0,S=(e,t,n)=>{if(!e||!t)return 0;let l=0;return"Tensor"===n&&(l=r.XV),"Magic Eden"===n&&(l=r.aq),"Sniper"===n&&(l=.5),l/100*e},z=(e,t)=>{var n;return null===(n=t.find(t=>t.trait_type===e))||void 0===n?void 0:n.value};function D(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return"".concat(e.slice(0,t),"...").concat(e.slice(-t))}let F=(e,t)=>"MagicEden"===e?"https://magiceden.io/marketplace/".concat(t.meSlug,'?activeTab="offers"'):"Tensor"===e?"https://www.tensor.trade/trade/".concat(t.tensorSlug):"SniperMarket"===e?"https://www.sniper.xyz/collection/".concat(t.sniperSlug):"Hadeswap"===e?"https://app.hadeswap.com/trade/".concat(t.hadeswapSlug):"",C=e=>{switch(e){case"CANCELLATION":return"error-50";case"SALE":case"INSTANT_SALE":return"accent-main";default:return"white"}},L=e=>{switch(e){case"CANCELLATION":return"DELIST";case"SALE":return"BUY";case"INSTANT_SALE":return"SELL";default:return e}},E=(e,t,n,l)=>"Magic Eden"===e?"https://magiceden.io/item-details/".concat(t):"Coral Cube"===e?"https://coralcube.io/detail/".concat(t):"OpenSea"===e?"https://opensea.io/assets/solana/".concat(t):"Solsea"===e?"https://solsea.io/n/".concat(t):"Solanart"===e?"https://solanart.io/nft/".concat(t):"exchange art"===e?"https://exchange.art/single/".concat(t):"Fractal"===e?"https://www.fractal.is/":"Hyperspace"===e?"https://hyperspace.xyz/token/".concat(t):"Alp
1ha Art"===e?"https://alpha.art/t/".concat(t):"Hadeswap"===e?"https://app.hadeswap.com/item/".concat(t):"Tensor"===e?"https://www.tensor.trade/item/".concat(t):"Sniper"===e?"https://www.sniper.xyz/asset/".concat(t):"https://www.digitaleyes.market/item/".concat(n,"/").concat(t,"?pk=").concat(l),I=e=>"Magic Eden"===e?2:"Sniper"===e?.5:"Hadeswap"===e?0:2},37527:function(e,t,n){"use strict";n.d(t,{$x:function(){return o},FC:function(){return i},J_:function(){return c},KX:function(){return x},R1:function(){return d},TL:function(){return f},VZ:function(){return s},cO:function(){return m},g4:function(){return y},v6:function(){return g}});var l=n(85583),r=n(95649),a=n(65404);let s=20,o=300,i=[{label:"1H",value:"1h"},{label:"24H",value:"24h"},{label:"7D",value:"7d"},{label:"30D",value:"30d"}],c={offset:0,orderBy:"-volumeLast_24h",name:void 0,sortKey:"volume",sortOrder:"descend"},u={"1h":{floorPriceDelta:"floorPriceLast1hDelta",volume:"volumePast_1h",volumeDelta:"volumePast_1hDelta",sales:"salesPast1h"},"24h":{floorPriceDelta:"floorPriceLast24hDelta",volume:"volumeLast_24h",volumeDelta:"volumePast_24hDelta",sales:"salesPast24h"},"7d":{floorPriceDelta:"floorPriceLast7dDelta",volume:"volumeLast_7d",volumeDelta:"volumePast_7dDelta",sales:"salesPast7d"},"30d":{floorPriceDelta:"floorPriceLast30dDelta",volume:"volumeLast_30d",volumeDelta:"volumePast_30dDelta",sales:"salesPast30d"}},d=e=>{let t={},n=[];for(let l=0;l<e.length;l++){let r=e[l],a=r.name.toLowerCase();t[a]||(t[a]=1,n.push(r))}return n},m=e=>{if(!e)return e;let[t,n]=e.toString().split("."),l=t.split(""),r="";for(;l.length;){let e=l.splice(-3).join("");r=(l.length?",":"")+e+r}return n?"".concat(r,".").concat(n):r},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!e)return 0;let n=+e/r.j;return(0,a.NM)(n,t)},h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e?1e9*+e:0},p=(e,t)=>e&&t?"sellNowPrice":t?"sellNowWithFees":e?"sellNowWithRoyalties":"sellNowWithRoyaltiesAndFees",v=(e,t)=>e&&t?"floorPriceWithRoyaltiesAndFees":t?"floorPriceWithRoyalties":e?"floorPriceWithFees":"floorPrice",g=(e,t,n)=>{let l;if("sellNow"===e)l=p(n.hasFees,n.hasRoyalties);else if("floorPrice"===e)l=v(n.hasFees,n.hasRoyalties);else{var r;l=(null==u?void 0:null===(r=u[n.duration])||void 0===r?void 0:r[e])||e}return"descend"===t?"-"+l:l},x=(e,t)=>{switch(e){case"floorPrice":case"volume":case"marketCap":return h(t).toString();default:return t.toString()}},y=(e,t)=>{let n=null===l.Z||void 0===l.Z?void 0:l.Z[t];switch(e){case"volume":case"sales":return n[e];case"marketCap":return"totalFloorPrice";case"uniqueOwnerRatio":return"uniqueOwnersPercentage";case"listed":return"listedPercentage";default:return e}}},38779:function(){},5062:function(){}}]);
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.