1"use strict";(globalThis["webpackChunkubi"]=globalThis["webpackChunkubi"]||[]).push([[773],{4966:(e,a,t)=>{t.r(a),t.d(a,{default:()=>Pe});var s=t(3673),n=t(2323),i=t(3146),l=t.n(i);const r={class:"q-pa-md"},o={class:"bordered mainDashboardRow q-mb-sm mainDashboard"},d={class:"q-pa-sm",style:{"max-width":"300px"}},m=(0,s._)("div",{class:"text-gray caption"},"Your Balance:",-1),c={class:"row mainDashboardRow_topRow"},u={class:"row"},p={class:"text-h4"},g={class:(0,n.C_)("balanceNumber flex items-center text-white greenBg")},w=(0,s._)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"-ml-1 flex-shrink-0 h-5 mr-0.5 self-center text-gray-500 w-5"},[(0,s._)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1),_={class:"increase"},v={class:"row"},x={class:"row"},y={class:"q-pa-sm",style:{"max-width":"370px"}},D=(0,s._)("div",{class:"text-gray caption"},"Daily Revenue:",-1),h={class:"row revenue_row"},b={class:"text-h4 q-mr-sm"},k={class:"text-subtitle3 q-ml-sm revenueDate_desktop"},f={key:0,class:"text-subtitle3 revenueDate_mobile"},q={class:(0,n.C_)("balanceNumber flex items-center text-white greenBg")},B=(0,s._)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",class:"-ml-1 flex-shrink-0 h-5 mr-0.5 self-center text-gray-500 w-5"},[(0,s._)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1),U={class:"increase"},W={class:"row"},z={class:"row"},T={class:"q-pa-sm"},E={class:"row justify-center"};function C(e,a,t,i,C,N){const O=(0,s.up)("q-img"),S=(0,s.up)("q-space"),A=(0,s.up)("q-icon"),Z=(0,s.up)("q-btn"),$=(0,s.up)("UbxDashboardRow"),X=(0,s.up)("TokenDashboardRow"),R=(0,s.up)("q-table"),I=(0,s.up)("DepositDialog"),Y=(0,s.up)("q-dialog"),j=(0,s.up)("WithdrawDialog");return(0,s.wg)(),(0,s.iD)("div",r,[(0,s._)("div",o,[(0,s._)("div",d,[m,(0,s._)("div",c,[(0,s._)("div",u,[(0,s._)("span",p,(0,n.zw)(e.fullBalance.total),1),(0,s.Wm)(O,{width:"24px",class:"q-mx-sm",src:l()}),(0,s.Uk)(" UBX ")]),(0,s.Wm)(S),(0,s._)("div",g,[w,(0,s._)("div",_,(0,n.zw)(e.fullBalance.earningPercent||0)+"%",1)])]),(0,s._)("div",v,[(0,s._)("div",x,[(0,s.Uk)((0,n.zw)(e.getUSDsum(e.fullBalance.total))+" ",1),(0,s.Wm)(A,{name:"img:/icons/coins/USD.svg",class:"q-mx-sm"}),(0,s.Uk)(" USDT ")])])]),(0,s._)("div",y,[D,(0,s._)("div",h,[(0,s._)("span",b,(0,n.zw)(e.fullBalance.daily),1),(0,s.Wm)(A,{size:"sm",class:"q-mr-sm",name:`img:/icons/coins/UBX${e.isDark?"_light":""}.svg`},null,8,["name"]),(0,s.Uk)(" UBX "),(0,s._)("span",k,(0,n.zw)(e.today),1),(0,s.Wm)(S),(0,s._)("div",null,[e.$q.screen.lt.md?((0,s.wg)(),(0,s.iD)("span",f,(0,n.zw)(e.today),1)):(0,s.kq)("",!0),(0,s._)("div",q,[B,(0,s._)("div",U,(0,n.zw)(e.fullBalance.dailyEarningPercent||0)+"%",1)])])]),(0,s._)("div",W,[(0,s._)("div",z,[(0,s.Uk)((0,n.zw)(e.getUSDsum(e.fullBalance.daily))+" ",1),(0,s.Wm)(A,{name:"img:/icons/coins/USD.svg",class:"q-mx-sm"}),(0,s.Uk)(" USDT ")])])]),(0,s._)("div",T,[(0,s._)("div",E,[(0,s.Wm)(Z,{label:"Deposit",class:"roundBtn paddingBtn q-mr-sm q-mt-sm",color:"primary",onClick:a[0]||(a[0]=()=>e.isOpenDeposit=!0)}),(0,s.Wm)(Z,{label:"Withdraw",class:"roundBtn paddingBtn q-mr-sm q-mt-sm",color:"primary",onClick:a[1]||(a[1]=()=>e.isOpenWithdraw=!0)}),e.$q.screen.lt.sm?((0,s.wg)(),(0,s.j4)(Z,{key:0,label:"Buy tokens",color:"primary",class:"roundBtn paddingBtn q-mt-sm",onClick:e.goToExchange},null,8,["onClick"])):(0,s.kq)("",!0)])])]),(0,s._)("div",null,[e.isStakingRowView?((0,s.wg)(),(0,s.j4)($,{key:0,"day-of-earning":new Date,"airdrop-amount":e.ubxEarnings.airdrop,"daily-amount":e.ubxEarnings.daily},null,8,["day-of-earning","airdrop-amount","daily-amount"])):(0,s.kq)("",!0)]),(0,s.Wm)(R,{rows:e.detailedBalances,grid:"",flat:"",class:"dashboardTable",pagination:e.pagination,"onUpdate:pagination":a[2]||(a[2]=a=>e.pagination=a),"rows-per-page-options":[0]},{item:(0,s.w5)((e=>[e.row.staked>0?((0,s.wg)(),(0,s.j4)(X,{key:0,"coin-name":e.row.coin,"displayed-coin-name":e.row.displayedCoin,"staked-amount":e.row.staked,"total-earning-amount":e.row.totalEarning,"last-airdrop":e.row.lastAirdrop,"last-dividend":e.row.lastDividend,percentOfTotal:Number(e.row.percentageOfAll)},null,8,["coin-name","displayed-coin-name","staked-amount","total-earning-amount","last-airdrop","last-dividend","percentOfTotal"])):(0,s.kq)("",!0)])),_:1},8,["rows","pagination"]),(0,s.Wm)(Y,{modelValue:e.isOpenDeposit,"onUpdate:modelValue":a[3]||(a[3]=a=>e.isOpenDeposit=a)},{default:(0,s.w5)((()=>[(0,s.Wm)(I,{onCloseDialog:e.closeDialog},null,8,["onCloseDialog"])])),_:1},8,["modelValue"]),(0,s.Wm)(Y,{modelValue:e.isOpenWithdraw,"onUpdate:modelValue":a[5]||(a[5]=a=>e.isOpenWithdraw=a)},{default:(0,s.w5)((()=>[(0,s.Wm)(j,{onCloseDialog:a[4]||(a[4]=()=>e.isOpenWithdraw=!1)})])),_:1},8,["modelValue"])])}var N=t(1959);const O={class:"borderedRow dashboardRow q-mb-sm fourColumns"},S={class:"row",style:{"flex-wrap":"nowrap"}},A={style:{display:"grid","justify-content":"start"}},Z={style:{display:"flex"}},$={class:"q-mr-sm"},X={class:"vertical-center earningEntry"},R=(0,s._)("div",null,[(0,s._)("span",{class:"text-gray text-subtitle2 q-mr-md"}," Staked: ")],-1),I={class:"row"},Y={class:"text-title1"},j=(0,s._)("span",{class:"text-subtitle3"},"of total",-1),Q={style:{display:"flex"}},H={class:"q-mr-sm"},M=(0,s._)("div",null," The confirmation process may take up to two hours. If the transfer has not been completed by this time, contact our support team via telegram or chat. ",-1),P={key:0,class:"vertical-center earningEntry"},V=(0,s._)("div",null,[(0,s._)("span",{class:"text-gray text-subtitle2 q-mr-md"}," Last Airdrop: ")],-1),L={class:"row"},F={class:"text-title1"},G={class:"text-subtitle3 q-ml-sm"},J={key:1},K={class:"vertical-center earningEntry"},ee=(0,s._)("div",null,[(0,s._)("span",{class:"text-gray text-subtitle2 q-mr-md"}," Last Dividend: ")],-1),ae={class:"row"},te={class:"text-title1"},se=(0,s._)("strong",null,"UBX",-1),ne={class:"text-subtitle3 q-ml-sm"};function ie(e,a,t,i,l,r){const o=(0,s.up)("q-icon"),d=(0,s.up)("q-badge"),m=(0,s.up)("q-tooltip");return(0,s.wg)(),(0,s.iD)("div",O,[(0,s._)("div",S,[(0,s._)("div",null,[(0,s.Wm)(o,{size:"xl",class:"q-mx-sm",name:`img:${e.getTokenIcon(e.coinName)}`},null,8,["name"])]),(0,s._)("div",A,[(0,s.Wm)(d,{align:"top",style:{padding:"2px 23px 3px 23px"},class:"dividendsBg"},{default:(0,s.w5)((()=>[(0,s.Uk)("Dividends")])),_:1}),(0,s._)("span",null,[(0,s._)("strong",null,(0,n.zw)(e.displayedCoinName),1),e.displayedCoinName!==e.coinName?((0,s.wg)(),(0,s.j4)(o,{key:0,size:"xxs",class:"q-ml-xs",name:"img:/icons/shield_wait.svg"},{default:(0,s.w5)((()=>[(0,s.Wm)(m,{class:"cardInfoStyle q-pa-md"},{default:(0,s.w5)((()=>[(0,s._)("div",Z,[(0,s._)("div",$,[(0,s.Wm)(o,{size:"md",name:"img:/icons/comment-info.svg"})]),(0,s._)("div",null,"Old name is "+(0,n.zw)(e.coinName),1)])])),_:1})])),_:1})):(0,s.kq)("",!0)])])]),(0,s._)("div",X,[R,(0,s._)("div",I,[(0,s._)("span",Y,(0,n.zw)(e.stakedAmount),1),(0,s.Wm)(d,{class:"q-mx-sm"},{default:(0,s.w5)((()=>[(0,s.Uk)((0,n.zw)(e.percentOfTotal)+"%",1)])),_:1}),j,(0,s.Wm)(o,{size:"xxs",class:"q-ml-xs",name:"img:/icons/shield_wait.svg"},{default:(0,s.w5)((()=>[(0,s.Wm)(m,{class:"cardInfoStyle q-pa-md"},{default:(0,s.w5)((()=>[(0,s._)("div",Q,[(0,s._)("div",H,[(0,s.Wm)(o,{size:"md",name:"img:/icons/comment-info.svg"})]),M])])),_:1})])),_:1})])]),e.isAirdropEnabled?((0,s.wg)(),(0,s.iD)("div",P,[V,(0,s._)("div",L,[(0,s._)("span",F,(0,n.zw)(e.lastAirdrop.amount),1),(0,s.Wm)(o,{size:"md",class:"q-mx-sm",name:`img:${e.getTokenIcon(e.coinName)}`},null,8,["name"]),(0,s._)("strong",null,(0,n.zw)(e.coinName),1),(0,s._)("span",G,(0,n.zw)(e.formatDate(e.lastAirdrop.createdAt)),1)])])):((0,s.wg)(),(0,s.iD)("div",J)),(0,s._)("div",K,[ee,(0,s._)("div",ae,[(0,s._)("span",te,(0,n.zw)(e.lastDividend.amount),1),(0,s.Wm)(o,{size:"sm",class:"q-mx-sm",name:`img:/icons/coins/UBX${e.isDark?"_light":""}.svg`},null,8,["name"]),se,(0,s._)("span",ne,(0,n.zw)(e.formatDate(e.lastDividend.createdAt)),1)])])])}var le=t(1082),re=t(6439);const oe=(0,s.aZ)({name:"TokenDashboardRow",props:{coinName:{type:String},displayedCoinName:{type:String},stakedAmount:{type:Number},totalEarningAmount:{type:Number},lastAirdrop:{type:Object},lastDividend:{type:Object},percentOfTotal:{type:Number}},setup(){return{}},computed:{isAirdropEnabled(){return["UBX","UBSN","UBWF"].includes(this.coinName)},isDark(){return this.$q.dark.isActive}},methods:{getTextClass(e){let a="q-py-xs q-px-md";return a+` ${e.toLowerCase()}Bg`},getIconPath(e){return`img:icons/${e.replace(" ","").toLowerCase()}StatusIcon.png`},formatDate(e){return le.ZP.formatDate(new Date(e),"DD.MM.YYYY")},getTokenIcon(e){return(0,re.Y)(e)}}});
1var de=t(4260),me=t(4554),ce=t(9721),ue=t(5363),pe=t(7518),ge=t.n(pe);const we=(0,de.Z)(oe,[["render",ie]]),_e=we;ge()(oe,"components",{QIcon:me.Z,QBadge:ce.Z,QTooltip:ue.Z});var ve=t(3158),xe=t(9983);const ye={class:"borderedRow dashboardRow ubxColumns q-mb-sm"},De={class:"row",style:{"flex-wrap":"nowrap"}},he={style:{display:"grid","justify-content":"start"}},be=(0,s._)("strong",null,"UBX",-1),ke={class:"vertical-center earningEntry"},fe=(0,s._)("div",null,[(0,s._)("span",{class:"text-gray text-subtitle2 q-mr-md"}," Total Daily Earned: ")],-1),qe={class:"row"},Be={class:"text-title1"},Ue=(0,s._)("strong",null,"UBX",-1),We={class:"text-subtitle3 q-ml-sm"},ze={class:"vertical-center earningEntry"},Te=(0,s._)("div",null,[(0,s._)("span",{class:"text-gray text-subtitle2 q-mr-md"}," Last Airdrop Revenue: ")],-1),Ee={class:"row"},Ce={class:"text-title1"},Ne=(0,s._)("strong",null,"UBX",-1),Oe={class:"text-subtitle3 q-ml-sm"};function Se(e,a,t,i,l,r){const o=(0,s.up)("q-icon"),d=(0,s.up)("q-badge");return(0,s.wg)(),(0,s.iD)("div",ye,[(0,s._)("div",De,[(0,s._)("div",null,[(0,s.Wm)(o,{size:"lg",class:"q-mx-sm",name:`img:/icons/coins/UBX${e.isDark?"_light":""}.svg`},null,8,["name"])]),(0,s._)("div",he,[(0,s.Wm)(d,{align:"top",style:{padding:"2px 23px 3px 23px"},class:"stakingBg"},{default:(0,s.w5)((()=>[(0,s.Uk)("Staking")])),_:1}),be])]),(0,s._)("div",ke,[fe,(0,s._)("div",qe,[(0,s._)("span",Be,(0,n.zw)(e.dailyAmount),1),(0,s.Wm)(o,{size:"sm",class:"q-mx-sm",name:`img:/icons/coins/UBX${e.isDark?"_light":""}.svg`},null,8,["name"]),Ue,(0,s._)("span",We,(0,n.zw)(e.formatDate(e.dayOfEarning)),1)])]),(0,s._)("div",ze,[Te,(0,s._)("div",Ee,[(0,s._)("span",Ce,(0,n.zw)(e.airdropAmount),1),(0,s.Wm)(o,{size:"sm",class:"q-mx-sm",name:`img:/icons/coins/UBX${e.isDark?"_light":""}.svg`},null,8,["name"]),Ne,(0,s._)("span",Oe,(0,n.zw)(e.formatDate(e.dayOfEarning)),1)])])])}const Ae=(0,s.aZ)({name:"UbxDashboardRow",props:{dailyAmount:{type:Number},airdropAmount:{type:Number,default:0},dayOfEarning:{type:Date}},setup(){return{}},computed:{isAirdropEnabled(){return["UBX","UBSN","UBWF"].includes(this.coinName)},isDark(){return this.$q.dark.isActive}},methods:{formatDate(e){return le.ZP.formatDate(e,"DD.MM.YYYY")},getTextClass(e){let a="q-py-xs q-px-md";return a+` ${e.toLowerCase()}Bg`},getIconPath(e){return`img:icons/${e.replace(" ","").toLowerCase()}StatusIcon.png`}}}),Ze=(0,de.Z)(Ae,[["render",Se]]),$e=Ze;ge()(Ae,"components",{QIcon:me.Z,QBadge:ce.Z});var Xe=t(5380);const Re=(0,s.aZ)({name:"Deposit",components:{DepositDialog:ve.Z,TokenDashboardRow:_e,UbxDashboardRow:$e,WithdrawDialog:xe.Z},setup(){return{isOpenDeposit:(0,N.iH)(!1),isOpenWithdraw:(0,N.iH)(!1),pagination:(0,N.iH)({rowsPerPage:0})}},computed:{today(){return le.ZP.formatDate(new Date,"DD.MM.YYYY")},rateUSD(){return this.$store.state.rates.UBX?.USDT},rateUBXETH(){return this.$store.state.rates.UBX?.ETH},fullBalance(){return this.$store.getters.balance},detailedBalances(){return this.$store.getters.detailedBalances},ubxEarnings(){return this.$store.getters.balance},isStakingRowView(){return this.ubxEarnings.airdrop>0||this.ubxEarnings.daily>0||this.fullBalance?.total>0},isDark(){return this.$q.dark.isActive}},methods:{mapForNewOne:Xe.mapForNewOne,goToExchange(){window.open("https://ubix.exchange/#/trade/UBXM-UBX","_blank")},getUSDsum(e){return e<=0?0:+(this.rateUSD*e).toFixed(2)},getETHsum(e){return e<=0?0:+(this.rateUBXETH*e).toFixed(2)},closeDialog(){this.isOpenDeposit=!1}},created(){}});var Ie=t(4027),Ye=t(2025),je=t(2165),Qe=t(6429),He=t(6778);const Me=(0,de.Z)(Re,[["render",C]]),Pe=Me;ge()(Re,"components",{QImg:Ie.Z,QSpace:Ye.Z,QIcon:me.Z,QBtn:je.Z,QTable:Qe.Z,QDialog:He.Z})}}]);
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.