sinzmise-cetastories 1.7.0-1717845568710 → 1.7.0-1717847191779

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +21 -21
  35. package/baidu_verify_codeva-NA6uDlCuZg.html +1 -1
  36. package/baidusitemap.xml +8 -8
  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/link/index.html +1 -1
  55. package/music/index.html +1 -1
  56. package/package.json +1 -1
  57. package/page/2/index.html +1 -1
  58. package/page/3/index.html +1 -1
  59. package/page/4/index.html +1 -1
  60. package/posts/10021/index.html +1 -1
  61. package/posts/10045/index.html +1 -1
  62. package/posts/10996/index.html +1 -1
  63. package/posts/12779/index.html +1 -1
  64. package/posts/13624/index.html +1 -1
  65. package/posts/15748/index.html +1 -1
  66. package/posts/15842/index.html +1 -1
  67. package/posts/16107/index.html +1 -1
  68. package/posts/18063/index.html +1 -1
  69. package/posts/20412/index.html +1 -1
  70. package/posts/21375/index.html +1 -1
  71. package/posts/22945/index.html +1 -1
  72. package/posts/23021/index.html +1 -1
  73. package/posts/27531/index.html +1 -1
  74. package/posts/27762/index.html +1 -1
  75. package/posts/28536/index.html +1 -1
  76. package/posts/28733/index.html +1 -1
  77. package/posts/29196/index.html +1 -1
  78. package/posts/38917/index.html +1 -1
  79. package/posts/38964/index.html +1 -1
  80. package/posts/42487/index.html +1 -1
  81. package/posts/42580/index.html +1 -1
  82. package/posts/45875/index.html +1 -1
  83. package/posts/48762/index.html +1 -1
  84. package/posts/50710/index.html +1 -1
  85. package/posts/52677/index.html +1 -1
  86. package/posts/53662/index.html +1 -1
  87. package/posts/54386/index.html +1 -1
  88. package/posts/54481/index.html +1 -1
  89. package/posts/54787/index.html +1 -1
  90. package/posts/56467/index.html +1 -1
  91. package/posts/57692/index.html +1 -1
  92. package/posts/58203/index.html +1 -1
  93. package/posts/61417/index.html +1 -1
  94. package/posts/646/index.html +1 -1
  95. package/seas/index.html +1 -1
  96. package/sitemap.xml +33 -33
  97. package/sw-dom.js +1 -73
  98. package/sw.js +1 -586
  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
@@ -1,15 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
3
 
4
- <url>
5
- <loc>https://blog.sinzmise.top/test.json</loc>
6
-
7
- <lastmod>2024-06-08</lastmod>
8
-
9
- <changefreq>monthly</changefreq>
10
- <priority>0.6</priority>
11
- </url>
12
-
13
4
  <url>
14
5
  <loc>https://blog.sinzmise.top/manifest.json</loc>
15
6
 
@@ -20,7 +11,7 @@
20
11
  </url>
21
12
 
22
13
  <url>
23
- <loc>https://blog.sinzmise.top/js/waifu-tips.json</loc>
14
+ <loc>https://blog.sinzmise.top/test.json</loc>
24
15
 
25
16
  <lastmod>2024-06-08</lastmod>
26
17
 
@@ -83,7 +74,7 @@
83
74
  </url>
84
75
 
85
76
  <url>
86
- <loc>https://blog.sinzmise.top/posts/42580/</loc>
77
+ <loc>https://blog.sinzmise.top/js/waifu-tips.json</loc>
87
78
 
88
79
  <lastmod>2024-06-08</lastmod>
89
80
 
@@ -92,7 +83,7 @@
92
83
  </url>
93
84
 
94
85
  <url>
95
- <loc>https://blog.sinzmise.top/posts/56467/</loc>
86
+ <loc>https://blog.sinzmise.top/posts/42580/</loc>
96
87
 
97
88
  <lastmod>2024-06-08</lastmod>
98
89
 
@@ -101,7 +92,7 @@
101
92
  </url>
102
93
 
103
94
  <url>
104
- <loc>https://blog.sinzmise.top/posts/53662/</loc>
95
+ <loc>https://blog.sinzmise.top/posts/56467/</loc>
105
96
 
106
97
  <lastmod>2024-06-08</lastmod>
107
98
 
@@ -110,7 +101,7 @@
110
101
  </url>
111
102
 
112
103
  <url>
113
- <loc>https://blog.sinzmise.top/posts/27531/</loc>
104
+ <loc>https://blog.sinzmise.top/posts/53662/</loc>
114
105
 
115
106
  <lastmod>2024-06-08</lastmod>
116
107
 
@@ -226,15 +217,6 @@
226
217
  <priority>0.6</priority>
227
218
  </url>
228
219
 
