1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2f7d98"],{"09fa":function(e,s,t){var r=t("4588"),a=t("9def");e.exports=function(e){if(void 0===e)return 0;var s=r(e),t=a(s);if(s!==t)throw RangeError("Wrong length!");return t}},"0f88":function(e,s,t){var r,a=t("7726"),n=t("32e9"),o=t("ca5a"),i=o("typed_array"),u=o("view"),c=!(!a.ArrayBuffer||!a.DataView),m=c,l=0,g=9,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(l<g)(r=a[h[l++]])?(n(r.prototype,i,!0),n(r.prototype,u,!0)):m=!1;e.exports={ABV:c,CONSTR:m,TYPED:i,VIEW:u}},"26aa":function(e,s,t){"use strict";var r=t("745c"),a=t.n(r);a.a},"2b14":function(e,s,t){"use strict";var r=t("3557"),a=t.n(r);a.a},"2f35":function(e,s,t){"use strict";var r=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.repealMsg?t("div",{staticClass:"msg-repeal-item"},[e._v("\n "+e._s(e.repealStr)+"\n")]):e.msgItem&&e.msgItem.redPackTip?t("redPack-tip",{attrs:{info:e.msgItem}}):t("div",{staticClass:"msg-item clearfix",class:e.type},[e.timeMsg?t("msg-time",{attrs:{timestamp:e.timestamp}}):e._e(),e.avatar?t("img",{staticClass:"user-avatar avatar",attrs:{src:e.avatar,alt:""},on:{click:function(s){e.clickInfo()}}}):t("div",{staticClass:"avatar",class:"avatar_bg"+e.userId%9,attrs:{"data-name":e.name&&e.name.slice(0,2).toUpperCase()},on:{click:function(s){e.clickInfo()}}}),t("div",{staticClass:"content"},[t("div",{staticClass:"metabar"},[t("span",{staticClass:"name"},[e._v(e._s(e.name))]),e.creator==e.userId?t("span",{staticClass:"admin"},["me"===e.type?t("i",{staticClass:"icon-creator"}):e._e(),e._v("\n 群主\n "),"you"===e.type?t("i",{staticClass:"icon-creator"}):e._e()]):e.adminList.includes(Number(e.userId))?t("span",{staticClass:"admin"},["me"===e.type?t("i",{staticClass:"el-icon-star-on"}):e._e(),e._v("\n 管理员\n "),"you"===e.type?t("i",{staticClass:"el-icon-star-on"}):e._e()]):e._e(),t("span",{staticClass:"time"},[e._v(e._s(e._f("formatTimestamp")(e.timestamp)))])]),4==e.msg_type&&e.msgItem?t("red-packet",{attrs:{info:e.msgItem},nativeOn:{click:function(s){e.$packetGet(e.msgItem)}}}):e.isMobile?[t("div",{staticClass:"bubble disabled",class:{focus:e.showToolbar},on:{contextmenu:function(e){e.preventDefault()},touchstart:e.onTouchStartToolBtn,touchend:e.onTouchEndToolBtn}},[e.loading?t("i",{staticClass:"loading-icon"}):e._e(),e.fail?t("i",{staticClass:"error-icon",on:{click:e.reSend}}):e._e(),1==e.msg_type?t("img",{staticClass:"img-msg",style:{width:e.width,height:e.height},attrs:{src:e.content},on:{click:function(s){e.$showImgPreview(e.content)},load:e.imgLoad}}):2==e.msg_type||3==e.msg_type?t("video",{staticClass:"video-msg",class:{"limit-height":3==e.msg_type},attrs:{controls:"controls",preload:"meta",src:e.content}}):t("pre",{staticClass:"text",domProps:{innerHTML:e._s(e.content)}}),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.showToolbar,expression:"showToolbar"}],staticClass:"pub-pop-toolbar",style:{left:e.toolBarX,top:e.toolBarY,bottom:e.toolBarBottom}},[0==e.msg_type||4==e.msg_type?t("li",{on:{click:e.handleQuote}},[e._v("引用")]):e._e(),t("li",{on:{click:e.handleCopy}},[e._v("复制")]),e.isAdmin&&"you"===e.type||e.isAdmin||e.revoke?t("li",{staticClass:"split-line"}):e._e(),e.isAdmin?t("li",{on:{click:e.handlePingMsg}},[e._v("置顶")]):e._e(),e.isAdmin&&"you"===e.type?t("li",{on:{click:e.handleBlock}},[e._v(e._s(e.block?"解禁":"禁言"))]):e._e(),e.isAdmin||e.revoke?t("li",{on:{click:e.handleRevoke}},[e._v("撤回")]):e._e()])])]:[t("div",{staticClass:"bubble",class:{focus:e.showToolbar},on:{contextmenu:function(s){return s.preventDefault(),e.onToolBtn(s)}}},[e.loading?t("i",{staticClass:"loading-icon"}):e._e(),e.fail?t("i",{staticClass:"error-icon",on:{click:e.reSend}}):e._e(),1==e.msg_type?t("img",{staticClass:"img-msg",style:{width:e.width,height:e.height},attrs:{src:e.content},on:{click:function(s){e.$showImgPreview(e.content)},load:e.imgLoad}}):2==e.msg_type||3==e.msg_type?t("video",{staticClass:"video-msg",class:{"limit-height":3==e.msg_type},attrs:{controls:"controls",preload:"meta",src:e.content}}):t("pre",{staticClass:"text",domProps:{innerHTML:e._s(e.content)}}),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.showToolbar,expression:"showToolbar"}],staticClass:"pub-pop-toolbar",style:{left:e.toolBarX,top:e.toolBarY,bottom:e.toolBarBottom}},[0==e.msg_type||4==e.msg_type?t("li",{on:{click:e.handleQuote}},[e._v("引用")]):e._e(),t("li",{on:{click:e.handleCopy}},[e._v("复制")]),e.isAdmin&&"you"===e.type||e.isAdmin||e.revoke?t("li",{staticClass:"split-line"}):e._e(),e.isAdmin?t("li",{on:{click:e.handlePingMsg}},[e._v("置顶")]):e._e(),e.isAdmin&&"you"===e.type?t("li",{on:{click:e.handleBlock}},[e._v(e._s(e.block?"解禁":"禁言"))]):e._e(),e.isAdmin||e.revoke?t("li",{on:{click:e.handleRevoke}},[e._v("撤回")]):e._e()])])]],2)],1)},a=[],n=(t("6b54"),t("7f7f"),t("be94")),o=(t("c5f6"),t("5a0c")),i=t.n(o),u=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"msg-time"},[e._v(e._s(e.showTime))])},c=[],m=t("33f8"),l={name:"msgTime",props:{timestamp:{type:[String,Number],required:!0}},computed:{showTime:function(){return Object(m["k"])(this.timestamp,2)}}},g=l,h=(t("6e09"),t("2877")),f=Object(h["a"])(g,u,c,!1,null,"f51062f0",null);f.options.__file="time.vue";var d=f.exports,p=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"red-packet",class:e.info.userId==e.userId?"me":"you"},[t("div",{staticClass:"top",class:{"lose-bg":e.isLoseBg,unopen:0==e.info.ext.grabbed}},[t("i",{staticClass:"red-packet-icon"}),t("div",{staticClass:"word"},[t("p",[e._v(e._s(e.info.content.title))]),1==e.info.ext.grabbed?t("p",{staticClass:"bot-text"},[e._v("已领取")]):1==e.info.ext.redpack_status?t("p",{staticClass:"bot-text"},[e._v("已抢光")]):2==e.info.ext.redpack_status?t("p",{staticClass:"bot-text"},[e._v("已过期")]):e._e()])]),t("div",{staticClass:"bot"},[e._v("\n "+e._s(e.info.content.tokenType||"EOS")+"红包\n ")])])},v=[],b={name:"redPacket",props:["info"],computed:{userId:function(){return this.$store.state.userId},isLoseBg:function(){return 0!=this.info.ext.redpack_status||1==this.info.ext.grabbed}}},_=b,y=(t("a97f"),Object(h["a"])(_,p,v,!1,null,"3874205d",null));y.options.__file="redPacket.vue";var w=y.exports,k=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"tip-wrap"},[t("i",{staticClass:"redpack-icon"}),e.isMe?[t("span",[e._v(e._s(e.group.members[e.info.to].nick_name))]),e._v("领取了你的"),t("span",{staticClass:"text",on:{click:function(s){e.$packetGet(e.info)}}},[e._v("红包")])]:[e._v("\n 你领取了"),t("span",[e._v(e._s(e.group.members[e.info.from].nick_name))]),e._v("的"),t("span",{staticClass:"text",on:{click:function(s){e.$packetGet(e.info)}}},[e._v("红包")])]],2)},I=[],T=t("2f62"),x={name:"redPackTip",props:["info"],computed:Object(n["a"])({},Object(T["d"])(["userId","group"]),{isMe:function(){return this.info.from==this.userId}})},S=x,M=(t("aa2b"),Object(h["a"])(S,k,I,!1,null,"1beec098",null));M.options.__file="redPackTip.vue";var j=M.exports,C={name:"msgItem",components:{msgTime:d,redPacket:w,redPackTip:j},props:{msgItem:Object,isPrivate:Boolean,repealMsg:Boolean,from:[String,Number],timeMsg:Boolean,avatar:{type:String},name:{type:String},timestamp:[String,Number],hash:String,content:{type:[String,Number,Object]},userId:[String,Number],type:{type:String},msg_type:{type:[Number,String]},createTime:[Number],loading:[Boolean],fail:[Boolean],res:[File]},data:function(){return{isMobile:Object(m["o"])(),toolBarX:0,toolBarY:0,toolBarBottom:0,showToolbar:!1,revoke:!1,block:!1,revokeTimeAllow:!1,width:"auto",height:"auto",longTapTimer:null}},computed:Object(n["a"])({},Object(T["d"])({myId:function(e){return e.userId},userInfo:function(e){return e.group.userInfo},blockList:function(e){return e.group.blockList},adminList:function(e){return e.group.adminList},members:function(e){return e.group.members},creator:function(e){return e.group.creator}}),{isAdmin:function(){var e=this;return this.adminList&&this.adminList.some(function(s){return s==e.myId})},repealStr:function(){if(this.repealMsg){if(this.from==this.userId)return"".concat("me"==this.type?"你":this.name,"撤回了一条消息");if(this.userId==this.myId){var e=this.members[this.from],s="管理员";return e&&(s=e.nick_name),"".concat(s,"撤回了").concat(this.name,"的一条消息")}return""}return""}}),mounted:function(){if(1==this.msg_type){var e=/_size([0-9]+)x([0-9]+)/.exec(this.content);if(e){var s=parseInt(e[1]),t=parseInt(e[2]),r=.84*(document.body.offsetWidth-35),a=s>r?r/s:1,n=t>250?250/t:1,o=Math.min(a,n);this.width=o*s+"px",this.height=o*t+"px"}}},created:function(){},methods:Object(n["a"])({},Object(T["c"])(["updateChatInputFocus","reSendChatItem"]),Object(T["b"])(["doRepealPersonMsg","doRepealGroupMsg","doBlockUser","doUnBlockUser","doPinMsg","doSendMsg","doSendFile"]),{clickInfo:function(){"me"===this.type?this.$showUserInfo():this.$showOtherInfo(this.userId)},imgLoad:function(e){this.width="auto",this.height="auto"},hideToolbar:function(e){!1!==this.showToolbar&&(this.showToolbar=!1,document.body.removeEventListener("click",this.hideToolbar,!1),document.body.removeEventListener("contextmenu",this.hideToolbar,!1))},onToolBtn:function(e){var s=this;if(this.showToolbar)this.hideToolbar(e);else{var t,r,a=window.innerWidth,n=window.innerHeight;if(e instanceof MouseEvent)t=e.clientX,r=e.clientY,this.toolBarX=e.layerX+20,this.toolBarY=e.layerY,setTimeout(function(){document.body.addEventListener("click",s.hideToolbar,!1),document.body.addEventListener("contextmenu",s.hideToolbar,!1)},0);else{var o=e.touches[0]||e.changedTouches[0];t=o.clientX,r=o.clientY;var i=e.target.getBoundingClientRect();this.toolBarX=o.pageX+20-i.left,this.toolBarY=o.pageY-i.top;var u=e.target;while(!u.classList.contains("bubble"))this.toolBarX+=u.offsetLeft,u=u.parentNode}t>.66*a&&(this.toolBarX=this.toolBarX-120),this.toolBarX+="px",r>n/2?(this.toolBarBottom=this.toolBarY+"px",this.toolBarY="auto"):(this.toolBarBottom="auto",this.toolBarY+="px"),this.showToolbar=!0,this.block=this.blockList.some(function(e){return e==s.userId}),this.revokeTimeAllow=Date.now()-parseInt(this.timestamp)<18e4,this.revoke="me"===this.type&&this.revokeTimeAllow}},onTouchStartToolBtn:function(e){var s=this;clearTimeout(this.longTapTimer),this.longTapTimer=setTimeout(function(){s.onToolBtn(e)},800)},onTouchEndToolBtn:function(e){var s=this;clearTimeout(this.longTapTimer),setTimeout(function(){document.body.addEventListener("click",s.hideToolbar,!1)},0)},handleQuote:function(){var e=this,s=this.name,t=this.content,r="「".concat(s,":").concat(t,"」\n- - - - - - - - - - - - - - -\n");this.$emit("quoteMsg",r),this.$nextTick(function(){e.updateChatInputFocus(!0)})},handleCopy:function(){var e,s=this,t="";window.getSelection?(e=window.getSelection(),t=e.toString()):document.selection&&(e=document.selection.createRange(),t=e.text);var r=t||this.content;this.$copyText(r).then(function(e){s.updateChatInputFocus(!0)},function(e){console.log("Can not copy")})},handleShare:function(){this.$showInvite(this.content)},handleDel:function(){this.$emit("deleteMsg",this.hash)},handlePingMsg:function(){this.doPinMsg({hash:this.hash})},handleRevoke:function(){this.isPrivate?(console.log("撤回"),this.doRepealPersonMsg({hash:this.hash})):this.doRepealGroupMsg({hash:this.hash})},handleBlock:function(){this.block?this.doUnBlockUser({id:this.userId}):this.doBlockUser({id:this.userId})},reSend:function(){if(0==this.msg_type||4==this.msg_type){var e={type:0,msg:this.content,createTime:this.createTime};this.reSendChatItem({createTime:this.createTime}),this.isPrivate?this.doSendPrivateMsg(e):this.doSendMsg(e)}else{var s={res:this.res,createTime:this.createTime};this.reSendChatItem({createTime:this.createTime}),this.doSendFile(s)}}}),filters:{formatTimestamp:function(e){return e?i()(1*e).format("HH:mm"):""}}},B=C,L=(t("777e"),Object(h["a"])(B,r,a,!1,null,"1f8e5f08",null));L.options.__file="index.vue";s["a"]=L.exports},"2fdb":function(e,s,t){"use strict";var r=t("5ca1"),a=t("d2c8"),n="includes";r(r.P+r.F*t("5147")(n),"String",{includes:function(e){return!!~a(this,e,n).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"34d0":function(e,s,t){"use strict";var r=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.visible?t("div",{staticClass:"chat-pinmsg",on:{click:e.scrollToView}},[t("label",[e._v("消息:")]),t("div",{staticClass:"msg-content"},[e._v(e._s(e._f("decryptoMsg")(e.msg)))]),t("i",{staticClass:"msg-close",on:{click:function(s){return s.stopPropagation(),e.handleClose(s)}}})]):e._e()},a=[],n=(t("9e1f"),t("450d"),t("6ed5")),o=t.n(n),i=t("be94"),u=t("2f62"),c=t("33f8"),m={name:"pinMsg",props:{visible:{type:Boolean,default:!1},msg:{type:String,default:""},hash:{type:String}},data:function(){return{}},computed:Object(i["a"])({},Object(u["d"])(["userId"]),Object(u["d"])({adminList:function(e){return e.group.adminList}}),{isAdmin:function(){var e=this;return this.adminList&&this.adminList.some(function(s){return s==e.userId})}}),methods:Object(i["a"])({},Object(u["b"])(["doUnpinMsg"]),{handleClose:function(e){var s=this;this.isAdmin?o.a.confirm("确定要关闭置顶消息吗?").then(function(){s.doUnpinMsg({hash:s.hash})}).catch(function(e){console.log(e)}):this.$emit("pinMsgClose")},scrollToView:function(e){this.$emit("scrollToView")}}),mounted:function(){},filters:{decryptoMsg:c["i"]}},l=m,g=(t("ea44"),t("2877")),h=Object(g["a"])(l,r,a,!1,null,"4040813b",null);h.options.__file="index.vue";s["a"]=h.exports},"34ef":function(e,s,t){t("ec30")("Uint8",1,function(e){return function(s,t,r){return e(this,s,t,r)}})},3557:function(e,s,t){},"36bd":function(e,s,t){"use strict";var r=t("4bf8"),a=t("77f1"),n=t("9def");e.exports=function(e){var s=r(this),t=n(s.length),o=arguments.length,i=a(o>1?arguments[1]:void 0,t),u=o>2?arguments[2]:void 0,c=void 0===u?t:a(u,t);while(c>i)s[i++]=e;return s}},3703:function(e,s,t){"use strict";t.d(s,"a",function(){return r});var r={"人物":[{names:["grinning"],surrogates:"😀"},{names:["grimacing"],surrogates:"😬"},{names:["grin"],surrogates:"😁"},{names:["joy"],surrogates:"😂"},{names:["smiley"],surrogates:"😃"},{names:["smile"],surrogates:"😄"},{names:["sweat_smile"],surrogates:"😅"},{names:["laughing"],surrogates:"😆"},{names:["innocent"],surrogates:"😇"},{names:["wink"],surrogates:"😉"},{names:["blush"],surrogates:"😊"},{names:["slight_smile"],surrogates:"🙂"},{names:["upside_down"],surrogates:"🙃"},{names:["relaxed"],surrogates:"☺"},{names:["yum"],surrogates:"😋"},{names:["relieved"],surrogates:"😌"},{names:["heart_eyes"],surrogates:"😍"},{names:["kissing_heart"],surrogates:"😘"},{names:["kissing"],surrogates:"😗"},{names:["kissing_smiling_eyes"],surrogates:"😙"},{names:["kissing_closed_eyes"],surrogates:"😚"},{names:["stuck_out_tongue_winking_eye"],surrogates:"😜"},{names:["stuck_out_tongue_closed_eyes"],surrogates:"😝"},{names:["stuck_out_tongue"],surrogates:"😛"},{names:["money_mouth"],surrogates:"🤑"},{names:["nerd"],surrogates:"🤓"},{names:["sunglasses"],surrogates:"😎"},{names:["hugging"],surrogates:"🤗"},{names:["smirk"],surrogates:"😏"},{names:["no_mouth"],surrogates:"😶"},{names:["neutral_face"],surrogates:"😐"},{names:["expressionless"],surrogates:"😑"},{names:["unamused"],surrogates:"😒"},{names:["rolling_eyes"],surrogates:"🙄"},{names:["thinking"],surrogates:"🤔"},{names:["flushed"],surrogates:"😳"},{names:["disappointed"],surrogates:"😞"},{names:["worried"],surrogates:"😟"},{names:["angry"],surrogates:"😠"},{names:["rage"],surrogates:"😡"},{names:["pensive"],surrogates:"😔"},{names:["confused"],surrogates:"😕"},{names:["slight_frown"],surrogates:"🙁"},{names:["frowning2"],surrogates:"☹"},{names:["persevere"],surrogates:"😣"},{names:["confounded"],surrogates:"😖"},{names:["tired_face"],surrogates:"😫"},{names:["weary"],surrogates:"😩"},{names:["triumph"],surrogates:"😤"},{names:["open_mouth"],surrogates:"😮"},{names:["scream"],surrogates:"😱"},{names:["fearful"],surrogates:"😨"},{names:["cold_sweat"],surrogates:"😰"},{names:["hushed"],surrogates:"😯"},{names:["frowning"],surrogates:"😦"},{names:["anguished"],surrogates:"😧"},{names:["cry"],surrogates:"😢"},{names:["disappointed_relieved"],surrogates:"😥"},{names:["sleepy"],surrogates:"😪"},{names:["sweat"],surrogates:"😓"},{names:["sob"],surrogates:"😭"},{names:["dizzy_face"],surrogates:"😵"},{names:["astonished"],surrogates:"😲"},{names:["zipper_mouth"],surrogates:"🤐"},{names:["mask"],surrogates:"😷"},{names:["thermometer_face"],surrogates:"🤒"},{names:["head_bandage"],surrogates:"🤕"},{names:["sleeping"],surrogates:"😴"},{names:["rofl"],surrogates:"🤣"},{names:["drool"],surrogates:"🤤"},{names:["liar"],surrogates:"🤥"},{names:["sneeze"],surrogates:"🤧"},{names:["zzz"],surrogates:"💤"},{names:["poop"],surrogates:"💩"},{names:["call_me"],surrogates:"🤙",hasDiversity:!0},{names:["back_of_hand"],surrogates:"🤚",hasDiversity:!0},{names:["left_fist"],surrogates:"🤛",hasDiversity:!0},{names:["right_fist"],surrogates:"🤜",hasDiversity:!0},{names:["handshake"],surrogates:"🤝"},{names:["fingers_crossed"],surrogates:"🤞",hasDiversity:!0},{names:["raised_hands"],surrogates:"🙌",hasDiversity:!0},{names:["clap"],surrogates:"👏",hasDiversity:!0},{names:["wave"],surrogates:"👋",hasDiversity:!0},{names:["thumbsup"],surrogates:"👍",hasDiversity:!0},{names:["thumbsdown"],surrogates:"👎",hasDiversity:!0},{names:["punch"],surrogates:"👊",hasDiversity:!0},{names:["fist"],surrogates:"✊",hasDiversity:!0},{names:["v"],surrogates:"✌",hasDiversity:!0},{names:["ok_hand"],surrogates:"👌",hasDiversity:!0},{names:["raised_hand"],surrogates:"✋",hasDiversity:!0},{names:["open_hands"],surrogates:"👐",hasDiversity:!0},{names:["muscle"],surrogates:"💪",hasDiversity:!0},{names:["pray"],surrogates:"🙏",hasDiversity:!0},{names:["point_up"],surrogates:"☝",hasDiversity:!0},{names:["middle_finger"],surrogates:"🖕",hasDiversity:!0},{names:["hand_splayed"],surrogates:"🖐",hasDiversity:!0},{names:["metal"],surrogates:"🤘",hasDiversity:!0},{names:["vulcan"],surrogates:"🖖",hasDiversity:!0},{names:["lips"],surrogates:"👄"},{names:["bow"],surrogates:"🙇",hasDiversity:!0},{names:["massage"],surrogates:"💆",hasDiversity:!0},{names:["necktie"],surrogates:"👔"},{names:["dress"],surrogates:"👗"},{names:["bikini"],surrogates:"👙"},{names:["kimono"],surrogates:"👘"},{names:["prince"],surrogates:"🤴",hasDiversity:!0},{names:["man_in_tuxedo"],surrogates:"🤵",hasDiversity:!0},{names:["mrs_claus"],surrogates:"🤶",hasDiversity:!0},{names:["face_palm"],surrogates:"🤦",hasDiversity:!0},{names:["shrug"],surrogates:"🤷",hasDiversity:!0}],"自然":[{names:["rose"],surrogates:"🌹"},{names:["wilted_rose"],surrogates:"🥀"},{names:["tulip"],surrogates:"🌷"},{names:["hibiscus"],surrogates:"🌺"},{names:["sunflower"],surrogates:"🌻"},{names:["blossom"],surrogates:"🌼"},{names:["cherry_blossom"],surrogates:"🌸"},{names:["bouquet"],surrogates:"💐"},{names:["four_leaf_clover"],surrogates:"🍀"},{names:["bamboo"],surrogates:"🎍"},{names:["tanabata_tree"],surrogates:"🎋"},{names:["leaves"],surrogates:"🍃"},{names:["fallen_leaf"],surrogates:"🍂"},{names:["maple_leaf"],surrogates:"🍁"},{names:["ear_of_rice"],surrogates:"🌾"},{names:["mushroom"],surrogates:"🍄"},{names:["chestnut"],surrogates:"🌰"},{names:["jack_o_lantern"],surrogates:"🎃"},{names:["dog"],surrogates:"🐶"},{names:["cat"],surrogates:"🐱"},{names:["mouse"],surrogates:"🐭"},{names:["hamster"],surrogates:"🐹"},{names:["rabbit"],surrogates:"🐰"},{names:["bear"],surrogates:"🐻"},{names:["panda_face"],surrogates:"🐼"},{names:["koala"],surrogates:"🐨"},{names:["tiger"],surrogates:"🐯"},{names:["lion_face"],surrogates:"🦁"},{names:["cow"],surrogates:"🐮"},{names:["pig"],surrogates:"🐷"},{names:["pig_nose"],surrogates:"🐽"},{names:["frog"],surrogates:"🐸"},{names:["octopus"],surrogates:"🐙"},{names:["monkey_face"],surrogates:"🐵"},{names:["see_no_evil"],surrogates:"🙈"},{names:["hear_no_evil"],surrogates:"🙉"},{names:["speak_no_evil"],surrogates:"🙊"},{names:["monkey"],surrogates:"🐒"},{names:["chicken"],surrogates:"🐔"},{names:["penguin"],surrogates:"🐧"},{names:["bird"],surrogates:"🐦"},{names:["baby_chick"],surrogates:"🐤"},{names:["wolf"],surrogates:"🐺"},{names:["boar"],surrogates:"🐗"},{names:["horse"],surrogates:"🐴"},{names:["unicorn"],surrogates:"🦄"},{names:["bee"],surrogates:"🐝"},{names:["bug"],surrogates:"🐛"},{names:["snail"],surrogates:"🐌"},{names:["beetle"],surrogates:"🐞"},{names:["ant"],surrogates:"🐜"},{names:["spider"],surrogates:"🕷"},{names:["scorpion"],surrogates:"🦂"},{names:["crab"],surrogates:"🦀"},{names:["snake"],surrogates:"🐍"},{names:["turtle"],surrogates:"🐢"},{names:["tropical_fish"],surrogates:"🐠"},{names:["fish"],surrogates:"🐟"},{names:["blowfish"],surrogates:"🐡"},{names:["dolphin"],surrogates:"🐬"},{names:["whale"],surrogates:"🐳"},{names:["whale2"],surrogates:"🐋"},{names:["crocodile"],surrogates:"🐊"},{names:["leopard"],surrogates:"🐆"},{names:["tiger2"],surrogates:"🐅"},{names:["water_buffalo"],surrogates:"🐃"},{names:["ox"],surrogates:"🐂"},{names:["cow2"],surrogates:"🐄"},{names:["dromedary_camel"],surrogates:"🐪"},{names:["camel"],surrogates:"🐫"},{names:["elephant"],surrogates:"🐘"},{names:["goat"],surrogates:"🐐"},{names:["ram"],surrogates:"🐏"},{names:["sheep"],surrogates:"🐑"},{names:["racehorse"],surrogates:"🐎"},{names:["pig2"],surrogates:"🐖"},{names:["rat"],surrogates:"🐀"},{names:["mouse2"],surrogates:"🐁"},{names:["rooster"],surrogates:"🐓"},{names:["turkey"],surrogates:"🦃"},{names:["dove"],surrogates:"🕊"},{names:["dog2"],surrogates:"🐕"},{names:["poodle"],surrogates:"🐩"},{names:["cat2"],surrogates:"🐈"},{names:["rabbit2"],surrogates:"🐇"},{names:["chipmunk"],surrogates:"🐿"},{names:["feet"],surrogates:"🐾"},{names:["dragon"],surrogates:"🐉"},{names:["dragon_face"],surrogates:"🐲"},{names:["shell"],surrogates:"🐚"},{names:["eagle"],surrogates:"🦅"},{names:["duck"],surrogates:"🦆"},{names:["bat"],surrogates:"🦇"},{names:["shark"],surrogates:"🦈"},{names:["owl"],surrogates:"🦉"},{names:["fox"],surrogates:"🦊"},{names:["butterfly"],surrogates:"🦋"},{names:["deer"],surrogates:"🦌"},{names:["gorilla"],surrogates:"🦍"},{names:["lizard"],surrogates:"🦎"},{names:["rhino"],surrogates:"🦏"},{names:["shrimp"],surrogates:"🦐"},{names:["squid"],surrogates:"🦑"}],"食物":[{names:["green_apple"],surrogates:"🍏"},{names:["apple"],surrogates:"🍎"},{names:["pear"],surrogates:"🍐"},{names:["tangerine"],surrogates:"🍊"},{names:["lemon"],surrogates:"🍋"},{names:["banana"],surrogates:"🍌"},{names:["watermelon"],surrogates:"🍉"},{names:["grapes"],surrogates:"🍇"},{names:["strawberry"],surrogates:"🍓"},{names:["melon"],surrogates:"🍈"},{names:["cherries"],surrogates:"🍒"},{names:["peach"],surrogates:"🍑"},{names:["pineapple"],surrogates:"🍍"},{names:["tomato"],surrogates:"🍅"},{names:["eggplant"],surrogates:"🍆"},{names:["hot_pepper"],surrogates:"🌶"},{names:["corn"],surrogates:"🌽"},{names:["sweet_potato"],surrogates:"🍠"},{names:["honey_pot"],surrogates:"🍯"},{names:["bread"],surrogates:"🍞"},{names:["cheese"],surrogates:"🧀"},{names:["poultry_leg"],surrogates:"🍗"},{names:["meat_on_bone"],surrogates:"🍖"},{names:["fried_shrimp"],surrogates:"🍤"},{names:["cooking"],surrogates:"🍳"},{names:["hamburger"],surrogates:"🍔"},{names:["fries"],surrogates:"🍟"},{names:["hotdog"],surrogates:"🌭"},{names:["pizza"],surrogates:"🍕"},{names:["spaghetti"],surrogates:"🍝"},{names:["taco"],surrogates:"🌮"},{names:["burrito"],surrogates:"🌯"},{names:["ramen"],surrogates:"🍜"},{names:["stew"],surrogates:"🍲"},{names:["fish_cake"],surrogates:"🍥"},{names:["sushi"],surrogates:"🍣"},{names:["bento"],surrogates:"🍱"},{names:["curry"],surrogates:"🍛"},{names:["rice_ball"],surrogates:"🍙"},{names:["rice"],surrogates:"🍚"},{names:["rice_cracker"],surrogates:"🍘"},{names:["oden"],surrogates:"🍢"},{names:["dango"],surrogates:"🍡"},{names:["shaved_ice"],surrogates:"🍧"},{names:["ice_cream"],surrogates:"🍨"},{names:["icecream"],surrogates:"🍦"},{names:["cake"],surrogates:"🍰"},{names:["birthday"],surrogates:"🎂"},{names:["custard"],surrogates:"🍮"},{names:["candy"],surrogates:"🍬"},{names:["lollipop"],surrogates:"🍭"},{names:["chocolate_bar"],surrogates:"🍫"},{names:["popcorn"],surrogates:"🍿"},{names:["doughnut"],surrogates:"🍩"},{names:["cookie"],surrogates:"🍪"},{names:["beer"],surrogates:"🍺"},{names:["beers"],surrogates:"🍻"},{names:["wine_glass"],surrogates:"🍷"},{names:["cocktail"],surrogates:"🍸"},{names:["tropical_drink"],surrogates:"🍹"},{names:["champagne"],surrogates:"🍾"},{names:["sake"],surrogates:"🍶"},{names:["tea"],surrogates:"🍵"},{names:["coffee"],surrogates:"☕"},{names:["baby_bottle"],surrogates:"🍼"},{names:["fork_and_knife"],surrogates:"🍴"},{names:["fork_knife_plate"],surrogates:"🍽"},{names:["croissant"],surrogates:"🥐"},{names:["avocado"],surrogates:"🥑"},{names:["cucumber"],surrogates:"🥒"},{names:["bacon"],surrogates:"🥓"},{names:["potato"],surrogates:"🥔"},{names:["carrot"],surrogates:"🥕"},{names:["french_bread"],surrogates:"🥖"},{names:["salad"],surrogates:"🥗"},{names:["shallow_pan_of_food"],surrogates:"🥘"},{names:["stuffed_flatbread"],surrogates:"🥙"},{names:["champagne_glass"],surrogates:"🥂"},{names:["tumbler_glass"],surrogates:"🥃"},{names:["spoon"],surrogates:"🥄"},{names:["egg"],surrogates:"🥚"},{names:["milk"],surrogates:"🥛"},{names:["peanuts"],surrogates:"🥜"},{names:["kiwi"],surrogates:"🥝"},{names:["pancakes"],surrogates:"🥞"}],"活动":[{names:["soccer"],surrogates:"⚽"},{names:["basketball"],surrogates:"🏀"},{names:["football"],surrogates:"🏈"},{names:["baseball"],surrogates:"⚾"},{names:["tennis"],surrogates:"🎾"},{names:["volleyball"],surrogates:"🏐"},{names:["rugby_football"],surrogates:"🏉"},{names:["8ball"],surrogates:"🎱"},{names:["golf"],surrogates:"⛳"},{names:["golfer"],surrogates:"🏌",hasDiversity:!0},{names:["ping_pong","table_tennis"],surrogates:"🏓"},{names:["badminton"],surrogates:"🏸"},{names:["hockey"],surrogates:"🏒"},{names:["field_hockey"],surrogates:"🏑"},{names:["cricket","cricket_bat_ball"],surrogates:"🏏"},{names:["ski"],surrogates:"🎿"},{names:["skier"],surrogates:"⛷",hasDiversity:!0},{names:["snowboarder"],surrogates:"🏂",hasDiversity:!0},{names:["ice_skate"],surrogates:"⛸"},{names:["bow_and_arrow"],surrogates:"🏹"},{names:["fishing_pole_and_fish"],surrogates:"🎣"},{names:["rowboat"],surrogates:"🚣",hasDiversity:!0},{names:["swimmer"],surrogates:"🏊",hasDiversity:!0},{names:["surfer"],surrogates:"🏄",hasDiversity:!0},{names:["bath"],surrogates:"🛀",hasDiversity:!0},{names:["basketball_player"],surrogates:"⛹",hasDiversity:!0},{names:["lifter"],surrogates:"🏋",hasDiversity:!0},{names:["bicyclist"],surrogates:"🚴",hasDiversity:!0},{names:["mountain_bicyclist"],surrogates:"🚵",hasDiversity:!0},{names:["horse_racing"],surrogates:"🏇",hasDiversity:!0},{names:["levitate"],surrogates:"🕴",hasDiversity:!0},{names:["trophy"],surrogates:"🏆"},{names:["running_shirt_with_sash"],surrogates:"🎽"},{names:["medal"],surrogates:"🏅"},{names:["military_medal"],surrogates:"🎖"},{names:["reminder_ribbon"],surrogates:"🎗"},{names:["rosette"],surrogates:"🏵"},{names:["ticket"],surrogates:"🎫"},{names:["tickets","admission_tickets"],surrogates:"🎟"},{names:["performing_arts"],surrogates:"🎭"},{names:["art"],surrogates:"🎨"},{names:["circus_tent"],surrogates:"🎪"},{names:["microphone"],surrogates:"🎤"},{names:["headphones"],surrogates:"🎧"},{names:["musical_score"],surrogates:"🎼"},{names:["musical_keyboard"],surrogates:"🎹"},{names:["saxophone"],surrogates:"🎷"},{names:["trumpet"],surrogates:"🎺"},{names:["guitar"],surrogates:"🎸"},{names:["violin"],surrogates:"🎻"},{names:["clapper"],surrogates:"🎬"},{names:["video_game"],surrogates:"🎮"},{names:["space_invader"],surrogates:"👾"},{names:["dart"],surrogates:"🎯"},{names:["game_die"],surrogates:"🎲"},{names:["slot_machine"],surrogates:"🎰"},{names:["bowling"],surrogates:"🎳"},{names:["cartwheel"],surrogates:"🤸",hasDiversity:!0},{names:["juggling"],surrogates:"🤹",hasDiversity:!0},{names:["wrestlers"],surrogates:"🤼"},{names:["boxing_glove"],surrogates:"🥊"},{names:["martial_arts_uniform"],surrogates:"🥋"},{names:["water_polo"],surrogates:"🤽",hasDiversity:!0},{names:["handball"],surrogates:"🤾",hasDiversity:!0},{names:["goal"],surrogates:"🥅"},{names:["fencer"],surrogates:"🤺"},{names:["first_place"],surrogates:"🥇"},{names:["second_place"],surrogates:"🥈"},{names:["third_place"],surrogates:"🥉"},{names:["drum"],surrogates:"🥁"}],"旅行":[{names:["red_car"],surrogates:"🚗"},{names:["taxi"],surrogates:"🚕"},{names:["blue_car"],surrogates:"🚙"},{names:["bus"],surrogates:"🚌"},{names:["trolleybus"],surrogates:"🚎"},{names:["race_car","racing_car"],surrogates:"🏎"},{names:["police_car"],surrogates:"🚓"},{names:["ambulance"],surrogates:"🚑"},{names:["fire_engine"],surrogates:"🚒"},{names:["minibus"],surrogates:"🚐"},{names:["truck"],surrogates:"🚚"},{names:["articulated_lorry"],surrogates:"🚛"},{names:["tractor"],surrogates:"🚜"},{names:["motorcycle"],surrogates:"🏍"},{names:["bike"],surrogates:"🚲"},{names:["rotating_light"],surrogates:"🚨"},{names:["oncoming_police_car"],surrogates:"🚔"},{names:["oncoming_bus"],surrogates:"🚍"},{names:["oncoming_automobile"],surrogates:"🚘"},{names:["oncoming_taxi"],surrogates:"🚖"},{names:["aerial_tramway"],surrogates:"🚡"},{names:["mountain_cableway"],surrogates:"🚠"},{names:["suspension_railway"],surrogates:"🚟"},{names:["railway_car"],surrogates:"🚃"},{names:["train"],surrogates:"🚋"},{names:["monorail"],surrogates:"🚝"},{names:["bullettrain_side"],surrogates:"🚄"},{names:["bullettrain_front"],surrogates:"🚅"},{names:["light_rail"],surrogates:"🚈"},{names:["mountain_railway"],surrogates:"🚞"},{names:["steam_locomotive"],surrogates:"🚂"},{names:["train2"],surrogates:"🚆"},{names:["metro"],surrogates:"🚇"},{names:["tram"],surrogates:"🚊"},{names:["station"],surrogates:"🚉"},{names:["helicopter"],surrogates:"🚁"},{names:["airplane_small"],surrogates:"🛩"},{names:["airplane"],surrogates:"✈"},{names:["sailboat"],surrogates:"⛵"},{names:["motorboat"],surrogates:"🛥"},{names:["speedboat"],surrogates:"🚤"},{names:["ferry"],surrogates:"⛴"},{names:["cruise_ship"],surrogates:"🛳"},{names:["rocket"],surrogates:"🚀"},{names:["satellite_orbital"],surrogates:"🛰"},{names:["scooter"],surrogates:"🛴"},{names:["motorbike"],surrogates:"🛵"},{names:["canoe"],surrogates:"🛶"}],"符号":[{names:["100"],surrogates:"💯"},{names:["1234"],surrogates:"🔢"},{names:["heart"],surrogates:"❤"},{names:["broken_heart"],surrogates:"💔"},{names:["two_hearts"],surrogates:"💕"},{names:["revolving_hearts"],surrogates:"💞"},{names:["heartbeat"],surrogates:"💓"},{names:["heartpulse"],surrogates:"💗"},{names:["sparkling_heart"],surrogates:"💖"},{names:["cupid"],surrogates:"💘"},{names:["gift_heart"],surrogates:"💝"},{names:["heart_decoration"],surrogates:"💟"},{names:["om_symbol"],surrogates:"🕉"},{names:["six_pointed_star"],surrogates:"🔯"},{names:["menorah"],surrogates:"🕎"},{names:["place_of_worship"],surrogates:"🛐"},{names:["ophiuchus"],surrogates:"⛎"},{names:["sos"],surrogates:"🆘"},{names:["no_entry"],surrogates:"⛔"},{names:["name_badge"],surrogates:"📛"},{names:["no_entry_sign"],surrogates:"🚫"},{names:["x"],surrogates:"❌"},{names:["o"],surrogates:"⭕"},{names:["anger"],surrogates:"💢"},{names:["no_pedestrians"],surrogates:"🚷"},{names:["do_not_litter"],surrogates:"🚯"},{names:["no_bicycles"],surrogates:"🚳"},{names:["non_potable_water"],surrogates:"🚱"},{names:["underage"],surrogates:"🔞"},{names:["no_mobile_phones"],surrogates:"📵"},{names:["low_brightness"],surrogates:"🔅"},{names:["high_brightness"],surrogates:"🔆"},{names:["trident"],surrogates:"🔱"},{names:["fleur_de_lis"],surrogates:"⚜"},{names:["part_alternation_mark"],surrogates:"〽"},{names:["warning"],surrogates:"⚠"},{names:["children_crossing"],surrogates:"🚸"},{names:["beginner"],surrogates:"🔰"},{names:["recycle"],surrogates:"♻"},{names:["chart"],surrogates:"💹"},{names:["sparkle"],surrogates:"❇"},{names:["eight_spoked_asterisk"],surrogates:"✳"},{names:["negative_squared_cross_mark"],surrogates:"❎"},{names:["white_check_mark"],surrogates:"✅"},{names:["globe_with_meridians"],surrogates:"🌐"},{names:["atm"],surrogates:"🏧"},{names:["no_smoking"],surrogates:"🚭"},{names:["wc"],surrogates:"🚾"},{names:["mens"],surrogates:"🚹"},{names:["womens"],surrogates:"🚺"},{names:["baby_symbol"],surrogates:"🚼"},{names:["restroom"],surrogates:"🚻"},{names:["put_litter_in_its_place"],surrogates:"🚮"},{names:["heavy_dollar_sign"],surrogates:"💲"},{names:["black_joker"],surrogates:"🃏"},{names:["spades"],surrogates:"♠"},{names:["clubs"],surrogates:"♣"},{names:["hearts"],surrogates:"♥"},{names:["diamonds"],surrogates:"♦"},{names:["black_heart"],surrogates:"🖤"},{names:["octagonal_sign","stop_sign"],surrogates:"🛑"}]}},3846:function(e,s,t){t("9e1e")&&"g"!=/./g.flags&&t("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:t("0bfb")})},3868:function(e,s,t){"use strict";t.d(s,"a",function(){return l}),t.d(s,"b",function(){return g});t("a481"),t("4917"),t("0fb7"),t("450d");var r=t("f529"),a=t.n(r),n=(t("ac6a"),t("20d6"),t("96cf"),t("1da1")),o=t("be94"),i=t("2f62"),u=t("33f8"),c=t("3703"),m=t("b16d"),l={watch:{$route:function(){this.bdHiden=!0,this.groupSet=!1,this.lockMore=!1,this.lockEnd=!1,this.enableScroll=!1,this.initRoom()},unreadNums:function(e,s){e>0&&this.isBottom&&setTimeout(this.resizeToBottom.bind(this),150)},chatList:function(e){var s=e[e.length-1];s&&4==s.msg_type&&this.$nextTick(this.resizeToBottom)},isJoinGroup:function(e){1==e&&setTimeout(this.resizeToBottom.bind(this),100)}},data:function(){return{groupSet:!1,lockMore:!1,lockEnd:!1,enableScroll:!1,isBottom:!0,scrollHeight:100,isScrollToView:!1,isShowGroudMgr:!1}},computed:Object(o["a"])({},Object(i["d"])(["group","userId","userInfo",""]),Object(i["d"])({creator:function(e){return e.group.creator},isJoin:function(e){return e.group.isJoin},pinMsg:function(e){return e.group.pinMsg},pinList:function(e){return e.group.pinList},atList:function(e){return e.group.atList},unreadNums:function(e){return e.group.unreadNums},chatList:function(e){return e.group.chatList},members:function(e){return e.group.members},sessionId:function(e){return e.curSession},sessionInfo:function(e){return e.group.sessionInfo}}),{isPrivate:function(){return this.$store.getters.isPrivate},isCreator:function(){return this.userId==this.creator},isJoinGroup:function(){return this.group&&this.group.groupId?this.isJoin?1:0:1}}),mounted:function(){this.initRoom(),document.addEventListener("contextmenu",function(e){return e.preventDefault()})},methods:Object(o["a"])({},Object(i["c"])(["initGroup","resetUnreadNums","addChatItem","deleteChatItem","initState","clearAtList","curSession","setSessionItemUnread"]),Object(i["b"])(["getGroupInfo","getUserInfo","getNewMsg","getHistoryMsg","doSendMsg","getPrivateNewMsg","getPrivateHistoryMsg","doSendPrivateMsg"]),{initRoom:function(){var e=Object(n["a"])(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(this.userInfo){e.next=3;break}return e.next=3,this.getUserInfo();case 3:this.$store.commit("changeSessionId",this.$route.params.id),this.initState(this.userInfo),this.isPrivate?this.initPersonChat():this.initGroupChat();case 6:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),initPersonChat:function(){var e=Object(n["a"])(regeneratorRuntime.mark(function e(){var s=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getPrivateNewMsg();case 2:this.$nextTick(function(){s.resizeToBottom(),s.bdHiden=!1});case 3:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),initGroupChat:function(){var e=Object(n["a"])(regeneratorRuntime.mark(function e(){var s=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return this.initGroup({userId:this.userId,groupId:this.sessionId,useCache:!1}),this.isShowGroudMgr=!1,e.next=4,this.getGroupInfo();case 4:return e.next=6,this.getNewMsg();case 6:this.$nextTick(function(){s.resizeToBottom(),s.bdHiden=!1});case 7:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),initScrollEvent:function(){},handleScroll:function(){var e=Object(n["a"])(regeneratorRuntime.mark(function e(s){var t,r,a,n,o=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(this.group.chatList.length){e.next=2;break}return e.abrupt("return");case 2:if(!this.isScrollToView){e.next=4;break}return e.abrupt("return");case 4:if(this.enableScroll=!0,t=this.$refs.msgWrap.offsetHeight,r=s.target.scrollTop,0!==r||this.lockMore){e.next=20;break}if(null===this.group.endHash){e.next=20;break}if(this.lockMore=!0,!this.isPrivate){e.next=16;break}return e.next=13,this.getPrivateHistoryMsg();case 13:a=e.sent,e.next=19;break;case 16:return e.next=18,this.getHistoryMsg();case 18:a=e.sent;case 19:"end"===a?this.lockEnd=!0:(n=t-r,this.$nextTick(function(){s.target.scrollTop=o.$refs.msgWrap.offsetHeight-n,setTimeout(function(){o.lockMore=!1},800)}));case 20:r+s.target.offsetHeight>t?(this.isBottom=!0,this.group.unreadNums&&this.resetUnreadNums()):this.isBottom=!1;case 21:case"end":return e.stop()}},e,this)}));return function(s){return e.apply(this,arguments)}}(),resizeToBottom:function(){this.$refs.scrollWrap.scrollTop=this.$refs.msgWrap.offsetHeight,this.resetUnreadNums(),this.isBottom=!0},doSetRead:function(){this.resizeToBottom()},quoteMsg:function(e){this.$refs.inputArea.inputMsg=e},deleteMsg:function(e){this.deleteChatItem(e)},pinMsgClose:function(){this.pinMsg.visible=!1},scrollToView:function(){var e=this;if(this.pinList.length){var s=this.$refs.msgWrap.querySelector(".msg-item");Object(u["r"])(this.$refs.scrollWrap,s.offsetTop-(this.pinMsg?40:10),s)}else{var t=this.pinMsg.hash,r=this.group.chatList.findIndex(function(e){return e.hash===t});if(r>=0){var a=this.$refs.msgWrap.querySelectorAll(".msg-item").item(r);Object(u["r"])(this.$refs.scrollWrap,a.offsetTop-(this.pinMsg?40:10),a)}}this.isScrollToView=!0,setTimeout(function(){e.isScrollToView=!1},2e3)},scrollToMsg:function(e){var s=this.atList[e].hash,t=this.group.chatList.findIndex(function(e){return e.hash===s});if(t>=0){var r=this.group.pinList.length,a=this.$refs.msgWrap.querySelectorAll(".msg-item").item(t+r);Object(u["r"])(this.$refs.scrollWrap,a.offsetTop-(this.pinMsg?40:10),a)}this.clearAtList()},joinGroup:function(){this.$store.dispatch("joinGroup")},showGroudMgr:function(e){this.isShowGroudMgr=1==e}})},g={computed:Object(o["a"])({},Object(i["d"])(["group","userId","curSession"]),Object(i["d"])({chatInputFocus:function(e){return e.group.chatInputFocus},blockList:function(e){return e.group.blockList}}),{isPrivate:function(){return this.$store.getters.isPrivate},emojiMap:function(){var e={};for(var s in c["a"]){var t=c["a"][s];t.forEach(function(s){var t=JSON.stringify(s.names),r=s.surrogates;e[t]=r})}return e}}),data:function(){return{emojiShow:!1,inputMsg:"",atInd:0}},mounted:function(){var e=this;document.body.addEventListener("click",function(){e.emojiShow=!1})},methods:Object(o["a"])({},Object(i["c"])(["updateChatInputFocus","addChatItem"]),Object(i["b"])(["doSendMsg","doSendFile","doSendPrivateMsg"]),{addEmoji:function(e){this.inputMsg+=e,this.emojiShow=!1,this.$refs.chatInput.focus()},handleSend:function(e){var s=this;if(this.blockList.some(function(e){return e==s.userId}))a()({message:"您已被禁言",type:"error"});else{var t=this.inputMsg,r=t.match(/\["[a-z_]+"\]/g);for(var n in r){var o=this.emojiMap[r[n]];o&&(t=t.replace(r[n],o))}var i=t.trim();if(0!==i.length){var u={type:0,msg:i};if(this.group.members[this.userId]){var c=Date.now();this.addChatItem({from:this.userId,content:i,hash:"".concat(c),timestamp:c,createTime:c,msg_type:"0",loading:!0}),u.createTime=c}return this.$store.commit("setSessionItemUnread",{session_id:this.curSession,unread:0,curSession:this.curSession,cont:this.inputMsg,timestamp:Date.now()}),this.isPrivate?this.doSendPrivateMsg(u):this.doSendMsg(u),this.$nextTick(function(){this.inputMsg="",this.resizeToBottom?this.resizeToBottom():this.$emit("toBottom")}),e.preventDefault(),!1}a()({message:"聊天内容不能为空",type:"warning"})}},preHandleFile:function(){var e=Object(n["a"])(regeneratorRuntime.mark(function e(s){var t,r,a;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(t=s.type,r=s.size,!t.match("video")){e.next=6;break}return e.abrupt("return",r>3145728?Promise.reject(new Error(s)):Promise.resolve({type:2,res:s}));case 6:if(!t.match("audio")){e.next=10;break}return e.abrupt("return",r>2097152?Promise.reject(new Error(s)):Promise.resolve({type:3,res:s}));case 10:if(!t.match("image")){e.next=15;break}return e.next=13,new m["a"]({file:s,maxSize:1048576});case 13:return a=e.sent,e.abrupt("return",{type:1,preview:a.base64,res:a.res});case 15:case"end":return e.stop()}},e,this)}));return function(s){return e.apply(this,arguments)}}(),handleFile:function(){var e=Object(n["a"])(regeneratorRuntime.mark(function e(s){var t,r,n,o,i=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=s.constructor===File?s:s.target.files[0],e.prev=1,e.next=4,this.preHandleFile(t);case 4:r=e.sent,n={res:r.res},this.group.members[this.userId]&&(o=Date.now(),this.addChatItem({content:r.preview||"",from:this.userId,hash:"".concat(o),msg_type:r.type,timestamp:o,res:r.res,loading:!0,createTime:o}),n.createTime=o),this.doSendFile(n),setTimeout(function(){i.$refs.inputFile&&(i.$refs.inputFile.value=null),i.$refs.inputFile1&&(i.$refs.inputFile1.value=null),i.$refs.inputFile2&&(i.$refs.inputFile2.value=null),i.$refs.inputFile3&&(i.$refs.inputFile3.value=null),i.resizeToBottom?i.resizeToBottom():i.$emit("toBottom")},100),e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](1),a()({message:"上传文件大小限制:音频2M以内,视频3M以内",type:"warning"});case 14:case"end":return e.stop()}},e,this,[[1,11]])}));return function(s){return e.apply(this,arguments)}}()})}},"4e81":function(e,s,t){"use strict";var r=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"emoji-list pub-scroll-box",class:{"mini-emoji-wrap":e.isMini},attrs:{id:"emojiList"},on:{"&scroll":function(s){return e.handleScroll(s)}}},[e.recentList.length?t("p",{staticClass:"title"},[e._v("最近使用")]):e._e(),e.recentList.length?t("ul",{attrs:{id:"recent-emoji"}},e._l(e.recentList,function(s,r){return t("li",{key:r,domProps:{innerHTML:e._s(s.surrogates)},on:{click:function(t){e.handleClick(s,t)}}})})):e._e(),e._l(e.emojiList,function(s,r){return t("div",{key:r},[t("p",{staticClass:"title"},[e._v(e._s(r))]),t("ul",e._l(s,function(s,r){return t("li",{key:r,domProps:{innerHTML:e._s(s.surrogates)},on:{click:function(t){e.handleClick(s,t)}}})}))])})],2)},a=[],n=(t("ac6a"),t("6762"),t("2fdb"),t("3703")),o=t("4c16"),i={name:"emojiList",props:{isMini:{type:Boolean,default:!1},emojiShow:Boolean},data:function(){return{emojiList:n["a"],recentList:[],index:0}},watch:{emojiShow:function(e){var s=this;setTimeout(function(){s.handleScroll()},10)}},mounted:function(){var e=this;this.recentList=JSON.parse(localStorage.getItem("recentEmoji"))||[];var s=document.getElementById("emojiList");this.$nextTick(function(){e.parseEmoji(s)})},methods:{handleClick:function(e,s){var t=this,r=e.names;if(this.$emit("addEmoji",JSON.stringify(r)),this.recentList.length>9&&this.recentList.pop(),this.recentList.includes(e)){var a=this.recentList.indexOf(e);this.recentList.splice(a,1)}this.recentList.unshift(e),localStorage.setItem("recentEmoji",JSON.stringify(this.recentList));var n=document.getElementById("recent-emoji");this.$nextTick(function(){t.parseEmoji(n)})},parseEmoji:function(e){var s=t("c446");o["a"].parse(e,{callback:function(e,t){return s},attributes:function(e,s){return{originurl:"https://w2.meechat.me/emoji/"+s+".svg"}}})},handleScroll:function(){var e=document.getElementById("emojiList"),s=e.querySelectorAll("img");s.forEach(function(s){var t=s.getAttribute("originurl"),r=s.getAttribute("src");s.offsetTop-e.scrollTop<=e.clientHeight&&t!=r&&t!=r&&s.setAttribute("src",t)})}}},u=i,c=(t("26aa"),t("2877")),m=Object(c["a"])(u,r,a,!1,null,"001b4a60",null);m.options.__file="index.vue";s["a"]=m.exports},5147:function(e,s,t){var r=t("2b4c")("match");e.exports=function(e){var s=/./;try{"/./"[e](s)}catch(t){try{return s[r]=!1,!"/./"[e](s)}catch(a){}}return!0}},6762:function(e,s,t){"use strict";var r=t("5ca1"),a=t("c366")(!0);r(r.P,"Array",{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),t("9c6c")("includes")},"6b54":function(e,s,t){"use strict";t("3846");var r=t("cb7c"),a=t("0bfb"),n=t("9e1e"),o="toString",i=/./[o],u=function(e){t("2aba")(RegExp.prototype,o,e,!0)};t("79e5")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?u(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!n&&e instanceof RegExp?a.call(e):void 0)}):i.name!=o&&u(function(){return i.call(this)})},"6cfb":function(e,s,t){},"6e09":function(e,s,t){"use strict";var r=t("8e29"),a=t.n(r);a.a},"745c":function(e,s,t){},"777e":function(e,s,t){"use strict";var r=t("7c66"),a=t.n(r);a.a},7802:function(e,s,t){},"7c66":function(e,s,t){},"8e29":function(e,s,t){},9360:function(e,s,t){"use strict";var r=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.atList&&e.atList.length?t("div",{staticClass:"at-me"},[e.atNum>=2&&e.totalVisible?t("div",{staticClass:"at-me-item",on:{click:e.scrollToMsg}},[t("div",{staticClass:"at-content"},[e._v("有"+e._s(e.atNum)+"个人提到了你")]),t("i",{staticClass:"icon-close",attrs:{title:"关闭"},on:{click:function(s){s.stopPropagation(),e.totalVisible=!1}}})]):e.atNum&&e.itemVisible?t("div",{staticClass:"at-me-item",on:{click:e.scrollToMsg}},[t("div",{staticClass:"at-content"},[e._v(e._s(e.atList[0].name)+"提到了你")]),t("i",{staticClass:"icon-close",attrs:{title:"关闭"},on:{click:function(s){s.stopPropagation(),e.itemVisible=!1}}})]):e._e()]):e._e()},a=[],n=t("2ef0"),o=t.n(n),i={name:"atMe",props:{atList:[Array]},computed:{atNum:function(){return o.a.unionBy(this.atList,"userId").length}},data:function(){return{totalVisible:!0,itemVisible:!0}},methods:{scrollToMsg:function(){this.$emit("scrollToMsg",this.atList.length-1)}}},u=i,c=(t("2b14"),t("2877")),m=Object(c["a"])(u,r,a,!1,null,"320335e0",null);m.options.__file="atme.vue";s["a"]=m.exports},a1aa:function(e,s,t){"use strict";var r=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"chat-at"},[t("div",{staticClass:"bar-wrap"},[t("div",{ref:"container"},e._l(e.filterList,function(s,r){return t("div",{key:r,staticClass:"item",class:{active:r==e.curInd},on:{click:function(s){s.stopPropagation(),e.atPerson(r)}}},[t("div",{staticClass:"avatar",class:"avatar_bg"+s.user_id%9},[s.cover_photo?t("img",{attrs:{src:s.cover_photo}}):[e._v("\n "+e._s(s.nick_name.slice(0,2).toUpperCase())+"\n ")]],2),t("div",{staticClass:"name"},[t("p",{staticClass:"nick-name"},[e._v("\n "+e._s(s.nick_name)+"\n "),s.is_admin>0?t("span",{class:["status-identity","identity"+s.is_admin]},[e._v(e._s(1==s.is_admin?"管理员":"群主"))]):e._e(),1==s.is_block?t("span",{staticClass:"status-forbidden"},[e._v(" 禁言")]):e._e()]),t("p",{staticClass:"user-name"},[e._v("@"+e._s(s.user_name))])])])}))])])},a=[],n=t("be94"),o=(t("c5f6"),t("2f62")),i={name:"chatAt",props:{curInd:{type:Number},filterList:{type:Array}},computed:Object(n["a"])({},Object(o["d"])(["userId"])),data:function(){return{showFilterList:[]}},watch:{curInd:function(e){this.scrollIntoView()}},methods:{atPerson:function(e){var s=this.filterList[e];this.$emit("atperson",s.user_name)},scrollIntoView:function(){var e=this.$refs.container.children[this.curInd];e&&e.scrollIntoView&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}}},u=i,c=(t("a770"),t("2877")),m=Object(c["a"])(u,r,a,!1,null,"69549ab0",null);m.options.__file="index.vue";s["a"]=m.exports},a770:function(e,s,t){"use strict";var r=t("6cfb"),a=t.n(r);a.a},a97f:function(e,s,t){"use strict";var r=t("7802"),a=t.n(r);a.a},aa2b:function(e,s,t){"use strict";var r=t("ec84"),a=t.n(r);a.a},b16d:function(e,s,t){"use strict";t("34ef"),t("4917"),t("28a5");var r=t("d4ec"),a=t("bee2"),n=function(){function e(s){var t=this;return Object(r["a"])(this,e),this.file=s.file,this.maxSize=s.maxSize||1048576,this.quantity=parseFloat((this.file.size/this.maxSize).toFixed(2)),new Promise(function(e,s){t.quantity<=1?t.blobToDataURL(t.file).then(function(s){e({base64:s.target.result,res:t.file})}):t.mini(e,s)})}return Object(a["a"])(e,[{key:"mini",value:function(e,s){var t=this,r=this.file,a=this.quantity;try{var n=new FileReader,o=new Image;n.readAsDataURL(r),n.onload=function(e){o.src=e.target.result},o.onload=function(){var s=document.createElement("canvas"),r=s.getContext("2d"),n=o.width,i=o.height;s.width=n,s.height=i,r.clearRect(0,0,n,i),r.drawImage(o,0,0,n,i);var u=s.toDataURL("image/jpeg",a),c=t.dataURLtoBlob(u);if(c.size>t.maxSize){r.clearRect(0,0,n,i);var m=Math.sqrt(a),l=parseInt(n*m),g=parseInt(i*m);s.width=l,s.height=g,r.drawImage(o,0,0,n,i,0,0,l,g),u=s.toDataURL("image/jpeg"),c=t.dataURLtoBlob(u)}e({base64:u,res:c})}}catch(i){s(i)}}},{key:"blobToDataURL",value:function(e){return new Promise(function(s,t){var r=new FileReader;r.onload=s,r.readAsDataURL(e)})}},{key:"dataURLtoBlob",value:function(e){var s=e.split(","),t=s[0].match(/:(.*?);/)[1],r=atob(s[1]),a=r.length,n=new Uint8Array(a);while(a--)n[a]=r.charCodeAt(a);return new Blob([n],{type:t})}}]),e}();s["a"]=n},b635:function(e,s,t){},ba92:function(e,s,t){"use strict";var r=t("4bf8"),a=t("77f1"),n=t("9def");e.exports=[].copyWithin||function(e,s){var t=r(this),o=n(t.length),i=a(e,o),u=a(s,o),c=arguments.length>2?arguments[2]:void 0,m=Math.min((void 0===c?o:a(c,o))-u,o-i),l=1;u<i&&i<u+m&&(l=-1,u+=m-1,i+=m-1);while(m-- >0)u in t?t[i]=t[u]:delete t[i],i+=l,u+=l;return t}},c446:function(e,s){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAqCAYAAAAqAaJlAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkM2N0RFRDc0MjEzRDExRTlCQUEwODg1REQxMEY4MjYyIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkM2N0RFRDc1MjEzRDExRTlCQUEwODg1REQxMEY4MjYyIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzY3REVENzIyMTNEMTFFOUJBQTA4ODVERDEwRjgyNjIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzY3REVENzMyMTNEMTFFOUJBQTA4ODVERDEwRjgyNjIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5un2ugAAADr0lEQVR42tSZS0hUYRTH75i9KNOgTDClRWVGQrZxk2UPrFapgb3cSLqKchNM0ewyUggKy0WkuKiwXJRGBEml5aZVDxTHtEVMChVBTfawxrL/gf8n12lm7mNe1wM/LneY7zv/Ofe75/vOGVdmzjpttlhqlOOXgx1gC8gHq0EaSAd+MA7eAC94Ch6Dj3aduWxENgXsBTVgF5hjYewf8AC0gC7wN55iy0E9WM/7X6AH9ILnYBh8YVQluhlgLdgESsA2MJ9jB4EH3Im12GXgKijj/VtwHlynMLMmP6AKnACr+FknqAWfzDxSIysCLylUolbHaDVbFKrx+80cX8f5yjh/UbRi94BHIBv0gQLQBAJRvpgBzlPAebPpZ7ddsdv5iBaBVt6PxjgbjXLeVvrp4r0lsfKYboN54DLX1GSc0uck579Ef+I3z6zYBeAWX4YOcBxMxTnfT3ENK783qcNQrBtsZBqqSYBQvWCJ8Gv6dxulrlx+WXLhVi7+RFsxeMIcLsvBFy6yboa/PUlCNfptpw53uGUgu001t8D6MBOd5OMK5pyBAKvjzlBHNXX9J7YSLORhw5vkA9YQeEg9laHEqq30WoTIyJvqCoE/TKTsjhO7EaRrWuxcHvNkYLdDjq/d1FNMfdPZYAPoByPcEJxikj7XcFseUJFV+curOcu8en1K7Ape3zlMrMqxWXqxabyOO0zsuF5fijaLLCXUL3CQzXjiSuwHXnNs7kR2Mdr5cnl9rxc7xGu+wyKbr9enxMpJ6zvr/iwTkzSE2ZHMcsqEjyzq+UZ902IDbELIRKUOiWop9fSpmk+fDTp5rTIRUb/JNWd0xogU4cNBumaIlRLmJ9tByV67smPtpJ6OUGKlhm/jZx6Ta9Zv8e1PN7lmPdTRRl0hK4VGMAEOgs1Jiqr4PUQdjZEKRp8uai0mNomGGGeBNPp1UajPqLptZDsnj/0tV4Ii6qI/8fuKgTAsxSX8B7ge94OLCRAs81+gP+V3wmxHRpJwBfjNJscVzVof1oqlcv46+qtQm4CVXpcUjvvADzYfethAi6WtpJ9a+innva0u4j3m3THWQgPgmBZ9ez+V8/Rz3jH6uW+3i6jsGSgEd1nDN7FWO8q8acXSOW6E82QwIIX0E3lh22jTn9XtcPIS9PLRvWCB95nnT0lDS1mAihhpZZboGm5SX53W4tCmD34aIvoIDxtW/wCREruVIuP6B0iwZTJi6q8lieJisAR85fFumFGU05N0txP611LS7J8AAwDm1AAk0+Wa7AAAAABJRU5ErkJggg=="},d2c8:function(e,s,t){var r=t("aae3"),a=t("be13");e.exports=function(e,s,t){if(r(s))throw TypeError("String#"+t+" doesn't accept regex!");return String(a(e))}},ea44:function(e,s,t){"use strict";var r=t("b635"),a=t.n(r);a.a},ec30:function(e,s,t){"use strict";if(t("9e1e")){var r=t("2d00"),a=t("7726"),n=t("79e5"),o=t("5ca1"),i=t("0f88"),u=t("ed0b"),c=t("9b43"),m=t("f605"),l=t("4630"),g=t("32e9"),h=t("dcbc"),f=t("4588"),d=t("9def"),p=t("09fa"),v=t("77f1"),b=t("6a99"),_=t("69a8"),y=t("23c6"),w=t("d3f4"),k=t("4bf8"),I=t("33a4"),T=t("2aeb"),x=t("38fd"),S=t("9093").f,M=t("27ee"),j=t("ca5a"),C=t("2b4c"),B=t("0a49"),L=t("c366"),A=t("ebd6"),E=t("cadf"),D=t("84f2"),R=t("5cc5"),O=t("7a56"),P=t("36bd"),N=t("ba92"),U=t("86cc"),F=t("11e9"),V=U.f,z=F.f,W=a.RangeError,G=a.TypeError,$=a.Uint8Array,Y="ArrayBuffer",H="Shared"+Y,J="BYTES_PER_ELEMENT",X="prototype",Z=Array[X],q=u.ArrayBuffer,Q=u.DataView,K=B(0),ee=B(2),se=B(3),te=B(4),re=B(5),ae=B(6),ne=L(!0),oe=L(!1),ie=E.values,ue=E.keys,ce=E.entries,me=Z.lastIndexOf,le=Z.reduce,ge=Z.reduceRight,he=Z.join,fe=Z.sort,de=Z.slice,pe=Z.toString,ve=Z.toLocaleString,be=C("iterator"),_e=C("toStringTag"),ye=j("typed_constructor"),we=j("def_constructor"),ke=i.CONSTR,Ie=i.TYPED,Te=i.VIEW,xe="Wrong length!",Se=B(1,function(e,s){return Le(A(e,e[we]),s)}),Me=n(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),je=!!$&&!!$[X].set&&n(function(){new $(1).set({})}),Ce=function(e,s){var t=f(e);if(t<0||t%s)throw W("Wrong offset!");return t},Be=function(e){if(w(e)&&Ie in e)return e;throw G(e+" is not a typed array!")},Le=function(e,s){if(!(w(e)&&ye in e))throw G("It is not a typed array constructor!");return new e(s)},Ae=function(e,s){return Ee(A(e,e[we]),s)},Ee=function(e,s){var t=0,r=s.length,a=Le(e,r);while(r>t)a[t]=s[t++];return a},De=function(e,s,t){V(e,s,{get:function(){return this._d[t]}})},Re=function(e){var s,t,r,a,n,o,i=k(e),u=arguments.length,m=u>1?arguments[1]:void 0,l=void 0!==m,g=M(i);if(void 0!=g&&!I(g)){for(o=g.call(i),r=[],s=0;!(n=o.next()).done;s++)r.push(n.value);i=r}for(l&&u>2&&(m=c(m,arguments[2],2)),s=0,t=d(i.length),a=Le(this,t);t>s;s++)a[s]=l?m(i[s],s):i[s];return a},Oe=function(){var e=0,s=arguments.length,t=Le(this,s);while(s>e)t[e]=arguments[e++];return t},Pe=!!$&&n(function(){ve.call(new $(1))}),Ne=function(){return ve.apply(Pe?de.call(Be(this)):Be(this),arguments)},Ue={copyWithin:function(e,s){return N.call(Be(this),e,s,arguments.length>2?arguments[2]:void 0)},every:function(e){return te(Be(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return P.apply(Be(this),arguments)},filter:function(e){return Ae(this,ee(Be(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Be(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ae(Be(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){K(Be(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return oe(Be(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ne(Be(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return he.apply(Be(this),arguments)},lastIndexOf:function(e){return me.apply(Be(this),arguments)},map:function(e){return Se(Be(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return le.apply(Be(this),arguments)},reduceRight:function(e){return ge.apply(Be(this),arguments)},reverse:function(){var e,s=this,t=Be(s).length,r=Math.floor(t/2),a=0;while(a<r)e=s[a],s[a++]=s[--t],s[t]=e;return s},some:function(e){return se(Be(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return fe.call(Be(this),e)},subarray:function(e,s){var t=Be(this),r=t.length,a=v(e,r);return new(A(t,t[we]))(t.buffer,t.byteOffset+a*t.BYTES_PER_ELEMENT,d((void 0===s?r:v(s,r))-a))}},Fe=function(e,s){return Ae(this,de.call(Be(this),e,s))},Ve=function(e){Be(this);var s=Ce(arguments[1],1),t=this.length,r=k(e),a=d(r.length),n=0;if(a+s>t)throw W(xe);while(n<a)this[s+n]=r[n++]},ze={entries:function(){return ce.call(Be(this))},keys:function(){return ue.call(Be(this))},values:function(){return ie.call(Be(this))}},We=function(e,s){return w(e)&&e[Ie]&&"symbol"!=typeof s&&s in e&&String(+s)==String(s)},Ge=function(e,s){return We(e,s=b(s,!0))?l(2,e[s]):z(e,s)},$e=function(e,s,t){return!(We(e,s=b(s,!0))&&w(t)&&_(t,"value"))||_(t,"get")||_(t,"set")||t.configurable||_(t,"writable")&&!t.writable||_(t,"enumerable")&&!t.enumerable?V(e,s,t):(e[s]=t.value,e)};ke||(F.f=Ge,U.f=$e),o(o.S+o.F*!ke,"Object",{getOwnPropertyDescriptor:Ge,defineProperty:$e}),n(function(){pe.call({})})&&(pe=ve=function(){return he.call(this)});var Ye=h({},Ue);h(Ye,ze),g(Ye,be,ze.values),h(Ye,{slice:Fe,set:Ve,constructor:function(){},toString:pe,toLocaleString:Ne}),De(Ye,"buffer","b"),De(Ye,"byteOffset","o"),De(Ye,"byteLength","l"),De(Ye,"length","e"),V(Ye,_e,{get:function(){return this[Ie]}}),e.exports=function(e,s,t,u){u=!!u;var c=e+(u?"Clamped":"")+"Array",l="get"+e,h="set"+e,f=a[c],v=f||{},b=f&&x(f),_=!f||!i.ABV,k={},I=f&&f[X],M=function(e,t){var r=e._d;return r.v[l](t*s+r.o,Me)},j=function(e,t,r){var a=e._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),a.v[h](t*s+a.o,r,Me)},C=function(e,s){V(e,s,{get:function(){return M(this,s)},set:function(e){return j(this,s,e)},enumerable:!0})};_?(f=t(function(e,t,r,a){m(e,f,c,"_d");var n,o,i,u,l=0,h=0;if(w(t)){if(!(t instanceof q||(u=y(t))==Y||u==H))return Ie in t?Ee(f,t):Re.call(f,t);n=t,h=Ce(r,s);var v=t.byteLength;if(void 0===a){if(v%s)throw W(xe);if(o=v-h,o<0)throw W(xe)}else if(o=d(a)*s,o+h>v)throw W(xe);i=o/s}else i=p(t),o=i*s,n=new q(o);g(e,"_d",{b:n,o:h,l:o,e:i,v:new Q(n)});while(l<i)C(e,l++)}),I=f[X]=T(Ye),g(I,"constructor",f)):n(function(){f(1)})&&n(function(){new f(-1)})&&R(function(e){new f,new f(null),new f(1.5),new f(e)},!0)||(f=t(function(e,t,r,a){var n;return m(e,f,c),w(t)?t instanceof q||(n=y(t))==Y||n==H?void 0!==a?new v(t,Ce(r,s),a):void 0!==r?new v(t,Ce(r,s)):new v(t):Ie in t?Ee(f,t):Re.call(f,t):new v(p(t))}),K(b!==Function.prototype?S(v).concat(S(b)):S(v),function(e){e in f||g(f,e,v[e])}),f[X]=I,r||(I.constructor=f));var B=I[be],L=!!B&&("values"==B.name||void 0==B.name),A=ze.values;g(f,ye,!0),g(I,Ie,c),g(I,Te,!0),g(I,we,f),(u?new f(1)[_e]==c:_e in I)||V(I,_e,{get:function(){return c}}),k[c]=f,o(o.G+o.W+o.F*(f!=v),k),o(o.S,c,{BYTES_PER_ELEMENT:s}),o(o.S+o.F*n(function(){v.of.call(f,1)}),c,{from:Re,of:Oe}),J in I||g(I,J,s),o(o.P,c,Ue),O(c),o(o.P+o.F*je,c,{set:Ve}),o(o.P+o.F*!L,c,ze),r||I.toString==pe||(I.toString=pe),o(o.P+o.F*n(function(){new f(1).slice()}),c,{slice:Fe}),o(o.P+o.F*(n(function(){return[1,2].toLocaleString()!=new f([1,2]).toLocaleString()})||!n(function(){I.toLocaleString.call([1,2])})),c,{toLocaleString:Ne}),D[c]=L?B:A,r||L||g(I,be,A)}}else e.exports=function(){}},ec84:function(e,s,t){},ed0b:function(e,s,t){"use strict";var r=t("7726"),a=t("9e1e"),n=t("2d00"),o=t("0f88"),i=t("32e9"),u=t("dcbc"),c=t("79e5"),m=t("f605"),l=t("4588"),g=t("9def"),h=t("09fa"),f=t("9093").f,d=t("86cc").f,p=t("36bd"),v=t("7f20"),b="ArrayBuffer",_="DataView",y="prototype",w="Wrong length!",k="Wrong index!",I=r[b],T=r[_],x=r.Math,S=r.RangeError,M=r.Infinity,j=I,C=x.abs,B=x.pow,L=x.floor,A=x.log,E=x.LN2,D="buffer",R="byteLength",O="byteOffset",P=a?"_b":D,N=a?"_l":R,U=a?"_o":O;function F(e,s,t){var r,a,n,o=new Array(t),i=8*t-s-1,u=(1<<i)-1,c=u>>1,m=23===s?B(2,-24)-B(2,-77):0,l=0,g=e<0||0===e&&1/e<0?1:0;for(e=C(e),e!=e||e===M?(a=e!=e?1:0,r=u):(r=L(A(e)/E),e*(n=B(2,-r))<1&&(r--,n*=2),e+=r+c>=1?m/n:m*B(2,1-c),e*n>=2&&(r++,n/=2),r+c>=u?(a=0,r=u):r+c>=1?(a=(e*n-1)*B(2,s),r+=c):(a=e*B(2,c-1)*B(2,s),r=0));s>=8;o[l++]=255&a,a/=256,s-=8);for(r=r<<s|a,i+=s;i>0;o[l++]=255&r,r/=256,i-=8);return o[--l]|=128*g,o}function V(e,s,t){var r,a=8*t-s-1,n=(1<<a)-1,o=n>>1,i=a-7,u=t-1,c=e[u--],m=127&c;for(c>>=7;i>0;m=256*m+e[u],u--,i-=8);for(r=m&(1<<-i)-1,m>>=-i,i+=s;i>0;r=256*r+e[u],u--,i-=8);if(0===m)m=1-o;else{if(m===n)return r?NaN:c?-M:M;r+=B(2,s),m-=o}return(c?-1:1)*r*B(2,m-s)}function z(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function W(e){return[255&e]}function G(e){return[255&e,e>>8&255]}function $(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function Y(e){return F(e,52,8)}function H(e){return F(e,23,4)}function J(e,s,t){d(e[y],s,{get:function(){return this[t]}})}function X(e,s,t,r){var a=+t,n=h(a);if(n+s>e[N])throw S(k);var o=e[P]._b,i=n+e[U],u=o.slice(i,i+s);return r?u:u.reverse()}function Z(e,s,t,r,a,n){var o=+t,i=h(o);if(i+s>e[N])throw S(k);for(var u=e[P]._b,c=i+e[U],m=r(+a),l=0;l<s;l++)u[c+l]=m[n?l:s-l-1]}if(o.ABV){if(!c(function(){I(1)})||!c(function(){new I(-1)})||c(function(){return new I,new I(1.5),new I(NaN),I.name!=b})){I=function(e){return m(this,I),new j(h(e))};for(var q,Q=I[y]=j[y],K=f(j),ee=0;K.length>ee;)(q=K[ee++])in I||i(I,q,j[q]);n||(Q.constructor=I)}var se=new T(new I(2)),te=T[y].setInt8;se.setInt8(0,2147483648),se.setInt8(1,2147483649),!se.getInt8(0)&&se.getInt8(1)||u(T[y],{setInt8:function(e,s){te.call(this,e,s<<24>>24)},setUint8:function(e,s){te.call(this,e,s<<24>>24)}},!0)}else I=function(e){m(this,I,b);var s=h(e);this._b=p.call(new Array(s),0),this[N]=s},T=function(e,s,t){m(this,T,_),m(e,I,_);var r=e[N],a=l(s);if(a<0||a>r)throw S("Wrong offset!");if(t=void 0===t?r-a:g(t),a+t>r)throw S(w);this[P]=e,this[U]=a,this[N]=t},a&&(J(I,R,"_l"),J(T,D,"_b"),J(T,R,"_l"),J(T,O,"_o")),u(T[y],{getInt8:function(e){return X(this,1,e)[0]<<24>>24},getUint8:function(e){return X(this,1,e)[0]},getInt16:function(e){var s=X(this,2,e,arguments[1]);return(s[1]<<8|s[0])<<16>>16},getUint16:function(e){var s=X(this,2,e,arguments[1]);return s[1]<<8|s[0]},getInt32:function(e){return z(X(this,4,e,arguments[1]))},getUint32:function(e){return z(X(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return V(X(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return V(X(this,8,e,arguments[1]),52,8)},setInt8:function(e,s){Z(this,1,e,W,s)},setUint8:function(e,s){Z(this,1,e,W,s)},setInt16:function(e,s){Z(this,2,e,G,s,arguments[2])},setUint16:function(e,s){Z(this,2,e,G,s,arguments[2])},setInt32:function(e,s){Z(this,4,e,$,s,arguments[2])},setUint32:function(e,s){Z(this,4,e,$,s,arguments[2])},setFloat32:function(e,s){Z(this,4,e,H,s,arguments[2])},setFloat64:function(e,s){Z(this,8,e,Y,s,arguments[2])}});v(I,b),v(T,_),i(T[y],o.VIEW,!0),s[b]=I,s[_]=T}}]);
|