<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b25a316"],{"67fe":function(e,t,r){"use strict";r("79f4")},"707f":function(e,t,r){"use strict";r.r(t);r("99af"),r("ac1f"),r("5319");var n=r("7a23"),o={class:"coin-content-wrap"},c={key:0,class:"type"},a=["onClick"],i=["src"],l=["src"],u={key:0},s={key:1},d=["src"];function f(e,t,r,f,h,p){var m=Object(n["resolveComponent"])("el-option"),b=Object(n["resolveComponent"])("el-select"),g=Object(n["resolveComponent"])("el-input"),y=Object(n["resolveComponent"])("el-form-item"),v=Object(n["resolveComponent"])("plus-icon"),O=Object(n["resolveComponent"])("el-icon"),j=Object(n["resolveComponent"])("el-upload"),w=Object(n["resolveComponent"])("el-button"),x=Object(n["resolveComponent"])("el-form"),k=Object(n["resolveComponent"])("el-card"),E=Object(n["resolveComponent"])("el-table-column"),C=Object(n["resolveComponent"])("el-table");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",o,[Object(n["createVNode"])(k,null,{default:Object(n["withCtx"])((function(){var r,o,f;return[Object(n["createElementVNode"])("h3",null,Object(n["toDisplayString"])(e.$t("coin.title")),1),Object(n["createVNode"])(b,{placeholder:e.$t("coin.choose"),modelValue:h.currentIndex,"onUpdate:modelValue":t[0]||(t[0]=function(e){return h.currentIndex=e})},{default:Object(n["withCtx"])((function(){return[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(h.list,(function(e,t){return Object(n["openBlock"])(),Object(n["createBlock"])(m,{key:t,label:e.currency_name,value:t},null,8,["label","value"])})),128))]})),_:1},8,["placeholder","modelValue"]),p.current?(Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],{key:0},[2===h.currentIndex?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",c,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(h.more,(function(e,t){return Object(n["openBlock"])(),Object(n["createElementBlock"])("span",{class:Object(n["normalizeClass"])({active:t===h.currentMore}),key:t,onClick:function(e){return h.currentMore=t}},Object(n["toDisplayString"])(t),11,a)})),128))])):Object(n["createCommentVNode"])("",!0),Object(n["createVNode"])(k,{header:e.$t("coin.address"),shadow:"never"},{default:Object(n["withCtx"])((function(){return[2!==h.currentIndex?(Object(n["openBlock"])(),Object(n["createElementBlock"])("img",{key:0,src:"".concat(e.$domain,"api/qrcode?text=").concat(h.address),alt:""},null,8,i)):(Object(n["openBlock"])(),Object(n["createElementBlock"])("img",{key:1,src:"".concat(e.$domain,"api/qrcode?text=").concat(h.more[h.currentMore]),alt:""},null,8,l)),Object(n["createElementVNode"])("div",null,[2!==h.currentIndex?(Object(n["openBlock"])(),Object(n["createElementBlock"])("p",u,Object(n["toDisplayString"])(h.address),1)):(Object(n["openBlock"])(),Object(n["createElementBlock"])("p",s,Object(n["toDisplayString"])(h.more[h.currentMore]),1)),Object(n["createElementVNode"])("span",{onClick:t[1]||(t[1]=function(){return p.copy&amp;&amp;p.copy.apply(p,arguments)})},Object(n["toDisplayString"])(e.$t("coin.copy.title")),1)]),Object(n["createVNode"])(x,{"label-position":"top",model:h.form,ref:"form",rules:p.rules,size:"small"},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(y,{label:e.$t("coin.charge.number"),prop:"number"},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(g,{modelValue:h.form.number,"onUpdate:modelValue":t[2]||(t[2]=function(e){return h.form.number=e}),modelModifiers:{number:!0}},null,8,["modelValue"])]})),_:1},8,["label"]),Object(n["createVNode"])(y,{label:e.$t("coin.charge.address"),prop:"address"},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(g,{modelValue:h.form.address,"onUpdate:modelValue":t[3]||(t[3]=function(e){return h.form.address=e})},null,8,["modelValue"])]})),_:1},8,["label"]),Object(n["createVNode"])(y,{label:e.$t("coin.charge.image"),prop:"image"},{default:Object(n["withCtx"])((function(){return[Object(n["withDirectives"])(Object(n["createElementVNode"])("input",{type:"hidden","onUpdate:modelValue":t[4]||(t[4]=function(e){return h.form.image=e})},null,512),[[n["vModelText"],h.form.image]]),Object(n["createVNode"])(j,{action:"".concat(e.$domain,"api/upload"),class:"upload","on-success":p.uploadImage,"show-file-list":!1},{default:Object(n["withCtx"])((function(){return[h.form.image?(Object(n["openBlock"])(),Object(n["createElementBlock"])("img",{key:0,src:h.form.image,class:"avatar"},null,8,d)):(Object(n["openBlock"])(),Object(n["createBlock"])(O,{key:1},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(v)]})),_:1}))]})),_:1},8,["action","on-success"])]})),_:1},8,["label"]),Object(n["createVNode"])(y,null,{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(w,{color:"#0f7dff",loading:h.loading,onClick:p.submit},{default:Object(n["withCtx"])((function(){return[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.$t("coin.charge.submit")),1)]})),_:1},8,["loading","onClick"])]})),_:1})]})),_:1},8,["model","rules"])]})),_:1},8,["header"])],64)):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("h4",null,Object(n["toDisplayString"])(e.$t("coin.notice.title")),1),Object(n["createElementVNode"])("p",null,Object(n["toDisplayString"])(p.replace(e.$t("coin.notice.1"),"BTC",(null===(r=h.list[h.currentIndex])||void 0===r?void 0:r.currency_name)||"BTC")),1),Object(n["createElementVNode"])("p",null,Object(n["toDisplayString"])(p.replace(e.$t("coin.notice.2"),"BTC",(null===(o=h.list[h.currentIndex])||void 0===o?void 0:o.currency_name)||"BTC")),1),Object(n["createElementVNode"])("p",null,Object(n["toDisplayString"])(p.replace(e.$t("coin.notice.3"),"BTC",(null===(f=h.list[h.currentIndex])||void 0===f?void 0:f.currency_name)||"BTC")),1)]})),_:1}),Object(n["createVNode"])(k,{header:e.$t("coin.history.title")},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(C,{data:[],style:{width:"100%"}},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(E,{label:e.$t("coin.history.time"),prop:"date"},null,8,["label"]),Object(n["createVNode"])(E,{label:e.$t("coin.history.number"),prop:"name"},null,8,["label"]),Object(n["createVNode"])(E,{label:e.$t("coin.history.record"),prop:"address"},null,8,["label"]),Object(n["createVNode"])(E,{label:e.$t("coin.history.status"),prop:"address"},null,8,["label"]),Object(n["createVNode"])(E,{label:e.$t("coin.history.remarks"),prop:"address"},null,8,["label"])]})),_:1})]})),_:1},8,["header"])])}r("d3b7");function h(e,t,r,n,o,c,a){try{var i=e[c](a),l=i.value}catch(u){return void r(u)}i.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var c=e.apply(t,r);function a(e){h(c,n,o,a,i,"next",e)}function i(e){h(c,n,o,a,i,"throw",e)}a(void 0)}))}}r("96cf"),r("a434"),r("1276"),r("159b");var m=r("3ef4"),b=r("a90d"),g={components:{PlusIcon:b["a"]},computed:{current:function(){return this.list[this.currentIndex]},rules:function(){return{address:[{message:this.$t("coin.error.address"),required:!0,trigger:"blur"}],image:[{message:this.$t("coin.error.image"),required:!0,trigger:"blur"}],number:[{message:this.$t("coin.error.number"),required:!0,trigger:"blur"},{type:"number",message:this.$t("coin.error.numerical")},{message:this.$t("coin.error.positive"),trigger:"blur",validator:function(e,t,r){t&lt;=0&amp;&amp;r(new Error(e.message)),r()}}]}}},created:function(){var e=this;return p(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http.post("api/wallet/list");case 2:r=t.sent,"ok"===r.data.type&amp;&amp;(e.list=r.data.message.change_wallet.balance,e.list.splice(3,e.list.length-3));case 4:case"end":return t.stop()}}),t)})))()},data:function(){return{address:"",currentIndex:null,currentMore:"",loading:!1,list:[],form:{address:"",image:"",number:""},more:{}}},methods:{copy:function(){var e=document.createElement("div");e.id="tempTarget",e.style.opacity="0",this.current&amp;&amp;2!==this.currentIndex?e.innerText=this.address:e.innerText=this.more[this.currentMore],document.body.appendChild(e);var t=document.createRange();t.selectNode(e),window.getSelection().removeAllRanges(),window.getSelection().addRange(t),document.execCommand("copy"),window.getSelection().removeAllRanges(),e.parentElement.removeChild(e),m["a"].success(this.$t("coin.copy.done"))},replace:function(e,t,r){return e.replace(/BTC/g,r)},submit:function(){var e=this;this.loading=!0,this.$refs.form.validate((function(t){t?e.$http.post("api/wallet/charge_req",{currency:e.current.currency,amount:e.form.number,acc:e.form.address,pic:e.form.image,type:2===e.currentIndex?e.more[e.currentMore]:e.address}).then((function(t){"ok"===t.data.type?(e.form.address="",e.form.image="",e.form.number="",m["a"].success(e.$t("coin.charge.deal")),e.getData()):m["a"].error(t.data.message)})).finally((function(){e.loading=!1})):e.loading=!1}))},uploadImage:function(e){"ok"===e.type&amp;&amp;(m["a"].success(this.$t("common.upload_done")),this.form.image=e.message)}},name:"coin",watch:{current:function(){var e=this;this.$http.post("api/wallet/get_in_address",{currency:this.current.currency}).then((function(t){if("ok"===t.data.type)if(2===e.currentIndex){var r=t.data.message.address.split(",");r.forEach((function(t,r){t=t.split(":"),e.more[t[0]]=t[1],0===r&amp;&amp;(e.currentMore=t[0])}))}else e.address=t.data.message.address}))}}},y=(r("67fe"),r("6b0d")),v=r.n(y);const O=v()(g,[["render",f]]);t["default"]=O},"79f4":function(e,t,r){},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",i=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(L){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&amp;&amp;t.prototype instanceof b?t:b,c=Object.create(o.prototype),a=new _(n||[]);return c._invoke=E(e,r,a),c}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=u;var d="suspendedStart",f="suspendedYield",h="executing",p="completed",m={};function b(){}function g(){}function y(){}var v={};l(v,c,(function(){return this}));var O=Object.getPrototypeOf,j=O&amp;&amp;O(O(B([])));j&amp;&amp;j!==r&amp;&amp;n.call(j,c)&amp;&amp;(v=j);var w=y.prototype=b.prototype=Object.create(v);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(o,c,a,i){var l=s(e[o],e,c);if("throw"!==l.type){var u=l.arg,d=u.value;return d&amp;&amp;"object"===typeof d&amp;&amp;n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,i)}),(function(e){r("throw",e,a,i)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,i)}))}i(l.arg)}var o;function c(e,n){function c(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(c,c):c()}this._invoke=c}function E(e,t,r){var n=d;return function(o,c){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw c;return $()}r.method=o,r.arg=c;while(1){var a=r.delegate;if(a){var i=C(a,r);if(i){if(i===m)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);n=h;var l=s(e,t,r);if("normal"===l.type){if(n=r.done?p:f,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&amp;&amp;(n=p,r.method="throw",r.arg=l.arg)}}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator["return"]&amp;&amp;(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=s(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&amp;&amp;(r.method="next",r.arg=t),r.delegate=null,m):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function V(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(V,this),this.reset(!0)}function B(e){if(e){var r=e[c];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){while(++o&lt;e.length)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:$}}function $(){return{value:t,done:!0}}return g.prototype=y,l(w,"constructor",y),l(y,"constructor",g),g.displayName=l(y,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,i,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(k.prototype),l(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,c){void 0===c&amp;&amp;(c=Promise);var a=new k(u(t,r,n,o),c);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),l(w,i,"Generator"),l(w,c,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=B,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&amp;&amp;n.call(this,r)&amp;&amp;!isNaN(+r.slice(1))&amp;&amp;(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return i.type="throw",i.arg=e,r.next=n,o&amp;&amp;(r.method="next",r.arg=t),!!o}for(var c=this.tryEntries.length-1;c&gt;=0;--c){var a=this.tryEntries[c],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc&lt;=this.prev){var l=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(l&amp;&amp;u){if(this.prev&lt;a.catchLoc)return o(a.catchLoc,!0);if(this.prev&lt;a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev&lt;a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev&lt;a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r&gt;=0;--r){var o=this.tryEntries[r];if(o.tryLoc&lt;=this.prev&amp;&amp;n.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var c=o;break}}c&amp;&amp;("break"===e||"continue"===e)&amp;&amp;c.tryLoc&lt;=t&amp;&amp;t&lt;=c.finallyLoc&amp;&amp;(c=null);var a=c?c.completion:{};return a.type=e,a.arg=t,c?(this.method="next",this.next=c.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:B(e),resultName:r,nextLoc:n},"next"===this.method&amp;&amp;(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"9ee5":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=(e,t)=&gt;{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r}},a434:function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),c=r("23cb"),a=r("5926"),i=r("07fa"),l=r("7b0b"),u=r("65f0"),s=r("8418"),d=r("1dde"),f=d("splice"),h=o.TypeError,p=Math.max,m=Math.min,b=9007199254740991,g="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var r,n,o,d,f,y,v=l(this),O=i(v),j=c(e,O),w=arguments.length;if(0===w?r=n=0:1===w?(r=0,n=O-j):(r=w-2,n=m(p(a(t),0),O-j)),O+r-n&gt;b)throw h(g);for(o=u(v,n),d=0;d&lt;n;d++)f=j+d,f in v&amp;&amp;s(o,d,v[f]);if(o.length=n,r&lt;n){for(d=j;d&lt;O-n;d++)f=d+n,y=d+r,f in v?v[y]=v[f]:delete v[y];for(d=O;d&gt;O-n+r;d--)delete v[d-1]}else if(r&gt;n)for(d=O-n;d&gt;j;d--)f=d+n-1,y=d+r-1,f in v?v[y]=v[f]:delete v[y];for(d=0;d&lt;r;d++)v[d+j]=arguments[d+2];return v.length=O-n+r,o}})},a90d:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r("7a23"),o=r("9ee5");const c=Object(n["defineComponent"])({name:"Plus"}),a={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},i=Object(n["createElementVNode"])("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1),l=[i];function u(e,t,r,o,c,i){return Object(n["openBlock"])(),Object(n["createElementBlock"])("svg",a,l)}var s=Object(o["a"])(c,[["render",u]])}}]);</pre></body></html>