(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e1f20b62"],{"023a":function(e,t,s){"use strict";var r=s("bcf8"),n=s.n(r);n.a},"15b8":function(e,t,s){s("2f7e"),e.exports=s("a38c").Date.now},"1b0b":function(e,t,s){},"1c20":function(e,t,s){"use strict";var r=s("1b0b"),n=s.n(r);n.a},2502:function(e,t,s){},"2f35":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.repealMsg?r("div",{staticClass:"msg-repeal-item"},[e._v("\n "+e._s(e.repealStr)+"\n")]):e.joinMsg?r("div",{staticClass:"msg-join-item"},[r("span",[e._v(e._s(e.joinMsg))])]):e.msgItem&&e.msgItem.redPackTip?r("redPack-tip",{attrs:{info:e.msgItem}}):r("div",{staticClass:"msg-item clearfix",class:e.type},[e.timeMsg?r("msg-time",{attrs:{timestamp:e.timestamp}}):e._e(),e.avatarUrl?r("img",{staticClass:"user-avatar avatar",attrs:{src:s("6a00"),originurl:e.avatarUrl,alt:""},on:{click:e.clickInfo}}):r("div",{staticClass:"avatar",class:"avatar_bg"+e.userId%9,attrs:{"data-name":e.name&&e.name.slice(0,2).toUpperCase()},on:{click:e.clickInfo}}),r("div",{staticClass:"content"},[r("div",{staticClass:"metabar"},[r("span",{staticClass:"name",on:{contextmenu:function(t){return t.preventDefault(),e.onToolBtn(t,"username")}}},[e._v(e._s(e.name))]),e.creator==e.userId?r("span",{staticClass:"admin"},["me"===e.type?r("i",{staticClass:"icon-creator"}):e._e(),e._v("\n "+e._s(e.$t("public.owner"))+"\n "),"you"===e.type?r("i",{staticClass:"icon-creator"}):e._e()]):e.adminList.includes(Number(e.userId))?r("span",{staticClass:"admin"},["me"===e.type?r("i",{staticClass:"el-icon-star-on"}):e._e(),e._v("\n "+e._s(e.$t("public.admin"))+"\n "),"you"===e.type?r("i",{staticClass:"el-icon-star-on"}):e._e()]):e._e(),e.msgItem.ext_info&&e.msgItem.ext_info.is_tg?r("i",{staticClass:"icon-tele"}):e._e(),r("span",{staticClass:"time"},[e._v(e._s(e._f("formatTimestamp")(e.timestamp)))])]),4==e.msg_type&&e.msgItem?r("red-packet",{attrs:{info:e.msgItem},nativeOn:{click:function(t){return e.$packetGet(e.msgItem)}}}):[r("bubble-wrap",{attrs:{isMobile:e.isMobile,showToolbar:e.showToolbar},on:{onTouchStartToolBtn:e.onTouchStartToolBtn,onTouchEndToolBtn:e.onTouchEndToolBtn,onToolBtn:e.onToolBtn}},[e.loading?r("i",{staticClass:"loading-icon"}):e._e(),e.fail?r("i",{staticClass:"error-icon",on:{click:e.reSend}}):e._e(),1!=e.msg_type||"mini"!=e.meechatType||e.isMobile?1==e.msg_type?r("div",[r("img",{staticClass:"img-msg",style:{width:e.width,height:e.height},attrs:{src:"",originurl:e.formatUploadImg(e.content)},on:{click:function(t){return e.$showImgPreview(e.content)}}}),r("i",{staticClass:"pic-loading"})]):2==e.msg_type||3==e.msg_type?r("video",{staticClass:"video-msg",class:{"limit-height":3==e.msg_type},attrs:{controls:"controls",preload:"meta",poster:e.msgItem.ext_info&&e.msgItem.ext_info.cover_url,src:e.content}}):r("pre",{staticClass:"text",domProps:{innerHTML:e._s(e.content)}}):r("a",{attrs:{href:e.content,target:"_blank"}},[r("img",{staticClass:"img-msg",style:{width:e.width,height:e.height},attrs:{src:"",originurl:e.formatUploadImg(e.content)}}),r("i",{staticClass:"pic-loading"})]),"username"==e.toolBtnType?[r("ul",{directives:[{name:"show",rawName:"v-show",value:e.showToolbar,expression:"showToolbar"}],staticClass:"pub-pop-toolbar ext-username",on:{touchstart:function(e){e.stopPropagation()}}},[r("li",{on:{click:function(t){return t.preventDefault(),e.handleCopy(t)}}},[e._v(e._s(e.$t("chat.copy")))])])]:[r("ul",{directives:[{name:"show",rawName:"v-show",value:e.showToolbar,expression:"showToolbar"}],staticClass:"pub-pop-toolbar username",on:{touchstart:function(e){e.stopPropagation()}}},[0==e.msg_type||4==e.msg_type?r("li",{on:{click:function(t){return t.preventDefault(),e.handleQuote(t)}}},[e._v(e._s(e.$t("chat.quote")))]):e._e(),r("li",{on:{click:function(t){return t.preventDefault(),e.handleCopy(t)}}},[e._v(e._s(e.$t("chat.copy")))]),e.isAdmin&&"you"===e.type||e.isAdmin||e.revoke?r("li",{staticClass:"split-line"}):e._e(),e.isAdmin?r("li",{on:{click:function(t){return t.preventDefault(),e.handlePingMsg(t)}}},[e._v(e._s(e.$t("chat.sticky")))]):e._e(),e.isAdmin&&"you"===e.type?r("li",{on:{click:function(t){return t.preventDefault(),e.handleBlock(t)}}},[e._v(e._s(e.block?e.$t("chat.liftaBan"):e.$t("public.ban")))]):e._e(),e.isAdmin||e.revoke?r("li",{on:{click:function(t){return t.preventDefault(),e.handleRevoke(t)}}},[e._v(e._s(e.$t("chat.revoke")))]):e._e()])]],2)]],2)],1)},n=[],a=(s("9f02"),s("0adb"),s("4694"),s("9caf")),o=s.n(a),i=s("0649"),u=s.n(i),c=(s("dc12"),s("bd31")),m=(s("46b5"),s("4941")),l=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"msg-time"},[e._v(e._s(e.showTime))])},g=[],h=s("33f8"),f={name:"msgTime",props:{timestamp:{type:[String,Number],required:!0}},computed:{showTime:function(){return Object(h["j"])(this.timestamp,2,this)}}},d=f,p=(s("34e5"),s("fc05")),b=Object(p["a"])(d,l,g,!1,null,"12e0d759",null),v=b.exports,_=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"red-packet",class:e.info.userId==e.userId?"me":"you"},[s("div",{staticClass:"top",class:{"lose-bg":e.isLoseBg,unopen:0==e.info.ext.grabbed}},[s("i",{staticClass:"red-packet-icon"}),s("div",{staticClass:"word"},[s("p",[e._v(e._s(e.info.content.title))]),1==e.info.ext.grabbed?s("p",{staticClass:"bot-text"},[e._v(e._s(e.$t("redPacket.received")))]):1==e.info.ext.redpack_status?s("p",{staticClass:"bot-text"},[e._v(e._s(e.$t("redPacket.lootAll")))]):2==e.info.ext.redpack_status?s("p",{staticClass:"bot-text"},[e._v(e._s(e.$t("redPacket.expired")))]):e._e()])]),s("div",{staticClass:"bot"},[e._v("\n "+e._s(e.info.content.tokenType||"EOS")+e._s(e.$t("chat.redpack"))+"\n ")])])},y=[],w={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}}},k=w,I=(s("a5b9"),Object(p["a"])(k,_,y,!1,null,"630e8fc2",null)),T=I.exports,S=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"tip-wrap"},[s("i",{staticClass:"redpack-icon"}),1==e.grabType?[s("span",[e._v(e._s(e.$t("public.you")))]),e._v(e._s(e.$t("redPacket.received"))),s("span",{staticClass:"text",on:{click:function(t){return e.$packetGet(e.info)}}},[e._v(e._s(e.$t("chat.redpack")))])]:2==e.grabType?[s("span",[e._v(e._s(e.group.members[e.info.to].nick_name))]),e._v(e._s(e.$t("redPacket.drawYour"))),s("span",{staticClass:"text",on:{click:function(t){return e.$packetGet(e.info)}}},[e._v(e._s(e.$t("chat.redpack")))])]:[e._v("\n "+e._s(e.$t("redPacket.youDraw"))),s("span",[e._v(e._s(e.group.members[e.info.from].nick_name))]),e._v(e._s(e.$t("redPacket.whos"))),s("span",{staticClass:"text",on:{click:function(t){return e.$packetGet(e.info)}}},[e._v(e._s(e.$t("chat.redpack")))])]],2)},x=[],j=s("52c1"),M={name:"redPackTip",props:["info"],computed:Object(c["a"])({},Object(j["e"])(["userId","group"]),{grabType:function(){return this.info.from==this.userId&&this.info.to==this.userId?1:this.info.from==this.userId?2:3}})},L=M,C=(s("cdfc"),Object(p["a"])(L,S,x,!1,null,"bfcd5686",null)),A=C.exports,E=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.isMobile?[s("div",{staticClass:"bubble disabled",class:{focus:e.showToolbar},on:{contextmenu:function(e){e.preventDefault()},touchstart:e.onTouchStartToolBtn,touchend:e.onTouchEndToolBtn}},[e._t("default")],2)]:[s("div",{staticClass:"bubble",class:{focus:e.showToolbar},on:{contextmenu:function(t){return t.preventDefault(),e.onToolBtn(t)}}},[e._t("default")],2)]],2)},B=[],R={name:"bubbleWrap",props:{isMobile:Boolean,showToolbar:Boolean},methods:{onToolBtn:function(e){this.$emit("onToolBtn",e)},onTouchStartToolBtn:function(e){this.$emit("onTouchStartToolBtn",e)},onTouchEndToolBtn:function(e){this.$emit("onTouchEndToolBtn",e)}}},$=R,D=Object(p["a"])($,E,B,!1,null,"579d78e9",null),O=D.exports,P={name:"msgItem",components:{msgTime:v,redPacket:T,redPackTip:A,bubbleWrap:O},props:{msgItem:Object,isPrivate:Boolean,repealMsg:Boolean,joinMsg:String,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,Blob],isMobile:Boolean,isAdmin:Boolean},data:function(){return{showToolbar:!1,revoke:!1,block:!1,revokeTimeAllow:!1,width:"auto",height:"auto",longTapTimer:null,meechatType:Object(h["o"])(),toolBtnType:""}},watch:{content:function(e,t){1!=this.msg_type&&e==t||this.countPicSize()}},computed:Object(c["a"])({},Object(j["e"])({curSession:function(e){return e.curSession},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}}),{isLogin:function(){return!!this.myId},repealStr:function(){if(this.repealMsg){if(this.from&&this.from!=this.userId){if(this.from!=this.userId){var e=this.members[this.from],t=e?e.nick_name:this.$t("public.admin");return"".concat(t).concat(this.$t("chat.revoked")).concat(this.name).concat(this.$t("chat.aMsg"))}return"".concat(this.name).concat(this.$t("chat.revokeMsg"))}return"".concat("me"==this.type?this.$t("public.you"):this.name).concat(this.$t("chat.revokeMsg"))}return""},avatarUrl:function(){var e=this.members[this.userId]&&this.members[this.userId].cover_photo;return e||this.avatar||""}}),beforeMount:function(){1==this.msg_type&&this.countPicSize()},created:function(){},methods:Object(c["a"])({},Object(j["d"])(["setCopyText","updateChatInputFocus","reSendChatItem","setSessionRepeal"]),Object(j["b"])(["doRepealPersonMsg","doRepealGroupMsg","doBlockUser","doUnBlockUser","doPinMsg","doSendMsg","doSendFile"]),{clickInfo:function(){if(this.isLogin)if("h5"==this.meechatType){var e="me"===this.type?"/me":"/other/".concat(this.userId);this.$router.push(e)}else"me"===this.type?this.$showUserInfo():this.$showOtherInfo(this.userId)},countPicSize:function(){var e=/_size([0-9]+)x([0-9]+)/.exec(this.content);if(e){var t=u()(e[1]),s=u()(e[2]),r=t>400?400/t:1,n=s>250?250/s:1,a=Math.min(r,n);this.width=a*t+"px",this.height=a*s+"px"}},formatUploadImg:function(e){return/^data:image/.test(e)?e:"".concat(e,"?imageview/0/w/400")},hideToolbar:function(e){!1!==this.showToolbar&&(this.showToolbar=!1,document.body.removeEventListener("touchstart",this.hideToolbar,!1),document.body.removeEventListener("click",this.hideToolbar,!1),document.body.removeEventListener("contextmenu",this.hideToolbar,!1))},onToolBtn:function(e,t){var s=this;this.toolBtnType=t,this.showToolbar?this.hideToolbar(e):(this.isMobile||setTimeout(function(){document.body.addEventListener("click",s.hideToolbar,!1),document.body.addEventListener("contextmenu",s.hideToolbar,!1)},0),this.showToolbar=!0,this.block=this.blockList.some(function(e){return e==s.userId}),this.revokeTimeAllow=o()()-u()(this.timestamp)<18e4,this.revoke="me"===this.type&&this.revokeTimeAllow)},onTouchStartToolBtn:function(e){var t=this;clearTimeout(this.longTapTimer),this.longTapTimer=setTimeout(function(){t.onToolBtn(e)},800)},onTouchEndToolBtn:function(e){var t=this;clearTimeout(this.longTapTimer),setTimeout(function(){document.body.addEventListener("touchstart",t.hideToolbar,!1),document.body.addEventListener("click",t.hideToolbar,!1)},0)},replaceEmoji:function(e){var t=//gi;return e.replace(t,function(e){var t=e.match(/alt=.+?&*"/g),s=t&&t[0].replace(/"|alt=|/g,"");return s})},replaceLink:function(e){var t=/.+?<\/a>/gi;return e.replace(t,function(e){var t=e.match(/>.+?&*<\/a>/g),s=t&&t[0].replace(/>|<\/a>|/g,"");return s})},handleQuote:function(){var e=this,t=this.name,s=this.content,r=this.replaceLink(this.replaceEmoji(s)),n="ใ".concat(t,"๏ผ").concat(r,"ใ\n- - - - - - - - - - - - - - -\n");this.$emit("quoteMsg",n),this.$nextTick(function(){e.updateChatInputFocus(!0)})},handleCopy:function(){var e,t=this,s="";window.getSelection?(e=window.getSelection(),s=e.toString()):document.selection&&(e=document.selection.createRange(),s=e.text);var r=this.replaceEmoji(s||this.content);this.$copyText(r).then(function(e){t.updateChatInputFocus(!0)},function(e){console.log("Can not copy")}),this.setCopyText(r)},handleShare:function(){this.$showInvite(this.content)},handleDel:function(){this.$emit("deleteMsg",this.hash)},handlePingMsg:function(){this.doPinMsg({hash:this.hash})},handleRevoke:function(){var e=this;this.isPrivate?this.doRepealPersonMsg({hash:this.hash}).then(function(t){e.$store.commit("setSessionRepeal",{me:!0,sessionId:e.curSession}),e.$store.commit("repealChatItem",{hash:e.hash,from:e.from})}):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 t={res:this.res,createTime:this.createTime};this.reSendChatItem({createTime:this.createTime}),this.doSendFile(t)}}}),filters:{formatTimestamp:function(e){return e?Object(m["a"])(1*e).format("HH:mm"):""}}},N=P,U=(s("fe83"),Object(p["a"])(N,r,n,!1,null,null,null));t["a"]=U.exports},"2f7e":function(e,t,s){var r=s("eaa7");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},3424:function(e,t,s){"use strict";var r=s("62ec"),n=s("3016"),a=s("62b9"),o=s("f9a4"),i=s("3104"),u=s("c7c7"),c=s("ac68"),m=s("7993"),l=s("6ba7"),g=s("512f"),h=s("6dec"),f=s("f5c1").f,d=s("7847").f,p=s("ca64"),b=s("358f"),v="ArrayBuffer",_="DataView",y="prototype",w="Wrong length!",k="Wrong index!",I=r[v],T=r[_],S=r.Math,x=r.RangeError,j=r.Infinity,M=I,L=S.abs,C=S.pow,A=S.floor,E=S.log,B=S.LN2,R="buffer",$="byteLength",D="byteOffset",O=n?"_b":R,P=n?"_l":$,N=n?"_o":D;function U(e,t,s){var r,n,a,o=new Array(s),i=8*s-t-1,u=(1<>1,m=23===t?C(2,-24)-C(2,-77):0,l=0,g=e<0||0===e&&1/e<0?1:0;for(e=L(e),e!=e||e===j?(n=e!=e?1:0,r=u):(r=A(E(e)/B),e*(a=C(2,-r))<1&&(r--,a*=2),e+=r+c>=1?m/a:m*C(2,1-c),e*a>=2&&(r++,a/=2),r+c>=u?(n=0,r=u):r+c>=1?(n=(e*a-1)*C(2,t),r+=c):(n=e*C(2,c-1)*C(2,t),r=0));t>=8;o[l++]=255&n,n/=256,t-=8);for(r=r<0;o[l++]=255&r,r/=256,i-=8);return o[--l]|=128*g,o}function F(e,t,s){var r,n=8*s-t-1,a=(1<>1,i=n-7,u=s-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+=t;i>0;r=256*r+e[u],u--,i-=8);if(0===m)m=1-o;else{if(m===a)return r?NaN:c?-j:j;r+=C(2,t),m-=o}return(c?-1:1)*r*C(2,m-t)}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 V(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function H(e){return U(e,52,8)}function J(e){return U(e,23,4)}function Y(e,t,s){d(e[y],t,{get:function(){return this[s]}})}function Z(e,t,s,r){var n=+s,a=h(n);if(a+t>e[P])throw x(k);var o=e[O]._b,i=a+e[N],u=o.slice(i,i+t);return r?u:u.reverse()}function X(e,t,s,r,n,a){var o=+s,i=h(o);if(i+t>e[P])throw x(k);for(var u=e[O]._b,c=i+e[N],m=r(+n),l=0;lee;)(q=K[ee++])in I||i(I,q,M[q]);a||(Q.constructor=I)}var te=new T(new I(2)),se=T[y].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||u(T[y],{setInt8:function(e,t){se.call(this,e,t<<24>>24)},setUint8:function(e,t){se.call(this,e,t<<24>>24)}},!0)}else I=function(e){m(this,I,v);var t=h(e);this._b=p.call(new Array(t),0),this[P]=t},T=function(e,t,s){m(this,T,_),m(e,I,_);var r=e[P],n=l(t);if(n<0||n>r)throw x("Wrong offset!");if(s=void 0===s?r-n:g(s),n+s>r)throw x(w);this[O]=e,this[N]=n,this[P]=s},n&&(Y(I,$,"_l"),Y(T,R,"_b"),Y(T,$,"_l"),Y(T,D,"_o")),u(T[y],{getInt8:function(e){return Z(this,1,e)[0]<<24>>24},getUint8:function(e){return Z(this,1,e)[0]},getInt16:function(e){var t=Z(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Z(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return z(Z(this,4,e,arguments[1]))},getUint32:function(e){return z(Z(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return F(Z(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return F(Z(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){X(this,1,e,W,t)},setUint8:function(e,t){X(this,1,e,W,t)},setInt16:function(e,t){X(this,2,e,G,t,arguments[2])},setUint16:function(e,t){X(this,2,e,G,t,arguments[2])},setInt32:function(e,t){X(this,4,e,V,t,arguments[2])},setUint32:function(e,t){X(this,4,e,V,t,arguments[2])},setFloat32:function(e,t){X(this,4,e,J,t,arguments[2])},setFloat64:function(e,t){X(this,8,e,H,t,arguments[2])}});b(I,v),b(T,_),i(T[y],o.VIEW,!0),t[v]=I,t[_]=T},"34d0":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.visible?s("div",{staticClass:"chat-pinmsg",on:{click:e.scrollToView}},[s("label",[e._v(e._s(e.$t("chat.news"))+"๏ผ")]),s("div",{staticClass:"msg-content"},[e._v(e._s(e._f("decryptoMsg")(e.msg)))]),s("i",{staticClass:"msg-close",on:{click:function(t){return t.stopPropagation(),e.handleClose(t)}}})]):e._e()},n=[],a=(s("c9db"),s("ad09"),s("514e")),o=s.n(a),i=s("bd31"),u=s("52c1"),c=s("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["e"])(["userId"]),Object(u["e"])({adminList:function(e){return e.group.adminList}}),{isAdmin:function(){var e=this;return this.adminList&&this.adminList.some(function(t){return t==e.userId})}}),methods:Object(i["a"])({},Object(u["b"])(["doUnpinMsg"]),{handleClose:function(e){var t=this;this.isAdmin?o.a.confirm(this.$t("chat.closePinMsg")).then(function(){t.doUnpinMsg({hash:t.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=(s("023a"),s("fc05")),h=Object(g["a"])(l,r,n,!1,null,"4c150356",null);t["a"]=h.exports},"34e5":function(e,t,s){"use strict";var r=s("81fe"),n=s.n(r);n.a},3703:function(e,t,s){"use strict";s.d(t,"a",function(){return r});var r={person:[{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}],nature:[{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:"๐ฆ"}],food:[{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:"๐ฅ"}],activity:[{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"],surrogates:"๐"},{names:["badminton"],surrogates:"๐ธ"},{names:["hockey"],surrogates:"๐"},{names:["field_hockey"],surrogates:"๐"},{names:["cricket"],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"],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:"๐ฅ"}],trip:[{names:["red_car"],surrogates:"๐"},{names:["taxi"],surrogates:"๐"},{names:["blue_car"],surrogates:"๐"},{names:["bus"],surrogates:"๐"},{names:["trolleybus"],surrogates:"๐"},{names:["race_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:"๐ถ"}],symbol:[{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:["stop_sign"],surrogates:"๐"}]}},3868:function(e,t,s){"use strict";s.d(t,"a",function(){return y}),s.d(t,"b",function(){return w});var r=s("a700"),n=s.n(r),a=s("9caf"),o=s.n(a),i=(s("4694"),s("3b70"),s("ad09"),s("dfe5")),u=s.n(i),c=s("badb"),m=s.n(c),l=(s("dcfb"),s("face"),s("0adb"),s("b5aa"),s("4457")),g=s("bd31"),h=s("52c1"),f=s("33f8"),d=s("3703"),p=s("76a4"),b=s("b16d"),v=s("e332"),_=s("7df3"),y={watch:{$route:function(){this.bdHiden=!0,this.groupSet=!1,this.lockMore=!1,this.lockEnd=!1,this.enableScroll=!1,"mini"==this.meechatType?this.initMiniRoom():this.initRoom()},chatList:function(e){var t=e[e.length-1];(t&&4==t.msg_type||this.isBottom)&&this.$nextTick(this.resizeToBottom)},isJoinGroup:function(e){1==e&&setTimeout(this.resizeToBottom.bind(this),100)}},data:function(){return{isLoadingRoom:!0,groupSet:!1,lockMore:!1,lockEnd:!1,enableScroll:!1,isBottom:!0,scrollHeight:100,isScrollToView:!1,isShowGroudMgr:!1,chatImageArrSel:null,meechatType:Object(f["o"])()}},computed:Object(g["a"])({},Object(h["e"])(["curSession","group","chat","userId","userInfo"]),Object(h["e"])({creator:function(e){return e.group.creator},isJoin:function(e){return e.group.isJoin},pinMsg:function(e){return e.group.pinMsg},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}}),{isExist:function(){var e=this,t=this.chat.sessionList;return!t||!t.length||t.some(function(t){return t.session_id==e.sessionId})},isAdmin:function(){var e=this;return this.group.adminList&&this.group.adminList.some(function(t){return t==e.userId})||this.group.creator==this.userId},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},linkToCreator:function(){var e=this.group,t=e.creator,s=e.userId,r=t>s?"".concat(s,"-").concat(t):"".concat(t,"-").concat(s);return"".concat(location.origin,"/#/pm/").concat(r)}}),mounted:function(){"mini"==this.meechatType?this.initMiniRoom():this.initRoom(),document.getElementById("app").addEventListener("contextmenu",function(e){return e.preventDefault()}),this.chatImageArrSel=this.$refs.scrollWrap.getElementsByTagName("img")},methods:Object(g["a"])({},Object(h["d"])(["initGroup","setUserId","setToken","resetUnreadNums","addChatItem","deleteChatItem","initState","clearAtList","clearHash","setSessionItemUnread","clearChatList","changeSessionId","addPinChatItem"]),Object(h["b"])(["setAccount","getGroupInfo","getUserInfo","getNewMsgFromDb","getNewMsg","getHistoryMsg","doSendMsg","getPrivateNewMsgFromDb","getPrivateNewMsg","getPrivateHistoryMsg","doSendPrivateMsg"]),{initMiniRoom:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(){var t,s,r,n,a=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(t=function(e){"meechat:setShow"===e.action?a.handleToggleChat(e.show):"meechat:logout"===e.action&&a.handleLogout2()},this.postMessager=new _["a"]("*",{callback:t}),window.postMessager=this.postMessager,this.initGroup({userId:this.userId,groupId:this.groupId,useCache:!1}),s=localStorage.getItem("user_id"),r=localStorage.getItem("token"),n=localStorage.getItem("account"),!(s&&r&&n)){e.next=17;break}if(this.setUserId(s),this.setToken(r),this.setAccount(JSON.parse(n)),this.showLoginBtn=!1,self!==top){e.next=15;break}return e.next=15,this.scatterConnect();case 15:return e.next=17,this.getUserInfo();case 17:this.$nextTick(this.initChat),this.$nextTick(this.initMiniSocket);case 19:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),initRoom:function(){var e=Object(l["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:if(this.userInfo){e.next=5;break}return e.abrupt("return");case 5:if(this.changeSessionId(this.$route.params.id),this.clearHash(),this.clearChatList(),this.initState(),this.isExist&&this.$store.commit("setSessionItemUnread",{session_id:this.curSession,unread:0,curSession:this.curSession}),!this.isPrivate){e.next=15;break}return e.next=13,this.initPersonChat();case 13:e.next=17;break;case 15:return e.next=17,this.initGroupChat();case 17:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),initPersonChat:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(){var t,s,r=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getPrivateNewMsgFromDb();case 2:return t=e.sent,t||this.showLoadingRoom(!0),e.next=6,this.getPrivateNewMsg();case 6:return s=e.sent,this.showLoadingRoom(!1),this.$nextTick(function(){r.resizeToBottom(),r.bdHiden=!1}),setTimeout(function(){if(!r.isExist){var e=null;for(var t in s.data.userMap)t!=r.userId&&(e=s.data.userMap[t]);if(e){var n={cover_photo:e.cover_photo,is_group:"0",name:e.nick_name,session_id:r.sessionId};r.$store.commit("addSessionItem",n)}}},1e3),e.abrupt("return",s);case 11:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),initGroupChat:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(){var t,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,this.getGroupInfo(),e.next=5,this.getNewMsgFromDb();case 5:return t=e.sent,t||this.showLoadingRoom(!0),e.next=9,this.getNewMsg();case 9:this.showLoadingRoom(!1),this.$nextTick(function(){s.resizeToBottom(),s.bdHiden=!1,Object(f["u"])({wrap:s.$refs.scrollWrap,imageArr:s.chatImageArrSel,derection:"up"})}),setTimeout(function(){if(!s.isExist&&s.group){var e={cover_photo:s.group.coverPhoto,is_group:"1",name:s.group.groupName,session_id:s.sessionId};s.$store.commit("addSessionItem",e)}},1e3);case 12:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),initMiniSocket:function(){var e=this;if(window.WebSocket){var t=Object(v["a"])()+"?group_id=".concat(this.groupId);this.socket&&(this.socket.destroy(),this.socket=null),this.socket=new p["a"](t,{autoConnect:!0,reconnection:!0,reconnectionDelay:2e3}),this.socket.on("open",function(e){}),this.socket.on("message",function(t){t=JSON.parse(t),t.channel.match("chat:group")&&("msg"===t.data.type&&(e.getNewMsg({newMsg:!0}),t.data.from!=e.userId&&(e.showChat?e.addUnreadNums():(0===e.unreadCounts&&e.postResize(130,50),e.unreadCounts++))),"repeal"===t.data.type&&e.repealChatItem(t.data),"block"===t.data.type&&e.updateGroupBlockList({type:"add",id:t.data.to}),"unblock"===t.data.type&&e.updateGroupBlockList({type:"delete",id:t.data.to}),"join"===t.data.type&&e.updateMembers(t.data.user_info),"pin_msg"===t.data.type&&e.updateGroupPinMsg(t.data.pinMsg),"unpin_msg"===t.data.type&&e.updateGroupPinMsg(null),"new_redpack"===t.data.type&&(e.addPacketItem(t.data),t.data.from==e.userId&&e.$nextTick(e.resizeToBottom)),"grab_redpack"===t.data.type&&(t.data.from!=e.userId&&t.data.to!=e.userId||e.addPacketTip(t.data)))})}else console.log("Error: WebSocket is not supported .")},initScrollEvent:function(){},handleScroll:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(t){var s,r,n,a,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.enableScroll=!0,s=this.$refs.msgWrap.offsetHeight-16,r=t.target.scrollTop,0!=r||this.lockMore){e.next=18;break}if(null===this.group.endHash){e.next=18;break}if(this.lockMore=!0,!this.isPrivate){e.next=14;break}return e.next=11,this.getPrivateHistoryMsg();case 11:n=e.sent,e.next=17;break;case 14:return e.next=16,this.getHistoryMsg();case 16:n=e.sent;case 17:"end"===n?this.lockEnd=!0:(a=s-r,this.$nextTick(function(){t.target.scrollTop=o.$refs.msgWrap.offsetHeight-a,setTimeout(function(){o.lockMore=!1},800)}));case 18:r+t.target.offsetHeight>s?(this.isBottom=!0,this.group.unreadNums&&this.resetUnreadNums()):this.isBottom=!1,Object(f["u"])({wrap:this.$refs.scrollWrap,imageArr:this.chatImageArrSel,derection:"up"});case 20:case"end":return e.stop()}},e,this)}));function t(t){return e.apply(this,arguments)}return t}(),resizeToBottom:function(){this.$refs.msgWrap&&(this.$refs.msgWrap.style.height="auto",this.$refs.scrollWrap.scrollTop=this.$refs.msgWrap.offsetHeight,this.resetUnreadNums(),Object(f["u"])({wrap:this.$refs.scrollWrap,imageArr:this.chatImageArrSel,derection:"up"},200))},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.pinMsg){var t=this.pinMsg.hash,s=this.group.chatList.findIndex(function(e){return e.hash===t});s<0&&(this.addPinChatItem(this.pinMsg),s=0);var r=this.$refs.msgWrap.getElementsByClassName("msg-item")[s],n=r.offsetTop,a=function(){Object(f["u"])({wrap:this.$refs.scrollWrap,imageArr:this.chatImageArrSel,derection:"up"})};Object(f["x"])(this.$refs.scrollWrap,n,r,a.bind(this)),this.isScrollToView=!0,setTimeout(function(){e.isScrollToView=!1},2e3)}},scrollToMsg:function(e){var t=this.atList[e].hash,s=this.group.chatList.findIndex(function(e){return e.hash===t});if(s>=0){var r=this.$refs.msgWrap.getElementsByClassName("msg-item").item(s);Object(f["x"])(this.$refs.scrollWrap,r.offsetTop-(this.pinMsg?40:10),r)}this.clearAtList()},joinGroup:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return this.showLoadingRoom(!0),e.next=3,this.$store.dispatch("joinGroup");case 3:this.showLoadingRoom(!1);case 4:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),showGroudMgr:function(e){this.isShowGroudMgr=1==e},initEmojiAndTool:function(){this.emojiShow=!1,this.toolShow=!1},showLoadingRoom:function(e){this.isLoadingRoom=e}}),beforeDestroy:function(){document.body.removeEventListener("click",this.initEmojiAndTool)}},w={computed:Object(g["a"])({},Object(h["e"])(["group","userId"]),Object(h["e"])({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 t in d["a"]){var s=d["a"][t];s.forEach(function(t){var s=m()(t.names),r=t.surrogates;e[s]=r})}return e}}),data:function(){return{filePreviewShow:!1,emojiShow:!1,fileInfo:null,inputMsg:"",atInd:0,meechatType:Object(f["o"])()}},mounted:function(){},methods:Object(g["a"])({},Object(h["d"])(["updateChatInputFocus","addChatItem"]),Object(h["b"])(["doSendMsg","doSendFile","doSendPrivateMsg"]),{addEmoji:function(e){this.inputMsg+=e,this.emojiShow=!1,this.$refs.chatInput.focus()},closeFilePreview:function(){this.fileInfo=null,this.filePreviewShow=!1,this.emptyFileForm()},showFilePreview:function(e){e&&(this.fileInfo=e,this.filePreviewShow=!0)},handleInput:function(){this.inputMsg=this.inputMsg.substring(0,5e3)},handleSend:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(t){var s,r,n,a,i,c,m,l,g=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(!this.blockList.some(function(e){return e==g.userId})){e.next=3;break}return u()({message:"ๆจๅทฒ่ขซ็ฆ่จ",type:"error"}),e.abrupt("return");case 3:for(n in s=this.inputMsg,r=s.match(/\["[a-z0-9A-Z_]+"\]/g),r)a=this.emojiMap[r[n]],a&&(s=s.replace(r[n],a));if(i=s.trim().substring(0,5e3),0!==i.length){e.next=10;break}return u()({message:"่ๅคฉๅ
ๅฎนไธ่ฝไธบ็ฉบ",type:"warning"}),e.abrupt("return");case 10:if(c={type:0,msg:i},this.group.members[this.userId]&&(m=o()(),this.addChatItem({from:this.userId,content:i,hash:"".concat(m),timestamp:m,createTime:m,msg_type:"0",loading:!0}),c.createTime=m),this.inputMsg="",!this.isPrivate){e.next=19;break}return e.next=16,this.doSendPrivateMsg(c);case 16:e.t0=e.sent,e.next=22;break;case 19:return e.next=21,this.doSendMsg(c);case 21:e.t0=e.sent;case 22:return l=e.t0,this.$store.commit("setSessionItemUnread",{session_id:this.curSession,unread:0,curSession:this.curSession,cont:i,timestamp:l.timestamp}),this.$nextTick(function(){this.resizeToBottom?this.resizeToBottom():this.$emit("toBottom"),Object(f["u"])({wrap:this.$refs.scrollWrap,imageArr:this.chatImageArrSel,derection:"up"})}),t.preventDefault(),e.abrupt("return",!1);case 27:case"end":return e.stop()}},e,this)}));function t(t){return e.apply(this,arguments)}return t}(),preHandleFile:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(t){var s,r,a;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.type,r=t.size,!s.match("video")){e.next=6;break}return e.abrupt("return",r>3145728?n.a.reject(new Error(t)):n.a.resolve({type:2,res:t,preview:window.webkitURL.createObjectURL(t)}));case 6:if(!s.match("audio")){e.next=10;break}return e.abrupt("return",r>2097152?n.a.reject(new Error(t)):n.a.resolve({type:3,res:t,preview:window.webkitURL.createObjectURL(t)}));case 10:if(!s.match("image")){e.next=15;break}return e.next=13,new b["a"]({file:t,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)}));function t(t){return e.apply(this,arguments)}return t}(),handleFile:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(t){var s,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return s=t.constructor===File?t:t.target.files[0],e.prev=1,e.next=4,this.preHandleFile(s);case 4:r=e.sent,"pc"==this.meechatType?this.showFilePreview(r):this.handleFileSend(r),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](1),u()({message:"ไธไผ ๆไปถๅคงๅฐ้ๅถ๏ผ้ณ้ข2Mไปฅๅ
๏ผ่ง้ข3Mไปฅๅ
",type:"warning"});case 11:case"end":return e.stop()}},e,this,[[1,8]])}));function t(t){return e.apply(this,arguments)}return t}(),handleFileSend:function(e){var t=this;this.filePreviewShow=!1;var s={res:e.res},r=o()();this.addChatItem({content:e.preview||"",from:this.userId,hash:"".concat(r),msg_type:e.type,timestamp:r,res:e.res,loading:!0,createTime:r}),s.createTime=r,this.doSendFile(s),setTimeout(function(){t.emptyFileForm(),t.$refs.toolbar&&t.$refs.toolbar.resetInput(),t.resizeToBottom?t.resizeToBottom():t.$emit("toBottom")},100)},emptyFileForm:function(){this.$refs.inputFile&&(this.$refs.inputFile.value=null),this.$refs.inputFile1&&(this.$refs.inputFile1.value=null),this.$refs.inputFile2&&(this.$refs.inputFile2.value=null),this.$refs.inputFile3&&(this.$refs.inputFile3.value=null)}})}},"45f1":function(e,t,s){e.exports=s("8755")},"4e81":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"emoji-wrap"},[s("div",{staticClass:"emoji-list pub-scroll-box",attrs:{id:"emojiList"},on:{"&scroll":function(t){return e.handleScroll(t)}}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.recentList.length,expression:"recentList.length"}]},[s("p",{staticClass:"title"},[e._v(e._s(e.$t("emoji.lastestUse")))]),s("ul",{attrs:{id:"recent-emoji"}},e._l(e.recentList,function(t,r){return s("li",{key:r,domProps:{innerHTML:e._s(t.surrogates)},on:{click:function(s){return e.handleClick(t,s)}}})}),0)]),e._l(e.emojiList,function(t,r){return s("div",{key:r},[s("p",{staticClass:"title"},[e._v(e._s(e.$t("emoji."+r)))]),s("ul",e._l(t,function(t,r){return s("li",{key:r,domProps:{innerHTML:e._s(t.surrogates)},on:{click:function(s){return e.handleClick(t,s)}}})}),0)])})],2),s("ul",{staticClass:"type-list"},[s("li",{directives:[{name:"show",rawName:"v-show",value:e.recentList.length,expression:"recentList.length"}],class:[{active:0==e.typeIndex}],on:{click:function(t){return t.stopPropagation(),e.handleType(0)}}},[s("i")]),e._l(e.emojiList,function(t,r,n){return s("li",{key:r,class:[{active:e.typeIndex==n+1}],on:{click:function(t){return t.stopPropagation(),e.handleType(n+1)}}},[s("i")])})],2)])},n=[],a=s("badb"),o=s.n(a),i=s("33f8"),u=s("3703"),c=s("4c07"),m={name:"emojiList",props:{emojiShow:Boolean},data:function(){return{emojiList:u["a"],recentList:[],index:0,typeIndex:0,emojiListSel:null,emojiTitleArrSel:[],meechatType:Object(i["o"])()}},watch:{emojiShow:function(e){var t=this;e?this.$root.$el.addEventListener("click",this.closeEmojiList):this.$root.$el.removeEventListener("click",this.closeEmojiList),setTimeout(function(){t.handleScroll()},10)}},computed:{},mounted:function(){var e=this;this.recentList=JSON.parse(localStorage.getItem("recentEmoji"))||[],this.emojiListSel=document.getElementById("emojiList"),this.emojiTitleArrSel=this.emojiListSel.getElementsByClassName("title"),this.emojiImageArrSel=this.emojiListSel.getElementsByTagName("img"),this.$nextTick(function(){e.parseEmoji(e.emojiListSel)})},methods:{handleType:function(e){this.emojiTitleArrSel[e]&&(this.typeIndex=e,this.emojiListSel.scrollTop=this.emojiTitleArrSel[e].offsetTop)},handleClick:function(e,t){var s,r=this,n=e.names;this.$emit("addEmoji",o()(n)),this.recentList.length>9&&this.recentList.pop();var a=this.recentList.some(function(e,t){return s=t,n[0]==e.names[0]});a&&this.recentList.splice(s,1),this.recentList.unshift(e),localStorage.setItem("recentEmoji",o()(this.recentList));var i=document.getElementById("recent-emoji");this.$nextTick(function(){r.parseEmoji(i)})},parseEmoji:function(e){var t=s("c446");c["a"].parse(e,{callback:function(e,s){return t},attributes:function(e,t){return{originurl:"https://w2.meechat.me/emoji/"+t+".svg"}}})},handleScroll:function(){var e=this.emojiListSel.scrollTop,t=this.emojiTitleArrSel.length;Object(i["u"])({wrap:this.emojiListSel,imageArr:this.emojiImageArrSel});for(var s=0;sr.offsetTop&&n&&e<=n.offsetTop||!n&&e+20>r.offsetTop)&&(this.typeIndex=s)}},closeEmojiList:function(){this.$emit("closeEmojiList")}}},l=m,g=(s("6507"),s("fc05")),h=Object(g["a"])(l,r,n,!1,null,null,null);t["a"]=h.exports},"57fa":function(e,t,s){"use strict";var r=s("b343"),n=s("500c"),a=s("512f");e.exports=[].copyWithin||function(e,t){var s=r(this),o=a(s.length),i=n(e,o),u=n(t,o),c=arguments.length>2?arguments[2]:void 0,m=Math.min((void 0===c?o:n(c,o))-u,o-i),l=1;u0)u in s?s[i]=s[u]:delete s[i],i+=l,u+=l;return s}},"58f0":function(e,t,s){"use strict";if(s("3016")){var r=s("62b9"),n=s("62ec"),a=s("ac68"),o=s("92aa"),i=s("f9a4"),u=s("3424"),c=s("b2e7"),m=s("7993"),l=s("86e5"),g=s("3104"),h=s("c7c7"),f=s("6ba7"),d=s("512f"),p=s("6dec"),b=s("500c"),v=s("786f"),_=s("eb32"),y=s("bb92"),w=s("c6fa"),k=s("b343"),I=s("0f0b"),T=s("aff3"),S=s("47f1"),x=s("f5c1").f,j=s("0728"),M=s("ea01"),L=s("0c53"),C=s("6ef6"),A=s("0583"),E=s("4b34"),B=s("9dce"),R=s("ad0d"),$=s("3a76"),D=s("1ef5"),O=s("ca64"),P=s("57fa"),N=s("7847"),U=s("0c25"),F=N.f,z=U.f,W=n.RangeError,G=n.TypeError,V=n.Uint8Array,H="ArrayBuffer",J="Shared"+H,Y="BYTES_PER_ELEMENT",Z="prototype",X=Array[Z],q=u.ArrayBuffer,Q=u.DataView,K=C(0),ee=C(2),te=C(3),se=C(4),re=C(5),ne=C(6),ae=A(!0),oe=A(!1),ie=B.values,ue=B.keys,ce=B.entries,me=X.lastIndexOf,le=X.reduce,ge=X.reduceRight,he=X.join,fe=X.sort,de=X.slice,pe=X.toString,be=X.toLocaleString,ve=L("iterator"),_e=L("toStringTag"),ye=M("typed_constructor"),we=M("def_constructor"),ke=i.CONSTR,Ie=i.TYPED,Te=i.VIEW,Se="Wrong length!",xe=C(1,function(e,t){return Ae(E(e,e[we]),t)}),je=a(function(){return 1===new V(new Uint16Array([1]).buffer)[0]}),Me=!!V&&!!V[Z].set&&a(function(){new V(1).set({})}),Le=function(e,t){var s=f(e);if(s<0||s%t)throw W("Wrong offset!");return s},Ce=function(e){if(w(e)&&Ie in e)return e;throw G(e+" is not a typed array!")},Ae=function(e,t){if(!(w(e)&&ye in e))throw G("It is not a typed array constructor!");return new e(t)},Ee=function(e,t){return Be(E(e,e[we]),t)},Be=function(e,t){var s=0,r=t.length,n=Ae(e,r);while(r>s)n[s]=t[s++];return n},Re=function(e,t,s){F(e,t,{get:function(){return this._d[s]}})},$e=function(e){var t,s,r,n,a,o,i=k(e),u=arguments.length,m=u>1?arguments[1]:void 0,l=void 0!==m,g=j(i);if(void 0!=g&&!I(g)){for(o=g.call(i),r=[],t=0;!(a=o.next()).done;t++)r.push(a.value);i=r}for(l&&u>2&&(m=c(m,arguments[2],2)),t=0,s=d(i.length),n=Ae(this,s);s>t;t++)n[t]=l?m(i[t],t):i[t];return n},De=function(){var e=0,t=arguments.length,s=Ae(this,t);while(t>e)s[e]=arguments[e++];return s},Oe=!!V&&a(function(){be.call(new V(1))}),Pe=function(){return be.apply(Oe?de.call(Ce(this)):Ce(this),arguments)},Ne={copyWithin:function(e,t){return P.call(Ce(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return se(Ce(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return O.apply(Ce(this),arguments)},filter:function(e){return Ee(this,ee(Ce(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Ce(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ne(Ce(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){K(Ce(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return oe(Ce(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ae(Ce(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return he.apply(Ce(this),arguments)},lastIndexOf:function(e){return me.apply(Ce(this),arguments)},map:function(e){return xe(Ce(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return le.apply(Ce(this),arguments)},reduceRight:function(e){return ge.apply(Ce(this),arguments)},reverse:function(){var e,t=this,s=Ce(t).length,r=Math.floor(s/2),n=0;while(n1?arguments[1]:void 0)},sort:function(e){return fe.call(Ce(this),e)},subarray:function(e,t){var s=Ce(this),r=s.length,n=b(e,r);return new(E(s,s[we]))(s.buffer,s.byteOffset+n*s.BYTES_PER_ELEMENT,d((void 0===t?r:b(t,r))-n))}},Ue=function(e,t){return Ee(this,de.call(Ce(this),e,t))},Fe=function(e){Ce(this);var t=Le(arguments[1],1),s=this.length,r=k(e),n=d(r.length),a=0;if(n+t>s)throw W(Se);while(a255?255:255&r),n.v[h](s*t+n.o,r,je)},L=function(e,t){F(e,t,{get:function(){return j(this,t)},set:function(e){return M(this,t,e)},enumerable:!0})};_?(f=s(function(e,s,r,n){m(e,f,c,"_d");var a,o,i,u,l=0,h=0;if(w(s)){if(!(s instanceof q||(u=y(s))==H||u==J))return Ie in s?Be(f,s):$e.call(f,s);a=s,h=Le(r,t);var b=s.byteLength;if(void 0===n){if(b%t)throw W(Se);if(o=b-h,o<0)throw W(Se)}else if(o=d(n)*t,o+h>b)throw W(Se);i=o/t}else i=p(s),o=i*t,a=new q(o);g(e,"_d",{b:a,o:h,l:o,e:i,v:new Q(a)});while(l=2&&e.totalVisible?s("div",{staticClass:"at-me-item",on:{click:e.scrollToMsg}},[s("div",{staticClass:"at-content"},[e._v(e._s(e.$t("chat.hava"))+e._s(e.atNum)+e._s(e.$t("chat.atYouWithPeople")))]),s("i",{staticClass:"icon-close",attrs:{title:e.$t("public.close")},on:{click:function(t){t.stopPropagation(),e.totalVisible=!1}}})]):e.atNum&&e.itemVisible?s("div",{staticClass:"at-me-item",on:{click:e.scrollToMsg}},[s("div",{staticClass:"at-content"},[e._v(e._s(e.atList[0].name)+e._s(e.$t("chat.atYou")))]),s("i",{staticClass:"icon-close",attrs:{title:e.$t("public.close")},on:{click:function(t){return t.stopPropagation(),e.closeAtme(t)}}})]):e._e()]):e._e()},n=[],a=s("bd31"),o=s("c1f9"),i=s.n(o),u=s("52c1"),c={name:"atMe",props:{atList:[Array]},computed:{atNum:function(){return i.a.unionBy(this.atList,"userId").length}},data:function(){return{totalVisible:!0,itemVisible:!0}},methods:Object(a["a"])({},Object(u["d"])(["clearAtList"]),{scrollToMsg:function(){this.$emit("scrollToMsg",this.atList.length-1)},closeAtme:function(){this.itemVisible=!1,this.clearAtList()}})},m=c,l=(s("1c20"),s("fc05")),g=Object(l["a"])(m,r,n,!1,null,"6ba1fb76",null);t["a"]=g.exports},"9aa3":function(e,t,s){var r=s("eaa7"),n=s("a27a");r(r.G+r.F*(parseFloat!=n),{parseFloat:n})},"9caf":function(e,t,s){e.exports=s("15b8")},"9f02":function(e,t,s){"use strict";s("be31");var r=s("1129"),n=s("5859"),a=s("3016"),o="toString",i=/./[o],u=function(e){s("3741")(RegExp.prototype,o,e,!0)};s("ac68")(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:!a&&e instanceof RegExp?n.call(e):void 0)}):i.name!=o&&u(function(){return i.call(this)})},a1aa:function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"chat-at"},[s("div",{staticClass:"bar-wrap"},[s("div",{ref:"container"},e._l(e.filterList,function(t,r){return s("div",{key:r,staticClass:"item",class:{active:r==e.curInd},on:{click:function(t){return t.stopPropagation(),e.atPerson(r)}}},[s("div",{staticClass:"avatar",class:"avatar_bg"+t.user_id%9},[t.cover_photo?s("img",{attrs:{src:t.cover_photo}}):[e._v("\n "+e._s(t.nick_name.slice(0,2).toUpperCase())+"\n ")]],2),s("div",{staticClass:"name"},[s("p",{staticClass:"nick-name"},[e._v("\n "+e._s(t.nick_name)+"\n "),t.is_admin>0?s("span",{class:["status-identity","identity"+t.is_admin]},[e._v(e._s(1==t.is_admin?e.$t("public.admin"):e.$t("public.owner")))]):e._e(),1==t.is_block?s("span",{staticClass:"status-forbidden"},[e._v(" "+e._s(e.$t("public.ban")))]):e._e()]),s("p",{staticClass:"user-name"},[e._v("@"+e._s(t.user_name))])])])}),0)])])},n=[],a=s("bd31"),o=(s("46b5"),s("52c1")),i={name:"chatAt",props:{curInd:{type:Number},filterList:{type:Array}},computed:Object(a["a"])({},Object(o["e"])(["userId"])),data:function(){return{showFilterList:[]}},watch:{curInd:function(e){this.scrollIntoView()}},methods:{atPerson:function(e){var t=this.filterList[e];this.$emit("atperson",t.user_name,t.nick_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=(s("92ec"),s("fc05")),m=Object(c["a"])(u,r,n,!1,null,"456ce12a",null);t["a"]=m.exports},a27a:function(e,t,s){var r=s("5de4").parseFloat,n=s("3f3e").trim;e.exports=1/r(s("b494")+"-0")!==-1/0?function(e){var t=n(String(e),3),s=r(t);return 0===s&&"-"==t.charAt(0)?-0:s}:r},a5b9:function(e,t,s){"use strict";var r=s("d633"),n=s.n(r);n.a},b16d:function(e,t,s){"use strict";s("d0d1"),s("0adb"),s("c7d9");var r=s("0649"),n=s.n(r),a=s("a700"),o=s.n(a),i=s("45f1"),u=s.n(i),c=s("a585"),m=s("26cb"),l=function(){function e(t){var s=this;return Object(c["a"])(this,e),this.file=t.file,this.maxSize=t.maxSize||1048576,this.quantity=u()((this.file.size/this.maxSize).toFixed(2)),new o.a(function(e,t){s.quantity<=1?s.blobToDataURL(s.file).then(function(t){e({base64:t.target.result,res:s.file})}):s.mini(e,t)})}return Object(m["a"])(e,[{key:"mini",value:function(e,t){var s=this,r=this.file,a=this.quantity;try{var o=new FileReader,i=new Image;o.readAsDataURL(r),o.onload=function(e){i.src=e.target.result},i.onload=function(){var t=document.createElement("canvas"),r=t.getContext("2d"),o=i.width,u=i.height;t.width=o,t.height=u,r.clearRect(0,0,o,u),r.drawImage(i,0,0,o,u);var c=t.toDataURL("image/jpeg",a),m=s.dataURLtoBlob(c);if(m.size>s.maxSize){r.clearRect(0,0,o,u);var l=s.maxSize/m.size*.8,g=n()(o*l),h=n()(u*l);t.width=g,t.height=h,r.drawImage(i,0,0,o,u,0,0,g,h),c=t.toDataURL("image/jpeg"),m=s.dataURLtoBlob(c)}e({base64:c,res:m})}}catch(u){t(u)}}},{key:"blobToDataURL",value:function(e){return new o.a(function(t,s){var r=new FileReader;r.onload=t,r.readAsDataURL(e)})}},{key:"dataURLtoBlob",value:function(e){var t=e.split(","),s=t[0].match(/:(.*?);/)[1],r=atob(t[1]),n=r.length,a=new Uint8Array(n);while(n--)a[n]=r.charCodeAt(n);return new Blob([a],{type:s})}}]),e}();t["a"]=l},bcf8:function(e,t,s){},be31:function(e,t,s){s("3016")&&"g"!=/./g.flags&&s("7847").f(RegExp.prototype,"flags",{configurable:!0,get:s("5859")})},c446:function(e,t){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=="},ca64:function(e,t,s){"use strict";var r=s("b343"),n=s("500c"),a=s("512f");e.exports=function(e){var t=r(this),s=a(t.length),o=arguments.length,i=n(o>1?arguments[1]:void 0,s),u=o>2?arguments[2]:void 0,c=void 0===u?s:n(u,s);while(c>i)t[i++]=e;return t}},cdfc:function(e,t,s){"use strict";var r=s("f064"),n=s.n(r);n.a},d0d1:function(e,t,s){s("58f0")("Uint8",1,function(e){return function(t,s,r){return e(this,t,s,r)}})},d633:function(e,t,s){},ed9a:function(e,t,s){},f064:function(e,t,s){},f9a4:function(e,t,s){var r,n=s("62ec"),a=s("3104"),o=s("ea01"),i=o("typed_array"),u=o("view"),c=!(!n.ArrayBuffer||!n.DataView),m=c,l=0,g=9,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(l