1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{1551:(e,t,r)=>{r.d(t,{Ay:()=>l});var n=r(4836),a=r(12115);let o=e=>e<=n.LO.TABLET?"MOBILE":e<=n.LO.LAPTOP?"TABLET":"DESKTOP",l=()=>{let[e,t]=(0,a.useState)(()=>o(window.innerWidth)),r=()=>{t(o(window.innerWidth))};return(0,a.useEffect)(()=>(t(o(window.innerWidth)),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}),[]),e}},19516:(e,t,r)=>{r.d(t,{X:()=>w});var n=r(95155),a=r(12115),o=r(26497),l=r(1733),i=r(90714),s=r(51644),d=r(7351),c=r(56618),p=r(50625);let h=p.Ay.div.withConfig({componentId:"sc-4eee43e0-0"})([""]),x=p.Ay.div.withConfig({componentId:"sc-4eee43e0-1"})([""," z-index:100;padding:4px;"," border:1px solid ",";background:",";box-shadow:0px 4px 16px 0px rgba(0,0,0,0.16);backdrop-filter:blur(2px);display:grid;grid-template-columns:",";",""],i._S,s.V.m,e=>{let{theme:t}=e;return t.Color.background.border["outline-strong"]},e=>{let{theme:t}=e;return t.Color.background.surface.base},e=>{let{$hasDepth:t}=e;return t?"auto auto":"auto"},(0,c.MV)({},{},{},{})),u=(0,p.Ay)(i.so).withConfig({componentId:"sc-4eee43e0-2"})(["min-width:192px;padding:4px 0px;flex-direction:column;align-items:flex-start;flex-shrink:0;background:",";"],e=>{let{theme:t}=e;return t.Color.background.surface.base}),g=p.Ay.div.withConfig({componentId:"sc-4eee43e0-3"})(["display:flex;min-height:28px;padding:0px 8px;align-items:center;align-self:stretch;"," color:",";text-align:left;"," font-weight:","!important;"," "," "," justify-content:space-between;.icon-check path{stroke:",";opacity:",";}.icon-arrow path{stroke:",";opacity:",";}"],s.V.s,e=>{let{theme:t,$hovered:r}=e;return r?t.Color.text.text["point-primary"]:t.Color.text.textButton.default},d.Il.body.xs,e=>{let{$selected:t}=e;return t?500:400},i.lw,e=>{let{$hasItem:t}=e;return!t&&i.or},i.c6,e=>{let{theme:t}=e;return t.Color.text.text["point-primary"]},e=>{let{$selected:t}=e;return+!!t},e=>{let{theme:t}=e;return t.Color.background.Icon.weak},e=>{let{$hasItem:t}=e;return+!!t}),m=(0,p.Ay)(i.so).withConfig({componentId:"sc-4eee43e0-4"})(["padding:4px 0px;flex-direction:column;align-items:flex-start;"," background:",";"," "," overflow:auto;"],s.V.s,e=>{let{theme:t}=e;return t.Color.background.surface.alt},i.c6,i.NY),b=p.Ay.div.withConfig({componentId:"sc-4eee43e0-5"})(["white-space:nowrap;min-height:28px;display:flex;align-items:center;padding:0px 8px;vertical-align:middle;align-items:center;"," color:",";&:hover{color:",";","}text-align:left;"," font-weight:","!important;"," "," .icon-check path{stroke:",";opacity:",";}"],s.V.s,e=>{let{theme:t}=e;return t.Color.text.textButton.default},e=>{let{theme:t}=e;return t.Color.text.text["point-primary"]},i.or,d.Il.body.xs,e=>{let{$selected:t}=e;return t?500:400},i.lw,i.c6,e=>{let{theme:t}=e;return t.Color.text.text["point-primary"]},e=>{let{$selected:t}=e;return+!!t});var f=r(96129);let w=e=>{let{children:t,items:r}=e,[s,d]=(0,a.useState)(!1),[c,p]=(0,a.useState)(null),w=c?r[c]:null,v=(0,a.useRef)(null),k=e=>{if(!e)return;let t=null==e?void 0:e.querySelector(".dropdown-with-depth-container");if(t){let{x:r,y:n}=e.getBoundingClientRect();n+50+t.clientHeight>window.innerHeight?t.style.top="".concat(n-t.clientHeight,"px"):t.style.top="".concat(n+50,"px"),r+t.clientWidth>window.innerWidth?t.style.left="".concat(r-t.clientWidth,"px"):t.style.left="".concat(r,"px")}};return(0,a.useEffect)(()=>{if(v.current){k(v.current);let e=e=>{var t;(null==(t=v.current)?void 0:t.contains(e.target))||d(!1)},t=e=>{"Escape"===e.key&&d(!1)},r=()=>{k(v.current)},n=()=>{};return document.addEventListener("click",e),document.addEventListener("keydown",t),window.addEventListener("scroll",r),window.addEventListener("resize",n),()=>{document.removeEventListener("click",e),document.removeEventListener("keydown",t),window.removeEventListener("scroll",r),window.removeEventListener("resize",n)}}},[v,s]),(0,n.jsxs)(h,{onMouseLeave:()=>p(null),ref:v,children:[(0,n.jsx)("span",{onClick:()=>d(!s),children:t}),(0,n.jsx)(o.N,{children:s&&(0,n.jsxs)(x,{as:l.P.div,$hasDepth:!!(null==w?void 0:w.items.length),$open:s,className:"dropdown-with-depth-container",initial:{opacity:0,y:-10,scale:.95}
1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.2,ease:[.4,0,.2,1]},children:[(0,n.jsx)(u,{children:r.map((e,t)=>(0,n.jsxs)(g,{$hovered:c===t,$selected:e.selected,$hasItem:e.items.length>0,onMouseEnter:()=>p(t),onClick:()=>(null==e?void 0:e.onClick)&&e.onClick(),children:[(0,n.jsxs)(i.so,{gap:4,children:[(0,n.jsx)("div",{className:"icon-check",children:(0,n.jsx)(f.erz,{width:16,height:16})}),e.label]}),(0,n.jsx)("div",{className:"icon-arrow",children:(0,n.jsx)(f.lWp,{width:16,height:16})})]},t))}),!!(null==w?void 0:w.items.length)&&(0,n.jsx)(m,{children:w.items.map((e,t)=>(0,n.jsx)(b,{$selected:e.selected,onClick:()=>(null==e?void 0:e.onClick)&&e.onClick(),children:(0,n.jsxs)(i.so,{gap:4,children:[(0,n.jsx)("div",{className:"icon-check",children:(0,n.jsx)(f.erz,{width:16,height:16})}),(0,n.jsx)("div",{children:e.label})]})},t))})]})})]})}},30795:(e,t,r)=>{r.d(t,{SH:()=>d,Wj:()=>i,kO:()=>c,q5:()=>s});var n=r(90714),a=r(51644),o=r(56618),l=r(50625);let i=l.Ay.div.withConfig({componentId:"sc-daab37b-0"})([""," padding:32px;width:fit-content;background:",";border:1px solid ",";"," ",""],n.ec,e=>{let{theme:t}=e;return t.Color.background.surface.base},e=>{let{theme:t}=e;return t.Color.background.border["outline-weak"]},a.r.s("borderRadius"),(0,o.MV)({},{},{padding:"24px",width:"100%"},{padding:"16px",width:"100%"}));(0,l.Ay)(i).withConfig({componentId:"sc-daab37b-1"})([""," gap:24px;"],e=>{let{direction:t}=e;return"row"===t?n.Wh:n.ec}),(0,l.Ay)(i).withConfig({componentId:"sc-daab37b-2"})([""," gap:24px;",""],e=>{let{direction:t}=e;return"row"===t?n.Wh:n.ec},(0,o.MV)({},{},{gap:"16px"},{gap:"16px"}));let s=(0,l.Ay)(i).withConfig({componentId:"sc-daab37b-3"})([""," gap:16px;"],e=>{let{direction:t}=e;return"row"===t?n.Wh:n.ec}),d=(0,l.Ay)(i).withConfig({componentId:"sc-daab37b-4"})([""," justify-content:space-between;gap:22px;padding:32px 32px 32px 22px;",""],n.c6,(0,o.MV)({flexDirection:"row"},{flexDirection:"row"},{gap:"40px",padding:"24px 24px 24px 14px"},{gap:"40px",padding:"24px 24px 24px 14px"})),c=l.Ay.div.withConfig({componentId:"sc-daab37b-5"})(["padding:56px 40px 24px 40px;"," gap:16px;",""],n.ec,(0,o.MV)({},{},{padding:"40px 16px 24px 16px"},{padding:"40px 0px 24px 0px"}))},33617:(e,t,r)=>{r.d(t,{W:()=>o,v:()=>l});var n=r(25959);let a={usd_price:"",btc_price:"",usd_price_changes:"",daily_active_wallet:"",market_cap:"",volume:""},o=(0,n.v)(e=>
1({finderKaiaPrice:a,setFinderKaiaPrice:t=>e({finderKaiaPrice:t})})),l=()=>o(e=>{let t=e.finderKaiaPrice.usd_price;return t?parseFloat(t):0})},46426:(e,t,r)=>{r.d(t,{nH:()=>s,v:()=>c,zB:()=>d});var n=r(90714),a=r(7351),o=r(56618),l=r(50625),i=r(80568);let s=l.Ay.ul.withConfig({componentId:"sc-4f1cf288-0"})([""," "," "," height:48px;gap:4px;overflow-x:auto;overflow-y:hidden;border-bottom:",";&::-webkit-scrollbar{width:0px;display:none !important;opacity:0;}",""],i.Gv,n.c6,n.zF,e=>{let{$borderBottom:t,theme:r}=e;return t?"1px solid ".concat(r.Color.background.border["divide-weak"]):"none"},(0,o.MV)({},{},{},{padding:"0px 16px"})),d=l.Ay.li.withConfig({componentId:"sc-4f1cf288-1"})(["position:relative;"," "," font-size:500;color:",";padding:0 8px;white-space:nowrap;display:flex;align-items:center;height:48px;cursor:",";text-decoration:none;&:hover{"," color:",";text-decoration:none;}&:visited{color:",";}&::after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background-color:",";border-radius:4px;}"],n.lw,a.Il.title.md,e=>{let{theme:t,$isActive:r,$disabled:n}=e;return n?t.Color.text.textButton.disabled:r?t.Color.text.textButton.default:t.Color.text.textButton.weak},e=>{let{$disabled:t}=e;return t?"default":"pointer"},n.lw,e=>{let{theme:t,$disabled:r,$isActive:n}=e;return n?"none":r?t.Color.text.textButton.disabled:t.Color.text.textButton["default-hover"]},e=>{let{theme:t,$isActive:r,$disabled:n}=e;return n?t.Color.text.textButton.disabled:r?t.Color.text.textButton.default:t.Color.text.textButton.weak},e=>{let{$isActive:t,$disabled:r,theme:n}=e;return!r&&t?n.Color.background.component["primary-default"]:"transparent"}),c=l.Ay.section.withConfig({componentId:"sc-4f1cf288-2"})([""])},48090:(e,t,r)=>{r.d(t,{Dh:()=>s,M8:()=>i,Ww:()=>d});var n=r(25959),a=r(12115),o=r(30130);let l=(0,n.v)(e=>({privateNameTags:[],setPrivateNameTags:t=>e(e=>({privateNameTags:"function"==typeof t?t(e.privateNameTags):t}))})),i=()=>{let e=l(e=>e.privateNameTags);return(0,a.useMemo)(()=>e.reduce((e,t)=>(e[t.address.toLowerCase()]=t,e),{}),[e])},s=()=>l(e=>e.setPrivateNameTags),d=()=>{let e=l(e=>e.setPrivateNameTags);return(0,a.useCallback)(async()=>{(0,o.lZ)(),e((await (0,o.bH)()).privateNameTags||[])},[e])}},50974:(e,t,r)=>{r.d(t,{B4:()=>O,BG:()=>M,Kk:()=>X,LV:()=>P,QE:()=>U,Si:()=>el,Sx:()=>ea,Vr:()=>q,XS:()=>_,XU:()=>V,YQ:()=>ee,Zc:()=>Y,aD:()=>W,bw:()=>$,c3:()=>ei,fV:()=>H,gT:()=>J,lT:()=>F,md:()=>R,pr:()=>Q,t6:()=>K,td:()=>z,uQ:()=>eo,uX:()=>D,v8:()=>E});var n=r(95155),a=r(80587),o=r(63181),l=r(37186),i=r(59059),s=r(28479),d=r(39724),c=r(18955),p=r(56618),h=r(80701),x=r(74794),u=r(25251),g=r(96129),m=r(39313),b=r(12115),f=r(19516),w=r(20063),v=r(90714),k=r(15641),y=r(62394),j=r(67909),C=r(74171),A=r(91460),I=r(85809),N=r(1551),T=r(33617),S=r(48090),L=r(53387);let B=(0,j.default)(()=>Promise.all([r.e(9066),r.e(7853),r.e(8674)]).then(r.bind(r,78674)).then(e=>e.LottieLoadingGray),{loadableGenerated:{webpack:()=>[78674]},ssr:!1,loading:()=>(0,n.jsx)(g.Pud,{width:56,height:56})}),E=e=>{let{amount:t,decimal:r=8,showTooltip:o=!0,prefix:l,suffix:s,textStyle:d={textAlign:"right"}}=e,c="0",p=r,h=null;["string","number"].includes(typeof t)?c=t.toString():a.A.isBigNumber(t)&&(t=c=t.toFixed());let u=c.includes(".");if(u){var g;let e=null==(g=c.split(".")[1])?void 0:g.length;p=Math.min(e,r),e>r||(h="0".repeat(r-e))}else p=0,h="0".repeat(r);let b=(0,n.jsxs)(i.I_,{style:d,className:"kaia-amount",children:[(0,n.jsx)(x.H,{className:"amount",value:c,displayType:"text",thousandSeparator:!0,decimalScale:p,fixedDecimalScale:!0,prefix:l,suffix:s}),0!==r&&(0,n.jsxs)("span",{className:"padding-right",children:[u?"":".",h]})]});return o?(0,n.jsx)(m.V,{content:t,children:b}):b},$=e=>{var t,r;let{address:a,short:o=!0,icon:c=!0,hasError:p=!1,tooltip:x=!0,onClick:f,removeFilterAuto:v=!0,keyword:k,className:y,displayLength:j,privateNameTagInParens:C=!1}=e,A=(0,l.rd)(),I=(0,w.useSearchParams)(),T=(0,l.a8)(),L=(0,d.k)(),B=(0,S.M8)(),E=(0,N.Ay)(),$=(0,b.useRef)(null),F=(0,b.useRef)(null),[D,W]=(0,b.useState)(!1);if((0,b.useEffect)(()=>{if(a)return $.current&&(clearTimeout($.current),$.current=null),()=>{$.current&&(clearTimeout($.current),$.current=null),document.querySelectorAll('.address-link-wrapper[data-address="'.concat(a.address,'"]')).forEac
1h(e=>{e.classList.remove("same-address")})}},[null==a?void 0:a.address]),(0,b.useEffect)(()=>{if(D){let e=setTimeout(()=>{W(!1)},1e3);return()=>clearTimeout(e)}},[D]),!a)return"-";let z=s.a.address((null==a?void 0:a.address)||"").toLowerCase()==T,{displayName:M,icon:P,label:H,knsDomain:R,address:V}=a,_=(null==(t=B[null==(r=a.address)?void 0:r.toLowerCase()])?void 0:t.nameTag)||"",q=_&&!C?_:H||R||("-"===M?V:M),G=q===a.address,U=(null==k?void 0:k.toLowerCase())===a.address.toLowerCase(),K=(0,n.jsx)(n.Fragment,{}),O=(0,n.jsx)(n.Fragment,{});O=C?(0,n.jsx)("div",{children:a.address}):_||H||R?(0,n.jsxs)("div",{children:["(",a.address,")"]}):(0,n.jsx)("div",{children:a.address}),H&&!C&&(K=(0,n.jsxs)(n.Fragment,{children:[K,(0,n.jsxs)("div",{children:[L("account.privateNametag.table.publicTag"),": ",H]})]})),_&&!C&&(K=(0,n.jsxs)(n.Fragment,{children:[K,(0,n.jsxs)("div",{children:[L("account.privateNametag.table.privateTag"),": ",_]})]})),K=(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px",justifyContent:"center",alignItems:"center"},children:[K,O]});let X=(0,n.jsx)(i.ss,{className:"address-link ".concat(p?"has-error":""),$disabled:z,$isKeyword:!1,"data-address":a.address,children:(e=>z?(0,n.jsx)("div",{className:"no-link",children:e}):(0,n.jsx)(l.N_,{href:s.a.address(a.address),children:e}))((0,n.jsxs)(n.Fragment,{children:[G&&o&&j?(e=>{let t;return j&&(t="number"==typeof j?j:"MOBILE"===E?j.mobile:j.desktop)&&t>0&&e.length>2*t?"".concat(e.slice(0,t),"...").concat(e.slice(-t)):e})(q):q,C&&_&&(0,n.jsxs)("span",{style:{opacity:.6},children:[" (",_,")"]})]}))});return(0,n.jsxs)(i.EA,{className:"address-link-wrapper ".concat(y||""),onMouseEnter:e=>{document.querySelectorAll('.address-link-wrapper[data-address="'.concat(a.address,'"]')).forEach(e=>{e.classList.add("same-address")})},onMouseLeave:e=>{$.current&&(clearTimeout($.current),$.current=null),$.current=window.setTimeout(()=>{$.current=null,document.querySelector('.address-link-wrapper[data-address="'.concat(a.address,'"]:hover'))||document.querySelectorAll('.address-link-wrapper[data-address="'.concat(a.address,'"]')).forEach(e=>{e.classList.remove("same-address")})},10)},"data-address":a.address,$isAddress:G,children:[(0,n.jsxs)("div",{className:"address-link-main-content",children:[P?(0,n.jsx)(i.Kt,{children:(0,n.jsx)(h.Ay,{src:P,width:16,height:16,alt:"icon"})}):c&&("SCA"===a.accountType?(0,n.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"table-logo",style:{flexShrink:0},children:[(0,n.jsx)("path",{d:"M2 1h7.586L14 5.414V15H2V1Z",stroke:"#8C939F",strokeWidth:"1.4"}),(0,n.jsx)("line",{x1:"5",y1:"7.5",x2:"11",y2:"7.5",stroke:"#8C939F",strokeWidth:"1.2"}),(0,n.jsx)("line",{x1:"5",y1:"10",x2:"11",y2:"10",stroke:"#8C939F",strokeWidth:"1.2"}),(0,n.jsx)("line",{x1:"5",y1:"12.5",x2:"9",y2:"12.5",stroke:"#8C939F",strokeWidth:"1.2"})]}):(0,n.jsx)(g.ghD,{width:16,height:16,className:"table-logo",style:{flexShrink:0}})),(0,n.jsx)("div",{className:"address-link-content-wrapper",ref:F,children:x?(0,n.jsx)(m.V,{content:K,copyable:!1,delayHide:0,children:X}):X})]}),(0,n.jsx)(m.V,{content:L(D?"common.copied":"common.copyAddress"),copyable:!1,delayHide:D?2e3:20,children:(0,n.jsx)(g.xTb,{style:{flexShrink:0},className:"copy-icon",onClick:()=>{if((0,u.C)(a.address),W(!0),F.current&&x){let e=F.current.querySelector("[data-tooltip-id]");if(e){e.dispatchEvent(new MouseEvent("mouseleave",{bubbles:!0}));let t=e.getAttribute("data-tooltip-id");if(t){let e=document.querySelector('[id="'.concat(t,'"]'));e&&(e.style.display="none",setTimeout(()=>{e.style.display=""},100))}}}}})}),!!f&&(0,n.jsx)(m.V,{content:L(U?"common.table.clearFilter":"common.table.setFilter"),children:(0,n.jsx)(g.G4O,{className:"icon-filter".concat(U?" active":""),onClick:e=>{if(e.preventDefault(),!v&&f)return f(a);if(U){let e=new URLSearchParams(I.toString());e.delete("search"),A.push("".concat(T,"?").concat(e.toString()),{scroll:!1})}else f(a)}})})]})},F=e=>{var t;let{address:r,label:a,ignorePrivateNameTag:o=!1}=e,d=(0,l.a8)(),c=(0,S.M8)(),h=s.a.address(r).toLowerCase()==d,x=o||null==(t=c[null==r?void 0:r.toLowerCase()])?void 0:t.nameTag;return(0,n.jsx)(l.N_,{href:s.a.address(r),children:(0,n.jsx)(i.ss,{$disabled:h,children:x||a||(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"pc-laptop",children:r}),(0,n.jsx)("span",{className:"tablet",children:(0,p.Wr)(r)}),(0,n.jsx)("span",{className:"mobile",children:(0,p.Wr)(r,4,4)})]})})})},D=e=>{let{address:t,label:r}=e,a=(0,l.a8)(),o=s.a.token(t).toLowerCase()==a;return(0,n.jsx)(l.N_,{href:s.a.token(t),children:(0,n.jsx)(i.ss,{$disabled:o,children:r||(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"pc-laptop",children:t}),(0,n.jsx)("span",{className:"tablet",children:(0,p.Wr)(t)}),(0,n.jsx)("span",{className:"mobile",children:(0,p.Wr)(t,4,4)})]})})})},W=e=>{let{blockNumber:t}=e;return(0,n.jsx)(m.V,{content:t,children:(0,n.jsx)(l.N_,{href:s.a.block(t),children:(0,n.jsx)(i.Te,{children:t})})})},z=e=>{let{txHash:t,short:r=!0,hasError:a=!1,mobile:o=!1,tooltip:d=!0}=e,c=r?o?(0,p.Wr)(t,4,4):(0,p.Wr)(t):t;return d?(0,n.jsx)(m.V,{content:t,children:(0,n.jsx)(l.N_,{href:s.a.transaction(t),children:(0,n.jsx)(i.WD,{className:a?"has-error":"",children:c})})}):(0,n.jsx)(l.N_,{href:s.a.transaction(t),children:(0,n.jsx)(i.WD,{className:a?"has-error":"",children:c})})},M=e=>{let{label:t,address:r,short:a=!1}=e;return(0,l.rd)(),(0,n.jsx)(l.N_,{href:s.a.address(r),children:(0,n.jsx)(i.qk,{children:(0,n.jsxs)(m.V,{content:r,children:[t?(0,n.jsx)(i.Wy,{children:t}):(0,n.jsx)(i.k,{children:a?(0,p.Wr)(r):r})," "]})})})},P=e=>{let{count:t,main:r=!1,...a}=e,o=(0,d.k)();return(0,n.jsx)(i.qC,{...a,$main:r,children:o.rich("common.table.showingTheLastRecords",{count:()=>(0,n.jsx)("span",{className:"highlight",children:(0,u.rX)(Math.min(t,4e4))})})})},H=e=>{let{datetime:t,formatStyle:r="short",tooltip:a=!0,timeDisplayMode:o=I.A$.AGE}
1=e,l=(0,c.k)(),i=(0,L.G)(e=>e.timer),s=new Date(t),p=(0,d.k)();if(isNaN(s.getTime()))return(0,n.jsx)("span",{children:p("common.table.invalidDate")});let h=l.relativeTime(Math.min(i,s.getTime()),{style:r,now:new Date(i)}),x=l.relativeTime(Math.min(i,s.getTime()),{style:"narrow",now:new Date(i)});h.endsWith(". ago")&&(h=h.replace(". ago"," ago"));let g=(0,u.r6)(s),b=(0,u.zz)(s),f=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"pc-laptop-tablet nowrap",children:o===I.A$.AGE?h:o===I.A$.LOCAL?g:b}),(0,n.jsx)("span",{className:"mobile nowrap",children:o===I.A$.AGE?x:o===I.A$.LOCAL?g:b})]}),w=o===I.A$.AGE?g+" / ".concat(p("common.table.local")):h;return a?(0,n.jsx)(m.V,{content:w,copyable:!1,children:f}):f},R=e=>{let{name:t,rawName:r,symbol:a,address:d,icon:c,titleStyle:p}=e,x=null!=r?r:"string"==typeof t?t:a||d;return(0,n.jsx)(l.N_,{href:s.a.token(d),children:(0,n.jsxs)(i.JR,{className:"token-link",children:[(0,n.jsx)(i.Jl,{$square:!1,children:c?(0,n.jsx)(h.Ay,{src:c,width:24,height:24,alt:"icon"}):(0,n.jsx)(o.s,{name:x,size:24,className:"empty"})}),(0,n.jsxs)(i.G0,{children:[(0,n.jsx)(i.FE,{style:p,children:t}),(0,n.jsx)(i.sY,{children:a})]})]})})},V=e=>{let{name:t,rawName:r,address:a,icon:d,titleStyle:c,square:p=!0}=e,x=null!=r?r:"string"==typeof t?t:a;return(0,n.jsx)(l.N_,{href:s.a.nft(a),children:(0,n.jsxs)(i.JR,{className:"token-link",children:[(0,n.jsx)(i.Jl,{$square:p,children:d?(0,n.jsx)(h.Ay,{src:d,width:24,height:24,alt:"icon"}):(0,n.jsx)(o.s,{name:x,size:24})}),(0,n.jsx)(i.FE,{style:c,children:t})]})})},_=e=>{let{priceInUsd:t,decimal:r=4,symbol:a="$",displayPrice:o}=e,{usd_price:l}=(0,T.W)(e=>e.finderKaiaPrice),s=t?Number(t):0,d=s/parseFloat(l);return(0,n.jsxs)(i.z6,{children:[(0,n.jsx)(q,{price:null!=o?o:s,decimal:r,symbol:a}),(0,n.jsx)(i.E,{children:(0,n.jsx)(G,{price:d})})]})},q=e=>{let{price:t,decimal:r=4,symbol:o="$"}=e;if(null==t)return"-";let l=new a.A(t).eq(0),i=1/10**r,s=new a.A(t).lt(i);return l?"".concat(o,"0"):s?"<".concat(o).concat(i):(0,n.jsx)(E,{amount:t,decimal:r,showTooltip:!1,prefix:o})},G=e=>{let{price:t,decimal:r=4}=e;return null==t?"-":(0,n.jsx)(E,{amount:t,decimal:r,showTooltip:!1,suffix:" KAIA",textStyle:{textAlign:"left"}})},U=e=>{let{value:t,decimal:r=2,arrow:a=!0}=e,o=!!t&&parseFloat(t)>=0;return(0,n.jsxs)(i.F5,{$isPositive:o,children:[t?o?a?"â²":"+":a?"â¼":"":"",(0,n.jsx)(x.H,{value:t,displayType:"text",suffix:"%",decimalScale:r,fixedDecimalScale:!0,thousandSeparator:!0})]})},K={txDirection:"txDirection"},O=()=>{let e=(0,w.useSearchParams)(),t=(0,l.rd)(),r=(0,l.a8)(),n=e.get(K.txDirection)||"All";return{direction:n,toggle:a=>{let o=new URLSearchParams(e.toString());o.delete("page"),"All"===a||n===a?o.delete(K.txDirection):o.set(K.txDirection,a),t.push("".concat(r,"?").concat(o.toString()),{scroll:!1})},reset:()=>{((e,t,r)=>{let n=new URLSearchParams(t.toString());n.delete(K.txDirection),r.push("".concat(e,"?").concat(n.toString()),{scroll:!1})})(r,e,t)}}},X=e=>{let{filterText:t,fromText:r,toText:a}=e,o=(0,d.k)(),{direction:l,toggle:s,reset:c}=O();return(0,n.jsxs)(i.Sh,{children:[(0,n.jsxs)(v.so,{gap:4,align:"center",className:"search-tx",children:[(0,n.jsx)(g.CzB,{width:16,height:16,className:"search-icon"}),t||o("address.txList.searchTxs")]}),(0,n.jsxs)(v.so,{gap:4,children:[(0,n.jsxs)(k.yp.outline,{$size:"sm",className:"From"===l?"active":"",onClick:()=>s("From"),children:[r||o("address.txList.fromThisAddress"),(0,n.jsx)(g.lWp,{width:16,height:16})]}),(0,n.jsxs)(k.yp.outline,{$size:"sm",className:"To"===l?"active":"",onClick:()=>s("To"),children:[a||o("address.txList.toThisAddress"),(0,n.jsx)(g.lWp,{width:16,height:16})]})]})]})},J=e=>{let{address:t}=e,r=(0,d.k)(),a=(0,y.PS)(t),o=(0,w.useSearchParams)(),s=o.get("filter")||"All",c=(0,l.a8)(),p=(0,l.rd)(),h={label:r("common.txFilter.All"),onClick:()=>{let e=new URLSearchParams(o.toString());e.delete("filter"),p.push("".concat(c,"?").concat(e.toString()),{scroll:!1})},selected:"All"===s,items:[]},x=a?a.map(e=>({label:e.contractName,onClick:()=>{let t=new URLSearchParams(o.toString());s===e.contractAddress?t.delete("filter"):t.set("filter",e.contractAddress),p.push("".concat(c,"?").concat(t.toString()),{scroll:!1})},selected:s===e.contractAddress,items:[]})):[];return(0,n.jsx)(f.X,{items:[h,...x],children:(0,n.jsxs)(i.wd,{children:[r("address.tokenTransfer.token"),(0,n.jsx)(g.G4O,{width:16,height:16})]})})},Y=e=>{let{address:t}=e,r=(0,d.k)(),a=(0,y.o$)(t),o=(0,w.useSearchParams)(),s=o.get("filter")||"All",c=(0,l.a8)(),p=(0,l.rd)(),h={label:r("common.txFilter.All"),onClick:()=>{let e=new URLSearchParams(o.toString());e.delete("filter"),p.push("".concat(c,"?").concat(e.toString()),{scroll:!1})},selected:"All"===s,items:[]},x=a?a.map(e=>({label:e.contractName,onClick:()=>{let t=new URLSearchParams(o.toString());s===e.contractAddress?t.delete("filter"):t.set("filter",e.contractAddress),p.push("".concat(c,"?").concat(t.toString()),{scroll:!1})},selected:s===e.contractAddress,items:[]})):[];return(0,n.jsx)(f.X,{items:[h,...x],children:(0,n.jsxs)(i.wd,{children:[r("address.nftTransfer.nft"),(0,n.jsx)(g.G4O,{width:16,height:16})]})})},Q=()=>{let e=(0,d.k)();return(0,n.jsxs)(i.pL,{children:[(0,n.jsx)(i.Gz,{$size:56,children:(0,n.jsx)(B,{width:56,height:56,style:{width:56,height:56}})}),(0,n.jsx)(i.HB,{children:e("common.table.dataLoading")})]})},Z=e=>{let{rows:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Hj,{className:"data-loading-table",children:(0,n.jsx)(Q,{})},"data-loading-table"),Array.from({length:t}).map((e,t)=>(0,n.jsx)(i.Hj,{className:"empty"},t))]})},ee=()=>{let e=(0,d.k)();return(0,n.jsxs)(i.pL,{children:[(0,n.jsx)(i.Gz,{$size:40,children:(0,n.jsx)(g.Wp8,{width:40,height:40})}),(0,n.jsx)(i.HB,{children:e("common.table.noData")})]})},et=e=>{let{rows:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Hj,{className:"data-loading-table",children:(0,n.jsx)(ee,{})},"data-loading-table"),Array.from({length:t}).map((e,t)=>(0,n.jsx)(i.Hj,{className:"empty pc-laptop-tablet"},t))]})},er=()=>{let e=(0,d.k)();return(0,n.jsxs)(i.pL,{children:[(0,n.jsx)(i.Gz,{$size:40,children:(0,n.jsx)(g.PqO,{width:40,height:40})}),(0,n.jsx)(i.HB,{children:e("common.table.failedToLoadData")})]})},en=e=>{let{rows:t}=e;return(0,d.k)(),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Hj,{className:"data-loading-table",children:(0,n.jsx)(er,{})},"data-loading-table"),Array.from({length:t}).map((e,t)=>(0,n.jsx)(i.Hj,{className:"empty"},t))]})},ea=e=>{let{isLoading:t,error:r,disabled:a,children:o,empty:l,hasTxData:i=!1}
1=e;return a?(0,n.jsx)(ee,{}):r?(0,n.jsx)(er,{}):t?(0,n.jsx)(Q,{}):l?i?(0,n.jsx)(Q,{}):(0,n.jsx)(ee,{}):o},eo=e=>{let{isLoading:t,error:r,disabled:a,TableHeader:o,TableRows:l,empty:s,rows:d=10,minWidth:c=720,main:p=!1,isEmptyTx:h=!0,isNftTable:x=!1}=e;return(0,n.jsx)(i.K3,{$main:p,$isMobile:(0,u.Fr)(),$isNftTable:x,className:"table-container",children:(0,n.jsxs)(i.eR,{$minWidth:c,children:[o,(0,n.jsx)(i.BF,{children:a?(0,n.jsx)(et,{rows:d}):r?(0,n.jsx)(en,{rows:d}):t?(0,n.jsx)(Z,{rows:d}):s?h?(0,n.jsx)(et,{rows:d}):(0,n.jsx)(Z,{rows:d}):l})]})})},el=(e,t)=>({block:[{value:"blockTransactions",label:e("block.tab.transactions")},{value:"blockInternalTxs",label:e("block.tab.internalTransactions")},{value:"blockRewardDetails",label:e("block.tab.rewardDetails")},{value:"blockRawData",label:e("block.tab.rawData")}],address:[{value:"txList",label:e("address.tab.txList")},{value:"proposedBlocks",label:e("address.tab.proposedBlocks")},{value:"internalTx",label:e("address.tab.internalTx")},{value:"eventLog",label:e("address.tab.eventLog")},{value:"contract",label:e("address.tab.contract")},{value:"key",label:e("address.tab.key")},{value:"tokenTransfer",label:e("address.tab.tokenTransfer")},{value:"nftTransfer",label:e("address.tab.nftTransfer")},{value:"tokenBalance",label:e("address.tab.tokenBalance")},{value:"kip17Balance",label:e("address.tab.kip17Balance")},{value:"kip37Balance",label:e("address.tab.kip37Balance")},{value:"feePaid",label:e("address.tab.feePaid")}],token:[{value:"tokenTransfer",label:e("token.tabs.tokenTransfers")},{value:"tokenHolder",label:e("token.tabs.holders")},{value:"mintList",label:e("token.tabs.mintList")},{value:"burntList",label:e("token.tabs.burntList")},{value:"approveList",label:e("token.tabs.approveList")}],nft:[{value:"nftTransfer",label:e("nft.tabs.nftTransfers")},{value:"nftHolder",label:e("nft.tabs.holders")},{value:"nftInventory",label:e("nft.tabs.inventory")},{value:"mintList",label:e("nft.tabs.mintList")},{value:"burntList",label:e("nft.tabs.burntList")},{value:"approveList",label:e("nft.tabs.approveList")}],nftToken:[{value:"nftTokenTransfer",label:e("nft.token.overview.tabs.nftTransfers")}]})[t],ei=e=>{let{type:t}=e,r=el((0,d.k)(),t);return(0,n.jsxs)(i.jp,{children:[(0,n.jsx)(C.wb,{borderBottom:!1,tabs:r,isLoading:"address"===t}),(0,n.jsx)(P,{count:0}),(0,n.jsxs)(i.Mo,{children:[(0,n.jsx)(eo,{isLoading:!0,disabled:!1,empty:!1,TableHeader:(0,n.jsx)(i.A0,{}),TableRows:[],error:void 0}),(0,n.jsx)(A.dK,{current:1,total:1})]})]})}},53387:(e,t,r)=>{r.d(t,{G:()=>n});let n=(0,r(25959).v)(e=>({timer:Date.now(),setTimer:t=>e({timer:t})}))},59059:(e,t,r)=>{r.d(t,{A0:()=>c,A3:()=>u,BF:()=>p,E:()=>I,EA:()=>y,F5:()=>E,FE:()=>L,G0:()=>S,Gz:()=>W,HB:()=>z,Hj:()=>h,I_:()=>H,JR:()=>N,Jl:()=>T,K3:()=>s,Kt:()=>j,Mo:()=>P,Sh:()=>F,Te:()=>w,WD:()=>v,Wy:()=>m,X:()=>R,eR:()=>d,fh:()=>x,jp:()=>M,k:()=>b,pL:()=>D,qC:()=>C,qk:()=>g,sY:()=>B,ss:()=>k,wd:()=>$,z6:()=>A});var n=r(90714);r(51644);var a=r(7351),o=r(56618),l=r(50625),i=r(30795);let s=l.Ay.div.withConfig({componentId:"sc-732b9d77-0"})([""," width:100%;"," margin-bottom:0em;&::-webkit-scrollbar{width:0px;opacity:0;display:none !important;}",""],n.c6,e=>{let{$isNftTable:t,$isMobile:r}=e;return t?r?"overflow: scroll hidden;":"overflow: visible;":"overflow: scroll hidden;"},e=>{let{$main:t}=e;return!t&&(0,o.MV)({},{},{},{padding:"0px 16px"})}),d=l.Ay.table.withConfig({componentId:"sc-732b9d77-1"})(["width:100%;border-collapse:collapse;min-width:1056px;"," @media (max-width:600px){min-width:","px;}"],(0,o.MV)({},{},{},{minWidth:"720px"}),e=>{let{$minWidth:t}=e;return t}),c=l.Ay.thead.withConfig({componentId:"sc-732b9d77-2"})(["padding-bottom:8px;border-bottom:1px solid ",";tr{height:32px;}"],e=>{let{theme:t}=e;return t.Color.background.border["divide-strong"]}),p=l.Ay.tbody.withConfig({componentId:"sc-732b9d77-3"})(["position:relative;tr{padding:0 8px;border-bottom:1px solid ",";&:hover{background-color:",";}}tr:last-child{border-bottom:1px solid ",";}"],e=>{let{theme:t}=e;return t.Color.background.border["divide-weak"]},e=>{let{theme:t}=e;return"".concat(t.gray[500],"09")},e=>{let{theme:t}=e;return t.Color.background.border["divide-strong"]}),h=l.Ay.tr.withConfig({componentId:"sc-732b9d77-4"})(["height:56px;td:first-child{padding-left:8px;}th:first-child{padding-left:8px;}&.empty{border:0px;visibility:hidden;}&.data-loading-table{position:absolute;top:0;left:0;width:100%;height:100%;border:0px;"," > td{width:100%;}}.weak{color:",";","}.link{color:",";"," &:hover{"," color:",";}}.has-error{color:",";&:hover{color:",";}}.tx-error-icon{display:inline-block;margin-right:4px;> div{vertical-align:sub;}}"],(0,o.MV)({},{},{maxWidth:"100vw"},{maxWidth:"100vw",position:"relative"}),e=>{let{theme:t}=e;return t.Color.text.text.weak},a.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},a.Il.body.sm_underline,n.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]},e=>{let{theme:t}=e;return t.Color.background.Icon.negative_default},e=>{let{theme:t}=e;return t.Color.background.Icon.negative_default}),x=l.Ay.td.withConfig({componentId:"sc-732b9d77-5"})(["color:",";padding:0 16px 0 0;"," white-space:nowrap;text-overflow:ellipsis;"],e=>{let{theme:t}=e;return t.Color.text.text.base},a.Il.body.sm),u=l.Ay.th.withConfig({componentId:"sc-732b9d77-6"})(["color:",";"," font-weight:400;padding:0 16px 0 0;white-space:nowrap;text-overflow:ellipsis;"],e=>{let{theme:t}=e;return t.Color.text.text.weak},a.Il.body.xs),g=l.Ay.div.withConfig({componentId:"sc-732b9d77-7"})([""]),m=l.Ay.div.withConfig({componentId:"sc-732b9d77-8"})(["width:fit-content;overflow:hidden;white-space:nowrap;text-decoration:underline;text-overflow:ellipsis;color:",";font-weight:500;&:hover{"," color:",";}"],e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},n.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]}),b=l.Ay.div.withConfig({componentId:"sc-732b9d77-9"})(["text-decoration:underline;
1max-width:200px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:",";font-weight:500;&:hover{"," color:",";}"],e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},n.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]}),f=l.Ay.div.withConfig({componentId:"sc-732b9d77-10"})(["display:flex;align-items:center;color:",";text-decoration:",";font-weight:500;cursor:",";&:hover{"," color:",";}"],e=>{let{theme:t}=e;return t.Color.text.textButton["link-default"]},e=>{let{$disabled:t}=e;return t?"none":"underline"},e=>{let{$disabled:t}=e;return t?"default!important":"pointer"},n.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["link-hover"]}),w=(0,l.Ay)(f).withConfig({componentId:"sc-732b9d77-11"})(["text-align:left;"]),v=(0,l.Ay)(f).withConfig({componentId:"sc-732b9d77-12"})(["display:block;width:100%;overflow:hidden;white-space:nowrap;text-align:left;"]),k=(0,l.Ay)(f).withConfig({componentId:"sc-732b9d77-13"})(["display:block;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:",";"," &:hover{color:",";}&.same-address{background-color:",";border-radius:4px;}.no-link{text-decoration:none;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"],e=>{let{$isKeyword:t,theme:r}=e;return t?r.Color.text.text["point-primary"]:void 0},n.lw,e=>{let{$isKeyword:t,theme:r}=e;return t?r.Color.text.text["point-primary"]:void 0},e=>{let{theme:t}=e;return t.Color.background.component["primary-weak"]}),y=l.Ay.div.withConfig({componentId:"sc-732b9d77-14"})(["flex-wrap:nowrap;width:100%;height:100%;display:flex;align-items:center;gap:4px;.address-link-main-content{display:flex;align-items:center;gap:4px;border-radius:4px;"," border:1px dashed transparent;box-sizing:border-box;padding:2px 4px;max-width:calc(100% - 20px);}&.same-address .address-link-main-content{border:1px dashed ",";background-color:",";}.address-link-content-wrapper{width:fit-content;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;.tooltip-container{width:100%;}}.tooltip-container{width:fit-content;}.copy-icon{"," "," min-width:16px;min-height:16px;transition:transform ",";path:first-of-type{stroke:none !important;fill:",";}path:last-of-type{stroke:",";fill:none !important;}&:hover{"," transform:scale(1.1);path:first-of-type{"," fill:",";}path:last-of-type{"," stroke:",";}}}.table-logo{path:first-of-type{fill:",";}path:nth-of-type(2){fill:",";}path:last-of-type{fill:",";}}.icon-filter{min-width:16px;min-height:16px;path{stroke:",";fill:none;","}&:hover{path{stroke:",";fill:none !important;","}}&.active,&.active:hover{path{stroke:none;fill:","!important;","}}}"],n.lw,e=>{let{theme:t}=e;return t.Color.background.border["line-primary"]},e=>{let{theme:t}=e;return t.Color.background.component["primary-weak"]},n.lw,n.or,n.lw,e=>{let{theme:t}=e;return t.Color.background.Icon.weak},e=>{let{theme:t}=e;return t.Color.background.Icon.weak},n.lw,n.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["weak-hover"]},n.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["weak-hover"]},e=>{let{theme:t}=e;return t.Color.background.Icon.strong},e=>{let{theme:t}=e;return t.Color.background.surface.alt},e=>{let{theme:t}=e;return t.Color.background.Icon.strong},e=>{let{theme:t}=e;return t.Color.background.Icon["base-inverse"]},n.lw,e=>{let{theme:t}=e;return t.Color.background.Icon["base-hover"]},n.lw,e=>{let{theme:t}=e;return t.Color.background.Icon.base},n.lw),j=l.Ay.div.withConfig({componentId:"sc-732b9d77-15"})(["display:flex;align-items:center;justify-content:center;width:16px;height:16px;"]),C=l.Ay.div.withConfig({componentId:"sc-732b9d77-16"})([""," font-weight:400;color:",";"," padding:0px 16px;height:40px;gap:4px;background-color:",";span.highlight{color:",";font-weight:500;}",""],a.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.text.weak},n.zF,e=>{let{theme:t}=e;return t.Color.background.component["notice-primary"]},e=>{let{theme:t}=e;return t.Color.text.text["point-primary"]},e=>{let{$main:t}=e;return!t&&(0,o.MV)({},{},{},{margin:"0px 16px"})}),A=l.Ay.div.withConfig({componentId:"sc-732b9d77-17"})([""," .kaia-amount{width:100%;}"],n.qY),I=l.Ay.div.withConfig({componentId:"sc-732b9d77-18"})([""," font-weight:400;color:",";"],a.Il.body.xs,e=>{let{theme:t}=e;return t.Color.text.text.caption}),N=l.Ay.div.withConfig({componentId:"sc-732b9d77-19"})([""," gap:8px;"],n.zF),T=l.Ay.div.withConfig({componentId:"sc-732b9d77-20"})(["width:24px;height:24px;img{border-radius:",";outline:"," solid 1px;}.empty{rect{fill:",";stroke:",";}}.nft-empty{path{fill:",";stroke:",";}}"],e=>{let{$square:t}=e;return t?"0":"50%"},e=>{let{theme:t}=e;return t.Color.background.border["outline-weak"]},e=>{let{theme:t}=e;return t.Color.background.Icon.weak},e=>{let{theme:t}=e;return t.Color.background.border["outline-weak"]},e=>{let{theme:t}=e;return t.Color.background.Icon.weak},e=>{let{theme:t}=e;return t.Color.background.border["outline-weak"]}),S=l.Ay.div.withConfig({componentId:"sc-732b9d77-21"})(["",""],n.Xv),L=l.Ay.div.withConfig({componentId:"sc-732b9d77-22"})([""," font-weight:400;flex:1 0 0;color:",";overflow-x:clip;white-space:nowrap;text-overflow:ellipsis;"],a.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.text.base}),B=l.Ay.div.withConfig({componentId:"sc-732b9d77-23"})([""," font-weight:400;color:",";letter-spacing:-0.25px;"],a.Il.body.xs,e=>{let{theme:t}=e;return t.Color.text.text.caption}),E=l.Ay.div.withConfig({componentId:"sc-732b9d77-24"})(["color:",";"],e=>{let{theme:t,$isPositive:r}=e;return r?t.Color.background.Icon.positive_default:t.Color.background.Icon.negative_default}),$=(0,l.Ay)(n.so).withConfig({componentId:"sc-732b9d77-25"})(["gap:2px;"," .filter-icon{&:hover{path{"," fill:",";}}}"],n.or,n.lw,e=>{let{theme:t}=e;return t.Color.text.textButton["weak-hover"]});l.Ay.div.withConfig({componentId:"sc-732b9d77-26"})(["width:24px;height:24px;background:",";border-radius:50%;"],e=>{let{theme:t}=e;return t.Color.background.Icon.weak}),l.Ay.div.withConfig({componentId:"sc-732b9d77-27"})(["width:24px;height:24px;background:",";"],e=>{let{theme:t}=e;return t.Color.background.Icon.weak});let F=l.Ay.div.withConfig({componentId:"sc-732b9d77-28"})(["display:flex;align-items:center;gap:8px;align-self:stretch;justify-content:flex-end;row-gap:8px;flex-wrap:wrap;
1"," .search-tx{"," color:",";}.search-icon{path,circle{"," stroke:",";}}"],(0,o.MV)({},{},{},{justifyContent:"flex-start"}),a.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.text.base},n.lw,e=>{let{theme:t}=e;return t.Color.text.text.base}),D=l.Ay.td.withConfig({componentId:"sc-732b9d77-29"})([""," height:100%;display:flex;padding:120px 0px;flex-direction:column;align-items:center;justify-content:center;gap:16px;align-self:stretch;",""],n.c6,(0,o.MV)({},{},{},{width:"100vw!important"})),W=l.Ay.div.withConfig({componentId:"sc-732b9d77-30"})(["width:","px;height:","px;overflow:hidden;flex-grow:0;"],e=>{let{$size:t}=e;return t},e=>{let{$size:t}=e;return t}),z=l.Ay.div.withConfig({componentId:"sc-732b9d77-31"})(["color:",";"," font-weight:500;"],e=>{let{theme:t}=e;return t.Color.text.text.weak},a.Il.title.md),M=(0,l.Ay)(i.q5).withConfig({componentId:"sc-732b9d77-32"})(["padding:24px 32px 32px 32px;"," gap:0px;",""],n.c6,(0,o.MV)({},{},{},{padding:"24px 0px 24px 0px"})),P=l.Ay.div.withConfig({componentId:"sc-732b9d77-33"})([""," "," gap:16px;"],n.c6,n.ec),H=l.Ay.div.withConfig({componentId:"sc-732b9d77-34"})(["width:100%;position:relative;white-space:nowrap;.amount{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}.padding-right{color:",";opacity:0.5;}.truncated{color:",";opacity:0.5;position:absolute;right:-12px;bottom:0;z-index:3;}"],e=>{let{theme:t}=e;return t.Color.text.text.weak},e=>{let{theme:t}=e;return t.Color.text.text.weak}),R=l.Ay.div.withConfig({componentId:"sc-732b9d77-35"})([""," justify-content:space-between;gap:8px;svg{min-height:16px;min-width:16px;flex-shrink:0;}svg path{fill:",";}min-width:254px;width:100%;max-width:320px;justify-self:center;> a,> div{width:calc((100% - 20px) / 2);text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}"],n.d2,e=>{let{theme:t}=e;return t.Color.background.Icon.strong})},63181:(e,t,r)=>{r.d(t,{s:()=>o});var n=r(95155);let a=[["#FF6B6B","#EE5A24"],["#7C3AED","#A78BFA"],["#2563EB","#60A5FA"],["#059669","#34D399"],["#D97706","#FBBF24"],["#DC2626","#F87171"],["#7C3AED","#C084FC"],["#0891B2","#67E8F9"],["#4F46E5","#818CF8"],["#DB2777","#F472B6"]],o=e=>{let{name:t,size:r=24,borderRadius:o,className:l}=e,i="string"==typeof t?t:"",s=(i||"?").charAt(0).toUpperCase(),d=i?i.split("").reduce((e,t)=>e+t.charCodeAt(0),0)%a.length:0,[c,p]=a[d],h=null!=o?o:r>=32?12:r>=20?6:4;return(0,n.jsx)("div",{className:l,style:{width:r,height:r,minWidth:r,minHeight:r,borderRadius:h,background:"linear-gradient(135deg, ".concat(c,", ").concat(p,")"),display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:.45*r,fontWeight:700,letterSpacing:-.5,flexShrink:0,lineHeight:1},children:s})}},74171:(e,t,r)=>{r.d(t,{MB:()=>f,XA:()=>b,c:()=>m,wM:()=>x,wb:()=>p,zg:()=>u});var n=r(95155),a=r(37186),o=r(46426),l=r(12115),i=r(20063),s=r(56618),d=r(39724),c=r(28479);let p=e=>{let{tabs:t,borderBottom:r=!0,isLoading:a=!1,style:i={}}=e,[d,c,p]=x(),u=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if("#code"===location.hash)c("contract");else if(!d){var e;c(null==t||null==(e=t[0])?void 0:e.value)}},[d]),(0,l.useEffect)(()=>{if(d&&u.current){let e=u.current.querySelector(".active");e&&(0,s.gx)(u.current,e)}},[d,u]),(0,n.jsx)(o.nH,{$borderBottom:r,$loading:a,ref:u,className:"tab-list",style:i,children:t.map((e,t)=>(0,n.jsx)(h,{value:e.value,index:t,disabled:e.disabled,getTabUrl:p,children:e.label},t))})},h=e=>{let{children:t,value:r,index:a,disabled:l,getTabUrl:i}=e,[s,d]=x(),c=i?i(r):"#";return(0,n.jsx)(o.zB,{as:"a",href:l?void 0:c,onClick:e=>{if(l)return void e.preventDefault();e.metaKey||e.ctrlKey||(e.preventDefault(),d(r))},$isActive:s===r,id:"tab-".concat(r),role:"tab","aria-selected":s===r,"aria-controls":"tabpanel-".concat(r),tabIndex:a,className:s===r?"active":"",$disabled:l||!1,children:t})},x=()=>{let e=(0,a.rd)(),t=(0,i.useSearchParams)(),r=(0,a.a8)(),n=t.get("tabId")||null,o=e=>{let n={};t.forEach((e,t)=>{n[t]=e}),e&&(n.tabId=e.toString());let a=new URL(r,window.location.origin);return n.page="1",delete n.filter,delete n.txDirection,delete n.type,a.search=new URLSearchParams(n).toString(),a.toString()};return[n,t=>{let r=o(t);e.replace(r,{scroll:!1})},o]},u=e=>{let{tabs:t,borderBottom:r=!0,isLoading:a=!1}=e,{tabId:i,setTabId:d}=(0,l.useContext)(g),c=(0,l.useRef)(null);return(0,l.useEffect)(()=>
1{if(!i){var e;d(null==t||null==(e=t[0])?void 0:e.value)}},[i]),(0,l.useEffect)(()=>{if(i&&c.current){let e=c.current.querySelector(".active");e&&(0,s.gx)(c.current,e)}},[i,c]),(0,n.jsx)(o.nH,{$borderBottom:r,$loading:a,ref:c,className:"tab-list",children:t.map((e,t)=>{let r=e.disabled?void 0:(()=>{let t={};new URLSearchParams(window.location.search).forEach((e,r)=>{t[r]=e}),e.value&&(t.tabId=e.value.toString());let r=new URL(window.location.pathname,window.location.origin);return t.page="1",delete t.filter,delete t.txDirection,delete t.type,r.search=new URLSearchParams(t).toString(),r.toString()})();return(0,n.jsx)(o.zB,{as:"a",href:r,onClick:t=>{if(e.disabled)return void t.preventDefault();t.metaKey||t.ctrlKey||(t.preventDefault(),d(e.value))},$isActive:i===e.value,id:"local-tab-".concat(e.value),role:"tab","aria-selected":i===e.value,"aria-controls":"local-tabpanel-".concat(e.value),tabIndex:t,$disabled:e.disabled||!1,className:i===e.value?"active":"",children:e.label},t)})})},g=(0,l.createContext)({tabId:null,setTabId:()=>{}}),m=e=>{let{children:t}=e,[r,a]=(0,l.useState)(null);return(0,n.jsx)(g.Provider,{value:{tabId:r,setTabId:a},children:t})},b=e=>{let{children:t,value:r}=e,[a]=(()=>{let{tabId:e,setTabId:t}=(0,l.useContext)(g);return[e,t]})(),i=a===r;return(0,n.jsx)(o.v,{hidden:!i,"aria-labelledby":"tab-".concat(r),role:"tabpanel",className:"local-tabpanel",id:"local-tabpanel-".concat(r),$isActive:i,children:t})},f=()=>{let e=(0,l.useRef)(null),t=(0,a.a8)(),r=(0,a.rd)(),i=(0,d.k)();return(0,n.jsxs)(o.nH,{$borderBottom:!1,$loading:!1,ref:e,className:"tab-list",children:[(0,n.jsx)(o.zB,{as:"a",href:c.a.aaTransactions,onClick:e=>{e.preventDefault(),r.push(c.a.aaTransactions)},$disabled:!1,$isActive:t===c.a.aaTransactions,role:"tab",tabIndex:0,className:t===c.a.aaTransactions?"active":"",children:i("aaTransactions.header.tabTitle")}),(0,n.jsx)(o.zB,{as:"a",href:c.a.bundleTransactions,onClick:e=>{e.preventDefault(),r.push(c.a.bundleTransactions)},$disabled:!1,$isActive:t===c.a.bundleTransactions,role:"tab",tabIndex:1,className:t===c.a.bundleTransactions?"active":"",children:i("bundleTransactions.header.tabTitle")})]})}},74794:(e,t,r)=>{r.d(t,{H:()=>l});var n=r(95155),a=r(25251),o=r(33070);let l=e=>{let t=e.value;return void 0!==e.decimalScale&&void 0!=t&&(t=(0,a.EO)(t,e.decimalScale)),(0,n.jsx)(o.HG,{displayType:"text",...e,value:t,decimalScale:e.decimalScale})}},91460:(e,t,r)=>{r.d(t,{Hv:()=>b,dK:()=>f,N5:()=>m});var n=r(95155),a=r(76699),o=r(90714),l=r(51644),i=r(7351),s=r(50625);let d=s.Ay.div.withConfig({componentId:"sc-ce06a20-0"})(["display:flex;padding:16px;justify-content:center;align-items:center;align-self:stretch;overflow:auto;"]),c=s.Ay.button.withConfig({componentId:"sc-ce06a20-1"})([""," min-width:32px;min-height:32px;background:transparent;"," border:0px;"," "," .pagination-icon{path{stroke:",";}&.disabled path{stroke:",";}}"],o.Up,o.H8,l.V.s,o.or,e=>{let{theme:t}=e;return t.Color.background.Icon.base},e=>{let{theme:t}=e;return t.Color.background.Icon["base-disabled"]}),p=s.Ay.div.withConfig({componentId:"sc-ce06a20-2"})([""," min-width:32px;min-height:32px;"," "," font-weight:500;text-align:center;color:",";"," &:hover,&.active{"," background-color:",";}padding:8px;"],o.Up,l.V.s,i.Il.body.sm,e=>{let{theme:t}=e;return t.Color.text.button.default},o.lw,o.or,e=>{let{theme:t}=e;return t.Color.background.component["primary-weak"]});var h=r(96129),x=r(37186),u=r(12115),g=r(20063);let m=e=>{let t=(0,x.rd)(),r=(0,g.useSearchParams)(),n=(0,x.a8)();return{page:parseInt(r.get(b.page)||"1",10),size:e&&(null===a.r5||void 0===a.r5?void 0:a.r5[e])||a.$I,reset:()=>{let e=new URLSearchParams(r.toString());e.delete(b.page),t.push("".concat(n,"?").concat(e.toString()),{scroll:!1})}}},b={page:"page"},f=e=>{let{current:t,total:r,pageCount:o=a.$I,displayCount:l=a.Vw,onChange:i}=e,s=(0,x.rd)(),[g,m]=(0,u.useState)(o),b=Math.ceil((r>4e4?4e4:r)/l),f=Math.max(1,t-1),w=Math.min(b,t+1),v=Math.trunc((t-1)/g)*g+1,k=e=>{if(!(e<1)&&!(e>b)&&t!==e)if(i)i(e);else{let t=new URL(location.href);t.searchParams.set("page",e.toString()),s.push(t.toString(),{scroll:!1})}};if((0,u.useEffect)(()=>{t>b&&k(b),t<1&&k(1)},[t,b]),(0,u.useEffect)(()=>{let e=()=>{window.innerWidth<=600?m(5):m(o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),0===r)return null;let y=t<b,j=t>1;return(0,n.jsxs)(d,{children:[(0,n.jsx)(c,{children:(0,n.jsx)(h.t2$,{width:16,height:16,className:" pagination-icon ".concat(j?"":"disabled"),onClick:()=>k(1)})}),(0,n.jsx)(c,{children:(0,n.jsx)(h.YyR,{width:16,height:16,className:"pagination-icon ".concat(j?"":"disabled"),onClick:()=>j&&k(f)})}),Array.from({length:Math.min(g,b-v+1)}).map((e,r)=>{let a=v+r;return(0,n.jsx)(p,{className:"".concat(t===a?"active":""),onClick:()=>k(a),children:a},a)}),(0,n.jsx)(c,{children:(0,n.jsx)(h.lWp,{width:16,height:16,className:"pagination-icon ".concat(y?"":"disabled"),onClick:()=>y&&k(w)})}),(0,n.jsx)(c,{children:(0,n.jsx)(h.Pqt,{width:16,height:16,className:" pagination-icon ".concat(y?"":"disabled"),onClick:()=>k(b)})})]})}}}]);
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.