sinzmise-cetastories 2.0.0-1735997384995 → 2.0.0-1736137213634
Sign up to get free protection for your applications and to get access to all the features.
- package/404/index.html +1 -1
- package/404.html +1 -1
- package/about/index.html +1 -1
- package/album/index.html +1 -1
- package/archives/2021/12/index.html +1 -1
- package/archives/2021/index.html +1 -1
- package/archives/2022/12/index.html +1 -1
- package/archives/2022/index.html +1 -1
- package/archives/2023/01/index.html +1 -1
- package/archives/2023/02/index.html +1 -1
- package/archives/2023/03/index.html +1 -1
- package/archives/2023/04/index.html +1 -1
- package/archives/2023/07/index.html +1 -1
- package/archives/2023/08/index.html +1 -1
- package/archives/2023/09/index.html +1 -1
- package/archives/2023/10/index.html +1 -1
- package/archives/2023/11/index.html +1 -1
- package/archives/2023/12/index.html +1 -1
- package/archives/2023/index.html +1 -1
- package/archives/2023/page/2/index.html +1 -1
- package/archives/2023/page/3/index.html +1 -1
- package/archives/2024/01/index.html +1 -1
- package/archives/2024/02/index.html +1 -1
- package/archives/2024/03/index.html +1 -1
- package/archives/2024/04/index.html +1 -1
- package/archives/2024/05/index.html +1 -1
- package/archives/2024/06/index.html +1 -1
- package/archives/2024/07/index.html +1 -1
- package/archives/2024/08/index.html +1 -1
- package/archives/2024/09/index.html +1 -1
- package/archives/2024/10/index.html +1 -1
- package/archives/2024/11/index.html +1 -1
- package/archives/2024/12/index.html +1 -1
- package/archives/2024/index.html +1 -1
- package/archives/2024/page/2/index.html +1 -1
- package/archives/2024/page/3/index.html +1 -1
- package/archives/index.html +1 -1
- package/archives/page/2/index.html +1 -1
- package/archives/page/3/index.html +1 -1
- package/archives/page/4/index.html +1 -1
- package/archives/page/5/index.html +1 -1
- package/atom.xml +21 -21
- package/baidusitemap.xml +80 -80
- package/bbs/index.html +1 -1
- package/categories/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/3/index.html +1 -1
- package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/charts/index.html +1 -1
- package/comments/index.html +1 -1
- package/essay/index.html +1 -1
- package/fcircle/index.html +1 -1
- package/flink_count.json +1 -1
- package/friend.json +1 -1
- package/games/index.html +1 -1
- package/games/riddle/esc2-e.html +1 -1
- package/games/riddle/esc3-e.html +1 -1
- package/games/riddle/esc4-e.html +1 -1
- package/index.html +1 -1
- package/link/index.html +1 -1
- package/music/index.html +1 -1
- package/package.json +1 -1
- package/page/2/index.html +1 -1
- package/page/3/index.html +1 -1
- package/page/4/index.html +1 -1
- package/page/5/index.html +1 -1
- package/posts/10021/index.html +1 -1
- package/posts/10045/index.html +1 -1
- package/posts/10733/index.html +1 -1
- package/posts/10996/index.html +1 -1
- package/posts/12779/index.html +1 -1
- package/posts/13624/index.html +1 -1
- package/posts/15688/index.html +1 -1
- package/posts/15748/index.html +1 -1
- package/posts/15799/index.html +1 -1
- package/posts/15842/index.html +1 -1
- package/posts/16107/index.html +1 -1
- package/posts/18063/index.html +1 -1
- package/posts/20412/index.html +1 -1
- package/posts/21375/index.html +1 -1
- package/posts/22945/index.html +1 -1
- package/posts/23021/index.html +1 -1
- package/posts/23226/index.html +1 -1
- package/posts/27531/index.html +1 -1
- package/posts/27762/index.html +1 -1
- package/posts/28536/index.html +1 -1
- package/posts/28733/index.html +1 -1
- package/posts/29196/index.html +1 -1
- package/posts/38917/index.html +1 -1
- package/posts/38964/index.html +1 -1
- package/posts/42487/index.html +1 -1
- package/posts/42580/index.html +1 -1
- package/posts/45875/index.html +1 -1
- package/posts/46640/index.html +1 -1
- package/posts/48762/index.html +1 -1
- package/posts/50710/index.html +1 -1
- package/posts/52677/index.html +1 -1
- package/posts/53662/index.html +1 -1
- package/posts/54386/index.html +1 -1
- package/posts/54481/index.html +1 -1
- package/posts/54787/index.html +1 -1
- package/posts/56467/index.html +1 -1
- package/posts/57692/index.html +1 -1
- package/posts/58203/index.html +1 -1
- package/posts/61417/index.html +1 -1
- package/posts/61712/index.html +1 -1
- package/posts/61713/index.html +1 -1
- package/posts/646/index.html +1 -1
- package/posts/64856/index.html +1 -1
- package/posts/64935/index.html +1 -1
- package/posts/65382/index.html +1 -1
- package/seas/index.html +1 -1
- package/sitemap.xml +140 -140
- package/sw.js +1 -1
- package/swpp/update.json +1 -1
- package/swpp.js +1 -0
- package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
- package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
- package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
- package/tags/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/3/index.html +1 -1
- package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
- package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -1
- 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
- package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
- package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
- package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/update/index.html +1 -1
- package/cw.js +0 -1
package/sw.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(()=>{const e="CetaHouseCache",t="https://id.v3/",s="X-Swpp-Invalid",n="X-Swpp-Time",a=e=>{const t=t=>{const s=e.value;if(Array.isArray(s)){for(let e of s)if(t(e))return!0;return!1}return t(s)};switch(e.flag){case"html":return e=>/\/$|\.html$/.test(e);case"suf":return e=>t((t=>e.endsWith(t)));case"pre":return e=>t((t=>e.startsWith(t)));case"str":return e=>t((t=>e.includes(t)));case"reg":return e=>t((t=>new RegExp(t,"i").test(e)));default:throw e}},r=t=>caches.match(t,{cacheName:e}),i=async(t,s,a)=>{if(a){const e=new Headers(s.headers);e.set(n,(new Date).toISOString()),s=new Response(s.body,{status:s.status,headers:e})}const r=await caches.open(e);await r.put(t,s)},l=e=>r(e).then((t=>{if(!t)return;const n=new Headers(t.headers);return n.set(s,"1"),i(e,new Response(t.body,{status:t.status,headers:n}))})),c=()=>r(t).then((e=>e?.json?.())),o=e=>(e.tp=Date.now(),i(t,new Response(JSON.stringify(e)))),u=async(e,t,...s)=>{s.length||(s=await clients.matchAll());const n={type:e,data:t};for(let e of s)e.postMessage(n)},h=async(s,n)=>{if(!n&&s&&Date.now()-s.tp<6e5)return;const r=await(await fetch("swpp/update.json",{priority:"high"})).json(),{global:i,info:c}=r,u={global:i,local:c[0].version,escape:0};if(!s)return await o(u),s?1:-1;if(s.global===i&&s.local===u.local)return;const h=[];for(let n of c){if(n.version===s.local){const s=[];return await caches.open(e).then((e=>e.keys())).then((async e=>{for(let n of e){const e=n.url;e!==t&&h.find((t=>t(e)))&&(await l(n),s.push(e))}})),s}const r=n.change;if(r)for(let e of r)h.push(a(e))}return await caches.delete(e).then((()=>o(u))),2},d=e=>{let t=e.request;if("GET"!==t.method||!t.url.startsWith("http"))return;const s=null;new URL((n=t.url).endsWith("/index.html")?n.substring(0,n.length-10):n.endsWith(".html")?n.substring(0,n.length-5):n);var n;const a=!1};self.addEventListener("install",(e=>{skipWaiting()})),self.addEventListener("activate",(e=>e.waitUntil(clients.claim()))),self.addEventListener("fetch",(e=>d(e))),self.addEventListener("periodicSync",(e=>{"update"===e.tag&&e.waitUntil(h(!0))})),self.addEventListener("message",(async e=>{if("update"===e.data.type){const e=await c(),t=await h(e);if(!t)return;switch(t){case-1:return u("new",null);case 1:return u("revise",null);case 2:return u("update",null);default:if(Array.isArray(t))return u("update",t)}}}))})();
|
1
|
+
const workboxVersion="5.1.3";importScripts("https://storage.googleapis.com/workbox-cdn/releases/5.1.3/workbox-sw.js"),workbox.core.setCacheNameDetails({prefix:"CetaHouseCache"}),workbox.core.skipWaiting(),workbox.core.clientsClaim(),workbox.precaching.precacheAndRoute([{revision:"fef551670f9635bd26bd14d78712638c",url:"./404.html"},{revision:"da93b4b3ec99f4758a057c092cdb85b9",url:"./404/index.html"},{revision:"dbc2984437a94977108fe545c5a010f1",url:"./about/index.html"},{revision:"f831c6af4aed0bb3b199103aaa8a1af6",url:"./album/index.html"},{revision:"a140229e07b8eef5e68b75a7ea0acfc4",url:"./archives/2021/12/index.html"},{revision:"00f20ec0f751af214372a77342dca57f",url:"./archives/2021/index.html"},{revision:"a7a817c597650404e3b0d1cf96e767dd",url:"./archives/2022/12/index.html"},{revision:"204964947deb63cdcd4d70c84e629a1c",url:"./archives/2022/index.html"},{revision:"6f5b1aa0a5dfeef07e85a6838f483878",url:"./archives/2023/01/index.html"},{revision:"8ea30db19a85395c67a0d98b35a9b873",url:"./archives/2023/02/index.html"},{revision:"631e93faa72b66c27d0b41a4c326732f",url:"./archives/2023/03/index.html"},{revision:"e033d47a4440a2657cca8f06bdec0fbe",url:"./archives/2023/04/index.html"},{revision:"b3d5dd1a6f3f21dc4ec1e61c27c46731",url:"./archives/2023/07/index.html"},{revision:"0ded3d0744e5e370fd56216fc5c0272c",url:"./archives/2023/08/index.html"},{revision:"ae83e933d0488263544b4b388cd31523",url:"./archives/2023/09/index.html"},{revision:"90497f05407007cee9ef59c75a8633b8",url:"./archives/2023/10/index.html"},{revision:"e7df15a7ac758c564bb7439d54a3e91b",url:"./archives/2023/11/index.html"},{revision:"1cb1848f1891ba9cc5a0562067399d3f",url:"./archives/2023/12/index.html"},{revision:"3e8bcdbd362f62e705e121e837a04b87",url:"./archives/2023/index.html"},{revision:"291ad886a8091ddafb6fd0b1a342c60d",url:"./archives/2023/page/2/index.html"},{revision:"18416b8d95272650d983ea7f5911f48e",url:"./archives/2023/page/3/index.html"},{revision:"1554cd5f8da78bb5f72379fab3790089",url:"./archives/2024/01/index.html"},{revision:"fccb43a4a8e2d017c3223e38ca49f2bf",url:"./archives/2024/02/index.html"},{revision:"e4a7b77a87b28dd8a43eff48a92b57cc",url:"./archives/2024/03/index.html"},{revision:"55725135f3e98f1b0e8672f6847892d3",url:"./archives/2024/04/index.html"},{revision:"4a4013aa8afb9594b813042fe3f3198d",url:"./archives/2024/05/index.html"},{revision:"dd47346a2c208c2d8ca7e4ba7eb7720b",url:"./archives/2024/06/index.html"},{revision:"1b16216ae6adbb41a15d6ec569323b25",url:"./archives/2024/07/index.html"},{revision:"ba0e3003e343932e81016faf948982a5",url:"./archives/2024/08/index.html"},{revision:"6625366077792f480aa3a0af1f2323f3",url:"./archives/2024/09/index.html"},{revision:"d9d97f94a027c403b5c38674e3775fac",url:"./archives/2024/10/index.html"},{revision:"18919b33deb711ac92af6a8d6907a022",url:"./archives/2024/11/index.html"},{revision:"cfe8b42bab4dc8bcf3fafd798debe5ee",url:"./archives/2024/12/index.html"},{revision:"8235e8329508a148385a0d1e9a073454",url:"./archives/2024/index.html"},{revision:"f79354ee83c326ae75e5404441724b38",url:"./archives/2024/page/2/index.html"},{revision:"de50d22d01d287f0996faa978b26bfe9",url:"./archives/2024/page/3/index.html"},{revision:"e0c2d389516aecbfa17dfdd42b7f0d9b",url:"./archives/index.html"},{revision:"c28d11ed80c9970b161c01c312b8a351",url:"./archives/page/2/index.html"},{revision:"f8489bb3f506426424278e73011898d0",url:"./archives/page/3/index.html"},{revision:"26c6f0f8f520eb15c378aa610ddec8d1",url:"./archives/page/4/index.html"},{revision:"b34aa97546500e42d374d4bae05917bc",url:"./archives/page/5/index.html"},{revision:"1afe9773e365956fe1750b6db61f2aff",url:"./atom.xml"},{revision:"1522517218483dbe17909a217613aa18",url:"./baidu_verify_codeva-F0RjFTve6w.html"},{revision:"f53ea8df4420fd6e476ad093b8ad77ba",url:"./baidusitemap.xml"},{revision:"524a561ce24822dfd185d2ab35da265b",url:"./bbs/bbs.html"},{revision:"f64252b489c5684ce2c442078be9e42a",url:"./bbs/bbs.js"},{revision:"072b538edecfa7cd7950e6fc9b7c23e5",url:"./bbs/index.html"},{revision:"177b171ac529633ffb84e18bc47f35ff",url:"./BingSiteAuth.xml"},{revision:"43739f47b99c1efc931381ea384e7281",url:"./categories/index.html"},{revision:"1ed25cd364bc85cbaa3fb4fdec1ff3c8",url:"./categories/个人小记/index.html"},{revision:"658371e1121e46d4e9534fb68cd31c84",url:"./categories/个人小记/page/2/index.html"},{revision:"c1666ee2f17d2556b08c6ab011afefc6",url:"./categories/个人小记/page/3/index.html"},{revision:"7f82751b3f2b33fded7360ce8925d5fc",url:"./categories/歌曲收集/index.html"},{revision:"a3971a47c2f39fa571ba59aac73cb490",url:"./categories/游戏相关/index.html"},{revision:"b401cc04ceb97bf9b1d455e26479a9dc",url:"./categories/站点折腾/index.html"},{revision:"123e3e9ac091c85837f5cffb735e6d69",url:"./categories/站点折腾/page/2/index.html"},{revision:"6bea61872d4ff1fd5bffdc341cdacc8f",url:"./categories/项目折腾/index.html"},{revision:"494531f689502071844395bdc3fa082d",url:"./charts/index.html"},{revision:"689a0ae124b66b4be35cacaa522c2ff1",url:"./chatroom/chatroom.js"},{revision:"980be831534ca2ed083e1ab03d8e6220",url:"./comments/index.html"},{revision:"4d6a9c0efc4e4d68c59c0129255b3372",url:"./content.json"},{revision:"200b9f7c41d337dd85f69a4e1847b0aa",url:"./css/apursuer-hexo-friend-links.css"},{revision:"b6e115f6b4b607a94719fa489fef4832",url:"./css/coin.css"},{revision:"f1245164f762ee83309fa797a63fb868",url:"./css/hbe.style.css"},{revision:"d967b99863027ec8a4344b57e19db48f",url:"./css/index.css"},{revision:"dd1af3c36730c7ef47a7c1f4eab27bdb",url:"./css/kslink.css"},{revision:"51386cceb86c0515790b421686af1ff4",url:"./css/pace/big-counter.css"},{revision:"38e0d104dd31e873af89ee9d0f7277ec",url:"./css/pace/corner-indicator.css"},{revision:"9f56afe2ac69735de135aee7a7a2b319",url:"./css/pace/flash.css"},{revision:"2de485d309df5a99e1f11e5808a25be8",url:"./css/pace/mac-osx.css"},{revision:"f45deb764111721dfa80db3a9c150b77",url:"./css/pace/pace.css"},{revision:"421721b5e9c15f31cedc3aeffff6caef",url:"./css/plane.css"},{revision:"1623f74013540cf662b165286f3346e8",url:"./css/tags.css"},{revision:"d41d8cd98f00b204e9800998ecf8427e",url:"./css/var.css"},{revision:"e04598b49936b258922c90752733fbc2",url:"./custom2.css"},{revision:"4437ccff5bbaba32d37edf756a8ef153",url:"./essay/index.html"},{revision:"da58c655c1c8c03c0ed07c188729fe8d",url:"./essay/memos.js"},{revision:"d474b7e0e5525dc1c45cee7ae7fdbc5d",url:"./fcircle/index.html"},{revision:"635d7d2f2f8d9564d7ee90ba0284da67",url:"./flink_count.json"},{revision:"10f518faaa6c57e2b25413cb1c3f03bc",url:"./friend.json"},{revision:"c60a5e5a5f4e4050c11fcaf119f1ea83",url:"./games/index.html"},{revision:"b02e9de1fab3ccda948113bba984c755",url:"./games/riddle/esc2-e.html"},{revision:"dcc7a29b17de260fef110d0e3fbc9193",url:"./games/riddle/esc3-e.html"},{revision:"0558ae4284c886be10a9e16b772b4add",url:"./games/riddle/esc4-e.html"},{revision:"ecc11a0218c64545635a9b4a882f26ac",url:"./google8073542809160a67.html"},{revision:"656205a2cc8eee95021098524868488b",url:"./index.html"},{revision:"7444a3ae844cffeede7ec8836c2e5a00",url:"./js/autoload.js"},{revision:"38d1ddfe681559cb5be57700e772b66f",url:"./js/bibi.js"},{revision:"294d4cf2450e79c9a96d76330936e278",url:"./js/categorybar.js"},{revision:"f07b3b4f3c1b61e2769f7f4ef9b16bfd",url:"./js/census.js"},{revision:"086753997609706bbf6dc555b2909c7b",url:"./js/ceta/random.js"},{revision:"3f1a26dbd0b130894b591660531e81da",url:"./js/clock.js"},{revision:"700e0d15ec466e9d4426377495af3fec",url:"./js/coin.js"},{revision:"b12fa0026ddac530191fd7351ab36af8",url:"./js/essay.js"},{revision:"c6da13adfc6260e305c885462dd11787",url:"./js/fomal.js"},{revision:"aab7a1b3ae2a98c685acc34f9dad08bd",url:"./js/Gold-ingot.js"},{revision:"c5e1f13cf2b125ab4d8637718a88e903",url:"./js/kslink.js"},{revision:"34f1601509297166445616371bc42daa",url:"./js/main.js"},{revision:"f516b5e3ffbc2fe5e66b1365cd419537",url:"./js/newyear.js"},{revision:"91a84827598fa608f5e713589e65ac68",url:"./js/plane.js"},{revision:"5fd5ce46f0865256c118ba1129adf6d4",url:"./js/search/algolia.js"},{revision:"05c6674b79f5b83cbf10017521a5d8dd",url:"./js/search/local-search.js"},{revision:"b3810513e04b13b2d18c6b779c883f85",url:"./js/tw_cn.js"},{revision:"82bbcb06ce462fb9bd64d0eb4de87baa",url:"./js/txmap.js"},{revision:"24971090b8b1bd5d3f538d414e270fd3",url:"./js/utils.js"},{revision:"0f8d2be7a6de9496fc64fcb69faf1443",url:"./js/waifu-tips.json"},{revision:"889675aa22c69d4b66d44bedf191761e",url:"./js/waterfall.js"},{revision:"c432cfa1c57889109cdc866d0fa87b1b",url:"./js/webmention.js"},{revision:"cb004426c9bd62ba16e200b048462887",url:"./lib/hbe.js"},{revision:"35be21a3039329d183eef600f7f6994e",url:"./link/index.html"},{revision:"bf81f6bb4e34355b2177124e49187db3",url:"./load.html"},{revision:"c27f663da3626ca8f63b942696c216c3",url:"./manifest.json"},{revision:"d78311fdd206fb97ef74716d04ca1f9c",url:"./music/index.html"},{revision:"c77697fad0acbb28f20fa0198c2bffa1",url:"./page/2/index.html"},{revision:"de1131f457cdd95378f295d302a99aa3",url:"./page/3/index.html"},{revision:"83ce1de62e4edc83ab680764b4fdc173",url:"./page/4/index.html"},{revision:"2840cd1653bded40ccd90c636da396da",url:"./page/5/index.html"},{revision:"dac62200e96d31f86ec232b9ff2f1119",url:"./posts/10021/index.html"},{revision:"b880e3bc84e0094373a03b6520066a79",url:"./posts/10045/index.html"},{revision:"08e996ec3f67125de314739edd9562b2",url:"./posts/10733/index.html"},{revision:"c692d725084cba151573aa2d807c5b57",url:"./posts/10996/index.html"},{revision:"f4126170efb5ed25c55a60cf421e1d6d",url:"./posts/12779/index.html"},{revision:"5b8c21dddd6d813728da4c4eb61bb608",url:"./posts/13624/index.html"},{revision:"3fa7d3a34e9993d55500ee600f75c0eb",url:"./posts/15688/index.html"},{revision:"65f991a8727d8761ad26a778486c089b",url:"./posts/15748/index.html"},{revision:"9e33d880c9989ff76e1d2a904fb45f48",url:"./posts/15799/index.html"},{revision:"cbfc79c6e3ed75bac5e27def183f2c17",url:"./posts/15842/index.html"},{revision:"39b32ccf25b75291557b41ed209308c5",url:"./posts/16107/index.html"},{revision:"4fbd385f9e0018f2f3415bb43ba7b24e",url:"./posts/18063/index.html"},{revision:"0b69c37dd4ef5240ac5eda7b96b76ded",url:"./posts/20412/index.html"},{revision:"428d0e25d06a1f6147270a9fc7e25f42",url:"./posts/21375/index.html"},{revision:"f6778d0ca8c83302f110397407219a14",url:"./posts/22945/index.html"},{revision:"5ac74b934c90b5ea5161abd6bb1ce036",url:"./posts/23021/index.html"},{revision:"8e359308b791561be9056da8a995aeeb",url:"./posts/23226/index.html"},{revision:"f690fee1679ef1a8cac891401a917111",url:"./posts/27531/index.html"},{revision:"6c306d01c2a0a7ed98bf8cc732e237ae",url:"./posts/27762/index.html"},{revision:"c7c364607bd7c5c126ac787499c4bb1d",url:"./posts/28536/index.html"},{revision:"bcde8c5ae0589aa385fc0b337a68ac2c",url:"./posts/28733/index.html"},{revision:"014528e94e0afc170ba5f3b207bad27f",url:"./posts/29196/index.html"},{revision:"facb561f14e7014156f65e130adef316",url:"./posts/38917/index.html"},{revision:"c21162bd5ee2406a0aaa59e566c97d42",url:"./posts/38964/index.html"},{revision:"4446ebdbf4dd746d44c25e96a7a2cf48",url:"./posts/42487/index.html"},{revision:"d55da33e1852b4874efa76f5044836be",url:"./posts/42580/index.html"},{revision:"a82c3515cc32c02bfe961c45db260acc",url:"./posts/45875/index.html"},{revision:"32ed9a756ffd36df7c42aef845344ce2",url:"./posts/46640/index.html"},{revision:"9e6fca2a9feac81af222857b15936fde",url:"./posts/48762/index.html"},{revision:"fa9d99dd8960314152f06b4e10668f41",url:"./posts/50710/index.html"},{revision:"3517b7abc6415c5509d952f58fb674de",url:"./posts/52677/index.html"},{revision:"4339bb2dff14f132d8095a8265f7338a",url:"./posts/53662/index.html"},{revision:"7c4b5c5efff6c87813f9a66dcf270d2e",url:"./posts/54386/index.html"},{revision:"802866f81a9fe9fa6ffa44d52d2b5b69",url:"./posts/54481/index.html"},{revision:"efefe2ba72c16e06609123129d72fab7",url:"./posts/54787/index.html"},{revision:"27fbd396e322c8890d55738e00e2a20f",url:"./posts/56467/index.html"},{revision:"ec44f50a56665cf07bc3b53bf4ea4f9d",url:"./posts/57692/index.html"},{revision:"59943d16b6e6e905f27e84c093b79044",url:"./posts/58203/index.html"},{revision:"a6b1f6661cb379c64c532571cf3b6469",url:"./posts/61417/index.html"},{revision:"ac8cb6fb3284935c4f6bd139671b6cfb",url:"./posts/61712/index.html"},{revision:"b6019bebf59b21aeb8e02cb7b4e584e7",url:"./posts/61713/chats.json"},{revision:"3b08daa92d43568e0366f0d2732551bd",url:"./posts/61713/index.html"},{revision:"a9522b2c5968569c894105ff36350404",url:"./posts/646/index.html"},{revision:"96ef9b9b48b7b9aaedaaed297e8993c1",url:"./posts/64856/index.html"},{revision:"9bbcc0c2df63ba9cec2762abe5bba68f",url:"./posts/64935/index.html"},{revision:"2814d4eb03c948c6a1c628db0d5a8f6e",url:"./posts/65382/index.html"},{revision:"365dec204198e791ee6c56296456a529",url:"./search.xml"},{revision:"26dc575c0076bfd29e87202bf06ea51d",url:"./seas/index.html"},{revision:"74ea0811efc089c7d6f419f3bb29f458",url:"./sitemap.xml"},{revision:"15a6bb1406e5f2e81ff8e5623d40893f",url:"./sw-dom.js"},{revision:"f6eb30c635d32fed81c8111dac19a1ce",url:"./swpp.js"},{revision:"de430ba1e70facbf59f9bb5722338202",url:"./swpp/tracker.json"},{revision:"b69317a4ae084e0c4cb9dfcf0e265620",url:"./swpp/update.json"},{revision:"39f5efe6d21a7d2950c26d98b04378cf",url:"./tags/Flash相关/index.html"},{revision:"47ab5959e924170b8f6c305a75200a65",url:"./tags/index.html"},{revision:"29f05330f560ee288292d644f213e6dd",url:"./tags/Steam游戏/index.html"},{revision:"ebf47896f9eaa6f995e3ef793af09ca0",url:"./tags/Windows软件/index.html"},{revision:"5aec31551bd6ffbdf1f0f15171ffcb62",url:"./tags/个人小记/index.html"},{revision:"f378707b77357abb7ccef414bd1e52d1",url:"./tags/个人小记/page/2/index.html"},{revision:"55d3b6b9cb79a5170c89a490db50da0a",url:"./tags/个人小记/page/3/index.html"},{revision:"95266348025fec6376993cf69ac18ede",url:"./tags/其它游戏/index.html"},{revision:"a345390f3f2f115105bcf508d00387cc",url:"./tags/加载动画/index.html"},{revision:"913fc486212b4893127e9616b382f268",url:"./tags/悬浮宠物-看板娘/index.html"},{revision:"bd362f122c7528003cf56c18a407625e",url:"./tags/歌曲收集/index.html"},{revision:"a8c944247ef37f2cd5cdcc207d751335",url:"./tags/游戏相关/index.html"},{revision:"2fd48a09c8d52abea4daae48513a67c2",url:"./tags/站点底部魔改/index.html"},{revision:"ee02c1acb1f786e8725ef34ca687146c",url:"./tags/站点折腾/index.html"},{revision:"1766771131b1ab62eef79fdf43edd5ca",url:"./tags/站点折腾/page/2/index.html"},{revision:"c96315cb3f4588e556872a44d49b1ca2",url:"./tags/自建部署/index.html"},{revision:"be531a1f1e3aed5587fbe8f0a9cfd806",url:"./tags/页面魔改/index.html"},{revision:"5f1987794be1e567abc5e441928d5499",url:"./tags/项目折腾/index.html"},{revision:"78f7839d0368687af3ac228be3becd46",url:"./test.json"},{revision:"b9dd94b15cd12d6686172b876a00d2f0",url:"./update/index.html"},{revision:"938b47ddd66a5c856f291b1bf6b53453",url:"./weichuncai/chuncai.json"},{revision:"a1729c6aba367df186684a27db5d7085",url:"./weichuncai/css/style.css"},{revision:"8fc40e92b5b1a72a0162a871eb7ae898",url:"./weichuncai/js/common.js"},{revision:"10092eee563dec2dca82b77d2cf5a1ae",url:"./weichuncai/js/jquery.js"},{revision:"56cf0be141a728199b29994e07eb5353",url:"./weichuncai/wcc-config.js"}],{directoryIndex:null}),workbox.precaching.cleanupOutdatedCaches(),workbox.routing.registerRoute(/\.(?:png|jpg|jpeg|gif|bmp|webp|svg|ico)$/,new workbox.strategies.CacheFirst({cacheName:"images",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),workbox.routing.registerRoute(/\.(?:eot|ttf|woff|woff2)$/,new workbox.strategies.CacheFirst({cacheName:"fonts",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),workbox.routing.registerRoute(/^https:\/\/fonts\.googleapis\.com/,new workbox.strategies.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets"})),workbox.routing.registerRoute(/^https:\/\/fonts\.gstatic\.com/,new workbox.strategies.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),workbox.googleAnalytics.initialize();
|
package/swpp/update.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"global":0,"info":[{"version":
|
1
|
+
{"global":0,"info":[{"version":160,"change":[{"flag":"suf"}]},{"version":159,"change":[{"flag":"suf"}]},{"version":158,"change":[{"flag":"suf"}]},{"version":157,"change":[{"flag":"suf"}]},{"version":156,"change":[{"flag":"suf"}]},{"version":155,"change":[{"flag":"suf"}]},{"version":154,"change":[{"flag":"suf"}]},{"version":153,"change":[{"flag":"suf"}]},{"version":152,"change":[{"flag":"suf"}]},{"version":151,"change":[{"flag":"suf"}]},{"version":150,"change":[{"flag":"suf"}]},{"version":149,"change":[{"flag":"suf"}]},{"version":148,"change":[{"flag":"suf"}]},{"version":147,"change":[{"flag":"suf"}]},{"version":146,"change":[{"flag":"suf"}]},{"version":145,"change":[{"flag":"suf"}]},{"version":144,"change":[{"flag":"suf"}]},{"version":143,"change":[{"flag":"suf"}]},{"version":142,"change":[{"flag":"suf"}]},{"version":141,"change":[{"flag":"suf"}]},{"version":140,"change":[{"flag":"suf"}]},{"version":139,"change":[{"flag":"suf"}]},{"version":138,"change":[{"flag":"suf"}]},{"version":137,"change":[{"flag":"suf"}]}]}
|
package/swpp.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
(()=>{const e="CetaHouseCache",t="https://id.v3/",s="X-Swpp-Invalid",n="X-Swpp-Time",a=e=>{const t=t=>{const s=e.value;if(Array.isArray(s)){for(let e of s)if(t(e))return!0;return!1}return t(s)};switch(e.flag){case"html":return e=>/\/$|\.html$/.test(e);case"suf":return e=>t((t=>e.endsWith(t)));case"pre":return e=>t((t=>e.startsWith(t)));case"str":return e=>t((t=>e.includes(t)));case"reg":return e=>t((t=>new RegExp(t,"i").test(e)));default:throw e}},r=t=>caches.match(t,{cacheName:e}),i=async(t,s,a)=>{if(a){const e=new Headers(s.headers);e.set(n,(new Date).toISOString()),s=new Response(s.body,{status:s.status,headers:e})}const r=await caches.open(e);await r.put(t,s)},l=e=>r(e).then((t=>{if(!t)return;const n=new Headers(t.headers);return n.set(s,"1"),i(e,new Response(t.body,{status:t.status,headers:n}))})),c=()=>r(t).then((e=>e?.json?.())),o=e=>(e.tp=Date.now(),i(t,new Response(JSON.stringify(e)))),u=async(e,t,...s)=>{s.length||(s=await clients.matchAll());const n={type:e,data:t};for(let e of s)e.postMessage(n)},h=async(s,n)=>{if(!n&&s&&Date.now()-s.tp<6e5)return;const r=await(await fetch("swpp/update.json",{priority:"high"})).json(),{global:i,info:c}=r,u={global:i,local:c[0].version,escape:0};if(!s)return await o(u),s?1:-1;if(s.global===i&&s.local===u.local)return;const h=[];for(let n of c){if(n.version===s.local){const s=[];return await caches.open(e).then((e=>e.keys())).then((async e=>{for(let n of e){const e=n.url;e!==t&&h.find((t=>t(e)))&&(await l(n),s.push(e))}})),s}const r=n.change;if(r)for(let e of r)h.push(a(e))}return await caches.delete(e).then((()=>o(u))),2},d=e=>{let t=e.request;if("GET"!==t.method||!t.url.startsWith("http"))return;const s=null;new URL((n=t.url).endsWith("/index.html")?n.substring(0,n.length-10):n.endsWith(".html")?n.substring(0,n.length-5):n);var n;const a=!1};self.addEventListener("install",(e=>{skipWaiting()})),self.addEventListener("activate",(e=>e.waitUntil(clients.claim()))),self.addEventListener("fetch",(e=>d(e))),self.addEventListener("periodicSync",(e=>{"update"===e.tag&&e.waitUntil(h(!0))})),self.addEventListener("message",(async e=>{if("update"===e.data.type){const e=await c(),t=await h(e);if(!t)return;switch(t){case-1:return u("new",null);case 1:return u("revise",null);case 2:return u("update",null);default:if(Array.isArray(t))return u("update",t)}}}))})();
|