From e5e4c83149ad2fa469ef19bc6f2238c38a12c13e Mon Sep 17 00:00:00 2001 From: chenximo <37072197+chenximo@users.noreply.github.com> Date: Fri, 3 Jul 2020 18:48:37 +0800 Subject: [PATCH] Web: Demo: Update dist (#780) * Web: Demo: Update * Web: Demo: Update dist Co-authored-by: lindalli --- H5/dist/js/app.258da725.js | 1 + H5/dist/js/chunk-vendors.6f76ac5d.js | 13 +++++++++++++ .../conversationProfile/group-profile.vue | 16 +++++++++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 H5/dist/js/app.258da725.js create mode 100644 H5/dist/js/chunk-vendors.6f76ac5d.js diff --git a/H5/dist/js/app.258da725.js b/H5/dist/js/app.258da725.js new file mode 100644 index 00000000000..908ec88a6c0 --- /dev/null +++ b/H5/dist/js/app.258da725.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var n,o,a=t[0],c=t[1],u=t[2],m=0,p=[];m=this.memberList.length||(this.atUserID=this.memberList[t+1].userID)},handleEnter:function(){this.showAtGroupMember?this.handleSelectAtUser():this.sendTextMessage()},handleLine:function(){this.messageContent+="\n"},handlePaste:function(e){var t,s=this,n=e.clipboardData;if(n&&n.files&&n.files.length>0&&(t=n.files[0]),"undefined"!==typeof t){var i=this.tim.createImageMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{file:t},onProgress:function(e){s.$set(i,"progress",e)}});this.$store.commit("pushCurrentMessageList",i);var r=this.tim.sendMessage(i);r.catch((function(e){s.$store.commit("showMessage",{type:"error",message:e.message})}))}},dropHandler:function(e){var t=this;e.preventDefault();var s=e.dataTransfer.files[0],n={};n="video/mp4"===s.type?this.tim.createVideoMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{file:s},onProgress:function(e){t.$set(n,"progress",e)}}):this.tim.createFileMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{file:s},onProgress:function(e){t.$set(n,"progress",e)}}),this.$store.commit("pushCurrentMessageList",n),this.tim.sendMessage(n).then((function(){t.$refs.videoPicker.value=null})).catch((function(e){t.$store.commit("showMessage",{message:e.message,type:"error"})}))},sendTextMessage:function(){var e=this;if(""===this.messageContent||0===this.messageContent.trim().length)return this.messageContent="",void this.$store.commit("showMessage",{message:"不能发送空消息哦!",type:"info"});var t=this.tim.createTextMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{text:this.messageContent}});this.$store.commit("pushCurrentMessageList",t),this.$bus.$emit("scroll-bottom"),this.tim.sendMessage(t).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})})),this.messageContent=""},sendCustomMessage:function(){var e=this;if(0!==this.form.data.length||0!==this.form.description.length||0!==this.form.extension.length){var t=this.tim.createCustomMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{data:this.form.data,description:this.form.description,extension:this.form.extension}});this.$store.commit("pushCurrentMessageList",t),this.tim.sendMessage(t).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})})),Object.assign(this.form,{data:"",description:"",extension:""}),this.sendCustomDialogVisible=!1}else this.$store.commit("showMessage",{message:"不能发送空消息",type:"info"})},random:function(e,t){return Math.floor(Math.random()*(t-e+1)+e)},sendSurvey:function(){var e=this,t=this.tim.createCustomMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{data:"survey",description:String(this.rate),extension:this.suggestion}});this.$store.commit("pushCurrentMessageList",t),Object.assign(this.form,{data:"",description:"",extension:""}),this.tim.sendMessage(t).then((function(){Object.assign(e,{rate:5,suggestion:""})})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})})),this.surveyDialogVisible=!1},chooseEmoji:function(e){this.messageContent+=e},handleSendImageClick:function(){this.$refs.imagePicker.click()},handleSendFileClick:function(){this.$refs.filePicker.click()},handleSendVideoClick:function(){this.$refs.videoPicker.click()},videoCall:function(){this.$bus.$emit("video-call")},sendImage:function(){var e=this,t=this.tim.createImageMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{file:document.getElementById("imagePicker")},onProgress:function(s){e.$set(t,"progress",s)}});this.$store.commit("pushCurrentMessageList",t),this.tim.sendMessage(t).then((function(){e.$refs.imagePicker.value=null})).catch((function(t){e.$store.commit("showMessage",{message:t.message,type:"error"})}))},sendFile:function(){var e=this,t=this.tim.createFileMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{file:document.getElementById("filePicker")},onProgress:function(s){e.$set(t,"progress",s)}});this.$store.commit("pushCurrentMessageList",t),this.tim.sendMessage(t).then((function(){e.$refs.filePicker.value=null})).catch((function(t){e.$store.commit("showMessage",{message:t.message,type:"error"})}))},sendVideo:function(){var e=this,t=this.tim.createVideoMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{file:document.getElementById("videoPicker")},onProgress:function(s){e.$set(t,"progress",s)}});this.$store.commit("pushCurrentMessageList",t),this.tim.sendMessage(t).then((function(){e.$refs.videoPicker.value=null})).catch((function(t){e.$store.commit("showMessage",{message:t.message,type:"error"})}))}}},ue=ce,le=(s("a864"),Object(D["a"])(ue,V,B,!1,null,"c80a5cfe",null)),me=le.exports,pe=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"message-wrapper",class:e.messagePosition},[e.currentConversationType===e.TIM.TYPES.CONV_C2C?s("div",{staticClass:"c2c-layout",class:e.messagePosition},[e.showAvatar?s("div",{staticClass:"col-1"},[s("avatar",{attrs:{src:e.avatar}})],1):e._e(),s("div",{staticClass:"col-2"},[s("div",{staticClass:"content-wrapper"},[e.isMine?s("message-status-icon",{attrs:{message:e.message}}):e._e(),e.message.type===e.TIM.TYPES.MSG_TEXT?s("text-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_IMAGE?s("image-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_FILE?s("file-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_SOUND?s("sound-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_GRP_TIP?s("group-tip-element",{attrs:{payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_GRP_SYS_NOTICE?s("group-system-notice-element",{attrs:{payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_CUSTOM?s("custom-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_FACE?s("face-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_VIDEO?s("video-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_GEO?s("geo-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):s("span",[e._v("暂未支持的消息类型:"+e._s(e.message.type))])],1),e.showMessageHeader?s("message-footer",{attrs:{message:e.message}}):e._e()],1),s("div",{staticClass:"col-3"})]):e._e(),e.currentConversationType===e.TIM.TYPES.CONV_GROUP?s("div",{staticClass:"group-layout",class:e.messagePosition},[e.showAvatar?s("div",{staticClass:"col-1"},[s("avatar",{staticClass:"group-member-avatar",attrs:{src:e.avatar},nativeOn:{click:function(t){return e.showGroupMemberProfile(t)}}})],1):e._e(),s("div",{staticClass:"col-2"},[e.showMessageHeader?s("message-header",{attrs:{message:e.message}}):e._e(),s("div",{staticClass:"content-wrapper"},[e.isMine?s("message-status-icon",{attrs:{message:e.message}}):e._e(),e.message.type===e.TIM.TYPES.MSG_TEXT?s("text-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_IMAGE?s("image-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_FILE?s("file-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_SOUND?s("sound-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_GRP_TIP?s("group-tip-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_CUSTOM?s("custom-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_FACE?s("face-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_VIDEO?s("video-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):e.message.type===e.TIM.TYPES.MSG_GEO?s("geo-element",{attrs:{isMine:e.isMine,payload:e.message.payload,message:e.message}}):s("span",[e._v("暂未支持的消息类型:"+e._s(e.message.type))])],1)],1),s("div",{staticClass:"col-3"})]):e._e(),e.currentConversationType===e.TIM.TYPES.CONV_SYSTEM?s("div",{staticClass:"system-layout"},[s("div",{staticClass:"col-1"},[s("avatar",{attrs:{src:e.avatar,type:e.currentConversationType}})],1),s("div",{staticClass:"col-2"},[s("message-header",{attrs:{message:e.message}}),s("group-system-notice-element",{attrs:{payload:e.message.payload,message:e.message}})],1)]):e._e()])},de=[],fe=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:e.messageIconClass,staticStyle:{width:"16px",height:"16px"},on:{click:e.handleIconClick}},[e._v(e._s("message-send-fail"===e.messageIconClass?"!":""))])},he=[],ge={name:"MessageStatusIcon",props:{message:{type:Object,required:!0}},computed:{messageIconClass:function(){switch(this.message.status){case"unSend":return"el-icon-loading";case"fail":return"message-send-fail";default:return""}}},methods:{handleIconClick:function(){var e=this;"message-send-fail"===this.messageIconClass&&this.tim.resendMessage(this.message).catch((function(t){e.$store.commit("showMessage",{message:t.message,type:"error"})}))}}},ve=ge,be=(s("a86b"),Object(D["a"])(ve,fe,he,!1,null,"97210bde",null)),ye=be.exports,Ce=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"base",class:[e.isMine?"right":"left"]},[s("div",{staticClass:"name text-ellipsis"},[e._v(e._s(e.from))]),s("div",{staticClass:"date"},[e._v(e._s(e.date))])])},Oe=[];function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",s=e.getFullYear(),n=e.getMonth()+1,i=e.getDate();return"".concat(s).concat(t).concat(Pe(n)).concat(t).concat(Pe(i))}function we(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=e.getHours(),n=e.getMinutes(),i=e.getSeconds();return t?"".concat(Pe(s),":").concat(Pe(n),":").concat(Pe(i)):"".concat(s,":").concat(Pe(n))}function Ie(e){return"".concat(_e(e)," ").concat(we(e))}function Me(e){return e.toDateString()===(new Date).toDateString()}function Pe(e){return e<10?"0".concat(e):e}function je(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function Ee(e){for(var t=1;t120?this.isTimeout=!0:setTimeout(this.isTimeoutHandler,1e3)},reEdit:function(){this.$bus.$emit("reEditMessage",this.message.payload.text)}}},ze=Ke,Je=(s("1756"),Object(D["a"])(ze,He,qe,!1,null,"6d29d32e",null)),Ze=Je.exports,We={name:"FileElement",props:{payload:{type:Object,required:!0},message:{type:Object,required:!0},isMine:{type:Boolean}},components:{MessageBubble:Ze,ElProgress:Fe.a},computed:{fileName:function(){return this.payload.fileName},fileUrl:function(){return this.payload.fileUrl},size:function(){var e=this.payload.fileSize;return e>1024?e/1024>1024?"".concat(this.toFixed(e/1024/1024)," Mb"):"".concat(this.toFixed(e/1024)," Kb"):"".concat(this.toFixed(e),"B")},showProgressBar:function(){return"unSend"===this.$parent.message.status},percentage:function(){return Math.floor(100*(this.$parent.message.progress||0))}},methods:{toFixed:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e.toFixed(t)},downloadFile:function(){var e=this;if(window.fetch)fetch(this.fileUrl).then((function(e){return e.blob()})).then((function(t){var s=document.createElement("a"),n=window.URL.createObjectURL(t);s.href=n,s.download=e.fileName,s.click()}));else{var t=document.createElement("a");t.href=this.fileUrl,t.target="_blank",t.download=this.filename,t.click()}}}},Qe=We,Xe=(s("4d06"),Object(D["a"])(Qe,Ve,Be,!1,null,"96091f5a",null)),et=Xe.exports,tt=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("message-bubble",{attrs:{isMine:e.isMine,message:e.message}},[s("div",{staticClass:"face-element-wrapper"},[s("img",{attrs:{src:e.url}})])])},st=[],nt={name:"FaceElement",props:{payload:{type:Object,required:!0},message:{type:Object,required:!0},isMine:{type:Boolean}},components:{MessageBubble:Ze},computed:{url:function(){var e="";return e=this.payload.data.indexOf("@2x")>0?this.payload.data:this.payload.data+"@2x","https://imgcache.qq.com/open/qcloud/tim/assets/face-elem/".concat(e,".png")}}},it=nt,rt=(s("ce0c"),Object(D["a"])(it,tt,st,!1,null,"0ef044da",null)),ot=rt.exports,at=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("message-bubble",{attrs:{isMine:e.isMine,message:e.message}},[s("img",{staticClass:"image-element",attrs:{src:e.imageUrl},on:{load:e.onImageLoaded,click:e.handlePreview}}),e.showProgressBar?s("el-progress",{attrs:{percentage:e.percentage,color:function(e){return 100===e?"#67c23a":"#409eff"}}}):e._e()],1)},ct=[];function ut(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function lt(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,a=!1;return{s:function(){s=e[Symbol.iterator]()},n:function(){var e=s.next();return o=e.done,e},e:function(e){a=!0,r=e},f:function(){try{o||null==s.return||s.return()}finally{if(a)throw r}}}}function Nt(e,t){if(e){if("string"===typeof e)return Gt(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Gt(e,t):void 0}}function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=new Array(t);s0?"群成员:".concat(i.userID,"被禁言").concat(i.muteTime,"秒"):"群成员:".concat(i.userID,"被取消禁言")}}catch(r){n.e(r)}finally{n.f()}break;default:return"[群提示消息]"}}}},$t=Ut,Vt=(s("9668"),Object(D["a"])($t,At,Lt,!1,null,"746f4cdc",null)),Bt=Vt.exports,Yt=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("message-bubble",{attrs:{isMine:!1,message:e.message}},[s("div",{staticClass:"group-system-element-wrapper"},[e._v("\n "+e._s(e.text)+"\n "),e.isJoinGroupRequest?s("el-button",{attrs:{type:"text"},on:{click:function(t){e.showDialog=!0}}},[e._v("处理")]):e._e(),s("el-dialog",{attrs:{title:"处理加群申请",visible:e.showDialog,width:"30%"},on:{"update:visible":function(t){e.showDialog=t}}},[s("el-form",{ref:"form",attrs:{"label-width":"100px"},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[s("el-form-item",{attrs:{label:"处理结果:"}},[s("el-radio-group",{model:{value:e.form.handleAction,callback:function(t){e.$set(e.form,"handleAction",t)},expression:"form.handleAction"}},[s("el-radio",{attrs:{label:"Agree"}},[e._v("同意")]),s("el-radio",{attrs:{label:"Reject"}},[e._v("拒绝")])],1)],1),s("el-form-item",{attrs:{label:"附言:"}},[s("el-input",{attrs:{type:"textarea",resize:"none",rows:3,placeholder:"请输入附言"},model:{value:e.form.handleMessage,callback:function(t){e.$set(e.form,"handleMessage",t)},expression:"form.handleMessage"}})],1)],1),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.showDialog=!1}}},[e._v("取 消")]),s("el-button",{attrs:{type:"primary"},on:{click:e.handleGroupApplication}},[e._v("确 定")])],1)],1)],1)])},Ft=[];function Ht(e){var t=e.payload.groupProfile.name||e.payload.groupProfile.groupID;switch(e.payload.operationType){case 1:return"".concat(e.payload.operatorID," 申请加入群组:").concat(t);case 2:return"成功加入群组:".concat(t);case 3:return"申请加入群组:".concat(t,"被拒绝");case 4:return"你被管理员".concat(e.payload.operatorID,"踢出群组:").concat(t);case 5:return"群:".concat(t," 已被").concat(e.payload.operatorID,"解散");case 6:return"".concat(e.payload.operatorID,"创建群:").concat(t);case 7:return"".concat(e.payload.operatorID,"邀请你加群:").concat(t);case 8:return"你退出群组:".concat(t);case 9:return"你被".concat(e.payload.operatorID,"设置为群:").concat(t,"的管理员");case 10:return"你被".concat(e.payload.operatorID,"撤销群:").concat(t,"的管理员身份");case 255:return"自定义群系统通知: "+e.payload.userDefinedField}}var qt={name:"GroupSystemNoticeElement",props:{payload:{type:Object,required:!0},message:{type:Object,required:!1}},components:{ElDialog:l.a,ElForm:se.a,ElFormItem:ee.a,ElRadioGroup:Z.a,ElRadio:z.a,MessageBubble:Ze},data:function(){return{showDialog:!1,form:{handleAction:"Agree",handleMessage:""}}},computed:{text:function(){return Ht(this.message)},title:function(){return this.message.type===this.TIM.TYPES.MSG_GRP_SYS_NOTICE?"群系统通知":"系统通知"},isJoinGroupRequest:function(){return 1===this.payload.operationType}},methods:{handleGroupApplication:function(){var e=this;this.tim.handleGroupApplication({handleAction:this.form.handleAction,handleMessage:this.form.handleMessage,message:this.message}).then((function(){e.showDialog=!1,e.$store.commit("removeMessage",e.message)})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message}),e.showDialog=!1}))}}},Kt=qt,zt=(s("4011"),Object(D["a"])(Kt,Yt,Ft,!1,null,"8a49ee1a",null)),Jt=zt.exports,Zt=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("message-bubble",{attrs:{isMine:e.isMine,message:e.message}},[s("div",{staticClass:"custom-element-wrapper"},["survey"===this.payload.data?s("div",{staticClass:"survey"},[s("div",{staticClass:"title"},[e._v("对IM DEMO的评分和建议")]),s("el-rate",{attrs:{disabled:"","show-score":"","text-color":"#ff9900","score-template":"{value}"},model:{value:e.rate,callback:function(t){e.rate=t},expression:"rate"}}),s("div",{staticClass:"suggestion"},[e._v(e._s(this.payload.extension))])],1):s("span",{staticClass:"text",attrs:{title:"您可以自行解析自定义消息"}},[e._v(e._s(e.text))])])])},Wt=[],Qt={VIDEO_CALL_ACTION_ERROR:-2,VIDEO_CALL_ACTION_UNKNOWN:-1,VIDEO_CALL_ACTION_DIALING:0,VIDEO_CALL_ACTION_SPONSOR_CANCEL:1,VIDEO_CALL_ACTION_REJECT:2,VIDEO_CALL_ACTION_SPONSOR_TIMEOUT:3,VIDEO_CALL_ACTION_ACCEPTED:4,VIDEO_CALL_ACTION_HANGUP:5,VIDEO_CALL_ACTION_LINE_BUSY:6},Xt=3;function es(e){return e<10?"0".concat(e):e}function ts(e){if(e<60)return"00:00:".concat(es(e));if(e<3600){var t=parseInt(e/60),s=e-60*t;return"00:".concat(es(t),":").concat(es(s))}var n=parseInt(e/3600),i=e-3600*n,r=parseInt(i/60),o=i-60*r;return"".concat(es(n),":").concat(es(r),":").concat(es(o))}var ss={name:"CustomElement",props:{payload:{type:Object,required:!0},message:{type:Object,required:!0},isMine:{type:Boolean}},components:{MessageBubble:Ze,ElRate:F.a},computed:{text:function(){return this.translateCustomMessage(this.payload)},rate:function(){return parseInt(this.payload.description)}},methods:{translateCustomMessage:function(e){var t={};try{t=JSON.parse(e.data)}catch(s){t={}}if("group_create"===e.data)return"".concat(e.extension);switch(t.action){case Qt.VIDEO_CALL_ACTION_DIALING:return"[请求通话]";case Qt.VIDEO_CALL_ACTION_SPONSOR_CANCEL:return"[取消通话]";case Qt.VIDEO_CALL_ACTION_REJECT:return"[拒绝通话]";case Qt.VIDEO_CALL_ACTION_SPONSOR_TIMEOUT:return"[无应答]";case Qt.VIDEO_CALL_ACTION_ACCEPTED:return"[开始通话]";case Qt.VIDEO_CALL_ACTION_HANGUP:return"[结束通话,通话时长:".concat(ts(t.duration),"]");case Qt.VIDEO_CALL_ACTION_LINE_BUSY:return"[正在通话中]";case Qt.VIDEO_CALL_ACTION_ERROR:return"[设备异常]";default:return"[自定义消息]"}}}},ns=ss,is=(s("014d"),Object(D["a"])(ns,Zt,Wt,!1,null,"5b9b8f35",null)),rs=is.exports,os=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("message-bubble",{attrs:{isMine:e.isMine,message:e.message}},[s("a",{staticClass:"geo-element",attrs:{href:e.href,target:"_blank",title:"点击查看详情"}},[s("span",{staticClass:"el-icon-location-outline"},[e._v(e._s(e.payload.description))]),s("img",{attrs:{src:e.url}})])])},as=[],cs={name:"GeoElement",components:{MessageBubble:Ze},props:{payload:{type:Object,required:!0},message:{type:Object,required:!0},isMine:{type:Boolean}},data:function(){return{url:""}},computed:{lon:function(){return this.payload.longitude.toFixed(6)},lat:function(){return this.payload.latitude.toFixed(6)},href:function(){return"https://map.qq.com/?type=marker&isopeninfowin=1&markertype=1&pointx=".concat(this.lon,"&pointy=").concat(this.lat,"&name=").concat(this.payload.description)}},mounted:function(){this.url="https://apis.map.qq.com/ws/staticmap/v2/?center=".concat(this.lat,",").concat(this.lon,"&zoom=10&size=300*150&maptype=roadmap&markers=size:large|color:0xFFCCFF|label:k|").concat(this.lat,",").concat(this.lon,"&key=UBNBZ-PTP3P-TE7DB-LHRTI-Y4YLE-VWBBD")}},us=cs,ls=(s("daca"),Object(D["a"])(us,os,as,!1,null,"58085edc",null)),ms=ls.exports;function ps(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function ds(e){for(var t=1;t0&&(e.$store.commit("showMessage",{message:"群成员:".concat(i.join(","),",加群成功"),type:"success"}),e.tim.getGroupMemberProfile({groupID:t,userIDList:i}).then((function(t){var s=t.data.memberList;e.$store.commit("updateCurrentMemberList",s)}))),r.length>0&&e.$store.commit("showMessage",{message:"群成员:".concat(r.join(","),",添加失败!"),type:"error"}),o.length>0&&e.$store.commit("showMessage",{message:"群成员:".concat(o.join(","),",已在群中")})})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))}}},Ls=As,Rs=Object(D["a"])(Ls,Ds,ks,!1,null,"5d05f520",null),Ns=Rs.exports,Gs=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",[s("span",{staticClass:"label"},[e._v("userID:")]),e._v("\n "+e._s(e.member.userID)+"\n "),e.showCancelBan?s("el-button",{attrs:{type:"text"},on:{click:e.cancelMute}},[e._v("取消禁言")]):e._e(),s("el-popover",{directives:[{name:"show",rawName:"v-show",value:e.showBan,expression:"showBan"}],attrs:{title:"禁言"},model:{value:e.popoverVisible,callback:function(t){e.popoverVisible=t},expression:"popoverVisible"}},[s("el-input",{attrs:{placeholder:"请输入禁言时间"},nativeOn:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.setGroupMemberMuteTime(t)}},model:{value:e.muteTime,callback:function(t){e.muteTime=t},expression:"muteTime"}}),s("el-button",{staticStyle:{color:"red"},attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("禁言")])],1)],1),s("div",[s("span",{staticClass:"label"},[e._v("nick:")]),e._v("\n "+e._s(e.member.nick||"暂无")+"\n ")]),s("div",[s("span",{staticClass:"label"},[e._v("nameCard:")]),e._v("\n "+e._s(e.member.nameCard||"暂无")+"\n "),s("el-popover",{directives:[{name:"show",rawName:"v-show",value:e.showEditNameCard,expression:"showEditNameCard"}],attrs:{title:"修改群名片"},model:{value:e.nameCardPopoverVisible,callback:function(t){e.nameCardPopoverVisible=t},expression:"nameCardPopoverVisible"}},[s("el-input",{attrs:{placeholder:"请输入群名片"},nativeOn:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.setGroupMemberNameCard(t)}},model:{value:e.nameCard,callback:function(t){e.nameCard=t},expression:"nameCard"}}),s("i",{staticClass:"el-icon-edit",staticStyle:{cursor:"pointer","font-size":"1.6rem"},attrs:{slot:"reference",title:"修改群名片"},slot:"reference"})],1)],1),s("div",[s("span",{staticClass:"label"},[e._v("role:")]),s("span",{staticClass:"content role",attrs:{title:e.changeRoleTitle}},[e._v(e._s(e.member.role))])]),e.showMuteUntil?s("div",[s("span",{staticClass:"label"},[e._v("禁言至:")]),s("span",{staticClass:"content"},[e._v(e._s(e.muteUntil))])]):e._e(),e.canChangeRole?s("el-button",{attrs:{type:"text"},on:{click:e.changeMemberRole}},[e._v("\n "+e._s("Admin"===e.member.role?"取消管理员":"设为管理员")+"\n ")]):e._e(),e.showKickout?s("el-button",{staticStyle:{color:"red"},attrs:{type:"text"},on:{click:e.kickoutGroupMember}},[e._v("踢出群组")]):e._e()],1)},Us=[];s("c5f6");function $s(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function Vs(e){for(var t=1;tthis.current},showCancelBan:function(){return!(!this.showMuteUntil||this.currentConversation.type!==this.TIM.TYPES.CONV_GROUP||this.isMine)&&(this.isOwner||this.isAdmin)},showBan:function(){return this.currentConversation.type===this.TIM.TYPES.CONV_GROUP&&(this.isOwner||this.isAdmin)},showEditNameCard:function(){return this.isOwner||this.isAdmin},muteUntil:function(){return Ie(new Date(1e3*this.member.muteUntil))}}),methods:{kickoutGroupMember:function(){var e=this;this.tim.deleteGroupMember({groupID:this.currentConversation.groupProfile.groupID,reason:"我要踢你出群",userIDList:[this.member.userID]}).then((function(){e.$store.commit("deleteGroupMemeber",e.member.userID)})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))},changeMemberRole:function(){var e=this;if(this.canChangeRole){var t=this.member.role;this.tim.setGroupMemberRole({groupID:this.currentConversation.groupProfile.groupID,userID:this.member.userID,role:"Admin"===t?"Member":"Admin"}).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))}},setGroupMemberMuteTime:function(){var e=this;this.tim.setGroupMemberMuteTime({groupID:this.currentConversation.groupProfile.groupID,userID:this.member.userID,muteTime:Number(this.muteTime)}).then((function(){e.muteTime="",e.popoverVisible=!1})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))},cancelMute:function(){var e=this;this.tim.setGroupMemberMuteTime({groupID:this.currentConversation.groupProfile.groupID,userID:this.member.userID,muteTime:0}).then((function(){e.muteTime=""})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))},setGroupMemberNameCard:function(){var e=this;0!==this.nameCard.trim().length?this.tim.setGroupMemberNameCard({groupID:this.currentConversation.groupProfile.groupID,userID:this.member.userID,nameCard:this.nameCard}).then((function(){e.nameCardPopoverVisible=!1,e.$store.commit("showMessage",{message:"修改成功"})})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})})):this.$store.commit("showMessage",{message:"不能设置空的群名片",type:"warning"})}}},Ys=Bs,Fs=(s("8656"),Object(D["a"])(Ys,Gs,Us,!1,null,"41650a64",null)),Hs=Fs.exports;function qs(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function Ks(e){for(var t=1;t=0},gender:function(){switch(this.userProfile.gender){case this.TIM.TYPES.GENDER_MALE:return"男";case this.TIM.TYPES.GENDER_FEMALE:return"女";default:return"未设置"}},genderClass:function(){switch(this.userProfile.gender){case this.TIM.TYPES.GENDER_MALE:return"icon-male";case this.TIM.TYPES.GENDER_FEMALE:return"icon-female";default:return""}}}),methods:{addToBlackList:function(){var e=this;this.tim.addToBlacklist({userIDList:[this.userProfile.userID]}).then((function(){e.$store.dispatch("getBlacklist")})).catch((function(t){e.$store.commit("showMessage",{message:t.message,type:"error"})}))},removeFromBlacklist:function(){var e=this;this.tim.removeFromBlacklist({userIDList:[this.userProfile.userID]}).then((function(){e.$store.commit("removeFromBlacklist",e.userProfile.userID)})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))}}},cn=an,un=(s("873f"),Object(D["a"])(cn,sn,nn,!1,null,"f157254a",null)),ln=un.exports;function mn(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function pn(e){for(var t=1;t0&&this.tim.setMessageRead({conversationID:this.currentConversation.conversationID})},hidden:function(e){!e&&this.currentUnreadCount>0&&this.tim.setMessageRead({conversationID:this.currentConversation.conversationID})}},methods:{onScroll:function(e){var t=e.target.scrollTop,s=this.$refs["message-list"];s&&this.preScrollHeight-s.clientHeight-t<20&&(this.isShowScrollButtomTips=!1)},keepMessageListOnButtom:function(){var e=this.$refs["message-list"];e&&(this.preScrollHeight-e.clientHeight-e.scrollTop<20?(this.$nextTick((function(){e.scrollTop=e.scrollHeight})),this.isShowScrollButtomTips=!1):this.isShowScrollButtomTips=!0,this.preScrollHeight=e.scrollHeight)},scrollMessageListToButtom:function(){var e=this;this.$nextTick((function(){var t=e.$refs["message-list"];t&&(t.scrollTop=t.scrollHeight,e.preScrollHeight=t.scrollHeight,e.isShowScrollButtomTips=!1)}))},showMore:function(){this.showConversationProfile=!this.showConversationProfile},onImageLoaded:function(){this.keepMessageListOnButtom()}}},En=jn,Tn=(s("9bf1"),Object(D["a"])(En,U,$,!1,null,"e9646ef0",null)),Dn=Tn.exports,kn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"side-bar-wrapper"},[s("div",{staticClass:"bar-left"},[s("my-profile"),s("div",{staticClass:"tab-items",on:{click:e.handleClick}},[s("div",{staticClass:"iconfont icon-conversation",class:{active:e.showConversationList},attrs:{id:"conversation-list",title:"会话列表"}},[0!==e.totalUnreadCount?s("sup",{staticClass:"unread"},[e.totalUnreadCount>99?[e._v("99+")]:[e._v(e._s(e.totalUnreadCount))]],2):e._e()]),s("div",{staticClass:"iconfont icon-group",class:{active:e.showGroupList},attrs:{id:"group-list",title:"群组列表"}}),s("div",{staticClass:"iconfont icon-contact",class:{active:e.showFriendList},attrs:{id:"friend-list",title:"好友列表"}}),s("div",{staticClass:"iconfont icon-blacklist",class:{active:e.showBlackList},attrs:{id:"black-list",title:"黑名单列表"}})]),s("div",{staticClass:"bottom"},[s("div",{staticClass:"iconfont icon-tuichu",attrs:{title:"退出"},on:{click:function(t){return e.$store.dispatch("logout")}}})])],1),s("div",{staticClass:"bar-right"},[s("conversation-list",{directives:[{name:"show",rawName:"v-show",value:e.showConversationList,expression:"showConversationList"}]}),s("group-list",{directives:[{name:"show",rawName:"v-show",value:e.showGroupList,expression:"showGroupList"}]}),s("friend-list",{directives:[{name:"show",rawName:"v-show",value:e.showFriendList,expression:"showFriendList"}]}),s("black-list",{directives:[{name:"show",rawName:"v-show",value:e.showBlackList,expression:"showBlackList"}]})],1)])},Sn=[],xn=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"my-profile-wrapper"},[s("el-dialog",{attrs:{title:"编辑个人资料",visible:e.showEditMyProfile,width:"30%"},on:{"update:visible":function(t){e.showEditMyProfile=t}}},[s("el-form",{attrs:{"label-width":"100px"},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[s("el-form-item",{attrs:{label:"头像"}},[s("el-input",{attrs:{placeholder:"头像地址(URL)"},model:{value:e.form.avatar,callback:function(t){e.$set(e.form,"avatar",t)},expression:"form.avatar"}})],1),s("el-form-item",{attrs:{label:"昵称"}},[s("el-input",{attrs:{placeholder:"昵称"},model:{value:e.form.nick,callback:function(t){e.$set(e.form,"nick",t)},expression:"form.nick"}})],1),s("el-form-item",{attrs:{label:"性别"}},[s("el-radio-group",{model:{value:e.form.gender,callback:function(t){e.$set(e.form,"gender",t)},expression:"form.gender"}},[s("el-radio",{attrs:{label:e.TIM.TYPES.GENDER_MALE}},[e._v("男")]),s("el-radio",{attrs:{label:e.TIM.TYPES.GENDER_FEMALE}},[e._v("女")]),s("el-radio",{attrs:{label:e.TIM.TYPES.GENDER_UNKNOWN}},[e._v("不显示")])],1)],1)],1),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.showEditMyProfile=!1}}},[e._v("取 消")]),s("el-button",{attrs:{type:"primary"},on:{click:e.editMyProfile}},[e._v("确 定")])],1)],1),s("el-popover",{staticClass:"popover",attrs:{width:200,trigger:"click",placement:"right"}},[s("profile-card",{attrs:{profile:e.currentUserProfile}}),s("i",{staticClass:"el-icon-setting edit-my-profile",on:{click:e.handleEdit}}),s("avatar",{staticClass:"my-avatar",attrs:{slot:"reference",src:e.currentUserProfile.avatar},slot:"reference"})],1)],1)},An=[],Ln=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"profile-card-wrapper"},[s("div",{staticClass:"content"},[s("avatar",{attrs:{src:e.profile.avatar}}),s("div",{staticClass:"basic"},[s("span",{staticClass:"nick text-ellipsis"},[e._v(e._s(e.profile.nick||e.profile.userID))]),s("span",{staticClass:"iconfont",class:e.genderClass})])],1)])},Rn=[],Nn={name:"ProfileCard",props:{profile:{type:Object,required:!0}},computed:{genderClass:function(){switch(this.profile.gender){case this.TIM.TYPES.GENDER_MALE:return"icon-male";case this.TIM.TYPES.GENDER_FEMALE:return"icon-female";default:return"暂无"}}}},Gn=Nn,Un=(s("8127"),Object(D["a"])(Gn,Ln,Rn,!1,null,null,null)),$n=Un.exports;function Vn(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function Bn(e){for(var t=1;t99?"99+":e.conversation.unreadCount)+"\n ")]):e._e()])]),s("div",{staticClass:"row-2"},[s("div",{staticClass:"summary"},[e.conversation.lastMessage?s("div",{staticClass:"text-ellipsis"},[e.hasMessageAtMe?s("span",{staticClass:"remind",staticStyle:{color:"red"}},[e._v("[有人提到我]")]):e._e(),s("span",{staticClass:"text",attrs:{title:e.conversation.lastMessage.messageForShow}},[e._v("\n "+e._s(e.messageForShow)+"\n ")])]):e._e()]),s("div",{staticClass:"date"},[e._v("\n "+e._s(e.date)+"\n ")])])])],1)])},Zn=[];function Wn(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function Qn(e){for(var t=1;t0},date:function(){if(!this.conversation.lastMessage||!this.conversation.lastMessage.lastTime)return"";var e=new Date(1e3*this.conversation.lastMessage.lastTime);return Me(e)?we(e):_e(e)},avatar:function(){switch(this.conversation.type){case"GROUP":return this.conversation.groupProfile.avatar;case"C2C":return this.conversation.userProfile.avatar;default:return""}},conversationName:function(){return this.conversation.type===this.TIM.TYPES.CONV_C2C?this.conversation.userProfile.nick||this.conversation.userProfile.userID:this.conversation.type===this.TIM.TYPES.CONV_GROUP?this.conversation.groupProfile.name||this.conversation.groupProfile.groupID:this.conversation.type===this.TIM.TYPES.CONV_SYSTEM?"系统通知":""},showGrayBadge:function(){return this.conversation.type===this.TIM.TYPES.CONV_GROUP&&"AcceptNotNotify"===this.conversation.groupProfile.selfInfo.messageRemindType},messageForShow:function(){return this.conversation.lastMessage.isRevoked?this.conversation.lastMessage.fromAccount===this.currentUserProfile.userID?"你撤回了一条消息":this.conversation.type===this.TIM.TYPES.CONV_C2C?"对方撤回了一条消息":"".concat(this.conversation.lastMessage.fromAccount,"撤回了一条消息"):this.conversation.lastMessage.messageForShow}},Object(G["c"])({currentConversation:function(e){return e.conversation.currentConversation},currentUserProfile:function(e){return e.user.currentUserProfile}})),Object(G["b"])(["toAccount"])),mounted:function(){var e=this;this.$bus.$on("new-messsage-at-me",(function(t){t.data.conversationID===e.conversation.conversationID&&e.conversation.conversationID!==e.currentConversation.conversationID&&(e.hasMessageAtMe=!0)}))},methods:{selectConversation:function(){this.conversation.conversationID!==this.currentConversation.conversationID&&this.$store.dispatch("checkoutConversation",this.conversation.conversationID)},deleteConversation:function(e){var t=this;e.stopPropagation(),this.tim.deleteConversation(this.conversation.conversationID).then((function(){t.$store.commit("showMessage",{message:"会话【".concat(t.conversationName,"】删除成功!"),type:"success"}),t.popoverVisible=!1,t.$store.commit("resetCurrentConversation")})).catch((function(e){t.$store.commit("showMessage",{message:"会话【".concat(t.conversationName,"】删除失败!, error=").concat(e.message),type:"error"}),t.popoverVisible=!1}))},showContextMenu:function(){this.popoverVisible=!0}},watch:{currentConversation:function(e){e.conversationID===this.conversation.conversationID&&(this.hasMessageAtMe=!1)}}},ei=Xn,ti=(s("15aa"),Object(D["a"])(ei,Jn,Zn,!1,null,"1e828726",null)),si=ti.exports;function ni(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function ii(e){for(var t=1;t=0&&this.checkoutPrev(s),40===e.keyCode&&s+10?(this.hideSearchLoading=!1,this.tim.searchGroupByID(e).then((function(e){var s=e.data.group;t([s])})).catch((function(){s.$store.commit("showMessage",{message:"没有找到该群",type:"error"})}))):this.hideSearchLoading=!0},showCreateGroupModel:function(){this.$store.commit("updateCreateGroupModelVisible",!0)},applyJoinGroup:function(e){var t=this;this.tim.joinGroup({groupID:e.groupID}).then(function(){var e=Object(mi["a"])(regeneratorRuntime.mark((function e(s){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:e.t0=s.data.status,e.next=e.t0===t.TIM.TYPES.JOIN_STATUS_WAIT_APPROVAL?3:e.t0===t.TIM.TYPES.JOIN_STATUS_SUCCESS?5:e.t0===t.TIM.TYPES.JOIN_STATUS_ALREADY_IN_GROUP?9:11;break;case 3:return t.$store.commit("showMessage",{message:"申请成功,等待群管理员确认。",type:"info"}),e.abrupt("break",12);case 5:return e.next=7,t.$store.dispatch("checkoutConversation","GROUP".concat(s.data.group.groupID));case 7:return t.$store.commit("showMessage",{message:"加群成功",type:"success"}),e.abrupt("break",12);case 9:return t.$store.commit("showMessage",{message:"您已经是群成员了,请勿重复加群哦!",type:"info"}),e.abrupt("break",12);case 11:return e.abrupt("break",12);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$store.commit("showMessage",{message:e.message,type:"error"})}))}}},ki=Di,Si=(s("6794"),Object(D["a"])(ki,ui,li,!1,null,"1b7e0ffd",null)),xi=Si.exports,Ai=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"friend-list-container",class:{default:!e.hasFriend}},[e.hasFriend?s("div",e._l(e.friendList,(function(e){return s("friend-item",{key:e.userID,attrs:{friend:e}})})),1):s("div",{staticStyle:{color:"gray"}},[e._v("暂无好友")])])},Li=[],Ri=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-row",{staticClass:"friend-item-container"},[s("el-col",{attrs:{span:6}},[s("avatar",{attrs:{src:e.friend.profile.avatar}})],1),s("el-col",{attrs:{span:18}},[s("div",{staticClass:"friend-name"},[e._v(e._s(e.friend.profile.nick||e.friend.userID))])])],1)],1)},Ni=[],Gi={props:{friend:{type:Object,required:!0}},methods:{handleFriendClick:function(){var e=this;this.tim.getConversationProfile("C2C".concat(this.friend.userID)).then((function(t){var s=t.data;e.$store.commit("updateCurrentConversation",s)})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))}}},Ui=Gi,$i=Object(D["a"])(Ui,Ri,Ni,!1,null,"0e5cffba",null),Vi=$i.exports;function Bi(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function Yi(e){for(var t=1;t0}})},Hi=Fi,qi=(s("47b1"),Object(D["a"])(Hi,Ai,Li,!1,null,null,null)),Ki=qi.exports,zi=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"blacklist-wrapper",class:{default:!e.hasBlacklist}},[e.hasBlacklist?s("div",e._l(e.blacklist,(function(e){return s("blacklist-item",{key:e.userID,attrs:{profile:e}})})),1):s("span",{staticStyle:{color:"gray"}},[e._v("黑名单还是空的")])])},Ji=[],Zi=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"blacklist-item-wrapper"},[s("img",{staticClass:"avatar",attrs:{src:e.profile.avatar?e.profile.avatar:"http://imgcache.qq.com/open/qcloud/video/act/webim-avatar/avatar-2.png"}}),s("div",{staticClass:"item"},[e._v(e._s(e.profile.nick||e.profile.userID))]),s("el-button",{attrs:{type:"text"},on:{click:e.removeFromBlacklist}},[e._v("取消拉黑")])],1)},Wi=[],Qi={name:"BlacklistItem",props:{profile:{type:Object,required:!0}},methods:{removeFromBlacklist:function(){var e=this;this.tim.removeFromBlacklist({userIDList:[this.profile.userID]}).then((function(){e.$store.commit("removeFromBlacklist",e.profile.userID)})).catch((function(t){e.$store.commit("showMessage",{type:"error",message:t.message})}))}}},Xi=Qi,er=(s("b849"),Object(D["a"])(Xi,Zi,Wi,!1,null,"6763cfe2",null)),tr=er.exports;function sr(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function nr(e){for(var t=1;t0}})},rr=ir,or=(s("86b5"),Object(D["a"])(rr,zi,Ji,!1,null,"00ad617d",null)),ar=or.exports;function cr(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function ur(e){for(var t=1;t0&&this.visible},imageStyle:function(){return{transform:"scale(".concat(this.zoom,");")}},previewUrl:function(){return this.formatUrl(this.imgUrlList[this.index])}}),mounted:function(){this.$bus.$on("image-preview",this.handlePreview)},methods:{handlePreview:function(e){var t=e.url;this.url=t,this.index=this.imgUrlList.findIndex((function(e){return e===t})),this.visible=!0},handleMouseWheel:function(e){e.wheelDelta>0?this.zoomIn():this.zoomOut()},zoomIn:function(){this.zoom+=.1},zoomOut:function(){this.zoom=this.zoom-.1>this.minZoom?this.zoom-.1:this.minZoom},close:function(){Object.assign(this,{zoom:1}),this.visible=!1},rotateLeft:function(){this.rotate-=90},rotateRight:function(){this.rotate+=90},goNext:function(){this.index=(this.index+1)%this.imgUrlList.length},goPrev:function(){this.index=this.index-1>=0?this.index-1:this.imgUrlList.length-1},formatUrl:function(e){return e?"//"===e.slice(0,2)?"https:".concat(e):e:""}}},Er=jr,Tr=(s("2425"),Object(D["a"])(Er,wr,Ir,!1,null,"c65b876c",null)),Dr=Tr.exports,kr=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"qr-code-list-wrapper"},[s("div",{staticClass:"header"},[e._v("\n 其他体验方式 |\n "),s("a",{staticClass:"link",attrs:{href:"https://cloud.tencent.com/product/im",target:"_blank"},on:{click:e.handlClick}},[e._v("访问官网")])]),e._m(0)])},Sr=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"qr-code-wrapper"},[s("div",{staticClass:"qr-code-item"},[s("img",{attrs:{src:"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/gateway/product/im-new/css/img/applets.png"}}),s("div",{staticClass:"text"},[e._v("小程序")])]),s("div",{staticClass:"qr-code-item"},[s("img",{attrs:{src:"https://upload-dianshi-1255598498.file.myqcloud.com/gh_47854f5a3fb8_258-b007e3dc9f40667fdcfcac4c4476c7ce276c7d0e.jpg"}}),s("div",{staticClass:"text"},[e._v("直播电商解决方案")])]),s("div",{staticClass:"qr-code-item"},[s("img",{attrs:{src:"https://main.qcloudimg.com/raw/03ed2f2cb4101d97e234c911b060717a.png"}}),s("div",{staticClass:"text"},[e._v("iOS(密码:123)")])]),s("div",{staticClass:"qr-code-item"},[s("img",{attrs:{src:"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/gateway/product/im-new/css/img/android.png"}}),s("div",{staticClass:"text"},[e._v("Android")])])])}],xr=s("9579"),Ar=s.n(xr);Ar.a.init({sid:"500702399",cid:"500702403",autoReport:1,senseHash:0,senseQuery:0,performanceMonitor:0,ignoreParams:[]});var Lr=Ar.a,Rr={name:"qr-code-list",mounted:function(){Lr.clickStat("link_one",{show:"true"})},methods:{handlClick:function(){Lr.clickStat("link_one",{click:"true"})}}},Nr=Rr,Gr=(s("65ee"),Object(D["a"])(Nr,kr,Sr,!1,null,"582c7126",null)),Ur=Gr.exports,$r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.dialling||e.calling||e.isDialled?s("div",{staticClass:"call-container"},[e.isDialled?s("div",{staticClass:"choose"},[s("div",{staticClass:"title"},[e._v("\n "+e._s(e.toAccount)+" 来电话了\n ")]),s("div",{staticClass:"buttons"},[s("div",{staticClass:"accept",on:{click:e.accept}}),s("div",{staticClass:"refuse",on:{click:e.refuse}})])]):e._e(),e.dialling||e.calling?s("div",{staticClass:"call"},[e.dialling?s("div",{staticClass:"title"},[e._v("\n 正在呼叫 "+e._s(e.toAccount)+"...\n ")]):e._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:e.calling,expression:"calling"}],class:e.isLocalMain?"small":"big",attrs:{id:"local"},on:{click:e.changeMainVideo}}),s("div",{directives:[{name:"show",rawName:"v-show",value:e.calling,expression:"calling"}],class:e.isLocalMain?"big":"small",attrs:{name:"remote"},on:{click:e.changeMainVideo}}),s("div",{directives:[{name:"show",rawName:"v-show",value:e.calling,expression:"calling"}],staticClass:"duration"},[e._v("\n "+e._s(e.formatDurationStr)+"\n ")]),s("div",{staticClass:"buttons"},[s("div",{class:e.isCamOn?"videoOn":"videoOff",on:{click:e.videoHandler}}),s("div",{staticClass:"refuse",on:{click:e.leave}}),s("div",{class:e.isMicOn?"micOn":"micOff",on:{click:e.micHandler}})]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.maskShow,expression:"maskShow"}],staticClass:"mask",class:e.isLocalMain?"small":"big",on:{click:e.changeMainVideo}},[e._m(0)])]):e._e()]):e._e()},Vr=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("img",{staticClass:"image",attrs:{src:s("4835")}}),n("p",{staticClass:"notice"},[e._v("摄像头未打开")])])}],Br=s("d225"),Yr=s("b0b4"),Fr=s("5781"),Hr=s.n(Fr),qr=function(){function e(t){Object(Br["a"])(this,e),this.sdkAppId_=t.sdkAppId,this.userId_=t.userId,this.userSig_=t.userSig,this.roomId_=t.roomId,this.isJoined_=!1,this.isPublished_=!1,this.localStream_=null,this.remoteStreams_=[],this.ready=!1,Hr.a.checkSystemRequirements().then((function(e){e||alert("Your browser is not compatible with TRTC! Please download Chrome M72+")}))}return Object(Yr["a"])(e,[{key:"join",value:function(){var e=Object(mi["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.isJoined_){e.next=3;break}return console.warn("duplicate RtcClient.join() observed"),e.abrupt("return");case 3:return this.client_=Hr.a.createClient({mode:"videoCall",sdkAppId:this.sdkAppId_,userId:this.userId_,userSig:this.userSig_}),this.handleEvents(),e.prev=5,e.next=8,this.client_.join({roomId:this.roomId_});case 8:console.log("join room success"),this.isJoined_=!0,e.next=17;break;case 12:return e.prev=12,e.t0=e["catch"](5),window.dispatchEvent(new Event("leave")),alert("进房失败原因:"+e.t0),e.abrupt("return");case 17:this.localStream_.on("player-state-changed",(function(e){console.log("local stream ".concat(e.type," player is ").concat(e.state)),"video"===e.type&&"PLAYING"===e.state||"video"===e.type&&e.state}));try{this.localStream_.play("local")}catch(t){}return e.next=21,this.publish();case 21:console.log("发布本地流成功!");case 22:case"end":return e.stop()}}),e,this,[[5,12]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"leave",value:function(){var e=Object(mi["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.isJoined_){e.next=3;break}return console.warn("leave() - leave without join()d observed"),e.abrupt("return");case 3:if(!this.isPublished_){e.next=6;break}return e.next=6,this.unpublish(!0);case 6:return e.prev=6,e.next=9,this.client_.leave();case 9:this.isJoined_=!1,e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](6),location.reload();case 15:return e.prev=15,this.localStream_.stop(),this.localStream_.close(),this.localStream_=null,e.finish(15);case 20:case"end":return e.stop()}}),e,this,[[6,12,15,20]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"publish",value:function(){var e=Object(mi["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.isJoined_){e.next=3;break}return console.warn("publish() - please join() firstly"),e.abrupt("return");case 3:if(!this.isPublished_){e.next=6;break}return console.warn("duplicate RtcClient.publish() observed"),e.abrupt("return");case 6:return e.prev=6,e.next=9,this.client_.publish(this.localStream_);case 9:this.isPublished_=!0,e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](6),this.isPublished_=!1;case 15:case"end":return e.stop()}}),e,this,[[6,12]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"unpublish",value:function(){var e=Object(mi["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.isJoined_){e.next=3;break}return console.warn("unpublish() - please join() firstly"),e.abrupt("return");case 3:if(this.isPublished_){e.next=6;break}return console.warn("RtcClient.unpublish() called but not published yet"),e.abrupt("return");case 6:return e.prev=6,e.next=9,this.client_.unpublish(this.localStream_);case 9:this.isPublished_=!1,e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](6),t||(console.warn("leaving the room because unpublish failure observed"),this.leave());case 15:case"end":return e.stop()}}),e,this,[[6,12]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"muteLocalAudio",value:function(){this.localStream_.muteAudio()}},{key:"unmuteLocalAudio",value:function(){this.localStream_.unmuteAudio()}},{key:"muteLocalVideo",value:function(){this.localStream_.muteVideo()}},{key:"unmuteLocalVideo",value:function(){this.localStream_.unmuteVideo()}},{key:"createLocalStream",value:function(){var e=Object(mi["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.localStream_=Hr.a.createStream({audio:t.audio,video:t.video,userId:this.userId_}),this.localStream_.setVideoProfile("480p"),e.next=4,this.localStream_.initialize();case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"handleEvents",value:function(){var e=this;this.client_.on("error",(function(){})),this.client_.on("client-banned",(function(){})),this.client_.on("peer-join",(function(e){var t=e.userId;console.log("peer-join "+t)})),this.client_.on("peer-leave",(function(e){var t=e.userId;window.dispatchEvent(new Event("leave")),console.log("peer-leave "+t)})),this.client_.on("stream-added",(function(t){var s=t.stream,n=s.getId(),i=s.getUserId();console.log("remote stream added: [".concat(i,"] ID: ").concat(n," type: ").concat(s.getType())),console.log("subscribe to this remote stream"),e.client_.subscribe(s)})),this.client_.on("stream-subscribed",(function(t){var s=t.stream,n=s.getId();e.remoteStreams_.push(s);try{document.getElementsByName("remote")[0].setAttribute("id",n),s.play(n)}catch(i){}console.log("stream-subscribed ID: ",n)})),this.client_.on("stream-removed",(function(t){var s=t.stream,n=s.getId();s.stop(),e.remoteStreams_=e.remoteStreams_.filter((function(e){return e.getId()!==n})),console.log("stream-removed ID: ".concat(n," type: ").concat(s.getType()))})),this.client_.on("stream-updated",(function(e){var t=e.stream;console.log("type: "+t.getType()+" stream-updated hasAudio: "+t.hasAudio()+" hasVideo: "+t.hasVideo())})),this.client_.on("mute-audio",(function(e){console.log(e.userId+" mute audio")})),this.client_.on("unmute-audio",(function(e){console.log(e.userId+" unmute audio")})),this.client_.on("mute-video",(function(e){console.log(e.userId+" mute video")})),this.client_.on("unmute-video",(function(e){console.log(e.userId+" unmute video")})),this.client_.on("connection-state-changed",(function(e){console.log("RtcClient state changed to ".concat(e.state," from ").concat(e.prevState))}))}}]),e}(),Kr=qr;function zr(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function Jr(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0,s={room_id:this.videoRoom,call_id:"",action:e,version:Xt,invited_list:[],duration:t},n=this.tim.createCustomMessage({to:this.toAccount,conversationType:this.currentConversationType,payload:{data:JSON.stringify(s),description:"",extension:""}});this.$store.commit("pushCurrentMessageList",n),this.tim.sendMessage(n)},changeMainVideo:function(){this.calling&&(this.isLocalMain=!this.isLocalMain)}}},Wr=Zr,Qr=(s("fee1"),Object(D["a"])(Wr,$r,Vr,!1,null,"51ee000a",null)),Xr=Qr.exports;function eo(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function to(e){for(var t=1;t0&&s.forEach((function(e){(Array.isArray(e.payload.userIDList)||e.payload.userIDList.length>0)&&t.$store.commit("deleteGroupMemberList",e.payload.userIDList)}))}}},no=so,io=(s("2482"),Object(D["a"])(no,x,A,!1,null,null,null)),ro=io.exports,oo=(s("0fb7"),s("f529")),ao=s.n(oo),co=s("75fc"),uo=s("e23e"),lo=s.n(uo),mo=s("3438"),po=s.n(mo),fo=lo.a.create({SDKAppID:window.genTestUserSig("").SDKAppID});window.setLogLevel=fo.setLogLevel,fo.setLogLevel(4),fo.registerPlugin({"cos-js-sdk":po.a});var ho=fo;s("386d");function go(e){var t=e>0;t?document.title.search(/\((.*?)\)/)>=0?document.title=document.title.replace(/\((.*?)\)/,"(".concat(e>99?"99+":e,")")):document.title="(".concat(e,")").concat(document.title):document.title=document.title.replace(/\((.*?)\)/,"")}var vo={state:{currentConversation:{},currentMessageList:[],nextReqMessageID:"",isCompleted:!1,conversationList:[]},getters:{toAccount:function(e){if(!e.currentConversation||!e.currentConversation.conversationID)return"";switch(e.currentConversation.type){case"C2C":return e.currentConversation.conversationID.replace("C2C","");case"GROUP":return e.currentConversation.conversationID.replace("GROUP","");default:return e.currentConversation.conversationID}},currentConversationType:function(e){return e.currentConversation&&e.currentConversation.type?e.currentConversation.type:""},totalUnreadCount:function(e){var t=e.conversationList.reduce((function(t,s){return To.getters.hidden||e.currentConversation.conversationID!==s.conversationID?t+s.unreadCount:t}),0);return go(t),t},imgUrlList:function(e){return e.currentMessageList.filter((function(e){return e.type===lo.a.TYPES.MSG_IMAGE&&!e.isRevoked})).map((function(e){return e.payload.imageInfoArray[0].url}))}},mutations:{updateCurrentConversation:function(e,t){e.currentConversation=t,e.currentMessageList=[],e.nextReqMessageID="",e.isCompleted=!1},updateConversationList:function(e,t){e.conversationList=t},resetCurrentConversation:function(e){e.currentConversation={}},pushCurrentMessageList:function(e,t){if(e.currentConversation.conversationID)if(Array.isArray(t)){var s=t.filter((function(t){return t.conversationID===e.currentConversation.conversationID}));e.currentMessageList=[].concat(Object(co["a"])(e.currentMessageList),Object(co["a"])(s))}else t.conversationID===e.currentConversation.conversationID&&(e.currentMessageList=[].concat(Object(co["a"])(e.currentMessageList),[t]))},removeMessage:function(e,t){var s=e.currentMessageList.findIndex((function(e){var s=e.ID;return s===t.ID}));s>=0&&e.currentMessageList.splice(s,1)},reset:function(e){Object.assign(e,{currentConversation:{},currentMessageList:[],nextReqMessageID:"",isCompleted:!1,conversationList:[]})}},actions:{getMessageList:function(e,t){if(e.state.isCompleted)e.commit("showMessage",{message:"已经没有更多的历史消息了哦",type:"info"});else{var s=e.state,n=s.nextReqMessageID,i=s.currentMessageList;ho.getMessageList({conversationID:t,nextReqMessageID:n,count:15}).then((function(t){e.state.nextReqMessageID=t.data.nextReqMessageID,e.state.isCompleted=t.data.isCompleted,e.state.currentMessageList=[].concat(Object(co["a"])(t.data.messageList),Object(co["a"])(i))}))}},checkoutConversation:function(e,t){if(e.commit("resetCurrentMemberList"),e.state.currentConversation.conversationID){var s=e.state.currentConversation.conversationID;ho.setMessageRead({conversationID:s})}return ho.setMessageRead({conversationID:t}),ho.getConversationProfile(t).then((function(s){var n=s.data;return e.commit("updateCurrentConversation",n.conversation),e.dispatch("getMessageList",t),n.conversation.type===lo.a.TYPES.CONV_GROUP?e.dispatch("getGroupMemberList",n.conversation.groupProfile.groupID):Promise.resolve()}))}}},bo=vo,yo={state:{groupList:[],currentMemberList:[],createGroupModelVisible:!1},getters:{hasGroupList:function(e){return e.groupList.length>0}},mutations:{updateGroupList:function(e,t){e.groupList=t},updateCreateGroupModelVisible:function(e,t){e.createGroupModelVisible=t},updateCurrentMemberList:function(e,t){e.currentMemberList=[].concat(Object(co["a"])(e.currentMemberList),Object(co["a"])(t))},deleteGroupMemeber:function(e,t){e.currentMemberList=e.currentMemberList.filter((function(e){return e.userID!==t}))},deleteGroupMemberList:function(e,t){e.currentMemberList=e.currentMemberList.filter((function(e){return!t.includes(e.userID)}))},resetCurrentMemberList:function(e){e.currentMemberList=[]},reset:function(e){Object.assign(e,{groupList:[],currentMemberList:[],createGroupModelVisible:!1})}},actions:{updateGroupList:function(e,t){e.commit("updateGroupList",t)},getGroupMemberList:function(e,t){return ho.getGroupMemberList({groupID:t,offset:e.state.currentMemberList.length,count:30}).then((function(t){return e.commit("updateCurrentMemberList",t.data.memberList),t}))}}},Co=yo,Oo={state:{currentUserProfile:{},isLogin:!1,isSDKReady:!1,userID:0,userSig:"",sdkAppID:0},mutations:{updateCurrentUserProfile:function(e,t){e.currentUserProfile=t},toggleIsLogin:function(e,t){e.isLogin="undefined"===typeof t?!e.isLogin:t},toggleIsSDKReady:function(e,t){e.isSDKReady="undefined"===typeof t?!e.isSDKReady:t},reset:function(e){Object.assign(e,{currentUserProfile:{},isLogin:!1,isSDKReady:!1})},GET_USER_INFO:function(e,t){e.userID=t.userID,e.userSig=t.userSig,e.sdkAppID=t.sdkAppID}},actions:{logout:function(e){e.rootState.conversation.currentConversation.conversationID&&ho.setMessageRead({conversationID:e.rootState.conversation.currentConversation.conversationID}),ho.logout().then((function(){e.commit("toggleIsLogin"),e.commit("stopComputeCurrent"),e.commit("reset")}))}}},_o=Oo,wo={state:{videoRoom:0,isBusy:!1},mutations:{GENERATE_VIDEO_ROOM:function(e,t){e.videoRoom=t||Math.ceil(Math.random()*(Math.pow(2,32)-1))},UPDATE_ISBUSY:function(e,t){e.isBusy=t}}},Io=wo,Mo={state:{friendList:[],createGroupModelVisible:!1},mutations:{upadteFriendList:function(e,t){e.friendList=t},reset:function(e){Object.assign(e,{friendList:[],createGroupModelVisible:!1})}}},Po=Mo,jo={state:{blacklist:[]},mutations:{updateBlacklist:function(e,t){e.blacklist=t},removeFromBlacklist:function(e,t){e.blacklist=e.blacklist.filter((function(e){return e.userID!==t}))},reset:function(e){Object.assign(e,{blacklist:[]})}},actions:{getBlacklist:function(e){ho.getBlacklist().then((function(t){var s=t.data;s.length>0&&ho.getUserProfile({userIDList:s}).then((function(t){var s=t.data;e.commit("updateBlacklist",s)}))}))}}},Eo=jo;w["default"].use(G["a"]);var To=new G["a"].Store({state:{current:Date.now(),intervalID:0,message:void 0},getters:{hidden:function(e){e.current;return"function"!==typeof document.hasFocus?document.hidden:!document.hasFocus()}},mutations:{startComputeCurrent:function(e){e.intervalID=setInterval((function(){e.current=Date.now()}),500)},stopComputeCurrent:function(e){clearInterval(e.intervalID),e.intervalID=0},showMessage:function(e,t){e.message&&e.message.close(),e.message=ao()({message:t.message,type:t.type||"success",duration:t.duration||2e3,offset:40})}},modules:{conversation:bo,group:Co,friend:Po,blacklist:Eo,user:_o,video:Io}});s("ed2c"),s("8e84");window.tim=ho,window.TIM=lo.a,window.store=To,w["default"].prototype.$bus=new w["default"],w["default"].prototype.tim=ho,w["default"].prototype.TIM=lo.a,w["default"].prototype.$store=To,w["default"].prototype.$confirm=_.a.confirm,w["default"].use(C.a),w["default"].use(b.a),w["default"].use(g.a),w["default"].use(f.a),w["default"].use(p.a),w["default"].use(l.a),w["default"].use(c.a),w["default"].use(o.a),w["default"].use(i.a),w["default"].component("avatar",S),new w["default"]({render:function(e){return e(ro)}}).$mount("#app")},"65ee":function(e,t,s){"use strict";var n=s("510f"),i=s.n(n);i.a},6794:function(e,t,s){"use strict";var n=s("6d8f"),i=s.n(n);i.a},"691c":function(e,t,s){"use strict";var n=s("5406"),i=s.n(n);i.a},"6b14":function(e,t,s){"use strict";var n=s("54c0"),i=s.n(n);i.a},"6d8f":function(e,t,s){},"712a":function(e,t,s){"use strict";var n=s("458e"),i=s.n(n);i.a},"76e5":function(e,t,s){},"777c":function(e,t,s){"use strict";var n=s("c1f9"),i=s.n(n);i.a},"7a62":function(e,t,s){},"7fb6":function(e,t,s){},8127:function(e,t,s){"use strict";var n=s("12d4"),i=s.n(n);i.a},"81b7":function(e,t,s){"use strict";var n=s("85ca"),i=s.n(n);i.a},"854e":function(e,t,s){},"85ca":function(e,t,s){},8656:function(e,t,s){"use strict";var n=s("406c"),i=s.n(n);i.a},"86b5":function(e,t,s){"use strict";var n=s("b8dc"),i=s.n(n);i.a},"873f":function(e,t,s){"use strict";var n=s("a396"),i=s.n(n);i.a},8810:function(e,t,s){"use strict";var n=s("2158"),i=s.n(n);i.a},"8d6e":function(e,t,s){},"8e84":function(e,t,s){},"8fd5":function(e,t,s){},9462:function(e,t,s){"use strict";var n=s("275a"),i=s.n(n);i.a},"95a3":function(e,t,s){},9668:function(e,t,s){"use strict";var n=s("1b21"),i=s.n(n);i.a},9908:function(e,t,s){},"9bf1":function(e,t,s){"use strict";var n=s("ac43"),i=s.n(n);i.a},a1d8:function(e,t,s){e.exports=s.p+"img/logo.dc3be0d4.png"},a359:function(e,t,s){},a396:function(e,t,s){},a433:function(e,t,s){},a65e:function(e,t,s){"use strict";var n=s("e78d"),i=s.n(n);i.a},a864:function(e,t,s){"use strict";var n=s("fcfa"),i=s.n(n);i.a},a86b:function(e,t,s){"use strict";var n=s("854e"),i=s.n(n);i.a},ac43:function(e,t,s){},b3b1:function(e,t,s){},b849:function(e,t,s){"use strict";var n=s("fbe1"),i=s.n(n);i.a},b8dc:function(e,t,s){},be4b:function(e,t,s){"use strict";var n=s("7fb6"),i=s.n(n);i.a},c1f9:function(e,t,s){},ce0c:function(e,t,s){"use strict";var n=s("95a3"),i=s.n(n);i.a},d4e4:function(e,t,s){},daca:function(e,t,s){"use strict";var n=s("d4e4"),i=s.n(n);i.a},e017:function(e,t,s){"use strict";var n=s("76e5"),i=s.n(n);i.a},e3ec:function(e,t,s){"use strict";var n=s("53b9"),i=s.n(n);i.a},e6da:function(e,t,s){"use strict";var n=s("a359"),i=s.n(n);i.a},e78d:function(e,t,s){},ed2c:function(e,t,s){},f6e3:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACpCAMAAAHy0MbyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJYUExURQrBYAvBYRPDZhzGbCXIcSrJdSHHbxjFaQ7CYwzBYSnJdEzSi3bcpqLnw87z3+X47uj58Ov68uz68+n58ef579/36rzu05Djt2TYmz7OghnFai/KeIHfrcPw2OP47fz+/f////P8+Nb15K7ry1vVlBrFaw7CYlDTjqrqyPP899j15YrhsxDCZFfUksDv1vr+/C7KdyzKdq3qynLbo2HXmf7//rTszhTDZo/jtk7SjCjJc7nt0fX9+THLes3y3/3//oXgsA3CYjTMe5HjuA/CY8/z4IDfrRbEaLft0GbYnO779Pb9+cLv1x3GbNL04ub575zmv5flvEDPgzDLeaXoxIzitPD79TXMfB7GbeL47F7WlhLDZavqyfj9+03SjN326YvitEbQh3jdqO/79CLHcLHrzE/TjSPHcOT47vH79rHrzUvSivf9+vn++8zy3lXUkdf15SDHblnVk+D36ybIclrVlGfZnHjdpznNf1HTjhfEadv26I3itUfRiMfx26Pow0HPhJPkuZjlvMHv1zjNfkTQhWnZnhvFa8ry3TLLepXkurbt0Gvan4LfrknRiV/Wl9X05HHbo7/v1Z3mv8jx24jhskjRiTrNf8nx3Mvy3WLXmUfQh0XQhu3681LTj9n15ljVk2XYm6/ry+H37Or68bXsz2PYmjfMfW3aoLvu0zbMfTPLe77u1S7KeErRirDrzNr253fcpkPPhSvJdafpxr3u1N736n/frPL89o7itW/boWDXl3ndqJvmvvv+/Xveqsbx2tz26fT8+BHDZD3OgYTgr4fhsQAAAKRC35oAAADIdFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8A9ppxxwAAAAlwSFlzAAAXEQAAFxEByibzPwAABVpJREFUaEPt2zuP2koUB3BaN1dCLikwols5fVb5Cim3QaxEtNomDdJKaHWbbaBASPcTUKVBShv6NNH6e2Uefxs/5u0H7NX5NXiOzwwjY+yxPR4N422MhYqEw/KFiDbiZ3UY0V7D1ThizDMiAmIcIkIURaycxlGEQCFLRvUvlDJ8/j+MP2OhTGymxoqxCDc2ioz6/mgo5hB1C39BtBZGkEFAQIiLERKiKN2xtc0ffpSkD1MsVhzxSZxgoydLlA2QKfyLmA7S4Buiaitk5RBWQ04BYTXkFBBWQ04BYTXkFA6IqyCl5AvWNGB9DVbWYW3NGWvVZGOZsb8X8i+MAiHe5rOFeYfMbcSuliQzlA3WSGUQ0fqGPAExHWRJvxFUwzk2h6gacnKIqiEnt0VYCTm5FcJKyMlVzrB1yMl9tFzTBn5ASgFxFWRc6I+YSCjDmoZGDzisq8PaKuWQR52qaTi/BKjB2jo28mZjb7k2TkRRLGv9lCcgTUdrkiQbpbZTVk5003VYH2X3lo4SQkiAN3EokhYbBNuqDFWkN6xqoTRWKmt5d2SJZhSQESQfAyohJwRa0ECSvzka0LhHmrcZGtBYI80b6usYR1kG7ARuRO1KH63d0D8GausFdfiAykbI9fAdNS0+Id2RU2cl1HCivHrQ8bgPihpuvqOSi/RxFRd4XSwyU1bEIndKUcVbym8fYplhBeNlswfWVIJuTXh35WIH7lhjvEHhAcEuRO9/ZKOrPSKEEEIIIVey+e+f8Wy8e3V4yuxuWb4AV02QCFO/rH9CvB3FLRPlbB5P6lsmWBnuBQ3VYXUwNNPg8NTPhA+o1Vr9eKb7UUgJUnt8WDFHTgDDXTkGSQHM97ncHt6ooAGN4NtctstZZHnbo74O0rxpHsgVkObtHvV1Qq+4be2G3hCndiVqV6J2pb7afUJ9HbcpYk316Xx15smAeqiuhzxPW9TWq8xQdmW9u+53J7VQ3Dc0CJgCa98KHJLd2c5tOaQ7QzUr46yoJpeNK3ndY85QyYXPcApV3KCOA9cfTZqglp1fu+7/utT9Z9NNoFJLj2s8nuBYZSxx1dKd919OTKxixLOiNC+OnnkJBdtUKzN+ALo8gub/byy2xVq6bMRKoR3WxekjllfsJw1+fl7H+pjEfHd65ztKV90did/q8hynw+lmomEIfi6mdEKr284nx02y7GlPU+4IIYQQQgghhBBisVxuNptOp4j0YpOt60/wF/MfN9nvHzt0UGH2OfTJUT9eTdMipPmt9Hhj2K4Vr6hwTYcFOuOiu3lUYZauWzZ31S3s90hD2F3vQKF4xdBudq3/3G90wFfoc+t2grYtN75Gf1/x5QEWaGJAL7YpBSah0w3C2SZWGI0HPzzoJ0+66GZ2rDuPV+tUWkyvDGKbvGOx7vbxn9UnfG+g1cDnirbdfUE7A6Hu9om62yfqbp+ou336YN1tMTjn4oFPwm5TR/U6m+flJOCKvSr8vZQA5ZlggQa8/jn7TMTU8ZpZ20ary7SLfMpiv9J2V2klsfuE3WBHfFcnMjTal32buwsKcfgbcQ463bRSfxeZ6Rpf0a2A9xtcTLo4fKn0soH3fAp6P/o4xfWw3+amPfzhetpzuR2+olv3fMp89+56HJ1F+4kCdpQTihVnuc/HB5TLDpOB75VJE9GjZKX6cow1Bx0xWkR4A+AB5ZIU58Gejq5hnnGUaxxCMdacnlC+EZP8qHwqvwyB/ZZF0xt7RSJdF4eN6Wl7PP7asoHmFNv2J5JuyVk3Wnu8yt/fKkq32Jwlq/tbflMmet/e/ZEdncZfj0Gvvw4s35ztXpkjhBBCCCGkrdHoLzv9X1u4OdoGAAAAAElFTkSuQmCC"},f7a2:function(e,t,s){"use strict";var n=s("4602"),i=s.n(n);i.a},fbe1:function(e,t,s){},fbe9:function(e,t,s){"use strict";var n=s("8fd5"),i=s.n(n);i.a},fc3e:function(e,t,s){},fcfa:function(e,t,s){},fee1:function(e,t,s){"use strict";var n=s("b3b1"),i=s.n(n);i.a},fee6:function(e,t,s){}}); \ No newline at end of file diff --git a/H5/dist/js/chunk-vendors.6f76ac5d.js b/H5/dist/js/chunk-vendors.6f76ac5d.js new file mode 100644 index 00000000000..e9e8536c84d --- /dev/null +++ b/H5/dist/js/chunk-vendors.6f76ac5d.js @@ -0,0 +1,13 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"014b":function(e,t,n){"use strict";var r=n("e53d"),o=n("07e3"),i=n("8e60"),a=n("63b6"),s=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),d=n("45f2"),f=n("62a0"),p=n("5168"),h=n("ccb9"),m=n("6718"),g=n("47ee"),v=n("9003"),y=n("e4ae"),_=n("f772"),S=n("241e"),b=n("36c3"),E=n("1bc3"),C=n("aebd"),T=n("a159"),I=n("0395"),w=n("bf0b"),O=n("9aa9"),k=n("d9f6"),R=n("c3a1"),A=w.f,M=k.f,x=I.f,D=r.Symbol,N=r.JSON,P=N&&N.stringify,L="prototype",G=p("_hidden"),U=p("toPrimitive"),j={}.propertyIsEnumerable,F=l("symbol-registry"),B=l("symbols"),V=l("op-symbols"),q=Object[L],$="function"==typeof D&&!!O.f,H=r.QObject,K=!H||!H[L]||!H[L].findChild,z=i&&u((function(){return 7!=T(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A(q,t);r&&delete q[t],M(e,t,n),r&&e!==q&&M(q,t,r)}:M,W=function(e){var t=B[e]=T(D[L]);return t._k=e,t},Y=$&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},J=function(e,t,n){return e===q&&J(V,t,n),y(e),t=E(t,!0),y(n),o(B,t)?(n.enumerable?(o(e,G)&&e[G][t]&&(e[G][t]=!1),n=T(n,{enumerable:C(0,!1)})):(o(e,G)||M(e,G,C(1,{})),e[G][t]=!0),z(e,t,n)):M(e,t,n)},X=function(e,t){y(e);var n,r=g(t=b(t)),o=0,i=r.length;while(i>o)J(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?T(e):X(T(e),t)},Z=function(e){var t=j.call(this,e=E(e,!0));return!(this===q&&o(B,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,G)&&this[G][e])||t)},ee=function(e,t){if(e=b(e),t=E(t,!0),e!==q||!o(B,t)||o(V,t)){var n=A(e,t);return!n||!o(B,t)||o(e,G)&&e[G][t]||(n.enumerable=!0),n}},te=function(e){var t,n=x(b(e)),r=[],i=0;while(n.length>i)o(B,t=n[i++])||t==G||t==c||r.push(t);return r},ne=function(e){var t,n=e===q,r=x(n?V:b(e)),i=[],a=0;while(r.length>a)!o(B,t=r[a++])||n&&!o(q,t)||i.push(B[t]);return i};$||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(V,n),o(this,G)&&o(this[G],e)&&(this[G][e]=!1),z(this,e,C(1,n))};return i&&K&&z(q,e,{configurable:!0,set:t}),W(e)},s(D[L],"toString",(function(){return this._k})),w.f=ee,k.f=J,n("6abf").f=I.f=te,n("355d").f=Z,O.f=ne,i&&!n("b8e3")&&s(q,"propertyIsEnumerable",Z,!0),h.f=function(e){return W(p(e))}),a(a.G+a.W+a.F*!$,{Symbol:D});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;re.length>oe;)p(re[oe++]);for(var ie=R(p.store),ae=0;ie.length>ae;)m(ie[ae++]);a(a.S+a.F*!$,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=D(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!$,"Object",{create:Q,defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){O.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return O.f(S(e))}}),N&&a(a.S+a.F*(!$||u((function(){var e=D();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],o=1;while(arguments.length>o)r.push(arguments[o++]);if(n=t=r[1],(_(t)||void 0!==e)&&!Y(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,P.apply(N,r)}}),D[L][U]||n("35e8")(D[L],U,D[L].valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var r=n("2d00"),o=n("5ca1"),i=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),d=n("2b4c")("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,_,S){c(n,t,v);var b,E,C,T=function(e){if(!f&&e in k)return k[e];switch(e){case h:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},I=t+" Iterator",w=y==m,O=!1,k=e.prototype,R=k[d]||k[p]||y&&k[y],A=R||T(y),M=y?w?T("entries"):A:void 0,x="Array"==t&&k.entries||R;if(x&&(C=l(x.call(new e)),C!==Object.prototype&&C.next&&(u(C,I,!0),r||"function"==typeof C[d]||a(C,d,g))),w&&R&&R.name!==m&&(O=!0,A=function(){return R.call(this)}),r&&!S||!f&&!O&&k[d]||a(k,d,A),s[t]=A,s[I]=g,y)if(b={values:w?A:T(m),keys:_?A:T(h),entries:M},S)for(E in b)E in k||i(k,E,b[E]);else o(o.P+o.F*(f||O),t,b);return b}},"02f4":function(e,t,n){var r=n("4588"),o=n("be13");e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0395":function(e,t,n){var r=n("36c3"),o=n("6abf").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},"03e2":function(e,t,n){"use strict";var r=n("74b3"),o=n("d779"),i=n("0f22"),a=n("76da");function s(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}var c=function(e){e=e||{};var t,n=e.SecretId,r=e.SecretKey,i=e.KeyTime,a=(e.method||e.Method||"get").toLowerCase(),c=v(e.Query||e.params||{}),u=v(e.Headers||e.headers||{}),l=e.Key||"";if(e.UseRawKey?t=e.Pathname||e.pathname||"/"+l:(t=e.Pathname||e.pathname||l,0!==t.indexOf("/")&&(t="/"+t)),!n)return console.error("missing param SecretId");if(!r)return console.error("missing param SecretKey");var d=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))},f=function(e){var t,n,r,o=[],i=d(e);for(t=0;tparseInt(t[n])?1:-1;return 0},t=function(t){var n=(t.match(/Chrome\/([.\d]+)/)||[])[1],r=(t.match(/QBCore\/([.\d]+)/)||[])[1],o=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],i=n&&e(n,"53.0.2785.116")<0&&r&&e(r,"3.53.991.400")<0&&o&&e(o,"9.0.2524.400")<=0||!1;return i};return t(navigator&&navigator.userAgent)}(),p=function(e,t,n,r,o){var i;if(e.slice?i=e.slice(t,n):e.mozSlice?i=e.mozSlice(t,n):e.webkitSlice&&(i=e.webkitSlice(t,n)),r&&f){var a=new FileReader;a.onload=function(e){i=null,o(new Blob([a.result]))},a.readAsArrayBuffer(i)}else o(i)},h=function(e,t,n,r){n=n||u,e?"string"===typeof t?n(D.md5(t,!0)):Blob&&t instanceof Blob?D.getFileMd5(t,(function(e,t){n(t)}),r):n():n()},m=1048576,g=function(e,t,n){var o=e.size,i=0,a=r.getCtx(),s=function(r){if(r>=o){var c=a.digest("hex");t(null,c)}else{var u=Math.min(o,r+m);D.fileSlice(e,r,u,!1,(function(e){d(e,(function(t){e=null,a=a.update(t,!0),i+=t.length,t=null,n&&n({loaded:i,total:o,percent:Math.round(i/o*1e4)/1e4}),s(r+m)}))}))}};s(0)};function v(e){return C(e,(function(e){return"object"===typeof e?v(e):e}))}function y(e,t){return E(t,(function(n,r){e[r]=t[r]})),e}function _(e){return e instanceof Array}function S(e,t){for(var n=!1,r=0;r-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(!n)return"Bucket";if(!r)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(!n)return"Bucket";if(!r)return"Region";if(!o)return"Key"}return!1},k=function(e,t){if(t=y({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var n=t.Headers||{};if(t&&"object"===typeof t){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(n[e]=t[e])})();var r={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext"};D.each(r,(function(e,r){void 0!==t[e]&&(n[r]=t[e])})),t.Headers=l(n)}}return t},R=function(e,t){return function(n,r){"function"===typeof n&&(r=n,n={}),n=k(e,n);var o=function(e){return e&&e.headers&&(e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},i=function(e,t){r&&r(o(e),o(t))};if("getService"!==e&&"abortUploadTask"!==e){var a;if(a=O(e,n))return void i({error:"missing param "+a});if(n.Region){if(n.Region.indexOf("cos.")>-1)return void i({error:'param Region should not be start with "cos."'});if(!/^([a-z\d-]+)$/.test(n.Region))return void i({error:"Region format error."});this.options.CompatibilityMode||-1!==n.Region.indexOf("-")||"yfb"===n.Region||"default"===n.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(n.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(n.Bucket))if(n.AppId)n.Bucket=n.Bucket+"-"+n.AppId;else{if(!this.options.AppId)return void i({error:'Bucket should format as "test-1250000000".'});n.Bucket=n.Bucket+"-"+this.options.AppId}n.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete n.AppId)}!this.options.UseRawKey&&n.Key&&"/"===n.Key.substr(0,1)&&(n.Key=n.Key.substr(1))}var s=t.call(this,n,i);if("getAuth"===e||"getObjectUrl"===e)return s}},A=function(e,t){var n,r,o=this,i=0,a=0,s=Date.now();function c(){if(r=0,t&&"function"===typeof t){n=Date.now();var o,c=Math.max(0,Math.round((a-i)/((n-s)/1e3)*100)/100);o=0===a&&0===e?1:Math.round(a/e*100)/100||0,s=n,i=a;try{t({loaded:a,total:e,speed:c,percent:o})}catch(u){}}}return function(t,n){if(t&&(a=t.loaded,e=t.total),n)clearTimeout(r),c();else{if(r)return;r=setTimeout(c,o.options.ProgressInterval)}}},M=function(e,t,n){var r;"string"===typeof t.Body&&(t.Body=new Blob([t.Body],{type:"text/plain"})),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(r=t.Body.size,t.ContentLength=r,n(null,r)):n({error:"params body format error, Only allow File|Blob|String."})},x=function(e){return Date.now()+(e||0)},D={noop:u,formatParams:k,apiWrapper:R,xml2json:i,json2xml:a,md5:r,clearKey:l,fileSlice:p,getBodyMd5:h,getFileMd5:g,binaryBase64:I,extend:y,isArray:_,isInArray:S,makeArray:b,each:E,map:C,filter:T,clone:v,uuid:w,camSafeUrlEncode:s,throttleOnProgress:A,getFileSize:M,getSkewTime:x,getAuth:c,isBrowser:!0};e.exports=D},"06f1":function(e,t,n){},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"097d":function(e,t,n){"use strict";var r=n("5ca1"),o=n("8378"),i=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},"0a49":function(e,t,n){var r=n("9b43"),o=n("626a"),i=n("4bf8"),a=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,g,v=i(t),y=o(v),_=r(s,h,3),S=a(y.length),b=0,E=n?p(t,S):c?p(t,0):void 0;S>b;b++)if((f||b in y)&&(m=y[b],g=_(m,b,v),e))if(n)E[b]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return b;case 2:E.push(m)}else if(l)return!1;return d?-1:u||l?l:E}}},"0ae0":function(e,t){var n=function(e){var t={},n=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),n(e).push(t)},e.off=function(e,t){for(var r=n(e),o=r.length-1;o>=0;o--)t===r[o]&&r.splice(o,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),o=0;o=0;n--){var o=r[n][2];(!o||o+s=0;o--){var i=r[o];i[0]===e&&i[1]===t&&r.splice(o,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),u()}},removeUploadId:function(e){c(),delete l.using[e];for(var t=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);u()}};e.exports=l},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0f22":function(e,t,n){var r=n("29d8").DOMParser,o=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var n=this.stringToXML(e);return n.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}return null},this.parseXML=function(n,r){for(var i in r)e[i]=r[i];var a={},s=0,c="",u=n.childNodes.length;if(u)for(var l,d,f,p=0;pc)r.f(e,n=a[c++],t[n]);return e}},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var r=n(16),o=n(39),i=n.n(o),a=n(3),s=n(2),c={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function u(e){var t=e.move,n=e.size,r=e.bar,o={},i="translate"+r.axis+"("+t+"%)";return o[r.size]=n,o.transform=i,o.msTransform=i,o.webkitTransform=i,o}var l={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return c[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,r=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+r.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:u({size:t,move:n,bar:r})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,r=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(s["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),r=this.$refs.thumb[this.bar.offset]-t,o=100*(n-r)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=o*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:l},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=i()(),n=this.wrapStyle;if(t){var r="-"+t+"px",o="margin-bottom: "+r+"; margin-right: "+r+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=r):"string"===typeof this.wrapStyle?n+=o:n=o}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),c=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),u=void 0;return u=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[c,e(l,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(l,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},u)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(r["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(r["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(d.name,d)}};t["default"]=d},16:function(e,t){e.exports=n("4010")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},39:function(e,t){e.exports=n("e62d")}})},"164b":function(e,t,n){"use strict";var r=n("03e2"),o=n("0ae0"),i=n("e263"),a=n("75f1"),s=n("1ac6"),c={AppId:"",SecretId:"",SecretKey:"",XCosSecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,UploadQueueSize:1e4,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadAddMetaMd5:!1,UploadIdCacheLimit:50},u=function(e){this.options=r.extend(r.clone(c),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),o.init(this),i.init(this)};a.init(u,i),s.init(u,i),u.getAuthorization=r.getAuth,u.version="0.5.26",e.exports=u},1654:function(e,t,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"17ed":function(e,t,n){e.exports={default:n("d8d6"),__esModule:!0}},"18ff":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=87)}({0:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=n("d010")},87:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":e.disabled,"el-dropdown-menu__item--divided":e.divided},attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:e.handleClick}},[e.icon?n("i",{class:e.icon}):e._e(),e._t("default")],2)},o=[];r._withStripped=!0;var i=n(4),a=n.n(i),s={name:"ElDropdownItem",mixins:[a.a],props:{command:{},disabled:Boolean,divided:Boolean,icon:String},methods:{handleClick:function(e){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}},c=s,u=n(0),l=Object(u["a"])(c,r,o,!1,null,null,null);l.options.__file="packages/dropdown/src/dropdown-item.vue";var d=l.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},1951:function(e,t,n){},1991:function(e,t,n){var r,o,i,a=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),d=l.process,f=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,m=l.Dispatch,g=0,v={},y="onreadystatechange",_=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},S=function(e){_.call(e.data)};f&&p||(f=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete v[e]},"process"==n("2d95")(d)?r=function(e){d.nextTick(a(_,e,1))}:m&&m.now?r=function(e){m.now(a(_,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=S,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",S,!1)):r=y in u("script")?function(e){c.appendChild(u("script"))[y]=function(){c.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:f,clear:p}},"1ac6":function(e,t,n){var r=n("0db5"),o=n("88c7"),i=n("0ae0").EventProxy,a=n("03e2");function s(e,t){var n,o,s=this,u=new i,l=e.TaskId,f=e.Bucket,h=e.Region,m=e.Key,g=e.Body,v=e.ChunkSize||e.SliceSize||s.options.ChunkSize,y=e.AsyncLimit,_=e.StorageClass||"Standard",S=e.ServerSideEncryption,b=e.onHashProgress;u.on("error",(function(e){if(s._isRunningTask(l))return t(e)})),u.on("upload_complete",(function(e){t(null,e)})),u.on("upload_slice_complete",(function(e){p.call(s,{Bucket:f,Region:h,Key:m,UploadId:e.UploadId,SliceList:e.SliceList},(function(t,i){if(s._isRunningTask(l)){if(r.removeUsing(e.UploadId),t)return o(null,!0),u.emit("error",t);r.removeUploadId(e.UploadId),o({loaded:n,total:n},!0),u.emit("upload_complete",i)}}))})),u.on("get_upload_data_finish",(function(t){var i=r.getFileId(g,e.ChunkSize,f,m);i&&r.saveUploadId(i,t.UploadId,s.options.UploadIdCacheLimit),r.setUsing(t.UploadId),o(null,!0),d.call(s,{TaskId:l,Bucket:f,Region:h,Key:m,Body:g,FileSize:n,SliceSize:v,AsyncLimit:y,ServerSideEncryption:S,UploadData:t,onProgress:o},(function(e,t){if(s._isRunningTask(l))return e?(o(null,!0),u.emit("error",e)):void u.emit("upload_slice_complete",t)}))})),u.on("get_file_size_finish",(function(){if(o=a.throttleOnProgress.call(s,n,e.onProgress),e.UploadData.UploadId)u.emit("get_upload_data_finish",e.UploadData);else{var t=a.extend({TaskId:l,Bucket:f,Region:h,Key:m,Headers:e.Headers,StorageClass:_,Body:g,FileSize:n,SliceSize:v,onHashProgress:b},e);c.call(s,t,(function(t,n){if(s._isRunningTask(l)){if(t)return u.emit("error",t);e.UploadData.UploadId=n.UploadId,e.UploadData.PartList=n.PartList,u.emit("get_upload_data_finish",e.UploadData)}}))}})),n=e.ContentLength,delete e.ContentLength,!e.Headers&&(e.Headers={}),a.each(e.Headers,(function(t,n){"content-length"===n.toLowerCase()&&delete e.Headers[n]})),function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],r=1048576,o=0;ov)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var o=function(r){if(r=i.length)E.emit("has_and_check_upload_id",t);else{var o=i[e];if(!a.isInArray(t,o))return r.removeUploadId(o),void u(e+1);r.using[o]?u(e+1):l.call(p,{Bucket:s,Region:c,Key:d,UploadId:o},(function(t,i){p._isRunningTask(n)&&(t?(r.removeUploadId(o),u(e+1)):E.emit("upload_id_available",{UploadId:o,PartList:i.PartList}))}))}};u(0)}else E.emit("has_and_check_upload_id",t)})),E.on("get_remote_upload_id_list",(function(t){u.call(p,{Bucket:s,Region:c,Key:d},(function(t,o){if(p._isRunningTask(n)){if(t)return E.emit("error",t);var i=a.filter(o.UploadList,(function(e){return e.Key===d&&(!f||e.StorageClass.toUpperCase()===f.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(i.length)E.emit("seek_local_avail_upload_id",i);else{var c,u=r.getFileId(e.Body,e.ChunkSize,s,d);u&&(c=r.getUploadIdList(u))&&a.each(c,(function(e){r.removeUploadId(e)})),E.emit("no_available_upload_id")}}}))})),E.emit("get_remote_upload_id_list")}function u(e,t){var n=this,r=[],o={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key},i=function(){n.multipartList(o,(function(e,n){if(e)return t(e);r.push.apply(r,n.Upload||[]),"true"===n.IsTruncated?(o.KeyMarker=n.NextKeyMarker,o.UploadIdMarker=n.NextUploadIdMarker,i()):t(null,{UploadList:r})}))};i()}function l(e,t){var n=this,r=[],o={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId},i=function(){n.multipartListPart(o,(function(e,n){if(e)return t(e);r.push.apply(r,n.Part||[]),"true"===n.IsTruncated?(o.PartNumberMarker=n.NextPartNumberMarker,i()):t(null,{PartList:r})}))};i()}function d(e,t){var n=this,r=e.TaskId,i=e.Bucket,s=e.Region,c=e.Key,u=e.UploadData,l=e.FileSize,d=e.SliceSize,p=Math.min(e.AsyncLimit||n.options.ChunkParallelLimit||1,256),h=e.Body,m=Math.ceil(l/d),g=0,v=e.ServerSideEncryption,y=a.filter(u.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&l%d||d),!e["Uploaded"]})),_=e.onProgress;o.eachLimit(y,p,(function(e,t){if(n._isRunningTask(r)){var o=e["PartNumber"],p=Math.min(l,e["PartNumber"]*d)-(e["PartNumber"]-1)*d,m=0;f.call(n,{TaskId:r,Bucket:i,Region:s,Key:c,SliceSize:d,FileSize:l,PartNumber:o,ServerSideEncryption:v,Body:h,UploadData:u,onProgress:function(e){g+=e.loaded-m,m=e.loaded,_({loaded:g,total:l})}},(function(o,i){n._isRunningTask(r)&&(!a.isBrowser||o||i.ETag||(o='get ETag error, please add "ETag" to CORS ExposeHeader setting.'),o?g-=m:(g+=p-m,e.ETag=i.ETag),t(o||null,i))}))}}),(function(e){if(n._isRunningTask(r))return e?t(e):void t(null,{UploadId:u.UploadId,SliceList:u.PartList})}))}function f(e,t){var n=this,r=e.TaskId,i=e.Bucket,s=e.Region,c=e.Key,u=e.FileSize,l=e.Body,d=1*e.PartNumber,f=e.SliceSize,p=e.ServerSideEncryption,h=e.UploadData,m=n.options.ChunkRetryTimes+1,g=f*(d-1),v=f,y=g+f;y>u&&(y=u,v=y-g);var _=h.PartList[d-1];o.retry(m,(function(t){n._isRunningTask(r)&&a.fileSlice(l,g,y,!0,(function(o){n.multipartUpload({TaskId:r,Bucket:i,Region:s,Key:c,ContentLength:v,PartNumber:d,UploadId:h.UploadId,ServerSideEncryption:p,Body:o,onProgress:e.onProgress},(function(e,o){if(n._isRunningTask(r))return e?t(e):(_.Uploaded=!0,t(null,o))}))}))}),(function(e,o){if(n._isRunningTask(r))return t(e,o)}))}function p(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.UploadId,s=e.SliceList,c=this,u=this.options.ChunkRetryTimes+1,l=s.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));o.retry(u,(function(e){c.multipartComplete({Bucket:n,Region:r,Key:i,UploadId:a,Parts:l},e)}),(function(e,n){t(e,n)}))}function h(e,t){var n=e.Bucket,r=e.Region,o=e.Key,a=e.UploadId,s=e.Level||"task",c=e.AsyncLimit,l=this,d=new i;if(d.on("error",(function(e){return t(e)})),d.on("get_abort_array",(function(i){m.call(l,{Bucket:n,Region:r,Key:o,Headers:e.Headers,AsyncLimit:c,AbortArray:i},(function(e,n){if(e)return t(e);t(null,n)}))})),"bucket"===s)u.call(l,{Bucket:n,Region:r},(function(e,n){if(e)return t(e);d.emit("get_abort_array",n.UploadList||[])}));else if("file"===s){if(!o)return t({error:"abort_upload_task_no_key"});u.call(l,{Bucket:n,Region:r,Key:o},(function(e,n){if(e)return t(e);d.emit("get_abort_array",n.UploadList||[])}))}else{if("task"!==s)return t({error:"abort_unknown_level"});if(!a)return t({error:"abort_upload_task_no_id"});if(!o)return t({error:"abort_upload_task_no_key"});d.emit("get_abort_array",[{Key:o,UploadId:a}])}}function m(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.AbortArray,s=e.AsyncLimit||1,c=this,u=0,l=new Array(a.length);o.eachLimit(a,s,(function(t,o){var a=u;if(i&&i!==t.Key)return l[a]={error:{KeyNotMatch:!0}},void o(null);var s=t.UploadId||t.UploadID;c.multipartAbort({Bucket:n,Region:r,Key:t.Key,Headers:e.Headers,UploadId:s},(function(e,i){var c={Bucket:n,Region:r,Key:t.Key,UploadId:s};l[a]={error:e,task:c},o(null)})),u++}),(function(e){if(e)return t(e);for(var n=[],r=[],o=0,i=l.length;o=r?"sliceUploadFile":"putObject";f.push({api:_,params:e,callback:y})})()})),n._addTasks(f)}function v(e,t){var n=new i,r=this,s=e.Bucket,c=e.Region,u=e.Key,l=e.CopySource,d=l.match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(d){var f=d[1],p=d[3],h=decodeURIComponent(d[4]),m=void 0===e.CopySliceSize?r.options.CopySliceSize:e.CopySliceSize;m=Math.max(0,m);var g,v,_=e.CopyChunkSize||this.options.CopyChunkSize,S=this.options.CopyChunkParallelLimit,b=0;n.on("copy_slice_complete",(function(e){r.multipartComplete({Bucket:s,Region:c,Key:u,UploadId:e.UploadId,Parts:e.PartList},(function(e,n){if(e)return v(null,!0),t(e);v({loaded:g,total:g},!0),t(null,n)}))})),n.on("get_copy_data_finish",(function(e){o.eachLimit(e.PartList,S,(function(t,n){var o=t.PartNumber,i=t.CopySourceRange,a=t.end-t.start,d=0;y.call(r,{Bucket:s,Region:c,Key:u,CopySource:l,UploadId:e.UploadId,PartNumber:o,CopySourceRange:i,onProgress:function(e){b+=e.loaded-d,d=e.loaded,v({loaded:b,total:g})}},(function(e,r){if(e)return n(e);v({loaded:b,total:g}),b+=a-d,t.ETag=r.ETag,n(e||null,r)}))}),(function(r){if(r)return v(null,!0),t(r);n.emit("copy_slice_complete",e)}))})),n.on("get_file_size_finish",(function(o){var i;if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,o=0;on.length&&(c[t]=e)})),n.emit("get_file_size_finish",c)}else t({error:'get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.'})}))}else t({error:"CopySource format error"})}function y(e,t){var n=e.TaskId,r=e.Bucket,i=e.Region,a=e.Key,s=e.CopySource,c=e.UploadId,u=1*e.PartNumber,l=e.CopySourceRange,d=this.options.ChunkRetryTimes+1,f=this;o.retry(d,(function(t){f.uploadPartCopy({TaskId:n,Bucket:r,Region:i,Key:a,CopySource:s,UploadId:c,PartNumber:u,CopySourceRange:l,onProgress:e.onProgress},(function(e,n){t(e||null,n)}))}),(function(e,n){return t(e,n)}))}var _={sliceUploadFile:s,abortUploadTask:h,uploadFiles:g,sliceCopyFile:v};e.exports.init=function(e,t){t.transferToTaskMethod(_,"sliceUploadFile"),a.each(_,(function(t,n){e.prototype[n]=a.apiWrapper(n,t)}))}},"1af6":function(e,t,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(e,t,n){var r=n("f772");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"1c4c":function(e,t,n){"use strict";var r=n("9b43"),o=n("5ca1"),i=n("4bf8"),a=n("1fa8"),s=n("33a4"),c=n("9def"),u=n("f1ae"),l=n("27ee");o(o.S+o.F*!n("5cc5")((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=c(f.length),n=new p(t);t>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(o=d.next()).done;v++)u(n,v,g?a(d,m,[o.value,v],!0):o.value);return n.length=v,n}})},"1ec9":function(e,t,n){var r=n("f772"),o=n("e53d").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"1f1a":function(e,t,n){},"1fa8":function(e,t,n){var r=n("cb7c");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e["return"];throw void 0!==i&&r(i.call(e)),a}}},"20d6":function(e,t,n){"use strict";var r=n("5ca1"),o=n("0a49")(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(i)},"20fd":function(e,t,n){"use strict";var r=n("d9f6"),o=n("aebd");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"214f":function(e,t,n){"use strict";n("b0c5");var r=n("2aba"),o=n("32e9"),i=n("79e5"),a=n("be13"),s=n("2b4c"),c=n("520a"),u=s("species"),l=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!t})):void 0;if(!p||!h||"replace"===e&&!l||"split"===e&&!d){var m=/./[f],g=n(a,f,""[e],(function(e,t,n,r,o){return t.exec===c?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,e,v),o(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"230e":function(e,t,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"23c6":function(e,t,n){var r=n("2d95"),o=n("2b4c")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},"241e":function(e,t,n){var r=n("25eb");e.exports=function(e){return Object(r(e))}},"24c5":function(e,t,n){"use strict";var r,o,i,a,s=n("b8e3"),c=n("e53d"),u=n("d864"),l=n("40c3"),d=n("63b6"),f=n("f772"),p=n("79aa"),h=n("1173"),m=n("a22a"),g=n("f201"),v=n("4178").set,y=n("aba2")(),_=n("656e"),S=n("4439"),b=n("bc13"),E=n("cd78"),C="Promise",T=c.TypeError,I=c.process,w=I&&I.versions,O=w&&w.v8||"",k=c[C],R="process"==l(I),A=function(){},M=o=_.f,x=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n("5168")("species")]=function(e){e(A,A)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==O.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(r){}}(),D=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(o||(2==e._h&&G(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===t.promise?u(T("Promise-chain cycle")):(i=D(n))?i.call(n,c,u):c(n)):u(r)}catch(d){l&&!a&&l.exit(),u(d)}};while(n.length>i)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){v.call(c,(function(){var t,n,r,o=e._v,i=L(e);if(i&&(t=S((function(){R?I.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=R||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},G=function(e){v.call(c,(function(){var t;R?I.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},U=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw T("Promise can't be resolved itself");(t=D(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,u(j,r,1),u(U,r,1))}catch(o){U.call(r,o)}})):(n._v=e,n._s=1,N(n,!1))}catch(r){U.call({_w:n,_d:!1},r)}}};x||(k=function(e){h(this,k,C,"_h"),p(e),r.call(this);try{e(u(j,this,1),u(U,this,1))}catch(t){U.call(this,t)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(k.prototype,{then:function(e,t){var n=M(g(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=R?I.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(j,e,1),this.reject=u(U,e,1)},_.f=M=function(e){return e===k||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!x,{Promise:k}),n("45f2")(k,C),n("4c95")(C),a=n("584a")[C],d(d.S+d.F*!x,C,{reject:function(e){var t=M(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!x),C,{resolve:function(e){return E(s&&this===a?k:this,e)}}),d(d.S+d.F*!(x&&n("4ee1")((function(e){k.all(e)["catch"](A)}))),C,{all:function(e){var t=this,n=M(t),r=n.resolve,o=n.reject,i=S((function(){var n=[],i=0,a=1;m(e,!1,(function(e){var s=i++,c=!1;n.push(void 0),a++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,o=S((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},"25eb":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"27ee":function(e,t,n){var r=n("23c6"),o=n("2b4c")("iterator"),i=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},2877:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"299c":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=131)}({131:function(e,t,n){"use strict";n.r(t);var r=n(5),o=n.n(r),i=n(17),a=n.n(i),s=n(2),c=n(3),u=n(7),l=n.n(u),d={name:"ElTooltip",mixins:[o.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(c["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new l.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var r=n.data=n.data||{};return r.staticClass=this.addTooltipClass(r.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n=t+n||t?new java.lang.String(e,t,n)+"":e}function u(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new l,a=n.domBuilder||new i,s=n.errorHandler,c=n.locator,u=n.xmlns||{},d={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return c&&a.setDocumentLocator(c),r.errorHandler=o(s,a,c),r.domBuilder=n.domBuilder||a,/\/x?html?$/.test(t)&&(d.nbsp=" ",d.copy="©",u[""]="http://www.w3.org/1999/xhtml"),u.xml=u.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,u,d):r.errorHandler.error("invalid doc source"),a.doc},i.prototype={startDocument:function(){this.doc=(new d).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var o=this.doc,i=o.createElementNS(e,n||t),s=r.length;u(this,i),this.currentElement=i,this.locator&&a(this.locator,i);for(var c=0;cc&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2aba":function(e,t,n){var r=n("7726"),o=n("32e9"),i=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),c="toString",u=(""+s).split(c);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,n){var r=n("cb7c"),o=n("1495"),i=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=n("230e")("iframe"),r=i.length,o="<",a=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),u=e.F;while(r--)delete u[c][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=r(e),n=new s,s[c]=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ +/*! + * Vue.js v2.6.11 + * (c) 2014-2019 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function l(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function S(e,t){return _.call(e,t)}function b(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var E=/-(\w)/g,C=b((function(e){return e.replace(E,(function(e,t){return t?t.toUpperCase():""}))})),T=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),I=/\B([A-Z])/g,w=b((function(e){return e.replace(I,"-$1").toLowerCase()}));function O(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function k(e,t){return e.bind(t)}var R=Function.prototype.bind?k:O;function A(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function M(e,t){for(var n in t)e[n]=t[n];return e}function x(e){for(var t={},n=0;n0,ne=Z&&Z.indexOf("edge/")>0,re=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===Q),oe=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),ie={}.watch,ae=!1;if(J)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(Ca){}var ce=function(){return void 0===W&&(W=!J&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),W},ue=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function le(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,fe="undefined"!==typeof Symbol&&le(Symbol)&&"undefined"!==typeof Reflect&&le(Reflect.ownKeys);de="undefined"!==typeof Set&&le(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=D,he=0,me=function(){this.id=he++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!S(o,"default"))a=!1;else if(""===a||a===w(e)){var c=et(String,o.type);(c<0||s0&&(a=Ot(a,(t||"")+"_"+n),wt(a[0])&&wt(u)&&(l[c]=Ee(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?wt(u)?l[c]=Ee(u.text+a):""!==a&&l.push(Ee(a)):wt(a)&&wt(u)?l[c]=Ee(u.text+a.text):(i(e._isVList)&&o(a.tag)&&r(a.key)&&o(t)&&(a.key="__vlist"+t+"_"+n+"__"),l.push(a)));return l}function kt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Rt(e){var t=At(e.$options.inject,e);t&&(Re(!1),Object.keys(t).forEach((function(n){Ne(e,n,t[n])})),Re(!0))}function At(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=Nt(t,c,e[c]))}else o={};for(var u in t)u in o||(o[u]=Pt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=o),H(o,"$stable",a),H(o,"$key",s),H(o,"$hasNormal",i),o}function Nt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:It(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Pt(e,t){return function(){return e[t]}}function Lt(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,i=e.length;r1?A(n):n;for(var r=A(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;idocument.createEvent("Event").timeStamp&&(Wn=function(){return Yn.now()})}function Jn(){var e,t;for(zn=Wn(),$n=!0,Fn.sort((function(e,t){return e.id-t.id})),Hn=0;HnHn&&Fn[n].id>e.id)n--;Fn.splice(n+1,0,e)}else Fn.push(e);qn||(qn=!0,ht(Jn))}}var tr=0,nr=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=z(t),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Ca){if(!this.user)throw Ca;tt(Ca,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Ca){tt(Ca,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:D,set:D};function or(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function ir(e){e._watchers=[];var t=e.$options;t.props&&ar(e,t.props),t.methods&&hr(e,t.methods),t.data?sr(e):De(e._data={},!0),t.computed&&lr(e,t.computed),t.watch&&t.watch!==ie&&mr(e,t.watch)}function ar(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||Re(!1);var a=function(i){o.push(i);var a=Je(i,t,n,e);Ne(r,i,a),i in e||or(e,"_props",i)};for(var s in t)a(s);Re(!0)}function sr(e){var t=e.$options.data;t=e._data="function"===typeof t?cr(t,e):t||{},l(t)||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);while(o--){var i=n[o];0,r&&S(r,i)||$(i)||or(e,"_data",i)}De(t,!0)}function cr(e,t){ve();try{return e.call(t,t)}catch(Ca){return tt(Ca,t,"data()"),{}}finally{ye()}}var ur={lazy:!0};function lr(e,t){var n=e._computedWatchers=Object.create(null),r=ce();for(var o in t){var i=t[o],a="function"===typeof i?i:i.get;0,r||(n[o]=new nr(e,a||D,D,ur)),o in e||dr(e,o,i)}}function dr(e,t,n){var r=!ce();"function"===typeof n?(rr.get=r?fr(t):pr(n),rr.set=D):(rr.get=n.get?r&&!1!==n.cache?fr(t):pr(n.get):D,rr.set=n.set||D),Object.defineProperty(e,t,rr)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function pr(e){return function(){return e.call(this,this)}}function hr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?D:R(t[n],e)}function mr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o-1)return this;var n=A(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Ir(e){e.mixin=function(e){return this.options=We(this.options,e),this}}function wr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=We(n.options,e),a["super"]=n,a.options.props&&Or(a),a.options.computed&&kr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=M({},a.options),o[r]=a,a}}function Or(e){var t=e.options.props;for(var n in t)or(e.prototype,"_props",n)}function kr(e){var t=e.options.computed;for(var n in t)dr(e.prototype,n,t[n])}function Rr(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Ar(e){return e&&(e.Ctor.options.name||e.tag)}function Mr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function xr(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Ar(a.componentOptions);s&&!t(s)&&Dr(n,i,r,o)}}}function Dr(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}_r(Cr),vr(Cr),Rn(Cr),Dn(Cr),yn(Cr);var Nr=[String,RegExp,Array],Pr={name:"keep-alive",abstract:!0,props:{include:Nr,exclude:Nr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Dr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){xr(e,(function(e){return Mr(t,e)}))})),this.$watch("exclude",(function(t){xr(e,(function(e){return!Mr(t,e)}))}))},render:function(){var e=this.$slots.default,t=Cn(e),n=t&&t.componentOptions;if(n){var r=Ar(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!Mr(i,r))||a&&r&&Mr(a,r))return t;var s=this,c=s.cache,u=s.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[l]?(t.componentInstance=c[l].componentInstance,y(u,l),u.push(l)):(c[l]=t,u.push(l),this.max&&u.length>parseInt(this.max)&&Dr(c,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Lr={KeepAlive:Pr};function Gr(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:pe,extend:M,mergeOptions:We,defineReactive:Ne},e.set=Pe,e.delete=Le,e.nextTick=ht,e.observable=function(e){return De(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,M(e.options.components,Lr),Tr(e),Ir(e),wr(e),Rr(e)}Gr(Cr),Object.defineProperty(Cr.prototype,"$isServer",{get:ce}),Object.defineProperty(Cr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cr,"FunctionalRenderContext",{value:Xt}),Cr.version="2.6.11";var Ur=g("style,class"),jr=g("input,textarea,option,select,progress"),Fr=function(e,t,n){return"value"===n&&jr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Br=g("contenteditable,draggable,spellcheck"),Vr=g("events,caret,typing,plaintext-only"),qr=function(e,t){return Wr(t)||"false"===t?"false":"contenteditable"===e&&Vr(t)?t:"true"},$r=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Hr="http://www.w3.org/1999/xlink",Kr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zr=function(e){return Kr(e)?e.slice(6,e.length):""},Wr=function(e){return null==e||!1===e};function Yr(e){var t=e.data,n=e,r=e;while(o(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Jr(r.data,t));while(o(n=n.parent))n&&n.data&&(t=Jr(t,n.data));return Xr(t.staticClass,t.class)}function Jr(e,t){return{staticClass:Qr(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Xr(e,t){return o(e)||o(t)?Qr(e,Zr(t)):""}function Qr(e,t){return e?t?e+" "+t:e:t||""}function Zr(e){return Array.isArray(e)?eo(e):c(e)?to(e):"string"===typeof e?e:""}function eo(e){for(var t,n="",r=0,i=e.length;r-1?so[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:so[e]=/HTMLUnknownElement/.test(t.toString())}var uo=g("text,number,password,search,email,tel,url");function lo(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function fo(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function po(e,t){return document.createElementNS(no[e],t)}function ho(e){return document.createTextNode(e)}function mo(e){return document.createComment(e)}function go(e,t,n){e.insertBefore(t,n)}function vo(e,t){e.removeChild(t)}function yo(e,t){e.appendChild(t)}function _o(e){return e.parentNode}function So(e){return e.nextSibling}function bo(e){return e.tagName}function Eo(e,t){e.textContent=t}function Co(e,t){e.setAttribute(t,"")}var To=Object.freeze({createElement:fo,createElementNS:po,createTextNode:ho,createComment:mo,insertBefore:go,removeChild:vo,appendChild:yo,parentNode:_o,nextSibling:So,tagName:bo,setTextContent:Eo,setStyleScope:Co}),Io={create:function(e,t){wo(t)},update:function(e,t){e.data.ref!==t.data.ref&&(wo(e,!0),wo(t))},destroy:function(e){wo(e,!0)}};function wo(e,t){var n=e.data.ref;if(o(n)){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?y(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var Oo=new _e("",{},[]),ko=["create","activate","update","remove","destroy"];function Ro(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&Ao(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Ao(e,t){if("input"!==e.tag)return!0;var n,r=o(n=e.data)&&o(n=n.attrs)&&n.type,i=o(n=t.data)&&o(n=n.attrs)&&n.type;return r===i||uo(r)&&uo(i)}function Mo(e,t,n){var r,i,a={};for(r=t;r<=n;++r)i=e[r].key,o(i)&&(a[i]=r);return a}function xo(e){var t,n,a={},c=e.modules,u=e.nodeOps;for(t=0;tm?(d=r(n[y+1])?null:n[y+1].elm,C(e,d,n,h,y,i)):h>y&&I(t,f,m)}function k(e,t,n,r){for(var i=n;i-1?qo(e,t,n):$r(t)?Wr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Br(t)?e.setAttribute(t,qr(t,n)):Kr(t)?Wr(n)?e.removeAttributeNS(Hr,zr(t)):e.setAttributeNS(Hr,t,n):qo(e,t,n)}function qo(e,t,n){if(Wr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var $o={create:Bo,update:Bo};function Ho(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Yr(t),c=n._transitionClasses;o(c)&&(s=Qr(s,Zr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ko,zo={create:Ho,update:Ho},Wo="__r",Yo="__c";function Jo(e){if(o(e[Wo])){var t=ee?"change":"input";e[t]=[].concat(e[Wo],e[t]||[]),delete e[Wo]}o(e[Yo])&&(e.change=[].concat(e[Yo],e.change||[]),delete e[Yo])}function Xo(e,t,n){var r=Ko;return function o(){var i=t.apply(null,arguments);null!==i&&ei(e,o,n,r)}}var Qo=at&&!(oe&&Number(oe[1])<=53);function Zo(e,t,n,r){if(Qo){var o=zn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Ko.addEventListener(e,t,ae?{capture:n,passive:r}:n)}function ei(e,t,n,r){(r||Ko).removeEventListener(e,t._wrapper||t,n)}function ti(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Ko=t.elm,Jo(n),St(n,o,Zo,ei,Xo,t.context),Ko=void 0}}var ni,ri={create:ti,update:ti};function oi(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in o(c.__ob__)&&(c=t.data.domProps=M({},c)),s)n in c||(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=r(i)?"":String(i);ii(a,u)&&(a.value=u)}else if("innerHTML"===n&&oo(a.tagName)&&r(a.innerHTML)){ni=ni||document.createElement("div"),ni.innerHTML=""+i+"";var l=ni.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(l.firstChild)a.appendChild(l.firstChild)}else if(i!==s[n])try{a[n]=i}catch(Ca){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||ai(e,t)||si(e,t))}function ai(e,t){var n=!0;try{n=document.activeElement!==e}catch(Ca){}return n&&e.value!==t}function si(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var ci={create:oi,update:oi},ui=b((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function li(e){var t=di(e.style);return e.staticStyle?M(e.staticStyle,t):t}function di(e){return Array.isArray(e)?x(e):"string"===typeof e?ui(e):e}function fi(e,t){var n,r={};if(t){var o=e;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=li(o.data))&&M(r,n)}(n=li(e.data))&&M(r,n);var i=e;while(i=i.parent)i.data&&(n=li(i.data))&&M(r,n);return r}var pi,hi=/^--/,mi=/\s*!important$/,gi=function(e,t,n){if(hi.test(t))e.style.setProperty(t,n);else if(mi.test(n))e.style.setProperty(w(t),n.replace(mi,""),"important");else{var r=yi(t);if(Array.isArray(n))for(var o=0,i=n.length;o-1?t.split(bi).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ci(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(bi).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Ti(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&M(t,Ii(e.name||"v")),M(t,e),t}return"string"===typeof e?Ii(e):void 0}}var Ii=b((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),wi=J&&!te,Oi="transition",ki="animation",Ri="transition",Ai="transitionend",Mi="animation",xi="animationend";wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ri="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mi="WebkitAnimation",xi="webkitAnimationEnd"));var Di=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ni(e){Di((function(){Di(e)}))}function Pi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ei(e,t))}function Li(e,t){e._transitionClasses&&y(e._transitionClasses,t),Ci(e,t)}function Gi(e,t,n){var r=ji(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Oi?Ai:xi,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout((function(){c0&&(n=Oi,l=a,d=i.length):t===ki?u>0&&(n=ki,l=u,d=c.length):(l=Math.max(a,u),n=l>0?a>u?Oi:ki:null,d=n?n===Oi?i.length:c.length:0);var f=n===Oi&&Ui.test(r[Ri+"Property"]);return{type:n,timeout:l,propCount:d,hasTransform:f}}function Fi(e,t){while(e.length1}function Ki(e,t){!0!==t.data.show&&Vi(t)}var zi=J?{create:Ki,activate:Ki,remove:function(e,t){!0!==e.data.show?qi(e,t):t()}}:{},Wi=[$o,zo,ri,ci,Si,zi],Yi=Wi.concat(Fo),Ji=xo({nodeOps:To,modules:Yi});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&oa(e,"input")}));var Xi={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?bt(n,"postpatch",(function(){Xi.componentUpdated(e,t,n)})):Qi(e,t,n.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===n.tag||uo(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",na),e.addEventListener("compositionend",ra),e.addEventListener("change",ra),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Qi(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,ta);if(o.some((function(e,t){return!L(e,r[t])}))){var i=e.multiple?t.value.some((function(e){return ea(e,o)})):t.value!==t.oldValue&&ea(t.value,o);i&&oa(e,"change")}}}};function Qi(e,t,n){Zi(e,t,n),(ee||ne)&&setTimeout((function(){Zi(e,t,n)}),0)}function Zi(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=e.options.length;s-1,a.selected!==i&&(a.selected=i);else if(L(ta(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!L(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function na(e){e.target.composing=!0}function ra(e){e.target.composing&&(e.target.composing=!1,oa(e.target,"input"))}function oa(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ia(e){return!e.componentInstance||e.data&&e.data.transition?e:ia(e.componentInstance._vnode)}var aa={bind:function(e,t,n){var r=t.value;n=ia(n);var o=n.data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,Vi(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value,o=t.oldValue;if(!r!==!o){n=ia(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?Vi(n,(function(){e.style.display=e.__vOriginalDisplay})):qi(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}},sa={model:Xi,show:aa},ca={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ua(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ua(Cn(t.children)):e}function la(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[C(i)]=o[i];return t}function da(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fa(e){while(e=e.parent)if(e.data.transition)return!0}function pa(e,t){return t.key===e.key&&t.tag===e.tag}var ha=function(e){return e.tag||En(e)},ma=function(e){return"show"===e.name},ga={name:"transition",props:ca,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ha),n.length)){0;var r=this.mode;0;var o=n[0];if(fa(this.$vnode))return o;var i=ua(o);if(!i)return o;if(this._leaving)return da(e,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=la(this),u=this._vnode,l=ua(u);if(i.data.directives&&i.data.directives.some(ma)&&(i.data.show=!0),l&&l.data&&!pa(i,l)&&!En(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=M({},c);if("out-in"===r)return this._leaving=!0,bt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),da(e,o);if("in-out"===r){if(En(i))return u;var f,p=function(){f()};bt(c,"afterEnter",p),bt(c,"enterCancelled",p),bt(d,"delayLeave",(function(e){f=e}))}}return o}}},va=M({tag:String,moveClass:String},ca);delete va.mode;var ya={props:va,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=Mn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=la(this),s=0;s=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return M}));var o="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},i=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function u(e){return e&&"function"===typeof e.then}function l(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){s(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,f);var p=function(e){this.register([],e,!1)};function h(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;h(e.concat(r),t.getChild(r),n.modules[r])}}p.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},p.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},p.prototype.update=function(e){h([],this.root,e)},p.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=new d(t,n);if(0===e.length)this.root=o;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],o)}t.modules&&s(t.modules,(function(t,o){r.register(e.concat(o),t,n)}))},p.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)},p.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var m;var g=function(e){var t=this;void 0===e&&(e={}),!m&&"undefined"!==typeof window&&window.Vue&&A(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var o=this,i=this,s=i.dispatch,c=i.commit;this.dispatch=function(e,t){return s.call(o,e,t)},this.commit=function(e,t,n){return c.call(o,e,t,n)},this.strict=r;var u=this._modules.root.state;b(this,u,[],this._modules.root),S(this,u),n.forEach((function(e){return e(t)}));var l=void 0!==e.devtools?e.devtools:m.config.devtools;l&&a(this)},v={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function _(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;b(e,n,[],e._modules.root,!0),S(e,n,t)}function S(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={};s(o,(function(t,n){i[n]=l(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,e._vm=new m({data:{$$state:t},computed:i}),m.config.silent=a,e.strict&&O(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),m.nextTick((function(){return r.$destroy()})))}function b(e,t,n,r,o){var i=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!i&&!o){var s=k(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){m.set(s,c,r.state)}))}var u=r.context=E(e,a,n);r.forEachMutation((function(t,n){var r=a+n;T(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,o=t.handler||t;I(e,r,o,u)})),r.forEachGetter((function(t,n){var r=a+n;w(e,r,t,u)})),r.forEachChild((function(r,i){b(e,t,n.concat(i),r,o)}))}function E(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=R(n,r,o),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:r?e.commit:function(n,r,o){var i=R(n,r,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return C(e,t)}},state:{get:function(){return k(e.state,n)}}}),o}function C(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function T(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))}function I(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return u(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}function w(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function O(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function k(e,t){return t.reduce((function(e,t){return e[t]}),e)}function R(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function A(e){m&&e===m||(m=e,r(m))}v.state.get=function(){return this._vm._data.$$state},v.state.set=function(e){0},g.prototype.commit=function(e,t,n){var r=this,o=R(e,t,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},g.prototype.dispatch=function(e,t){var n=this,r=R(e,t),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(u){0}t(e)}))}))}},g.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},g.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},g.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},g.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},g.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),b(this,this.state,e,this._modules.get(e),n.preserveState),S(this,this.state)},g.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=k(t.state,e.slice(0,-1));m.delete(n,e[e.length-1])})),_(this)},g.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},g.prototype.hotUpdate=function(e){this._modules.update(e),_(this,!0)},g.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(g.prototype,v);var M=U((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=j(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),x=U((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=j(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),D=U((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||j(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0})),n})),N=U((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=j(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),P=function(e){return{mapState:M.bind(null,e),mapGetters:D.bind(null,e),mapMutations:x.bind(null,e),mapActions:N.bind(null,e)}};function L(e){return G(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function G(e){return Array.isArray(e)||c(e)}function U(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function j(e,t,n){var r=e._modulesNamespaceMap[n];return r}var F={Store:g,install:A,version:"3.4.0",mapState:M,mapMutations:x,mapGetters:D,mapActions:N,createNamespacedHelpers:P};t["a"]=F}).call(this,n("c8ba"))},"2fdb":function(e,t,n){"use strict";var r=n("5ca1"),o=n("d2c8"),i="includes";r(r.P+r.F*n("5147")(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},3024:function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"30f1":function(e,t,n){"use strict";var r=n("b8e3"),o=n("63b6"),i=n("9138"),a=n("35e8"),s=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),d=n("5168")("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,_,S){c(n,t,v);var b,E,C,T=function(e){if(!f&&e in k)return k[e];switch(e){case h:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},I=t+" Iterator",w=y==m,O=!1,k=e.prototype,R=k[d]||k[p]||y&&k[y],A=R||T(y),M=y?w?T("entries"):A:void 0,x="Array"==t&&k.entries||R;if(x&&(C=l(x.call(new e)),C!==Object.prototype&&C.next&&(u(C,I,!0),r||"function"==typeof C[d]||a(C,d,g))),w&&R&&R.name!==m&&(O=!0,A=function(){return R.call(this)}),r&&!S||!f&&!O&&k[d]||a(k,d,A),s[t]=A,s[I]=g,y)if(b={values:w?A:T(m),keys:_?A:T(h),entries:M},S)for(E in b)E in k||i(k,E,b[E]);else o(o.P+o.F*(f||O),t,b);return b}},"31f4":function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"32e9":function(e,t,n){var r=n("86cc"),o=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"32fc":function(e,t,n){var r=n("e53d").document;e.exports=r&&r.documentElement},"335c":function(e,t,n){var r=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"33a4":function(e,t,n){var r=n("84f2"),o=n("2b4c")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},"33ca":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=98)}({0:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},11:function(e,t){e.exports=n("2bb5")},2:function(e,t){e.exports=n("5924")},20:function(e,t){e.exports=n("a742")},98:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-rate",attrs:{role:"slider","aria-valuenow":e.currentValue,"aria-valuetext":e.text,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0"},on:{keydown:e.handleKey}},[e._l(e.max,(function(t,r){return n("span",{key:r,staticClass:"el-rate__item",style:{cursor:e.rateDisabled?"auto":"pointer"},on:{mousemove:function(n){e.setCurrentValue(t,n)},mouseleave:e.resetCurrentValue,click:function(n){e.selectValue(t)}}},[n("i",{staticClass:"el-rate__icon",class:[e.classes[t-1],{hover:e.hoverIndex===t}],style:e.getIconStyle(t)},[e.showDecimalIcon(t)?n("i",{staticClass:"el-rate__decimal",class:e.decimalIconClass,style:e.decimalStyle}):e._e()])])})),e.showText||e.showScore?n("span",{staticClass:"el-rate__text",style:{color:e.textColor}},[e._v(e._s(e.text))]):e._e()],2)},o=[];r._withStripped=!0;var i=n(2),a=n(20),s=n(11),c=n.n(s),u={name:"ElRate",mixins:[c.a],inject:{elForm:{default:""}},data:function(){return{pointerAtLeftHalf:!0,currentValue:this.value,hoverIndex:-1}},props:{value:{type:Number,default:0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:[Array,Object],default:function(){return["#F7BA2A","#F7BA2A","#F7BA2A"]}},voidColor:{type:String,default:"#C6D1DE"},disabledVoidColor:{type:String,default:"#EFF2F7"},iconClasses:{type:[Array,Object],default:function(){return["el-icon-star-on","el-icon-star-on","el-icon-star-on"]}},voidIconClass:{type:String,default:"el-icon-star-off"},disabledVoidIconClass:{type:String,default:"el-icon-star-on"},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},textColor:{type:String,default:"#1f2d3d"},texts:{type:Array,default:function(){return["极差","失望","一般","满意","惊喜"]}},scoreTemplate:{type:String,default:"{value}"}},computed:{text:function(){var e="";return this.showScore?e=this.scoreTemplate.replace(/\{\s*value\s*\}/,this.rateDisabled?this.value:this.currentValue):this.showText&&(e=this.texts[Math.ceil(this.currentValue)-1]),e},decimalStyle:function(){var e="";return this.rateDisabled?e=this.valueDecimal+"%":this.allowHalf&&(e="50%"),{color:this.activeColor,width:e}},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)},classMap:function(){var e;return Array.isArray(this.iconClasses)?(e={},e[this.lowThreshold]=this.iconClasses[0],e[this.highThreshold]={value:this.iconClasses[1],excluded:!0},e[this.max]=this.iconClasses[2],e):this.iconClasses},decimalIconClass:function(){return this.getValueFromMap(this.value,this.classMap)},voidClass:function(){return this.rateDisabled?this.disabledVoidIconClass:this.voidIconClass},activeClass:function(){return this.getValueFromMap(this.currentValue,this.classMap)},colorMap:function(){var e;return Array.isArray(this.colors)?(e={},e[this.lowThreshold]=this.colors[0],e[this.highThreshold]={value:this.colors[1],excluded:!0},e[this.max]=this.colors[2],e):this.colors},activeColor:function(){return this.getValueFromMap(this.currentValue,this.colorMap)},classes:function(){var e=[],t=0,n=this.currentValue;for(this.allowHalf&&this.currentValue!==Math.floor(this.currentValue)&&n--;t0&&e-1this.value,n=this.allowHalf&&this.pointerAtLeftHalf&&e-.5<=this.currentValue&&e>this.currentValue;return t||n},getIconStyle:function(e){var t=this.rateDisabled?this.disabledVoidColor:this.voidColor;return{color:e<=this.currentValue?this.activeColor:t}},selectValue:function(e){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",e),this.$emit("change",e)))},handleKey:function(e){if(!this.rateDisabled){var t=this.currentValue,n=e.keyCode;38===n||39===n?(this.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):37!==n&&40!==n||(this.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>this.max?this.max:t,this.$emit("input",t),this.$emit("change",t)}},setCurrentValue:function(e,t){if(!this.rateDisabled){if(this.allowHalf){var n=t.target;Object(i["hasClass"])(n,"el-rate__item")&&(n=n.querySelector(".el-rate__icon")),Object(i["hasClass"])(n,"el-rate__decimal")&&(n=n.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=n.clientWidth,this.currentValue=this.pointerAtLeftHalf?e-.5:e}else this.currentValue=e;this.hoverIndex=e}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}},l=u,d=n(0),f=Object(d["a"])(l,r,o,!1,null,null,null);f.options.__file="packages/rate/src/main.vue";var p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p}})},3438:function(e,t,n){var r=n("164b");e.exports=r},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var r=n("d9f6"),o=n("aebd");e.exports=n("8e60")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"36c3":function(e,t,n){var r=n("335c"),o=n("25eb");e.exports=function(e){return r(o(e))}},3702:function(e,t,n){var r=n("481b"),o=n("5168")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},3787:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=67)}({0:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},3:function(e,t){e.exports=n("8122")},4:function(e,t){e.exports=n("d010")},48:function(e,t){e.exports=n("a15e")},67:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":e.elForm&&e.elForm.statusIcon,"is-error":"error"===e.validateState,"is-validating":"validating"===e.validateState,"is-success":"success"===e.validateState,"is-required":e.isRequired||e.required,"is-no-asterisk":e.elForm&&e.elForm.hideRequiredAsterisk},e.sizeClass?"el-form-item--"+e.sizeClass:""]},[n("label-wrap",{attrs:{"is-auto-width":e.labelStyle&&"auto"===e.labelStyle.width,"update-all":"auto"===e.form.labelWidth}},[e.label||e.$slots.label?n("label",{staticClass:"el-form-item__label",style:e.labelStyle,attrs:{for:e.labelFor}},[e._t("label",[e._v(e._s(e.label+e.form.labelSuffix))])],2):e._e()]),n("div",{staticClass:"el-form-item__content",style:e.contentStyle},[e._t("default"),n("transition",{attrs:{name:"el-zoom-in-top"}},["error"===e.validateState&&e.showMessage&&e.form.showMessage?e._t("error",[n("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"===typeof e.inlineMessage?e.inlineMessage:e.elForm&&e.elForm.inlineMessage||!1}},[e._v("\n "+e._s(e.validateMessage)+"\n ")])],{error:e.validateMessage}):e._e()],2)],2)],1)},o=[];r._withStripped=!0;var i,a,s=n(48),c=n.n(s),u=n(4),l=n.n(u),d=n(9),f=n.n(d),p=n(3),h={props:{isAutoWidth:Boolean,updateAll:Boolean},inject:["elForm","elFormItem"],render:function(){var e=arguments[0],t=this.$slots.default;if(!t)return null;if(this.isAutoWidth){var n=this.elForm.autoLabelWidth,r={};if(n&&"auto"!==n){var o=parseInt(n,10)-this.computedWidth;o&&(r.marginLeft=o+"px")}return e("div",{class:"el-form-item__label-wrap",style:r},[t])}return t[0]},methods:{getLabelWidth:function(){if(this.$el&&this.$el.firstElementChild){var e=window.getComputedStyle(this.$el.firstElementChild).width;return Math.ceil(parseFloat(e))}return 0},updateLabelWidth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this.$slots.default&&this.isAutoWidth&&this.$el.firstElementChild&&("update"===e?this.computedWidth=this.getLabelWidth():"remove"===e&&this.elForm.deregisterLabelWidth(this.computedWidth))}},watch:{computedWidth:function(e,t){this.updateAll&&(this.elForm.registerLabelWidth(e,t),this.elFormItem.updateComputedLabelWidth(e))}},data:function(){return{computedWidth:0}},mounted:function(){this.updateLabelWidth("update")},updated:function(){this.updateLabelWidth("update")},beforeDestroy:function(){this.updateLabelWidth("remove")}},m=h,g=n(0),v=Object(g["a"])(m,i,a,!1,null,null,null);v.options.__file="packages/form/src/label-wrap.vue";var y=v.exports,_={name:"ElFormItem",componentName:"ElFormItem",mixins:[l.a],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},components:{LabelWrap:y},watch:{error:{immediate:!0,handler:function(e){this.validateMessage=e,this.validateState=e?"error":""}},validateStatus:function(e){this.validateState=e}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var e={};if("top"===this.form.labelPosition)return e;var t=this.labelWidth||this.form.labelWidth;return t&&(e.width=t),e},contentStyle:function(){var e={},t=this.label;if("top"===this.form.labelPosition||this.form.inline)return e;if(!t&&!this.labelWidth&&this.isNested)return e;var n=this.labelWidth||this.form.labelWidth;return"auto"===n?"auto"===this.labelWidth?e.marginLeft=this.computedLabelWidth:"auto"===this.form.labelWidth&&(e.marginLeft=this.elForm.autoLabelWidth):e.marginLeft=n,e},form:function(){var e=this.$parent,t=e.$options.componentName;while("ElForm"!==t)"ElFormItem"===t&&(this.isNested=!0),e=e.$parent,t=e.$options.componentName;return e},fieldValue:function(){var e=this.form.model;if(e&&this.prop){var t=this.prop;return-1!==t.indexOf(":")&&(t=t.replace(/:/,".")),Object(p["getPropByPath"])(e,t,!0).v}},isRequired:function(){var e=this.getRules(),t=!1;return e&&e.length&&e.every((function(e){return!e.required||(t=!0,!1)})),t},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return this.elFormItemSize||(this.$ELEMENT||{}).size}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1,computedLabelWidth:""}},methods:{validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p["noop"];this.validateDisabled=!1;var r=this.getFilteredRule(e);if((!r||0===r.length)&&void 0===this.required)return n(),!0;this.validateState="validating";var o={};r&&r.length>0&&r.forEach((function(e){delete e.trigger})),o[this.prop]=r;var i=new c.a(o),a={};a[this.prop]=this.fieldValue,i.validate(a,{firstFields:!0},(function(e,r){t.validateState=e?"error":"success",t.validateMessage=e?e[0].message:"",n(t.validateMessage,r),t.elForm&&t.elForm.$emit("validate",t.prop,!e,t.validateMessage||null)}))},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var e=this;this.validateState="",this.validateMessage="";var t=this.form.model,n=this.fieldValue,r=this.prop;-1!==r.indexOf(":")&&(r=r.replace(/:/,"."));var o=Object(p["getPropByPath"])(t,r,!0);this.validateDisabled=!0,Array.isArray(n)?o.o[o.k]=[].concat(this.initialValue):o.o[o.k]=this.initialValue,this.$nextTick((function(){e.validateDisabled=!1})),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var e=this.form.rules,t=this.rules,n=void 0!==this.required?{required:!!this.required}:[],r=Object(p["getPropByPath"])(e,this.prop||"");return e=e?r.o[this.prop||""]||r.v:[],[].concat(t||e||[]).concat(n)},getFilteredRule:function(e){var t=this.getRules();return t.filter((function(t){return!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.indexOf(e)>-1:t.trigger===e)})).map((function(e){return f()({},e)}))},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},updateComputedLabelWidth:function(e){this.computedLabelWidth=e?e+"px":""},addValidateEvents:function(){var e=this.getRules();(e.length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))},removeValidateEvents:function(){this.$off()}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var e=this.fieldValue;Array.isArray(e)&&(e=[].concat(e)),Object.defineProperty(this,"initialValue",{value:e}),this.addValidateEvents()}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}},S=_,b=Object(g["a"])(S,r,o,!1,null,null,null);b.options.__file="packages/form/src/form-item.vue";var E=b.exports;E.install=function(e){e.component(E.name,E)};t["default"]=E},9:function(e,t){e.exports=n("7f4d")}})},"37c8":function(e,t,n){t.f=n("2b4c")},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386d":function(e,t,n){"use strict";var r=n("cb7c"),o=n("83a1"),i=n("5f1b");n("214f")("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),c=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var l=i(s,c);return o(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},"38fd":function(e,t,n){var r=n("69a8"),o=n("4bf8"),i=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"3a38":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"3a72":function(e,t,n){var r=n("7726"),o=n("8378"),i=n("2d00"),a=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"3b8d":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("795b"),o=n.n(r);function i(e,t,n,r,i,a,s){try{var c=e[a](s),u=c.value}catch(l){return void n(l)}c.done?t(u):o.a.resolve(u).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new o.a((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,c,"next",e)}function c(e){i(a,r,o,s,c,"throw",e)}s(void 0)}))}}},"3c11":function(e,t,n){"use strict";var r=n("63b6"),o=n("584a"),i=n("e53d"),a=n("f201"),s=n("cd78");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},"3c4e":function(e,t,n){"use strict";var r=function(e){return o(e)&&!i(e)};function o(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||c(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function c(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function l(e,t){var n=t&&!0===t.clone;return n&&r(e)?p(u(e),e,t):e}function d(e,t,n){var o=e.slice();return t.forEach((function(t,i){"undefined"===typeof o[i]?o[i]=l(t,n):r(t)?o[i]=p(e[i],t,n):-1===e.indexOf(t)&&o.push(l(t,n))})),o}function f(e,t,n){var o={};return r(e)&&Object.keys(e).forEach((function(t){o[t]=l(e[t],n)})),Object.keys(t).forEach((function(i){r(t[i])&&e[i]?o[i]=p(e[i],t[i],n):o[i]=l(t[i],n)})),o}function p(e,t,n){var r=Array.isArray(t),o=Array.isArray(e),i=n||{arrayMerge:d},a=r===o;if(a){if(r){var s=i.arrayMerge||d;return s(e,t,n)}return f(e,t,n)}return l(t,n)}p.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return p(e,n,t)}))};var h=p;e.exports=h},"3db2":function(e,t,n){},"3f6b":function(e,t,n){e.exports={default:n("51b6"),__esModule:!0}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r=n("6dd8"),o=i(r);function i(e){return e&&e.__esModule?e:{default:e}}var a="undefined"===typeof window,s=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var o;if(n){if(r>=t.length)break;o=t[r++]}else{if(r=t.next(),r.done)break;o=r.value}var i=o,a=i.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new o.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"40c3":function(e,t,n){var r=n("6b4c"),o=n("5168")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},4105:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=121)}({0:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},121:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"el-form",class:[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]},[e._t("default")],2)},o=[];r._withStripped=!0;var i=n(9),a=n.n(i),s={name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach((function(e){e.removeValidateEvents(),e.addValidateEvents()})),this.validateOnRuleChange&&this.validate((function(){}))}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var e=Math.max.apply(Math,this.potentialLabelWidthArr);return e?e+"px":""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var e=this;this.$on("el.form.addField",(function(t){t&&e.fields.push(t)})),this.$on("el.form.removeField",(function(t){t.prop&&e.fields.splice(e.fields.indexOf(t),1)}))},methods:{resetFields:function(){this.model?this.fields.forEach((function(e){e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},clearValidate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length?"string"===typeof e?this.fields.filter((function(t){return e===t.prop})):this.fields.filter((function(t){return e.indexOf(t.prop)>-1})):this.fields;t.forEach((function(e){e.clearValidate()}))},validate:function(e){var t=this;if(this.model){var n=void 0;"function"!==typeof e&&window.Promise&&(n=new window.Promise((function(t,n){e=function(e){e?t(e):n(e)}})));var r=!0,o=0;0===this.fields.length&&e&&e(!0);var i={};return this.fields.forEach((function(n){n.validate("",(function(n,s){n&&(r=!1),i=a()({},i,s),"function"===typeof e&&++o===t.fields.length&&e(r,i)}))})),n||void 0}console.warn("[Element Warn][Form]model is required for validate to work!")},validateField:function(e,t){e=[].concat(e);var n=this.fields.filter((function(t){return-1!==e.indexOf(t.prop)}));n.length?n.forEach((function(e){e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},getLabelWidthIndex:function(e){var t=this.potentialLabelWidthArr.indexOf(e);if(-1===t)throw new Error("[ElementForm]unpected width ",e);return t},registerLabelWidth:function(e,t){if(e&&t){var n=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(n,1,e)}else e&&this.potentialLabelWidthArr.push(e)},deregisterLabelWidth:function(e){var t=this.getLabelWidthIndex(e);this.potentialLabelWidthArr.splice(t,1)}}},c=s,u=n(0),l=Object(u["a"])(c,r,o,!1,null,null,null);l.options.__file="packages/form/src/form.vue";var d=l.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d},9:function(e,t){e.exports=n("7f4d")}})},4178:function(e,t,n){var r,o,i,a=n("d864"),s=n("3024"),c=n("32fc"),u=n("1ec9"),l=n("e53d"),d=l.process,f=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,m=l.Dispatch,g=0,v={},y="onreadystatechange",_=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},S=function(e){_.call(e.data)};f&&p||(f=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete v[e]},"process"==n("6b4c")(d)?r=function(e){d.nextTick(a(_,e,1))}:m&&m.now?r=function(e){m.now(a(_,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=S,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",S,!1)):r=y in u("script")?function(e){c.appendChild(u("script"))[y]=function(){c.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:f,clear:p}},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),o=a(r),i=n("5924");function a(e){return e&&e.__esModule?e:{default:e}}var s=[],c="@@clickoutsideContext",u=void 0,l=0;function d(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&o.target)||e.contains(r.target)||e.contains(o.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(o.target))||(t.expression&&e[c].methodName&&n.context[e[c].methodName]?n.context[e[c].methodName]():e[c].bindingFn&&e[c].bindingFn())}}!o.default.prototype.$isServer&&(0,i.on)(document,"mousedown",(function(e){return u=e})),!o.default.prototype.$isServer&&(0,i.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[c].documentHandler(e,u)}))})),t.default={bind:function(e,t,n){s.push(e);var r=l++;e[c]={id:r,documentHandler:d(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[c].documentHandler=d(e,t,n),e[c].methodName=t.expression,e[c].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n0?r:n)(e)}},"45f2":function(e,t,n){var r=n("d9f6").f,o=n("07e3"),i=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"46a1":function(e,t,n){},"46a7":function(e,t,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(e,t,n){var r=n("c3a1"),o=n("9aa9"),i=n("355d");e.exports=function(e){var t=r(e),n=o.f;if(n){var a,s=n(e),c=i.f,u=0;while(s.length>u)c.call(e,a=s[u++])&&t.push(a)}return t}},"481b":function(e,t){e.exports={}},4897:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("f0d9"),o=d(r),i=n("2b0e"),a=d(i),s=n("3c4e"),c=d(s),u=n("9d7e"),l=d(u);function d(e){return e&&e.__esModule?e:{default:e}}var f=(0,l.default)(a.default),p=o.default,h=!1,m=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return h||(h=!0,a.default.locale(a.default.config.lang,(0,c.default)(p,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),o=p,i=0,a=r.length;i_;_++)if(g=t?y(a(h=e[_])[0],h[1]):y(e[_]),g===u||g===l)return g}else for(m=v.call(e);!(h=m.next()).done;)if(g=o(m,y,h.value,t),g===u||g===l)return g};t.BREAK=u,t.RETURN=l},"4b26":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),o=a(r),i=n("5924");function a(e){return e&&e.__esModule?e:{default:e}}var s=!1,c=!1,u=void 0,l=function(){if(!o.default.prototype.$isServer){var e=f.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),f.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){f.doOnModalClick&&f.doOnModalClick()}))),e}},d={},f={modalFade:!0,getInstance:function(e){return d[e]},register:function(e,t){e&&t&&(d[e]=t)},deregister:function(e){e&&(d[e]=null,delete d[e])},nextZIndex:function(){return f.zIndex++},modalStack:[],doOnModalClick:function(){var e=f.modalStack[f.modalStack.length-1];if(e){var t=f.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,r,a){if(!o.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=a;for(var c=this.modalStack,u=0,d=c.length;u0){var r=t[t.length-1];if(r.id===e){if(r.modalClass){var o=r.modalClass.trim().split(/\s+/);o.forEach((function(e){return(0,i.removeClass)(n,e)}))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var a=t.length-1;a>=0;a--)if(t[a].id===e){t.splice(a,1);break}}0===t.length&&(this.modalFade&&(0,i.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",f.modalDom=void 0),(0,i.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(f,"zIndex",{configurable:!0,get:function(){return c||(u=u||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,c=!0),u},set:function(e){u=e}});var p=function(){if(!o.default.prototype.$isServer&&f.modalStack.length>0){var e=f.modalStack[f.modalStack.length-1];if(!e)return;var t=f.getInstance(e.id);return t}};o.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=p();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t.default=f},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},"4c95":function(e,t,n){"use strict";var r=n("e53d"),o=n("584a"),i=n("d9f6"),a=n("8e60"),s=n("5168")("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},"4e4b":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=61)}([function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},,,function(e,t){e.exports=n("8122")},function(e,t){e.exports=n("d010")},function(e,t){e.exports=n("e974")},function(e,t){e.exports=n("6b7c")},,,,function(e,t){e.exports=n("f3ad")},,function(e,t){e.exports=n("417f")},,function(e,t){e.exports=n("14e9")},,function(e,t){e.exports=n("4010")},function(e,t){e.exports=n("0e15")},,function(e,t){e.exports=n("4897")},,function(e,t){e.exports=n("d397")},function(e,t){e.exports=n("12f2")},,,,,,,,,function(e,t){e.exports=n("2a5e")},,,function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)},o=[];r._withStripped=!0;var i=n(4),a=n.n(i),s=n(3),c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u={mixins:[a.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,r=n.remote,o=n.valueKey;if(!this.created&&!r){if(o&&"object"===("undefined"===typeof e?"undefined":c(e))&&"object"===("undefined"===typeof t?"undefined":c(t))&&e[o]===t[o])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,r=n?t:[t],o=this.select.cachedOptions.indexOf(this),i=r.indexOf(this);o>-1&&i<0&&this.select.cachedOptions.splice(o,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},l=u,d=n(0),f=Object(d["a"])(l,r,o,!1,null,null,null);f.options.__file="packages/select/src/option.vue";t["a"]=f.exports},,,,function(e,t){e.exports=n("8bbc")},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.navigateOptions("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur},nativeOn:{keyup:function(t){return e.debouncedOnInputChange(t)},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],paste:function(t){return e.debouncedOnInputChange(t)},mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},o=[];r._withStripped=!0;var i=n(4),a=n.n(i),s=n(22),c=n.n(s),u=n(6),l=n.n(u),d=n(10),f=n.n(d),p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},h=[];p._withStripped=!0;var m=n(5),g=n.n(m),v={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[g.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},y=v,_=n(0),S=Object(_["a"])(y,p,h,!1,null,null,null);S.options.__file="packages/select/src/select-dropdown.vue";var b=S.exports,E=n(34),C=n(38),T=n.n(C),I=n(14),w=n.n(I),O=n(17),k=n.n(O),R=n(12),A=n.n(R),M=n(16),x=n(19),D=n(31),N=n.n(D),P=n(3),L={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},G=n(21),U={mixins:[a.a,l.a,c()("reference"),L],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(P["isIE"])()&&!Object(P["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"}},components:{ElInput:f.a,ElSelectMenu:b,ElOption:E["a"],ElTag:T.a,ElScrollbar:w.a},directives:{Clickoutside:A.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,default:function(){return Object(x["t"])("el.select.placeholder")}},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},placeholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(P["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(n)}));else{var r=n[n.length-1]||"";this.isOnComposition=!Object(G["isKorean"])(r)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");N()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(P["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),r="[object null]"===Object.prototype.toString.call(e).toLowerCase(),o="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),i=this.cachedOptions.length-1;i>=0;i--){var a=this.cachedOptions[i],s=n?Object(P["getValueByPath"])(a.value,this.valueKey)===Object(P["getValueByPath"])(e,this.valueKey):a.value===e;if(s){t=a;break}}if(t)return t;var c=n||r||o?"":e,u={value:e,currentLabel:c};return this.multiple&&(u.hitState=!1),u},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(t){n.push(e.getOption(t))})),this.selected=n,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.visible=!0,this.filterable&&(this.menuVisibleOnFocus=!0)),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],r=e.$refs.tags,o=e.initialInputHeight||40;n.style.height=0===e.selected.length?o+"px":Math.max(r?r.clientHeight+(r.clientHeight>o?6:0):0,o)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var r=(this.value||[]).slice(),o=this.getValueIndex(r,e.value);o>-1?r.splice(o,1):(this.multipleLimit<=0||r.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(n){var r=this.valueKey,o=-1;return e.some((function(e,n){return Object(P["getValueByPath"])(e,r)===Object(P["getValueByPath"])(t,r)&&(o=n,!0)})),o}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var r=this.value.slice();r.splice(n,1),this.$emit("input",r),this.emitChange(r),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var r=this.options[n];if(this.query){if(!r.disabled&&!r.groupDisabled&&r.visible){this.hoverIndex=n;break}}else if(r.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(P["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.placeholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=k()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=k()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(M["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n={medium:36,small:32,mini:28},r=t.$el.querySelector("input");this.initialInputHeight=r.getBoundingClientRect().height||n[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(M["removeResizeListener"])(this.$el,this.handleResize)}},j=U,F=Object(_["a"])(j,r,o,!1,null,null,null);F.options.__file="packages/select/src/select.vue";var B=F.exports;B.install=function(e){e.component(B.name,B)};t["default"]=B}])},"4ee1":function(e,t,n){var r=n("5168")("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(a){}return n}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5128:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var r=n("2b0e"),o=f(r),i=n("7f4d"),a=f(i),s=n("4b26"),c=f(s),u=n("e62d"),l=f(u),d=n("5924");function f(e){return e&&e.__esModule?e:{default:e}}var p=1,h=void 0;t.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+p++,c.default.register(this._popupId,this)},beforeDestroy:function(){c.default.deregister(this._popupId),c.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,o.default.nextTick((function(){t.open()})))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,a.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(c.default.zIndex=r),n&&(this._closing&&(c.default.closeModal(this._popupId),this._closing=!1),c.default.openModal(this._popupId,c.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,d.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,d.getStyle)(document.body,"paddingRight"),10)),h=(0,l.default)();var o=document.documentElement.clientHeight0&&(o||"scroll"===i)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+h+"px"),(0,d.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=c.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout((function(){e._closeTimer=null,e.doClose()}),t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){c.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,d.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=c.default},5147:function(e,t,n){var r=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(o){}}return!0}},5168:function(e,t,n){var r=n("dbdb")("wks"),o=n("62a0"),i=n("e53d").Symbol,a="function"==typeof i,s=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=r},"51b6":function(e,t,n){n("a3c3"),e.exports=n("584a").Object.assign},"520a":function(e,t,n){"use strict";var r=n("0bfb"),o=RegExp.prototype.exec,i=String.prototype.replace,a=o,s="lastIndex",c=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e[s]||0!==t[s]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(a=function(e){var t,n,a,l,d=this;return u&&(n=new RegExp("^"+d.source+"$(?!\\s)",r.call(d))),c&&(t=d[s]),a=o.call(d,e),c&&a&&(d[s]=d.global?a.index+a[0].length:t),u&&a&&a.length>1&&i.call(a[0],n,(function(){for(l=1;l1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=c(f.length),n=new p(t);t>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(d=y.call(f),n=new p;!(o=d.next()).done;v++)u(n,v,g?a(d,m,[o.value,v],!0):o.value);return n.length=v,n}})},"54a1":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("95d5")},"551c":function(e,t,n){"use strict";var r,o,i,a,s=n("2d00"),c=n("7726"),u=n("9b43"),l=n("23c6"),d=n("5ca1"),f=n("d3f4"),p=n("d8e8"),h=n("f605"),m=n("4a59"),g=n("ebd6"),v=n("1991").set,y=n("8079")(),_=n("a5b8"),S=n("9c80"),b=n("a25f"),E=n("bcaa"),C="Promise",T=c.TypeError,I=c.process,w=I&&I.versions,O=w&&w.v8||"",k=c[C],R="process"==l(I),A=function(){},M=o=_.f,x=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(A,A)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==O.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(r){}}(),D=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(o||(2==e._h&&G(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===t.promise?u(T("Promise-chain cycle")):(i=D(n))?i.call(n,c,u):c(n)):u(r)}catch(d){l&&!a&&l.exit(),u(d)}};while(n.length>i)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){v.call(c,(function(){var t,n,r,o=e._v,i=L(e);if(i&&(t=S((function(){R?I.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=R||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},G=function(e){v.call(c,(function(){var t;R?I.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},U=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw T("Promise can't be resolved itself");(t=D(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,u(j,r,1),u(U,r,1))}catch(o){U.call(r,o)}})):(n._v=e,n._s=1,N(n,!1))}catch(r){U.call({_w:n,_d:!1},r)}}};x||(k=function(e){h(this,k,C,"_h"),p(e),r.call(this);try{e(u(j,this,1),u(U,this,1))}catch(t){U.call(this,t)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(k.prototype,{then:function(e,t){var n=M(g(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=R?I.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(j,e,1),this.reject=u(U,e,1)},_.f=M=function(e){return e===k||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!x,{Promise:k}),n("7f20")(k,C),n("7a56")(C),a=n("8378")[C],d(d.S+d.F*!x,C,{reject:function(e){var t=M(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!x),C,{resolve:function(e){return E(s&&this===a?k:this,e)}}),d(d.S+d.F*!(x&&n("5cc5")((function(e){k.all(e)["catch"](A)}))),C,{all:function(e){var t=this,n=M(t),r=n.resolve,o=n.reject,i=S((function(){var n=[],i=0,a=1;m(e,!1,(function(e){var s=i++,c=!1;n.push(void 0),a++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,o=S((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},5537:function(e,t,n){var r=n("8378"),o=n("7726"),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,n){var r=n("dbdb")("keys"),o=n("62a0");e.exports=function(e){return r[e]||(r[e]=o(e))}},5781:function(e,t,n){(function(t){!function(t,n){e.exports=n()}(0,(function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r=function(e){return e&&e.Math==Math&&e},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")(),i=function(e){try{return!!e()}catch(n){return!0}},a=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),s={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,u={f:c&&!s.call({1:2},1)?function(e){var t=c(this,e);return!!t&&t.enumerable}:s},l=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},d={}.toString,f=function(e){return d.call(e).slice(8,-1)},p="".split,h=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==f(e)?p.call(e,""):Object(e)}:Object,m=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},g=function(e){return h(m(e))},v=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!v(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!v(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!v(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!v(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},_={}.hasOwnProperty,S=function(e,t){return _.call(e,t)},b=o.document,E=v(b)&&v(b.createElement),C=function(e){return E?b.createElement(e):{}},T=!a&&!i((function(){return 7!=Object.defineProperty(C("div"),"a",{get:function(){return 7}}).a})),I=Object.getOwnPropertyDescriptor,w={f:a?I:function(e,t){if(e=g(e),t=y(t,!0),T)try{return I(e,t)}catch(r){}if(S(e,t))return l(!u.f.call(e,t),e[t])}},O=function(e){if(!v(e))throw TypeError(String(e)+" is not an object");return e},k=Object.defineProperty,R={f:a?k:function(e,t,n){if(O(e),t=y(t,!0),O(n),T)try{return k(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},A=a?function(e,t,n){return R.f(e,t,l(1,n))}:function(e,t,n){return e[t]=n,e},M=function(e,t){try{A(o,e,t)}catch(r){o[e]=t}return t},x=o["__core-js_shared__"]||M("__core-js_shared__",{}),D=Function.toString;"function"!=typeof x.inspectSource&&(x.inspectSource=function(e){return D.call(e)});var N,P,L,G=x.inspectSource,U=o.WeakMap,j="function"==typeof U&&/native code/.test(G(U)),F=n((function(e){(e.exports=function(e,t){return x[e]||(x[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),B=0,V=Math.random(),q=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++B+V).toString(36)},$=F("keys"),H=function(e){return $[e]||($[e]=q(e))},K={},z=o.WeakMap;if(j){var W=new z,Y=W.get,J=W.has,X=W.set;N=function(e,t){return X.call(W,e,t),t},P=function(e){return Y.call(W,e)||{}},L=function(e){return J.call(W,e)}}else{var Q=H("state");K[Q]=!0,N=function(e,t){return A(e,Q,t),t},P=function(e){return S(e,Q)?e[Q]:{}},L=function(e){return S(e,Q)}}var Z,ee,te={set:N,get:P,has:L,enforce:function(e){return L(e)?P(e):N(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=P(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ne=n((function(e){var t=te.get,n=te.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var s=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||S(i,"name")||A(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e!==o?(s?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=i:A(e,t,i)):c?e[t]=i:M(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||G(this)}))})),re=o,oe=function(e){return"function"==typeof e?e:void 0},ie=function(e,t){return arguments.length<2?oe(re[e])||oe(o[e]):re[e]&&re[e][t]||o[e]&&o[e][t]},ae=Math.ceil,se=Math.floor,ce=function(e){return isNaN(e=+e)?0:(e>0?se:ae)(e)},ue=Math.min,le=function(e){return e>0?ue(ce(e),9007199254740991):0},de=Math.max,fe=Math.min,pe=function(e,t){var n=ce(e);return n<0?de(n+t,0):fe(n,t)},he=function(e){return function(t,n,r){var o,i=g(t),a=le(i.length),s=pe(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},me={includes:he(!0),indexOf:he(!1)},ge=me.indexOf,ve=function(e,t){var n,r=g(e),o=0,i=[];for(n in r)!S(K,n)&&S(r,n)&&i.push(n);for(;t.length>o;)S(r,n=t[o++])&&(~ge(i,n)||i.push(n));return i},ye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_e=ye.concat("length","prototype"),Se={f:Object.getOwnPropertyNames||function(e){return ve(e,_e)}},be={f:Object.getOwnPropertySymbols},Ee=ie("Reflect","ownKeys")||function(e){var t=Se.f(O(e)),n=be.f;return n?t.concat(n(e)):t},Ce=function(e,t){for(var n=Ee(t),r=R.f,o=w.f,i=0;i=74)&&(Z=$e.match(/Chrome\/(\d+)/))&&(ee=Z[1]);var We=ee&&+ee,Ye=Be("species"),Je=function(e){return We>=51||!i((function(){var t=[];return(t.constructor={})[Ye]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Xe=Be("isConcatSpreadable"),Qe=We>=51||!i((function(){var e=[];return e[Xe]=!1,e.concat()[0]!==e})),Ze=Je("concat"),et=function(e){if(!v(e))return!1;var t=e[Xe];return void 0!==t?!!t:De(e)};xe({target:"Array",proto:!0,forced:!Qe||!Ze},{concat:function(e){var t,n,r,o,i,a=Ne(this),s=qe(a,0),c=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");Pe(s,c++,i)}return s.length=c,s}});var tt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},nt=function(e,t,n){if(tt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},rt=[].push,ot=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=5==e||i;return function(s,c,u,l){for(var d,f,p=Ne(s),m=h(p),g=nt(c,u,3),v=le(m.length),y=0,_=l||qe,S=t?_(s,v):n?_(s,0):void 0;v>y;y++)if((a||y in m)&&(f=g(d=m[y],y,p),e))if(t)S[y]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:rt.call(S,d)}else if(o)return!1;return i?-1:r||o?o:S}},it={forEach:ot(0),map:ot(1),filter:ot(2),some:ot(3),every:ot(4),find:ot(5),findIndex:ot(6)},at=it.filter,st=Je("filter"),ct=st&&!i((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));xe({target:"Array",proto:!0,forced:!st||!ct},{filter:function(e){return at(this,e,arguments.length>1?arguments[1]:void 0)}});var ut=it.map,lt=Je("map"),dt=lt&&!i((function(){[].map.call({length:-1,0:1},(function(e){throw e}))}));function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pt(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function ht(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){pt(i,r,o,a,s,"next",e)}function s(e){pt(i,r,o,a,s,"throw",e)}a(void 0)}))}}function mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t){for(var n=0;n1?arguments[1]:void 0)}}),n((function(e){!function(t){var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",u=t.regeneratorRuntime;if(u)e.exports=u;else{(u=t.regeneratorRuntime=e.exports).wrap=_;var l="suspendedStart",d="suspendedYield",f="executing",p="completed",h={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==r&&o.call(v,a)&&(m=v);var y=C.prototype=b.prototype=Object.create(m);E.prototype=y.constructor=C,C.constructor=E,C[c]=E.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(y),e},u.awrap=function(e){return{__await:e}},T(I.prototype),I.prototype[s]=function(){return this},u.AsyncIterator=I,u.async=function(e,t,n,r){var o=new I(_(e,t,n,r));return u.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},T(y),y[c]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=A,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return s.type="throw",s.arg=e,t.next=r,o&&(t.method="next",t.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),h}}}function _(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),a=new R(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw i;return M()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=S(e,t,n);if("normal"===c.type){if(r=n.done?p:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function S(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function b(){}function E(){}function C(){}function T(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function I(e){var t;this._invoke=function(n,r){function i(){return new Promise((function(t,i){!function t(n,r,i,a){var s=S(e[n],e,r);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){c.value=e,i(c)}),a)}a(s.arg)}(n,r,t,i)}))}return t=t?t.then(i,i):i()}}function w(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,w(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=S(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function A(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r=n&&parseInt(r[n],10)}function Mt(e,t,n){if(!e.RTCPeerConnection)return;const r=e.RTCPeerConnection.prototype,o=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return o.apply(this,arguments);const i=e=>{const t=n(e);t&&r(t)};return this._eventMap=this._eventMap||{},this._eventMap[r]=i,o.apply(this,[e,i])};const i=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[n])return i.apply(this,arguments);const r=this._eventMap[n];return delete this._eventMap[n],i.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get(){return this["_on"+t]},set(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}function xt(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(kt=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function Dt(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(Rt=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function Nt(){if("object"==typeof window){if(kt)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}}function Pt(e,t){Rt&&console.warn(e+" is deprecated, please use "+t+" instead.")}function Lt(e){const{navigator:t}=e,n={browser:null,version:null};if(void 0===e||!e.navigator)return n.browser="Not a browser.",n;if(t.mozGetUserMedia)n.browser="firefox",n.version=At(t.userAgent,/Firefox\/(\d+)\./,1);else if(t.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection&&!e.RTCIceGatherer)n.browser="chrome",n.version=At(t.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(t.mediaDevices&&t.userAgent.match(/Edge\/(\d+).(\d+)$/))n.browser="edge",n.version=At(t.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!e.RTCPeerConnection||!t.userAgent.match(/AppleWebKit\/(\d+)\./))return n.browser="Not a supported browser.",n;n.browser="safari",n.version=At(t.userAgent,/AppleWebKit\/(\d+)\./,1),n.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return n}function Gt(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ut(e){return Gt(e)?Object.keys(e).reduce((function(t,n){const r=Gt(e[n]),o=r?Ut(e[n]):e[n],i=r&&!Object.keys(o).length;return void 0===o||i?t:Object.assign(t,{[n]:o})}),{}):e}function jt(e,t,n){const r=n?"outbound-rtp":"inbound-rtp",o=new Map;if(null===t)return o;const i=[];return e.forEach(e=>{"track"===e.type&&e.trackIdentifier===t.id&&i.push(e)}),i.forEach(t=>{e.forEach(n=>{n.type===r&&n.trackId===t.id&&function e(t,n,r){n&&!r.has(n.id)&&(r.set(n.id,n),Object.keys(n).forEach(o=>{o.endsWith("Id")?e(t,t.get(n[o]),r):o.endsWith("Ids")&&n[o].forEach(n=>{e(t,t.get(n),r)})}))}(e,n,o)})}),o}const Ft=Nt;function Bt(e){const t=e&&e.navigator;if(!t.mediaDevices)return;const n=Lt(e),r=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;const t={};return Object.keys(e).forEach(n=>{if("require"===n||"advanced"===n||"mediaSource"===n)return;const r="object"==typeof e[n]?e[n]:{ideal:e[n]};void 0!==r.exact&&"number"==typeof r.exact&&(r.min=r.max=r.exact);const o=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==r.ideal){t.optional=t.optional||[];let e={};"number"==typeof r.ideal?(e[o("min",n)]=r.ideal,t.optional.push(e),(e={})[o("max",n)]=r.ideal,t.optional.push(e)):(e[o("",n)]=r.ideal,t.optional.push(e))}void 0!==r.exact&&"number"!=typeof r.exact?(t.mandatory=t.mandatory||{},t.mandatory[o("",n)]=r.exact):["min","max"].forEach(e=>{void 0!==r[e]&&(t.mandatory=t.mandatory||{},t.mandatory[o(e,n)]=r[e])})}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},o=function(e,o){if(n.version>=61)return o(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"==typeof e.audio){const t=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};t((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),t(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=r(e.audio)}if(e&&"object"==typeof e.video){let i=e.video.facingMode;i=i&&("object"==typeof i?i:{ideal:i});const a=n.version<66;if(i&&("user"===i.exact||"environment"===i.exact||"user"===i.ideal||"environment"===i.ideal)&&(!t.mediaDevices.getSupportedConstraints||!t.mediaDevices.getSupportedConstraints().facingMode||a)){let n;if(delete e.video.facingMode,"environment"===i.exact||"environment"===i.ideal?n=["back","rear"]:"user"!==i.exact&&"user"!==i.ideal||(n=["front"]),n)return t.mediaDevices.enumerateDevices().then(t=>{let a=(t=t.filter(e=>"videoinput"===e.kind)).find(e=>n.some(t=>e.label.toLowerCase().includes(t)));return!a&&t.length&&n.includes("back")&&(a=t[t.length-1]),a&&(e.video.deviceId=i.exact?{exact:a.deviceId}:{ideal:a.deviceId}),e.video=r(e.video),Ft("chrome: "+JSON.stringify(e)),o(e)})}e.video=r(e.video)}return Ft("chrome: "+JSON.stringify(e)),o(e)},i=function(e){return n.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}};if(t.getUserMedia=function(e,n,r){o(e,e=>{t.webkitGetUserMedia(e,n,e=>{r&&r(i(e))})})}.bind(t),t.mediaDevices.getUserMedia){const e=t.mediaDevices.getUserMedia.bind(t.mediaDevices);t.mediaDevices.getUserMedia=function(t){return o(t,t=>e(t).then(e=>{if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(e=>{e.stop()}),new DOMException("","NotFoundError");return e},e=>Promise.reject(i(e))))}}}function Vt(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function qt(e){if("object"!=typeof e||!e.RTCPeerConnection||"ontrack"in e.RTCPeerConnection.prototype)Mt(e,"track",e=>(e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e));else{Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=t=>{t.stream.addEventListener("addtrack",n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===n.track.id):{track:n.track};const o=new Event("track");o.track=n.track,o.receiver=r,o.transceiver={receiver:r},o.streams=[t.stream],this.dispatchEvent(o)}),t.stream.getTracks().forEach(n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===n.id):{track:n};const o=new Event("track");o.track=n,o.receiver=r,o.transceiver={receiver:r},o.streams=[t.stream],this.dispatchEvent(o)})},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}}function $t(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){const t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};const n=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){let o=n.apply(this,arguments);return o||(o=t(this,e),this._senders.push(o)),o};const r=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){r.apply(this,arguments);const t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._senders=this._senders||[],n.apply(this,[e]),e.getTracks().forEach(e=>{this._senders.push(t(this,e))})};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._senders=this._senders||[],r.apply(this,[e]),e.getTracks().forEach(e=>{const t=this._senders.find(t=>t.track===e);t&&this._senders.splice(this._senders.indexOf(t),1)})}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){const t=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function Ht(e){if(!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){const[e,n,r]=arguments;if(arguments.length>0&&"function"==typeof e)return t.apply(this,arguments);if(0===t.length&&(0===arguments.length||"function"!=typeof e))return t.apply(this,[]);const o=function(e){const t={};return e.result().forEach(e=>{const n={id:e.id,timestamp:e.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[e.type]||e.type};e.names().forEach(t=>{n[t]=e.stat(t)}),t[n.id]=n}),t},i=function(e){return new Map(Object.keys(e).map(t=>[t,e[t]]))};if(arguments.length>=2){const r=function(e){n(i(o(e)))};return t.apply(this,[r,e])}return new Promise((e,n)=>{t.apply(this,[function(t){e(i(o(t)))},n])}).then(n,r)}}function Kt(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){const t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});const n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){const e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){const e=this;return this._pc.getStats().then(t=>jt(t,e.track,!0))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){const t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),Mt(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){const e=this;return this._pc.getStats().then(t=>jt(t,e.track,!1))}}if(!("getStats"in e.RTCRtpSender.prototype)||!("getStats"in e.RTCRtpReceiver.prototype))return;const t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){const e=arguments[0];let t,n,r;return this.getSenders().forEach(n=>{n.track===e&&(t?r=!0:t=n)}),this.getReceivers().forEach(t=>(t.track===e&&(n?r=!0:n=t),t.track===e)),r||t&&n?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):t?t.getStats():n?n.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return t.apply(this,arguments)}}function zt(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(e=>this._shimmedLocalStreams[e][0])};const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){if(!n)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};const r=t.apply(this,arguments);return this._shimmedLocalStreams[n.id]?-1===this._shimmedLocalStreams[n.id].indexOf(r)&&this._shimmedLocalStreams[n.id].push(r):this._shimmedLocalStreams[n.id]=[n,r],r};const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")});const t=this.getSenders();n.apply(this,arguments);const r=this.getSenders().filter(e=>-1===t.indexOf(e));this._shimmedLocalStreams[e.id]=[e].concat(r)};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],r.apply(this,arguments)};const o=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach(t=>{const n=this._shimmedLocalStreams[t].indexOf(e);-1!==n&&this._shimmedLocalStreams[t].splice(n,1),1===this._shimmedLocalStreams[t].length&&delete this._shimmedLocalStreams[t]}),o.apply(this,arguments)}}function Wt(e){if(!e.RTCPeerConnection)return;const t=Lt(e);if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return zt(e);const n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){const e=n.apply(this);return this._reverseStreams=this._reverseStreams||{},e.map(e=>this._reverseStreams[e.id])};const r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[t.id]){const n=new e.MediaStream(t.getTracks());this._streams[t.id]=n,this._reverseStreams[n.id]=t,t=n}r.apply(this,[t])};const o=e.RTCPeerConnection.prototype.removeStream;function i(e,t){let n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{const r=e._reverseStreams[t],o=e._streams[r.id];n=n.replace(new RegExp(o.id,"g"),r.id)}),new RTCSessionDescription({type:t.type,sdp:n})}function a(e,t){let n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{const r=e._reverseStreams[t],o=e._streams[r.id];n=n.replace(new RegExp(r.id,"g"),o.id)}),new RTCSessionDescription({type:t.type,sdp:n})}e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},o.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,n){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");const r=[].slice.call(arguments,1);if(1!==r.length||!r[0].getTracks().find(e=>e===t))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");const o=this.getSenders().find(e=>e.track===t);if(o)throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};const i=this._streams[n.id];if(i)i.addTrack(t),Promise.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{const r=new e.MediaStream([t]);this._streams[n.id]=r,this._reverseStreams[r.id]=n,this.addStream(r)}return this.getSenders().find(e=>e.track===t)},["createOffer","createAnswer"].forEach((function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){const e=arguments;return arguments.length&&"function"==typeof arguments[0]?n.apply(this,[t=>{const n=i(this,t);e[0].apply(null,[n])},t=>{e[1]&&e[1].apply(null,t)},arguments[2]]):n.apply(this,arguments).then(e=>i(this,e))}};e.RTCPeerConnection.prototype[t]=r[t]}));const s=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=a(this,arguments[0]),s.apply(this,arguments)):s.apply(this,arguments)};const c=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get(){const e=c.get.apply(this);return""===e.type?e:i(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(e._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");let t;this._streams=this._streams||{},Object.keys(this._streams).forEach(n=>{this._streams[n].getTracks().find(t=>e.track===t)&&(t=this._streams[n])}),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function Yt(e){const t=Lt(e);if(!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),!e.RTCPeerConnection)return;t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=r[t]}));const n=e.RTCPeerConnection.prototype.addIceCandidate;e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?t.version<78&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())}}function Jt(e){Mt(e,"negotiationneeded",e=>{if("stable"===e.target.signalingState)return e})}var Xt=Object.freeze({shimMediaStream:Vt,shimOnTrack:qt,shimGetSendersWithDtmf:$t,shimGetStats:Ht,shimSenderReceiverGetStats:Kt,shimAddTrackRemoveTrackWithNative:zt,shimAddTrackRemoveTrack:Wt,shimPeerConnection:Yt,fixNegotiationNeeded:Jt,shimGetUserMedia:Bt,shimGetDisplayMedia:function(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&("function"==typeof t?e.navigator.mediaDevices.getDisplayMedia=function(n){return t(n).then(t=>{const r=n.video&&n.video.width,o=n.video&&n.video.height,i=n.video&&n.video.frameRate;return n.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxFrameRate:i||3}},r&&(n.video.mandatory.maxWidth=r),o&&(n.video.mandatory.maxHeight=o),e.navigator.mediaDevices.getUserMedia(n)})}:console.error("shimGetDisplayMedia: getSourceId argument is not a function"))}}),Qt=n((function(e){var t={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};t.localCName=t.generateIdentifier(),t.splitLines=function(e){return e.trim().split("\n").map((function(e){return e.trim()}))},t.splitSections=function(e){return e.split("\nm=").map((function(e,t){return(t>0?"m="+e:e).trim()+"\r\n"}))},t.getDescription=function(e){var n=t.splitSections(e);return n&&n[0]},t.getMediaSections=function(e){var n=t.splitSections(e);return n.shift(),n},t.matchPrefix=function(e,n){return t.splitLines(e).filter((function(e){return 0===e.indexOf(n)}))},t.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:parseInt(t[1],10),protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]},r=8;r0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},t.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},t.parseFmtp=function(e){for(var t,n={},r=e.substr(e.indexOf(" ")+1).split(";"),o=0;o-1?(n.attribute=e.substr(t+1,r-t-1),n.value=e.substr(r+1)):n.attribute=e.substr(t+1),n},t.parseSsrcGroup=function(e){var t=e.substr(13).split(" ");return{semantics:t.shift(),ssrcs:t.map((function(e){return parseInt(e,10)}))}},t.getMid=function(e){var n=t.matchPrefix(e,"a=mid:")[0];if(n)return n.substr(6)},t.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},t.getDtlsParameters=function(e,n){return{role:"auto",fingerprints:t.matchPrefix(e+n,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach((function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"})),n},t.getIceParameters=function(e,n){var r=t.splitLines(e);return{usernameFragment:(r=r.concat(t.splitLines(n))).filter((function(e){return 0===e.indexOf("a=ice-ufrag:")}))[0].substr(12),password:r.filter((function(e){return 0===e.indexOf("a=ice-pwd:")}))[0].substr(10)}},t.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},t.parseRtpParameters=function(e){for(var n={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=t.splitLines(e)[0].split(" "),o=3;o0?"9":"0",r+=" UDP/TLS/RTP/SAVPF ",r+=n.codecs.map((function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType})).join(" ")+"\r\n",r+="c=IN IP4 0.0.0.0\r\n",r+="a=rtcp:9 IN IP4 0.0.0.0\r\n",n.codecs.forEach((function(e){r+=t.writeRtpMap(e),r+=t.writeFmtp(e),r+=t.writeRtcpFb(e)}));var o=0;return n.codecs.forEach((function(e){e.maxptime>o&&(o=e.maxptime)})),o>0&&(r+="a=maxptime:"+o+"\r\n"),r+="a=rtcp-mux\r\n",n.headerExtensions&&n.headerExtensions.forEach((function(e){r+=t.writeExtmap(e)})),r},t.parseRtpEncodingParameters=function(e){var n,r=[],o=t.parseRtpParameters(e),i=-1!==o.fecMechanisms.indexOf("RED"),a=-1!==o.fecMechanisms.indexOf("ULPFEC"),s=t.matchPrefix(e,"a=ssrc:").map((function(e){return t.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute})),c=s.length>0&&s[0].ssrc,u=t.matchPrefix(e,"a=ssrc-group:FID").map((function(e){return e.substr(17).split(" ").map((function(e){return parseInt(e,10)}))}));u.length>0&&u[0].length>1&&u[0][0]===c&&(n=u[0][1]),o.codecs.forEach((function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var t={ssrc:c,codecPayloadType:parseInt(e.parameters.apt,10)};c&&n&&(t.rtx={ssrc:n}),r.push(t),i&&((t=JSON.parse(JSON.stringify(t))).fec={ssrc:c,mechanism:a?"red+ulpfec":"red"},r.push(t))}})),0===r.length&&c&&r.push({ssrc:c});var l=t.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substr(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substr(5),10)*.95-16e3:void 0,r.forEach((function(e){e.maxBitrate=l}))),r},t.parseRtcpParameters=function(e){var n={},r=t.matchPrefix(e,"a=ssrc:").map((function(e){return t.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute}))[0];r&&(n.cname=r.value,n.ssrc=r.ssrc);var o=t.matchPrefix(e,"a=rtcp-rsize");n.reducedSize=o.length>0,n.compound=0===o.length;var i=t.matchPrefix(e,"a=rtcp-mux");return n.mux=i.length>0,n},t.parseMsid=function(e){var n,r=t.matchPrefix(e,"a=msid:");if(1===r.length)return{stream:(n=r[0].substr(7).split(" "))[0],track:n[1]};var o=t.matchPrefix(e,"a=ssrc:").map((function(e){return t.parseSsrcMedia(e)})).filter((function(e){return"msid"===e.attribute}));return o.length>0?{stream:(n=o[0].value.split(" "))[0],track:n[1]}:void 0},t.generateSessionId=function(){return Math.random().toString().substr(2,21)},t.writeSessionBoilerplate=function(e,n,r){var o=void 0!==n?n:2;return"v=0\r\no="+(r||"thisisadapterortc")+" "+(e||t.generateSessionId())+" "+o+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.writeMediaSection=function(e,n,r,o){var i=t.writeRtpDescription(e.kind,n);if(i+=t.writeIceParameters(e.iceGatherer.getLocalParameters()),i+=t.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===r?"actpass":"active"),i+="a=mid:"+e.mid+"\r\n",e.direction?i+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?i+="a=sendrecv\r\n":e.rtpSender?i+="a=sendonly\r\n":e.rtpReceiver?i+="a=recvonly\r\n":i+="a=inactive\r\n",e.rtpSender){var a="msid:"+o.id+" "+e.rtpSender.track.id+"\r\n";i+="a="+a,i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+a,e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+a,i+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+t.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+t.localCName+"\r\n"),i},t.getDirection=function(e,n){for(var r=t.splitLines(e),o=0;o=14393&&-1===e.indexOf("?transport=udp"):(n=!0,!0)})),delete e.url,e.urls=o?r[0]:r,!!r.length}}))}(n.iceServers||[],t),this._iceGatherers=[],n.iceCandidatePoolSize)for(var i=n.iceCandidatePoolSize;i>0;i--)this._iceGatherers.push(new e.RTCIceGatherer({iceServers:n.iceServers,gatherPolicy:n.iceTransportPolicy}));else n.iceCandidatePoolSize=0;this._config=n,this.transceivers=[],this._sdpSessionId=Qt.generateSessionId(),this._sdpSessionVersion=0,this._dtlsRole=void 0,this._isClosed=!1};Object.defineProperty(o.prototype,"localDescription",{configurable:!0,get:function(){return this._localDescription}}),Object.defineProperty(o.prototype,"remoteDescription",{configurable:!0,get:function(){return this._remoteDescription}}),o.prototype.onicecandidate=null,o.prototype.onaddstream=null,o.prototype.ontrack=null,o.prototype.onremovestream=null,o.prototype.onsignalingstatechange=null,o.prototype.oniceconnectionstatechange=null,o.prototype.onconnectionstatechange=null,o.prototype.onicegatheringstatechange=null,o.prototype.onnegotiationneeded=null,o.prototype.ondatachannel=null,o.prototype._dispatchEvent=function(e,t){this._isClosed||(this.dispatchEvent(t),"function"==typeof this["on"+e]&&this["on"+e](t))},o.prototype._emitGatheringStateChange=function(){var e=new Event("icegatheringstatechange");this._dispatchEvent("icegatheringstatechange",e)},o.prototype.getConfiguration=function(){return this._config},o.prototype.getLocalStreams=function(){return this.localStreams},o.prototype.getRemoteStreams=function(){return this.remoteStreams},o.prototype._createTransceiver=function(e,t){var n=this.transceivers.length>0,r={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:e,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,associatedRemoteMediaStreams:[],wantReceive:!0};if(this.usingBundle&&n)r.iceTransport=this.transceivers[0].iceTransport,r.dtlsTransport=this.transceivers[0].dtlsTransport;else{var o=this._createIceAndDtlsTransports();r.iceTransport=o.iceTransport,r.dtlsTransport=o.dtlsTransport}return t||this.transceivers.push(r),r},o.prototype.addTrack=function(t,n){if(this._isClosed)throw rn("InvalidStateError","Attempted to call addTrack on a closed peerconnection.");var r;if(this.transceivers.find((function(e){return e.track===t})))throw rn("InvalidAccessError","Track already exists.");for(var o=0;o=15025)e.getTracks().forEach((function(t){n.addTrack(t,e)}));else{var r=e.clone();e.getTracks().forEach((function(e,t){var n=r.getTracks()[t];e.addEventListener("enabled",(function(e){n.enabled=e.enabled}))})),r.getTracks().forEach((function(e){n.addTrack(e,r)}))}},o.prototype.removeTrack=function(t){if(this._isClosed)throw rn("InvalidStateError","Attempted to call removeTrack on a closed peerconnection.");if(!(t instanceof e.RTCRtpSender))throw new TypeError("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.");var n=this.transceivers.find((function(e){return e.rtpSender===t}));if(!n)throw rn("InvalidAccessError","Sender was not created by this connection.");var r=n.stream;n.rtpSender.stop(),n.rtpSender=null,n.track=null,n.stream=null,-1===this.transceivers.map((function(e){return e.stream})).indexOf(r)&&this.localStreams.indexOf(r)>-1&&this.localStreams.splice(this.localStreams.indexOf(r),1),this._maybeFireNegotiationNeeded()},o.prototype.removeStream=function(e){var t=this;e.getTracks().forEach((function(e){var n=t.getSenders().find((function(t){return t.track===e}));n&&t.removeTrack(n)}))},o.prototype.getSenders=function(){return this.transceivers.filter((function(e){return!!e.rtpSender})).map((function(e){return e.rtpSender}))},o.prototype.getReceivers=function(){return this.transceivers.filter((function(e){return!!e.rtpReceiver})).map((function(e){return e.rtpReceiver}))},o.prototype._createIceGatherer=function(t,n){var r=this;if(n&&t>0)return this.transceivers[0].iceGatherer;if(this._iceGatherers.length)return this._iceGatherers.shift();var o=new e.RTCIceGatherer({iceServers:this._config.iceServers,gatherPolicy:this._config.iceTransportPolicy});return Object.defineProperty(o,"state",{value:"new",writable:!0}),this.transceivers[t].bufferedCandidateEvents=[],this.transceivers[t].bufferCandidates=function(e){var n=!e.candidate||0===Object.keys(e.candidate).length;o.state=n?"completed":"gathering",null!==r.transceivers[t].bufferedCandidateEvents&&r.transceivers[t].bufferedCandidateEvents.push(e)},o.addEventListener("localcandidate",this.transceivers[t].bufferCandidates),o},o.prototype._gather=function(t,n){var r=this,o=this.transceivers[n].iceGatherer;if(!o.onlocalcandidate){var i=this.transceivers[n].bufferedCandidateEvents;this.transceivers[n].bufferedCandidateEvents=null,o.removeEventListener("localcandidate",this.transceivers[n].bufferCandidates),o.onlocalcandidate=function(e){if(!(r.usingBundle&&n>0)){var i=new Event("icecandidate");i.candidate={sdpMid:t,sdpMLineIndex:n};var a=e.candidate,s=!a||0===Object.keys(a).length;if(s)"new"!==o.state&&"gathering"!==o.state||(o.state="completed");else{"new"===o.state&&(o.state="gathering"),a.component=1,a.ufrag=o.getLocalParameters().usernameFragment;var c=Qt.writeCandidate(a);i.candidate=Object.assign(i.candidate,Qt.parseCandidate(c)),i.candidate.candidate=c,i.candidate.toJSON=function(){return{candidate:i.candidate.candidate,sdpMid:i.candidate.sdpMid,sdpMLineIndex:i.candidate.sdpMLineIndex,usernameFragment:i.candidate.usernameFragment}}}var u=Qt.getMediaSections(r._localDescription.sdp);u[i.candidate.sdpMLineIndex]+=s?"a=end-of-candidates\r\n":"a="+i.candidate.candidate+"\r\n",r._localDescription.sdp=Qt.getDescription(r._localDescription.sdp)+u.join("");var l=r.transceivers.every((function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state}));"gathering"!==r.iceGatheringState&&(r.iceGatheringState="gathering",r._emitGatheringStateChange()),s||r._dispatchEvent("icecandidate",i),l&&(r._dispatchEvent("icecandidate",new Event("icecandidate")),r.iceGatheringState="complete",r._emitGatheringStateChange())}},e.setTimeout((function(){i.forEach((function(e){o.onlocalcandidate(e)}))}),0)}},o.prototype._createIceAndDtlsTransports=function(){var t=this,n=new e.RTCIceTransport(null);n.onicestatechange=function(){t._updateIceConnectionState(),t._updateConnectionState()};var r=new e.RTCDtlsTransport(n);return r.ondtlsstatechange=function(){t._updateConnectionState()},r.onerror=function(){Object.defineProperty(r,"state",{value:"failed",writable:!0}),t._updateConnectionState()},{iceTransport:n,dtlsTransport:r}},o.prototype._disposeIceAndDtlsTransports=function(e){var t=this.transceivers[e].iceGatherer;t&&(delete t.onlocalcandidate,delete this.transceivers[e].iceGatherer);var n=this.transceivers[e].iceTransport;n&&(delete n.onicestatechange,delete this.transceivers[e].iceTransport);var r=this.transceivers[e].dtlsTransport;r&&(delete r.ondtlsstatechange,delete r.onerror,delete this.transceivers[e].dtlsTransport)},o.prototype._transceive=function(e,n,r){var o=en(e.localCapabilities,e.remoteCapabilities);n&&e.rtpSender&&(o.encodings=e.sendEncodingParameters,o.rtcp={cname:Qt.localCName,compound:e.rtcpParameters.compound},e.recvEncodingParameters.length&&(o.rtcp.ssrc=e.recvEncodingParameters[0].ssrc),e.rtpSender.send(o)),r&&e.rtpReceiver&&o.codecs.length>0&&("video"===e.kind&&e.recvEncodingParameters&&t<15019&&e.recvEncodingParameters.forEach((function(e){delete e.rtx})),e.recvEncodingParameters.length?o.encodings=e.recvEncodingParameters:o.encodings=[{}],o.rtcp={compound:e.rtcpParameters.compound},e.rtcpParameters.cname&&(o.rtcp.cname=e.rtcpParameters.cname),e.sendEncodingParameters.length&&(o.rtcp.ssrc=e.sendEncodingParameters[0].ssrc),e.rtpReceiver.receive(o))},o.prototype.setLocalDescription=function(e){var t,n,r=this;if(-1===["offer","answer"].indexOf(e.type))return Promise.reject(rn("TypeError",'Unsupported type "'+e.type+'"'));if(!tn("setLocalDescription",e.type,r.signalingState)||r._isClosed)return Promise.reject(rn("InvalidStateError","Can not set local "+e.type+" in state "+r.signalingState));if("offer"===e.type)t=Qt.splitSections(e.sdp),n=t.shift(),t.forEach((function(e,t){var n=Qt.parseRtpParameters(e);r.transceivers[t].localCapabilities=n})),r.transceivers.forEach((function(e,t){r._gather(e.mid,t)}));else if("answer"===e.type){t=Qt.splitSections(r._remoteDescription.sdp),n=t.shift();var o=Qt.matchPrefix(n,"a=ice-lite").length>0;t.forEach((function(e,t){var i=r.transceivers[t],a=i.iceGatherer,s=i.iceTransport,c=i.dtlsTransport,u=i.localCapabilities,l=i.remoteCapabilities;if((!Qt.isRejected(e)||0!==Qt.matchPrefix(e,"a=bundle-only").length)&&!i.rejected){var d=Qt.getIceParameters(e,n),f=Qt.getDtlsParameters(e,n);o&&(f.role="server"),r.usingBundle&&0!==t||(r._gather(i.mid,t),"new"===s.state&&s.start(a,d,o?"controlling":"controlled"),"new"===c.state&&c.start(f));var p=en(u,l);r._transceive(i,p.codecs.length>0,!1)}}))}return r._localDescription={type:e.type,sdp:e.sdp},"offer"===e.type?r._updateSignalingState("have-local-offer"):r._updateSignalingState("stable"),Promise.resolve()},o.prototype.setRemoteDescription=function(o){var i=this;if(-1===["offer","answer"].indexOf(o.type))return Promise.reject(rn("TypeError",'Unsupported type "'+o.type+'"'));if(!tn("setRemoteDescription",o.type,i.signalingState)||i._isClosed)return Promise.reject(rn("InvalidStateError","Can not set remote "+o.type+" in state "+i.signalingState));var a={};i.remoteStreams.forEach((function(e){a[e.id]=e}));var s=[],c=Qt.splitSections(o.sdp),u=c.shift(),l=Qt.matchPrefix(u,"a=ice-lite").length>0,d=Qt.matchPrefix(u,"a=group:BUNDLE ").length>0;i.usingBundle=d;var f=Qt.matchPrefix(u,"a=ice-options:")[0];return i.canTrickleIceCandidates=!!f&&f.substr(14).split(" ").indexOf("trickle")>=0,c.forEach((function(r,c){var f=Qt.splitLines(r),p=Qt.getKind(r),h=Qt.isRejected(r)&&0===Qt.matchPrefix(r,"a=bundle-only").length,m=f[0].substr(2).split(" ")[2],g=Qt.getDirection(r,u),v=Qt.parseMsid(r),y=Qt.getMid(r)||Qt.generateIdentifier();if(h||"application"===p&&("DTLS/SCTP"===m||"UDP/DTLS/SCTP"===m))i.transceivers[c]={mid:y,kind:p,protocol:m,rejected:!0};else{var _,S,b,E,C,T,I,w,O;!h&&i.transceivers[c]&&i.transceivers[c].rejected&&(i.transceivers[c]=i._createTransceiver(p,!0));var k,R,A=Qt.parseRtpParameters(r);h||(k=Qt.getIceParameters(r,u),(R=Qt.getDtlsParameters(r,u)).role="client"),I=Qt.parseRtpEncodingParameters(r);var M=Qt.parseRtcpParameters(r),x=Qt.matchPrefix(r,"a=end-of-candidates",u).length>0,D=Qt.matchPrefix(r,"a=candidate:").map((function(e){return Qt.parseCandidate(e)})).filter((function(e){return 1===e.component}));if(("offer"===o.type||"answer"===o.type)&&!h&&d&&c>0&&i.transceivers[c]&&(i._disposeIceAndDtlsTransports(c),i.transceivers[c].iceGatherer=i.transceivers[0].iceGatherer,i.transceivers[c].iceTransport=i.transceivers[0].iceTransport,i.transceivers[c].dtlsTransport=i.transceivers[0].dtlsTransport,i.transceivers[c].rtpSender&&i.transceivers[c].rtpSender.setTransport(i.transceivers[0].dtlsTransport),i.transceivers[c].rtpReceiver&&i.transceivers[c].rtpReceiver.setTransport(i.transceivers[0].dtlsTransport)),"offer"!==o.type||h)"answer"!==o.type||h||(S=(_=i.transceivers[c]).iceGatherer,b=_.iceTransport,E=_.dtlsTransport,C=_.rtpReceiver,T=_.sendEncodingParameters,w=_.localCapabilities,i.transceivers[c].recvEncodingParameters=I,i.transceivers[c].remoteCapabilities=A,i.transceivers[c].rtcpParameters=M,D.length&&"new"===b.state&&(!l&&!x||d&&0!==c?D.forEach((function(e){nn(_.iceTransport,e)})):b.setRemoteCandidates(D)),d&&0!==c||("new"===b.state&&b.start(S,k,"controlling"),"new"===E.state&&E.start(R)),!en(_.localCapabilities,_.remoteCapabilities).codecs.filter((function(e){return"rtx"===e.name.toLowerCase()})).length&&_.sendEncodingParameters[0].rtx&&delete _.sendEncodingParameters[0].rtx,i._transceive(_,"sendrecv"===g||"recvonly"===g,"sendrecv"===g||"sendonly"===g),!C||"sendrecv"!==g&&"sendonly"!==g?delete _.rtpReceiver:(O=C.track,v?(a[v.stream]||(a[v.stream]=new e.MediaStream),n(O,a[v.stream]),s.push([O,C,a[v.stream]])):(a.default||(a.default=new e.MediaStream),n(O,a.default),s.push([O,C,a.default]))));else{(_=i.transceivers[c]||i._createTransceiver(p)).mid=y,_.iceGatherer||(_.iceGatherer=i._createIceGatherer(c,d)),D.length&&"new"===_.iceTransport.state&&(!x||d&&0!==c?D.forEach((function(e){nn(_.iceTransport,e)})):_.iceTransport.setRemoteCandidates(D)),w=e.RTCRtpReceiver.getCapabilities(p),t<15019&&(w.codecs=w.codecs.filter((function(e){return"rtx"!==e.name}))),T=_.sendEncodingParameters||[{ssrc:1001*(2*c+2)}];var N,P=!1;"sendrecv"===g||"sendonly"===g?(P=!_.rtpReceiver,C=_.rtpReceiver||new e.RTCRtpReceiver(_.dtlsTransport,p),P&&(O=C.track,v&&"-"===v.stream||(v?(a[v.stream]||(a[v.stream]=new e.MediaStream,Object.defineProperty(a[v.stream],"id",{get:function(){return v.stream}})),Object.defineProperty(O,"id",{get:function(){return v.track}}),N=a[v.stream]):(a.default||(a.default=new e.MediaStream),N=a.default)),N&&(n(O,N),_.associatedRemoteMediaStreams.push(N)),s.push([O,C,N]))):_.rtpReceiver&&_.rtpReceiver.track&&(_.associatedRemoteMediaStreams.forEach((function(t){var n=t.getTracks().find((function(e){return e.id===_.rtpReceiver.track.id}));n&&function(t,n){n.removeTrack(t),n.dispatchEvent(new e.MediaStreamTrackEvent("removetrack",{track:t}))}(n,t)})),_.associatedRemoteMediaStreams=[]),_.localCapabilities=w,_.remoteCapabilities=A,_.rtpReceiver=C,_.rtcpParameters=M,_.sendEncodingParameters=T,_.recvEncodingParameters=I,i._transceive(i.transceivers[c],!1,P)}}})),void 0===i._dtlsRole&&(i._dtlsRole="offer"===o.type?"active":"passive"),i._remoteDescription={type:o.type,sdp:o.sdp},"offer"===o.type?i._updateSignalingState("have-remote-offer"):i._updateSignalingState("stable"),Object.keys(a).forEach((function(t){var n=a[t];if(n.getTracks().length){if(-1===i.remoteStreams.indexOf(n)){i.remoteStreams.push(n);var o=new Event("addstream");o.stream=n,e.setTimeout((function(){i._dispatchEvent("addstream",o)}))}s.forEach((function(e){var t=e[0],o=e[1];n.id===e[2].id&&r(i,t,o,[n])}))}})),s.forEach((function(e){e[2]||r(i,e[0],e[1],[])})),e.setTimeout((function(){i&&i.transceivers&&i.transceivers.forEach((function(e){e.iceTransport&&"new"===e.iceTransport.state&&e.iceTransport.getRemoteCandidates().length>0&&(console.warn("Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification"),e.iceTransport.addRemoteCandidate({}))}))}),4e3),Promise.resolve()},o.prototype.close=function(){this.transceivers.forEach((function(e){e.iceTransport&&e.iceTransport.stop(),e.dtlsTransport&&e.dtlsTransport.stop(),e.rtpSender&&e.rtpSender.stop(),e.rtpReceiver&&e.rtpReceiver.stop()})),this._isClosed=!0,this._updateSignalingState("closed")},o.prototype._updateSignalingState=function(e){this.signalingState=e;var t=new Event("signalingstatechange");this._dispatchEvent("signalingstatechange",t)},o.prototype._maybeFireNegotiationNeeded=function(){var t=this;"stable"===this.signalingState&&!0!==this.needNegotiation&&(this.needNegotiation=!0,e.setTimeout((function(){if(t.needNegotiation){t.needNegotiation=!1;var e=new Event("negotiationneeded");t._dispatchEvent("negotiationneeded",e)}}),0))},o.prototype._updateIceConnectionState=function(){var e,t={new:0,closed:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach((function(e){e.iceTransport&&!e.rejected&&t[e.iceTransport.state]++})),e="new",t.failed>0?e="failed":t.checking>0?e="checking":t.disconnected>0?e="disconnected":t.new>0?e="new":t.connected>0?e="connected":t.completed>0&&(e="completed"),e!==this.iceConnectionState){this.iceConnectionState=e;var n=new Event("iceconnectionstatechange");this._dispatchEvent("iceconnectionstatechange",n)}},o.prototype._updateConnectionState=function(){var e,t={new:0,closed:0,connecting:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach((function(e){e.iceTransport&&e.dtlsTransport&&!e.rejected&&(t[e.iceTransport.state]++,t[e.dtlsTransport.state]++)})),t.connected+=t.completed,e="new",t.failed>0?e="failed":t.connecting>0?e="connecting":t.disconnected>0?e="disconnected":t.new>0?e="new":t.connected>0&&(e="connected"),e!==this.connectionState){this.connectionState=e;var n=new Event("connectionstatechange");this._dispatchEvent("connectionstatechange",n)}},o.prototype.createOffer=function(){var n=this;if(n._isClosed)return Promise.reject(rn("InvalidStateError","Can not call createOffer after close"));var r=n.transceivers.filter((function(e){return"audio"===e.kind})).length,o=n.transceivers.filter((function(e){return"video"===e.kind})).length,i=arguments[0];if(i){if(i.mandatory||i.optional)throw new TypeError("Legacy mandatory/optional constraints not supported.");void 0!==i.offerToReceiveAudio&&(r=!0===i.offerToReceiveAudio?1:!1===i.offerToReceiveAudio?0:i.offerToReceiveAudio),void 0!==i.offerToReceiveVideo&&(o=!0===i.offerToReceiveVideo?1:!1===i.offerToReceiveVideo?0:i.offerToReceiveVideo)}for(n.transceivers.forEach((function(e){"audio"===e.kind?--r<0&&(e.wantReceive=!1):"video"===e.kind&&--o<0&&(e.wantReceive=!1)}));r>0||o>0;)r>0&&(n._createTransceiver("audio"),r--),o>0&&(n._createTransceiver("video"),o--);var a=Qt.writeSessionBoilerplate(n._sdpSessionId,n._sdpSessionVersion++);n.transceivers.forEach((function(r,o){var i=r.track,a=r.kind,s=r.mid||Qt.generateIdentifier();r.mid=s,r.iceGatherer||(r.iceGatherer=n._createIceGatherer(o,n.usingBundle));var c=e.RTCRtpSender.getCapabilities(a);t<15019&&(c.codecs=c.codecs.filter((function(e){return"rtx"!==e.name}))),c.codecs.forEach((function(e){"H264"===e.name&&void 0===e.parameters["level-asymmetry-allowed"]&&(e.parameters["level-asymmetry-allowed"]="1"),r.remoteCapabilities&&r.remoteCapabilities.codecs&&r.remoteCapabilities.codecs.forEach((function(t){e.name.toLowerCase()===t.name.toLowerCase()&&e.clockRate===t.clockRate&&(e.preferredPayloadType=t.payloadType)}))})),c.headerExtensions.forEach((function(e){(r.remoteCapabilities&&r.remoteCapabilities.headerExtensions||[]).forEach((function(t){e.uri===t.uri&&(e.id=t.id)}))}));var u=r.sendEncodingParameters||[{ssrc:1001*(2*o+1)}];i&&t>=15019&&"video"===a&&!u[0].rtx&&(u[0].rtx={ssrc:u[0].ssrc+1}),r.wantReceive&&(r.rtpReceiver=new e.RTCRtpReceiver(r.dtlsTransport,a)),r.localCapabilities=c,r.sendEncodingParameters=u})),"max-compat"!==n._config.bundlePolicy&&(a+="a=group:BUNDLE "+n.transceivers.map((function(e){return e.mid})).join(" ")+"\r\n"),a+="a=ice-options:trickle\r\n",n.transceivers.forEach((function(e,t){a+=Zt(e,e.localCapabilities,"offer",e.stream,n._dtlsRole),a+="a=rtcp-rsize\r\n",!e.iceGatherer||"new"===n.iceGatheringState||0!==t&&n.usingBundle||(e.iceGatherer.getLocalCandidates().forEach((function(e){e.component=1,a+="a="+Qt.writeCandidate(e)+"\r\n"})),"completed"===e.iceGatherer.state&&(a+="a=end-of-candidates\r\n"))}));var s=new e.RTCSessionDescription({type:"offer",sdp:a});return Promise.resolve(s)},o.prototype.createAnswer=function(){var n=this;if(n._isClosed)return Promise.reject(rn("InvalidStateError","Can not call createAnswer after close"));if("have-remote-offer"!==n.signalingState&&"have-local-pranswer"!==n.signalingState)return Promise.reject(rn("InvalidStateError","Can not call createAnswer in signalingState "+n.signalingState));var r=Qt.writeSessionBoilerplate(n._sdpSessionId,n._sdpSessionVersion++);n.usingBundle&&(r+="a=group:BUNDLE "+n.transceivers.map((function(e){return e.mid})).join(" ")+"\r\n"),r+="a=ice-options:trickle\r\n";var o=Qt.getMediaSections(n._remoteDescription.sdp).length;n.transceivers.forEach((function(e,i){if(!(i+1>o)){if(e.rejected)return"application"===e.kind?"DTLS/SCTP"===e.protocol?r+="m=application 0 DTLS/SCTP 5000\r\n":r+="m=application 0 "+e.protocol+" webrtc-datachannel\r\n":"audio"===e.kind?r+="m=audio 0 UDP/TLS/RTP/SAVPF 0\r\na=rtpmap:0 PCMU/8000\r\n":"video"===e.kind&&(r+="m=video 0 UDP/TLS/RTP/SAVPF 120\r\na=rtpmap:120 VP8/90000\r\n"),void(r+="c=IN IP4 0.0.0.0\r\na=inactive\r\na=mid:"+e.mid+"\r\n");var a;e.stream&&("audio"===e.kind?a=e.stream.getAudioTracks()[0]:"video"===e.kind&&(a=e.stream.getVideoTracks()[0]),a&&t>=15019&&"video"===e.kind&&!e.sendEncodingParameters[0].rtx&&(e.sendEncodingParameters[0].rtx={ssrc:e.sendEncodingParameters[0].ssrc+1}));var s=en(e.localCapabilities,e.remoteCapabilities);!s.codecs.filter((function(e){return"rtx"===e.name.toLowerCase()})).length&&e.sendEncodingParameters[0].rtx&&delete e.sendEncodingParameters[0].rtx,r+=Zt(e,s,"answer",e.stream,n._dtlsRole),e.rtcpParameters&&e.rtcpParameters.reducedSize&&(r+="a=rtcp-rsize\r\n")}}));var i=new e.RTCSessionDescription({type:"answer",sdp:r});return Promise.resolve(i)},o.prototype.addIceCandidate=function(e){var t,n=this;return e&&void 0===e.sdpMLineIndex&&!e.sdpMid?Promise.reject(new TypeError("sdpMLineIndex or sdpMid required")):new Promise((function(r,o){if(!n._remoteDescription)return o(rn("InvalidStateError","Can not add ICE candidate without a remote description"));if(e&&""!==e.candidate){var i=e.sdpMLineIndex;if(e.sdpMid)for(var a=0;a0?Qt.parseCandidate(e.candidate):{};if("tcp"===c.protocol&&(0===c.port||9===c.port))return r();if(c.component&&1!==c.component)return r();if((0===i||i>0&&s.iceTransport!==n.transceivers[0].iceTransport)&&!nn(s.iceTransport,c))return o(rn("OperationError","Can not add ICE candidate"));var u=e.candidate.trim();0===u.indexOf("a=")&&(u=u.substr(2)),(t=Qt.getMediaSections(n._remoteDescription.sdp))[i]+="a="+(c.type?u:"end-of-candidates")+"\r\n",n._remoteDescription.sdp=Qt.getDescription(n._remoteDescription.sdp)+t.join("")}else for(var l=0;lPromise.reject(function(e){return{name:{PermissionDeniedError:"NotAllowedError"}[e.name]||e.name,message:e.message,constraint:e.constraint,toString(){return this.name}}}(e)))}}function sn(e){"getDisplayMedia"in e.navigator&&e.navigator.mediaDevices&&(e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||(e.navigator.mediaDevices.getDisplayMedia=e.navigator.getDisplayMedia.bind(e.navigator)))}function cn(e){const t=Lt(e);if(e.RTCIceGatherer&&(e.RTCIceCandidate||(e.RTCIceCandidate=function(e){return e}),e.RTCSessionDescription||(e.RTCSessionDescription=function(e){return e}),t.version<15025)){const t=Object.getOwnPropertyDescriptor(e.MediaStreamTrack.prototype,"enabled");Object.defineProperty(e.MediaStreamTrack.prototype,"enabled",{set(e){t.set.call(this,e);const n=new Event("enabled");n.enabled=e,this.dispatchEvent(n)}})}!e.RTCRtpSender||"dtmf"in e.RTCRtpSender.prototype||Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=new e.RTCDtmfSender(this):"video"===this.track.kind&&(this._dtmf=null)),this._dtmf}}),e.RTCDtmfSender&&!e.RTCDTMFSender&&(e.RTCDTMFSender=e.RTCDtmfSender);const n=on(e,t.version);e.RTCPeerConnection=function(e){return e&&e.iceServers&&(e.iceServers=function(e,t){let n=!1;return(e=JSON.parse(JSON.stringify(e))).filter(e=>{if(e&&(e.urls||e.url)){var t=e.urls||e.url;e.url&&!e.urls&&Pt("RTCIceServer.url","RTCIceServer.urls");const r="string"==typeof t;return r&&(t=[t]),t=t.filter(e=>{if(0===e.indexOf("stun:"))return!1;const t=e.startsWith("turn")&&!e.startsWith("turn:[")&&e.includes("transport=udp");return t&&!n?(n=!0,!0):t&&!n}),delete e.url,e.urls=r?t[0]:t,!!t.length}})}(e.iceServers,t.version),Nt("ICE servers after filtering:",e.iceServers)),new n(e)},e.RTCPeerConnection.prototype=n.prototype}function un(e){!e.RTCRtpSender||"replaceTrack"in e.RTCRtpSender.prototype||(e.RTCRtpSender.prototype.replaceTrack=e.RTCRtpSender.prototype.setTrack)}var ln=Object.freeze({shimPeerConnection:cn,shimReplaceTrack:un,shimGetUserMedia:an,shimGetDisplayMedia:sn});function dn(e){const t=Lt(e),n=e&&e.navigator,r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){Pt("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){const e=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},t=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(n){return"object"==typeof n&&"object"==typeof n.audio&&(n=JSON.parse(JSON.stringify(n)),e(n.audio,"autoGainControl","mozAutoGainControl"),e(n.audio,"noiseSuppression","mozNoiseSuppression")),t(n)},r&&r.prototype.getSettings){const t=r.prototype.getSettings;r.prototype.getSettings=function(){const n=t.apply(this,arguments);return e(n,"mozAutoGainControl","autoGainControl"),e(n,"mozNoiseSuppression","noiseSuppression"),n}}if(r&&r.prototype.applyConstraints){const t=r.prototype.applyConstraints;r.prototype.applyConstraints=function(n){return"audio"===this.kind&&"object"==typeof n&&(n=JSON.parse(JSON.stringify(n)),e(n,"autoGainControl","mozAutoGainControl"),e(n,"noiseSuppression","mozNoiseSuppression")),t.apply(this,[n])}}}}function fn(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function pn(e){const t=Lt(e);if("object"!=typeof e||!e.RTCPeerConnection&&!e.mozRTCPeerConnection)return;!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=r[t]}));const n=e.RTCPeerConnection.prototype.addIceCandidate;e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?t.version<68&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())};const r={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},o=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){const[e,n,i]=arguments;return o.apply(this,[e||null]).then(e=>{if(t.version<53&&!n)try{e.forEach(e=>{e.type=r[e.type]||e.type})}catch(o){if("TypeError"!==o.name)throw o;e.forEach((t,n)=>{e.set(n,Object.assign({},t,{type:r[t.type]||t.type}))})}return e}).then(n,i)}}function hn(e){if("object"!=typeof e||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;const t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});const n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){const e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function mn(e){if("object"!=typeof e||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;const t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),Mt(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function gn(e){!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){Pt("removeStream","removeTrack"),this.getSenders().forEach(t=>{t.track&&e.getTracks().includes(t.track)&&this.removeTrack(t)})})}function vn(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}var yn=Object.freeze({shimOnTrack:fn,shimPeerConnection:pn,shimSenderGetStats:hn,shimReceiverGetStats:mn,shimRemoveStream:gn,shimRTCDataChannel:vn,shimGetUserMedia:dn,shimGetDisplayMedia:function(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&(e.navigator.mediaDevices.getDisplayMedia=function(n){if(!n||!n.video){const e=new DOMException("getDisplayMedia without video constraints is undefined");return e.name="NotFoundError",e.code=8,Promise.reject(e)}return!0===n.video?n.video={mediaSource:t}:n.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(n)})}});function _n(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach(n=>t.call(this,n,e)),e.getVideoTracks().forEach(n=>t.call(this,n,e))},e.RTCPeerConnection.prototype.addTrack=function(e){const n=arguments[1];return n&&(this._localStreams?this._localStreams.includes(n)||this._localStreams.push(n):this._localStreams=[n]),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);const t=this._localStreams.indexOf(e);if(-1===t)return;this._localStreams.splice(t,1);const n=e.getTracks();this.getSenders().forEach(e=>{n.includes(e.track)&&this.removeTrack(e)})})}}function Sn(e){if("object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=e=>{e.streams.forEach(e=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(e))return;this._remoteStreams.push(e);const t=new Event("addstream");t.stream=e,this.dispatchEvent(t)})})}});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){const e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach(t=>{if(e._remoteStreams||(e._remoteStreams=[]),e._remoteStreams.indexOf(t)>=0)return;e._remoteStreams.push(t);const n=new Event("addstream");n.stream=t,e.dispatchEvent(n)})}),t.apply(e,arguments)}}}function bn(e){if("object"!=typeof e||!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,o=t.setLocalDescription,i=t.setRemoteDescription,a=t.addIceCandidate;t.createOffer=function(e,t){const r=arguments.length>=2?arguments[2]:arguments[0],o=n.apply(this,[r]);return t?(o.then(e,t),Promise.resolve()):o},t.createAnswer=function(e,t){const n=arguments.length>=2?arguments[2]:arguments[0],o=r.apply(this,[n]);return t?(o.then(e,t),Promise.resolve()):o};let s=function(e,t,n){const r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=s,s=function(e,t,n){const r=i.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=s,s=function(e,t,n){const r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=s}function En(e){const t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){const e=t.mediaDevices,n=e.getUserMedia.bind(e);t.mediaDevices.getUserMedia=e=>n(Cn(e))}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}.bind(t))}function Cn(e){return e&&void 0!==e.video?Object.assign({},e,{video:Ut(e.video)}):e}function Tn(e){const t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){const t=[];for(let n=0;nt.generateCertificate})}function In(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function wn(e){const t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){void 0!==e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);const t=this.getTransceivers().find(e=>"audio"===e.receiver.track.kind);!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection?t.setDirection("sendonly"):t.direction="sendonly":"recvonly"===t.direction&&(t.setDirection?t.setDirection("inactive"):t.direction="inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio"),void 0!==e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);const n=this.getTransceivers().find(e=>"video"===e.receiver.track.kind);!1===e.offerToReceiveVideo&&n?"sendrecv"===n.direction?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":"recvonly"===n.direction&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):!0!==e.offerToReceiveVideo||n||this.addTransceiver("video")}return t.apply(this,arguments)}}var On=Object.freeze({shimLocalStreamsAPI:_n,shimRemoteStreamsAPI:Sn,shimCallbacksAPI:bn,shimGetUserMedia:En,shimConstraints:Cn,shimRTCIceServerUrls:Tn,shimTrackEventTransceiver:In,shimCreateOfferLegacy:wn});function kn(e){if(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)return;const t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substr(2)),e.candidate&&e.candidate.length){const n=new t(e),r=Qt.parseCandidate(e.candidate),o=Object.assign(n,r);return o.toJSON=function(){return{candidate:o.candidate,sdpMid:o.sdpMid,sdpMLineIndex:o.sdpMLineIndex,usernameFragment:o.usernameFragment}},o}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,Mt(e,"icecandidate",t=>(t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t))}function Rn(e){if(!e.RTCPeerConnection)return;const t=Lt(e);"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get(){return void 0===this._sctp?null:this._sctp}});const n=function(e){if(!e||!e.sdp)return!1;const t=Qt.splitSections(e.sdp);return t.shift(),t.some(e=>{const t=Qt.parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")})},r=function(e){const t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return-1;const n=parseInt(t[1],10);return n!=n?-1:n},o=function(e){let n=65536;return"firefox"===t.browser&&(n=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),n},i=function(e,n){let r=65536;"firefox"===t.browser&&57===t.version&&(r=65535);const o=Qt.matchPrefix(e.sdp,"a=max-message-size:");return o.length>0?r=parseInt(o[0].substr(19),10):"firefox"===t.browser&&-1!==n&&(r=2147483637),r},a=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){const{sdpSemantics:e}=this.getConfiguration();"plan-b"===e&&Object.defineProperty(this,"sctp",{get(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(n(arguments[0])){const e=r(arguments[0]),t=o(e),n=i(arguments[0],e);let a;a=0===t&&0===n?Number.POSITIVE_INFINITY:0===t||0===n?Math.max(t,n):Math.min(t,n);const s={};Object.defineProperty(s,"maxMessageSize",{get:()=>a}),this._sctp=s}return a.apply(this,arguments)}}function An(e){if(!e.RTCPeerConnection||!("createDataChannel"in e.RTCPeerConnection.prototype))return;function t(e,t){const n=e.send;e.send=function(){const r=arguments[0],o=r.length||r.size||r.byteLength;if("open"===e.readyState&&t.sctp&&o>t.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return n.apply(e,arguments)}}const n=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){const e=n.apply(this,arguments);return t(e,this),e},Mt(e,"datachannel",e=>(t(e.channel,e.target),e))}function Mn(e){if(!e.RTCPeerConnection||"connectionState"in e.RTCPeerConnection.prototype)return;const t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(e=>{const n=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=e=>{const t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;const n=new Event("connectionstatechange",e);t.dispatchEvent(n)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}})}function xn(e){if(!e.RTCPeerConnection)return;const t=Lt(e);if("chrome"===t.browser&&t.version>=71)return;const n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(e){return e&&e.sdp&&-1!==e.sdp.indexOf("\na=extmap-allow-mixed")&&(e.sdp=e.sdp.split("\n").filter(e=>"a=extmap-allow-mixed"!==e.trim()).join("\n")),n.apply(this,arguments)}}var Dn=Object.freeze({shimRTCIceCandidate:kn,shimMaxMessageSize:Rn,shimSendThrowTypeError:An,shimConnectionState:Mn,removeAllowExtmapMixed:xn});const Nn=function({window:e}={},t={shimChrome:!0,shimFirefox:!0,shimEdge:!0,shimSafari:!0}){const n=Nt,r=Lt(e),o={browserDetails:r,commonShim:Dn,extractVersion:At,disableLog:xt,disableWarnings:Dt};switch(r.browser){case"chrome":if(!Xt||!Yt||!t.shimChrome)return n("Chrome shim is not included in this adapter release."),o;n("adapter.js shimming chrome."),o.browserShim=Xt,Bt(e),Vt(e),Yt(e),qt(e),Wt(e),$t(e),Ht(e),Kt(e),Jt(e),kn(e),Mn(e),Rn(e),An(e),xn(e);break;case"firefox":if(!yn||!pn||!t.shimFirefox)return n("Firefox shim is not included in this adapter release."),o;n("adapter.js shimming firefox."),o.browserShim=yn,dn(e),pn(e),fn(e),gn(e),hn(e),mn(e),vn(e),kn(e),Mn(e),Rn(e),An(e);break;case"edge":if(!ln||!cn||!t.shimEdge)return n("MS edge shim is not included in this adapter release."),o;n("adapter.js shimming edge."),o.browserShim=ln,an(e),sn(e),cn(e),un(e),Rn(e),An(e);break;case"safari":if(!On||!t.shimSafari)return n("Safari shim is not included in this adapter release."),o;n("adapter.js shimming safari."),o.browserShim=On,Tn(e),wn(e),bn(e),_n(e),Sn(e),In(e),En(e),kn(e),Rn(e),An(e),xn(e);break;default:n("Unsupported browser!")}return o}({window:window});var Pn=function(e,t){var n=[][e];return!n||!i((function(){n.call(null,t||function(){throw 1},1)}))},Ln=me.indexOf,Gn=[].indexOf,Un=!!Gn&&1/[1].indexOf(1,-0)<0,jn=Pn("indexOf");xe({target:"Array",proto:!0,forced:Un||jn},{indexOf:function(e){return Un?Gn.apply(this,arguments)||0:Ln(this,e,arguments.length>1?arguments[1]:void 0)}});var Fn=Be("species"),Bn=[].slice,Vn=Math.max;xe({target:"Array",proto:!0,forced:!Je("slice")},{slice:function(e,t){var n,r,o,i=g(this),a=le(i.length),s=pe(e,a),c=pe(void 0===t?a:t,a);if(De(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!De(n.prototype)?v(n)&&null===(n=n[Fn])&&(n=void 0):n=void 0,n===Array||void 0===n))return Bn.call(i,s,c);for(r=new(void 0===n?Array:n)(Vn(c-s,0)),o=0;s0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(c="(?: "+c+")",l=" "+l,u++),n=new RegExp("^(?:"+c+")",s)),ir&&(n=new RegExp("^"+c+"$(?!\\s)",s)),rr&&(t=i.lastIndex),r=er.call(a?n:i,l),a?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:rr&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),ir&&r&&r.length>1&&tr.call(r[0],n,(function(){for(o=1;o=0&&r<=c.levels.SILENT))throw"log.setLevel() called with invalid level: "+r;if(s=r,!1!==i&&function(e){var r=(n[e]||"silent").toUpperCase();if(("undefined"==typeof window?"undefined":ft(window))!==t){try{return void(window.localStorage[u]=r)}catch(o){}try{window.document.cookie=encodeURIComponent(u)+"="+r+";"}catch(o){}}}(r),o.call(c,r,e),("undefined"==typeof console?"undefined":ft(console))===t&&r1?arguments[1]:void 0)}});var fr=Math.max,pr=Math.min;xe({target:"Array",proto:!0,forced:!Je("splice")},{splice:function(e,t){var n,r,o,i,a,s,c=Ne(this),u=le(c.length),l=pe(e,u),d=arguments.length;if(0===d?n=r=0:1===d?(n=0,r=u-l):(n=d-2,r=pr(fr(ce(t),0),u-l)),u+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=qe(c,r),i=0;iu-r+n;i--)delete c[i-1]}else if(n>r)for(i=u-r;i>l;i--)s=i+n-1,(a=i+r-1)in c?c[s]=c[a]:delete c[s];for(i=0;i0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},mr=Math.ceil,gr=function(e){return function(t,n,r){var o,i,a=String(m(t)),s=a.length,c=void 0===r?" ":String(r),u=le(n);return u<=s||""==c?a:(o=u-s,(i=hr.call(c,mr(o/c.length))).length>o&&(i=i.slice(0,o)),e?a+i:i+a)}},vr={start:gr(!1),end:gr(!0)}.start,yr=Math.abs,_r=Date.prototype,Sr=_r.getTime,br=_r.toISOString,Er=i((function(){return"0385-07-25T07:06:39.999Z"!=br.call(new Date(-50000000000001))}))||!i((function(){br.call(new Date(NaN))}))?function(){if(!isFinite(Sr.call(this)))throw RangeError("Invalid time value");var e=this.getUTCFullYear(),t=this.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+vr(yr(e),n?6:4,0)+"-"+vr(this.getUTCMonth()+1,2,0)+"-"+vr(this.getUTCDate(),2,0)+"T"+vr(this.getUTCHours(),2,0)+":"+vr(this.getUTCMinutes(),2,0)+":"+vr(this.getUTCSeconds(),2,0)+"."+vr(t,3,0)+"Z"}:br;xe({target:"Date",proto:!0,forced:Date.prototype.toISOString!==Er},{toISOString:Er});var Cr=Date.prototype,Tr=Cr.toString,Ir=Cr.getTime;new Date(NaN)+""!="Invalid Date"&&ne(Cr,"toString",(function(){var e=Ir.call(this);return e==e?Tr.call(this):"Invalid Date"}));var wr=w.f,Or=i((function(){wr(1)}));xe({target:"Object",stat:!0,forced:!a||Or,sham:!a},{getOwnPropertyDescriptor:function(e,t){return wr(g(e),t)}});var kr=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Rr=H("IE_PROTO"),Ar=Object.prototype,Mr=kr?Object.getPrototypeOf:function(e){return e=Ne(e),S(e,Rr)?e[Rr]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ar:null},xr=i((function(){Mr(1)}));xe({target:"Object",stat:!0,forced:xr,sham:!kr},{getPrototypeOf:function(e){return Mr(Ne(e))}});var Dr={};Dr[Be("toStringTag")]="z";var Nr="[object z]"===String(Dr),Pr=Be("toStringTag"),Lr="Arguments"==f(function(){return arguments}()),Gr=Nr?f:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),Pr))?n:Lr?f(t):"Object"==(r=f(t))&&"function"==typeof t.callee?"Arguments":r},Ur=Nr?{}.toString:function(){return"[object "+Gr(this)+"]"};Nr||ne(Object.prototype,"toString",Ur,{unsafe:!0});var jr=RegExp.prototype,Fr=jr.toString,Br=i((function(){return"/a/b"!=Fr.call({source:"a",flags:"b"})})),Vr="toString"!=Fr.name;(Br||Vr)&&ne(RegExp.prototype,"toString",(function(){var e=O(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in jr)?Xn.call(e):n)}),{unsafe:!0});var qr=Be("species"),$r=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),Hr="$0"==="a".replace(/./,"$0"),Kr=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),zr=function(e,t,n,r){var o=Be(e),a=!i((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),s=a&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[qr]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!a||!s||"replace"===e&&(!$r||!Hr)||"split"===e&&!Kr){var c=/./[o],u=n(o,""[e],(function(e,t,n,r,o){return t.exec===ar?a&&!o?{done:!0,value:c.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Hr}),l=u[0],d=u[1];ne(String.prototype,e,l),ne(RegExp.prototype,o,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}r&&A(RegExp.prototype[o],"sham",!0)},Wr=function(e){return function(t,n){var r,o,i=String(m(t)),a=ce(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Yr={codeAt:Wr(!1),charAt:Wr(!0)},Jr=Yr.charAt,Xr=function(e,t,n){return t+(n?Jr(e,t).length:1)},Qr=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==f(e))throw TypeError("RegExp#exec called on incompatible receiver");return ar.call(e,t)},Zr=Math.max,eo=Math.min,to=Math.floor,no=/\$([$&'`]|\d\d?|<[^>]*>)/g,ro=/\$([$&'`]|\d\d?)/g;zr("replace",2,(function(e,t,n,r){return[function(n,r){var o=m(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){if(r.REPLACE_KEEPS_$0||"string"==typeof i&&-1===i.indexOf("$0")){var a=n(t,e,this,i);if(a.done)return a.value}var s=O(e),c=String(this),u="function"==typeof i;u||(i=String(i));var l=s.global;if(l){var d=s.unicode;s.lastIndex=0}for(var f=[];;){var p=Qr(s,c);if(null===p)break;if(f.push(p),!l)break;""===String(p[0])&&(s.lastIndex=Xr(c,le(s.lastIndex),d))}for(var h,m="",g=0,v=0;v=g&&(m+=c.slice(g,_)+T,g=_+y.length)}return m+c.slice(g)}];function o(e,n,r,o,i,a){var s=r+e.length,c=o.length,u=ro;return void 0!==i&&(i=Ne(i),u=no),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=i[a.slice(1,-1)];break;default:var l=+a;if(0===l)return t;if(l>c){var d=to(l/10);return 0===d?t:d<=c?void 0===o[d-1]?a.charAt(1):o[d-1]+a.charAt(1):t}u=o[l-1]}return void 0===u?"":u}))}}));var oo=Be("match"),io=function(e){var t;return v(e)&&(void 0!==(t=e[oo])?!!t:"RegExp"==f(e))},ao=Be("species"),so=function(e,t){var n,r=O(e).constructor;return void 0===r||null==(n=O(r)[ao])?t:tt(n)},co=[].push,uo=Math.min,lo=!i((function(){return!RegExp(4294967295,"y")}));zr("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(m(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!io(e))return t.call(r,e,o);for(var i,a,s,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,d=new RegExp(e.source,u+"g");(i=ar.call(d,r))&&!((a=d.lastIndex)>l&&(c.push(r.slice(l,i.index)),i.length>1&&i.index=o));)d.lastIndex===i.index&&d.lastIndex++;return l===r.length?!s&&d.test("")||c.push(""):c.push(r.slice(l)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=m(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var i=n(r,e,this,o,r!==t);if(i.done)return i.value;var a=O(e),s=String(this),c=so(a,RegExp),u=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(lo?"y":"g"),d=new c(lo?a:"^(?:"+a.source+")",l),f=void 0===o?4294967295:o>>>0;if(0===f)return[];if(0===s.length)return null===Qr(d,s)?[s]:[];for(var p=0,h=0,m=[];h2,o=r?fo.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};xe({global:!0,bind:!0,forced:po},{setTimeout:ho(o.setTimeout),setInterval:ho(o.setInterval)});var mo=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r1)for(var n=1;n=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}(i.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?i.response:i.responseText,status:i.status,statusText:i.statusText,headers:r,config:e,request:i};!function(e,t,n){var r=n.config.validateStatus;!r||r(n.status)?e(n):t(ei("Request failed with status code "+n.status,n.config,null,n.request,n))}(t,n,o),i=null}},i.onabort=function(){i&&(n(ei("Request aborted",e,"ECONNABORTED",i)),i=null)},i.onerror=function(){n(ei("Network Error",e,null,i)),i=null},i.ontimeout=function(){n(ei("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",i)),i=null},bo.isStandardBrowserEnv()){var c=ri,u=(e.withCredentials||ni(e.url))&&e.xsrfCookieName?c.read(e.xsrfCookieName):void 0;u&&(o[e.xsrfHeaderName]=u)}if("setRequestHeader"in i&&bo.forEach(o,(function(e,t){void 0===r&&"content-type"===t.toLowerCase()?delete o[t]:i.setRequestHeader(t,e)})),e.withCredentials&&(i.withCredentials=!0),e.responseType)try{i.responseType=e.responseType}catch(d){if("json"!==e.responseType)throw d}"function"==typeof e.onDownloadProgress&&i.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&i.upload&&i.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){i&&(i.abort(),n(e),i=null)})),void 0===r&&(r=null),i.send(r)}))},ii={"Content-Type":"application/x-www-form-urlencoded"};function ai(e,t){!bo.isUndefined(e)&&bo.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var si={adapter:function(){var e;return(void 0!==Qo&&"[object process]"===Object.prototype.toString.call(Qo)||"undefined"!=typeof XMLHttpRequest)&&(e=oi),e}(),transformRequest:[function(e,t){return Zo(t,"Accept"),Zo(t,"Content-Type"),bo.isFormData(e)||bo.isArrayBuffer(e)||bo.isBuffer(e)||bo.isStream(e)||bo.isFile(e)||bo.isBlob(e)?e:bo.isArrayBufferView(e)?e.buffer:bo.isURLSearchParams(e)?(ai(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):bo.isObject(e)?(ai(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(n){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};bo.forEach(["delete","get","head"],(function(e){si.headers[e]={}})),bo.forEach(["post","put","patch"],(function(e){si.headers[e]=bo.merge(ii)}));var ci=si;function ui(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var li=function(e){var t,n;return ui(e),e.baseURL&&!function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}(e.url)&&(e.url=(t=e.baseURL,(n=e.url)?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t)),e.headers=e.headers||{},e.data=wo(e.data,e.headers,e.transformRequest),e.headers=bo.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),bo.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||ci.adapter)(e).then((function(t){return ui(e),t.data=wo(t.data,t.headers,e.transformResponse),t}),(function(t){return Oo(t)||(ui(e),t&&t.response&&(t.response.data=wo(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},di=function(e,t){t=t||{};var n={};return bo.forEach(["url","method","params","data"],(function(e){void 0!==t[e]&&(n[e]=t[e])})),bo.forEach(["headers","auth","proxy"],(function(r){bo.isObject(t[r])?n[r]=bo.deepMerge(e[r],t[r]):void 0!==t[r]?n[r]=t[r]:bo.isObject(e[r])?n[r]=bo.deepMerge(e[r]):void 0!==e[r]&&(n[r]=e[r])})),bo.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])})),n};function fi(e){this.defaults=e,this.interceptors={request:new Io,response:new Io}}fi.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=di(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[li,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},fi.prototype.getUri=function(e){return e=di(this.defaults,e),Co(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},bo.forEach(["delete","get","head","options"],(function(e){fi.prototype[e]=function(t,n){return this.request(bo.merge(n||{},{method:e,url:t}))}})),bo.forEach(["post","put","patch"],(function(e){fi.prototype[e]=function(t,n,r){return this.request(bo.merge(r||{},{method:e,url:t,data:n}))}}));var pi=fi;function hi(e){this.message=e}hi.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},hi.prototype.__CANCEL__=!0;var mi=hi;function gi(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new mi(e),t(n.reason))}))}gi.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},gi.source=function(){var e;return{token:new gi((function(t){e=t})),cancel:e}};var vi=gi;function yi(e){var t=new pi(e),n=mo(pi.prototype.request,t);return bo.extend(n,pi.prototype,t),bo.extend(n,t),n}var _i=yi(ci);_i.Axios=pi,_i.create=function(e){return yi(di(_i.defaults,e))},_i.Cancel=mi,_i.CancelToken=vi,_i.isCancel=Oo,_i.all=function(e){return Promise.all(e)},_i.spread=function(e){return function(t){return e.apply(null,t)}};var Si=_i,bi=_i;Si.default=bi;var Ei,Ci=Si,Ti=((new Date).getTime(),0),Ii=function(){return(new Date).getTime()+Ti},wi=function(){var e=new Date;return e.setTime(Ii()),e.toLocaleString()};function Oi(e){try{return JSON.stringify(e)}catch(r){if(!Ei)try{var t={};t.a=t,JSON.stringify(t)}catch(o){Ei=o.message}if(r.message===Ei)return"[Circular]";throw r}}function ki(e){var t="",n=0;return e.length>1&&"string"==typeof e[0]&&(t=(t=e[0].replace(/(%?)(%([sdjo]))/g,(function(t,r,o,i){if(!r){var a=e[n+=1],s="";switch(i){case"s":s+=a;break;case"d":s+=+a;break;case"j":s=Oi(a);break;case"o":var c=Oi(a);"{"!==c[0]&&"["!==c[0]&&(c="<".concat(c,">")),s=function(e){if(!Object.getOwnPropertyDescriptor||!Object.getPrototypeOf)return Object.prototype.toString.call(e).slice(8,-1);for(;e;){var t=Object.getOwnPropertyDescriptor(e,"constructor");if(void 0!==t&&"function"==typeof t.value&&""!==t.value.name)return t.value.name;e=Object.getPrototypeOf(e)}return""}(a)+c}return s}return t}))).replace(/%{2,2}/g,"%"),n+=1),e.length>n&&(t&&(t+=" "),t+=e.slice(n).join(" ")),t}var Ri=Object.prototype.hasOwnProperty;function Ai(){try{throw new Error}catch(e){return e.stack}}function Mi(e){var t=this,n=[],r=[];this.length=function(){return n.length},this.sent=function(){return r.length},this.push=function(t){n.push(t),n.length>e&&n.shift()},this.send=function(){return r.length||(r=n,n=[]),r},this.confirm=function(){r=[],t.content=""},this.fail=function(){var o=1+n.length+r.length-e;o>0&&(r.splice(0,o),n=r.concat(n),t.confirm())}}var xi,Di,Ni,Pi=!!Ai();function Li(e){return"[".concat(e.timestamp,"] <").concat(e.level.label.toUpperCase(),">").concat(e.logger?" (".concat(e.logger,")"):"",": ").concat(e.message).concat(e.stacktrace?"\n".concat(e.stacktrace):"")}var Gi={url:"https://yun.tim.qq.com/v5/AVQualityReportSvc/C2S?sdkappid=1&cmdtype=jssdk_log",interval:1e3,level:"trace",capacity:0,stacktrace:{levels:["trace","warn","error"],depth:3,excess:0},timestamp:function(){return(new Date).toISOString()},format:Li},Ui=-1,ji=!1,Fi="",Bi="",Vi="",qi=function(e){ji||(Fi="".concat(e.sdkAppId),Bi="".concat(e.userId),Vi="".concat(e.version),ji=!0)},$i=function(e,t){if(!e||!e.getLogger)throw new TypeError("Argument is not a root loglevel object");if(xi)throw new Error("You can assign a plugin only one time");xi=e;var n=function e(){for(var t={},n=0;n=xi.levels[n.level.toUpperCase()];return function(){for(var t=arguments.length,l=new Array(t),d=0;d "+f;a.apply(void 0,[E])}},e.methodFactory=Ni,e.setLevel(e.getLevel()),e},Hi=function(){if(!xi)throw new Error("You can't disable a not appled plugin");if(Ni!==xi.methodFactory)throw new Error("You can't disable a plugin after appling another plugin");xi.methodFactory=Di,xi.setLevel(xi.getLevel()),xi=void 0,clearInterval(Ui)},Ki=!1;sr.setConfig=function(e){qi(e)},sr.setLogLevel=function(e){sr.info("TRTC LogLevel was set to: "+e),sr.setLevel(e)},sr.enableUploadLog=function(){Ki||(sr.info("enable upload log"),$i(sr),Ki=!0)},sr.disableUploadLog=function(){Ki&&(sr.warn("disable upload log! Without log we are difficult to help you triage the issue you might run into!"),Hi(),Ki=!1)},sr.enableUploadLog(),sr.setLevel("INFO");var zi,Wi=Object.keys||function(e){return ve(e,ye)},Yi=a?Object.defineProperties:function(e,t){O(e);for(var n,r=Wi(t),o=r.length,i=0;o>i;)R.f(e,n=r[i++],t[n]);return e},Ji=ie("document","documentElement"),Xi=H("IE_PROTO"),Qi=function(){},Zi=function(e){return"