text: (function(e){function n(n){for(var o,s,a=n[0],c=n[1],u=n[2],l=0,f=[];l<a.length;l++)s=a[l],i[s]&&f.push(i[s][0]),i[s]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);p&&p(n);while(f.length)f.shift()();return r.push.apply(r,u||[]),t()}function t(){for(var e,n=0;n<r.length;n++){for(var t=r[n],o=!0,s=1;s<t.length;s++){var c=t[s];0!==i[c]&&(o=!1)}o&&(r.splice(n--,1),e=a(a.s=t[0]))}return e}var o={},i={index:0},r=[];function s(e){return a.p+"static/js/"+({"pages-addCompany-addCompany":"pages-addCompany-addCompany","pages-classify-classify":"pages-classify-classify","pages-companion-companion":"pages-companion-companion","pages-companion-industry-industry":"pages-companion-industry-industry","pages-companion-industryTwo-industryTwo":"pages-companion-industryTwo-industryTwo","pages-evaluate-evaluate":"pages-evaluate-evaluate","pages-linlin-find-detail":"pages-linlin-find-detail","pages-linlin-find-find":"pages-linlin-find-find","pages-linlin-home-index":"pages-linlin-home-index","pages-linlin-personal-Data-Fullname":"pages-linlin-personal-Data-Fullname","pages-linlin-personal-Data-Nickname":"pages-linlin-personal-Data-Nickname","pages-linlin-personal-Data-data":"pages-linlin-personal-Data-data","pages-linlin-personal-about_us":"pages-linlin-personal-about_us","pages-linlin-personal-business-account":"pages-linlin-personal-business-account","pages-linlin-personal-business-add_record":"pages-linlin-personal-business-add_record","pages-linlin-personal-business-business":"pages-linlin-personal-business-business","pages-linlin-personal-business-company_adress":"pages-linlin-personal-business-company_adress","pages-linlin-personal-business-company_brand":"pages-linlin-personal-business-company_brand","pages-linlin-personal-business-company_email":"pages-linlin-personal-business-company_email","pages-linlin-personal-business-company_name":"pages-linlin-personal-business-company_name","pages-linlin-personal-business-investor":"pages-linlin-personal-business-investor","pages-linlin-personal-business-investor_detail":"pages-linlin-personal-business-investor_detail","pages-linlin-personal-business-message_detail":"pages-linlin-personal-business-message_detail","pages-linlin-personal-business-message_manage":"pages-linlin-personal-business-message_manage","pages-linlin-personal-center":"pages-linlin-personal-center","pages-linlin-personal-collect-article_information":"pages-linlin-personal-collect-article_information","pages-linlin-personal-collect-article_report":"pages-linlin-personal-collect-article_report","pages-linlin-personal-collect-article_strategy":"pages-linlin-personal-collect-article_strategy","pages-linlin-personal-collect-collect":"pages-linlin-personal-collect-collect","pages-linlin-personal-collect-item":"pages-linlin-personal-collect-item","pages-linlin-personal-contact":"pages-linlin-personal-contact","pages-linlin-personal-discuss":"pages-linlin-personal-discuss","pages-linlin-personal-feedback":"pages-linlin-personal-feedback","pages-linlin-personal-focus":"pages-linlin-personal-focus","pages-linlin-personal-footmark":"pages-linlin-personal-footmark","pages-linlin-personal-leave_message":"pages-linlin-personal-leave_message","pages-linlin-personal-login":"pages-linlin-personal-login","pages-linlin-personal-news-consult":"pages-linlin-personal-news-consult","pages-linlin-personal-news-inform":"pages-linlin-personal-news-inform","pages-linlin-personal-news-news":"pages-linlin-personal-news-news","pages-linlin-personal-news-zan":"pages-linlin-personal-news-zan","pages-messageList-messageList":"pages-messageList-messageList","pages-productList-productDetail-IM":"pages-productList-productDetail-IM","pages-productList-productDetail-productDetail":"pages-productList-productDetail-productDetail","pages-productList-recommend":"pages-productList-recommend","pages-search-search":"pages-search-search","pages-search-searchList-searchList":"pages-search-searchList-searchList"}[e]||e)+"."+{"pages-addCompany-addCompany":"1de12e9c","pages-classify-classify":"23aa0b18","pages-companion-companion":"548b5641","pages-companion-industry-industry":"f16ef2a1","pages-companion-industryTwo-industryTwo":"e19f1dc2","pages-evaluate-evaluate":"f8acf105","pages-linlin-find-detail":"37237425","pages-linlin-find-find":"b64ab4df","pages-linlin-home-index":"7ef01b9f","pages-linlin-personal-Data-Fullname":"37dee055","pages-linlin-personal-Data-Nickname":"59ea90bb","pages-linlin-personal-Data-data":"4faf7a85","pages-linlin-personal-about_us":"6ed7ef35","pages-linlin-personal-business-account":"8a7bf531","pages-linlin-personal-business-add_record":"edfa437f","pages-linlin-personal-business-business":"4a2444a3","pages-linlin-personal-business-company_adress":"d94e3ecf","pages-linlin-personal-business-company_brand":"eb7d4387","pages-linlin-personal-business-company_email":"47ffd217","pages-linlin-personal-business-company_name":"2e514d2a","pages-linlin-personal-business-investor":"27bb037b","pages-linlin-personal-business-investor_detail":"21ea7a7e","pages-linlin-personal-business-message_detail":"dde4c2c2","pages-linlin-personal-business-message_manage":"e7c38b2a","pages-linlin-personal-center":"11d7cef9","pages-linlin-personal-collect-article_information":"4287d5ed","pages-linlin-personal-collect-article_report":"1515c759","pages-linlin-personal-collect-article_strategy":"6fbb7f9b","pages-linlin-personal-collect-collect":"bc72f608","pages-linlin-personal-collect-item":"1c7111f1","pages-linlin-personal-contact":"f72068d9","pages-linlin-personal-discuss":"d7583379","pages-linlin-personal-feedback":"34a1d9ee","pages-linlin-personal-focus":"7533500c","pages-linlin-personal-footmark":"b4a8ef2f","pages-linlin-personal-leave_message":"fbe0fb84","pages-linlin-personal-login":"6b2788f2","pages-linlin-personal-news-consult":"91baaa89","pages-linlin-personal-news-inform":"d1a93c99","pages-linlin-personal-news-news":"cd64e5e5","pages-linlin-personal-news-zan":"a338a7c6","pages-messageList-messageList":"1ce25169","pages-productList-productDetail-IM":"4ba4308e","pages-productList-productDetail-productDetail":"3d1fc232","pages-productList-recommend":"38c53393","pages-search-search":"41cfadbf","pages-search-searchList-searchList":"0e33f837"}[e]+".js"}function a(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var o=new Promise(function(n,o){t=i[e]=[n,o]});n.push(t[2]=o);var r,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=s(e),r=function(n){c.onerror=c.onload=null,clearTimeout(u);var t=i[e];if(0!==t){if(t){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src,s=new Error("Loading chunk "+e+" failed.\n("+o+": "+r+")");s.type=o,s.request=r,t[1](s)}i[e]=void 0}};var u=setTimeout(function(){r({type:"timeout",target:c})},12e4);c.onerror=c.onload=r,document.head.appendChild(c)}return Promise.all(n)},a.m=e,a.c=o,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)a.d(t,o,function(n){return e[n]}.bind(null,o));return t},a.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="/",a.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],u=c.push.bind(c);c.push=n,c=c.slice();for(var l=0;l<c.length;l++)n(c[l]);var p=u;r.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("02c4")},"02c4":function(e,n,t){"use strict";t("744f"),t("6c7b"),t("7514"),t("20d6"),t("1c4c"),t("6762"),t("cadf"),t("e804"),t("55dd"),t("d04f"),t("0298"),t("c8ce"),t("87b3"),t("217b"),t("7f7f"),t("f400"),t("7f25"),t("536b"),t("d9ab"),t("f9ab"),t("32d7"),t("25c9"),t("9f3c"),t("042e"),t("c7c6"),t("f4ff"),t("049f"),t("7872"),t("a69f"),t("0b21"),t("6c1a"),t("c7c62"),t("84b4"),t("c5f6"),t("2e37"),t("fca0"),t("7cdf"),t("ee1d"),t("b1b1"),t("87f3"),t("9278"),t("5df2"),t("04ff"),t("f751"),t("4504"),t("fee7"),t("ffc1"),t("0d6d"),t("9986"),t("8e6e"),t("25db"),t("e4f7"),t("b9a1"),t("64d5"),t("9aea"),t("db97"),t("66c8"),t("57f0"),t("165b"),t("456d"),t("cf6a"),t("fd24"),t("8615"),t("551c"),t("097d"),t("df1b"),t("2397"),t("88ca"),t("ba16"),t("d185"),t("ebde"),t("2d34"),t("f6b3"),t("2251"),t("c698"),t("a19f"),t("9253"),t("9275"),t("3b2b"),t("3846"),t("4917"),t("a481"),t("28a5"),t("386d"),t("6b54"),t("4f7f"),t("8a81"),t("ac4d"),t("8449"),t("9c86"),t("fa83"),t("48c0"),t("a032"),t("aef6"),t("d263"),t("6c37"),t("9ec8"),t("5695"),t("2fdb"),t("d0b0"),t("5df3"),t("b54a"),t("f576"),t("ed50"),t("788d"),t("14b9"),t("f386"),t("f559"),t("1448"),t("673e"),t("242a"),t("c66f"),t("262f"),t("b05c"),t("34ef"),t("6aa2"),t("15ac"),t("af56"),t("b6e4"),t("9c29"),t("63d9"),t("4dda"),t("10ad"),t("c02b"),t("4795"),t("130f"),t("ac6a"),t("96cf"),t("d4b6"),t("1c31");var o=r(t("e143")),i=r(t("f96e"));function r(e){return e&&e.__esModule?e:{default:e}}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},o=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach(function(n){a(e,n,t[n])})}return e}function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}o.default.config.productionTip=!1,o.default.prototype.global_url="https://www.jiamengzhinan.com",o.default.prototype.request=function(e){var n=this,t=e.data,o=void 0===t?"":t,i=e.method,r=void 0===i?"GET":i,a=e.url,c=void 0===a?"":a,u=e.success,l=void 0===u?function(){}:u,p=e.fail,f=void 0===p?function(){}:p;this.current_url!=c&&(this.current_url=c,uni.request({url:this.global_url+c,header:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},data:s({token:uni.getStorageSync("token")},o),method:r,success:function(e){n.current_url="";var t=e.data,o=t.code,i=t.msg,r=t.data;200===o?l({code:o,msg:i,data:r}):300==o?l({code:o,msg:i,data:r}):301==o?(wx.showToast({title:"您还未登陆呦～，请登陆后使用",icon:"none"}),setTimeout(function(){uni.navigateTo({url:"/pages/linlin/personal/login"})},500)):(wx.showToast({title:i,icon:"none"}),setTimeout(function(){f({code:o,msg:i,data:r})},800))},fail:function(e){console.log("fail",e),this.current_url="",uni.showToast({title:"请稍后重试",icon:"none"})}}))},o.default.prototype.htmlEscapt=function(e){var n=/(&lt;)|(&gt;)|(&amp;)|(&quot;)/g;return e=e.replace(n,function(e){switch(e){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&quot;":return'"'}}),e=e.replace(/<img(([\s\S])*?)src=/g,'<img style="width:100%;height:auto" src='),e.replace(/<img(([\s\S])*?)style="(([\s\S])*?)"/g,'<img style="width:100%;height:auto"')},Date.prototype.Format=function(e){var n={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var t in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+t+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[t]:("00"+n[t]).substr((""+n[t]).length)));return e},o.default.prototype.PhonePwd=function(e){console.log("pwd",e);var n="HEBIDAGJMZN",t=e.replace("JMZN",""),o="";for(var i in console.log("data",t),t)o+=n.indexOf(t.charAt(i));return o=o.substr(0,3)+"*****"+o.substr(-3),o},i.default.mpType="app";var c=new o.default(s({},i.default));c.$mount()},"0452":function(e,n,t){"use strict";var o=t("5dea"),i=t.n(o);i.a},"0674":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t("9d24"),i=t("ef31"),r=new o({}),s={onLaunch:function(){var e=this;this.getOpenid().then(function(n){e.initIM().then(function(){e.loginIM()},function(){})})},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},globalData:{url:"https://www.jiamengzhinan.com",JIM:r},methods:{getOpenid:function(){var e=this;return new Promise(function(n,t){e.request({url:"/wap/index/get_openid",method:"get",success:function(e){e.code,e.msg;var t=e.data,o=t.openid;o&&(o||(o="游客"+new Date),uni.setStorage({key:"openid",data:i.MD5(o)}),uni.setStorageSync("userInfo",JSON.stringify({name:t.username?t.username:"游客"}))),n()},fail:function(e){console.log("失败",e),t()}})})},initIM:function(){var e=this;console.log("开始初始化");var n=(new Date).getTime(),t="24046297376857955edde70f",o=this.randomstring(16),r="5d0dc0eef5520e02107abda2",s=i.MD5("appkey="+t+"&timestamp="+n+"&random_str="+o+"&key="+r);return new Promise(function(i,r){console.log("开始初始化222"),console.log("this.",e),e.globalData.JIM.init({appkey:t,random_str:o,signature:s,timestamp:n,flag:1}).onSuccess(function(e){console.log("初始化成功"),i()}).onFail(function(e){}),e.globalData.JIM.onDisconnect(function(){})})},randomstring:function(e){var n="",t=function(){var e=Math.floor(62*Math.random());return e<10?e:e<36?String.fromCharCode(e+55):String.fromCharCode(e+61)};while(n.length<e)n+=t();return n},loginIM:function(){var e=this;return new Promise(function(n,t){var o=e,i=uni.getStorageSync("openid");console.log("username",i),e.globalData.JIM.login({username:i,password:"123456"}).onSuccess(function(e){console.log("极光登陆成功"),n()}).onFail(function(e){console.log("登录失败",e),o.registerIM()})})},getConversation:function(){var e=this;return new Promise(function(n,t){e.globalData.JIM.onSyncConversation(function(e){console.log("离线消息",e),n(e)})})},registerIM:function(){var e=this,n=uni.getStorageSync("openid");console.log("username",n),this.globalData.JIM.register({username:n,nickname:"游客",password:"123456"}).onSuccess(function(n){console.log("注册成功"),e.loginIM().then(function(){})}).onFail(function(e){console.log("注册失败",e)})},uploadAvatar:function(){var e=this;return new Promise(function(n,t){var o=e;uni.downloadFile({url:o.globalData.userInfo.head_pic,success:function(t){var o=t.tempFilePath;console.log("tempFilePath",o),e.globalData.JIM.updateSelfAvatar({avatar:o}).onSuccess(function(e){console.log("头像上传成功",e),n()}).onFail(function(e){console.log("头像上传失败",e)})}})})}}};n.default=s},1373:function(e,n,t){"use strict";var o=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},i=[];t.d(n,"a",function(){return o}),t.d(n,"b",function(){return i})},"395b":function(e,n,t){"use strict";t.r(n);var o=t("0674"),i=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,function(){return o[e]})}(r);n["default"]=i.a},"5dea":function(e,n,t){var o=t("e210");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=t("4f06").default;i("7adb34eb",o,!0,{sourceMap:!1,shadowMode:!1})},"9d24":function(e,n,t){"use strict";!function(n,t){e.exports=t()}(0,function(){return function(e){var n={};function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}return t.m=e,t.c=n,t.p="",t(0)}([function(e,n,t){var o=t(1);window.JMessage=e.exports=o},function(e,n,t){var o=t(2),i=t(5),r=t(6),s=t(59),a=t(60),c=t(61),u=t(62),l=t(63)(),p=t(64),f=function(e){var n=e||{};this.opts={address:n.address?n.address:s.WSS_ADDRESS,upload_file:n.upload_file?n.upload_file:s.UPLOAD_FILE,download_file:n.download_file?n.download_file:s.DOWNLOAD_FILE,debug:!!n.debug},this.channel=new r(this.opts),this.syncTask=0,this.msgReceipTask=0};f.prototype.init=function(e){var n=this;return n.autoDiscon=!0,e.flag!==s.SYNC_TYPE_OPEN&&e.flag!==s.SYNC_TYPE_CLOSE||(n.channel.sync_type=e.flag),e.fromPlatForm=s.FROM_PLATFORM,new a(this.channel).setEvent(s.EVENTS.INIT).setData(e).send().addHook(function(t,o){n.current_appkey=e.appkey,o&&o(t)})},f.prototype.loginOut=function(){if(this.current_user){this.autoDiscon=!1,this.channel.client.close();var e=this.channel.dataCache;for(var n in e)e[n].cleanAckTimeout(),e[n].cleanRespTimeout();this.current_user=null,this.current_appkey=null,this.channel.init(this.channel.opts)}},f.prototype.login=function(e){this.__checkInit(),e.is_md5||(e.password=l(e.password)),e.version=s.SDK_VERSION;var n=this,t=new a(this.channel).setEvent(s.EVENTS.LOGIN).setData(e).addHook(function(t,o){n.current_user=e.username,p.StorageUtils.removeItems(n.current_user),n.channel.sync_key=0,n.channel.sync_event_key=0,n.channel.msg_receipt_key=0,n.channel.ses_key=s.SESSION_KEY+n.current_appkey+"-"+n.current_user,n.channel.conversations_key=s.CONVERSATION_KEY+n.current_appkey+"-"+n.current_user,n.channel.event_key=s.EVENT_KEY+n.current_appkey+"-"+n.current_user,n._syncCheckTask(),n._receiptReportTask(),n._initConversation(),n.lastMsgs={},n.channel.client.removeListener(s.EVENTS.LOGIN),n._addEventListen(),n.firstLogin=!1,o&&o(t)});return setTimeout(function(){t.send()},500),t},f.prototype._initConversation=function(){var e=this,n=p.StorageUtils.getItem(e.channel.conversations_key);null===n&&(n=JSON.stringify({}),p.StorageUtils.addItem(e.channel.conversations_key,n)),e.conversations=JSON.parse(n)},f.prototype._receiptReportTask=function(){var e=this;e.report=[],e.msgReceipTask=setInterval(function(){e._receiptReport()},s.RECEIPT_REPORT_INTERVAL)},f.prototype._syncCheckTask=function(){var e=this,n=p.StorageUtils.getItem(e.channel.event_key);null!=n&&(e.channel.sync_event_key=n),e._syncCheck({sync_key:e.channel.sync_key,sync_type:e.channel.sync_type,sync_event_key:e.channel.sync_event_key,msg_receipt_key:e.channel.msg_receipt_key}).onSuccess(function(n){n&&0===n.code&&(e.channel.sync_key=n.sync_key,e.channel.sync_type=n.sync_type,e.channel.sync_event_key=n.sync_event_key,e.channel.msg_receipt_key=n.msg_receipt_key,p.StorageUtils.addItem(e.channel.event_key,n.sync_event_key))}),e.syncTask=setInterval(function(){e._syncCheck({sync_key:e.channel.sync_key,sync_type:e.channel.sync_type,sync_event_key:e.channel.sync_event_key,msg_receipt_key:e.channel.msg_receipt_key}).onSuccess(function(n){n&&0===n.code&&(e.channel.sync_key=n.sync_key,e.channel.sync_type=n.sync_type,e.channel.sync_event_key=n.sync_event_key,e.channel.msg_receipt_key=n.msg_receipt_key,p.StorageUtils.addItem(e.channel.event_key,n.sync_event_key))})},s.SYNC_INTERVAL)},f.prototype._syncCheck=function(e){return new a(this.channel).setEvent(s.EVENTS.SYNC_CHECK).setData(e).send()},f.prototype.register=function(e){return this.__checkInit(),e.is_md5||(e.password=l(e.password)),new a(this.channel).setEvent(s.EVENTS.REGISTER).setData(e).send()},f.prototype.getUserInfo=function(e){return this.__checkLogin(),p.StringUtils.isBlack(e.appkey)&&(e.appkey=this.current_appkey),new a(this.channel).setEvent(s.EVENTS.GET_ACROSS_USER_INFO).setData(e).send()},f.prototype.updateSelfInfo=function(e){return this.__checkLogin(),p.StringUtils.isBlack(e.avatar)||delete e.avatar,new a(this.channel).setEvent(s.EVENTS.UPDATE_SELF_INFO).setData(e).send()},f.prototype.updateSelfAvatar=function(e){this.__checkLogin();var n=new a(this.channel).setEvent(s.EVENTS.UPDATE_SELF_INFO);return this.__uploadFile({appkey:this.current_appkey,username:this.current_user,file:e.avatar,type:"image"},function(e,t){if(e)return e.is_timeout?n.timeout&&n.timeout(e.data):n.fail&&n.fail(e.data);n.setData({avatar:t.media_id}).send()}),n},f.prototype.updateSelfPwd=function(e){return this.__checkLogin(),e.is_md5||(e.old_pwd=l(e.old_pwd),e.new_pwd=l(e.new_pwd)),new a(this.channel).setEvent(s.EVENTS.UPDATE_SELF_PWD).setData(e).send()},f.prototype.getConversation=function(){this.__checkLogin();var e=this;return new a(this.channel).setEvent(s.EVENTS.GET_CONVERSATIONS).setData({}).send().addHook(function(n,t){n.conversations.forEach(function(n){var t;3===n.type?(e[n.key]=n.utime,delete n.utime,t=n.appkey+n.username):(t=n.key,n.gid=n.key),e.conversations[t]?(e.conversations[t].extras?n.extras=e.conversations[t].extras:n.extras={},n.unread_msg_count=e.conversations[t].unread_msg_count):(n.extras={},n.unread_msg_count=0,e.conversations[t]={},e.conversations[t].extras={},e.conversations[t].unread_msg_count=0,e.conversations[t].msg_time=[])}),p.StorageUtils.addItem(e.channel.conversations_key,JSON.stringify(e.conversations)),t&&t(n)})},f.prototype.resetUnreadCount=function(e){this.__checkLogin();var n,t=this;e.gid?n=String(e.gid):(e.appkey||(e.appkey=t.current_appkey),n=e.appkey+e.username),t.conversations[n]=void 0===t.conversations[n]?{}:t.conversations[n],e.gid?t._updateGroupUnreadCount({gid:e.gid}):t._updateSingleUnreadCount({appkey:e.appkey,username:e.username}),t.conversations[n].unread_msg_count=0,t.conversations[n].msg_time=[];var o=(new Date).getTime();t.lastMsgs[n]&&(o=t.lastMsgs[n].last_msg_time),t.conversations[n].recent_time=o,t.current_conversation=n,p.StorageUtils.addItem(t.channel.conversations_key,JSON.stringify(t.conversations))},f.prototype.getUnreadMsgCnt=function(e){this.__checkLogin();var n,t=this;return e.gid?n=String(e.gid):(e.appkey||(e.appkey=t.current_appkey),n=e.appkey+e.username),t.conversations[n]||(t.conversations[n]={}),t.conversations[n].unread_msg_count?t.conversations[n].unread_msg_count:0},f.prototype.msgRetract=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.MSG_RETRACT).setData(e).send()},f.prototype.sendSingleMsg=function(e){return this.__sendMsg({type:"single",target_id:e.target_username,target_name:e.target_nickname,content:e.content,extras:e.extras,msg_body:e.msg_body,appkey:e.appkey,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendGroupMsg=function(e){return this.__sendMsg({type:"group",target_id:e.target_gid,target_name:e.target_gname,content:e.content,extras:e.extras,msg_body:e.msg_body,at_list:e.at_list,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendSinglePic=function(e){return this.__sendPic({type:"single",target_id:e.target_username,target_name:e.target_nickname,file:e.image,msg_body:e.msg_body,extras:e.extras,appkey:e.appkey,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendGroupPic=function(e){return this.__sendPic({type:"group",target_id:e.target_gid,target_name:e.target_gname,file:e.image,msg_body:e.msg_body,extras:e.extras,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendSingleFile=function(e){return this.__sendFile({type:"single",target_id:e.target_username,target_name:e.target_nickname,file:e.file,msg_body:e.msg_body,extras:e.extras,appkey:e.appkey,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendGroupFile=function(e){return this.__sendFile({type:"group",target_id:e.target_gid,target_name:e.target_gname,file:e.file,msg_body:e.msg_body,extras:e.extras,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendSingleLocation=function(e){return this.__sendLocation({type:"single",target_id:e.target_username,target_name:e.target_nickname,latitude:e.latitude,longitude:e.longitude,scale:e.scale,label:e.label,msg_body:e.msg_body,extras:e.extras,appkey:e.appkey,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendGroupLocation=function(e){return this.__sendLocation({type:"group",target_id:e.target_gid,target_name:e.target_gname,latitude:e.latitude,longitude:e.longitude,scale:e.scale,label:e.label,msg_body:e.msg_body,extras:e.extras,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendSingleCustom=function(e){return this.__sendCustom({type:"single",target_id:e.target_username,target_name:e.target_nickname,custom:e.custom,extras:e.extras,msg_body:e.msg_body,appkey:e.appkey,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.sendGroupCustom=function(e){return this.__sendCustom({type:"group",target_id:e.target_gid,target_name:e.target_gname,custom:e.custom,msg_body:e.msg_body,extras:e.extras,no_offline:e.no_offline,no_notification:e.no_notification,custom_notification:e.custom_notification,need_receipt:e.need_receipt})},f.prototype.createGroup=function(e){this.__checkLogin();var n=new a(this.channel).setEvent(s.EVENTS.CREATE_GROUP);return e.avatar?this.__uploadFile({appkey:this.current_appkey,username:this.current_user,file:e.avatar,type:"image"},function(t,o){if(t)return t.is_timeout?n.timeout&&n.timeout(t.data):n.fail&&n.fail(t.data);delete e.avatar,e.media_id=o.media_id,n.setData(e).send()}):n.setData(e).send(),n},f.prototype.exitGroup=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.EXIT_GROUP).setData(e).send()},f.prototype.getGroups=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.GET_GROUPS_LIST).setData({}).send().addHook(function(e,n){e.group_list.forEach(function(e){e.group_type=e.flag,delete e.flag}),n&&n(e)})},f.prototype.getGroupInfo=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.GET_GROUP_INFO).setData(e).send().addHook(function(e,n){e.group_info.group_type=e.group_info.flag,delete e.group_info.flag,n&&n(e)})},f.prototype.updateGroupInfo=function(e){this.__checkLogin();var n=new a(this.channel).setEvent(s.EVENTS.UPDATE_GROUP_INFO);return e.avatar?this.__uploadFile({appkey:this.current_appkey,username:this.current_user,file:e.avatar,type:"image"},function(t,o){if(t)return t.is_timeout?n.timeout&&n.timeout(t.data):n.fail&&n.fail(t.data);delete e.avatar,e.media_id=o.media_id,n.setData(e).send()}):n.setData(e).send(),n},f.prototype.getGroupMembers=function(e){this.__checkLogin();var n=this;return new a(this.channel).setEvent(s.EVENTS.GET_GROUP_MEMBERS).setData(e).send().onUserInfoGet(function(e,t){n[e]=t})},f.prototype.addGroupMembers=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.ADD_ACROSS_GROUP_MEMBER).setData(e).send()},f.prototype.delGroupMembers=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.DEL_ACROSS_GROUP_MEMBER).setData(e).send()},f.prototype.getNoDisturb=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.NO_DISTURB).setData({version:0}).send().addHook(function(e,n){e.no_disturb.groups.forEach(function(e){e.group_type=e.flag,delete e.flag}),n&&n(e)})},f.prototype.addSingleNoDisturb=function(e){return this.__checkLogin(),e.version=0,new a(this.channel).setEvent(s.EVENTS.ADD_MSG_NO_DISTURB_SINGLE).setData(e).send()},f.prototype.delSingleNoDisturb=function(e){return this.__checkLogin(),e.version=0,new a(this.channel).setEvent(s.EVENTS.DELETE_MSG_NO_DISTURB_SINGLE).setData(e).send()},f.prototype.addGroupNoDisturb=function(e){return this.__checkLogin(),e.version=0,new a(this.channel).setEvent(s.EVENTS.ADD_MSG_NO_DISTURB_GROUP).setData(e).send()},f.prototype.delGroupNoDisturb=function(e){return this.__checkLogin(),e.version=0,new a(this.channel).setEvent(s.EVENTS.DELETE_MSG_NO_DISTURB_GROUP).setData(e).send()},f.prototype.addGlobalNoDisturb=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.ADD_MSG_NO_DISTURB_GLOBAL).setData({version:0}).send()},f.prototype.delGlobalNoDisturb=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.DELETE_MSG_NO_DISTURB_GLOBAL).setData({version:0}).send()},f.prototype.getBlacks=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.GET_BLACK_LIST).setData({version:0}).send()},f.prototype.addSingleBlacks=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.ADD_BLACK_LIST).setData(e).send()},f.prototype.delSingleBlacks=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.DEL_BLACK_LIST).setData(e).send()},f.prototype.getFriendList=function(){this.__checkLogin();var e=this;return new a(this.channel).setEvent(s.EVENTS.GET_FRIEND_LIST).setData({}).send().onUserInfoGet(function(n,t){e[n]=t})},f.prototype.addFriend=function(e){return this.__checkLogin(),e.from_type=s.FRIEND_INVITE,new a(this.channel).setEvent(s.EVENTS.ADD_FRIEND).setData(e).send()},f.prototype.acceptFriend=function(e){return this.__checkLogin(),e.why="yes",e.from_type=s.FRIEND_INVITED,new a(this.channel).setEvent(s.EVENTS.ADD_FRIEND).setData(e).send()},f.prototype.declineFriend=function(e){return this.__checkLogin(),e.why&&""!=e.why.trim()||(e.why="no"),e.from_type=s.FRIEND_INVITED,new a(this.channel).setEvent(s.EVENTS.ADD_FRIEND).setData(e).send()},f.prototype.delFriend=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.DEL_FRIEND).setData(e).send()},f.prototype.updateFriendMemo=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.UPDATE_FRIEND_MEMO).setData(e).send()},f.prototype.addGroupShield=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.ADD_MSG_SHIELD_GROUP).setData(e).send()},f.prototype.delGroupShield=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.DEL_MSG_SHIELD_GROUP).setData(e).send()},f.prototype.groupShieldList=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.LIST_SHIELD_GROUP).setData({}).send().addHook(function(e,n){e.groups.forEach(function(e){e.group_type=e.flag,delete e.flag}),n&&n(e)})},f.prototype.getResource=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.GET_RESOURCE).setData(e).send()},f.prototype._updateGroupUnreadCount=function(e){this.__checkLogin(),e.type=4,new a(this.channel).setEvent(s.EVENTS.UNREAD_GROUP_COUNT).setData(e).send()},f.prototype._updateSingleUnreadCount=function(e){this.__checkLogin(),e.type=3,new a(this.channel).setEvent(s.EVENTS.UNREAD_SINGLE_COUNT).setData(e).send()},f.prototype.msgUnreadList=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.MSG_UNREAD_LIST).setData(e).send()},f.prototype.addGroupReceiptReport=function(e){this.__checkLogin();var n=this;if(e.msg_ids instanceof Array&&0!==e.msg_ids.length){e.key=e.gid,e.type=4;var t=new c(e);return n.report.push(t),setTimeout(function(){n._checkReportSize()>=s.RECEIPT_REPORT_MAX_SIZE&&n._receiptReport()},50),t}console.error("msg_ids is not Array type or msg_ids size=0")},f.prototype.addSingleReceiptReport=function(e){this.__checkLogin();var n=this;if(e.msg_ids instanceof Array&&0!==e.msg_ids.length){e.appkey||(e.appkey=n.current_appkey),e.type=3,e.key=e.appkey+e.username;var t=new c(e);return n.report.push(t),setTimeout(function(){n._checkReportSize()>=s.RECEIPT_REPORT_MAX_SIZE&&n._receiptReport()},50),t}console.error("msg_ids is not Array type or msg_ids size=0")},f.prototype._checkReportSize=function(){var e=0;return this.report.forEach(function(n){e+=n.args.msg_ids.length}),e},f.prototype.transSingleMsg=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.TRANS_MSG_SINGLE).setData(e).send()},f.prototype.transGroupMsg=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.TRANS_MSG_GROUP).setData(e).send()},f.prototype.transPlatMsg=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.TRANS_MSG_PLATFORM).setData(e).send()},f.prototype.updateConversation=function(e){this.__checkLogin();var n,t=this;e.appkey||(e.appkey=t.current_appkey),e.gid?n=e.gid:e.username&&(n=e.appkey+e.username),n&&e.extras&&(t.conversations[n]||(t.conversations[n]={}),t.conversations[n].extras=e.extras),p.StorageUtils.addItem(t.channel.conversations_key,JSON.stringify(t.conversations))},f.prototype.addGroupMemberResp=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.ADMIN_ADD_GROUP_MEMBER).setData(e).send()},f.prototype.joinGroup=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.APPLY_JOIN_GROUP).setData(e).send()},f.prototype.getAppkeyChatrooms=function(e){return this.__checkLogin(),!e&&(e={}),new a(this.channel).setEvent(s.EVENTS.ROOM_LIST).setData(e).send().addHook(function(e,n){e.result.rooms.forEach(function(e){p.Cache.rooms[e.id]=e}),n&&n(e)})},f.prototype.getSelfChatrooms=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.ROOM_LIST_SELF).setData({}).send().addHook(function(e,n){e.chat_rooms.forEach(function(e){p.Cache.rooms[e.id]=e}),n&&n(e)})},f.prototype.getChatroomInfo=function(e){this.__checkLogin();var n=new a(this.channel);return p.Cache.rooms[e.id]?setTimeout(function(){var t={code:0,message:"success"};t.info=p.Cache.rooms[e.id],n.cleanRespTimeout(),n.success&&n.success(t)},100):n.setEvent(s.EVENTS.ROOM_INFO).setData(e).send().addHook(function(e,n){p.Cache.rooms[e.info.id]=e.info,n&&n(e)}),n},f.prototype.enterChatroom=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.JOIN_ROOM).setData(e).send()},f.prototype.exitChatroom=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.EXIT_ROOM).setData(e).send()},f.prototype.sendChatroomMsg=function(e){return this.__checkLogin(),e.target_rname||(e.target_rname=void 0===p.Cache.rooms[e.target_rid]?"":p.Cache.rooms[e.target_rid].name),this.__sendMsg({type:"chatroom",target_id:e.target_rid,target_name:e.target_rname,content:e.content,extras:e.extras,msg_body:e.msg_body})},f.prototype.sendChatroomPic=function(e){return this.__checkLogin(),e.target_rname||(e.target_rname=void 0===p.Cache.rooms[e.target_rid]?"":p.Cache.rooms[e.target_rid].name),this.__sendPic({type:"chatroom",target_id:e.target_rid,target_name:e.target_rname,file:e.image,extras:e.extras,msg_body:e.msg_body})},f.prototype.sendChatroomFile=function(e){return this.__checkLogin(),e.target_rname||(e.target_rname=void 0===p.Cache.rooms[e.target_rid]?"":p.Cache.rooms[e.target_rid].name),this.__sendFile({type:"chatroom",target_id:e.target_rid,target_name:e.target_rname,file:e.file,extras:e.extras,msg_body:e.msg_body})},f.prototype.sendChatroomCustom=function(e){return this.__checkLogin(),e.target_rname||(e.target_rname=void 0===p.Cache.rooms[e.target_rid]?"":p.Cache.rooms[e.target_rid].name),this.__sendCustom({type:"chatroom",target_id:e.target_rid,target_name:e.target_rname,custom:e.custom,extras:e.extras,msg_body:e.msg_body})},f.prototype.sendChatroomLocation=function(e){return this.__checkLogin(),e.target_rname||(e.target_rname=void 0===p.Cache.rooms[e.target_rid]?"":p.Cache.rooms[e.target_rid].name),this.__sendLocation({type:"chatroom",target_id:e.target_rid,target_name:e.target_rname,latitude:e.latitude,longitude:e.longitude,scale:e.scale,label:e.label,extras:e.extras,msg_body:e.msg_body})},f.prototype.addGroupMemSilence=function(e){return this.__checkLogin(),e.keep_silence=!0,new a(this.channel).setEvent(s.EVENTS.GROUP_MEM_SILENCE).setData(e).send()},f.prototype.delGroupMemSilence=function(e){return this.__checkLogin(),e.keep_silence=!1,new a(this.channel).setEvent(s.EVENTS.GROUP_MEM_SILENCE).setData(e).send()},f.prototype.dissolveGroup=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.DISSOLVE_GROUP).setData(e).send()},f.prototype.addGroupKeeper=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.ADD_GROUP_KEEPER).setData(e).send()},f.prototype.delGroupKeeper=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.DEL_GROUP_KEEPER).setData(e).send()},f.prototype.changeGroupAdmin=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.CHANGE_GROUP_ADMIN).setData(e).send()},f.prototype.getAppkeyPublicGroups=function(e){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.PUBLIC_GROUP_LIST).setData(e).send().addHook(function(e,n){e.result.groups.forEach(function(e){e.group_type=e.flag,delete e.flag}),n&&n(e)})},f.prototype.isInit=function(){return!!this.current_appkey},f.prototype.isLogin=function(){return!!this.current_user},f.prototype.isConnect=function(){return!!this.channel.client.connected},f.prototype._addEventListen=function(){var e=this;e.channel.client.on(s.EVENTS.MSG_SYNC,function(n){e._onMsgReceive(n)}),e.channel.client.on(s.EVENTS.EVENT_NOTIFICATION,function(n){e._onEventNotification(n)}),e.channel.client.on(s.EVENTS.SYNC_CONVERSATION,function(n){e._onSyncConversation(n)}),e.channel.client.on(s.EVENTS.SYNC_EVENT,function(n){e._onSyncEvent(n)}),e.channel.client.on(s.EVENTS.SYNC_RECEIPT,function(n){e._onSyncMsgReceipt(n)}),e.channel.client.on(s.EVENTS.RECEIPT_CHANGE,function(n){e._onMsgReceiptChange(n)}),e.channel.client.on(s.EVENTS.TRANS_MSG_REC,function(n){e._onTransMsgRec(n)}),e.channel.client.on(s.EVENTS.ROOM_MSG_SYNC,function(n){e._onRoomMsg(n)}),e.channel.client.on(s.EVENTS.ROOM_MSG_SYNC_HIS,function(n){e._onSyncRoomMsg(n)}),e.channel.client.on("disconnect",function(){e._onDisconnect()})},f.prototype.onRoomMsg=function(e){this._onRoomMsgFn=e},f.prototype._onRoomMsg=function(e){this._onRoomMsgFn&&this._onRoomMsgFn(e)},f.prototype._onSyncRoomMsg=function(e){var n=this;e.messages.forEach(function(t){p.Cache.rooms[t.room_id]||n.getChatroomInfo({id:e.room_id}),t.msgs&&t.msgs.forEach(function(e){n._onRoomMsgFn&&n._onRoomMsgFn(e)})})},f.prototype.onMsgReceive=function(e){this._onMsgReceiveFn=e},f.prototype._onMsgReceive=function(e){var n=this;Array.prototype.push.apply([],e.messages.map(function(e){return{msg_id:e.msg_id,msg_type:e.msg_type,from_uid:e.from_uid,from_gid:e.from_gid}})),e.messages.forEach(function(e){if(e.content.sui_mtime&&n[e.from_uid]&&e.content.sui_mtime>new Date(n[e.from_uid]).getTime()/1e3){n[e.from_uid]=1e3*e.content.sui_mtime;var t={};t.from_username=e.content.from_id,t.from_appkey=e.content.from_appkey,t.mtime=e.content.sui_mtime,delete e.content.sui_mtime,n._updateInfoEventFun&&n._updateInfoEventFun(t)}var o;3===e.msg_type?(e.key=e.from_uid,e.from_username=e.content.from_id,e.from_appkey=e.content.from_appkey,o=e.from_appkey+e.from_username):(e.key=e.from_gid,o=String(e.from_gid)),0===e.msg_level?e.msg_level="normal":1===e.msg_level&&(e.msg_level="across");var i=!1;e.from_appkey===n.current_appkey&&e.from_username===n.current_user&&(i=!0,o=(void 0===e.content.target_appkey||""===e.content.target_appkey?e.content.from_appkey:e.content.target_appkey)+e.content.target_id),n.lastMsgs[o]={last_msg_time:e.ctime_ms},n.conversations[o]||(n.conversations[o]={},n.conversations[o].extras={},n.conversations[o].unread_msg_count=0,n.conversations[o].msg_time=[]),n.current_conversation===o||i?(n.conversations[o].recent_time=e.ctime_ms,n.conversations[o].unread_msg_count=0,n.conversations[o].msg_time=[]):(n.conversations[o].unread_msg_count=n.conversations[o].unread_msg_count+1,n.conversations[o].msg_time.push(e.ctime_ms)),new a(n.channel).setEvent(s.EVENTS.MSG_RECV_V2).setData({msg_id:e.msg_id,msg_type:e.msg_type,from_uid:e.from_uid,from_gid:e.from_gid}).send()}),p.StorageUtils.addItem(n.channel.conversations_key,JSON.stringify(n.conversations)),this._onMsgReceiveFn&&this._onMsgReceiveFn(e)},f.prototype.onEventNotification=function(e){this._onEventNotificationFn=e},f.prototype._onEventNotification=function(e){var n=this;if(200!==e.event_type){var t=n.__eventDateFilter(e);if(56===e.event_type&&10==e.extra?(t.by_self=!1,delete t.extra):56===e.event_type&&59==e.extra&&(t.by_self=!0,delete t.extra),1===e.event_type){var o={event_id:e.event_id,event_type:e.event_type,from_uid:e.from_uid,gid:e.gid};new a(n.channel).setEvent(s.EVENTS.EVENT_NOTIFICATION).setData(o).send()}n._onEventNotificationFn&&n._onEventNotificationFn(t),-1!=s.LOGIN_OUT_EVENT.indexOf(e.event_type)&&n.loginOut()}else 3===e.description.type?n._dealMutlReadEvent(e.description.type,e.ctime_ms,e.description.appkey,e.description.username):n._dealMutlReadEvent(e.description.type,e.ctime_ms,e.description.gid)},f.prototype.onSyncConversation=function(e){this._onSyncConversationFn=e},f.prototype._onSyncConversation=function(e){var n=this;n.channel.sync_key=e.sync_key,e.messages&&(e.messages.forEach(function(e){var t,o=0;t=3===e.msg_type?e.from_appkey+e.from_username:String(e.from_gid);var i=e.msgs[e.msgs.length-1].ctime_ms;if(n.current_conversation===t)n.conversations[t]=void 0===n.conversations[t]?{}:n.conversations[t],n.conversations[t].unread_msg_count=o,n.conversations[t].recent_time=i,n.conversations[t].msg_time=[];else if(n.conversations[t]&&n.conversations[t].recent_time){var r=n.conversations[t].recent_time;e.msgs.forEach(function(e){e.ctime_ms<=r||e.content.from_appkey===n.current_appkey&&e.content.from_id===n.current_user?(o=0,n.conversations[t].msg_time=[]):(o++,n.conversations[t].msg_time.push(e.ctime_ms))}),n.channel.sync_type===s.SYNC_TYPE_OPEN?n.conversations[t].unread_msg_count=o:n.conversations[t].unread_msg_count+=o}else o=e.unsync_count,n.conversations[t]=void 0===n.conversations[t]?{}:n.conversations[t],n.conversations[t].unread_msg_count=o,e.msgs.length-1-o<0?n.conversations[t].recent_time=-1:n.conversations[t].recent_time=e.msgs[e.msgs.length-1-o].ctime_ms,n.conversations[t].msg_time=[];n.lastMsgs[t]={last_msg_time:i},delete e.unsync_count,e.unread_msg_count=n.conversations[t].unread_msg_count}),p.StorageUtils.addItem(n.channel.conversations_key,JSON.stringify(n.conversations)),n._onSyncConversationFn&&e.messages.length>0&&n._onSyncConversationFn(e.messages));var t={sync_key:n.channel.sync_key};new a(n.channel).setEvent(s.EVENTS.SYNC_CONVERSATION_ACK).setData(t).send()},f.prototype.onSyncEvent=function(e){this._onSyncEventFn=e},f.prototype._onSyncEvent=function(e){var n=this;n.channel.sync_event_key=e.sync_key,p.StorageUtils.addItem(n.channel.event_key,e.sync_key);var t={sync_key:n.channel.sync_event_key};new a(n.channel).setEvent(s.EVENTS.SYNC_EVENT_ACK).setData(t).send(),setTimeout(function(){if(n._onSyncEventFn&&e.events&&e.events.length>0){var t=[];e.events.forEach(function(o){if(200===o.event_type)3===o.description.type?n._dealMutlReadEvent(o.description.type,o.ctime_ms,o.description.appkey,o.description.username):n._dealMutlReadEvent(o.description.type,o.ctime_ms,o.description.gid);else{var i=n.__eventDateFilter(o);56===e.event_type&&10==e.extra?(delete i.extra,i.by_self=!1):56===e.event_type&&59==e.extra&&(delete i.extra,i.by_self=!0),t.push(i)}}),n._onSyncEventFn(t)}},1700)},f.prototype.onSyncMsgReceipt=function(e){this._onSyncMsgReceiptFn=e},f.prototype._onSyncMsgReceipt=function(e){var n=this;if(n.channel.msg_receipt_key=e.sync_key,n._onSyncMsgReceiptFn&&e.receipts&&e.receipts.length>0){var t={},o=[];e.receipts.forEach(function(e){var n=e.gid;if(3===e.type&&(n=e.appkey+e.username),t[n]){var i=Number(t[n]);Array.prototype.push.apply(o[i].receipt_msgs,e.receipt_msgs)}else e.receipt_msgs.length>0&&(t[n]=String(o.length),o.push(e))}),setTimeout(function(){n._onSyncMsgReceiptFn&&o.length>0&&n._onSyncMsgReceiptFn(o)},1500)}var i={sync_key:n.channel.msg_receipt_key};new a(n.channel).setEvent(s.EVENTS.SYNC_RECEIPT_ACK).setData(i).send()},f.prototype.onMsgReceiptChange=function(e){this._onMsgReceiptChangeFn=e},f.prototype._onMsgReceiptChange=function(e){this._onMsgReceiptChangeFn&&this._onMsgReceiptChangeFn(e)},f.prototype.onUserInfUpdate=function(e){this._updateInfoEventFun=e},f.prototype.onMutiUnreadMsgUpdate=function(e){this._conversationUpdateFun=e},f.prototype.onTransMsgRec=function(e){this._onTransMsgRecFn=e},f.prototype._onTransMsgRec=function(e){this._onTransMsgRecFn&&this._onTransMsgRecFn(e)},f.prototype.onDisconnect=function(e){this._onDisconnectFn=e},f.prototype._onDisconnect=function(){var e=this;clearTimeout(e.syncTask),clearTimeout(e.msgReceipTask),e.autoDiscon&&(e.current_appkey=null,e.current_user=null,e._onDisconnectFn&&e._onDisconnectFn()),this.channel.init(this.channel.opts)},f.prototype._dealMutlReadEvent=function(e,n,t,o){var i,r=this,s={};if(s.type=e,3===e?(i=t+o,s.username=o,s.appkey=t):(i=String(t),s.gid=t),r.conversations[i]=void 0===r.conversations[i]?{msg_time:[],unread_msg_count:0}:r.conversations[i],r.conversations[i].recent_time=n,r.current_conversation===i)r.conversations[i].unread_msg_count=0,r.conversations[i].msg_time=[];else{var a=r.conversations[i].unread_msg_count,c=[],u=0;r.conversations[i].msg_time.forEach(function(e){e>n&&(u++,c.push(e))}),r.conversations[i].msg_time=c,u<a&&(r.conversations[i].unread_msg_count=u,s.unreadCount=u,p.StorageUtils.addItem(r.channel.conversations_key,JSON.stringify(r.conversations)),r._conversationUpdateFun&&r._conversationUpdateFun(s))}},f.prototype._receiptReport=function(){if(this.report.length>0){var e={},n=[];this.report.forEach(function(t){if(e[t.args.key]){var o=Number(e[t.args.key]);Array.prototype.push.apply(n[o].result.msg_ids,t.args.msg_ids),n[o].msg_reports.push(t)}else e[t.args.key]=String(n.length),n.push({result:t.args,msg_reports:[t]})}),this.report=[];for(var t=0;t<n.length;t++)n[t].result.msg_ids=p.ArrayUtils.delRepeatItem(n[t].result.msg_ids),delete n[t].result.key,this._msgReceipt(n[t])}},f.prototype._msgReceipt=function(e){new a(this.channel).setEvent(s.EVENTS.RECEIPT_REPORT).setData({sessions:[e.result]}).send().onSuccess(function(n){e.msg_reports.forEach(function(e){e.success&&e.success(n,e.args.msg_ids)})}).onFail(function(n){e.msg_reports.forEach(function(e){e.fail&&e.fail(n,e.args.msg_ids)})}).onAck(function(n){e.msg_reports.forEach(function(e){e.ack&&e.ack(n,e.args.msg_ids)})}).onTimeout(function(n){e.msg_reports.forEach(function(e){e.timeout&&e.timeout(n,e.args.msg_ids)})})},f.prototype.__eventDateFilter=function(e){var n={};return n.event_id=e.event_id,n.event_type=e.event_type,n.from_username=e.from_username,n.gid=e.gid,n.to_usernames=e.to_usernames,n.ctime=e.ctime,n.extra=e.extra,n.return_code=e.return_code,n.from_appkey=e.from_appkey,n.msg_ids=e.msg_ids,n.from_gid=e.from_gid,n.msgid_list=e.msgid_list,n.to_groups=e.to_groups,n.new_owner=e.new_owner,n.group_name=e.group_name,n.ctime_ms=e.ctime_ms,n.media_id=e.media_id,n.from_nickname=e.from_nickname,n.from_eventid=e.from_eventid,100===e.event_type&&7===e.extra?n.description=JSON.parse(e.description):n.description=e.description,55===e.event_type&&0===e.from_gid?n.type=0:55===e.event_type&&0!=e.from_gid&&(n.type=1),n},f.prototype.__checkConnect=function(){if(!this.channel.client.connected)throw new Error("wss socket not connect")},f.prototype.__checkInit=function(){if(!this.current_appkey)throw new Error("must init first")},f.prototype.__checkLogin=function(){if(!this.current_user)throw new Error("must login first")},f.prototype.__getUploadToken=function(){return this.__checkLogin(),new a(this.channel).setEvent(s.EVENTS.GET_UPLOAD_TOKEN).setData({}).send()},f.prototype.__uploadFile0=function(e,n){var t=new XMLHttpRequest;t.open("POST",this.opts.upload_file+"?type="+e.type),t.setRequestHeader("X-App-Key",e.appkey),t.setRequestHeader("jm-channel",s.PLAT_CHANNEL),t.setRequestHeader("Authorization","Basic "+i.btoa(e.username+":"+e.token)),t.onreadystatechange=function(){if(4===this.readyState)if(200===this.status){var e=JSON.parse(this.responseText);n(null,e)}else try{var t=JSON.parse(this.responseText);898061===t.error.code?n({code:880210,message:"file size exceed limit"}):n(t)}catch(e){n({code:880210,message:"file size exceed the limit"})}},t.send(e.file)},f.prototype.__uploadFile=function(e,n){var t=this;o(function(e){t.__getUploadToken().onSuccess(function(n){e(null,n.uptoken)}).onFail(function(n){e(n)}).onTimeout(function(e){n({is_timeout:!0,data:e})})}).then(function(n,o){t.__uploadFile0({type:e.type,file:e.file,appkey:e.appkey,username:e.username,token:o},n)}).then(function(e,t){n(null,t)}).fail(function(e,t){n({data:t})})},f.prototype.__sendMsg=function(e){return this.__checkLogin(),new a(this.channel).setEvent("single"===e.type?s.EVENTS.S_SINGLE_TEXT:"group"===e.type?s.EVENTS.SEND_GROUP_MSG:s.EVENTS.SEND_ROOM_MSG).setData(new u(this.current_user,this.current_appkey).setType(e.type).setAppkey(e.appkey).setNeedReceipt(e.need_receipt).setTarget(e.target_id,e.target_name).setText(e.content?e.content:e.msg_body.text,e.content?e.extras:e.msg_body.extras).setAtList(e.at_list).setNoOffline(!0===e.no_offline).setNoNotification(!0===e.no_notification).setCustomNotification(e.custom_notification).build()).send()},f.prototype.__sendPic=function(e){this.__checkLogin();var n=new a(this.channel).setEvent("single"===e.type?s.EVENTS.S_SINGLE_TEXT:"group"===e.type?s.EVENTS.SEND_GROUP_MSG:s.EVENTS.SEND_ROOM_MSG),t=new u(this.current_user,this.current_appkey).setType(e.type).setAppkey(e.appkey).setNeedReceipt(e.need_receipt).setTarget(e.target_id,e.target_name).setNoOffline(!0===e.no_offline).setNoNotification(!0===e.no_notification).setCustomNotification(e.custom_notification);return e.file?this.__uploadFile({appkey:this.current_appkey,username:this.current_user,file:e.file,type:"image"},function(o,i){if(o)return o.is_timeout?n.timeout&&n.timeout(o.data):n.fail&&n.fail(o.data);n.setData(t.setImage(i,e.extras).build()).send()}):n.setData(t.setImage(e.msg_body,e.msg_body.extras).build()).send(),n},f.prototype.__sendFile=function(e){this.__checkLogin();var n=new a(this.channel).setEvent("single"===e.type?s.EVENTS.S_SINGLE_TEXT:"group"===e.type?s.EVENTS.SEND_GROUP_MSG:s.EVENTS.SEND_ROOM_MSG),t=new u(this.current_user,this.current_appkey).setType(e.type).setAppkey(e.appkey).setNeedReceipt(e.need_receipt).setTarget(e.target_id,e.target_name).setNoOffline(!0===e.no_offline).setNoNotification(!0===e.no_notification).setCustomNotification(e.custom_notification);return e.file?this.__uploadFile({appkey:this.current_appkey,username:this.current_user,file:e.file,type:"file"},function(o,i){if(o)return o.is_timeout?n.timeout&&n.timeout(o.data):n.fail&&n.fail(o.data);n.setData(t.setFile(i,e.extras).build()).send()}):n.setData(t.setFile(e.msg_body,e.msg_body.extras).build()).send(),n},f.prototype.__sendLocation=function(e){return this.__checkLogin(),new a(this.channel).setEvent("single"===e.type?s.EVENTS.S_SINGLE_TEXT:"group"===e.type?s.EVENTS.SEND_GROUP_MSG:s.EVENTS.SEND_ROOM_MSG).setData(new u(this.current_user,this.current_appkey).setType(e.type).setAppkey(e.appkey).setNeedReceipt(e.need_receipt).setTarget(e.target_id,e.target_name).setLocation(e.latitude?e:e.msg_body,e.latitude?e.extras:e.msg_body.extras).setNoOffline(!0===e.no_offline).setNoNotification(!0===e.no_notification).setCustomNotification(e.custom_notification).build()).send()},f.prototype.__sendCustom=function(e){return this.__checkLogin(),new a(this.channel).setEvent("single"===e.type?s.EVENTS.S_SINGLE_TEXT:"group"===e.type?s.EVENTS.SEND_GROUP_MSG:s.EVENTS.SEND_ROOM_MSG).setData(new u(this.current_user,this.current_appkey).setType(e.type).setAppkey(e.appkey).setNeedReceipt(e.need_receipt).setTarget(e.target_id,e.target_name).setCustom(e.custom?e.custom:e.msg_body,e.custom?e.extras:e.msg_body.extras).setNoOffline(!0===e.no_offline).setNoNotification(!0===e.no_notification).setCustomNotification(e.custom_notification).build()).send()},e.exports=f},function(e,n,t){var o,i,r;(function(t){!function(t,s){"object"==typeof e&&"object"==typeof e.exports?e.exports=s():(i=[],void 0===(r="function"==typeof(o=s)?o.apply(n,i):o)||(e.exports=r))}("object"==typeof window&&window,function(){var e=100,n=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i="function"==typeof t?t:function(e){setTimeout(e,0)},r=Array.isArray||function(e){return"[object Array]"===n.call(e)};function s(e,n){if((n=n||0)>=e.length)return[];for(var t=e.length,o=Array(t-n);t-- >n;)o[t-n]=e[t];return o}function a(e,n){try{n.apply(null,s(arguments,2))}catch(n){e(n)}}function c(e,n){var t=arguments;i(function(){a.apply(null,t)})}function u(e,n){return function(e,n){for(var t=[],o=0,i=e.length;o<i;o++)t.push(n(e[o],o,e));return t}(e,function(e,t,o){return function(i){n(i,e,t,o)}})}function l(e,n){var t,o,i=this;return e instanceof l?e:i instanceof l?(i._chain=0,i._success=i._parallel=i._series=null,i._finally=i._error=i._result=i._nextThen=null,arguments.length?(t=g(i,n),void(void 0===(e=null==(o=e)?o:"function"==typeof o.toThunk?o.toThunk():"function"==typeof o.then?function(e){o.then(function(n){e(null,n)},e)}:o)?t():"function"==typeof e?c(t,e,t):t(null,e))):i):new l(e,n)}l.defer=c,l.parallel=function(e,n){return new l(function(n){a(n,m,n,e)},n)},l.series=function(e,n){return new l(function(n){a(n,y,n,e)},n)},l.each=function(e,n,t){return new l(function(t){a(t,m,t,u(e,n))},t)},l.eachSeries=function(e,n,t){return new l(function(t){a(t,y,t,u(e,n))},t)},l.parallelLimit=function(e,n,t){return new l(function(t){v(t,e,n)},t)},l.eachLimit=function(e,n,t,o){return new l(function(o){v(o,u(e,n),t)},o)},l.nextTick=function(e){var n=s(arguments,1);i(function(){e.apply(null,n)})},l.onerror=function(e){throw console.error("Thenjs caught error: ",e),e};var p=l.prototype;function f(){var e=this,n=s(arguments);!1!==e._result&&(!e._result&&e._chain&&e.debug.apply(e,["\nChain "+e._chain+": "].concat(s(n))),e._result=!1,a(function(t){t===n[0]?function(e,n){for(var t=e,o=e._error||e._finally;!o&&t._nextThen;)t=t._nextThen,o=t._error||t._finally;if(o)return a(function(e){f.call(t._nextThen,e)},o,n);if(l.onerror)return l.onerror(n);for(;t._nextThen;)t=t._nextThen;t._result=[n]}(e,t):f.call(e._nextThen,t)},d,e,n))}function d(e,n){if(null==n[0])n[0]=null;else if(n=[n[0]],!e._finally)throw n[0];if(e._finally)return e._finally.apply(null,n);var t=e._success||e._parallel||e._series;if(t)return t.apply(null,s(n,1));e._result=n}function g(e,n){function t(){return f.apply(e,arguments)}return t._isCont=!0,n&&(p.debug="function"==typeof n?n:b,e._chain=1),t}function h(e,n,t){var o=new l;return e(g(o,t),n),n?(n._nextThen=o,n._chain&&(o._chain=n._chain+1),n._result&&i(function(){f.apply(n,n._result)}),o):o}function _(e,n){return n._isCont?n:function(){var t=s(arguments);t.unshift(e),n.apply(null,t)}}function m(e,n){if(!r(n))return e(E(n,"parallel"));var t=n.length,o=[];if(t<=0)return e(null,o);for(var i=0,s=t;i<s;i++)n[i](a(i));function a(n){function i(i,r){if(!(t<=0))return null==i?(o[n]=r,!--t&&e(null,o)):(t=0,void e(i))}return i._isCont=!0,i}}function y(n,t){if(!r(t))return n(E(t,"series"));var o=0,i=t.length-1,s=[],u=e;if(i<0)return n(null,s);function l(r,p){return null!=r?n(r):(s[o]=p,++o>i?n(null,s):void(--u>0?a:(u=e,c))(n,t[o],l))}l._isCont=!0,t[0](l)}function v(e,n,t){var o=0,i=0,r=n.length,s=[],a=!1;t=t>=1?Math.floor(t):Number.MAX_VALUE;do{c()}while(o<r&&i<t);function c(){if(!a)return o>=r?(a=!0,m(e,s)):void(i>=t||(i++,s.push(new l(n[o++]).fin(function(n,t,o){if(null!=t)return a=!0,e(t);i--,c(),n(null,o)}).toThunk())))}}function b(){console.log.apply(console,arguments)}function E(e,n){return new Error("The argument "+(e&&e.toString())+' in "'+n+'" is not Array!')}return p.fin=p.finally=function(e){return h(function(n,t){t._finally=_(n,e)},this)},p.then=function(e,n){return h(function(t,o){e&&(o._success=_(t,e)),n&&(o._error=_(t,n))},this)},p.fail=p.catch=function(e){return h(function(n,t){t._error=_(n,e),t._success=function(){var e=s(arguments);e.unshift(null),n.apply(null,e)}},this)},p.parallel=function(e){return h(function(n,t){t._parallel=function(t){m(n,e||t)}},this)},p.series=function(e){return h(function(n,t){t._series=function(t){y(n,e||t)}},this)},p.each=function(e,n){return h(function(t,o){o._parallel=function(o,i){m(t,u(e||o,n||i))}},this)},p.eachSeries=function(e,n){return h(function(t,o){o._series=function(o,i){y(t,u(e||o,n||i))}},this)},p.parallelLimit=function(e,n){return h(function(t,o){o._parallel=function(o){v(t,e||o,n)}},this)},p.eachLimit=function(e,n,t){return h(function(o,i){i._series=function(i,r){v(o,u(e||i,n||r),t)}},this)},p.toThunk=function(){var e=this;return function(n){e._result?(n.apply(null,e._result),e._result=!1):!1!==e._result&&(e._finally=e._error=n)}},p.inspect=function(){var e={};for(var n in this)o.call(this,n)&&(e[n]="_nextThen"===n?this[n]&&this[n]._chain:this[n]);return e},l.NAME="Thenjs",l.VERSION="2.0.3",l})}).call(n,t(3).setImmediate)},function(e,n,t){(function(e,o){var i=t(4).nextTick,r=Function.prototype.apply,s=Array.prototype.slice,a={},c=0;function u(e,n){this._id=e,this._clearFn=n}n.setTimeout=function(){return new u(r.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(r.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,n){clearTimeout(e._idleTimeoutId),e._idleTimeout=n},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var n=e._idleTimeout;n>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},n))},n.setImmediate="function"==typeof e?e:function(e){var t=c++,o=!(arguments.length<2)&&s.call(arguments,1);return a[t]=!0,i(function(){a[t]&&(o?e.apply(null,o):e.call(null),n.clearImmediate(t))}),t},n.clearImmediate="function"==typeof o?o:function(e){delete a[e]}}).call(n,t(3).setImmediate,t(3).clearImmediate)},function(e,n){var t,o,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var c,u=[],l=!1,p=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):p=-1,u.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var n=u.length;n;){for(c=u,u=[];++p<n;)c&&c[p].run();p=-1,n=u.length}c=null,l=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(n){try{return o.call(null,e)}catch(n){return o.call(this,e)}}}(e)}}function g(e,n){this.fun=e,this.array=n}function h(){}i.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];u.push(new g(e,n)),1!==u.length||l||a(d)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,n,t){!function(){var e=n,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(e){this.message=e}o.prototype=new Error,o.prototype.name="InvalidCharacterError",e.btoa||(e.btoa=function(e){for(var n,i,r=String(e),s=0,a=t,c="";r.charAt(0|s)||(a="=",s%1);c+=a.charAt(63&n>>8-s%1*8)){if((i=r.charCodeAt(s+=.75))>255)throw new o("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");n=n<<8|i}return c}),e.atob||(e.atob=function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new o("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,r,s=0,a=0,c="";r=n.charAt(a++);~r&&(i=s%4?64*i+r:r,s++%4)?c+=String.fromCharCode(255&i>>(-2*s&6)):0)r=t.indexOf(r);return c})}()},function(e,n,t){var o=t(7),i=t(8),r=t(59),s=function(e){this.init(e)};s.prototype.init=function(e){this.opts=e,this.dataCache={},this.memStore={},this.sync_key=0,this.sync_type=0,this.client=i(this.opts.address,{transports:["websocket","polling"]});var n=this,t=o.prototype.emit,r=this.client.onevent;this.client.onevent=function(e){var o=e.data||[];r.call(n.client,e),t.apply(n.client,["*"].concat(o))},this.client.on("*",function(e,t){n.onReceive(e,t)})},s.prototype.onReceive=function(e,n){if(this.opts.debug&&console.info("---<- event:%s, data:%s",e,JSON.stringify(n)),e!==r.EVENTS.EVENT_NOTIFICATION&&e!==r.EVENTS.MSG_SYNC&&e!==r.EVENTS.SYNC_CONVERSATION&&e!==r.EVENTS.SYNC_EVENT&&e!==r.EVENTS.SYNC_RECEIPT&&e!==r.EVENTS.RECEIPT_CHANGE&&e!==r.ROOM_MSG_SYNC&&e!==r.ROOM_MSG_SYNC_HIS){var t=this.dataCache[n.rid];delete n.rid,t&&(0===n.code&&e===r.EVENTS.GET_GROUP_MEMBERS?n.member_list.forEach(function(e){t.userInfoGet&&t.userInfoGet(e.uid,e.mtime),delete e.uid,delete e.mtime}):0===n.code&&e===r.EVENTS.GET_FRIEND_LIST?n.friend_list.forEach(function(e){t.userInfoGet&&t.userInfoGet(e.uid,1e3*e.mtime),delete e.uid}):0===n.code&&e===r.EVENTS.GET_BLACK_LIST?n.black_list.forEach(function(e){delete e.uid}):0===n.code&&e===r.EVENTS.GET_ACROSS_USER_INFO&&delete n.user_info.uid,e===r.EVENTS.ACK?(t.ack&&t.ack({rid:n.rid,data:t.data}),t.cleanAckTimeout()):(t.cleanRespTimeout(),delete this.dataCache[t.rid],n.code&&0!==n.code?t.fail&&t.fail(n):e!=r.EVENTS.S_SINGLE_TEXT_&&e!=r.EVENTS.SEND_GROUP_MSG&&e!=r.EVENTS.SEND_ROOM_MSG?t.hook?t.hook(n,t.success):t.success&&t.success(n):(t.data.msg_id=n.msg_id,e===r.EVENTS.S_SINGLE_TEXT_&&(n.target_username=t.data.target_id,n.appkey=t.data.appkey),t.success&&t.success(n,t.data),t.innerCall&&t.innerCall(n.msg_id))))}},s.prototype.generateRid=function(){for(var e=Math.floor(-2147483646*Math.random()+2147483647);this.dataCache[e];)e=Math.floor(-2147483646*Math.random()+2147483647);return e},s.prototype.send=function(e,n){this.opts.debug&&console.info("---\x3e- event:%s, data:%s",e,JSON.stringify(n)),this.client.emit(e,n)},e.exports=s},function(e,n,t){function o(e){if(e)return function(e){for(var n in o.prototype)e[n]=o.prototype[n];return e}(e)}e.exports=o,o.prototype.on=o.prototype.addEventListener=function(e,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(n),this},o.prototype.once=function(e,n){function t(){this.off(e,t),n.apply(this,arguments)}return t.fn=n,this.on(e,t),this},o.prototype.off=o.prototype.removeListener=o.prototype.removeAllListeners=o.prototype.removeEventListener=function(e,n){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var t,o=this._callbacks["$"+e];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<o.length;i++)if((t=o[i])===n||t.fn===n){o.splice(i,1);break}return this},o.prototype.emit=function(e){this._callbacks=this._callbacks||{};var n=[].slice.call(arguments,1),t=this._callbacks["$"+e];if(t)for(var o=0,i=(t=t.slice(0)).length;o<i;++o)t[o].apply(this,n);return this},o.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},o.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,n,t){var o=t(9),i=t(14),r=t(25),s=t(11)("socket.io-client");e.exports=n=c;var a=n.managers={};function c(e,n){"object"==typeof e&&(n=e,e=void 0),n=n||{};var t,i=o(e),c=i.source,u=i.id,l=i.path,p=a[u]&&l in a[u].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||p?(s("ignoring socket cache for %s",c),t=r(c,n)):(a[u]||(s("new io instance for %s",c),a[u]=r(c,n)),t=a[u]),i.query&&!n.query?n.query=i.query:n&&"object"==typeof n.query&&(n.query=function(e){var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]));return n.join("&")}(n.query)),t.socket(i.path,n)}n.protocol=i.protocol,n.connect=c,n.Manager=t(25),n.Socket=t(54)},function(e,n,t){(function(n){var o=t(10),i=t(11)("socket.io-client:url");e.exports=function(e,t){var r=e;t=t||n.location,null==e&&(e=t.protocol+"//"+t.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(i("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),i("parse %s",e),r=o(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var s=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+s+":"+r.port,r.href=r.protocol+"://"+s+(t&&t.port===r.port?"":":"+r.port),r}}).call(n,window)},function(e,n){var t=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,o=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var n=e,i=e.indexOf("["),r=e.indexOf("]");-1!=i&&-1!=r&&(e=e.substring(0,i)+e.substring(i,r).replace(/:/g,";")+e.substring(r,e.length));for(var s=t.exec(e||""),a={},c=14;c--;)a[o[c]]=s[c]||"";return-1!=i&&-1!=r&&(a.source=n,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a}},function(e,n,t){(function(o){function i(){try{return n.storage.debug}catch(e){}if(void 0!==o&&"env"in o)return o.env.DEBUG}(n=e.exports=t(12)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(){var e=arguments,t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return e;var o="color: "+this.color,i=0,r=0;return(e=[e[0],o,"color: inherit"].concat(Array.prototype.slice.call(e,1)))[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&"%c"===e&&(r=++i)}),e.splice(r,0,o),e},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=i,n.useColors=function(){return"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(i())}).call(n,t(4))},function(e,n,t){(n=e.exports=r.debug=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){n.save(e);for(var t=(e||"").split(/[\s,]+/),o=t.length,i=0;i<o;i++)t[i]&&("-"===(e=t[i].replace(/[\\^$+?.()|[\]{}]/g,"\\$&").replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))},n.enabled=function(e){var t,o;for(t=0,o=n.skips.length;t<o;t++)if(n.skips[t].test(e))return!1;for(t=0,o=n.names.length;t<o;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(13),n.names=[],n.skips=[],n.formatters={};var o,i=0;function r(e){function t(){}function r(){var e=r,t=+new Date,s=t-(o||t);e.diff=s,e.prev=o,e.curr=t,o=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=n.colors[i++%n.colors.length]);for(var a=new Array(arguments.length),c=0;c<a.length;c++)a[c]=arguments[c];a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&(a=["%o"].concat(a));var u=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,o){if("%%"===t)return t;u++;var i=n.formatters[o];if("function"==typeof i){var r=a[u];t=i.call(e,r),a.splice(u,1),u--}return t}),a=n.formatArgs.apply(e,a),(r.log||n.log||console.log.bind(console)).apply(e,a)}t.enabled=!1,r.enabled=!0;var s=n.enabled(e)?r:t;return s.namespace=e,s}},function(e,n){var t=1e3,o=60*t,i=60*o,r=24*i,s=365.25*r;function a(e,n,t){if(!(e<n))return e<1.5*n?Math.floor(e/n)+" "+t:Math.ceil(e/n)+" "+t+"s"}e.exports=function(e,n){n=n||{};var c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>1e4)){var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(n){var a=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*o;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&!1===isNaN(e))return n.long?a(c=e,r,"day")||a(c,i,"hour")||a(c,o,"minute")||a(c,t,"second")||c+" ms":function(e){return e>=r?Math.round(e/r)+"d":e>=i?Math.round(e/i)+"h":e>=o?Math.round(e/o)+"m":e>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,n,t){var o=t(15)("socket.io-parser"),i=t(18),r=t(21),s=t(22),a=t(24);function c(){}function u(e){var t="",r=!1;return t+=e.type,n.BINARY_EVENT!=e.type&&n.BINARY_ACK!=e.type||(t+=e.attachments,t+="-"),e.nsp&&"/"!=e.nsp&&(r=!0,t+=e.nsp),null!=e.id&&(r&&(t+=",",r=!1),t+=e.id),null!=e.data&&(r&&(t+=","),t+=i.stringify(e.data)),o("encoded %j as %s",e,t),t}function l(){this.reconstructor=null}function p(e){this.reconPack=e,this.buffers=[]}function f(e){return{type:n.ERROR,data:"parser error"}}n.protocol=4,n.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],n.CONNECT=0,n.DISCONNECT=1,n.EVENT=2,n.ACK=3,n.ERROR=4,n.BINARY_EVENT=5,n.BINARY_ACK=6,n.Encoder=c,n.Decoder=l,c.prototype.encode=function(e,t){o("encoding packet %j",e),n.BINARY_EVENT==e.type||n.BINARY_ACK==e.type?function(e,n){s.removeBlobs(e,function(e){var t=s.deconstructPacket(e),o=u(t.packet),i=t.buffers;i.unshift(o),n(i)})}(e,t):t([u(e)])},r(l.prototype),l.prototype.add=function(e){var t;if("string"==typeof e)t=function(e){var t={},r=0;if(t.type=Number(e.charAt(0)),null==n.types[t.type])return f();if(n.BINARY_EVENT==t.type||n.BINARY_ACK==t.type){for(var s="";"-"!=e.charAt(++r)&&(s+=e.charAt(r),r!=e.length););if(s!=Number(s)||"-"!=e.charAt(r))throw new Error("Illegal attachments");t.attachments=Number(s)}if("/"==e.charAt(r+1))for(t.nsp="";++r;){var a=e.charAt(r);if(","==a)break;if(t.nsp+=a,r==e.length)break}else t.nsp="/";var c=e.charAt(r+1);if(""!==c&&Number(c)==c){for(t.id="";++r;){a=e.charAt(r);if(null==a||Number(a)!=a){--r;break}if(t.id+=e.charAt(r),r==e.length)break}t.id=Number(t.id)}return e.charAt(++r)&&(t=function(e,n){try{e.data=i.parse(n)}catch(e){return f()}return e}(t,e.substr(r))),o("decoded %s as %j",e,t),t}(e),n.BINARY_EVENT==t.type||n.BINARY_ACK==t.type?(this.reconstructor=new p(t),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",t)):this.emit("decoded",t);else{if(!a(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",t))}},l.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length==this.reconPack.attachments){var n=s.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},function(e,n,t){function o(){var e;try{e=n.storage.debug}catch(e){}return e}(n=e.exports=t(16)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(){var e=arguments,t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return e;var o="color: "+this.color,i=0,r=0;return(e=[e[0],o,"color: inherit"].concat(Array.prototype.slice.call(e,1)))[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&"%c"===e&&(r=++i)}),e.splice(r,0,o),e},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=o,n.useColors=function(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(e){return JSON.stringify(e)},n.enable(o())},function(e,n,t){(n=e.exports=function(e){function t(){}function r(){var e=r,t=+new Date,s=t-(o||t);e.diff=s,e.prev=o,e.curr=t,o=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=n.colors[i++%n.colors.length]);var a=Array.prototype.slice.call(arguments);a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&(a=["%o"].concat(a));var c=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,o){if("%%"===t)return t;c++;var i=n.formatters[o];if("function"==typeof i){var r=a[c];t=i.call(e,r),a.splice(c,1),c--}return t}),"function"==typeof n.formatArgs&&(a=n.formatArgs.apply(e,a));var u=r.log||n.log||console.log.bind(console);u.apply(e,a)}t.enabled=!1,r.enabled=!0;var s=n.enabled(e)?r:t;return s.namespace=e,s}).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){n.save(e);for(var t=(e||"").split(/[\s,]+/),o=t.length,i=0;i<o;i++)t[i]&&("-"===(e=t[i].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))},n.enabled=function(e){var t,o;for(t=0,o=n.skips.length;t<o;t++)if(n.skips[t].test(e))return!1;for(t=0,o=n.names.length;t<o;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(17),n.names=[],n.skips=[],n.formatters={};var o,i=0},function(e,n){var t=1e3,o=60*t,i=60*o,r=24*i,s=365.25*r;function a(e,n,t){if(!(e<n))return e<1.5*n?Math.floor(e/n)+" "+t:Math.ceil(e/n)+" "+t+"s"}e.exports=function(e,n){return n=n||{},"string"==typeof e?function(e){if(!((e=""+e).length>1e4)){var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(n){var a=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*o;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a}}}}(e):n.long?a(u=e,r,"day")||a(u,i,"hour")||a(u,o,"minute")||a(u,t,"second")||u+" ms":(c=e)>=r?Math.round(c/r)+"d":c>=i?Math.round(c/i)+"h":c>=o?Math.round(c/o)+"m":c>=t?Math.round(c/t)+"s":c+"ms";var c,u}},function(e,n,t){var o;(function(e,i){(function(){var r=t(20),s={function:!0,object:!0},a=s[typeof n]&&n&&!n.nodeType&&n,c=s[typeof window]&&window||this,u=a&&s[typeof e]&&e&&!e.nodeType&&"object"==typeof i&&i;function l(e,n){e||(e=c.Object()),n||(n=c.Object());var t=e.Number||c.Number,o=e.String||c.String,i=e.Object||c.Object,r=e.Date||c.Date,a=e.SyntaxError||c.SyntaxError,u=e.TypeError||c.TypeError,p=e.Math||c.Math,f=e.JSON||c.JSON;"object"==typeof f&&f&&(n.stringify=f.stringify,n.parse=f.parse);var d,g,h,_=i.prototype,m=_.toString,y=new r(-0xc782b5b800cec);try{y=-109252==y.getUTCFullYear()&&0===y.getUTCMonth()&&1===y.getUTCDate()&&10==y.getUTCHours()&&37==y.getUTCMinutes()&&6==y.getUTCSeconds()&&708==y.getUTCMilliseconds()}catch(e){}function v(e){if(v[e]!==h)return v[e];var i;if("bug-string-char-index"==e)i="a"!="a"[0];else if("json"==e)i=v("json-stringify")&&v("json-parse");else{var s,a='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var c=n.stringify,u="function"==typeof c&&y;if(u){(s=function(){return 1}).toJSON=s;try{u="0"===c(0)&&"0"===c(new t)&&'""'==c(new o)&&c(m)===h&&c(h)===h&&c()===h&&"1"===c(s)&&"[1]"==c([s])&&"[null]"==c([h])&&"null"==c(null)&&"[null,null,null]"==c([h,m,null])&&c({a:[s,!0,!1,null,"\0\b\n\f\r\t"]})==a&&"1"===c(null,s)&&"[\n 1,\n 2\n]"==c([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==c(new r(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==c(new r(864e13))&&'"-000001-01-01T00:00:00.000Z"'==c(new r(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==c(new r(-1))}catch(e){u=!1}}i=u}if("json-parse"==e){var l=n.parse;if("function"==typeof l)try{if(0===l("0")&&!l(!1)){var p=5==(s=l(a)).a.length&&1===s.a[0];if(p){try{p=!l('"\t"')}catch(e){}if(p)try{p=1!==l("01")}catch(e){}if(p)try{p=1!==l("1.")}catch(e){}}}}catch(e){p=!1}i=p}}return v[e]=!!i}if(!v("json")){var b="[object Function]",E="[object Number]",S="[object String]",T="[object Array]",C=v("bug-string-char-index");if(!y)var w=p.floor,k=[0,31,59,90,120,151,181,212,243,273,304,334],N=function(e,n){return k[n]+365*(e-1970)+w((e-1969+(n=+(n>1)))/4)-w((e-1901+n)/100)+w((e-1601+n)/400)};if((d=_.hasOwnProperty)||(d=function(e){var n,t={};return(t.__proto__=null,t.__proto__={toString:1},t).toString!=m?d=function(e){var n=this.__proto__,t=e in(this.__proto__=null,this);return this.__proto__=n,t}:(n=t.constructor,d=function(e){var t=(this.constructor||n).prototype;return e in this&&!(e in t&&this[e]===t[e])}),t=null,d.call(this,e)}),g=function(e,n){var t,o,i,r=0;for(i in(t=function(){this.valueOf=0}).prototype.valueOf=0,o=new t)d.call(o,i)&&r++;return t=o=null,r?g=2==r?function(e,n){var t,o={},i=m.call(e)==b;for(t in e)i&&"prototype"==t||d.call(o,t)||!(o[t]=1)||!d.call(e,t)||n(t)}:function(e,n){var t,o,i=m.call(e)==b;for(t in e)i&&"prototype"==t||!d.call(e,t)||(o="constructor"===t)||n(t);(o||d.call(e,t="constructor"))&&n(t)}:(o=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],g=function(e,n){var t,i,r=m.call(e)==b,a=!r&&"function"!=typeof e.constructor&&s[typeof e.hasOwnProperty]&&e.hasOwnProperty||d;for(t in e)r&&"prototype"==t||!a.call(e,t)||n(t);for(i=o.length;t=o[--i];a.call(e,t)&&n(t));}),g(e,n)},!v("json-stringify")){var A={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},x=function(e,n){return("000000"+(n||0)).slice(-e)},O=function(e){for(var n='"',t=0,o=e.length,i=!C||o>10,r=i&&(C?e.split(""):e);t<o;t++){var s=e.charCodeAt(t);switch(s){case 8:case 9:case 10:case 12:case 13:case 34:case 92:n+=A[s];break;default:if(s<32){n+="\\u00"+x(2,s.toString(16));break}n+=i?r[t]:e.charAt(t)}}return n+'"'},R=function e(n,t,o,i,r,s,a){var c,l,p,f,_,y,v,b,C,k,A,R,D,L,I,P;try{c=t[n]}catch(n){}if("object"==typeof c&&c)if("[object Date]"!=(l=m.call(c))||d.call(c,"toJSON"))"function"==typeof c.toJSON&&(l!=E&&l!=S&&l!=T||d.call(c,"toJSON"))&&(c=c.toJSON(n));else if(c>-1/0&&c<1/0){if(N){for(_=w(c/864e5),p=w(_/365.2425)+1970-1;N(p+1,0)<=_;p++);for(f=w((_-N(p,0))/30.42);N(p,f+1)<=_;f++);_=1+_-N(p,f),v=w((y=(c%864e5+864e5)%864e5)/36e5)%24,b=w(y/6e4)%60,C=w(y/1e3)%60,k=y%1e3}else p=c.getUTCFullYear(),f=c.getUTCMonth(),_=c.getUTCDate(),v=c.getUTCHours(),b=c.getUTCMinutes(),C=c.getUTCSeconds(),k=c.getUTCMilliseconds();c=(p<=0||p>=1e4?(p<0?"-":"+")+x(6,p<0?-p:p):x(4,p))+"-"+x(2,f+1)+"-"+x(2,_)+"T"+x(2,v)+":"+x(2,b)+":"+x(2,C)+"."+x(3,k)+"Z"}else c=null;if(o&&(c=o.call(t,n,c)),null===c)return"null";if("[object Boolean]"==(l=m.call(c)))return""+c;if(l==E)return c>-1/0&&c<1/0?""+c:"null";if(l==S)return O(""+c);if("object"==typeof c){for(L=a.length;L--;)if(a[L]===c)throw u();if(a.push(c),A=[],I=s,s+=r,l==T){for(D=0,L=c.length;D<L;D++)R=e(D,c,o,i,r,s,a),A.push(R===h?"null":R);P=A.length?r?"[\n"+s+A.join(",\n"+s)+"\n"+I+"]":"["+A.join(",")+"]":"[]"}else g(i||c,function(n){var t=e(n,c,o,i,r,s,a);t!==h&&A.push(O(n)+":"+(r?" ":"")+t)}),P=A.length?r?"{\n"+s+A.join(",\n"+s)+"\n"+I+"}":"{"+A.join(",")+"}":"{}";return a.pop(),P}};n.stringify=function(e,n,t){var o,i,r,a;if(s[typeof n]&&n)if((a=m.call(n))==b)i=n;else if(a==T){r={};for(var c,u=0,l=n.length;u<l;c=n[u++],((a=m.call(c))==S||a==E)&&(r[c]=1));}if(t)if((a=m.call(t))==E){if((t-=t%1)>0)for(o="",t>10&&(t=10);o.length<t;o+=" ");}else a==S&&(o=t.length<=10?t:t.slice(0,10));return R("",((c={})[""]=e,c),i,r,o,"",[])}}if(!v("json-parse")){var D,L,I=o.fromCharCode,P={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},M=function(){throw D=L=null,a()},B=function(){for(var e,n,t,o,i,r=L,s=r.length;D<s;)switch(i=r.charCodeAt(D)){case 9:case 10:case 13:case 32:D++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=C?r.charAt(D):r[D],D++,e;case 34:for(e="@",D++;D<s;)if((i=r.charCodeAt(D))<32)M();else if(92==i)switch(i=r.charCodeAt(++D)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=P[i],D++;break;case 117:for(n=++D,t=D+4;D<t;D++)(i=r.charCodeAt(D))>=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70||M();e+=I("0x"+r.slice(n,D));break;default:M()}else{if(34==i)break;for(i=r.charCodeAt(D),n=D;i>=32&&92!=i&&34!=i;)i=r.charCodeAt(++D);e+=r.slice(n,D)}if(34==r.charCodeAt(D))return D++,e;M();default:if(n=D,45==i&&(o=!0,i=r.charCodeAt(++D)),i>=48&&i<=57){for(48==i&&(i=r.charCodeAt(D+1))>=48&&i<=57&&M(),o=!1;D<s&&(i=r.charCodeAt(D))>=48&&i<=57;D++);if(46==r.charCodeAt(D)){for(t=++D;t<s&&(i=r.charCodeAt(t))>=48&&i<=57;t++);t==D&&M(),D=t}if(101==(i=r.charCodeAt(D))||69==i){for(43!=(i=r.charCodeAt(++D))&&45!=i||D++,t=D;t<s&&(i=r.charCodeAt(t))>=48&&i<=57;t++);t==D&&M(),D=t}return+r.slice(n,D)}if(o&&M(),"true"==r.slice(D,D+4))return D+=4,!0;if("false"==r.slice(D,D+5))return D+=5,!1;if("null"==r.slice(D,D+4))return D+=4,null;M()}return"$"},U=function e(n){var t,o;if("$"==n&&M(),"string"==typeof n){if("@"==(C?n.charAt(0):n[0]))return n.slice(1);if("["==n){for(t=[];"]"!=(n=B());o||(o=!0))o&&(","==n?"]"==(n=B())&&M():M()),","==n&&M(),t.push(e(n));return t}if("{"==n){for(t={};"}"!=(n=B());o||(o=!0))o&&(","==n?"}"==(n=B())&&M():M()),","!=n&&"string"==typeof n&&"@"==(C?n.charAt(0):n[0])&&":"==B()||M(),t[n.slice(1)]=e(B());return t}M()}return n},G=function(e,n,t){var o=V(e,n,t);o===h?delete e[n]:e[n]=o},V=function(e,n,t){var o,i=e[n];if("object"==typeof i&&i)if(m.call(i)==T)for(o=i.length;o--;)G(i,o,t);else g(i,function(e){G(i,e,t)});return t.call(e,n,i)};n.parse=function(e,n){var t,o;return D=0,L=""+e,t=U(B()),"$"!=B()&&M(),D=L=null,n&&m.call(n)==b?V(((o={})[""]=t,o),"",n):t}}}return n.runInContext=l,n}if(!u||u.global!==u&&u.window!==u&&u.self!==u||(c=u),a&&!r)l(c,a);else{var p=c.JSON,f=c.JSON3,d=!1,g=l(c,c.JSON3={noConflict:function(){return d||(d=!0,c.JSON=p,c.JSON3=f,p=f=null),g}});c.JSON={parse:g.parse,stringify:g.stringify}}r&&(void 0===(o=function(){return g}.call(n,t,n,e))||(e.exports=o))}).call(this)}).call(n,t(19)(e),window)},function(e,n){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,n){(function(n){e.exports=n}).call(n,{})},function(e,n){function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,n){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(n),this},t.prototype.once=function(e,n){var t=this;function o(){t.off(e,o),n.apply(this,arguments)}return this._callbacks=this._callbacks||{},o.fn=n,this.on(e,o),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,n){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var t,o=this._callbacks[e];if(!o)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var i=0;i<o.length;i++)if((t=o[i])===n||t.fn===n){o.splice(i,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var n=[].slice.call(arguments,1),t=this._callbacks[e];if(t)for(var o=0,i=(t=t.slice(0)).length;o<i;++o)t[o].apply(this,n);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,n,t){(function(e){var o=t(23),i=t(24);n.deconstructPacket=function(e){var n=[],t=e.data,r=e;return r.data=function e(t){if(!t)return t;if(i(t)){var r={_placeholder:!0,num:n.length};return n.push(t),r}if(o(t)){for(var s=new Array(t.length),a=0;a<t.length;a++)s[a]=e(t[a]);return s}if("object"==typeof t&&!(t instanceof Date)){for(var c in s={},t)s[c]=e(t[c]);return s}return t}(t),r.attachments=n.length,{packet:r,buffers:n}},n.reconstructPacket=function(e,n){return e.data=function e(t){if(t&&t._placeholder)return n[t.num];if(o(t)){for(var i=0;i<t.length;i++)t[i]=e(t[i]);return t}if(t&&"object"==typeof t){for(var r in t)t[r]=e(t[r]);return t}return t}(e.data),e.attachments=void 0,e},n.removeBlobs=function(n,t){var r=0,s=n;!function n(a,c,u){if(!a)return a;if(e.Blob&&a instanceof Blob||e.File&&a instanceof File){r++;var l=new FileReader;l.onload=function(){u?u[c]=this.result:s=this.result,--r||t(s)},l.readAsArrayBuffer(a)}else if(o(a))for(var p=0;p<a.length;p++)n(a[p],p,a);else if(a&&"object"==typeof a&&!i(a))for(var f in a)n(a[f],f,a)}(s),r||t(s)}}).call(n,window)},function(e,n){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,n){(function(n){e.exports=function(e){return n.Buffer&&n.Buffer.isBuffer(e)||n.ArrayBuffer&&e instanceof ArrayBuffer}}).call(n,window)},function(e,n,t){var o=t(26),i=t(54),r=t(7),s=t(14),a=t(56),c=t(57),u=t(11)("socket.io-client:manager"),l=t(52),p=t(58),f=Object.prototype.hasOwnProperty;function d(e,n){if(!(this instanceof d))return new d(e,n);e&&"object"==typeof e&&(n=e,e=void 0),(n=n||{}).path=n.path||"/socket.io",this.nsps={},this.subs=[],this.opts=n,this.reconnection(!1!==n.reconnection),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor(n.randomizationFactor||.5),this.backoff=new p({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==n.timeout?2e4:n.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[],this.encoder=new s.Encoder,this.decoder=new s.Decoder,this.autoConnect=!1!==n.autoConnect,this.autoConnect&&this.open()}e.exports=d,d.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)f.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},d.prototype.updateSocketIds=function(){for(var e in this.nsps)f.call(this.nsps,e)&&(this.nsps[e].id=this.engine.id)},r(d.prototype),d.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},d.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},d.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},d.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},d.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},d.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},d.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},d.prototype.open=d.prototype.connect=function(e,n){if(u("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;u("opening %s",this.uri),this.engine=o(this.uri,this.opts);var t=this.engine,i=this;this.readyState="opening",this.skipReconnect=!1;var r=a(t,"open",function(){i.onopen(),e&&e()}),s=a(t,"error",function(n){if(u("connect_error"),i.cleanup(),i.readyState="closed",i.emitAll("connect_error",n),e){var t=new Error("Connection error");t.data=n,e(t)}else i.maybeReconnectOnOpen()});if(!1!==this._timeout){var c=this._timeout;u("connect attempt will timeout after %d",c);var l=setTimeout(function(){u("connect attempt timed out after %d",c),r.destroy(),t.close(),t.emit("error","timeout"),i.emitAll("connect_timeout",c)},c);this.subs.push({destroy:function(){clearTimeout(l)}})}return this.subs.push(r),this.subs.push(s),this},d.prototype.onopen=function(){u("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(a(e,"data",c(this,"ondata"))),this.subs.push(a(e,"ping",c(this,"onping"))),this.subs.push(a(e,"pong",c(this,"onpong"))),this.subs.push(a(e,"error",c(this,"onerror"))),this.subs.push(a(e,"close",c(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",c(this,"ondecoded")))},d.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},d.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},d.prototype.ondata=function(e){this.decoder.add(e)},d.prototype.ondecoded=function(e){this.emit("packet",e)},d.prototype.onerror=function(e){u("error",e),this.emitAll("error",e)},d.prototype.socket=function(e,n){var t=this.nsps[e];if(!t){t=new i(this,e,n),this.nsps[e]=t;var o=this;t.on("connecting",r),t.on("connect",function(){t.id=o.engine.id}),this.autoConnect&&r()}function r(){~l(o.connecting,t)||o.connecting.push(t)}return t},d.prototype.destroy=function(e){var n=l(this.connecting,e);~n&&this.connecting.splice(n,1),this.connecting.length||this.close()},d.prototype.packet=function(e){u("writing packet %j",e);var n=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),n.encoding?n.packetBuffer.push(e):(n.encoding=!0,this.encoder.encode(e,function(t){for(var o=0;o<t.length;o++)n.engine.write(t[o],e.options);n.encoding=!1,n.processPacketQueue()}))},d.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},d.prototype.cleanup=function(){u("cleanup");for(var e=this.subs.length,n=0;n<e;n++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},d.prototype.close=d.prototype.disconnect=function(){u("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},d.prototype.onclose=function(e){u("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},d.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var n=this.backoff.duration();u("will wait %dms before reconnect attempt",n),this.reconnecting=!0;var t=setTimeout(function(){e.skipReconnect||(u("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open(function(n){n?(u("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",n.data)):(u("reconnect success"),e.onreconnect())}))},n);this.subs.push({destroy:function(){clearTimeout(t)}})}},d.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},function(e,n,t){e.exports=t(27)},function(e,n,t){e.exports=t(28),e.exports.parser=t(35)},function(e,n,t){(function(n){var o=t(29),i=t(7),r=t(46)("engine.io-client:socket"),s=t(52),a=t(35),c=t(10),u=t(53),l=t(43);function p(e,t){if(!(this instanceof p))return new p(e,t);t=t||{},e&&"object"==typeof e&&(t=e,e=null),e?(e=c(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=c(t.host).host),this.secure=null!=t.secure?t.secure:n.location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.agent=t.agent||!1,this.hostname=t.hostname||(n.location?location.hostname:"localhost"),this.port=t.port||(n.location&&location.port?location.port:this.secure?443:80),this.query=t.query||{},"string"==typeof this.query&&(this.query=l.decode(this.query)),this.upgrade=!1!==t.upgrade,this.path=(t.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!t.forceJSONP,this.jsonp=!1!==t.jsonp,this.forceBase64=!!t.forceBase64,this.enablesXDR=!!t.enablesXDR,this.timestampParam=t.timestampParam||"t",this.timestampRequests=t.timestampRequests,this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=t.policyPort||843,this.rememberUpgrade=t.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=t.onlyBinaryUpgrades,this.perMessageDeflate=!1!==t.perMessageDeflate&&(t.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=t.pfx||null,this.key=t.key||null,this.passphrase=t.passphrase||null,this.cert=t.cert||null,this.ca=t.ca||null,this.ciphers=t.ciphers||null,this.rejectUnauthorized=void 0===t.rejectUnauthorized?null:t.rejectUnauthorized,this.forceNode=!!t.forceNode;var o="object"==typeof n&&n;o.global===o&&(t.extraHeaders&&Object.keys(t.extraHeaders).length>0&&(this.extraHeaders=t.extraHeaders),t.localAddress&&(this.localAddress=t.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}e.exports=p,p.priorWebsocketSuccess=!1,i(p.prototype),p.protocol=a.protocol,p.Socket=p,p.Transport=t(34),p.transports=t(29),p.parser=t(35),p.prototype.createTransport=function(e){r('creating transport "%s"',e);var n=function(e){var n={};for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(this.query);return n.EIO=a.protocol,n.transport=e,this.id&&(n.sid=this.id),new o[e]({agent:this.agent,hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:n,forceJSONP:this.forceJSONP,jsonp:this.jsonp,forceBase64:this.forceBase64,enablesXDR:this.enablesXDR,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,policyPort:this.policyPort,socket:this,pfx:this.pfx,key:this.key,passphrase:this.passphrase,cert:this.cert,ca:this.ca,ciphers:this.ciphers,rejectUnauthorized:this.rejectUnauthorized,perMessageDeflate:this.perMessageDeflate,extraHeaders:this.extraHeaders,forceNode:this.forceNode,localAddress:this.localAddress})},p.prototype.open=function(){var e;if(this.rememberUpgrade&&p.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var n=this;return void setTimeout(function(){n.emit("error","No transports available")},0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},p.prototype.setTransport=function(e){r("setting transport %s",e.name);var n=this;this.transport&&(r("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",function(){n.onDrain()}).on("packet",function(e){n.onPacket(e)}).on("error",function(e){n.onError(e)}).on("close",function(){n.onClose("transport close")})},p.prototype.probe=function(e){r('probing transport "%s"',e);var n=this.createTransport(e,{probe:1}),t=!1,o=this;function i(){if(o.onlyBinaryUpgrades){var i=!this.supportsBinary&&o.transport.supportsBinary;t=t||i}t||(r('probe transport "%s" opened',e),n.send([{type:"ping",data:"probe"}]),n.once("packet",function(i){if(!t)if("pong"===i.type&&"probe"===i.data){if(r('probe transport "%s" pong',e),o.upgrading=!0,o.emit("upgrading",n),!n)return;p.priorWebsocketSuccess="websocket"===n.name,r('pausing current transport "%s"',o.transport.name),o.transport.pause(function(){t||"closed"!==o.readyState&&(r("changing transport and sending upgrade packet"),f(),o.setTransport(n),n.send([{type:"upgrade"}]),o.emit("upgrade",n),n=null,o.upgrading=!1,o.flush())})}else{r('probe transport "%s" failed',e);var s=new Error("probe error");s.transport=n.name,o.emit("upgradeError",s)}}))}function s(){t||(t=!0,f(),n.close(),n=null)}function a(t){var i=new Error("probe error: "+t);i.transport=n.name,s(),r('probe transport "%s" failed because of error: %s',e,t),o.emit("upgradeError",i)}function c(){a("transport closed")}function u(){a("socket closed")}function l(e){n&&e.name!==n.name&&(r('"%s" works - aborting "%s"',e.name,n.name),s())}function f(){n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",c),o.removeListener("close",u),o.removeListener("upgrading",l)}p.priorWebsocketSuccess=!1,n.once("open",i),n.once("error",a),n.once("close",c),this.once("close",u),this.once("upgrading",l),n.open()},p.prototype.onOpen=function(){if(r("socket open"),this.readyState="open",p.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){r("starting upgrade probes");for(var e=0,n=this.upgrades.length;e<n;e++)this.probe(this.upgrades[e])}},p.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(r('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(u(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var n=new Error("server error");n.code=e.data,this.onError(n);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else r('packet received with socket readyState "%s"',this.readyState)},p.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},p.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var n=this;n.pingTimeoutTimer=setTimeout(function(){"closed"!==n.readyState&&n.onClose("ping timeout")},e||n.pingInterval+n.pingTimeout)},p.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout(function(){r("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)},e.pingInterval)},p.prototype.ping=function(){var e=this;this.sendPacket("ping",function(){e.emit("ping")})},p.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},p.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(r("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},p.prototype.write=p.prototype.send=function(e,n,t){return this.sendPacket("message",e,n,t),this},p.prototype.sendPacket=function(e,n,t,o){if("function"==typeof n&&(o=n,n=void 0),"function"==typeof t&&(o=t,t=null),"closing"!==this.readyState&&"closed"!==this.readyState){(t=t||{}).compress=!1!==t.compress;var i={type:e,data:n,options:t};this.emit("packetCreate",i),this.writeBuffer.push(i),o&&this.once("flush",o),this.flush()}},p.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var e=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?o():n()}):this.upgrading?o():n()}function n(){e.onClose("forced close"),r("socket closing - telling transport to close"),e.transport.close()}function t(){e.removeListener("upgrade",t),e.removeListener("upgradeError",t),n()}function o(){e.once("upgrade",t),e.once("upgradeError",t)}return this},p.prototype.onError=function(e){r("socket error %j",e),p.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},p.prototype.onClose=function(e,n){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(r('socket close with reason: "%s"',e),clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)},p.prototype.filterUpgrades=function(e){for(var n=[],t=0,o=e.length;t<o;t++)~s(this.transports,e[t])&&n.push(e[t]);return n}}).call(n,window)},function(e,n,t){(function(e){var o=t(30),i=t(32),r=t(49),s=t(50);n.polling=function(n){var t=!1,s=!1,a=!1!==n.jsonp;if(e.location){var c="https:"===location.protocol,u=location.port;u||(u=c?443:80),t=n.hostname!==location.hostname||u!==n.port,s=n.secure!==c}if(n.xdomain=t,n.xscheme=s,"open"in new o(n)&&!n.forceJSONP)return new i(n);if(!a)throw new Error("JSONP disabled");return new r(n)},n.websocket=s}).call(n,window)},function(e,n,t){(function(n){var o=t(31);e.exports=function(e){var t=e.xdomain,i=e.xscheme,r=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||o))return new XMLHttpRequest}catch(e){}try{if("undefined"!=typeof XDomainRequest&&!i&&r)return new XDomainRequest}catch(e){}if(!t)try{return new(n[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}}).call(n,window)},function(e,n){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(n){e.exports=!1}},function(e,n,t){(function(n){var o=t(30),i=t(33),r=t(7),s=t(44),a=t(46)("engine.io-client:polling-xhr");function c(){}function u(e){if(i.call(this,e),this.requestTimeout=e.requestTimeout,n.location){var t="https:"===location.protocol,o=location.port;o||(o=t?443:80),this.xd=e.hostname!==n.location.hostname||o!==e.port,this.xs=e.secure!==t}else this.extraHeaders=e.extraHeaders}function l(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function p(){for(var e in l.requests)l.requests.hasOwnProperty(e)&&l.requests[e].abort()}e.exports=u,e.exports.Request=l,s(u,i),u.prototype.supportsBinary=!0,u.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new l(e)},u.prototype.doWrite=function(e,n){var t="string"!=typeof e&&void 0!==e,o=this.request({method:"POST",data:e,isBinary:t}),i=this;o.on("success",n),o.on("error",function(e){i.onError("xhr post error",e)}),this.sendXhr=o},u.prototype.doPoll=function(){a("xhr poll");var e=this.request(),n=this;e.on("data",function(e){n.onData(e)}),e.on("error",function(e){n.onError("xhr poll error",e)}),this.pollXhr=e},r(l.prototype),l.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new o(e),i=this;try{a("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&t.setRequestHeader(r,this.extraHeaders[r])}catch(e){}if(this.supportsBinary&&(t.responseType="arraybuffer"),"POST"===this.method)try{this.isBinary?t.setRequestHeader("Content-type","application/octet-stream"):t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=!0),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){i.onLoad()},t.onerror=function(){i.onError(t.responseText)}):t.onreadystatechange=function(){4===t.readyState&&(200===t.status||1223===t.status?i.onLoad():setTimeout(function(){i.onError(t.status)},0))},a("xhr data %s",this.data),t.send(this.data)}catch(e){return void setTimeout(function(){i.onError(e)},0)}n.document&&(this.index=l.requestsCount++,l.requests[this.index]=this)},l.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},l.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},l.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},l.prototype.cleanup=function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=c:this.xhr.onreadystatechange=c,e)try{this.xhr.abort()}catch(e){}n.document&&delete l.requests[this.index],this.xhr=null}},l.prototype.onLoad=function(){var e;try{var n;try{n=this.xhr.getResponseHeader("Content-Type").split(";")[0]}catch(e){}if("application/octet-stream"===n)e=this.xhr.response||this.xhr.responseText;else if(this.supportsBinary)try{e=String.fromCharCode.apply(null,new Uint8Array(this.xhr.response))}catch(n){for(var t=new Uint8Array(this.xhr.response),o=[],i=0,r=t.length;i<r;i++)o.push(t[i]);e=String.fromCharCode.apply(null,o)}else e=this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},l.prototype.hasXDR=function(){return void 0!==n.XDomainRequest&&!this.xs&&this.enablesXDR},l.prototype.abort=function(){this.cleanup()},l.requestsCount=0,l.requests={},n.document&&(n.attachEvent?n.attachEvent("onunload",p):n.addEventListener&&n.addEventListener("beforeunload",p,!1))}).call(n,window)},function(e,n,t){var o=t(34),i=t(43),r=t(35),s=t(44),a=t(45),c=t(46)("engine.io-client:polling");e.exports=l;var u=null!=new(t(30))({xdomain:!1}).responseType;function l(e){var n=e&&e.forceBase64;u&&!n||(this.supportsBinary=!1),o.call(this,e)}s(l,o),l.prototype.name="polling",l.prototype.doOpen=function(){this.poll()},l.prototype.pause=function(e){var n=this;function t(){c("paused"),n.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var o=0;this.polling&&(c("we are currently polling - waiting to pause"),o++,this.once("pollComplete",function(){c("pre-pause polling complete"),--o||t()})),this.writable||(c("we are currently writing - waiting to pause"),o++,this.once("drain",function(){c("pre-pause writing complete"),--o||t()}))}else t()},l.prototype.poll=function(){c("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},l.prototype.onData=function(e){var n=this;c("polling got data %s",e),r.decodePayload(e,this.socket.binaryType,function(e,t,o){if("opening"===n.readyState&&n.onOpen(),"close"===e.type)return n.onClose(),!1;n.onPacket(e)}),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():c('ignoring poll - transport state "%s"',this.readyState))},l.prototype.doClose=function(){var e=this;function n(){c("writing close packet"),e.write([{type:"close"}])}"open"===this.readyState?(c("transport open - closing"),n()):(c("transport not open - deferring close"),this.once("open",n))},l.prototype.write=function(e){var n=this;this.writable=!1;var t=function(){n.writable=!0,n.emit("drain")};r.encodePayload(e,this.supportsBinary,function(e){n.doWrite(e,t)})},l.prototype.uri=function(){var e=this.query||{},n=this.secure?"https":"http",t="";return!1!==this.timestampRequests&&(e[this.timestampParam]=a()),this.supportsBinary||e.sid||(e.b64=1),e=i.encode(e),this.port&&("https"===n&&443!==Number(this.port)||"http"===n&&80!==Number(this.port))&&(t=":"+this.port),e.length&&(e="?"+e),n+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+t+this.path+e}},function(e,n,t){var o=t(35),i=t(7);function r(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.forceNode=e.forceNode,this.extraHeaders=e.extraHeaders,this.localAddress=e.localAddress}e.exports=r,i(r.prototype),r.prototype.onError=function(e,n){var t=new Error(e);return t.type="TransportError",t.description=n,this.emit("error",t),this},r.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(e){var n=o.decodePacket(e,this.socket.binaryType);this.onPacket(n)},r.prototype.onPacket=function(e){this.emit("packet",e)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},function(e,n,t){(function(e){var o,i=t(36),r=t(37),s=t(38),a=t(39),c=t(40);e&&e.ArrayBuffer&&(o=t(41));var u="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),l="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),p=u||l;n.protocol=3;var f=n.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},d=i(f),g={type:"error",data:"parser error"},h=t(42);function _(e,n,t){for(var o=new Array(e.length),i=a(e.length,t),r=function(e,t,i){n(t,function(n,t){o[e]=t,i(n,o)})},s=0;s<e.length;s++)r(s,e[s],i)}n.encodePacket=function(t,o,i,r){"function"==typeof o&&(r=o,o=!1),"function"==typeof i&&(r=i,i=null);var s,a,u,l=void 0===t.data?void 0:t.data.buffer||t.data;if(e.ArrayBuffer&&l instanceof ArrayBuffer)return function(e,t,o){if(!t)return n.encodeBase64Packet(e,o);var i=e.data,r=new Uint8Array(i),s=new Uint8Array(1+i.byteLength);s[0]=f[e.type];for(var a=0;a<r.length;a++)s[a+1]=r[a];return o(s.buffer)}(t,o,r);if(h&&l instanceof e.Blob)return function(e,t,o){if(!t)return n.encodeBase64Packet(e,o);if(p)return function(e,t,o){if(!t)return n.encodeBase64Packet(e,o);var i=new FileReader;return i.onload=function(){e.data=i.result,n.encodePacket(e,t,!0,o)},i.readAsArrayBuffer(e.data)}(e,t,o);var i=new Uint8Array(1);i[0]=f[e.type];var r=new h([i.buffer,e.data]);return o(r)}(t,o,r);if(l&&l.base64)return s=t,a=r,u="b"+n.packets[s.type]+s.data.data,a(u);var d=f[t.type];return void 0!==t.data&&(d+=i?c.encode(String(t.data)):String(t.data)),r(""+d)},n.encodeBase64Packet=function(t,o){var i,r="b"+n.packets[t.type];if(h&&t.data instanceof e.Blob){var s=new FileReader;return s.onload=function(){var e=s.result.split(",")[1];o(r+e)},s.readAsDataURL(t.data)}try{i=String.fromCharCode.apply(null,new Uint8Array(t.data))}catch(e){for(var a=new Uint8Array(t.data),c=new Array(a.length),u=0;u<a.length;u++)c[u]=a[u];i=String.fromCharCode.apply(null,c)}return r+=e.btoa(i),o(r)},n.decodePacket=function(e,t,o){if(void 0===e)return g;if("string"==typeof e){if("b"==e.charAt(0))return n.decodeBase64Packet(e.substr(1),t);if(o&&!1===(e=function(e){try{e=c.decode(e)}catch(e){return!1}return e}(e)))return g;var i=e.charAt(0);return Number(i)==i&&d[i]?e.length>1?{type:d[i],data:e.substring(1)}:{type:d[i]}:g}i=new Uint8Array(e)[0];var r=s(e,1);return h&&"blob"===t&&(r=new h([r])),{type:d[i],data:r}},n.decodeBase64Packet=function(e,n){var t=d[e.charAt(0)];if(!o)return{type:t,data:{base64:!0,data:e.substr(1)}};var i=o.decode(e.substr(1));return"blob"===n&&h&&(i=new h([i])),{type:t,data:i}},n.encodePayload=function(e,t,o){"function"==typeof t&&(o=t,t=null);var i=r(e);return t&&i?h&&!p?n.encodePayloadAsBlob(e,o):n.encodePayloadAsArrayBuffer(e,o):e.length?void _(e,function(e,o){n.encodePacket(e,!!i&&t,!0,function(e){var n;o(null,(n=e).length+":"+n)})},function(e,n){return o(n.join(""))}):o("0:")},n.decodePayload=function(e,t,o){if("string"!=typeof e)return n.decodePayloadAsBinary(e,t,o);var i;if("function"==typeof t&&(o=t,t=null),""==e)return o(g,0,1);for(var r,s,a="",c=0,u=e.length;c<u;c++){var l=e.charAt(c);if(":"!=l)a+=l;else{if(""==a||a!=(r=Number(a)))return o(g,0,1);if(a!=(s=e.substr(c+1,r)).length)return o(g,0,1);if(s.length){if(i=n.decodePacket(s,t,!0),g.type==i.type&&g.data==i.data)return o(g,0,1);if(!1===o(i,c+r,u))return}c+=r,a=""}}return""!=a?o(g,0,1):void 0},n.encodePayloadAsArrayBuffer=function(e,t){if(!e.length)return t(new ArrayBuffer(0));_(e,function(e,t){n.encodePacket(e,!0,!0,function(e){return t(null,e)})},function(e,n){var o=n.reduce(function(e,n){var t;return e+(t="string"==typeof n?n.length:n.byteLength).toString().length+t+2},0),i=new Uint8Array(o),r=0;return n.forEach(function(e){var n="string"==typeof e,t=e;if(n){for(var o=new Uint8Array(e.length),s=0;s<e.length;s++)o[s]=e.charCodeAt(s);t=o.buffer}i[r++]=n?0:1;var a=t.byteLength.toString();for(s=0;s<a.length;s++)i[r++]=parseInt(a[s]);for(i[r++]=255,o=new Uint8Array(t),s=0;s<o.length;s++)i[r++]=o[s]}),t(i.buffer)})},n.encodePayloadAsBlob=function(e,t){_(e,function(e,t){n.encodePacket(e,!0,!0,function(e){var n=new Uint8Array(1);if(n[0]=1,"string"==typeof e){for(var o=new Uint8Array(e.length),i=0;i<e.length;i++)o[i]=e.charCodeAt(i);e=o.buffer,n[0]=0}var r=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),s=new Uint8Array(r.length+1);for(i=0;i<r.length;i++)s[i]=parseInt(r[i]);if(s[r.length]=255,h){var a=new h([n.buffer,s.buffer,e]);t(null,a)}})},function(e,n){return t(new h(n))})},n.decodePayloadAsBinary=function(e,t,o){"function"==typeof t&&(o=t,t=null);for(var i=e,r=[],a=!1;i.byteLength>0;){for(var c=new Uint8Array(i),u=0===c[0],l="",p=1;255!=c[p];p++){if(l.length>310){a=!0;break}l+=c[p]}if(a)return o(g,0,1);i=s(i,2+l.length),l=parseInt(l);var f=s(i,0,l);if(u)try{f=String.fromCharCode.apply(null,new Uint8Array(f))}catch(e){var d=new Uint8Array(f);for(f="",p=0;p<d.length;p++)f+=String.fromCharCode(d[p])}r.push(f),i=s(i,l)}var h=r.length;r.forEach(function(e,i){o(n.decodePacket(e,t,!0),i,h)})}}).call(n,window)},function(e,n){e.exports=Object.keys||function(e){var n=[],t=Object.prototype.hasOwnProperty;for(var o in e)t.call(e,o)&&n.push(o);return n}},function(e,n,t){(function(n){var o=t(23);e.exports=function(e){return function e(t){if(!t)return!1;if(n.Buffer&&n.Buffer.isBuffer&&n.Buffer.isBuffer(t)||n.ArrayBuffer&&t instanceof ArrayBuffer||n.Blob&&t instanceof Blob||n.File&&t instanceof File)return!0;if(o(t)){for(var i=0;i<t.length;i++)if(e(t[i]))return!0}else if(t&&"object"==typeof t)for(var r in t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),t)if(Object.prototype.hasOwnProperty.call(t,r)&&e(t[r]))return!0;return!1}(e)}}).call(n,window)},function(e,n){e.exports=function(e,n,t){var o=e.byteLength;if(n=n||0,t=t||o,e.slice)return e.slice(n,t);if(n<0&&(n+=o),t<0&&(t+=o),t>o&&(t=o),n>=o||n>=t||0===o)return new ArrayBuffer(0);for(var i=new Uint8Array(e),r=new Uint8Array(t-n),s=n,a=0;s<t;s++,a++)r[a]=i[s];return r.buffer}},function(e,n){function t(){}e.exports=function(e,n,o){var i=!1;return o=o||t,r.count=e,0===e?n():r;function r(e,t){if(r.count<=0)throw new Error("after called too many times");--r.count,e?(i=!0,n(e),n=o):0!==r.count||i||n(null,t)}}},function(e,n,t){var o;(function(e,i){!function(r){var s=("object"==typeof e&&e&&e.exports,"object"==typeof i&&i);s.global!==s&&s.window;var a,c,u,l=String.fromCharCode;function p(e){for(var n,t,o=[],i=0,r=e.length;i<r;)(n=e.charCodeAt(i++))>=55296&&n<=56319&&i<r?56320==(64512&(t=e.charCodeAt(i++)))?o.push(((1023&n)<<10)+(1023&t)+65536):(o.push(n),i--):o.push(n);return o}function f(e,n){return l(e>>n&63|128)}function d(e){if(0==(4294967168&e))return l(e);var n="";return 0==(4294965248&e)?n=l(e>>6&31|192):0==(4294901760&e)?(n=l(e>>12&15|224),n+=f(e,6)):0==(4292870144&e)&&(n=l(e>>18&7|240),n+=f(e,12),n+=f(e,6)),n+l(63&e|128)}function g(){if(u>=c)throw Error("Invalid byte index");var e=255&a[u];if(u++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function h(){var e,n;if(u>c)throw Error("Invalid byte index");if(u==c)return!1;if(e=255&a[u],u++,0==(128&e))return e;if(192==(224&e)){if((n=(31&e)<<6|g())>=128)return n;throw Error("Invalid continuation byte")}if(224==(240&e)){if((n=(15&e)<<12|g()<<6|g())>=2048)return n;throw Error("Invalid continuation byte")}if(240==(248&e)&&(n=(15&e)<<18|g()<<12|g()<<6|g())>=65536&&n<=1114111)return n;throw Error("Invalid WTF-8 detected")}var _={version:"1.0.0",encode:function(e){for(var n=p(e),t=n.length,o=-1,i="";++o<t;)i+=d(n[o]);return i},decode:function(e){a=p(e),c=a.length,u=0;for(var n,t=[];!1!==(n=h());)t.push(n);return function(e){for(var n,t=e.length,o=-1,i="";++o<t;)(n=e[o])>65535&&(i+=l((n-=65536)>>>10&1023|55296),n=56320|1023&n),i+=l(n);return i}(t)}};void 0===(o=function(){return _}.call(n,t,n,e))||(e.exports=o)}()}).call(n,t(19)(e),window)},function(e,n){!function(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=new Uint8Array(256),o=0;o<e.length;o++)t[e.charCodeAt(o)]=o;n.encode=function(n){var t,o=new Uint8Array(n),i=o.length,r="";for(t=0;t<i;t+=3)r+=e[o[t]>>2],r+=e[(3&o[t])<<4|o[t+1]>>4],r+=e[(15&o[t+1])<<2|o[t+2]>>6],r+=e[63&o[t+2]];return i%3==2?r=r.substring(0,r.length-1)+"=":i%3==1&&(r=r.substring(0,r.length-2)+"=="),r},n.decode=function(e){var n,o,i,r,s,a=.75*e.length,c=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l=new ArrayBuffer(a),p=new Uint8Array(l);for(n=0;n<c;n+=4)o=t[e.charCodeAt(n)],i=t[e.charCodeAt(n+1)],r=t[e.charCodeAt(n+2)],s=t[e.charCodeAt(n+3)],p[u++]=o<<2|i>>4,p[u++]=(15&i)<<4|r>>2,p[u++]=(3&r)<<6|63&s;return l}}()},function(e,n){(function(n){var t=n.BlobBuilder||n.WebKitBlobBuilder||n.MSBlobBuilder||n.MozBlobBuilder,o=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),i=o&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),r=t&&t.prototype.append&&t.prototype.getBlob;function s(e){for(var n=0;n<e.length;n++){var t=e[n];if(t.buffer instanceof ArrayBuffer){var o=t.buffer;if(t.byteLength!==o.byteLength){var i=new Uint8Array(t.byteLength);i.set(new Uint8Array(o,t.byteOffset,t.byteLength)),o=i.buffer}e[n]=o}}}function a(e,n){n=n||{};var o=new t;s(e);for(var i=0;i<e.length;i++)o.append(e[i]);return n.type?o.getBlob(n.type):o.getBlob()}function c(e,n){return s(e),new Blob(e,n||{})}e.exports=o?i?n.Blob:c:r?a:void 0}).call(n,window)},function(e,n){n.encode=function(e){var n="";for(var t in e)e.hasOwnProperty(t)&&(n.length&&(n+="&"),n+=encodeURIComponent(t)+"="+encodeURIComponent(e[t]));return n},n.decode=function(e){for(var n={},t=e.split("&"),o=0,i=t.length;o<i;o++){var r=t[o].split("=");n[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return n}},function(e,n){e.exports=function(e,n){var t=function(){};t.prototype=n.prototype,e.prototype=new t,e.prototype.constructor=e}},function(e,n){var t,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),i=64,r={},s=0,a=0;function c(e){var n="";do{n=o[e%i]+n,e=Math.floor(e/i)}while(e>0);return n}function u(){var e=c(+new Date);return e!==t?(s=0,t=e):e+"."+c(s++)}for(;a<i;a++)r[o[a]]=a;u.encode=c,u.decode=function(e){var n=0;for(a=0;a<e.length;a++)n=n*i+r[e.charAt(a)];return n},e.exports=u},function(e,n,t){(function(o){function i(){try{return n.storage.debug}catch(e){}if(void 0!==o&&"env"in o)return o.env.DEBUG}(n=e.exports=t(47)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(){var e=arguments,t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return e;var o="color: "+this.color,i=0,r=0;return(e=[e[0],o,"color: inherit"].concat(Array.prototype.slice.call(e,1)))[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&"%c"===e&&(r=++i)}),e.splice(r,0,o),e},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=i,n.useColors=function(){return"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(i())}).call(n,t(4))},function(e,n,t){(n=e.exports=r.debug=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){n.save(e);for(var t=(e||"").split(/[\s,]+/),o=t.length,i=0;i<o;i++)t[i]&&("-"===(e=t[i].replace(/[\\^$+?.()|[\]{}]/g,"\\$&").replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))},n.enabled=function(e){var t,o;for(t=0,o=n.skips.length;t<o;t++)if(n.skips[t].test(e))return!1;for(t=0,o=n.names.length;t<o;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(48),n.names=[],n.skips=[],n.formatters={};var o,i=0;function r(e){function t(){}function r(){var e=r,t=+new Date,s=t-(o||t);e.diff=s,e.prev=o,e.curr=t,o=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=n.colors[i++%n.colors.length]);for(var a=new Array(arguments.length),c=0;c<a.length;c++)a[c]=arguments[c];a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&(a=["%o"].concat(a));var u=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,o){if("%%"===t)return t;u++;var i=n.formatters[o];if("function"==typeof i){var r=a[u];t=i.call(e,r),a.splice(u,1),u--}return t}),a=n.formatArgs.apply(e,a),(r.log||n.log||console.log.bind(console)).apply(e,a)}t.enabled=!1,r.enabled=!0;var s=n.enabled(e)?r:t;return s.namespace=e,s}},function(e,n){var t=1e3,o=60*t,i=60*o,r=24*i,s=365.25*r;function a(e,n,t){if(!(e<n))return e<1.5*n?Math.floor(e/n)+" "+t:Math.ceil(e/n)+" "+t+"s"}e.exports=function(e,n){n=n||{};var c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>1e4)){var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(n){var a=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*o;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&!1===isNaN(e))return n.long?a(c=e,r,"day")||a(c,i,"hour")||a(c,o,"minute")||a(c,t,"second")||c+" ms":function(e){return e>=r?Math.round(e/r)+"d":e>=i?Math.round(e/i)+"h":e>=o?Math.round(e/o)+"m":e>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,n,t){(function(n){var o=t(33),i=t(44);e.exports=u;var r,s=/\n/g,a=/\\n/g;function c(){}function u(e){o.call(this,e),this.query=this.query||{},r||(n.___eio||(n.___eio=[]),r=n.___eio),this.index=r.length;var t=this;r.push(function(e){t.onData(e)}),this.query.j=this.index,n.document&&n.addEventListener&&n.addEventListener("beforeunload",function(){t.script&&(t.script.onerror=c)},!1)}i(u,o),u.prototype.supportsBinary=!1,u.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),o.prototype.doClose.call(this)},u.prototype.doPoll=function(){var e=this,n=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),n.async=!0,n.src=this.uri(),n.onerror=function(n){e.onError("jsonp poll error",n)};var t=document.getElementsByTagName("script")[0];t?t.parentNode.insertBefore(n,t):(document.head||document.body).appendChild(n),this.script=n,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout(function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)},100)},u.prototype.doWrite=function(e,n){var t=this;if(!this.form){var o,i=document.createElement("form"),r=document.createElement("textarea"),c=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=c,i.method="POST",i.setAttribute("accept-charset","utf-8"),r.name="d",i.appendChild(r),document.body.appendChild(i),this.form=i,this.area=r}function u(){l(),n()}function l(){if(t.iframe)try{t.form.removeChild(t.iframe)}catch(e){t.onError("jsonp polling iframe removal error",e)}try{var e='<iframe src="javascript:0" name="'+t.iframeId+'">';o=document.createElement(e)}catch(e){(o=document.createElement("iframe")).name=t.iframeId,o.src="javascript:0"}o.id=t.iframeId,t.form.appendChild(o),t.iframe=o}this.form.action=this.uri(),l(),e=e.replace(a,"\\\n"),this.area.value=e.replace(s,"\\n");try{this.form.submit()}catch(e){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===t.iframe.readyState&&u()}:this.iframe.onload=u}}).call(n,window)},function(e,n,t){(function(n){var o,i=t(34),r=t(35),s=t(43),a=t(44),c=t(45),u=t(46)("engine.io-client:websocket"),l=n.WebSocket||n.MozWebSocket;if("undefined"==typeof window)try{o=t(51)}catch(e){}var p=l;function f(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=l&&!e.forceNode,this.usingBrowserWebSocket||(p=o),i.call(this,e)}p||"undefined"!=typeof window||(p=o),e.exports=f,a(f,i),f.prototype.name="websocket",f.prototype.supportsBinary=!0,f.prototype.doOpen=function(){if(this.check()){var e=this.uri(),n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket?new p(e):new p(e,void 0,n)}catch(e){return this.emit("error",e)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},f.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(n){e.onData(n.data)},this.ws.onerror=function(n){e.onError("websocket error",n)}},f.prototype.write=function(e){var t=this;this.writable=!1;for(var o=e.length,i=0,s=o;i<s;i++)!function(e){r.encodePacket(e,t.supportsBinary,function(i){if(!t.usingBrowserWebSocket){var r={};e.options&&(r.compress=e.options.compress),t.perMessageDeflate&&("string"==typeof i?n.Buffer.byteLength(i):i.length)<t.perMessageDeflate.threshold&&(r.compress=!1)}try{t.usingBrowserWebSocket?t.ws.send(i):t.ws.send(i,r)}catch(e){u("websocket closed before onclose event")}--o||a()})}(e[i]);function a(){t.emit("flush"),setTimeout(function(){t.writable=!0,t.emit("drain")},0)}},f.prototype.onClose=function(){i.prototype.onClose.call(this)},f.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},f.prototype.uri=function(){var e=this.query||{},n=this.secure?"wss":"ws",t="";return this.port&&("wss"===n&&443!==Number(this.port)||"ws"===n&&80!==Number(this.port))&&(t=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=c()),this.supportsBinary||(e.b64=1),(e=s.encode(e)).length&&(e="?"+e),n+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+t+this.path+e},f.prototype.check=function(){return!(!p||"__initialize"in p&&this.name===f.prototype.name)}}).call(n,window)},function(e,n){},function(e,n){var t=[].indexOf;e.exports=function(e,n){if(t)return e.indexOf(n);for(var o=0;o<e.length;++o)if(e[o]===n)return o;return-1}},function(e,n){(function(n){var t=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,i=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/^\s+/,a=/\s+$/;e.exports=function(e){return"string"==typeof e&&e?(e=e.replace(s,"").replace(a,""),n.JSON&&JSON.parse?JSON.parse(e):t.test(e.replace(o,"@").replace(i,"]").replace(r,""))?new Function("return "+e)():void 0):null}}).call(n,window)},function(e,n,t){var o=t(14),i=t(7),r=t(55),s=t(56),a=t(57),c=t(11)("socket.io-client:socket"),u=t(37);e.exports=f;var l={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=i.prototype.emit;function f(e,n,t){this.io=e,this.nsp=n,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,t&&t.query&&(this.query=t.query),this.io.autoConnect&&this.open()}i(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[s(e,"open",a(this,"onopen")),s(e,"packet",a(this,"onpacket")),s(e,"close",a(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting"),this)},f.prototype.send=function(){var e=r(arguments);return e.unshift("message"),this.emit.apply(this,e),this},f.prototype.emit=function(e){if(l.hasOwnProperty(e))return p.apply(this,arguments),this;var n=r(arguments),t=o.EVENT;u(n)&&(t=o.BINARY_EVENT);var i={type:t,data:n,options:{}};return i.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof n[n.length-1]&&(c("emitting packet with ack id %d",this.ids),this.acks[this.ids]=n.pop(),i.id=this.ids++),this.connected?this.packet(i):this.sendBuffer.push(i),delete this.flags,this},f.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},f.prototype.onopen=function(){c("transport is open - connecting"),"/"!==this.nsp&&(this.query?this.packet({type:o.CONNECT,query:this.query}):this.packet({type:o.CONNECT}))},f.prototype.onclose=function(e){c("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},f.prototype.onpacket=function(e){if(e.nsp===this.nsp)switch(e.type){case o.CONNECT:this.onconnect();break;case o.EVENT:case o.BINARY_EVENT:this.onevent(e);break;case o.ACK:case o.BINARY_ACK:this.onack(e);break;case o.DISCONNECT:this.ondisconnect();break;case o.ERROR:this.emit("error",e.data)}},f.prototype.onevent=function(e){var n=e.data||[];c("emitting event %j",n),null!=e.id&&(c("attaching ack callback to event"),n.push(this.ack(e.id))),this.connected?p.apply(this,n):this.receiveBuffer.push(n)},f.prototype.ack=function(e){var n=this,t=!1;return function(){if(!t){t=!0;var i=r(arguments);c("sending ack %j",i);var s=u(i)?o.BINARY_ACK:o.ACK;n.packet({type:s,id:e,data:i})}}},f.prototype.onack=function(e){var n=this.acks[e.id];"function"==typeof n?(c("calling ack %s with %j",e.id,e.data),n.apply(this,e.data),delete this.acks[e.id]):c("bad ack %s",e.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},f.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)p.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){c("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(c("performing disconnect (%s)",this.nsp),this.packet({type:o.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(e){return this.flags=this.flags||{},this.flags.compress=e,this}},function(e,n){e.exports=function(e,n){for(var t=[],o=(n=n||0)||0;o<e.length;o++)t[o-n]=e[o];return t}},function(e,n){e.exports=function(e,n,t){return e.on(n,t),{destroy:function(){e.removeListener(n,t)}}}},function(e,n){var t=[].slice;e.exports=function(e,n){if("string"==typeof n&&(n=e[n]),"function"!=typeof n)throw new Error("bind() requires a function");var o=t.call(arguments,2);return function(){return n.apply(e,o.concat(t.call(arguments)))}}},function(e,n){function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),t=Math.floor(n*this.jitter*e);e=0==(1&Math.floor(10*n))?e-t:e+t}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},function(e,n){e.exports={SDK_VERSION:"2.5.0",WSS_ADDRESS:"wss://ws.im.jiguang.cn",UPLOAD_FILE:"https://sdk.im.jiguang.cn/resource",DOWNLOAD_FILE:"http://10.10.2.12:8888",ALLOW_MSG_TYPE:["text","image","file","location","custom"],LOGIN_OUT_EVENT:[1,2],FROM_PLATFORM:"j",ACK_TIMEOUT:5e3,RESP_TIMEOUT:3e4,RETRY_TIMES:5,SYNC_INTERVAL:15e4,RECEIPT_REPORT_INTERVAL:2e3,RECEIPT_REPORT_MAX_SIZE:50,EVENT_KEY:"eve-k-",CONVERSATION_KEY:"conversations-",SYNC_TYPE_OPEN:1,SYNC_TYPE_CLOSE:0,FRIEND_INVITE:1,FRIEND_INVITED:2,PLAT_CHANNEL:"w",EVENTS:{ACK:"ack",INIT:"c_init",LOGIN:"login",REGISTER:"register",GET_USER_INFO:"get_across_user_info",GET_ACROSS_USER_INFO:"get_across_user_info",S_SINGLE_TEXT:"s_across_single_text",S_SINGLE_TEXT_:"s_single_text",MSG_SYNC:"msg_sync",MSG_RECV:"msg_recv",MSG_RECV_V2:"msg_recv_v2",SEND_GROUP_MSG:"send_group_msg",CREATE_GROUP:"create_group",GET_GROUPS_LIST:"get_groups_list",GET_GROUP_INFO:"get_group_info",ADD_GROUP_MEMBER:"add_group_member",ADD_ACROSS_GROUP_MEMBER:"add_across_group_member",DEL_GROUP_MEMBER:"del_group_member",DEL_ACROSS_GROUP_MEMBER:"del_across_group_member",GET_GROUP_MEMBERS:"get_group_members",UPDATE_GROUP_INFO:"update_group_info",EXIT_GROUP:"exit_group",EVENT_NOTIFICATION:"event_notification",GET_CONVERSATIONS:"get_conversations",GET_UPLOAD_TOKEN:"get_upload_token",NO_DISTURB:"no_disturb",ADD_MSG_NO_DISTURB_SINGLE:"add_msg_no_disturb_single",DELETE_MSG_NO_DISTURB_SINGLE:"delete_msg_no_disturb_single",ADD_MSG_NO_DISTURB_GROUP:"add_msg_no_disturb_group",DELETE_MSG_NO_DISTURB_GROUP:"delete_msg_no_disturb_group",ADD_MSG_NO_DISTURB_GLOBAL:"add_msg_no_disturb_global",DELETE_MSG_NO_DISTURB_GLOBAL:"delete_msg_no_disturb_global",DISCONNECT:"disconnect",GET_BLACK_LIST:"get_black_list",ADD_BLACK_LIST:"add_black_list",DEL_BLACK_LIST:"del_black_list",UPDATE_SELF_INFO:"update_user_inf",UPDATE_SELF_PWD:"update_user_pwd",ADD_MSG_SHIELD_GROUP:"add_msg_shield_group",DEL_MSG_SHIELD_GROUP:"del_msg_shield_group",ADD_FRIEND:"add_friend",DEL_FRIEND:"del_friend",UPDATE_FRIEND_MEMO:"update_friend_memo",GET_FRIEND_LIST:"get_friend_list",SYNC_CHECK:"sync_check",SYNC_CONVERSATION:"sync_conversation",SYNC_CONVERSATION_ACK:"sync_conversation_ack",MSG_RETRACT:"msg_retract",GET_RESOURCE:"get_resource",LIST_SHIELD_GROUP:"list_shield_group",SYNC_EVENT_CHECK:"sync_event_check",SYNC_EVENT:"sync_event",SYNC_EVENT_ACK:"sync_event_ack",RECEIPT_REPORT:"receipt_report",SYNC_RECEIPT_ACK:"sync_receipt_ack",SYNC_RECEIPT:"sync_receipt",RECEIPT_CHANGE:"receipt_change",UNREAD_GROUP_COUNT:"unread_group_count",UNREAD_SINGLE_COUNT:"unread_single_count",MSG_UNREAD_LIST:"msg_unread_list",TRANS_MSG_SINGLE:"trans_msg_single",TRANS_MSG_GROUP:"trans_msg_group",TRANS_MSG_PLATFORM:"trans_msg_platform",TRANS_MSG_REC:"trans_msg_rec",ADMIN_ADD_GROUP_MEMBER:"admin_add_group_member",APPLY_JOIN_GROUP:"apply_join_group",ROOM_LIST:"room_list",ROOM_LIST_SELF:"room_list_self",JOIN_ROOM:"join_room",EXIT_ROOM:"exit_room",ROOM_INFO:"room_info",SEND_ROOM_MSG:"send_room_msg",ROOM_MSG_SYNC:"room_msg_sync",GROUP_MEM_SILENCE:"group_mem_silence",ROOM_MSG_SYNC_HIS:"room_msg_sync_his",DISSOLVE_GROUP:"dissolve_group",ADD_GROUP_KEEPER:"add_group_keeper",DEL_GROUP_KEEPER:"del_group_keeper",CHANGE_GROUP_ADMIN:"change_group_admin",PUBLIC_GROUP_LIST:"public_group_list"}}},function(e,n,t){var o=t(59),i=function(e){this.channel=e,this.rid=this.channel.generateRid(),this.times=1};i.prototype.setEvent=function(e){return this.event=e,this},i.prototype.setData=function(e){return this.data=e,this},i.prototype.onSuccess=function(e){return"function"==typeof e&&(this.success=e),this},i.prototype.onFail=function(e){return"function"==typeof e&&(this.fail=e),this},i.prototype.onTimeout=function(e){if("function"==typeof e){this.timeout=e;var n=this;this.respTimeoutTaskId=setTimeout(function(){n.respTimeoutTask()},o.RESP_TIMEOUT)}return this},i.prototype.onAck=function(e){return"function"==typeof e&&(this.ack=e),this},i.prototype.onInnerCall=function(e){return"function"==typeof e&&(this.innerCall=e),this},i.prototype.onUserInfoGet=function(e){return"function"==typeof e&&(this.userInfoGet=e),this},i.prototype.addHook=function(e){return"function"==typeof e&&(this.hook=e),this},i.prototype.ackTimeoutTask=function(){if(this.times<o.RETRY_TIMES){this.channel.send(this.event,this._data),this.times++;var e=this;this.ackTimeoutTaskId=setTimeout(function(){e.ackTimeoutTask()},o.ACK_TIMEOUT)}else this.timeout&&this.timeout({rid:this.rid,data:this.data,response_timeout:!1}),delete this.channel.dataCache[this.rid];return this},i.prototype.respTimeoutTask=function(){if(this.times<o.RETRY_TIMES){this.channel.send(this.event,this._data),this.times++;var e=this;this.respTimeoutTaskId=setTimeout(function(){e.respTimeoutTask()},o.RESP_TIMEOUT)}else this.timeout&&this.timeout({rid:this.rid,data:this.data,response_timeout:!0}),delete this.channel.dataCache[this.rid];return this},i.prototype.cleanAckTimeout=function(){return this.ackTimeoutTaskId&&clearTimeout(this.ackTimeoutTaskId),this},i.prototype.cleanRespTimeout=function(){return this.respTimeoutTaskId&&clearTimeout(this.respTimeoutTaskId),this},i.prototype.send=function(){if(this.event&&this.data){var e=this;return this.ackTimeoutTaskId=setTimeout(function(){e.ackTimeoutTask()},o.ACK_TIMEOUT),this._data=JSON.parse(JSON.stringify(this.data)),this._data.rid=this.rid,this.channel.send(this.event,this._data),this.channel.dataCache[this.rid]=this,this}console.error("send fail，event and data can not empty")},e.exports=i},function(e,n){var t=function(e){this.args=e};t.prototype.onSuccess=function(e){return"function"==typeof e&&(this.success=e),this},t.prototype.onFail=function(e){return"function"==typeof e&&(this.fail=e),this},t.prototype.onTimeout=function(e){return"function"==typeof e&&(this.timeout=e),this},t.prototype.onAck=function(e){return"function"==typeof e&&(this.ack=e),this},e.exports=t},function(e,n){var t=function(e,n){this.current_user=e,this.current_appkey=n,this.version=1,this.from_platform="web"};t.prototype.setNeedReceipt=function(e){return this.need_receipt=e,this},t.prototype.setNoOffline=function(e){return this.no_offline=e,this},t.prototype.setNoNotification=function(e){return this.no_notification=e,this},t.prototype.setType=function(e){return this.type=e,this},t.prototype.setAtList=function(e){return this.at_list=e,this},t.prototype.setAppkey=function(e){return e&&(this.appkey=e),this},t.prototype.setTarget=function(e,n){return this.target_id=e.toString(),this.target_name=n,this},t.prototype.setFromName=function(e){return this.from_name=e,this},t.prototype.setText=function(e,n){return this.msg_type="text",this.msg_body={text:e},n&&(this.msg_body.extras=n),this},t.prototype.setImage=function(e,n){return this.msg_type="image",this.msg_body={media_id:e.media_id,media_crc32:e.media_crc32,width:e.width,height:e.height,format:e.format,fsize:e.fsize},n&&(this.msg_body.extras=n),this},t.prototype.setFile=function(e,n){return this.msg_type="file",this.msg_body={media_id:e.media_id,media_crc32:e.media_crc32,hash:e.hash,fsize:e.fsize,fname:e.fname},n&&(this.msg_body.extras=n),this},t.prototype.setCustomNotification=function(e){return e&&(this.custom_notification=e),this},t.prototype.setLocation=function(e,n){return this.msg_type="location",this.msg_body={latitude:e.latitude,longitude:e.longitude,scale:e.scale,label:e.label},n&&(this.msg_body.extras=n),this},t.prototype.setCustom=function(e,n){return this.msg_type="custom",this.msg_body=e,n&&(this.msg_body.extras=n),this},t.prototype.build=function(){var e=this.current_user;if("single"!=this.type&&"group"!=this.type&&"across_single"!=this.type&&"chatroom"!=this.type)return console.log("type must be single or group or chatroom");if(!this.target_id)return console.error("target_id must not null");if("text"==this.msg_type){if(!this.msg_body.text&&this.at_list&&"single"!=this.type)this.msg_body.text=" ";else if(!this.msg_body.text&&!this.at_list)return console.error("未设置文本消息内容")}else if("custom"==this.msg_type){if(!this.msg_body)return console.error("custom对象不能为空")}else if("image"==this.msg_type){if(!this.msg_body.media_id)return console.error("未设置image消息media_id字段");if(!this.msg_body.media_crc32)return console.error("未设置image消息media_crc32字段");if(!this.msg_body.width)return console.error("未设置image消息width字段");if(!this.msg_body.height)return console.error("未设置image消息height字段")}else if("file"==this.msg_type){if(!this.msg_body.media_id)return console.error("未设置file消息media_id字段");if(!this.msg_body.media_crc32)return console.error("未设置file消息media_crc32字段");if(!this.msg_body.fsize)return console.error("未设置file消息fsize字段");if(!this.msg_body.fname)return console.error("未设置file消息fname字段")}else{if("location"!=this.msg_type)return console.error("请设置合法的msg_type");if(!this.msg_body.latitude)return console.error("未设置location消息latitude字段");if(!this.msg_body.longitude)return console.error("未设置location消息longitude字段");if(!this.msg_body.scale)return console.error("未设置location消息scale字段");if(!this.msg_body.label)return console.error("未设置location消息label字段")}var n={version:this.version,target_type:this.type,from_platform:this.from_platform,target_id:this.target_id,target_name:this.target_name,from_id:e,from_name:this.from_name,create_time:(new Date).getTime(),msg_type:this.msg_type,msg_body:this.msg_body};this.appkey&&(n.target_appkey=this.appkey,n.from_appkey=this.current_appkey);var t={content:n};if(t.no_offline=this.no_offline,t.no_notification=this.no_notification,t.custom_notification=this.custom_notification,t.target_name=n.target_name,t.need_receipt=this.need_receipt,"single"==n.target_type)t.target_id=n.target_id;else if(t.target_gid=n.target_id,this.at_list&&this.at_list instanceof Array)t.users=this.at_list;else if(this.at_list&&!(this.at_list instanceof Array))return console.error("参数值不合法，at_list必须为数组类型");return this.appkey?t.appkey=this.appkey:t.appkey=this.current_appkey,t},e.exports=t},function(e,n){e.exports=function(){function e(e,n){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}function n(n,t,o,i,r,s){return e((a=e(e(t,n),e(i,s)))<<(c=r)|a>>>32-c,o);var a,c}function t(e,t,o,i,r,s,a){return n(t&o|~t&i,e,t,r,s,a)}function o(e,t,o,i,r,s,a){return n(t&i|o&~i,e,t,r,s,a)}function i(e,t,o,i,r,s,a){return n(t^o^i,e,t,r,s,a)}function r(e,t,o,i,r,s,a){return n(o^(t|~i),e,t,r,s,a)}function s(n,s){var a,c,u,l,p;n[s>>5]|=128<<s%32,n[14+(s+64>>>9<<4)]=s;var f=1732584193,d=-271733879,g=-1732584194,h=271733878;for(a=0;a<n.length;a+=16)c=f,u=d,l=g,p=h,d=r(d=r(d=r(d=r(d=i(d=i(d=i(d=i(d=o(d=o(d=o(d=o(d=t(d=t(d=t(d=t(d,g=t(g,h=t(h,f=t(f,d,g,h,n[a],7,-680876936),d,g,n[a+1],12,-389564586),f,d,n[a+2],17,606105819),h,f,n[a+3],22,-1044525330),g=t(g,h=t(h,f=t(f,d,g,h,n[a+4],7,-176418897),d,g,n[a+5],12,1200080426),f,d,n[a+6],17,-1473231341),h,f,n[a+7],22,-45705983),g=t(g,h=t(h,f=t(f,d,g,h,n[a+8],7,1770035416),d,g,n[a+9],12,-1958414417),f,d,n[a+10],17,-42063),h,f,n[a+11],22,-1990404162),g=t(g,h=t(h,f=t(f,d,g,h,n[a+12],7,1804603682),d,g,n[a+13],12,-40341101),f,d,n[a+14],17,-1502002290),h,f,n[a+15],22,1236535329),g=o(g,h=o(h,f=o(f,d,g,h,n[a+1],5,-165796510),d,g,n[a+6],9,-1069501632),f,d,n[a+11],14,643717713),h,f,n[a],20,-373897302),g=o(g,h=o(h,f=o(f,d,g,h,n[a+5],5,-701558691),d,g,n[a+10],9,38016083),f,d,n[a+15],14,-660478335),h,f,n[a+4],20,-405537848),g=o(g,h=o(h,f=o(f,d,g,h,n[a+9],5,568446438),d,g,n[a+14],9,-1019803690),f,d,n[a+3],14,-187363961),h,f,n[a+8],20,1163531501),g=o(g,h=o(h,f=o(f,d,g,h,n[a+13],5,-1444681467),d,g,n[a+2],9,-51403784),f,d,n[a+7],14,1735328473),h,f,n[a+12],20,-1926607734),g=i(g,h=i(h,f=i(f,d,g,h,n[a+5],4,-378558),d,g,n[a+8],11,-2022574463),f,d,n[a+11],16,1839030562),h,f,n[a+14],23,-35309556),g=i(g,h=i(h,f=i(f,d,g,h,n[a+1],4,-1530992060),d,g,n[a+4],11,1272893353),f,d,n[a+7],16,-155497632),h,f,n[a+10],23,-1094730640),g=i(g,h=i(h,f=i(f,d,g,h,n[a+13],4,681279174),d,g,n[a],11,-358537222),f,d,n[a+3],16,-722521979),h,f,n[a+6],23,76029189),g=i(g,h=i(h,f=i(f,d,g,h,n[a+9],4,-640364487),d,g,n[a+12],11,-421815835),f,d,n[a+15],16,530742520),h,f,n[a+2],23,-995338651),g=r(g,h=r(h,f=r(f,d,g,h,n[a],6,-198630844),d,g,n[a+7],10,1126891415),f,d,n[a+14],15,-1416354905),h,f,n[a+5],21,-57434055),g=r(g,h=r(h,f=r(f,d,g,h,n[a+12],6,1700485571),d,g,n[a+3],10,-1894986606),f,d,n[a+10],15,-1051523),h,f,n[a+1],21,-2054922799),g=r(g,h=r(h,f=r(f,d,g,h,n[a+8],6,1873313359),d,g,n[a+15],10,-30611744),f,d,n[a+6],15,-1560198380),h,f,n[a+13],21,1309151649),g=r(g,h=r(h,f=r(f,d,g,h,n[a+4],6,-145523070),d,g,n[a+11],10,-1120210379),f,d,n[a+2],15,718787259),h,f,n[a+9],21,-343485551),f=e(f,c),d=e(d,u),g=e(g,l),h=e(h,p);return[f,d,g,h]}function a(e){var n,t="";for(n=0;n<32*e.length;n+=8)t+=String.fromCharCode(e[n>>5]>>>n%32&255);return t}function c(e){var n,t=[];for(t[(e.length>>2)-1]=void 0,n=0;n<t.length;n+=1)t[n]=0;for(n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<n%32;return t}function u(e){var n,t,o="0123456789abcdef",i="";for(t=0;t<e.length;t+=1)n=e.charCodeAt(t),i+=o.charAt(n>>>4&15)+o.charAt(15&n);return i}function l(e){return unescape(encodeURIComponent(e))}function p(e){return a(s(c(n=l(e)),8*n.length));var n}function f(e,n){return function(e,n){var t,o,i=c(e),r=[],u=[];for(r[15]=u[15]=void 0,i.length>16&&(i=s(i,8*e.length)),t=0;t<16;t+=1)r[t]=909522486^i[t],u[t]=1549556828^i[t];return o=s(r.concat(c(n)),512+8*n.length),a(s(u.concat(o),640))}(l(e),l(n))}return function(e,n,t){return n?t?f(n,e):u(f(n,e)):t?p(e):u(p(e))}}},function(e,n){var t={isBlack:function(e){return!(e&&"string"==typeof e&&e.length>0)}},o={addItem:function(e,n){window.localStorage&&localStorage.setItem(e,n)},removeItems:function(e){if(window.localStorage){for(var n=localStorage.length,t=[],o=0;o<n;o++)localStorage.getItem(localStorage.key(o))===e&&t.push(localStorage.key(o));t.forEach(function(e){localStorage.removeItem(e)})}},getItem:function(e){return window.localStorage?localStorage.getItem(e):null}},i={delRepeatItem:function(e){var n=[];return e.forEach(function(e){-1===n.indexOf(e)&&null!=e&&n.push(e)}),n}},r={rooms:{}};e.exports={StringUtils:t,StorageUtils:o,ArrayUtils:i,Cache:r}}])})},d4b6:function(e,n,t){"use strict";(function(e){var n=o(t("e143"));function o(e){return e&&e.__esModule?e:{default:e}}e.__uniConfig={tabBar:{color:"#171F2C",selectedColor:"#4272FF",borderStyle:"black",backgroundColor:"#ffffff",list:[{pagePath:"pages/linlin/home/index",iconPath:"static/tabbar_icon_01_nor.png",selectedIconPath:"static/tabbar_icon_01_sel.png",text:"首页",redDot:!1,badge:""},{pagePath:"pages/classify/classify",iconPath:"static/tabbar_icon_02_nor.png",selectedIconPath:"static/tabbar_icon_02_sel.png",text:"分类",redDot:!1,badge:""},{pagePath:"pages/companion/companion",iconPath:"static/tabbar_icon_03_nor.png",selectedIconPath:"static/tabbar_icon_03_sel.png",text:"评估",redDot:!1,badge:""},{pagePath:"pages/linlin/find/find",iconPath:"static/tabbar_icon_04_nor.png",selectedIconPath:"static/tabbar_icon_04_sel.png",text:"发现",redDot:!1,badge:""},{pagePath:"pages/linlin/personal/center",iconPath:"static/tabbar_icon_05_nor.png",selectedIconPath:"static/tabbar_icon_05_sel.png",text:"我的",redDot:!1,badge:""}]},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationStyle:"custom",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"history",base:"/"},e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:3e3},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e3,connectSocket:6e3,uploadFile:6e3,downloadFile:6e3},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},n.default.component("pages-linlin-home-index",function(e){var n={component:t.e("pages-linlin-home-index").then(function(){return e(t("ef29"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-productList-recommend",function(e){var n={component:t.e("pages-productList-recommend").then(function(){return e(t("75b8"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-addCompany-addCompany",function(e){var n={component:t.e("pages-addCompany-addCompany").then(function(){return e(t("8351"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-search-search",function(e){var n={component:t.e("pages-search-search").then(function(){return e(t("796a"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-search-searchList-searchList",function(e){var n={component:t.e("pages-search-searchList-searchList").then(function(){return e(t("b577"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-evaluate-evaluate",function(e){var n={component:t.e("pages-evaluate-evaluate").then(function(){return e(t("b566"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-productList-productDetail-productDetail",function(e){var n={component:t.e("pages-productList-productDetail-productDetail").then(function(){return e(t("517d"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-companion-companion",function(e){var n={component:t.e("pages-companion-companion").then(function(){return e(t("5dce"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-companion-industry-industry",function(e){var n={component:t.e("pages-companion-industry-industry").then(function(){return e(t("15a2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-companion-industryTwo-industryTwo",function(e){var n={component:t.e("pages-companion-industryTwo-industryTwo").then(function(){return e(t("3a30"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-classify-classify",function(e){var n={component:t.e("pages-classify-classify").then(function(){return e(t("c311"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-home-index",function(e){var n={component:t.e("pages-linlin-home-index").then(function(){return e(t("ef29"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-find-find",function(e){var n={component:t.e("pages-linlin-find-find").then(function(){return e(t("e008"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-find-detail",function(e){var n={component:t.e("pages-linlin-find-detail").then(function(){return e(t("f44d"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-center",function(e){var n={component:t.e("pages-linlin-personal-center").then(function(){return e(t("4896"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-login",function(e){var n={component:t.e("pages-linlin-personal-login").then(function(){return e(t("d3ed"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-Data-data",function(e){var n={component:t.e("pages-linlin-personal-Data-data").then(function(){return e(t("d243"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-Data-Nickname",function(e){var n={component:t.e("pages-linlin-personal-Data-Nickname").then(function(){return e(t("fa62"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-Data-Fullname",function(e){var n={component:t.e("pages-linlin-personal-Data-Fullname").then(function(){return e(t("c4c6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-news-news",function(e){var n={component:t.e("pages-linlin-personal-news-news").then(function(){return e(t("af15"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-news-consult",function(e){var n={component:t.e("pages-linlin-personal-news-consult").then(function(){return e(t("2728"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-news-zan",function(e){var n={component:t.e("pages-linlin-personal-news-zan").then(function(){return e(t("ce4f"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-news-inform",function(e){var n={component:t.e("pages-linlin-personal-news-inform").then(function(){return e(t("51cb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-focus",function(e){var n={component:t.e("pages-linlin-personal-focus").then(function(){return e(t("0c81"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-collect-collect",function(e){var n={component:t.e("pages-linlin-personal-collect-collect").then(function(){return e(t("3a02"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-collect-item",function(e){var n={component:t.e("pages-linlin-personal-collect-item").then(function(){return e(t("6f97"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-center",function(e){var n={component:t.e("pages-linlin-personal-center").then(function(){return e(t("4896"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-collect-article_information",function(e){var n={component:t.e("pages-linlin-personal-collect-article_information").then(function(){return e(t("fdf7"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-collect-article_strategy",function(e){var n={component:t.e("pages-linlin-personal-collect-article_strategy").then(function(){return e(t("e927"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-collect-article_report",function(e){var n={component:t.e("pages-linlin-personal-collect-article_report").then(function(){return e(t("8a54"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-leave_message",function(e){var n={component:t.e("pages-linlin-personal-leave_message").then(function(){return e(t("5433"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-footmark",function(e){var n={component:t.e("pages-linlin-personal-footmark").then(function(){return e(t("ccad"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-discuss",function(e){var n={component:t.e("pages-linlin-personal-discuss").then(function(){return e(t("0ffa"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-feedback",function(e){var n={component:t.e("pages-linlin-personal-feedback").then(function(){return e(t("68e2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-about_us",function(e){var n={component:t.e("pages-linlin-personal-about_us").then(function(){return e(t("695f"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-contact",function(e){var n={component:t.e("pages-linlin-personal-contact").then(function(){return e(t("a5b6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-business",function(e){var n={component:t.e("pages-linlin-personal-business-business").then(function(){return e(t("ecd0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-account",function(e){var n={component:t.e("pages-linlin-personal-business-account").then(function(){return e(t("7942"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-investor",function(e){var n={component:t.e("pages-linlin-personal-business-investor").then(function(){return e(t("b34a"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-investor_detail",function(e){var n={component:t.e("pages-linlin-personal-business-investor_detail").then(function(){return e(t("cb28"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-add_record",function(e){var n={component:t.e("pages-linlin-personal-business-add_record").then(function(){return e(t("b60c"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-message_manage",function(e){var n={component:t.e("pages-linlin-personal-business-message_manage").then(function(){return e(t("b20e"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-message_detail",function(e){var n={component:t.e("pages-linlin-personal-business-message_detail").then(function(){return e(t("8562"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-company_name",function(e){var n={component:t.e("pages-linlin-personal-business-company_name").then(function(){return e(t("afb2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-company_brand",function(e){var n={component:t.e("pages-linlin-personal-business-company_brand").then(function(){return e(t("f0a7"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-company_adress",function(e){var n={component:t.e("pages-linlin-personal-business-company_adress").then(function(){return e(t("b0bc"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-linlin-personal-business-company_email",function(e){var n={component:t.e("pages-linlin-personal-business-company_email").then(function(){return e(t("536e"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-productList-productDetail-IM",function(e){var n={component:t.e("pages-productList-productDetail-IM").then(function(){return e(t("737c"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),n.default.component("pages-messageList-messageList",function(e){var n={component:t.e("pages-messageList-messageList").then(function(){return e(t("7d38"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),e.__uniRoutes=[{path:"/",alias:"/pages/linlin/home/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0},__uniConfig.globalStyle,{navigationBarTitleText:"首页"})},[e("pages-linlin-home-index",{slot:"page"})])}},meta:{id:1,name:"pages-linlin-home-index",isNVue:!1,pagePath:"pages/linlin/home/index",isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,windowTop:44}},{path:"/pages/productList/recommend",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"精品推荐"})},[e("pages-productList-recommend",{slot:"page"})])}},meta:{name:"pages-productList-recommend",isNVue:!1,pagePath:"pages/productList/recommend",windowTop:44}},{path:"/pages/addCompany/addCompany",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"企业入驻"})},[e("pages-addCompany-addCompany",{slot:"page"})])}},meta:{name:"pages-addCompany-addCompany",isNVue:!1,pagePath:"pages/addCompany/addCompany",windowTop:44}},{path:"/pages/search/search",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"搜索"})},[e("pages-search-search",{slot:"page"})])}},meta:{name:"pages-search-search",isNVue:!1,pagePath:"pages/search/search",windowTop:44}},{path:"/pages/search/searchList/searchList",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"招商列表"})},[e("pages-search-searchList-searchList",{slot:"page"})])}},meta:{name:"pages-search-searchList-searchList",isNVue:!1,pagePath:"pages/search/searchList/searchList",windowTop:44}},{path:"/pages/evaluate/evaluate",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"评估"})},[e("pages-evaluate-evaluate",{slot:"page"})])}},meta:{name:"pages-evaluate-evaluate",isNVue:!1,pagePath:"pages/evaluate/evaluate",windowTop:44}},{path:"/pages/productList/productDetail/productDetail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"产品详情"})},[e("pages-productList-productDetail-productDetail",{slot:"page"})])}},meta:{name:"pages-productList-productDetail-productDetail",isNVue:!1,pagePath:"pages/productList/productDetail/productDetail",windowTop:44}},{path:"/pages/companion/companion",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:2},__uniConfig.globalStyle,{})},[e("pages-companion-companion",{slot:"page"})])}},meta:{id:2,name:"pages-companion-companion",isNVue:!1,pagePath:"pages/companion/companion",isQuit:!0,isTabBar:!0,tabBarIndex:2,windowTop:44}},{path:"/pages/companion/industry/industry",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{})},[e("pages-companion-industry-industry",{slot:"page"})])}},meta:{name:"pages-companion-industry-industry",isNVue:!1,pagePath:"pages/companion/industry/industry",windowTop:44}},{path:"/pages/companion/industryTwo/industryTwo",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{})},[e("pages-companion-industryTwo-industryTwo",{slot:"page"})])}},meta:{name:"pages-companion-industryTwo-industryTwo",isNVue:!1,pagePath:"pages/companion/industryTwo/industryTwo",windowTop:44}},{path:"/pages/classify/classify",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:1},__uniConfig.globalStyle,{})},[e("pages-classify-classify",{slot:"page"})])}},meta:{id:3,name:"pages-classify-classify",isNVue:!1,pagePath:"pages/classify/classify",isQuit:!0,isTabBar:!0,tabBarIndex:1,windowTop:44}},{path:"/",alias:"/pages/linlin/home/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0},__uniConfig.globalStyle,{navigationBarTitleText:"加盟指南"})},[e("pages-linlin-home-index",{slot:"page"})])}},meta:{id:4,name:"pages-linlin-home-index",isNVue:!1,pagePath:"pages/linlin/home/index",isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,windowTop:44}},{path:"/pages/linlin/find/find",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:3},__uniConfig.globalStyle,{})},[e("pages-linlin-find-find",{slot:"page"})])}},meta:{id:5,name:"pages-linlin-find-find",isNVue:!1,pagePath:"pages/linlin/find/find",isQuit:!0,isTabBar:!0,tabBarIndex:3,windowTop:44}},{path:"/pages/linlin/find/detail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"资讯详情"})},[e("pages-linlin-find-detail",{slot:"page"})])}},meta:{name:"pages-linlin-find-detail",isNVue:!1,pagePath:"pages/linlin/find/detail",windowTop:44}},{path:"/pages/linlin/personal/center",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:4},__uniConfig.globalStyle,{navigationBarTitleText:"个人中心"})},[e("pages-linlin-personal-center",{slot:"page"})])}},meta:{id:6,name:"pages-linlin-personal-center",isNVue:!1,pagePath:"pages/linlin/personal/center",isQuit:!0,isTabBar:!0,tabBarIndex:4,windowTop:44}},{path:"/pages/linlin/personal/login",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"登录"})},[e("pages-linlin-personal-login",{slot:"page"})])}},meta:{name:"pages-linlin-personal-login",isNVue:!1,pagePath:"pages/linlin/personal/login",windowTop:44}},{path:"/pages/linlin/personal/Data/data",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"个人信息"})},[e("pages-linlin-personal-Data-data",{slot:"page"})])}},meta:{name:"pages-linlin-personal-Data-data",isNVue:!1,pagePath:"pages/linlin/personal/Data/data",windowTop:44}},{path:"/pages/linlin/personal/Data/Nickname",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"修改昵称"})},[e("pages-linlin-personal-Data-Nickname",{slot:"page"})])}},meta:{name:"pages-linlin-personal-Data-Nickname",isNVue:!1,pagePath:"pages/linlin/personal/Data/Nickname",windowTop:44}},{path:"/pages/linlin/personal/Data/Fullname",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"填写姓名"})},[e("pages-linlin-personal-Data-Fullname",{slot:"page"})])}},meta:{name:"pages-linlin-personal-Data-Fullname",isNVue:!1,pagePath:"pages/linlin/personal/Data/Fullname",windowTop:44}},{path:"/pages/linlin/personal/news/news",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的消息"})},[e("pages-linlin-personal-news-news",{slot:"page"})])}},meta:{name:"pages-linlin-personal-news-news",isNVue:!1,pagePath:"pages/linlin/personal/news/news",windowTop:44}},{path:"/pages/linlin/personal/news/consult",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"咨询消息"})},[e("pages-linlin-personal-news-consult",{slot:"page"})])}},meta:{name:"pages-linlin-personal-news-consult",isNVue:!1,pagePath:"pages/linlin/personal/news/consult",windowTop:44}},{path:"/pages/linlin/personal/news/zan",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"评论和赞"})},[e("pages-linlin-personal-news-zan",{slot:"page"})])}},meta:{name:"pages-linlin-personal-news-zan",isNVue:!1,pagePath:"pages/linlin/personal/news/zan",windowTop:44}},{path:"/pages/linlin/personal/news/inform",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的消息"})},[e("pages-linlin-personal-news-inform",{slot:"page"})])}},meta:{name:"pages-linlin-personal-news-inform",isNVue:!1,pagePath:"pages/linlin/personal/news/inform",windowTop:44}},{path:"/pages/linlin/personal/focus",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的关注"})},[e("pages-linlin-personal-focus",{slot:"page"})])}},meta:{name:"pages-linlin-personal-focus",isNVue:!1,pagePath:"pages/linlin/personal/focus",windowTop:44}},{path:"/pages/linlin/personal/collect/collect",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的收藏"})},[e("pages-linlin-personal-collect-collect",{slot:"page"})])}},meta:{name:"pages-linlin-personal-collect-collect",isNVue:!1,pagePath:"pages/linlin/personal/collect/collect",windowTop:44}},{path:"/pages/linlin/personal/collect/item",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"项目收藏"})},[e("pages-linlin-personal-collect-item",{slot:"page"})])}},meta:{name:"pages-linlin-personal-collect-item",isNVue:!1,pagePath:"pages/linlin/personal/collect/item",windowTop:44}},{path:"/pages/linlin/personal/center",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:4},__uniConfig.globalStyle,{navigationBarTitleText:"文章收藏"})},[e("pages-linlin-personal-center",{slot:"page"})])}},meta:{id:7,name:"pages-linlin-personal-center",isNVue:!1,pagePath:"pages/linlin/personal/center",isQuit:!0,isTabBar:!0,tabBarIndex:4,windowTop:44}},{path:"/pages/linlin/personal/collect/article_information",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"文章收藏"})},[e("pages-linlin-personal-collect-article_information",{slot:"page"})])}},meta:{name:"pages-linlin-personal-collect-article_information",isNVue:!1,pagePath:"pages/linlin/personal/collect/article_information",windowTop:44}},{path:"/pages/linlin/personal/collect/article_strategy",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"文章收藏"})},[e("pages-linlin-personal-collect-article_strategy",{slot:"page"})])}},meta:{name:"pages-linlin-personal-collect-article_strategy",isNVue:!1,pagePath:"pages/linlin/personal/collect/article_strategy",windowTop:44}},{path:"/pages/linlin/personal/collect/article_report",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"文章收藏"})},[e("pages-linlin-personal-collect-article_report",{slot:"page"})])}},meta:{name:"pages-linlin-personal-collect-article_report",isNVue:!1,pagePath:"pages/linlin/personal/collect/article_report",windowTop:44}},{path:"/pages/linlin/personal/leave_message",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的留言"})},[e("pages-linlin-personal-leave_message",{slot:"page"})])}},meta:{name:"pages-linlin-personal-leave_message",isNVue:!1,pagePath:"pages/linlin/personal/leave_message",windowTop:44}},{path:"/pages/linlin/personal/footmark",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的足迹"})},[e("pages-linlin-personal-footmark",{slot:"page"})])}},meta:{name:"pages-linlin-personal-footmark",isNVue:!1,pagePath:"pages/linlin/personal/footmark",windowTop:44}},{path:"/pages/linlin/personal/discuss",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"我的评论"})},[e("pages-linlin-personal-discuss",{slot:"page"})])}},meta:{name:"pages-linlin-personal-discuss",isNVue:!1,pagePath:"pages/linlin/personal/discuss",windowTop:44}},{path:"/pages/linlin/personal/feedback",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"意见反馈"})},[e("pages-linlin-personal-feedback",{slot:"page"})])}},meta:{name:"pages-linlin-personal-feedback",isNVue:!1,pagePath:"pages/linlin/personal/feedback",windowTop:44}},{path:"/pages/linlin/personal/about_us",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"关于我们"})},[e("pages-linlin-personal-about_us",{slot:"page"})])}},meta:{name:"pages-linlin-personal-about_us",isNVue:!1,pagePath:"pages/linlin/personal/about_us",windowTop:44}},{path:"/pages/linlin/personal/contact",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"联系我们"})},[e("pages-linlin-personal-contact",{slot:"page"})])}},meta:{name:"pages-linlin-personal-contact",isNVue:!1,pagePath:"pages/linlin/personal/contact",windowTop:44}},{path:"/pages/linlin/personal/business/business",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"企业中心"})},[e("pages-linlin-personal-business-business",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-business",isNVue:!1,pagePath:"pages/linlin/personal/business/business",windowTop:44}},{path:"/pages/linlin/personal/business/account",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"账户中心"})},[e("pages-linlin-personal-business-account",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-account",isNVue:!1,pagePath:"pages/linlin/personal/business/account",windowTop:44}},{path:"/pages/linlin/personal/business/investor",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"投资者管理"})},[e("pages-linlin-personal-business-investor",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-investor",isNVue:!1,pagePath:"pages/linlin/personal/business/investor",windowTop:44}},{path:"/pages/linlin/personal/business/investor_detail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"投资者管理详情"})},[e("pages-linlin-personal-business-investor_detail",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-investor_detail",isNVue:!1,pagePath:"pages/linlin/personal/business/investor_detail",windowTop:44}},{path:"/pages/linlin/personal/business/add_record",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"添加跟踪日志"})},[e("pages-linlin-personal-business-add_record",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-add_record",isNVue:!1,pagePath:"pages/linlin/personal/business/add_record",windowTop:44}},{path:"/pages/linlin/personal/business/message_manage",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"留言管理"})},[e("pages-linlin-personal-business-message_manage",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-message_manage",isNVue:!1,pagePath:"pages/linlin/personal/business/message_manage",windowTop:44}},{path:"/pages/linlin/personal/business/message_detail",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"留言详情"})},[e("pages-linlin-personal-business-message_detail",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-message_detail",isNVue:!1,pagePath:"pages/linlin/personal/business/message_detail",windowTop:44}},{path:"/pages/linlin/personal/business/company_name",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"企业名称"})},[e("pages-linlin-personal-business-company_name",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-company_name",isNVue:!1,pagePath:"pages/linlin/personal/business/company_name",windowTop:44}},{path:"/pages/linlin/personal/business/company_brand",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"品牌名"})},[e("pages-linlin-personal-business-company_brand",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-company_brand",isNVue:!1,pagePath:"pages/linlin/personal/business/company_brand",windowTop:44}},{path:"/pages/linlin/personal/business/company_adress",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"注册地址"})},[e("pages-linlin-personal-business-company_adress",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-company_adress",isNVue:!1,pagePath:"pages/linlin/personal/business/company_adress",windowTop:44}},{path:"/pages/linlin/personal/business/company_email",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"联系邮箱"})},[e("pages-linlin-personal-business-company_email",{slot:"page"})])}},meta:{name:"pages-linlin-personal-business-company_email",isNVue:!1,pagePath:"pages/linlin/personal/business/company_email",windowTop:44}},{path:"/pages/productList/productDetail/IM",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"及时通讯"})},[e("pages-productList-productDetail-IM",{slot:"page"})])}},meta:{name:"pages-productList-productDetail-IM",isNVue:!1,pagePath:"pages/productList/productDetail/IM",windowTop:44}},{path:"/pages/messageList/messageList",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"消息列表"})},[e("pages-messageList-messageList",{slot:"page"})])}},meta:{name:"pages-messageList-messageList",isNVue:!1,pagePath:"pages/messageList/messageList",windowTop:44}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,t("c8ba"))},e210:function(e,n,t){n=e.exports=t("2350")(!1),n.push([e.i,'@font-face{font-family:iconfont;  /* project id 1068869 */src:url(//at.alicdn.com/t/font_1068869_imtysducywn.eot);src:url(//at.alicdn.com/t/font_1068869_imtysducywn.eot#iefix) format("embedded-opentype"),url(//at.alicdn.com/t/font_1068869_imtysducywn.woff2) format("woff2"),url(//at.alicdn.com/t/font_1068869_imtysducywn.woff) format("woff"),url(//at.alicdn.com/t/font_1068869_imtysducywn.ttf) format("truetype"),url(//at.alicdn.com/t/font_1068869_imtysducywn.svg#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-size:%?35?%;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.icon-zonghe:before{content:"\\E69E"}.icon-shangjiantou:before{content:"\\E730"}.icon-xiajiantou:before{content:"\\E731"}.icon-youjiantou:before{content:"\\E732"}.icon-xiaoguanbi:before{content:"\\E733"}.icon-zuojiantou:before{content:"\\E734"}.icon-shouye:before{content:"\\E62E"}.icon-dizhi:before{content:"\\E672"}.icon-tongzhi:before{content:"\\E720"}.icon-praise:before{content:"\\E71A"}.icon-icon_group:before{content:"\\EB95"}.icon-huiyuan:before{content:"\\E640"}.icon-shangjiantou-:before{content:"\\E630"}.icon-xiajiantou-:before{content:"\\E631"}.icon-xiangyou:before{content:"\\E62B"}.icon-kefu:before{content:"\\E60D"}.icon-help:before{content:"\\E60B"}.icon-wo:before{content:"\\E663"}.icon-wenhao:before{content:"\\E67F"}.icon-guanbi:before{content:"\\E608"}.icon-phone:before{content:"\\E645"}.icon-haoping:before{content:"\\E612"}.icon-zhongping:before{content:"\\E61D"}.icon-chaping:before{content:"\\E60E"}.icon-gengduo:before{content:"\\E62F"}.icon-yuandianzhong:before{content:"\\E830"}.icon-tupian:before{content:"\\E632"}.icon-wode:before{content:"\\E616"}.icon-cart:before{content:"\\E692"}.icon-xiaoxi:before{content:"\\E6EB"}.icon-xiaoxi2:before{content:"\\E609"}.icon-laba:before{content:"\\E7B4"}.icon-xingxing:before{content:"\\E642"}.icon-fenxiang:before{content:"\\E61F"}.icon-chakan:before{content:"\\E600"}.icon-close:before{content:"\\E613"}.icon-xinyong:before{content:"\\E637"}\n\n/*每个页面公共css */\n\n/* 去掉border */.noBorder{border:0!important}\n\n/* 间隔线 */.cutting{height:%?20?%;width:100%;background-color:#f5f6fb}\n\n/* title开始 */.common-head{display:block;height:%?100?%;line-height:%?100?%;-webkit-box-shadow:0 %?3?% %?5?% #f5f6fb;box-shadow:0 %?3?% %?5?% #f5f6fb;background:#fff;position:relative}.common-title{display:block;font-size:%?36?%;text-align:center}\n\n/* title结束 */.arrow-back{width:%?64?%;height:%?64?%;vertical-align:middle;-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform:rotate(90deg);position:absolute;left:2%;top:%?18?%}.arrow-down{width:%?40?%;height:%?40?%;vertical-align:middle}\n\n/* 遮罩样式*/.mask{width:100vw;height:100vh;position:fixed;top:0;left:0;background-color:#000;opacity:.3;z-index:1000}\n\n/* modal 样式*/.modal{position:fixed;left:50%;top:50%;width:%?550?%;border-radius:%?10?%;-ms-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);-webkit-transform:translate(-50%,-50%) scale(1);background-color:#fff;z-index:2000}\n\n/*    琳琳的公共样式*/.fl{float:left}.fr{float:right}.clearfix:after{display:block;clear:both;content:"";visibility:hidden;height:0}.clearfix{zoom:1}.clear{clear:both}b,h1,h2,h3,h4,h5{font-weight:400}i{font-style:normal}uni-input{outline:none}.href_aaa{width:100%;height:100%;position:absolute;left:0;top:0;z-index:10}.common_head{width:100%;height:1rem;line-height:1rem;position:relative;background:#fff}.common_head h1{font-size:.36rem;color:#000;text-align:center}\n\n/* todo 需要修改图片 */.backBtn{width:.2rem;height:.35rem;\n       /* background: url(\'./assets/img/back.png\') no-repeat;*/background-size:100%;position:absolute;left:4%;top:.325rem;z-index:1}\n\n/*暂无数据*/.emptyBox{text-align:center;padding:1.8rem 0}.emptyBox uni-image{display:block;width:%?319?%;height:%?332?%;margin:0 auto .5rem}.emptyBox uni-text{color:#7a95f5;font-size:.28rem}',""])},ef31:function(e,n,t){"use strict";function o(e,n){var t=(65535&e)+(65535&n),o=(e>>16)+(n>>16)+(t>>16);return o<<16|65535&t}function i(e,n){return e<<n|e>>>32-n}function r(e,n,t,r,s,a){return o(i(o(o(n,e),o(r,a)),s),t)}function s(e,n,t,o,i,s,a){return r(n&t|~n&o,e,n,i,s,a)}function a(e,n,t,o,i,s,a){return r(n&o|t&~o,e,n,i,s,a)}function c(e,n,t,o,i,s,a){return r(n^t^o,e,n,i,s,a)}function u(e,n,t,o,i,s,a){return r(t^(n|~o),e,n,i,s,a)}function l(e){for(var n=1732584193,t=-271733879,i=-1732584194,r=271733878,l=0;l<e.length;l+=16){var p=n,f=t,d=i,g=r;n=s(n,t,i,r,e[l+0],7,-680876936),r=s(r,n,t,i,e[l+1],12,-389564586),i=s(i,r,n,t,e[l+2],17,606105819),t=s(t,i,r,n,e[l+3],22,-1044525330),n=s(n,t,i,r,e[l+4],7,-176418897),r=s(r,n,t,i,e[l+5],12,1200080426),i=s(i,r,n,t,e[l+6],17,-1473231341),t=s(t,i,r,n,e[l+7],22,-45705983),n=s(n,t,i,r,e[l+8],7,1770035416),r=s(r,n,t,i,e[l+9],12,-1958414417),i=s(i,r,n,t,e[l+10],17,-42063),t=s(t,i,r,n,e[l+11],22,-1990404162),n=s(n,t,i,r,e[l+12],7,1804603682),r=s(r,n,t,i,e[l+13],12,-40341101),i=s(i,r,n,t,e[l+14],17,-1502002290),t=s(t,i,r,n,e[l+15],22,1236535329),n=a(n,t,i,r,e[l+1],5,-165796510),r=a(r,n,t,i,e[l+6],9,-1069501632),i=a(i,r,n,t,e[l+11],14,643717713),t=a(t,i,r,n,e[l+0],20,-373897302),n=a(n,t,i,r,e[l+5],5,-701558691),r=a(r,n,t,i,e[l+10],9,38016083),i=a(i,r,n,t,e[l+15],14,-660478335),t=a(t,i,r,n,e[l+4],20,-405537848),n=a(n,t,i,r,e[l+9],5,568446438),r=a(r,n,t,i,e[l+14],9,-1019803690),i=a(i,r,n,t,e[l+3],14,-187363961),t=a(t,i,r,n,e[l+8],20,1163531501),n=a(n,t,i,r,e[l+13],5,-1444681467),r=a(r,n,t,i,e[l+2],9,-51403784),i=a(i,r,n,t,e[l+7],14,1735328473),t=a(t,i,r,n,e[l+12],20,-1926607734),n=c(n,t,i,r,e[l+5],4,-378558),r=c(r,n,t,i,e[l+8],11,-2022574463),i=c(i,r,n,t,e[l+11],16,1839030562),t=c(t,i,r,n,e[l+14],23,-35309556),n=c(n,t,i,r,e[l+1],4,-1530992060),r=c(r,n,t,i,e[l+4],11,1272893353),i=c(i,r,n,t,e[l+7],16,-155497632),t=c(t,i,r,n,e[l+10],23,-1094730640),n=c(n,t,i,r,e[l+13],4,681279174),r=c(r,n,t,i,e[l+0],11,-358537222),i=c(i,r,n,t,e[l+3],16,-722521979),t=c(t,i,r,n,e[l+6],23,76029189),n=c(n,t,i,r,e[l+9],4,-640364487),r=c(r,n,t,i,e[l+12],11,-421815835),i=c(i,r,n,t,e[l+15],16,530742520),t=c(t,i,r,n,e[l+2],23,-995338651),n=u(n,t,i,r,e[l+0],6,-198630844),r=u(r,n,t,i,e[l+7],10,1126891415),i=u(i,r,n,t,e[l+14],15,-1416354905),t=u(t,i,r,n,e[l+5],21,-57434055),n=u(n,t,i,r,e[l+12],6,1700485571),r=u(r,n,t,i,e[l+3],10,-1894986606),i=u(i,r,n,t,e[l+10],15,-1051523),t=u(t,i,r,n,e[l+1],21,-2054922799),n=u(n,t,i,r,e[l+8],6,1873313359),r=u(r,n,t,i,e[l+15],10,-30611744),i=u(i,r,n,t,e[l+6],15,-1560198380),t=u(t,i,r,n,e[l+13],21,1309151649),n=u(n,t,i,r,e[l+4],6,-145523070),r=u(r,n,t,i,e[l+11],10,-1120210379),i=u(i,r,n,t,e[l+2],15,718787259),t=u(t,i,r,n,e[l+9],21,-343485551),n=o(n,p),t=o(t,f),i=o(i,d),r=o(r,g)}return[n,t,i,r]}function p(e){for(var n="0123456789abcdef",t="",o=0;o<4*e.length;o++)t+=n.charAt(e[o>>2]>>o%4*8+4&15)+n.charAt(e[o>>2]>>o%4*8&15);return t}function f(e){for(var n=1+(e.length+8>>6),t=new Array(16*n),o=0;o<16*n;o++)t[o]=0;for(o=0;o<e.length;o++)t[o>>2]|=(255&e.charCodeAt(o))<<o%4*8;return t[o>>2]|=128<<o%4*8,t[16*n-2]=8*e.length,t}function d(e){return p(l(f(e)))}e.exports={MD5:d}},f96e:function(e,n,t){"use strict";t.r(n);var o=t("1373"),i=t("395b");for(var r in i)"default"!==r&&function(e){t.d(n,e,function(){return i[e]})}(r);t("0452");var s=t("2877"),a=Object(s["a"])(i["default"],o["a"],o["b"],!1,null,null,null);n["default"]=a.exports}});