From ecfdbd2a039941ecbf1ee355dd802a664976f6c6 Mon Sep 17 00:00:00 2001 From: icfor Date: Wed, 17 Apr 2024 10:39:11 +0000 Subject: [PATCH] deploy: eb773e63582fa2a92fd419f70f7ff0b0dc2567cf --- 404.html | 2 +- 404/index.html | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 .../{403-d1e356ab05fb29d4.js => 403-98123080c7663b4a.js} | 0 .../{495-860183cd0a1f9af2.js => 495-8b4751c3961aa087.js} | 2 +- .../{734-b4b1c062e962aa9c.js => 734-c2dc545e64e36b95.js} | 0 .../{page-982e6b93436d65c6.js => page-607d6d77a659ac23.js} | 0 .../{page-2415cd9a6e94f099.js => page-860f45474fa02922.js} | 0 index.html | 2 +- index.txt | 6 +++--- validator/index.html | 2 +- validator/index.txt | 6 +++--- 13 files changed, 11 insertions(+), 11 deletions(-) rename _next/static/{PAQksfk8_82QGxN6Rx6LY => N4J0MJ0kxoZquzPntI4NH}/_buildManifest.js (100%) rename _next/static/{PAQksfk8_82QGxN6Rx6LY => N4J0MJ0kxoZquzPntI4NH}/_ssgManifest.js (100%) rename _next/static/chunks/{403-d1e356ab05fb29d4.js => 403-98123080c7663b4a.js} (100%) rename _next/static/chunks/{495-860183cd0a1f9af2.js => 495-8b4751c3961aa087.js} (56%) rename _next/static/chunks/{734-b4b1c062e962aa9c.js => 734-c2dc545e64e36b95.js} (100%) rename _next/static/chunks/app/{page-982e6b93436d65c6.js => page-607d6d77a659ac23.js} (100%) rename _next/static/chunks/app/validator/{page-2415cd9a6e94f099.js => page-860f45474fa02922.js} (100%) diff --git a/404.html b/404.html index 8988f1c..edbd773 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found.

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/404/index.html b/404/index.html index 8988f1c..edbd773 100644 --- a/404/index.html +++ b/404/index.html @@ -1 +1 @@ -404: This page could not be found.

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/PAQksfk8_82QGxN6Rx6LY/_buildManifest.js b/_next/static/N4J0MJ0kxoZquzPntI4NH/_buildManifest.js similarity index 100% rename from _next/static/PAQksfk8_82QGxN6Rx6LY/_buildManifest.js rename to _next/static/N4J0MJ0kxoZquzPntI4NH/_buildManifest.js diff --git a/_next/static/PAQksfk8_82QGxN6Rx6LY/_ssgManifest.js b/_next/static/N4J0MJ0kxoZquzPntI4NH/_ssgManifest.js similarity index 100% rename from _next/static/PAQksfk8_82QGxN6Rx6LY/_ssgManifest.js rename to _next/static/N4J0MJ0kxoZquzPntI4NH/_ssgManifest.js diff --git a/_next/static/chunks/403-d1e356ab05fb29d4.js b/_next/static/chunks/403-98123080c7663b4a.js similarity index 100% rename from _next/static/chunks/403-d1e356ab05fb29d4.js rename to _next/static/chunks/403-98123080c7663b4a.js diff --git a/_next/static/chunks/495-860183cd0a1f9af2.js b/_next/static/chunks/495-8b4751c3961aa087.js similarity index 56% rename from _next/static/chunks/495-860183cd0a1f9af2.js rename to _next/static/chunks/495-8b4751c3961aa087.js index 76d4910..bb83fdb 100644 --- a/_next/static/chunks/495-860183cd0a1f9af2.js +++ b/_next/static/chunks/495-8b4751c3961aa087.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[495],{143:function(e,t,s){s.d(t,{D:function(){return i},N:function(){return r}});var n=s(3827),l=s(59371);let r=e=>{let{children:t,mobile:s,onSort:r,rigthAlign:i,sort:a,sorting:c}=e,d=(c||[]).concat(["none"]),o=a?d.indexOf(a):-1;return(0,n.jsx)("div",{className:["flex-row text-[14px] font-normal leading-[14px] tracking-wider",i?"justify-end":"",s?"flex":"hidden md:flex"].join(" "),children:(0,n.jsxs)("button",{className:["flex flex-row items-center gap-[8px] uppercase",r?"cursor-pointer":"cursor-default"].join(" "),onClick:()=>{if(!r||!a)return;let e=(1+d.indexOf(a))%(d.length-1),t=d[e];null==r||r(t)},children:[(0,n.jsx)("span",{children:t}),r&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:l.Sf},style:{rotate:0===o?"180deg":"0deg"}})]})})},i=e=>{let{logo:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)("img",{alt:"Validator logo",className:"block w-[50px] rounded-full",src:t,style:{height:50,minHeight:50,minWidth:50,width:50}})})}},80148:function(e,t,s){s.d(t,{B:function(){return l}});var n=s(22840);let l=(e,t,s)=>typeof e!=typeof t?0:"string"==typeof e?s?e.localeCompare(t):t.localeCompare(e):"number"==typeof e?Number.isNaN(e)||Number.isNaN(t)?0:s?e-t:t-e:e instanceof n.Z&&t instanceof n.Z?s?e.minus(t).toNumber():t.minus(e).toNumber():0},62948:function(e,t,s){s.d(t,{S6:function(){return N},sv:function(){return b}});var n=s(3827),l=s(22840),r=s(20534),i=s(64090),a=s(82012),c=s(143),d=s(59371),o=s(80148),x=s(88197),u=s(80469),m=s(62986),p=s(39730),h=s(89056),f=s(66803),j=s(19807),v=s(67497),g=s(26605),w=s(48074);let N=e=>{let t=(0,p.jv)(e,null),s=(0,p.U2)(e,null);return(0,f.UO)(t)||(0,f.UO)(s)},b=e=>{let{isShowingDetails:t,setIsShowingDetails:s}=e;return(0,n.jsxs)("button",{className:"text-primary-500 flex flex-row items-center gap-2 text-[14px]",onClick:()=>{s(!t)},children:[t?"Hide details":"View details",(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:d.cx},style:{transform:"rotate(".concat(t?"0deg":"180deg",")")}})]})},y={gap:"16px",gridTemplateColumns:"1.5fr repeat(4, 1.05fr)",overflow:"auto"},k="w-full items-center justify-between gap-2 p-2 mb-[16px] last:mb-[0px] bg-black rounded-[8px]",S="w-full overflow-auto rounded-[24px] bg-bg-600 pb-4 text-typo-100 px-[16px]",C=()=>(0,n.jsx)("span",{className:"hover:bg-bg-500",dangerouslySetInnerHTML:{__html:d.GI}}),Z=(0,i.memo)(e=>{let{delegation:t,disabled:s,index:l,staking:d,validator:o}=e,{validatorAddress:u}=t;(0,i.useEffect)(()=>{u&&(0,x.Dr)(u,d)},[u,d]);let p=(0,h.P)(null==o?void 0:o.description.identity,null==o?void 0:o.operatorAddress),f=e=>(0,n.jsx)(a.Rk,{Trigger:C,id:"delegation-".concat(l,"-").concat(e.toString()),placement:"bottom-end",children:(0,n.jsxs)("div",{className:["flex-col gap-[12px] rounded-[8px] bg-bg-600 py-[4px]",e?"flex md:hidden":"hidden md:flex"].join(" "),children:[(0,n.jsx)(a.ZP,{disabled:!(0,j.m)(null==t?void 0:t.rewards)||s,onClick:()=>{o&&d.dispatch((0,m.ZG)({content:{delegations:[t]},type:"rewards"}))},children:"Claim rewards"}),(0,n.jsx)(a.ZP,{disabled:s,onClick:()=>{o&&d.dispatch((0,m.ZG)({content:{validator:o},type:"undelegate"}))},variant:"danger",children:"Undelegate"})]})}),N={disabled:s||(null==o?void 0:o.status)!==r.BondStatus.BOND_STATUS_BONDED,onClick:()=>{o&&d.dispatch((0,m.ZG)({content:{validator:o},type:"delegate"}))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:[k,"hidden min-w-[1000px] md:grid"].join(" "),style:y,children:[(0,n.jsxs)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:p}),(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-[2px] text-left",children:[(0,n.jsx)("div",{className:"max-w-[150px] overflow-hidden truncate text-[14px] font-bold leading-[20px] md:max-w-[250px]",children:(null==o?void 0:o.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==o?void 0:o.operatorAddress)||""})]})]}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(w.Z,{text:(0,v.Em)(t.balance)})}),(0,n.jsx)("div",{className:"text-right",children:o?(0,v.i)(o.commission.commissionRates.rate,0):""}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(w.Z,{text:(0,v.Em)(t.rewards)})}),(0,n.jsxs)("div",{className:"flex flex-row items-center justify-end gap-[8px]",children:[(0,n.jsx)(a.hp,{...N,children:"Delegate"}),f(!1)]})]}),(0,n.jsxs)("div",{className:[k,"flex w-full flex-col px-[16px] md:hidden"].join(" "),children:[(0,n.jsxs)("div",{className:"flex w-full flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:p}),(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-[2px] text-left",children:[(0,n.jsx)("div",{className:"max-w-[150px] overflow-hidden truncate text-[14px] font-bold leading-[20px] md:max-w-[250px]",children:(null==o?void 0:o.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==o?void 0:o.operatorAddress)||""})]})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Staked amount"}),(0,n.jsx)(w.Z,{text:(0,v.Em)(t.balance)})]}),o&&(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Commission"}),(0,n.jsx)("span",{children:(0,v.i)(o.commission.commissionRates.rate,0)})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Rewards"}),(0,n.jsx)(w.Z,{text:(0,v.Em)(t.rewards)})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row items-center justify-end gap-[8px] ",children:[(0,n.jsx)(a.hp,{...N,children:"Delegate"}),f(!0)]})]})]})}),A=e=>{let{disabled:t,stakingRef:s,unbonding:l,validator:r}=e,{staking:d}=s,o=(0,h.P)(null==r?void 0:r.description.identity,null==r?void 0:r.operatorAddress),u=l.validator;(0,i.useEffect)(()=>{u&&(0,x.Dr)(u,d)},[u,d]);let p={disabled:t,onClick:()=>{d.dispatch((0,m.ZG)({content:{unbondings:[l]},type:"cancel-unstaking"}))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:[k,"hidden min-w-[1000px] md:grid"].join(" "),style:y,children:[(0,n.jsxs)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:o}),(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==r?void 0:r.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==r?void 0:r.operatorAddress)||""})]})]}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(w.Z,{text:(0,v.Em)(l.balance)})}),(0,n.jsx)("div",{className:"text-right",children:"Unbonding"}),(0,n.jsx)("div",{className:"text-right",children:(0,v.ts)(l.completionTime)}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(a.hp,{...p,variant:"danger",children:"Cancel Unstake"})})]}),(0,n.jsxs)("div",{className:[k,"flex w-full flex-col px-[16px] md:hidden"].join(" "),children:[(0,n.jsxs)("div",{className:"flex w-full flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:o}),(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==r?void 0:r.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==r?void 0:r.operatorAddress)||""})]})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Amount"}),(0,n.jsx)(w.Z,{text:(0,v.Em)(l.balance)})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Status"}),(0,n.jsx)("span",{children:"Unbonding"})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Completion"}),(0,v.ts)(l.completionTime)]}),(0,n.jsx)("div",{className:"flex w-full flex-row justify-end",children:(0,n.jsx)(a.hp,{...p,variant:"danger",children:"Cancel Unstake"})})]})]})},F=c.N,E=c.N,I="grid w-full items-center justify-between gap-2 py-4 px-2 uppercase md:min-w-[1000px]";t.ZP=(0,i.memo)(()=>{let e=(0,u.n)(),{staking:t}=e,[s,r]=(0,i.useState)("none"),[a,c]=(0,i.useState)("none"),d=(0,p.mM)(t.state),{delegations:x,unbondings:m}=t.state,h=!!(null==x?void 0:x.items.length),f=!!(null==m?void 0:m.items.length);return h||f?(0,n.jsxs)("div",{className:"flex h-full flex-1 flex-col items-end gap-[16px]",children:[h&&(()=>{let e=x.items.slice().sort((e,t)=>{switch(s){case"staked-asc":case"staked-desc":return(0,o.B)(new l.Z(e.balance.amount),new l.Z(t.balance.amount),"staked-asc"===s);case"rewards-asc":case"rewards-desc":return(0,o.B)(new l.Z(e.rewards.amount),new l.Z(t.rewards.amount),"rewards-asc"===s);case"commission-asc":case"commission-desc":{let n=d[e.validatorAddress],l=d[t.validatorAddress];return(0,o.B)(Number(null==n?void 0:n.commission.commissionRates.rate),Number(null==l?void 0:l.commission.commissionRates.rate),"commission-asc"===s)}default:return 0}});return(0,n.jsxs)("div",{className:S,children:[(0,n.jsxs)("div",{className:I,style:y,children:[(0,n.jsx)(F,{mobile:!0,children:"Delegations"}),(0,n.jsx)(F,{onSort:r,rigthAlign:!0,sort:s,sorting:["staked-asc","staked-desc"],children:"Staked Amount"}),(0,n.jsx)(F,{onSort:r,rigthAlign:!0,sort:s,sorting:["commission-asc","commission-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Commission"})}),(0,n.jsx)(F,{onSort:r,rigthAlign:!0,sort:s,sorting:["rewards-asc","rewards-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Rewards"})})]}),e.map((e,s)=>(0,n.jsx)(Z,{delegation:e,index:s,staking:t,validator:d[e.validatorAddress]},s))]})})(),f&&(()=>{let t=m.items.slice().sort((e,t)=>{switch(a){case"amount-asc":case"amount-desc":return(0,o.B)(Number(e.balance.amount),Number(t.balance.amount),"amount-asc"===a);case"completion-asc":case"completion-desc":return(0,o.B)(e.completionTime,t.completionTime,"completion-asc"===a);default:return 0}});return(0,n.jsxs)("div",{className:S,children:[(0,n.jsxs)("div",{className:I,style:y,children:[(0,n.jsx)(E,{mobile:!0,children:"Unstakings"}),(0,n.jsx)(E,{onSort:c,rigthAlign:!0,sort:a,sorting:["staked-asc","staked-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Staked Amount"})}),(0,n.jsx)(E,{rigthAlign:!0,children:(0,n.jsx)("div",{className:"text-right",children:"Status"})}),(0,n.jsx)(E,{onSort:c,rigthAlign:!0,sort:a,sorting:["date-asc","date-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Completion Time"})})]}),t.map((t,s)=>(0,n.jsx)(A,{stakingRef:e,unbonding:t,validator:d[t.validator]},s))]})})()]}):null})},42498:function(e,t,s){s.d(t,{I:function(){return l},i:function(){return r}});var n=s(3827);let l=e=>{let{className:t}=e;return(0,n.jsx)("div",{className:["h-[1px] w-full bg-[#ffffff33]",t||""].join(" ")})},r=()=>(0,n.jsx)("div",{className:"h-full w-[1px] bg-[#ffffff33]"})},37275:function(e,t,s){s.d(t,{Z:function(){return A}});var n=s(3827),l=s(64090),r=s(30298),i=s(82012),a=s(98245),c=s.n(a),d=s(59371);c().setAppElement(document.body);let o=e=>{let{children:t}=e;return(0,n.jsx)("div",{className:"mb-[16px] text-[16px] leading-[24px] text-typo-100 opacity-50",children:t})};var x=e=>{let{children:t,...s}=e;return(0,l.useEffect)(()=>{if(s.isOpen){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[s.isOpen]),(0,n.jsx)(c(),{...s,style:{content:{background:"transparent",border:"none",bottom:"auto",boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"grid",gridTemplateColumns:"1fr",inset:0,maxHeight:"100%",minWidth:"100vw",outline:"none",overflow:"auto",padding:"0",pointerEvents:"none",position:"fixed",right:"auto",width:"100vw",zIndex:10},overlay:{backdropFilter:"blur(10px)",backgroundColor:"rgba(0, 0, 0, 0.5)"}},children:(0,n.jsxs)("div",{className:"relative min-h-[100vh] w-full overflow-auto bg-[#000] px-[16px] py-[80px] md:min-h-[unset] md:rounded-[48px] md:p-[50px] md:py-[40px]",style:{boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"flex",flexDirection:"column",height:"max-content",margin:"auto",maxWidth:"100vw",outline:"none",pointerEvents:"auto",position:"relative",width:"min-content"},children:[(0,n.jsx)("button",{className:"absolute right-[12px] top-[12px] w-[36px] cursor-pointer",dangerouslySetInnerHTML:{__html:d.kC},onClick:s.onRequestClose}),t]})})},u=s(88197),m=s(80469),p=s(62986),h=s(19807),f=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("confirm"),[a,c]=(0,l.useState)(!1),{account:d,client:f,staking:j}=e,{modal:v}=j.state,g=(null==v?void 0:v.type)==="cancel-unstaking";if(!g)return null;let{unbondings:w}=(null==v?void 0:v.content)||{};if(!(null==w?void 0:w.length))return null;let N="confirm"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Are you sure?"})}),(0,n.jsxs)(o,{children:["We are currently completing the unstaking process.",(0,n.jsx)("br",{}),"Are you sure you want to cancel the process?"]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",isLoading:a,onClick:()=>{f&&(c(!0),w.reduce(async(e,t)=>{await e;let s={delegator:d.bech32Address,validator:t.validator};await (0,h.mu)(s,t,f)},Promise.resolve()).then(()=>{(0,u.VZ)(d.bech32Address,j),s("completed")}).catch(()=>{(0,r.Am)("There was an unexpected error canceling your unstaking. Please try again later.",{type:"error"})}).finally(()=>{c(!1)}))},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Success!"})}),(0,n.jsx)(o,{children:"You have successfully cancel the unstaking process, and you are now contributing to the security of the XION network again."})]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(x,{isOpen:g,onRequestClose:()=>{a||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:N})})}),j=s(22840),v=s(3237),g=s(66803);let w=async(e,t)=>{let{client:s,staking:n}=e,{modal:l}=n.state;if((null==l?void 0:l.type)!=="rewards")return;let{delegations:i}=(null==l?void 0:l.content)||{};if(!s||!(null==i?void 0:i.length))return;let a=e.account.bech32Address;i.reduce(async(e,t)=>{await e;let n=(0,g.bI)(t.rewards);if(new j.Z(n.amount).lt(v._H))return;let l={delegator:a,validator:t.validatorAddress};await (0,h.YY)(l,s)},Promise.resolve()).then(()=>(0,u.VZ)(a,n)).then(()=>{t("completed")}).catch(()=>{(0,r.Am)("There was an unexpected error claiming your rewards. Please try again later.",{type:"error"})})};var N=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("loading"),r=(0,l.useRef)(!1),{staking:a}=e,{modal:c}=a.state,d=(null==c?void 0:c.type)==="rewards";if((0,l.useEffect)(()=>{d&&!r.current&&(r.current=!0,w(e,s))},[d,e]),!d)return null;let u="loading"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"CLAIMING"})}),(0,n.jsx)(o,{children:"Wait until your rewards are withdrawn."}),(0,n.jsx)(i.zx,{className:"mt-[25px]",isLoading:!0})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"Success!"})}),(0,n.jsx)(o,{children:"You have claimed your staking rewards successfully."})]}),(0,n.jsx)(i.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(x,{isOpen:d,onRequestClose:()=>{"loading"!==t&&e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:u})})}),b=s(39730),y=s(67497);let k="input";var S=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(k),[c,d]=(0,l.useState)(!1),[h,f]=(0,l.useState)(""),[w,N]=(0,l.useState)(""),[S,C]=(0,l.useState)({amount:void 0,memo:void 0}),{account:Z,staking:A}=e,{modal:F}=A.state,E=(null==F?void 0:F.type)==="delegate";if((0,l.useEffect)(()=>()=>{a(k),C({}),f(""),N("")},[E]),!E)return null;let{validator:I}=null==F?void 0:F.content;if(!I)return null;let O=new j.Z(h),z=O.isNaN()?"":O.times(v.Ex),D=Object.values(S).some(e=>!!e),B=(0,b.ap)(A.state);return(0,n.jsx)(x,{isOpen:E,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(i.Bz,{children:"Staked Amount (XION)"}),(0,n.jsx)(i.XJ,{children:O.toString()}),z&&(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(z)]})]}),!!w&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:w})})]});if("completed"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(o,{children:["You have successfully staked on"," ",I.description.moniker,". Thank you for contributing in securing the XION network."]})]}),l(),(0,n.jsx)(i.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});if("review"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"REVIEW"})}),(0,n.jsxs)(o,{children:["Get ready to stake your XION token with"," ",I.description.moniker,". Press 'Confirm' to proceed."]})]}),l(),(0,n.jsx)(i.zx,{isLoading:c,onClick:()=>{if(!t)return;d(!0);let e={delegator:Z.bech32Address,validator:I.operatorAddress};(0,u._5)(e,(0,g.Jp)(O),w,t,A).then(e=>(a("completed"),e())).catch(()=>{(0,r.Am)("Staking error",{type:"error"})}).finally(()=>{d(!1)})},children:"CONFIRM"})]});let x=()=>{if(!z||!B||O.isNaN()||O.gt(B))return C({...S,amount:"Invalid amount"}),!0};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(i.ls,{children:["Delegate To ",I.description.moniker]})}),B&&(()=>{let e=B.times(v.Ex);return(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(i.Bz,{children:"Available for delegation (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(B)}),(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(e)]})]})})(),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(i.Bz,{children:["= $",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!x()&&(!t||D||O.lt(0)||a("review"))},children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(i.Wz,{disabled:c,error:!!S.amount,onBlur:()=>{x()},onChange:e=>{S.amount&&C({...S,amount:void 0}),f(e.target.value)},value:h}),S.amount&&(0,n.jsx)(i.Xq,{children:S.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(i.sr,{disabled:c,onChange:e=>{N(e.target.value)},placeholder:"Memo (Optional)",value:w})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(i.zx,{disabled:c||D,type:"submit",children:"DELEGATE NOW"})})]})]})})()})})};let C="input";var Z=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(C),[c,d]=(0,l.useState)(!1),[h,f]=(0,l.useState)({amount:void 0,memo:void 0}),[w,N]=(0,l.useState)(""),[k,S]=(0,l.useState)(""),{account:Z,staking:A}=e,{modal:F}=A.state,E=(null==F?void 0:F.type)==="undelegate";if((0,l.useEffect)(()=>()=>{a(C),N(""),f({}),S("")},[E]),!E)return null;let{validator:I}=null==F?void 0:F.content;if(!I)return null;let O=new j.Z(w),z=O.isNaN()?"":O.times(v.Ex),D=(0,b.U2)(A.state,I.operatorAddress),B=()=>{if(!z||!D||O.lte(0)||O.gt(new j.Z(D.amount)))return f({...h,amount:"Invalid amount"}),!0},R=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!B()&&t&&O.gt(0)&&a("review")};return(0,n.jsx)(x,{isOpen:E,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(i.Bz,{children:"Unstaking Amount (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(O)}),(0,n.jsx)(i.Bz,{children:(0,y.H_)((0,g.Jp)(O))})]}),!!k&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:k})})]});return"completed"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(o,{children:["You have successfully unstaked from"," ",I.description.moniker,". It takes ",v.Mx," ","days to complete the unstaking process"]})]}),l(),(0,n.jsx)(i.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]}):"review"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(i.ls,{children:"REVIEW"})}),(0,n.jsxs)(o,{children:["Unstaking your XION Token means you'll stop earning rewards. Remember, it takes ",v.Mx," days to complete the unstaking process."]})]}),l(),(0,n.jsx)(i.zx,{isLoading:c,onClick:()=>{if(!t)return;d(!0);let e={delegator:Z.bech32Address,validator:I.operatorAddress};(0,u.xu)(e,(0,g.Jp)(O),k,t,A).then(e=>(a("completed"),e())).catch(()=>{(0,r.Am)("Staking error",{type:"error"})}).finally(()=>{d(!1)})},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(i.ls,{children:["Unstake From ",I.description.moniker]})}),D&&(()=>{let e=new j.Z(D.amount).times(v.Ex);return(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(i.Bz,{children:"Available amount (XION)"}),(0,n.jsx)(i.XJ,{children:(0,y.HS)(new j.Z(D.amount))}),(0,n.jsxs)(i.Bz,{children:["$",(0,y.HS)(e)]})]})})(),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(i.Bz,{children:["=$",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:R,children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(i.Wz,{disabled:c,error:!!h.amount,onBlur:()=>{B()},onChange:e=>{h.amount&&f({...h,amount:void 0}),N(e.target.value)},value:w}),h.amount&&(0,n.jsx)(i.Xq,{children:h.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(i.sr,{disabled:c,onChange:e=>{S(e.target.value)},placeholder:"Memo (Optional)",value:k})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(i.zx,{disabled:c,type:"submit",children:"Unstake Now"})})]})]})})()})})},A=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{}),(0,n.jsx)(Z,{}),(0,n.jsx)(N,{}),(0,n.jsx)(f,{})]})},48074:function(e,t,s){var n=s(3827);t.Z=e=>{let{text:t}=e,[s,l]=t.split(" ");return(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{children:s})," ",(0,n.jsx)("span",{className:"text-typo-200",children:l})]})}},89056:function(e,t,s){s.d(t,{P:function(){return c}});var n=s(64090),l=s(3237);let r={},i={getIdentityLogo:e=>{if(r[e])return r[e];let t=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(e)).then(e=>e.json()).then(e=>{var t,s,n,l;return(null==e?void 0:null===(l=e.them)||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:null===(s=n.pictures)||void 0===s?void 0:null===(t=s.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return r[e]=t,t}},a={xionvaloper1mq85keggvh67m37035mnncsqjnpkmunl6s2w56:"/chains/bonus-block.png",xionvaloper1sprpvyqln2vxshq8c5jt3dshn480rfeelupqrj:"/chains/inf-stones.png",xionvaloper1t4yes7c20hhga3nhqylnyq9kn5ja8t7c6ay45c:"/chains/mech-cap.png",xionvaloper1ypwfnfuldmlp9u8asqzz6qx29p0utqzer5678k:"/chains/stake-lab.png"},c=(e,t)=>{let[s,r]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{if(e){let t=await i.getIdentityLogo(e);if(t){r(t);return}}if(t){let e=a[t];e&&r(l.sb+e)}})()},[e,t]),s||l.c1}},67497:function(e,t,s){s.d(t,{Em:function(){return i},HS:function(){return c},H_:function(){return o},PV:function(){return u},gg:function(){return a},i:function(){return d},ts:function(){return x}});var n=s(22840),l=s(3237),r=s(66803);let i=(e,t)=>{let s=(0,r.bI)(e),i=new n.Z(s.amount);if(i.eq(0))return"".concat(i.toFormat()," ").concat(s.denom);if(i.lt(l.Uv))return"<".concat(l.Uv," ").concat(s.denom);if(t){let e=Intl.NumberFormat("en",{notation:"compact"});return"".concat(e.format(i.toNumber())," ").concat(s.denom)}return"".concat(i.toFormat(l.oF)," ").concat(s.denom)},a=e=>{if("number"!=typeof e||Number.isNaN(e))return null;let t=e<1e-4?"<0.1":(100*e).toFixed(1);return"".concat(t,"%")},c=(e,t)=>t&&e.lt(t)?"<".concat(t):Intl.NumberFormat("en",{notation:"compact"}).format(e.toNumber()),d=(e,t)=>{let s=new n.Z(e).div(new n.Z(10).pow(18)).toNumber();return"".concat((100*s).toFixed(t),"%")},o=(e,t)=>{let s=(0,r.bI)(e||(0,r.IB)()),i=new n.Z(e?s.amount:0).times(l.Ex);return i.eq(0)?"$0":!t&&i.lt(.01)?"<$0.01":"$".concat(t?c(i):i.toFormat(2))},x=e=>{let t=1e3*e,s=Math.floor((t-Date.now())/864e5),n=new Date(t).toLocaleString("en-US",{month:"short"}),l=new Date(t).getDate(),r=new Date(t).getFullYear();return"in ".concat(s," day").concat(1===s?"":"s",", ").concat(n," ").concat(l," ").concat(r)},u=e=>e?"".concat(e.times(100).toFixed(2),"%"):"-"}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[495],{143:function(e,t,s){s.d(t,{D:function(){return r},N:function(){return i}});var n=s(3827),l=s(59371);let i=e=>{let{children:t,mobile:s,onSort:i,rigthAlign:r,sort:a,sorting:c}=e,d=(c||[]).concat(["none"]),o=a?d.indexOf(a):-1;return(0,n.jsx)("div",{className:["flex-row text-[14px] font-normal leading-[14px] tracking-wider",r?"justify-end":"",s?"flex":"hidden md:flex"].join(" "),children:(0,n.jsxs)("button",{className:["flex flex-row items-center gap-[8px] uppercase",i?"cursor-pointer":"cursor-default"].join(" "),onClick:()=>{if(!i||!a)return;let e=(1+d.indexOf(a))%(d.length-1),t=d[e];null==i||i(t)},children:[(0,n.jsx)("span",{children:t}),i&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:l.Sf},style:{rotate:0===o?"180deg":"0deg"}})]})})},r=e=>{let{logo:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)("img",{alt:"Validator logo",className:"block w-[50px] rounded-full",src:t,style:{height:50,minHeight:50,minWidth:50,width:50}})})}},80148:function(e,t,s){s.d(t,{B:function(){return l}});var n=s(22840);let l=(e,t,s)=>typeof e!=typeof t?0:"string"==typeof e?s?e.localeCompare(t):t.localeCompare(e):"number"==typeof e?Number.isNaN(e)||Number.isNaN(t)?0:s?e-t:t-e:e instanceof n.Z&&t instanceof n.Z?s?e.minus(t).toNumber():t.minus(e).toNumber():0},62948:function(e,t,s){s.d(t,{S6:function(){return N},sv:function(){return b}});var n=s(3827),l=s(22840),i=s(20534),r=s(64090),a=s(82012),c=s(143),d=s(59371),o=s(80148),x=s(88197),u=s(80469),m=s(62986),p=s(39730),h=s(89056),f=s(66803),j=s(19807),v=s(67497),g=s(26605),w=s(48074);let N=e=>{let t=(0,p.jv)(e,null),s=(0,p.U2)(e,null);return(0,f.UO)(t)||(0,f.UO)(s)},b=e=>{let{isShowingDetails:t,setIsShowingDetails:s}=e;return(0,n.jsxs)("button",{className:"text-primary-500 flex flex-row items-center gap-2 text-[14px]",onClick:()=>{s(!t)},children:[t?"Hide details":"View details",(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:d.cx},style:{transform:"rotate(".concat(t?"0deg":"180deg",")")}})]})},y={gap:"16px",gridTemplateColumns:"1.5fr repeat(4, 1.05fr)",overflow:"auto"},k="w-full items-center justify-between gap-2 p-2 mb-[16px] last:mb-[0px] bg-black rounded-[8px]",S="w-full overflow-auto rounded-[24px] bg-bg-600 pb-4 text-typo-100 px-[16px]",C=()=>(0,n.jsx)("span",{className:"hover:bg-bg-500",dangerouslySetInnerHTML:{__html:d.GI}}),A=(0,r.memo)(e=>{let{delegation:t,disabled:s,index:l,staking:d,validator:o}=e,{validatorAddress:u}=t;(0,r.useEffect)(()=>{u&&(0,x.Dr)(u,d)},[u,d]);let p=(0,h.P)(null==o?void 0:o.description.identity,null==o?void 0:o.operatorAddress),f=e=>(0,n.jsx)(a.Rk,{Trigger:C,id:"delegation-".concat(l,"-").concat(e.toString()),placement:"bottom-end",children:(0,n.jsxs)("div",{className:["flex-col gap-[12px] rounded-[8px] bg-bg-600 py-[4px]",e?"flex md:hidden":"hidden md:flex"].join(" "),children:[(0,n.jsx)(a.ZP,{disabled:!(0,j.m)(null==t?void 0:t.rewards)||s,onClick:()=>{o&&d.dispatch((0,m.ZG)({content:{delegations:[t]},type:"rewards"}))},children:"Claim rewards"}),(0,n.jsx)(a.ZP,{disabled:s,onClick:()=>{o&&d.dispatch((0,m.ZG)({content:{validator:o},type:"undelegate"}))},variant:"danger",children:"Undelegate"})]})}),N={disabled:s||(null==o?void 0:o.status)!==i.BondStatus.BOND_STATUS_BONDED,onClick:()=>{o&&d.dispatch((0,m.ZG)({content:{validator:o},type:"delegate"}))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:[k,"hidden min-w-[1000px] md:grid"].join(" "),style:y,children:[(0,n.jsxs)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:p}),(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-[2px] text-left",children:[(0,n.jsx)("div",{className:"max-w-[150px] overflow-hidden truncate text-[14px] font-bold leading-[20px] md:max-w-[250px]",children:(null==o?void 0:o.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==o?void 0:o.operatorAddress)||""})]})]}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(w.Z,{text:(0,v.Em)(t.balance)})}),(0,n.jsx)("div",{className:"text-right",children:o?(0,v.i)(o.commission.commissionRates.rate,0):""}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(w.Z,{text:(0,v.Em)(t.rewards)})}),(0,n.jsxs)("div",{className:"flex flex-row items-center justify-end gap-[8px]",children:[(0,n.jsx)(a.hp,{...N,children:"Delegate"}),f(!1)]})]}),(0,n.jsxs)("div",{className:[k,"flex w-full flex-col px-[16px] md:hidden"].join(" "),children:[(0,n.jsxs)("div",{className:"flex w-full flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:p}),(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-[2px] text-left",children:[(0,n.jsx)("div",{className:"max-w-[150px] overflow-hidden truncate text-[14px] font-bold leading-[20px] md:max-w-[250px]",children:(null==o?void 0:o.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==o?void 0:o.operatorAddress)||""})]})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Staked amount"}),(0,n.jsx)(w.Z,{text:(0,v.Em)(t.balance)})]}),o&&(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Commission"}),(0,n.jsx)("span",{children:(0,v.i)(o.commission.commissionRates.rate,0)})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Rewards"}),(0,n.jsx)(w.Z,{text:(0,v.Em)(t.rewards)})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row items-center justify-end gap-[8px] ",children:[(0,n.jsx)(a.hp,{...N,children:"Delegate"}),f(!0)]})]})]})}),Z=e=>{let{disabled:t,stakingRef:s,unbonding:l,validator:i}=e,{staking:d}=s,o=(0,h.P)(null==i?void 0:i.description.identity,null==i?void 0:i.operatorAddress),u=l.validator;(0,r.useEffect)(()=>{u&&(0,x.Dr)(u,d)},[u,d]);let p={disabled:t,onClick:()=>{d.dispatch((0,m.ZG)({content:{unbondings:[l]},type:"cancel-unstaking"}))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:[k,"hidden min-w-[1000px] md:grid"].join(" "),style:y,children:[(0,n.jsxs)("div",{className:"flex flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:o}),(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==i?void 0:i.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==i?void 0:i.operatorAddress)||""})]})]}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(w.Z,{text:(0,v.Em)(l.balance)})}),(0,n.jsx)("div",{className:"text-right",children:"Unbonding"}),(0,n.jsx)("div",{className:"text-right",children:(0,v.ts)(l.completionTime)}),(0,n.jsx)("div",{className:"text-right",children:(0,n.jsx)(a.hp,{...p,variant:"danger",children:"Cancel Unstake"})})]}),(0,n.jsxs)("div",{className:[k,"flex w-full flex-col px-[16px] md:hidden"].join(" "),children:[(0,n.jsxs)("div",{className:"flex w-full flex-1 flex-row justify-start gap-4",children:[(0,n.jsx)(c.D,{logo:o}),(0,n.jsxs)("div",{className:"flex flex-col justify-start gap-2 text-left",children:[(0,n.jsx)("div",{className:"text-[14px] font-bold leading-[20px]",children:(null==i?void 0:i.description.moniker)||""}),(0,n.jsx)(g.Z,{address:(null==i?void 0:i.operatorAddress)||""})]})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Amount"}),(0,n.jsx)(w.Z,{text:(0,v.Em)(l.balance)})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Status"}),(0,n.jsx)("span",{children:"Unbonding"})]}),(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[(0,n.jsx)("span",{children:"Completion"}),(0,v.ts)(l.completionTime)]}),(0,n.jsx)("div",{className:"flex w-full flex-row justify-end",children:(0,n.jsx)(a.hp,{...p,variant:"danger",children:"Cancel Unstake"})})]})]})},F=c.N,E=c.N,I="grid w-full items-center justify-between gap-2 py-4 px-2 uppercase md:min-w-[1000px]";t.ZP=(0,r.memo)(()=>{let e=(0,u.n)(),{staking:t}=e,[s,i]=(0,r.useState)("none"),[a,c]=(0,r.useState)("none"),d=(0,p.mM)(t.state),{delegations:x,unbondings:m}=t.state,h=!!(null==x?void 0:x.items.length),f=!!(null==m?void 0:m.items.length);return h||f?(0,n.jsxs)("div",{className:"flex h-full flex-1 flex-col items-end gap-[16px]",children:[h&&(()=>{let e=x.items.slice().sort((e,t)=>{switch(s){case"staked-asc":case"staked-desc":return(0,o.B)(new l.Z(e.balance.amount),new l.Z(t.balance.amount),"staked-asc"===s);case"rewards-asc":case"rewards-desc":return(0,o.B)(new l.Z(e.rewards.amount),new l.Z(t.rewards.amount),"rewards-asc"===s);case"commission-asc":case"commission-desc":{let n=d[e.validatorAddress],l=d[t.validatorAddress];return(0,o.B)(Number(null==n?void 0:n.commission.commissionRates.rate),Number(null==l?void 0:l.commission.commissionRates.rate),"commission-asc"===s)}default:return 0}});return(0,n.jsxs)("div",{className:S,children:[(0,n.jsxs)("div",{className:I,style:y,children:[(0,n.jsx)(F,{mobile:!0,children:"Delegations"}),(0,n.jsx)(F,{onSort:i,rigthAlign:!0,sort:s,sorting:["staked-asc","staked-desc"],children:"Staked Amount"}),(0,n.jsx)(F,{onSort:i,rigthAlign:!0,sort:s,sorting:["commission-asc","commission-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Commission"})}),(0,n.jsx)(F,{onSort:i,rigthAlign:!0,sort:s,sorting:["rewards-asc","rewards-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Rewards"})})]}),e.map((e,s)=>(0,n.jsx)(A,{delegation:e,index:s,staking:t,validator:d[e.validatorAddress]},s))]})})(),f&&(()=>{let t=m.items.slice().sort((e,t)=>{switch(a){case"amount-asc":case"amount-desc":return(0,o.B)(Number(e.balance.amount),Number(t.balance.amount),"amount-asc"===a);case"completion-asc":case"completion-desc":return(0,o.B)(e.completionTime,t.completionTime,"completion-asc"===a);default:return 0}});return(0,n.jsxs)("div",{className:S,children:[(0,n.jsxs)("div",{className:I,style:y,children:[(0,n.jsx)(E,{mobile:!0,children:"Unstakings"}),(0,n.jsx)(E,{onSort:c,rigthAlign:!0,sort:a,sorting:["staked-asc","staked-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Staked Amount"})}),(0,n.jsx)(E,{rigthAlign:!0,children:(0,n.jsx)("div",{className:"text-right",children:"Status"})}),(0,n.jsx)(E,{onSort:c,rigthAlign:!0,sort:a,sorting:["date-asc","date-desc"],children:(0,n.jsx)("div",{className:"text-right",children:"Completion Time"})})]}),t.map((t,s)=>(0,n.jsx)(Z,{stakingRef:e,unbonding:t,validator:d[t.validator]},s))]})})()]}):null})},42498:function(e,t,s){s.d(t,{I:function(){return l},i:function(){return i}});var n=s(3827);let l=e=>{let{className:t}=e;return(0,n.jsx)("div",{className:["h-[1px] w-full bg-[#ffffff33]",t||""].join(" ")})},i=()=>(0,n.jsx)("div",{className:"h-full w-[1px] bg-[#ffffff33]"})},37275:function(e,t,s){s.d(t,{Z:function(){return Z}});var n=s(3827),l=s(64090),i=s(30298),r=s(82012),a=s(98245),c=s.n(a),d=s(59371);c().setAppElement(document.body);let o=e=>{let{children:t}=e;return(0,n.jsx)("div",{className:"mb-[16px] text-[16px] leading-[24px] text-typo-100 opacity-50",children:t})};var x=e=>{let{children:t,...s}=e;return(0,l.useEffect)(()=>{if(s.isOpen){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[s.isOpen]),(0,n.jsx)(c(),{...s,style:{content:{background:"transparent",border:"none",bottom:"auto",boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"grid",gridTemplateColumns:"1fr",inset:0,maxHeight:"100%",minWidth:"100vw",outline:"none",overflow:"auto",padding:"0",pointerEvents:"none",position:"fixed",right:"auto",width:"100vw",zIndex:10},overlay:{backdropFilter:"blur(10px)",backgroundColor:"rgba(0, 0, 0, 0.5)"}},children:(0,n.jsxs)("div",{className:"relative min-h-[100vh] w-full overflow-auto bg-[#000] px-[16px] py-[80px] md:min-h-[unset] md:rounded-[48px] md:p-[50px] md:py-[40px]",style:{boxShadow:"0px 0px 50px 0px #FFFFFF40",boxSizing:"border-box",display:"flex",flexDirection:"column",height:"max-content",margin:"auto",maxWidth:"100vw",outline:"none",pointerEvents:"auto",position:"relative",width:"min-content"},children:[(0,n.jsx)("button",{className:"absolute right-[12px] top-[12px] w-[36px] cursor-pointer",dangerouslySetInnerHTML:{__html:d.kC},onClick:s.onRequestClose}),t]})})},u=s(88197),m=s(80469),p=s(62986),h=s(19807),f=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("confirm"),[a,c]=(0,l.useState)(!1),{account:d,client:f,staking:j}=e,{modal:v}=j.state,g=(null==v?void 0:v.type)==="cancel-unstaking";if(!g)return null;let{unbondings:w}=(null==v?void 0:v.content)||{};if(!(null==w?void 0:w.length))return null;let N="confirm"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"Are you sure?"})}),(0,n.jsxs)(o,{children:["We are currently completing the unstaking process.",(0,n.jsx)("br",{}),"Are you sure you want to cancel the process?"]}),(0,n.jsx)(r.zx,{className:"mt-[25px]",isLoading:a,onClick:()=>{f&&(c(!0),w.reduce(async(e,t)=>{await e;let s={delegator:d.bech32Address,validator:t.validator};await (0,h.mu)(s,t,f)},Promise.resolve()).then(()=>{(0,u.VZ)(d.bech32Address,j),s("completed")}).catch(()=>{(0,i.Am)("There was an unexpected error canceling your unstaking. Please try again later.",{type:"error"})}).finally(()=>{c(!1)}))},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"Success!"})}),(0,n.jsx)(o,{children:"You have successfully cancel the unstaking process, and you are now contributing to the security of the XION network again."})]}),(0,n.jsx)(r.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(x,{isOpen:g,onRequestClose:()=>{a||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:N})})}),j=s(22840),v=s(3237),g=s(66803);let w=async(e,t)=>{let{client:s,staking:n}=e,{modal:l}=n.state;if((null==l?void 0:l.type)!=="rewards")return;let{delegations:r}=(null==l?void 0:l.content)||{};if(!s||!(null==r?void 0:r.length))return;let a=e.account.bech32Address;r.reduce(async(e,t)=>{await e;let n=(0,g.bI)(t.rewards);if(new j.Z(n.amount).lt(v._H))return;let l={delegator:a,validator:t.validatorAddress};await (0,h.YY)(l,s)},Promise.resolve()).then(()=>(0,u.VZ)(a,n)).then(()=>{t("completed")}).catch(()=>{(0,i.Am)("There was an unexpected error claiming your rewards. Please try again later.",{type:"error"})})};var N=(0,l.memo)(()=>{let e=(0,m.n)(),[t,s]=(0,l.useState)("loading"),i=(0,l.useRef)(!1),{staking:a}=e,{modal:c}=a.state,d=(null==c?void 0:c.type)==="rewards";if((0,l.useEffect)(()=>{d&&!i.current&&(i.current=!0,w(e,s))},[d,e]),!d)return null;let u="loading"===t?(0,n.jsxs)("div",{className:"w-full text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"CLAIMING"})}),(0,n.jsx)(o,{children:"Wait until your rewards are withdrawn."}),(0,n.jsx)(r.zx,{className:"mt-[25px]",isLoading:!0})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"Success!"})}),(0,n.jsx)(o,{children:"You have claimed your staking rewards successfully."})]}),(0,n.jsx)(r.zx,{className:"mt-[25px]",onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});return(0,n.jsx)(x,{isOpen:d,onRequestClose:()=>{"loading"!==t&&e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:u})})}),b=s(39730),y=s(67497);let k="input";var S=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(k),[c,d]=(0,l.useState)(!1),[h,f]=(0,l.useState)(""),[w,N]=(0,l.useState)(""),[S,C]=(0,l.useState)({amount:void 0,memo:void 0}),{account:A,staking:Z}=e,{modal:F}=Z.state,E=(null==F?void 0:F.type)==="delegate";if((0,l.useEffect)(()=>()=>{a(k),C({}),f(""),N("")},[E]),!E)return null;let{validator:I}=null==F?void 0:F.content;if(!I)return null;let O=new j.Z(h),z=O.isNaN()?"":O.times(v.Ex),D=Object.values(S).some(e=>!!e),B=(0,b.ap)(Z.state);return(0,n.jsx)(x,{isOpen:E,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(r.Bz,{children:"Staked Amount (XION)"}),(0,n.jsx)(r.XJ,{children:O.toString()}),z&&(0,n.jsxs)(r.Bz,{children:["$",(0,y.HS)(z)]})]}),!!w&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:w})})]});if("completed"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(o,{children:["You have successfully staked on"," ",I.description.moniker,". Thank you for contributing in securing the XION network."]})]}),l(),(0,n.jsx)(r.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]});if("review"===s)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"REVIEW"})}),(0,n.jsxs)(o,{children:["Get ready to stake your XION token with"," ",I.description.moniker,". Press 'Confirm' to proceed."]})]}),l(),(0,n.jsx)(r.zx,{isLoading:c,onClick:()=>{if(!t)return;d(!0);let e={delegator:A.bech32Address,validator:I.operatorAddress};(0,u._5)(e,(0,g.Jp)(O),w,t,Z).then(e=>(a("completed"),e())).catch(()=>{(0,i.Am)("Staking error",{type:"error"})}).finally(()=>{d(!1)})},children:"CONFIRM"})]});let x=()=>{if(!z||!B||O.isNaN()||O.gt(B))return C({...S,amount:"Invalid amount"}),!0};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(r.ls,{children:["Delegate To ",I.description.moniker]})}),B&&(()=>{let e={amount:B.toString(),denom:"XION"};return(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(r.Bz,{children:"Available for delegation (XION)"}),(0,n.jsx)(r.XJ,{children:(0,y.Em)(e)}),(0,n.jsx)(r.Bz,{children:(0,y.H_)(e)})]})})(),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(r.Bz,{children:["= $",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!x()&&(!t||D||O.lt(0)||a("review"))},children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(r.Wz,{disabled:c,error:!!S.amount,onBlur:()=>{x()},onChange:e=>{S.amount&&C({...S,amount:void 0}),f(e.target.value)},value:h}),S.amount&&(0,n.jsx)(r.Xq,{children:S.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(r.sr,{disabled:c,onChange:e=>{N(e.target.value)},placeholder:"Memo (Optional)",value:w})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(r.zx,{disabled:c||D,type:"submit",children:"DELEGATE NOW"})})]})]})})()})})};let C="input";var A=()=>{let e=(0,m.n)(),{client:t}=e,[s,a]=(0,l.useState)(C),[c,d]=(0,l.useState)(!1),[h,f]=(0,l.useState)({amount:void 0,memo:void 0}),[w,N]=(0,l.useState)(""),[k,S]=(0,l.useState)(""),{account:A,staking:Z}=e,{modal:F}=Z.state,E=(null==F?void 0:F.type)==="undelegate";if((0,l.useEffect)(()=>()=>{a(C),N(""),f({}),S("")},[E]),!E)return null;let{validator:I}=null==F?void 0:F.content;if(!I)return null;let O=new j.Z(w),z=O.isNaN()?"":O.times(v.Ex),D=(0,b.U2)(Z.state,I.operatorAddress),B=()=>{if(!z||!D||O.lte(0)||O.gt(new j.Z(D.amount)))return f({...h,amount:"Invalid amount"}),!0},_=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),!B()&&t&&O.gt(0)&&a("review")};return(0,n.jsx)(x,{isOpen:E,onRequestClose:()=>{c||e.staking.dispatch((0,p.ZG)(null))},children:(0,n.jsx)("div",{className:"min-w-[90vw] md:min-w-[390px]",children:(()=>{let l=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-[32px] mt-[32px] flex w-full flex-col items-center justify-center gap-[12px]",children:[(0,n.jsx)(r.Bz,{children:"Unstaking Amount (XION)"}),(0,n.jsx)(r.XJ,{children:(0,y.HS)(O)}),(0,n.jsx)(r.Bz,{children:(0,y.H_)((0,g.Jp)(O))})]}),!!k&&(0,n.jsx)("div",{className:"mb-[32px] text-center italic",children:(0,n.jsx)("div",{children:k})})]});return"completed"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"SUCCESS!"})}),(0,n.jsxs)(o,{children:["You have successfully unstaked from"," ",I.description.moniker,". It takes ",v.Mx," ","days to complete the unstaking process"]})]}),l(),(0,n.jsx)(r.zx,{disabled:c,onClick:()=>{e.staking.dispatch((0,p.ZG)(null))},children:"CLOSE"})]}):"review"===s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsx)(r.ls,{children:"REVIEW"})}),(0,n.jsxs)(o,{children:["Unstaking your XION Token means you'll stop earning rewards. Remember, it takes ",v.Mx," days to complete the unstaking process."]})]}),l(),(0,n.jsx)(r.zx,{isLoading:c,onClick:()=>{if(!t)return;d(!0);let e={delegator:A.bech32Address,validator:I.operatorAddress};(0,u.xu)(e,(0,g.Jp)(O),k,t,Z).then(e=>(a("completed"),e())).catch(()=>{(0,i.Am)("Staking error",{type:"error"})}).finally(()=>{d(!1)})},children:"CONFIRM"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mb-[35px] text-center uppercase",children:(0,n.jsxs)(r.ls,{children:["Unstake From ",I.description.moniker]})}),D&&(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-col items-center justify-center gap-[12px] uppercase",children:[(0,n.jsx)(r.Bz,{children:"Available amount (XION)"}),(0,n.jsx)(r.XJ,{children:(0,y.Em)(D)}),(0,n.jsx)(r.Bz,{children:(0,y.H_)(D)})]}),(0,n.jsxs)("div",{className:"mt-[40px] flex w-full flex-row justify-between",children:[(0,n.jsx)("div",{children:"Amount"}),!!z&&(0,n.jsxs)(r.Bz,{children:["=$",(0,y.HS)(z)]})]}),(0,n.jsxs)("form",{onSubmit:_,children:[(0,n.jsxs)("div",{className:"mt-[8px]",children:[(0,n.jsx)(r.Wz,{disabled:c,error:!!h.amount,onBlur:()=>{B()},onChange:e=>{h.amount&&f({...h,amount:void 0}),N(e.target.value)},value:w}),h.amount&&(0,n.jsx)(r.Xq,{children:h.amount})]}),(0,n.jsx)("div",{className:"mt-[40px] w-full",children:(0,n.jsx)(r.sr,{disabled:c,onChange:e=>{S(e.target.value)},placeholder:"Memo (Optional)",value:k})}),(0,n.jsx)("div",{className:"mt-[48px] w-full",children:(0,n.jsx)(r.zx,{disabled:c,type:"submit",children:"Unstake Now"})})]})]})})()})})},Z=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{}),(0,n.jsx)(A,{}),(0,n.jsx)(N,{}),(0,n.jsx)(f,{})]})},48074:function(e,t,s){var n=s(3827);t.Z=e=>{let{text:t}=e,[s,l]=t.split(" ");return(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{children:s})," ",(0,n.jsx)("span",{className:"text-typo-200",children:l})]})}},89056:function(e,t,s){s.d(t,{P:function(){return c}});var n=s(64090),l=s(3237);let i={},r={getIdentityLogo:e=>{if(i[e])return i[e];let t=fetch("https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=".concat(e)).then(e=>e.json()).then(e=>{var t,s,n,l;return(null==e?void 0:null===(l=e.them)||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:null===(s=n.pictures)||void 0===s?void 0:null===(t=s.primary)||void 0===t?void 0:t.url)||null}).catch(()=>null);return i[e]=t,t}},a={xionvaloper1mq85keggvh67m37035mnncsqjnpkmunl6s2w56:"/chains/bonus-block.png",xionvaloper1sprpvyqln2vxshq8c5jt3dshn480rfeelupqrj:"/chains/inf-stones.png",xionvaloper1t4yes7c20hhga3nhqylnyq9kn5ja8t7c6ay45c:"/chains/mech-cap.png",xionvaloper1ypwfnfuldmlp9u8asqzz6qx29p0utqzer5678k:"/chains/stake-lab.png"},c=(e,t)=>{let[s,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{if(e){let t=await r.getIdentityLogo(e);if(t){i(t);return}}if(t){let e=a[t];e&&i(l.sb+e)}})()},[e,t]),s||l.c1}},67497:function(e,t,s){s.d(t,{Em:function(){return r},HS:function(){return c},H_:function(){return o},PV:function(){return u},gg:function(){return a},i:function(){return d},ts:function(){return x}});var n=s(22840),l=s(3237),i=s(66803);let r=(e,t)=>{let s=(0,i.bI)(e),r=new n.Z(s.amount);if(r.eq(0))return"".concat(r.toFormat()," ").concat(s.denom);if(r.lt(l.Uv))return"<".concat(l.Uv," ").concat(s.denom);if(t){let e=Intl.NumberFormat("en",{notation:"compact"});return"".concat(e.format(r.toNumber())," ").concat(s.denom)}return"".concat(r.toFormat(Math.min(l.oF,r.decimalPlaces()||1/0))," ").concat(s.denom)},a=e=>{if("number"!=typeof e||Number.isNaN(e))return null;let t=e<1e-4?"<0.1":(100*e).toFixed(1);return"".concat(t,"%")},c=(e,t)=>t&&e.lt(t)?"<".concat(t):Intl.NumberFormat("en",{notation:"compact"}).format(e.toNumber()),d=(e,t)=>{let s=new n.Z(e).div(new n.Z(10).pow(18)).toNumber();return"".concat((100*s).toFixed(t),"%")},o=(e,t)=>{let s=(0,i.bI)(e||(0,i.IB)()),r=new n.Z(e?s.amount:0).times(l.Ex);return r.eq(0)?"$0":!t&&r.lt(.01)?"<$0.01":"$".concat(t?c(r):r.toFormat(2))},x=e=>{let t=1e3*e,s=Math.floor((t-Date.now())/864e5),n=new Date(t).toLocaleString("en-US",{month:"short"}),l=new Date(t).getDate(),i=new Date(t).getFullYear();return"in ".concat(s," day").concat(1===s?"":"s",", ").concat(n," ").concat(l," ").concat(i)},u=e=>e?"".concat(e.times(100).toFixed(2),"%"):"-"}}]); \ No newline at end of file diff --git a/_next/static/chunks/734-b4b1c062e962aa9c.js b/_next/static/chunks/734-c2dc545e64e36b95.js similarity index 100% rename from _next/static/chunks/734-b4b1c062e962aa9c.js rename to _next/static/chunks/734-c2dc545e64e36b95.js diff --git a/_next/static/chunks/app/page-982e6b93436d65c6.js b/_next/static/chunks/app/page-607d6d77a659ac23.js similarity index 100% rename from _next/static/chunks/app/page-982e6b93436d65c6.js rename to _next/static/chunks/app/page-607d6d77a659ac23.js diff --git a/_next/static/chunks/app/validator/page-2415cd9a6e94f099.js b/_next/static/chunks/app/validator/page-860f45474fa02922.js similarity index 100% rename from _next/static/chunks/app/validator/page-2415cd9a6e94f099.js rename to _next/static/chunks/app/validator/page-860f45474fa02922.js diff --git a/index.html b/index.html index e951d73..58d484e 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -XION Staking
Your Overview
Please Log In To View
Validators
Loading the data...
\ No newline at end of file +XION Staking
Your Overview
Please Log In To View
Validators
Loading the data...
\ No newline at end of file diff --git a/index.txt b/index.txt index 43b1abf..2cb8631 100644 --- a/index.txt +++ b/index.txt @@ -1,7 +1,7 @@ -2:I[64339,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-b4b1c062e962aa9c.js","245","static/chunks/245-8266bc6575a22c44.js","403","static/chunks/403-d1e356ab05fb29d4.js","495","static/chunks/495-860183cd0a1f9af2.js","931","static/chunks/app/page-982e6b93436d65c6.js"],""] -3:I[68350,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-b4b1c062e962aa9c.js","403","static/chunks/403-d1e356ab05fb29d4.js","185","static/chunks/app/layout-ba1a212ff3bd3058.js"],""] +2:I[64339,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-c2dc545e64e36b95.js","245","static/chunks/245-8266bc6575a22c44.js","403","static/chunks/403-98123080c7663b4a.js","495","static/chunks/495-8b4751c3961aa087.js","931","static/chunks/app/page-607d6d77a659ac23.js"],""] +3:I[68350,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-c2dc545e64e36b95.js","403","static/chunks/403-98123080c7663b4a.js","185","static/chunks/app/layout-ba1a212ff3bd3058.js"],""] 4:I[5613,[],""] 5:I[31778,[],""] -0:["PAQksfk8_82QGxN6Rx6LY",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{}],null]]},[null,["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/bc41e73f7ee24f22.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] +0:["N4J0MJ0kxoZquzPntI4NH",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{}],null]]},[null,["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/bc41e73f7ee24f22.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] 6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"XION Staking"}],["$","link","3",{"rel":"icon","href":"/xion-staking/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null diff --git a/validator/index.html b/validator/index.html index 504b317..b03f3cf 100644 --- a/validator/index.html +++ b/validator/index.html @@ -1 +1 @@ -XION Validator Details
\ No newline at end of file +XION Validator Details
\ No newline at end of file diff --git a/validator/index.txt b/validator/index.txt index 3fc574e..78d7139 100644 --- a/validator/index.txt +++ b/validator/index.txt @@ -1,8 +1,8 @@ 2:"$Sreact.suspense" -3:I[92383,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-b4b1c062e962aa9c.js","245","static/chunks/245-8266bc6575a22c44.js","403","static/chunks/403-d1e356ab05fb29d4.js","495","static/chunks/495-860183cd0a1f9af2.js","276","static/chunks/app/validator/page-2415cd9a6e94f099.js"],""] +3:I[92383,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-c2dc545e64e36b95.js","245","static/chunks/245-8266bc6575a22c44.js","403","static/chunks/403-98123080c7663b4a.js","495","static/chunks/495-8b4751c3961aa087.js","276","static/chunks/app/validator/page-860f45474fa02922.js"],""] 4:I[5613,[],""] 5:I[31778,[],""] -6:I[68350,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-b4b1c062e962aa9c.js","403","static/chunks/403-d1e356ab05fb29d4.js","185","static/chunks/app/layout-ba1a212ff3bd3058.js"],""] -0:["PAQksfk8_82QGxN6Rx6LY",[[["",{"children":["validator",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["validator",{"children":["__PAGE__",{},["$L1",["$","$2",null,{"children":["$","$L3",null,{}]}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","validator","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/bc41e73f7ee24f22.css","precedence":"next","crossOrigin":""}]],"$L7"]]]] +6:I[68350,["350","static/chunks/68b159eb-f350a487f88c1bfb.js","218","static/chunks/aaea2bcf-4abc2b343ea41dae.js","147","static/chunks/6468630d-7fefcf7a3223f2f0.js","228","static/chunks/77693919-7b92b10f5ae0e31c.js","933","static/chunks/5ebe7343-e8d67ddb6cca8663.js","734","static/chunks/734-c2dc545e64e36b95.js","403","static/chunks/403-98123080c7663b4a.js","185","static/chunks/app/layout-ba1a212ff3bd3058.js"],""] +0:["N4J0MJ0kxoZquzPntI4NH",[[["",{"children":["validator",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["validator",{"children":["__PAGE__",{},["$L1",["$","$2",null,{"children":["$","$L3",null,{}]}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","validator","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":{}}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/8e69049fa282e630.css","precedence":"next","crossOrigin":""}],["$","link","1",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/9abbf91051391e37.css","precedence":"next","crossOrigin":""}],["$","link","2",{"rel":"stylesheet","href":"/xion-staking/_next/static/css/bc41e73f7ee24f22.css","precedence":"next","crossOrigin":""}]],"$L7"]]]] 7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"XION Validator Details"}],["$","link","3",{"rel":"icon","href":"/xion-staking/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null