sinzmise-cetastories 1.6.0-1716727230968 → 1.6.0-1716730862918

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. package/404/index.html +1 -1
  2. package/404.html +1 -1
  3. package/about/index.html +1 -1
  4. package/album/index.html +1 -1
  5. package/archives/2021/12/index.html +1 -1
  6. package/archives/2021/index.html +1 -1
  7. package/archives/2022/12/index.html +1 -1
  8. package/archives/2022/index.html +1 -1
  9. package/archives/2023/01/index.html +1 -1
  10. package/archives/2023/02/index.html +1 -1
  11. package/archives/2023/03/index.html +1 -1
  12. package/archives/2023/04/index.html +1 -1
  13. package/archives/2023/07/index.html +1 -1
  14. package/archives/2023/08/index.html +1 -1
  15. package/archives/2023/09/index.html +1 -1
  16. package/archives/2023/10/index.html +1 -1
  17. package/archives/2023/11/index.html +1 -1
  18. package/archives/2023/12/index.html +1 -1
  19. package/archives/2023/index.html +1 -1
  20. package/archives/2023/page/2/index.html +1 -1
  21. package/archives/2023/page/3/index.html +1 -1
  22. package/archives/2024/01/index.html +1 -1
  23. package/archives/2024/02/index.html +1 -1
  24. package/archives/2024/03/index.html +1 -1
  25. package/archives/2024/04/index.html +1 -1
  26. package/archives/2024/05/index.html +1 -1
  27. package/archives/2024/index.html +1 -1
  28. package/archives/2024/page/2/index.html +1 -1
  29. package/archives/index.html +1 -1
  30. package/archives/page/2/index.html +1 -1
  31. package/archives/page/3/index.html +1 -1
  32. package/archives/page/4/index.html +1 -1
  33. package/article.json +1 -1
  34. package/atom.xml +46 -47
  35. package/baidu_verify_codeva-NA6uDlCuZg.html +1 -1
  36. package/baidusitemap.xml +4 -0
  37. package/bangumis/index.html +1 -1
  38. package/bbs/index.html +1 -1
  39. package/cacheList.json +1 -1
  40. package/categories/index.html +1 -1
  41. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  42. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  43. package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  44. package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  45. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  46. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  47. package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  48. package/charts/index.html +1 -1
  49. package/comments/index.html +1 -1
  50. package/essay/index.html +1 -1
  51. package/fcircle/index.html +1 -1
  52. package/google8073542809160a67.html +1 -1
  53. package/index.html +1 -1
  54. package/js/randompost.js +1 -1
  55. package/link/index.html +1 -1
  56. package/music/index.html +1 -1
  57. package/package.json +1 -1
  58. package/page/2/index.html +1 -1
  59. package/page/3/index.html +1 -1
  60. package/page/4/index.html +1 -1
  61. package/posts/10021/index.html +1 -0
  62. package/posts/10045/index.html +1 -1
  63. package/posts/10996/index.html +1 -1
  64. package/posts/12779/index.html +1 -1
  65. package/posts/13624/index.html +1 -1
  66. package/posts/15748/index.html +1 -1
  67. package/posts/15842/index.html +1 -1
  68. package/posts/16107/index.html +1 -1
  69. package/posts/18063/index.html +1 -1
  70. package/posts/20412/index.html +1 -1
  71. package/posts/21375/index.html +1 -1
  72. package/posts/22945/index.html +1 -1
  73. package/posts/23021/index.html +1 -1
  74. package/posts/27531/index.html +1 -1
  75. package/posts/27762/index.html +1 -1
  76. package/posts/28536/index.html +1 -1
  77. package/posts/28733/index.html +1 -1
  78. package/posts/29196/index.html +1 -1
  79. package/posts/38917/index.html +1 -1
  80. package/posts/38964/index.html +1 -1
  81. package/posts/42487/index.html +1 -1
  82. package/posts/42580/index.html +1 -1
  83. package/posts/45875/index.html +1 -1
  84. package/posts/48762/index.html +1 -1
  85. package/posts/50710/index.html +1 -1
  86. package/posts/52677/index.html +1 -1
  87. package/posts/53662/index.html +1 -1
  88. package/posts/54386/index.html +1 -1
  89. package/posts/54481/index.html +1 -1
  90. package/posts/54787/index.html +1 -1
  91. package/posts/56467/index.html +1 -1
  92. package/posts/57692/index.html +1 -1
  93. package/posts/58203/index.html +1 -1
  94. package/posts/61417/index.html +1 -1
  95. package/posts/646/index.html +1 -1
  96. package/seas/index.html +1 -1
  97. package/sitemap.xml +19 -10
  98. package/sw.js +1 -1
  99. package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
  100. package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
  101. package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
  102. package/tags/index.html +1 -1
  103. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  104. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  105. package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
  106. package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -1
  107. package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  108. package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  109. package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
  110. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  111. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  112. package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
  113. package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
  114. package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  115. package/update/index.html +1 -1
  116. package/update.json +1 -1
