1"use strict";(globalThis["webpackChunkubi"]=globalThis["webpackChunkubi"]||[]).push([[305],{6305:(e,s,a)=>{a.r(s),a.d(s,{default:()=>B});var l=a(3673),t=a(2323);const r={class:"row"},i={class:"col"},n={class:"col"},u={class:"row"},o={class:"col"},d={class:"text-h6"},c={class:"text-subtitle2"},m={class:"col"};function g(e,s,a,g,p,h){const b=(0,l.up)("q-input"),w=(0,l.up)("q-select"),f=(0,l.up)("q-btn"),k=(0,l.up)("q-card-section"),W=(0,l.up)("q-separator"),y=(0,l.up)("q-card"),v=(0,l.up)("q-page");return(0,l.wg)(),(0,l.iD)("div",null,[(0,l.Wm)(v,{class:"container profile flex column"},{default:(0,l.w5)((()=>[(0,l._)("div",r,[(0,l._)("div",i,[(0,l.Wm)(b,{color:"primary",filled:"",modelValue:e.user,"onUpdate:modelValue":s[0]||(s[0]=s=>e.user=s),label:"User"},null,8,["modelValue"])]),(0,l._)("div",n,[(0,l.Wm)(w,{color:"primary",filled:"",modelValue:e.coin,"onUpdate:modelValue":s[1]||(s[1]=s=>e.coin=s),options:e.coins,label:"Coin"},null,8,["modelValue","options"])])]),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.items,(s=>((0,l.wg)(),(0,l.j4)(y,{dark:"",bordered:"",class:"bg-grey-9 my-card",key:s.name},{default:(0,l.w5)((()=>[(0,l.Wm)(k,null,{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l._)("div",o,[(0,l._)("div",d,(0,t.zw)(s.name),1),(0,l._)("div",c,(0,t.zw)(s.url),1)]),(0,l._)("div",m,[(0,l.Wm)(f,{color:"primary",label:s.label,onClick:a=>e.sendRequest(s.name)},null,8,["label","onClick"])])])])),_:2},1024),(0,l.Wm)(W,{dark:"",inset:""}),(0,l.Wm)(k,{style:{"white-space":"pre"}},{default:(0,l.w5)((()=>[(0,l.Uk)((0,t.zw)(e.getResult(s.name)),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])}var p=a(1959),h=a(2749);const b=(0,l.aZ)({name:"AdminBackend",setup(){return{user:(0,p.iH)(""),coin:(0,p.iH)("UBX"),coins:(0,p.iH)(["UBX","UBSN","WAF","TKS","CDF","LSE","MMM","CDR"]),items:(0,p.iH)([{name:"userBalance",url:"/adminpanel/userBalance/${user}/${coin}",label:"Get user balance"},{name:"userHistory",url:"/adminpanel/userHistory/${user}",label:"Get user history"},{name:"userWithdrawals",url:"/adminpanel/userWithdrawals/${user}",label:"Get user withdrawals"},{name:"userTransits",url:"/adminpanel/userTransits/${user}",label:"Get user transits"},{name:"userPendingAddresses",url:"/adminpanel/userPendingAddresses/${user}",label:"Get user pending addresses"},{name:"feesHistory",url:"/adminpanel/feesHistory",label:"Get fees history"},{name:"getCoinConfig",url:"/adminpanel/getCoinConfig/${coin}",label:"Get coin config"},{name:"getWallets",url:"/adminpanel/getWallets/${coin}",label:"Get cold wallets with balances"},{name:"getWalletReserve",url:"/adminpanel/getWalletReserve/${coin}",label:"Get cold wallets reserves"}]),results:(0,p.iH)({})}},methods:{async sendRequest(e){switch(e){case"userBalance":this.results[e]=await h.d.getUserBalance(this.user,this.coin);break;case"userHistory":this.results[e]=await h.d.getUserHistory(this.user);break;case"userWithdrawals":this.results[e]=await h.d.getUserWithdrawals(this.user);break;case"userTransits":this.results[e]=await h.d.getUserTransits(this.user);break;case"userPendingAddresses":this.results[e]=await h.d.getUserPendingAddresses(this.user);break;case"feesHistory":this.results[e]=await h.d.getFeesHistory();break;case"getCoinConfig":this.results[e]=await h.d.getCoinConfig(this.coin);break;case"getWallets":this.results[e]=await h.d.getWallets(this.coin);break;case"getWalletReserve":this.results[e]=await h.d.getWalletReserve(this.coin);break}},getResult(e){return JSON.stringify(this.results[e],null,"\n")||""}}});var w=a(4260),f=a(4379),k=a(4689),W=a(2448),y=a(151),v=a(5589),C=a(2165),H=a(5869),U=a(7518),_=a.n(U);const q=(0,w.Z)(b,[["render",g]]),B=q;_()(b,"components",{QPage:f.Z,QInput:k.Z,QSelect:W.Z,QCard:y.Z,QCardSection:v.Z,QBtn:C.Z,QSeparator:H.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.