From 37ecca8796534a030856d395b3fb23a2de4adc29 Mon Sep 17 00:00:00 2001 From: Abu Taher Muhamamd Date: Wed, 6 Mar 2024 20:31:07 +0600 Subject: [PATCH] fix: `TDonationItem` type --- public/sw.js | 660 +----------------- .../donations/DonationTable/index.tsx | 5 +- 2 files changed, 4 insertions(+), 661 deletions(-) diff --git a/public/sw.js b/public/sw.js index 38132ee..ba16ee2 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,659 +1 @@ -if (!self.define) { - let e, - a = {}; - const s = (s, t) => ( - (s = new URL(s + ".js", t).href), - a[s] || - new Promise((a) => { - if ("document" in self) { - const e = document.createElement("script"); - (e.src = s), (e.onload = a), document.head.appendChild(e); - } else (e = s), importScripts(s), a(); - }).then(() => { - let e = a[s]; - if (!e) throw new Error(`Module ${s} didn’t register its module`); - return e; - }) - ); - self.define = (t, n) => { - const i = - e || - ("document" in self ? document.currentScript.src : "") || - location.href; - if (a[i]) return; - let c = {}; - const u = (e) => s(e, i), - o = { module: { uri: i }, exports: c, require: u }; - a[i] = Promise.all(t.map((e) => o[e] || u(e))).then((e) => (n(...e), c)); - }; -} -define(["./workbox-9b4d2a02"], function (e) { - "use strict"; - importScripts(), - self.skipWaiting(), - e.clientsClaim(), - e.precacheAndRoute( - [ - { - url: "/_next/app-build-manifest.json", - revision: "4bb04150650945cacecdcc82058f60d9", - }, - { - url: "/_next/static/ZtHeSo4uXJFaQPVkHaIma/_buildManifest.js", - revision: "a27b2b7607326fa26b144e657011ec52", - }, - { - url: "/_next/static/ZtHeSo4uXJFaQPVkHaIma/_ssgManifest.js", - revision: "b6652df95db52feb4daf4eca35380933", - }, - { - url: "/_next/static/chunks/08e32899-4dc32a50b805514c.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/0e5ce63c-a0977ceabe13a931.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/1070-9b20651781e910cc.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/1768-6d821f6c9341e9f4.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/2323-223dccd0362f7d1f.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/2430-34f315d03ce8bb52.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/29d61979-105f1dc9d48d9bfe.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/2bc40315-600f0a8a726d2591.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/3046-b72e2e796c33f0bb.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/3406-7d87780e9bbe04af.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/3706-0be7ada16e1dac16.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/3794-35b23c763ea7c9f8.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/3939862f-6423aeb21d74155a.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/3db6e918-c1b293e63382677c.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/41230c25-7981e50ccadaf3da.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/4130.f958a065fc28420a.js", - revision: "f958a065fc28420a", - }, - { - url: "/_next/static/chunks/4296-c0dd40766eb564ac.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/4459-6adfde6017338b6b.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/4592-edf7f4c2d4e14691.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/4777.6bf9607115a77002.js", - revision: "6bf9607115a77002", - }, - { - url: "/_next/static/chunks/4893-b6eeea4eeaacf161.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/493-9403063f2f19f281.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/4938-ccb28c4005f9efe4.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/5250-b0fd7c9bed38c14f.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/5afae9cd-6ea09ff946b1ff5a.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/5c4a068a-7e8966df4b5d79fa.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/6626-1e08119940debf15.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/6691-1da1fb425aac2387.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/6947-821201bc87961003.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/6c3d43bb-2a01e690fef2ff50.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/758a8f17-6ae99216c9abf856.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/7803-62a7286981089b5d.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/7816-7d735086bad1695d.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/7b0fbde8-ec7c215460d669d7.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/8098-e6dba986614b79a6.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/8529-824d8fa82eca32ab.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/8808b817-f5e0ff04001a3837.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/8929-0ef5d905bf83bc26.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/8bd30861-1adfaf9617b73f35.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/9124.c5583a11902a20a3.js", - revision: "c5583a11902a20a3", - }, - { - url: "/_next/static/chunks/9252-d33e68205239d45d.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/9948.ef74c3a37802453e.js", - revision: "ef74c3a37802453e", - }, - { - url: "/_next/static/chunks/af164d00-06523487236bd9e6.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/about/page-32d73ce94cd6636d.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/analytics/page-ce52b1c69ca03a89.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/auth/error/page-5918adcde5161169.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/auth/login/page-6eec2342f2209667.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/auth/recovery/page-8dd6323aec72e5ed.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/auth/register/page-1e990b04a27cb4f8.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/auth/verification/page-fbe5da949e6402e6.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/blood-requests/%5Bid%5D/page-9b490b19d22cb4dc.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/blood-requests/new/page-e2f3172fb840f9ea.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/blood-requests/page-f7e88c5714e46555.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/clubs/%5Bid%5D/page-1fa05550b0cab8e3.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/clubs/new/page-b696baaa2fc7e8e8.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/clubs/page-e7c89425d95bc2de.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/collection-centers/%5Bid%5D/page-dc75edb22b4c2c2a.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/collection-centers/new/page-c9409eb93f23a726.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/collection-centers/page-1e1ade36e637fa5d.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/contacts/%5Bid%5D/page-e8f5f290edf88803.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/contacts/new/page-4b5795b1e3416c99.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/contacts/page-ea9fe241c9b2f132.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/events/%5Bid%5D/page-f0b9a94d0f3ea735.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/events/new/page-824facfb72248b2e.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/events/page-50590096b831fb96.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/funds/%5Bid%5D/page-ad33d502de947ed6.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/funds/new/page-319d44e11a7c0b34.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/funds/page-53806282663e5efb.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/layout-1472c3c29b649208.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/members/%5Bid%5D/page-27c575d8c45404e2.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/members/new/page-8018c7d9f9d1a5f4.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/members/page-5c9147d6dd8695db.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/not-found-bbd1c4bd96b16331.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/page-1f1de447c3998058.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/profile/page-aadc58c7717ab333.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/settings/page-2dd9aba575706c53.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/supports/%5Bid%5D/page-1482375d72d3a4a0.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/supports/page-b47db71a36623786.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/system-status/page-94c0cd434f4dc24a.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/teams/%5Bid%5D/page-97e7cd180062c999.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/teams/new/page-d3acb7c65bf759d4.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/teams/page-cf1951b37c5f0322.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/template-7972d965f0995116.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/updates/%5Bid%5D/page-6df592d63ca06ba5.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/updates/page-cf56be06ce23742d.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/users/%5Bid%5D/page-8d9fc41822368c0e.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/app/users/page-bbf8fc2b2ea41e28.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/bc9585cc-efeea0a8f64a6496.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/bc9c7fc9-0a81ef0f2047f9ed.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/bd8d7054-0a7f5415a3be3aec.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/c36591c5-ac6675b99e13b07d.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/fd9d1056-d1c67a117fee380b.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/framework-08aa667e5202eed8.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/main-028572e8530d5d63.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/main-app-88a6df2fd7257aae.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/pages/_app-31397adcb4d2b835.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/pages/_error-b225d4412fb76f89.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js", - revision: "837c0df77fd5009c9e46d446188ecfd0", - }, - { - url: "/_next/static/chunks/webpack-21dd6e62e0843769.js", - revision: "ZtHeSo4uXJFaQPVkHaIma", - }, - { - url: "/_next/static/css/bf85fff0694e0440.css", - revision: "bf85fff0694e0440", - }, - { - url: "/_next/static/media/bg.86ac577b.svg", - revision: "bc3d32a696895f78c19df6c717586a5d", - }, - { - url: "/_next/static/media/excel.c7062cd0.svg", - revision: "34cf935682b191a067d4ff73b6c7f327", - }, - { - url: "/_next/static/media/simbio-color.f63f6e4e.svg", - revision: "e0e42a4910d487f72d921441275452bd", - }, - { - url: "/_next/static/media/simbio-full-white.06b0c7e3.svg", - revision: "4e2882ac080016bfbed85ef7f12b5dab", - }, - { url: "/favicon.svg", revision: "04f8eeea468cd2bd3c6843432ec64046" }, - { - url: "/image/branding/simbio-color.svg", - revision: "e0e42a4910d487f72d921441275452bd", - }, - { - url: "/image/logo/bss.jpg", - revision: "c1bb0f7efff7cd6eeade2909567e1968", - }, - { - url: "/image/logo/rcs.svg", - revision: "6d87fc00f2c0c4a648bd8c2c62b063b3", - }, - { url: "/manifest.json", revision: "eda0e74adca523815b81bdb7d96287a2" }, - ], - { ignoreURLParametersMatching: [] }, - ), - e.cleanupOutdatedCaches(), - e.registerRoute( - "/", - new e.NetworkFirst({ - cacheName: "start-url", - plugins: [ - { - cacheWillUpdate: async ({ - request: e, - response: a, - event: s, - state: t, - }) => - a && "opaqueredirect" === a.type - ? new Response(a.body, { - status: 200, - statusText: "OK", - headers: a.headers, - }) - : a, - }, - ], - }), - "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 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 }), - ], - }), - "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", - ); -}); +if(!self.define){let s,n={};const e=(e,a)=>(e=new URL(e+".js",a).href,n[e]||new Promise((n=>{if("document"in self){const s=document.createElement("script");s.src=e,s.onload=n,document.head.appendChild(s)}else s=e,importScripts(e),n()})).then((()=>{let s=n[e];if(!s)throw new Error(`Module ${e} didn’t register its module`);return s})));self.define=(a,t)=>{const i=s||("document"in self?document.currentScript.src:"")||location.href;if(n[i])return;let c={};const r=s=>e(s,i),d={module:{uri:i},exports:c,require:r};n[i]=Promise.all(a.map((s=>d[s]||r(s)))).then((s=>(t(...s),c)))}}define(["./workbox-9b4d2a02"],(function(s){"use strict";importScripts(),self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"/_next/app-build-manifest.json",revision:"4c86c52ff762be66f15e1dfe04fddf44"},{url:"/_next/static/YsOqKM5hnb9I1UnwdX28M/_buildManifest.js",revision:"a27b2b7607326fa26b144e657011ec52"},{url:"/_next/static/YsOqKM5hnb9I1UnwdX28M/_ssgManifest.js",revision:"b6652df95db52feb4daf4eca35380933"},{url:"/_next/static/chunks/08e32899-4dc32a50b805514c.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/0e5ce63c-a0977ceabe13a931.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/1070-9b20651781e910cc.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/1369-770471a54d97949f.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/1457-d85b996eba6c9ad5.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/1768-0d82267840314638.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/1954-92f1dce44110bea1.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/29d61979-105f1dc9d48d9bfe.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/2bc40315-600f0a8a726d2591.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/3046-b72e2e796c33f0bb.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/3333-90ea3d037af396e7.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/3775-65c846f3fc9790a2.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/3794-35b23c763ea7c9f8.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/3939862f-6423aeb21d74155a.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/3db6e918-c1b293e63382677c.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/41230c25-7981e50ccadaf3da.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/4130.f958a065fc28420a.js",revision:"f958a065fc28420a"},{url:"/_next/static/chunks/4459-6adfde6017338b6b.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/4579-cf277ba9caaebf6e.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/4592-edf7f4c2d4e14691.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/4777.6bf9607115a77002.js",revision:"6bf9607115a77002"},{url:"/_next/static/chunks/4893-b6eeea4eeaacf161.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/493-8faa4ba30a6e9182.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/4938-ccb28c4005f9efe4.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/5250-b0fd7c9bed38c14f.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/5571-6afc6524bbb83cad.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/5677-d444cd9000292147.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/5afae9cd-6ea09ff946b1ff5a.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/5c4a068a-7e8966df4b5d79fa.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/6621-6a1edd9e5c4e0b61.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/6691-1da1fb425aac2387.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/6c3d43bb-2a01e690fef2ff50.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/7403-aec1b3f4405edaa0.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/758a8f17-6ae99216c9abf856.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/7b0fbde8-ec7c215460d669d7.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/8098-e6dba986614b79a6.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/8529-824d8fa82eca32ab.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/8808b817-f5e0ff04001a3837.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/8923-18048c5fb943bd08.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/8bd30861-1adfaf9617b73f35.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/9124.c5583a11902a20a3.js",revision:"c5583a11902a20a3"},{url:"/_next/static/chunks/9252-d33e68205239d45d.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/9573-90b4a20f79a47b15.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/9936-36d6b88ddd8e0416.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/9948.ef74c3a37802453e.js",revision:"ef74c3a37802453e"},{url:"/_next/static/chunks/af164d00-06523487236bd9e6.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/about/page-3344ac994e11ddb7.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/analytics/page-66089efee1be6543.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/auth/error/page-c6e4350049b9f15a.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/auth/login/page-0d953fc5d5db40cf.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/auth/recovery/page-751b78933261b2d7.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/auth/register/page-856fc80ce30a4814.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/auth/verify/page-49ed26a8f43e1aa6.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/blood-requests/%5Bid%5D/page-5cf16b07ae8df90a.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/blood-requests/new/page-3bf81b7233667e72.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/blood-requests/page-e61a2587362ccb67.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/clubs/%5Bid%5D/page-d931b54b9f2bf0a3.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/clubs/new/page-b9b3f3224bc7b318.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/clubs/page-987e643a27bb1b21.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/collection-centers/%5Bid%5D/page-894386e052171bde.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/collection-centers/new/page-42fbaaece88f2ff2.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/collection-centers/page-77be0f381c64b22a.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/contacts/%5Bid%5D/page-19c5fde8daf67416.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/contacts/new/page-ce2bf538fc1577c0.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/contacts/page-ca0b85377312d3a8.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/donations/%5Bid%5D/page-76eb3fc3fce48796.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/donations/new/page-793df9f5d6a1003b.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/donations/page-47352f7c52a2dc68.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/events/%5Bid%5D/page-99a4419415342228.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/events/new/page-2908f52406de8e73.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/events/page-dc5bec48cd19cebf.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/forms/membership/page-eeccd28b62ca74cf.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/funds/%5Bid%5D/page-9c8ba1c4958e806c.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/funds/new/page-2c2f31fd5ba2724e.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/funds/page-4d4581156b782982.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/layout-9981ba0a57738518.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/members/%5Bid%5D/page-ff2e13f9dd910ff6.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/members/new/page-2188f991bf94e075.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/members/page-c0bd9016e2b1bdec.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/not-found-0a7cfd0d1e5ea082.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/page-aeddc31a1c8d0c01.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/profile/page-a4fdecad333fd874.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/settings/page-5e5838a013765b50.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/supports/%5Bid%5D/page-3c6eb59a63bb9fc7.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/supports/page-e17619b371a04d83.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/system-status/page-77afbf8b18f3a6be.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/teams/%5Bid%5D/page-09a03859764e63e6.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/teams/new/page-5d848adc2c67b285.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/teams/page-65ad83061a93b88a.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/template-1f43b0674ba853fb.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/updates/%5Bid%5D/page-f226972e4a8da070.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/updates/page-4335726c1eb8dd33.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/app/users/page-aa77c4428287c857.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/bc9585cc-efeea0a8f64a6496.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/bc9c7fc9-0a81ef0f2047f9ed.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/bd8d7054-0a7f5415a3be3aec.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/c36591c5-ac6675b99e13b07d.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/fd9d1056-d1c67a117fee380b.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/framework-08aa667e5202eed8.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/main-34c35120e0bed335.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/main-app-1716ea9587512bf4.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/pages/_app-31397adcb4d2b835.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/pages/_error-b225d4412fb76f89.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js",revision:"837c0df77fd5009c9e46d446188ecfd0"},{url:"/_next/static/chunks/webpack-df152cb79e961033.js",revision:"YsOqKM5hnb9I1UnwdX28M"},{url:"/_next/static/css/9165a3e419b92c90.css",revision:"9165a3e419b92c90"},{url:"/_next/static/media/avatar.783f2840.jpg",revision:"60ff812ffdc4c849541b3ecfb48dce3e"},{url:"/_next/static/media/bg.86ac577b.svg",revision:"bc3d32a696895f78c19df6c717586a5d"},{url:"/_next/static/media/excel.c7062cd0.svg",revision:"34cf935682b191a067d4ff73b6c7f327"},{url:"/_next/static/media/simbio-color.f63f6e4e.svg",revision:"e0e42a4910d487f72d921441275452bd"},{url:"/_next/static/media/simbio-full-white.06b0c7e3.svg",revision:"4e2882ac080016bfbed85ef7f12b5dab"},{url:"/favicon.svg",revision:"304206e624e919ea42e9303468a9d467"},{url:"/image/branding/simbio-color.svg",revision:"e0e42a4910d487f72d921441275452bd"},{url:"/image/logo/bss.jpg",revision:"c1bb0f7efff7cd6eeade2909567e1968"},{url:"/image/logo/rcs.svg",revision:"6d87fc00f2c0c4a648bd8c2c62b063b3"},{url:"/manifest.json",revision:"eda0e74adca523815b81bdb7d96287a2"}],{ignoreURLParametersMatching:[]}),s.cleanupOutdatedCaches(),s.registerRoute("/",new s.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:s,response:n,event:e,state:a})=>n&&"opaqueredirect"===n.type?new Response(n.body,{status:200,statusText:"OK",headers:n.headers}):n}]}),"GET"),s.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new s.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new s.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3})]}),"GET"),s.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new s.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new s.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),s.registerRoute(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new s.StaleWhileRevalidate({cacheName:"static-font-assets",plugins:[new s.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),s.registerRoute(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new s.StaleWhileRevalidate({cacheName:"static-image-assets",plugins:[new s.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),s.registerRoute(/\/_next\/image\?url=.+$/i,new s.StaleWhileRevalidate({cacheName:"next-image",plugins:[new s.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),s.registerRoute(/\.(?:mp3|wav|ogg)$/i,new s.CacheFirst({cacheName:"static-audio-assets",plugins:[new s.RangeRequestsPlugin,new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),s.registerRoute(/\.(?:mp4)$/i,new s.CacheFirst({cacheName:"static-video-assets",plugins:[new s.RangeRequestsPlugin,new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),s.registerRoute(/\.(?:js)$/i,new s.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),s.registerRoute(/\.(?:css|less)$/i,new s.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),s.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new s.StaleWhileRevalidate({cacheName:"next-data",plugins:[new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),s.registerRoute(/\.(?:json|xml|csv)$/i,new s.NetworkFirst({cacheName:"static-data-assets",plugins:[new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),s.registerRoute((({url:s})=>{if(!(self.origin===s.origin))return!1;const n=s.pathname;return!n.startsWith("/api/auth/")&&!!n.startsWith("/api/")}),new s.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new s.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400})]}),"GET"),s.registerRoute((({url:s})=>{if(!(self.origin===s.origin))return!1;return!s.pathname.startsWith("/api/")}),new s.NetworkFirst({cacheName:"others",networkTimeoutSeconds:10,plugins:[new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),s.registerRoute((({url:s})=>!(self.origin===s.origin)),new s.NetworkFirst({cacheName:"cross-origin",networkTimeoutSeconds:10,plugins:[new s.ExpirationPlugin({maxEntries:32,maxAgeSeconds:3600})]}),"GET")})); diff --git a/src/components/donations/DonationTable/index.tsx b/src/components/donations/DonationTable/index.tsx index 6ccaa0f..9dfdc15 100644 --- a/src/components/donations/DonationTable/index.tsx +++ b/src/components/donations/DonationTable/index.tsx @@ -8,9 +8,10 @@ export type TDonationItem = { avatar: string; donor: string; patient: string; - amount: string; + cause: string; date: string; - location: string; + collectionCenter: string; + organization: string; phone: string; email: string; gender: string;