-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsw.js
2 lines (2 loc) · 20.7 KB
/
sw.js
1
2
if(!self.define){let e,a={};const i=(i,c)=>(i=new URL(i+".js",c).href,a[i]||new Promise((a=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=a,document.head.appendChild(e)}else e=i,importScripts(i),a()})).then((()=>{let e=a[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(c,t)=>{const s=e||("document"in self?document.currentScript.src:"")||location.href;if(a[s])return;let f={};const n=e=>i(e,s),d={module:{uri:s},exports:f,require:n};a[s]=Promise.all(c.map((e=>d[e]||n(e)))).then((e=>(t(...e),f)))}}define(["./workbox-3aa1dbf5"],(function(e){"use strict";importScripts("fallback-BhX7dBscz9YujfRPaGKNC.js"),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/StreamSaver/mitm.html",revision:"46d81e70163124bfe773333a9a93744b"},{url:"/StreamSaver/sw.js",revision:"9417c7d9852d202d5ba51621d8fff03c"},{url:"/_next/static/BhX7dBscz9YujfRPaGKNC/_buildManifest.js",revision:"78bbf1f3dd1f27881e0f3c7e73ffbf3d"},{url:"/_next/static/BhX7dBscz9YujfRPaGKNC/_ssgManifest.js",revision:"b6652df95db52feb4daf4eca35380933"},{url:"/_next/static/chunks/110.c61cae1e5aa31f4d.js",revision:"c61cae1e5aa31f4d"},{url:"/_next/static/chunks/110.c61cae1e5aa31f4d.js.map",revision:"9e31f4bbd7c687752403d62701e0c857"},{url:"/_next/static/chunks/126-15e989f7f9d4f99f.js",revision:"15e989f7f9d4f99f"},{url:"/_next/static/chunks/126-15e989f7f9d4f99f.js.map",revision:"baaf4bee7acf05e2cc375a75ddd51db4"},{url:"/_next/static/chunks/135-367f579b7910e09b.js",revision:"367f579b7910e09b"},{url:"/_next/static/chunks/135-367f579b7910e09b.js.map",revision:"24e90151f4cfdc9d35e29d4fb628f6e6"},{url:"/_next/static/chunks/25-b1a92951bc3690b5.js",revision:"b1a92951bc3690b5"},{url:"/_next/static/chunks/25-b1a92951bc3690b5.js.map",revision:"ada16a6827fdc452d8c96e65c9b85d86"},{url:"/_next/static/chunks/312.972a6a05796bc4e9.js",revision:"972a6a05796bc4e9"},{url:"/_next/static/chunks/312.972a6a05796bc4e9.js.map",revision:"6a7c2751c180d6bf2903d0f8964b6b4a"},{url:"/_next/static/chunks/363.4efd559e22f03450.js",revision:"4efd559e22f03450"},{url:"/_next/static/chunks/363.4efd559e22f03450.js.map",revision:"9adfa79b94cdd53a6a6b2c2764b0b1c8"},{url:"/_next/static/chunks/542-22b21ad64ac197f3.js",revision:"22b21ad64ac197f3"},{url:"/_next/static/chunks/542-22b21ad64ac197f3.js.map",revision:"7aa5f9e3e20564d6e58aa12c079ede9d"},{url:"/_next/static/chunks/720.640738becec956b5.js",revision:"640738becec956b5"},{url:"/_next/static/chunks/720.640738becec956b5.js.map",revision:"a33fec49d6e9029919df17f26b24b1c6"},{url:"/_next/static/chunks/971.dbffdeaf811cf20e.js",revision:"dbffdeaf811cf20e"},{url:"/_next/static/chunks/971.dbffdeaf811cf20e.js.map",revision:"f44155ce5d02a04e7e81e9dd224348aa"},{url:"/_next/static/chunks/c6d35998-7e581a4d85b02ec3.js",revision:"7e581a4d85b02ec3"},{url:"/_next/static/chunks/fbd038a6.14b5834e6bc7e71e.js",revision:"14b5834e6bc7e71e"},{url:"/_next/static/chunks/fbd038a6.14b5834e6bc7e71e.js.map",revision:"739610ee0183b4d19ca0d44197b88042"},{url:"/_next/static/chunks/framework-42c0b82bc9e0aa79.js",revision:"42c0b82bc9e0aa79"},{url:"/_next/static/chunks/framework-42c0b82bc9e0aa79.js.map",revision:"9f54881f2248bd237ec7815b3343d458"},{url:"/_next/static/chunks/main-d0159adca68f856d.js",revision:"d0159adca68f856d"},{url:"/_next/static/chunks/main-d0159adca68f856d.js.map",revision:"b8ccd7f042e46c2c48f22450a78012f8"},{url:"/_next/static/chunks/pages/_app-e8344ec19bb1c719.js",revision:"e8344ec19bb1c719"},{url:"/_next/static/chunks/pages/_error-c3a50fc7c5a3a264.js",revision:"c3a50fc7c5a3a264"},{url:"/_next/static/chunks/pages/_error-c3a50fc7c5a3a264.js.map",revision:"b8d1d28d9c2a12363c753b454e1837db"},{url:"/_next/static/chunks/pages/_offline-dce2d47b380016ef.js",revision:"dce2d47b380016ef"},{url:"/_next/static/chunks/pages/_offline-dce2d47b380016ef.js.map",revision:"f0c8bcb1a491664c9a348782f456e759"},{url:"/_next/static/chunks/pages/audio-1a5131e05b78f8a6.js",revision:"1a5131e05b78f8a6"},{url:"/_next/static/chunks/pages/audio-1a5131e05b78f8a6.js.map",revision:"e0cff1b6e99086ec8fcaa88b7f72b97b"},{url:"/_next/static/chunks/pages/bug-report-6e53b846ea576068.js",revision:"6e53b846ea576068"},{url:"/_next/static/chunks/pages/bug-report-6e53b846ea576068.js.map",revision:"43594e43c9a485e5b9edbce0423233e5"},{url:"/_next/static/chunks/pages/chrome-devtools-bd476aee8e3eb9c8.js",revision:"bd476aee8e3eb9c8"},{url:"/_next/static/chunks/pages/chrome-devtools-bd476aee8e3eb9c8.js.map",revision:"22151c2c798bb1b642a46d984f62f51f"},{url:"/_next/static/chunks/pages/chrome-devtools-frame-014a5870c2fcb570.js",revision:"014a5870c2fcb570"},{url:"/_next/static/chunks/pages/chrome-devtools-frame-014a5870c2fcb570.js.map",revision:"fc07edae3e0a527ef86b39d53843a430"},{url:"/_next/static/chunks/pages/device-info-04c28d0f84865a68.js",revision:"04c28d0f84865a68"},{url:"/_next/static/chunks/pages/device-info-04c28d0f84865a68.js.map",revision:"175d9af612a176cf30d0c00163bc0eb9"},{url:"/_next/static/chunks/pages/file-manager-19c4e0f774fba8c7.js",revision:"19c4e0f774fba8c7"},{url:"/_next/static/chunks/pages/file-manager-19c4e0f774fba8c7.js.map",revision:"9214cd8d18facddc0cc84a6f301010d5"},{url:"/_next/static/chunks/pages/framebuffer-a067d431ef63120c.js",revision:"a067d431ef63120c"},{url:"/_next/static/chunks/pages/framebuffer-a067d431ef63120c.js.map",revision:"487d716098a7c4aef02bb58983957851"},{url:"/_next/static/chunks/pages/index-0e056d6b928403a1.js",revision:"0e056d6b928403a1"},{url:"/_next/static/chunks/pages/index-0e056d6b928403a1.js.map",revision:"1cd8c5ba7a1abece7e9f5f27d739d14c"},{url:"/_next/static/chunks/pages/install-d443c75e0153b8ca.js",revision:"d443c75e0153b8ca"},{url:"/_next/static/chunks/pages/install-d443c75e0153b8ca.js.map",revision:"dd1ed296b9ae1bfd2de9dd19fb940d63"},{url:"/_next/static/chunks/pages/logcat-5997a62e60ad65ee.js",revision:"5997a62e60ad65ee"},{url:"/_next/static/chunks/pages/logcat-5997a62e60ad65ee.js.map",revision:"36c981d8b59ff538dc8030b731f447ca"},{url:"/_next/static/chunks/pages/packet-log-36df7ef630d1e9de.js",revision:"36df7ef630d1e9de"},{url:"/_next/static/chunks/pages/packet-log-36df7ef630d1e9de.js.map",revision:"4745676152362e85634dca467150d424"},{url:"/_next/static/chunks/pages/power-5f71e09b8a5ef32a.js",revision:"5f71e09b8a5ef32a"},{url:"/_next/static/chunks/pages/power-5f71e09b8a5ef32a.js.map",revision:"72eb047951962c8e6f7d2bc3010b07d7"},{url:"/_next/static/chunks/pages/reverse-68c681f2a980f440.js",revision:"68c681f2a980f440"},{url:"/_next/static/chunks/pages/reverse-68c681f2a980f440.js.map",revision:"9400282848cf9fe12b4a7c1334b687d7"},{url:"/_next/static/chunks/pages/scrcpy-c5bd4f8b15729490.js",revision:"c5bd4f8b15729490"},{url:"/_next/static/chunks/pages/scrcpy-c5bd4f8b15729490.js.map",revision:"7f3fc9c9a870ad41e0226da57666084a"},{url:"/_next/static/chunks/pages/shell-621192f86d4aec71.js",revision:"621192f86d4aec71"},{url:"/_next/static/chunks/pages/shell-621192f86d4aec71.js.map",revision:"934c0f6e9eb3ee39cd121a1e7e0506a9"},{url:"/_next/static/chunks/pages/tcpip-31ada10cbd38c7ea.js",revision:"31ada10cbd38c7ea"},{url:"/_next/static/chunks/pages/tcpip-31ada10cbd38c7ea.js.map",revision:"e3066d0eb18ecfd54f1db503630fac9b"},{url:"/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js",revision:"837c0df77fd5009c9e46d446188ecfd0"},{url:"/_next/static/chunks/webpack-8eb998b56169ec89.js",revision:"8eb998b56169ec89"},{url:"/_next/static/chunks/webpack-8eb998b56169ec89.js.map",revision:"ff06d167a3bdfa4396439656b647c148"},{url:"/_next/static/css/b6853f0190ea9f57.css",revision:"b6853f0190ea9f57"},{url:"/_next/static/css/b6853f0190ea9f57.css.map",revision:"baaf16793d5481a461c5316a9ea2e36c"},{url:"/_next/static/media/0fb0dd0fab644ec3cc0f.7b186e19.ttf",revision:"7b186e19"},{url:"/_next/static/media/106decef28ab53592d15.b648a008.ttf",revision:"b648a008"},{url:"/_next/static/media/150de8eaa454d669c405.5f7c5bb7.ttf",revision:"5f7c5bb7"},{url:"/_next/static/media/1656862c40fcbb6aab38.921f7599.woff",revision:"921f7599"},{url:"/_next/static/media/18626a93841302f40cd4.cbcbb1ab.ttf",revision:"cbcbb1ab"},{url:"/_next/static/media/1ad4ee9ac5342aa9517b.b89888da.otf",revision:"b89888da"},{url:"/_next/static/media/1e0985b2379656710502.45d743c0.ttf",revision:"45d743c0"},{url:"/_next/static/media/1ef673311d0999bd0845.32a7b1f9.ttf",revision:"32a7b1f9"},{url:"/_next/static/media/1f375102559ff28a260c.2ec5e7b1.woff",revision:"2ec5e7b1"},{url:"/_next/static/media/22a8b6aa2704c6bc2a4e.99910057.otf",revision:"99910057"},{url:"/_next/static/media/22df9e5063a397d85418.393064cf.woff2",revision:"393064cf"},{url:"/_next/static/media/25b9e2c8d4bf7fb66c96.808b57a1.woff2",revision:"808b57a1"},{url:"/_next/static/media/27ac247f8440c60ebd5b.c2847f05.ttf",revision:"c2847f05"},{url:"/_next/static/media/2a8e5dd1b9561e93b029.73b8dbbf.ttf",revision:"73b8dbbf"},{url:"/_next/static/media/2bf28c5593cdd4dfd27e.dfca5f1f.woff",revision:"dfca5f1f"},{url:"/_next/static/media/30077e5bcbe0f99ce6fd.bf587806.woff",revision:"bf587806"},{url:"/_next/static/media/3223dc79c1adee56370b.02ad4ff9.woff2",revision:"02ad4ff9"},{url:"/_next/static/media/365af7decd96084858a6.04b9e27a.otf",revision:"04b9e27a"},{url:"/_next/static/media/3d8ce8a444d136a226e2.d27554e6.otf",revision:"d27554e6"},{url:"/_next/static/media/3fa75838b460518713c4.024875f6.ttf",revision:"024875f6"},{url:"/_next/static/media/401c6a99118ff20c7c70.90cd4a41.woff",revision:"90cd4a41"},{url:"/_next/static/media/41b74324bfe1f53a495f.bea3d345.woff2",revision:"bea3d345"},{url:"/_next/static/media/45a6c12e9479ab2ce2f5.0f7f058f.woff",revision:"0f7f058f"},{url:"/_next/static/media/49a90b213bad86846471.c4b2fa89.otf",revision:"c4b2fa89"},{url:"/_next/static/media/4a0ad4e3ea89dd9af350.6e3363f1.ttf",revision:"6e3363f1"},{url:"/_next/static/media/4a2cd718d7031b732e76.0b5caff7.ttf",revision:"0b5caff7"},{url:"/_next/static/media/4c6a2c7db318c13f10e9.a2485f51.ttf",revision:"a2485f51"},{url:"/_next/static/media/5142ce8ec19107b657f9.ee0bec4b.ttf",revision:"ee0bec4b"},{url:"/_next/static/media/519fd21aa0cf770e7f3a.49eef996.ttf",revision:"49eef996"},{url:"/_next/static/media/58396b19537299d2a628.2a525d18.ttf",revision:"2a525d18"},{url:"/_next/static/media/594eed08cee0747e8a14.2552c056.otf",revision:"2552c056"},{url:"/_next/static/media/5a045f9f2ad411b60d44.a691338e.otf",revision:"a691338e"},{url:"/_next/static/media/5d3cf303e2513a6745bc.65fd4ef5.woff",revision:"65fd4ef5"},{url:"/_next/static/media/5de9284534ba6d7076c7.d552a650.woff2",revision:"d552a650"},{url:"/_next/static/media/5edb0990cb43ec9bafb8.d3eb2f70.woff2",revision:"d3eb2f70"},{url:"/_next/static/media/5f784100ecc582db5544.7cc50ac6.ttf",revision:"7cc50ac6"},{url:"/_next/static/media/637f599a4c8ebbbafcca.d5ce640d.woff",revision:"d5ce640d"},{url:"/_next/static/media/69040ef72f7672a1de84.2de5c979.otf",revision:"2de5c979"},{url:"/_next/static/media/6aab4805c74d8daada2c.61fc827d.woff",revision:"61fc827d"},{url:"/_next/static/media/6e9afcf5ca9ac5124040.dceb393d.woff2",revision:"dceb393d"},{url:"/_next/static/media/712bbf0d6d466fa7245b.20a397db.woff2",revision:"20a397db"},{url:"/_next/static/media/7294701ba6f27fd0a489.6747fa8b.woff",revision:"6747fa8b"},{url:"/_next/static/media/7692fdfb2d88e22bb70f.dac5c963.ttf",revision:"dac5c963"},{url:"/_next/static/media/7b9d00a3bbdf9cbd61e2.c8dbac02.woff2",revision:"c8dbac02"},{url:"/_next/static/media/7cb14a9ed9ec10da7ae2.1c14a74b.ttf",revision:"1c14a74b"},{url:"/_next/static/media/7d079312e0f1c11f173d.ebc5b4e2.woff",revision:"ebc5b4e2"},{url:"/_next/static/media/7d14038b9f0566ca8800.47e75337.otf",revision:"47e75337"},{url:"/_next/static/media/83aaa30b42f593efae5a.072b2215.woff2",revision:"072b2215"},{url:"/_next/static/media/840ab830abe7ba35963b.8ff31b53.ttf",revision:"8ff31b53"},{url:"/_next/static/media/8835b1108ce8188deff8.b20eec2f.woff2",revision:"b20eec2f"},{url:"/_next/static/media/8b0392773e38a1168f72.3decd2e3.woff",revision:"3decd2e3"},{url:"/_next/static/media/8d9d5753c196e807ad7b.71644f90.otf",revision:"71644f90"},{url:"/_next/static/media/8f49426703194bc223c1.ad043973.otf",revision:"ad043973"},{url:"/_next/static/media/908e2cef05212cb71b3d.b9c9b60f.woff2",revision:"b9c9b60f"},{url:"/_next/static/media/92717c9fd4c0ab9b09ab.3f597dc8.ttf",revision:"3f597dc8"},{url:"/_next/static/media/93737f51488de810dcc0.dd1c7d9c.ttf",revision:"dd1c7d9c"},{url:"/_next/static/media/9424ad3f683c9a5a5c75.74633253.woff2",revision:"74633253"},{url:"/_next/static/media/95316d52e3669e9327d2.21c27488.woff2",revision:"21c27488"},{url:"/_next/static/media/964fada96abed2b04cc9.21967822.woff2",revision:"21967822"},{url:"/_next/static/media/97fe0eebfdd152f7b499.855342ce.woff2",revision:"855342ce"},{url:"/_next/static/media/983e21420fc690c961e3.5ead4fb7.otf",revision:"5ead4fb7"},{url:"/_next/static/media/9a2d1789d072bcb58d66.fd69729e.woff2",revision:"fd69729e"},{url:"/_next/static/media/9a46e37e0a2cf5e048b1.ae00d4e8.otf",revision:"ae00d4e8"},{url:"/_next/static/media/9a542e40c824951b2f0c.61c446f4.woff2",revision:"61c446f4"},{url:"/_next/static/media/9ca90bd56aa2d7adc0e8.7ecb824c.otf",revision:"7ecb824c"},{url:"/_next/static/media/9f9050a0c1ca64390e6f.b28cbdfa.woff",revision:"b28cbdfa"},{url:"/_next/static/media/a43044d3166461762fad.19735a91.woff",revision:"19735a91"},{url:"/_next/static/media/a4e747b9a12a4dd24101.8eabbc03.ttf",revision:"8eabbc03"},{url:"/_next/static/media/a57305681411f183f5e5.d6987c0c.woff",revision:"d6987c0c"},{url:"/_next/static/media/a865dc036728b0cb49ed.bc914ff7.otf",revision:"bc914ff7"},{url:"/_next/static/media/a9a074b46b3bb0615a65.a738c428.woff2",revision:"a738c428"},{url:"/_next/static/media/a9fa4663ee8128b8478b.90c6bedf.woff",revision:"90c6bedf"},{url:"/_next/static/media/ac04032587d9e8e9f1b9.fa23e907.ttf",revision:"fa23e907"},{url:"/_next/static/media/ac3c0d6660d55a57bacf.2116151a.woff2",revision:"2116151a"},{url:"/_next/static/media/b0e68feb2f44e3886c55.584152e3.otf",revision:"584152e3"},{url:"/_next/static/media/b57645f54ae71ae816e3.a3b82214.otf",revision:"a3b82214"},{url:"/_next/static/media/bb58b232c4e94c8a64a5.f13b5160.otf",revision:"f13b5160"},{url:"/_next/static/media/bb975c966c37455a1bc3.3eae9857.woff2",revision:"3eae9857"},{url:"/_next/static/media/bda28cfdf039b0a44ab4.fa0cd9e1.otf",revision:"fa0cd9e1"},{url:"/_next/static/media/c7124c5838a0bb9d0718.b782c4c7.woff2",revision:"b782c4c7"},{url:"/_next/static/media/c9b042f019fd819523ab.29c7fc51.otf",revision:"29c7fc51"},{url:"/_next/static/media/cabd53cde475af03a6fb.3564b89e.woff",revision:"3564b89e"},{url:"/_next/static/media/ce3c2230777d7089b045.2ac19c41.otf",revision:"2ac19c41"},{url:"/_next/static/media/d2a3dc0c299e305e0bad.9b02b7f9.woff2",revision:"9b02b7f9"},{url:"/_next/static/media/d2b4d257658ba4562673.7b2d688e.ttf",revision:"7b2d688e"},{url:"/_next/static/media/d4420e97eacc0df955b3.bace3b3f.woff2",revision:"bace3b3f"},{url:"/_next/static/media/d817d3e3a593d890c8f5.5772f054.woff",revision:"5772f054"},{url:"/_next/static/media/d87474231f4192884802.570a165b.ttf",revision:"570a165b"},{url:"/_next/static/media/d9a4e145d3544a7a2783.0b8a1a0a.woff",revision:"0b8a1a0a"},{url:"/_next/static/media/da57122c34ed6fa52a23.0e143532.woff2",revision:"0e143532"},{url:"/_next/static/media/dd625a9906a10c1b3413.2a4fe377.otf",revision:"2a4fe377"},{url:"/_next/static/media/de4e0fc9b0bb0ff02b2f.b265883e.woff2",revision:"b265883e"},{url:"/_next/static/media/df70c3a856c8c1c52191.350e6772.woff",revision:"350e6772"},{url:"/_next/static/media/e033a13ee751afc1860c.9210030c.woff2",revision:"9210030c"},{url:"/_next/static/media/e0e421f4bf0049d41f79.3a237112.ttf",revision:"3a237112"},{url:"/_next/static/media/e15ee88415532a1c43d2.dfa23ab5.ttf",revision:"dfa23ab5"},{url:"/_next/static/media/e6c6564831dfb20a0ed2.f0217849.woff",revision:"f0217849"},{url:"/_next/static/media/e81d2ca2c3db2b47db15.11c18d74.otf",revision:"11c18d74"},{url:"/_next/static/media/e971dc6d589b81462070.90cb3c06.ttf",revision:"90cb3c06"},{url:"/_next/static/media/e9d58bd792b9db2ed236.5617af1a.woff",revision:"5617af1a"},{url:"/_next/static/media/eab95f5575c95b9e2bb7.d7a1d9dd.woff",revision:"d7a1d9dd"},{url:"/_next/static/media/f342a7ec779d4d7a2ee6.dbbdbe9e.otf",revision:"dbbdbe9e"},{url:"/_next/static/media/f43111427dc2551a4949.396caab8.woff",revision:"396caab8"},{url:"/_next/static/media/f6a2b0356ab13865c0a1.88eee35b.otf",revision:"88eee35b"},{url:"/_next/static/media/f7d81feaf5e375cfa94d.6051446a.woff",revision:"6051446a"},{url:"/_next/static/media/f93136b36638d97e57ec.3f16e821.woff",revision:"3f16e821"},{url:"/_next/static/media/fadd9f2bded6c92e70b1.42e53ea6.woff2",revision:"42e53ea6"},{url:"/_next/static/media/fb731c620f945b0a3be7.816746fe.woff2",revision:"816746fe"},{url:"/_next/static/media/fbf7ea7c287a976450cc.4870fae1.ttf",revision:"4870fae1"},{url:"/_next/static/media/ffe4954a8c837444aecb.3713f8ad.otf",revision:"3713f8ad"},{url:"/_next/static/media/llhttp.a92ee3b9.wasm",revision:"a92ee3b9"},{url:"/_next/static/media/llhttp_simd.920bfad7.wasm",revision:"920bfad7"},{url:"/_next/static/media/server.e6bec4d3.bin",revision:"e6bec4d3"},{url:"/_next/static/media/worker.d1c3f006.js",revision:"d1c3f006"},{url:"/_offline",revision:"BhX7dBscz9YujfRPaGKNC"},{url:"/favicon-256.png",revision:"476c6aafa56d0b94a9faa9b18bfc547b"},{url:"/favicon.ico",revision:"c30c7d42707a47a3f4591831641e50dc"},{url:"/manifest.json",revision:"ddd970893d3f37b17d65d820519b6061"}],{ignoreURLParametersMatching:[]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:e,response:a,event:i,state:c})=>a&&"opaqueredirect"===a.type?new Response(a.body,{status:200,statusText:"OK",headers:a.headers}):a},{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new e.StaleWhileRevalidate({cacheName:"static-font-assets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new e.StaleWhileRevalidate({cacheName:"static-image-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\/_next\/image\?url=.+$/i,new e.StaleWhileRevalidate({cacheName:"next-image",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\.(?:mp3|wav|ogg)$/i,new e.CacheFirst({cacheName:"static-audio-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\.(?:mp4)$/i,new e.CacheFirst({cacheName:"static-video-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\.(?:js)$/i,new e.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\.(?:css|less)$/i,new e.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new e.StaleWhileRevalidate({cacheName:"next-data",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute(/\.(?:json|xml|csv)$/i,new e.NetworkFirst({cacheName:"static-data-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;const a=e.pathname;return!a.startsWith("/api/auth/")&&!!a.startsWith("/api/")}),new e.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;return!e.pathname.startsWith("/api/")}),new e.NetworkFirst({cacheName:"others",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET"),e.registerRoute((({url:e})=>!(self.origin===e.origin)),new e.NetworkFirst({cacheName:"cross-origin",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:3600}),{handlerDidError:async({request:e})=>self.fallback(e)}]}),"GET")}));
//# sourceMappingURL=sw.js.map