229
- <url>
230
- <loc>https://blog.sinzmise.top/posts/52677/</loc>
231
-
232
- <lastmod>2024-06-08</lastmod>
233
-
234
- <changefreq>monthly</changefreq>
235
- <priority>0.6</priority>
236
- </url>
237
-
238
220
  <url>
239
221
  <loc>https://blog.sinzmise.top/posts/27762/</loc>
240
222
 
@@ -398,7 +380,7 @@
398
380
  </url>
399
381
 
400
382
  <url>
401
- <loc>https://blog.sinzmise.top/google8073542809160a67</loc>
383
+ <loc>https://blog.sinzmise.top/baidu_verify_codeva-NA6uDlCuZg</loc>
402
384
 
403
385
  <lastmod>2024-06-08</lastmod>
404
386
 
@@ -407,7 +389,7 @@
407
389
  </url>
408
390
 
409
391
  <url>
410
- <loc>https://blog.sinzmise.top/baidu_verify_codeva-NA6uDlCuZg</loc>
392
+ <loc>https://blog.sinzmise.top/google8073542809160a67</loc>
411
393
 
412
394
  <lastmod>2024-06-08</lastmod>
413
395
 
@@ -425,7 +407,7 @@
425
407
  </url>
426
408
 
427
409
  <url>
428
- <loc>https://blog.sinzmise.top/404/</loc>
410
+ <loc>https://blog.sinzmise.top/fcircle/</loc>
429
411
 
430
412
  <lastmod>2024-06-08</lastmod>
431
413
 
@@ -434,7 +416,7 @@
434
416
  </url>
435
417
 
436
418
  <url>
437
- <loc>https://blog.sinzmise.top/fcircle/</loc>
419
+ <loc>https://blog.sinzmise.top/comments/</loc>
438
420
 
439
421
  <lastmod>2024-06-08</lastmod>
440
422
 
@@ -443,7 +425,7 @@
443
425
  </url>
444
426
 
445
427
  <url>
446
- <loc>https://blog.sinzmise.top/comments/</loc>
428
+ <loc>https://blog.sinzmise.top/album/</loc>
447
429
 
448
430
  <lastmod>2024-06-08</lastmod>
449
431
 
@@ -452,7 +434,7 @@
452
434
  </url>
453
435
 
454
436
  <url>
455
- <loc>https://blog.sinzmise.top/album/</loc>
437
+ <loc>https://blog.sinzmise.top/about/</loc>
456
438
 
457
439
  <lastmod>2024-06-08</lastmod>
458
440
 
@@ -461,7 +443,7 @@
461
443
  </url>
462
444
 
463
445
  <url>
464
- <loc>https://blog.sinzmise.top/about/</loc>
446
+ <loc>https://blog.sinzmise.top/essay/</loc>
465
447
 
466
448
  <lastmod>2024-06-08</lastmod>
467
449
 
@@ -470,7 +452,7 @@
470
452
  </url>
471
453
 
472
454
  <url>
473
- <loc>https://blog.sinzmise.top/essay/</loc>
455
+ <loc>https://blog.sinzmise.top/bbs/</loc>
474
456
 
475
457
  <lastmod>2024-06-08</lastmod>
476
458
 
@@ -479,7 +461,7 @@
479
461
  </url>
480
462
 
481
463
  <url>
482
- <loc>https://blog.sinzmise.top/bbs/</loc>
464
+ <loc>https://blog.sinzmise.top/charts/</loc>
483
465
 
484
466
  <lastmod>2024-06-08</lastmod>
485
467
 
@@ -488,7 +470,25 @@
488
470
  </url>
489
471
 
490
472
  <url>
491
- <loc>https://blog.sinzmise.top/charts/</loc>
473
+ <loc>https://blog.sinzmise.top/posts/27531/</loc>
474
+
475
+ <lastmod>2024-06-08</lastmod>
476
+
477
+ <changefreq>monthly</changefreq>
478
+ <priority>0.6</priority>
479
+ </url>
480
+
481
+ <url>
482
+ <loc>https://blog.sinzmise.top/posts/52677/</loc>
483
+
484
+ <lastmod>2024-06-08</lastmod>
485
+
486
+ <changefreq>monthly</changefreq>
487
+ <priority>0.6</priority>
488
+ </url>
489
+
490
+ <url>
491
+ <loc>https://blog.sinzmise.top/404/</loc>
492
492
 
493
493
  <lastmod>2024-06-08</lastmod>
494
494
 
