PageSourceSearch

https://www.calgaryfolkfest.com/worker-development.js

js calgaryfolkfest.com collected 2026-10-02 08:02:25 UTC 1,025 bytes, 29 lines download raw bytes

1/******/ (() => { // webpackBootstrap
2var __webpack_exports__ = {};
3console.log('Loaded service worker!');
4self.addEventListener('push', async event => {
5  var _event$data;
6  console.log("[Service Worker] Push Received.");
7  console.log("[Service Worker] Push Received.", event === null || event === void 0 || (_event$data = event.data) === null || _event$data === void 0 ? void 0 : _event$data.text());
8  if (event.data) {
9    const eventData = await event.data.json();
10    showLocalNotification(eventData.title, eventData.body, self.registration);
11  }
12});
13self.addEventListener('ready', async () => {
14  console.log("[Service Worker] ready.");
15});
16self.addEventListener('install', async () => {
17  console.log("[Service Worker] Installed.");
18});
19self.addEventListener('activate', async () => {
20  console.log("[Service Worker] Activate.");
21});
22const showLocalNotification = (title, body, swRegistration) => {
23  swRegistration.showNotification(title, {
24    body,
25    icon: '/android-chrome-192x192.png'
26  });
27};
28/******/ })()
29;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.