1 line
37 KiB
JavaScript
1 line
37 KiB
JavaScript
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.websdk=t():e.websdk=t()}(this,(function(){return(this.webpackChunkwebsdk=this.webpackChunkwebsdk||[]).push([[564],{7479:function(e,t,r){r.r(t),r.d(t,{acceptContactInvite:function(){return X},acceptInvitation:function(){return L},addContact:function(){return x},addReaction:function(){return Y},addToBlackList:function(){return D},addUsersToBlacklist:function(){return K},addUsersToBlocklist:function(){return H},declineContactInvite:function(){return J},declineInvitation:function(){return G},deleteContact:function(){return z},deleteConversation:function(){return j},deleteReaction:function(){return $},deleteSession:function(){return R},fetchHistoryMessages:function(){return U},fetchUserInfoById:function(){return w},getAllContacts:function(){return le},getBlacklist:function(){return T},getBlocklist:function(){return S},getContacts:function(){return I},getContactsWithCursor:function(){return pe},getConversationlist:function(){return C},getHistoryMessages:function(){return Z},getReactionDetail:function(){return re},getReactionList:function(){return ee},getReactionlist:function(){return te},getRoster:function(){return E},getServerConversations:function(){return oe},getServerPinnedConversations:function(){return ie},getSessionList:function(){return A},getTokenExpireTimestamp:function(){return P},modifyMessage:function(){return V},pinConversation:function(){return ce},recallMessage:function(){return Q},removeFromBlackList:function(){return q},removeHistoryMessages:function(){return ne},removeRoster:function(){return B},removeUserFromBlackList:function(){return W},removeUserFromBlocklist:function(){return F},reportMessage:function(){return ae},setContactRemark:function(){return ue},updateCurrentUserNick:function(){return O},updateOwnUserInfo:function(){return N},updateUserInfo:function(){return b},uploadPushToken:function(){return _},uploadToken:function(){return k}}),r(9601),r(1539),r(8674),r(2526),r(1817),r(2165),r(6992),r(8783),r(3948),r(9554),r(4747),r(2222),r(7941),r(6699),r(3710),r(9714),r(9600),r(5069),r(561),r(9753),r(8309),r(1249);var a=r(3246),n=r(5531),o=r(7252),s=r(4370),i=r(8161),c=r(4188),u=r.n(c),l=r(7360),p=r(1595),h=r(4363),d=r(7288),f=r(9743),m=function(){return m=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},m.apply(this,arguments)},g=function(e,t,r,a){return new(r||(r=Promise))((function(n,o){function s(e){try{c(a.next(e))}catch(e){o(e)}}function i(e){try{c(a.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((a=a.apply(e,t||[])).next())}))},y=function(e,t){var r,a,n,o,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,a&&(n=2&o[0]?a.return:o[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;switch(a=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,a=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((n=(n=s.trys).length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){s.label=o[1];break}if(6===o[0]&&s.label<n[1]){s.label=n[1],n=o;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(o);break}n[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],a=0}finally{r=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},v={chat:"singleChat",chatroom:"chatRoom",groupchat:"groupChat",singleChat:"singleChat",chatRoom:"chatRoom",groupChat:"groupChat"};function T(e){if(!a.XZ.call(this)){var t=o.Z.
|