sinzmise-cetastories 1.6.0-1716714525505 → 1.6.0-1716727230968

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) 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 +28 -28
  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/10045/index.html +1 -1
  61. package/posts/10996/index.html +1 -1
  62. package/posts/12779/index.html +1 -1
  63. package/posts/13624/index.html +1 -1
  64. package/posts/15748/index.html +1 -1
  65. package/posts/15842/index.html +1 -1
  66. package/posts/16107/index.html +1 -1
  67. package/posts/18063/index.html +1 -1
  68. package/posts/20412/index.html +1 -1
  69. package/posts/21375/index.html +1 -1
  70. package/posts/22945/index.html +1 -1
  71. package/posts/23021/index.html +1 -1
  72. package/posts/27531/index.html +1 -1
  73. package/posts/27762/index.html +1 -1
  74. package/posts/28536/index.html +1 -1
  75. package/posts/28733/index.html +1 -1
  76. package/posts/29196/index.html +1 -1
  77. package/posts/38917/index.html +1 -1
  78. package/posts/38964/index.html +1 -1
  79. package/posts/42487/index.html +1 -1
  80. package/posts/42580/index.html +1 -1
  81. package/posts/45875/index.html +1 -1
  82. package/posts/48762/index.html +1 -1
  83. package/posts/50710/index.html +1 -1
  84. package/posts/52677/index.html +1 -1
  85. package/posts/53662/index.html +1 -1
  86. package/posts/54386/index.html +1 -1
  87. package/posts/54481/index.html +1 -1
  88. package/posts/54787/index.html +1 -1
  89. package/posts/56467/index.html +1 -1
  90. package/posts/57692/index.html +1 -1
  91. package/posts/58203/index.html +1 -1
  92. package/posts/61417/index.html +1 -1
  93. package/posts/646/index.html +1 -1
  94. package/seas/index.html +1 -1
  95. package/sitemap.xml +47 -47
  96. package/sw.js +1 -1
  97. package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
  98. package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
  99. package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
  100. package/tags/index.html +1 -1
  101. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  102. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  103. package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
  104. 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
  105. package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  106. package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  107. package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
  108. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  109. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  110. package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
  111. package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
  112. package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  113. package/update/index.html +1 -1
  114. package/update.json +1 -1
package/sitemap.xml CHANGED
@@ -2,7 +2,7 @@
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
3
 
4
4
  <url>
5
- <loc>https://blog.sinzmise.top/test.json</loc>
5
+ <loc>https://blog.sinzmise.top/manifest.json</loc>
6
6
 
7
7
  <lastmod>2024-05-26</lastmod>
8
8
 
@@ -11,7 +11,7 @@
11
11
  </url>
12
12
 
13
13
  <url>
14
- <loc>https://blog.sinzmise.top/manifest.json</loc>
14
+ <loc>https://blog.sinzmise.top/test.json</loc>
15
15
 
16
16
  <lastmod>2024-05-26</lastmod>
17
17
 
@@ -83,7 +83,7 @@
83
83
  </url>
84
84
 
85
85
  <url>
86
- <loc>https://blog.sinzmise.top/posts/29196/</loc>
86
+ <loc>https://blog.sinzmise.top/posts/42580/</loc>
87
87
 
88
88
  <lastmod>2024-05-26</lastmod>
89
89
 
@@ -92,7 +92,7 @@
92
92
  </url>
93
93
 
94
94
  <url>
95
- <loc>https://blog.sinzmise.top/posts/28536/</loc>
95
+ <loc>https://blog.sinzmise.top/posts/56467/</loc>
96
96
 
97
97
  <lastmod>2024-05-26</lastmod>
98
98
 
@@ -101,7 +101,7 @@
101
101
  </url>
102
102
 
103
103
  <url>
104
- <loc>https://blog.sinzmise.top/posts/61417/</loc>
104
+ <loc>https://blog.sinzmise.top/posts/53662/</loc>
105
105
 
106
106
  <lastmod>2024-05-26</lastmod>
107
107
 
@@ -110,7 +110,7 @@
110
110
  </url>
111
111
 
112
112
  <url>
113
- <loc>https://blog.sinzmise.top/posts/58203/</loc>
113
+ <loc>https://blog.sinzmise.top/posts/27531/</loc>
114
114
 
115
115
  <lastmod>2024-05-26</lastmod>
