Files

33 lines
55 KiB
Plaintext
Raw Normal View History

2026-11-06 08:29:11 +08:00
0\r§mûüTš&t https://now.bdstatic.com/store/v2/e8a15f8/fe-cms/46416aa/js/chat.18ab559a1184a0ce.js"use strict";(self.webpackChunkFeReactApp=self.webpackChunkFeReactApp||[]).push([["2730"],{80241:function(e,t,r){r.r(t),r.d(t,{default:function(){return ek}}),r(153998),r(111675),r(128791),r(89148),r(821633),r(399181),r(914315),r(780447),r(428995),r(960953),r(154681),r(797736),r(152026),r(271309);var n=r(491188),a=r(728359),s=r.n(a);r(562066),r(978620),r(926105);var i=r(336983),o=r(957232),c=r(730681),l=r(126992),u=r(293705);r(541615),r(588758),r(695856),r(380841),r(967440);var d=r(103600),p=r.n(d),h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e||{},r=t.last_content,a=t.last_msgtype,s=t.at_msgid,i=t.uk,o=t.draft,c="";if(o)return(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{style:{color:"red"},children:"[\u8349\u7A3F] "}),null==o?void 0:o.text]});if(!r)return null;switch(+a){case u.MSG_TYPE.TEXT:case u.MSG_TYPE.AT:c=null==r?void 0:r.text;break;case u.MSG_TYPE.IMAGE:c="[\u56FE\u7247]";break;case u.MSG_TYPE.VOICE:c="[\u8BED\u97F3\u6D88\u606F]";break;case u.MSG_TYPE.ARTICLE:c="[\u56FE\u6587\u6D88\u606F]";break;case u.MSG_TYPE.HTML_MSG:c=r.html&&r.html.split("<br>")[0];break;case u.MSG_TYPE.GOODS:c="[\u5546\u54C1]".concat(r.title);break;case u.MSG_TYPE.INVITE:c="[\u9080\u8BF7\u4F60\u52A0\u5165\u7FA4\u804A]";break;case u.MSG_TYPE.GROUP_ADD_MEMBER_INVITE:case u.MSG_TYPE.GROUP_ADD_MEMBER_QRCODE:case u.MSG_TYPE.GROUP_QUIT:case u.MSG_TYPE.GROUP_MEMBER_REMOVE:case u.MSG_TYPE.GROUP_INFO_UPDATE:case u.MSG_TYPE.GROUP_DISMISS:case u.MSG_TYPE.GROUP_MUTE:c="[\u7CFB\u7EDF\u901A\u77E5]";break;case u.MSG_TYPE.GROUP_MEMBER_MUTE:c=0===r.operator?"":"[\u7CFB\u7EDF\u901A\u77E5]";break;default:c="[\u672A\u77E5\u7C7B\u578B]"}var l="1"===window.sessionStorage.getItem("".concat(i,"_").concat(s));s&&!l&&(c=(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{style:{color:"#E02020 "},children:"[\u6709\u4EBA@\u6211]"})," ",r&&r.text]}));try{var d=JSON.parse(e.ext);3===+d.call_from&&(c="[\u81EA\u52A8\u56DE\u590D] ".concat(c))}catch(e){}return c},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!+e)return null;var t=e;10===t.toString().length&&(t*=1e3);var r=p()(+t),n=p()().add(1,"day").startOf("day"),a=p()().add(-1,"day").startOf("day");return r>=p()().startOf("day")&&r<n?r.format("H:mm"):r>a?"\u6628\u65E5":r>=n.startOf("year")?r.format("MM/DD"):r.format("YYYY/MM/DD")};class b extends s().Component{componentDidMount(){this.props.chat.showCard=this.showCard.bind(this)}UNSAFE_componentWillReceiveProps(e){e.chat.showCard=this.showCard.bind(this)}showCard(){this.setState({visible:!0})}actionWrap(e){var t=this.props.chat,r=t.at_msgid,n=t.uk;this.setState({menuVisible:!1}),e&&e(),window.sessionStorage.setItem("".concat(n,"_").concat(r),1)}renderActionMenu(){var e=this.props.chat;return this.props.getActionMenu(e).map(e=>e.perm&&(0,n.jsxs)("div",{className:"msg-action-item-wrap\n ".concat(e.disabled?"disabled":"","\n ").concat(e.subMenu?"has-sub":""),onClick:!e.disabled&&this.actionWrap.bind(this,e.action),children:[(0,n.jsx)("div",{className:"msg-action-item-content",children:e.name}),e.subMenu?(0,n.jsxs)("div",{className:"msg-action-icon-wrap",children:[(0,n.jsx)("div",{className:"msg-action-item-subicon"}),(0,n.jsx)("div",{className:"msg-action-submenu",children:e.subMenu.map(e=>(0,n.jsxs)("div",{className:"msg-action-submenu-item",onClick:this.actionWrap.bind(this,e.action),children:[(0,n.jsx)("div",{className:"msg-action-submenu-icon",children:e.selected?(0,n.jsx)("div",{className:"msg-action-check"}):""}),(0,n.jsx)("div",{children:e.name})]},e.name))})]}):""]},e.name))}toggleCard(e){e||this.setState({visible:e})}onMenuVisibleChange(e){this.setState({menuVisible:e}),e&&(window.MP&&window.MP.stats&&window.MP.stats({urlkey:"\u8BBE\u7F6E\u6309\u94AE\u2014\u2014\u70B9\u51FBPV/UV"}),this.setState({visible:!1}))}render(){var e=this.props,t=e.chat,r=void 0===t?{}:t,a=e.noDesc,s=e.noTopSign,i=e.curUk,o=e.handleSelectChat,d=this.state,p=d.visible
//# sourceMappingURL=chat.18ab559a1184a0ce.js.mapØA
—Eoúô^sð
GET (ß È"
accept-rangesbytes"(
access-control-allow-credentialstrue"
access-control-allow-origin*"
age3641"G
cache-control6public, max-age=31536000, s-maxage=31536000, immutable"
content-encodingbr"'
content-md56GVrjECc8lXePbbFiM3XMQ=="5
content-type%application/javascript; charset=utf-8"%
dateThu, 05 Nov 2026 09:11:37 GMT"*
etag""e8656b8c409cf255de3db6c588cdd731""(
expiresSun, 08 Nov 2026 07:55:53 GMT".
last-modifiedThu, 05 Nov 2026 06:18:38 GMT"*
ohc-cache-hitcz7cm51 [2], sz2ix107 [2]"
ohc-file-size12854"6
ohc-global-saved-timeThu, 05 Nov 2026 07:55:53 GMT"
server JSP3/2.0.14"+
strict-transport-securitymax-age=259200"
timing-allow-origin*"!
x-bce-content-crc32
4028199774""
x-bce-content-crc32c
1466659649"/
x-bce-content-crc64ecma14464296221911217451"j