package/sw-dom.js CHANGED
@@ -1,73 +1 @@
1
- document.addEventListener('DOMContentLoaded', () => {
2
- if (!navigator.serviceWorker?.controller) return
3
- /** 发送信息到 sw */
4
- const postMessage2SW = type => navigator.serviceWorker.controller.postMessage(type)
5
- const pjaxUpdate = url => {
6
- const type = url.endsWith('js') ? 'script' : 'link'
7
- const name = type === 'link' ? 'href' : 'src'
8
- for (let item of document.getElementsByTagName(type)) {
9
- const itUrl = item[name]
10
- if (url.length > itUrl ? url.endsWith(itUrl) : itUrl.endsWith(url)) {
11
- const newEle = document.createElement(type)
12
- const content = item.text || item.textContent || item.innerHTML || ''
13
- // noinspection JSUnresolvedReference
14
- Array.from(item.attributes).forEach(attr => newEle.setAttribute(attr.name, attr.value))
15
- newEle.appendChild(document.createTextNode(content))
16
- item.parentNode.replaceChildren(newEle, item)
17
- return true
18
- }
19
- }
20
- }
21
- const SESSION_KEY = 'updated'
22
- // noinspection JSFileReferences
23
- const onSuccess = () => {
24
- caches.match('https://id.v3/').then(function(response) {
25
- if (response) {
26
- // 如果找到了匹配的缓存响应
27
- response.json().then(function(data) {
28
- var snackbarBg =
29
- document.documentElement.getAttribute('data-theme') === 'light' ?
30
- GLOBAL_CONFIG.Snackbar.bgLight :
31
- GLOBAL_CONFIG.Snackbar.bgDark
32
- var snackbarPos = GLOBAL_CONFIG.Snackbar.position
33
- Snackbar.show({
34
- text: `已刷新缓存,更新为${GLOBAL_CONFIG.uiversion}版本最新内容`,
35
- backgroundColor: snackbarBg,
36
- duration: 30000,
37
- pos: snackbarPos,
38
- actionText: '查看更新日志',
39
- actionTextColor: '#fff',
40
- onActionClick: function(e) {
41
- location.assign("/update/");
42
- },
43
- })
44
- });
45
- } else {
46
- console.info('未找到匹配的缓存响应');
47
- }
48
- }).catch(function(error) {
49
- console.error('缓存匹配出错:', error);
50
- });
51
- };
52
- if (sessionStorage.getItem(SESSION_KEY)) {
53
- onSuccess()
54
- sessionStorage.removeItem(SESSION_KEY)
55
- } else postMessage2SW('update')
56
- navigator.serviceWorker.addEventListener('message', event => {
57
- const data = event.data
58
- sessionStorage.setItem(SESSION_KEY, data.type)
59
- const list = data.list?.filter(url => /\.(js|css)$/.test(url))
60
- if (list) {
61
- // noinspection JSUnresolvedReference
62
- if (window.Pjax?.isSupported?.())
63
- list.forEach(pjaxUpdate)
64
- location.reload()
65
- } else {
66
- const newVersion = data.new, oldVersion = data.old
67
- if (oldVersion && (newVersion.global !== oldVersion.global || newVersion.local !== oldVersion.local)) {
68
- onSuccess()
69
- }
70
- sessionStorage.removeItem(SESSION_KEY)
71
- }
72
- })
73
- })
1
+ document.addEventListener("DOMContentLoaded",(()=>{if(!navigator.serviceWorker?.controller)return;const e=e=>{const t=e.endsWith("js")?"script":"link",o="link"===t?"href":"src";for(let n of document.getElementsByTagName(t)){const r=n[o];if(e.length>r?e.endsWith(r):r.endsWith(e)){const e=document.createElement(t),o=n.text||n.textContent||n.innerHTML||"";return Array.from(n.attributes).forEach((t=>e.setAttribute(t.name,t.value))),e.appendChild(document.createTextNode(o)),n.parentNode.replaceChildren(e,n),!0}}},t="updated",o=()=>{caches.match("https://id.v3/").then((function(e){e?e.json().then((function(e){var t="light"===document.documentElement.getAttribute("data-theme")?GLOBAL_CONFIG.Snackbar.bgLight:GLOBAL_CONFIG.Snackbar.bgDark,o=GLOBAL_CONFIG.Snackbar.position;Snackbar.show({text:`已刷新缓存,更新为${GLOBAL_CONFIG.uiversion}版本最新内容`,backgroundColor:t,duration:3e4,pos:o,actionText:"查看更新日志",actionTextColor:"#fff",onActionClick:function(e){location.assign("/update/")}})})):console.info("未找到匹配的缓存响应")})).catch((function(e){console.error("缓存匹配出错:",e)}))};var n;sessionStorage.getItem(t)?(o(),sessionStorage.removeItem(t)):(n="update",navigator.serviceWorker.controller.postMessage(n)),navigator.serviceWorker.addEventListener("message",(n=>{const r=n.data;sessionStorage.setItem(t,r.type);const a=r.list?.filter((e=>/\.(js|css)$/.test(e)));if(a)window.Pjax?.isSupported?.()&&a.forEach(e),location.reload();else{const e=r.new,n=r.old;!n||e.global===n.global&&e.local===n.local||o(),sessionStorage.removeItem(t)}}))}));