116
116
 
@@ -119,7 +119,7 @@
119
119
  </url>
120
120
 
121
121
  <url>
122
- <loc>https://blog.sinzmise.top/posts/12779/</loc>
122
+ <loc>https://blog.sinzmise.top/posts/29196/</loc>
123
123
 
124
124
  <lastmod>2024-05-26</lastmod>
125
125
 
@@ -128,7 +128,7 @@
128
128
  </url>
129
129
 
130
130
  <url>
131
- <loc>https://blog.sinzmise.top/posts/10996/</loc>
131
+ <loc>https://blog.sinzmise.top/posts/48762/</loc>
132
132
 
133
133
  <lastmod>2024-05-26</lastmod>
134
134
 
@@ -137,7 +137,7 @@
137
137
  </url>
138
138
 
139
139
  <url>
140
- <loc>https://blog.sinzmise.top/posts/54787/</loc>
140
+ <loc>https://blog.sinzmise.top/posts/42487/</loc>
141
141
 
142
142
  <lastmod>2024-05-26</lastmod>
143
143
 
@@ -146,7 +146,7 @@
146
146
  </url>
147
147
 
148
148
  <url>
149
- <loc>https://blog.sinzmise.top/baidu_verify_codeva-NA6uDlCuZg.html</loc>
149
+ <loc>https://blog.sinzmise.top/posts/16107/</loc>
150
150
 
151
151
  <lastmod>2024-05-26</lastmod>
152
152
 
@@ -155,7 +155,7 @@
155
155
  </url>
156
156
 
157
157
  <url>
158
- <loc>https://blog.sinzmise.top/google8073542809160a67.html</loc>
158
+ <loc>https://blog.sinzmise.top/posts/38917/</loc>
159
159
 
160
160
  <lastmod>2024-05-26</lastmod>
161
161
 
@@ -164,7 +164,7 @@
164
164
  </url>
165
165
 
166
166
  <url>
167
- <loc>https://blog.sinzmise.top/categories/index.html</loc>
167
+ <loc>https://blog.sinzmise.top/posts/21375/</loc>
168
168
 
169
169
  <lastmod>2024-05-26</lastmod>
170
170
 
@@ -173,7 +173,7 @@
173
173
  </url>
174
174
 
175
175
  <url>
176
- <loc>https://blog.sinzmise.top/fcircle/index.html</loc>
176
+ <loc>https://blog.sinzmise.top/posts/57692/</loc>
177
177
 
178
178
  <lastmod>2024-05-26</lastmod>
179
179
 
@@ -182,7 +182,7 @@
182
182
  </url>
183
183
 
184
184
  <url>
185
- <loc>https://blog.sinzmise.top/comments/index.html</loc>
185
+ <loc>https://blog.sinzmise.top/posts/54481/</loc>
186
186
 
187
187
  <lastmod>2024-05-26</lastmod>
188
188
 
@@ -191,7 +191,7 @@
191
191
  </url>
192
192
 
193
193
  <url>
194
- <loc>https://blog.sinzmise.top/album/index.html</loc>
194
+ <loc>https://blog.sinzmise.top/posts/28536/</loc>
195
195
 
196
196
  <lastmod>2024-05-26</lastmod>
197
197
 
@@ -200,7 +200,7 @@
200
200
  </url>
201
201
 
202
202
  <url>
203
- <loc>https://blog.sinzmise.top/about/index.html</loc>
203
+ <loc>https://blog.sinzmise.top/posts/15842/</loc>
204
204
 
205
205
  <lastmod>2024-05-26</lastmod>
206
206
 
@@ -209,7 +209,7 @@
209
209
  </url>
210
210
 
211
211
  <url>
212
- <loc>https://blog.sinzmise.top/essay/index.html</loc>
212
+ <loc>https://blog.sinzmise.top/posts/15748/</loc>
213
213
 
214
214
  <lastmod>2024-05-26</lastmod>
215
215
 
@@ -218,7 +218,7 @@
218
218
  </url>
219
219
 
220
220
  <url>
221
- <loc>https://blog.sinzmise.top/bbs/index.html</loc>
221
+ <loc>https://blog.sinzmise.top/posts/52677/</loc>
222
222
 
223
223
  <lastmod>2024-05-26</lastmod>
224
224
 
@@ -227,7 +227,7 @@
227
227
  </url>
228
228
 
