1import{a as e}from"./TlB3nTm7.js";import{n as t}from"./CtXUZz7X.js";import{t as n}from"./DO1OS0wm2.js";import{t as r}from"./DBTX75aZ.js";import{n as i,t as a}from"./DyRO5Gp5.js";import{t as o}from"./CYPp7APP2.js";var s=t(`notification`,{state:()=>({importants:[],announces:[],timelines:[],responses:[],works:[],topics:[],publishedNovels:[]}),getters:{$api(){let{$api:t}=e();return t}},actions:{setImportants(e){this.importants=e},setAnnounces(e){this.announces=e},setTimelines(e){this.timelines=e},setResponses(e){this.responses=e},setWorks(e){this.works=e},setTopics(e){this.topics=e},setPublishedNovels(e){this.publishedNovels=e},addProfileCommentToTimeline(e){this.timelines.unshift(e)},async requestUpdateLikeStatusComment({comment:e}){let t=e.alreadyLiked?new a(e.id):new i(e.id),{commentId:r,alreadyLiked:o,likedCount:s}=await this.$api.request(t),c=this.timelines.find(e=>e.id===r);return c&&(c.alreadyLiked=o,c.likedCount=s),{message:n(t.parameters)}},async requestDeleteTimelinesComment({comment:e}){let t=new r(e.commentId);return await this.$api.request(t),this.timelines.forEach((e,t)=>{e.commentId===e.commentId&&this.timelines.splice(t,1)}),{message:n(t.parameters)}},async reloadTimeline(){await o(this.timelines)}}});export{s as t};
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.