1import { $ as St, $a as jt, Ab as At, B as Z, Bb as tt, Cb as Ht, Fa as It, Ia as Et, Ma as Tt, P as wt, Q as kt, W as yt, Wa as Ft, Xa as Vt, ab as I, cb as Lt, fa as Nt, ha as Dt, sb as zt, tb as Bt, ub as $t, zb as Ut } from "./chunk-ADK5RMM3.js"; 2import { $d as vt, Ad as D, B as H, Ca as k, Cb as ut, Da as q, Dd as Mt, E as dt, Eb as y, Fb as Ct, Ib as $, Jb as U, K as pt, Ma as u, Na as C, Pa as gt, Q as j, Qa as E, R as Q, Ra as T, Sa as h, Sb as ht, T as z, Ta as a, Ua as c, Va as f, W as P, X as b, Yb as G, Yd as K, Zb as J, _d as Ot, ab as O, ae as W, ba as nt, cb as _, cc as xt, ce as it, d as A, de as L, eb as p, ee as Y, fe as ie, ib as X, j as st, jb as F, kb as V, md as bt, nb as _t, oc as ft, pa as R, pc as Pt, sa as mt, sb as m, ta as l, tb as B, u as lt, ub as N, za as x } from "./chunk-PQPVST32.js"; 3import "./chunk-D5RP56ZG.js"; 4import { a as at, b as ct, g as ne } from "./chunk-FQRK5E2F.js"; 5var Rt = (() => { 6 let i = class i { 7 constructor(t, n, o) { 8 this.router = t, this.route = n, this.noteService = o; 9 } 10 toGroupPage() { 11 this.router.navigate(["group/init"]); 12 } 13 }; 14 i.ɵfac = function (n) { 15 return new (n || i)(x(W), x(Ot), x(I)); 16 }, i.ɵcmp = k({ 17 type: i, 18 selectors: [["app-header"]], 19 standalone: !1, 20 decls: 6, 21 vars: 0, 22 consts: [[1, "header-container"], [1, "left", 3, "click"], [1, "logo"], [1, "tip"], [1, "right"]], 23 template: function (n, o) { 24 n & 1 && (a(0, "div", 0)(1, "div", 1), _("click", function () { 25 return o.toGroupPage(); 26 }), f(2, "div", 2), a(3, "div", 3), m(4, "\u793E\u7FA4\u5DE5\u5177"), c()(), f(5, "div", 4), c()); 27 }, 28 styles: ['.header-container[_ngcontent-%COMP%]{z-index:3;position:fixed;top:0;left:0;right:0;height:50px;display:flex;justify-content:space-between;align-items:center;background:var(--dweb-bg-panel);box-shadow:0 1px 0 var(--dweb-border-subtle);padding:0 24px}.header-container[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header-container[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{background-image:url("./media/[email protected]");background-position:-96px -28px;height:20px;width:114px;margin-right:8px}.header-container[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .tip[_ngcontent-%COMP%]{width:60px;height:22px;line-height:22px;background:var(--dweb-info-note);border-radius:4px;font-size:12px;color:var(--dweb-text-on-color);text-align:center}.header-container[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{height:36px;border-radius:18px;display:flex;justify-content:center;align-items:center;cursor:pointer}.header-container[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:14px;height:14px;background-image:url("./media/[email protected]");background-position:-27px -376px;margin-right:8px}.header-container[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:var(--dweb-text-muted);font-size:14px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (-ms-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.header-container[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{background-image:url("./media/[email protected]")!important;background-size:1024px 1057px}}'] 29 }); 30 let e = i; 31 return e; 32})(); 33var qt = (() => { 34 let i = class i {}; 35 i.ɵfac = function (n) { 36 return new (n || i)(); 37 }, i.ɵcmp = k({ 38 type: i, 39 selectors: [["app-note"]], 40 standalone: !1, 41 decls: 3, 42 vars: 0, 43 consts: [[1, "note-container"]], 44 template: function (n, o) { 45 n & 1 && (a(0, "div", 0), f(1, "app-header")(2, "router-outlet"), c()); 46 }, 47 dependencies: [vt, Rt], 48 styles: [".note-container[_ngcontent-%COMP%]{padding-top:50px;height:100vh;box-sizing:border-box;background-color:var(--dweb-bg-note-page)}"] 49 }); 50 let e = i; 51 return e; 52})(); 53var Gt = (() => { 54 let i = class i { 55 constructor(t, n) { 56 this.http = t, this.router = n; 57 } 58 canActivateChild(t, n) { 59 return !0; 60 } 61 }; 62 i.ɵfac = function (n) { 63 return new (n || i)(z(L), z(W)); 64 }, i.ɵprov = j({ 65 token: i, 66 factory: i.ɵfac, 67 providedIn: "root" 68 }); 69 let e = i; 70 return e; 71})(); 72var Wt = ne(ie()); 73var Jt = (() => { 74 let i = class i { 75 constructor(t) { 76 this.http = t, this._note$ = new A(), this.note$ = this._note$.asObservable(), this.endTime = ""; 77 } 78 postNote(t) { 79 this.http.post(Y.createNote(), { 80 req_data: t 81 }).subscribe(n => { 82 n.succeeded ? this._note$.next(n.resp_data.note) : this.http.handleExceptionCode(n, "\u521B\u5EFA\u7B14\u8BB0\u5931\u8D25"); 83 }); 84 } 85 }; 86 i.ɵfac = function (n) { 87 return new (n || i)(z(L)); 88 }, i.ɵprov = j({ 89 token: i, 90 factory: i.ɵfac, 91 providedIn: "root" 92 }); 93 let e = i; 94 return e; 95})(); 96var le = ["like"], 97 de = ["header"], 98 pe = e => ({ 99 "disabled-copy": e 100 }), 101 me = e => ({ 102 liked: e 103 }), 104 ge = e => ({ 105 "user-light": e 106 }), 107 _e = (e, i) => ({ 108 "margin-bottom": e, 109 "padding-top": i 110 }), 111 ue = (e, i) => i.comment_id; 112function Ce(e, i) { 113 if (e & 1) { 114 let r = O(); 115 a(0, "div", 8)(1, "div", 12), f(2, "div", 13, 2), a(4, "div", 14), _("click", function () { 116 P(r); 117 let n = p(); 118 return b(n.handleCommentClick()); 119 }), c()(), a(5, "div", 15), _("click", function () { 120 P(r); 121 let n = p(); 122 return b(n.openDetail()); 123 }), a(6, "div", 16), m(7, "\u67E5\u770B\u8BE6\u60C5"), c(), f(8, "div", 17), c()(); 124 } 125 if (e & 2) { 126 let r = p(); 127 l(2), h("ngClass", y(1, me, r.noteData.user_specific == null ? null : r.noteData.user_specific.liked)); 128 } 129} 130function he(e, i) { 131 if (e & 1) { 132 let r = O(); 133 a(0, "span", 20)(1, "span", 21), _("click", function () { 134 let n = P(r).$implicit, 135 o = p(2); 136 return b(o.toFootprint(n.owner.user_id)); 137 }), c(), a(2, "span"), m(3, "\u3001"), c()(); 138 } 139 if (e & 2) { 140 let r = i.$implicit, 141 t = p(2); 142 h("ngClass", y(2, ge, r.owner.user_id === t.selfUserId)), l(), h("parseName", r.owner); 143 } 144} 145function xe(e, i) { 146 e & 1 && (a(0, "span", 16), m(1, " \u89C9\u5F97\u5F88\u8D5E"), c()); 147} 148function fe(e, i) { 149 if (e & 1 && (a(0, "span", 16), m(1), c()), e & 2) { 150 let r = p(2); 151 l(), N(" \u7B49", r.noteData.likes_count, "\u4EBA\u89C9\u5F97\u5F88\u8D5E"); 152 } 153} 154function Pe(e, i) { 155 if (e & 1 && (a(0, "div", 9)(1, "div", 18)(2, "div", 19), E(3, he, 4, 4, "span", 20, gt), $(5, "transformNoteLikeList"), c(), u(6, xe, 2, 0, "span", 16), u(7, fe, 2, 1, "span", 16), c()()), e & 2) { 156 let r = p(); 157 l(3), T(U(5, 2, r.noteData.latest_likes)), l(3), C(r.noteData.likes_count > 0 && r.noteData.likes_count <= 10 ? 6 : -1), l(), C(r.noteData.likes_count > 10 ? 7 : -1); 158 } 159} 160function be(e, i) { 161 if (e & 1) { 162 let r = O(); 163 a(0, "app-note-comment", 22), _("close-comment", function (n) { 164 P(r); 165 let o = p(); 166 return b(o.closeComment(n)); 167 }), c(); 168 } 169 if (e & 2) { 170 let r = p(); 171 h("data", r.noteData); 172 } 173} 174function Me(e, i) { 175 if (e & 1) { 176 let r = O();
177 a(0, "app-note-comment-item", 26), _("delComment", function (n) { 178 P(r); 179 let o = p(2); 180 return b(o.delComment(n)); 181 }), c(); 182 } 183 if (e & 2) { 184 let r = i.$implicit, 185 t = p(2); 186 h("comment", r)("data", t.noteData); 187 } 188} 189function Oe(e, i) { 190 if (e & 1) { 191 let r = O(); 192 a(0, "div", 27), _("click", function () { 193 P(r); 194 let n = p(2); 195 return b(n.openDetail()); 196 }), m(1, "\u67E5\u770B\u66F4\u591A\u8BC4\u8BBA"), c(); 197 } 198} 199function ve(e, i) { 200 if (e & 1 && (a(0, "div", 11)(1, "div", 23), E(2, Me, 1, 2, "app-note-comment-item", 24, ue), c(), u(4, Oe, 2, 0, "div", 25), c()), e & 2) { 201 let r = p(); 202 l(), h("ngStyle", Ct(2, _e, r.noteData.comments_count && r.noteData.comments_count < 8 ? "10px" : "0px", r.noteData.comments_count ? "8px" : "0px")), l(), T(r.comments), l(2), C(r.noteData.comments_count > 8 && !r.isInProcessing ? 4 : -1); 203 } 204} 205var Kt = (() => { 206 let i = class i { 207 constructor(t, n, o, s) { 208 this.noteService = t, this.indexService = n, this.http = o, this.message = s, this.showRadius = !0, this.showDetail = !1, this.viewNoteDetail = new nt(), this.handleDialog = new nt(), this.commentVisible = !1, this.subscriptions = [], this.allowCopy = !1, this.isInProcessing = !1, this.isOwner = !1, this.comments = []; 209 } 210 ngOnInit() { 211 this.selfUserId = this.indexService.getSelfInfo("user_id"), this.allowCopy = !0, this.isInProcessing = this.noteData.hasOwnProperty("process_status"), this.comments = [...this.noteData.show_comments], this.doSubscribes(); 212 } 213 ngAfterViewInit() { 214 this.likeElement && this.subscribeNoteLikeNote(); 215 } 216 ngOnDestroy() { 217 this.subscriptions.forEach(t => t.unsubscribe()); 218 } 219 likeNote() { 220 let t = this.indexService.getSelfInfo("user_id"), 221 n = localStorage.getItem("current_alias") || this.indexService.getSelfInfo("user_name"); 222 if (this.noteData.user_specific) this.noteData.user_specific.liked = !this.noteData.user_specific.liked;else { 223 let o = { 224 liked: !0, 225 subscribed: !1 226 }; 227 this.noteData.user_specific = o; 228 } 229 if (!this.noteData.user_specific.liked) this.noteData.latest_likes = this.noteData.latest_likes.filter(o => o.owner.user_id !== t);else { 230 let o = [{ 231 create_time: new Date().toString(), 232 owner: { 233 user_id: t, 234 name: n, 235 avatar_url: this.indexService.getSelfInfo("avatar_url"), 236 location: "" 237 } 238 }]; 239 (this.noteData.likes_count === 0 || !this.noteData.latest_likes) && (this.noteData.latest_likes = []), this.noteData.latest_likes = o.concat(this.noteData.latest_likes); 240 } 241 this.noteData.likes_count += this.noteData.user_specific.liked ? 1 : -1; 242 } 243 doSubscribes() { 244 let t = this.noteService.notifyNoteCommentCreated$.subscribe(o => { 245 let { 246 note_id: s, 247 comment: d 248 } = o; 249 this.noteData.note_id === s && (this.noteData.comments_count += 1, !(this.comments.length >= 8) && (this.comments.push(d), this.comments = [...this.comments])); 250 }), 251 n = this.noteService.notifyNoteCommentDeleted$.subscribe(o => { 252 let { 253 note_id: s, 254 comment: d 255 } = o; 256 if (this.noteData.note_id !== s) return; 257 if (this.comments.findIndex(M => M.comment_id === d.comment_id) !== -1) this.comments = this.comments.filter(M => M.comment_id !== d.comment_id);else { 258 let M; 259 this.comments.forEach((w, g) => { 260 w.replied_comments.length > 0 && w.replied_comments.findIndex(ee => ee.comment_id === d.comment_id) !== -1 && (M = g); 261 }), M !== -1 && (this.comments[M].replied_comments = this.comments[M].replied_comments.filter(w => w.comment_id !== d.comment_id)); 262 } 263 }); 264 this.subscriptions.push(t, n); 265 } 266 subscribeNoteLikeNote() { 267 this.likeNote$ = lt(this.likeElement.nativeElement, "click").pipe(pt(n => (this.likeNote(), st(this.noteData.user_specific.liked))), H(800), dt()); 268 let t = this.likeNote$.subscribe(() => { 269 this.noteService.updateNoteLikeStatus(this.noteData.note_id, this.noteData.user_specific.liked); 270 }); 271 this.subscriptions.push(t); 272 } 273 openDetail() { 274 this.viewNoteDetail.emit(this.noteData); 275 } 276 closeComment(t) { 277 this.commentVisible = !1; 278 } 279 handleCommentClick() { 280 this.commentVisible = !this.commentVisible; 281 } 282 showDialog(t) { 283 this.handleDialog.emit(t); 284 } 285 toFootprint(t) { 286 D(`footprint/${t}`); 287 } 288 getNoteOwnerInfo(t, n) { 289 return t.owner[n]; 290 } 291 handleReference(t) { 292 this.noteService.viewReferenceNotify(t.type, this.noteData); 293 } 294 delComment(t) { 295 this.http.delete(Y.deleteNoteComment(t.comment_id)).subscribe(n => { 296 n.succeeded ? (this.message.info({ 297 content: "\u5DF2\u5220\u9664", 298 type: "success" 299 }
299), this.noteService.notifyNoteCommentDeleted(this.noteData.note_id, t)) : this.http.handleExceptionCode(n, "\u5220\u9664\u5931\u8D25"); 300 }); 301 } 302 }; 303 i.ɵfac = function (n) { 304 return new (n || i)(x(I), x(Z), x(L), x(K)); 305 }, i.ɵcmp = k({ 306 type: i, 307 selectors: [["app-note-cell"]], 308 viewQuery: function (n, o) { 309 if (n & 1 && X(le, 5)(de, 5), n & 2) { 310 let s; 311 F(s = V()) && (o.likeElement = s.first), F(s = V()) && (o.header = s.first); 312 } 313 }, 314 inputs: { 315 noteData: [0, "note", "noteData"], 316 index: "index", 317 type: "type", 318 showRadius: "showRadius", 319 showDetail: "showDetail" 320 }, 321 outputs: { 322 viewNoteDetail: "view-note-detail", 323 handleDialog: "handle-dialog" 324 }, 325 standalone: !1, 326 decls: 12, 327 vars: 10, 328 consts: [["note", ""], ["header", ""], ["like", ""], [1, "note-cell-container"], [2, "padding", "10px"], [3, "handle-dialog", "noteData", "index"], [3, "ngClass"], [3, "handle-reference", "note"], [1, "operation-icon-container"], [1, "like-container"], [3, "data"], [1, ""], [1, "operation-icon"], ["title", "\u70B9\u8D5E", 1, "like", 3, "ngClass"], ["title", "\u8BC4\u8BBA", 1, "comment", 3, "click"], [1, "details-container", 3, "click"], [1, "text"], [1, "icon"], [1, "like-user"], [1, "name"], [1, "eachLike", 3, "ngClass"], [3, "click", "parseName"], [3, "close-comment", "data"], [1, "comment-box", 3, "ngStyle"], [3, "comment", "data"], [1, "moreComment"], [3, "delComment", "comment", "data"], [1, "moreComment", 3, "click"]], 329 template: function (n, o) { 330 n & 1 && (a(0, "div", 3, 0)(2, "div", 4)(3, "app-note-header", 5, 1), _("handle-dialog", function (d) { 331 return o.showDialog(d); 332 }), c(), a(5, "div", 6)(6, "app-note-content", 7), _("handle-reference", function (d) { 333 return o.handleReference(d); 334 }), c()(), a(7, "div"), u(8, Ce, 9, 3, "div", 8), u(9, Pe, 8, 4, "div", 9), u(10, be, 1, 1, "app-note-comment", 10), u(11, ve, 5, 5, "div", 11), c()()()), n & 2 && (l(3), h("noteData", o.noteData)("index", o.index), l(2), h("ngClass", y(8, pe, !o.allowCopy)), l(), h("note", o.noteData), l(2), C(o.isInProcessing ? -1 : 8), l(), C(o.noteData.likes_count > 0 && o.noteData.latest_likes && o.noteData.latest_likes.length && !o.isInProcessing ? 9 : -1), l(), C(o.commentVisible ? 10 : -1), l(), C(o.comments.length > 0 ? 11 : -1)); 335 }, 336 dependencies: [G, J, St, Bt, $t, Ut, At, zt], 337 styles: ['@charset "UTF-8";.note-cell-container[_ngcontent-%COMP%]{background:var(--dweb-bg-panel);margin-bottom:10px;border-radius:4px}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%]{padding-left:56px;padding-right:20px;display:flex;align-items:center;justify-content:space-between;margin:15px 0}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%]{display:flex}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:21px;height:21px;background-image:url("./media/[email protected]");margin-right:30px;cursor:pointer}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] .like[_ngcontent-%COMP%]{background-position:-107px -306px}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] .liked[_ngcontent-%COMP%]{background-position:-107px -346px}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] .comment[_ngcontent-%COMP%]{background-position:-157px -306px}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] .comment[_ngcontent-%COMP%]:hover{background-position:-157px -346px}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] .share[_ngcontent-%COMP%]{background-position:-204px -306px}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] .share[_ngcontent-%COMP%]:hover{background-position:-204px -345px}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:12px;color:var(--dweb-text-faint, #C5C6CB)}.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:10px;height:10px;background-image:url("./media/[email protected]");background-position:-297px -197px}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%]{padding-left:56px;padding-right:20px;
337display:flex;align-items:center;margin-bottom:12px;position:relative}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%] .like-icon[_ngcontent-%COMP%]{position:absolute;top:0;height:20px;width:18px;background-image:url("./media/[email protected]");background-position:-148px -418px}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%] .like-user[_ngcontent-%COMP%]{font-size:14px;color:var(--dweb-info, #567895)}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%] .like-user[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{display:inline;word-wrap:break-word;line-height:20px}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%] .like-user[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] .eachLike[_ngcontent-%COMP%]{cursor:pointer}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%] .like-user[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] .eachLike.user-light[_ngcontent-%COMP%] [_ngcontent-%COMP%]:first-child{color:var(--dweb-brand, #16B998)}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%] .like-user[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] [_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:last-child{display:none!important}.note-cell-container[_ngcontent-%COMP%] .like-container[_ngcontent-%COMP%] .like-user[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{height:20px;line-height:20px;color:var(--dweb-text-muted, #8B8E9D)}.note-cell-container[_ngcontent-%COMP%] .moreComment[_ngcontent-%COMP%]:hover{cursor:pointer}.note-cell-container[_ngcontent-%COMP%] .moreComment[_ngcontent-%COMP%]{padding:20px 0 10px;text-align:center;color:var(--dweb-info, #567895)}.note-cell-container[_ngcontent-%COMP%] .disabled-copy[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html[data-theme=dark][_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%], html[data-theme=dark] [_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%]{color:var(--dweb-text-faint)}html[data-theme=dark][_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], html[data-theme=dark] [_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:currentColor}html[data-theme=dark][_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], html[data-theme=dark] [_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{background-color:currentColor;background-image:none!important;background-position:initial;background-repeat:no-repeat;-webkit-mask-image:url("./media/[email protected]");-webkit-mask-position:-297px -197px;-webkit-mask-repeat:no-repeat;mask-image:url("./media/[email protected]");mask-position:-297px -197px;mask-repeat:no-repeat}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (-ms-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){html[data-theme=dark][_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], html[data-theme=dark] [_nghost-%COMP%] .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{-webkit-mask-image:url("./media/[email protected]");-webkit-mask-size:1024px 1057px;mask-image:url("./media/[email protected]");mask-size:1024px 1057px}}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (-ms-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .operation-icon[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .note-cell-container[_ngcontent-%COMP%] .operation-icon-container[_ngcontent-%COMP%] .details-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{background-image:url("./media/[email protected]")!important;background-size:1024px 1057px}}'] 338 }); 339 let e = i; 340 return e; 341})(); 342var ye = ["emoji"], 343 Se = ["postEditor"], 344 Ne = ["uploadComponent"], 345 De = e => ({ 346 "is-focusing": e 347 }), 348 Ie = e => ({ 349 "max-height": e 350 }), 351 Ee = e => ({ 352 actived: e 353 }), 354 Te = e => ({ 355 inactive: e 356 }), 357 Fe = (e, i) => i.note_id; 358function Ve(e, i) { 359 if (e & 1) { 360 let r = O(); 361 a(0, "div", 15, 3)(2, "app-emoji", 21), _("add-emoji", function (n) { 362 P(r), p(); 363 let o = _t(4); 364 return b(o.insertEmoji(n)); 365 }), c()(); 366 } 367} 368function je(e, i) { 369 if (e & 1) { 370 let r = O(); 371 a(0, "app-note-cell", 24), _("view-note-detail", function (n) { 372 P(r); 373 let o = p(2); 374 return b(o.viewNoteDetail(n)); 375 }), c(); 376 } 377 if (e & 2) { 378 let r = i.$implicit, 379 t = i.$index; 380 h("note", r)("index", t); 381 } 382} 383function Le(e, i) { 384 if (e & 1) { 385 let r = O(); 386 a(0, "app-lottie-loading", 25), _("infinite", function () { 387 P(r); 388 let n = p(2); 389 return b(n.getMoreNotes()); 390 }), m(1, " \u7B14\u8BB0\u52A0\u8F7D\u4E2D... "), c(); 391 } 392} 393function ze(e, i) { 394 e & 1 && (a(0, "div", 23), m(1, "\u6CA1\u6709\u66F4\u591A\u4E86"), c()); 395} 396function Be(e, i) { 397 if (e & 1 && (E(0, je, 1, 2, "app-note-cell", 22, Fe), u(2, Le, 2, 0, "app-lottie-loading"), u(3, ze, 2, 0, "div", 23)), e & 2) { 398 let r = p(); 399 T(r.notes), l(2), C(r.noMoreNotes ? -1 : 2), l(), C(r.noMoreNotes ? 3 : -1); 400 } 401} 402function $e(e, i) { 403 if (e & 1 && f(0, "img", 26), e & 2) { 404 let r = p(2);
405 h("src", r.qrcodeUrl, R); 406 } 407} 408function Ue(e, i) { 409 if (e & 1) { 410 let r = O(); 411 a(0, "div", 19), u(1, $e, 1, 1, "img", 26), a(2, "div", 27), m(3, " \u4F60\u8FD8\u6CA1\u6709\u5173\u6CE8\u4EFB\u4F55\u4EBA\uFF0C\u4E0B\u8F7D\u77E5\u8BC6\u661F\u7403 App \u6216\u8FDB\u5165"), a(4, "span", 28), _("click", function () { 412 P(r); 413 let n = p(); 414 return b(n.goToDiscoverGroup()); 415 }), m(5, "\u53D1\u73B0\u661F\u7403"), c(), m(6, "\uFF0C\u5BFB\u627E\u5FD7\u540C\u9053\u5408\u7684\u4EBA\u5427\u3002 "), c()(); 416 } 417 if (e & 2) { 418 let r = p(); 419 l(), C(r.qrcodeUrl ? 1 : -1); 420 } 421} 422function Ae(e, i) { 423 if (e & 1) { 424 let r = O(); 425 a(0, "app-note-detail", 29), _("close-note-detail", function () { 426 P(r); 427 let n = p(); 428 return b(n.closeNoteDetail()); 429 }), c(); 430 } 431 if (e & 2) { 432 let r = p(); 433 h("noteData", r.selectedNote); 434 } 435} 436var Yt = (() => { 437 let i = class i { 438 onDocumentClicked(t) { 439 (!(t.target instanceof HTMLElement) || !t.target.className.includes("emoji-panel")) && (this.emojiVisible = !1); 440 } 441 constructor(t, n, o, s, d, v) { 442 this.ref = t, this.noteListService = n, this.noteService = o, this.indexService = s, this.message = d, this.uploadService = v, this.editorPlaceholder = "\u5199\u4E0B\u4F60\u6B64\u523B\u7684\u60F3\u6CD5\u2026", this.editorMaxHeight = "500px", this.emojiVisible = !1, this.noteText = "", this.canPOst = !1, this.subscriptions = [], this.previousScrollTop = 0, this.notes = [], this.noMoreNotes = !1, this.infiniteFinishCallback = null, this.selectedNote = null, this.isFocusing = !1, this.uploadingVideo = !1, this.existingImagesLength = 0, this.postImageIds = [], this.isUploading = !1, this.qrcodeUrl = "", this.showAutoSaveFlag = !1, this.autoSaveFlagTimer = null, this.autoSave = new A(), this.isModify = !1, this.isPosting = !1; 443 } 444 ngOnInit() { 445 this.createQRCode(), this.doSubscribe(), this.indexService.topicSettings.max_image_size || this.indexService.getSettings(); 446 } 447 ngOnDestroy() { 448 this.subscriptions.forEach(t => t.unsubscribe()); 449 } 450 editorCreated(t) { 451 t.blur(), this.handleText(); 452 } 453 handleText() { 454 let t = window.localStorage.getItem("note_text"); 455 t && this.postEditor.setContents(JSON.parse(t)); 456 } 457 clearCreateNoteData(t = !1) { 458 t || window.localStorage.removeItem("note_text"), this.postEditor.setContents("", !0), this.isPosting = !1, this.uploadComponent.images = [], this.postImageIds = []; 459 } 460 editorContentChange(t) { 461 t.source === "user" && this.autoSave.next(null), this.noteText = this.postEditor.getText(); 462 } 463 editorSelectionChange(t) { 464 t != null && t.format; 465 } 466 handlePaste(t) { 467 if (t.stopPropagation(), t.clipboardData && t.clipboardData.items) { 468 let n = t.clipboardData.items, 469 o = t.clipboardData.getData("text/html"); 470 if (new DOMParser().parseFromString(o, "text/html").querySelector("html").getAttribute("xmlns:o") !== "urn:schemas-microsoft-com:office:office") try { 471 for (let v of n) if (v.type.indexOf("image") !== -1) { 472 let M = v.getAsFile(); 473 return Mt(M, w => { 474 this.noteService.handleCopyAndDrag([w]); 475 }), !1; 476 } 477 } catch (v) {} 478 } 479 } 480 handleEmojiVisible(t) { 481 this.emojiVisible = !this.emojiVisible, this.emojiVisible && this.ref.detectChanges(), t && (t.preventDefault(), t.stopPropagation()); 482 } 483 handleEditorContent() { 484 let t = this.postEditor.getContents(), 485 n = ""; 486 return t.ops.forEach(o => { 487 o.insert.emoji ? n += o.insert.emoji.type === "text" ? o.insert.emoji.title : `[${o.insert.emoji.title}]` : n += o.insert; 488 }), n; 489 } 490 watchFileChange(t) { 491 t.action === "addImage" ? this.postImageIds.push(t.id) : t.action === "removeImage" && t.id && this.postImageIds.splice(this.postImageIds.findIndex(n => n === t.id), 1); 492 } 493 createQRCode() { 494 let t = { 495 margin: 0, 496 width: 240, 497 height: 240 498 }; 499 Wt.default.toDataURL("https://t.zsxq.com/app/", ct(at({}, t), {
500 color: { 501 dark: "#000000", 502 light: "#0000" 503 } 504 })).then(n => { 505 this.qrcodeUrl = n; 506 }); 507 } 508 postNote(t) { 509 if (!this.noteText.trim() || this.isPosting) return; 510 this.isPosting = !0; 511 let n = { 512 text: this.handleEditorContent(), 513 image_ids: this.postImageIds 514 }; 515 this.noteService.postNote(n); 516 } 517 getMoreNotes(t = null) { 518 let n = this.notes.length ? this.notes[this.notes.length - 1].create_time : "", 519 o = { 520 count: 10 521 }; 522 n && (o.end_time = bt(n)), this.noteService.getNoteList(o), this.infiniteFinishCallback = t; 523 } 524 viewNoteDetail(t) { 525 this.indexService.spareScrollbarSpace(), this.selectedNote = t; 526 } 527 closeNoteDetail() { 528 this.indexService.remainScrollbarStyle(), this.selectedNote = null; 529 } 530 goToDiscoverGroup() { 531 window.location.href = "https://public.zsxq.com/groups/index.html?s=bd&v=1"; 532 } 533 doSubscribe() { 534 let t = this.autoSave.pipe(H(2500)).subscribe(() => { 535 this.isModify || (window.localStorage.setItem("note_text", JSON.stringify(this.postEditor.getContents())), this.showAutoSaveFlag = !0, this.autoSaveFlagTimer && clearTimeout(this.autoSaveFlagTimer), this.autoSaveFlagTimer = setTimeout(() => { 536 this.showAutoSaveFlag = !1; 537 }, 3e3)); 538 }), 539 n = this.indexService.settings$.subscribe(g => { 540 this.indexService.videoSettings.max_video_size = g.topic.max_video_size, this.indexService.videoSettings.max_video_duration = g.topic.max_video_duration, this.indexService.topicSettings.max_file_size = g.topic.max_file_size, this.indexService.topicSettings.max_image_size = g.topic.max_image_size, this.indexService.topicSettings.max_audio_size = g.topic.max_audio_size; 541 }), 542 o = this.noteService.note$.subscribe(g => { 543 g ? (this.clearCreateNoteData(), this.notes.unshift(g)) : this.isPosting = !1; 544 }), 545 s = this.uploadService.uploadingVideo$.subscribe(g => { 546 this.uploadingVideo = g; 547 }), 548 d = this.uploadService.uploadingStatus$.subscribe(g => { 549 this.isUploading = g; 550 }), 551 v = this.noteService.notes$.subscribe(g => { 552 this.loading = !1, g.refresh && (this.notes.length = 0), g.notes && g.notes.length > 0 ? this.notes.push(...g.notes) : this.noMoreNotes = !0, this.noteEndTime = this.notes.length ? this.notes[this.notes.length - 1].create_time : "", this.infiniteFinishCallback && this.infiniteFinishCallback(this.noMoreNotes), this.noMoreNotes || this.triggerScroll(); 553 }), 554 M = this.noteService.deleteNote$.subscribe(g => { 555 g && (this.notes = this.notes.filter(rt => rt.note_id !== g), this.message.info({ 556 content: "\u7B14\u8BB0\u5DF2\u5220\u9664", 557 type: "success" 558 })); 559 }), 560 w = this.noteService.viewReferenceNotify$.subscribe(g => { 561 g.type === "note" ? D(`note/${g.note.referenced_note.note.note_id}`) : g.type === "topic" && D(`group/${g.note.reference.topic.group.group_id}/topic/${g.note.reference.topic.topic_id}`); 562 }); 563 this.subscriptions.push(t, o, v, M, s, d, n, w); 564 } 565 triggerScroll() { 566 let t = new Event("scroll", { 567 bubbles: !0, 568 cancelable: !0 569 }); 570 window.dispatchEvent(t); 571 } 572 }; 573 i.ɵfac = function (n) { 574 return new (n || i)(x(ht), x(Jt), x(I), x(Z), x(K), x(jt)); 575 }, i.ɵcmp = k({ 576 type: i, 577 selectors: [["app-note-list"]], 578 viewQuery: function (n, o) { 579 if (n & 1 && X(ye, 5)(Se, 7)(Ne, 7), n & 2) { 580 let s; 581 F(s = V()) && (o.emoji = s.first), F(s = V()) && (o.postEditor = s.first), F(s = V()) && (o.uploadComponent = s.first); 582 } 583 }, 584 hostBindings: function (n, o) { 585 n & 1 && _("click", function (d) { 586 return o.onDocumentClicked(d); 587 }, mt); 588 }, 589 standalone: !1, 590 decls: 26, 591 vars: 19, 592 consts: [["postEditor", ""], ["uploadComponent", ""], ["picUpload", ""], ["emoji", ""], [1, "note-list"], [1, "container"], [1, "post", 3, "ngClass"], [3, "editor-focus", "editor-bulr", "editor-created", "editor-selection-change", "editor-paste", "editor-content-change", "editor-post", "ngStyle", "placeholder"], [3, "update-files", "picLength"], [1, "post-topic-btn"], [1, "left"], [1, "emoji", 3, "click", "ngClass"], [1, "explain"], [1, "pic", 3, "click", "ngClass"], [1, "tips"], [1, "emoji-panel"], [1, "post-action"], [1, "post-note", 3, "debounceClick", "ngClass"], [1, "list"], [1, "empty"], [3, "noteData"], [3, "add-emoji"], [3, "note", "index"], [1, "no-more"], [3, "view-note-detail", "note", "index"], [3, "infinite"], [1, "qrcode", 3, "src"], [1, "title"], [1, "highlighted", 3, "click"], [3, "close-note-detail", "noteData"]], 593 template: function (n, o) { 594 n & 1 && (a(0, "div", 4)(1, "div", 5)(2, "div", 6)(3, "app-editor", 7, 0), _("editor-focus", function () { 595 return o.isFocusing = !0; 596 })("editor-bulr", function () { 597 return o.isFocusing = !1; 598 })("editor-created", function (d) { 599 return o.editorCreated(d); 600 })("editor-selection-change", function (d) { 601 return o.editorSelectionChange(d); 602 })("editor-paste", function (d) { 603 return o.handlePaste(d); 604 })("editor-content-change", function (d) { 605 return o.editorContentChange(d); 606 })("editor-post", function (d) { 607 return o.postNote(d); 608 }), c(), a(5, "app-upload", 8, 1), _("update-files", function (d) { 609 return o.watchFileChange(d); 610 }), a(7, "div", 9)(8, "div", 10)(9, "div", 11), _("click", function (d) { 611 return o.handleEmojiVisible(d); 612 }), a(10, "span", 12), m(11, "\u6DFB\u52A0\u8868\u60C5"), c()(), a(12, "div", 13, 2), _("click", function () { 613 return o.emojiVisible = !1; 614 }), a(14, "span", 12), m(15, "\u6DFB\u52A0\u56FE\u7247"), c()(), a(16, "div", 14), m(17, "\u7B14\u8BB0\u4F1A\u5C55\u793A\u5230\u52A8\u6001\u548C\u8DB3\u8FF9\u5185\uFF0C\u5173\u6CE8\u4F60\u7684\u7528\u6237\u53EF\u67E5\u770B"), c(), u(18, Ve, 3, 0, "div", 15), c(), a(19, "div", 16)(20, "div", 17), _("debounceClick", function (d) { 615 return o.postNote(d); 616 }), m(21), c()()()()(), a(22, "div", 18), u(23, Be, 4, 2)(24, Ue, 7, 1, "div", 19), c()()(), u(25, Ae, 1, 1, "app-note-detail", 20)), n & 2 && (l(2), h("ngClass", y(11, De, o.isFocusing)), l(), h("ngStyle", y(13, Ie, o.editorMaxHeight))("placeholder", o.editorPlaceholder), l(2), h("picLength", o.existingImagesLength), l(4), h("ngClass", y(15, Ee, o.emojiVisible)), l(3), h("ngClass", y(17, Te, o.uploadingVideo)), l(6), C(o.emojiVisible ? 18 : -1), l(2), h("ngClass", o.noteText.trim() && !o.isPosting && !o.isUploading ? "can-post" : ""), l(), N(" ", o.isUploading ? "\u4E0A\u4F20\u4E2D" : "\u53D1\u5E03", " "), l(2), C(o.notes.length > 0 || !o.noMoreNotes ? 23 : 24), l(2), C(o.selectedNote ? 25 : -1)); 617 },
618 dependencies: [G, J, Dt, yt, Ft, Vt, Nt, tt, Lt, Kt], 619 styles: ['.note-list[_ngcontent-%COMP%]{width:100%}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{background-color:var(--dweb-bg-note-page);margin:10px auto 0;width:1200px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%]{padding:20px;box-sizing:border-box;min-height:150px;max-height:680px;background:var(--dweb-bg-panel);border-radius:4px;margin-bottom:10px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post.is-focusing[_ngcontent-%COMP%]{padding:19px;border:1px solid var(--dweb-brand);box-shadow:0 20px 40px 0 var(--dweb-shadow-muted)}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;position:relative;margin-top:14px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .explain[_ngcontent-%COMP%]{display:none;position:absolute;bottom:38px;left:-28px;width:70px;background:var(--dweb-bg-warm);border:1px solid var(--dweb-border-tooltip);box-shadow:0 8px 16px 0 var(--dweb-shadow-subtle);border-radius:6px;padding:10px;box-sizing:border-box;font-size:12px;color:var(--dweb-text-body);line-height:20px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .explain[_ngcontent-%COMP%]:before{content:"";position:absolute;display:block;width:0;height:0;border:5px solid var(--dweb-border-tooltip);border-right:5px solid transparent;border-bottom:5px solid transparent;border-top-left-radius:1px;transform:rotate(-135deg);bottom:-5px;left:28px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .explain[_ngcontent-%COMP%]:after{content:"";position:absolute;display:block;width:0;height:0;border:6px solid var(--dweb-bg-warm);border-right:6px solid transparent;border-bottom:6px solid transparent;transform:rotate(-135deg);bottom:-3px;left:27px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .emoji[_ngcontent-%COMP%]{height:18px;width:18px;background-image:url("./media/[email protected]");background-position:-333px -308px;position:relative}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .emoji[_ngcontent-%COMP%]:hover .explain[_ngcontent-%COMP%]{display:block}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .pic[_ngcontent-%COMP%]{width:18px;height:18px;background-image:url("./media/[email protected]");background-position:-384px -307px;margin-right:16px!important;cursor:pointer;position:relative}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .pic.inactive[_ngcontent-%COMP%]{background-position:-384px -380px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .pic[_ngcontent-%COMP%]:hover .explain[_ngcontent-%COMP%]{display:block}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .tips[_ngcontent-%COMP%]{cursor:default!important;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px;color:var(--dweb-text-muted);line-height:17px;text-align:center;font-style:normal}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{cursor:pointer;margin-right:24px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child{margin-right:0}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .post-note[_ngcontent-%COMP%]{width:50px;height:24px;background:var(--dweb-disabled);
619box-shadow:0 1px 2px 0 var(--dweb-shadow-subtle);border-radius:2px;text-align:center;line-height:24px;color:var(--dweb-text-on-color);font-size:12px;pointer-events:none;cursor:pointer}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .post-note.can-post[_ngcontent-%COMP%]{background:var(--dweb-brand);pointer-events:visible}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .post[_ngcontent-%COMP%] .post-topic-btn[_ngcontent-%COMP%] .emoji-panel[_ngcontent-%COMP%]{z-index:10;position:absolute;top:50px;left:0;box-shadow:0 2px 4px var(--dweb-shadow)}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .note-cell-container[_ngcontent-%COMP%]:not(:first-child){margin-top:10px}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .no-more[_ngcontent-%COMP%]{padding:20px 0;text-align:center;font-size:12px;color:var(--dweb-text-faint, #C5C6CB)}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:120px 0;background-color:var(--dweb-bg-panel)}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%] .qrcode[_ngcontent-%COMP%]{width:120px;height:120px;object-fit:contain}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-top:24px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:var(--dweb-text-muted);line-height:20px;text-align:right;font-style:normal}.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{color:var(--dweb-info);cursor:pointer} .ql-container{overflow:auto;min-height:74px;max-height:283px} .ql-editor{min-height:74px;font-size:15px!important} .ql-editor:before{color:var(--dweb-text-muted)!important}@media screen and (max-width:2000px){.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{width:900px}}@media screen and (max-width:1550px){.note-list[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{width:700px}}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (-ms-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.post-topic-btn[_ngcontent-%COMP%] .emoji[_ngcontent-%COMP%], .post-topic-btn[_ngcontent-%COMP%] .pic[_ngcontent-%COMP%]{background-image:url("./media/[email protected]")!important;background-size:1024px 1057px}}'] 620 }); 621 let e = i; 622 return e; 623})(); 624var et = (() => { 625 let i = class i { 626 constructor() {} 627 }; 628 i.ɵfac = function (n) { 629 return new (n || i)(); 630 }, i.ɵprov = j({ 631 token: i, 632 factory: i.ɵfac 633 }); 634 let e = i; 635 return e; 636})(); 637var Qe = (e, i) => i.note_id; 638function Re(e, i) { 639 if (e & 1) { 640 let r = O(); 641 a(0, "span", 6), f(1, "i", 7), a(2, "span", 8), _("click", function () { 642 P(r); 643 let n = p(2); 644 return b(n.backToListPage()); 645 }), m(3, "\u8FD4\u56DE"), c()(); 646 } 647} 648function qe(e, i) { 649 if (e & 1 && (a(0, "div", 1)(1, "span"), m(2, "\u8BE6\u60C5"), c(), u(3, Re, 4, 0, "span", 6), c()), e & 2) { 650 let r = p(); 651 l(3), C(r.note ? 3 : -1); 652 } 653} 654function Xe(e, i) { 655 if (e & 1 && (a(0, "div", 4), f(1, "div", 7), a(2, "span"), m(3), c()()), e & 2) { 656 let r = p(); 657 l(3), B(r.blockInfo); 658 } 659} 660function Ge(e, i) { 661 if (e & 1 && f(0, "app-note-detail", 10), e & 2) { 662 let r = p(2); 663 h("noteData", r.note); 664 } 665} 666function Je(e, i) { 667 if (e & 1 && (f(0, "app-skeleton", 9), u(1, Ge, 1, 1, "app-note-detail", 10)), e & 2) { 668 let r = p(); 669 h("hidden", r.note), l(), C(r.note ? 1 : -1); 670 } 671} 672function Ke(e, i) { 673 if (e & 1 && (a(0, "div", 16), m(1), c()), e & 2) { 674 let r = p(2); 675 l(), N(" IP\u5C5E\u5730\uFF1A", (r.authorPublicInfo == null ? null : r.authorPublicInfo.location) || r.note.owner.location, " "); 676 } 677} 678function We(e, i) { 679 if (e & 1 && (a(0, "div", 17), m(1), c()), e & 2) { 680 let r = p(2); 681 l(), N(" ", r.authorPublicInfo.introduction, " "); 682 } 683} 684function Ye(e, i) { 685 if (e & 1) { 686 let r = O(); 687 a(0, "div", 26)(1, "div", 27), _("click", function () { 688 let n = P(r).$implicit, 689 o = p(3); 690 return b(o.goToNoteDetail(n.note_id)); 691 }), a(2, "span", 28), m(3), c(), f(4, "span", 29), c()(); 692 } 693 if (e & 2) { 694 let r = i.$implicit; 695 l(3), B(r.text); 696 } 697} 698function Ze(e, i) { 699 if (e & 1 && (a(0, "div", 24)(1, "div", 25), m(2, "\u66F4\u591A\u7B14\u8BB0"), c(), E(3, Ye, 5, 1, "div", 26, Qe), c()), e & 2) { 700 let r = p(2); 701 l(3), T(r.targetUserNotes); 702 } 703} 704function tn(e, i) { 705 if (e & 1) { 706 let r = O(); 707 a(0, "aside", 5)(1, "div", 11)(2, "div", 12), f(3, "img", 13), a(4, "div", 14)(5, "div", 15), m(6), c(), u(7, Ke, 2, 1, "div", 16), c()(), u(8, We, 2, 1, "div", 17), a(9, "div", 18)(10, "div", 19)(11, "span", 20), m(12), $(13, "formatCount"), c(), a(14, "span", 21), m(15, "\u516C\u5F00\u7B14\u8BB0"), c()(), a(16, "div", 19)(17, "span", 20), m(18), $(19, "formatCount"), c(), a(20, "span", 21), m(21, "\u5173\u6CE8\u4ED6\u7684\u4EBA"), c()()(), f(22, "div", 22), a(23, "button", 23), _("click", function () { 708 P(r); 709 let n = p(); 710 return b(n.goToAuthorFootprint()); 711 }), m(24, " \u67E5\u770B\u4ED6\u7684\u5168\u90E8\u7B14\u8BB0 "), c()(), u(25, Ze, 5, 0, "div", 24), c(); 712 } 713 if (e & 2) { 714 let r = p(); 715 l(3), h("src", (r.authorPublicInfo == null ? null : r.authorPublicInfo.avatar_url) || r.n
715ote.owner.avatar_url, R), l(3), N(" ", (r.authorPublicInfo == null ? null : r.authorPublicInfo.name) || r.note.owner.name, " "), l(), C(r.authorPublicInfo != null && r.authorPublicInfo.location || r.note.owner.location ? 7 : -1), l(), C(r.authorPublicInfo != null && r.authorPublicInfo.introduction ? 8 : -1), l(4), B(r.authorPublicInfo ? U(13, 7, r.authorPublicInfo.notes_count) : "--"), l(6), B(r.authorPublicInfo ? U(19, 9, r.authorPublicInfo.followers_count) : "--"), l(7), C(r.targetUserNotes.length > 0 ? 25 : -1); 716 } 717} 718var Zt = (() => { 719 let i = class i { 720 constructor(t, n, o, s) { 721 this.noteDetailPageService = t, this.noteService = n, this.meta = o, this.titleService = s, this.allowCopy = !1, this.subscriptions = [], this.blockInfo = "", this.isLogin = !!localStorage.getItem("user_id"), this.targetUserNotes = []; 722 } 723 ngOnInit() { 724 this.doSubscribe(), this.getNoteId(), this.getNoteDetail(), this.isLogin || (this.storageHandler = t => { 725 t.key === "user_id" && t.newValue && window.location.reload(); 726 }, window.addEventListener("storage", this.storageHandler)); 727 } 728 ngOnDestroy() { 729 this.subscriptions.forEach(t => t.unsubscribe()), this.storageHandler && window.removeEventListener("storage", this.storageHandler); 730 } 731 getNoteId() { 732 let t = /note\/([0-9]+)/, 733 n = window.location.href, 734 o = t.exec(n); 735 if (!o || o.length < 2) { 736 console.error("not found noteid"); 737 return; 738 } 739 this.noteId = Number(o[1]); 740 } 741 getNoteDetail() { 742 this.noteService.getNoteDetail(this.noteId); 743 } 744 doSubscribe() { 745 let t = this.noteService.noteDetail$.subscribe(s => { 746 if (s.code === 1082) this.blockInfo = s.info || "\u5BF9\u65B9\u5DF2\u8BBE\u7F6E\uFF0C\u6682\u65E0\u6CD5\u67E5\u770B";else { 747 if (s.note_id !== this.noteId) return; 748 this.note = s, this.noteService.getUserPublicInfo(s.owner.user_id), this.noteService.getTargetUserNotes(s.owner.user_id, 4), this.trackVisit(s); 749 } 750 }), 751 n = this.noteService.authorPublicInfo$.subscribe(s => { 752 this.authorPublicInfo = s, this.note && this.setMetaTags(); 753 }), 754 o = this.noteService.targetUserNotes$.subscribe(s => { 755 this.targetUserNotes = s.filter(d => d.note_id !== this.noteId).slice(0, 3); 756 }); 757 this.subscriptions = [t, n, o]; 758 } 759 trackVisit(t) { 760 var n, o, s; 761 if (!this.isLogin) { 762 let v = new URLSearchParams(window.location.search).get("share_source"), 763 M = { 764 note_id: t.note_id, 765 creator_id: t.owner.user_id 766 }, 767 w = (s = (o = (n = t.reference) == null ? void 0 : n.topic) == null ? void 0 : o.group) == null ? void 0 : s.group_id; 768 w && (M.associated_group_id = w), v && (M.note_share_source = v), Tt("VisitorMode_NoteDetailsView_Visit", M, !0); 769 } 770 } 771 setMetaTags() { 772 var s; 773 let t = this.note.text || "", 774 n = this.note.owner.name, 775 o = ((s = this.authorPublicInfo) == null ? void 0 : s.introduction) || ""; 776 this.titleService.setTitle(`${t.slice(0, 10)}-${n}-\u661F\u7A7A\u7B14\u8BB0`), this.meta.updateTag({ 777 name: "keywords", 778 content: n 779 }), this.meta.updateTag({ 780 name: "description", 781 content: `${t.slice(0, 100)} - ${n} - ${o}` 782 }); 783 } 784 backToListPage() { 785 window.history.length > 1 ? window.history.back() : window.location.href = `${location.origin}/note/list`; 786 } 787 goToNoteDetail(t) { 788 D(`note/${t}`); 789 } 790 goToAuthorFootprint() { 791 D(`footprint/${this.note.owner.user_id}?filter=note`); 792 } 793 }; 794 i.ɵfac = function (n) { 795 return new (n || i)(x(et), x(I), x(ft), x(Pt)); 796 }, i.ɵcmp = k({ 797 type: i, 798 selectors: [["app-note-detail-page"]], 799 standalone: !1, 800 features: [ut([et])], 801 decls: 7, 802 vars: 3, 803 consts: [[1, "note-detail-page"], [1, "enter-note"], [1, "page-layout"], [1, "container"], [1, "note-block"], [1, "author-sidebar"], [1, "note-name"], [1, "icon"], [3, "click"], [3, "hidden"], [3, "noteData"], [1, "author-card"], [1, "author-header"], [1, "author-avatar", 3, "src"], [1, "author-meta"], [1, "author-name"], [1, "author-location"], [1, "author-introduction"], [1, "author-stats"], [1, "stat-item"], [1, "stat-value"], [1, "stat-label"], [1, "divi
803der"], [1, "view-all-btn", 3, "click"], [1, "more-notes"], [1, "more-notes-title"], [1, "more-note-item-container"], [1, "more-note-item", 3, "click"], [1, "more-note-text"], [1, "more-note-arrow"]], 804 template: function (n, o) { 805 n & 1 && (a(0, "div", 0), u(1, qe, 4, 1, "div", 1), a(2, "div", 2)(3, "div", 3), u(4, Xe, 4, 1, "div", 4)(5, Je, 2, 2), c(), u(6, tn, 26, 11, "aside", 5), c()()), n & 2 && (l(), C(o.isLogin ? 1 : -1), l(3), C(o.blockInfo ? 4 : 5), l(2), C(o.note ? 6 : -1)); 806 }, 807 dependencies: [Et, tt, It], 808 styles: ['.note-detail-page[_ngcontent-%COMP%]{max-width:1200px;min-width:600px;padding:0 60px 32px;margin:0 auto;box-sizing:border-box;background-color:transparent}.note-detail-page[_ngcontent-%COMP%] .enter-note[_ngcontent-%COMP%]{height:59px;line-height:59px;font-family:PingFangSC-Medium;font-size:16px;color:var(--dweb-text-muted);display:flex;justify-content:space-between;border-bottom:1px solid var(--dweb-border-faint-6);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.note-detail-page[_ngcontent-%COMP%] .enter-note[_ngcontent-%COMP%] .note-name[_ngcontent-%COMP%]{cursor:pointer}.note-detail-page[_ngcontent-%COMP%] .enter-note[_ngcontent-%COMP%] .note-name[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:inline-block;width:18px;height:12px;background-image:url("./media/[email protected]");background-position:-440px -500px;margin-right:9px}.note-detail-page[_ngcontent-%COMP%] .note-block[_ngcontent-%COMP%]{background-color:var(--dweb-bg-panel);padding:86px 0;color:var(--dweb-text-faint-legacy);display:flex;flex-direction:column;align-items:center;border-radius:4px}.note-detail-page[_ngcontent-%COMP%] .note-block[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:87px;height:71px;background-image:url("./media/[email protected]");background-position:-87px -929px;margin-bottom:15px}.page-layout[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex:1;min-width:0;margin-top:10px;padding:20px 20px 30px;background-color:var(--dweb-bg-panel)}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail, .note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail-preview{position:static;background-color:var(--dweb-bg-panel);overflow-y:inherit}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail .enter-note, .
808note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail-preview .enter-note{display:none!important}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail .note-detail-panel, .note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail-preview .note-detail-panel{padding:0!important}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail .note-detail-panel .header-container .homework, .note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail-preview .note-detail-panel .header-container .homework{top:-30px!important;right:0!important}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail>.content, .note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail-preview>.content{width:100%;margin-top:0;margin-bottom:0}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail .video-area, .note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail .processing, .note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail-preview .video-area, .note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .note-detail-preview .processing{width:540px}.note-detail-page[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .skeleton{padding:0}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (-ms-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.note-name[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{background-image:url("./media/[email protected]")!important;background-size:1024px 1057px}}.author-sidebar[_ngcontent-%COMP%]{width:300px;flex-shrink:0;margin-top:10px;margin-left:10px;display:flex;flex-direction:column;position:sticky;top:60px}.author-sidebar[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%]{background:var(--dweb-bg-panel);border-radius:4px;padding:24px 20px;box-sizing:border-box}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:20px}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-header[_ngcontent-%COMP%] .author-avatar[_ngcontent-%COMP%]{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0;margin-right:14px}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-header[_ngcontent-%COMP%] .author-meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:hidden}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-header[_ngcontent-%COMP%] .author-meta[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-header[_ngcontent-%COMP%] .author-meta[_ngcontent-%COMP%] .author-name[_ng
808content-%COMP%]{font-size:16px;font-weight:500;color:var(--dweb-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-header[_ngcontent-%COMP%] .author-meta[_ngcontent-%COMP%] .author-location[_ngcontent-%COMP%]{font-size:12px;color:var(--dweb-text-muted);background:var(--dweb-bg-hover-translucent);border-radius:4px;padding:2px 5px}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-introduction[_ngcontent-%COMP%]{font-size:14px;color:var(--dweb-text-secondary);line-height:1.6;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-stats[_ngcontent-%COMP%]{display:flex;align-items:center}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-stats[_ngcontent-%COMP%] .stat-item[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-stats[_ngcontent-%COMP%] .stat-item[_ngcontent-%COMP%] .stat-value[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:var(--dweb-text-primary);margin-bottom:4px}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .author-stats[_ngcontent-%COMP%] .stat-item[_ngcontent-%COMP%] .stat-label[_ngcontent-%COMP%]{font-size:13px;color:var(--dweb-text-muted)}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{margin:24px 0;height:1px;width:100%;background:var(--dweb-border-faint)}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .view-all-btn[_ngcontent-%COMP%]{display:block;width:100%;height:48px;margin:0 4px;background:var(--dweb-brand);border:none;border-radius:12px;color:var(--dweb-text-on-color);font-size:15px;font-weight:500;cursor:pointer}.author-sidebar[_ngcontent-%COMP%] .author-card[_ngcontent-%COMP%] .view-all-btn[_ngcontent-%COMP%]:hover{background:var(--dweb-brand-hover-legacy)}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%]{background:var(--dweb-bg-panel);border-radius:4px;padding:16px 8px 17px;box-sizing:border-box}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-notes-title[_ngcontent-%COMP%]{font-size:14px;color:var(--dweb-text-muted);padding-left:12px;margin-bottom:3px}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-note-item-container[_ngcontent-%COMP%]{cursor:pointer}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-note-item-container[_ngcontent-%COMP%]:last-child .more-note-item[_ngcontent-%COMP%]{border-bottom:none}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-note-item-container[_ngcontent-%COMP%]:hover{background:var(--dweb-bg-muted-tint-soft);border-radius:4px}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-note-item-container[_ngcontent-%COMP%] .more-note-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:13px 0;margin:0 12px;border-bottom:1px solid var(--dweb-border-faint);cursor:pointer}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-note-item-container[_ngcontent-%COMP%] .more-note-item[_ngcontent-%COMP%] .more-note-text[_ngcontent-%COMP%]{font-size:14px;color:var(--dweb-text-strong);line-height:1.5;flex:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-note-item-container[_ngcontent-%COMP%] .more-note-item[_ngcontent-%COMP%] .more-note-arrow[_ngcontent-%COMP%]{width:10px;height:10px;margin-left:18px;background-image:url("./media/[email protected]");background-position:-297px -197px;background-size:1024px 1057px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (-ms-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.author-sidebar[_ngcontent-%COMP%] .more-notes[_ngcontent-%COMP%] .more-note-item-container[_ngcontent-%COMP%] .more-note-item[_ngcontent-%COMP%] .more-note-arrow[_ngcontent-%COMP%]{background-image:url("./media/[email protected]")}}'] 809 }); 810 let e = i; 811 return e; 812})(); 813var en = [{ 814 path: "", 815 component: qt, 816 canActivateChild: [Gt], 817 children: [{ 818 path: "list", 819 component: Yt 820 }, {
821 path: ":id", 822 component: Zt 823 }, { 824 path: "**", 825 redirectTo: "/note/list" 826 }] 827 }], 828 te = (() => { 829 let i = class i { 830 constructor() {} 831 }; 832 i.ɵfac = function (n) { 833 return new (n || i)(); 834 }, i.ɵmod = q({ 835 type: i 836 }), i.ɵinj = Q({ 837 imports: [it.forChild(en), it] 838 }); 839 let e = i; 840 return e; 841 })(); 842var ai = (() => { 843 let i = class i {}; 844 i.ɵfac = function (n) { 845 return new (n || i)(); 846 }, i.ɵmod = q({ 847 type: i 848 }), i.ɵinj = Q({ 849 imports: [xt, wt, kt, Ht, te] 850 }); 851 let e = i; 852 return e; 853})(); 854export { ai as NoteModule };
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.