package/sitemap.xml CHANGED
@@ -416,7 +416,7 @@
416
416
  </url>
417
417
 
418
418
  <url>
419
- <loc>https://blog.sinzmise.top/404/index.html</loc>
419
+ <loc>https://blog.sinzmise.top/fcircle/index.html</loc>
420
420
 
421
421
  <lastmod>2024-05-26</lastmod>
422
422
 
@@ -425,7 +425,7 @@
425
425
  </url>
426
426
 
427
427
  <url>
428
- <loc>https://blog.sinzmise.top/fcircle/index.html</loc>
428
+ <loc>https://blog.sinzmise.top/comments/index.html</loc>
429
429
 
430
430
  <lastmod>2024-05-26</lastmod>
431
431
 
@@ -434,7 +434,7 @@
434
434
  </url>
435
435
 
436
436
  <url>
437
- <loc>https://blog.sinzmise.top/comments/index.html</loc>
437
+ <loc>https://blog.sinzmise.top/album/index.html</loc>
438
438
 
439
439
  <lastmod>2024-05-26</lastmod>
440
440
 
@@ -443,7 +443,7 @@
443
443
  </url>
444
444
 
445
445
  <url>
446
- <loc>https://blog.sinzmise.top/album/index.html</loc>
446
+ <loc>https://blog.sinzmise.top/about/index.html</loc>
447
447
 
448
448
  <lastmod>2024-05-26</lastmod>
449
449
 
@@ -452,7 +452,7 @@
452
452
  </url>
453
453
 
454
454
  <url>
455
- <loc>https://blog.sinzmise.top/about/index.html</loc>
455
+ <loc>https://blog.sinzmise.top/essay/index.html</loc>
456
456
 
457
457
  <lastmod>2024-05-26</lastmod>
458
458
 
@@ -461,7 +461,7 @@
461
461
  </url>
462
462
 
463
463
  <url>
464
- <loc>https://blog.sinzmise.top/essay/index.html</loc>
464
+ <loc>https://blog.sinzmise.top/bbs/index.html</loc>
465
465
 
466
466
  <lastmod>2024-05-26</lastmod>
467
467
 
@@ -470,7 +470,7 @@
470
470
  </url>
471
471
 
472
472
  <url>
473
- <loc>https://blog.sinzmise.top/bbs/index.html</loc>
473
+ <loc>https://blog.sinzmise.top/charts/index.html</loc>
474
474
 
475
475
  <lastmod>2024-05-26</lastmod>
476
476
 
@@ -479,7 +479,16 @@
479
479
  </url>
480
480
 
481
481
  <url>
482
- <loc>https://blog.sinzmise.top/charts/index.html</loc>
482
+ <loc>https://blog.sinzmise.top/posts/10021/</loc>
483
+
484
+ <lastmod>2024-05-26</lastmod>
485
+
486
+ <changefreq>monthly</changefreq>
487
+ <priority>0.6</priority>
488
+ </url>
489
+
490
+ <url>
491
+ <loc>https://blog.sinzmise.top/404/index.html</loc>
483
492
 
484
493
  <lastmod>2024-05-26</lastmod>
485
494
 
@@ -597,14 +606,14 @@
597
606
  </url>
598
607
 
599
608
  <url>
600
- <loc>https://blog.sinzmise.top/categories/%E6%B8%B8%E6%88%8F%E7%9B%B8%E5%85%B3/</loc>
609
+ <loc>https://blog.sinzmise.top/categories/%E9%A1%B9%E7%9B%AE%E6%8A%98%E8%85%BE/</loc>
601
610
  <lastmod>2024-05-26</lastmod>