229
229
  <url>
230
- <loc>https://blog.sinzmise.top/charts/index.html</loc>
230
+ <loc>https://blog.sinzmise.top/posts/27762/</loc>
231
231
 
232
232
  <lastmod>2024-05-26</lastmod>
233
233
 
@@ -236,7 +236,7 @@
236
236
  </url>
237
237
 
238
238
  <url>
239
- <loc>https://blog.sinzmise.top/posts/42580/</loc>
239
+ <loc>https://blog.sinzmise.top/posts/646/</loc>
240
240
 
241
241
  <lastmod>2024-05-26</lastmod>
242
242
 
@@ -245,7 +245,7 @@
245
245
  </url>
246
246
 
247
247
  <url>
248
- <loc>https://blog.sinzmise.top/posts/56467/</loc>
248
+ <loc>https://blog.sinzmise.top/posts/20412/</loc>
249
249
 
250
250
  <lastmod>2024-05-26</lastmod>
251
251
 
@@ -254,7 +254,7 @@
254
254
  </url>
255
255
 
256
256
  <url>
257
- <loc>https://blog.sinzmise.top/posts/53662/</loc>
257
+ <loc>https://blog.sinzmise.top/posts/61417/</loc>
258
258
 
259
259
  <lastmod>2024-05-26</lastmod>
260
260
 
@@ -263,7 +263,7 @@
263
263
  </url>
264
264
 
265
265
  <url>
266
- <loc>https://blog.sinzmise.top/posts/27531/</loc>
266
+ <loc>https://blog.sinzmise.top/posts/58203/</loc>
267
267
 
268
268
  <lastmod>2024-05-26</lastmod>
269
269
 
@@ -272,7 +272,7 @@
272
272
  </url>
273
273
 
274
274
  <url>
275
- <loc>https://blog.sinzmise.top/posts/48762/</loc>
275
+ <loc>https://blog.sinzmise.top/posts/18063/</loc>
276
276
 
277
277
  <lastmod>2024-05-26</lastmod>
278
278
 
@@ -281,7 +281,7 @@
281
281
  </url>
282
282
 
283
283
  <url>
284
- <loc>https://blog.sinzmise.top/posts/42487/</loc>
284
+ <loc>https://blog.sinzmise.top/posts/12779/</loc>
285
285
 
286
286
  <lastmod>2024-05-26</lastmod>
287
287
 
@@ -290,7 +290,7 @@
290
290
  </url>
291
291
 
292
292
  <url>
293
- <loc>https://blog.sinzmise.top/posts/16107/</loc>
293
+ <loc>https://blog.sinzmise.top/posts/10996/</loc>
294
294
 
295
295
  <lastmod>2024-05-26</lastmod>
296
296
 
@@ -299,7 +299,7 @@
299
299
  </url>
300
300
 
301
301
  <url>
302
- <loc>https://blog.sinzmise.top/posts/38917/</loc>
302
+ <loc>https://blog.sinzmise.top/posts/28733/</loc>
303
303
 
304
304
  <lastmod>2024-05-26</lastmod>
305
305
 
@@ -308,7 +308,7 @@
308
308
  </url>
309
309
 
310
310
  <url>
311
- <loc>https://blog.sinzmise.top/posts/21375/</loc>
311
+ <loc>https://blog.sinzmise.top/posts/23021/</loc>
312
312
 
313
313
  <lastmod>2024-05-26</lastmod>
314
314
 
@@ -317,7 +317,7 @@
317
317
  </url>
318
318
 
319
319
  <url>
320
- <loc>https://blog.sinzmise.top/posts/57692/</loc>
320
+ <loc>https://blog.sinzmise.top/posts/13624/</loc>
321
321
 
322
322
  <lastmod>2024-05-26</lastmod>
323
323
 
@@ -326,7 +326,7 @@
326
326
  </url>
327
327
 
328
328
  <url>
329
- <loc>https://blog.sinzmise.top/posts/54481/</loc>
329
+ <loc>https://blog.sinzmise.top/posts/50710/</loc>
330
330
 
331
331
  <lastmod>2024-05-26</lastmod>
332
332
 
@@ -335,7 +335,7 @@
335
335
  </url>
336
336
 
337
337
  <url>
338
- <loc>https://blog.sinzmise.top/posts/15842/</loc>
338
+ <loc>https://blog.sinzmise.top/posts/10045/</loc>
339
339
 
