Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

2.45ccce1cdc165fb5bb8d.js 54 KiB

3 anni fa
12
  1. webpackJsonp([2],{"+HRN":function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,r){e.copy(t,r)}var o=r("X3l8").Buffer;e.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var t=o.allocUnsafe(e>>>0),r=this.head,n=0;r;)i(r.data,t,n),n+=r.data.length,r=r.next;return t},e}()},"/MLu":function(e,t,r){e.exports=r("cSWu").PassThrough},1:function(e,t){},"3eLu":function(e,t,r){"use strict";function n(e){return r.i(a.a)({url:"/service-ota/upgradePackages",method:"post",data:e})}function i(e){return r.i(a.a)({url:"/service-ota/upgradePackage",method:"post",data:e})}function o(e){return r.i(a.a)({url:"/service-ota/upgradePackage",method:"delete",data:e})}function s(e){return r.i(a.a)({url:"/service-ota/upgradePackage/"+e,method:"delete"})}t.a=n,t.d=i,t.b=o,t.c=s;var a=r("Vo7i")},"4/4u":function(e,t,r){e.exports=r("cSWu").Transform},"4lE3":function(e,t,r){var n=r("fNc5");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);r("rjj0")("aad91ca2",n,!0)},"7dSG":function(e,t,r){"use strict";(function(t,n,i){function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){E(t,e)}}function s(e){return j.from(e)}function a(e){return j.isBuffer(e)||e instanceof B}function u(){}function l(e,t){A=A||r("DsFX"),e=e||{},this.objectMode=!!e.objectMode,t instanceof A&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){m(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function f(e){if(A=A||r("DsFX"),!(D.call(f,this)||this instanceof A))return new f(e);this._writableState=new l(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),T.call(this)}function h(e,t){var r=new Error("write after end");e.emit("error",r),F(t,r)}function c(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),F(n,o),i=!1),i}function d(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=j.from(t,r)),t}function p(e,t,r,n,i,o){if(!r){var s=d(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,a,n,i,o);return u}function g(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function b(e,t,r,n,i){--t.pendingcb,r?(F(i,n),F(C,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),C(e,t))}function v(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function m(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(v(r),t)b(e,r,n,t,i);else{var o=S(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?M(y,e,r,o,i):y(e,r,o,i)}}function y(e,t,r,n){r||_(e,t),t.pendingcb--,n(),C(e,t)}function _(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,g(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new o(t)}else{for(;r;){var l=r.chunk,f=r.encoding,h=r.callback;if(g(e,t,!1,t.objectMode?1:l.length,l,f,h),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),C(e,t)})}function x(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,F(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function C(e,t){var r=S(t);return r&&(x(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function L(e,t,r){t.ending=!0,C(e,t),r&&(t.finished?F(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function E(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}var F=r("ypnx");e.exports=f;var A,M=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:F;f.WritableState=l;var R=r("jOgh");R.inherits=r("LC74");var O={deprecate:r("iP15")},T=r("UcPO"),j=r("X3l8").Buffer,B=i.Uint8Array||function(){},N=r("x0Ha");R.inherits(f,T),l.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(l.prototype,"buffer",{get:O.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}();var D;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(D=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(e){return!!D.call(this,e)||e&&e._writableState instanceof l}})):D=function(e){return e instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(e,t,r){var n=this._writableState,i=!1,o=a(e)&&!n.objectMode;return o&&!j.isBuffer(e)&&(e=s(e)),"function"==typeof t&&(r=t,t=null),o?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=u),n.ended?h(this,r):(o||c(this,n,e,r))&&(n.pendingcb++,i=p(this,n,o,e,t,r)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},f.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},f.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||L(this,n,r)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),f.prototype.destroy=N.destroy,f.prototype._undestroy=N.undestroy,f.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,r("W2nU"),r("162o").setImmediate,r("DuR2"))},"87vf":function(e,t,r){e.exports=r("7dSG")},"9DG0":function(e,t,r){function n(){i.call(this)}e.exports=n;var i=r("vzCy").EventEmitter;r("LC74")(n,i),n.Readable=r("cSWu"),n.Writable=r("87vf"),n.Duplex=r("SDM6"),n.Transform=r("4/4u"),n.PassThrough=r("/MLu"),n.Stream=n,n.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&l.pause&&l.pause()}function n(){l.readable&&l.resume&&l.resume()}function o(){f||(f=!0,e.end())}function s(){f||(f=!0,"function"==typeof e.destroy&&e.destroy())}function a(e){if(u(),0===i.listenerCount(this,"error"))throw e}function u(){l.removeListener("data",r),e.removeListener("drain",n),l.removeListener("end",o),l.removeListener("close",s),l.removeListener("error",a),e.removeListener("error",a),l.removeListener("end",u),l.removeListener("close",u),e.removeListener("close",u)}var l=this;l.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(l.on("end",o),l.on("close",s));var f=!1;return l.on("error",a),e.on("error",a),l.on("end",u),l.on("close",u),e.on("close",u),e.emit("pipe",l),e}},"9bCr":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"上传文件",prop:"mediaUuid"}},[r("el-tag",{attrs:{type:"danger"}},[e._v("请上传zip文件升级包,文件传输过程中请勿操作页面")]),e._v(" "),r("el-upload",{attrs:{action:e.updata.url,"show-file-list":!0,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload,data:e.updata.data,fileList:e.fileList,"on-remove":e.handleRemove}},[r("el-button",{attrs:{plain:"",type:"primary"}},[e._v("点击上传")])],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"版本",prop:"versionCode"}},[r("el-input",{staticStyle:{width:"50%"},model:{value:e.ruleForm.versionCode,callback:function(t){e.$set(e.ruleForm,"versionCode",t)},expression:"ruleForm.versionCode"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"包类型",prop:"fileType"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.ruleForm.fileType,callback:function(t){e.$set(e.ruleForm,"fileType",t)},expression:"ruleForm.fileType"}},e._l(e.options,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),r("el-form-item",{attrs:{label:"文件名",prop:"fileName"}},[r("el-input",{staticStyle:{width:"50%"},attrs:{disabled:!0},model:{value:e.ruleForm.fileName,callback:function(t){e.$set(e.ruleForm,"fileName",t)},expression:"ruleForm.fileName"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"路径",prop:"filePath"}},[r("el-input",{staticStyle:{width:"50%"},attrs:{disabled:!0},model:{value:e.ruleForm.filePath,callback:function(t){e.$set(e.ruleForm,"filePath",t)},expression:"ruleForm.filePath"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"MD5",prop:"md5Code"}},[r("el-input",{staticStyle:{width:"50%"},attrs:{disabled:!0},model:{value:e.ruleForm.md5Code,callback:function(t){e.$set(e.ruleForm,"md5Code",t)},expression:"ruleForm.md5Code"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"大小",prop:"fileSize"}},[r("el-input",{staticStyle:{width:"50%"},attrs:{disabled:!0},model:{value:e.ruleForm.fileSize,callback:function(t){e.$set(e.ruleForm,"fileSize",t)},expression:"ruleForm.fileSize"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"厂商",prop:"manufacturer"}},[r("el-input",{staticStyle:{width:"50%"},model:{value:e.ruleForm.manufacturer,callback:function(t){e.$set(e.ruleForm,"manufacturer",t)},expression:"ruleForm.manufacturer"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"设备",prop:"deviceType"}},[r("el-input",{staticStyle:{width:"50%"},model:{value:e.ruleForm.deviceType,callback:function(t){e.$set(e.ruleForm,"deviceType",t)},expression:"ruleForm.deviceType"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"型号",prop:"deviceModel"}},[r("el-input",{staticStyle:{width:"50%"},model:{value:e.ruleForm.deviceModel,callback:function(t){e.$set(e.ruleForm,"deviceModel",t)},expression:"ruleForm.deviceModel"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"客户",prop:"customer"}},[r("el-input",{staticStyle:{width:"50%"},model:{value:e.ruleForm.customer,callback:function(t){e.$set(e.ruleForm,"customer",t)},expression:"ruleForm.customer"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"ReleaseNote",prop:"releaseNote"}},[r("el-input",{staticStyle:{width:"50%"},attrs:{type:"textarea"},model:{value:e.ruleForm.releaseNote,callback:function(t){e.$set(e.ruleForm,"releaseNote",t)},expression:"ruleForm.releaseNote"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("立即创建")]),e._v(" "),r("el-button",{on:{click:function(t){e.resetForm("ruleForm")}}},[e._v("重置")])],1)],1)],1)},i=[],o={render:n,staticRenderFns:i};t.a=o},CBWy:function(e,t,r){"use strict";var n=r("JSQk");e.exports=function(e,t){function r(){var t=a*o,r=t+o>=e.size?e.size:t+o;l.readAsArrayBuffer(i.call(e,t,r))}var i=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,o=2097152,s=Math.ceil(e.size/o),a=0,u=new n.ArrayBuffer,l=new FileReader;r(),l.onloadend=function(e){u.append(e.target.result),a++,a<s?r():t(null,u.end())},l.onerror=function(){t("oops, something went wrong.")}}},D1Va:function(e,t,r){"use strict";function n(e){this.afterTransform=function(t,r){return i(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r),i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);a.call(this,e),this._transformState=new n(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,r){s(t,e,r)}):s(t)})}function s(e,t,r){if(t)return e.emit("error",t);null!==r&&void 0!==r&&e.push(r);var n=e._writableState,i=e._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}e.exports=o;var a=r("DsFX"),u=r("jOgh");u.inherits=r("LC74"),u.inherits(o,a),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;a.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},DsFX:function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);l.call(this,e),f.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(e){e.end()}var s=r("ypnx"),a=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=n;var u=r("jOgh");u.inherits=r("LC74");var l=r("Rt1F"),f=r("7dSG");u.inherits(n,l);for(var h=a(f.prototype),c=0;c<h.length;c++){var d=h[c];n.prototype[d]||(n.prototype[d]=f.prototype[d])}Object.defineProperty(n.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),n.prototype._destroy=function(e,t){this.push(null),this.end(),s(t,e)}},JSQk:function(e,t,r){!function(t){e.exports=t()}(function(e){"use strict";function t(e,t,r,n,i,o){return t=y(y(t,e),y(n,o)),y(t<<i|t>>>32-i,r)}function r(e,r,n,i,o,s,a){return t(r&n|~r&i,e,r,o,s,a)}function n(e,r,n,i,o,s,a){return t(r&i|n&~i,e,r,o,s,a)}function i(e,r,n,i,o,s,a){return t(r^n^i,e,r,o,s,a)}function o(e,r,n,i,o,s,a){return t(n^(r|~i),e,r,o,s,a)}function s(e,t){var s=e[0],a=e[1],u=e[2],l=e[3];s=r(s,a,u,l,t[0],7,-680876936),l=r(l,s,a,u,t[1],12,-389564586),u=r(u,l,s,a,t[2],17,606105819),a=r(a,u,l,s,t[3],22,-1044525330),s=r(s,a,u,l,t[4],7,-176418897),l=r(l,s,a,u,t[5],12,1200080426),u=r(u,l,s,a,t[6],17,-1473231341),a=r(a,u,l,s,t[7],22,-45705983),s=r(s,a,u,l,t[8],7,1770035416),l=r(l,s,a,u,t[9],12,-1958414417),u=r(u,l,s,a,t[10],17,-42063),a=r(a,u,l,s,t[11],22,-1990404162),s=r(s,a,u,l,t[12],7,1804603682),l=r(l,s,a,u,t[13],12,-40341101),u=r(u,l,s,a,t[14],17,-1502002290),a=r(a,u,l,s,t[15],22,1236535329),s=n(s,a,u,l,t[1],5,-165796510),l=n(l,s,a,u,t[6],9,-1069501632),u=n(u,l,s,a,t[11],14,643717713),a=n(a,u,l,s,t[0],20,-373897302),s=n(s,a,u,l,t[5],5,-701558691),l=n(l,s,a,u,t[10],9,38016083),u=n(u,l,s,a,t[15],14,-660478335),a=n(a,u,l,s,t[4],20,-405537848),s=n(s,a,u,l,t[9],5,568446438),l=n(l,s,a,u,t[14],9,-1019803690),u=n(u,l,s,a,t[3],14,-187363961),a=n(a,u,l,s,t[8],20,1163531501),s=n(s,a,u,l,t[13],5,-1444681467),l=n(l,s,a,u,t[2],9,-51403784),u=n(u,l,s,a,t[7],14,1735328473),a=n(a,u,l,s,t[12],20,-1926607734),s=i(s,a,u,l,t[5],4,-378558),l=i(l,s,a,u,t[8],11,-2022574463),u=i(u,l,s,a,t[11],16,1839030562),a=i(a,u,l,s,t[14],23,-35309556),s=i(s,a,u,l,t[1],4,-1530992060),l=i(l,s,a,u,t[4],11,1272893353),u=i(u,l,s,a,t[7],16,-155497632),a=i(a,u,l,s,t[10],23,-1094730640),s=i(s,a,u,l,t[13],4,681279174),l=i(l,s,a,u,t[0],11,-358537222),u=i(u,l,s,a,t[3],16,-722521979),a=i(a,u,l,s,t[6],23,76029189),s=i(s,a,u,l,t[9],4,-640364487),l=i(l,s,a,u,t[12],11,-421815835),u=i(u,l,s,a,t[15],16,530742520),a=i(a,u,l,s,t[2],23,-995338651),s=o(s,a,u,l,t[0],6,-198630844),l=o(l,s,a,u,t[7],10,1126891415),u=o(u,l,s,a,t[14],15,-1416354905),a=o(a,u,l,s,t[5],21,-57434055),s=o(s,a,u,l,t[12],6,1700485571),l=o(l,s,a,u,t[3],10,-1894986606),u=o(u,l,s,a,t[10],15,-1051523),a=o(a,u,l,s,t[1],21,-2054922799),s=o(s,a,u,l,t[8],6,1873313359),l=o(l,s,a,u,t[15],10,-30611744),u=o(u,l,s,a,t[6],15,-1560198380),a=o(a,u,l,s,t[13],21,1309151649),s=o(s,a,u,l,t[4],6,-145523070),l=o(l,s,a,u,t[11],10,-1120210379),u=o(u,l,s,a,t[2],15,718787259),a=o(a,u,l,s,t[9],21,-343485551),e[0]=y(s,e[0]),e[1]=y(a,e[1]),e[2]=y(u,e[2]),e[3]=y(l,e[3])}function a(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function u(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function l(e){var t,r,n,i,o,u,l=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)s(f,a(e.substring(t-64,t)));for(e=e.substring(t-64),r=e.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)n[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(s(f,n),t=0;t<16;t+=1)n[t]=0;return i=8*l,i=i.toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(i[2],16),u=parseInt(i[1],16)||0,n[14]=o,n[15]=u,s(f,n),f}function f(e){var t,r,n,i,o,a,l=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)s(f,u(e.subarray(t-64,t)));for(e=t-64<l?e.subarray(t-64):new Uint8Array(0),r=e.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)n[t>>2]|=e[t]<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(s(f,n),t=0;t<16;t+=1)n[t]=0;return i=8*l,i=i.toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(i[2],16),a=parseInt(i[1],16)||0,n[14]=o,n[15]=a,s(f,n),f}function h(e){var t,r="";for(t=0;t<4;t+=1)r+=_[e>>8*t+4&15]+_[e>>8*t&15];return r}function c(e){var t;for(t=0;t<e.length;t+=1)e[t]=h(e[t]);return e.join("")}function d(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function p(e,t){var r,n=e.length,i=new ArrayBuffer(n),o=new Uint8Array(i);for(r=0;r<n;r+=1)o[r]=e.charCodeAt(r);return t?o:i}function g(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function b(e,t,r){var n=new Uint8Array(e.byteLength+t.byteLength);return n.set(new Uint8Array(e)),n.set(new Uint8Array(t),e.byteLength),r?n:n.buffer}function v(e){var t,r=[],n=e.length;for(t=0;t<n-1;t+=2)r.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,r)}function m(){this.reset()}var y=function(e,t){return e+t&4294967295},_=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];return"5d41402abc4b2a76b9719d911017c592"!==c(l("hello"))&&(y=function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return e=0|e||0,e<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(r,n){var i,o,s,a,u=this.byteLength,l=t(r,u),f=u;return n!==e&&(f=t(n,u)),l>f?new ArrayBuffer(0):(i=f-l,o=new ArrayBuffer(i),s=new Uint8Array(o),a=new Uint8Array(this,l,i),s.set(a),o)}}(),m.prototype.append=function(e){return this.appendBinary(d(e)),this},m.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,r=this._buff.length;for(t=64;t<=r;t+=64)s(this._hash,a(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},m.prototype.end=function(e){var t,r,n=this._buff,i=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(o,i),r=c(this._hash),e&&(r=v(r)),this.reset(),r},m.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},m.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},m.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},m.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},m.prototype._finish=function(e,t){var r,n,i,o=t;if(e[o>>2]|=128<<(o%4<<3),o>55)for(s(this._hash,e),o=0;o<16;o+=1)e[o]=0;r=8*this._length,r=r.toString(16).match(/(.*?)(.{0,8})$/),n=parseInt(r[2],16),i=parseInt(r[1],16)||0,e[14]=n,e[15]=i,s(this._hash,e)},m.hash=function(e,t){return m.hashBinary(d(e),t)},m.hashBinary=function(e,t){var r=l(e),n=c(r);return t?v(n):n},m.ArrayBuffer=function(){this.reset()},m.ArrayBuffer.prototype.append=function(e){var t,r=b(this._buff.buffer,e,!0),n=r.length;for(this._length+=e.byteLength,t=64;t<=n;t+=64)s(this._hash,u(r.subarray(t-64,t)));return this._buff=t-64<n?new Uint8Array(r.buffer.slice(t-64)):new Uint8Array(0),this},m.ArrayBuffer.prototype.end=function(e){var t,r,n=this._buff,i=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=n[t]<<(t%4<<3);return this._finish(o,i),r=c(this._hash),e&&(r=v(r)),this.reset(),r},m.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},m.ArrayBuffer.prototype.getState=function(){var e=m.prototype.getState.call(this);return e.buff=g(e.buff),e},m.ArrayBuffer.prototype.setState=function(e){return e.buff=p(e.buff,!0),m.prototype.setState.call(this,e)},m.ArrayBuffer.prototype.destroy=m.prototype.destroy,m.ArrayBuffer.prototype._finish=m.prototype._finish,m.ArrayBuffer.hash=function(e,t){var r=f(new Uint8Array(e)),n=c(r);return t?v(n):n},m})},LC74:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},Rt1F:function(e,t,r){"use strict";(function(t,n){function i(e){return D.from(e)}function o(e){return D.isBuffer(e)||e instanceof U}function s(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?j(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function a(e,t){T=T||r("DsFX"),e=e||{},this.objectMode=!!e.objectMode,t instanceof T&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new I,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(z||(z=r("X4X3").StringDecoder),this.decoder=new z(e.encoding),this.encoding=e.encoding)}function u(e){if(T=T||r("DsFX"),!(this instanceof u))return new u(e);this._readableState=new a(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),N.call(this)}function l(e,t,r,n,o){var s=e._readableState;if(null===t)s.reading=!1,g(e,s);else{var a;o||(a=h(s,t)),a?e.emit("error",a):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===D.prototype||(t=i(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):f(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?f(e,s,t,!1):m(e,s)):f(e,s,t,!1))):n||(s.reading=!1)}return c(s)}function f(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&b(e)),m(e,t)}function h(e,t){var r;return o(t)||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function c(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function d(e){return e>=V?e=V:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function p(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=d(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function g(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,b(e)}}function b(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(W("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?O(v,e):v(e))}function v(e){W("emit readable"),e.emit("readable"),x(e)}function m(e,t){t.readingMore||(t.readingMore=!0,O(y,e,t))}function y(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(W("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function _(e){return function(){var t=e._readableState;W("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&B(e,"data")&&(t.flowing=!0,x(e))}}function w(e){W("readable nexttick read 0"),e.read(0)}function S(e,t){t.resumeScheduled||(t.resumeScheduled=!0,O(k,e,t))}function k(e,t){t.reading||(W("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),x(e),t.flowing&&!t.reading&&e.read(0)}function x(e){var t=e._readableState;for(W("flow",t.flowing);t.flowing&&null!==e.read(););}function C(e,t){if(0===t.length)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=L(e,t.buffer,t.decoder),r}function L(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?E(e,t):F(e,t),n}function E(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var o=r.data,s=e>o.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}function F(e,t){var r=D.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,O(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}var O=r("ypnx");e.exports=u;var T,j=r("sOR5");u.ReadableState=a;var B=(r("vzCy").EventEmitter,function(e,t){return e.listeners(t).length}),N=r("UcPO"),D=r("X3l8").Buffer,U=t.Uint8Array||function(){},P=r("jOgh");P.inherits=r("LC74");var q=r(1),W=void 0;W=q&&q.debuglog?q.debuglog("stream"):function(){};var z,I=r("+HRN"),X=r("x0Ha");P.inherits(u,N);var $=["error","close","destroy","pause","resume"];Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),u.prototype.destroy=X.destroy,u.prototype._undestroy=X.undestroy,u.prototype._destroy=function(e,t){this.push(null),t(e)},u.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=D.from(e,t),t=""),r=!0),l(this,e,t,!1,r)},u.prototype.unshift=function(e){return l(this,e,null,!0,!1)},u.prototype.isPaused=function(){return!1===this._readableState.flowing},u.prototype.setEncoding=function(e){return z||(z=r("X4X3").StringDecoder),this._readableState.decoder=new z(e),this._readableState.encoding=e,this};var V=8388608;u.prototype.read=function(e){W("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return W("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?A(this):b(this),null;if(0===(e=p(e,t))&&t.ended)return 0===t.length&&A(this),null;var n=t.needReadable;W("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&(n=!0,W("length less than watermark",n)),t.ended||t.reading?(n=!1,W("reading or ended",n)):n&&(W("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=p(r,t)));var i;return i=e>0?C(e,t):null,null===i?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&A(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(e,t){function r(e,t){W("onunpipe"),e===c&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,o())}function i(){W("onend"),e.end()}function o(){W("cleanup"),e.removeListener("close",l),e.removeListener("finish",f),e.removeListener("drain",b),e.removeListener("error",u),e.removeListener("unpipe",r),c.removeListener("end",i),c.removeListener("end",h),c.removeListener("data",a),v=!0,!d.awaitDrain||e._writableState&&!e._writableState.needDrain||b()}function a(t){W("ondata"),m=!1,!1!==e.write(t)||m||((1===d.pipesCount&&d.pipes===e||d.pipesCount>1&&-1!==R(d.pipes,e))&&!v&&(W("false write response, pause",c._readableState.awaitDrain),c._readableState.awaitDrain++,m=!0),c.pause())}function u(t){W("onerror",t),h(),e.removeListener("error",u),0===B(e,"error")&&e.emit("error",t)}function l(){e.removeListener("finish",f),h()}function f(){W("onfinish"),e.removeListener("close",l),h()}function h(){W("unpipe"),c.unpipe(e)}var c=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=e;break;case 1:d.pipes=[d.pipes,e];break;default:d.pipes.push(e)}d.pipesCount+=1,W("pipe count=%d opts=%j",d.pipesCount,t);var p=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,g=p?i:h;d.endEmitted?O(g):c.once("end",g),e.on("unpipe",r);var b=_(c);e.on("drain",b);var v=!1,m=!1;return c.on("data",a),s(e,"error",u),e.once("close",l),e.once("finish",f),e.emit("pipe",c),d.flowing||(W("pipe resume"),c.resume()),e},u.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,r);return this}var s=R(t.pipes,e);return-1===s?this:(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)},u.prototype.on=function(e,t){var r=N.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&b(this):O(w,this))}return r},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){var e=this._readableState;return e.flowing||(W("resume"),e.flowing=!0,S(this,e)),this},u.prototype.pause=function(){return W("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(W("pause"),this._readableState.flowing=!1,this.emit("pause")),this},u.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(W("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){if(W("wrapped data"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){n.push(i)||(r=!0,e.pause())}});for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<$.length;o++)e.on($[o],n.emit.bind(n,$[o]));return n._read=function(t){W("wrapped _read",t),r&&(r=!1,e.resume())},n},u._fromList=C}).call(t,r("DuR2"),r("W2nU"))},SDM6:function(e,t,r){e.exports=r("DsFX")},UcPO:function(e,t,r){e.exports=r("vzCy").EventEmitter},V8q2:function(e,t,r){"use strict";function n(e){return r.i(c.a)({url:"/unionService/AliOSS/signature",method:"post",params:{dir:e},withCredentials:!1})}function i(){return r.i(c.a)({url:"/unionService/AliOSS/mediaResource/oss/url",method:"get"})}function o(){return r.i(c.a)({url:"/unionService/AliOSS/upgradePackage/oss/url",method:"get"})}function s(){return r.i(c.a)({url:"/unionService/AliOSS/deviceConfig/oss/url",method:"get"})}function a(){return r.i(c.a)({url:"/unionService/AliOSS/store/logo/oss/url",method:"get"})}function u(){return r.i(c.a)({url:"/unionService/AliOSS/trade/oss/url",method:"get"})}function l(){return r.i(c.a)({url:"/unionService/AliOSS/goods/oss/url",method:"get"})}function f(){return r.i(c.a)({url:"/unionService/AliOSS/apk/oss/url",method:"get"})}function h(e){return r.i(c.a)({url:"/service-org/Region/getCitys?parentId="+e,method:"get"})}t.a=n,t.g=i,t.d=o,t.e=s,t.h=a,t.i=u,t.b=l,t.f=f,t.c=h;var c=r("Vo7i")},X3l8:function(e,t,r){function n(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return s(e,t,r)}var o=r("EuP9"),s=o.Buffer;s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=o:(n(o,t),t.Buffer=i),n(s,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},X4X3:function(e,t,r){"use strict";function n(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function i(e){var t=n(e);if("string"!=typeof t&&(m.isEncoding===y||!y(e)))throw new Error("Unknown encoding: "+e);return t||e}function o(e){this.encoding=i(e);var t;switch(this.encoding){case"utf16le":this.text=c,this.end=d,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=p,this.end=g,t=3;break;default:return this.write=b,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=m.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function a(e,t,r){var n=t.length-1;if(n<r)return 0;var i=s(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r?0:(i=s(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r?0:(i=s(t[n]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0)}function u(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}function l(e){var t=this.lastTotal-this.lastNeed,r=u(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function f(e,t){var r=a(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function d(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function p(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}var m=r("X3l8").Buffer,y=m.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=h,o.prototype.text=f,o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},cSWu:function(e,t,r){t=e.exports=r("Rt1F"),t.Stream=t,t.Readable=t,t.Writable=r("7dSG"),t.Duplex=r("DsFX"),t.Transform=r("D1Va"),t.PassThrough=r("f48b")},eCz2:function(e,t,r){"use strict";(function(t){function n(){f.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function i(e,t){return e<<t|e>>>32-t}function o(e,t,r,n,o,s,a){return i(e+(t&r|~t&n)+o+s|0,a)+t|0}function s(e,t,r,n,o,s,a){return i(e+(t&n|r&~n)+o+s|0,a)+t|0}function a(e,t,r,n,o,s,a){return i(e+(t^r^n)+o+s|0,a)+t|0}function u(e,t,r,n,o,s,a){return i(e+(r^(t|~n))+o+s|0,a)+t|0}var l=r("LC74"),f=r("wVeK"),h=new Array(16);l(n,f),n.prototype._update=function(){for(var e=h,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,l=this._d;r=o(r,n,i,l,e[0],3614090360,7),l=o(l,r,n,i,e[1],3905402710,12),i=o(i,l,r,n,e[2],606105819,17),n=o(n,i,l,r,e[3],3250441966,22),r=o(r,n,i,l,e[4],4118548399,7),l=o(l,r,n,i,e[5],1200080426,12),i=o(i,l,r,n,e[6],2821735955,17),n=o(n,i,l,r,e[7],4249261313,22),r=o(r,n,i,l,e[8],1770035416,7),l=o(l,r,n,i,e[9],2336552879,12),i=o(i,l,r,n,e[10],4294925233,17),n=o(n,i,l,r,e[11],2304563134,22),r=o(r,n,i,l,e[12],1804603682,7),l=o(l,r,n,i,e[13],4254626195,12),i=o(i,l,r,n,e[14],2792965006,17),n=o(n,i,l,r,e[15],1236535329,22),r=s(r,n,i,l,e[1],4129170786,5),l=s(l,r,n,i,e[6],3225465664,9),i=s(i,l,r,n,e[11],643717713,14),n=s(n,i,l,r,e[0],3921069994,20),r=s(r,n,i,l,e[5],3593408605,5),l=s(l,r,n,i,e[10],38016083,9),i=s(i,l,r,n,e[15],3634488961,14),n=s(n,i,l,r,e[4],3889429448,20),r=s(r,n,i,l,e[9],568446438,5),l=s(l,r,n,i,e[14],3275163606,9),i=s(i,l,r,n,e[3],4107603335,14),n=s(n,i,l,r,e[8],1163531501,20),r=s(r,n,i,l,e[13],2850285829,5),l=s(l,r,n,i,e[2],4243563512,9),i=s(i,l,r,n,e[7],1735328473,14),n=s(n,i,l,r,e[12],2368359562,20),r=a(r,n,i,l,e[5],4294588738,4),l=a(l,r,n,i,e[8],2272392833,11),i=a(i,l,r,n,e[11],1839030562,16),n=a(n,i,l,r,e[14],4259657740,23),r=a(r,n,i,l,e[1],2763975236,4),l=a(l,r,n,i,e[4],1272893353,11),i=a(i,l,r,n,e[7],4139469664,16),n=a(n,i,l,r,e[10],3200236656,23),r=a(r,n,i,l,e[13],681279174,4),l=a(l,r,n,i,e[0],3936430074,11),i=a(i,l,r,n,e[3],3572445317,16),n=a(n,i,l,r,e[6],76029189,23),r=a(r,n,i,l,e[9],3654602809,4),l=a(l,r,n,i,e[12],3873151461,11),i=a(i,l,r,n,e[15],530742520,16),n=a(n,i,l,r,e[2],3299628645,23),r=u(r,n,i,l,e[0],4096336452,6),l=u(l,r,n,i,e[7],1126891415,10),i=u(i,l,r,n,e[14],2878612391,15),n=u(n,i,l,r,e[5],4237533241,21),r=u(r,n,i,l,e[12],1700485571,6),l=u(l,r,n,i,e[3],2399980690,10),i=u(i,l,r,n,e[10],4293915773,15),n=u(n,i,l,r,e[1],2240044497,21),r=u(r,n,i,l,e[8],1873313359,6),l=u(l,r,n,i,e[15],4264355552,10),i=u(i,l,r,n,e[6],2734768916,15),n=u(n,i,l,r,e[13],1309151649,21),r=u(r,n,i,l,e[4],4149444226,6),l=u(l,r,n,i,e[11],3174756917,10),i=u(i,l,r,n,e[2],718787259,15),n=u(n,i,l,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+l|0},n.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new t(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=n}).call(t,r("EuP9").Buffer)},f48b:function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);i.call(this,e)}e.exports=n;var i=r("D1Va"),o=r("jOgh");o.inherits=r("LC74"),o.inherits(n,i),n.prototype._transform=function(e,t,r){r(null,e)}},fNc5:function(e,t,r){t=e.exports=r("FZ+f")(!0),t.push([e.i,".el-upload-list{width:50%}","",{version:3,sources:["D:/projects/gitLab/wxpos/posadmin/src/views/ota/version/add.vue"],names:[],mappings:"AACA,gBACI,SAAW,CACd",file:"add.vue",sourcesContent:["\n.el-upload-list{\n width: 50%;\n}\n"],sourceRoot:""}])},iP15:function(e,t,r){(function(t){function r(e,t){function r(){if(!i){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),i=!0}return e.apply(this,arguments)}if(n("noDeprecation"))return e;var i=!1;return r}function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=r}).call(t,r("DuR2"))},iVxu:function(e,t,r){e.exports=r("CBWy")},jOgh:function(e,t,r){(function(e){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===b(e)}function n(e){return"boolean"==typeof e}function i(e){return null===e}function o(e){return null==e}function s(e){return"number"==typeof e}function a(e){return"string"==typeof e}function u(e){return"symbol"==typeof e}function l(e){return void 0===e}function f(e){return"[object RegExp]"===b(e)}function h(e){return"object"==typeof e&&null!==e}function c(e){return"[object Date]"===b(e)}function d(e){return"[object Error]"===b(e)||e instanceof Error}function p(e){return"function"==typeof e}function g(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function b(e){return Object.prototype.toString.call(e)}t.isArray=r,t.isBoolean=n,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=s,t.isString=a,t.isSymbol=u,t.isUndefined=l,t.isRegExp=f,t.isObject=h,t.isDate=c,t.isError=d,t.isFunction=p,t.isPrimitive=g,t.isBuffer=e.isBuffer}).call(t,r("EuP9").Buffer)},t7x4:function(e,t,r){"use strict";var n=r("V8q2"),i=r("3eLu"),o=r("eCz2"),s=(r.n(o),r("iVxu")),a=r.n(s),u=r("zL8q");r.n(u);t.a={created:function(){var e=this;r.i(n.a)("otadev").then(function(t){e.updata.data.policy=t.result.policy,e.updata.data.OSSAccessKeyId=t.result.accessid,e.updata.data.success_action_status="200",e.updata.data.signature=t.result.signature,e.updata.url=t.result.host}),r.i(n.d)().then(function(t){e.mediaUrl=t.result})},data:function(){return{fileList:[],loadingInstance:null,options:[{value:"0",label:"增量包"},{value:"1",label:"全量包"}],ruleForm:{fileName:"",filePath:"",md5Code:"",fileSize:"",versionCode:"",manufacturer:"",deviceType:"",deviceModel:"",customer:"",fileType:"",releaseNote:""},rules:{versionCode:[{required:!0,message:"请输入版本",trigger:"blur"}],fileType:[{required:!0,message:"请上选择包类型",trigger:"blur"}]},updata:{url:"",data:{}},selected:[],mediaUrl:""}},methods:{handleRemove:function(e,t){this.ruleForm={fileName:"",filePath:"",md5Code:"",fileSize:"",versionCode:"",manufacturer:"",deviceType:"",deviceModel:"",customer:"",fileType:"",releaseNote:""}},submitForm:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;r.i(i.d)(t.ruleForm).then(function(e){var r=t.$router;t.$message({message:"操作成功",type:"success",duration:1e3,onClose:function(){r.push({path:"index"})}})})})},resetForm:function(e){this.$refs[e].resetFields()},handleAvatarSuccess:function(e,t){console.log(t),this.ruleForm.fileName=t.name,this.ruleForm.filePath=this.mediaUrl,this.ruleForm.fileSize=t.size,this.fileList=[]},beforeAvatarUpload:function(e){var t=e.name,r="",n=this.findPackageType(t);if(r="zeng"==n?t.split("-")[2].split(".")[0]+"."+t.split("-")[2].split(".")[1]+"."+t.split("-")[3].split(".")[0]:"quan"==n?t.split(".")[2]+"."+t.split(".")[3]+"."+t.split(".")[4]:"1.0."+t.substring(0,t.lastIndexOf(".")).split("#")[1],r.indexOf("undefined")>=0)return this.$message.error("包名称错误!"),!1;this.updata.data.key="otadev/"+e.name,this.ruleForm.versionCode=r;var i=this.ruleForm;return a()(e,function(e,t){i.md5Code=t}),!0},findPackageType:function(e){if(e.indexOf("#")>=0)return"pda";var t=e.split(".");return t[t.length-2].indexOf("-")>=0?"zeng":"quan"}}}},vzCy:function(e,t){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,r,i,a,u,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var f=new Error('Uncaught, unspecified "error" event. ('+t+")");throw f.context=t,f}if(r=this._events[e],s(r))return!1;if(n(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),r.apply(this,a)}else if(o(r))for(a=Array.prototype.slice.call(arguments,1),l=r.slice(),i=l.length,u=0;u<i;u++)l[u].apply(this,a);return!0},r.prototype.addListener=function(e,t){var i;if(!n(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,n(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(i=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function r(){this.removeListener(e,r),i||(i=!0,t.apply(this,arguments))}if(!n(t))throw TypeError("listener must be a function");var i=!1;return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var r,i,s,a;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,i=-1,r===t||n(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(a=s;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){i=a;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],n(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},wVeK:function(e,t,r){"use strict";function n(e,t){if(!o.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}function i(e){s.call(this),this._block=o.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var o=r("X3l8").Buffer,s=r("9DG0").Transform;r("LC74")(i,s),i.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},i.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},i.prototype.update=function(e,t){if(n(e,"Data"),this._finalized)throw new Error("Digest already called");o.isBuffer(e)||(e=o.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)r[s++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var a=0,u=8*e.length;u>0;++a)this._length[a]+=u,(u=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*u);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=i},x0Ha:function(e,t,r){"use strict";function n(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;if(n||i)return void(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||s(o,this,e));this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(s(o,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})}function i(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(e,t){e.emit("error",t)}var s=r("ypnx");e.exports={destroy:n,undestroy:i}},ypnx:function(e,t,r){"use strict";(function(t){function r(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,r)});case 3:return t.nextTick(function(){e.call(null,r,n)});case 4:return t.nextTick(function(){e.call(null,r,n,i)});default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return t.nextTick(function(){e.apply(null,o)})}}!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports=r:e.exports=t.nextTick}).call(t,r("W2nU"))},"yq/Z":function(e,t,r){"use strict";function n(e){r("4lE3")}Object.defineProperty(t,"__esModule",{value:!0});var i=r("t7x4"),o=r("9bCr"),s=r("VU/8"),a=n,u=s(i.a,o.a,a,null,null);t.default=u.exports}});
  2. //# sourceMappingURL=2.45ccce1cdc165fb5bb8d.js.map