602
611
  <changefreq>weekly</changefreq>
603
612
  <priority>0.2</priority>
604
613
  </url>
605
614
 
606
615
  <url>
607
- <loc>https://blog.sinzmise.top/categories/%E9%A1%B9%E7%9B%AE%E6%8A%98%E8%85%BE/</loc>
616
+ <loc>https://blog.sinzmise.top/categories/%E6%B8%B8%E6%88%8F%E7%9B%B8%E5%85%B3/</loc>
608
617
  <lastmod>2024-05-26</lastmod>
609
618
  <changefreq>weekly</changefreq>
610
619
  <priority>0.2</priority>
package/sw.js CHANGED
@@ -1 +1 @@
1
- (()=>{const t="StoriHouseCache",e="https://id.v3/",s=()=>caches.match(e).then((t=>t?.json())),n=s=>caches.open(t).then((t=>t.put(e,new Response(JSON.stringify(s)))));self.addEventListener("install",(()=>{self.skipWaiting()})),self.addEventListener("activate",(t=>t.waitUntil(clients.claim())));const r=(t,e,s,n)=>(n||(n={}),n.cache=e?"no-store":"default",s&&(n.mode="cors",n.credentials="same-origin"),fetch(t,n)),c=(t,e)=>r(t,!1,l(t),e),o=(t,e,s)=>r(t,e,!0,s),a=t=>{if("localhost"!==t.hostname)for(let e in i){const s=i[e];if(s.match(t))return s}};let i={simple:{clean:!0,search:!1,match:t=>"blog.sinzmise.top"===t.host&&["/404.html","/css/index.css"].includes(t.pathname)},cdn:{clean:!0,match:t=>["unpkg.com","cdn.cbd.int","lf26-cdn-tos.bytecdntp.com","lf6-cdn-tos.bytecdntp.com","lf3-cdn-tos.bytecdntp.com","lf9-cdn-tos.bytecdntp.com","npm.onmicrosoft.cn","cdn.staticfile.org","npm.elemecdn.com"].includes(t.host)&&t.pathname.match(/\.(js|css|woff2|woff|ttf|cur)$/)}},h=t=>{if(t.startsWith("https://npm.elemecdn.com"))return{timeout:3e3,list:[t,`https://cdn.cbd.int/${new URL(t).pathname}`]}},l=()=>!1;const u=(t,e,s=null)=>{if(!s&&!(s=h(t.url)))return o(t,e);const n=s.list,r=new Array(n.length),c=s=>o(new Request(n[s],t),e,{signal:(r[s]=new AbortController).signal}).then((t=>f(t)?{r:t,i:s}:Promise.reject()));return new Promise(((e,o)=>{let a=!0;const i=()=>{a=!1,Promise.any([l,...Array.from({length:n.length-1},((t,e)=>e+1)).map((t=>c(t)))]).then((t=>{for(let e=0;e!==n.length;++e)e!==t.i&&r[e].abort();e(t.r)})).catch((()=>o(`请求 ${t.url} 失败`)))},h=setTimeout(i,s.timeout),l=c(0).then((t=>{a&&(clearTimeout(h),e(t.r))})).catch((()=>(a&&(clearTimeout(h),i()),Promise.reject())))}))},f=t=>t.ok||[301,302,307,308].includes(t.status),m=new Map;self.addEventListener("fetch",(e=>{let s=e.request,n=new URL(s.url);if("GET"!==s.method||!s.url.startsWith("http"))return;const r=(async t=>{const e=t.url;if(e.startsWith("https://blog.sinzmise.top/")&&["jpg","png","js","css","woff2","woff","ttf","cur","webp","jpeg","gif","mp4","svg","ico","json"].some((t=>e.endsWith("."+t)))&&!["update.json","cacheList.json","sw.js","sw-dom.js"].some((t=>e.endsWith(t)))){const s=e.replace("https://blog.sinzmise.top","");return new Request("https://jsd.cdn.storisinz.site/npm/sinzmise-cetastories@latest"+s,{...t,mode:"cors",headers:{"Content-Type":"text/html;charset=utf-8"}})}})(s);if(r&&(s=r,n=new URL(s.url)),(t=>t.url.startsWith("https://i0.hdslb.com"))(s))return;let o,i=n.hostname+n.pathname+n.search;const l=t=>{e.respondWith(o?t.then((t=>{for(let e of o)e(t.clone())})).catch((t=>{for(let e of o)e(t)})).then((()=>(m.delete(i),t))):t)},p=a(n);if(p){let e=`https://${n.host}${n.pathname}`;e.endsWith("/index.html")&&(e=e.substring(0,e.length-10)),p.search&&(e+=n.search),l(caches.match(e).then((n=>n??u(s,!0).then((s=>{if(f(s)){const n=s.clone();caches.open(t).then((t=>t.put(e,n)))}return s})))))}else{const t=h(s.url);l(t?u(s,!1,t):r?c(s,!1).catch((t=>new Response(t,{status:499}))):c(s).catch((t=>new Response(t,{status:499}))))}})),self.addEventListener("message",(t=>{"update"===t.data&&p().then((e=>{e.type="update",t.source.postMessage(e)}))}));const p=async()=>{const r=await u(new Request("/update.json"),!1);if(!f(r))throw`加载 update.json 时遇到异常,状态码:${r.status}`;const c=await r.json(),o=await(t=>s().then((e=>{const{info:s,global:r}=t,c={global:r,local:s[0].version,escape:e?.escape??0};if(!e)return c.escape=0,n(c),{new:c,old:e};let o=new d,a=((t,e,s)=>{for(let n of e){const{version:e,change:r}=n;if(e===s)return!1;if(r)for(let e of r)t.push(new w(e))}return!0})(o,s,e.local);return n(c),a&&(r!==e.global?o.force=!0:o.refresh=!0),{list:o,new:c,old:e}})))(c);if(o.list){const s=await(s=>caches.open(t).then((t=>t.keys().then((n=>Promise.all(n.map((async n=>{const r=n.url;return r!==e&&s.match(r)?(t.delete(n),r):null}))))).then((t=>t.filter((t=>t)))))))(o.list);o.list=s?.length?s:null}return o};function d(){const t=[];this.push=e=>{t.push(e)},this.match=e=>{if(this.force)return!0;if(e=new URL(e),this.refresh)return a(e).clean;for(let s of t)if(s.match(e))return!0;return!1}}function w(t){const e=e=>{const s=t.value;if(Array.isArray(s)){for(let t of s)if(e(t))return!0;return!1}return e(s)};this.match=(()=>{switch(t.flag){case"html":return t=>t.pathname.match(/(\/|\.html)$/);case"end":return t=>e((e=>t.href.endsWith(e)));case"begin":return t=>e((e=>t.pathname.startsWith(e)));case"str":return t=>e((e=>t.href.includes(e)));case"reg":return t=>e((e=>t.href.match(new RegExp(e,"i"))));default:throw`未知表达式:${JSON.stringify(t)}`}})()}})();
1
+ (()=>{const t="StoriHouseCache",e="https://id.v3/",n=()=>caches.match(e).then((t=>t?.json())),s=n=>caches.open(t).then((t=>t.put(e,new Response(JSON.stringify(n)))));self.addEventListener("install",(()=>{self.skipWaiting()})),self.addEventListener("activate",(t=>t.waitUntil(clients.claim())));const r=(t,e,n,s)=>(s||(s={}),s.cache=e?"no-store":"default",n&&(s.mode="cors",s.credentials="same-origin"),fetch(t,s)),c=(t,e,n)=>r(t,e,!0,n),a=t=>{if("localhost"!==t.hostname)for(let e in o){const n=o[e];if(n.match(t))return n}};let o={simple:{clean:!0,search:!1,match:t=>"blog.sinzmise.top"===t.host&&["/404.html","/css/index.css"].includes(t.pathname)},cdn:{clean:!0,match:t=>["unpkg.com","cdn.cbd.int","lf26-cdn-tos.bytecdntp.com","lf6-cdn-tos.bytecdntp.com","lf3-cdn-tos.bytecdntp.com","lf9-cdn-tos.bytecdntp.com","npm.onmicrosoft.cn","cdn.staticfile.org","npm.elemecdn.com"].includes(t.host)&&t.pathname.match(/\.(js|css|woff2|woff|ttf|cur)$/)}},i=t=>{if(t.startsWith("https://npm.elemecdn.com"))return{timeout:3e3,list:[t,`https://cdn.cbd.int/${new URL(t).pathname}`]}},l=()=>!1;const h=(t,e,n=null)=>{if(!n&&!(n=i(t.url)))return c(t,e);const s=n.list,r=new Array(s.length),a=n=>c(new Request(s[n],t),e,{signal:(r[n]=new AbortController).signal}).then((t=>u(t)?{r:t,i:n}:Promise.reject()));return new Promise(((e,c)=>{let o=!0;const i=()=>{o=!1,Promise.any([h,...Array.from({length:s.length-1},((t,e)=>e+1)).map((t=>a(t)))]).then((t=>{for(let e=0;e!==s.length;++e)e!==t.i&&r[e].abort();e(t.r)})).catch((()=>c(`请求 ${t.url} 失败`)))},l=setTimeout(i,n.timeout),h=a(0).then((t=>{o&&(clearTimeout(l),e(t.r))})).catch((()=>(o&&(clearTimeout(l),i()),Promise.reject())))}))},u=t=>t.ok||[301,302,307,308].includes(t.status),f=new Map;self.addEventListener("fetch",(e=>{let n=e.request,s=new URL(n.url);if("GET"!==n.method||!n.url.startsWith("http"))return;if((t=>t.url.startsWith("https://i0.hdslb.com"))(n))return;let c,o=s.hostname+s.pathname+s.search;const m=t=>{e.respondWith(c?t.then((t=>{for(let e of c)e(t.clone())})).catch((t=>{for(let e of c)e(t)})).then((()=>(f.delete(o),t))):t)},d=a(s);if(d){let e=`https://${s.host}${s.pathname}`;e.endsWith("/index.html")&&(e=e.substring(0,e.length-10)),d.search&&(e+=s.search),m(caches.match(e).then((s=>s??h(n,!0).then((n=>{if(u(n)){const s=n.clone();caches.open(t).then((t=>t.put(e,s)))}return n})))))}else{const t=i(n.url);m(t?h(n,!1,t):((t,e)=>r(t,!1,l(t),e))(n).catch((t=>new Response(t,{status:499}))))}})),self.addEventListener("message",(t=>{"update"===t.data&&m().then((e=>{e.type="update",t.source.postMessage(e)}))}));const m=async()=>{const r=await h(new Request("/update.json"),!1);if(!u(r))throw`加载 update.json 时遇到异常,状态码:${r.status}`;const c=await r.json(),a=await(t=>n().then((e=>{const{info:n,global:r}=t,c={global:r,local:n[0].version,escape:e?.escape??0};if(!e)return c.escape=0,s(c),{new:c,old:e};let a=new d,o=((t,e,n)=>{for(let s of e){const{version:e,change:r}=s;if(e===n)return!1;if(r)for(let e of r)t.push(new p(e))}return!0})(a,n,e.local);return s(c),o&&(r!==e.global?a.force=!0:a.refresh=!0),{list:a,new:c,old:e}})))(c);if(a.list){const n=await(n=>caches.open(t).then((t=>t.keys().then((s=>Promise.all(s.map((async s=>{const r=s.url;return r!==e&&n.match(r)?(t.delete(s),r):null}))))).then((t=>t.filter((t=>t)))))))(a.list);a.list=n?.length?n:null}return a};function d(){const t=[];this.push=e=>{t.push(e)},this.match=e=>{if(this.force)return!0;if(e=new URL(e),this.refresh)return a(e).clean;for(let n of t)if(n.match(e))return!0;return!1}}function p(t){const e=e=>{const n=t.value;if(Array.isArray(n)){for(let t of n)if(e(t))return!0;return!1}return e(n)};this.match=(()=>{switch(t.flag){case"html":return t=>t.pathname.match(/(\/|\.html)$/);case"end":return t=>e((e=>t.href.endsWith(e)));case"begin":return t=>e((e=>t.pathname.startsWith(e)));case"str":return t=>e((e=>t.href.includes(e)));case"reg":return t=>e((e=>t.href.match(new RegExp(e,"i"))));default:throw`未知表达式:${JSON.stringify(t)}`}})()}})();