sinzmise-cetastories-en 2.0.0-1733482660827 → 2.0.0-1733485247876

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.
package/cw.js CHANGED
@@ -1 +1 @@
1
- const workboxVersion="5.1.3";importScripts("https://jsd.cdn.storisinz.site/npm/workbox-cdn@5.1.3/workbox/workbox-sw.js"),workbox.core.setCacheNameDetails({prefix:"CetaHouseEnCache"}),workbox.core.skipWaiting(),workbox.core.clientsClaim(),workbox.precaching.precacheAndRoute([{revision:"b7891ed041845d9afe0375cd63b2948b",url:"./404.html"},{revision:"99e5e7a340b7a3d18d7f915a4ddd3070",url:"./index.html"},{revision:"38c3c7d2a432fad0aea02de01425ae57",url:"./js/main.js"},{revision:"8a71222c3ab288e781c74a255257f1ed",url:"./css/index.css"}],{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.routing.registerRoute(/^https:\/\/cdn\.jsdelivr\.net/,new workbox.strategies.CacheFirst({cacheName:"static-libs",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),workbox.routing.registerRoute(/^https:\/\/jsd\.cdn\.storisinz\.site/,new workbox.strategies.CacheFirst({cacheName:"static-libs",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),workbox.routing.registerRoute(/^https:\/\/cdnjs\.cdn\.storisinz\.site/,new workbox.strategies.CacheFirst({cacheName:"static-libs",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),importScripts("/sw.js"),workbox.googleAnalytics.initialize();
1
+ const workboxVersion="5.1.3";!function(){"use strict";try{self["workbox:sw:5.1.3"]&&_()}catch(e){}const e={backgroundSync:"background-sync",broadcastUpdate:"broadcast-update",cacheableResponse:"cacheable-response",core:"core",expiration:"expiration",googleAnalytics:"offline-ga",navigationPreload:"navigation-preload",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams"};self.workbox=new class{constructor(){return this.v={},this.t={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.s=this.t.debug?"dev":"prod",this.o=!1,new Proxy(this,{get(o,s){if(o[s])return o[s];const t=e[s];return t&&o.loadModule("workbox-"+t),o[s]}})}setConfig(e={}){if(this.o)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.t,e),this.s=this.t.debug?"dev":"prod"}loadModule(e){const o=this.i(e);try{importScripts(o),this.o=!0}catch(s){throw console.error(`Unable to import module '${e}' from '${o}'.`),s}}i(e){if(this.t.modulePathCb)return this.t.modulePathCb(e,this.t.debug);let o=["https://jsd.cdn.storisinz.site/npm/workbox-cdn@5.1.3/workbox"];const s=`${e}.${this.s}.js`,t=this.t.modulePathPrefix;return t&&(o=t.split("/"),""===o[o.length-1]&&o.splice(o.length-1,1)),o.push(s),o.join("/")}}}(),workbox.core.setCacheNameDetails({prefix:"CetaHouseEnCache"}),workbox.core.skipWaiting(),workbox.core.clientsClaim(),workbox.precaching.precacheAndRoute([{revision:"47d353da0a813cfd68822ebc05c38cdd",url:"./404.html"},{revision:"261e5705e5a8fe9ba87a0cf91cb15627",url:"./index.html"},{revision:"38c3c7d2a432fad0aea02de01425ae57",url:"./js/main.js"},{revision:"8a71222c3ab288e781c74a255257f1ed",url:"./css/index.css"}],{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.routing.registerRoute(/^https:\/\/cdn\.jsdelivr\.net/,new workbox.strategies.CacheFirst({cacheName:"static-libs",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),workbox.routing.registerRoute(/^https:\/\/jsd\.cdn\.storisinz\.site/,new workbox.strategies.CacheFirst({cacheName:"static-libs",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),workbox.routing.registerRoute(/^https:\/\/cdnjs\.cdn\.storisinz\.site/,new workbox.strategies.CacheFirst({cacheName:"static-libs",plugins:[new workbox.expiration.ExpirationPlugin({maxEntries:1e3,maxAgeSeconds:2592e3}),new workbox.cacheableResponse.CacheableResponsePlugin({statuses:[0,200]})]})),importScripts("/sw.js"),workbox.googleAnalytics.initialize();
package/go.html ADDED
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html lang="zh"><head><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="robots" content="noindex, nofollow"><title>页面加载中,请稍候...</title><style>body{display:flex;align-items:center;justify-content:center;height:100vh;margin:0;font-family:Arial,sans-serif;overflow:hidden;flex-direction:column}.avatar,.avatar-placeholder{width:100px;height:100px;border-radius:50%;margin-bottom:15px;display:block}.avatar{display:none}.description{font-size:18px}.subtitle{font-size:12px;margin-bottom:20px;color:#c4c4c4}.loading{text-align:center;padding:30px;border-radius:18px;animation:fadein 2s;width:400px;max-width:90%}@keyframes fadein{from{opacity:0}to{opacity:1}}.content{margin-bottom:20px}.url-text{margin-bottom:10px;font-size:16px;letter-spacing:1px}.jump-url{font-size:20px;display:block;margin-top:5px;margin-bottom:25px;padding:15px;border-radius:8px;height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.countdown-text{margin-top:12px;font-size:12px}.button-container{display:flex;justify-content:center;gap:20%;margin-top:20px}.button{padding:10px 20px;border-radius:16px;border:none;cursor:pointer;font-size:16px;width:120px;height:40px}.cancel-button{color:#000}.confirm-button{color:#fff}.progress-bar{width:100%;border-radius:5px;overflow:hidden;height:10px;margin-top:20px}.progress{width:100%;height:100%;transition:width 1s}body{background:linear-gradient(135deg,#364f6b,#222831)}.loading{background:#393e46;color:#efefef;box-shadow:0 4px 8px rgba(100,100,100,.1)}.description{color:#f3f3f3}.countdown-text,.url-text{color:#efefef}.jump-url{border:1px solid#777;background-color:#333;color:#efefef}.cancel-button{background-color:#872c2c;color:#fff}.confirm-button{background-color:#28566f;color:#fff}.progress-bar{background-color:#444}.progress{background-color:#888}</style><script>const host=window.location.host;function GetQueryString(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(t);return n?decodeURI(n[2]):null}function base64Decode(e){let t=e.replace(/=+$/,""),n="";if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let e,o,r=0,u=0;o=t.charAt(u++);~o&&(e=r%4?64*e+o:o,r++%4)?n+=String.fromCharCode(255&e>>(-2*r&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return n}var jump_url=GetQueryString("to"),UrlReg="^((http|https|thunder|qqdl|ed2k|Flashget|qbrowser|ftp|rtsp|mms)://)";(jump_url=base64Decode(jump_url))&&jump_url.match(UrlReg)||(document.title="参数错误,正在返回首页...",jump_url=location.origin);let progressElement,countdownElement,jumpUrlElement,countdown=5;function updateCountdown(){countdownElement.textContent=countdown,progressElement.style.width=countdown/5*100+"%",0===countdown?jump():(countdown--,setTimeout(updateCountdown,1e3))}function jump(){location.href=jump_url}function closeWindow(){window.opener=null,window.close()}function loadAvatar(){const e=document.querySelector(".avatar"),t=document.querySelector(".avatar-placeholder"),n=new Image;n.src="/info/avatar.ico",n.onload=function(){e.src=n.src,e.style.display="block",t.style.display="none"}}window.addEventListener("load",(function(){loadAvatar(),progressElement=document.getElementById("progress"),countdownElement=document.getElementById("countdown"),jumpUrlElement=document.getElementById("jump-url"),jumpUrlElement.textContent=jump_url,updateCountdown()}))</script></head><body><div class="avatar-placeholder"></div><img src="" alt="头像" class="avatar"><div class="description">Ceta Magical House</div><div class="subtitle">security center</div><div class="loading"><div class="content"><div class="url-text">您即将离开本站,跳转到:</div><div class="jump-url" id="jump-url"></div></div><div class="countdown-text">⚠将在<span id="countdown">5</span>秒后跳转,请自行确认链接安全性</div><div class="progress-bar"><div class="progress" id="progress"></div></div><div class="button-container"><button class="button cancel-button" onclick="closeWindow()">取消跳转</button><button class="button confirm-button" onclick="jump()">立即跳转</button></div></div></body></html>