PageSourceSearch

https://peakd.com/static/js/wallet.e71541f8.js

js peakd.com collected 2026-10-01 12:00:52 UTC 203,459 bytes, 1 lines download raw bytes

1(self["webpackChunkpeakd"]=self["webpackChunkpeakd"]||[]).push([[6660],{51674:function(t,e,i){"use strict";i.d(e,{A:function(){return f}});var s=function(){var t=this,e=t._self._c;return t.showCard?e("div",{staticClass:"alert bg-primary bg-gradient-primary display-flex",class:t.compact?"pl-10 pr-10 pt-15 pb-15 flex-top flex-gap-10":"flex-middle flex-gap-15"},[e("button",{staticClass:"btn btn-icon btn-rounded border-white text-white p-10",staticStyle:{"background-color":"rgb(0 0 0 / 15%)",border:"1px solid rgb(0 0 0 / 18%)"}},[e("i",{staticClass:"logo-peakd",class:t.compact?"icon-larger":"icon-2x"})]),e("div",{style:t.compact?"font-size: 14px; line-height: 1.4; padding-right: 30px;":"font-size: 16px; line-height: 1.4; padding-right: 25px;"},[t._v(" If you love what our team is building on Hive please consider supporting Peak Projects with a "),t.currentUserPeakSupporter.proposals?t._e():e("a",{staticClass:"text-semibold text-white",staticStyle:{"text-decoration":"underline","text-decoration-color":"white","text-underline-offset":"2px"},on:{click:function(e){return t.approveProposal()}}},[t._v("vote on our DHF Proposal")]),t._v(". ")]),e("a",{staticStyle:{color:"rgba(0, 0, 0, 0.4)",position:"absolute",top:"0",right:"0",padding:"5px","background-color":"rgba(0, 0, 0, 0.15)","border-bottom-left-radius":"3px"},on:{click:function(e){return t.dismissCard()}}},[e("i",{staticClass:"icon-cross2 icon-large text-white"})])]):t._e()},a=[],n=(i(44114),i(95353)),r=i(62328),o=i.n(r),l=i(12215),c=i.n(l),d=i(90295);const u=382,p="PROPOSAL_REMINDER_DISMISSED_382";var m={name:"PeakSupportCard",components:{},props:{compact:{type:Boolean,default:!1}},data(){return{isVoting:!1,cardDismissed:!0}},computed:{...(0,n.L8)({currentUser:"currentUser",currentUserAccount:"currentUserAccount",currentUserPrefs:"currentUserPrefs",currentUserPeakSupporter:"currentUserPeakSupporter"}),showCard:function(){return!this.cardDismissed&&!this.currentUserPeakSupporter.proposals}},methods:{approveProposal:function(){if(!this.isVoting)if(this.currentUser){this.isVoting=!0;let t={voter:this.currentUser.username,proposal_ids:[u],approve:!0};const e=window.location.href.split("/")[0]+"//"+window.location.href.split("/")[2],i=e+this.$route.fullPath;(0,d.tR)(this.currentUser.username,"update_proposal_votes",t,i).then(t=>{if(this.isVoting=!1,t.redirect)return console.log("Redirect user to hivesigner to complete the operation"),void window.location.assign(t.url);this.$notify({type:"success",duration:3e3,text:"Thanks for supporting our work. Your vote will be processed by the blockchain in a few moments"}),o()(3500).then(()=>{this.$store.dispatch("refreshPeakSupporter")})}).catch(t=>{this.isVoting=!1,this.$notify({type:"error",duration:5e3,text:"Error casting support for the DHF proposal, please try again in a few moments"})})}else this.$router.push("/proposals/peakd")},dismissCard:function(t=15){c().set(p,!0,{expires:t}),this.cardDismissed=!0}},mounted(){this.cardDismissed=c().get(p)}},v=m,h=i(81656),g=(0,h.A)(v,s,a,!1,null,"0e359197",null),f=g.exports},18323:function(t,e,i){"use strict";i.d(e,{A:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"media-left"},[e("span",{staticClass:"btn border-grey-300 text-grey-300 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{class:t.icon||"icon-lab"})])]),e("div",{staticClass:"media-body"},[e("div",[t._v(t._s(t.text))]),e("timeago-label",{attrs:{activity:t.activity[1]}}),t.fields.length>0?e("div",{staticClass:"well text-size-small p-10 mt-5"},t._l(t.fields,function(i){return e("samp",{key:i,staticClass:"display-block"},[e("span",{staticClass:"text-bold"},[t._v(t._s(i))]),t._v(": "+t._s(t.operation[i]))])}),0):t._e()],1),e("hr",{staticClass:"mt-10 mb-10"})])},a=[],n=(i(18111),i(61701),i(22020)),r={name:"GenericActivity",components:{TimeagoLabel:n.A},props:["activity","icon"],computed:{type:function(){return this.activity[1].op[0]},operation:function(){return this.activity[1].op[1]},text:function(){let t=this.type.match(/[A-Za-z][a-z]*/g)||[];return t.map(t=>t.charAt(0).toUpperCase()+t.substring(1)).join(" ")},fields:function(){return Object.keys(this.operation)}}},o=r,l=i(81656),c=(0,l.A)(o,s,a,!1,null,null,null),d=c.exports}
1,22020:function(t,e,i){"use strict";i.d(e,{A:function(){return p}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"media-annotation"},[e("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{placement:"right"},expression:"{ placement: 'right' }"}],staticClass:"text-muted",attrs:{href:t.blockExplorerLink,target:"_blank",rel:"noopener",title:t.humanDate(t.rawTimestamp)}},[t._v(t._s(t.timestamp))])])},a=[],n=(i(74423),i(46247));const r="https://hivehub.dev",o="https://he.dtools.dev";var l={name:"TimeagoLabel",mixins:[n.A],props:{activity:{type:Object,required:!0},hiveEngine:{type:Boolean,default:!1},vsc:{type:Boolean,default:!1}},computed:{timestamp:function(){return this.hiveEngine?this.timeagoUnix(this.activity.timestamp):this.vsc?this.timeago(this.activity.first_seen):this.timeago(this.activity.timestamp)},rawTimestamp:function(){return this.hiveEngine?this.activity.timestamp:this.vsc?this.activity.first_seen:this.activity.timestamp},hiveVirtualOp:function(){return!0===this.activity.virtual_op||this.activity.virtual_op>0},hiveEngineVirtualOp:function(){return this.hiveEngine&&this.activity.transactionId.length<20&&this.activity.transactionId.includes("-")},blockExplorerLink:function(){if(this.hiveEngine){const t=this.activity.transactionId.split("-")[0];return this.hiveEngineVirtualOp?`${o}/b/${this.activity.blockNumber}`:`${r}/tx/${t}`}return this.vsc?`${r}/tx/${this.activity.id}`:this.hiveVirtualOp?`${r}/b/${this.activity.block}`:`${r}/tx/${this.activity.trx_id}`}}},c=l,d=i(81656),u=(0,d.A)(c,s,a,!1,null,null,null),p=u.exports},85800:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return pe}});i(74423),i(18111),i(22489);var s=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"row",class:{"row-eq-height":!["mobile","tablet"].includes(t.$mq)}},[e("div",{staticClass:"position-sticky-top col-lg-3"},[["mobile","tablet"].includes(t.$mq)?e("div",{staticClass:"panel panel-body has-bg-image mb-20 active bg-hive"},[e("div",{staticClass:"media no-margin pl-10 pr-10"},[e("div",{staticClass:"media-body media-middle",staticStyle:{"line-height":"1"}},[e("dropdown",{staticClass:"no-margin",attrs:{tag:"h3"}},[e("a",{staticClass:"text-semibold text-white text-uppercase"},[t._v(t._s(t.selectedWallet.title)+" "),e("span",{staticClass:"caret"})]),e("template",{slot:"dropdown"},t._l(t.wallets.filter(e=>!e.hidden&&e.name!==t.selectedWallet.name),function(i){return e("li",{key:i.name},[e("router-link",{attrs:{to:`/@${t.$route.params.username}/wallet/${i.name}`}},[t._v(" "+t._s(i.title)+" "),i.image?e("img",{staticClass:"pull-right",staticStyle:{height:"48px",width:"auto"},attrs:{src:i.image}}):i.icon?e("i",{staticClass:"text-default pull-right",class:i.icon}):t._e()])],1)}),0)],2),"hive"===t.selectedWallet.name?e("a",{staticClass:"display-flex flex-middle flex-gap-5 text-white",on:{click:function(e){t.advancedMode=!t.advancedMode}}},[e("span",{staticClass:"text-uppercase text-size-mini"},[t._v("Advanced Options")]),e("toggle-button",{attrs:{sync:!0,labels:!0,width:54,color:{checked:"#a00e22",unchecked:"#a00e22"},"switch-color":{checked:"#fff",unchecked:"#e31337"}},on:{click:function(t){t.stopPropagation()},change:function(e){return t.saveAdvancedMode()}},scopedSlots:t._u([{key:"checked",fn:function(){return[e("span",{staticClass:"text-white"},[t._v("Yes")])]},proxy:!0},{key:"unchecked",fn:function(){return[e("span",{staticClass:"text-white opacity-50"},[t._v("No")])]},proxy:!0}],null,!1,2896470925),model:{value:t.advancedMode,callback:function(e){t.advancedMode=e},expression:"advancedMode"}})],1):e("span",{staticClass:"text-uppercase text-size-mini text-muted"},[t._v(t._s(t.selectedWallet.headline))])],1),e("div",{staticClass:"media-right media-middle"},[t.selectedWallet.image?e("img",{staticClass:"opacity-75",staticStyle:{height:"32px",width:"auto"},attrs:{src:t.selectedWallet.image}}):t.selectedWallet.icon?e("i",{staticClass:"icon-2x opacity-50",class:t.selectedWallet.icon}):t._e()])])]):e("div",{staticClass:"sidebar-detached mb-10 display-flex flex-row flex-end"},[e("div",{staticClass:"sidebar sidebar-default sidebar-separate"},t._l(t.wallets.filter(t=>!t.hidden),function(i){return e("div",{key:i.name,staticClass:"panel panel-body has-bg-image mb-10",class:{"active bg-hive text-white":i.name===t.selectedWallet.name||"hive"===i.name&&"recurring"===t.selectedWallet.name}},[e(i.name===t.selectedWallet.name?"div":"RouterLink",{tag:"component",staticClass:"media display-block no-margin",staticStyle:{display:"flex","align-items":"center"},attrs:{to:`/@${t.$route.params.username}/wallet/${i.name}`}},[e("div",{staticClass:"media-body media-middle",staticStyle:{"z-index":"1000","line-height":"1"}},[e("h3",{staticClass:"no-margin text-uppercase",class:{"text-semibold":i.name===t.selectedWallet.name}},[e("span",{class:{"pr-5":i.name===t.selectedWallet.name}},[t._v(t._s(i.title))]),i.name===t.selectedWallet.name||"hive"===i.name&&"recurring"===t.selectedWallet.name?[t.isRefreshing?e("i",{staticClass:"icon-spinner4 spinner icon-large"}):e("i",{staticClass:"icon-reload-alt icon-large cursor-pointer",on:{click:function(e){return e.preventDefault(),t.refreshWalletData()}}})]:t._e()],2),"hive"===i.name&&"hive"===t.selectedWallet.name?e("a",{staticClass:"display-flex flex-middle flex-gap-5 text-white",on:{click:function(e){t.advancedMode=!t.advancedMode}}},[e("span",{staticClass:"text-uppercase text-size-mini"},[t._v("Advanced Options")]),e("toggle-button",{attrs:{sync:!0,labels:!0,width:54,color:{checked:"#a00e22",unchecked:"#a00e22"},"switch-color":{checked:"#fff",unchecked:"#e31337"}},on:{click:function(t){t.stopPropagation()},change:function(e){return t.saveAdvancedMode()}},scopedSlots:t._u([{key:"checked",fn:function(){return[e("span",{staticClass:"text-white"},[t._v("Yes")])]},proxy:!0},{key:"unchecked",fn:function(){return[e("span",{staticClass:"text-white opacity-50"},[t._v("No")])]},proxy:!0}],null,!0),model:{value:t.advancedMode,callback:function(e){t.advancedMode=e},expression:"advancedMode"}})],1):e("span",{staticClass:"text-uppercase text-size-mini"},[t._v(t._s(i.headline))])]),e("div",{staticClass:"media-right media-middle"},[i.image?e("img",{class:i.name===t.selectedWallet.name?"opacity-75":"opacity-50",staticStyle:{height:"48px",width:"auto"},attrs:{src:i.image}}):i.icon?e("i",{staticClass:"icon-3x opacity-50",class:i.icon}
1):t._e()])])],1)}),0)])]),e("div",{staticClass:"col-lg-6"},["hive"===t.wallet?e("hive-wallet",{ref:"hive-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser,"blog-user-rc":t.blogUserRc,"hive-price":t.hiveUsdValue||t.hiveInternalUsdValue,"hbd-price":t.hbdUsdValue||t.hbdInternalUsdValue,"advanced-view":t.advancedMode},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")},"refresh-blog-rc":function(e){return t.$emit("refresh-blog-rc")},loaded:function(e){return t.walletDataLoaded()}}}):"hive-engine"===t.wallet?e("hive-engine-wallet",{ref:"hive-engine-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser,"hive-usd-value":t.hiveUsdValue},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")},loaded:function(e){return t.walletDataLoaded()}}}):"vsc"===t.wallet?e("vsc-wallet",{ref:"vsc-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser,"hive-usd-value":t.hiveUsdValue},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")},loaded:function(e){return t.walletDataLoaded()}}}):"exchanges"===t.wallet?e("exchanges-wallet",{ref:"exchanges-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")},"referral-click":e=>t.trackReferralClick(e)}}):"games"===t.wallet?e("games-wallet",{ref:"games-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")}}}):"others"===t.wallet?e("others-wallet",{ref:"others-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")}}}):"recurring"===t.wallet?e("recurring-wallet",{ref:"recurring-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")}}}):"deposit"===t.wallet?e("deposit-wallet",{ref:"deposit-wallet",staticClass:"wallet",attrs:{"blog-user":t.blogUser},on:{"refresh-blog-user":function(e){return t.$emit("refresh-blog-user")}}}):t._e()],1),e("div",{staticClass:"position-sticky-top col-lg-3"},[e("div",{staticClass:"sidebar-detached hidden-sm"},[e("div",{staticClass:"sidebar sidebar-default sidebar-separate"},[e("div",{staticClass:"panel panel-flat mb-15"},[e("div",{staticClass:"panel-body pb-10"},[null!==t.hiveUsdTrend&&Math.abs(t.hiveUsdTrend)>=.05?e("div",{staticClass:"heading-elements"},[e("span",{staticClass:"heading-text badge",class:t.hiveUsdTrend>=0?"bg-success-400":"bg-danger-400"},[t._v(t._s(t.hiveUsdTrend>0?`+${t.hiveUsdTrend.toFixed(1)}`:t.hiveUsdTrend.toFixed(1))+"%")])]):t._e(),e("h3",{staticClass:"no-margin text-semibold"},[t._v(t._s(t._f("numeral")(t.hiveUsdValue||t.hiveInternalUsdValue,"0,0.0000"))+" USD")]),t.hiveBtcValue?e("div",{staticClass:"hive-btc-price small text-muted"},[t._v(" 1 HIVE ~= "),e("span",{staticClass:"text-semibold"},[t._v(t._s(t.formattedHiveBtcValue))]),t._v(" BTC ")]):t._e(),t.hiveUsdValue?e("div",{staticClass:"small text-muted"},[e("span",{staticClass:"text-semibold"},[t._v("HIVE")]),t._v(" and "),e("span",{staticClass:"text-semibold"},[t._v("BTC")]),t._v(" prices by "),e("router-link",{staticClass:"text-semibold text-muted",attrs:{to:"/@coingecko"}},[t._v("@coingecko")])],1):e("div",{staticClass:"small text-muted"},[e("span",{staticClass:"text-semibold"},[t._v("HIVE")]),t._v(" price in the Hive internal market.")])]),t.hiveMarketStats?e("div",{staticClass:"container-fluid market-chart"},[e("div",[e("svg",{staticStyle:{width:"100%","vertical-align":"bottom"},attrs:{height:"40"}},[e("g",[t._l(t.hiveMarketStats,function(i,s){return e("rect",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:!1},expression:"{ html: false }"}],key:`usd-${s}`,staticClass:"market-bars market-bars-usd",attrs:{width:t.hasHiveBtcMarketStats?"2%":"4.3%",x:`calc(6.66% * ${s} + 0.83%)`,height:i.height,y:40-i.height,title:`${i.timeago}: ${i.price} USD`}})}),t._l(t.hasHiveBtcMarketStats?t.hiveBtcMarketStats:[],function(t,i){return e("rect",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:!1},expression:"{ html: false }"}],key:`btc-${i}`,staticClass:"market-bars market-bars-btc",attrs:{width:"2%",x:`calc(6.66% * ${i} + 3.13%)`,height:t.height,y:40-t.height,title:`${t.timeago}: ${t.price} BTC`}})})],2)])])]):t._e()]),e("div",{staticClass:"panel panel-flat no-margin-bottom"},[e("div",{staticClass:"panel-body pb-10"},[e("h3",{staticClass:"no-margin text-semibold"},[t._v(t._s(t._f("numeral")(t.hbdInternalUsdValue||t.hbdUsdValue,"0,0.000"))+" USD")]),t.hbdInternalUsdValue?e("div",{staticClass:"small text-muted"},[e("span",{staticClass:"text-semibold"},[t._v("HBD")]),t._v(" price in "),e("a",{staticClass:"text-semibold text-muted",attrs:{href:"https://hivehub.dev/market/swap",target:"_blank",rel:"noopener"}},[t._v("Internal Hive Market")]),t._v("."),e("br"),t._v(" Price from low volume exchanges is "),t.hbdUsdValue?e("span",[t._v("reported at "),t.hbdUsdValue?e("span",{staticClass:"text-semibold"},[t._v(t._s(t._f("numeral")(t.hbdUsdValue,"0,0.000"))+" USD")]):t._e(),t._v(" by "),e("router-link",{staticClass:"text-semibold text-muted",attrs:{to:"/@coingecko"}},[t._v("@coingecko")])],1):e("span",[t._v("usually 1 USD or very close to it")])]):e("div",{staticClass:"small text-muted"},[e("span",{staticClass:"text-semibold"},[t._v("HBD")]),t._v(" price in the internal Hive market.")])])]),t._m(0),e("peak-support-card",{staticClass:"mb-15",attrs:{compact:!0}}),e("portal-target",{attrs:{name:"wallet-sidebar"}}),["hive","exchanges"].includes(t.wallet)&&t.currentUser&&t.currentUser.username===t.$route.params.username?e("div",{staticClass:"panel panel-flat text-center"},[t._m(1),e("div",{staticClass:"panel-body panel-body-accent p-10"},[t.buyWithCardUrl?e("div",{class:{"display-flex flex-center":"mobile"!==t.$mq}},[e("div",{class:{"mr-5":"mobile"!==t.$mq}},[e("a",{staticClass:"btn bg-blue-600",attrs:{target:"_blank",rel:"noopener"},on:{click:function(e){return t.buyWithCard()}}},[e("i",{staticClass:"icon-credit-card2 position-left"}),t._v(" With CC")])]),e("div",{class:{"ml-5":"mobile"!==t.$mq}},[e("router-link",{staticClass:"btn bg-blue-800",attrs:{to:`/@${t.$route.params.username}/wallet/deposit`}},[e("i",{staticClass:"icon-wallet position-left"}),t._v(" With Crypto")])],1)]):e("div",{staticClass:"text-center"},[e("router-link",{staticClass:"btn bg-blue-800",attrs:{to:`/@${t.$route.params.username}/wallet/deposit`}},[e("i",{staticClass:"icon-wallet position-left"}),t._v(" With Crypto")])],1)])]):t._e()],1)])])]),t.currentUser&&t.currentUser.username===t.$route.params.username?e("div",{staticClass:"row",class:{"row-eq-height":!["mobile","tablet"].includes(t.$mq)}},[e("div",{staticClass:"col-lg-6 col-lg-offset-3"})]):t._e(),t.showTransactions?["hive"===t.wallet?e("transactions",{key:`${t.wallet}-transactions`}):"hive-engine"===t.wallet?e("transactions",{key:`${t.wallet}-transactions`,attrs:{"use-hive-engine":!0}}):"vsc"===t.wallet?e("vsc-transactions",{key:`${t.wallet}-transactions`}):t._e()]:t._e()],2)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"mb-15 text-center"},[e("small",[e("a",{staticClass:"text-semibold",attrs:{href:"https://www.coingecko.com/en/coins/hive",target:"_blank",rel:"noopener"}},[t._v("View more market stats")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"panel-body p-10 no-padding-bottom"},[e("h5",{staticClass:"text-semibold no-margin"}
1,[t._v("Buy HIVE")]),e("small",{staticClass:"text-muted"},[t._v("Buy HIVE using FIAT or CRYPTO on supported services.")])])}],n=(i(20116),i(95353)),r=i(62328),o=i.n(r),l=i(46247),c=i(45578),d=i(90762),u=i(80591),p=i(51674),m=function(){var t,e,i,s,a=this,n=a._self._c;return n("div",[a.conversionRequests&&a.conversionRequests.length>0?n("div",{staticClass:"text-left",attrs:{id:"conversionsTooltipTemplate"}},[a._v(" Pending conversion requests: "),n("div",{staticClass:"vote-list text-left"},[a._l(a.conversionRequests.slice(0,25),function(t){return n("div",{key:t.id},[n("span",{staticClass:"text-semibold"},[a._v(a._s(t.amount))]),a._v(" conversion will complete "+a._s(a.timeto(t.conversion_date))+" ")])}),a.conversionRequests.length>25?n("div",[n("span",{staticClass:"text-semibold"},[a._v("and "+a._s(a.conversionRequests.length-15)+" more")])]):a._e()],2)]):a._e(),a.collateralConversionRequests&&a.collateralConversionRequests.length>0?n("div",{staticClass:"text-left",attrs:{id:"collateralConversionsTooltipTemplate"}},[a._v(" Pending conversion requests: "),n("div",{staticClass:"vote-list text-left"},[a._l(a.collateralConversionRequests.slice(0,25),function(t){return n("div",{key:t.id},[n("span",{staticClass:"text-semibold"},[a._v(a._s(t.converted_amount))]),a._v(" converted, remaining from "+a._s(t.collateral_amount)+" collateral will be returned "+a._s(a.timeto(t.conversion_date))+" ")])}),a.collateralConversionRequests.length>25?n("div",[n("span",{staticClass:"text-semibold"},[a._v("and "+a._s(a.collateralConversionRequests.length-15)+" more")])]):a._e()],2)]):a._e(),a.hiveMarketOrders&&a.hiveMarketOrders.length>0?n("div",{staticClass:"text-left",attrs:{id:"hiveMarketOrdersTooltipTemplate"}},[a._v(" Pending market orders: "),n("div",{staticClass:"vote-list text-left"},[a._l(a.hiveMarketOrders.slice(0,25),function(t){return n("div",{key:t.orderid},[n("span",{staticClass:"text-semibold"},[a._v(a._s(a.formatMarketOrderAmount(t)))]),a._v(" sell order placed "+a._s(a.timeago(t.created))+" @ "+a._s(a._f("numeral")(parseFloat(t.real_price),"0,0.0000"))+" HBD/HIVE ")])}),a.hiveMarketOrders.length>25?n("div",[n("span",{staticClass:"text-semibold"},[a._v("and "+a._s(a.hiveMarketOrders.length-15)+" more")])]):a._e()],2)]):a._e(),a.hbdMarketOrders&&a.hbdMarketOrders.length>0?n("div",{staticClass:"text-left",attrs:{id:"hbdMarketOrdersTooltipTemplate"}},[a._v(" Pending market orders: "),n("div",{staticClass:"vote-list text-left"},[a._l(a.hbdMarketOrders.slice(0,25),function(t){return n("div",{key:t.orderid},[n("span",{staticClass:"text-semibold"},[a._v(a._s(a.formatMarketOrderAmount(t)))]),a._v(" buy order placed "+a._s(a.timeago(t.created))+" @ "+a._s(a._f("numeral")(parseFloat(t.real_price),"0,0.0000"))+" HBD/HIVE ")])}),a.hbdMarketOrders.length>25?n("div",[n("span",{staticClass:"text-semibold"},[a._v("and "+a._s(a.hbdMarketOrders.length-15)+" more")])]):a._e()],2)]):a._e(),n("div",{staticClass:"panel panel-flat no-margin-bottom"},[n("div",{staticClass:"panel-body no-padding-top pb-10"},[n("table",{staticClass:"table tasks-list table-lg wallet-table"},[n("tbody",[a.showClaimRewardPanel?n("tr",[n("td",{staticClass:"no-border-top border-bottom-lg border-bottom-primary pl-5 pr-5",attrs:{colspan:"2"}},[n("div",{staticClass:"display-flex flex-top"},[a._m(0),n("div",{staticClass:"display-flex flex-end",class:"mobile"===a.$mq?"flex-column flex-bottom":"flex-middle",staticStyle:{"min-width":"max-content"}},[n("ul",{staticClass:"no-margin",class:"mobile"===a.$mq?"list-unstyled text-right":"list-inline list-inline-separate"},[parseFloat(a.currentUser.account.reward_hive_balance)>0?n("li",[n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a.currentUser.account.reward_hive_balance))])]):a._e(),parseFloat(a.currentUser.account.reward_hbd_balance)>0?n("li",[n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a.currentUser.account.reward_hbd_balance))])]):a._e(),parseFloat(a.currentUser.account.reward_vesting_hive)>0?n("li",[n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a.currentUser.account.reward_vesting_hive.replace("HIVE","HP")))])]):a._e()]),a.enableWalletActions?["mobile"!==a.$mq?n("loading-button",{staticClass:"btn btn-xs btn-primary btn-ladda btn-ladda-spinner pt-5 pb-5 mt-5",style:a.basicWalletStyle,attrs:{loading:a.claimRewardPending},on:{click:function(t){return a.claimRewards()}}},[n("b",[n("i",{staticClass:"icon-medal position-center"})]),a._v(" Claim")]):n("loading-button",{staticClass:"btn btn-xs btn-icon btn-primary btn-ladda btn-ladda-spinner pt-5 pb-5 mt-5",staticStyle:{"margin-left":"14px",width:"79px"},attrs:{loading:a.claimRewardPending},on:{click:function(t){return a.claimRewards()}}},[n("b",[n("i",{staticClass:"icon-medal"})])])]:a._e()],2)])])]):a._e(),n("tr",{staticStyle:{margin:"auto"}},[n("td",{staticClass:"no-border-top pl-5 pr-5 pb-0"},[n("div",{staticClass:"display-flex flex-start flex-middle mb-3"},[n("svg",{staticClass:"position-left",staticStyle:{height:"16px","flex-shrink":"0"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[n("path",{staticStyle:{fill:"rgb(233, 66, 95)"},attrs:{d:"M260.4 254.9 131.5 33.1a2.2 2.2 0 0 0 -3.8 0L.3 254.9A2.2 2.2 0 0 0 .3 257.1L129.1 478.9a2.2 2.2 0 0 0 3.8 0L260.4 257.1A2.2 2.2 0 0 0 260.4 254.9zm39.1-25.7a2.2 2.2 0 0 0 1.9 1.1h66.5a2.2 2.2 0 0 0 1.9-3.3L259.1 33.1a2.2 2.2 0 0 0 -1.9-1.1H190.7a2.2 2.2 0 0 0 -1.9 3.3zM511.7 254.9 384.9 33.1A2.2 2.2 0 0 0 383 32h-66.6a2.2 2.2 0 0 0 -1.9 3.3L440.7 256 314.5 476.7a2.2 2.2 0 0 0 1.9 3.3h66.6a2.2 2.2 0 0 0 1.9-1.1L511.7 257.1A2.2 2.2 0 0 0 511.7 254.9zM366 284.9H299.5a2.2 2.2 0 0 0 -1.9 1.1l-108.8 190.6a2.2 2.2 0 0 0 1.9 3.3h66.5a2.2 2.2 0 0 0 1.9-1.1l108.8-190.6A2.2 2.2 0 0 0 366 284.9z"}})]),n("h5",{staticClass:"text-semibold no-margin"},[a._v("HIVE")])]),a.advancedView?n("div",{staticClass:"text-muted"},[a._v("The primary token of the Hive Blockchain and often a reward on posts.")]):n("div",{staticClass:"text-muted"},[a._v("Hive's primary token")])]),n("td",{staticClass:"no-border-top wallet-button-right display-flex flex-end",class:"mobile"===a.$mq?"flex-column flex-bottom":"flex-middle",staticStyle:{"min-width":"max-content"}},[n("div",[n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a._f("numeral")(parseFloat(a.blogUser.balance),"0,0.000")))]),a.collateralConversionRequests&&a.collateralConversionRequests.length>0?n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#collateralConversionsTooltipTemplate",reactive:!0,interactive:!1},expression:"{ html: '#collateralConversionsTooltipTemplate', reactive: true, interactive: false }"}],staticClass:"no-margin small text-semibold text-muted display-inline-block"},[a._v(" (+ "+a._s(a.collateralConversionRequests.length)+" Conversions)"),n("i",{staticClass:"icon-info22 ml-5"})]):a._e(),a.hiveMarketOrders&&a.hiveMarketOrders.length>0?n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#hiveMarketOrdersTooltipTemplate",reactive:!0,interactive:!1},expression:"{ html: '#hiveMarketOrdersTooltipTemplate', reactive: true, interactive: false }"}],staticClass:"no-margin small text-semibold text-muted display-inline-block ml-5"},[a._v(" (+ "+a._s(a.hiveMarketOrders.length)+" Orders)"),n("i",{staticClass:"icon-info22 ml-5"})]):a._e()]),n("div",{style:a.basicWalletStyle},[a.enableWalletActions?n("dropdown",{attrs:{tag:"div","menu-right":""}},[0===parseFloat(a.blogUser.balance)?n("a",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",style:{width:"mobile"!==a.$mq?"115px":"50px"},attrs:{href:"https://hivehub.dev/market/swap",target:"_blank",rel:"noopener"}},["mobile"!==a.$mq?n("span",[n("b",[n("i",{staticClass:"icon-store position-left"})]),a._v(" Market")]):n("b",[n("i",{staticClass:"icon-store"})])]):n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",style:{width:"mobile"!==a.$mq?"115px":"50px"},on:{click:function(t){return a.openTransferModal("HIVE")}}},["mobile"!==a.$mq?n("span",[n("b",[n("i",{staticClass:"icon-paperplane position-left"})]),a._v(" Send ")]):n("b",[n("i",{staticClass:"icon-paperplane"})])]),n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5 dropdown-toggle",attrs:{type:"button",disabled:0===parseFloat(a.blogUser.balance)}},[n("span",{staticClass:"caret"})]),n("template",{slot:"dropdown"},[n("li",[n("a",{on:{click:function(t){return a.openPowerUpModal()}}},[n("i",{staticClass:"icon-arrow-up16"}),a._v(" "+a._s(a.advancedView?"Stake (Power Up)":"Stake"))])]),a.advancedView?n("li",[n("a",{on:{click:function(t){return a.openConvertModal("HIVE")}}},[n("i",{staticClass:"icon-shuffle"}),a._v(" Convert to HBD")])]):a._e(),a.advancedView?n("li",[n("a",{on:{click:function(t){return a.openTransferToSavingsModal("HIVE")}}},[n("i",{staticClass:"icon-piggy-bank"}
1),a._v(" Transfer to Savings")])]):a._e(),a.advancedView?n("li",{staticClass:"divider"}):a._e(),n("li",[n("a",{attrs:{href:"https://hivehub.dev/market/swap",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"icon-store"}),a._v(" Market")])]),parseFloat(a.blogUser.balance)>=3&&a.advancedView?[n("li",{staticClass:"divider"}),n("li",[n("a",{on:{click:function(t){return a.openCreateClaimedAccountModal(!0)}}},[a._v("Create Account with HIVE")])])]:a._e()],2)],2):a._e()],1)])]),n("tr",[n("td",{staticClass:"pl-5 pr-5 no-border-top pb-0"},[n("div",{staticClass:"ml-20",staticStyle:{position:"relative"}},[a._m(1),a.advancedView?n("div",[a._m(2),n("div",{staticClass:"text-muted"},[n("p",[a._v('Always a reward on posts. Exchanging Hive for Hive Power is called "Powering Up" or "Staking".')]),a.hiveInterestRate?n("p",{staticClass:"mb-0"},[a._v(" Increases the more effectively you vote on posts "),n("span",{staticClass:"label label-white text-success"},[a._v("~"+a._s(a._f("numeral")(a.hiveInterestRate,"0.00"))+" - "+a._s(a._f("numeral")(10+a.hiveInterestRate,"0"))+"%")]),n("i",{directives:[{name:"tippy",rawName:"v-tippy"}],staticClass:"icon-help ml-5",attrs:{title:"The APR for staking HIVE varies depen
1ding on how you utilize your staked Hive: powering up (staking) HIVE provides approximately 3% APR, while staking and actively curating content on the Hive platform can yield up to around 10% APR"}})]):a._e()])]):n("div",[n("div",{staticClass:"display-flex flex-middle"},[n("h5",{staticClass:"text-semibold no-margin no-padding"},[a._v("Staked HIVE")]),a.showMore?n("a",{staticClass:"hidden-xs position-right label label-default display-flex flex-middle flex-gap-3",on:{click:function(t){a.showMore=!1}}},[n("span",[a._v("Less")]),a._v(" "),n("span",{staticClass:"caret rotate-180"})]):n("a",{staticClass:"hidden-xs position-right label label-default display-flex flex-middle flex-gap-3",on:{click:function(t){a.showMore=!0}}},[a._m(3)])]),n("p",{staticClass:"text-muted",class:{"no-margin-bottom":!a.showMore}},[a._v(" Also known as "),n("span",{staticClass:"text-semibold"},[a._v("HP")]),a._v(" or "),n("span",{staticClass:"text-semibold"},[a._v("Hive Power")]),a._v(". Powers governance, voting and rewards. Increases at an APR of approximately: "),n("span",{staticClass:"label label-white text-success"},[a._v("~"+a._s(a._f("numeral")(10+a.hiveInterestRate,"0.00"))+"%")]),n("i",{directives:[{name:"tippy",rawName:"v-tippy"}],staticClass:"icon-help ml-5",attrs:{title:"The APR for staking HIVE varies depen
1ding on how you utilize your staked Hive: powering up (staking) HIVE provides approximately 3% APR, while staking and actively curating content on the Hive platform can yield up to around 10% APR"}})]),a.showMore?n("p",{staticClass:"text-muted no-margin-bottom"},[a._m(4)]):a._e()]),a.hivePowerPowerDownDetails?n("div",[n("h6",{staticClass:"text-semibold text-muted mt-10"},[a._v(" An unstake (power down) is scheduled to happen "+a._s(a.hivePowerPowerDownDetails.remaining)+" (~"+a._s(a._f("numeral")(a.hivePowerPowerDownDetails.amount,"0,0.000"))+" HIVE"),a.hivePowerPowerDownDetails.weeks?n("span",[a._v(", remaining "+a._s(a.hivePowerPowerDownDetails.weeks)+" weeks")]):a._e(),a._v(") "),a.enableWalletActions?n("button",{staticClass:"btn btn-xxs border-pink text-pink btn-flat small ml-10",attrs:{type:"button"},on:{click:function(t){return a.cancelPowerDown()}}},[a._v(" STOP ")]):a._e()])]):a._e()])]),n("td",{staticClass:"wallet-button-right no-padding-bottom display-flex flex-end no-border-top",class:"mobile"===a.$mq?"flex-column flex-bottom":"flex-middle",staticStyle:{"min-width":"max-content"}},[n("div",[n("h5",{staticClass:"text-semibold no-margin no-padding"},[a._v(" "+a._s(a._f("numeral")(a.hivePower,"0,0.000"))+" ")]),a.delegatedHP?n("small",{staticClass:"text-muted"},[a._v("Tot: "+a._s(a._f("numeral")(a.hivePower+a.delegatedHP,"0,0[.]000")))]):a._e()]),n("div",{style:a.basicWalletStyle},[a.enableWalletActions?n("dropdown",{staticStyle:{"flex-shrink":"0"},attrs:{tag:"div","menu-right":""}},[n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",style:{width:"mobile"!==a.$mq?"115px":"50px"},attrs:{type:"button",disabled:!a.hivePower},on:{click:function(t){return a.openPowerDownModal()}}},["mobile"!==a.$mq?n("span",[n("b",[n("i",{staticClass:"icon-arrow-down16 position-left"})]),a._v(" Unstake")]):n("b",[n("i",{staticClass:"icon-arrow-down16",staticStyle:{width:"100%"}})])]),n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5 dropdown-toggle",attrs:{type:"button",disabled:!a.hivePower||!a.advancedView}},[n("span",{staticClass:"caret"})]),n("template",{slot:"dropdown"},[a.hivePowerPowerDownDetails?n("li",[n("a",{on:{click:function(t){return t.stopPropagation(),a.cancelPowerDown()}}},[n("i",{staticClass:"icon-cross2"}),a._v(" Cancel Unstake")])]):a._e(),n("li",[n("a",{on:{click:function(t){return t.stopPropagation(),a.openDelegateModal()}}},[n("i",{staticClass:"icon-users2"}),a._v(" Delegate HP")])]),n("li",[n("a",{on:{click:function(t){return t.stopPropagation(),a.openDelegateRcModal()}}},[n("i",{staticClass:"icon-chip"}),a._v(" Delegate RC")])]),parseFloat(a.hivePower)+parseFloat(a.delegatedHP)>=5e3||a.blogUser.pending_claimed_accounts>0?[n("li",{staticClass:"divider"}),n("li",[n("a",{on:{click:function(t){return a.confirmClaimAccount(!0)}}},[a._v("Claim Account Creation Token")])]),parseFloat(a.hivePower)+parseFloat(a.delegatedHP)>=1e4?n("li",[n("a",{on:{click:function(t){return a.confirmClaimAccount(!1)}}},[a._v("Claim Multiple Account Creation Tokens")])]):a._e(),a.blogUser.pending_claimed_accounts>0?n("li",[n("a",{on:{click:function(t){return a.openCreateClaimedAccountModal(!1)}}},[a._v("Create Account with Token ("+a._s(a._f("numeral")(a.blogUser.pending_claimed_accounts,"0,0"))+" left)")])]):a._e()]:a._e()],2)],2):a._e()],1)])]),n("tr",[n("td",{staticClass:"pl-5 pr-5 no-border-top",class:{"pb-0":a.advancedView}},[n("div",{staticClass:"ml-20",staticStyle:{position:"relative"}},[a.advancedView?n("div",{staticClass:"v-connector hive"},[n("div",{staticClass:"h-connector hive"})]):n("div",{staticClass:"curved-connector hive"}),a._m(5),a._m(6)])]),n("td",{staticClass:"wallet-button-right no-padding-bottom no-border-top",staticStyle:{"min-width":"max-content"}},[n("div",{staticClass:"display-flex flex-end",class:"mobile"===a.$mq?"flex-column flex-bottom":"flex-middle"},[n("h5",{staticClass:"text-semibold no-margin no-margin no-padding"},[a._v(" "+a._s(a.delegatedHP>0?"+":"")+a._s(a._f("numeral")(a.delegatedHP,"0,0.000"))+" "),!a.enableWalletActions&&(a.delegatedHP||a.blogUserRc&&(parseFloat(a.blogUserRc.delegated_rc)>0||parseFloat(a.blogUserRc.received_delegated_rc)>0))?n("div",{style:{...a.basicWalletStyle,"line-height":1}}
1,[a.showDelegationDetails||a.showRcDelegationDetails?n("a",{staticClass:"label label-white text-muted",staticStyle:{width:"100%"},on:{click:function(t){a.showDelegationDetails=!1,a.showRcDelegationDetails=!1}}},[n("i",{staticClass:"icon-search4 text-size-mini mr-5"}),a._v(" Details ")]):n("a",{staticClass:"label label-white text-muted",staticStyle:{width:"100%"},on:{click:function(t){a.delegatedHP?a.toggleDelegationsDetails():a.toggleRcDelegationsDetails()}}},[n("i",{staticClass:"icon-search4 text-size-mini mr-5"}),a._v(" Details ")])]):a._e()]),a.enableWalletActions&&(a.delegatedHP||a.blogUserRc&&(parseFloat(a.blogUserRc.delegated_rc)>0||parseFloat(a.blogUserRc.received_delegated_rc)>0))?n("div",{style:a.basicWalletStyle},[a.showDelegationDetails||a.showRcDelegationDetails?n("button",{staticClass:"btn btn-xs btn-default pt-5 pb-5",staticStyle:{width:"100%"},attrs:{type:"button"},on:{click:function(t){a.showDelegationDetails=!1,a.showRcDelegationDetails=!1}}},["mobile"!==a.$mq?n("span",[a._m(8),a._v(" Details")]):n("b",[n("i",{staticClass:"icon-search4",staticStyle:{width:"100%"}})])]):n("button",{staticClass:"btn btn-xs btn-default pt-5 pb-5",staticStyle:{width:"100%"},attrs:{type:"button"},on:{click:function(t){a.delegatedHP?a.toggleDelegationsDetails():a.toggleRcDelegationsDetails()}}},["mobile"!==a.$mq?n("span",[a._m(7),a._v(" Details")]):n("b",[n("i",{staticClass:"icon-search4",staticStyle:{width:"100%"}})])])]):n("div",{style:a.basicWalletStyle})])])]),a.showDelegationDetails||a.showRcDelegationDetails?[n("tr",[n("td",{staticClass:"no-border-top pr-5 no-padding-top",staticStyle:{position:"relative","padding-left":"23px"},attrs:{colspan:"2"}},[n("div",{staticClass:"v-connector hive",staticStyle:{"margin-left":"25px"}}),n("ul",{staticClass:"nav nav-pills nav-pills-bordered nav-justified no-margin display-flex flex-middle mt-10"},[n("li",{staticClass:"flex-grow mr-2",class:{active:a.showDelegationDetails}},[n("a",{staticStyle:{"text-align":"center !important"},on:{click:function(t){return a.toggleDelegationsDetails()}}},[a._v("HP Delegations")])]),n("li",{staticClass:"flex-grow ml-2",class:{active:a.showRcDelegationDetails}},[n("a",{staticStyle:{"text-align":"center !important"},on:{click:function(t){return a.toggleRcDelegationsDetails()}}},[a._v("RC Delegations")])])])])]),a.showDelegationDetails?n("tr",[a.outgoingDelegations||a.incomingDelegations?n("td",{staticClass:"no-border-top pr-5 no-padding-top",staticStyle:{position:"relative","padding-left":"23px"},attrs:{colspan:"2"}},[n("div",{staticClass:"v-connector hive",staticStyle:{"margin-left":"25px"}}),n("small",{staticClass:"display-block table-responsive well p-10",staticStyle:{"max-width":"calc(100vw - 30px)"}},[n("table",{staticClass:"table table-xs delegation-table",staticStyle:{"background-color":"transparent"}},[n("tbody",[n("tr",[n("td",{staticClass:"no-border-top",attrs:{colspan:a.enableWalletActions?3:2}},[n("h6",[n("i",{staticClass:"icon-circles2 text-orange"}),a._v(" Delegated: "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(a.outgoingDelegatedSP,"0,0"))+" HP")])])]),n("td",{staticClass:"no-border-top",attrs:{width:"185"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:a.hpAndRcDelegationsFilter,expression:"hpAndRcDelegationsFilter"}],staticClass:"form-control",attrs:{type:"text",autocorrect:"none",autocapitalize:"none",spellcheck:"false",placeholder:"Search"},domProps:{value:a.hpAndRcDelegationsFilter},on:{input:function(t){t.target.composing||(a.hpAndRcDelegationsFilter=t.target.value)}}})])]),a._l(a.filteredOutgoingDelegations,function(t){return n("tr",{key:t.id},[t.expiration?n("td",[a._m(9,!0)]):n("td",[n("router-link",{staticClass:"text-default",attrs:{to:`/@${t.delegatee}`}},[a._v("@"+a._s(t.delegatee))])],1),n("td",{staticClass:"text-right"},[n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(t.hive_power,"0,0"))+" HP")])]),t.expiration?n("td",[a._v(a._s(a.timeto(t.expiration)))]):n("td",[a._v(a._s(a.timeago(t.min_delegation_time)))]),a.enableWalletActions?n("td",{staticClass:"text-right pt-5 pb-5"},[n("button",{staticClass:"btn btn-xs btn-default",attrs:{disabled:t.expiration},on:{click:function(e){return a.openDelegateModal(t.delegatee,t.hive_power)}}},[a._v(" Update ")]),n("button",{staticClass:"btn btn-xs btn-default ml-5",attrs:{disabled:t.expiration},on:{click:function(e){return a.removeDelegation(t.delegatee)}}},[n("i",{staticClass:"icon-trash-alt text-danger-400"})])]):a._e()])}),a.outgoingDelegations&&0!==a.filteredOutgoingDelegations.length?a._e():n("tr",[n("td",{staticClass:"text-muted text-center",attrs:{colspan:a.enableWalletActions?4:3}},[a._v("No outgoing delegations")])]),n("tr",[n("td",{staticClass:"no-border-top",attrs:{colspan:a.enableWalletActions?4:3}},[n("h6",[n("i",{staticClass:"icon-circles2 text-success"}),a._v(" Received: "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(a.incomingDelegatedSP,"0,0"))+" HP")])])])]),a._l(a.filteredIncomingDelegations,function(t){return n("tr",{key:t.delegator},[n("td",[n("router-link",{staticClass:"text-default",attrs:{to:`/@${t.delegator}`}},[a._v("@"+a._s(t.delegator))])],1),n("td",{staticClass:"text-right"},[n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(t.hive_power,"0,0.000"))+" HP")])]),n("td",[a._v(a._s(a.timeago(t.timestamp)))]),a.enableWalletActions?n("td",{staticClass:"text-right pt-5 pb-5"}):a._e()])}),a.incomingDelegations&&0!==a.filteredIncomingDelegations.length?a._e():n("tr",[n("td",{staticClass:"text-muted text-center",attrs:{colspan:a.enableWalletActions?4:3}},[a._v("No incoming delegations")])])],2)])])]):n("td",{staticClass:"no-border-top pl-5 pr-5 no-padding-top",staticStyle:{position:"relative"},attrs:{colspan:"1000"}},[n("div",{staticClass:"v-connector hive",staticStyle:{"margin-left":"25px"}}),n("h6",{staticClass:"text-muted text-center"},[a._v("Loading ...")])])]):n("tr",[a.blogUserRc?n("td",{staticClass:"no-border-top pr-5 no-padding-top",staticStyle:{position:"relative","padding-left":"23px"},attrs:{colspan:"2"}},[n("div",{staticClass:"v-connector hive",staticStyle:{"margin-left":"25px"}}),n("small",{staticClass:"display-block table-responsive well p-10",staticStyle:{"max-width":"90vw"}},[n("table",{staticClass:"table table-xs delegation-table",staticStyle:{"background-color":"transparent"}},[n("tbody",[n("tr",[n("td",{staticClass:"no-border-top",attrs:{colspan:a.enableWalletActions?3:2}},[n("h6",{staticClass:"flex-grow"},[n("i",{staticClass:"icon-circles2 text-orange"}),a._v(" Delegated: "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(parseFloat(a.blogUserRc.delegated_rc)/1e9,"0,0.00"))+"b RC")]),parseFloat(a.blogUserRc.delegated_rc)>0&&a.outgoingRcDelegations&&a.outgoingRcDelegations.length>0?n("span",{staticClass:"ml-5"},[a._v("("+a._s(a._f("numeral")(a.outgoingRcDelegations.length,"0,0"))+a._s(a.outgoingRcDelegations.length>=1e3?"+":"")+" account"+a._s(a.outgoingRcDelegations.length>
11?"s":"")+")")]):a._e()])]),n("td",{staticClass:"no-border-top",attrs:{width:"185"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:a.hpAndRcDelegationsFilter,expression:"hpAndRcDelegationsFilter"}],staticClass:"form-control",attrs:{type:"text",autocorrect:"none",autocapitalize:"none",spellcheck:"false",placeholder:"Search"},domProps:{value:a.hpAndRcDelegationsFilter},on:{input:function(t){t.target.composing||(a.hpAndRcDelegationsFilter=t.target.value)}}})])]),a._l(a.filteredOutgoingRcDelegations,function(t){return n("tr",{key:`${t.from}|${t.to}`},[n("td",[n("router-link",{staticClass:"text-default",attrs:{to:`/@${t.to}`}},[a._v("@"+a._s(t.to))])],1),n("td",{staticClass:"text-right"},[parseFloat(t.delegated_rc)>1e10?n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(parseFloat(t.delegated_rc)/1e9,"0,0.00"))+"b RC")]):n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(parseFloat(t.delegated_rc),"0,0.00a"))+" RC")])]),n("td",{staticClass:"text-center",staticStyle:{"vertical-align":"middle"},attrs:{width:"185"}},[t.perc>=0?n("div",{staticClass:"progress progress-rounded"},[n("div",{staticClass:"progress-bar progress-bar-striped",class:t.perc>70?"progress-bar-success":"progress-bar-warning",style:"width: "+t.perc+"%"},[n("span",[a._v(a._s(t.perc)+"%")])])]):a._e()]),a.enableWalletActions?n("td",{staticClass:"text-right pt-5 pb-5",attrs:{width:"185"}},[n("button",{staticClass:"btn btn-xs btn-default",on:{click:function(e){return a.openDelegateRcModal(t.to,t.delegated_rc)}}},[a._v("Update")]),n("button",{staticClass:"btn btn-xs btn-default ml-5",on:{click:function(e){return a.removeRcDelegation(t.to)}}},[n("i",{staticClass:"icon-trash-alt text-danger-400"})])]):a._e()])}),a.outgoingRcDelegations&&0!==a.filteredOutgoingRcDelegations.length?a._e():n("tr",[n("td",{staticClass:"text-muted text-center",attrs:{colspan:a.enableWalletActions?4:3}},[a._v("No outgoing RC delegations")])]),n("tr",[n("td",{staticClass:"no-border-top",attrs:{colspan:a.enableWalletActions?4:3}},[n("h6",[n("i",{staticClass:"icon-circles2 text-success"}),a._v(" Received: "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(a.blogUserRc.received_delegated_rc,"0,0.00a"))+" RC")])])])]),a._l(a.filteredIncomingRcDelegations,function(t){return n("tr",{key:`${t.delegator}|${t.delegatee}`},[n("td",{attrs:{colspan:"2"}},[n("router-link",{staticClass:"text-default",attrs:{to:`/@${t.delegator}`}},[a._v("@"+a._s(t.delegator))])],1),n("td",{staticClass:"text-right"},[parseFloat(t.rc)>1e10?n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(parseFloat(t.rc)/1e9,"0,0.00"))+"b RC")]):n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(parseFloat(t.rc),"0,0.00a"))+" RC")])]),a.enableWalletActions?n("td",{staticClass:"text-right pt-5 pb-5"}):a._e()])}),a.incomingRcDelegations&&0!==a.filteredIncomingRcDelegations.length?a._e():n("tr",[n("td",{staticClass:"text-muted text-center",attrs:{colspan:a.enableWalletActions?4:3}},[a._v("No incoming RC delegations")])])],2)])])]):n("td",{staticClass:"no-border-top pl-5 pr-5 no-padding-top",staticStyle:{position:"relative"},attrs:{colspan:"2"}},[n("div",{staticClass:"v-connector hive",staticStyle:{"margin-left":"25px"}}),n("h6",{staticClass:"text-muted text-center"},[a._v("Loading ...")])])])]:a._e(),a.advancedView?n("tr",[a._m(10),n("td",{staticClass:"wallet-button-right no-padding-bottom no-border-top",staticStyle:{"min-width":"max-content"}},[n("div",{staticClass:"display-flex flex-end",class:"mobile"===a.$mq?"flex-column flex-bottom":"flex-middle"},[n("div",[n("h5",{staticClass:"text-semibold no-margin-bottom no-margin no-padding"},[a._v(" "+a._s(a._f("numeral")(parseFloat(a.blogUser.savings_balance),"0,0.000"))+" ")]),a.hiveSavingsWithdraws&&a.hiveSavingsWithdraws.length>0?n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#hiveSavingsWithdrawsTooltipTemplate",reactive:!0,interactive:!0},expression:"{ html: '#hiveSavingsWithdrawsTooltipTemplate', reactive: true, interactive: true }"}],staticClass:"small text-semibold no-margin text-muted"},[a._v(" (+ "+a._s(a.hiveSavingsWithdraws.length)+" Withdraws)"),n("i",{staticClass:"icon-info22 ml-5"})]):a._e(),a.hiveSavingsWithdraws&&a.hiveSavingsWithdraws.length>0?n("div",{staticClass:"text-left",attrs:{id:"hiveSavingsWithdrawsTooltipTemplate"}},[a._v(" Pending withdraws from savings: "),n("div",{staticClass:"vote-list text-left"},[a._l(a.hiveSavingsWithdraws.slice(0,25),function(t){return n("div",{key:t.id},[n("span",{staticClass:"text-semibold"},[a._v(a._s(t.amount))]),a._v(" withdraw will complete "+a._s(a.timeto(t.complete))+" "),a.enableWalletActions?n("a",{staticClass:"text-warning text-semibold ml-10 pull-right",on:{click:function(e){return a.stopTransferFromSavings(t.request_id)}}},[a._v("STOP")]):a._e()])}),a.hiveSavingsWithdraws.length>25?n("div",[n("span",{staticClass:"text-semibold"},[a._v("and "+a._s(a.hiveSavingsWithdraws.length-15)+" more")])]):a._e()],2)]):a._e()]),a.enableWalletActions?n("div",{style:a.basicWalletStyle},[n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",staticStyle:{width:"100%"},attrs:{type:"button",disabled:!parseFloat(a.blogUser.savings_balance)},on:{click:function(t){return a.openTransferToSavingsModal("HIVE",!0)}}},["mobile"!==a.$mq?n("span",[a._m(11),a._v(" Withdraw")]):n("b",[n("i",{staticClass:"icon-arrow-down16",staticStyle:{width:"100%"}})])])]):a._e()])])]):a._e(),n("tr",[n("td",{staticClass:"pl-5 pr-5 pb-0"},[n("div",{staticClass:"display-flex flex-start flex-middle mb-3"},[n("svg",{staticClass:"position-left",staticStyle:{height:"16px","flex-shrink":"0"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}}
1,[n("path",{staticStyle:{fill:"rgba(1,150,14,255)"},attrs:{d:"M260.4 254.9 131.5 33.1a2.2 2.2 0 0 0 -3.8 0L.3 254.9A2.2 2.2 0 0 0 .3 257.1L129.1 478.9a2.2 2.2 0 0 0 3.8 0L260.4 257.1A2.2 2.2 0 0 0 260.4 254.9zm39.1-25.7a2.2 2.2 0 0 0 1.9 1.1h66.5a2.2 2.2 0 0 0 1.9-3.3L259.1 33.1a2.2 2.2 0 0 0 -1.9-1.1H190.7a2.2 2.2 0 0 0 -1.9 3.3zM511.7 254.9 384.9 33.1A2.2 2.2 0 0 0 383 32h-66.6a2.2 2.2 0 0 0 -1.9 3.3L440.7 256 314.5 476.7a2.2 2.2 0 0 0 1.9 3.3h66.6a2.2 2.2 0 0 0 1.9-1.1L511.7 257.1A2.2 2.2 0 0 0 511.7 254.9zM366 284.9H299.5a2.2 2.2 0 0 0 -1.9 1.1l-108.8 190.6a2.2 2.2 0 0 0 1.9 3.3h66.5a2.2 2.2 0 0 0 1.9-1.1l108.8-190.6A2.2 2.2 0 0 0 366 284.9z"}})]),n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a.advancedView?"HBD (Hive Backed Dollars)":"HBD"))])]),a.advancedView?n("div",{staticClass:"text-muted"},[n("p",{class:{"mb-0":parseFloat(a.blogUser.savings_hbd_balance)}},[a._v("Another Hive token which is often rewarded on posts.")]),parseFloat(a.blogUser.savings_hbd_balance)?a._e():n("div",[n("span",{staticClass:"label bg-info mr-5 mb-5"},[a._v("HINT")]),a._v(" Staked HBD increases at "),n("span",{staticClass:"label label-white text-success"},[a._v(a._s(a._f("numeral")(a.hbdInterestRate,"0.00"))+"%")]),a._v(" APR as defined by the "),n("router-link",{staticClass:"text-semibold",attrs:{to:"/witnesses"}},[a._v("witnesses")]),n("i",{directives:[{name:"tippy",rawName:"v-tippy"}],staticClass:"icon-help ml-5",staticStyle:{"vertical-align":"text-bottom"},attrs:{title:"Interest will be paid on HBD Savings provided an account sent or received HBD in the last 30 days. Otherwise the interest will be paid out when there is a transaction."}})],1)]):n("div",{staticClass:"text-muted"},[a._v("US dollar pegged token backed by HIVE")])]),n("td",{staticClass:"wallet-button-right no-padding-bottom",staticStyle:{"min-width":"max-content"}},[n("div",{staticClass:"display-flex flex-end",class:"mobile"===a.$mq?"flex-column flex-bottom":"flex-middle"},[n("div",[n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a._f("numeral")(parseFloat(a.blogUser.hbd_balance),"0,0.000")))]),a.conversionRequests&&a.conversionRequests.length>0?n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#conversionsTooltipTemplate",reactive:!0,interactive:!1},expression:"{ html: '#conversionsTooltipTemplate', reactive: true, interactive: false }"}],staticClass:"no-margin small text-semibold text-muted display-inline-block"},[a._v(" (+ "+a._s(a.conversionRequests.length)+" Conversions)"),n("i",{staticClass:"icon-info22 ml-5"})]):a._e(),a.hbdMarketOrders&&a.hbdMarketOrders.length>0?n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#hbdMarketOrdersTooltipTemplate",reactive:!0,interactive:!1},expression:"{ html: '#hbdMarketOrdersTooltipTemplate', reactive: true, interactive: false }"}],staticClass:"no-margin small text-semibold text-muted display-inline-block ml-5"},[a._v(" (+ "+a._s(a.hbdMarketOrders.length)+" Orders)"),n("i",{staticClass:"icon-info22 ml-5"})]):a._e()]),n("div",{style:a.basicWalletStyle},[a.enableWalletActions?n("dropdown",{staticStyle:{"flex-shrink":"0"},attrs:{tag:"div","menu-right":""}},[0===parseFloat(a.blogUser.hbd_balance)?n("a",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",style:{width:"mobile"!==a.$mq?"115px":"50px"},attrs:{href:"https://hivehub.dev/market/swap",target:"_blank",rel:"noopener"}},["mobile"!==a.$mq?n("span",[n("b",[n("i",{staticClass:"icon-store position-left"})]),a._v(" Market")]):n("b",[n("i",{staticClass:"icon-store"})])]):n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",style:{width:"mobile"!==a.$mq?"115px":"50px"},on:{click:function(t){return a.openTransferModal("HBD")}}},["mobile"!==a.$mq?n("span",[n("b",[n("i",{staticClass:"icon-paperplane position-left"})]),a._v(" Send")]):n("b",[n("i",{staticClass:"icon-paperplane"})])]),n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5 dropdown-toggle",attrs:{type:"button",disabled:0===parseFloat(a.blogUser.hbd_balance)}},[n("span",{staticClass:"caret"})]),n("template",{slot:"dropdown"},[a.advancedView?n("li",[n("a",{on:{click:function(t){return a.openConvertModal("HBD")}}},[n("i",{staticClass:"icon-shuffle"}
1),a._v(" Convert to HIVE")])]):a._e(),n("li",{style:{width:a.advancedView?"220px":""}},[n("a",{on:{click:function(t){return a.openTransferToSavingsModal("HBD")}}},[n("i",{staticClass:"icon-piggy-bank"}),a._v(" "+a._s(a.advancedView?"Stake HBD (HBD Savings)":"Stake"))])]),a.advancedView?n("li",{staticClass:"divider"}):a._e(),n("li",[n("a",{attrs:{href:"https://hivehub.dev/market/swap",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"icon-store"}),a._v(" Market")])])])],2):a._e()],1)])])]),n("tr",[n("td",{staticClass:"pl-5 pr-5 no-border-top",class:{"no-padding-bottom":null===(t=a.savingHbdInterestBalance)||void 0===t?void 0:t.balance}},[n("div",{staticClass:"ml-20",staticStyle:{position:"relative"}},[null!==(e=a.savingHbdInterestBalance)&&void 0!==e&&e.balance?n("div",{staticClass:"v-connector hbd"},[n("div",{staticClass:"h-connector hbd"})]):n("div",{staticClass:"curved-connector hbd"}),a._m(12),a.advancedView?n("div",{staticClass:"text-muted"},[n("p",[a._v("Balance is subject to 3 days unstake (withdraw) waiting period.")]),parseFloat(a.blogUser.savings_hbd_balance)>0?n("span",[a._v(" Staked HBD increases at "),n("span",{staticClass:"label label-white text-success"},[a._v(a._s(a._f("numeral")(a.hbdInterestRate,"0.00"))+"%")]),a._v(" APR as defined by the "),n("router-link",{staticClass:"text-semibold",attrs:{to:"/witnesses"}},[a._v("witnesses")]),n("i",{directives:[{name:"tippy",rawName:"v-tippy"}],staticClass:"icon-help ml-5",staticStyle:{"vertical-align":"text-bottom"},attrs:{title:"Interest will be paid on HBD Savings provided an account sent or received HBD in the last 30 days. Otherwise the interest will be paid out when there is a transaction."}})],1):a._e()]):n("p",{staticClass:"text-muted no-margin-bottom"},[a._v(' When staked in this "savings account" it receives interest: '),n("span",{staticClass:"label label-white text-success"},[a._v(a._s(a._f("numeral")(a.hbdInterestRate,"0.00"))+"%")]),n("i",{directives:[{name:"tippy",rawName:"v-tippy"}],staticClass:"icon-help ml-5",staticStyle:{"vertical-align":"text-bottom"},attrs:{title:"Interest will be paid on HBD Savings provided an account sent or received HBD in the last 30 days. Otherwise the interest will be paid out when there is a transaction."}})])])]),n("td",{staticClass:"wallet-button-right no-padding-bottom display-flex flex-end no-border-top",class:"mobile"===a.$mq?"flex-column flex-bottom":a.advancedView?"flex-middle":"flex-start",staticStyle:{"min-width":"max-content"}},[n("div",[n("div",[n("h5",{staticClass:"text-semibold no-margin no-padding"},[a._v(" "+a._s(a._f("numeral")(parseFloat(a.blogUser.savings_hbd_balance),"0,0.000"))+" ")]),a.hbdSavingsWithdraws&&a.hbdSavingsWithdraws.length>0?n("a",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#hbdSavingsWithdrawsTooltipTemplate",reactive:!0,interactive:!0},expression:"{ html: '#hbdSavingsWithdrawsTooltipTemplate', reactive: true, interactive: true }"}],staticClass:"small text-semibold no-margin text-muted"},[a._v(" (+ "+a._s(a.hbdSavingsWithdraws.length)+" Withdraws)"),n("i",{staticClass:"icon-info22 ml-5"})]):a._e(),a.hbdSavingsWithdraws&&a.hbdSavingsWithdraws.length>0?n("div",{staticClass:"text-left",attrs:{id:"hbdSavingsWithdrawsTooltipTemplate"}},[a._v(" Pending withdraws from savings: "),n("div",{staticClass:"vote-list text-left"},[a._l(a.hbdSavingsWithdraws.slice(0,25).filter(t=>t.amount.includes("HBD")),function(t){return n("div",{key:t.id},[n("span",{staticClass:"text-semibold"},[a._v(a._s(t.amount))]),a._v(" withdraw will complete "+a._s(a.timeto(t.complete))+" "),a.enableWalletActions?n("a",{staticClass:"text-warning text-semibold ml-10 pull-right",on:{click:function(e){return a.stopTransferFromSavings(t.request_id)}}},[a._v("STOP")]):a._e()])}),a.hbdSavingsWithdraws.length>25?n("div",[n("span",{staticClass:"text-semibold"},[a._v("and "+a._s(a.hbdSavingsWithdraws.length-15)+" more")])]):a._e()],2)]):a._e()])]),a.enableWalletActions?n("div",{style:a.basicWalletStyle},[n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",staticStyle:{width:"100%"},attrs:{type:"button",disabled:!parseFloat(a.blogUser.savings_hbd_balance)},on:{click:function(t){return a.openTransferToSavingsModal("HBD",!0)}}},["mobile"!==a.$mq?n("span",[a._m(13),a._v(" Unstake")]):n("b",[n("i",{staticClass:"icon-arrow-down16",staticStyle:{width:"100%"}})])])]):a._e()])]),a.savingHbdInterestBalance&&a.savingHbdInterestBalance.balance>0?n("tr",[n("td",{staticClass:"pl-5 pr-5 no-border-top"},[n("div",{staticClass:"ml-20",staticStyle:{position:"relative"}}
1,[n("div",{staticClass:"curved-connector hbd"}),a._m(14),n("div",{staticClass:"text-muted"},[n("p",[a._v("Claimable balance for the HBD staking.")]),n("p",[n("span",[a._v(" Last payment: "),"1970-01-01T00:00:00"!==a.blogUser.savings_hbd_last_interest_payment?n("span",{directives:[{name:"tippy",rawName:"v-tippy"}],attrs:{title:a.blogUser.savings_hbd_last_interest_payment}},[a._v(" "+a._s(a.timeago(a.blogUser.savings_hbd_last_interest_payment))+" ")]):n("span",[a._v("None")])]),a.savingHbdInterestBalance.remaining&&!a.savingHbdInterestBalance.ready&&"mobile"===a.$mq?n("span",{staticClass:"display-block"},[a._v(" Next claim in "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a.savingHbdInterestBalance.remaining))])]):a._e()])])])]),n("td",{staticClass:"wallet-button-right no-padding-bottom display-flex flex-end no-border-top",class:"mobile"===a.$mq?"flex-column flex-bottom":a.advancedView?"flex-middle":"flex-start",staticStyle:{"min-width":"max-content"}},[n("div",[n("div",[n("h5",{staticClass:"text-semibold no-margin no-padding"},[a._v(" "+a._s(a._f("numeral")(a.savingHbdInterestBalance.balance,"0,0.000"))+" ")])])]),a.enableWalletActions?n("div",{style:a.basicWalletStyle},["mobile"!==a.$mq&&a.savingHbdInterestBalance.ready?n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",staticStyle:{width:"100%"},attrs:{type:"button",disabled:a.savingsPending},on:{click:function(t){return a.triggerClaimSavingInterest()}}},[a._v(" Claim Now ")]):a._e(),"mobile"===a.$mq||a.savingHbdInterestBalance.ready?a._e():n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5",staticStyle:{width:"100%","padding-left":"0 !important","padding-right":"0 !important"},attrs:{type:"button",disabled:!0}},[n("div",[a._v("Claim in "+a._s(a.savingHbdInterestBalance.remaining))])]),"mobile"==a.$mq?n("button",{staticClass:"btn btn-xs bg-teal-400 pt-5 pb-5 text-sm dropdown-toggle",staticStyle:{width:"100%"},attrs:{type:"button",disabled:!a.savingHbdInterestBalance.ready},on:{click:function(t){return a.triggerClaimSavingInterest()}}},[a._v(" Claim ")]):a._e()]):a._e()])]):a._e(),n("tr",[n("td",{staticClass:"pl-5 pr-5",attrs:{colspan:"1000"}},[n("div",{staticClass:"display-flex flex-between flex-middle"},[n("h5",{staticClass:"text-semibold"},[a._v("Estimated Account Value")]),n("h5",{staticClass:"text-semibold"},[a._v("$ "+a._s(a._f("numeral")(a.accountValue||0,"0,0[.]00")))])]),n("div",{staticClass:"text-muted"},[a._v("USD value of all Hive tokens in your wallet.")])])]),n("tr",[n("td",{staticClass:"pl-5 pr-5",attrs:{colspan:"1000"}},[n("div",{staticClass:"display-flex",class:"mobile"===a.$mq?"flex-column flex-gap-10":"flex-between flex-middle"},[a._m(15),n("div",{staticClass:"well well-sm pt-5 pb-5 pl-20 pr-20 dis
1play-flex flex-middle flex-gap-15"},[n("h5",{staticClass:"text-semibold text-center no-margin border-right pr-15",staticStyle:{"border-color":"#ddd","line-height":"1.4"}},[n("small",{staticClass:"text-size-mini display-block"},[a._v("ACCOUNT HP")]),a._v(a._s(a._f("numeral")(a.hivePower,"0,0.00a"))+" ")]),n("h5",{staticClass:"text-semibold text-center no-margin border-right pr-15",staticStyle:{"border-color":"#ddd","line-height":"1.4"}},[n("small",{staticClass:"text-size-mini display-block"},[a._v("PROXY HP")]),a._v(a._s(a._f("numeral")(a.totalProxyReceivedHP,"0,0.00a"))+" ")]),n("h5",{staticClass:"text-semibold text-center no-margin",staticStyle:{"line-height":"1.4"}},[n("small",{staticClass:"text-size-mini display-block"},[a._v("TOTAL HP")]),a._v(a._s(a._f("numeral")(a.hivePower+a.totalProxyReceivedHP,"0,0.00a"))+" ")])])]),n("div",{staticClass:"row mt-10",class:{"pl-10 pr-10":"mobile"===a.$mq}},[n("div",{staticClass:"col-xs-12 col-md-6"},[n("router-link",{staticClass:"display-block panel panel-hover panel-primary panel-bordered mb-10 text-center text-default",attrs:{to:"/witnesses"}},[n("div",{staticClass:"panel-body p-10 display-flex flex-middle flex-center flex-gap-10"},[n("div",{staticClass:"text-primary"},[n("i",{staticClass:"icon-reading icon-2x"})]),n("div",{staticClass:"text-left"},[n("h6",{staticClass:"text-semibold no-margin-bottom mt-5"},[a._v("Witnesses / Validators")]),null!==(i=a.blogUser)&&void 0!==i&&i.proxy?n("div",{staticClass:"small text-muted"},[a._v(" Votes by "),n("span",{staticClass:"text-semibold text-primary"},[a._v("@"+a._s(a.blogUser.proxy))])]):n("div",{staticClass:"small text-muted"},[a._v("Supported Witnesses")])])]),n("div",{staticClass:"panel-body panel-body-accent pb-10 pt-10"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-xs-4 pl-5 pr-5"},[n("div",{staticClass:"text-uppercase text-size-mini text-muted"},[a._v("Voted")]),n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a.supportedWitnesses.length))])]),n("div",{staticClass:"col-xs-4 pl-5 pr-5"},[n("div",{staticClass:"text-uppercase text-size-mini text-muted"},[a._v("Remaining")]),n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(30-a.supportedWitnesses.length))])]),n("div",{staticClass:"col-xs-4 pl-5 pr-5"},[n("div",{staticClass:"text-uppercase text-size-mini text-muted"},[a._v("PeakD Supporter")]),n("h5",{staticClass:"text-semibold no-margin"},[a.supportedWitnesses.findIndex(t=>"steempeak"===t)>=0?n("i",{staticClass:"icon-checkmark-circle text-success"}):n("i",{staticClass:"icon-cancel-circle2 text-danger"})])])])])])],1),n("div",{staticClass:"col-xs-12 col-md-6"},[n("router-link",{staticClass:"display-block panel panel-hover border-purple panel-bordered no-margin-bottom text-center text-default",attrs:{to:"/proposals"}},[n("div",{staticClass:"panel-body p-10 display-flex flex-middle flex-center flex-gap-10"},[n("div",{staticClass:"text-purple"},[n("i",{staticClass:"icon-rocket icon-2x"})]),n("div",{staticClass:"text-left"},[n("h6",{staticClass:"text-semibold no-margin-bottom mt-5"},[a._v("DHF Proposals")]),null!==(s=a.blogUser)&&void 0!==s&&s.proxy?n("div",{staticClass:"small text-muted"},[a._v(" Supported by "),n("span",{staticClass:"text-semibold text-purple"},[a._v("@"+a._s(a.blogUser.proxy))])]):n("div",{staticClass:"small text-muted"},[a._v("Supported Proposals")])])]),n("div",{staticClass:"panel-body panel-body-accent pb-10 pt-10"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-xs-4 pl-5 pr-5"},[n("div",{staticClass:"text-uppercase text-size-mini text-muted"},[a._v("Supported")]),n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a.supportedProposals.length))])]),n("div",{staticClass:"col-xs-4 pl-5 pr-5"},[n("div",{staticClass:"text-uppercase text-size-mini text-muted"},[a._v("Daily Supported")]),n("h5",{staticClass:"text-semibold no-margin"},[a._v(a._s(a._f("numeral")(a.supportedProposalsStats.total,"0,0.00a"))+" HBD")])]),n("div",{staticClass:"col-xs-4 pl-5 pr-5"},[n("div",{staticClass:"text-uppercase text-size-mini text-muted"},[a._v("PeakD Supporter")]),n("h5",{staticClass:"text-semibold no-margin"},[a.supportedProposalsStats.peakd?n("i",{staticClass:"icon-checkmark-circle text-success"}):n("i",{staticClass:"icon-cancel-circle2 text-danger"}
1)])])])])])],1)])])])],2)])])]),a.enableWalletActions&&a.blogUser&&a.blogUser.open_recurrent_transfers>0?n("portal",{attrs:{to:"wallet-sidebar"}},[n("div",{staticClass:"panel panel-flat text-center"},[n("div",{staticClass:"panel-body p-10 no-padding-bottom"},[n("h5",{staticClass:"text-semibold no-margin"},[a._v("Recurring Transfers")]),n("small",{staticClass:"text-muted text-size-small"},[a._v("You currently have "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a.blogUser.open_recurrent_transfers))]),a._v(" recurring transfers.")])]),n("div",{staticClass:"panel-body panel-body-accent p-10"},[n("router-link",{staticClass:"btn bg-blue-800",attrs:{to:`/@${a.$route.params.username}/wallet/recurring`}},[n("i",{staticClass:"icon-calendar position-left"}),a._v(" Manage")])],1)])]):a._e(),a.enableWalletActions?[n("sweet-modal",{ref:"powerUpModal",attrs:{blocking:"","pulse-on-block":!1,"overlay-theme":"dark",title:"Stake HIVE (Power Up)","enable-mobile-fullscreen":!1,width:"mobile"===a.$mq?"100%":null}},[n("div",{staticClass:"well p-10 content-group-sm"},[n("span",{staticClass:"text-muted text-size-small"},[a._v(" Influence tokens which give you more control over post payouts and allow you to earn on curation rewards. "),n("br"),a._v(" Hive Power is non-transferable and requires 3 months (13 payments) to convert back to Hive. ")])]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-xs-12 col-md-6"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("From:")]),n("div",{staticClass:"input-group display-flex flex-middle"},[n("peak-avatar",{staticClass:"avatar avatar-34 display-inline-block mr-5",attrs:{account:a.currentUser.username,"avatar-size":"small"}}),n("input",{directives:[{name:"model",rawName:"v-model",value:a.currentUser.username,expression:"currentUser.username"}],staticClass:"form-control text-semibold",attrs:{type:"text",disabled:""},domProps:{value:a.currentUser.username},on:{input:function(t){t.target.composing||a.$set(a.currentUser,"username",t.target.value)}}})],1)])]),n("div",{staticClass:"col-xs-12 col-md-6"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("To"),n("span",{staticClass:"hidden-xs"},[a._v(" (usually your own account)")]),a._v(":")]),n("div",{staticClass:"input-group",class:{"display-flex flex-middle":a.powerUpToAvatar}},[a.powerUpToAvatar?n("peak-avatar",{key:a.powerUpToAvatar,staticClass:"avatar avatar-34 display-inline-block mr-5",attrs:{account:a.powerUpToAvatar,"avatar-size":"small"}}):n("span",{staticClass:"input-group-addon pr-5 text-muted"},[n("i",{staticClass:"icon-mention"})]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.powerUpTo,expression:"powerUpTo"}],staticClass:"form-control text-semibold",attrs:{type:"text",autocorrect:"none",autocapitalize:"none",spellcheck:"false",placeholder:"PowerUp recipient"},domProps:{value:a.powerUpTo},on:{input:function(t){t.target.composing||(a.powerUpTo=t.target.value)}}})],1)])]),n("div",{staticClass:"col-xs-12 col-md-12"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v(" Amount (Max "),n("a",{staticClass:"text-semibold",on:{click:function(t){t.stopPropagation(),a.powerUpAmount=parseFloat(a.blogUser.balance)}}},[a._v(" "+a._s(a._f("numeral")(parseFloat(a.blogUser.balance),"0,0.000"))+" HIVE ")]),a._v("): ")]),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:a.powerUpAmount,expression:"powerUpAmount"}],staticClass:"form-control display-inline-block text-right",attrs:{type:"number",placeholder:"Amount to use for powering up"},domProps:{value:a.powerUpAmount},on:{input:function(t){t.target.composing||(a.powerUpAmount=t.target.value)}}}),n("div",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"}},[a._v("HIVE")])])]),n("div",{staticClass:"pl-5 pr-5 mt-10"},[n("vue-slider",{staticClass:"vue-peak-slider",attrs:{min:a.powerUpSliderParams.min,max:a.powerUpSliderParams.max,interval:a.power
1UpSliderParams.interval,marks:a.powerUpSliderParams.marks,tooltip:"none","hide-label":!0,contained:!0},on:{change:()=>a.powerUpAmount=a.powerUpAmount>parseFloat(a.blogUser.balance)?parseFloat(a.blogUser.balance):a.powerUpAmount},model:{value:a.powerUpAmount,callback:function(t){a.powerUpAmount=t},expression:"powerUpAmount"}})],1)])])]),a.currentUser.useHivesigner?n("div",{staticClass:"help-block text-muted text-center mt-20 mb-0"},[a._v(" You will be redirected to Hivesigner to complete your transaction. Your Active or Owner key is required to sign this operation. ")]):a._e(),n("div",{staticClass:"text-right",attrs:{slot:"button"},slot:"button"},[n("button",{staticClass:"btn btn-default btn-xs mr-10",on:{click:function(t){return a.closePowerUpModal()}}},[a._v("Cancel")]),n("loading-button",{staticClass:"btn btn-primary btn-xs btn-ladda btn-ladda-spinner",attrs:{disabled:!a.validPowerUpFields,loading:a.powerUpPending},on:{click:function(t){return a.confirmPowerUp()}}},[a._v("Continue")])],1)]),n("sweet-modal",{ref:"powerDownModal",attrs:{blocking:"","pulse-on-block":!1,"overlay-theme":"dark",title:"Unstake HIVE (Power Down)","enable-mobile-fullscreen":!1,width:"mobile"===a.$mq?"100%":null}},[n("div",{staticClass:"well p-10 content-group-sm"},[n("span",{staticClass:"text-muted text-size-small"},[a._v(" Create a Hive Power unstake request. The request is fulfilled once a week over the next 13 weeks. ")])]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Account:")]),n("div",{staticClass:"input-group display-flex flex-middle"},[n("peak-avatar",{staticClass:"avatar avatar-34 display-inline-block mr-5",attrs:{account:a.currentUser.username,"avatar-size":"small"}}),n("input",{directives:[{name:"model",rawName:"v-model",value:a.currentUser.username,expression:"currentUser.username"}],staticClass:"form-control text-semibold",attrs:{type:"text",disabled:""},domProps:{value:a.currentUser.username},on:{input:function(t){t.target.composing||a.$set(a.currentUser,"username",t.target.value)}}})],1)]),n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v(" Amount (Max "),n("a",{staticClass:"text-semibold",on:{click:function(t){t.stopPropagation(),a.powerDownAmount=Math.round(1e3*Math.max(a.hivePower-(a.outgoingDelegatedSP||0)-.001,0))/1e3}}},[a._v(" "+a._s(a._f("numeral")(Math.max(a.hivePower-(a.outgoingDelegatedSP||0)-.001,0),"0,0.000"))+" HP ")]),a._v("): ")]),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:a.powerDownAmount,expression:"powerDownAmount"}],staticClass:"form-control display-inline-block text-right",attrs:{type:"number",placeholder:"HP Amount to unstake"},domProps:{value:a.powerDownAmount},on:{input:function(t){t.target.composing||(a.powerDownAmount=t.target.value)}}}),n("div",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"}},[a._v("HP")])])]),n("div",{staticClass:"pl-5 pr-5 mt-10"},[n("vue-slider",{staticClass:"vue-peak-slider",attrs:{min:a.powerDownSliderParams.min,max:a.powerDownSliderParams.max,interval:a.powerDownSliderParams.interval,marks:a.powerDownSliderParams.marks,tooltip:"none","hide-label":!0,contained:!0},on:{change:()=>a.powerDownAmount=a.powerDownAmount>parseInt(a.hivePower-(a.outgoingDelegatedSP||0))?parseInt(a.hivePower-(a.outgoingDelegatedSP||0)):a.powerDownAmount},model:{value:a.powerDownAmount,callback:function(t){a.powerDownAmount=t},expression:"powerDownAmount"}})],1)]),a.outgoingDelegatedSP&&a.outgoingDelegatedSP>0?n("small",{staticClass:"display-block text-size-small text-muted"},[n("span",{staticClass:"text-semibold"},[a._v("NOTE:")]),a._v(" You are delegating "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(a.outgoingDelegatedSP,"0,0"))+" HIVE")]),a._v(". This amount will not be available to power down until the delegation is removed and 5 days have passed. ")]):a._e()])]),a.powerDownRoutes.length>0?n("small",{staticClass:"display-block well well-sm border-left-lg border-left-warning text-warning mt-10"},[n("div",{staticClass:"media no-margin"},[n("div",{staticClass:"media-left media-middle"},[n("i",{staticClass:"icon-warning2 icon-2x no-edge-top"})]),n("div",{staticClass:"media-body media-middle text-semibold"},[a._v(" This account is configured to automatically forward the unstake (power down) to these accounts: "),n("ul",a._l(a.powerDownRoutes,function(t){return n("li",{key:t.id},[n("span",{staticClass:"text-semibold"},[a._v("@"+a._s(t.to_account))]),a._v(": "+a._s(a._f("numeral")(t.percent/100,"0[.]00"))+" % ")])}),0)])])]):a._e(),a.currentUser.useHivesigner?n("div",{staticClass:"help-block text-muted text-center mt-20 mb-0"},[a._v(" You will be redirected to Hivesigner to complete your transaction. Your Active or Owner key is required to sign this operation. ")]):a._e(),n("div",{staticClass:"display-flex flex-between flex-middle",attrs:{slot:"button"},slot:"button"},[n("div",[a.powerDownAmount>0?n("span",{staticClass:"text-size-small text-muted no-margin-bottom"},[a._v(" You will receive "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(parseFloat(a.powerDownAmount)/13,"0,0.000"))+" HIVE")]),a._v(" per week ")]):a._e()]),n("div",[n("button",{staticClass:"btn btn-default btn-xs mr-10",on:{click:function(t){return a.closePowerDownModal()}}},[a._v("Cancel")]),n("loading-button",{staticClass:"btn btn-primary btn-xs btn-ladda btn-ladda-spinner",attrs:{disabled:!a.validPowerDownFields,loading:a.powerDownPending},on:{click:function(t){return a.confirmPowerDown()}}}
1,[a._v("Continue")])],1)])]),n("sweet-modal",{ref:"delegateModal",attrs:{blocking:"","pulse-on-block":!1,"overlay-theme":"dark",title:"Delegate HP","enable-mobile-fullscreen":!1,width:"mobile"===a.$mq?"100%":null}},[n("div",{staticClass:"well p-10 content-group-sm"},[n("span",{staticClass:"text-muted text-size-small"},[a._v(" Delegate HP (Hive Power) to another account or update an existing delegation. When updating an existing delegation the specified amount will "),n("u",[a._v("replace")]),a._v(" the previous amount. If the delegation amount is reduced it will takes 5 days until the HP is available again in your account. ")])]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-xs-12 col-md-6"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Delegator:")]),n("div",{staticClass:"input-group display-flex flex-middle"},[n("peak-avatar",{staticClass:"avatar avatar-34 display-inline-block mr-5",attrs:{account:a.currentUser.username,"avatar-size":"small"}}),n("input",{directives:[{name:"model",rawName:"v-model",value:a.currentUser.username,expression:"currentUser.username"}],staticClass:"form-control text-semibold",attrs:{type:"text",disabled:""},domProps:{value:a.currentUser.username},on:{input:function(t){t.target.composing||a.$set(a.currentUser,"username",t.target.value)}}})],1)])]),n("div",{staticClass:"col-xs-12 col-md-6"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Delegatee:")]),n("div",{staticClass:"input-group",class:{"display-flex flex-middle":a.delegateToAvatar}},[a.delegateToAvatar?n("peak-avatar",{key:a.delegateToAvatar,staticClass:"avatar avatar-34 display-inline-block mr-5",attrs:{account:a.delegateToAvatar,"avatar-size":"small"}}):n("span",{staticClass:"input-group-addon pr-5 text-muted"},[n("i",{staticClass:"icon-mention"})]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.delegateTo,expression:"delegateTo"}],staticClass:"form-control text-semibold",attrs:{type:"text",autocorrect:"none",autocapitalize:"none",spellcheck:"false",placeholder:"Delegatee account"},domProps:{value:a.delegateTo},on:{input:function(t){t.target.composing||(a.delegateTo=t.target.value)}}})],1)])]),n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Hive Power Amount (Max available "),n("a",{staticClass:"text-semibold",on:{click:function(t){a.delegateSPAmount=a.maxAvailableDelegationSP}}},[a._v(a._s(a._f("numeral")(a.maxAvailableDelegationSP,"0,0.000"))+" HP")]),a._v("):")]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.delegateSPAmount,expression:"delegateSPAmount"}],staticClass:"form-control",attrs:{type:"number",placeholder:"How much do you want to delegate"},domProps:{value:a.delegateSPAmount},on:{input:function(t){t.target.composing||(a.delegateSPAmount=t.target.value)}}})])])]),a.currentUser.useHivesigner?n("div",{staticClass:"help-block text-muted text-center mt-20 mb-0"},[a._v(" You will be redirected to Hivesigner to complete your transaction. Your Active or Owner key is required to sign this operation. ")]):a._e(),n("div",{staticClass:"text-right",attrs:{slot:"button"},slot:"button"},[n("button",{staticClass:"btn btn-default btn-xs mr-10",on:{click:function(t){return a.closeDelegateModal()}}},[a._v("Cancel")]),n("loading-button",{staticClass:"btn btn-primary btn-xs btn-ladda btn-ladda-spinner",attrs:{disabled:!a.validDelegateFields,loading:a.delegatePending},on:{click:function(t){return a.confirmDelegation()}}},[a._v("Continue")])],1)]),n("sweet-modal",{ref:"convertModal",attrs:{blocking:"","pulse-on-block":!1,"overlay-theme":"dark",title:"HBD"===a.convertType?"Convert HBD to HIVE":"Convert HIVE to HBD","enable-mobile-fullscreen":!1,width:"mobile"===a.$mq?"100%":null}},[n("div",{staticClass:"well p-10 content-group-sm"},["HBD"===a.convertType?n("span",{staticClass:"text-muted text-size-small"},[n("div",{staticClass:"text-semibold"},[a._v("WHAT TO EXPECT:")]),a._v(' Convert each HBD into $1 USD worth of HIVE determined by the 3.5 days "median" price (using the price feeds from the Hive witnesses).'),n("br"),a._v(" HIVE will be created and delivered after 3.5 days by the Hive blockchain."),n("br"),a._v(" Because this is not a market there is no volume limitation or order book price impact to HIVE or HBD. ")]):n("span",{staticClass:"text-muted text-size-small"},[n("div",{staticClass:"text-semibold"},[a._v("WHAT TO EXPECT:")]),a._v(" This conversion system is fundamentally unique."),n("br"),a._v(" You deposit collateral (HIVE), then you are given HBD up front worth half of the collateral amount (minus a 5% fee)."),n("br"),a._v(" Your official final payment is in 3.5 days. At that point remaining collateral (HIVE) is returned. ")])]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6 col-xs-12"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Account:")]),n("div",{staticClass:"input-group"},[n("span",{staticClass:"input-group-addon pr-5 text-muted"},[n("i",{staticClass:"icon-mention"})]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.currentUser.username,expression:"currentUser.username"}],staticClass:"form-control text-semibold",attrs:{type:"text",disabled:""},domProps:{value:a.currentUser.username},on:{input:function(t){t.target.composing||a.$set(a.currentUser,"username",t.target.value)}}})])])]),n("div",{staticClass:"col-md-6 col-xs-12"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Request ID:")]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.convertRequestId,expression:"convertRequestId"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Request ID",disabled:""},domProps:{value:a.convertRequestId}
1,on:{input:function(t){t.target.composing||(a.convertRequestId=t.target.value)}}})])]),n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Convert Amount (Max available "),n("a",{staticClass:"text-semibold",on:{click:function(t){a.convertAmount=a.convertAvailableBalance}}},[a._v(a._s(a._f("numeral")(a.convertAvailableBalance,"0,0.000"))+" "+a._s(a.convertType))]),a._v("):")]),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:a.convertAmount,expression:"convertAmount"}],staticClass:"form-control",attrs:{type:"number",placeholder:"Amount to convert"},domProps:{value:a.convertAmount},on:{input:function(t){t.target.composing||(a.convertAmount=t.target.value)}}}),n("dropdown",{staticClass:"input-group-btn dropdown-fixed-160",staticStyle:{"flex-shrink":"0"},attrs:{tag:"div","menu-right":"","append-to-body":""}},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"}},[a._v(a._s(a.convertType)+" "),n("span",{staticClass:"caret"})]),n("template",{slot:"dropdown"},[n("li",[n("a",{on:{click:function(t){a.convertType="HIVE"}}},[a._v("HIVE")])]),n("li",[n("a",{on:{click:function(t){a.convertType="HBD"}}},[a._v("HBD")])])])],2)],1),"HBD"===a.convertType?[n("small",{staticClass:"display-block text-muted",attrs:{set:a.estimate=a.estimateTokenValue(a.convertAmount,a.convertType)}},[a._v(" Estimated value: "),n("span",{staticClass:"text-semibold"},[a._v("~$"+a._s(a._f("numeral")(a.estimate.value||0,"0,0[.]00"))+" USD")]),a.estimate.price?n("span",[a._v(" (1 HBD = "+a._s(a._f("numeral")(a.estimate.price,"0,0[.]00"))+" USD, by "+a._s(a.estimate.source)+")")]):a._e()]),n("small",{staticClass:"display-block text-muted",attrs:{set:a.priceFeed=a.priceFeedTokenValue(a.convertAmount,a.convertType)}},[a._v(" Estimated HIVE amount: "),n("span",{staticClass:"text-semibold"},[a._v("~"+a._s(a._f("numeral")(a.priceFeed.value||0,"0,0[.]00"))+" HIVE")]),a.priceFeed.price?n("span",[a._v(" (1 HIVE = "+a._s(a._f("numeral")(a.priceFeed.price,"0,0[.]00"))+" HBD)")]):a._e()])]:[n("small",{staticClass:"display-block text-muted",attrs:{set:a.estimate=a.estimateTokenValue(a.convertAmount,a.convertType)}},[a._v(" Estimated value: "),n("span",{staticClass:"text-semibold"},[a._v("~$"+a._s(a._f("numeral")(a.estimate.value||0,"0,0[.]00"))+" USD")]),a.estimate.price?n("span",[a._v(" (1 HIVE = "+a._s(a._f("numeral")(a.estimate.price,"0,0[.]00"))+" USD, by "+a._s(a.estimate.source)+")")]):a._e()]),n("small",{staticClass:"display-block text-muted",attrs:{set:a.priceFeed=a.priceFeedTokenValue(a.convertAmount,a.convertType)}},[a._v(" HBD to be paid immediately: "),n("span",{staticClass:"text-semibold"},[a._v("~$"+a._s(a._f("numeral")(.95*(a.priceFeed.value||0)/2,"0,0[.]00"))+" HBD")]),a.priceFeed.price?n("span",[a._v(" (1 HIVE = "+a._s(a._f("numeral")(a.priceFeed.price,"0,0[.]00"))+" HBD)")]):a._e(),a.priceFeed.value?n("i",{directives:[{name:"tippy",rawName:"v-tippy",value:{allowTitleHTML:!0},expression:"{ allowTitleHTML: true }"}],staticClass:"icon-info22 ml-5",attrs:{title:`(${a.convertAmount} HIVE / 2) * .95 * $${a.priceFeed.price} = ${.95*a.priceFeed.value/2} HBD<br>Remaining Hive collateral returned in 3.5 days`}}):a._e()])]],2)])]),"HBD"===a.convertType?n("div",{staticClass:"well p-10 content-group-sm text-muted text-size-small"},[n("a",{staticClass:"display-block text-semibold mb-5",on:{click:function(t){a.convertHelp="use_cases"===a.convertHelp?null:"use_cases"}}},[a._v("USE CASES")]),"use_cases"===a.convertHelp?[n("ol",{staticClass:"list mt-5"},[n("li",[a._v(" IF you want to hold HIVE instead of HBD then this is a simple and easy (though slow) system and there is no fee or limit to what you can convert ")]),n("li",[a._v(" IF you can buy HBD for less than $1 USD from a 3rd party you could convert the HB
1D to $1 worth of HIVE and then keep or sell resulting $1 USD of HIVE. ")])]),n("hr",{staticClass:"mt-10 mb-10"})]:a._e(),n("a",{staticClass:"display-block text-semibold",on:{click:function(t){a.convertHelp="warnings"===a.convertHelp?null:"warnings"}}},[a._v("WARNINGS")]),"warnings"===a.convertHelp?[n("ul",{staticClass:"list mt-5"},[n("li",[a._v("The value of HIVE will vary during 3.5 days and it is difficult to predict what the median of HIVE will be for 3.5 days")]),n("li",[a._v(" If HIVE starts high and ends low the median price will be higher than the ending price and you may get less HIVE than you could get for trades in external markets ")]),n("li",[n("span",{staticClass:"text-semibold"},[a._v("Remember:")]),a._v(" You get more HIVE the lower the median price.")])])]:a._e()],2):n("div",{staticClass:"well p-10 content-group-sm text-muted text-size-small"},[n("a",{staticClass:"display-block text-semibold mb-5",on:{click:function(t){a.convertHelp="why"===a.convertHelp?null:"why"}}},[a._v("WHAT IS HBD AND WHY CONVERT")]),"why"===a.convertHelp?[n("div",{staticClass:"mb-5 mt-5"},[a._v(" HBD is a token meant to be pegged to the USD and which presently has a "),a.hbdInterestRate?n("span",[a._v(a._s(a._f("numeral")(a.hbdInterestRate,"0.00"))+"%")]):a._e(),a._v(' APR associated to the tokens for holders who place HBD in their "savings". There are 2 separate conversion features that allow accounts to take advantage of when price is well above $1 or when it is below $1 and therefore keeps HBD more stable. ')]),n("hr",{staticClass:"mt-10 mb-10"})]:a._e(),n("a",{staticClass:"display-block text-semibold mb-5",on:{click:function(t){a.convertHelp="how"===a.convertHelp?null:"how"}}},[a._v("HOW HIVE CONVERSION WORKS")]),"how"===a.convertHelp?[n("ol",{staticClass:"list mt-5"},[n("li",[a._v("The conversion process uses a 3.5 day median valuation of the price of HIVE to avoid manipulation avenues")]),n("li",[a._v(" However, a perk is that half of your deposited HIVE will immediately be converted to HBD. The initial HBD payment is paid using the lowest median HIVE price from the previous 3.5 days based on Hive witnesses price feed. ")]),n("li",[a._v(" Finally at the end of 3.5 days the median average HIVE value is officially determined and the exact amount of HIVE it should cost to get the HBD you were already sent is finalized ")]),n("li",[a._v("Whatever HIVE is NOT used to cover the official cost of the HBD is returned to your account.")])]),a._v(" RECAP: You can expect a provably fair and stable HIVE to HBD conversion minus 5% burned fee by the blockchain. "),n("hr",{staticClass:"mt-10 mb-10"})]:a._e(),n("a",{staticClass:"display-block text-semibold",on:{click:function(t){a.convertHelp="when"===a.convertHelp?null:"when"}}},[a._v("UNDERSTANDING WHEN NOT TO USE")]),"when"===a.convertHelp?[n("ul",{staticClass:"list mt-5"},[n("li",[a._v(" IF you can get the volume of HBD you want in a secondary market by selling your HIVE and buying HBD for less than $1.05 then that is more efficient than this conversion process ")]),n("li",[a._v(" AND if you personally believe the present value of HIVE will be significantly higher right now than it will be assuming the predicted 3.5 day median average. ")])])]:a._e()],2),a.currentUser.useHivesigner?n("div",{staticClass:"help-block text-muted text-center mt-20 mb-0"},[a._v(" You will be redirected to Hivesigner to complete your transaction. Your Active or Owner key is required to sign this operation. ")]):a._e(),n("div",{staticClass:"text-right",attrs:{slot:"button"},slot:"button"},[n("button",{staticClass:"btn btn-default btn-xs mr-10",on:{click:function(t){return a.closeConvertModal()}}},[a._v("Cancel")]),n("loading-button",{staticClass:"btn btn-primary btn-xs btn-ladda btn-ladda-spinner",attrs:{disabled:!a.validConvertFields,loading:a.convertRequestPending},on:{click:function(t){return a.confirmConversionRequest()}}},[a._v("Continue")])],1)]),n("sweet-modal",{ref:"transferToSavingsModal",attrs:{blocking:"","pulse-on-block":!1,"overlay-theme":"dark",title:a.generateTitleForTransferToSavings(a.savingsWithdraw,a.savingsCurrency),"enable-mobile-fullscreen":!1,width:"mobile"===a.$mq?"100%":null}},[n("div",{staticClass:"well p-10 content-group-sm"},[a.savingsWithdraw?n("span",{staticClass:"text-muted text-size-small"},[a._v(" Unstake/Withdraw funds from saving. It requires a 3 days waiting period. ")]):n("span",{staticClass:"text-muted text-size-small"},[a._v(" Stake/Move funds to savings. Funds will be subject to 3 days unstake/withdraw waiting period. ")])]),n("div",{staticClass:"row"},[n("div",{staticClass:"col-xs-12 col-md-6"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("From:")]),n("div",{staticClass:"input-group display-flex flex-middle"},[n("peak-avatar",{staticClass:"avatar avatar-34 display-inline-block mr-5",attrs:{account:a.currentUser.username,"avatar-size":"small"}}),n("input",{directives:[{name:"model",rawName:"v-model",value:a.currentUser.username,expression:"currentUser.username"}],staticClass:"form-control text-semibold",attrs:{type:"text",disabled:""},domProps:{value:a.currentUser.username},on:{input:function(t){t.target.composing||a.$set(a.currentUser,"username",t.target.value)}}})],1)])]),n("div",{staticClass:"col-xs-12 col-md-6"},[a.savingsWithdraw?a._e():n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("To:")]),n("div",{staticClass:"input-group",class:{"display-flex flex-middle":a.savingsToAvatar}},[a.savingsToAvatar?n("peak-avatar",{key:a.savingsToAvatar,staticClass:"avatar avatar-34 display-inline-block mr-5",attrs:{account:a.savingsToAvatar,"avatar-size":"small"}}):n("span",{staticClass:"input-group-addon pr-5 text-muted"},[n("i",{staticClass:"icon-mention"})]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.savingsTo,expression:"savingsTo"}],staticClass:"form-control text-semibold",attrs:{type:"text",autocorrect:"none",autocapitalize:"none",spellcheck:"false",placeholder:"Saving account recipient"},domProps:{value:a.savingsTo}
1,on:{input:function(t){t.target.composing||(a.savingsTo=t.target.value)}}})],1)])]),n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Amount (Balance: "),n("a",{staticClass:"text-semibold",on:{click:function(t){t.stopPropagation(),a.savingsAmount=a.savingAvailableBalance}}},[a._v(a._s(a._f("numeral")(a.savingAvailableBalance,"0,0.000"))+" "+a._s(a.savingsCurrency))]),a._v("):")]),n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:a.savingsAmount,expression:"savingsAmount"}],staticClass:"form-control",attrs:{type:"number",placeholder:"How much do you want to store"},domProps:{value:a.savingsAmount},on:{input:function(t){t.target.composing||(a.savingsAmount=t.target.value)}}}),n("div",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"}},[a._v(a._s(a.savingsCurrency))])])]),n("small",{staticClass:"display-block text-muted",attrs:{set:a.estimate=a.estimateTokenValue(a.savingsAmount,a.savingsCurrency)}},[a._v(" Estimated value: "),n("span",{staticClass:"text-semibold"},[a._v("~$"+a._s(a._f("numeral")(a.estimate.value||0,"0,0[.]00"))+" USD")]),a.estimate.price?n("span",[a._v(" (1 "+a._s(a.savingsCurrency)+" = "+a._s(a._f("numeral")(a.estimate.price,"0,0[.]00"))+" USD, by "+a._s(a.estimate.source)+")")]):a._e()])]),a.savingsWithdraw?a._e():n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("Memo:")]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.savingsMemo,expression:"savingsMemo"}],staticClass:"form-control",attrs:{type:"text",placeholder:"A message to include in the transaction"},domProps:{value:a.savingsMemo},on:{input:function(t){t.target.composing||(a.savingsMemo=t.target.value)}}})]),a.savingBadActorWarning||a.savingExchangeWarning?n("div",[a.savingBadActorWarning?n("small",{staticClass:"display-block well well-sm border-left-lg border-left-danger text-danger mt-10"},[n("div",{staticClass:"media no-margin"},[n("div",{staticClass:"media-left media-middle"},[n("i",{staticClass:"icon-warning2 icon-2x no-edge-top"})]),1===a.savingBadActorWarning?n("div",{staticClass:"media-body media-middle text-semibold"},[a._v(" This account is a misspelling of a well known account. It is strongly advised to not send funds. ")]):n("div",{staticClass:"media-body media-middle text-semibold"},[a._v(" This account is a very similar to a well known account (similarity "+a._s(a._f("numeral")(100*a.savingBadActorWarning,"0,0"))+"%). "),n("br"),a._v(" Please double check the name before sending funds. ")])])]):a.savingExchangeWarning?n("small",{staticClass:"display-block well well-sm border-left-lg border-left-orange-400 text-orange mt-10"},[n("div",{staticClass:"media no-margin"},[n("div",{staticClass:"media-left media-middle"},[n("i",{staticClass:"icon-info22 icon-2x no-edge-top"})]),n("div",{staticClass:"media-body media-middle text-semibold"},[a._v(" WE HAVE DETECTED AN EXCHANGE/SERVICE ACCOUNT. "),n("br"),a._v(" Usually exchanges and external services don't support transfers to SAVINGS. Proceed at your own risk ")])])]):a._e()]):a._e()])]),a.currentUser.useHivesigner?n("div",{staticClass:"help-block text-muted text-center mt-20 mb-0"},[a._v(" You will be redirected to Hivesigner to complete your transaction. Your Active or Owner key is required to sign this operation. ")]):a._e(),n("div",{staticClass:"text-right",attrs:{slot:"button"},slot:"button"},[n("button",{staticClass:"btn btn-default btn-xs mr-10",on:{click:function(t){return a.closeTransferToSavingsModal()}}},[a._v("Cancel")]),n("loading-button",{staticClass:"btn btn-xs btn-ladda btn-ladda-spinner",class:a.savingBadActorWarning?"btn-danger":a.savingExchangeWarning?"bg-orange-600":"btn-primary",attrs:{disabled:!a.validTransferToSavingsFields,loading:a.savingsPending},on:{click:function(t){return a.confirmTransferToSavings()}}},[a._v("Continue")])],1)]),n("sweet-modal",{ref:"createClaimedAccountModal",attrs:{blocking:"","pulse-on-block":!1,"overlay-theme":"dark",title:a.createClaimedAccountUseHive?"Create Account":"Create Claimed Account","enable-mobile-fullscreen":!1,width:"mobile"===a.$mq?"100%":null}},[a.validClaimedAccountUsername?[n("div",{staticClass:"alert bg-pink text-semibold content-group-sm"},[a._v("Store the private keys for the new account before confirming the operation.")]),n("small",{staticClass:"display-block"},[n("pre",{staticClass:"p-10"},[a._v(a._s(a.createClaimedAccountKeysText))])]),n("div",{staticClass:"text-center content-group-sm mt-5"},[n("button",{staticClass:"btn btn-default",on:{click:function(t){return a.downloadCreateClaimedAccountKeys()}}},[a._v(" Download Keys "),n("i",{staticClass:"icon-cloud-download2 position-right"})])]),n("div",[n("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:a.createClaimedAccountFlag,callback:function(t){a.createClaimedAccountFlag=t},expression:"createClaimedAccountFlag"}}),a._v(" I have stored the account password and private keys in a safe place. ")],1),a.currentUser.useHivesigner?n("div",{staticClass:"help-block text-muted text-center mt-20 mb-0"},[a._v(" You will be redirected to Hivesigner to complete your transaction. Your Active or Owner key is required to sign this operation. ")]):a._e(),n("div",{staticClass:"text-right",attrs:{slot:"button"},slot:"button"},[n("button",{staticClass:"btn btn-default btn-xs mr-10",on:{click:function(t){return a.closeCreateClaimedAccountModal()}}},[a._v("Cancel")]),n("loading-button",{staticClass:"btn btn-primary btn-xs btn-ladda btn-ladda-spinner",attrs:{loading:a.claimAccountPending,disabled:!a.createClaimedAccountFlag},on:{click:function(t){return a.confirmCreateClaimedAccount()}}}
1,[a._v("Continue")])],1)]:[n("div",{staticClass:"well p-10 content-group-sm"},[a.createClaimedAccountUseHive?n("span",[a._v(" Create an account burning "),n("span",{staticClass:"text-semibold"},[a._v(a._s(a._f("numeral")(a.createClaimedAccountHiveFee,"0.000"))+" HIVE")]),a._v(". ")]):n("span",[a._v(" Create an account using one of your claimed tokens. ")])]),n("div",{staticClass:"form-group"},[n("label",{staticClass:"text-size-small no-margin-bottom"},[a._v("New account username:")]),n("div",{staticClass:"input-group"},[n("span",{staticClass:"input-group-addon pr-5 text-muted"},[n("i",{staticClass:"icon-mention"})]),n("input",{directives:[{name:"model",rawName:"v-model",value:a.createClaimedAccountUsername,expression:"createClaimedAccountUsername"}],staticClass:"form-control text-semibold",attrs:{type:"text",placeholder:"Username"},domProps:{value:a.createClaimedAccountUsername},on:{input:function(t){t.target.composing||(a.createClaimedAccountUsername=t.target.value)}}})]),n("span",{staticClass:"help-block text-muted"},[a._v("Usernames must be longer than 3 and shorter than 16 characters.")])]),n("div",{staticClass:"alert bg-pink text-semibold"},[a._v(" The keys generated during this procedure should be safely stored and not shared with others. A backup is strongly reccommended. ")]),n("div",{staticClass:"text-right",attrs:{slot:"button"},slot:"button"},[n("button",{staticClass:"btn btn-default btn-xs mr-10",on:{click:function(t){return a.closeCreateClaimedAccountModal()}}},[a._v("Cancel")]),n("loading-button",{staticClass:"btn btn-primary btn-xs btn-ladda btn-ladda-spinner",attrs:{loading:a.claimAccountPending,disabled:!a.createClaimedAccountUsername},on:{click:function(t){return a.reviewCreateClaimedAccount()}}},[a._v("Review")])],1)]],2)]:a._e()],2)},v=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex-grow"},[e("h5",{staticClass:"text-semibold"},[t._v("Pending Rewards")]),e("div",{staticClass:"text-muted"},[t._v("You have some pending rewards to claim.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"v-connector hive"},[e("div",{staticClass:"h-connector hive"})])},function(){var t=this,e=t._self._c;return e("div",[e("h5",{staticClass:"text-semibold no-margin no-padding"},[t._v("Staked HIVE - Hive Power (HP)")])])},function(){var t=this,e=t._self._c;return e("span",[t._v("More "),e("span",{staticClass:"caret"})])},function(){var t=this,e=t._self._c;return e("span",[t._v(" Stake/Power up your HIVE tokens to have special abilities on the Hive Blockchain: "),e("ul",{staticClass:"pt-5 no-margin-bottom"},[e("li",[t._v("Larger voting power and increased curation rewards")]),e("li",[t._v("More resource credits to do transactions on Hive Blockchain")]),e("li",[t._v("More stake in Hive governance to support witnesses and projects")])])])},function(){var t=this,e=t._self._c;return e("div",[e("h5",{staticClass:"text-semibold no-margin no-padding"},[t._v("Delegated HIVE")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-muted"},[e("span",[t._v("Staked tokens delegated between users.")])])},function(){var t=this,e=t._self._c;return e("b",[e("i",{staticClass:"icon-search4 position-left"})])},function(){var t=this,e=t._self._c;return e("b",[e("i",{staticClass:"icon-search4 position-left"})])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"text-muted"},[e("i",{staticClass:"icon-history mr-5"}),t._v(" expiring...")])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"pl-5 pr-5 no-border-top"},[e("div",{staticClass:"ml-20",staticStyle:{position:"relative"}},[e("div",{staticClass:"curved-connector hive"}),e("div",[e("h5",{staticClass:"text-semibold no-margin no-padding"},[t._v("HIVE Savings")])]),e("div",{staticClass:"text-muted"},[e("p",[t._v("Balance is subject to 3 days withdraw waiting period.")])])])])},function(){var t=this,e=t._self._c;return e("b",[e("i",{staticClass:"icon-arrow-down16 position-left"})])},function(){var t=this,e=t._self._c;return e("div",[e("h5",{staticClass:"text-semibold no-margin no-padding"},[t._v("Staked HBD")])])},function(){var t=this,e=t._self._c;return e("b",[e("i",{staticClass:"icon-arrow-down16 position-left"})])},function(){var t=this,e=t._self._c;return e("div",[e("h5",{staticClass:"text-semibold no-margin no-padding"},[t._v("Staked HBD - Claimable")])])},function(){var t=this,e=t._self._c;return e("div",[e("h5",{staticClass:"text-semibold"},[t._v("Hive Governance")]),e("div",{staticClass:"text-muted"},[t._v("Account details related to Hive governance.")])])}],h=(i(7588),i(61701),i(18237),i(14603),i(47566),i(98721),i(27064)),g=i.n(h),f=i(38221),b=i.n(f),_=i(95093),y=i.n(_),w=i(26170),C=i(57698),x=i(90295),k=i(16367),A=i(80958),D={name:"HiveWallet",mixins:[l.A,u.Ay,c.A,d.A],components:{LoadingButton:k.A},props:{blogUser:{type:Object,required:!0},blogUserRc:{type:Object,required:!1},hivePrice:{type:Number},hbdPrice:{type:Number},advancedView:{type:Boolean}},data(){return{outgoingDelegations:null,incomingDelegations:null,outgoingRcDelegations:null,incomingRcDelegations:null,hpAndRcDelegationsFilter:"",showDelegationDetail
1s:!1,showRcDelegationDetails:!1,conversionRequests:null,collateralConversionRequests:null,marketOpenOrders:null,savingsWithdraws:null,claimInterestPending:!1,powerUpTo:"",powerUpToAvatar:"",powerUpAmount:0,powerUpSliderOptions:{width:"100%",show:!0,min:0,max:100,tooltip:!1,piecewise:!0},powerUpPending:!1,powerDownAmount:0,powerDownRoutes:[],powerDownPending:!1,delegateTo:"",delegateToAvatar:"",delegateSPAmount:0,delegatePreviousSPAmount:0,delegatePending:!1,delegateRcPending:!1,convertRequestId:null,convertAmount:0,convertType:"HBD",convertHelp:null,convertRequestPending:!1,savingsWithdraw:!1,savingsCurrency:"",savingsTo:"",savingsToAvatar:"",savingsAmount:0,savingsMemo:"",savingsPending:!1,createClaimedAccountUseHive:!1,createClaimedAccountHiveFee:3,createClaimedAccountUsername:null,validClaimedAccountUsername:null,createClaimedAccountPassword:null,createClaimedAccountKeys:null,createClaimedAccountFlag:!1,claimAccountPending:!1,claimRewardPending:!1,claimRewardCompleted:!1,hiveUsdValue:0,hiveUsdTrend:null,sbdUsdValue:0,hbdUsdTrend:null,showMore:!1,supportedWitnesses:[],supportedProposals:[]}},watch:{powerUpTo:b()(function(t){this.powerUpToAvatar=t},500),delegateTo:b()(function(t){this.delegateToAvatar=t},500),savingsTo:b()(function(t){this.savingsToAvatar=t},500),"blogUser.proxy":function(){this.refreshSupportedWitnesses(),this.refreshSupportedProposals()}},computed:{...(0,n.L8)({currentUser:"currentUser",currentGlobalProperties:"currentGlobalProperties",currentFeedPrice:"currentFeedPrice",currentFeedHistory:"currentFeedHistory",hiveMarketPrice:"hiveMarketPrice",hbdMarketPrice:"hbdMarketPrice"}),enableWalletActions:function(){return this.currentUser&&this.blogUser.name===this.currentUser.username},showClaimRewardPanel:function(){return!(!this.currentUser||this.blogUser.name!==this.currentUser.username)&&(!this.claimRewardCompleted&&(parseFloat(this.currentUser.account.reward_hive_balance)>0||(parseFloat(this.currentUser.account.reward_hbd_balance)>0||parseFloat(this.currentUser.account.reward_vesting_hive)>0)))},validPowerUpFields:function(){return!(!this.currentUser||!this.currentUser.username)&&(!(!this.powerUpTo||this.powerUpTo.length<3||this.powerUpTo.length>16)&&(this.powerUpAmount&&this.powerUpAmount>0))},validPowerDownFields:function(){return!(!this.currentUser||!this.currentUser.username)&&(this.powerDownAmount&&this.powerDownAmount>0)},validDelegateFields:function(){return!(!this.currentUser||!this.currentUser.username)&&(!(!this.delegateTo||""===this.delegateTo||this.delegateTo.length<3)&&!isNaN(this.delegateSPAmount))},validConvertFields:function(){return!(!this.currentUser||!this.currentUser.username)&&(!!this.convertRequestId&&(this.convertAmount&&this.convertAmount>0))},validTransferToSavingsFields:function(){return!(!this.currentUser||!this.currentUser.username)&&(!(!this.savingsTo||""===this.savingsTo||this.savingsTo.length<3)&&!(!this.savingsAmount||this.savingsAmount<=0))},hivePower:function(){return this.blogUser&&this.blogUser.vesting_shares&&this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares?parseFloat(this.vestToHive(this.blogUser.vesting_shares,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive)):""},hivePowerPowerDownDetails:function(){if(this.blogUser.next_vesting_withdrawal&&this.blogUser.vesting_withdraw_rate&&this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares){let t=y().utc(this.blogUser.next_vesting_withdrawal);if(t.isAfter(y().unix(0).utc())&&this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares){const e=parseFloat(this.blogUser.vesting_withdraw_rate.split(" ")[0]),i=(parseFloat(this.blogUser.to_withdraw)-parseFloat(this.blogUser.withdrawn))/1e6,s=Math.min(e,i),a=parseFloat(this.currentGlobalProperties.total_vesting_shares.split(" ")[0]),n=parseFloat(this.currentGlobalProperties.total_vesting_fund_hive.split(" ")[0]),r=n*(s/a);return{remaining:t.fromNow(),amount:r,weeks:Math.round(i/e)}}}return null},convertAvailableBalance:function(){return"HIVE"===this.convertType?parseFloat(this.blogUser.balance):"HBD"===this.convertType?parseFloat(this.blogUser.hbd_balance):null},savingAvailableBalance:function(){return"HIVE"===this.savingsCurrency?this.savingsWithdraw?parseFloat(this.blogUser.savings_balance):parseFloat(this.blogUser.balance):"HBD"===this.savingsCurrency?this.savingsWithdraw?parseFloat(this.blogUser.savings_hbd_balance):parseFloat(this.blogUser.hbd_balance):null},savingBadActorWarning:function(){return(0,w.Z)(this.savingsTo)},savingExchangeWarning:function(){return C.A.find(t=>t.account===this.savingsTo)},delegatedHP:function(){return this.blogUser&&this.blogUser.name&&this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares?this.calculateTotalDelegatedSP(this.blogUser,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive):0},incomingDelegatedSP:function(){return this.blogUser&&this.blogUser.name&&this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares?parseFloat(this.currentGlobalProperties.total_vesting_fund_hive)*(parseFloat(this.blogUser.received_vesting_shares)/parseFloat(this.currentGlobalProperties.total_vesting_shares)):null},outgoingDelegatedSP:function(){return this.blogUser&&this.blogUser.name&&this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares?parseFloat(this.currentGlobalProperties.total_vesting_fund_hive)*(parseFloat(this.blogUser.delegated_vesting_shares)/parseFloat(this.currentGlobalProperties.total_vesting_shares)):null},maxAvailableDelegationSP:function(){let t=parseFloat(this.hivePower);const e=this.delegatePreviousSPAmount&&parseFloat(this.delegatePreviousSPAmount)>0?parseFloat(this.delegatePreviousSPAmount):0;return t+=e,t-=parseFloat(this.outgoingDelegatedSP),this.hivePowerPowerDownDetails&&this.hivePowerPowerDownDetails.amount>0&&(t-=this.hivePowerPowerDownDetails.amount*this.hivePowerPowerDownDetails.weeks),t=t>100?t-10:t>10?t-1:t>1?t:0,Math.round(1e3*t)/1e3},totalProxyReceivedHP:function(){var t;if(null===(t=this.blogUser)||void 0===t||!t.proxied_vsf_votes||!this.currentGlobalProperties)return 0;const e=this.blogUser.proxied_vsf_votes.reduce((t,e)=>t+parseInt(e),0);return parseFloat(this.vestToHive(e,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive))/1e6},accountValue:function(){return this.blogUser&&this.currentGlobalProperties?this.calculateEstAccountValue(this.blogUser,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive,this.hivePrice,this.hbdPrice,this.conversionRequests,this.hiveSavingsWithdraws,this.hbdSavingsWithdraws):null},createClaimedAccountKeysText:function(){return`Hive Username: ${this.validClaimedAccountUsername}\n\nOwner Key: ${this.createClaimedAccountKeys.owner}\n\nActive Key: ${this.createClaimedAccountKeys.active}\n\nPosting Key: ${this.createClaimedAccountKeys.posting}\n\nMemo Key: ${this.createClaimedAccountKeys.memo}\n\nBackup (Master) Password: ${this.createClaimedAccountPassword}`},powerUpSliderParams:function(){if(!this.blogUser.balance)return{marks:[]};const t=Math.ceil(parseFloat(this.blogUser.balance)),e=t>100?1:t>50?.5:.1;return{min:0,max:t,interval:Math.max(t/1e3,e),marks:[0,1,2,3,4].map(t=>{const e=parseFloat(this.blogUser.balance);return e>100?Math.ceil(e/4*t):e/4*t})}},powerDownSliderParams:function(){const t=parseInt(this.hivePower-(this.outgoingDelegatedSP||0));if(!t)return{marks:[]};const e=parseInt(this.hivePower-(this.outgoingDelegatedSP||0)),i=e>100?1:e>50?.5:.1,s=[0,1,2,3].map(e=>t>100?Math.ceil(t/4*e):t/4*e),a=[Math.ceil(t)];return{min:0,max:e,interval:Math.max(e/1e3,i),marks:s.concat(a)}},hiveInterestRate:function(){if(!this.currentGlobalProperties||!this.currentGlobalProperties.head_block_number)return null;const t=9.5,e=7e6,i=25e4,s=.01,a=this.currentGlobalProperties.head_block_number,n=a-e,r=n/i;let o=t-r*s;o<.95&&(o=.95);const l=this.currentGlobalProperties.vesting_reward_percent/1e4,c=this.currentGlobalProperties.virtual_supply.split(" ").shift(),d=this.currentGlobalProperties.total_vesting_fund_hive.split(" ").shift();return c*o*l/d},hbdInterestRate:function(){return this.currentGlobalProperties&&this.currentGlobalProperties.hbd_interest_rate&&this.currentGlobalProperties.hbd_interest_rate/100},savingHbdInterestBalance:function(){if(!this.hbdInterestRate||!this.blogUser.name)return null;const t=y().utc(this.blogUser.savings_hbd_last_interest_payment).add(30,"days"),e=y().duration(t.diff(y().utc()));return{balance:this.estimateInterestBalance(this.blogUser),ready:t.isBefore(y().utc()),remaining:e.asDays()>2?`${parseInt(e.asDays())} days`:e.asHours()>1?`${parseInt(e.asHours())} hours`:`${parseInt(e.asMinutes())} mins`}},hiveSavingsWithdraws:function(){return this.savingsWithdraws?this.savingsWithdraws.filter(t=>t.amount.includes("HIVE")).sort((t,e)=>t.complete.localeCompare(e.complete)):[]},hbdSavingsWithdraws:function(){return this.savingsWithdraws?this.savingsWithdraws.filter(t=>t.amount.includes("HBD")).sort((t,e)=>t.complete.localeCompare(e.complete)):[]},hiveMarketOrders:function(){return this.marketOpenOrders?this.marketOpenOrders.filter(t=>t.sell_price&&t.sell_price.base&&t.sell_price.base.includes("HIVE")):[]},hbdMarketOrders:function(){return this.marketOpenOrders?this.marketOpenOrders.filter(t=>t.sell_price&&t.sell_price.base&&t.sell_price.base.includes("HBD")):[]},filteredOutgoingDelegations:function(){if(!this.outgoingDelegations||!this.outgoingDelegations.length||!this.hpAnd
1RcDelegationsFilter)return this.outgoingDelegations;const t=this.hpAndRcDelegationsFilter.trim().toLowerCase();return this.outgoingDelegations.filter(e=>e.delegatee&&e.delegatee.includes(t))},filteredIncomingDelegations:function(){if(!this.incomingDelegations||!this.incomingDelegations.length||!this.hpAndRcDelegationsFilter)return this.incomingDelegations;const t=this.hpAndRcDelegationsFilter.trim().toLowerCase();return this.incomingDelegations.filter(e=>e.delegator&&e.delegator.includes(t))},filteredOutgoingRcDelegations:function(){if(!this.outgoingRcDelegations||!this.outgoingRcDelegations.length||!this.hpAndRcDelegationsFilter)return this.outgoingRcDelegations;const t=this.hpAndRcDelegationsFilter.trim().toLowerCase();return this.outgoingRcDelegations.filter(e=>e.to&&e.to.includes(t))},filteredIncomingRcDelegations:function(){if(!this.incomingRcDelegations||!this.incomingRcDelegations.length||!this.hpAndRcDelegationsFilter)return this.incomingRcDelegations;const t=this.hpAndRcDelegationsFilter.trim().toLowerCase();return this.incomingRcDelegations.filter(e=>e.delegator&&e.delegator.includes(t))},basicWalletStyle(){return{width:"mobile"!==this.$mq&&this.enableWalletActions?"145px":"auto",marginLeft:this.enableWalletActions?"14px":"0",flexShrink:"0"}},supportedProposalsStats:function(){const t=this.supportedProposals.filter(t=>"peakd"===t.creator).length,e=this.supportedProposals.filter(t=>0!==t.id).reduce((t,e)=>t+e.daily_pay.amount/1e3,0);return{peakd:t,total:e}}},methods:{priceFeedTokenValue:function(t,e){if(!["HIVE","HBD"].includes(e)||!t||!this.currentFeedPrice||!this.currentFeedHistory)return{};const i="HBD"===e?this.currentFeedPrice(1):parseFloat(this.currentFeedHistory.current_min_history.base);return{value:"HBD"===e?parseFloat(t)/i:parseFloat(t)*i,price:i}},estimateTokenValue:function(t,e){if(!["HIVE","HBD"].includes(e)||!t||!this.hiveMarketPrice||!this.hbdMarketPrice)return{};const i="HIVE"===e?this.hiveMarketPrice.price:this.hbdMarketPrice.price;return{value:parseFloat(t)*i,price:i,source:"@coingecko"}},estimateInterestBalance:function(t){const{savings_hbd_seconds:e,savings_hbd_seconds_last_update:i,savings_hbd_balance:s}=t;if(0===e&&0===s)return 0;const a=parseFloat(e)/1e3,n=y().utc(i).unix(),r=y().utc().unix(),o=parseFloat(s),l=31536e3,c=(a+(r-n)*o)*(this.hbdInterestRate/100)/l;return c<.001?0:c},formatMarketOrderAmount:function(t){var e;const i=null===t||void 0===t||null===(e=t.sell_price)||void 0===e||null===(e=e.base)||void 0===e?void 0:e.split(" ")[1];return i?`${(parseFloat(t.for_sale)/1e3).toFixed(3)} ${i}`:null},triggerClaimInterest:function(){if(!this.currentUser.account||this.blogUser.name!==this.currentUser.account.name)return;if(parseFloat(this.currentUser.account.hbd_balance)<.001)return void this.$notify({type:"warn",duration:5e3,text:"You need at least 0.001 HBD to trigger an HBD interest payment. Or you can received an HBD transfer from another account."});this.claimInterestPending=!0;const t=this.appUrl+"/@"+this.currentUser.username+"/wallet";(0,x.k0)(this.currentUser.username,this.currentUser.username,"0.001","HBD","Claim HBD interest",t).then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):this.$emit("refresh-blog-user")}).catch(t=>{console.log(t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("transfer",t)})}).finally(()=>{this.claimInterestPending=!1})},triggerClaimSavingInterest:function(){if(!this.currentUser.account||this.blogUser.name!==this.currentUser.account.name)return;const t=parseFloat(this.currentUser.account.savings_hbd_balance),e=parseFloat(this.currentUser.account.hbd_balance);if(t<.001&&e<.001)return void this.$notify({type:"warn",duration:5e3,text:"You need at least 0.001 HBD in your wallet or savings to trigger a HBD interest payment."});this.savingsPending=!0;const i=this.appUrl+"/@"+this.currentUser.username+"/wallet",s=Math.floor(9990001*Math.random()+9999),a=t>0?[["transfer_from_savings",{from:this.currentUser.username,to:this.currentUser.username,amount:"0.001 HBD",memo:"Claim HBD interest",request_id:s}],["cancel_transfer_from_savings",{from:this.currentUser.username,request_id:s}]]:[["transfer_to_savings",{from:this.currentUser.username,to:this.currentUser.username,amount:"0.001 HBD",memo:"Claim HBD interest"}]];(0,x.O6)(this.currentUser.username,a,i,"Active").then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):this.$emit("refresh-blog-user")}).catch(t=>{console.log(t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("transfer",t)})}).finally(()=>{this.savingsPending=!1})},openTransferModal:function(t){this.$store.dispatch("openCustomModal",{title:`Transfer ${t}`,blocking:!0,footer:!0,component:"transfer-modal-component",props:{currency:t}}).then(t=>{t&&t.success&&this.$emit("refresh-blog-user")}).catch(t=>{console.log("Transfer error: ",t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("transfer",t)})})},openSwapModal:function(t){this.$store.dispatch("openCustomModal",{title:`Swap ${t}`,blocking:!0,footer:!0,component:"transfer-modal-component",props:{currency:t,swap:!0}}).then(t=>{t&&t.success&&this.$emit("refresh-blog-user")}).catch(t=>{console.log("Transfer error: ",t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("transfer",t)})})},openPowerUpModal:function(){this.powerUpTo=this.currentUser.username,this.$refs.power
1UpModal.open()},openPowerDownModal:function(){this.powerDownRoutes=[],g().api.getWithdrawRoutesAsync(this.currentUser.username,"outgoing").then(t=>{this.powerDownRoutes=t}),this.$refs.powerDownModal.open()},openConvertModal:async function(t){this.convertType=t;try{const e="HBD"===t?await g().api.getConversionRequestsAsync(this.currentUser.username):await await g().api.callAsync("condenser_api.get_collateralized_conversion_requests",[this.currentUser.username]),i=e.map(t=>t.requestid);this.convertRequestId=i.length>0?Math.max(...i)+1:1,this.$refs.convertModal.open()}catch(e){console.error("Error retrieving current conversion requests: ",e),this.$notify({type:"error",duration:5e3,text:"Error retrieving current conversion requests, please try again in a few moments"})}},openDelegateModal:function(t,e){this.delegateTo=t||"",this.delegateSPAmount=e||0,this.delegatePreviousSPAmount=e||0,this.$refs.delegateModal.open()},openDelegateRcModal:async function(t="",e=0){this.$store.dispatch("openCustomModal",{title:t&&e?"Update RC Delegation":"Delegate RC",blocking:!0,footer:!0,component:"rc-delegation-modal-component",props:{delegateTo:t,rcAmount:e/1e9}}).then(t=>{t&&t.success&&(this.$emit("refresh-blog-rc"),this.outgoingRcDelegations&&this.refreshOutgoingRcDelegations())}).catch(t=>{console.log("RC Delegation error: ",t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("delegate_rc",t)})})},openTransferToSavingsModal:function(t,e=!1){this.savingsWithdraw=e,this.savingsCurrency=t,this.savingsTo=this.currentUser.username,this.$refs.transferToSavingsModal.open()},openCreateClaimedAccountModal:function(t=!1){this.currentUser&&!this.currentUser.useHivesigner?(this.validClaimedAccountUsername=null,this.createClaimedAccountUseHive=t,t&&g().api.callAsync("condenser_api.get_chain_properties",[]).then(t=>{this.createClaimedAccountHiveFee=parseFloat(t.account_creation_fee)}).catch(()=>{}),this.createClaimedAccountUsername=null,this.createClaimedAccountKeys=null,this.createClaimedAccountFlag=!1,this.createClaimedAccountPassword=null,this.$refs.createClaimedAccountModal.open()):this.$notify({type:"warn",duration:5e3,text:"This action is currently available only for user logged in with Hive Keychain or PeakLock"})},closePowerUpModal:function(){this.powerUpTo="",this.powerUpAmount=0,this.powerUpPending=!1,this.$refs.powerUpModal.close()},closePowerDownModal:function(){this.powerDownAmount=0,this.powerDownRoutes=[],this.powerDownPending=!1,this.$refs.powerDownModal.close()},closeConvertModal:function(){this.convertRequestId=null,this.convertAmount=0,this.convertRequestPending=!1,this.$refs.convertModal.close()},closeDelegateModal:function(){this.delegateTo="",this.delegateSPAmount=0,this.delegatePreviousSPAmount=0,this.delegatePending=!1,this.$refs.delegateModal.close()},closeTransferToSavingsModal:function(){this.savingsWithdraw=!1,this.savingsCurrency="",this.savingsTo="",this.savingsAmount=0,this.savingsMemo="",this.$refs.transferToSavingsModal.close()},closeCreateClaimedAccountModal:function(){this.$refs.createClaimedAccountModal.close()},confirmPowerUp:function(){this.powerUpPending=!0;const t=this.appUrl+"/@"+this.currentUser.username+"/wallet";(0,x.vQ)(this.currentUser.username,this.powerUpTo.trim(),parseFloat(this.powerUpAmount).toFixed(3),t).then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):this.$emit("refresh-blog-user"),this.closePowerUpModal()},t=>{console.log(t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("power-up",t)}),this.powerUpPending=!1})},confirmPowerDown:function(){if(!this.currentGlobalProperties||!this.currentGlobalProperties.total_vesting_shares)return void this.$notify({type:"warn",duration:5e3,text:"Invalid chain parameters. Please refresh the page and try again"});this.powerDownPending=!0;const t=this.appUrl+"/@"+this.currentUser.username+"/wallet";(0,x.mf)(this.currentUser.username,parseFloat(this.powerDownAmount),this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive,t).then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):this.$emit("refresh-blog-user"),this.closePowerDownModal()}).catch(t=>{console.log(t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("power-down",t)}),this.powerDownPending=!1})},cancelPowerDown:function(){const t=this.appUrl+"/@"+this.currentUser.username+"/wallet";this.$store.dispatch("openConfirmActionModal",{title:"Cancel Unstake (Power Down)?",message:"This will cancel the current unstake (power down) request. Are you sure?"}).then(()=>{(0,x.mf)(this.currentUser.username,0,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive,t).then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):this.$emit("refresh-blog-user")},t=>{console.log(t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("power-down",t)})})}).catch(()=>{console.log("Cancel power down aborted")})},confirmDelegation:function(){if(!this.currentGlobalProperties||!this.currentGlobalProperties.total_vesting_shares)return void this.$n
1otify({type:"warn",duration:5e3,text:"Invalid chain parameters. Please refresh the page and try again"});this.delegatePending=!0;const t=this.appUrl+"/@"+this.currentUser.username+"/wallet",e=this.hiveToVest(this.delegateSPAmount,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive);(0,x.Mm)(this.currentUser.username,this.delegateTo.trim(),e,t).then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):(this.$emit("refresh-blog-user"),this.outgoingDelegations&&this.refreshOutgoingDelegations()),this.closeDelegateModal()}).catch(t=>{console.log(t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("delegate",t)}),this.delegatePending=!1})},removeDelegation:async function(t){this.delegatePending=!0;try{await this.$store.dispatch("openConfirmActionModal",{title:"Remove Delegation",message:`Do you really want to remove the delegation to <b>@${t}</b>?`});const i=this.appUrl+"/@"+this.currentUser.username+"/wallet";try{const e=await(0,x.Mm)(this.currentUser.username,t,"0.000000",i);e.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(e.url)):(this.$emit("refresh-blog-user"),this.outgoingDelegations&&this.refreshOutgoingDelegations())}catch(e){console.log(e),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("undelegate",e)})}finally{this.delegatePending=!1}}catch(i){console.log("Operation aborted by user")}},removeRcDelegation:async function(t){try{await this.$store.dispatch("openConfirmActionModal",{title:"Remove RC Delegation",message:`Do you really want to remove the RC delegation to <b>@${t}</b>?`});try{this.delegateRcPending=!0;const e=["delegate_rc",{from:this.currentUser.username,delegatees:[t],max_rc:0}];await(0,x._w)(this.currentUser.username,"rc",e,"Undelegate RC","Posting"),this.$emit("refresh-blog-rc"),this.outgoingRcDelegations&&this.refreshOutgoingRcDelegations()}catch(e){console.error("Error removing RC delegation: ",e),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("undelegate_rc",e)})}finally{this.delegateRcPending=!1}}catch(i){console.log("Operation aborted by user")}},claimRewards:async function(){this.claimRewardPending=!0;try{(parseFloat(this.currentUser.account.reward_hive_balance)>0||parseFloat(this.currentUser.account.reward_hbd_balance)>0||parseFloat(this.currentUser.account.reward_vesting_hive)>0)&&(await(0,x.ct)(this.currentUser.username,this.currentUser.account.reward_hive_balance,this.currentUser.account.reward_hbd_balance,this.currentUser.account.reward_vesting_balance),this.$emit("refresh-blog-user")),this.claimRewardPending=!1,this.claimRewardCompleted=!0}catch(t){console.error("Error claiming account rewards: ",t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("claim rewards",t)}),this.claimRewardPending=!1}},confirmConversionRequest:function(){this.convertRequestPending=!0;const t=this.appUrl+"/@"+this.currentUser.username+"/wallet";(0,x.C6)(this.currentUser.username,parseFloat(this.convertAmount).toFixed(3),this.convertType,this.convertRequestId,t).then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):(this.$notify({duration:3e3,text:"Conversion request submitted successfully"}),this.$emit("refresh-blog-user"),this.refreshConversionRequests()),this.closeConvertModal()}).catch(t=>{console.log("Error casting conversion request: ",t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("HBD"===this.convertType?"convert":"collateralized_convert",t)}),this.convertRequestPending=!1})},confirmTransferToSavings:function(){if(this.savingsPending)return;if(this.savingsMemo&&this.hasPrivateKeys(this.savingsMemo))return void this.$notify({type:"warn",duration:5e3,text:'It appears that you have included a <span class="text-semibold">private key</span> in the memo. This is not a safe transaction.'});this.savingsPending=!0;const t=this.appUrl+"/@"+this.currentUser.username+"/wallet";if(this.savingsWithdraw){const e=Math.floor(Date.now()/1e3%4294967295);(0,x.cr)(this.currentUser.username,"transfer_from_savings",{from:this.currentUser.username,to:this.currentUser.username,request_id:e,amount:`${parseFloat(this.savingsAmount).toFixed(3)} ${this.savingsCurrency}`,memo:""},t,"Active").then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):(this.$notify({duration:3e3,text:"Action completed successfully"}),this.$emit("refresh-blog-user"),this.refreshSavingsWithdraw()),this.closeTransferToSavingsModal(),this.savingsPending=!1}
1).catch(t=>{console.error("Error broadcasting cancel-transfer-from-savings transaction:",t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("transfer-to-savings",t)}),this.savingsPending=!1})}else(0,x.cr)(this.currentUser.username,"transfer_to_savings",{from:this.currentUser.username,to:this.savingsTo,amount:`${parseFloat(this.savingsAmount).toFixed(3)} ${this.savingsCurrency}`,memo:this.savingsMemo},t,"Active").then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):(this.$notify({duration:3e3,text:"Action completed successfully"}),this.$emit("refresh-blog-user")),this.closeTransferToSavingsModal(),this.savingsPending=!1}).catch(t=>{console.error("Error broadcasting transfer-to-savings transaction:",t),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("transfer-to-savings",t)}),this.savingsPending=!1})},stopTransferFromSavings:async function(t){if(!this.savingsPending)try{await this.$store.dispatch("openConfirmActionModal",{title:"Cancel Unstake (Withdraw) From Savings?",message:"This will cancel the selected unstake (withdraw) request. Are you sure?"}),this.savingsPending=!0;try{const e=this.appUrl+"/@"+this.currentUser.username+"/wallet",i=await(0,x.cr)(this.currentUser.username,"cancel_transfer_from_savings",{from:this.currentUser.username,request_id:t},e,"Active");i.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(i.url)):(this.$notify({duration:3e3,text:"Action completed successfully"}),this.$emit("refresh-blog-user"),this.refreshSavingsWithdraw())}catch(e){console.error("Error broadcasting cancel-transfer-from-savings transaction:",e),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("cancel-transfer-from-savings",e)})}finally{this.savingsPending=!1}}catch(i){console.log("Aborted by user")}},confirmClaimAccount:async function(t=!1){const e=this.appUrl+"/@"+this.currentUser.username+"/wallet";try{let s=1;if(t)await this.$store.dispatch("openConfirmActionModal",{title:"Confirm Claim Token",message:"You are going to claim an account creation token using your Resource Credits (RC). Tokens does not expire over time, so you can collect them for a later use. Do you want to claim a token now?"});else{const t=await this.calculateAccountClaimRC(this.currentGlobalProperties.total_vesting_shares),e=await g().api.callAsync("rc_api.find_rc_accounts",{accounts:[this.currentUser.username]}),i=e.rc_accounts[0],a=this.calculateRcMana(i),n=parseInt(i.max_rc/t),r=parseInt(i.max_rc*a/100/t);let o=this.currentUser.useHivesigner?10:100,l="";isNaN(a)||isNaN(n)||isNaN(r)||(o=Math.min(r,o),l=`With your current Resource Credits (${a.toFixed(2)}%) you are allowed to claim <span class="text-semibold">${r}</span> tokens. With your maximum RC (100%) you can claim up to ${n} tokens.`);const c=await this.$store.dispatch("openConfirmActionModal",{title:"Confirm Claim Tokens",message:"You are going to claim account creation tokens using your Resource Credits (RC). Tokens does not expire over time, so you can collect them for a later use. Specify how many tokens you want to claim:",input:{placeholder:"Token number",type:"number",addon:"icon-users2",limit:o},details:l});
1if(s=parseInt(c.value),isNaN(s)||s<1)throw this.$notify({type:"warn",duration:5e3,text:"Invalid token quantity, expected an integer value."}),new Error("Invalid token quantity: "+c.value)}try{let t=null;if(s>1){const i=[...Array(s).keys()].map(t=>["claim_account",{creator:this.currentUser.username,fee:"0.000 HIVE",extensions:[]}]);t=await(0,x.O6)(this.currentUser.username,i,e,"Active")}else t=await(0,x.cr)(this.currentUser.username,"claim_account",{creator:this.currentUser.username,fee:"0.000 HIVE",extensions:[]},e,"Active");t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):(this.$notify({duration:3e3,text:"Action completed successfully"}),this.$emit("refresh-blog-user"),this.$emit("refresh-blog-rc"))}catch(i){console.error("Error casting account claim: ",i),this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("claim_account",i)})}}catch(s){console.log("Claim account aborted")}},reviewCreateClaimedAccount:function(){if(!this.createClaimedAccountUsername)return void this.$notify({type:"warn",duration:5e3,text:"Username must be specified"});let t=g().utils.validateAccountName(this.createClaimedAccountUsername);t?this.$notify({duration:3e3,text:"Invalid username: "+t}):(this.claimAccountPending=!0,A.Ay.getAccounts([this.createClaimedAccountUsername]).then(t=>{if(!t||t.length>0)return this.$notify({type:"warn",duration:5e3,text:"The specified username already exists"}),void(this.claimAccountPending=!1);this.validClaimedAccountUsername=this.createClaimedAccountUsername,this.createClaimedAccountPassword=g().formatter.createSuggestedPassword(),this.createClaimedAccountKeys=g().auth.getPrivateKeys(this.validClaimedAccountUsername,this.createClaimedAccountPassword,["owner","active","posting","memo"]),this.claimAccountPending=!1}).catch(t=>{console.warn("Error checking for existing username: ",t),this.$notify({type:"error",duration:5e3,text:"Error validating the username"}),this.claimAccountPending=!1}))},downloadCreateClaimedAccountKeys:function(){const t=new Blob([this.createClaimedAccountKeysText],{type:"text/plain"}),e=`HIVE_${this.validClaimedAccountUsername.toUpperCase()}_KEYS.txt`;let i=document.createElement("a");i.download=e,i.innerHTML="Download Account Keys",window.webkitURL?i.href=window.webkitURL.createObjectURL(t):(i.href=window.URL.createObjectURL(t),i.onclick=t=>{document.body.removeChild(t.target)},i.style.display="none",document.body.appendChild(i)),i.click()},confirmCreateClaimedAccount:function(){this.claimAccountPending=!0;const t=this.createClaimedAccountUseHive?"account_create":"create_claimed_account",e={...this.createClaimedAccountUseHive?{fee:`${this.createClaimedAccountHiveFee.toFixed(3)} HIVE`}:{},creator:this.currentUser.username,new_account_name:this.validClaimedAccountUsername,owner:{weight_threshold:1,account_auths:[],key_auths:[[this.createClaimedAccountKeys.ownerPubkey,1]]},active:{weight_threshold:1,account_auths:[],key_auths:[[this.createClaimedAccountKeys.activePubkey,1]]},posting:{weight_threshold:1,account_auths:[],key_auths:[[this.createClaimedAccountKeys.postingPubkey,1]]},memo_key:this.createClaimedAccountKeys.memoPubkey,json_metadata:"",extensions:[]},i=this.appUrl+"/@"+this.currentUser.username+"/wallet";(0,x.cr)(this.currentUser.username,t,e,i,"Active").then(t=>{t.redirect?(console.log("Redirect user to hivesigner to complete the operation"),window.location.assign(t.url)):(this.$notify({duration:3e3,text:"New Hive account created successfully !!"}),this.$emit("refresh-blog-user")),this.claimAccountPending=!1,this.$refs.createClaimedAccountModal.close()}).catch(t=>{console.log("Error creating account: ",t),this.claimAccountPending=!1,this.$notify({type:"error",duration:5e3,text:this.getErrorMessage("create_claimed_account",t)})})},toggleDelegationsDetails:async function(){if(this.showDelegationDetails)this.showDelegationDetails=!1,this.showRcDelegationDetails=!0;else{if(this.showDelegationDetails=!0,this.showRcDelegationDetails=!1,this.outgoingDelegations&&this.incomingDelegations)return;try{if(this.outgoingDelegatedSP&&this.outgoingDelegatedSP>0?await this.refreshOutgoingDelegations():this.outgoingDelegations=[],this.incomingDelegatedSP&&this.incomingDelegatedSP>0){const t=await this.$http.get("/api/public/delegations/incoming",{params:{delegatee:this.$route.params.username}});this.incomingDelegations=t.data.filter(t=>t.hpEquivalent>0).map(t=>({...t,hive_power:t.hpEquivalent})).sort((t,e)=>e.hive_power-t.hive_power)}else this.incomingDelegations=[]}catch(t){console.error("Error retrieving delegations: ",t),this.$notify({type:"error",duration:5e3,text:"Error fetching account delegations, please try again in a few moments"}),this.outgoingDelegations=null,this.incomingDelegations=null}}},refreshOutgoingDelegations:async function(){const t=await g().api.callAsync("database_api.find_vesting_delegations",{account:this.$route.params.username});this.outgoingDelegations=t.delegations.map(t=>({...t,hive_power:this.vestToHive(t.vesting_shares.amount/1e6,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive)})).sort((t,e)=>e.hive_power-t.hive_power);const e=await g().api.callAsync("database_api.find_vesting_delegation_expirations",{account:this.$route.params.username});this.outgoingDelegations=this.outgoingDelegations.concat(e.delegations.map(t=>({...t,expiring:!0,hive_power:this.vestToHive(t.vesting_shares.amount/1e6,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive)})))},toggleRcDelegationsDetails:async function(){if(this.showRcDelegationDetail
1s)this.showRcDelegationDetails=!1,this.showDelegationDetails=!0;else{if(this.showRcDelegationDetails=!0,this.showDelegationDetails=!1,this.outgoingRcDelegations&&this.incomingRcDelegations)return;try{if(this.blogUserRc||this.$emit("refresh-blog-rc"),await this.refreshOutgoingRcDelegations(),!this.blogUserRc||this.blogUserRc.received_delegated_rc>0){const t=await this.$http.get("/api/public/rc_delegations/incoming",{params:{delegatee:this.$route.params.username}});this.incomingRcDelegations=t.data}}catch(t){console.error("Error retrieving delegations: ",t),this.$notify({type:"error",duration:5e3,text:"Error fetching account delegations, please try again in a few moments"}),this.outgoingRcDelegations=null,this.incomingRcDelegations=null}}},refreshOutgoingRcDelegations:async function(){this.outgoingRcDelegations=await g().api.callAsync("rc_api.list_rc_direct_delegations",{start:[this.$route.params.username,""],limit:1e3}).then(t=>t.rc_direct_delegations),g().api.callAsync("rc_api.find_rc_accounts",{accounts:this.outgoingRcDelegations.map(t=>t.to)}).then(t=>{t.rc_accounts.forEach(t=>{const e=this.outgoingRcDelegations.find(e=>e.to===t.account);if(e){const i=this.calculateRcMana(t);this.$set(e,"perc",i?i.toFixed(2):-1)}})})},refreshConversionRequests:async function(){try{this.conversionRequests=(await g().api.getConversionRequestsAsync(this.$route.params.username)).sort((t,e)=>t.conversion_date.localeCompare(e.conversion_date)),this.collateralConversionRequests=(await g().api.callAsync("condenser_api.get_collateralized_conversion_requests",[this.$route.params.username])).sort((t,e)=>t.conversion_date.localeCompare(e.conversion_date))}catch(t){console.error("Error retrieving current conversion requests: ",t),this.$notify({type:"error",duration:5e3,text:"Error retrieving current conversion requests, please try again in a few moments"}),this.conversionRequests=null,this.collateralConversionRequests=null}},refreshSavingsWithdraw:async function(){try{this.savingsWithdraws=await g().api.getSavingsWithdrawFromAsync(this.$route.params.username)}catch(t){console.error("Error retrieving current saving withdraws: ",t),this.$notify({type:"error",duration:5e3,text:"Error retrieving current saving withdraws, please try again in a few moments"}),this.savingsWithdraws=null}},refreshMarketOrders:async function(){try{this.marketOpenOrders=(await g().api.callAsync("condenser_api.get_open_orders",[this.$route.params.username])).sort((t,e)=>t.created.localeCompare(e.created))}catch(t){console.error("Error retrieving open market orders: ",t),this.$notify({type:"error",duration:5e3,text:"Error retrieving open market orders, please try again in a few moments"}),this.marketOpenOrders=null}},refreshSupportedWitnesses:async function(){var t,e;if(null!==(t=this.blogUser)&&void 0!==t&&t.proxy)try{const t=await A.Ay.getAccounts([this.blogUser.proxy]);t&&t[0]&&(this.supportedWitnesses=t[0].witness_votes||[])}catch(i){}else this.supportedWitnesses=(null===(e=this.blogUser)||void 0===e?void 0:e.witness_votes)||[]},refreshSupportedProposals:async function(){var t;const e=(null===(t=this.blogUser)||void 0===t?void 0:t.proxy)||this.$route.params.username;try{const t=await g().api.callAsync("database_api.list_proposal_votes",{start:[e],limit:100,order:"by_voter_proposal",order_direction:"ascending",status:"votable"});t&&t.proposal_votes&&(this.supportedProposals=t.proposal_votes.filter(t=>t.voter===e).map(t=>t.proposal))}catch(i){}},refresh:async function(t=!1){t||this.$emit("refresh-blog-user"),this.refreshConversionRequests(),this.refreshSavingsWithdraw(),this.refreshMarketOrders(),this.$emit("loaded")},generateTitleForTransferToSavings:function(t,e){const i=t?"from":"to",s=t?"Withdraw":"Transfer";return"HIVE"===e?`${s} ${e} ${i} Savings`:`${t?"Unstake":"Stake"} ${e} (${s} ${i} Savings)`}},mounted(){console.log("Hive wallet component mounted on "+this.$route.path),this.refresh(!0),this.refreshSupportedWitnesses(),this.refreshSupportedProposals()}},P=D,U=i(81656),T=(0,U.A)(P,m,v,!1,null,"fbc9c218",null),S=T.exports,H=i(29115),R=function(){var t=this,e=t._self._c;return e("div",{staticClass:"row display-flex-row"},[e("div",{staticClass:"col-lg-3 col-lg-push-9 col-md-3 col-md-push-9"},[e("div",{staticClass:"sidebar-detached position-sticky-top"},[e("div",{staticClass:"sidebar sidebar-default sidebar-separate display-block"},[e("div",{staticClass:"sidebar-content"},[e("div",{staticClass:"sidebar-category"},[e("a",{staticClass:"category-title text-default text-semibold display-flex flex-middle pr-20",class:{"border-bottom-lg":["mobile","tablet"].includes(t.$mq)},on:{click:function(e){e.stopPropagation(),t.showFiltersPanel=!t.showFiltersPanel}}},[e("span",{staticClass:"flex-grow"},[t._v("Filters")]),e("div",{staticClass:"visible-xs-block visible-sm-block"},[e("i",{staticClass:"text-bold",class:t.showFiltersPanel?"icon-arrow-up12":"icon-arrow-down12"})])]),t.showFiltersPanel||!["mobile","tablet"].includes(t.$mq)?e("div",{staticClass:"category-content no-padding"},[t.useHiveEngine?e("div",{staticClass:"text-center text-muted p-20"},[e("h6",[t._v("Filters are not supported for Hive Engine tokens")])]):e("ul",{staticClass:"navigation text-size-small"},[t._m(0),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterIncoming,callback:function(e){t.filterIncoming=e},expression:"filterIncoming"}}),t._v(" Incoming")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterOutgoing,callback:function(e){t.filterOutgoing=e},expression:"filterOutgoing"}}),t._v(" Outgoing")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterExcludeSmallTransaction,callback:function(e){t.filterExcludeSmallTransaction=e},expression:"filterExcludeSmallTransaction"}}
1),t._v(" Exclude 0.001 HIVE/HBD")],1)]),t._m(1),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterClaimReward,callback:function(e){t.filterClaimReward=e},expression:"filterClaimReward"}}),t._v(" Rewards / Interest")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterPowerUp,callback:function(e){t.filterPowerUp=e},expression:"filterPowerUp"}}),t._v(" Power Up / Power Down")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterConvertRequest,callback:function(e){t.filterConvertRequest=e},expression:"filterConvertRequest"}}),t._v(" Convert Requests")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterSavings,callback:function(e){t.filterSavings=e},expression:"filterSavings"}}),t._v(" To / From Savings")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterEscrow,callback:function(e){t.filterEscrow=e},expression:"filterEscrow"}}),t._v(" Escrow")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterShowGovernance,callback:function(e){t.filterShowGovernance=e},expression:"filterShowGovernance"}}),t._v(" Show Governance")],1)]),t._m(2),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterMarketOrder,callback:function(e){t.filterMarketOrder=e},expression:"filterMarketOrder"}}),t._v(" Orders")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterMarketOrderFill,callback:function(e){t.filterMarketOrderFill=e},expression:"filterMarketOrderFill"}}),t._v(" Trades")],1)]),t._m(3),e("li",[e("div",{staticClass:"pl-20 pr-20 pb-10"},[e("div",{staticClass:"has-feedback has-feedback-left"},[e("input",{directives:[{name:"model",rawName:"v-model.lazy",value:t.filterContainsText,expression:"filterContainsText",modifiers:{lazy:!0}},{name:"debounce",rawName:"v-debounce",value:300,expression:"300"}],staticClass:"form-control",attrs:{type:"search",placeholder:"Search"},domProps:{value:t.filterContainsText},on:{change:function(e){t.filterContainsText=e.target.value}}}),t._m(4)])])])])]):t._e()])])])])]),e("div",{staticClass:"col-lg-6 col-lg-pull-0 col-md-9 col-md-pull-3"},[e("div",{staticClass:"panel panel-flat"},[e("div",{staticClass:"panel-heading"},[e("h5",{staticClass:"panel-title text-semibold"},[t._v(" Transactions "),t.useHiveEngine?e("span",{staticClass:"text-muted pull-right"},[e("i",{staticClass:"valign-middle logo-steem-engine"}),t._v(" Hive Engine")]):e("span",{staticClass:"text-muted pull-right"},[e("i",{staticClass:"valign-middle logo-hive"}),t._v(" Hive")])])]),e("div",{staticClass:"panel-body"},[e("ul",{staticClass:"media-list"},[t.activities.length>0&&0===t.filteredActivities.length&&t.infiniteLoadingDistance<0?e("div",{staticClass:"text-muted"},[e("h4",{staticClass:"text-semibold"},[t._v("No transactions found matching the specified criteria")])]):t._l(t.filteredActivities,function(i){return e("li",{key:i[0],staticClass:"media"},["hive-engine"===i.type?e("hive-engine-activity",{attrs:{activity:i,username:t.$route.params.username}}):["transfer","fill_recurrent_transfer"].includes(i[1].op[0])?e("transfer-activity",{attrs:{activity:i,username:t.$route.params.username}}):["claim_reward_balance","interest"].includes(i[1].op[0])?e("claim-reward-activity",{attrs:{activity:i}}):["transfer_to_vesting","withdraw_vesting","fill_vesting_withdraw"].includes(i[1].op[0])?e("power-up-activity",{attrs:{activity:i}}):["convert","collateralized_convert"].includes(i[1].op[0])?e("convert-activity",{attrs:{activity:i}}):["fill_convert_request","fill_collateralized_convert_request"].includes(i[1].op[0])?e("fill-convert-request-activity",{attrs:{activity:i}}):"proposal_pay"===i[1].op[0]?e("proposal-payment-activity",{attrs:{activity:i,username:t.$route.params.username}}):"recurrent_transfer"===i[1].op[0]?e("recurring-transfer-activity",{attrs:{activity:i,username:t.$route.params.username}}):e("generic-activity",{attrs:{activity:i,icon:"icon-piggy-bank"}})],1)}),e("div",{staticClass:"text-center"},[t.infiniteLoadingDistance<0?e("button",{staticClass:"btn btn-primary",attrs:{disabled:t.isLoading},on:{click:function(e){return t.handlerLoad()}}},[t.isLoading?e("i",{staticClass:"icon-spinner2 spinner position-left"}):t._e(),t._v(t._s(t.isLoading?"Loading":"Load more activities")+" ")]):t._e()]),e("infinite-loading",{ref:"infiniteLoading",attrs:{distance:t.infiniteLoadingDistance},on:{infinite:t.infiniteHandler}},[e("div",{staticClass:"text-muted",attrs:{slot:"no-results"},slot:"no-results"},[t.activities.length?e("h4",{staticClass:"text-semibold"},[t._v("No more transactions.")]):e("h4",{staticClass:"text-semibold"}
1,[t._v("No transactions found.")])]),e("div",{staticClass:"text-muted",attrs:{slot:"no-more"},slot:"no-more"},[t.activities.length?e("h4",{staticClass:"text-semibold"},[t._v("No more transactions.")]):e("h4",{staticClass:"text-semibold"},[t._v("No transactions found.")])])])],2)])])])])},M=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"navigation-header"},[e("span",[t._v("Transfers")])])},function(){var t=this,e=t._self._c;return e("li",{staticClass:"navigation-header"},[e("span",[t._v("Operations")])])},function(){var t=this,e=t._self._c;return e("li",{staticClass:"navigation-header"},[e("span",[t._v("Market")])])},function(){var t=this,e=t._self._c;return e("li",{staticClass:"navigation-header"},[e("span",[t._v("Contains")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-control-feedback"},[e("i",{staticClass:"icon-search4 text-size-base text-muted"})])}],$=i(2285),E=i(68603),I=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"media-left"},[t.received?e("router-link",{attrs:{to:"/@"+t.operation.from}},[e("peak-avatar",{staticClass:"avatar avatar-38",attrs:{account:t.operation.from,"avatar-size":"small"}})],1):"null"===t.operation.to?e("span",{staticClass:"btn btn-flat btn-icon btn-rounded text-warning border-warning btn-sm"},[e("i",{staticClass:"icon-fire"})]):e("router-link",{attrs:{to:"/@"+t.operation.to}},[e("peak-avatar",{staticClass:"avatar avatar-38",attrs:{account:t.operation.to,"avatar-size":"small"}})],1)],1),e("div",{staticClass:"media-body"},[t.validTip?[t.received?e("div",[t._v(" Tip received from "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.from}},[t._v(t._s(t.operation.from))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-success pull-right"},[t._v(t._s(t._f("numeral")(t.transfer.amount,"0,0.000"))+" "+t._s(t.transfer.currency))])],1):"null"===t.operation.to?e("div",[t._v(" Tip burn fee sent to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.to}},[t._v(t._s(t.operation.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-warning pull-right"},[t._v("-"+t._s(t._f("numeral")(t.transfer.amount,"0,0.000"))+" "+t._s(t.transfer.currency))])],1):e("div",[t._v(" Tip sent to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.to}},[t._v(t._s(t.operation.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-warning pull-right"},[t._v("-"+t._s(t._f("numeral")(t.transfer.amount,"0,0.000"))+" "+t._s(t.transfer.currency))])],1)]:t.received?e("div",[t.isRecurring?e("span",[t._v("Recurring transfer received")]):e("span",[t._v("Received")]),t._v(" from "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.from}},[t._v(t._s(t.operation.from))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-success pull-right"},[t._v(t._s(t._f("numeral")(t.transfer.amount,"0,0.000"))+" "+t._s(t.transfer.currency))]),t.isRecurring?e("span",[t._v(". Remaining executions: "),e("span",{staticClass:"text-semibold"},[t._v(t._s(t.operation.remaining_executions))])]):t._e()],1):e("div",[t.isRecurring?e("span",[t._v("Recurring transfer sent")]):e("span",[t._v("Sent")]),t._v(" to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.to}},[t._v(t._s(t.operation.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-warning pull-right"},[t._v("-"+t._s(t._f("numeral")(t.transfer.amount,"0,0.000"))+" "+t._s(t.transfer.currency))]),t.isRecurring?e("span",[t._v(". Remaining executions: "),e("span",{staticClass:"text-semibold"},[t._v(t._s(t.operation.remaining_executions))]),t.operation.from===t.$route.params.username&&t.operation.remaining_executions>0?e("router-link",{staticClass:"btn btn-flat border-primary text-primary ml-10",staticStyle:{padding:"0 7px"},attrs:{to:`/@${t.$route.params.username}/wallet/recurring`}},[t.currentUser&&t.currentUser.username===t.$route.params.username?e("small",[t._v("Manage")]):e("small",[t._v("View")])]):t._e()],1):t._e()],1),e("timeago-label",{attrs:{activity:t.activity[1]}}),t.validTip?["null"!==t.operation.to?e("div",{staticClass:"well text-size-small p-10 mt-5"},t._l(t.validTip,function(i,s){return e("samp",{key:s,staticClass:"display-block"},[e("span",{staticClass:"text-bold"},[t._v(t._s(s))]),t._v(": "),["author","sender"].includes(s)?e("router-link",{staticClass:"text-bold",attrs:{to:`/@${i}`}},[t._v(t._s(i))]):["post"].includes(s)?e("router-link",{staticClass:"text-bold",attrs:{to:`/@${t.validTip.author}/${i}`}}
1,[t._v(t._s(i))]):e("span",[t._v(t._s(i))])],1)}),0):t._e()]:t.linkifyMemo?e("div",{staticClass:"memo-wrapper overflow-stop"},[e("router-link",{staticClass:"text-default",attrs:{to:t.linkifyMemo}},[t._v(t._s(t.memo))])],1):e("div",{staticClass:"memo-wrapper overflow-stop"},[t._v(" "+t._s(t.memo)+" "),t.allowEncodeDecode?e("a",{staticClass:"text-teal ml-5",on:{click:function(e){return t.encodeOrDecode()}}},[e("i",{class:t.decodedMemo?"icon-unlocked2":"icon-lock2"})]):t._e()])],2),e("hr",{staticClass:"mt-10 mb-10"})])},F=[],q=i(22020),V={name:"TransferActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity","username"],data(){return{decodedMemo:null}},computed:{...(0,n.L8)({currentUser:"currentUser",assetSymbols:"assetSymbols"}),received:function(){return this.username===this.operation.to},operation:function(){return this.activity[1].op[1]},isRecurring:function(){return"fill_recurrent_transfer"===this.activity[1].op[0]},transfer:function(){if(this.isRecurring&&"object"===typeof this.operation.amount){const t=this.operation.amount.amount/Math.pow(10,this.operation.amount.precision),e=this.operation.amount.nai===this.assetSymbols.HBD?"HBD":"HIVE";return{amount:t,currency:e}}const[t,e]=this.operation.amount.split(" ");return{amount:t,currency:e}},linkifyMemo:function(){if(this.allowEncodeDecode)return null;const t=this.operation.memo.match(/^(?:\/[a-z0-9-, ]{1,256}|\/\*)?(\/@[a-z0-9-.]{3,16}\/[a-z0-9-]{1,256})(?::[0-9]+)?$/);return t&&t[1]},memo:function(){return this.decodedMemo||this.operation.memo},validTip:function(){const t=this.operation.memo.match(/!tip @([a-z0-9-.]{3,16})\/([a-z0-9-]{3,255}) @([a-z0-9-.]{3,16})(?: app:([^ ]*))?(?: message:(.*))?/);if(t){const e={author:t[1],post:t[2],sender:t[3]};return t[4]&&(e.app=t[4]),t[5]&&(e.message=t[5]),e}return null},allowEncodeDecode:function(){return this.currentUser&&this.currentUser.useKeychain&&this.operation.memo&&this.operation.memo.startsWith("#")&&(this.currentUser.username===this.operation.to||this.currentUser.username===this.operation.from)}},methods:{encodeOrDecode:function(){if(this.decodedMemo)this.decodedMemo=null;else{let t=this;window.hive_keychain.requestVerifyKey(this.currentUser.username,this.operation.memo,"Memo",function(e){e.success?t.decodedMemo=e.result:t.$notify({type:"warn",duration:3e3,text:"Error decoding this memo, please check that you have configured the correct Memo key"})})}}}},W=V,O=(0,U.A)(W,I,F,!1,null,"cf1803f0",null),L=O.exports,B=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"media-left"},[e("span",{staticClass:"btn border-blue-700 text-blue-700 btn-flat btn-icon btn-rounded btn-sm"},["interest"===t.type?e("i",{staticClass:"icon-percent"}):e("i",{staticClass:"icon-medal"})])]),e("div",{staticClass:"media-body"},["interest"===t.type?e("div",[t._v(" Receive interest "),e("div",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[e("span",[t._v(t._s(t.operation.interest))])])]):e("div",[t._v(" Claim rewards "),e("div",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[t.operation.reward_hive&&parseFloat(t.operation.reward_hive)>0?e("span",[t._v(t._s(t.operation.reward_hive)+", ")]):t._e(),t.operation.reward_hbd&&parseFloat(t.operation.reward_hbd)>0?e("span",[t._v(t._s(t.operation.reward_hbd)+", ")]):t._e(),e("span",[t._v(t._s(t.rewardHP))])])]),e("timeago-label",{attrs:{activity:t.activity[1]}})],1),e("hr",{staticClass:"mt-10 mb-10"})])},z=[],G=i(99227),N=i.n(G),Y={name:"ClaimRewardActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity"],computed:{...(0,n.L8)({currentGlobalProperties:"currentGlobalProperties"}),type:function(){return this.activity[1].op[0]},operation:function(){return this.activity[1].op[1]},rewardHP:function(){return this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares&&this.currentGlobalProperties.total_vesting_fund_hive?`${this.vestToHive(this.operation.reward_vests,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive)} HP`:`${N()(parseFloat(this.operation.reward_vests)).format("0,0.[000]")} VESTS`}}},K=Y,j=(0,U.A)(K,B,z,!1,null,"308aef6a",null),J=j.exports,Q=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"media-left"},[t.isFillWithdraw?e("span",{staticClass:"btn border-info-400 text-info btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-move-down"})]):t.isPowerDown?e("span",{staticClass:"btn border-pink text-pink btn-flat btn-icon btn-rounded btn-sm"},[t.isStopPowerDown?e("i",{staticClass:"icon-cross2"}):e("i",{staticClass:"icon-arrow-down16"})]):e("span",{staticClass:"btn border-violet-700 text-violet-700 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-arrow-up16"})])]),e("div",{staticClass:"media-body"},[t.isFillWithdraw?e("div",[t.operation.to_account!==t.operation.from_account?e("span",[t._v("Withdraw vesting from "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.from_account}},[t._v("@"+t._s(t.operation.from_account))]),t._v(" to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.to_account}},[t._v("@"+t._s(t.operation.to_account))])],1):e("span",[t._v("Withdraw from vesting")]),e("div",{staticClass:"media-annotation text-semibold amount-label text-default text-right pull-right"},[t._v(t._s(t._f("numeral")(t.operation.deposited,"0,0[.]000")))])]):t.isPowerDown?e("div",[t._v(" "+t._s(t.powerDownText)+" "),e("div",{staticClass:"media-annotation text-semibold amount-label text-default text-right pull-right"},[t._v(" "+t._s(t._f("numeral")(t.powerDownAmount,"0,0[.]000"))+" HP"),e("small",{staticClass:"display-block text-muted",staticStyle:{"line-height":"1.1"}},[t._v("("+t._s(t.operation.vesting_shares)+")")])])]):e("div",[t._v(" Powered up "),t.operation.from!==t.operation.to?e("span",[t._v(" to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.to}}
1,[t._v(t._s(t.operation.to))])],1):t._e(),e("div",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[t._v(t._s(t._f("numeral")(t.operation.amount,"0,0[.]000"))+" HP")])]),e("timeago-label",{attrs:{activity:t.activity[1]}})],1),e("hr",{staticClass:"mt-10 mb-10"})])},X=[],Z={name:"PowerUpActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity"],computed:{...(0,n.L8)({currentGlobalProperties:"currentGlobalProperties"}),isFillWithdraw:function(){return"fill_vesting_withdraw"===this.activity[1].op[0]},isPowerDown:function(){return"withdraw_vesting"===this.activity[1].op[0]},isStopPowerDown:function(){return 0===parseInt(this.operation.vesting_shares)},powerDownText:function(){return this.isPowerDown?this.isStopPowerDown?"Stopped power down":"Started power down":null},powerDownAmount:function(){return this.isPowerDown?this.currentGlobalProperties&&this.currentGlobalProperties.total_vesting_shares?parseFloat(this.vestToHive(this.operation.vesting_shares,this.currentGlobalProperties.total_vesting_shares,this.currentGlobalProperties.total_vesting_fund_hive)):"":null},operation:function(){return this.activity[1].op[1]}}},tt=Z,et=(0,U.A)(tt,Q,X,!1,null,"a4ceb6c4",null),it=et.exports,st=function(){var t=this,e=t._self._c;return e("div",[t._m(0),e("div",{staticClass:"media-body"},[e("div",[t.collateral?e("span",[t._v("Collateral convert")]):e("span",[t._v("Convert")]),t._v(" request "),e("div",{staticClass:"media-annotation text-semibold amount-label text-warning pull-right"},[t._v(" "+t._s(t._f("numeral")(-parseFloat(t.operation.amount),"0,0.000"))+" "+t._s(t.currency)+" ")])]),e("timeago-label",{attrs:{activity:t.activity[1]}})],1),e("hr",{staticClass:"mt-10 mb-10"})])},at=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"media-left"},[e("span",{staticClass:"btn border-warning-300 text-warning-300 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-shuffle"})])])}],nt={name:"ConvertActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity"],computed:{operation:function(){return this.activity[1].op[1]},timestamp:function(){return this.activity[1].timestamp},collateral:function(){return"collateralized_convert"===this.activity[1].op[0]},currency:function(){return this.operation.amount.split(" ")[1]}}},rt=nt,ot=(0,U.A)(rt,st,at,!1,null,"c831fbd4",null),lt=ot.exports,ct=function(){var t=this,e=t._self._c;return e("div",[t._m(0),e("div",{staticClass:"media-body"},[t.collateral?e("div",[t._v(" Fill collateral convert (HIVE "),e("i",{staticClass:"icon-arrow-right8 small"}),t._v(" HBD) request ("),e("span",{staticClass:"text-semibold"},[t._v(t._s(t.operation.amount_in))]),t._v(" converted) "),e("div",{staticClass:"media-annotation text-semibold amount-label text-success pull-right text-right"},[t._v(" "+t._s(t.operation.amount_out)),e("small",{staticClass:"display-block",staticStyle:{"line-height":"1.2"}},[t._v("(+"+t._s(t.operation.excess_collateral)+")")])])]):e("div",[t._v(" Fill convert (HBD "),e("i",{staticClass:"icon-arrow-right8 small"}),t._v(" HIVE) request ("),e("span",{staticClass:"text-semibold"},[t._v(t._s(t.operation.amount_in))]),t._v(") "),e("div",{staticClass:"media-annotation text-semibold amount-label text-success pull-right"},[t._v(t._s(t.operation.amount_out))])]),e("timeago-label",{attrs:{activity:t.activity[1]}})],1),e("hr",{staticClass:"mt-10 mb-10"})])},dt=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"media-left"},[e("span",{staticClass:"btn border-green-600 text-green-600 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-shuffle"})])])}],ut={name:"FillConvertRequestActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity"],computed:{operation:function(){return this.activity[1].op[1]},collateral:function(){return"fill_collateralized_convert_request"===this.activity[1].op[0]}}},pt=ut,mt=(0,U.A)(pt,ct,dt,!1,null,"24c4c648",null),vt=mt.exports,ht=function(){var t=this,e=t._self._c;return e("div",[t._m(0),e("div",{staticClass:"media-body"},[e("div",[t._v(" Proposal payment "),"hive.fund"!==t.username?e("span",[t._v(" from "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@hive.fund"}},[t._v("hive.fund")])],1):e("span",[t._v(" to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.operation.receiver}},[t._v(t._s(t.operation.receiver))])],1),e("span",{staticClass:"media-annotation text-semibold amount-label text-success pull-right"},[t._v(t._s(t._f("numeral")(parseFloat(t.operation.payment),"0,0.000"))+" HBD")])]),e("timeago-label",{attrs:{activity:t.activity[1]}}
1)],1),e("hr",{staticClass:"mt-10 mb-10"})])},gt=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"media-left"},[e("span",{staticClass:"btn border-orange text-orange-600 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-coins"})])])}],ft={name:"ProposalPaymentActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity","notification","username"],data(){return{decodedMemo:null}},computed:{operation:function(){return this.activity[1].op[1]}},methods:{}},bt=ft,_t=(0,U.A)(bt,ht,gt,!1,null,"7d65c4b0",null),yt=_t.exports,wt=function(){var t,e=this,i=e._self._c;return i("div",[e._m(0),i("div",{staticClass:"media-body"},[parseFloat(e.operation.amount)>0?i("div",[e._v(" Recurring transfer created with receiver "),i("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+e.operation.to}},[e._v(e._s(e.operation.to))]),e._v(" for "),i("span",{staticClass:"text-semibold"},[e._v(e._s(e.operation.amount))]),e._v(". This transfer will be executed "),i("span",{staticClass:"text-semibold"},[e._v(e._s(e.operation.executions))]),e._v(" times, every "),i("span",{staticClass:"text-semibold"},[e._v(e._s(e.operation.recurrence)+" hours")])],1):i("div",[e._v(" Recurring transfer to receiver "),i("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+e.operation.to}},[e._v(e._s(e.operation.to))]),null!==(t=e.operation.extensions)&&void 0!==t&&t.length?i("span",[e._v(" "),i("code",[e._v("[pair: "+e._s(e.operation.extensions[0][1].pair_id)+"]")])]):e._e(),e._v(" cancelled. Remaining executions will not be completed. ")],1),i("timeago-label",{attrs:{activity:e.activity[1]}})],1),i("hr",{staticClass:"mt-10 mb-10"})])},Ct=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"media-left"},[e("span",{staticClass:"btn border-brown text-brown btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-alarm"})])])}],xt={name:"RecurringTransferActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity"],computed:{operation:function(){return this.activity[1].op[1]}}},kt=xt,At=(0,U.A)(kt,wt,Ct,!1,null,"8c63fcf8",null),Dt=At.exports,Pt=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"media-left"},["transfer"===t.type?[t.received?e("router-link",{attrs:{to:"/@"+t.activity.from}},[e("peak-avatar",{staticClass:"avatar avatar-38",attrs:{account:t.activity.from,"avatar-size":"small"}})],1):e("router-link",{attrs:{to:"/@"+t.activity.to}},[e("peak-avatar",{staticClass:"avatar avatar-38",attrs:{account:t.activity.to,"avatar-size":"small"}})],1)]:"reward"===t.type?e("span",{staticClass:"btn border-blue-700 text-blue-700 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-medal"})]):"stake"===t.type?e("span",{staticClass:"btn border-info text-info btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-arrow-up16"})]):"delegate"===t.type?e("span",{staticClass:"btn border-purple text-purple btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-arrow-right16"})]):"issue"===t.type?e("span",{staticClass:"btn border-success text-success btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-chip"})]):"distribution"===t.type?e("span",{staticClass:"btn border-orange text-orange-600 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-coins"})]):e("span",{staticClass:"btn border-grey-300 text-grey-300 btn-flat btn-icon btn-rounded btn-sm"},[e("i",{staticClass:"icon-lab"})])],2),e("div",{staticClass:"media-body"},["transfer"===t.type?[t.validTip?[t.received?e("div",[t._v(" Tip received from "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.activity.from}},[t._v(t._s(t.activity.from))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-success pull-right"},[t._v(t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])],1):"null"===t.activity.to?e("div",[t._v(" Tip burn fee sent to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.activity.to}},[t._v(t._s(t.activity.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-warning pull-right"},[t._v("- "+t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])],1):e("div",[t._v(" Tip sent to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.activity.to}},[t._v(t._s(t.activity.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-warning pull-right"},[t._v("- "+t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])],1)]:t.received?e("div",[t._v(" Received from "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.activity.from}},[t._v(t._s(t.activity.from))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-success pull-right"},[t._v(t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])],1):e("div",[t._v(" Transferred to "),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/@"+t.activity.to}},[t._v(t._s(t.activity.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-warning pull-right"},[t._v("- "+t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])],1)]:"reward"===t.type?e("div",[e("span",[t._v(t._s(t.activity.operation.includes("author")?"Author":"Curation")+" reward for ")]),e("router-link",{staticClass:"text-semibold text-default",attrs:{to:"/"+t.activity.authorperm}},[t._v(t._s(t.activity.authorperm))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[t._v(t._s(t.activity.quantity)+" "+t._s(t.activity.symbol))])],1):"stake"===t.type?e("div",[t.activity.from!==t.activity.account?e("span",[e("span",{staticClass:"text-semibold"},[t._v(t._s(t.activity.from))]),t._v(" staked ")]):e("span",[t._v("Staked")]),t._v(" to "),e("span",{staticClass:"text-semibold"},[t._v(t._s(t.activity.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[t._v(t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])]):"delegate"===t.type?e("div",[e("span",{staticClass:"text-semibold"},[t._v(t._s(t.activity.from))]),t._v(" delegated to "),e("span",{staticClass:"text-semibold"},[t._v(t._s(t.activity.to))]),e("span",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[t._v(t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])]):"issue"===t.type?e("div",[t._v(" Received new tokens "),e("span",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[t._v(t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])]):"distribution"===t.type?e("div",[t._v(" Received diesel pool distribution "),e("span",{staticClass:"media-annotation text-semibold amount-label text-default pull-right"},[t._v(t._s(t.transferAmount)+" "+t._s(t.activity.symbol))])]):e("div",{staticClass:"well text-size-small p-10 mt-5"},[t._l(t.fields,function(i){return e("samp",{key:i,staticClass:"display-block"},[e("span",{staticClass:"text-bold"},[t._v(t._s(i))]),t._v(": "+t._s(t.activity[i]))])}),0===t.fields.length?e("samp",{staticClass:"display-block"},[t._v("No additional details available")]):t._e()],2),e("timeago-label",{attrs:{activity:t.activity,"hive-engine":!0}}),t.validTip?e("div",{staticClass:"well text-size-small p-10 mt-5"},t._l(t.validTip,function(i,s){return e("samp",{key:s,staticClass:"display-block"},[e("span",{staticClass:"text-bold"},[t._v(t._s(s))]),t._v(": "),["author","sender"].includes(s)?e("router-link",{staticClass:"text-bold",attrs:{to:`/@${i}`}},[t._v(t._s(i))]):["post"].includes(s)?e("router-link",{staticClass:"text-bold",attrs:{to:`/@${t.validTip.author}/${i}`}}
1,[t._v(t._s(i))]):e("span",[t._v(t._s(i))])],1)}),0):t.activity.memo?e("div",{staticClass:"memo-wrapper overflow-stop"},[t._v(t._s(t.activity.memo))]):t._e()],2),e("hr",{staticClass:"mt-10 mb-10"})])},Ut=[],Tt={name:"HiveEngineActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:["activity","username"],computed:{type:function(){switch(this.activity.operation){case"tokens_transfer":return"transfer";case"tokens_delegate":return"delegate";case"tokens_stake":return"stake";case"tokens_issue":return"issue";case"comments_authorReward":case"comments_authorReward_stake":case"comments_curationReward":case"comments_curationReward_stake":return"reward";case"distribution_checkPendingDistributions":return"distribution";default:return"generic"}},fields:function(){return Object.keys(this.activity).filter(t=>!["_id","type"].includes(t))},timestamp:function(){return this.activity.timestamp},received:function(){return this.username===this.activity.to},transferAmount:function(){return this.activity.quantity?Math.abs(parseFloat(this.activity.quantity))>1?N()(parseFloat(this.activity.quantity)).format("0,0.[00000000]"):this.activity.quantity:null},validTip:function(){if("tokens_transfer"!==this.activity.operation||!this.activity.memo||0===this.activity.memo.length)return null;const t=this.activity.memo.match(/!tip @([a-z0-9-.]{3,16})\/([a-z0-9-]{3,255}) @([a-z0-9-.]{3,16})(?: app:([^ ]*))?(?: message:(.*))?/);if(t){const e={author:t[1],post:t[2],sender:t[3]};return t[4]&&(e.app=t[4]),t[5]&&(e.message=t[5]),e}return null}}},St=Tt,Ht=(0,U.A)(St,Pt,Ut,!1,null,"b216b472",null),Rt=Ht.exports,Mt=i(18323),$t=i(33963),Et=i.n($t);const It=5e3;var Ft={name:"Transactions",mixins:[l.A],components:{TransferActivity:L,ClaimRewardActivity:J,PowerUpActivity:it,ConvertActivity:lt,FillConvertRequestActivity:vt,ProposalPaymentActivity:yt,RecurringTransferActivity:Dt,HiveEngineActivity:Rt,GenericActivity:Mt.A,InfiniteLoading:E.A},directives:{debounce:Et()},props:{useHiveEngine:{type:Boolean,default:!1}},data(){return{activities:[],lastActivityLoaded:null,isLoading:!1,infiniteLoadingDistance:100,showFiltersPanel:!1,filterIncoming:!1,filterOutgoing:!1,filterExcludeSmallTransaction:!1,filterClaimReward:!1,filterPowerUp:!1,filterConvertRequest:!1,filterSavings:!1,filterEscrow:!1,filterContainsText:"",filterMarketOrder:!1,filterMarketOrderFill:!1,filterShowGovernance:!1}},watch:{useHiveEngine:function(){this.activities=[],this.lastActivityLoaded=null,this.isLoading=!1,this.$nextTick(()=>{this.$refs.infiniteLoading.$emit("$InfiniteLoading:reset")})},filterIncoming:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterOutgoing:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterExcludeSmallTransaction:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterClaimReward:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterPowerUp:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterConvertRequest:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterSavings:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterEscrow:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterShowGovernance:function(){this.activities=[],this.lastActivityLoaded=null,this.isLoading=!1,this.infiniteLoadingDistance=100,this.$refs.infiniteLoading.reset()},filterMarketOrder:function(){this.$nextTick(()=>
1{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterMarketOrderFill:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterContainsText:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})}},computed:{useFilters:function(){return this.filterIncoming||this.filterOutgoing||this.filterClaimReward||this.filterPowerUp||this.filterConvertRequest||this.filterSavings||this.filterEscrow||this.filterMarketOrder||this.filterMarketOrderFill||this.filterExcludeSmallTransaction},filteredActivities:function(){return this.useHiveEngine?this.activities:this.activities.filter(t=>this.showActivity(t)&&this.applyTextFilter(t))}},methods:{showActivity:function(t){if(!t[1])return!1;if(!this.useFilters)return!0;switch(t[1].op[0]){case"transfer":case"fill_recurrent_transfer":case"recurrent_transfer":{const e=t[1].op[1];return(!this.filterExcludeSmallTransaction||"0.001 HIVE"!==e.amount&&"0.001 HBD"!==e.amount)&&!!(this.filterIncoming&&e.to===this.$route.params.username||this.filterOutgoing&&e.from===this.$route.params.username)}case"claim_reward_balance":case"interest":return this.filterClaimReward;case"transfer_to_vesting":case"withdraw_vesting":case"fill_vesting_withdraw":return this.filterPowerUp;case"convert":case"collateralized_convert":case"fill_convert_request":case"fill_collateralized_convert_request":return this.filterConvertRequest;case"transfer_to_savings":case"transfer_from_savings":case"cancel_transfer_from_savings":return this.filterSavings;case"escrow_transfer":case"escrow_dispute":case"escrow_release":case"escrow_approve":return this.filterEscrow;case"limit_order_create":case"limit_order_create2":case"limit_order_cancel":return this.filterMarketOrder;case"fill_order":return this.filterMarketOrderFill;case"pow_reward":case"producer_reward":case"proposal_pay":return this.filterShowGovernance;default:return!1}},applyTextFilter:function(t){if(0===this.filterContainsText.length)return!0;if(["transfer","recurrent_transfer"].includes(t[1].op[0])){let e=t[1].op[1],i=this.filterContainsText.toLowerCase();return e.to.includes(i)||e.from.includes(i)||e.memo.toLowerCase().includes(i)||e.amount.includes(i)}return!1},handlerLoad:function(){this.infiniteLoadingDistance=100,this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.$refs.infiniteLoading.attemptLoad()})},fetchHiveActivities:async function(t){if(this.isLoading)return;this.isLoading=!0;let e=this.lastActivityLoaded?this.lastActivityLoaded:-1,i=-1===e||e>1e3?1e3:e;try{const s=this.filterShowGovernance?$.KX:$.VC,a=await g().api.getAccountHistoryAsync(this.$route.params.username,e,i,...s);if(!Array.isArray(a))return void this.$notify({type:"error",duration:5e3,text:"Error retrieving data from Hive node, please try again in a few moments"});if(0===a.length)return void t.complete();const n=a.reverse();let r=i;this.lastActivityLoaded&&this.lastActivityLoaded===n[0][0]&&(r-=1,n.shift()),n.length>0?(this.lastActivityLoaded=n[n.length-1][0],this.activities=this.activities.concat(n)):this.lastActivityLoaded=this.lastActivityLoaded-1,0===this.lastActivityLoaded||0===r||i<1e3?t.complete():(this.activities.length>It&&(this.infiniteLoadingDistance=-1/0),t.loaded())}catch(s){s.message&&s.message.match(/^Assert.*Could not find filtered operation in.*set start=([0-9]+)\.$/)?(console.warn("Warning loading wallet transactions: ",s),this.lastActivityLoaded=parseInt(RegExp.$1),await o()(1e3),t.loaded()):(console.error("Error loading wallet transactions: ",s),this.$notify({type:"error",duration:5e3,text:"Error retrieving data from Hive node, please try again in a few moments"}),t.complete())}finally{this.isLoading=!1}},fetchHiveEngineActivities:function(t){if(this.isLoading)return;this.isLoading=!0;let e=250;this.$http.get("https://history.hive-engine.com/accountHistory",{params:{account:this.$route.params.username,limit:e,offset:this.activities.length,type:"user"}}).then(i=>{console.log(i.data),Array.isArray(i.data)?(this.activities=this.activities.concat(i.data.map(t=>({...t,type:"hive-engine"}))),this.isLoading=!1,i.data.length<e?t.complete():t.loaded()):this.$notify({type:"error",duration:5e3,text:"Error retrieving data from Hive Engine node, please try again in a few moments"})}).catch(e=>{console.log(e),this.$notify({type:"error",duration:5e3,text:"Error retrieving data from Hive Engine node, please try again in a few moments"}),this.isLoading=!1,t.complete()})},infiniteHandler:function(t){return this.useHiveEngine?this.fetchHiveEngineActivities(t):this.fetchHiveActivities(t)}}},qt=Ft,Vt=(0,U.A)(qt,R,M,!1,null,"0260ff44",null),Wt=Vt.exports,Ot=function(){var t=this,e=t._self._c;return e("div",{staticClass:"row display-flex-row"},[e("div",{staticClass:"col-lg-2 col-lg-offset-1 col-lg-push-8 col-md-3 col-md-push-9"},[e("div",{staticClass:"sidebar-detached position-sticky-top"},[e("div",{staticClass:"sidebar sidebar-default sidebar-separate display-block"},[e("div",{staticClass:"sidebar-content"},[e("div",{staticClass:"sidebar-category"},[e("a",{staticClass:"category-title text-default text-semibold display-flex flex-middle pr-20",class:{"border-bottom-lg":["mobile","tablet"].includes(t.$mq)},on:{click:function(e){e.stopPropagation(),t.showFiltersPanel=!t.showFiltersPanel}}},[e("span",{staticClass:"flex-grow"},[t._v("Filters")]),e("div",{staticClass:"visible-xs-block visible-sm-block"},[e("i",{staticClass:"text-bold",class:t.showFiltersPanel?"icon-arrow-up12":"icon-arrow-down12"})])]),t.showFiltersPanel||!["mobile","tablet"].includes(t.$mq)?e("div",{staticClass:"category-content no-padding"},[e("ul",{staticClass:"navigation text-size-small"},[e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterIncoming,callback:function(e){t.filterIncoming=e},expression:"filterIncoming"}}),t._v(" Incoming")],1)]),e("li",[e("a",[e("p-check",{staticClass:"p-default p-fill p-smooth p-bigger",attrs:{name:"check",color:"info"},model:{value:t.filterOutgoing,callback:function(e){t.filterOutgoing=e},expression:"filterOutgoing"}}),t._v(" Outgoing")],1)]),t._m(0),e("li",[e("div",{staticClass:"pl-20 pr-20 pb-10"},[e("div",{staticClass:"has-feedback has-feedback-left"},[e("input",{directives:[{name:"model",rawName:"v-model.lazy",value:t.filterContainsText,expression:"filterContainsText",modifiers:{lazy:!0}},{name:"debounce",rawName:"v-debounce",value:300,expression:"300"}],staticClass:"form-control",attrs:{type:"search",placeholder:"Search"},domProps:{value:t.filterContainsText},on:{change:function(e){t.filterContainsText=e.target.value}}}),t._m(1)])])])])]):t._e()])])])])]),e("div",{staticClass:"col-lg-6 col-lg-pull-0 col-md-9 col-md-pull-3"},[e("div",{staticClass:"panel panel-flat"},[e("div",{staticClass:"panel-heading"},[e("h5",{staticClass:"panel-title text-semibold display-flex flex-middle"},[t._v(" Transactions "),e("img",{staticClass:"ml-10",staticStyle:{"max-height":"32px",height:"32px",width:"auto"},attrs:{src:i(83336)}})])]),e("div",{staticClass:"panel-body"},[e("ul",{staticClass:"media-list"},[t.activities.length>0&&0===t.filteredActivities.length&&t.infiniteLoadingDistance<0?e("div",{staticClass:"text-muted"},[e("h4",{staticClass:"text-semibold"}
1,[t._v("No transactions found matching the specified criteria")])]):t._l(t.filteredActivities,function(t){return e("li",{key:t[0],staticClass:"media"},[e("vsc-activity",{attrs:{activity:t}})],1)}),e("div",{staticClass:"text-center"},[t.infiniteLoadingDistance<0?e("button",{staticClass:"btn btn-primary",attrs:{disabled:t.loading},on:{click:function(e){return t.handlerLoad()}}},[t.loading?e("i",{staticClass:"icon-spinner2 spinner position-left"}):t._e(),t._v(t._s(t.loading?"Loading":"Load more activities")+" ")]):t._e()]),e("infinite-loading",{ref:"infiniteLoading",attrs:{distance:t.infiniteLoadingDistance},on:{infinite:t.infiniteHandler}},[e("div",{staticClass:"text-muted",attrs:{slot:"no-results"},slot:"no-results"},[t.activities.length?e("h4",{staticClass:"text-semibold"},[t._v("No more transactions.")]):e("h4",{staticClass:"text-semibold"},[t._v("No transactions found.")])]),e("div",{staticClass:"text-muted",attrs:{slot:"no-more"},slot:"no-more"},[t.activities.length?e("h4",{staticClass:"text-semibold"},[t._v("No more transactions.")]):e("h4",{staticClass:"text-semibold"},[t._v("No transactions found.")])])])],2)])])])])},Lt=[function(){var t=this,e=t._self._c;return e("li",{staticClass:"navigation-header"},[e("span",[t._v("Contains")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-control-feedback"},[e("i",{staticClass:"icon-search4 text-size-base text-muted"})])}],Bt=(i(33110),i(78562)),zt=function(){var t=this,e=t._self._c;return e("div",[t._l(t.activity.ops,function(s,a){var n,r;return e("div",{key:a,staticClass:"display-flex"},[e("div",{staticClass:"media-left pr-10 position-relative",class:{"mt-10":a>0}},[e("i",{staticClass:"icon-large icon-circles",class:"INCLUDED"===t.activity.status||"CONFIRMED"===t.activity.status?"text-success":"text-danger"})]),e("div",{staticClass:"media-body",class:{"mt-10":a>0}},[e("div",{staticClass:"display-flex flex-middle flex-between flex-gap-10"},[e("div",{staticClass:"display-flex flex-middle gap-10 flex-grow"},[e("span",{staticClass:"text-semibold mr-10"},[t._v(" "+t._s(t.splitAndCapitalize(s.type).replace("Hbd","HBD"))+" "),null!==(n=s.data)&&void 0!==n&&n.from&&s.data.from.replace(/^hive:/,"")!==t.$route.params.username?e("span",{staticClass:"text-regular"},[t._v(" from "),s.data.from.startsWith("hive:")?e(s.data.from.startsWith("hive:")?"RouterLink":s.data.from.startsWith("did:")?"code":"span",{tag:"component",staticClass:"text-default text-semibold",attrs:{to:`/@${s.data.from.replace(/^hive:/,"")}`}},[s.data.from.startsWith("hive:")?e("peak-avatar",{staticClass:"display-inline-block avatar avatar-22 ml-2 mr-3",staticStyle:{"vertical-align":"middle"},attrs:{account:s.data.from.replace(/^hive:/,""),"avatar-size":"small"}}):t._e(),t._v(t._s(s.data.from.replace(/^hive:/,"")))],1):s.data.from.startsWith("did:pkh:eip155:1:")?e("a",{staticClass:"text-default text-semibold",attrs:{href:`https://etherscan.io/address/${s.data.from.replace(/^did:pkh:eip155:1:/,"")}`,target:"_blank"}},[e("img",{staticClass:"avatar avatar-22 ml-2 mr-3",attrs:{src:i(57309)}}),t._v(t._s(s.data.from.replace(/^did:pkh:eip155:1:/,""))+" ")]):t._e()],1):null!==(r=s.data)&&void 0!==r&&r.to?e("span",{staticClass:"text-regular"},[t._v(" to "),s.data.to.startsWith("hive:")?e(s.data.to.startsWith("hive:")?"RouterLink":s.data.to.startsWith("did:")?"code":"span",{tag:"component",staticClass:"text-default text-semibold",attrs:{to:`/@${s.data.to.replace(/^hive:/,"")}`}},[s.data.to.startsWith("hive:")?e("peak-avatar",{staticClass:"display-inline-block avatar avatar-22 ml-2 mr-3",staticStyle:{"vertical-align":"middle"},attrs:{account:s.data.to.replace(/^hive:/,""),"avatar-size":"small"}}):t._e(),t._v(t._s(s.data.to.replace(/^hive:/,"")))],1):s.data.to.startsWith("did:pkh:eip155:1:")?e("a",{staticClass:"text-default text-semibold",attrs:{href:`https://etherscan.io/address/${s.data.to.replace(/^did:pkh:eip155:1:/,"")}`,target:"_blank"}},[e("img",{staticClass:"avatar avatar-22 ml-2 mr-3",attrs:{src:i(57309)}}),t._v(t._s(s.data.to.replace(/^did:pkh:eip155:1:/,""))+" ")]):t._e()],1):t._e()]),t.activity.status&&"CONFIRMED"!==t.activity.status?e("div",[e("span",{staticClass:"badge badge-flat badge-danger text-muted"},[t._v(t._s(t.activity.status))])]):t._e()]),e("div",{staticClass:"text-success"}
1,[t._v(" "+t._s(t.formatAmount(s.data.amount))+" "),e("span",{staticClass:"text-uppercase"},[t._v(t._s(s.data.asset))])])]),e("div",{staticClass:"display-flex flex-middle flex-gap-5 flex-grow text-left"},[e("a",{staticClass:"media-annotation text-muted",staticStyle:{"font-size":"12px"},attrs:{href:t.blockExplorerLink,target:"_blank"}},[t._v("ID: "+t._s(t.activity.id)+" • ")]),t.activity.ops.length>1?e("span",{staticClass:"media-annotation text-muted"},[t._v("Op: "),e("span",{staticClass:"text-semibold text-primary"},[t._v(t._s(a+1)+"/"+t._s(t.activity.ops.length))]),t._v(" • ")]):t._e(),e("timeago-label",{attrs:{activity:t.activity,vsc:!0}})],1),"call_contract"===s.type?e("a",{staticClass:"mt-5 text-size-small cursor-pointer",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showDetails=!t.showDetails}}},[t._v(" Show details "),e("i",{class:t.showDetails?"icon-chevron-up":"icon-chevron-down"})]):t._e(),t.showDetails||"call_contract"!==s.type?e("div",{staticClass:"well text-size-small p-10 mt-5"},t._l(s.data,function(i,s){return e("samp",{key:s,staticClass:"display-block"},[i&&!["amount","asset","type"].includes(s)?e("div",[e("span",{staticClass:"text-bold"},[t._v(t._s(s))]),t._v(": "),e("span",[t._v(t._s(i)+" ")])]):t._e()])}),0):t._e()])])}),e("hr",{staticClass:"mt-10 mb-10"})],2)},Gt=[];const Nt="https://hivehub.dev";var Yt={name:"VscActivity",mixins:[l.A],components:{TimeagoLabel:q.A},props:{activity:{type:Object,required:!0}},computed:{blockExplorerLink:function(){return`${Nt}/tx/${this.activity.id}`}},data(){return{showDetails:!1}},methods:{formatAmount(t){return"number"===typeof t?this.$options.filters.numeral(t/1e3,"0,0.000"):t}}},Kt=Yt,jt=(0,U.A)(Kt,zt,Gt,!1,null,null,null),Jt=jt.exports,Qt={name:"VscTransactions",mixins:[l.A],components:{VscActivity:Jt,InfiniteLoading:E.A},directives:{debounce:Et()},props:{},data(){return{activities:[],loading:!1,infiniteLoadingDistance:100,showFiltersPanel:!1,filterIncoming:!1,filterOutgoing:!1,filterContainsText:""}},watch:{filterIncoming:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterOutgoing:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})},filterContainsText:function(){this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.filteredActivities.length<25&&this.$refs.infiniteLoading.attemptLoad()})}},computed:{useFilters:function(){return this.filterIncoming||this.filterOutgoing||this.filterContainsText},filteredActivities:function(){var t;const e=null===(t=this.filterContainsText)||void 0===t?void 0:t.trim().toLowerCase();return this.activities.filter(t=>(!this.filterIncoming||t.data.from===`hive:${this.$route.params.username}`)&&((!this.filterOutgoing||t.data.to===`hive:${this.$route.params.username}`)&&!(this.filterContainsText&&!JSON.stringify(t.data).toLowerCase().includes(e))))}},methods:{handlerLoad:function(){this.infiniteLoadingDistance=100,this.$nextTick(()=>{!1===this.$refs.infiniteLoading.isLoading&&this.$refs.infiniteLoading.attemptLoad()})},infiniteHandler:async function(t){if(this.loading)return;this.loading=!0;let e=this.activities.length,i=100;try{const s=await Bt.A.getTransactionsByAccount(this.$route.params.username,e,i);if(!Array.isArray(s))return void this.$notify({type:"error",duration:5e3,text:"Error retrieving data from Magi node, please try again in a few moments"});this.activities=this.activities.concat(s),s.length<i?t.complete():t.loaded()}catch(s){console.error("Error loading transactions: ",s),this.$notify({type:"error",duration:5e3,text:"Error retrieving data from Magi node, please try again in a few moments"}),t.complete()}finally{this.loading=!1}}}},Xt=Qt,Zt=(0,U.A)(Xt,Ot,Lt,!1,null,"0e2eaad0",null),te=Zt.exports;const ee=()=>({component:i.e(2159).then(i.bind(i,32159)),loading:H.A}),ie=()=>({component:i.e(2506).then(i.bind(i,62506)),loading:H.A}),se=()=>({component:i.e(2718).then(i.bind(i,92718)),loading:H.A}),ae=()=>({component:i.e(6999).then(i.bind(i,46999)),loading:H.A}),ne=()=>({component:i.e(6483).then(i.bind(i,96483)),loading:H.A}),re=()=>({component:i.e(7398).then(i.bind(i,77398)),loading:H.A}),oe=()=>({component:i.e(5745).then(i.bind(i,15745)),loading:H.A}),le="https://api.hivesbi.com";var ce={name:"Wallet",mixins:[l.A,u.Ay,c.A,d.A],components:{PeakSupportCard:p.A,HiveWallet:S,HiveEngineWallet:ee,VscWallet:ie,ExchangesWallet:se,OthersWallet:ae,GamesWallet:ne,RecurringWallet:re,DepositWallet:oe,Transactions:Wt,VscTransactions:te},props:{blogUser:{type:Object,required:!0},blogUserRc:{type:Object,required:!1}},data(){return{showTransactions:!1,isRefreshing:!1,advancedMode:!1,enableOtherWallet:!1}},watch:{currentUserAccount:function(t,e){(null===t||void 0===t?void 0:t.name)!==(null===e||void 0===e?void 0:e.name)&&this.initAdvancedMode()}},computed:{...(0,n.L8)({currentUser:"currentUser",currentUserAccount:"currentUserAccount",currentUserPrefs:"currentUserPrefs",hiveMarketPrice:"hiveMarketPrice",hiveBtcMarketPrice:"hiveBtcMarketPrice",hbdMarketPrice:"hbdMarketPrice",hiveInternalMarketPrice:"hiveInternalMarketPrice",hbdInternalMarketPrice:"hbdInternalMarketPrice",hiveMarketStats:"hiveMarketStats",hiveBtcMarketStats:"hiveBtcMarketStats"}),wallet:function(){return this.$route.params.wallet&&["hive","hive-engine","vsc","exchanges","others","games","recurring","deposit"].includes(this.$route.params.wallet)?this.$route.params.wallet:"hive"},wallets:function(){return[{name:"hive",title:"Hive",headline:"Wallet",icon:"logo-hive",class:"bg-hive"},{name:"hive-engine",title:"Hive Engine",headline:"Wallet",icon:"logo-steem-engine",class:"bg-hive"},{name:"vsc",title:"Magi",headline:"Wallet",image:i(83336),class:"bg-hive"},{name:"exchanges",title:"Exchanges",headline:"Services",icon:"icon-git-compare rotate-90",class:"bg-hive"},{name:"games",title:"Games",headline:"Collections",icon:"logo-peakmonsters",class:"bg-hive"},{name:"others",title:"Others",headline:"Services",icon:"icon-grid6",class:"bg-hive",hidden:!this.enableOtherWallet},{name:"recurring",title:"Recurring Transfers",headline:"Recurring Transfers",icon:"icon-alarm",class:"bg-blue-800",hidden:!0},{name:"deposit",title:"Deposit",headline:"Services",icon:"icon-download",class:"bg-blue-800",hidden:!0}]},selectedWallet:function(){return this.wallets.find(t=>t.name===this.wallet)},hiveUsdValue:function(){return this.hiveMarketPrice?this.hiveMarketPrice.price:0},hiveUsdTrend:function(){return this.hiveMarketPrice?this.hiveMarketPrice.trend:null},hiveBtcValue:function(){const t=this.hiveBtcMarketPrice?Number(this.hiveBtcMarketPrice.price):0;return Number.isFinite(t)?t:0},formattedHiveBtcValue:function(){return this.hiveBtcValue.toFixed(8)},hasHiveBtcMarketStats:function(){return this.hiveBtcMarketStats&&this.hiveBtcMarketStats.length>0},hbdUsdValue:function(){return this.hbdMarketPrice?this.hbdMarketPrice.price:0},hiveInternalUsdValue:function(){return this.hiveInternalMarketPrice?this.hiveInternalMarketPrice.price:0},hbdInternalUsdValue:function(){return this.hbdInternalMarketPrice?this.hbdInternalMarketPrice.price:0},buyWithCardUrl:function(){return"https://simpleswap.io/buy-btc?ref=8a5aea0d4e2e"}},methods:{saveAdvancedMode:async function(){await this.$store.dispatch("updatePref",{key:"walletAdvancedMode",value:this.advancedMode})},initAdvancedMode:async function(){var t;if(void 0===this.currentUserPrefs.walletAdvancedMode){if(null!==(t=this.currentUser)&&void 0!==t&&t.account){const t=this.currentUser.account;if(parseFloat(t.savings_balance)>0||parseFloat(t.savings_hbd_balance)>0)return void(this.advancedMode=!0);if(parseFloat(t.vesting_shares)>3e7)return void(this.advancedMode=!0);if(t.created<"2024-01-01T00:00:00")return void(this.advancedMode=!0);if(t.withdraw_routes>0)return void(this.advancedMode=!0)}}else this.advancedMode="true"===this.currentUserPrefs.walletAdvancedMode},refreshWalletData:async function(){if(!this.isRefreshing){this.isRefreshing=!0;try{await this.$refs[`${this.selectedWallet.name}-wallet`].refresh(),await o()(500)}catch(t){console.error("Error during wallet refresh: ",t),this.$notify({type:"error",duration:5e3,text:"Error updating wallet details, please try again in a few moments"})}finally{this.isRefreshing=!1}}},walletDataLoaded:function(){this.showTransactions=!0},buyWithCard:async function(){try{await this.$store.dispatch("openConfirmActionModal",{title:"How To Buy HIVE",message:"Two Step Process to buy HIVE with Credit Card<br>-Use CC to buy Bitcoin (BTC) or other popular cyptocurrency<br>-Swap for HIVE<br><br>Confirming will redirect you to SimpleSwap (https://simpleswap.io) to get started."}),window.open(this.buyWithCardUrl,"_blank")}catch(t){}},trackReferralClick:function(t){try{this.$plausible.trackEvent("referral",{props:{service:t}})}catch(e){console.log("Error tracking referral click",e)}}},mounted(){console.log("Wallet component mounted on "+this.$route.path),"Wallet"===this.$route.name?(this.initAdvancedMode(),this.$http.get(`${le}/users/${this.$route.params.username}/?format=json`).then(t=>{t.error||t.data.error||(t.data.data.shares||t.data.data.bonusShares)&&(this.enableOtherWallet=!0)}).catch(()=>{}),this.$store.dispatch("refreshMarketPrice"),this.$store.dispatch("refreshMarketStats")):console.warn("Wallet component mounted when navigating to another page !!")}},de=ce,ue=(0,U.A)(de,s,a,!1,null,"63e237ba",null),pe=ue.exports}
1,78562:function(t,e,i){"use strict";var s=i(94335);const a="https://api.vsc.eco/api/v1/graphql";e.A={getAccountBalance:async t=>{var e;const i=await s.A.post(a,{extensions:{},operationName:"GetAccountBalance",query:`query GetAccountBalance {\n        getAccountBalance(account: "hive:${t}") {\n          account\n          hbd\n          hive\n          block_height\n          hbd_avg\n          hbd_claim\n          hbd_modify\n          hbd_savings\n          hive_consensus\n        }\n      }`});return null===(e=i.data)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.getAccountBalance},getTransactionsByAccount:async(t,e=0,i=100)=>{var n;const r=await s.A.post(a,{extensions:{},operationName:"FindTransactions",query:`query FindTransactions {\n        findTransaction(filterOptions: { byAccount: "hive:${t}", offset: ${e}, limit: ${i} }) {\n          id\n          type\n          op_types\n          first_seen\n          nonce\n          required_auths\n          status\n          ops {\n            required_auths\n            type\n            index\n            data\n          }\n        }\n      }`});return(null===(n=r.data)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.findTransaction)||[]}}},2285:function(t,e,i){"use strict";i.d(e,{Dr:function(){return n},KX:function(){return o},Sb:function(){return a},VC:function(){return r}});i(74423),i(18111),i(22489),i(61701);var s=i(85468);const a=[{key:"vote",id:0,type:"activity"},{key:"comment",id:1,type:"activity"},{key:"transfer",id:2,type:"wallet"},{key:"transfer_to_vesting",id:3,type:"wallet"},{key:"withdraw_vesting",id:4,type:"wallet"},{key:"limit_order_create",id:5,type:"wallet"},{key:"limit_order_cancel",id:6,type:"wallet"},{key:"feed_publish",id:7,type:"activity"},{key:"convert",id:8,type:"wallet"},{key:"account_create",id:9,type:"activity"},{key:"account_update",id:10,type:"activity"},{key:"witness_update",id:11,type:"activity"},{key:"account_witness_vote",id:12,type:"activity"},{key:"account_witness_proxy",id:13,type:"activity"},{key:"pow",id:14,type:"activity"},{key:"custom",id:15,type:"activity"},{key:"report_over_production",id:16,type:"activity"},{key:"delete_comment",id:17,type:"activity"},{key:"custom_json",id:18,type:"activity"},{key:"comment_options",id:19,type:"activity"},{key:"set_withdraw_vesting_route",id:20,type:"wallet"},{key:"limit_order_create2",id:21,type:"wallet"},{key:"claim_account",id:22,type:"activity"},{key:"create_claimed_account",id:23,type:"activity"},{key:"request_account_recovery",id:24,type:"activity"},{key:"recover_account",id:25,type:"activity"},{key:"change_recovery_account",id:26,type:"activity"},{key:"escrow_transfer",id:27,type:"wallet"},{key:"escrow_dispute",id:28,type:"wallet"},{key:"escrow_release",id:29,type:"wallet"},{key:"pow2",id:30,type:"activity"},{key:"escrow_approve",id:31,type:"wallet"},{key:"transfer_to_savings",id:32,type:"wallet"},{key:"transfer_from_savings",id:33,type:"wallet"},{key:"cancel_transfer_from_savings",id:34,type:"wallet"},{key:"custom_binary",id:35,type:"activity"},{key:"decline_voting_rights",id:36,type:"activity"},{key:"reset_account",id:37,type:"activity"},{key:"set_reset_account",id:38,type:"activity"},{key:"claim_reward_balance",id:39,type:"wallet"},{key:"delegate_vesting_shares",id:40,type:"activity"},{key:"account_create_with_delegation",id:41,type:"activity"},{key:"witness_set_properties",id:42,type:"activity"},{key:"account_update2",id:43,type:"activity"},{key:"create_proposal",id:44,type:"activity"},{key:"update_proposal_votes",id:45,type:"activity"},{key:"remove_proposal",id:46,type:"activity"},{key:"update_proposal",id:47,type:"activity"},{key:"collateralized_convert",id:48,type:"wallet"},{key:"recurrent_transfer",id:49,type:"wallet"},{key:"fill_convert_request",id:50,type:"wallet"},{key:"author_reward",id:51,type:"activity"}
1,{key:"curation_reward",id:52,type:"activity"},{key:"comment_reward",id:53,type:"activity"},{key:"liquidity_reward",id:54,type:"wallet"},{key:"interest",id:55,type:"wallet"},{key:"fill_vesting_withdraw",id:56,type:"wallet"},{key:"fill_order",id:57,type:"wallet"},{key:"shutdown_witness",id:58,type:"activity"},{key:"fill_transfer_from_savings",id:59,type:"wallet"},{key:"hardfork",id:60,type:"activity"},{key:"comment_payout_update",id:61,type:"activity"},{key:"return_vesting_delegation",id:62,type:"activity"},{key:"comment_benefactor_reward",id:63,type:"activity"},{key:"producer_reward",id:64,type:"wallet"},{key:"clear_null_account_balance",id:65,type:"wallet"},{key:"proposal_pay",id:66,type:"wallet"},{key:"dhf_funding",id:67,type:"wallet"},{key:"hardfork_hive",id:68,type:"activity"},{key:"hardfork_hive_restore",id:69,type:"activity"},{key:"delayed_voting",id:70,type:"activity"},{key:"consolidate_treasury_balance",id:71,type:"activity"},{key:"effective_comment_vote",id:72,type:"activity"},{key:"ineffective_delete_comment",id:73,type:"activity"},{key:"dhf_conversion",id:74,type:"wallet"},{key:"expired_account_notification",id:75,type:"activity"},{key:"changed_recovery_account",id:76,type:"activity"},{key:"transfer_to_vesting_completed",id:77,type:"wallet"}
1,{key:"pow_reward",id:78,type:"wallet"},{key:"vesting_shares_split",id:79,type:"activity"},{key:"account_created",id:80,type:"activity"},{key:"fill_collateralized_convert_request",id:81,type:"wallet"},{key:"system_warning",id:82,type:"activity"},{key:"fill_recurrent_transfer",id:83,type:"wallet"},{key:"failed_recurrent_transfer",id:84,type:"wallet"},{key:"limit_order_cancelled",id:85,type:"wallet"},{key:"producer_missed",id:86,type:"activity"},{key:"proposal_fee",id:87,type:"wallet"},{key:"collateralized_convert_immediate_conversion",id:88,type:"wallet"},{key:"escrow_approved",id:89,type:"wallet"},{key:"escrow_rejected",id:90,type:"wallet"},{key:"proxy_cleared",id:91,type:"activity"},{key:"declined_voting_rights",id:92,type:"activity"}],n=(0,s.makeBitMaskFilter)(a.filter(t=>"activity"===t.type).map(t=>t.id)),r=(0,s.makeBitMaskFilter)(a.filter(t=>"wallet"===t.type).filter(t=>!["pow_reward","producer_reward","proposal_pay"].includes(t.key)).map(t=>t.id)),o=(0,s.makeBitMaskFilter)(a.filter(t=>"wallet"===t.type).map(t=>t.id))},38221:function(t,e,i){var s=i(23805),a=i(10124),n=i(99374),r="Expected a function",o=Math.max,l=Math.min;function c(t,e,i){var c,d,u,p,m,v,h=0,g=!1,f=!1,b=!0;if("function"!=typeof t)throw new TypeError(r);function _(e){var i=c,s=d;return c=d=void 0,h=e,p=t.apply(s,i),p}function y(t){return h=t,m=setTimeout(x,e),g?_(t):p}function w(t){var i=t-v,s=t-h,a=e-i;return f?l(a,u-s):a}function C(t){var i=t-v,s=t-h;return void 0===v||i>=e||i<0||f&&s>=u}function x(){var t=a();if(C(t))return k(t);m=setTimeout(x,w(t))}function k(t){return m=void 0,b&&c?_(t):(c=d=void 0,p)}function A(){void 0!==m&&clearTimeout(m),h=0,c=v=d=m=void 0}function D(){return void 0===m?p:k(a())}function P(){var t=a(),i=C(t);if(c=arguments,d=this,v=t,i){if(void 0===m)return y(v);if(f)return clearTimeout(m),m=setTimeout(x,e),_(v)}return void 0===m&&(m=setTimeout(x,e)),p}return e=n(e)||0,s(i)&&(g=!!i.leading,f="maxWait"in i,u=f?o(n(i.maxWait)||0,e):u,b="trailing"in i?!!i.trailing:b),P.cancel=A,P.flush=D,P}t.exports=c},10124:function(t,e,i){var s=i(9325),a=function(){return s.Date.now()};t.exports=a},57309:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAL3ElEQVR4nO2dW2wcZxmGTTkIoSIBqmhvuKQXFXCDKNxyQ0VvEeLGDg6hFOG0TaAHzXrDOnG862MTe23n1MymRckO5qIcJC5AKG5aiIjXu7ZjEu+UKBwukCpRQYV6SNIMmiYuZrJre3f/mf/7/3ke6bv1jjfzxP9nv+9OVxcAAAAAAAAAAAAAAABAwjz388sfP3T04rd0XweASEqeXxw8VH3z8Ikr9+q+FgBRnJqrP+iW6zcGxqrB0OTSBd3XAyCG3NmzH3LLfq3k+UEoSCZfCUZnVrp1XxeACFyvng3lWBfEyS8EudHqm7ljlY/pvjYArTxfvnS/69XfigoSztBk7Ve6rw9AG0EQfKDk+b9blyMqSKawEEzMXPyq7usE0ELpp/VHNsoRFSScgYnF13NBcJfuawVIlNLc1ftcr/76VoKEUyguH9V9vQCJUvLqP4vK0UyQ/uGFm2NHVh/Qfc0AieB69YcbydFMkHAGD1Wv6L5ugETiJCWv/rdWBQlnuLji6L5+gNjjJM3k2EqQ7GjlOjEUsD5O0q4gt/42QgwFLI+TdCIIMRSwPk7SiSDEUMD6OEmnghBDAavjJCoEIYYC1sZJVAhCDAWsjZOoEoQYClgZJ1EpCDEUsC5OolIQYihgXZxEtSDEUMCqOEkcghBDAWviJHEIQgwFrImTxCUIMRSwIk4SlyDhEEMB4+MkcQpy66hFDAUMjpPELQgxFDA6ThK3IOEQQwFj4yRJCBIOMRQwMk6SlCDEUMDIOElSgoRDDAWMi5MkKUg4xFDAqDhJ0oIQQwGj4iRJCxIOMRQwJk6iQxBiKGBMnESHIOEQQwEj4iS6BLl11CKGAsLjJDoFIYYC4uMkOgUJhxgKiI6T6BYknMJU7Yju9xUsQXWcRIIgxFBAbJxEgiDhEEMBkXESKYKEQwwFxMVJJAlCDAXExUkkCRIOMRQQFSeRJggxFBAVJ5EmSDjEUEBMnESiILeOWjViKKA/TiJVkAwxFJAQJ5EqiJNfCPaPE0MBzXESyYI4xFBAd5xEuiD9xFBAZ5xEuiAOMRTQGScxQRCHGAqEuJ4/rVsKqYJkiaGkG11xElMEcYihpBedcRKTBMkQQ0knOuMkJgniEENJH7rjJKYJ4hBDSQ8S4iQmCpIhhpIOJMRJTBTEIYZiP1LiJKYK4hBDsRspcRKTBeknhmInkuIkJgviEEOxD2lxEtMFcYih2IW0OEl0XM8PZkqXgvzkUvDIj14Odjt/CJ45eEG7BM4mQwzFEiTGSdbn5Jl6cOjEapAb/99Pjd4954Luvvmg57H54NGnXwme2v9H7TI4TYYYiuFIjZMc/8laMDazEmSHK3fcdOuCvD+754NdP3w52LPvfOAM6ZfC2TDEUAxHUpxk4zEqvLGa3XR3CLJheh8/J+74lSOGYiZS4iSNjlGbzWaCrI+049cQMRSzkBAn2ewY1akg0o5fGWIoZqErTrLdY5QyQQQdv/YTQzEDHXGSVo9RcQgi4fhVIIYinyTjJO0eo+IUROfxq58YimySiJOoOEYlIoim49cgMZR0xklUHqOSFiTp49cwMZT0xEniOEbpEiSp41eWGIosTp6pf1llnCTuY5R2QRI4fg0RQ5ETJymV/SWTjlGSBIkev548oEYUYigWxUmSPkZJFCSO41eOGIq5cRKdxyjRgvSpPX4NTy3/Uvd9kkrajZNIOEaZIki3guMXMRRD4iSSjlGmCdLd4fGLGIrQOInUY5SxgvS1f/wihiIoTiL9GGWDIN0tHr+IoQiIk5hyjLJJkO4Wjl/EUDTESUw8RlkpSN/2jl/EUBKKk5h8jLJdkO5Njl/EUGKOk9hwjEqLIN1Njl/EUBTzvUrlw1PP/emKLceo1AnSFz1+nQ8Gxmp7dd9X1hD+Dj1fXHk2O7J4XfcNjCDzHU1P33zw/a
1deeSebrz6s+76yjrHZpU/nD9fmMwV7f4rYLMiuveduPnPgQkH3fWQ9+Znql8JfGWYE3NAIMr/l9D7xUrB34PxLuu+b1DEyvfKd3Hj1Dd03NYLMN5wdj70U7O4//1pudPU+3fdKarFtP7FBkB72DHnYsp+YLsgu9gzZmL6fmCpIL3uGWZi6n5gmyA72DHMxcT8xRZAe9gx7MGk/MUGQXewZdmLCfiJZkF72jHQgeT+RKMgO9gzZzM0FH3TLr35G9dfMT9VmsyOVG7qlkCpIT997cfW39x1cekjlez9+bO0e2oWKcT3/B67nT5ZevPqJePYT/XJIEmRXDHvG+i9NwmNubm71Iyq/duoJP+bHLfsvlsr+P92y/0T4iYo27ie6BemNac8YmV7qGRiv/jszvHBz4vilr6j++tDV1XX69F8/WfLqf7ldtb18qrz2ddWvMVas7dS5n+gSJK49Y3x25YsHn61dCr+38D+fkamVgyq/PjRoFpY8/9r7vfSy/9uTc/4Dtvz9JGlB4vp7xvixtXuGiku/7i9Ubq5/b4OHawsqXwO2/3m812zZT5IUJM49Ixv5zyU3vvif6enVu1W+FjQhlwvuKnn139zx0T8W7CdJCBL3nuFEvqdw7xidqX1N9evBJpw4c+Vet1z/R5NPVDR2P4lTkCT2DKfBDE+tTKt8PdgmrvfqQyWv/m7TT1k0cD+JQ5Ak9wwnMoOHapdVvia0iFuuj2zxGb1G7SeqBUlyz3Ai8+PRxbdDiVS+NrTzhCmv/vstP+HdkP1ElSBJ7xlOdO8oVILR2ZVvqn59aIMwhhIKsM0H54jeTzoVRNee4UQmX1x+XuXrQ4eUPP8bLT1MR+h+0q4gOvcMJzIHJhb/rvIaQBFuuX6kxSdOidtP2hFE557hRGbfyOK1wZmLSoOloIhS6epH3bJfa/WxbJL2k1YE0b1nONG9I4ySFJe/q/p6QCHu6T9/tlT232hZktv7Sfj8EZ37yXYEkbJnOJEZmlz6hcrrgZg46fk72xFEwn6ymSCS9gwnMgMTtdd4DqFBuF79hY4k0bSfNBNE0p7hRCY7sngjf/zS/SqvDWJmem717lLZX+tQksT3k6gg0vYMp8GMFpeeVH19kACnzqx9wfXqb3UsSYL7ybogUvcM586946zK64OEKZ2pP65CkKT2k517zondM5zo3jFe/RfVWVuquioliWk/CZ/d1z+0+Khy+aZqU6rDldnCws2JI7UHVV4rCKjqKv5pEst+InHPcDYM1dk0VHUVTlz7iZQ9w4kM1dn0VHUD6fuJ7j3DiQzV2TRWdQ3YTyR8yESG6my6q7om7idx7RlOgxku1mbj/F7AlKquAftJ3HuGE907qM6mi21UdUXuJ0nsGU5kqM6mkG1XdYXsJ7o+zC5DdTa9tFLV1bmfJLlnOJGhOptyWq7qJrifJL1nOJGhOgvvUfLqs7okabSf6NgzorOP6iz8X1XX85d1SuKW/Xfcsj8+UqzN7hvW+1CfTGEhGJ5d/rbufxewpKqrcgbGqtrEcG4P1VmIp6prgSADVGch5qqusYJkqc5CYlVdAwUZpToLSVd1TRGE6izoreoKFoTqLEip6ooThKfOgryqrhBBqM6C6KqubkEOTtYqut9fsIDYq7oaBKE6C6ZVdRMThOosGFvVTUIQqrNgbFU3bkGozoLRVd04BaE6C8ZXdeMShOosWFHVjUuQwlTtBd3vG6SIuKq6cQhCdRa0EEdVV7UgVGfBvKfqJiQIT50F66q6KgWhOgvWVXVVCUJ1Fqys6qoQhOosWFvVVSEI1VmwtqrbqSDhM9h1vw8AsVV1OxGE6ixYX9VtVxCqs5CKqm47glCdhdRUddsRhOospKaq26ogVGchVVXdVgShOgupq+q2IgjVWUhdVXe7glCdhVRWdbcjCNVZSG1VdytBqM5Cqqu6WwlCdRZSXdXdTBCqs9CV9qpuM0GozkJq2Kyq20gQqrOQOppVdRsJQnUWUkmjqm5UEKqzkGqiVd2NgvSPVN4dm136nO5rBNBa1XU9/3IjQajOAoQ/ReYuf369qrsuCNVZgAZV3VAQqrMATaq6Byaq16nOAjTgxNzqpyaOruzUfR0AAAAAAAAAAAAAAADQZR3/BQqyDy0nQ/0oAAAAAElFTkSuQmCC"},83336:function(t,e,i){"use strict";t.exports=i.p+"static/img/magi.c8e5be1f.png"}}]);

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.