PageSourceSearch

https://popdex.xyz/perp-static/client/js/pages-MegaPop-History-EpochTierSummary.fff1e1f2991c96b2a4b7.chunk.js

js popdex.xyz collected 2026-10-08 09:40:32 UTC 39,909 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[78666],{52139(e,t,r){r.d(t,{A:()=>v});var a=r(97500),n=r.n(a),o=r(41594),s=r(55625),i=r(50365),l=r(85765);const c=e=>{let{type:t="default"}=e;const[,r]=(0,l.A)(),{colorEmptyBg1:a,colorEmptyBg2:n,colorEmptyBg3:s}=r;switch(t){case"noConnect":return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"54",height:"50",viewBox:"0 0 54 50",fill:"none"},o.createElement("path",{d:"M14.8193 7.42203C27.8593 3.11428 42.6502 6.03511 52.8652 16.2502C52.9397 16.3246 53.0133 16.3998 53.0869 16.4748L46.9365 22.6252C46.8631 22.5501 46.7883 22.476 46.7139 22.4015C39.9962 15.6839 30.7127 13.0581 21.8887 14.4914L14.8193 7.42203ZM17.8896 15.4318C13.5789 16.7694 9.49856 19.1218 6.0293 22.4875L0 16.4572C3.37295 13.1622 7.19629 10.611 11.2588 8.80093L17.8896 15.4318Z",fill:a}),o.createElement("path",{d:"M23.0009 40.1093C25.0954 38.0147 28.4912 38.0149 30.5858 40.1093C32.6804 42.2039 32.6804 45.5996 30.5858 47.6942C28.4912 49.7889 25.0955 49.7889 23.0009 47.6942C20.9064 45.5996 20.9063 42.2038 23.0009 40.1093ZM36.0096 33.5516L35.3719 34.1893C35.2998 34.1135 35.2267 34.0382 35.1522 33.9637C30.3063 29.1179 22.4367 29.0901 17.3661 33.8231L11.3846 27.8427C15.0558 24.3197 19.6415 22.3246 24.3221 21.8641L36.0096 33.5516ZM29.3593 21.9608C33.7269 22.5651 37.9186 24.5309 41.2518 27.8641C41.3262 27.9385 41.4005 28.0135 41.4735 28.0887L38.4794 31.0809L29.3593 21.9608Z",fill:n}),o.createElement("rect",{x:"50.374",y:"47.1329",width:"3.16935",height:"66.656",transform:"rotate(135 50.374 47.1329)",fill:s}));case"missing":return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},o.createElement("path",{d:"M24.8346 34.1056C24.1084 34.2341 23.5787 34.8647 23.5775 35.6022L23.5393 59.3387L20.9614 55.3293L20.0015 65.1663L26.0004 63.1665L25.9826 63.1388L69.1194 56.4285C69.8948 56.3078 70.4515 55.6174 70.4051 54.834L68.8154 28.0466C68.7615 27.1376 67.927 26.479 67.0304 26.6377L24.8346 34.1056Z",fill:a}),o.createElement("path",{d:"M16.2092 27.9085C15.3884 28.0292 14.8154 28.785 14.9207 29.6079L18.1462 54.8187L17.933 54.8593L18.5365 57.8693L18.7717 59.7073C18.805 59.9678 18.9019 60.2035 19.0443 60.4016L19.9998 65.1667L25.1275 60.039L62.8563 52.0068C63.6185 51.8446 64.1351 51.1329 64.0533 50.358L61.1539 22.8991C61.0631 22.0387 60.2744 21.4269 59.4184 21.5528L16.2092 27.9085Z",fill:s}),o.createElement("path",{d:"M17.5425 64.8028L14.0011 53.1664L26.9718 51.5333L20.3663 65.0289C19.7587 66.2701 17.9448 66.1249 17.5425 64.8028Z",fill:n}),o.createElement("path",{d:"M6.91552 29.1988C6.67602 28.3929 7.13523 27.5454 7.94119 27.3059L48.4445 15.2703C49.2505 15.0308 50.0979 15.49 50.3374 16.2959L59.0102 45.4822C59.2497 46.2881 58.7905 47.1356 57.9845 47.3751L17.4812 59.4107C16.6752 59.6502 15.8277 59.191 15.5883 58.385L6.91552 29.1988Z",fill:n}),o.createElement("path",{d:"M32.1207 31.7114C33.3591 31.3434 34.6614 32.049 35.0294 33.2874C35.2135 33.907 35.1301 34.5397 34.8438 35.0682L32.6787 39.0641L33.5133 41.8725L36.5031 40.9841L36.0365 39.414L37.5862 36.554C38.2505 35.328 38.4484 33.8433 38.0192 32.3989C37.1605 29.5093 34.1219 27.8628 31.2322 28.7215C28.3425 29.5803 26.6961 32.6189 27.5548 35.5086L27.7769 36.256L30.7668 35.3676L30.5446 34.6201C30.1766 33.3817 30.8822 32.0794 32.1207 31.7114ZM35.0681 47.1047L38.0579 46.2163L37.1695 43.2264L34.1796 44.1149L35.0681 47.1047Z",fill:a}));case"files":return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},o.createElement("path",{d:"M24.5568 42.5905C24.2689 41.9845 24.4568 41.2593 25.0027 40.8693L56.7231 18.212C57.3971 17.7305 58.3402 17.9445 58.7404 18.6696L70.5368 40.0411C70.8818 40.6661 70.6951 41.451 70.1057 41.8537L36.7909 64.6164C36.0886 65.0963 35.
11237 64.8355 34.7587 64.0672L24.5568 42.5905Z",fill:a}),o.createElement("path",{d:"M15.101 41.0606C14.6923 40.4262 14.8668 39.5813 15.4934 39.1607L48.4814 17.0196C49.1349 16.581 50.0221 16.7745 50.4337 17.4453L63.5683 38.855C63.939 39.4593 63.7936 40.2459 63.2313 40.6776L32.0588 64.6141C31.4165 65.1073 30.4898 64.9465 30.0512 64.2657L15.101 41.0606Z",fill:s}),o.createElement("rect",{x:"7.44092",y:"42.8306",width:"41.2071",height:"30.4673",rx:"1.38488",transform:"rotate(-42.0506 7.44092 42.8306)",fill:n}),o.createElement("rect",{x:"14.2969",y:"43.3435",width:"6.92439",height:"4.15463",transform:"rotate(-40.2709 14.2969 43.3435)",fill:a}));case"brokenConnect":return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"62",height:"60",viewBox:"0 0 62 60",fill:"none"});case"folder":return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"47",viewBox:"0 0 60 47",fill:"none"},o.createElement("path",{d:"M0.333496 1.89227C0.333496 1.00806 1.05029 0.29126 1.9345 0.29126H11.9785C12.3992 0.29126 12.8029 0.4568 13.1025 0.752094L19.3092 6.87044C19.6088 7.16574 20.0125 7.33128 20.4332 7.33128H44.4835C45.3677 7.33128 46.0845 8.04808 46.0845 8.93229L46.0844 46.0423H0.333496V1.89227Z",fill:a}),o.createElement("path",{d:"M5.83876 15.7623C5.96236 15.0825 6.55445 14.5884 7.24541 14.5884H50.0901C50.9821 14.5884 51.6563 15.3962 51.4968 16.2739L46.2978 44.8682C46.1742 45.548 45.5821 46.0422 44.8911 46.0422H0.333328L5.83876 15.7623Z",fill:s}),o.createElement("path",{d:"M45.6889 18.2381C45.9311 17.7537 46.4261 17.4478 46.9677 17.4478H57.7948C58.3263 17.4478 58.6719 18.007 58.4342 18.4823L56.4872 22.3763C56.2451 22.8
1607 55.75 23.1666 55.2085 23.1666H43.2246L45.6889 18.2381Z",fill:a}),o.createElement("path",{d:"M13.5064 22.4693C13.7591 22.0172 14.2366 21.7371 14.7545 21.7371H57.2299C58.3216 21.7371 59.0105 22.9112 58.478 23.8642L46.4935 45.31C46.2409 45.7622 45.7634 46.0423 45.2455 46.0423H0.333328L13.5064 22.4693Z",fill:n}));default:return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"62",height:"60",viewBox:"0 0 62 60",fill:"none"},o.createElement("path",{d:"M59.8744 29.4601H25.4318C24.6404 29.4601 23.9865 30.0776 23.9412 30.8678L22.4871 56.25C22.4381 57.1068 23.1196 57.8285 23.9778 57.8285H51.191C51.8293 57.8285 52.3971 57.4227 52.6037 56.8187L61.2871 31.4364C61.6186 30.4675 60.8985 29.4601 59.8744 29.4601Z",fill:a}),o.createElement("path",{d:"M13.5505 9.08473C13.5651 7.84791 14.5799 6.85723 15.8167 6.87186L46.3711 7.23307C47.6078 7.24777 48.5985 8.26251 48.5839 9.49924L48.0804 52.0495L13.0467 51.634L13.5505 9.08473ZM19.4753 25.8612L30.8575 25.8615L30.8581 23.6217L19.475 23.6216L19.4753 25.8612ZM19.8554 18.768L42.6256 18.7683L42.6262 16.5286L19.855 16.5285L19.8554 18.768Z",fill:n}),o.createElement("path",{d:"M0.65503 32.9184C0.332759 31.9516 1.05238 30.9532 2.07149 30.9532H10.6304C10.996 30.9532 11.349 31.0874 11.6223 31.3303L17.4926 36.5483C17.7659 36.7913 18.1188 36.9255 18.4845 36.9255H43.0281C43.642 36.9255 44.1933 37.3012 44.4178 37.8726L52.2576 57.8285H10.0346C9.39189 57.8285 8.82133 57.4173 8.6181 56.8076L0.65503 32.9184Z",fill:s}))}};const d=o.forwardRef((function({title:e,titleId:t,...r},a){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},r),e?o.createElement("title",{id:t},e):null,o.createElement("path",{d:"M19.5 3h-15A1.5 1.5 0 003 4.5v15A1.5 1.5 0 004.5 21h15a1.5 1.5 0 001.5-1.5v-15A1.5 1.5 0 0019.5 3zm0 1.5v9.75h-2.69a1.486 1.486 0 00-1.06.44l-1.81 1.81h-3.88l-1.81-1.81a1.487 1.487 0 00-1.06-.44H4.5V4.5h15zm0 15h-15v-3.75h2.69L9 17.56a1.487 1.487 0 001.06.44h3.88a1.487 1.487 0 001.06-.44l1.81-1.81h2.69v3.75z"}))}));const m=()=>{const[,e]=(0,l.A)(),{colorTextDisabled:t}=e;return o.createElement(d,{width:60,height:60,style:{color:t}})};var p=r(14493),u=r(37294);const g=e=>{const{componentCls:t,marginSM:r,marginXS:a,marginXXS:n,marginXL:o,fontSize:s,lineHeight:i}=e;return{[t]:{marginInline:a,fontSize:s,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextPrimary,fontSize:e.fontSizeSM},[`${t}-sub-description`]:{color:e.colorTextTertiary,marginTop:n,fontSize:e.fontSizeSM},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:o,color:e.colorTextTertiary,[`${t}-description`]:{color:e.colorTextTertiary},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:a,color:e.colorTextTertiary,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},f=(0,p.A)("Empty",(e=>{const{componentCls:t,controlHeightLG:r}=e,a=(0,u.h1)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:104,emptyImgHeightMD:60,emptyImgHeightSM:.875*r});return[g(a)]}));var _=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]])}return r};const x=o.createElement(c,{type:"default"}),y=o.createElement(m,null),L=o.createElement(c,{type:"noConnect"}),h=o.createElement(c,{type:"missing"}),w=o.createElement(c,{type:"files"}),E=o.createElement(c,{type:"brokenConnect"}),C=o.createElement(c,{type:"folder"}),b=e=>{var{className:t,rootClassName:r,prefixCls:a,image:l=x,showImage:c=!0,description:d,subDescription:m,children:p,imageStyle:u,style:g,type:b}=e,v=_(e,["className","rootClassName","prefixCls","image","showImage","description","subDescription","children","imageStyle","style","type"]);const{getPrefixCls:T,direction:S,empty:N}=o.useContext(s.QO),A=T("empty",a),[I,M]=f(A),[k]=(0,i.A)("Empty"),D=void 0!==d?d:null==k?void 0:k.description,P=void 0!==m?m:"",O="string"==typeof D?D:"empty";let j=null;if(l!==x)j="string"==typeof l?o.createElement("img",{alt:O,src:l}):l;else if(b)switch(b){case"simple":j=y;break;case"noConnect":j=L;break;case"missing":j=h;break;case"files":j=w;break;case"brokenConnect":j=E;break;case"folder":j=C;break;default:j=x}else j=x;return I(o.createElement("div",Object.assign({className:n()(M,A,null==N?void 0:N.className,{[`${A}-normal`]:j===y,[`${A}-rtl`]:"rtl"===S},t,r),style:Object.assign(Object.assign({},null==N?void 0:N.style),g)},v),c&&o.createElement("div",{className:`${A}-image`,style:u},j),D&&o.createElement("div",{className:`${A}-description`},D),P&&o.createElement("div",{className:`${A}-sub-description`},P),p&&o.createElement("div",{className:`${A}-footer`},p)))};b.PRESENTED_IMAGE_DEFAULT=x,b.PRESENTED_IMAGE_SIMPLE=y,b.PRESENTED_IMAGE_NO_CONNECT=L,b.PRESENTED_IMAGE_MISSING=h,b.PRESENTED_IMAGE_FILES=w,b.PRESENTED_IMAGE_BROKEN_CONNECT=E,b.PRESENTED_IMAGE_FOLDER=C;const v=b},50365(e,t,r){var a=r(41594),n=r(6951),o=r(87902);const s=(e,t)=>{const r=a.useContext(n.A);return[a.useMemo((()=>{var a;const n=t||o.A[e],s=null!==(a=null==r?void 0:r[e])&&void 0!==a?a:{};return Object.assign(Object.assign({},"function"==typeof n?n():n),s||{})}),[e,t,r]),a.useMemo((()=>{const e=null==r?void 0:r.locale;return(null==r?void 0:r.exist)&&!e?o.A.locale:e}),[r])]};r.d(t,["A",0,s])},2375(e,t,r){var a=r(30049),n=r(40758);const o=new a.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}
1,"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),s=new a.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i=new a.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new a.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c={"slide-up":{inKeyframes:o,outKeyframes:s},"slide-down":{inKeyframes:i,outKeyframes:l},"slide-left":{inKeyframes:new a.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),outKeyframes:new a.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}})},"slide-right":{inKeyframes:new a.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}
1,"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),outKeyframes:new a.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}})}};r.d(t,["YU",0,l,"_j",0,(e,t)=>{const{antCls:r}=e,a=`${r}-${t}`,{inKeyframes:o,outKeyframes:s}=c[t];return[(0,n.b)(a,o,s,e.motionDurationMid),{[`\n      ${a}-enter,\n      ${a}-appear\n    `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${a}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},"nP",0,i,"ox",0,o,"vR",0,s])},87590(e,t,r){r.d(t,{A:()=>s});var a=r(41594),n=r(47610),o=r(81773);function s(){var e=a.useContext(n.ob);return(0,o.HM)(e),e}},66045(e,t,r){r.d(t,{u1:()=>a,YF:()=>p,V$:()=>l,Dr:()=>m,Fn:()=>d,$o:()=>c,L8:()=>i,h6:()=>f,yR:()=>_,Al:()=>s,rd:()=>u,ZP:()=>g});const a={all:["megapop"],draws:e=>[...a.all,"draws",e?.sort??"NewestFirst",e?.cursor??"",e?.limit??"4"],drawDetail:e=>[...a.all,"drawDetail",e],userTickets:e=>[...a.all,"userTickets",e],accountDrawDetail:(e,t)=>[...a.all,"accountDrawDetail",e,t?.epoch??""],accountDraws:(e,t)=>[...a.all,"accountDraws",e,t?.sort??"HighestPrize",t?.win??"",t?.status??"",t?.cursor??"",t?.limit??"20"],accountDrawTickets:(e,t)=>[...a.all,"accountDrawTickets",e,t?.epoch??"",t?.status??"",t?.prizeTier??"",t?.source??"",t?.number??"",t?.sort??"SeqDesc",t?.cursor??"",t?.limit??"20"],accountDrawStats:e=>[...a.all,"accountDrawStats",e],accountClaimable:e=>[...a.all,"accountClaimable",e],leaderboardLegend:()=>[...a.all,"leaderboardLegend"],leaderboardTicketKing:e=>[...a.all,"leaderboardTicketKing",e??""],drawTierWinners:(e,t,r)=>[...a.all,"drawTierWinnersTickets",e,t,r?.source??"",r?.number??"",r?.cursor??"",r?.limit??"20"],drawWinnersGroupByTiers:e=>[...a.all,"drawWinnersGroupByTiers",e]};var n=r(72768),o=r(67985);function s(e,t){return(0,n.I)({queryKey:a.draws(e),queryFn:()=>function(e){return o.a.get("v1/megapop/draws",{sort:e?.sort,cursor:e?.cursor??"",limit:e?.limit??"4"})}(e),select:e=>{let{data:t,cursor:r,preCursor:a,total:n,limit:o}=e;return{data:t,cursor:r,preCursor:a,total:n,limit:o}},staleTime:3e4,...t,enabled:t?.enabled??!0})}function i(e,t){return(0,n.I)({queryKey:a.drawDetail(e),queryFn:()=>function(e){return o.a.get(`v1/megapop/draws/${e}`)}(e),select:e=>{let{data:t}=e;return t},staleTime:3e4,...t,enabled:Boolean(e)&&(t?.enabled??!0)})}function l(e,t,r){return(0,n.I)({queryKey:a.accountDrawDetail(e,t),queryFn:()=>function(e,t){return o.a.get(`v1/megapop/account/${e}/draws/detail`,t)}(e,t),select:e=>e.data,staleTime:1e4,...r,enabled:Boolean(e)&&Boolean(t.epoch)&&(r?.enabled??!0)})}function c(e,t,r){return(0,n.I)({queryKey:a.accountDraws(e,t),queryFn:()=>function(e,t){return o.a.get(`v1/megapop/account/${e}/draws`,{sort:t?.sort,win:t?.win,status:t?.status,cursor:t?.cursor??"",limit:t?.limit??"20"})}(e,t),select:e=>{let{data:t,cursor:r,preCursor:a,total:n,limit:o}=e;return{data:t,cursor:r,preCursor:a,total:n,limit:o}},staleTime:1e4,...r,enabled:Boolean(e)&&(r?.enabled??!0)})}function d(e,t,r){return(0,n.I)({queryKey:a.accountDrawTickets(e,t),queryFn:()=>function(e,t){return o.a.get(`v1/megapop/account/${e}/draws/tickets`,{epoch:t?.epoch,status:t?.status,prizeTier:t?.prizeTier,source:t?.source,number:t?.number,sort:t?.sort,cursor:t?.cursor??"",limit:t?.limit??"20"})}(e,t),select:e=>{let{data:t,cursor:r,preCursor:a,total:n,limit:o}=e;return{data:t,cursor:r,preCursor:a,total:n,limit:o}},staleTime:1e4,keepPreviousData:r?.keepPreviousData,...r,enabled:Boolean(e)&&(r?.enabled??!0)})}function m(e,t){return(0,n.I)({queryKey:a.accountDrawStats(e),queryFn:()=>function(e){return o.a.get(`v1/megapop/account/${e}/draws/stats`)}(e),select:e=>e.data,staleTime:1e4,...t,enabled:Boolean(e)&&(t?.enabled??!0)})}function p(e,t){return(0,n.I)({queryKey:a.accountClaimable(e),queryFn:()=>function(e){return o.a.get(`v1/megapop/account/${e}/claimable`)}(e),select:e=>e.data,staleTime:1e4,...t,enabled:Boolean(e)&&(t?.enabled??!0)})}function u(e){return(0,n.I)({queryKey:a.leaderboardLegend(),queryFn:()=>o.a.get("v1/megapop/leaderboard/legend"),select:e=>e.data??[],staleTime:6e4,refetchInterval:6e4,...e,enabled:e?.enabled??!0})}function g(e,t){return(0,n.I)({queryKey:a.leaderboardTicketKing(e?.walletId),queryFn:()=>function(e){return o.a.get("v1/megapop/leaderboard/ticket-king",{walletId:e?.walletId})}(e),select:e=>e.data??{ranks:[],myRank:null},staleTime:6e4,refetchInterval:6e4,...t,enabled:t?.enabled??!0})}function f(e,t,r,s){return(0,n.I)({queryKey:a.drawTierWinners(e,t,r),queryFn:()=>function(e,t,r){return o.a.get(`v1/megapop/draws/${e}/tiers/${t}/winners/tickets`,{source:r?.source,number:r?.number,cursor:r?.cursor??"",limit:r?.limit??"20"})}(e,t,r),select:e=>{let{data:t,cursor:a,preCursor:n,total:o,limit:s}=e;
1return{data:t??[],cursor:a??"",preCursor:n,total:o??"0",limit:s??r?.limit??"20"}},staleTime:1e4,...s,enabled:Boolean(e)&&Boolean(t)&&(s?.enabled??!0)})}function _(e,t){return(0,n.I)({queryKey:a.drawWinnersGroupByTiers(e),queryFn:()=>function(e){return o.a.get(`v1/megapop/draws/${e}/winners-group-by-tiers`)}(e),select:e=>e.data??[],staleTime:1e4,...t,enabled:Boolean(e)&&(t?.enabled??!0)})}},54037(e,t,r){r(50769),r(43117),r(93642),r(9643),r(26709),r(73581),r(931),r(64109),r(7899),r(27622),r(20130),r(61112),r(57249);var a=r(41594),n=r(50440),o=r(86070);const s=20,i=e=>{const{activeKey:t,defaultActiveKey:r,items:i,onChange:l,onTabClick:c,tabBarGutter:d=("segmented"===e.type?0:s),...m}=e,p=(0,a.useMemo)((()=>i?.map((e=>({...e,key:String(e.key)})))),[i]),u=(0,a.useMemo)((()=>new Map(i?.map((e=>[String(e.key),e.key])))),[i]);return(0,o.jsx)(n.A,{...m,tabBarGutter:d,items:p,activeKey:"number"==typeof t?String(t):t,defaultActiveKey:"number"==typeof r?String(r):r,onChange:e=>{const t=u.get(e);void 0!==t&&l?.(t)},onTabClick:(e,t)=>{const r=u.get(e);void 0!==r&&c?.(r,t)}})};r.d(t,["A",0,i])},44736(e,t,r){r.d(t,{A:()=>m,g:()=>d});var a=r(25276),n=r(97500),o=r.n(n),s=r(11902),i=r(1004),l=r(34929),c=r(86070);function d(e,t,r){return r<=0?{startIndex:0,endIndex:0}:{startIndex:(e-1)*t+1,endIndex:Math.min(e*t,r)}}function m(e){let{hasPrev:t,hasNext:r,onFirst:n,onPrev:d,onNext:m,onLast:p,disabled:u=!1,className:g,startIndex:f,endIndex:_,total:x}=e;const y=(0,a.$n)(),L="text-fs12 !p-[4px]  rounded hidden md:inline-flex ",h="h-7  px-3 gap-1 text-fs12 ";return(0,c.jsxs)("div",{className:`flex items-center ${g??""}`,children:[n?(0,c.jsx)(s.A,{type:"text",size:"small",className:o()(L),disabled:u||!t,onClick:n,children:y("dex_explorer.pagination.first","First")}):null,p?(0,c.jsx)(s.A,{type:"text",size:"small",className:L,disabled:u||!r,onClick:p,children:y("dex_explorer.pagination.last","Last")}):null,f&&_&&x?(0,c.jsx)("span",{className:"text-fs12 text-secondaryText tabular-nums mx-1",children:y("dex_explorer.pagination.range","{0}-{1} of {2}",{0:f,1:_,2:x})}):null,(0,c.jsx)(s.A,{type:"text",size:"small",className:h,disabled:u||!t,onClick:d,icon:(0,c.jsx)(i.A,{className:"w-[12px] h-[12px]"})}),(0,c.jsx)(s.A,{type:"text",size:"small",className:h,disabled:u||!t,onClick:d,children:y("dex_explorer.pagination.prev","Prev")}),(0,c.jsx)(s.A,{type:"text",size:"small",className:h,disabled:u||!r,onClick:m,children:y("dex_explorer.pagination.next","Next")}),(0,c.jsx)(s.A,{type:"text",size:"small",className:h,disabled:u||!r,onClick:m,icon:(0,c.jsx)(l.A,{className:"w-[12px] h-[12px]"})})]})}},40414(e,t,r){r.d(t,{A:()=>i});var a=r(52139);r(41594);const n=r.p+"media/data-empty-dark.1473e354fd5e0d0e013a432d21ae9c6a.svg";var o=r(86070);const s=(0,o.jsx)("img",{src:n,alt:"",loading:"lazy",fetchpriority:"low",style:{height:60}}),i=e=>{const{className:t,...r}=e;return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(a.A,{image:s,imageStyle:{height:60,marginBottom:24},className:`[&_.bit-empty-image]:!h-[60px] [&_.bit-empty-image]:!mb-[16px] [&_.bit-empty-description]:!text-ds-color-text-secondary [&_.bit-empty-description]:!text-[12px] ${t??""}`.trim(),...r})})}},25276(e,t,r){r.d(t,{$n:()=>a.A,N5:()=>i});var a=r(58954),n=r(41594);r(17762),r(61557),r(34996);(0,r(57816).eU)("strategy");var o=r(30314),s=r(79791);const i=()=>{const{pathname:e}=(0,o.zy)();return{isSpot:(0,n.useMemo)((()=>(0,s.qB)(e)),[e]),isMargin:(0,n.useMemo)((()=>(0,s.Ss)(e)),[e]),isFutures:(0,n.useMemo)((()=>(0,s.sx)(e)),[e])}}},46161(e,t,r){r.d(t,{OR:()=>s,wB:()=>o});var a=r(41594);const n="lastpage";function o(e){if(null==e)return!1;const t=String(e).trim();return""!==t&&"0"!==t}function s(e){const[t,r]=(0,a.useState)(void 0),[s,i]=(0,a.useState)(1),l=(0,a.useRef)(e);e.some(((e,t)=>e!==l.current[t]))&&(l.current=e,1===s&&void 0===t||(r(void 0),i(1)));const c=(0,a.useCallback)((()=>{r(void 0),i(1)}),[]);return{cursor:t,currentPage:s,hasPrev:s>1,goNext:(0,a.useCallback)((e=>{o(e)&&(r(String(e)),i((e=>e+1)))}),[]),goPrev:(0,a.useCallback)((e=>{i((t=>{if(t<=1)return 1;return null==e||""===String(e).trim()?2===t?(r(void 0),1):t:(r(String(e)),t-1)}))}),[]),goLast:(0,a.useCallback)((e=>{r(n),i(void 0!==e&&e>0?e:Number.MAX_SAFE_INTEGER)}),[]),reset:c}}r.d(t,["SU",0,n])},58954(e,t,r){r.d(t,{A:()=>m});var a=r(87590),n=r(86264),o=r.n(n),s=r(17726),i=r(41594),l=r(5779),c=r(59619);const d=o()(s);function m(){const{formatMessage:e}=(0,a.A)(),t=(0,l.F_)(),r=(0,l.zm)();return(0,i.useCallback)(((a,n,o)=>(c.OL||t(a),e({id:a,defaultMessage:r[a]||n||d[a]},o))),[e,t,r])}},17114(e,t,r){r.d(t,{v:()=>c});var a=r(36344),n=r(85731),o=r(41594),s=r(70292),i=r(41425),l=r(34432);function c(){const{address:e,isConnected:t,isConnecting:r,connector:c}=(0,a.w)(),d=(0,n.u)(),{ready:m,authenticated:p,logout:u,user:g}=(0,i.u)(),{wallets:f}=(0,s.u)(),[_,x]=(0,o.useState)(!1),y=(0,o.useMemo)((()=>f.find((e=>"privy"===e.walletClientType))),[f]),{connectionType:L,address:h,isConnected:w,isConnecting:E,activeConnector:C}=(0,o.useMemo)((()=>{const a=y?.address;if(Boolean(m&&p&&a))return{connectionType:"privy",address:a,isConnected:!0,isConnecting:!1,activeConnector:void 0};return Boolean(t&&e)?{connectionType:"wallet",address:e,isConnected:!0,isConnecting:!1,activeConnector:c}:{connectionType:null,address:void 0,isConnected:!1,isConnecting:r||!m||Boolean(p&&!a),activeConnector:void 0}}),[y,m,p,t,e,r,c]),b=(0,o.useMemo)((()=>h?`${h.slice(0,6)}...${h.slice(-4)}`:""),[h]),v=(0,o.useMemo)((()=>"privy"===L?g?.email?.address:void 0),[L,g]),T=(0,o.useMemo)((()=>v||b),[v,b]),S=(0,o.useCallback)((()=>{x(!0)}),[]),N=(0,o.useCallback)((()=>{x(!1)}),[]),A=(0,o.useCallback)((async()=>
1{if("privy"===L&&y){const e=await y.getEthereumProvider();if(!e?.request)throw new Error("Privy 钱包 Provider 不可用");return e}if(!c)throw new Error("钱包未连接");const e=await c.getProvider();if(!e?.request)throw new Error("钱包 Provider 不可用");return e}),[L,y,c]),I=(0,o.useCallback)((async e=>{if(!y)throw new Error("Privy 钱包未就绪");await y.switchChain(e)}),[y]),M=(0,o.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user";if(h){(0,l.oW)(h,{connection_type:L,trigger:e});const t=`bit_agent_${h}`;localStorage.removeItem(t)}t&&d.mutate(),p&&u()}),[d,h,L,t,p,u]);return{address:h,isConnected:w,isConnecting:E,connectionType:L,connector:C,ready:m,formattedAddress:b,email:v,displayName:T,openWalletModal:S,closeWalletModal:N,isWalletModalOpen:_,disconnectWallet:M,getEip1193Provider:A,switchPrivyChain:I}}},39368(e,t,r){r.r(t),r.d(t,{default:()=>E});var a=r(41594),n=r(30314),o=r(71882),s=r(66045),i=r(54037),l=r(44736),c=r(40414),d=r(25276),m=r(46161),p=r(17114),u=r(79791),g=r(37829),f=r(1778),_=r(9270),x=r(96024),y=r(36309);const L=function(){let e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(((t,r)=>((e,t,r)=>{const a=e.walletId||"",n=Boolean(r&&a&&r.toLowerCase()===a.toLowerCase());return{key:`${a}-${e.ticketSeq||t}-${e.number??t}`,walletId:a,walletDisplay:(0,y.L)(a),ticketNumber:e.number||"--",isMyWallet:n}})(t,r,e)))};var h=r(86070);const w={textShadow:"0px 2px 20px rgba(255, 255, 255, 0.3)"},E=()=>{const e=(0,d.$n)(),t=(0,n.Zp)(),{locales:r,epoch:y}=(0,n.g)(),[E,C]=(0,o.ok)(),{address:b}=(0,p.v)(),v=r?`/${r}`:"",T=y||"",S=(N=E.get("tier"))&&x.Ko.some((e=>e.id===N))?N:"1";var N;const A=(0,a.useMemo)((()=>[S,T]),[S,T]),{currentPage:I,hasPrev:M,goNext:k,goPrev:D,goLast:P,reset:O,cursor:j}=(0,m.OR)(A),{data:R}=(0,s.L8)(T),K=(0,a.useMemo)((()=>{const e=R?.tiers?.find((e=>e.tier===S));if(!e)return{winningTicketCount:"--",totalRewards:{display:"--"}};const t=Number(e.winningTicketCount);return{winningTicketCount:Number.isFinite(t)?(0,_.zJ)(String(t)):"--",totalRewards:(r=e.winningAmount,(0,f.W)(r,{suffix:" USDT"}))};var r}),[R?.tiers,S]),{data:z}=(0,s.h6)(T,S,{limit:String(20),...void 0!==j?{cursor:j}:{}}),F=(0,a.useMemo)((()=>L(z?.data,b)),[z?.data,b]),W=Number(z?.total??0),$=Math.max(1,Math.ceil(W/20)||1),B=I>$&&$>=1?$:I,G=(0,m.wB)(z?.cursor),{startIndex:H,endIndex:U}=(0,l.g)(B,20,W),Y=x.Ko.map((t=>({key:t.id,label:e(t.labelKey,t.defaultLabel)}))),Z=e("mega_pop.history.prize_summary.title","Summary of Each Prize Tiers");return(0,h.jsxs)("div",{className:"mx-auto w-full max-w-[1200px]",children:[(0,h.jsxs)("div",{className:"flex items-center gap-[8px] font-['PopdexSans'] font-normal text-[12px] leading-[1.4] text-white/80 mt-[14px]",children:[(0,h.jsx)("span",{className:"cursor-pointer text-white/50",onClick:()=>t(`${v}/${u.fo.MegaPop}`),children:e("mega_pop.history.breadcrumb.megapop","MegaPop")}),(0,h.jsx)("span",{className:"text-white/50",children:"/"}),(0,h.jsx)("span",{className:"cursor-pointer text-white/50",onClick:()=>t(`${v}/${u.fo.MegaPop}/${u.R9.History}`),children:e("mega_pop.history.title","History")}),(0,h.jsx)("span",{className:"text-white/50",children:"/"}),(0,h.jsx)("span",{className:"font-bold text-white",children:Z})]}),(0,h.jsxs)("div",{className:"mt-[40px] flex flex-col gap-[24px]",children:[(0,h.jsx)("div",{className:"font-['PopdexSans'] text-[38px] font-bold text-white",children:Z}),(0,h.jsx)(i.A,{noHeaderMargin:!0,noHeaderDivider:!0,tabBarGutter:20,activeKey:S,items:Y,onCh
1ange:e=>{C({tier:e},{replace:!0})}})]}),(0,h.jsx)("div",{className:"mt-[33px] pb-[80px]",children:(0,h.jsxs)("div",{className:"flex flex-col rounded-[16px] border-[1.001px] border-solid border-ds-color-border-subtle bg-ds-color-background-secondary p-[24px]",children:[(0,h.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,h.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[(0,h.jsx)("span",{className:"font-['PopdexSans'] text-[12px] font-normal leading-[1.4] text-ds-color-text-secondary",style:w,children:e("mega_pop.participation_stats.winning_tickets","Winning Tickets")}),(0,h.jsx)("span",{className:"font-['PopdexSans'] text-[20px] font-extrabold text-white",children:K.winningTicketCount})]}),(0,h.jsxs)("div",{className:"flex flex-col items-end gap-[4px]",children:[(0,h.jsx)("span",{className:"font-['PopdexSans'] text-[12px] font-normal leading-[1.4] text-ds-color-text-secondary",style:w,children:e("mega_pop.history.stat.total_rewards","Total Rewards")}),(0,h.jsx)(g.A,{value:K.totalRewards,className:"!font-['PopdexSans'] text-[20px] font-extrabold text-white"})]})]}),(0,h.jsxs)("div",{className:"flex flex-col gap-[8px] mt-[16px]",children:[(0,h.jsxs)("div",{className:"flex items-center justify-between gap-[16px]",children:[(0,h.jsx)("span",{className:"font-['PopdexSans'] text-[12px] font-normal leading-[1.4] text-ds-color-text-secondary",style:w,children:e("mega_pop.draw.winner","Winner")}),(0,h.jsx)("span",{className:"font-['PopdexSans'] text-[12px] font-normal leading-[1.4] text-ds-color-text-secondary",style:w,children:e("mega_pop.history.prize_summary.ticket_number","Ticket Number")})]}),F.length>0?(0,h.jsx)("div",{className:"flex flex-col gap-[8px]",children:F.map((t=>(0,h.jsxs)("div",{className:"flex items-center justify-between gap-[16px]",children:[(0,h.jsxs)("div",{className:"flex min-w-0 items-center gap-[8px]",children:[(0,h.jsx)("span",{className:"truncate font-['PopdexSans'] text-[14px] font-normal text-white",children:t.walletDisplay}),t.isMyWallet?(0,h.jsx)("span",{className:"shrink-0 rounded-[4px] border border-solid border-[rgba(128,119,255,0.50)] px-[5px] py-[1px] font-['PopdexSans'] text-[10px] font-normal text-[#8077FF]",children:e("mega_pop.history.prize_summary.my_tag","My")}):null]}),(0,h.jsx)("span",{className:"shrink-0 font-['PopdexSans'] text-[14px] font-normal text-white",children:e("mega_pop.ticket","Ticket")+" #"+t.ticketNumber})]},t.key)))}):(0,h.jsx)(c.A,{className:"mt-[24px]",description:e("uta_trade_info.no_data","No data found")})]}),W>20?(0,h.jsx)("div",{className:"mt-[32px] flex justify-end",children:(0,h.jsx)(l.A,{hasPrev:M,hasNext:G,onFirst:O,onLast:()=>P($),onPrev:()=>D(z?.preCursor),onNext:()=>k(z?.cursor),startIndex:H,endIndex:U,total:W})}):null]})})]})}},96024(e,t,r){r.d(t,["$E",0,[{id:"all",labelKey:"mega_pop.my_participation.filter.all",defaultLabel:"All"},{id:"won",labelKey:"mega_pop.my_participation.filter.won",defaultLabel:"Won"},{id:"not_won",labelKey:"mega_pop.my_participation.filter.not_won",defaultLabel:"Not Won"}],"GZ",0,{"Mega Prize":"mega_pop.reward_level.mega_prize","Super Prize":"mega_pop.reward_level.super_prize","Third Prize":"mega_pop.reward_level.third_prize","Forth Prize":"mega_pop.reward_level.forth_prize","Fifth Prize":"mega_pop.reward_level.fifth_prize","Not Won":"mega_pop.prize.no_prize"},"Gj",0,{highest_prize:"HighestPrize",lowest_prize:"LowestPrize",most_winning_tickets:"MostWinningTickets",fewest_winning_tickets:"FewestWinningTickets",newest:"NewestFirst",oldest:"OldestFirst"},"Ko",0,[{id:"1",labelKey:"mega_pop.reward_level.mega_prize",defaultLabel:"Mega Prize"},{id:"2",labelKey:"mega_pop.reward_level.super_prize",defaultLabel:"Super Prize"},{id:"3",labelKey:"mega_pop.reward_level.third_prize",defaultLabel:"3rd Prize"},{id:"4",labelKey:"mega_pop.reward_level.forth_prize",defaultLabel:"4th Prize"},{id:"5",labelKey:"mega_pop.reward_level.fifth_prize",defaultLabel:"5th Prize"}],"QB",0,[{key:"newest",labelKey:"mega_pop.history.sort.newest_first",defaultLabel:"Newest First"},{key:"oldest",labelKey:"mega_pop.history.sort.oldest_first",defaultLabel:"Oldest First"}
1],"QJ",0,[{key:"Bonus",labelKey:"mega_pop.toast_card.event_reward",defaultLabel:"Event Reward"},{key:"Trading",labelKey:"mega_pop.toast_card.trading_reward",defaultLabel:"Trading Reward"}],"Si",0,[{id:"pool",labelKey:"mega_pop.history.tab.epoch",defaultLabel:"Current Epoch"},{id:"participation",labelKey:"mega_pop.history.tab.my_participation",defaultLabel:"My participation"}],"f7",0,{"Mega Prize":{borderColor:"rgba(255, 229, 179, 0.32)",backgroundColor:"rgba(255, 229, 179, 0.05)",color:"#FFE5B3"},"Super Prize":{borderColor:"rgba(127, 167, 178, 0.32)",backgroundColor:"rgba(199, 220, 226, 0.16)",color:"#C7DCE2"},"Third Prize":{borderColor:"rgba(200, 159, 129, 0.32)",backgroundColor:"rgba(201, 161, 131, 0.16)",color:"#C9A183"},"Forth Prize":{borderColor:"rgba(127, 167, 178, 0.32)",backgroundColor:"rgba(199, 220, 226, 0.16)",color:"#C7DCE2"},"Fifth Prize":{borderColor:"rgba(200, 159, 129, 0.32)",backgroundColor:"rgba(201, 161, 131, 0.16)",color:"#C9A183"},"Not Won":{borderColor:"rgba(127, 167, 178, 0.32)",backgroundColor:"rgba(199, 220, 226, 0.16)",color:"#C7DCE2"}},"jD",0,{newest:"NewestFirst",oldest:"OldestFirst"},"yr",0,[{key:"highest_prize",labelKey:"mega_pop.my_participation.filter.highest_prize",defaultLabel:"Highest Prize First"},{key:"lowest_prize",labelKey:"mega_pop.my_participation.filter.lowest_prize",defaultLabel:"Lowest Prize First"},{key:"most_winning_tickets",labelKey:"mega_pop.my_participation.filter.most_winning",defaultLabel:"Most Winning Tickets"},{key:"fewest_winning_tickets",labelKey:"mega_pop.my_participation.filter.fewest_winning",defaultLabel:"Fewest Winning Tickets"},{key:"newest",labelKey:"mega_pop.my_participation.filter.newest",defaultLabel:"Newest Epoch First"},{key:"oldest",labelKey:"mega_pop.my_participation.filter.oldest",defaultLabel:"Oldest Epoch First"}]])},37829(e,t,r){var a=r(29168),n=r(86070);const o=e=>{let{value:t,className:r,style:o,children:s}=e;const i="string"==typeof t?t:t.display,l="string"==typeof t?void 0:t.full,c=s??i,d=r??"";return l?(0,n.jsx)(a.A,{placement:"top",title:l,arrow:{pointAtCenter:!0},children:(0,n.jsx)("span",{className:`inline-flex w-fit max-w-full shrink-0 cursor-help ${d}`.trim(),style:o,children:c})}):(0,n.jsx)("span",{className:d,style:o,children:c})};r.d(t,["A",0,o])},1778(e,t,r){r.d(t,{W:()=>s});var a=r(52867),n=r(9270);const o=function(e){return`${arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}${e}${arguments.length>2&&void 0!==arguments[2]?arguments[2]:""}`};function s(e,t){const r=t?.empty??"--",s=t?.prefix??"",i=t?.suffix??"",l=Math.max(0,Math.trunc(t?.maxDecimals??0));if(null==e||""===e)return{display:r};try{const t=new a.A(e);if(!t.isFinite()||t.lt(0))return{display:r};const c=e=>{const r=t.toFixed(e,a.A.ROUND_DOWN);return e>0?r.replace(/\.?0+$/,""):r},d=(0,n.zJ)(c(l)),m=(0,n.zJ)(t.toFixed()),p=o(d,s,i);return d===m?{display:p}:{display:p,full:o(m,s,i)}}catch{return{display:r}}}},61557(e,t,r){var a=r(57816),n=r(52867);const o=(0,a.eU)([]),s=(0,a.eU)([]),i=(0,a.eU)(),l=(0,a.eU)(null),c=(0,a.eU)(null),d=(0,a.eU)((e=>{const t=e(c);if(!t)return"0";const r=new n.A(t.totalCollateral||0),a=new n.A(t.initialMargin||0),o=r.minus(a);return(o.lt(0)?new n.A(0):o).toString()})),m=(0,a.eU)(null);(0,a.eU)(!0);r.d(t,["Df",0,l,"Qv",0,m,"gs",0,s,"hm",0,i,"kx",0,d,"lx",0,c,"sM",0,o])},36309(e,t,r){function a(e){return!e||e.length<10?e:`${e.slice(0,6)}...${e.slice(-4)}`}r.d(t,{L:()=>a})},99209(e,t,r){function a(e){return e instanceof Error?e.message:String(e)}r.d(t,{L:()=>a})},34432(e,t,r){r(27931);var a=r(36309),n=r(59196),o=r(99209);const s=e=>{const t=(0,o.L)(e).toLowerCase(),r=(e?.name??"").toLowerCase();return t.includes("user rejected")||t.includes("action_rejected")||t.includes("4001")||r.includes("userrejected")?"user_rejected":t.includes("not installed")||t.includes("provider not found")||t.includes("no provider")?"not_installed":"provider_error"},i=e=>{const t=e,r=String(t?.message??e).toLowerCase(),a=String(t?.name??"").toLowerCase(),n=t?.code??t?.cause?.code;if(4001===n||"ACTION_REJECTED"===n||r.includes("user rejected")||r.includes("action_rejected")||r.includes("4001")||a.includes("userrejected"))return{type:"user_rejected",error_msg:String(t?.message??"")};const o=t?.cause,s=o?.reason??o?.cause?.reason??o?.message,i=o?.errorName??o?.cause?.errorName;return r.includes("execution reverted")||r.includes("revert")?{type:"contract_error",error_msg:String(t?.message??""),revert_reason:s,error_name:i}:{type:"unknown",error_msg:String(t?.message??""),revert_reason:s,error_name:i}};r.d(t,["$i",0,e=>(0,n.Sx)("warn","WALLET_INVITE_CANCELLED",{address:(0,a.L)(e)}),"Ac",0,(e,t)=>(0,n.Sx)("error","AGENT_KEY_CONTRACT_WRITE_FAILED",{address:(0,a.L)(e),error_type:t.type,error_msg:t.error_msg,revert_reason:t.revert_reason,error_name:t.error_name}),"Bc",0,(e,t,r)=>(0,n.Sx)("info","AGENT_KEY_CACHE_HIT",{address:(0,a.L)(e),agent:(0,a.L)(t),expires_at:r}),"Bw",0,e=>(0,n.Sx)("info","WALLET_INVITE_REQUIRED",{address:(0,a.L)(e)}),"Dq",0,e=>(0,n.Sx)("warn","AGENT_KEY_USER_REJECTED",{address:(0,a.L)(e)}),"EH",0,e=>(0,n.Sx)("info","PRIVY_EXPORT_WALLET_SUCCESS",{address:(0,a.L)(e)}),"Hy",0,e=>(0,n.Sx)("info","PRIVY_EXPORT_WALLET_START",{address:(0,a.L)(e)}),"I9",0,e=>(0,n.Sx)("info","WALLET_TERMS_ACCEPTED",{address:(0,a.L)(e)}),"LJ",0,e=>
1(0,n.Sx)("warn","VERIFY_SIGN_IN_CANCELLED",{address:(0,a.L)(e)}),"M8",0,e=>(0,n.Sx)("warn","ENABLE_TRADING_CANCELLED",{address:(0,a.L)(e)}),"Nv",0,(e,t,r)=>(0,n.Sx)("error","AGENT_KEY_TX_FAILED",{address:(0,a.L)(e),tx_hash:t,status:r}),"Rn",0,(e,t)=>(0,n.Sx)("info","WALLET_FLOW_START",{address:(0,a.L)(e),...t}),"Rr",0,e=>(0,n.Sx)("warn","WALLET_TERMS_CANCELLED",{address:(0,a.L)(e)}),"Su",0,e=>(0,n.Sx)("info","VERIFY_SIGN_IN_SUCCESS",{address:(0,a.L)(e)}),"TF",0,(e,t)=>(0,n.Sx)("warn","WALLET_TERMS_API_FAILED",{address:(0,a.L)(e),error_msg:(0,o.L)(t)}),"VM",0,e=>(0,n.Sx)("info","WALLET_TERMS_REQUIRED",{address:(0,a.L)(e)}),"WL",0,(e,t)=>{(0,n.oL)({uid:(0,a.L)(e)}),(0,n.CQ)({wallet_name:t.walletName,connector_id:t.connectorId,transport:t.transport,connection_type:t.connectionType})},"WN",0,(e,t)=>(0,n.Sx)("info","ENABLE_TRADING_SUCCESS",{address:(0,a.L)(e),...t}),"Wu",0,(e,t)=>(0,n.Sx)("error","WALLET_TERMS_SIGN_FAILED",{address:(0,a.L)(e),error_msg:(0,o.L)(t)}),"XO",0,(e,t)=>(0,n.Sx)("warn","AGENT_KEY_NO_UI_AGENT",{address:(0,a.L)(e),agent_count:t}),"Yh",0,e=>(0,n.Sx)("info","WALLET_FLOW_SUCCESS",{address:(0,a.L)(e)}),"Yr",0,i,"Z1",0,e=>(0,n.Sx)("info","WALLET_TERMS_SIGN_START",{address:(0,a.L)(e)}),"ZZ",0,(e,t)=>(0,n.Sx)("error","WALLET_CONNECT_FAILED",{wallet_name:e,error_type:s(t),error_msg:(0,o.L)(t)}),"Zl",0,(e,t)=>(0,n.Sx)("info","VIP_MATCH_MODAL_SHOWN",{address:(0,a.L)(e),...t}),"Zp",0,(e,t)=>(0,n.Sx)("info","AGENT_KEY_QUERY_AGENTS",{address:(0,a.L)(e),...t}),"_b",0,(e,t)=>(0,n.Sx)("error","ENABLE_TRADING_FAILED",{address:(0,a.L)(e),error_msg:(0,o.L)(t)}),"aY",0,(e,t)=>(0,n.Sx)("warn","AUTO_AUTH_AGENT_INVALID",{address:(0,a.L)(e),agent:(0,a.L)(t)}),"cO",0,e=>"user_rejected"===i(e).type,"e9",0,(e,t)=>(0,n.Sx)("info","WALLET_CONNECT_START",{wallet_name:e,connector_id:t}),"h5",0,(e,t)=>(0,n.Sx)("error","AGENT_KEY_NOT_ON_CHAIN",{address:(0,a.L)(e),agent:(0,a.L)(t)}),"hJ",0,(e,t)=>(0,n.Sx)("warn","WALLET_TERMS_API_INVALID",{address:(0,a.L)(e),reason:t}),"kV",0,(e,t)=>(0,n.Sx)("info","AGENT_KEY_TX_SENT",{address:(0,a.L)(e),tx_hash:t}),"lv",0,e=>(0,n.Sx)("info","VERIFY_SIGN_IN_REQUIRED",{address:(0,a.L)(e)}),"nl",0,(e,t)=>(0,n.Sx)("error","WALLET_FLOW_ERROR",{address:(0,a.L)(e),error_msg:(0,o.L)(t)}),"oW",0,(e,t)=>(0,n.Sx)("info","WALLET_DISCONNECT",{address:(0,a.L)(e),...t}),"p8",0,(e,t)=>(0,n.Sx)("info","AGENT_KEY_SUCCESS",{address:(0,a.L)(e),...t}),"pM",0,(e,t)=>(0,n.Sx)("info","AGENT_KEY_NEW_WALLET",{address:(0,a.L)(e),agent:(0,a.L)(t)}),"pj",0,(e,t)=>(0,n.Sx)("info","AGENT_KEY_CONTRACT_WRITE",{address:(0,a.L)(e),...t}),"qR",0,async e=>{if(!("walletConnect"===e.id))return{walletName:e.name,connectorId:e.id,transport:"injected",connectionType:"wallet"};try{const t=await e.getProvider(),r=t?.session?.peer?.metadata?.name;return{walletName:r||"WalletConnect",connectorId:"walletConnect",transport:"walletconnect",connectionType:"wallet"}}catch{return{walletName:"WalletConnect",connectorId:"walletConnect",transport:"walletconnect",connectionType:"wallet"}}},"rM",0,()=>{(0,n.oL)({uid:""}),(0,n.CQ)({wallet_name:void 0,connector_id:void 0,transport:void 0,connection_type:void 0})},"t5",0,e=>(0,n.Sx)("warn","WALLET_TERMS_SIGN_REJECTED",{address:(0,a.L)(e)}),"tn",0,(e,t)=>(0,n.Sx)("error","VERIFY_SIGN_IN_FAILED",{address:(0,a.L)(e),error_msg:String(t)}),"tz",0,(e,t,r)=>(0,n.Sx)("error","AGENT_KEY_DELEGATOR_MISMATCH",{address:(0,a.L)(e),expected:(0,a.L)(t),actual:(0,a.L)(r)}),"ug",0,(e,t)=>(0,n.Sx)("warn","PRIVY_EXPORT_WALLET_FAILED",{address:(0,a.L)(e),error_msg:(0,o.L)(t)}),"wU",0,(e,t)=>(0,n.Sx)("info","VIP_MATCH_MODAL_SKIPPED",{address:(0,a.L)(e),skip_reason:t}),"x6",0,e=>(0,n.Sx)("info","WALLET_CONNECT_SUCCESS",{wallet_name:e}),"xA",0,e=>(0,n.Sx)("info","ENABLE_TRADING_START",{address:(0,a.L)(e)}),"xk",0,e=>(0,n.Sx)("warn","WALLET_CONNECT_CANCELLED",{wallet_name:e}),"yL",0,(e,t)=>(0,n.Sx)("warn","AUTO_AUTH_AGENT_QUERY_FAILED",{address:(0,a.L)(e),error_msg:(0,o.L)(t)})])}}]);
2//# sourceMappingURL=pages-MegaPop-History-EpochTierSummary.fff1e1f2991c96b2a4b7.chunk.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.