"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[3341],{55843(e,n,l){l.r(n),l.d(n,{default:()=>m});var o=l(20641),t={ref:"innerScrollElem",class:"account-details-tokens"};function s(e,n,l,s,a,r){var i=(0,o.g2)("AssetList"),u=(0,o.g2)("MessageOffline"),c=(0,o.g2)("BackToTop"),v=(0,o.g2)("IonContent"),d=(0,o.g2)("IonPage");return(0,o.uX)(),(0,o.Wv)(d,null,{default:(0,o.k6)(function(){return[(0,o.bF)(v,{class:"ion-padding ion-content-bg--lighter"},{default:(0,o.k6)(function(){return[(0,o.Lk)("div",t,[e.isOnline?((0,o.uX)(),(0,o.Wv)(i,{key:0,"search-term":e.searchPhrase,class:"tokens-list","owned-only":""},null,8,["search-term"])):((0,o.uX)(),(0,o.Wv)(u,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.assetsNotAvailable")},null,8,["text"]))],512),e.isOnline?((0,o.uX)(),(0,o.Wv)(c,{key:0})):(0,o.Q3)("",!0)]}),_:1})]}),_:1})}var a=l(27360),r=l(50953),i=l(74022),u=l(18743),c=l(22483),v=l(97145),d=l(92385),f=l(3099),p=l(93338);const g=(0,o.pM)({components:{AssetList:d.A,MessageOffline:f.A,IonPage:a.AO,IonContent:a.W9,BackToTop:p.A},props:{showFilters:Boolean,pageWillEnter:Boolean},setup:function(e){var n,l=(0,c.w5)(),t=l.isOnline,s=(0,c.QR)(),a=s.searchPhrase,d=(0,c.J$)(),f=d.setScrollConf,p=(0,r.KR)(),g=(0,r.KR)(0),h=(0,r.KR)(null),k=(0,o.EW)(function(){var e;return null===(e=p.value)||void 0===e?void 0:e.parentElement}),m=(0,i.A)(function(){var e,n;g.value=null!==(n=null===(e=h.value)||void 0===e?void 0:e.scrollTop)&&void 0!==n?n:0},200);return(0,o.wB)(g,function(e){f(e>=u.OO)}),(0,o.wB)(function(){return e.pageWillEnter},function(e){e&&f(!1)}),(0,o.sV)(function(){var e;n=(0,v.i8)(null!==(e=k.value)&&void 0!==e?e:void 0,function(e){var n,l,o=e;h.value!==o&&(null===(n=h.value)||void 0===n||n.removeEventListener("scroll",m),h.value=o,null===(l=h.value)||void 0===l||l.addEventListener("scroll",m))})}),(0,o.xo)(function(){var e;null===n||void 0===n||n(),null===(e=h.value)||void 0===e||e.removeEventListener("scroll",m)}),{isOnline:t,searchPhrase:a,innerScrollElem:p}}});var h=l(66262);const k=(0,h.A)(g,[["render",s],["__scopeId","data-v-06617d59"]]),m=k}}]);