@banou/ripple 0.0.64 → 0.0.66
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/README.md +6 -6
- package/assets/ar-CWVutin3-DasjSN4g.js +1 -0
- package/assets/cs-CmwRGxyE-6NRXZVON.js +1 -0
- package/assets/de-CkT_r0Ec.js +1 -0
- package/assets/de-DLdKEf3t-BrnH-_PW.js +1 -0
- package/assets/el-Ckj-z6DX-CGAcSJAq.js +1 -0
- package/assets/es-419-Doo0sxKU.js +1 -0
- package/assets/es-419-zORhhU8D-CeeUCFRa.js +1 -0
- package/assets/fr-BQL8yfCs.js +1 -0
- package/assets/fr-BtPmNkri-Hie1msTo.js +1 -0
- package/assets/he-Bu79qEth-CsdNKnCH.js +1 -0
- package/assets/hi-BsH3tSHa-DdJFREf5.js +1 -0
- package/assets/hu-BkYBW-YP-BYIrZak1.js +1 -0
- package/assets/id-nUaBCV4o-D-Ujb-Hr.js +1 -0
- package/assets/it-CqPSHyFA-D79hiYXL.js +1 -0
- package/assets/it-D2-Iip07.js +1 -0
- package/assets/ja-D4C35epF.js +1 -0
- package/assets/ja-DTjvriHw-DmCA-L-o.js +1 -0
- package/assets/ko-CMRL67y1.js +1 -0
- package/assets/ko-dV8T7XOJ-D8qpVvbw.js +1 -0
- package/assets/libtorrent-Bj68FGjq.js +6 -0
- package/assets/libtorrent-BtyZTYpL.wasm +0 -0
- package/assets/logo-B9QFeSBc.svg +1 -0
- package/assets/logo-bLq5c43l.png +0 -0
- package/assets/ms-VZQ7BI0z-Cckr4FFS.js +1 -0
- package/assets/nl-Q6iDxbDz-DUxpni5S.js +1 -0
- package/assets/pl-B5krEWuS.js +1 -0
- package/assets/pl-BN7bK74l-Dnn2r2Ko.js +1 -0
- package/assets/pt-BR-CPFILeFW-CEzqpq0l.js +1 -0
- package/assets/pt-BR-s0wxuwpY.js +1 -0
- package/assets/remote-CMVpOOZM.js +1 -0
- package/assets/ro-Bwcm-i3k-BhF7xVq7.js +1 -0
- package/assets/ru-D1FMz751-CSNPRieo.js +1 -0
- package/assets/ru-D30YsVR9.js +1 -0
- package/assets/sintel-k9ai7kCD.torrent +0 -0
- package/assets/sv-ci9K0Lkk-CqQQUp8e.js +1 -0
- package/assets/th-DR-UBONQ-M32Q8z0I.js +1 -0
- package/assets/tr-BqhdfT22-1QDWyzkL.js +1 -0
- package/assets/tr-CZt-RcFt.js +1 -0
- package/assets/uk-8pkZqdni-oYiPCZea.js +1 -0
- package/assets/vi-3mKZ9G_M-56GIblP3.js +1 -0
- package/assets/{worker-BPwrevGb.js → worker-VjoVbGgo.js} +7 -7
- package/assets/zh-Hans-CDgigWKY-CT8Xi5lc.js +1 -0
- package/assets/zh-Hans-DvAmNPSH.js +1 -0
- package/assets/zh-Hant-3WSNI0ne-DNbJLxsD.js +1 -0
- package/assets/zh-Hant-C7ehNz9u.js +1 -0
- package/fkn.json +1 -1
- package/index-CeKbv95i.js +6884 -0
- package/index.html +2 -2
- package/package.json +2 -2
- package/sw.js +8 -8
- package/ar-CWVutin3-BaG9BIu3.js +0 -53
- package/assets/libtorrent-J3Sb8Ek8.js +0 -6
- package/build-mDJVC52Y.js +0 -1846
- package/cs-CmwRGxyE-DNj5ZVDE.js +0 -53
- package/de--u67wW55.js +0 -559
- package/de-DLdKEf3t-BNSTUbv-.js +0 -53
- package/el-Ckj-z6DX-TDrOZm2Z.js +0 -53
- package/es-419-HF3Qx1xe.js +0 -559
- package/es-419-zORhhU8D-DUdha8un.js +0 -53
- package/fr-BtPmNkri-CR2aUPyP.js +0 -53
- package/fr-Ct8z9ueI.js +0 -559
- package/he-Bu79qEth-lMs0BtaJ.js +0 -53
- package/hi-BsH3tSHa-DULs5YKy.js +0 -53
- package/hu-BkYBW-YP-Dxke1MGQ.js +0 -53
- package/id-nUaBCV4o-C7-EuAKJ.js +0 -53
- package/index.js +0 -55093
- package/it-B472rDmp.js +0 -559
- package/it-CqPSHyFA-CUvsB3L1.js +0 -53
- package/ja-CAs9vgNW.js +0 -559
- package/ja-DTjvriHw-DcPcvroh.js +0 -53
- package/ko-BWNyH5Hj.js +0 -559
- package/ko-dV8T7XOJ-CAoMJSnv.js +0 -53
- package/ms-VZQ7BI0z-DwUb17g1.js +0 -53
- package/nl-Q6iDxbDz-CABU2sII.js +0 -53
- package/pl-BN7bK74l-DXEmtL_K.js +0 -53
- package/pl-CGE3wq8i.js +0 -559
- package/pt-BR-B8Cd77m-.js +0 -559
- package/pt-BR-CPFILeFW-C73y6OGm.js +0 -53
- package/remote-_MnObZV6.js +0 -240
- package/ro-Bwcm-i3k-N1ycFaQR.js +0 -53
- package/ru-D1FMz751-n_Z3Kn1_.js +0 -53
- package/ru-DyD2ZXfx.js +0 -559
- package/sv-ci9K0Lkk-Cqn_FXig.js +0 -53
- package/th-DR-UBONQ-sNKo6etP.js +0 -53
- package/tr-BH6yi4h0.js +0 -559
- package/tr-BqhdfT22-D35brHuC.js +0 -53
- package/uk-8pkZqdni-DdcVLPmH.js +0 -53
- package/vi-3mKZ9G_M-C07mLyI7.js +0 -53
- package/zh-Hans-BXd5SiZ1.js +0 -559
- package/zh-Hans-CDgigWKY-BOoRSBBS.js +0 -53
- package/zh-Hant-3WSNI0ne-92FIlsGT.js +0 -53
- package/zh-Hant-BWjH62y1.js +0 -559
- /package/{volume-normalizer-worklet.js → assets/volume-normalizer-worklet-D7QBMC18.js} +0 -0
package/index.html
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
<meta name="referrer" content="strict-origin" />
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
8
|
<title>Ripple Torrent</title>
|
|
9
|
-
<link rel="shortcut icon" type="image/png" href="/assets/logo.png"/>
|
|
9
|
+
<link rel="shortcut icon" type="image/png" href="/assets/logo-bLq5c43l.png"/>
|
|
10
10
|
<link rel="manifest" href="/app.webmanifest">
|
|
11
|
+
<script type="module" crossorigin src="/index-CeKbv95i.js"></script>
|
|
11
12
|
</head>
|
|
12
13
|
<body>
|
|
13
|
-
<script type="module" src="/index.js"></script>
|
|
14
14
|
</body>
|
|
15
15
|
</html>
|
package/package.json
CHANGED
package/sw.js
CHANGED
|
@@ -8,8 +8,8 @@ const live = new Map()
|
|
|
8
8
|
/* Stamped at build time. These are the dev defaults and must never reach production: a worker whose
|
|
9
9
|
BUILD never changes is never reinstalled, so the update this feature announces would never fire. */
|
|
10
10
|
const MODE = "cache" // @stamp:mode
|
|
11
|
-
const BUILD = "
|
|
12
|
-
const MANIFEST = [["/ar-CWVutin3-
|
|
11
|
+
const BUILD = "cb28f0133b6bb005" // @stamp:build
|
|
12
|
+
const MANIFEST = [["/assets/ar-CWVutin3-DasjSN4g.js","fe48fee59146f5d1"],["/assets/cs-CmwRGxyE-6NRXZVON.js","2ab22718de19bdda"],["/assets/de-CkT_r0Ec.js","fba476c24da9de5b"],["/assets/de-DLdKEf3t-BrnH-_PW.js","52148ec4b721729e"],["/assets/el-Ckj-z6DX-CGAcSJAq.js","fd56b24fd19f1f5f"],["/assets/empty-BvRk9kiK.js","e3b0c44298fc1c14"],["/assets/es-419-Doo0sxKU.js","153b0fafe37bb025"],["/assets/es-419-zORhhU8D-CeeUCFRa.js","df02165c8fc351be"],["/assets/fr-BQL8yfCs.js","dc5c6176d612c3f2"],["/assets/fr-BtPmNkri-Hie1msTo.js","f4917ea33a63c3b4"],["/assets/he-Bu79qEth-CsdNKnCH.js","888d0268cd83f1a9"],["/assets/hi-BsH3tSHa-DdJFREf5.js","08b590ac3ba6f423"],["/assets/hu-BkYBW-YP-BYIrZak1.js","e44e8d6d2906d7e0"],["/assets/id-nUaBCV4o-D-Ujb-Hr.js","2eb118aa8a753c82"],["/assets/it-CqPSHyFA-D79hiYXL.js","9789639ab5f418b3"],["/assets/it-D2-Iip07.js","18d50e1933fb7822"],["/assets/ja-D4C35epF.js","ba4601e10f56e3b3"],["/assets/ja-DTjvriHw-DmCA-L-o.js","d9d3a0418b6aadd8"],["/assets/ko-CMRL67y1.js","f6a91782a9c54eae"],["/assets/ko-dV8T7XOJ-D8qpVvbw.js","31780f482a5934ed"],["/assets/libtorrent-Bj68FGjq.js","0ba049bb283b886d"],["/assets/libtorrent-BtyZTYpL.wasm","1abf98f142d18ee2"],["/assets/ms-VZQ7BI0z-Cckr4FFS.js","92384255fccd46e7"],["/assets/nl-Q6iDxbDz-DUxpni5S.js","a4d8a724a395e450"],["/assets/pl-B5krEWuS.js","051262c58e056954"],["/assets/pl-BN7bK74l-Dnn2r2Ko.js","d6bea634453cb21e"],["/assets/pt-BR-CPFILeFW-CEzqpq0l.js","0cabeb02bf3dd968"],["/assets/pt-BR-s0wxuwpY.js","3478e8c558789fdf"],["/assets/remote-CMVpOOZM.js","85d7973659b3fb9a"],["/assets/ro-Bwcm-i3k-BhF7xVq7.js","a4e2f2cdd26301f0"],["/assets/ru-D1FMz751-CSNPRieo.js","7161a07fad22f70e"],["/assets/ru-D30YsVR9.js","055486267eca3004"],["/assets/sv-ci9K0Lkk-CqQQUp8e.js","51880b00cfc35b23"],["/assets/th-DR-UBONQ-M32Q8z0I.js","3f69d91fcf8852cf"],["/assets/tr-BqhdfT22-1QDWyzkL.js","d8a5058958bacfca"],["/assets/tr-CZt-RcFt.js","637588c6db44d0f9"],["/assets/uk-8pkZqdni-oYiPCZea.js","1ffebb86a52225c9"],["/assets/vi-3mKZ9G_M-56GIblP3.js","a96cfac168d86419"],["/assets/volume-normalizer-worklet-D7QBMC18.js","ce03006a6df862f9"],["/assets/worker-VjoVbGgo.js","0e0fb70667ed09a2"],["/assets/zh-Hans-CDgigWKY-CT8Xi5lc.js","e397cd8354a2d067"],["/assets/zh-Hans-DvAmNPSH.js","cff14cc4d465596a"],["/assets/zh-Hant-3WSNI0ne-DNbJLxsD.js","26de1987556d8b19"],["/assets/zh-Hant-C7ehNz9u.js","4b4b4b1b993d2a5a"],["/index-CeKbv95i.js","68e482c1b1ad8762"]] // @stamp:manifest
|
|
13
13
|
|
|
14
14
|
const CACHE = 'ripple-assets-' + BUILD
|
|
15
15
|
/** Holds the name of the generation that activated last, so the next activation can keep it. */
|
|
@@ -18,8 +18,8 @@ const ACTIVE = 'ripple-active'
|
|
|
18
18
|
/**
|
|
19
19
|
* Which requests this worker may answer from its cache, and the whole of it.
|
|
20
20
|
*
|
|
21
|
-
* ONLY hash-named JavaScript chunks
|
|
22
|
-
* narrowness is the design, not a shortcut:
|
|
21
|
+
* ONLY hash-named JavaScript chunks, the entry among them, and the engine's wasm. Never the document,
|
|
22
|
+
* never /sw.js, never the WebRTC stack's 3 MB of wasm. That narrowness is the design, not a shortcut:
|
|
23
23
|
*
|
|
24
24
|
* - A hashed path names its BYTES, so a hit from any build is correct by construction. There is no
|
|
25
25
|
* stale-content failure available here, only a hit or a miss.
|
|
@@ -32,10 +32,10 @@ const ACTIVE = 'ripple-active'
|
|
|
32
32
|
* SPA fallback: 200, text/html, which the browser then runs as a module worker. Measured against
|
|
33
33
|
* production, an earlier build's chunk is byte-identical to one that never existed.
|
|
34
34
|
*/
|
|
35
|
-
const HASHED = /^\/(?:assets\/)?[A-Za-z0-9_.$-]+-[A-Za-z0-9_-]{8}\.js$/
|
|
35
|
+
const HASHED = /^\/(?:(?:assets\/)?[A-Za-z0-9_.$-]+-[A-Za-z0-9_-]{8}\.js|assets\/libtorrent-[A-Za-z0-9_-]{8}\.wasm)$/
|
|
36
36
|
|
|
37
37
|
// An HTML answer for a chunk path is Cloudflare's SPA fallback for a chunk that is gone, not the chunk.
|
|
38
|
-
const
|
|
38
|
+
const isChunk = (response) => response.ok && /javascript|wasm/.test(response.headers.get('content-type') || '')
|
|
39
39
|
|
|
40
40
|
const PRECACHE_ATTEMPTS = 3
|
|
41
41
|
|
|
@@ -47,7 +47,7 @@ const precache = async () => {
|
|
|
47
47
|
const failed = await Promise.all(missing.map(async (path) => {
|
|
48
48
|
try {
|
|
49
49
|
const response = await fetch(path)
|
|
50
|
-
if (!
|
|
50
|
+
if (!isChunk(response)) return path
|
|
51
51
|
await cache.put(path, response)
|
|
52
52
|
return null
|
|
53
53
|
} catch {
|
|
@@ -184,7 +184,7 @@ self.addEventListener('fetch', (event) => {
|
|
|
184
184
|
// An HTML answer here IS the bug this worker exists for: the chunk is gone and Cloudflare
|
|
185
185
|
// served the SPA fallback with a 200. Never store that, or the cache would preserve the
|
|
186
186
|
// failure across the very reload meant to cure it.
|
|
187
|
-
if (
|
|
187
|
+
if (isChunk(fresh)) await (await caches.open(CACHE)).put(path, fresh.clone())
|
|
188
188
|
return fresh
|
|
189
189
|
})())
|
|
190
190
|
return
|
package/ar-CWVutin3-BaG9BIu3.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
//#region node_modules/@banou/media-player/dist/ar-CWVutin3.js
|
|
2
|
-
var e = "الصوت", t = "تم النسخ", n = "نسخ", r = "إيقاف", i = "كتم الصوت", a = "إيقاف مؤقت", o = "تشغيل", s = "الجودة", c = "إعادة التشغيل", l = "الإعدادات", u = "الترجمة", d = "غير متاح", f = "استُؤنف التشغيل", p = {
|
|
3
|
-
"(Default)": "(عادية)",
|
|
4
|
-
Audio: e,
|
|
5
|
-
"Autoplay next episode": "تشغيل الحلقة التالية تلقائيًا",
|
|
6
|
-
Copied: t,
|
|
7
|
-
Copy: n,
|
|
8
|
-
"Copy the errors": "نسخ الأخطاء",
|
|
9
|
-
"Could not switch. Try again.": "تعذّر التبديل. حاول مرة أخرى.",
|
|
10
|
-
Disable: r,
|
|
11
|
-
"Exit full screen (f)": "الخروج من ملء الشاشة (f)",
|
|
12
|
-
"Exit picture in picture": "الخروج من صورة داخل صورة",
|
|
13
|
-
"Full screen": "ملء الشاشة",
|
|
14
|
-
"Full screen (f)": "ملء الشاشة (f)",
|
|
15
|
-
Mute: i,
|
|
16
|
-
"Mute (m)": "كتم الصوت (m)",
|
|
17
|
-
"Normalize volume": "موازنة مستوى الصوت",
|
|
18
|
-
"Now click your browser's pop out button": "انقر الآن على زر النافذة المنبثقة في متصفحك",
|
|
19
|
-
Pause: a,
|
|
20
|
-
"Pause (k)": "إيقاف مؤقت (k)",
|
|
21
|
-
"Picture in picture": "صورة داخل صورة",
|
|
22
|
-
Play: o,
|
|
23
|
-
"Play (k)": "تشغيل (k)",
|
|
24
|
-
"Playback errors ({count})": "أخطاء التشغيل ({count})",
|
|
25
|
-
"Playback failed": "فشل التشغيل",
|
|
26
|
-
"Playback speed": "سرعة التشغيل",
|
|
27
|
-
"Put the subtitles in the picture": "دمج الترجمة في الصورة",
|
|
28
|
-
"Put the subtitles in the video": "دمج الترجمة في الفيديو",
|
|
29
|
-
Quality: s,
|
|
30
|
-
"Reading the video file failed": "فشلت قراءة ملف الفيديو",
|
|
31
|
-
Replay: c,
|
|
32
|
-
"Replay (k)": "إعادة التشغيل (k)",
|
|
33
|
-
Settings: l,
|
|
34
|
-
"Skip Ending": "تخطي النهاية",
|
|
35
|
-
"Skip Opening": "تخطي المقدمة",
|
|
36
|
-
Subtitles: u,
|
|
37
|
-
"Subtitles are in the picture": "الترجمة مدمجة في الصورة",
|
|
38
|
-
"The MediaSource closed before a SourceBuffer could be created": "أُغلق MediaSource قبل إنشاء SourceBuffer",
|
|
39
|
-
"The MediaSource never opened": "لم يُفتح MediaSource",
|
|
40
|
-
"The browser rejected a media segment": "رفض المتصفح مقطعًا من الوسائط",
|
|
41
|
-
"The video codec in this file could not be identified": "تعذّر التعرف على ترميز الفيديو في هذا الملف",
|
|
42
|
-
"This browser cannot play the codecs in this file: {codecs}": "لا يمكن لهذا المتصفح تشغيل الترميزات في هذا الملف: {codecs}",
|
|
43
|
-
"This file has no subtitles": "لا توجد ترجمة في هذا الملف",
|
|
44
|
-
"Track {number}": "المقطع {number}",
|
|
45
|
-
Unavailable: d,
|
|
46
|
-
"Unmute (m)": "إلغاء كتم الصوت (m)",
|
|
47
|
-
"at {time}": "عند {time}",
|
|
48
|
-
recovered: f,
|
|
49
|
-
"{rate}x": "{rate}x",
|
|
50
|
-
"{start} to {end}": "من {start} إلى {end}"
|
|
51
|
-
};
|
|
52
|
-
//#endregion
|
|
53
|
-
export { e as Audio, t as Copied, n as Copy, r as Disable, i as Mute, a as Pause, o as Play, s as Quality, c as Replay, l as Settings, u as Subtitles, d as Unavailable, p as default, f as recovered };
|