PageSourceSearch

https://www.markji.com/chunk-HG2RTAWG.js

js markji.com collected 2026-10-08 02:54:31 UTC 3,628 bytes, 2 lines download raw bytes

1import{c as P,d as E}from"./chunk-IJPJ42CU.js";import{a as B}from"./chunk-2UNKUHYI.js";import{a as M}from"./chunk-2H3NM7IF.js";import{a as F}from"./chunk-4NYL3MTV.js";import"./chunk-PUBM7CQ3.js";import{c as w}from"./chunk-QF5HLS3Q.js";import"./chunk-7V7DAUPP.js";import{ve as V,we as L,ye as S}from"./chunk-OYWHHPTD.js";import"./chunk-XDRSKTVV.js";import"./chunk-BXP7M62U.js";import"./chunk-RZM75C6V.js";import{m as y}from"./chunk-BYVB43HZ.js";import{Bc as h,Fa as v,Ga as f,Gc as b,Jc as l,M as x,Ob as _,Ub as g,Yc as a,_c as C,id as k,rc as c,sc as o,tc as i,uc as u,vb as d,xa as p}from"./chunk-RLFCBRIJ.js";import{k as m}from"./chunk-VJTDQWBS.js";function I(e,t){if(e&1&&(o(0,"div")(1,"div",5),a(2,"\u5F53\u524D\u7248\u672C\u5DF2\u662F\u6700\u65B0\u7248\u672C"),i(),o(3,"div",6),a(4),i()()),e&2){let n=l(2);d(4),C("V",n.currentVersion)}}function j(e,t){e&1&&(o(0,"div")(1,"div",5),a(2,"\u6709\u53EF\u66F4\u65B0\u7248\u672C"),i(),o(3,"div",7),a(4,"\u65B0\u7248\u672C\u53EF\u66F4\u65B0"),i()())}function A(e,t){if(e&1){let n=h();o(0,"div")(1,"div",1),b("click",function(){v(n);let s=l();return f(s.goAppStore())}),g(2,I,5,1,"div",0)(3,j,5,0,"div",0),u(4,"markji-icon",2),i(),o(5,"div",3),a(6,"\u66F4\u65B0\u65E5\u5FD7"),i(),u(7,"div",4),i()}if(e&2){let n=l();d(2),c("ngIf",n.isLatestVersion),d(),c("ngIf",!n.isLatestVersion),d(4),c("data",n.text)}}var R=(()=>{let t=class t{constructor(){this.pagesService=p(B),this.bridge=p(F),this.user=p(w),this.loading=!1,this.text="",this.latestVersion="",this.currentVersion="",this.isLatestVersion=!1}ngOnInit(){this.loading=!0,x([this.getLogs(),this.getLatestVersion()]).subscribe(()=>{this.loading=!1,this.currentVersion=V(),this.isLatestVersion=L(this.latestVersion)}),this.setNavButtons()}getLogs(){return m(this,null,function*(){let r=yield this.pagesService.getLogs().toPromise();this.text=r.data.value})}getLatestVersion(){return m(this,null,function*(){let r=yield this.user.updateSystemCheck();this.latestVersion=r.latest_version})}setNavButtons(){this.bridge.setNavButtons({buttons:[{id:"help",text:"\u5E2E\u52A9\u4E0E\u53CD\u9988",text_color:"blue",folded:!1}],click_listener:()=>{location.href="/mobile/help-center?__open_mode=2"}}).then()}goAppStore(){location.href=S("markji")}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=_({type:t,selectors:[["app-logs"]],features:[k([E()])],decls:1,vars:1,consts:[[4,"ngIf"],[1,"version-box",3,"click"],["name","arrow",2,"transform","rotate(-90deg)"],[1,"logs-title"],["markdown","",1,"markji-logs",3,"data"],[1,"version-text"],[1,"latest-version"],[1,"update-btn"]],template:function(s,O){s&1&&g(0,A,8,3,"div",0),s&2&&c("ngIf",!O.loading)},dependencies:[y,P,M],styles:["[_nghost-%COMP%]{display:block;padding:16px 16px 50px;background:var(--color-main-background)}.version-box[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;border-radius:10px;background:var(--color-body-background-4);color:var(--color-secondary-text)}.version-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex-grow:1;margin-right:4px;display:flex;justify-content:space-between;align-items:center}.version-text[_ngcontent-%COMP%]{color:var(--color-primary-text);font-size:16px;font-weight:700}.update-btn[_ngcontent-%COMP%]{padding:2px 12px;border-radius:12px;background:#36b59d1a;color:#36b59d}.logs-title[_ngcontent-%COMP%]{margin-top:16px;padding:10px 12px;color:var(--color-secondary-text);font-size:12px}.markji-logs[_ngcontent-%COMP%]{border-radius:10px;padding:1px 16px 48px;background:var(--color-body-background-4);font-size:14px}"]});let e=t;return e})();export{R as LogsComponent};
2//# sourceMappingURL=chunk-HG2RTAWG.js.map

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.