340
340
  <lastmod>2024-05-26</lastmod>
341
341
 
@@ -344,7 +344,7 @@
344
344
  </url>
345
345
 
346
346
  <url>
347
- <loc>https://blog.sinzmise.top/posts/15748/</loc>
347
+ <loc>https://blog.sinzmise.top/posts/45875/</loc>
348
348
 
349
349
  <lastmod>2024-05-26</lastmod>
350
350
 
@@ -353,7 +353,7 @@
353
353
  </url>
354
354
 
355
355
  <url>
356
- <loc>https://blog.sinzmise.top/posts/52677/</loc>
356
+ <loc>https://blog.sinzmise.top/posts/54787/</loc>
357
357
 
358
358
  <lastmod>2024-05-26</lastmod>
359
359
 
@@ -362,7 +362,7 @@
362
362
  </url>
363
363
 
364
364
  <url>
365
- <loc>https://blog.sinzmise.top/posts/27762/</loc>
365
+ <loc>https://blog.sinzmise.top/posts/54386/</loc>
366
366
 
367
367
  <lastmod>2024-05-26</lastmod>
368
368
 
@@ -371,7 +371,7 @@
371
371
  </url>
372
372
 
373
373
  <url>
374
- <loc>https://blog.sinzmise.top/posts/646/</loc>
374
+ <loc>https://blog.sinzmise.top/posts/22945/</loc>
375
375
 
376
376
  <lastmod>2024-05-26</lastmod>
377
377
 
@@ -380,7 +380,7 @@
380
380
  </url>
381
381
 
382
382
  <url>
383
- <loc>https://blog.sinzmise.top/posts/20412/</loc>
383
+ <loc>https://blog.sinzmise.top/posts/38964/</loc>
384
384
 
385
385
  <lastmod>2024-05-26</lastmod>
386
386
 
@@ -389,7 +389,7 @@
389
389
  </url>
390
390
 
391
391
  <url>
392
- <loc>https://blog.sinzmise.top/posts/18063/</loc>
392
+ <loc>https://blog.sinzmise.top/baidu_verify_codeva-NA6uDlCuZg.html</loc>
393
393
 
394
394
  <lastmod>2024-05-26</lastmod>
395
395
 
@@ -398,7 +398,7 @@
398
398
  </url>
399
399
 
400
400
  <url>
401
- <loc>https://blog.sinzmise.top/posts/28733/</loc>
401
+ <loc>https://blog.sinzmise.top/google8073542809160a67.html</loc>
402
402
 
403
403
  <lastmod>2024-05-26</lastmod>
404
404
 
@@ -407,7 +407,7 @@
407
407
  </url>
408
408
 
409
409
  <url>
410
- <loc>https://blog.sinzmise.top/posts/23021/</loc>
410
+ <loc>https://blog.sinzmise.top/categories/index.html</loc>
411
411
 
412
412
  <lastmod>2024-05-26</lastmod>
413
413
 
@@ -416,7 +416,7 @@
416
416
  </url>
417
417
 
418
418
  <url>
419
- <loc>https://blog.sinzmise.top/posts/13624/</loc>
419
+ <loc>https://blog.sinzmise.top/404/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/posts/50710/</loc>
428
+ <loc>https://blog.sinzmise.top/fcircle/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/posts/10045/</loc>
437
+ <loc>https://blog.sinzmise.top/comments/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/posts/45875/</loc>
446
+ <loc>https://blog.sinzmise.top/album/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/posts/54386/</loc>
455
+ <loc>https://blog.sinzmise.top/about/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/posts/22945/</loc>
464
+ <loc>https://blog.sinzmise.top/essay/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/posts/38964/</loc>
473
+ <loc>https://blog.sinzmise.top/bbs/index.html</loc>
474
474
 
475
475
  <lastmod>2024-05-26</lastmod>
476
476
 
@@ -479,7 +479,7 @@
479
479
  </url>
480
480
 
481
481
  <url>
482
- <loc>https://blog.sinzmise.top/404/index.html</loc>
482
+ <loc>https://blog.sinzmise.top/charts/index.html</loc>
483
483
 
484
484
  <lastmod>2024-05-26</lastmod>
485
485
 
package/sw.js CHANGED
@@ -1 +1 @@
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)}`}})()}})();
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)}`}})()}})();