1import{u as K,_ as q}from"./kr-list-DhwPYV3k.js";import{d as G}from"./comment-reply-dialog-BMYg4x0A.js";import{bo as j,bA as z,cF as Z,bl as J}from"./useConfig-DLqk4N_9.js";import{u as Q}from"./useListRequester-Ci39_XYq.js";import{c as W,v as X,K as Y}from"./index-CWPdzgN0.js";import{I as ee}from"./admin-logo-dr3brjVM.js";import{k as $,r as g,A as te,u as s,m as a,n as r,q as n,G as b,D as se,E as p,C as h,t as oe,ar as ne,ap as V,o as ie,a0 as ae,z as T,h as re,F as L,s as le,Z as ue,an as ce,ao as de}from"./index-BMfzZz2f.js";import{E as me}from"./index-DCU6Kl-8.js";import{u as pe}from"./useMessageCenter-BCLfzTDn.js";import{e as fe}from"./track-helpers-o_FINLWW.js";/* empty css */import{L as ye}from"./list-msg-skeleton-CtjDCHx1.js";import"./kr-empty-VwY3f9yI.js";import"./editor-helper-CtzWU_0r.js";import"./constant-Jk6oH06X.js";import"./types-CIUv3rgV.js";import"./el-input-BGHNzqxF.js";import"./useCallApp-JorNIVgI.js";import"./index-CZly7Czk.js";/* empty css */import"./edition-QQJC1iss.js";import"./kr-button-CdLzKUTK.js";import"./app-mount-59e7p8wI.js";import"./index-MDdLk3nm.js";import"./compress-with-ai-mark-C_pD0Rd2.js";import"./usePostTrackParams-C4a3bZ3g.js";import"./helper-DSZogfxD.js";import"./app-bridge-PA9a5H5h.js";/* empty css */import"./sentry-handler-CCDRxDqW.js";import"./list-skeleton-51rTi550.js";import"./base-post-skeleton-PYTsR-dw.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new t.Error().stack;f&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[f]="086413e6-7f2c-41c0-883b-c689d3bfcba8",t._sentryDebugIdIdentifier="sentry-dbid-086413e6-7f2c-41c0-883b-c689d3bfcba8")}catch(u){}})();const ve={class:"msg-comment-item"},ge={class:"item-header flex-between-center mb-20"},Ce={class:"flex-vertical-center"},Ie={class:"flex-vertical-center"},be=["src"],he={class:"text-14 description"},_e={class:"flex-vertical-center"},xe={key:0,class:"badge mr-8"},we={key:2,class:"description px-4"},Be={class:"description text-14"},Se={class:"article mb-12 txt-overflow-ellipsis-4"},Ee=$({__name:"msg-comment-item",props:{item:{type:Object,required:!0}},emits:["show-current-comment"],setup(t,{emit:f}){const u=t,_=f,D=j(),{toPersonPage:y}=W(),{trackToDetail:k}=pe(),x=z(),w=g(!1),F=e=>e.postCommentReplyId?"åå¤äºæçè¯è®º":"è¯è®ºäºæçå¸å",C=async e=>{e.id&&y({id:e.sendUserId,blank:!0})},B=async e=>{k({new_msg:e.readState==1,message_id:e.id,post_id:e.postId,comment_id:e.postCommentId,reply_id:e.postCommentReplyId}),e.readState===1&&await x.fetchCleanOne({type:Z.COMMENT,id:e.id}),e.detailType===1?S({item:e,query:{cId:e.postCommentId}}):!e.noticeStatus&&_("show-current-comment",e)},S=async({item:e,hash:o,query:l={},needScroll:d=!0})=>{e.postCommentId&&d&&(o=void 0,e!=null&&e.postCommentId&&Reflect.set(l,"cId",e==null?void 0:e.postCommentId),e!=null&&e.numCount&&Reflect.set(l,"f",e==null?void 0:e.numCount));const v=D.resolve({name:"PostDetail",params:{game:Number(e.gameId)===ne.pns?"pns":"mc",postId:e.postId},hash:o,query:Object.assign(l,{enter_source:me.NORMAL})});window.open(v.href,"_blank")},c=e=>{w.value||!e||u.item.readState==2||(x.pushItem(u.item),w.value=!0)};return(e,o)=>{var l,d,v;return te((a(),r("div",ve,[n("div",ge,[n("div",Ce,[b(Y,{id:t.item.sendUserId,ref:"avatarRef","identify-type":s(fe)(t.item),class:"icon mr-12",src:t.item.sendUserHeadUrl,"show-frame":"","frame-url":t.item.sendUserHeadFrameUrl,blank:""},null,8,["id","identify-type","src","frame-url"]),n("p",Ie,[n("span",{class:"title text-14 pr-8 txt-overflow-ellipsis-1",onClick:o[0]||(o[0]=E=>C(t.item))},[se(p(t.item.sendUserName)+" ",1),(d=(l=t.item)==null?void 0:l.editorIdentifyList)!=null&&d.length?(a(),r("img",{key:0,class:"w-33 ml-4",src:s(ee),alt:"admin-logo"},null,8,be)):h("",!0)]),n("span",he,p(F(t.item)),1)])]),n("div",_e,[t.item.readState===1?(a(),r("span",xe)):h("",!0),t.item.noticeStatus?h("",!0):(a(),r("button",{key:1,class:"btn",onClick:o[1]||(o[1]=E=>S({item:t.item,needScroll:!1}))}," æ¥çåå¸ ")),t.item.noticeStatus?h("",!0):(a(),r("span",we,"·")),n("span",Be,p(t.item.showTime),1)])]),n("div",{class:"item-content",onClick:o[2]||(o[2]=E=>B(t.item))},[n("article",Se,p(t.item.noticeTitle),1),n("div",{class:oe(["main-content txt-overflow-ellipsis-1 p-16",t.item.noticeStatus?"":"pointer"])},p(t.item.detailType===1?"å¸å":"æçè¯è®º")+"ï¼ "+p((v=t.item.noticeContent)!=null?v:"å¸åæ é¢"),3)])])),[[
1s(X),c]])}}}),De=V(Ee,[["__scopeId","data-v-7ad1aff2"]]),O=t=>(ce("data-v-13cf5962"),t=t(),de(),t),ke=O(()=>n("h2",{class:"title text-18 pb-20"},"è¯è®º",-1)),Fe={class:"content-section"},Te={key:0,class:"list mt-8"},Re=["dataset-id","onMouseenter"],Ae=O(()=>n("div",{class:""},p("ï¼ä»
æ¾ç¤ºæè¿2å¹´çæ¶æ¯è®°å½ï¼"),-1)),Me=$({__name:"comment-list",setup(t){const{queryParams:f,tableData:u,loadMore:_,loadData:D,hasNext:y,pagination:k,retryLoadData:x,isInit:w,isError:F}=Q("/user/notice/comment/page","noticeVos",{forceHasNext:!0});f.type=2;const C=g(),B=J(),S=g(null),c=g(!1),e=g({}),o=g(""),l=async i=>{i.commentStatus!==1&&(e.value=i,i.postCommentReplyId&&(o.value=i.postCommentReplyId),c.value=!0)},d=()=>{o.value="",c.value=!1},v=async()=>{await D({updateIdx:k.pageIndex,filterKey:"id"}),d()},E=async i=>{await _()},U=async()=>{const{canScroll:i,cleanup:m}=K(le(document.body),{instant:!0});try{i.value||_()}finally{m()}};return ie(async()=>{var i;const m=(i=B.timeSwitchConfig)==null?void 0:i.noticeCenterTryTimes;C.value=await x({retryNum:m?m-1:void 0}),await U()}),(i,m)=>{var R,A,M,N;const P=q;return a(),r(L,null,[ke,n("div",Fe,[b(P,{list:s(u),"has-next":s(y),"min-height":"calc(100vh - 60px - 248px - 24px)",description:s(y)?"":"ææ å
容","is-init":s(w),"sub-description":!s(y)&&((R=s(C))!=null&&R.ignoreHistory)?"ï¼ä»
æ¾ç¤ºæè¿2å¹´çæ¶æ¯è®°å½ï¼":"","auto-load-more":!s(F),onNextPage:E},ae({skeleton:T(()=>[b(s(ye),{count:6})]),default:T(()=>[s(u)?(a(),r("ul",Te,[(a(!0),r(L,null,ue(s(u),(I,H)=>(a(),r("li",{key:I.id,class:"item py-16","dataset-id":I.id,onMouseenter:Ne=>S.value=H},[b(De,{item:I,onShowCurrentComment:l},null,8,["item"])],40,Re))),128))])):h("",!0)]),_:2},[!s(y)&&((A=s(C))!=null&&A.ignoreHistory)?{name:"lastAppendTxt",fn:T(()=>[Ae]),key:"0"}:void 0]),1032,["list","has-next","description","is-init","sub-description","auto-load-more"])]),b(G,{value:s(c),"onUpdate:value":m[0]||(m[0]=I=>re(c)?c.value=I:null),"post-id":(M=s(e).postId)!=null?M:"","game-id":s(e).gameId||s(B).config.gameId+"","forum-id":s(e).forumId,"post-comment-id":(N=s(e).postCommentId)!=null?N:"","select-reply-id":s(o),"is-multi-page-load":"",floor:s(e).numCount,class:"list-container",onOnClosed:d,onAfterDelete:v},null,8,["value","post-id","game-id","forum-id","post-comment-id","select-reply-id","floor"])],64)}}}),ft=V(Me,[["__scopeId","data-v-13cf5962"]]);export{ft as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.