(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-55ee6bb8"],{"16c9":function(t,e,n){"use strict";var i=n("5584"),a=n.n(i);a.a},2671:function(t,e,n){"use strict";n.d(e,"b",function(){return f}),n.d(e,"a",function(){return p});n("4453");var i=n("ee95"),a=(n("b06f"),n("3f47")),s=n("52c1"),r=n("5975"),c=n("2593"),o=n("33f8"),u=n("ca42"),l=n.n(u),d=n("bf49"),h=n("ef30"),f={data:function(){return{accountList:null,userInfo:null,meechatType:Object(o["o"])()}},computed:Object(a["a"])({},Object(s["e"])({members:function(t){return t.group.members},groupId:function(t){return t.group.groupId},sessionList:function(t){return t.chat.sessionList},meId:function(t){return t.userId},meInfo:function(t){return t.userInfo}}),{linkToOther:function(){var t=this.userInfo.user_id,e=Number(t)=60)){t.next=7;break}return t.abrupt("return",!1);case 7:return i={},t.prev=8,t.next=11,r["a"].user.tgBind2({csrf_token:e});case 11:i=t.sent,t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](8),this.isLoading=!1;case 17:i.data&&i.data.data&&i.data.data.status>0?(this.isLoading=!1,null!=this.winHandler&&(this.winHandler.close(),this.winHandler=null),this.getSyncInfo&&this.getSyncInfo(this.params),this.getUserInfo()):i.data?(null!=this.winHandler||i.data&&0==i.data.status)&&(this.timeoutHandler=setTimeout(function(){a.bindCheck(e,++n)},1e3)):null!=this.winHandler&&(this.winHandler.close(),this.winHandler=null);case 18:case"end":return t.stop()}},t,this,[[8,14]])}));function e(e,n){return t.apply(this,arguments)}return e}(),unbindAccount:function(t){var e=this;Object(o["f"])("".concat(this.$t("userinfo.unbindMsg")," ").concat(t.toLocaleUpperCase()," ?")).then(function(){r["a"].user.unBind({type:t}).then(function(){"eos"==t&&e.scatter&&e.scatter.logout&&e.scatter.logout(),e.$showTips(e.$t("userinfo.unbindSuccess")),e.changeUserBinds({type:t,account:""})})})}})}},"39ab":function(t,e,n){},"43ad":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){return{methods:{focus:function(){this.$refs[t].focus()}}}}},5584:function(t,e,n){},"68ca":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=99)}({0:function(t,e,n){"use strict";function i(t,e,n,i,a,s,r,c){var o,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),r?(o=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=o):a&&(o=c?function(){a.call(this,this.$root.$options.shadowRoot)}:a),o)if(u.functional){u._injectStyles=o;var l=u.render;u.render=function(t,e){return o.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,o):[o]}return{exports:t,options:u}}n.d(e,"a",function(){return i})},10:function(t,e){t.exports=n("9fb5")},19:function(t,e){t.exports=n("43ad")},3:function(t,e){t.exports=n("49b0")},99:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-switch",class:{"is-disabled":t.switchDisabled,"is-checked":t.checked},attrs:{role:"switch","aria-checked":t.checked,"aria-disabled":t.switchDisabled},on:{click:t.switchValue}},[n("input",{ref:"input",staticClass:"el-switch__input",attrs:{type:"checkbox",id:t.id,name:t.name,"true-value":t.activeValue,"false-value":t.inactiveValue,disabled:t.switchDisabled},on:{change:t.handleChange,keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.switchValue(e):null}}}),t.inactiveIconClass||t.inactiveText?n("span",{class:["el-switch__label","el-switch__label--left",t.checked?"":"is-active"]},[t.inactiveIconClass?n("i",{class:[t.inactiveIconClass]}):t._e(),!t.inactiveIconClass&&t.inactiveText?n("span",{attrs:{"aria-hidden":t.checked}},[t._v(t._s(t.inactiveText))]):t._e()]):t._e(),n("span",{ref:"core",staticClass:"el-switch__core",style:{width:t.coreWidth+"px"}}),t.activeIconClass||t.activeText?n("span",{class:["el-switch__label","el-switch__label--right",t.checked?"is-active":""]},[t.activeIconClass?n("i",{class:[t.activeIconClass]}):t._e(),!t.activeIconClass&&t.activeText?n("span",{attrs:{"aria-hidden":!t.checked}},[t._v(t._s(t.activeText))]):t._e()]):t._e()])},a=[];i._withStripped=!0;var s=n(3),r=n.n(s),c=n(19),o=n.n(c),u=n(10),l=n.n(u),d={name:"ElSwitch",mixins:[o()("input"),l.a,r.a],inject:{elForm:{default:""}},props:{value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},activeIconClass:{type:String,default:""},inactiveIconClass:{type:String,default:""},activeText:String,inactiveText:String,activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String},data:function(){return{coreWidth:this.width}},created:function(){~[this.activeValue,this.inactiveValue].indexOf(this.value)||this.$emit("input",this.inactiveValue)},computed:{checked:function(){return this.value===this.activeValue},switchDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{checked:function(){this.$refs.input.checked=this.checked,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[this.value])}},methods:{handleChange:function(t){var e=this,n=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",n),this.$emit("change",n),this.$nextTick(function(){e.$refs.input.checked=e.checked})},setBackgroundColor:function(){var t=this.checked?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=t,this.$refs.core.style.backgroundColor=t},switchValue:function(){!this.switchDisabled&&this.handleChange()},getMigratingConfig:function(){return{props:{"on-color":"on-color is renamed to active-color.","off-color":"off-color is renamed to inactive-color.","on-text":"on-text is renamed to active-text.","off-text":"off-text is renamed to inactive-text.","on-value":"on-value is renamed to active-value.","off-value":"off-value is renamed to inactive-value.","on-icon-class":"on-icon-class is renamed to active-icon-class.","off-icon-class":"off-icon-class is renamed to inactive-icon-class."}}}},mounted:function(){this.coreWidth=this.width||40,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.$refs.input.checked=this.checked}},h=d,f=n(0),p=Object(f["a"])(h,i,a,!1,null,null,null);p.options.__file="packages/switch/src/component.vue";var v=p.exports;v.install=function(t){t.component(v.name,v)};e["default"]=v}})},"948e":function(t,e,n){},9744:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"msgbox-fade"}},[t.visible?n("div",{staticClass:"pub-wrapper",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"pub-mask",on:{click:function(e){t.visible=!1}}}),n("div",{staticClass:"pub-modal avater-modal"},[n("div",{staticClass:"modal-hd"},[n("i",{staticClass:"el-icon-close",on:{click:function(e){t.visible=!1}}})]),t.userInfo?n("div",{staticClass:"modal-bd"},[n("div",{staticClass:"user-top"},[n("div",{staticClass:"user-avatar"},[t.userInfo.cover_photo?n("img",{attrs:{src:t.userInfo.cover_photo+"?imageview/0/w/180",alt:""},on:{click:function(e){return t.$showImgPreview(t.userInfo.cover_photo)}}}):n("div",{staticClass:"user-avatar",class:"avatar_bg"+t.userInfo.user_id%9,attrs:{"data-name":t.userInfo.nick_name.slice(0,2).toUpperCase()}})]),n("div",{staticClass:"r-info"},[n("span",{staticClass:"name"},[t._v(t._s(t.userInfo.nick_name))]),n("div",{staticClass:"introduce"},[t._v("@"+t._s(t.userInfo.user_name))])])]),n("div",{staticClass:"account-wrap min-height-account"},[n("div",{staticClass:"title"},[t._v(t._s(t.$t("userinfo.bindAccounts")))]),t.accountList?t._l(t.accountList,function(e,i){return n("div",{key:i,staticClass:"account-item"},[n("div",{staticClass:"type"},[n("strong",[t._v(t._s(e.type.toUpperCase()))])]),e.account&&e.is_visible?n("p",{staticClass:"key"},[t._v(t._s(e.account))]):n("p",[t._v(t._s(t.$t("userinfo.notBindOrHide")))])])}):t._e()],2),t.$store.state.userId!=t.userId&&"mini"===t.meechatType?n("a",{staticClass:"send-msg-btn",attrs:{href:t.linkToOther,target:"meechatpc"},on:{click:function(e){t.visible=!1}}},[t._v(t._s(t.$t("public.sendMessage")))]):t.$store.state.userId!=t.userId?n("button",{staticClass:"send-msg-btn",on:{click:t.sendMsg}},[t._v(t._s(t.$t("public.sendMessage")))]):t._e()]):t._e()])]):t._e()])},a=[],s=(n("948e"),n("3050"),n("68ca")),r=n.n(s),c=(n("0da4"),n("03a8")),o=n.n(c),u=(n("3a23"),n("39ab"),n("c843")),l=n.n(u),d=n("6e6d"),h=n("2671");d["default"].component(l.a.name,l.a),d["default"].component(o.a.name,o.a),d["default"].component(r.a.name,r.a);var f={name:"infoPopup",mixins:[h["b"]]},p=f,v=(n("16c9"),n("17cc")),m=Object(v["a"])(p,i,a,!1,null,null,null);e["default"]=m.exports}}]);