b68a4681e1
* move folders out of packages * Remove custom yarn stuff, remove duplicate readme * Remove stitches config * Add README script. * bump deps * Fix script * Update package.json
2 lines
10 KiB
JavaScript
2 lines
10 KiB
JavaScript
if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return n[e]||(s=new Promise((async s=>{if("document"in self){const n=document.createElement("script");n.src=e,document.head.appendChild(n),n.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!n[e])throw new Error(`Module ${e} didn’t register its module`);return n[e]}))},s=(s,n)=>{Promise.all(s.map(e)).then((e=>n(1===e.length?e[0]:e)))},n={require:Promise.resolve(s)};self.define=(s,a,i)=>{n[s]||(n[s]=Promise.resolve().then((()=>{let n={};const c={uri:location.origin+s.slice(1)};return Promise.all(a.map((s=>{switch(s){case"exports":return n;case"module":return c;default:return e(s)}}))).then((e=>{const s=i(...e);return n.default||(n.default=s),n}))})))}}define("./sw.js",["./workbox-a6b3f14f"],(function(e){"use strict";importScripts("worker-zTyDOkV9qnCPfL6KDOfO4.js"),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/server/middleware-manifest.json",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/248-8a4cf21b5b6eb1bf.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/248-8a4cf21b5b6eb1bf.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/290.79f565cc762e9381.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/290.79f565cc762e9381.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/433.34ded37557561268.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/433.34ded37557561268.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/538-9652a953062ba9b8.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/538-9652a953062ba9b8.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/5eed618a.68afa4d1c11a391c.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/5eed618a.68afa4d1c11a391c.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/677.0dafcde4f159cff4.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/677.0dafcde4f159cff4.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/740.d769bf90b43aef82.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/740.d769bf90b43aef82.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/framework-b349c7425cbe0b9b.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/framework-b349c7425cbe0b9b.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/main-0d8b35d64d40596c.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/main-0d8b35d64d40596c.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/_app-d4c7e3786c346c38.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/_app-d4c7e3786c346c38.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/_error-389f454b4ae8a0ff.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/_error-389f454b4ae8a0ff.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/index-6ee354d62a19fed2.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/index-6ee354d62a19fed2.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/k-eb10aaeb8a12cca3.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/k-eb10aaeb8a12cca3.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-ed7fc7de753504ea.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/k/%5Bid%5D-ed7fc7de753504ea.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/r-b1cc7cacdd44339b.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/r-b1cc7cacdd44339b.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-ad9a1e95034c9d3b.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/r/%5Bid%5D-ad9a1e95034c9d3b.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/shhh-d61bbdc87fe80dfa.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/shhh-d61bbdc87fe80dfa.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/shhhmp-9ff02580c611b57b.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/shhhmp-9ff02580c611b57b.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/signout-00f95c4fa0ab35e3.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/signout-00f95c4fa0ab35e3.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/sponsorware-272c6c1226d649c5.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/sponsorware-272c6c1226d649c5.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/u-06ac9be1c125287c.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/u-06ac9be1c125287c.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-c05a48be842d74eb.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/pages/u/%5Bid%5D-c05a48be842d74eb.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/webpack-43b023ac7a32a4e0.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/chunks/webpack-43b023ac7a32a4e0.js.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/css/47c3acb9e9bd26db.css",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/css/47c3acb9e9bd26db.css.map",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/zTyDOkV9qnCPfL6KDOfO4/_buildManifest.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/zTyDOkV9qnCPfL6KDOfO4/_middlewareManifest.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/_next/static/zTyDOkV9qnCPfL6KDOfO4/_ssgManifest.js",revision:"zTyDOkV9qnCPfL6KDOfO4"},{url:"/android-chrome-192x192.png",revision:"57c9c4cd91d24d48b7ffdda0768fd225"},{url:"/android-chrome-512x512.png",revision:"8d2454e6cf551f8ca1e1d5670b13a8d1"},{url:"/android-chrome-maskable-192x192.png",revision:"71c93ce0b34d2fbb4c6654a9131a3d9d"},{url:"/android-chrome-maskable-512x512.png",revision:"4265b8c09997b16ac1493500b43f3755"},{url:"/android-chrome-maskable-beta-512x512.png",revision:"145800cf2381faf1c0f4a61c29a88448"},{url:"/apple-touch-icon.png",revision:"8081d08be3673ec33dbeecab06706b2b"},{url:"/favicon-16x16.png",revision:"ac17d75b1ee007781212853a57b88285"},{url:"/favicon-32x32.png",revision:"360bc7cd4706c0657917f3b78fed6b71"},{url:"/favicon.ico",revision:"b2bf6bb7b4d0234f3e6df44fd7d5707e"},{url:"/flat.png",revision:"e0460141713b5c94104ce19b36c4b462"},{url:"/icons/Redo.svg",revision:"6196f61a2053ff606d5746eb3ab380e3"},{url:"/icons/Trash.svg",revision:"5f2c42a17b7d8459f2e556b6209a61c6"},{url:"/icons/Undo.svg",revision:"24de701870630f51132f9bed3f18ee8f"},{url:"/icons/grab.svg",revision:"a1ca9e5c31d1edd2558ab075f72fde4e"},{url:"/icons/pointer.svg",revision:"dff260f896fe23adb83341639fdf93be"},{url:"/icons/resize.svg",revision:"0a3cb701d15731e25919783801d18f95"},{url:"/images/hello.mp4",revision:"b716f249cc6c781c91b0ac9dc23423b3"},{url:"/manifest.json",revision:"3e4cd02739cceee25488c97ca2ed59da"},{url:"/vercel.svg",revision:"4b4f1876502eb6721764637fe5c41702"}],{ignoreURLParametersMatching:[]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:e,response:s,event:n,state:a})=>s&&"opaqueredirect"===s.type?new Response(s.body,{status:200,statusText:"OK",headers:s.headers}):s}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3})]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"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})]}),"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})]}),"GET"),e.registerRoute(/\/_next\/image\?url=.+$/i,new e.StaleWhileRevalidate({cacheName:"next-image",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"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})]}),"GET"),e.registerRoute(/\.(?:mp4)$/i,new e.CacheFirst({cacheName:"static-video-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:js)$/i,new e.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:css|less)$/i,new e.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new e.StaleWhileRevalidate({cacheName:"next-data",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:json|xml|csv)$/i,new e.NetworkFirst({cacheName:"static-data-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;const s=e.pathname;return!s.startsWith("/api/auth/")&&!!s.startsWith("/api/")}),new e.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400})]}),"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})]}),"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})]}),"GET")}));
|
||
//# sourceMappingURL=sw.js.map
|