webpackJsonp([0],{"+TkF":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"o",function(){return o}),n.d(e,"i",function(){return i}),n.d(e,"e",function(){return a}),n.d(e,"h",function(){return s}),n.d(e,"d",function(){return u}),n.d(e,"p",function(){return c}),n.d(e,"f",function(){return f}),n.d(e,"j",function(){return l}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return p}),n.d(e,"k",function(){return h}),n.d(e,"g",function(){return m}),n.d(e,"n",function(){return g}),n.d(e,"l",function(){return y}),n.d(e,"m",function(){return v});var r={0:"启用",1:"冻结"},o={0:"老师",1:"新星妈妈",2:"推广人",3:"市场"},i={0:"月课",1:"日课"},a={1:"普通商品",2:"团购商品"},s={0:"否",1:"是"},u={0:"编辑中",1:"在售",2:"下架"},c={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},f={0:"用户",1:"老师",2:"推广渠道"},l={0:"待付款",1:"付款成功",2:"付款失败",3:"退款成功",4:"拼团成功",5:"部分退款"},d={1:"单买",2:"团购"},p=[{id:1,value:"单买"},{id:2,value:"团购"}],h=[{id:0,value:"待付款"},{id:1,value:"付款成功"},{id:2,value:"付款失败"},{id:3,value:"退款成功"},{id:4,value:"拼团成功"},{id:5,value:"部分退款"}],m=[{id:0,value:"用户"},{id:1,value:"老师"},{id:2,value:"推广渠道"}],g={1:"永久",2:"临时"},y={1:"渠道",2:"用户"},v={0:"正常",1:"禁用"}},"0qGg":function(t,e,n){"use strict";var r=n("CCn6"),o=n("kmJW"),i=n("+TkF"),a={name:"userList",props:["userObj"],data:function(){return{userTable:[],addId:"",lookDetail:{show:!1,loading:!1,list:[]},changeClassObj:{show:!1,new_periods_id:"",new_class_id:"",periods_user_class_id:"",periods_list:[],selectedGoods:[]},selectUserList:[],addShow:!1,userList:[],nowPage:1,limit:500,total:0,searchFrom:{userId:"",nickName:"",mobile:""},multipleSelection:[]}},components:{page:o.a},filters:{isOrNot:function(t){return i.h[t]},percent:function(t){return(100*t).toFixed(2)+"%"}},methods:{handleItemChange:function(t){var e=this;Object(r._8)(t[0],{limit:99999}).then(function(n){n.list.forEach(function(t){t.title=t.teacher_name}),e.changeClassObj.periods_list.find(function(e){return e.id===t[0]}).children=n.list})},changeClassSub:function(){var t=this;this.changeClassObj.periods_user_class_id=[],this.selectUserList.forEach(function(e){t.changeClassObj.periods_user_class_id.push(e.id)});var e={new_periods_id:this.changeClassObj.new_periods_id,new_class_id:this.changeClassObj.new_class_id,periods_user_class_id:this.changeClassObj.periods_user_class_id.toString()};Object(r.p)(e).then(function(e){t.$message({type:"success",message:e}),t.userObj.show=!1,t.$emit("reflash")})},changePeriods:function(t){t.length>1&&(this.changeClassObj.new_periods_id=t[0],this.changeClassObj.new_class_id=t[1])},changeClass:function(){var t=this;this.selectUserList.length<1?this.$message({type:"error",message:"请先选择用户"}):(Object(r._24)({goods_id:this.userObj.goods_id,limit:99999}).then(function(e){e.list.forEach(function(t){t.children=[]}),t.changeClassObj.periods_list=e.list}),this.changeClassObj.show=!0)},handleSelectionChange123:function(t){this.selectUserList=t},userLook:function(t){var e=this;this.lookDetail.show=!0,this.lookDetail.loading=!0,Object(r._59)(t.periods_id,t.user_id).then(function(t){e.lookDetail.list=t.list,e.lookDetail.loading=!1})},initPage:function(){var t=this;Object(r._10)(this.userObj.classId,{limit:500}).then(function(e){t.userTable=e.list}),this.changeClassObj={show:!1,new_periods_id:"",new_class_id:"",periods_user_class_id:"",periods_list:[],selectedGoods:[]}},changeUser:function(t){var e=this;this.$confirm("此操作将修改成员看课权限?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(r.q)(t.id,{is_view_course:0===t.is_view_course?1:0}).then(function(t){e.$message({type:"success",message:"修改成功!"}),e.initPage()})})},onDel:function(t){var e=this;this.$confirm("此操作将删除该成员?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(r.z)(t.id).then(function(t){e.$message({type:"success",message:"删除成功!"}),e.initPage()})})},onAdd:function(){var t=this;0!==this.multipleSelection.length?1===this.multipleSelection.length?(this.addId=this.multipleSelection[0].user_id,this.addId&&Object(r.g)(this.userObj.classId,this.addId,{is_buy:0}).then(function(e){t.$message({type:"success",message:"添加成功!"}),t.addShow=!1,t.initPage()})):this.$message({type:"error",message:"只能选择一个用户!"}):this.$message({type:"error",message:"请选择用户!"})},onAddUser:function(){this.addShow=!0,this.getUser()},getUser:function(){var t=this,e={page:this.nowPage,limit:5};this.searchFrom.userId&&(e.user_id=this.searchFrom.userId),this.searchFrom.nickName&&(e.nickname=this.searchFrom.nickName),this.searchFrom.mobile&&(e.mobile=this.searchFrom.mobile),Object(r._38)(e).then(function(e){t.userList=e.list,t.total=e.total})},onPageChange:function(t){this.nowPage=t,this.getUser()},onSizeChange:function(t){this.limit=t,this.nowPage=1,this.getUser()},handleSelectionChange:function(t){this.multipleSelection=t},editComment:function(t,e){var n=this;this.$prompt("","编辑备注",{confirmButtonText:"确定",cancelButtonText:"取消",inputValue:e}).then(function(e){var o=e.value;Object(r.k)(t,{desc:o}).then(function(t){n.$message({type:"success",message:"编辑备注成功"}),n.initPage()})})}},watch:{userObj:function(){this.initPage()}}},s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:t.userObj.title,visible:t.userObj.show,modal:!1,fullscreen:!0},on:{"update:visible":function(e){t.$set(t.userObj,"show",e)}}},[n("div",[n("el-form",{attrs:{"label-width":"90px",inline:""}},[n("el-form-item",{staticStyle:{float:"right"}},[t.$store.state.readonly?t._e():n("el-button",{attrs:{type:"success"},on:{click:t.changeClass}},[t._v("切换班级")]),t._v(" "),t.$store.state.readonly?t._e():n("el-button",{attrs:{type:"success"},on:{click:t.onAddUser}},[t._v("+添加用户")])],1)],1),t._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.userTable},on:{"selection-change":t.handleSelectionChange123}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),n("el-table-column",{attrs:{label:"用户",className:"f-c"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("img",{staticStyle:{"margin-right":"5px",width:"50px",height:"50px","border-radius":"50px"},attrs:{src:e.row.avatar}}),t._v(" "+t._s(e.row.nickname)+"(ID:"+t._s(e.row.user_id)+")\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"手机号"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.mobile)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"是否购买"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0===e.row.is_buy?"否":"是")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"看课权限"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("isOrNot")(e.row.is_view_course))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"desc",label:"备注"}}),t._v(" "),n("el-table-column",{attrs:{label:"最后登录时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.last_login_at)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"看课率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.watch_course_rate)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"课包查看次数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.watch_course_num)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"学习时长(分)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(Math.round(e.row.watch_course_time/60*100)/100)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"作业率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("percent")(e.row.work_rate))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"打卡率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("percent")(e.row.clock_rate))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"续费情况"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("isOrNot")(e.row.is_continue_buy))+"\n ")]}}])}),t._v(" "),t.$store.state.readonly?t._e():n("el-table-column",{attrs:{label:"操作",width:"360"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$store.state.readonly?t._e():n("el-button",{attrs:{type:"warning",size:"mini"},on:{click:function(n){t.editComment(e.row.id,e.row.desc)}}},[t._v("编辑备注")]),t._v(" "),t.$store.state.readonly?t._e():n("el-button",{attrs:{type:"warning",size:"mini"},on:{click:function(n){t.changeUser(e.row)}}},[t._v("看课权限")]),t._v(" "),t.$store.state.readonly?t._e():n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){t.userLook(e.row)}}},[t._v("看课情况")]),t._v(" "),t.$store.state.deletePermission&&!t.$store.state.readonly?n("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(n){t.onDel(e.row)}}},[t._v("删除")]):t._e()]}}])})],1)],1),t._v(" "),n("el-dialog",{attrs:{modal:!1,visible:t.addShow},on:{"update:visible":function(e){t.addShow=e}}},[n("el-form",{attrs:{"label-width":"90px"}},[n("el-row",[n("el-col",{attrs:{span:8}},[n("el-form-item",{attrs:{label:"ID"}},[n("el-input",{model:{value:t.searchFrom.userId,callback:function(e){t.$set(t.searchFrom,"userId",e)},expression:"searchFrom.userId"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:8}},[n("el-form-item",{attrs:{label:"昵称"}},[n("el-input",{model:{value:t.searchFrom.nickName,callback:function(e){t.$set(t.searchFrom,"nickName",e)},expression:"searchFrom.nickName"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:8}},[n("el-form-item",{attrs:{label:"电话"}},[n("el-input",{model:{value:t.searchFrom.mobile,callback:function(e){t.$set(t.searchFrom,"mobile",e)},expression:"searchFrom.mobile"}})],1)],1)],1),t._v(" "),n("el-row",[n("el-col",{attrs:{span:8,offset:16}},[n("el-form-item",[n("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",plain:""},on:{click:t.getUser}},[t._v("搜索")])],1)],1)],1)],1),t._v(" "),n("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.userList},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),n("el-table-column",{attrs:{className:"f-c",label:"用户"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("img",{staticStyle:{"margin-right":"5px",width:"50px",height:"50px","border-radius":"50px"},attrs:{src:e.row.avatar}}),t._v(t._s(e.row.nickname)+"(ID:"+t._s(e.row.user_id)+")\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"mobile",label:"手机号"}})],1),t._v(" "),n("page",{attrs:{total:t.total,limit:t.limit},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}}),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.addShow=!1}}},[t._v("取 消")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.onAdd}},[t._v("确 定")])],1)],1),t._v(" "),n("el-dialog",{attrs:{modal:!1,visible:t.lookDetail.show},on:{"update:visible":function(e){t.$set(t.lookDetail,"show",e)}}},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.lookDetail.loading,expression:"lookDetail.loading"}],staticStyle:{width:"100%"},attrs:{data:t.lookDetail.list}},[n("el-table-column",{attrs:{prop:"start_at",label:"日期"}}),t._v(" "),n("el-table-column",{attrs:{label:"爸妈看一看"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.watch_list&&e.row.watch_list.length>0&&e.row.watch_list.find(function(t){return 1===t.page_id})?n("span",[t._v("\n 学习时长:"+t._s(e.row.watch_list.find(function(t){return 1===t.page_id}).stay_time)+"\n ")]):t._e(),t._v(" "),e.row.watch_list.find(function(t){return 1===t.page_id})?t._e():n("span",[t._v("\n 暂未上课\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"宝贝玩一玩"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.watch_list&&e.row.watch_list.length>0&&e.row.watch_list.find(function(t){return 1===t.page_id})?n("span",[t._v("\n 学习时长:"+t._s(e.row.watch_list.find(function(t){return 2===t.page_id}).stay_time)+"\n ")]):t._e(),t._v(" "),e.row.watch_list.find(function(t){return 1===t.page_id})?t._e():n("span",[t._v("\n 暂未上课\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"爸妈秀宝贝"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.watch_list&&e.row.watch_list.length>0&&e.row.watch_list.find(function(t){return 1===t.page_id})?n("span",[t._v("\n 学习记录:"),n("div",{domProps:{innerHTML:t._s(e.row.watch_list.find(function(t){return 0===t.page_id}).learn_report)}}),t._v(t._s(e.row.watch_list.find(function(t){return 3===t.page_id}).stay_time)+"\n ")]):t._e(),t._v(" "),e.row.watch_list.find(function(t){return 1===t.page_id})?t._e():n("span",[t._v("\n 暂未上课\n ")])]}}])})],1)],1),t._v(" "),n("el-dialog",{attrs:{modal:!1,visible:t.changeClassObj.show,title:"切换班级"},on:{"update:visible":function(e){t.$set(t.changeClassObj,"show",e)}}},[n("el-form",[n("el-form-item",[n("el-cascader",{attrs:{options:t.changeClassObj.periods_list,props:{value:"id",label:"title"}},on:{"active-item-change":t.handleItemChange,change:t.changePeriods},model:{value:t.changeClassObj.selectedGoods,callback:function(e){t.$set(t.changeClassObj,"selectedGoods",e)},expression:"changeClassObj.selectedGoods"}})],1)],1),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.changeClassObj.show=!1}}},[t._v("取 消")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(e){t.changeClassSub()}}},[t._v("确 定")])],1)],1),t._v(" "),n("el-dialog")],1)};s._withStripped=!0;var u={render:s,staticRenderFns:[]},c=u;var f=!1;var l=n("VU/8")(a,c,!1,function(t){f||n("nZHh")},null,null);l.options.__file="src\\components\\class\\userList.vue";e.a=l.exports},"1B95":function(t,e,n){var r=n("Jj80");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("b20d4182",r,!1,{})},"21It":function(t,e,n){"use strict";var r=n("FtD3");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"4Xvw":function(t,e,n){var r=n("e/ZV");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("f0aa8374",r,!1,{})},"5VQ+":function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},"7GwW":function(t,e,n){"use strict";var r=n("cGG2"),o=n("21It"),i=n("DQCr"),a=n("oJlt"),s=n("GHBc"),u=n("FtD3"),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");t.exports=function(t){return new Promise(function(e,f){var l=t.data,d=t.headers;r.isFormData(l)&&delete d["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(t.url)||(p=new window.XDomainRequest,h="onload",m=!0,p.onprogress=function(){},p.ontimeout=function(){}),t.auth){var g=t.auth.username||"",y=t.auth.password||"";d.Authorization="Basic "+c(g+":"+y)}if(p.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p[h]=function(){if(p&&(4===p.readyState||m)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:t,request:p};o(e,f,r),p=null}},p.onerror=function(){f(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var v=n("p1b6"),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;_&&(d[t.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(d,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),f(t),p=null)}),void 0===l&&(l=null),p.send(l)})}},"C+jy":function(t,e,n){"use strict";var r=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"ly-emotion"},[this._t("default")],2)};r._withStripped=!0;var o={render:r,staticRenderFns:[]},i=o;var a=!1;var s=n("VU/8")({name:"ly-emotion",mounted:function(){var t=this,e=this.$el.innerHTML,n='';this.$nextTick(function(){t.$el.innerHTML=n})}},i,!1,function(t){a||n("1B95")},"data-v-9d276808",null);s.options.__file="src\\components\\framework\\Emotion\\Emotion.vue";var u=s.exports,c={props:{height:{type:Number,default:200}},data:function(){return{list:[["微笑","撇嘴","色","发呆","得意","流泪","害羞","闭嘴"],["睡","大哭","尴尬","发怒","调皮","呲牙","惊讶","难过"]["傲慢"],["饥饿","困","惊恐","流汗","憨笑","大兵","奋斗","咒骂"],["疑问","嘘","晕","折磨","衰","骷髅","敲打","再见"],["擦汗","抠鼻","鼓掌","糗大了","坏笑","左哼哼","右哼哼","哈欠"],["鄙视","委屈","快哭了","阴险","亲亲","吓","可怜","菜刀"],["西瓜","啤酒","篮球","乒乓","咖啡","饭","猪头","玫瑰"],["凋谢","示爱","爱心","心碎","蛋糕","闪电","炸弹","刀"],["足球","瓢虫","便便","月亮","太阳","礼物","拥抱","强"],["弱","握手","胜利","抱拳","勾引","拳头","差劲","爱你"],["NO","OK","爱情","飞吻","跳跳","发抖","怄火","转圈"],["磕头","回头","跳绳","挥手","激动","街舞","左太极","右太极"]]}},methods:{clickHandler:function(t){var e="/"+t;this.$emit("emotion",e)}},components:{Emotion:u}},f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"emotion-box",style:{height:t.height+"px"}},t._l(t.list,function(e,r){return n("div",{key:r,staticClass:"emotion-box-line"},t._l(e,function(e,r){return n("emotion",{key:r,staticClass:"emotion-item",nativeOn:{click:function(n){t.clickHandler(e)}}},[t._v(t._s(e))])}))}))])};f._withStripped=!0;var l={render:f,staticRenderFns:[]},d=l;var p=!1;var h=n("VU/8")(c,d,!1,function(t){p||n("oYXV")},"data-v-82a3a15a",null);h.options.__file="src\\components\\framework\\Emotion\\index.vue";e.a=h.exports},CCn6:function(t,e,n){"use strict";var r=n("7+uW"),o=n("mtWM"),i=n.n(o),a=n("NC6I"),s=n.n(a),u=n("IcnI"),c=n("zL8q"),f=n("YaEn"),l=n("zSLJ"),d=n("cpGA");i.a.defaults.timeout=5e4,i.a.defaults.baseURL="",i.a.interceptors.request.use(function(t){var e=l.a.get("cc_token");if(t.headers["Content-Type"]||(t.headers={"Content-Type":"application/json"}),e&&(t.headers.token=e),"get"===t.method&&"/api/admin/login"!==t.url){t.params=t.params||{};var n=JSON.parse(JSON.stringify(t.params));for(var r in n){/^[0-9]+$/.test(n[r])&&(n[r]=Number(n[r])),null===n[r]&&(n[r]=""),"string"==typeof n[r]&&(t.params[r]=t.params[r].replace(/(^\s*)|(\s*$)/g,""),n[r]=n[r].replace(/(^\s*)|(\s*$)/g,"")),n[r]=s()(n[r].toString())}n.sing="singsingenglish21000",t.params.param_token=s()(JSON.stringify(n))}else if("/api/admin/login"!==t.url){t.data=t.data||{};var o=JSON.parse(JSON.stringify(t.data));for(var i in o){/^[0-9]+$/.test(o[i])&&(o[i]=Number(o[i])),null===o[i]&&(o[i]=""),"string"==typeof o[i]&&(t.data[i]=t.data[i].replace(/(^\s*)|(\s*$)/g,""),o[i]=o[i].replace(/(^\s*)|(\s*$)/g,"")),o[i]=s()(o[i].toString())}o.sing="singsingenglish21000",t.data.param_token=s()(JSON.stringify(o))}return t},function(t){return Promise.reject(t)}),i.a.interceptors.response.use(function(t){return 501===t.data.code&&f.a.push({name:"login"}),t},function(t){return Promise.reject(t)}),n.d(e,"_42",function(){return p}),n.d(e,"_43",function(){return h}),n.d(e,"X",function(){return m}),n.d(e,"L",function(){return g}),n.d(e,"a",function(){return y}),n.d(e,"u",function(){return v}),n.d(e,"T",function(){return _}),n.d(e,"_38",function(){return b}),n.d(e,"_37",function(){return w}),n.d(e,"_36",function(){return x}),n.d(e,"_35",function(){return S}),n.d(e,"n",function(){return C}),n.d(e,"V",function(){return A}),n.d(e,"F",function(){return E}),n.d(e,"_18",function(){return k}),n.d(e,"_19",function(){return R}),n.d(e,"R",function(){return P}),n.d(e,"I",function(){return O}),n.d(e,"j",function(){return F}),n.d(e,"_17",function(){return B}),n.d(e,"_16",function(){return U}),n.d(e,"i",function(){return I}),n.d(e,"Q",function(){return T}),n.d(e,"H",function(){return M}),n.d(e,"_53",function(){return j}),n.d(e,"J",function(){return D}),n.d(e,"_6",function(){return $}),n.d(e,"e",function(){return L}),n.d(e,"x",function(){return H}),n.d(e,"_52",function(){return N}),n.d(e,"_5",function(){return q}),n.d(e,"h",function(){return G}),n.d(e,"_15",function(){return z}),n.d(e,"P",function(){return X}),n.d(e,"A",function(){return W}),n.d(e,"_34",function(){return J}),n.d(e,"_33",function(){return V}),n.d(e,"E",function(){return Y}),n.d(e,"m",function(){return K}),n.d(e,"U",function(){return Z}),n.d(e,"_4",function(){return Q}),n.d(e,"_3",function(){return tt}),n.d(e,"c",function(){return et}),n.d(e,"w",function(){return nt}),n.d(e,"_2",function(){return rt}),n.d(e,"N",function(){return ot}),n.d(e,"_27",function(){return it}),n.d(e,"_49",function(){return at}),n.d(e,"_12",function(){return st}),n.d(e,"_47",function(){return ut}),n.d(e,"_54",function(){return ct}),n.d(e,"G",function(){return ft}),n.d(e,"_11",function(){return lt}),n.d(e,"_20",function(){return dt}),n.d(e,"_58",function(){return pt}),n.d(e,"_21",function(){return ht}),n.d(e,"_48",function(){return mt}),n.d(e,"_55",function(){return gt}),n.d(e,"B",function(){return yt}),n.d(e,"_32",function(){return vt}),n.d(e,"_50",function(){return _t}),n.d(e,"_57",function(){return bt}),n.d(e,"_31",function(){return wt}),n.d(e,"D",function(){return xt}),n.d(e,"_1",function(){return St}),n.d(e,"b",function(){return Ct}),n.d(e,"M",function(){return At}),n.d(e,"_0",function(){return Et}),n.d(e,"v",function(){return kt}),n.d(e,"_44",function(){return Rt}),n.d(e,"_24",function(){return Pt}),n.d(e,"W",function(){return Ot}),n.d(e,"_14",function(){return Ft}),n.d(e,"C",function(){return Bt}),n.d(e,"_8",function(){return Ut}),n.d(e,"_26",function(){return It}),n.d(e,"y",function(){return Tt}),n.d(e,"f",function(){return Mt}),n.d(e,"O",function(){return jt}),n.d(e,"_7",function(){return Dt}),n.d(e,"_10",function(){return $t}),n.d(e,"g",function(){return Lt}),n.d(e,"q",function(){return Ht}),n.d(e,"z",function(){return Nt}),n.d(e,"_23",function(){return qt}),n.d(e,"S",function(){return Gt}),n.d(e,"_46",function(){return zt}),n.d(e,"K",function(){return Xt}),n.d(e,"_60",function(){return Wt}),n.d(e,"_30",function(){return Jt}),n.d(e,"_40",function(){return Vt}),n.d(e,"d",function(){return Yt}),n.d(e,"l",function(){return Kt}),n.d(e,"Y",function(){return Zt}),n.d(e,"o",function(){return Qt}),n.d(e,"r",function(){return te}),n.d(e,"k",function(){return ee}),n.d(e,"s",function(){return ne}),n.d(e,"_25",function(){return re}),n.d(e,"_9",function(){return oe}),n.d(e,"_59",function(){return ie}),n.d(e,"_45",function(){return ae}),n.d(e,"p",function(){return se}),n.d(e,"t",function(){return ue}),n.d(e,"_29",function(){return ce}),n.d(e,"_39",function(){return fe}),n.d(e,"_22",function(){return le}),n.d(e,"_51",function(){return de}),n.d(e,"_41",function(){return pe}),n.d(e,"_13",function(){return he}),n.d(e,"_56",function(){return me}),n.d(e,"_28",function(){return ge}),n.d(e,"Z",function(){return ye});r.default.prototype.$post=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,r){i.a.post(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?f.a.push({name:"login"}):503===t.data.code||c.Message.error(t.data.msg)},function(t){r(t);var e="请求失败!请检查网络";t.response&&(e=t.response.data.message),Object(c.MessageBox)({title:"错误!",message:e,type:"error"})})})},r.default.prototype.$fetch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,r){i.a.get(t,{params:e}).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?f.a.push({name:"login"}):503===t.data.code||c.Message.error(t.data.msg)}).catch(function(t){r(t);var e="请求失败!请检查网络";t.response&&(e=t.response.data.message),Object(c.MessageBox)({title:"错误!",message:e,type:"error"})})})},r.default.prototype.$patch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,r){i.a.patch(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?f.a.push({name:"login"}):503===t.data.code||c.Message.error(t.data.msg)},function(t){r(t);var e="请求失败!请检查网络";t.response&&(e=t.response.data.message),Object(c.MessageBox)({title:"错误!",message:e,type:"error"})})})},r.default.prototype.$put=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,r){i.a.put(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?f.a.push({name:"login"}):503===t.data.code||c.Message.error(t.data.msg)},function(t){r(t);var e="请求失败!请检查网络";t.response&&(e=t.response.data.message),Object(c.MessageBox)({title:"错误!",message:e,type:"error"})})})},r.default.prototype.$del=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,r){i.a.delete(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?f.a.push({name:"login"}):503===t.data.code||c.Message.error(t.data.msg)},function(t){r(t);var e="请求失败!请检查网络";t.response&&(e=t.response.data.message),Object(c.MessageBox)({title:"错误!",message:e,type:"error"})})})},r.default.prototype.$upload=function(t,e){return new Promise(function(n,r){if("local"===e.type)i.a.get("/api/public/qiniu/token",{params:{file_name:e.file.name}}).then(function(t){var o={fname:e.file.name,mimeType:e.mimeType||null},i={next:function(t){if(u.a.state.progressList.find(function(t){return t.id===e.file.uid})){var n=Number(t.total.percent.toFixed(0));u.a.dispatch("setProgress",{type:"change",id:e.file.uid,num:n})}},error:function(t){r(t);var e="请求失败!请检查网络";t.response&&(e=t.response.data.message),Object(c.MessageBox)({title:"错误!",message:e,type:"error"})},complete:function(t){t.url=t.key,t.name=e.file.name,n(t)}};d.upload(e.file,t.data.data.new_name,t.data.data.token,o,{}).subscribe(i)});else{var o=parseInt(Number(e.file.size)/Number(10485760)+1),a=0;!function s(){var f=new FormData,l=e.file.slice(1024*a*1024*10,1024*(a+1)*1024*10);f.append("chunk",a),f.append("file_name",e.file.name),f.append("count",o),f.append("type",e.type),f.append("file",l),i.a.post(t,f,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(t){if(u.a.state.progressList.find(function(t){return t.id===e.file.uid})){var n=(Number(t.loaded)+Number(1024*a*1024*10))/Number(e.file.size)*100|0;u.a.dispatch("setProgress",{type:"change",id:e.file.uid,num:n})}}}).then(function(t){200===t.data.code?a+1=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){u.headers[t]={}}),r.forEach(["post","put","patch"],function(t){u.headers[t]=r.merge(i)}),t.exports=u}).call(e,n("W2nU"))},NC6I:function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__; /** * [js-md5]{@link https://github.com/emn178/js-md5} * * @namespace md5 * @version 0.7.3 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2014-2017 * @license MIT */ /** * [js-md5]{@link https://github.com/emn178/js-md5} * * @namespace md5 * @version 0.7.3 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2014-2017 * @license MIT */ !function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("nErl"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t){return function(e){return new Md5(!0).update(e)[t]()}},createMethod=function(){var t=createOutputMethod("hex");NODE_JS&&(t=nodeWrap(t)),t.create=function(){return new Md5},t.update=function(e){return t.create().update(e)};for(var e=0;e>2]|=t[i]<>6,u[o++]=128|63&r):r<55296||r>=57344?(u[o++]=224|r>>12,u[o++]=128|r>>6&63,u[o++]=128|63&r):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++i)),u[o++]=240|r>>18,u[o++]=128|r>>12&63,u[o++]=128|r>>6&63,u[o++]=128|63&r);else for(o=this.start;i>2]|=r<>2]|=(192|r>>6)<>2]|=(128|63&r)<=57344?(s[o>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>2]|=EXTRA[3&e],e>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,e,n,r,o,i,a=this.blocks;this.first?e=((e=((t=((t=a[0]-680876937)<<7|t>>>25)-271733879<<0)^(n=((n=(-271733879^(r=((r=(-1732584194^2004318071&t)+a[1]-117830708)<<12|r>>>20)+t<<0)&(-271733879^t))+a[2]-1126478375)<<17|n>>>15)+r<<0)&(r^t))+a[3]-1316259209)<<22|e>>>10)+n<<0:(t=this.h0,e=this.h1,n=this.h2,e=((e+=((t=((t+=((r=this.h3)^e&(n^r))+a[0]-680876936)<<7|t>>>25)+e<<0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+a[1]-389564586)<<12|r>>>20)+t<<0)&(t^e))+a[2]+606105819)<<17|n>>>15)+r<<0)&(r^t))+a[3]-1044525330)<<22|e>>>10)+n<<0),e=((e+=((t=((t+=(r^e&(n^r))+a[4]-176418897)<<7|t>>>25)+e<<0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+a[5]+1200080426)<<12|r>>>20)+t<<0)&(t^e))+a[6]-1473231341)<<17|n>>>15)+r<<0)&(r^t))+a[7]-45705983)<<22|e>>>10)+n<<0,e=((e+=((t=((t+=(r^e&(n^r))+a[8]+1770035416)<<7|t>>>25)+e<<0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+a[9]-1958414417)<<12|r>>>20)+t<<0)&(t^e))+a[10]-42063)<<17|n>>>15)+r<<0)&(r^t))+a[11]-1990404162)<<22|e>>>10)+n<<0,e=((e+=((t=((t+=(r^e&(n^r))+a[12]+1804603682)<<7|t>>>25)+e<<0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+a[13]-40341101)<<12|r>>>20)+t<<0)&(t^e))+a[14]-1502002290)<<17|n>>>15)+r<<0)&(r^t))+a[15]+1236535329)<<22|e>>>10)+n<<0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+a[1]-165796510)<<5|t>>>27)+e<<0)^e))+a[6]-1069501632)<<9|r>>>23)+t<<0)^t&((n=((n+=(t^e&(r^t))+a[11]+643717713)<<14|n>>>18)+r<<0)^r))+a[0]-373897302)<<20|e>>>12)+n<<0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+a[5]-701558691)<<5|t>>>27)+e<<0)^e))+a[10]+38016083)<<9|r>>>23)+t<<0)^t&((n=((n+=(t^e&(r^t))+a[15]-660478335)<<14|n>>>18)+r<<0)^r))+a[4]-405537848)<<20|e>>>12)+n<<0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+a[9]+568446438)<<5|t>>>27)+e<<0)^e))+a[14]-1019803690)<<9|r>>>23)+t<<0)^t&((n=((n+=(t^e&(r^t))+a[3]-187363961)<<14|n>>>18)+r<<0)^r))+a[8]+1163531501)<<20|e>>>12)+n<<0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+a[13]-1444681467)<<5|t>>>27)+e<<0)^e))+a[2]-51403784)<<9|r>>>23)+t<<0)^t&((n=((n+=(t^e&(r^t))+a[7]+1735328473)<<14|n>>>18)+r<<0)^r))+a[12]-1926607734)<<20|e>>>12)+n<<0,e=((e+=((i=(r=((r+=((o=e^n)^(t=((t+=(o^r)+a[5]-378558)<<4|t>>>28)+e<<0))+a[8]-2022574463)<<11|r>>>21)+t<<0)^t)^(n=((n+=(i^e)+a[11]+1839030562)<<16|n>>>16)+r<<0))+a[14]-35309556)<<23|e>>>9)+n<<0,e=((e+=((i=(r=((r+=((o=e^n)^(t=((t+=(o^r)+a[1]-1530992060)<<4|t>>>28)+e<<0))+a[4]+1272893353)<<11|r>>>21)+t<<0)^t)^(n=((n+=(i^e)+a[7]-155497632)<<16|n>>>16)+r<<0))+a[10]-1094730640)<<23|e>>>9)+n<<0,e=((e+=((i=(r=((r+=((o=e^n)^(t=((t+=(o^r)+a[13]+681279174)<<4|t>>>28)+e<<0))+a[0]-358537222)<<11|r>>>21)+t<<0)^t)^(n=((n+=(i^e)+a[3]-722521979)<<16|n>>>16)+r<<0))+a[6]+76029189)<<23|e>>>9)+n<<0,e=((e+=((i=(r=((r+=((o=e^n)^(t=((t+=(o^r)+a[9]-640364487)<<4|t>>>28)+e<<0))+a[12]-421815835)<<11|r>>>21)+t<<0)^t)^(n=((n+=(i^e)+a[15]+530742520)<<16|n>>>16)+r<<0))+a[2]-995338651)<<23|e>>>9)+n<<0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+a[0]-198630844)<<6|t>>>26)+e<<0)|~n))+a[7]+1126891415)<<10|r>>>22)+t<<0)^((n=((n+=(t^(r|~e))+a[14]-1416354905)<<15|n>>>17)+r<<0)|~t))+a[5]-57434055)<<21|e>>>11)+n<<0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+a[12]+1700485571)<<6|t>>>26)+e<<0)|~n))+a[3]-1894986606)<<10|r>>>22)+t<<0)^((n=((n+=(t^(r|~e))+a[10]-1051523)<<15|n>>>17)+r<<0)|~t))+a[1]-2054922799)<<21|e>>>11)+n<<0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+a[8]+1873313359)<<6|t>>>26)+e<<0)|~n))+a[15]-30611744)<<10|r>>>22)+t<<0)^((n=((n+=(t^(r|~e))+a[6]-1560198380)<<15|n>>>17)+r<<0)|~t))+a[13]+1309151649)<<21|e>>>11)+n<<0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+a[4]-145523070)<<6|t>>>26)+e<<0)|~n))+a[11]-1120210379)<<10|r>>>22)+t<<0)^((n=((n+=(t^(r|~e))+a[2]+718787259)<<15|n>>>17)+r<<0)|~t))+a[9]-343485551)<<21|e>>>11)+n<<0,this.first?(this.h0=t+1732584193<<0,this.h1=e-271733879<<0,this.h2=n-1732584194<<0,this.h3=r+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+e<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,e,n,r="",o=this.array(),i=0;i<15;)t=o[i++],e=o[i++],n=o[i++],r+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[63&(t<<4|e>>>4)]+BASE64_ENCODE_CHAR[63&(e<<2|n>>>6)]+BASE64_ENCODE_CHAR[63&n];return t=o[i],r+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"=="};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()}).call(exports,__webpack_require__("W2nU"),__webpack_require__("DuR2"))},Re3r:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)} /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},TNV1:function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},W2nU:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],f=!1,l=-1;function d(){f&&u&&(f=!1,u.length?c=u.concat(c):l=-1,c.length&&p())}function p(){if(!f){var t=s(d);f=!0;for(var e=c.length;e;){for(u=c,c=[];++l1)for(var n=1;ne},e.getChunks=function(t,e){for(var n=[],r=Math.ceil(t.size/e),o=0;o-1},e.createObjectURL=function(t){return(window.URL||window.webkitURL||window.mozURL).createObjectURL(t)},e.getTransform=function(t,e){var n=t.width,r=t.height;switch(e){case 1:return{width:n,height:r,matrix:[1,0,0,1,0,0]};case 2:return{width:n,height:r,matrix:[-1,0,0,1,n,0]};case 3:return{width:n,height:r,matrix:[-1,0,0,-1,n,r]};case 4:return{width:n,height:r,matrix:[1,0,0,-1,0,r]};case 5:return{width:r,height:n,matrix:[0,1,1,0,0,0]};case 6:return{width:r,height:n,matrix:[0,1,-1,0,r,0]};case 7:return{width:r,height:n,matrix:[0,-1,-1,0,r,n]};case 8:return{width:r,height:n,matrix:[0,-1,1,0,0,n]}}};var m=n(56),g=n(39),y=r(n(91))},function(t,e){t.exports=!0},function(t,e){t.exports={}},function(t,e,n){var r=n(46),o=n(31);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){t.exports={default:n(59),__esModule:!0}},function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(6).f,o=n(9),i=n(2)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(7),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(30)("keys"),o=n(22);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(1),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(13)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(26);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(20);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){t.exports={default:n(83),__esModule:!0}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){t.exports={default:n(88),__esModule:!0}},function(t,e,n){e.f=n(2)},function(t,e,n){var r=n(0),o=n(1),i=n(13),a=n(37),s=n(6).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){"use strict";e.__esModule=!0,e.regionUphostMap={z0:{srcUphost:"up.qiniup.com",cdnUphost:"upload.qiniup.com"},z1:{srcUphost:"up-z1.qiniup.com",cdnUphost:"upload-z1.qiniup.com"},z2:{srcUphost:"up-z2.qiniup.com",cdnUphost:"upload-z2.qiniup.com"},na0:{srcUphost:"up-na0.qiniup.com",cdnUphost:"upload-na0.qiniup.com"},as0:{srcUphost:"up-as0.qiniup.com",cdnUphost:"upload-as0.qiniup.com"}},e.region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0"}},function(t,e){},function(t,e,n){"use strict";var r=n(60)(!0);n(42)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(13),o=n(4),i=n(44),a=n(5),s=n(14),u=n(61),c=n(23),f=n(65),l=n(2)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,m,g,y){u(n,e,h);var v,_,b,w=function(t){if(!d&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==m,C=!1,A=t.prototype,E=A[l]||A["@@iterator"]||m&&A[m],k=E||w(m),R=m?S?w("entries"):k:void 0,P="Array"==e&&A.entries||E;if(P&&(b=f(P.call(new t)))!==Object.prototype&&b.next&&(c(b,x,!0),r||"function"==typeof b[l]||a(b,l,p)),S&&E&&"values"!==E.name&&(C=!0,k=function(){return E.call(this)}),r&&!y||!d&&!C&&A[l]||a(A,l,k),s[e]=k,s[x]=p,m)if(v={values:S?k:w("values"),keys:g?k:w("keys"),entries:R},y)for(_ in v)_ in A||i(A,_,v[_]);else o(o.P+o.F*(d||C),e,v);return v}},function(t,e,n){t.exports=!n(8)&&!n(10)(function(){return 7!=Object.defineProperty(n(27)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=n(5)},function(t,e,n){var r=n(3),o=n(62),i=n(31),a=n(29)("IE_PROTO"),s=function(){},u=function(){var t,e=n(27)("iframe"),r=i.length;for(e.style.display="none",n(49).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("