1import{_ as H,u as K}from"./kr-list-DhwPYV3k.js";import{d as q}from"./comment-reply-dialog-BMYg4x0A.js";import{u as z}from"./useListRequester-Ci39_XYq.js";import{bo as j,bA as G,cz as S,cF as Y,bl as Z}from"./useConfig-DLqk4N_9.js";import{c as J,v as Q,K as W}from"./index-CWPdzgN0.js";import{k as L,r as b,A as X,u as s,m as p,n as f,q as n,G as g,E as C,C as $,F as k,t as M,ar as ee,an as P,ao as O,ap as U,o as te,a0 as se,z as D,h as oe,s as ne,Z as ae}from"./index-BMfzZz2f.js";import{E as ie}from"./index-DCU6Kl-8.js";import{u as re}from"./useMessageCenter-BCLfzTDn.js";import{e as le}from"./track-helpers-o_FINLWW.js";/* empty css */import{L as ue}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"./admin-logo-dr3brjVM.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:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="2ab9ebed-58bc-453c-9bf5-5a340d9e7dbe",t._sentryDebugIdIdentifier="sentry-dbid-2ab9ebed-58bc-453c-9bf5-5a340d9e7dbe")}catch(d){}})();const de=t=>(P("data-v-9c1adadb"),t=t(),O(),t),ce={class:"item-header flex-between-center mb-20"},me={class:"flex-vertical-center"},pe={class:"flex-vertical-center"},fe={class:"text-14 description"},ve={class:"flex-vertical-center"},ye={key:0,class:"badge mr-8"},be=de(()=>n("div",{class:"gap"},"·",-1)),ge={class:"description text-14 ml-4"},Ce=L({__name:"msg-like-item",props:{item:{type:Object,required:!0}},emits:["show-current-comment"],setup(t,{emit:r}){const d=t,I=r,_=j(),l=G(),{trackToDetail:h}=re(),{toPersonPage:B}=J(),E=b(!1),F=async e=>{e.id&&B({id:e.sendUserId,blank:!0})},v=e=>{var o,a,c;return e.detailType===S.POST?"å¸åï¼".concat((o=e==null?void 0:e.noticeContent)!=null?o:"å¸åå
容..."):e.detailType===S.COMMENT?"æçè¯è®ºï¼".concat((a=e==null?void 0:e.noticeContent)!=null?a:"å¸åå
容..."):"æçåå¤ï¼".concat((c=e==null?void 0:e.noticeContent)!=null?c:"å¸åå
容...")},u=async(e,o)=>{e.readState===1&&await l.fetchCleanOne({type:Y.LIKE,id:e.id}),e.source!==S.REPLY?i(e,void 0,{cId:e.postCommentId,f:e.numCount}):(h({new_msg:e.readState==1,message_id:e.id,post_id:e.postId,comment_id:e.postCommentId,reply_id:e.postCommentReplyId}),!e.noticeStatus&&I("show-current-comment",e))},i=(e,o,a={})=>{e.postCommentId&&e.source===S.COMMENT&&(o=void 0,e!=null&&e.postCommentId&&Reflect.set(a,"cId",e==null?void 0:e.postCommentId),e!=null&&e.numCount&&Reflect.set(a,"f",e==null?void 0:e.numCount)),h({new_msg:e.readState==1,message_id:e.id,post_id:e.postId,comment_id:e.postCommentId,reply_id:e.postCommentReplyId});const c=_.resolve({name:"PostDetail",params:{game:Number(e.gameId)===ee.pns?"pns":"mc",postId:e.postId},query:Object.assign(a,{enter_source:ie.NORMAL}),hash:o});window.open(c.href,"_blank")},y=e=>{E.value||!e||d.item.readState==2||(l.pushItem(d.item),E.value=!0)};return(e,o)=>X((p(),f("div",{class:M(["",{read:t.item.readState!==1}])},[n("div",ce,[n("div",me,[g(W,{id:t.item.sendUserId,"identify-type":s(le)(t.item),src:t.item.sendUserHeadUrl,class:"icon mr-20","show-frame":"","frame-url":t.item.sendUserHeadFrameUrl,blank:""},null,8,["id","identify-type","src","frame-url"]),n("p",pe,[n("span",{class:"title text-14 pr-8 txt-overflow-ellipsis-1",onClick:o[0]||(o[0]=a=>F(t.item))},C(t.item.sendUserName),1),n("span",fe,C(t.item.noticeTitle),1)])]),n("div",ve,[t.item.readState===1?(p(),f("span",ye)):$("",!0),t.item.noticeStatus?$("",!0):(p(),f(k,{key:1},[n("button",{class:"btn mr-4",onClick:o[1]||(o[1]=a=>i(t.item))}," æ¥çåå¸ "),be],64)),n("span",ge,C(t.item.showTime),1)])]),n("div",{class:M(["item-content txt-overflow-ellipsis-1 p-16",t.item.noticeStatus?"":"pointer"]),onClick:o[2]||(o[2]=a=>u(t.item))},C(v(t.item)),3)],2)),[[s(Q),y]])}}),Ie=U(Ce,[["__scopeId","data-v-9c1adadb"]]),V=t=>(P("data-v-dde2e89c"),t=t(),O(),t),_e=V(()=>n("h2",{class:"title text-18 pb-20"},"ç¹èµ",-1)),he={class:"content-section"},Ee={class:"list mt-8"},xe=V(()=>n("div",{class:""},C("ï¼ä»
æ¾ç¤ºæè¿2å¹´çæ¶æ¯è®°å½ï¼"),-1)),we=L({__name:"like-list",setup(t){const{queryParams:r,tableData:d,loadM
1ore:I,loadData:_,hasNext:l,pagination:h,isInit:B,isError:E}=z("/user/notice/like/page","noticeVos",{forceHasNext:!0});r.scan=0;const F=Z(),v=b(),u=b(!1),i=b({}),y=b(""),e=async m=>{i.value=m,m.postCommentReplyId&&(y.value=m.postCommentReplyId),u.value=!0},o=()=>{y.value="",u.value=!1},a=()=>{r.scan=0,_({updateIdx:h.pageIndex,filterKey:"id"}),o()},c=async()=>{const{canScroll:m,cleanup:x}=K(ne(document.body),{instant:!0});try{m.value||I()}finally{x()}};return te(async()=>{v.value=await _({type:1}),await c()}),(m,x)=>{var T,R,N,A;return p(),f(k,null,[_e,n("div",he,[g(H,{list:s(d),"has-next":s(l),description:s(l)?"":"ææ å
容","is-init":s(B),"sub-description":!s(l)&&((T=s(v))!=null&&T.ignoreHistory)?"ï¼ä»
æ¾ç¤ºæè¿2å¹´çæ¶æ¯è®°å½ï¼":"","min-height":"calc(100vh - 60px - 248px - 24px)","auto-load-more":!s(E),onNextPage:s(I)},se({skeleton:D(()=>[g(s(ue),{count:6})]),default:D(()=>[n("ul",Ee,[(p(!0),f(k,null,ae(s(d),w=>(p(),f("li",{key:w.id,class:"item mb-20 pb-20 mt-20"},[g(Ie,{item:w,onShowCurrentComment:e},null,8,["item"])]))),128))])]),_:2},[!s(l)&&((R=s(v))!=null&&R.ignoreHistory)?{name:"lastAppendTxt",fn:D(()=>[xe]),key:"0"}:void 0]),1032,["list","has-next","description","is-init","sub-description","auto-load-more","onNextPage"])]),g(q,{value:s(u),"onUpdate:value":x[0]||(x[0]=w=>oe(u)?u.value=w:null),"post-id":(N=s(i).postId)!=null?N:"","game-id":s(i).gameId||s(F).config.gameId+"","post-comment-id":(A=s(i).postCommentId)!=null?A:"","post-user-id":s(i).userId,floor:s(i).numCount,"select-reply-id":s(y),class:"list-container",onOnClosed:o,onAfterDelete:a},null,8,["value","post-id","game-id","post-comment-id","post-user-id","floor","select-reply-id"])],64)}}}),nt=U(we,[["__scopeId","data-v-dde2e89c"]]);export{nt 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.