1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9118],{15383:function(e,l,n){"use strict";n.d(l,{Z:function(){return ql}});var i=n(67294),a=n(11619),o=n(48795),t=n(59499),s=n(11163),r=n(82781),c=n(94087),d=n(96486),u=n(99186),v=n(70497),m=n(85787),_=n.n(m),x=n(85893),h=function(){return(0,x.jsx)("div",{className:_().container,children:(0,x.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20em",height:"20em",viewBox:"0 0 20 20",fill:"none",children:[(0,x.jsxs)("g",{clipPath:"url(#clip0_19568_19749)",children:[(0,x.jsx)("path",{d:"M14.8826 19.1666H6.29986C3.28545 19.1666 0.835938 16.7171 0.835938 13.7027V5.11989L5.12258 0.833252H9.14813V3.39669H6.18593L3.39938 6.18324V13.7027C3.39938 15.3024 4.70008 16.6079 6.30461 16.6079H13.824L16.6106 13.8213V10.6408H19.174V14.8799L14.8874 19.1666H14.8826Z",fill:"#D7DEF9"}),(0,x.jsx)("path",{d:"M19.1672 8.30995H16.6037V3.39669H11.4531V0.833252H19.1672V8.30995Z",fill:"#D7DEF9"}),(0,x.jsx)("path",{d:"M16.9758 1.20976L9.78906 8.39648L11.6017 10.2091L18.7884 3.02239L16.9758 1.20976Z",fill:"#D7DEF9"})]}),(0,x.jsx)("defs",{children:(0,x.jsx)("clipPath",{id:"clip0_19568_19749",children:(0,x.jsx)("rect",{width:"18.3333",height:"18.3333",fill:"white",transform:"translate(0.835938 0.833252)"})})})]})})},f=n(70171),g=n(92077),p=n.n(g),j=n(53334),b=n(77082),N=function(e){var l=e.wallets,n=e.loading,a=(0,i.useState)(!1),o=a[0],t=a[1],s=(0,i.useState)(!1),r=s[0],m=s[1],_=(0,c.C)(j.w.app.getIsMobile),g=(0,i.useMemo)((function(){var e;return(0,d.isEmpty)(l)?"":(null===(e=l.find((function(e){return"BUILD_IN"===e.type})))||void 0===e?void 0:e.address)||""}),[l]),N=(0,i.useMemo)((function(){var e;return(0,d.isEmpty)(l)?"":(null===(e=l.find((function(e){return"EXTERNAL"===e.type})))||void 0===e?void 0:e.address)||""}),[l]),y=(0,i.useCallback)((function(e,l){e&&(navigator.clipboard.writeText(e),"game"===l?(t(!0),setTimeout((function(){t(!1)}),2e3)):(m(!0),setTimeout((function(){m(!1)}),2e3)))}),[]),w=(0,i.useCallback)((function(e){return e?_?(0,b.formatBlockchainAddress)(e||"",4,6):e:"N/A"}),[_]);return(0,x.jsxs)("div",{className:p().container,children:[(0,x.jsx)("div",{className:p().walletImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/ruby-explorer/view-account/wallet-img.png"),alt:"wallet",layout:"fill",priority:!0,objectFit:"cover"})}),(0,x.jsxs)("div",{className:p().walletInfoBox,children:[(0,x.jsxs)("div",{className:p().wallerInfoRow,children:[(0,x.jsx)("p",{className:p().label,children:"In-Game Wallet:"}),(0,x.jsx)("p",{className:p().address,children:n?"---":w(g)}),g?(0,x.jsxs)("div",{className:p().walletAction,children:[o?(0,x.jsx)(I,{}):null,(0,x.jsx)("div",{className:p().copyImg,onClick:function(){return y(g,"game")},children:o?(0,x.jsx)(C,{}):(0,x.jsx)(f.Z,{})}),(0,x.jsx)("a",{className:p().coreImg,href:(0,d.isEmpty)(l)?"javascript:void(0)":"".concat("https://basescan.org","/address/").concat(g,"#tokentxnsErc1155"),children:(0,x.jsx)(h,{})})]}):null]}),(0,x.jsxs)("div",{className:p().wallerInfoRow,children:[(0,x.jsx)("p",{className:p().label,children:"Web Wallet:"}),(0,x.jsx)("p",{className:p().address,children:n?"---":w(N)}),N?(0,x.jsxs)("div",{className:p().walletAction,children:[r?(0,x.jsx)(I,{}):null,(0,x.jsx)("div",{className:p().copyImg,onClick:function(){return y(N,"web")},children:r?(0,x.jsx)(C,{}):(0,x.jsx)(f.Z,{})}),(0,x.jsx)("a",{className:p().coreImg,href:(0,d.isEmpty)(l)?"javascript:void(0)":"".concat("https://basescan.org","/address/").concat(N,"#tokentxnsErc1155"),children:(0,x.jsx)(h,{})})]}):null]})]})]})},y=i.memo(N),I=function(){return(0,x.jsx)("div",{className:p().copied,children:(0,x.jsx)("div",{className:p().content,children:(0,x.jsx)("p",{className:p().text,children:"Copied"})})})},C=function(){return(0,x.jsx)("div",{style:{width:"20em",height:"20em",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12em",height:"12em",viewBox:"0 0 12 12",fill:"#3568df",children:(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1C8.76142 1 11 3.23858 11 6ZM12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM5.44235 8.53572L9.52489 4.53572L8.47511 3.46428L4.93096 6.93679L3.53831 5.50123L2.46169 6.54568L4.37915 8.52222L4.90397 9.06322L5.44235 8.53572Z",fill:"#3568df"})})})},w=n(86010),B=n(49912),T=n.n(B),Z=function(e){return(0,x.jsx)("div",{className:T().infoBox,children:e.children})},A=n(69961),R=n(11551),S=n(12693),L=n(56460),k=n(56024),D=n(38632),O=n.n(D),E=function(e){var l=e.alliance,n=e.hqLevel,a=e.rank,o=e.gameAccount,t=e.userId,s=e.rankIconId,r=e.hasGameData,d=e.isLoading,u=(0,i.useState)(!1),v=u[0],m=u[1],_=(0,c.C)(j.w.app.getIsMobile),h=(0,i.useCallback)((function(e){e&&(navigator.clipboard.writeText(e),m(!0),setTimeout((function(){m(!1)}),2e3))}),[]);return(0,x.jsxs)(Z,{children:[(0,x.jsx)(P,{}),d?(0,x.jsx)("div",{className:O().infoLoading,children:(0,x.jsx)(k.$,{})}):(0,x.jsxs)("div",{className:(0,w.Z)(O().container,{}),children:[(0,x.jsxs)("div",{className:O().left,children:[(0,x.jsx)("div",{className:(0,w.Z)(O().avatarBox,O().hasNoData),children:r?(0,x.jsx)(U,{url:(null===o||void 0===o?void 0:o.avatar)||(null===o||void 0===o?void 0:o.gameAvatar)}):(0,x.jsx)(M,{})}),r&&_?(0,x.jsx)("p",{className:O().username,children:d?"---":(null===o||void 0===o?void 0:o.gameUsername)||(null===o||void 0===o?void 0:o.username)||(null===o||void 0===o?void 0:o.defaultWalletAddress)||"N/A"}):null]}),function(){var e;return r?(0,x.jsxs)("div",{className:O().right,children:[_?null:(0,x.jsx)("p",{className:O().username,children:d?"---":(null===o||void 0===o?void 0:o.gameUsername)||(null===o||void 0===o?void 0:o.username)||(0,b.formatBlockchainAddress)(null!==(e=null===o||void 0===o?void 0:o.defaultWalletAddress)&&void 0!==e?e:"",4,15)||"N/A"}),(0,x.jsxs)("div",{className:O().content,children:[(0,x.jsxs)("div",{className:O().row,children:[(0,x.jsxs)("div",{className:O().leftCol,children:[(0,x.jsx)(F,{}),(0,x.jsx)("p",{className:O().labelText,children:"User ID"})]}),(0,x.jsxs)("div",{className:O().rightCol,children:[v?(0,x.jsx)(G,{}):null,(0,x.jsx)("p",{className:O().userIdAddress,children:d?"---":(0,b.formatBlockchainAddress)(null!==t&&void 0!==t?t:"",4,15)}),(0,x.jsx)("div",{className:O().copyImg,onClick:function(){return h(t)},children:v?(0,x.jsx)(q,{}):(0,x.jsx)(f.Z,{})})]})]}),(0,x.jsxs)("div",{className:O().row,children:[(0,x.jsxs)("div",{className:O().leftCol,children:[(0,x.jsx)(W,{}),(0,x.jsx)("p",{className:O().labelText,children:"Level"})]}),(0,x.jsxs)("div",{className:O().rightCol,children:[(0,R.yQ)(n)?(0,x.jsx)(Y,{hqLevel:n}):null,(0,x.jsx)("p",{className:O().detailText,children:n?"Level ".concat(n):"0"}),(0,x.jsx)("div",{className:O().devider}),(0,R.IS)(s)?(0,x.jsx)(z,{rankIconId:s}):null,(0,x.jsxs)("p",{className:O().detailText,children:[(0,R.IS)(s)?"":"rank ",(0,L.ZP)(a,{thousandsSeparator:",",hideZeroThous
1ands:!0,maxDecimalAmount:0})]})]})]}),(0,x.jsxs)("div",{className:O().row,children:[(0,x.jsxs)("div",{className:O().leftCol,children:[(0,x.jsx)(X,{}),(0,x.jsx)("p",{className:O().labelText,children:"Alliance"})]}),(0,x.jsx)("div",{className:O().rightCol,children:(0,x.jsx)("p",{className:O().allianceValue,children:d?"---":l||"N/A"})})]})]})]}):(0,x.jsx)(H,{})}()]})]})},V=i.memo(E),P=function(){return(0,x.jsxs)("div",{className:O().headerInfoBox,children:[(0,x.jsx)("p",{className:O().headerInfoBox_label,children:"Game Profile"}),(0,x.jsx)("div",{className:O().mask,children:(0,x.jsx)("div",{className:O().maskImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/ruby-explorer/main/patern.png"),alt:"patern",layout:"fill",loading:"lazy",priority:!1})})})]})},M=function(){return(0,x.jsx)("div",{className:O().avatarDefaultImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/common/nexira-default.png"),alt:"unknown",layout:"fill",objectFit:"cover",priority:!0,showPlaceholder:!0})})},U=function(e){var l=e.url;return(0,x.jsx)("div",{className:O().avatarImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)((0,A.Oy)(l)?l:(0,R.gh)(l)),alt:"avatar",layout:"fill",objectFit:"cover",priority:!0,showPlaceholder:!0})})},H=function(){return(0,x.jsx)("div",{className:O().noData,children:(0,x.jsx)("p",{children:"This user has no game data."})})},G=function(){return(0,x.jsx)("div",{className:O().copied,children:(0,x.jsx)("div",{className:O().content,children:(0,x.jsx)("p",{className:O().text,children:"Copied"})})})},q=function(){return(0,x.jsx)("div",{style:{width:"20em",height:"20em",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12em",height:"12em",viewBox:"0 0 12 12",fill:"#3568df",children:(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1C8.76142 1 11 3.23858 11 6ZM12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM5.44235 8.53572L9.52489 4.53572L8.47511 3.46428L4.93096 6.93679L3.53831 5.50123L2.46169 6.54568L4.37915 8.52222L4.90397 9.06322L5.44235 8.53572Z",fill:"#3568df"})})})},F=function(){var e="dark"===(0,S.v)().colorTheme;return(0,x.jsx)("div",{className:O().iconLabel,children:(0,x.jsx)(u.Z,{src:(0,v.B)(e?"images/ruby-explorer/tables/user-id.png":"images/ruby-explorer/tables/user-id-light.png"),alt:"userIcon",layout:"fill",priority:!0})})},W=function(){var e="dark"===(0,S.v)().colorTheme;return(0,x.jsx)("div",{className:O().iconLabel,children:(0,x.jsx)(u.Z,{src:(0,v.B)(e?"images/ruby-explorer/tables/level-label.png":"images/ruby-explorer/tables/level-label-light.png"),alt:"levelIcon",layout:"fill",priority:!0})})},Y=function(e){var l=e.hqLevel;return(0,x.jsx)("div",{className:O().levelBox,children:(0,x.jsx)("div",{className:O().levelImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)((0,R.yQ)(l)),alt:"hqlevel",layout:"fill",priority:!0})})})},z=function(e){var l=e.rankIconId;return(0,x.jsx)("div",{className:O().rankImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)((0,R.IS)(l)),alt:"type",layout:"fill",priority:!0})})},X=function(){var e="dark"===(0,S.v)().colorTheme;return(0,x.jsx)("div",{className:O().iconLabel,children:(0,x.jsx)(u.Z,{src:(0,v.B)(e?"images/ruby-explorer/tables/alliance-label.png":"images/ruby-explorer/tables/alliance-label-light.png"),alt:"allianceIcon",layout:"fill",priority:!0})})},J=n(27812),K=n(85244),Q=function(e){var l=(0,c.T)(),n=(0,s.useRouter)(),a=n.query,o=n.isReady,t=a.id,d=void 0===t?"":t,u=(0,i.useState)([]),v=u[0],m=u[1],_=(0,i.useState)(!1),x=_[0],h=_[1];return(0,i.useEffect)((function(){o&&d&&(e>0||l(r.N.rubyScan.fetchLegendaryById({gameAccountId:d,limit:10,offset:0,order:K.k.DESC,cb:function(e){var l;null!==e&&void 0!==e&&e.results&&(m(null===e||void 0===e?void 0:e.results),h((null===e||void 0===e||null===(l=e.results)||void 0===l?void 0:l.length)>9))}})))}),[l,d,o,e]),(0,i.useEffect)((function(){0!==e&&l(r.N.rubyScan.fetchLegendaryById({gameAccountId:d,limit:10,offset:e,order:K.k.DESC,cb:function(e){var l;null!==e&&void 0!==e&&e.results&&(m((function(l){return[].concat((0,J.Z)(l),(0,J.Z)(null===e||void 0===e?void 0:e.results))})),h((null===e||void 0===e||null===(l=e.results)||void 0===l?void 0:l.length)>9))}}))}),[l,e,d]),{list:v,hasMore:x}},$=n(38122),ee=n(43787),le=n(64955),ne=n.n(le),ie=function(e){var l=e.list,n=e.setOffset,a=e.hasMore,o=e.loading,s=e.collectionTotal,u=e.itemTotal,v=(0,
1c.T)(),m=(0,$.Z)(!1),_=m.ref,h=m.isComponentVisible,f=m.setIsComponentVisible,g=(0,i.useMemo)((function(){return{id:"all",label:"".concat(s),level:"",icon:"",quantity:Number(u)}}),[s,u]),p=(0,c.C)(j.w.wallet.getSelectedNftItem),b=(0,i.useMemo)((function(){return p.id?p:g}),[p,g]),N=[g].concat((0,J.Z)(l)),y=(0,i.useCallback)((function(){f(!0)}),[f]),I=(0,i.useRef)(),C=(0,i.useCallback)((function(e){o||(I.current&&I.current.disconnect(),I.current=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&a&&n((function(e){return e+10}))}))}),{root:null,rootMargin:"0px",threshold:.5}),e&&I.current.observe(e))}),[o,a,n]),B=(0,i.useCallback)((function(e){return 0===e?"":"(".concat(e,e>1?" Items)":" Item)")}),[]);return(0,x.jsxs)("div",{ref:_,className:(0,w.Z)(ne().button),children:[(0,x.jsx)(ae,{item:b,onClick:y}),h?(0,x.jsx)("div",{className:ne().optionsBox,children:(0,x.jsxs)("div",{className:(0,w.Z)(ne().optionsList,(0,t.Z)({},ne().loadmore,(null===N||void 0===N?void 0:N.length)>3)),children:[!(0,d.isEmpty)(N)&&(null===N||void 0===N?void 0:N.map((function(e,l){return(0,x.jsx)("div",{ref:N.length===l+1?C:null,className:(0,w.Z)(ne().optionItem,(0,t.Z)({},ne().selected,(null===b||void 0===b?void 0:b.id)===(null===e||void 0===e?void 0:e.id))),onClick:function(){return function(e){v(r.N.wallet.setSelectedNftItem(e)),f(!1)}(e)},children:(0,x.jsxs)("div",{className:ne().left,children:[0===l?null:(0,x.jsx)(ee.Z,{url:null===e||void 0===e?void 0:e.icon,width:27,height:27}),"all"!==(null===e||void 0===e?void 0:e.id)?(0,x.jsx)("p",{className:ne().label,children:null===e||void 0===e?void 0:e.label}):(0,x.jsxs)("p",{className:ne().label,children:[null===e||void 0===e?void 0:e.label," ",Number(null===e||void 0===e?void 0:e.label)>1?"Collections":"Collection"]}),"all"!==(null===e||void 0===e?void 0:e.id)?(0,x.jsx)("p",{className:ne().level,children:B(null===e||void 0===e?void 0:e.quantity)}):(0,x.jsxs)("p",{className:ne().level,children:["(",null===e||void 0===e?void 0:e.quantity," ",Number(null===e||void 0===e?void 0:e.quantity)>1?"Items":"Item",")"]})]})},null===e||void 0===e?void 0:e.id)}))),o?(0,x.jsx)("div",{className:ne().loader,children:(0,x.jsx)(k.$,{})}):null]})}):null]})},ae=function(e){var l=e.item,n=e.onClick,a=(0,i.useMemo)((function(){return 0===(null===l||void 0===l?void 0:l.quantity)?"":(null===l||void 0===l?void 0:l.quantity)>1?"(".concat(null===l||void 0===l?void 0:l.quantity," Items)"):void 0}),[null===l||void 0===l?void 0:l.quantity]);return(0,x.jsx)("div",{className:ne().outsideBtn,onClick:function(){return n()},children:(0,x.jsxs)("div",{className:(0,w.Z)(ne().insideBtn,(0,t.Z)({},ne().first,!l.numberId)),children:[(0,x.jsxs)("div",{className:ne().left,children:["all"!==(null===l||void 0===l?void 0:l.id)?(0,x.jsx)("p",{className:ne().label,children:null===l||void 0===l?void 0:l.label}):(0,x.jsxs)("p",{className:ne().label,children:[null===l||void 0===l?void 0:l.label," ",Number(null===l||void 0===l?void 0:l.label)>1?"Collections":"Collection"]}),"all"!==(null===l||void 0===l?void 0:l.id)?(0,x.jsx)("p",{className:ne().level,children:a}):(0,x.jsxs)("p",{className:ne().level,children:["(",null===l||void 0===l?void 0:l.quantity," ",Number(null===l||void 0===l?void 0:l.quantity)>1?"Items":"Item",")"]})]}),(0,x.jsx)("div",{className:ne().right,children:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8em",height:"5em",viewBox:"0 0 8 5",fill:"none",children:(0,x.jsx)("path",{d:"M4 5L0 1.24978L1.33396 0L4 2.50044L6.66604 0L8 1.24978L4 5Z",fill:"white"})})})]})})},oe=n(3695),te=n.n(oe),se=function(e){var l,n,a,o=e.userLoading,t=e.balances,s=null!==(l=null===t||void 0===t?void 0:t.ruby)&&void 0!==l?l:0,r=null!==(n=null===t||void 0===t?void 0:t.mavia)&&void 0!==n?n:0,m=null!==(a=null===t||void 0===t?void 0:t.nexi)&&void 0!==a?a:0,_=(0,i.useState)(0),h=_[0],f=_[1],g=Q(h),p=g.list,b=g.hasMore,N=(0,c.C)(j.w.rubyScan.legendaryById),y=(0,c.C)(j.w.rubyScan.legendaryByIdRequesting),I=(0,c.C)(j.w.marketplace.getInfoBannerOfUserData),C=(0,i.useMemo)((function(){return p.map((function(e){var l,n,i;return{id:null===e||void 0===e||null===(l=e.collection)||void 0===l?void 0:l.id,label:null===e||void 0===e||null===(n=e.collection)||void 0===n?void 0:n.name,level:null===e||void 0===e||null===(i=e.collection)||void 0===i?void 0:i.level,icon:(0,d.get)(null===e||void 0===e?void 0:e.collection,"iconImages.0",""),quantity:null===e||void 0===e?void 0:e.quantity}}))}),[p]);return(0,x.jsxs)(Z,{children:[(0,x.jsx)(re,{}),function(){var e;return o?(0,x.jsx)("div",{className:te().infoLoading,children:(0,x.jsx)(k.$,{})}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{className:te().rowInfoBox,children:[(0,x.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8em"},children:[(0,x.jsx)(ce,{}),(0,x.jsx)("p",{className:te().rowInfoBox_normalText,children:"MAVIA Balance"})]}),(0,x.jsxs)("p",{className:te().rowInfoBox_normalText,children:[(0,L.ZP)(r,{thousandsSeparator:",",hideZeroThous
1ands:!0,maxDecimalAmount:4})," ","MAVIA"]})]}),(0,x.jsxs)("div",{className:te().rowInfoBox,children:[(0,x.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8em"},children:[(0,x.jsx)("div",{className:te().legendIcon,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/token-icons/ruby-ver2.png"),alt:"type",layout:"fill",priority:!0})}),(0,x.jsx)("p",{className:te().rowInfoBox_normalText,children:"RUBY Balance"})]}),(0,x.jsxs)("p",{className:te().rowInfoBox_normalText,children:[o?"---":(0,L.ZP)(s,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:4})," ","RUBY"]})]}),(0,x.jsxs)("div",{className:te().rowInfoBox,children:[(0,x.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8em"},children:[(0,x.jsx)("div",{className:te().legendIcon,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/marketplace/detail/nexira-token.png"),alt:"type",layout:"fill",priority:!0})}),(0,x.jsx)("p",{className:te().rowInfoBox_normalText,children:"NEXI Balance"})]}),(0,x.jsxs)("p",{className:te().rowInfoBox_normalText,children:[o?"---":(0,L.ZP)(m,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:4})," ","NEXI"]})]}),(0,x.jsxs)("div",{className:(0,w.Z)(te().rowInfoBox,te().isDropdown),children:[(0,x.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8em"},children:[(0,x.jsx)("div",{className:te().legendIcon,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/ruby-explorer/view-account/type-item.png"),alt:"type",layout:"fill",priority:!0})}),(0,x.jsx)("p",{className:te().rowInfoBox_normalText,children:"NFT Items"})]}),(0,x.jsx)("div",{className:te().dropdownBox,children:(0,d.isEmpty)(p)?(0,x.jsx)("p",{className:te().rowInfoBox_normalText,children:"No Items"}):(0,x.jsx)(ie,{collectionTotal:null===N||void 0===N?void 0:N.total,itemTotal:String(null===N||void 0===N?void 0:N.totalQuantity),list:C,setOffset:f,hasMore:b,loading:y})})]}),(0,x.jsxs)("div",{className:(0,w.Z)(te().rowInfoBox,te().isLast),children:[(0,x.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8em"},children:[(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20em",height:"21em",viewBox:"0 0 20 21",fill:"none",children:(0,x.jsx)("path",{d:"M6.25 6.38988C7.35369 5.90765 8.125 4.80635 8.125 3.5249C8.125 1.79901 6.72589 0.399902 5 0.399902C3.27411 0.399902 1.875 1.79901 1.875 3.5249C1.875 4.80635 2.64631 5.90765 3.75 6.38988V11.6499H8.75V14.4099C7.64631 14.8922 6.875 15.9935 6.875 17.2749C6.875 19.0008 8.27411 20.3999 10 20.3999C11.7259 20.3999 13.125 19.0008 13.125 17.2749C13.125 15.9935 12.3537 14.8922 11.25 14.4099V11.6499H16.25V6.38987C17.3537 5.90765 18.125 4.80635 18.125 3.5249C18.125 1.79901 16.7259 0.399902 15 0.399902C13.2741 0.399902 11.875 1.79901 11.875 3.5249C11.875 4.80635 12.6463 5.90765 13.75 6.38987V9.1499H6.25V6.38988Z",fill:"#215DD6"})}),(0,x.jsx)("p",{className:te().rowInfoBox_normalText,children:"Combined Items Value"})]}),(0,x.jsxs)("p",{className:te().rowInfoBox_normalText,children:[o?"---":(0,L.ZP)((0,L.BN)(null===I||void 0===I||null===(e=I.data)||void 0===e?void 0:e.itemsValueInRuby))," ","RUBY"]})]})]})}()]})},re=function(){return(0,x.jsxs)("div",{className:te().headerInfoBox,children:[(0,x.jsx)("p",{className:te().headerInfoBox_label,children:"Vault"}),(0,x.jsx)("div",{className:te().mask,children:(0,x.jsx)("div",{className:te().maskImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/ruby-explorer/main/patern.png"),alt:"patern",layout:"fill",loading:"lazy",priority:!1})})})]})},ce=function(){return(0,x.jsx)("div",{className:te().maviaIcon,children:(0,x.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21em",height:"20em",viewBox:"0 0 21 20",fill:"none",children:[(0,x.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0469 20C15.5697 20 20.0469 15.5229 20.0469 10C20.0469 4.47714 15.5697 0 10.0469 0C4.52401 0 0.046875 4.47714 0.046875 10C0.046875 15.5229 4.52401 20 10.0469 20Z",fill:"url(#paint0_radial_16663_92799)"}),(0,x.jsx)("path",{d:"M10.0569 10.2453L4.74519 6.21777L4.32812 6.53127V13.0662L6.89836 15.0001L7.3158 14.6889V10.7166L10.0569 12.7471L12.798 10.7166V14.6889L13.216 14.9997L15.7857 13.0662V6.53127L15.3686 6.21777L10.0569 10.2453Z",fill:"white"}),(0,x.jsx)("path",{d:"M10.0537 9.2768L7.3125 7.25028V5.3168L7.72686 5L10.0536 6.77892L12.3804 5L12.7947 5.3168V7.25028L10.0537 9.2768Z",fill:"white"}),(0,x.jsx)("defs",{children:(0,x.jsxs)("radialGradient",{id:"paint0_radial_16663_92799",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.09688 6.62) rotate(90) scale(10)",children:[(0,x.jsx)("stop",{stopColor:"#1C54C2"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#215DD6"})]})})]})})},de=n(30543),ue=n.n(de);function ve(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);l&&(i=i.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),n.push.apply(n,i)}return n}function me(e){for(var l=1;l<arguments.length;l++){var n=null!=arguments[l]?arguments[l]:{};
1l%2?ve(Object(n),!0).forEach((function(l){(0,t.Z)(e,l,n[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(n,l))}))}return e}var _e=function(){var e;!function(){var e=(0,c.T)(),l=(0,s.useRouter)(),n=l.isReady,a=l.query.id;(0,i.useEffect)((function(){n&&a&&(e(r.N.rubyScan.fetchProfileById({gameAccountId:a})),e(r.N.marketplace.loadInfoBaner({collectionId:null===a||void 0===a?void 0:a.toString()})))}),[e,n,a])}();var l=(0,c.C)(j.w.rubyScan.profileById),n=(0,c.C)(j.w.rubyScan.profileByIdRequesting);return(0,x.jsxs)("div",{className:ue().container,children:[(0,x.jsx)(y,{wallets:(null===l||void 0===l||null===(e=l.gameAccount)||void 0===e?void 0:e.wallets)||[],loading:n}),(0,x.jsxs)("div",{className:ue().infoBox,children:[(0,x.jsx)(V,me({},me(me({},l),{},{isLoading:n}))),(0,x.jsx)(se,me({},me(me({},l),{},{userLoading:n})))]})]})},xe=n(41664),he=n.n(xe),fe=n(32934),ge=n(8634),pe=n(8379),je=n.n(pe),be=n(79911),Ne=n(63335),ye=n(90150),Ie=n(92911),Ce=n(83283),we=n(41762),Be=n(11983),Te=n(41081),Ze=n(84669),Ae=n(8936),Re=n(57591),Se=n(2569),Le=n.n(Se),ke=function(){var e=(0,c.T)(),l=(0,s.useRouter)(),n=l.isReady,a=l.query,o=a.id,u=void 0===o?"":o,v=a.token,m=a.page,_=void 0===m?1:m,h=a.methods,f=a.game,g=(0,c.C)(j.w.rubyScan.transactions),p=(0,c.C)(j.w.rubyScan.transactionsRequesting),N=(0,c.C)(j.w.wallet.getSelectedNftItem),y=(0,c.C)(j.w.game.gameDropdownList),I=(0,i.useMemo)((function(){if(h)return(0,d.isArray)(h)?(0,J.Z)(h):[h]}),[h]);(0,i.useEffect)((function(){n&&u&&e(r.N.rubyScan.fetchTransactions({gameAccountId:String(u),limit:10,order:K.k.DESC,offset:10*Number(_)-10||0,collectionId:N.id&&"all"!==N.id?N.id:void 0,tokenType:v?String(v).toUpperCase():void 0,methods:I,gameId:f?Number(f):void 0}))}),[e,h,n,u,_,v,N,I,f]);var C=(0,i.useCallback)((function(e){var l="";return(null===e||void 0===e?void 0:e.origin)===fe.Zs.balance_transaction&&(l="".concat(Ne.H.RUBY_EARNING_DETAIL,"/").concat((null===e||void 0===e?void 0:e.originIntId)||(null===e||void 0===e?void 0:e.originUuid))),(null===e||void 0===e?void 0:e.origin)===fe.Zs.game_battle_transaction&&(l="".concat(Ne.H.RUBY_BATTLE_DETAIL,"/").concat((null===e||void 0===e?void 0:e.originIntId)||(null===e||void 0===e?void 0:e.originUuid))),(null===e||void 0===e?void 0:e.origin)===fe.Zs.game_collection_item_transaction&&(l="".concat(Ne.H.RUBY_TRANSACTION_DETAIL,"/").concat((null===e||void 0===e?void 0:e.originUuid)||(null===e||void 0===e?void 0:e.originIntId))),l}),[]),B=(0,i.useCallback)((function(e){return e===fe.k$.RUBY_BATTTLE?"RUBY BATTLE":fe.Hx[e]||e}),[]),T=(0,i.useCallback)((function(e){var l,n,i=(null===e||void 0===e?void 0:e.fee)||(null===e||void 0===e||null===(l=e.originMetadata)||void 0===l?void 0:l.feeValue)||(null===e||void 0===e||null===(n=e.originMetadata)||void 0===n?void 0:n.fee);return i?"-".concat((0,L.ZP)(i,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:4})):null}),[]),Z=(0,i.useCallback)((function(e,l){var n=(0,A.cH)(l,4);return fe.Xz[e]?"".concat(fe.Xz[e]).concat(n):e===fe.k$.SUBTRACTING?"-".concat(n):e===fe.k$.ADDING?"+".concat(n):n}),[]);return(0,x.jsxs)("div",{className:Le().container,children:[(0,x.jsxs)("section",{className:Le().filterBox,children:[(0,x.jsxs)("article",{className:Le().left,children:[(0,x.jsx)(be.Z,{color:"#fff"}),function(){var e;return p?(0,x.jsx)("p",{className:Le().filterBox_text,children:"---"}):(0,x.jsxs)("p",{className:Le().filterBox_text,children:[(null===g||void 0===g?void 0:g.offset)>0?"":"Latest"," ",null===g||void 0===g||null===(e=g.results)||void 0===e?void 0:e.length," from a total of"," ",(0,L.ZP)(null===g||void 0===g?void 0:g.total,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:0})," ","transactions"]})}()]}),(0,x.jsxs)("article",{className:Le().right,children:[(0,d.isEmpty)(y)?null:(0,x.jsx)(Ze.Z,{keyQuery:"game",list:y}),(0,x.jsx)(Ze.Z,{pathWithId:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(u),keyQuery:"token",list:Oe}),(0,x.jsx)(Ze.Z,{pathWithId:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(u),keyQuery:"methods",list:fe.fQ})]})]}),(0,x.jsxs)("section",{className:(0,w.Z)(Le().table,(0,t.Z)({},Le().loading,p)),children:[(0,x.jsx)("ul",{className:Le().headerTableBox,children:De.map((function(e){return(0,x.jsx)("li",{className:(0,w.Z)(Le().headerTableItem),children:(0,x.jsx)("span",{className:Le().headerTableItem_label,children:e.id})},e.id)}))}),function(){var e;return p?(0,x.jsx)(Ie.Uc,{}):(0,d.isEmpty)(null===g||void 0===g?void 0:g.results)?(0,x.jsx)(Ie.xM,{}):null===g||void 0===g||null===(e=g.results)||void 0===e?void 0:e.map((function(e){var l,n,i,a,o,s,r,c,d,u,v,m,_,h,f,g,p=(0,A.bG)(e),j=null===e||void 0===e||null===(l=e.balanceTx)||void 0===l?void 0:l.game,N=null===e||void 0===e||null===(n=e.balanceTx)||void 0===n?void 0:n.gameId,y=null===j||void 0===j?void 0:j.avatarImage,I=(0,Ae.Ds)(null===j||void 0===j?void 0:j.title);return(0,x.jsxs)("article",{className:Le().record,children:[(0,x.jsx)(he(),{href:C(e),children:(0,x.jsx)("a",{className:Le().addresslink,children:(0,b.formatBlockchainAddress)(null===e||void 0===e?void 0:e.transHash,1,3)||"
1N/A"})}),fe.VB.includes(null===e||void 0===e?void 0:e.transType)?(0,x.jsx)(we.Z,{imageClassName:Le().gameIcon,gameId:1}):N?(0,x.jsx)(we.Z,{name:I,icon:y||"",imageClassName:Le().gameIcon,gameId:N}):(0,x.jsx)("span",{className:Le().label,children:"N/A"}),(0,x.jsx)(Ce.Z,{method:B(null===e||void 0===e?void 0:e.transType)}),(0,x.jsx)("span",{className:Le().label,children:(0,ye.BK)(null===e||void 0===e?void 0:e.createdAt)}),(0,x.jsxs)("div",{className:Le().row,children:[null!==p&&void 0!==p&&null!==(i=p.from)&&void 0!==i&&i.id?(0,x.jsx)(ee.Z,{url:null===p||void 0===p||null===(a=p.from)||void 0===a?void 0:a.avatar,width:28,height:28}):null,null!==p&&void 0!==p&&null!==(o=p.from)&&void 0!==o&&o.id?(0,x.jsxs)("section",{className:Le().col,children:[(0,x.jsx)(he(),{href:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(null===p||void 0===p||null===(s=p.from)||void 0===s?void 0:s.id),children:(0,x.jsx)("a",{className:(0,w.Z)(Le().nameLink,(0,t.Z)({},Le().isWhitelist,null===e||void 0===e?void 0:e.isFromAccountMMWhitelist)),children:null===p||void 0===p||null===(r=p.from)||void 0===r?void 0:r.userName})}),(0,x.jsx)(he(),{href:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(null===p||void 0===p||null===(c=p.from)||void 0===c?void 0:c.id),children:(0,x.jsx)("a",{className:(0,w.Z)(Le().addresslink),children:null===p||void 0===p||null===(d=p.from)||void 0===d?void 0:d.address})})]}):(0,x.jsx)("span",{className:(0,w.Z)(Le().label),children:"N/A"})]}),(0,x.jsxs)("div",{className:Le().row,children:[null!==p&&void 0!==p&&null!==(u=p.to)&&void 0!==u&&u.id?(0,x.jsx)(ee.Z,{url:null===p||void 0===p||null===(v=p.to)||void 0===v?void 0:v.avatar,width:28,height:28}):null,null!==p&&void 0!==p&&null!==(m=p.to)&&void 0!==m&&m.id?(0,x.jsxs)("section",{className:Le().col,children:[(0,x.jsx)(he(),{href:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(null===p||void 0===p||null===(_=p.to)||void 0===_?void 0:_.id),children:(0,x.jsx)("a",{className:(0,w.Z)(Le().nameLink,(0,t.Z)({},Le().isWhitelist,null===e||void 0===e?void 0:e.isToAccountMMWhitelist)),children:null===p||void 0===p||null===(h=p.to)||void 0===h?void 0:h.userName})}),(0,x.jsx)(he(),{href:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(null===p||void 0===p||null===(f=p.to)||void 0===f?void 0:f.id),children:(0,x.jsx)("a",{className:(0,w.Z)(Le().addresslink),children:null===p||void 0===p||null===(g=p.to)||void 0===g?void 0:g.address})})]}):(0,x.jsx)("span",{className:(0,w.Z)(Le().label),children:"N/A"})]}),(0,x.jsx)(Be.Z,{type:null===e||void 0===e?void 0:e.tokenType,value:Z(null===e||void 0===e?void 0:e.transType,null===e||void 0===e?void 0:e.amount)}),(0,x.jsx)(Te.Z,{type:null===e||void 0===e?void 0:e.tokenType,value:T(e)})]},je()())}))}()]})]})},De=[{id:"Txn Hash",value:"txHash"},{id:"Game",value:"game"},{id:"Method",value:"method"},{id:"Age",value:"age"},{id:"From",value:"from"},{id:"To",value:"to"},{id:"Value",value:"value"},{id:"Txn Fee",value:"txFee"}],Oe=[{value:void 0,label:"All Tokens"},{value:"Ruby",label:"Ruby"},{value:"Mavia",label:"Mavia"}].concat((0,J.Z)((0,Re.IG)(Re.h6.NEXIRA_DAEP)?[{value:"Nexi",label:"Nexi"}]:[])),Ee=n(30381),Ve=n.n(Ee),Pe=n(59399),Me=n(63377),Ue=n(45680),He=n.n(Ue),Ge=function(){var e,l=(0,c.T)(),n=(0,s.useRouter)(),a=n.isReady,o=n.query,u=n.push,v=o.id,m=o.page,_=(0,c.C)(j.w.rubyScan.gameBattleTransaction),h=(0,c.C)(j.w.rubyScan.gameBattleTransactionRequesting);return(0,i.useEffect)((function(){a&&v&&l(r.N.rubyScan.fetchGameBattleTransaction({gameAccountId:String(v),limit:10,order:K.k.DESC,offset:10*Number(m)-10||0}))}),[l,a,v,m]),(0,x.jsxs)("div",{className:He().container,children:[(0,x.jsx)("section",{className:He().filterBox,children:(0,x.jsxs)("article",{className:He().left,children:[(0,x.jsx)(Fe,{}),h?(0,x.jsx)("span",{className:He().filterBox_text,children:"---"}):(0,x.jsxs)("span",{className:He().filterBox_text,children:[(null===_||void 0===_?void 0:_.offset)>0?"":"Latest"," ",null===_||void 0===_||null===(e=_.results)||void 0===e?void 0:e.length," from a total of"," ",(0,L.ZP)(null===_||void 0===_?void 0:_.total,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:0})," ","transactions"]})]})}),(0,x.jsxs)("div",{className:(0,w.Z)(He().table,(0,t.Z)({},He().loading,h)),children:[(0,x.jsx)("section",{className:He().headerTableBox,children:qe.map((function(e){return(0,x.jsx)("article",{className:(0,w.Z)(He().headerTableItem,e.class),children:(0,x.jsx)("span",{className:He().headerTableItem_label,children:e.id})},e.id)}))}),function(){var e;return h?(0,x.jsx)(Ie.Uc,{}):(0,d.isEmpty)(_.results)?(0,x.jsx)(Ie.xM,{}):null===_||void 0===_||null===(e=_.results)||void 0===e?void 0:e.map((function(e){var l=(0,A.ht)({item:null===e||void 0===e?void 0:e.winnerAccount}),n=(0,A.ht)({item:null===e||void 0===e?void 0:e.loserAccount});return(0,x.jsxs)("section",{className:He().record,onClick:function(l){u("".concat(Ne.H.RUBY_BATTLE_DETAIL,"/").concat(null===e||void 0===e?void 0:e.id))},children:[(0,x.jsx)("article",{className:He().ageColumn,children:(0,x.jsx)("span",{className:He().label,children:Ve()(null===e||void 0===e?void 0:e.createdAt).format("lll")})}),(0,x.jsx)("article",{className:He().gameColumn,onClick:function(e){return e.stopPropagation()},children:(0,x.jsx)(we.Z,{icon:"images/game-sticker/mavia.png",name:"heroes-of-mavia",gameId:1,imageClassName:He().gameIcon})}),(0,x.jsx)("article",{className:He().accountColumn,children:null!==l&&void 0!==l&&l.name?(0,x.jsx)("span",{className:He().link,onClick:function(e){e.stopPropagation(),window.open("".concat(Ne.H.RUBY_ACCOUNT,"/").concat(l.id),"_blank")},children:l.name}):(0,x.jsx)("span",{className:He().label,children:"N/A"})}),(0,x.jsxs)("article",{className:He().resultColumn,children:[(0,x.jsx)(Pe.Z,{value:null===e||void 0===e?void 0:e.winnerStar}),(0,x.jsxs)("span",{className:He().label,children:[null===e||void 0===e?void 0:e.winnerPercent,"%"]})]}),(0,x.jsx)("article",{className:He().versusColumn,children:(0,x.jsx)("span",{className:He().versus,children:"vs"})}),(0,x.jsxs)("article",{className:He().resultColumn,children:[(0,x.jsxs)("span",{className:He().label,children:[null===e||void 0===e?void 0:e.loserPercent,"%"]}),(0,x.jsx)(Pe.Z,{value:null===e||void 0===e?void 0:e.loserStar})]}),(0,x.jsx)("article",{className:He().accountColumn,children:null!==n&&void 0!==n&&n.name?(0,x.jsx)("span",{className:He().link,onClick:function(e){e.stopPropagation(),window.open("".concat(Ne.H.RUBY_ACCOUNT,"/").concat(n.id),"_blank")},children:null===n||void 0===n?void 0:n.name}):(0,x.jsx)("span",{className:He().label,children:"N/A"})}),(0,x.jsx)("article",{className:He().drawColumn,children:(0,x.jsx)("span",{className:(0,w.Z)(He().draw,(0,t.Z)({},He().highlight,!(null!==e&&void 0!==e&&e.winnerPercent)&&!(null!==e&&void 0!==e&&e.loserPercent))),children:null!==e&&void 0!==e&&e.winnerPercent||null!==e&&void 0!==e&&e.loserPercent?"NO":"YES"})}),(0,x.jsx)("article",{className:He().valueColumn,children:(0,x.jsx)(Be.Z,{type:Me.n.RUBY,value:(null===e||void 0===e?void 0:e.wager)||null})}),(0,x.jsx)("article",{className:He().feeColumn,children:(0,x.jsx)(Te.Z,{type:Me.n.RUBY,value:(null===e||void 0===e?void 0:e.fee)||null})})]},null===e||void 0===e?void 0:e.id)}
1))}()]})]})},qe=[{id:"Age",value:"age",class:He().ageColumn},{id:"Game",value:"game",class:He().gameColumn},{id:"Winner Account",value:"winnerAccount",class:He().accountColumn},{id:"Winner Result",value:"winnerResult",class:He().resultColumn},{id:"",value:"vs",class:He().versusColumn},{id:"Loser Result",value:"loserResult",class:He().resultColumn},{id:"Loser Account",value:"loserAccount",class:He().accountColumn},{id:"Draw",value:"draw",class:He().drawColumn},{id:"Value",value:"value",class:He().valueColumn},{id:"Fee",value:"fee",class:He().feeColumn}],Fe=function(){return(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14em",height:"14em",viewBox:"0 0 14 14",fill:"none",children:(0,x.jsx)("path",{d:"M11.6667 2.3335V9.3335H13.4167L11.0833 12.2502L8.75 9.3335H10.5V2.3335H11.6667ZM7 10.5002V11.6668H1.75V10.5002H7ZM8.16667 6.41683V7.5835H1.75V6.41683H8.16667ZM8.16667 2.3335V3.50016H1.75V2.3335H8.16667Z",fill:"white"})})},We=n(83854),Ye=n.n(We),ze=function(){var e,l=(0,c.T)(),n=(0,s.useRouter)(),a=n.isReady,o=n.query,u=o.id,v=o.page,m=o.game,_=(0,c.C)(j.w.rubyScan.rubyEarningTransaction),h=(0,c.C)(j.w.rubyScan.rubyEarningTransactionRequesting),f=(0,c.C)(j.w.game.gameDropdownList);(0,i.useEffect)((function(){a&&u&&l(r.N.rubyScan.fetchRubyEarningTransaction({gameAccountId:String(u),limit:10,order:K.k.DESC,offset:10*Number(v)-10||0,gameId:m?Number(m):void 0}))}),[l,a,u,v,m]);var g=(0,i.useCallback)((function(e){var l,n,i,a;return(null===e||void 0===e||null===(l=e.gameAccount)||void 0===l?void 0:l.gameUsername)||(null===e||void 0===e||null===(n=e.gameAccount)||void 0===n?void 0:n.username)||(0,b.formatBlockchainAddress)(null===e||void 0===e||null===(i=e.gameAccount)||void 0===i?void 0:i.defaultWalletAddress,2,4)||(null===e||void 0===e||null===(a=e.gameAccount)||void 0===a?void 0:a.id)||null}),[]),p=(0,i.useCallback)((function(e){return e===fe.k$.RUBY_BATTTLE?"RUBY BATTLE":fe.Hx[e]||e}),[]),N=(0,i.useCallback)((function(e){return e===fe.k$.ADDING||e===fe.k$.REVERT||e===fe.k$.CANCEL_ORDER?"+":"-"}),[]);return(0,x.jsxs)("div",{className:Ye().container,children:[(0,x.jsxs)("section",{className:Ye().filterBox,children:[(0,x.jsxs)("article",{className:Ye().left,children:[(0,x.jsx)(Je,{}),h?(0,x.jsx)("p",{className:Ye().filterBox_text,children:"---"}):(0,x.jsxs)("p",{className:Ye().filterBox_text,children:[(null===_||void 0===_?void 0:_.offset)>0?"":"Latest"," ",null===_||void 0===_||null===(e=_.results)||void 0===e?void 0:e.length," from a total of"," ",(0,L.ZP)(null===_||void 0===_?void 0:_.total,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:0})," ","transactions"]})]}),(0,x.jsx)("article",{className:Ye().right,children:(0,d.isEmpty)(f)?null:(0,x.jsx)(Ze.Z,{keyQuery:"game",list:f})})]}),(0,x.jsxs)("section",{className:(0,w.Z)(Ye().table,(0,t.Z)({},Ye().loading,h)),children:[(0,x.jsx)("article",{className:Ye().headerTableBox,children:Xe.map((function(e){return(0,x.jsx)("ul",{className:(0,w.Z)(Ye().headerTableItem),children:(0,x.jsx)("li",{className:Ye().headerTableItem_label,children:e.id})},e.id)}))}),function(){var e;return h?(0,x.jsx)(Ie.Uc,{}):(0,d.isEmpty)(_.results)?(0,x.jsx)(Ie.xM,{}):null===_||void 0===_||null===(e=_.results)||void 0===e?void 0:e.map((function(e){var l,n,i,a,o=(0,Ae.Ds)(null===e||void 0===e||null===(l=e.game)||void 0===l?void 0:l.title);return(0,x.jsxs)("section",{className:Ye().record,children:[(0,x.jsx)("article",{children:(0,x.jsx)(he(),{href:"".concat(Ne.H.RUBY_EARNING_DETAIL,"/").concat(null===e||void 0===e?void 0:e.id),children:(0,x.jsx)("a",{className:(0,w.Z)(Ye().label,Ye().hasBehavior),children:(null===e||void 0===e?void 0:e.id)||"N/A"})})}),(0,x.jsx)("article",{children:(0,x.jsx)(Ce.Z,{method:p(null===e||void 0===e?void 0:e.transType)})}),(0,x.jsx)("article",{children:(0,x.jsx)("span",{className:Ye().label,children:(0,ye.BK)(null===e||void 0===e?void 0:e.createdAt)})}),(0,x.jsx)("article",{children:null!==e&&void 0!==e&&e.gameId?(0,x.jsx)(we.Z,{name:o,icon:(null===e||void 0===e||null===(n=e.game)||void 0===n?void 0:n.avatarImage)||"",gameId:(null===e||void 0===e?void 0:e.gameId)||
1(null===e||void 0===e||null===(i=e.game)||void 0===i?void 0:i.id),imageClassName:Ye().gameIcon}):(0,x.jsx)("span",{className:Ye().label,children:"N/A"})}),(0,x.jsx)("article",{children:g(e)?(0,x.jsx)(he(),{href:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(null===e||void 0===e||null===(a=e.gameAccount)||void 0===a?void 0:a.id),children:(0,x.jsx)("a",{className:(0,w.Z)(Ye().label,Ye().hasBehavior),children:g(e)})}):(0,x.jsx)("span",{className:Ye().label,children:"N/A"})}),(0,x.jsx)("article",{children:(0,x.jsx)(Be.Z,{type:null===e||void 0===e?void 0:e.tokenType,value:"".concat(N(null===e||void 0===e?void 0:e.transType)).concat((0,L.ZP)(null===e||void 0===e?void 0:e.amount,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:2})),lblClass:(null===e||void 0===e?void 0:e.transType)===fe.k$.ADDING||(null===e||void 0===e?void 0:e.transType)===fe.k$.REVERT||(null===e||void 0===e?void 0:e.transType)===fe.k$.CANCEL_ORDER?Ye().plus:Ye().minus})})]},null===e||void 0===e?void 0:e.id)}))}()]})]})},Xe=[{id:"Id",value:"id"},{id:"Method",value:"method"},{id:"Age",value:"age"},{id:"Game",value:"game"},{id:"To",value:"to"},{id:"Value",value:"value"}],Je=function(){return(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14em",height:"14em",viewBox:"0 0 14 14",fill:"none",children:(0,x.jsx)("path",{d:"M11.6667 2.3335V9.3335H13.4167L11.0833 12.2502L8.75 9.3335H10.5V2.3335H11.6667ZM7 10.5002V11.6668H1.75V10.5002H7ZM8.16667 6.41683V7.5835H1.75V6.41683H8.16667ZM8.16667 2.3335V3.50016H1.75V2.3335H8.16667Z",fill:"white"})})},Ke=n(77161),Qe=n(83903),$e=n.n(Qe),el=function(e){var l,n=e.status;return"number"!==typeof n?null:(0,x.jsx)("div",{className:$e().container,children:(0,x.jsx)("p",{className:(0,w.Z)($e().label,(l={},(0,t.Z)(l,$e().open,"0"==="".concat(n)),(0,t.Z)(l,$e().process,"1"==="".concat(n)||"2"==="".concat(n)),(0,t.Z)(l,$e().canceled,"3"==="".concat(n)),(0,t.Z)(l,$e().failed,"4"==="".concat(n)||"-1"==="".concat(n)),l)),children:ll["".concat(n)]})})},ll={0:"Open",1:"Processing",2:"Processed",3:"Canceled",4:"Failed","-1":"Failed"},nl=n(92348),il=n(52272),al=n(47517),ol=n(16072),tl=n(70554),sl=n(55396),rl=n.n(sl),cl=n(1663),dl=n(40360),ul=n(83348),vl=function(){var e=(0,c.T)(),l=(0,s.useRouter)(),n=l.isReady,a=l.query,o=a.id,u=a.token,v=a.page,m=a.game,_=(0,c.C)(j.w.rubyScan.activeOrdersById),h=(0,c.C)(j.w.rubyScan.activeOrdersByIdRequesting),f=(0,c.C)(j.w.game.gameDropdownList);return(0,i.useEffect)((function(){n&&o&&e(r.N.rubyScan.fetchActiveOrdersById({gameAccountId:String(o),limit:10,order:K.k.DESC,offset:10*Number(v)-10||0,query:void 0,coinSymbol:u?String(u).toUpperCase():void 0,gameId:m?Number(m):void 0}))}),[e,n,o,v,u,m]),(0,x.jsxs)("div",{className:rl().container,children:[(0,x.jsxs)("section",{className:rl().filterBox,children:[(0,x.jsxs)("article",{className:rl().left,children:[(0,x.jsx)(be.Z,{color:"#fff"}),function(){var e;return h?(0,x.jsx)("p",{className:rl().filterBox_text,children:"---"}):(0,x.jsxs)("p",{className:rl().filterBox_text,children:[(null===_||void 0===_?void 0:_.offset)>0?"":"Latest"," ",null===_||void 0===_||null===(e=_.results)||void 0===e?void 0:e.length," from a total of"," ",(0,L.ZP)(null===_||void 0===_?void 0:_.total,{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:0})," ","transactions"]})}(),h||!u?null:(0,x.jsxs)("div",{className:rl().totalBox,children:[(0,x.jsxs)("span",{className:rl().lbl,children:["Total Amount Buy Orders: "," "]}),(0,x.jsx)("span",{className:rl().value,children:null!==_&&void 0!==_&&_.totalAmountBought?(0,L.ZP)(Number(null===_||void 0===_?void 0:_.totalAmountBought),{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:0}):0})]}),h||!u?null:(0,x.jsxs)("div",{className:(0,w.Z)(rl().totalBox,rl().red),children:[(0,x.jsxs)("span",{className:rl().lbl,children:["Total Sell Orders:"," "]}),(0,x.jsx)("span",{className:rl().value,children:null!==_&&void 0!==_&&_.countSellOrders?(0,L.ZP)(Number(null===_||void 0===_?void 0:_.countSellOrders),{thousandsSeparator:",",hideZeroThousands:!0,maxDecimalAmount:0}):0})]})]}),(0,x.jsxs)("article",{className:rl().right,children:[(0,d.isEmpty)(f)?null:(0,x.jsx)(Ze.Z,{keyQuery:"game",list:f}),(0,x.jsx)(Ze.Z,{pathWithId:"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(o),keyQuery:"token",list:hl})]})]}),(0,x.jsxs)("section",{className:(0,w.Z)(rl().table,(0,t.Z)({},rl().loading,h)),children:[(0,x.jsx)("ul",{className:rl().headerTableBox,children:ml.map((function(e){return(0,x.jsx)("li",{className:rl().headerTableItem,children:(0,x.jsx)("span",{className:rl().headerTableItem_label,children:e.id})},e.id)}))}),function(){var e;return h?(0,x.jsx)(Ie.Uc,{}):(0,d.isEmpty)(_.results)?(0,x.jsx)(Ie.xM,{}):null===_||void 0===_||null===(e=_.results)||void 0===e?void 0:e.map((function(e){var l,n,i,a,o,s,r,c,d,u,v,m,_,h,f,g,p,j,b,N,y,I,C,B,T,Z,A,R,S,k,D,O,E,V,P,M,U,H,G,q,F,W=(0,Ae.Ds)(null===e||void 0===e||null===(l=e.gameC
1ollection)||void 0===l||null===(n=l.game)||void 0===n?void 0:n.title);return(0,x.jsxs)("article",{className:rl().record,children:[(0,x.jsxs)("div",{className:rl().row,children:[(0,x.jsx)(ee.Z,{url:null===e||void 0===e||null===(i=e.gameCollection)||void 0===i||null===(a=i.gameImages)||void 0===a?void 0:a[0],href:(0,Ke.y)({id:e.collectionId}),height:32,width:32}),(0,x.jsxs)("div",{className:rl().col,children:[(0,x.jsx)(he(),{href:(0,Ke.y)({id:e.collectionId}),children:(0,x.jsx)("a",{className:rl().link,children:null===e||void 0===e||null===(o=e.gameCollection)||void 0===o?void 0:o.name})}),(0,x.jsxs)("div",{className:(0,w.Z)(rl().row,rl().medium),children:["SPECIAL_EDITION"===(null===e||void 0===e||null===(s=e.gameCollection)||void 0===s?void 0:s.rarity)&&(0,x.jsx)(ul.Z,{color:null===e||void 0===e||null===(r=e.gameCollection)||void 0===r?void 0:r.color}),(null===e||void 0===e||null===(c=e.gameCollection)||void 0===c?void 0:c.rarity)&&(null===e||void 0===e||null===(d=e.gameCollection)||void 0===d||null===(u=d.gameNFTCatGame)||void 0===u?void 0:u.id)&&(0,x.jsx)(il.Z,{game:W,gameId:null===e||void 0===e||null===(v=e.gameCollection)||void 0===v?void 0:v.gameId,rarity:null===e||void 0===e||null===(m=e.gameCollection)||void 0===m?void 0:m.rarity,category:null===e||void 0===e||null===(_=e.gameCollection)||void 0===_?void 0:_.category,categoryId:null===e||void 0===e||null===(h=e.gameCollection)||void 0===h||null===(f=h.gameNFTCatGame)||void 0===f?void 0:f.id}),"SPECIAL_EDITION"!==(null===e||void 0===e||null===(g=e.gameCollection)||void 0===g?void 0:g.rarity)&&"SKIN"===(null===e||void 0===e||null===(p=e.gameCollection)||void 0===p?void 0:p.category)&&(null===e||void 0===e||null===(j=e.gameCollection)||void 0===j?void 0:j.color)&&(null===e||void 0===e||null===(b=e.gameCollection)||void 0===b?void 0:b.gameId)!==cl.js.TURBO&&(0,x.jsx)(al.Z,{gameId:null===e||void 0===e||null===(N=e.gameCollection)||void 0===N||null===(y=N.game)||void 0===y?void 0:y.id,c
1olor:null===e||void 0===e||null===(I=e.gameCollection)||void 0===I?void 0:I.color,maviaMiniType:null===e||void 0===e||null===(C=e.gameCollection)||void 0===C?void 0:C.type,typeId:null===e||void 0===e||null===(B=e.gameCollection)||void 0===B||null===(T=B.gameNFTCatGame)||void 0===T?void 0:T.id}),(null===e||void 0===e||null===(Z=e.gameCollection)||void 0===Z?void 0:Z.gameId)===cl.js.TURBO&&(null===e||void 0===e||null===(A=e.gameCollection)||void 0===A||null===(R=A.gameNFTCatGame)||void 0===R?void 0:R.iconImage)&&(null===e||void 0===e||null===(S=e.gameCollection)||void 0===S||null===(k=S.gameNFTCatGame)||void 0===k?void 0:k.title)&&(0,x.jsx)(dl.Z,{gameId:null===e||void 0===e||null===(D=e.gameCollection)||void 0===D?void 0:D.gameId,iconImage:null===e||void 0===e||null===(O=e.gameCollection)||void 0===O||null===(E=O.gameNFTCatGame)||void 0===E?void 0:E.iconImage,type:null===e||void 0===e||null===(V=e.gameCollection)||void 0===V||null===(P=V.gameNFTCatGame)||void 0===P?void 0:P.title,typeId:null===e||void 0===e||null===(M=e.gameCollection)||void 0===M||null===(U=M.gameNFTCatGame)||void 0===U?void 0:U.id})]})]})]}),(0,x.jsx)(we.Z,{icon:(null===e||void 0===e||null===(H=e.gameCollection)||void 0===H||null===(G=H.game)||void 0===G?void 0:G.avatarImage)||"",name:W,gameId:null===e||void 0===e||null===(q=e.gameCollection.game)||void 0===q?void 0:q.id,imageClassName:rl().gameIcon}),(0,x.jsxs)("span",{className:rl().label,children:[(0,L.ZP)(null===e||void 0===e?void 0:e.tradedAmount,{thousandsSeparator:","})," / ",(0,L.ZP)(null===e||void 0===e?void 0:e.amount,{thousandsSeparator:","})]}),(0,x.jsxs)("div",{className:(0,w.Z)(rl().row,rl().medium),children:[(null===e||void 0===e?void 0:e.coinSymbol)===Me.n.RUBY&&(0,x.jsx)(nl.c,{}),(null===e||void 0===e?void 0:e.coinSymbol)===Me.n.MAVIA&&(0,x.jsx)(ol.v,{}),(null===e||void 0===e?void 0:e.coinSymbol)===Me.n.NEXI&&(0,x.jsx)(tl.t,{}),(0,x.jsx)("span",{className:rl().label,children:null!==(F=(0,L.ZP)(null===e||void 0===e?void 0:e.price,{maxDecimalAmount:4,thousandsSeparator:","}))&&void 0!==F?F:0})]}),(0,x.jsxs)("div",{className:rl().col,children:[(0,x.jsx)("div",{className:(0,w.Z)(rl().totalBox,(0,t.Z)({},rl().red,1===(null===e||void 0===e?void 0:e.direction))),children:(0,x.jsx)("span",{className:(0,w.Z)(rl().label,rl().medium),children:_l["".concat(e.direction)]||null})}),(0,x.jsx)("span",{style:{textAlign:"center"},className:(0,w.Z)(rl().label,rl().medium),children:xl["".concat(e.type)]||null})]}),(0,x.jsx)("span",{className:(0,w.Z)(rl().label,rl().medium),children:null!==e&&void 0!==e&&e.expiredTime?Ve()(null===e||void 0===e?void 0:e.expiredTime).startOf("second").fromNow():"Unlimited"}),(0,x.jsx)("span",{className:(0,w.Z)(rl().label,rl().medium),children:(0,ye.BK)(null===e||void 0===e?void 0:e.createdAt)}),(0,x.jsx)(el,{status:null===e||void 0===e?void 0:e.status})]},e.id)}))}()]})]})},ml=[{id:"Item",value:"item"},{id:"Game",value:"game"},{id:"Qty",value:"qty"},{id:"Price",value:"price"},{id:"Type",value:"type"},{id:"Expiration",value:"expiration"},{id:"Date",value:"date"},{id:"Status",value:"status"}],_l={0:"BUY",1:"SELL"},xl={0:"Market",1:"Limit"},hl=[{value:void 0,label:"All Tokens"},{value:"Ruby",label:"Ruby"},{value:"Mavia",label:"Mavia"}].concat((0,J.Z)((0,Re.IG)(Re.h6.NEXIRA_DAEP)?[{value:"Nexi",label:"Nexi"}]:[])),fl=n(51634),gl=n(98620),pl=n(59814),jl=n(14663),bl=n(62358),Nl=n.n(bl);function yl(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);l&&(i=i.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),n.push.apply(n,i)}return n}function Il(e){for(var l=1;l<arguments.length;l++){var n=null!=arguments[l]?arguments[l]:{};l%2?yl(Object(n),!0).forEach((function(l){(0,t.Z)(e,l,n[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yl(Object(n)).forEach((function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(n,l))}))}return e}var Cl,wl=function(){var e=(0,s.useRouter)(),l=e.query,n=e.pathname,a=e.push,o=l.id,t=void 0===o?"":o,r=(0,c.C)(j.w.marketplace.getAllItemsProfilePageTotalItems),d=(0,i.useCallback)((function(e){a({pathname:n,query:Il(Il({},l),{},{order:e.key})},void 0,{shallow:!0,scroll:!1})}),[n,a,l]),u=(0,i.useMemo)((function(){return(0,gl.ZP)(r,{thousandsSeparator:","})}),[r]);return(0,x.jsxs)("div",{className:(0,w.Z)(Nl().container),children:[(0,x.jsx)("section",{className:Nl().left,children:(0,x.jsxs)("article",{className:Nl().totalBox,children:[(0,x.jsx)(Tl,{}),(0,x.jsx)("span",{className:Nl().lbl,children:"Available NFTs Owned:"}),(0,x.jsxs)("span",{className:Nl().value,children:[u," items"]})]})}),(0,x.jsxs)("section",{className:Nl().right,children:[(0,x.jsx)("article",{className:Nl().searchBox,children:(0,x.jsx)(jl.Z,{pathWithId:String(t),className:Nl().input})}),(0,x.jsxs)("article",{className:Nl().sorterBox,children:[(0,x.jsxs)("div",{className:Nl().label,children:[(0,x.jsx)("span",{className:Nl().txt,children:"Sort by:"}),(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24em",height:"25em",viewBox:"0 0 24 25",fill:"none",children:(0,x.jsx)("path",{d:"M10.002 18.5H14.002V16.5H10.002V18.5ZM3.00195 6.5V8.5H21.002V6.5H3.00195ZM6.00195 13.5H18.002V11.5H6.00195V13.5Z",fill:"white"})})]}),(0,x.jsx)(pl.Z,{list:Bl,selected:Bl[0],onSelectValue:d,wrappedClass:Nl().dropdown})]})]})]})},Bl=[{label:"Newest",key:"desc"}
1,{label:"Oldest",key:"asc"}],Tl=function(){return(0,x.jsx)("div",{className:Nl().nftIcon,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/ruby-explorer/my-nft.png"),alt:"icon",layout:"fill",objectFit:"cover"})})},Zl=n(9747),Al=n(69937),Rl=n.n(Al),Sl=n(24133),Ll=function(){var e=(0,c.T)(),l=(0,s.useRouter)(),n=l.isReady,a=l.query,o=a.id,t=void 0===o?"":o,u=a.page,v=void 0===u?1:u,m=a.order,_=void 0===m?"DESC":m,h=a.search,f=(0,c.C)(j.w.marketplace.getAllItemsProfilePageData),g=(0,c.C)(j.w.marketplace.getAllItemsProfilePageRequesting);return(0,i.useEffect)((function(){n&&t&&e(r.N.marketplace.loadMyItemsTabProfilePage({gameAccountId:String(t),limit:10,offset:10*Number(v)-10,order:String(_).toUpperCase(),sort:"createdAt",query:h?String(h):void 0}))}),[e,n,t,v,_,h]),(0,x.jsxs)("div",{className:Rl().container,children:[(0,x.jsx)(wl,{}),g?(0,x.jsx)(kl,{}):(0,d.isEmpty)(f)?(0,x.jsx)(Ie.xM,{}):(0,x.jsx)("div",{className:Rl().cardList,children:f.map((function(e){var l,n,i,a,o,t,s,r,c,d,u,v,m,_,h,f,g,p,j,b,N,y,I,C,w,B,T,Z,A,R,S,L,k,D,O,E,V,P,M,U,H=(0,Ae.Ds)(null===e||void 0===e||null===(l=e.collection)||void 0===l||null===(n=l.game)||void 0===n?void 0:n.title),G=(null===e||void 0===e||null===(i=e.collection)||void 0===i?void 0:i.isSpecial)&&(null===e||void 0===e||null===(a=e.collection)||void 0===a?void 0:a.gameId)!==Sl.js.TURBO,q=null===e||void 0===e||null===(o=e.collection)||void 0===o||null===(t=o.gameCollectionSpecialDetails)||void 0===t||null===(s=t[0])||void 0===s?void 0:s.serial,F=null===e||void 0===e||null===(r=e.collection)||void 0===r||null===(c=r.gameCollectionSpecialDetails)||void 0===c||null===(d=c[0])||void 0===d||null===(u=d.metadata)||void 0===u?void 0:u.totalPart;return(0,x.jsx)(Zl.Z,{isOwner:null===e||void 0===e||null===(v=e.collection)||void 0===v?void 0:v.isOwner,iconImage:null===e||void 0===e||null===(m=e.collection)||void 0===m||null===(_=m.gameNFTCatGame)||void 0===_?void 0:_.iconImage,type:null===e||void 0===e||null===(h=e.collection)||void 0===h||null===(f=h.gameNFTCatGame)||void 0===f?void 0:f.title,typeId:null===e||void 0===e||null===(g=e.collection)||void 0===g||null===(p=g.gameNFTCatGame)||void 0===p?void 0:p.id,categoryId:null===e||void 0===e||null===(j=e.collection)||void 0===j||null===(b=j.gameNFTCatGame)||void 0===b?void 0:b.id,isDetailPage:{availableQuantityMyItems:null===e||void 0===e?void 0:e.availableQuantity},id:null===e||void 0===e?void 0:e.collectionId,name:(null===e||void 0===e||null===(N=e.collection)||void 0===N?void 0:N.name)&&(null===e||void 0===e||null===(y=e.collection)||void 0===y?void 0:y.name),category:{game:H,category:null===e||void 0===e||null===(I=e.collection)||void 0===I?void 0:I.category},isSE:G,serial:q,totalPart:F,color:{game:H,color:null===e||void 0===e||null===(C=e.collection)||void 0===C||null===(w=C.color)||void 0===w?void 0:w.toString().toUpperCase()},rarity:{game:H,rarity:null===e||void 0===e||null===(B=e.collection)||void 0===B?void 0:B.rarity},thumbnail:(null===e||void 0===e||null===(T=e.collection)||void 0===T?void 0:T.gameImages)&&(null===e||void 0===e||null===(Z=e.collection)||void 0===Z?void 0:Z.gameImages[0]),maviaMiniType:null===e||void 0===e||null===(A=e.collection)||void 0===A?void 0:A.type,turboType:null===e||void 0===e||null===(R=e.collection)||void 0===R?void 0:R.gameNftCatId,game:H,gameId:null===e||void 0===e||null===(S=e.collection)||void 0===S||null===(L=S.game)||void 0===L?void 0:L.id,level:null===e||void 0===e||null===(k=e.collection)||void 0===k?void 0:k.level,tokens:[{name:"ruby",price:null===e||void 0===e||null===(D=e.collection)||void 0===D?void 0:D.bestRubyPrice},{name:"mavia",price:null===e||void 0===e||null===(O=e.collection)||void 0===O||null===(E=O.gameCollectionTokenStats)||void 0===E||null===(V=E.find((function(e){return"MAVIA"===(null===e||void 0===e?void 0:e.gameTokenSymbol)})))||void 0===V?void 0:V.bestPrice},{name:"nexi",price:null===e||void 0===e||null===(P=e.collection)||void 0===P||null===(M=P.gameCollectionTokenStats)||void 0===M||null===(U=M.find((function(e){return"NEXI"===(null===e||void 0===e?void 0:e.gameTokenSymbol)})))||void 0===U?void 0:U.bestPrice}]},null===e||void 0===e?void 0:e.collectionId)}))})]})},kl=function(){return(0,x.jsx)("div",{className:Rl().cardList,children:Array(10).fill({}).map((function(e,l){return(0,x.jsx)(fl.Z,{},l)}))})},Dl=n(62427),Ol=function(){var e=(0,s.useRouter)().query,l=(0,i.useMemo)((function(){return(null===e||void 0===e?void 0:e.tab)||fe.S2[0].key}),[null===e||void 0===e?void 0:e.tab]),n=(0,c.C)(j.w.rubyScan.transactions),a=(0,c.C)(j.w.rubyScan.transactionsRequesting),o=(0,c.C)(j.w.rubyScan.gameBattleTransaction),t=(0,c.C)(j.w.rubyScan.gameBattleTransactionRequesting),r=(0,c.C)(j.w.rubyScan.rubyEarningTransaction),d=(0,c.C)(j.w.rubyScan.rubyEarningTransactionRequesting),u=(0,c.C)(j.w.rubyScan.activeOrdersById),v=(0,c.C)(j.w.rubyScan.activeOrdersByIdRequesting),m=(0,c.C)(j.w.marketplace.getAllItemsProfilePageRequesting),_=(0,c.C)(j.w.marketplace.getAllItemsProfilePageTotal),h=function(){return l===fe.Jz.ALL_TRANSACTION?null===n||void 0===n?void 0:n.total:l===fe.Jz.RUBY_BATTLES?null===o||void 0===o?void 0:o.total:l===fe.Jz.RUBY_EARNINGS?null===r||void 0===r?void 0:r.total:l===fe.Jz.ACTIVE_ORDERS?null===u||void 0===u?void 0:u.total:l===fe.Jz.ALL_NFTS?_:0};return 0===Number(h())||Number(h())<=10?null:(0,x.jsx)("div",{style:{marginTop:30},children:(0,x.jsx)(Dl.E,{total:Number(h()),isDisabled:a||t||d||v||m})})},El=n(72901),Vl=n.n(El),Pl=function(){var e=(0,c.T)(),l=(0,s.useRouter)(),n=l.isReady,a=l.query,o=a.tab,d=void 0===o?fe.S2[0].key:o,m=a.id,_=(0,i.useRef)(null);(0,i.useEffect)((function(){if(n&&null!==_&&void 0!==_&&_.current){var e,l=null===fe.S2||void 0===fe.S2?void 0:fe.S2.findIndex((function(e){return e.key===d})),i=null===_||void 0===_||null===(e=_.current)||void 0===e?void 0:e.children[l||0];null===i||void 0===i||i.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}}),[n,d]),(0,i.useEffect)((function(){return function(){e(r.N.wallet.setSelectedNftItem({id:"",label:"",level:"",icon:"",quantity:0}))}}),[e]);var h=(0,i.useCallback)((function(e){return e===fe.Jz.ACTIVE_ORDERS?"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(m,"?tab=").concat(e,"&token=Ruby"):"".concat(Ne.H.RUBY_ACCOUNT,"/").concat(m,"?tab=").concat(e)}),[m]);return(0,x.jsxs)("div",{className:Vl().container,children:[(0,x.jsxs)(ge.v,{children:[(0,x.jsxs)("ul",{ref:_,className:Vl().tabs,children:[fe.S2.map((function(e,l){return(0,x.jsx)(he(),{href:h(null===e||void 0===e?void 0:e.key),shallow:!0,scroll:!1,passHref:!0,children:(0,x.jsx)("li",{className:(0,w.Z)(Vl().tabItem,(0,t.Z)({},Vl().isActive,e.key===d)),children:(0,x.jsx)("a",{className:(0,w.Z)(Vl().text,(0,t.Z)({},Vl().isActive,e.key===d)),children:null===e||void 0===e?void 0:e.label})})},l)})),(0,x.jsx)("div",{className:Vl().paternBox,children:(0,x.jsx)("div",{className:Vl().paternImg,children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/ruby-explorer/main/patern.png"),alt:"avatar",layout:"fill",loading:"lazy",priority:!1,objectFit:"cover"})})})]}),Ml[String(d)]]}),(0,x.jsx)(Ol,{})]})},Ml=(Cl={},(0,t.Z)(Cl,fe.Jz.ALL_TRANSACTION,(0,x.jsx)(ke,{})),(0,t.Z)(Cl,fe.Jz.RUBY_BATTLES,(0,x.jsx)(Ge,{})),(0,t.Z)(Cl,fe.Jz.RUBY_EARNINGS,(0,x.jsx)(ze,{})),(0,t.Z)(Cl,fe.Jz.ACTIVE_ORDERS,(0,x.jsx)(vl,{})),(0,t.Z)(Cl,fe.Jz.ALL_NFTS,(0,x.jsx)(Ll,{})),Cl),Ul=n(66306),Hl=n.n(Ul),Gl=function(){return(0,x.jsxs)(a.O,{subLevel:!0,className:Hl().container,children:[(0,x.jsx)(o.Z,{page:"View Account"}),(0,x.jsxs)("div",{className:Hl().contentBox,children:[(0,x.jsx)(_e,{}),(0,x.jsx)(Pl,{})]})]})},ql=i.memo(Gl)},70171:function(e,l,n){"use strict";var i=n(25877),a=n.n(i),o=n(85893);l.Z=function(e){var l=e.width,n=void 0===l?18:l,i=e.height,t=void 0===i?20:i;return(0,o.jsx)("div",{className:a().container,children:(0,o.jsxs)("svg",{width:"".concat(n,"em")||0,height:"".concat(t,"em")||0,viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsxs)("g",{clipPath:"url(#clip0_19568_42490)",children:[(0,o.jsx)("path",{d:"M10.4587 5.75659L13.5529 8.97371V14.2439H7.54331L4.45312 11.0267V5.75659H10.4587Z",fill:"#D7DEF9"}),(0,o.jsx)("path",{d:"M17.3343 4.05061V11.0267C17.3343 12.6056 16.2446 13.9178 14.8012 14.1888V8.43605L10.975 4.45699H4.45312V4.05061C4.45312 2.27273 5.83558 0.833496 7.54331 0.833496H14.2441L17.3343 4.05061V4.05061Z",fill:"#D7DEF9"}),(0,o.jsx)("path",{d:"M10.4551 5.75635H3.75831C2.05058 5.75635 0.664062 7.19558 0.664062 8.97346V15.9495L3.75831 19.1666H10.4551C12.1628 19.1666 13.5493 17.7274 13.5493 15.9495V8.97346L10.4551 5.75635ZM12.301 15.9495C12.301 17.0078 11.4716 17.8671 10.4551 17.8671H4.2747L1.91233 15.4119V8.97346C1.91233 7.9152 2.74181 7.05589 3.75831 7.05589H9.93868L12.301 9.51529V15.9495V15.9495Z",fill:"#606060"}),(0,o.jsx)("path",{d:"M13.5493 8.97346V15.9495C13.5493 17.7274 12.1628 19.1666 10.4551 19.1666H3.75831L0.664062 15.9495V8.97346C0.664062 7.19558 2.05058 5.75635 3.75831 5.75635H10.4551L13.5493 8.97346V8.97346Z",fill:"#D7DEF9"})]}),(0,o.jsx)("defs",{children:(0,o.jsx)("clipPath",{id:"clip0_19568_42490",children:(0,o.jsx)("rect",{width:"16.6667",height:"18.3333",f
1ill:"white",transform:"translate(0.664062 0.833252)"})})})]})})}},59814:function(e,l,n){"use strict";var i=n(59499),a=n(67294),o=n(86010),t=n(99186),s=n(70497),r=n(38122),c=n(97514),d=n.n(c),u=n(85893);l.Z=function(e){var l,n,c,m,_=e.list,x=e.wrappedClass,h=e.itemClass,f=e.labelClass,g=e.iconClassName,p=e.selected,j=e.onSelectValue,b=e.isDisabled,N=void 0!==b&&b,y=(0,r.Z)(!1),I=y.ref,C=y.isComponentVisible,w=y.setIsComponentVisible,B=(0,a.useState)(p||(null===_||void 0===_?void 0:_[0])),T=B[0],Z=B[1],A=null===_||void 0===_?void 0:_.filter((function(e){return e.label!==(null===T||void 0===T?void 0:T.label)})),R=(0,a.useCallback)((function(){N||w(!0)}),[w,N]),S=(0,a.useCallback)((function(e){null!==e&&void 0!==e&&e.isDisabled?w(!1):(Z(e),w(!1),j&&j(e))}),[w,j]);return(0,a.useEffect)((function(){p&&Z(p)}),[p]),(0,u.jsxs)("div",{ref:I,className:(0,o.Z)(d().container,x,N&&d().isDisabled),children:[(0,u.jsx)("div",{className:d().selectedBox,onClick:R,children:(0,u.jsxs)("div",{className:d().content,children:[(0,u.jsxs)("div",{className:d().left,children:[null===T||void 0===T||!T.icon||null!==T&&void 0!==T&&null!==(l=T.icon)&&void 0!==l&&l.isHideMain?(0,u.jsx)(u.Fragment,{}):null!==T&&void 0!==T&&null!==(n=T.icon)&&void 0!==n&&n.hasFrame?(0,u.jsx)("div",{className:d().frame,children:(0,u.jsx)("div",{className:d().frame_icon,children:(0,u.jsx)(t.Z,{src:(0,s.B)(null===T||void 0===T||null===(c=T.icon)||void 0===c?void 0:c.url),alt:"icon",layout:"fill",objectFit:"cover"})})}):(0,u.jsx)("div",{className:(0,o.Z)(d().icon,g),children:(0,u.jsx)(t.Z,{src:(0,s.B)(null===T||void 0===T||null===(m=T.icon)||void 0===m?void 0:m.url),alt:"icon",layout:"fill"})}),(0,u.jsx)("span",{className:(0,o.Z)(d().label,f),children:(null===T||void 0===T?void 0:T.label)||T})]}),(0,u.jsx)("div",{className:d().right,children:(0,u.jsx)(v,{isOpen:C})})]})}),C?(0,u.jsx)("div",{className:(0,o.Z)(d().dropdownList),children:(0,u.jsx)("div",{className:(0,o.Z)(d().content,h),children:A.map((function(e){var l,n,a,r;return(0,u.jsx)("div",{className:(0,o.Z)(d().dropdownItem,(l={},(0,i.Z)(l,d().isSelected,(null===e||void 0===e?void 0:e.label)===(null===T||void 0===T?void 0:T.label)),(0,i.Z)(l,d().isDisabled,null===e||void 0===e?void 0:e.isDisabled),l)),onClick:function(){return S(e)},children:(0,u.jsxs)("div",{className:d().left,children:[null!==e&&void 0!==e&&e.icon?null!==e&&void 0!==e&&null!==(n=e.icon)&&void 0!==n&&n.hasFrame?(0,u.jsx)("div",{className:d().frame,children:(0,u.jsx)("div",{className:d().frame_icon,children:(0,u.jsx)(t.Z,{src:(0,s.B)(null===e||void 0===e||null===(a=e.icon)||void 0===a?void 0:a.url),alt:"icon",layout:"fill",objectFit:"cover"})})}):(0,u.jsx)("div",{className:(0,o.Z)(d().icon,g),children:(0,u.jsx)(t.Z,{src:(0,s.B)(null===e||void 0===e||null===(r=e.icon)||void 0===r?void 0:r.url),alt:"icon",layout:"fill"})}):null,(0,u.jsx)("span",{className:(0,o.Z)(d().label,f),children:null===e||void 0===e?void 0:e.label})]})},null===e||void 0===e?void 0:e.label)}))})}):null]})};var v=function(e){var l=e.isOpen;return(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10rem",height:"6rem",viewBox:"0 0 10 6",fill:"none",className:(0,o.Z)(d().arrowDownIcon,l&&d().isOpen),children:(0,u.jsx)("path",{d:"M5 5.99989L0.5 1.49989L2.00071 0.000244141L5 3.0006L7.99929 0.000244141L9.5 1.49989L5 5.99989Z",fill:"white"})})}},14663:function(e,l,n){"use strict";var i=n(59499),a=n(4730),o=n(67294),t=n(86010),s=n(96486),r=n(11163),c=n(8379),d=n.n(c),u=n(99186),v=n(70497),m=n(60560),_=n.n(m),x=n(85893),h=["className","fill","placeholder","iconSVG","pathWithId"];function f(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);l&&(i=i.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),n.push.apply(n,i)}return n}function g(e){for(var l=1;l<arguments.length;l++){var n=null!=arguments[l]?arguments[l]:{};l%2?f(Object(n),!0).forEach((function(l){(0,i.Z)(e,l,n[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(n,l))}))}return e}l.Z=function(e){var l=e.className,n=(e.fill,e.placeholder),i=void 0===n?"Search":n,c=(e.iconSVG,e.pathWithId,(0,a.Z)(e,h)),m=(0,r.useRouter)(),f=m.pathname,p=m.query,j=m.push,b=p.search,N=void 0===b?"":b,y=(0,o.useState)(String(N)),I=y[0],C=y[1];(0,o.useEffect)((function(){C(String(N))}),[N]);var w=(0,o.useCallback)((0,s.debounce)((function(e){if(!e)return delete p.search,void j({pathname:f,query:g({},p)},void 0,{shallow:!0,scroll:!1});e.length>2&&j({pathname:f,query:g(g({},p),{},{search:e})},void 0,{shallow:!0,scroll:!1})}),700),[]),B=(0,o.useCallback)((function(e){var l;C(null===e||void 0===e||null===(l=e.target)||void 0===l?void 0:l.value),w(null===e||void 0===e?void 0:e.target.value)}),[]);return(0,x.jsx)("div",{className:_().container,children:(0,x.jsxs)("div",{className:(0,t.Z)(_().content,l),children:[(0,x.jsx)("div",{className:_().searchIcon,
1children:(0,x.jsx)(u.Z,{src:(0,v.B)("images/common/search.png"),alt:"search",layout:"fill",objectFit:"cover"})}),(0,x.jsx)("input",g({id:d()(),type:"text",autoComplete:"off",value:I,onChange:B,className:_().input,placeholder:i},c))]})})}},51634:function(e,l,n){"use strict";n(67294);var i=n(86010),a=n(70497),o=n(21265),t=n.n(o),s=n(85893);l.Z=function(e){var l=e.classname,n=(0,a.B)("images/common/nexira-hd.png");return(0,s.jsx)("div",{className:t().container,children:(0,s.jsx)("div",{className:(0,i.Z)(t().content,l),children:(0,s.jsx)("div",{className:t().placeholder,style:{backgroundImage:"url(".concat(n,")")}})})})}},77161:function(e,l,n){"use strict";n.d(l,{A7:function(){return o},lK:function(){return s},xb:function(){return t},y:function(){return a}});var i=n(63335),a=(n(56460),function(e){var l=e.id,n=e.gameCollectionId;e.token;return"".concat(i.H.MARKETPLACE_ITEM,"/").concat(l||"").concat(n?"?gameCollectionItemId=".concat(n):"")}),o=function(){return"".concat(i.H.MARKETPLACE_TOP_OWNERS,"?tab=0")},t=function(e){var l=e.length;if(1===l)return 0;var n=e[l-2].close,i=e[l-1].close;return 0===n?100:(i-n)/n*100},s=function(e){var l=e.currentIndex,n=e.graphData;if("number"!==typeof l)return 0;if(0===l)return 0;var i=n[l-1].close,a=n[l].close;return 0===i?100:(a-i)/i*100}},66306:function(e){e.exports={container:"ProfileDetail_container__ON7aj",contentBox:"ProfileDetail_contentBox__r20Kw"}},38632:function(e){e.exports={headerInfoBox:"Game_headerInfoBox__xY5fR",headerInfoBox_label:"Game_headerInfoBox_label__i3h2h",mask:"Game_mask__nb4sV",maskImg:"Game_maskImg__Ml1Uy",container:"Game_container__5J6Cq",infoLoading:"Game_infoLoading__t_vOK",noData:"Game_noData__cCvAM",left:"Game_left__ROAru",avatarBox:"Game_avatarBox__o1OCi",hasNoData:"Game_hasNoData__95wT7",avatarImg:"Game_avatarImg__pGo3s",avatarDefaultImg:"Game_avatarDefaultImg__7EpEG",username:"Game_username__cn_Zk",right:"Game_right__zfhcy",content:"Game_content__jz9zi",row:"Game_row__E0Hx2",iconLabel:"Game_iconLabel__gKG_D",labelText:"Game_labelText__T0N__",userIdAddress:"Game_userIdAddress___BA6u",detailText:"Game_detailText__L2BRg",allianceValue:"Game_allianceValue___3xP7",copyImg:"Game_copyImg__CHpgv",leftCol:"Game_leftCol__JU1js",rightCol:"Game_rightCol__XdDWL",copied:"Game_copied__R279m",text:"Game_text__Ffkzt",levelBox:"Game_levelBox__WkJem",levelImg:"Game_levelImg__RhfS1",rankImg:"Game_rankImg__pfO2L",devider:"Game_devider__JWV_C"}},30543:function(e){e.exports={container:"UserInfo_container__B7k_Q",infoBox:"UserInfo_infoBox__H72WH"}},3695:function(e){e.exports={headerInfoBox:"Vault_headerInfoBox__hyadu",headerInfoBox_label:"Vault_headerInfoBox_label__JVqt5",mask:"Vault_mask__k8iTR",maskImg:"Vault_maskImg__sYQ_a",infoLoading:"Vault_infoLoading__etRF5",rowInfoBox:"Vault_rowInfoBox__Q7uj_",isLast:"Vault_isLast__DoPBW",isDropdown:"Vault_isDropdown__CM2bd",rowInfoBox_normalText:"Vault_rowInfoBox_normalText__A2pbQ",rowInfoBox_regularText:"Vault_rowInfoBox_regularText__2t_wr",maviaIcon:"Vault_maviaIcon__53XdS",rubyIcon:"Vault_rubyIcon__1Id3k",legendIcon:"Vault_legendIcon__Tiobc"}},92077:function(e){e.exports={container:"Wallet_container__7Cvnt",walletImg:"Wallet_walletImg__trys_",walletInfoBox:"Wallet_walletInfoBox__JNCIn",wallerInfoRow:"Wallet_wallerInfoRow__Dzu1k",label:"Wallet_label__C3bPv",address:"Wallet_address__s9yxQ",walletAction:"Wallet_walletAction__EULk5",copied:"Wallet_copied__zmRpg",content:"Wallet_content__CenfX",text:"Wallet_text__wp6kZ",copyImg:"Wallet_copyImg__DgmiT",coreImg:"Wallet_coreImg__aIXeg"}},55396:function(e){e.exports={container:"ActiveOrder_container__7SJlf",label:"ActiveOrder_label__Rm1fP",medium:"ActiveOrder_medium__xszoU",hasBehavior:"ActiveOrder_hasBehavior__X_T2g",link:"ActiveOrder_link__S5xWx",row:"ActiveOrder_row__DC1VS",col:"ActiveOrder_col__Sh2dy",headerTableBox:"ActiveOrder_headerTableBox__22AXk",headerTableItem:"ActiveOrder_headerTableItem__2AD7F",headerTableItem_label:"ActiveOrder_headerTableItem_label__x41H1",table:"ActiveOrder_table__SCBHc",loading:"ActiveOrder_loading__QpHRZ",record:"ActiveOrder_record__UrRsZ",filterBox:"ActiveOrder_filterBox__pigIs",filterBox_text:"ActiveOrder_filterBox_text__cJNKJ",left:"ActiveOrder_left__PZfXT",right:"ActiveOrder_right__nITpc",totalBox:"ActiveOrder_totalBox__wWmjE",red:"ActiveOrder_red__NqtxS",lbl:"ActiveOrder_lbl__IIaNx",value:"ActiveOrder_value__3x_b6",gameIcon:"ActiveOrder_gameIcon__8ZyKu"}},2569:function(e){e.exports={container:"AllTransactions_container__FeATX",headerTableBox:"AllTransactions_headerTableBox__K5qCg",headerTableItem:"AllTransactions_headerTableItem__7QMz0",headerTableItem_label:"AllTransactions_headerTableItem_label__BGxtZ",nameLink:"AllTransactions_nameLink__rtv6L",isWhitelist:"AllTransactions_isWhitelist__Wkg5B",addresslink:"AllTransactions_addresslink__WVQqL",label:"AllTransactions_label__4WXHl",table:"AllTransactions_table__ro_9i",loading:"AllTransactions_loading__p8q3E",record:"AllTransactions_record__iCYyi",row:"AllTransactions_row__IvDKP",col:"AllTransactions_col__4AYP4",gameIcon:"AllTransactions_gameIcon__rEjm5",filterBox:"AllTransactions_filterBox__c1KEB",filterBox_text:"AllTransactions_filterBox_text__Pl5z2",left:"AllTransactions_left__sbMPv",right:"AllTransactions_right__0bhV0"}},69937:function(e){e.exports={container:"NFTs_container__o7rqU",cardList:"NFTs_cardList__tXOUz",loadingWraper:"NFTs_loadingWraper__DYuv6"}},62358:function(e){e.exports={container:"Selection_container___X22j",lbl:"Selection_lbl__M0jZp",value:"Selection_value__qxIs5",left:"Selection_left__CKowz",right:"Selection_right__8_coL",totalBox:"Selection_totalBox__JqRc4",nftIcon:"Selection_nftIcon__F38yM",searchBox:"Selection_searchBox__7R3JM",input:"Selection_input__O7_NK",sorterBox:"Selection_sorterBox__1Vw_V",label:"Selection_label__Nc71f",txt:"Selection_txt__DmTBk",dropdown:"Selection_dropdown__ZtKWi"}},45680:function(e){e.exports={container:"RubyBattle_container__XiBwk",label:"RubyBattle_label__5I9Jb",hasBehavior:"RubyBattle_hasBehavior__RqpS_",versus:"RubyBattle_versus__A_buL",draw:"RubyBattle_draw__5ULA
1E",highlight:"RubyBattle_highlight__GkLNp",link:"RubyBattle_link__MrCl7",filterBox:"RubyBattle_filterBox__WVeH2",filterBox_text:"RubyBattle_filterBox_text__dUNff",left:"RubyBattle_left__os1Az",right:"RubyBattle_right__XXdYi",headerTableBox:"RubyBattle_headerTableBox__8yel8",headerTableItem:"RubyBattle_headerTableItem__lpe1k",headerTableItem_label:"RubyBattle_headerTableItem_label__x92xk",table:"RubyBattle_table__MaPA2",loading:"RubyBattle_loading__Wq1Iq",record:"RubyBattle_record__m892H",gameIcon:"RubyBattle_gameIcon__2Gm0G",ageColumn:"RubyBattle_ageColumn__rnjd3",gameColumn:"RubyBattle_gameColumn__TMHxj",accountColumn:"RubyBattle_accountColumn__Ad6aJ",resultColumn:"RubyBattle_resultColumn__nNGb4",versusColumn:"RubyBattle_versusColumn__hO0g0",percentColumn:"RubyBattle_percentColumn__W3vzP",drawColumn:"RubyBattle_drawColumn__81Ebf",valueColumn:"RubyBattle_valueColumn__WN69k",feeColumn:"RubyBattle_feeColumn__elfj0"}},83854:function(e){e.exports={container:"RubyEarning_container__bT72Y",filterBox:"RubyEarning_filterBox__ZmZis",filterBox_text:"RubyEarning_filterBox_text__whSXG",left:"RubyEarning_left__vRy9w",right:"RubyEarning_right__HfI_S",headerTableBox:"RubyEarning_headerTableBox__NY5ny",headerTableItem:"RubyEarning_headerTableItem__XRVf3",headerTableItem_label:"RubyEarning_headerTableItem_label___tEss",label:"RubyEarning_label__vsaiE",hasBehavior:"RubyEarning_hasBehavior__fM722",table:"RubyEarning_table__bMqfR",loading:"RubyEarning_loading__ZAwsA",record:"RubyEarning_record__qjYXC",plus:"RubyEarning_plus__sFTAW",minus:"RubyEarning_minus__Z6ioB",gameIcon:"RubyEarning_gameIcon__S5JVc"}},72901:function(e){e.exports={container:"User_container__MJFYq",paginationBox:"User_paginationBox__te0UX",tabs:"User_tabs__JB50j",tabItem:"User_tabItem___Z_iB",isActive:"User_isActive__WVRB8",isDisabled:"User_isDisabled__Y_9sX",text:"User_text__TkiZd",paternBox:"User_paternBox__jv68q",paternImg:"User_paternImg__M9oCp"}},25877:function(e){e.exports={container:"Copy_container__v9VNb"}},85787:function(e){e.exports={container:"ViewScan_container__rxeYo"}},64955:function(e){e.exports={button:"LegendaryDropdown_button__4T3Lr",outsideBtn:"LegendaryDropdown_outsideBtn__MWKmN",insideBtn:"LegendaryDropdown_insideBtn__gzkR2",first:"LegendaryDropdown_first__HZnEx",left:"LegendaryDropdown_left__jcNBM",right:"LegendaryDropdown_right__YeDHU",label:"LegendaryDropdown_label__FFQ9w",level:"LegendaryDropdown_level__LbJ_x",optionsBox:"LegendaryDropdown_optionsBox__kISMC",optionsList:"LegendaryDropdown_optionsList__PocX3",loadmore:"LegendaryDropdown_loadmore__ivqJH",optionItem:"LegendaryDropdown_optionItem__cH6bx",selected:"LegendaryDropdown_selected__P5WJM",loader:"LegendaryDropdown_loader__AgN7L"}},83903:function(e){e.exports={container:"OrderStatus_container__19kos",label:"OrderStatus_label__Cr5Uf",open:"OrderStatus_open__RNNlv",process:"OrderStatus_process__wKDPk",canceled:"OrderStatus_canceled__K8B_e",failed:"OrderStatus_failed__6B4uw"}},97514:function(e){e.exports={container:"Dropdown_container__41q_U",isDisabled:"Dropdown_isDisabled__FzsSE",label:"Dropdown_label__HgsXX",icon:"Dropdown_icon__0DoVv",frame:"Dropdown_frame__O4jSp",frame_icon:"Dropdown_frame_icon__q8muz",selectedBox:"Dropdown_selectedBox__CSV9U",content:"Dropdown_content__iDgok",left:"Dropdown_left__DHOn0",arrowDownIcon:"Dropdown_arrowDownIcon__XK_ug",isOpen:"Dropdown_isOpen__x0m5P",dropdownList:"Dropdown_dropdownList__v9UvZ",dropdownItem:"Dropdown_dropdownItem__DMRL_",isSelected:"Dropdown_isSelected__OaRKc"}},60560:function(e){e.exports={container:"SearchInput_container__eUUnk",content:"SearchInput_content__VhMiF",clearIcon:"SearchInput_clearIcon__rvmyT",searchIcon:"SearchInput_searchIcon__dMLYQ",input:"SearchInput_input__2JD1G"}},21265:function(e){e.exports={container:"CustomCardLoader_container__I1OG6","opacity-pulse":"CustomCardLoader_opacity-pulse__Do_Qq",content:"CustomCardLoader_content__KYEO_",placeholder:"CustomCardLoader_placeholder__mUSbH"}}}]);
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.