PageSourceSearch

https://www.calgaryfolkfest.com/sw.js

js calgaryfolkfest.com collected 2026-10-02 08:01:18 UTC 38,042 bytes, 2 lines download raw bytes

1!function(){"use strict";let e,t,a,r,s;let n=(e,...t)=>{let a=e;return t.length>0&&(a+=` :: ${JSON.stringify(t)}`),a};class i extends Error{details;constructor(e,t){super(n(e,t)),this.name=e,this.details=t}}let o=e=>new URL(String(e),location.href).href.replace(RegExp(`^${location.origin}`),""),l={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"serwist",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},c=e=>[l.prefix,e,l.suffix].filter(e=>e&&e.length>0).join("-"),h=e=>{for(let t of Object.keys(l))e(t)},u=e=>{h(t=>{let a=e[t];"string"==typeof a&&(l[t]=a)})},d=e=>e||c(l.googleAnalytics),f=e=>e||c(l.precache),y=e=>e||c(l.runtime);class w{promise;resolve;reject;constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}function p(e,t){let a=new URL(e);for(let e of t)a.searchParams.delete(e);return a.href}async function g(e,t,a,r){let s=p(t.url,a);if(t.url===s)return e.match(t,r);let n={...r,ignoreSearch:!0};for(let i of(await e.keys(t,n)))if(s===p(i.url,a))return e.match(i,r)}let m=new Set,_=async()=>{for(let e of m)await e()};function v(e){return new Promise(t=>setTimeout(t,e))}let b="-precache-",q=async(e,t=b)=>{let a=(await self.caches.keys()).filter(a=>a.includes(t)&&a.includes(self.registration.scope)&&a!==e);return await Promise.all(a.map(e=>self.caches.delete(e))),a},R=e=>{self.addEventListener("activate",t=>{t.waitUntil(q(f(e)).then(e=>{}))})},E=()=>{self.addEventListener("activate",()=>self.clients.claim())},S=(e,t)=>{let a=t();return e.waitUntil(a),a},P=(e,t)=>t.some(t=>e instanceof t),D=new WeakMap,k=new WeakMap,C=new WeakMap,T={get(e,t,a){if(e instanceof IDBTransaction){if("done"===t)return D.get(e);if("store"===t)return a.objectStoreNames[1]?void 0:a.objectStore(a.objectStoreNames[0])}return I(e[t])},set:(e,t,a)=>(e[t]=a,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function I(e){var r;if(e instanceof IDBRequest)return function(e){let t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("success",s),e.removeEventListener("error",n)},s=()=>{t(I(e.result)),r()},n=()=>{a(e.error),r()};e.addEventListener("success",s),e.addEventListener("error",n)});return C.set(t,e),t}(e);if(k.has(e))return k.get(e);let s="function"==typeof(r=e)?(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(r)?function(...e){return r.apply(L(this),e),I(this.request)}:function(...e){return I(r.apply(L(this),e))}:(r instanceof IDBTransaction&&function(e){if(D.has(e))return;let t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",n),e.removeEventListener("abort",n)},s=()=>{t(),r()},n=()=>{a(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",s),e.addEventListener("error",n),e.addEventListener("abort",n)});D.set(e,t)}(r),P(r,t||(t=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(r,T):r;return s!==e&&(k.set(e,s),C.set(s,e)),s}let L=e=>C.get(e),U=["get","getKey","getAll","getAllKeys","count"],x=["put","add","delete","clear"],N=new Map;function K(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(N.get(t))return N.get(t);let a=t.replace(/FromIndex$/,""),r=t!==a,s=x.includes(a);if(!(a in(r?IDBIndex:IDBObjectStore).prototype)||!(s||U.includes(a)))return;let n=async function(e,...t){let n=this.transaction(e,s?"readwrite":"readonly"),i=n.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[a](...t),s&&n.done]))[0]};return N.set(t,n),n}T={...r=T,get:(e,t,a)=>K(e,t)||r.get(e,t,a),has:(e,t)=>!!K(e,t)||r.has(e,t)};let B=["continue","continuePrimaryKey","advance"],O={},F=new WeakMap,M=new WeakMap,A={get(e,t){if(!B.includes(t))return e[t];let a=O[t];return a||(a=O[t]=function(...e){F.set(this,M.get(this)[t](...e))}),a}};async function*W(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;let a=new Proxy(t,A);for(M.set(a,t),C.set(a,L(t));t;)yield a,t=await (F.get(a)||t.continue()),F.delete(a)}function j(e,t){return t===Symbol.asyncIterator&&P(e,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===t&&P(e,[IDBIndex,IDBObjectStore])}T={...s=T,get:(e,t,a)=>j(e,t)?W:s.get(e,t,a),has:(e,t)=>j(e,t)||s.has(e,t)};let H=e=>e&&"object"==typeof e?e:{handle:e};class ${handler;match;method;catchHandler;constructor(e,t,a="GET"){this.handler=H(t),this.match=e,this.method=a}setCatchHandler(e){this.catchHandler=H(e)}}class V extends ${_allowlist;_denylist;constructor(e,{allowlist:t=[/./],denylist:a=[]}={}){super(e=>this._match(e),e),this._allowlist=t,this._denylist=a}_match({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;let a=e.pathname+e.search;for(let e of this._denylist)if(e.test(a))return!1;return!!this._allowlist.some(e=>e.test(a))}}let G=(e,t=[])=>{for(let a of[...e.searchParams.keys()])t.some(e=>e.test(a))&&e.searchParams.delete(a);return e};class Q extends ${constructor(e,t,a){super(({url:t})=>{let a=e.exec(t.href);
1if(a&&(t.origin===location.origin||0===a.index))return a.slice(1)},t,a)}}let z=async(e,t,a)=>{let r=t.map((e,t)=>({index:t,item:e})),s=async e=>{let t=[];for(;;){let s=r.pop();if(!s)return e(t);let n=await a(s.item);t.push({result:n,index:s.index})}},n=Array.from({length:e},()=>new Promise(s));return(await Promise.all(n)).flat().sort((e,t)=>e.index<t.index?-1:1).map(e=>e.result)},J=()=>{self.__WB_DISABLE_DEV_LOGS=!0};function X(e){return"string"==typeof e?new Request(e):e}class Y{event;request;url;params;_cacheKeys={};_strategy;_handlerDeferred;_extendLifetimePromises;_plugins;_pluginStateMap;constructor(e,t){for(let a of(this.event=t.event,this.request=t.request,t.url&&(this.url=t.url,this.params=t.params),this._strategy=e,this._handlerDeferred=new w,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map,this._plugins))this._pluginStateMap.set(a,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){let{event:t}=this,a=X(e),r=await this.getPreloadResponse();if(r)return r;let s=this.hasCallback("fetchDidFail")?a.clone():null;try{for(let e of this.iterateCallbacks("requestWillFetch"))a=await e({request:a.clone(),event:t})}catch(e){if(e instanceof Error)throw new i("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}let n=a.clone();try{let e;for(let r of(e=await fetch(a,"navigate"===a.mode?void 0:this._strategy.fetchOptions),this.iterateCallbacks("fetchDidSucceed")))e=await r({event:t,request:n,response:e});return e}catch(e){throw s&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:s.clone(),request:n.clone()}),e}}async fetchAndCachePut(e){let t=await this.fetch(e),a=t.clone();return this.waitUntil(this.cachePut(e,a)),t}async cacheMatch(e){let t;let a=X(e),{cacheName:r,matchOptions:s}=this._strategy,n=await this.getCacheKey(a,"read"),i={...s,cacheName:r};for(let e of(t=await caches.match(n,i),this.iterateCallbacks("cachedResponseWillBeUsed")))t=await e({cacheName:r,matchOptions:s,cachedResponse:t,request:n,event:this.event})||void 0;return t}async cachePut(e,t){let a=X(e);await v(0);let r=await this.getCacheKey(a,"write");if(!t)throw new i("cache-put-with-no-response",{url:o(r.url)});let s=await this._ensureResponseSafeToCache(t);if(!s)return!1;let{cacheName:n,matchOptions:l}=this._strategy,c=await self.caches.open(n),h=this.hasCallback("cacheDidUpdate"),u=h?await g(c,r.clone(),["__WB_REVISION__"],l):null;try{await c.put(r,h?s.clone():s)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await _(),e}for(let e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:n,oldResponse:u,newResponse:s.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){let a=`${e.url} | ${t}`;if(!this._cacheKeys[a]){let r=e;for(let e of this.iterateCallbacks("cacheKeyWillBeUsed"))r=X(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[a]=r}return this._cacheKeys[a]}hasCallback(e){for(let t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(let a of this.iterateCallbacks(e))await a(t)}*iterateCallbacks(e){for(let t of this._strategy.plugins)if("function"==typeof t[e]){let a=this._pluginStateMap.get(t),r=r=>{let s={...r,state:a};return t[e](s)};yield r}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async getPreloadResponse(){if(this.event instanceof FetchEvent&&"navigate"===this.event.request.mode&&"preloadResponse"in this.event)try{let e=await this.event.preloadResponse;if(e)return e}catch(e){}}async _ensureResponseSafeToCache(e){let t=e,a=!1;for(let e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({request:this.request,response:t,event:this.event})||void 0,a=!0,!t)break;return!a&&t&&200!==t.status&&(t=void 0),t}}class Z{cacheName;plugins;fetchOptions;matchOptions;constructor(e={}){this.cacheName=y(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){let[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});
1let t=e.event,a="string"==typeof e.request?new Request(e.request):e.request,r=new Y(this,e.url?{event:t,request:a,url:e.url,params:e.params}:{event:t,request:a}),s=this._getResponse(r,a,t),n=this._awaitComplete(s,r,a,t);return[s,n]}async _getResponse(e,t,a){let r;await e.runCallbacks("handlerWillStart",{event:a,request:t});try{if(r=await this._handle(t,e),void 0===r||"error"===r.type)throw new i("no-response",{url:t.url})}catch(s){if(s instanceof Error){for(let n of e.iterateCallbacks("handlerDidError"))if(void 0!==(r=await n({error:s,event:a,request:t})))break}if(!r)throw s}for(let s of e.iterateCallbacks("handlerWillRespond"))r=await s({event:a,request:t,response:r});return r}async _awaitComplete(e,t,a,r){let s,n;try{s=await e}catch(e){}try{await t.runCallbacks("handlerDidRespond",{event:r,request:a,response:s}),await t.doneWaiting()}catch(e){e instanceof Error&&(n=e)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:a,response:s,error:n}),t.destroy(),n)throw n}}let ee={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class et extends Z{_networkTimeoutSeconds;constructor(e={}){super(e),this.plugins.some(e=>"cacheWillUpdate"in e)||this.plugins.unshift(ee),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let a;let r=[],s=[];if(this._networkTimeoutSeconds){let{id:n,promise:i}=this._getTimeoutPromise({request:e,logs:r,handler:t});a=n,s.push(i)}let n=this._getNetworkPromise({timeoutId:a,request:e,logs:r,handler:t});s.push(n);let o=await t.waitUntil((async()=>await t.waitUntil(Promise.race(s))||await n)());if(!o)throw new i("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:a}){let r;return{promise:new Promise(t=>{r=setTimeout(async()=>{t(await a.cacheMatch(e))},1e3*this._networkTimeoutSeconds)}),id:r}}async _getNetworkPromise({timeoutId:e,request:t,logs:a,handler:r}){let s,n;try{n=await r.fetchAndCachePut(t)}catch(e){e instanceof Error&&(s=e)}return e&&clearTimeout(e),(s||!n)&&(n=await r.cacheMatch(t)),n}}class ea extends Z{_networkTimeoutSeconds;constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let a,r;try{let r=[t.fetch(e)];if(this._networkTimeoutSeconds){let e=v(1e3*this._networkTimeoutSeconds);r.push(e)}if(!(a=await Promise.race(r)))throw Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(r=e)}if(!a)throw new i("no-response",{url:e.url,error:r});return a}}let er="requests",es="queueName";class en{_db=null;async addEntry(e){let t=(await this.getDb()).transaction(er,"readwrite",{durability:"relaxed"});await t.store.add(e),await t.done}async getFirstEntryId(){let e=await this.getDb(),t=await e.transaction(er).store.openCursor();return t?.value.id}async getAllEntriesByQueueName(e){let t=await this.getDb();return await t.getAllFromIndex(er,es,IDBKeyRange.only(e))||[]}async getEntryCountByQueueName(e){return(await this.getDb()).countFromIndex(er,es,IDBKeyRange.only(e))}async deleteEntry(e){let t=await this.getDb();await t.delete(er,e)}async getFirstEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"next")}async getLastEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"prev")}async getEndEntryFromIndex(e,t){let a=await this.getDb(),r=await a.transaction(er).store.index(es).openCursor(e,t);return r?.value}async getDb(){return this._db||(this._db=await function(e,t,{blocked:a,upgrade:r,blocking:s,terminated:n}={}){let i=indexedDB.open(e,3),o=I(i);return r&&i.addEventListener("upgradeneeded",e=>{r(I(i.result),e.oldVersion,e.newVersion,I(i.transaction),e)}),a&&i.addEventListener("blocked",e=>a(e.oldVersion,e.newVersion,e)),o.then(e=>{n&&e.addEventListener("close",()=>n()),s&&e.addEventListener("versionchange",e=>s(e.oldVersion,e.newVersion,e))}).catch(()=>{}),o}("serwist-background-sync",0,{upgrade:this._upgradeDb})),this._db}_upgradeDb(e,t){t>0&&t<3&&e.objectStoreNames.contains(er)&&e.deleteObjectStore(er),e.createObjectStore(er,{autoIncrement:!0,keyPath:"id"}).createIndex(es,es,{unique:!1})}}class ei{_queueName;_queueDb;constructor(e){this._queueName=e,this._queueDb=new en}async pushEntry(e){delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async unshiftEntry(e){let t=await this._queueDb.getFirstEntryId();t?e.id=t-1:delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async popEntry(){return this._removeEntry(await this._queueDb.getLastEntryByQueueName(this._queueName))}async shiftEntry(){return this._removeEntry(await this._queueDb.getFirstEntryByQueueName(this._queueName))}async getAll(){return await this._queueDb.getAllEntriesByQueueName(this._queueName)}async size(){return await this._queueDb.getEntryCountByQueueName(this._queueName)}async deleteEntry(e){await this._queueDb.deleteEntry(e)}async _removeEntry(e){return e&&await this.deleteEntry(e.id),e}}let eo=["method","referrer","referrerPolicy","mode","credentials","cache","redirect","integrity","keepalive"];class el{_requestData;
1static async fromRequest(e){let t={url:e.url,headers:{}};for(let a of("GET"!==e.method&&(t.body=await e.clone().arrayBuffer()),e.headers.forEach((e,a)=>{t.headers[a]=e}),eo))void 0!==e[a]&&(t[a]=e[a]);return new el(t)}constructor(e){"navigate"===e.mode&&(e.mode="same-origin"),this._requestData=e}toObject(){let e=Object.assign({},this._requestData);return e.headers=Object.assign({},this._requestData.headers),e.body&&(e.body=e.body.slice(0)),e}toRequest(){return new Request(this._requestData.url,this._requestData)}clone(){return new el(this.toObject())}}let ec="serwist-background-sync",eh=new Set,eu=e=>{let t={request:new el(e.requestData).toRequest(),timestamp:e.timestamp};return e.metadata&&(t.metadata=e.metadata),t};class ed{_name;_onSync;_maxRetentionTime;_queueStore;_forceSyncFallback;_syncInProgress=!1;_requestsAddedDuringSync=!1;constructor(e,{forceSyncFallback:t,onSync:a,maxRetentionTime:r}={}){if(eh.has(e))throw new i("duplicate-queue-name",{name:e});eh.add(e),this._name=e,this._onSync=a||this.replayRequests,this._maxRetentionTime=r||10080,this._forceSyncFallback=!!t,this._queueStore=new ei(this._name),this._addSyncListener()}get name(){return this._name}async pushRequest(e){await this._addRequest(e,"push")}async unshiftRequest(e){await this._addRequest(e,"unshift")}async popRequest(){return this._removeRequest("pop")}async shiftRequest(){return this._removeRequest("shift")}async getAll(){let e=await this._queueStore.getAll(),t=Date.now(),a=[];for(let r of e){let e=6e4*this._maxRetentionTime;t-r.timestamp>e?await this._queueStore.deleteEntry(r.id):a.push(eu(r))}return a}async size(){return await this._queueStore.size()}async _addRequest({request:e,metadata:t,timestamp:a=Date.now()}
1,r){let s={requestData:(await el.fromRequest(e.clone())).toObject(),timestamp:a};switch(t&&(s.metadata=t),r){case"push":await this._queueStore.pushEntry(s);break;case"unshift":await this._queueStore.unshiftEntry(s)}this._syncInProgress?this._requestsAddedDuringSync=!0:await this.registerSync()}async _removeRequest(e){let t;let a=Date.now();switch(e){case"pop":t=await this._queueStore.popEntry();break;case"shift":t=await this._queueStore.shiftEntry()}if(t){let r=6e4*this._maxRetentionTime;return a-t.timestamp>r?this._removeRequest(e):eu(t)}}async replayRequests(){let e;for(;e=await this.shiftRequest();)try{await fetch(e.request.clone())}catch(t){throw await this.unshiftRequest(e),new i("queue-replay-failed",{name:this._name})}}async registerSync(){if("sync"in self.registration&&!this._forceSyncFallback)try{await self.registration.sync.register(`${ec}:${this._name}`)}catch(e){}}_addSyncListener(){"sync"in self.registration&&!this._forceSyncFallback?self.addEventListener("sync",e=>{if(e.tag===`${ec}:${this._name}`){let t=async()=>{let t;this._syncInProgress=!0;try{await this._onSync({queue:this})}catch(e){if(e instanceof Error)throw e}finally{this._requestsAddedDuringSync&&!(t&&!e.lastChance)&&await this.registerSync(),this._syncInProgress=!1,this._requestsAddedDuringSync=!1}};e.waitUntil(t())}}):this._onSync({queue:this})}static get _queueNames(){return eh}}class ef{_queue;constructor(e,t){this._queue=new ed(e,t)}async fetchDidFail({request:e}){await this._queue.pushRequest({request:e})}}let ey=async(t,a)=>{let r=null;if(t.url&&(r=new URL(t.url).origin),r!==self.location.origin)throw new i("cross-origin-copy-response",{origin:r});let s=t.clone(),n={headers:new Headers(s.headers),status:s.status,statusText:s.statusText},o=a?a(n):n,l=!function(){if(void 0===e){let t=new Response("");if("body"in t)try{new Response(t.body),e=!0}catch(t){e=!1}e=!1}return e}()?await s.blob():s.body;return new Response(l,o)};class ew extends Z{_fallbackToNetwork;static defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e};static copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await ey(e):e};constructor(e={}){e.cacheName=f(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(ew.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){let a=await t.getPreloadResponse();return a?a:await t.cacheMatch(e)||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let a;let r=t.params||{};if(this._fallbackToNetwork){let s=r.integrity,n=e.integrity,i=!n||n===s;a=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?n||s:void 0})),s&&i&&"no-cors"!==e.mode&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,a.clone()))}else throw new i("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return a}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();let a=await t.fetch(e);if(!await t.cachePut(e,a.clone()))throw new i("bad-precaching-response",{url:e.url,status:a.status});return a}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(let[a,r]of this.plugins.entries())r!==ew.copyRedirectedCacheableResponsesPlugin&&(r===ew.defaultPrecacheCacheabilityPlugin&&(e=a),r.cacheWillUpdate&&t++);0===t?this.plugins.push(ew.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}let ep=()=>!!self.registration?.navigationPreload,eg=e=>{ep()&&self.addEventListener("activate",t=>{t.waitUntil(self.registration.navigationPreload.enable().then(()=>{e&&self.registration.navigationPreload.setHeaderValue(e)}))})},em=e=>{u(e)};class e_{updatedURLs=[];notUpdatedURLs=[];handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)};cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:a})=>{if("install"===e.type&&t?.originalRequest&&t.originalRequest instanceof Request){let e=t.originalRequest.url;a?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return a}}let ev=e=>{if(!e)throw new i("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){let t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}let{revision:t,url:a}=e;if(!a)throw new i("add-to-cache-list-unexpected-type",{entry:e});if(!t){let e=new URL(a,location.href);return{cacheKey:e.href,url:e.href}}let r=new URL(a,location.href),s=new URL(a,location.href);return r.searchParams.set("__WB_REVISION__",t),{cacheKey:r.href,url:s.href}},eb=(e,t,a)=>{if("string"==typeof e){let r=new URL(e,location.href);return new $(({url:e})=>e.href===r.href,t,a)}if(e instanceof RegExp)return new Q(e,t,a);if("function"==typeof e)return new $(e,t,a);if(e instanceof $)return e;throw new i("unsupported-route-type",{moduleName:"serwist",funcName:"parseRoute",paramName:"capture"})};class eq extends ${constructor(e,t){super(({request:a})=>{let r=e.getUrlsToPrecacheKeys();for(let s of function*(e,{directoryIndex:t="index.html",ignoreURLParametersMatching:a=[/^utm_/,/^fbclid$/],cleanURLs:r=!0,urlManipulation:s}={}){let n=new URL(e,location.href);n.hash="",yield n.href;let i=G(n,a);if(yield i.href,t&&i.pathname.endsWith("/")){let e=new URL(i.href);e.pathname+=t,yield e.href}if(r){let e=new URL(i.href);e.pathname+=".html",yield e.href}if(s)for(let e of s({url:n}))yield e.href}(a.url,t)){let t=r.get(s);if(t){let a=e.getIntegrityForPrecacheKey(t);return{cacheKey:t,integrity:a}}}},e.precacheStrategy)}}let eR="www.google-analytics.com",eE="www.googletagmanager.com",eS=/^\/(\w+\/)?collect/,eP=e=>async({queue:t})=>{let a;for(;
1a=await t.shiftRequest();){let{request:r,timestamp:s}=a,n=new URL(r.url);try{let t="POST"===r.method?new URLSearchParams(await r.clone().text()):n.searchParams,a=s-(Number(t.get("qt"))||0),i=Date.now()-a;if(t.set("qt",String(i)),e.parameterOverrides)for(let a of Object.keys(e.parameterOverrides)){let r=e.parameterOverrides[a];t.set(a,r)}"function"==typeof e.hitFilter&&e.hitFilter.call(null,t),await fetch(new Request(n.origin+n.pathname,{body:t.toString(),method:"POST",mode:"cors",credentials:"omit",headers:{"Content-Type":"text/plain"}}))}catch(e){throw await t.unshiftRequest(a),e}}},eD=e=>{let t=({url:e})=>e.hostname===eR&&eS.test(e.pathname),a=new ea({plugins:[e]});return[new $(t,a,"GET"),new $(t,a,"POST")]},ek=e=>new $(({url:e})=>e.hostname===eR&&"/analytics.js"===e.pathname,new et({cacheName:e}),"GET"),eC=e=>new $(({url:e})=>e.hostname===eE&&"/gtag/js"===e.pathname,new et({cacheName:e}),"GET"),eT=e=>new $(({url:e})=>e.hostname===eE&&"/gtm.js"===e.pathname,new et({cacheName:e}),"GET"),eI=({serwist:e,cacheName:t,...a})=>{let r=d(t),s=new ef("serwist-google-analytics",{maxRetentionTime:2880,onSync:eP(a)});for(let t of[eT(r),ek(r),eC(r),...eD(s)])e.registerRoute(t)};class eL{_fallbackUrls;_serwist;constructor({fallbackUrls:e,serwist:t}){this._fallbackUrls=e,this._serwist=t}async handlerDidError(e){for(let t of this._fallbackUrls)if("string"==typeof t){let e=await this._serwist.matchPrecache(t);if(void 0!==e)return e}else if(t.matcher(e)){let e=await this._serwist.matchPrecache(t.url);if(void 0!==e)return e}}}class eU{_precacheController;constructor({precacheController:e}){this._precacheController=e}cacheKeyWillBeUsed=async({request:e,params:t})=>{let a=t?.cacheKey||this._precacheController.getPrecacheKeyForUrl(e.url);return a?new Request(a,{headers:e.headers}):e}}let ex=(e,t={})=>{let{cacheName:a,plugins:r=[],fetchOptions:s,matchOptions:n,fallbackToNetwork:i,directoryIndex:o,ignoreURLParametersMatching:l,cleanURLs:c,urlManipulation:h,cleanupOutdatedCaches:u,concurrency:d=10,navigateFallback:y,navigateFallbackAllowlist:w,navigateFallbackDenylist:p}=t??{};return{precacheStrategyOptions:{cacheName:f(a),plugins:[...r,new eU({precacheController:e})],fetchOptions:s,matchOptions:n,fallbackToNetwork:i},precacheRouteOptions:{directoryIndex:o,ignoreURLParametersMatching:l,cleanURLs:c,urlManipulation:h},precacheMiscOptions:{cleanupOutdatedCaches:u,concurrency:d,navigateFallback:y,navigateFallbackAllowlist:w,navigateFallbackDenylist:p}}};class eN{_urlsToCacheKeys=new Map;_urlsToCacheModes=new Map;_cacheKeysToIntegrities=new Map;_concurrentPrecaching;_precacheStrategy;_routes;_defaultHandlerMap;_catchHandler;constructor({precacheEntries:e,precacheOptions:t,skipWaiting:a=!1,importScripts:r,navigationPreload:s=!1,cacheId:n,clientsClaim:i=!1,runtimeCaching:o,offlineAnalyticsConfig:l,disableDevLogs:c=!1,fallbacks:h}={}){let{precacheStrategyOptions:u,precacheRouteOptions:d,precacheMiscOptions:f}=ex(this,t);if(this._concurrentPrecaching=f.concurrency,this._precacheStrategy=new ew(u),this._routes=new Map,this._defaultHandlerMap=new Map,this.handleInstall=this.handleInstall.bind(this),this.handleActivate=this.handleActivate.bind(this),this.handleFetch=this.handleFetch.bind(this),this.handleCache=this.handleCache.bind(this),r&&r.length>0&&self.importScripts(...r),s&&eg(),void 0!==n&&em({prefix:n}),a?self.skipWaiting():self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),i&&E(),e&&e.length>0&&this.addToPrecacheList(e),f.cleanupOutdatedCaches&&R(u.cacheName),this.registerRoute(new eq(this,d)),f.navigateFallback&&this.registerRoute(new V(this.createHandlerBoundToUrl(f.navigateFallback),{allowlist:f.navigateFallbackAllowlist,denylist:f.navigateFallbackDenylist})),void 0!==l&&("boolean"==typeof l?l&&eI({serwist:this}):eI({...l,serwist:this})),void 0!==o){if(void 0!==h){let e=new eL({fallbackUrls:h.entries,serwist:this});o.forEach(t=>{t.handler instanceof Z&&!t.handler.plugins.some(e=>"handlerDidError"in e)&&t.handler.plugins.push(e)})}for(let e of o)this.registerCapture(e.matcher,e.handler,e.method)}c&&J()}get precacheStrategy(){return this._precacheStrategy}get routes(){return this._routes}addEventListeners(){self.addEventListener("install",this.handleInstall),self.addEventListener("activate",this.handleActivate),self.addEventListener("fetch",this.handleFetch),self.addEventListener("message",this.handleCache)}
1addToPrecacheList(e){let t=[];for(let a of e){"string"==typeof a?t.push(a):a&&!a.integrity&&void 0===a.revision&&t.push(a.url);let{cacheKey:e,url:r}=ev(a),s="string"!=typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==e)throw new i("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:e});if("string"!=typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==a.integrity)throw new i("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(e,a.integrity)}this._urlsToCacheKeys.set(r,e),this._urlsToCacheModes.set(r,s),t.length>0&&console.warn(`Serwist is precaching URLs without revision info: ${t.join(", ")}
2This is generally NOT safe. Learn more at https://bit.ly/wb-precache`)}}handleInstall(e){return S(e,async()=>{let t=new e_;this.precacheStrategy.plugins.push(t),await z(this._concurrentPrecaching,Array.from(this._urlsToCacheKeys.entries()),async([t,a])=>{let r=this._cacheKeysToIntegrities.get(a),s=this._urlsToCacheModes.get(t),n=new Request(t,{integrity:r,cache:s,credentials:"same-origin"});await Promise.all(this.precacheStrategy.handleAll({event:e,request:n,url:new URL(n.url),params:{cacheKey:a}}))});let{updatedURLs:a,notUpdatedURLs:r}=t;return{updatedURLs:a,notUpdatedURLs:r}})}handleActivate(e){return S(e,async()=>{let e=await self.caches.open(this.precacheStrategy.cacheName),t=await e.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(let s of t)a.has(s.url)||(await e.delete(s),r.push(s.url));return{deletedCacheRequests:r}})}handleFetch(e){let{request:t}=e,a=this.handleRequest({request:t,event:e});a&&e.respondWith(a)}handleCache(e){if(e.data&&"CACHE_URLS"===e.data.type){let{payload:t}=e.data,a=Promise.all(t.urlsToCache.map(t=>{let a;return a="string"==typeof t?new Request(t):new Request(...t),this.handleRequest({request:a,event:e})}));e.waitUntil(a),e.ports?.[0]&&a.then(()=>e.ports[0].postMessage(!0))}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,H(e))}setCatchHandler(e){this._catchHandler=H(e)}registerCapture(e,t,a){let r=eb(e,t,a);return this.registerRoute(r),r}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new i("unregister-route-but-not-found-with-method",{method:e.method});let t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new i("unregister-route-route-not-registered")}getUrlsToPrecacheKeys(){return this._urlsToCacheKeys}getPrecachedUrls(){return[...this._urlsToCacheKeys.keys()]}getPrecacheKeyForUrl(e){let t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForPrecacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){let t=e instanceof Request?e.url:e,a=this.getPrecacheKeyForUrl(t);if(a)return(await self.caches.open(this.precacheStrategy.cacheName)).match(a)}createHandlerBoundToUrl(e){let t=this.getPrecacheKeyForUrl(e);if(!t)throw new i("non-precached-url",{url:e});return a=>(a.request=new Request(e),a.params={cacheKey:t,...a.params},this.precacheStrategy.handle(a))}handleRequest({request:e,event:t}){let a;let r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;let s=r.origin===location.origin,{params:n,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:s,url:r}),o=i?.handler,l=e.method;if(!o&&this._defaultHandlerMap.has(l)&&(o=this._defaultHandlerMap.get(l)),!o)return;try{a=o.handle({url:r,request:e,event:t,params:n})}catch(e){a=Promise.reject(e)}let c=i?.catchHandler;return a instanceof Promise&&(this._catchHandler||c)&&(a=a.catch(async a=>{if(c)try{return await c.handle({url:r,request:e,event:t,params:n})}catch(e){e instanceof Error&&(a=e)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw a})),a}findMatchingRoute({url:e,sameOrigin:t,request:a,event:r}){for(let s of this._routes.get(a.method)||[]){let n;let i=s.match({url:e,sameOrigin:t,request:a,event:r});if(i)return Array.isArray(n=i)&&0===n.length?n=void 0:i.constructor===Object&&0===Object.keys(i).length?n=void 0:"boolean"==typeof i&&(n=void 0),{route:s,params:n}}return{}}}"undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),console.log("Loaded service was added");let eK=new eN({precacheEntries:[{'revision':'b222cbf4d8e1f47e27a8925222733e53','url':'/_next/static/D3qYkU2LztdiHw3cY9N8L/_buildManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/D3qYkU2LztdiHw3cY9N8L/_ssgManifest.js'},{'revision':null,'url':'/_next/static/chunks/081ca426.d8244cf1c3c721ea.js'},{'revision':null,'url':'/_next/static/chunks/1741.47d8519919fcac16.js'},{'revision':null,'url':'/_next/static/chunks/1861.d5504b79581488bf.js'},{'revision':null,'url':'/_next/static/chunks/209-cf410572bc6145d7.js'},{'revision':null,'url':'/_next/static/chunks/2275-b9afa3c24b0696d0.js'},{'revision':null,'url':'/_next/static/chunks/3050-54ae60a3027fc778.js'},{'revision':null,'url':'/_next/static/chunks/3084-e1b9f1045223b111.js'},{'revision':null,'url':'/_next/static/chunks/3209-7ec37142ecad4923.js'},{'revision':null,'url':'/_next/static/chunks/3464.07d4a80aef77d0ff.js'},{'revision':null,'url':'/_next/static/chunks/409.5690ab053077f36a.js'},{'revision':null,'url':'/_next/static/chunks/479ba886.a805fbec57b18596.js'},{'revision':null,'url':'/_next/static/chunks/4839-40da5d3d9cf6b259.js'},{'revision':null,'url':'/_next/static/chunks/4930-4f645a34956624c2.js'},{'revision':null,'url':'/_next/static/chunks/4942-4dbda5818e864757.js'},{'revision':null,'url':'/_next/static/chunks/504-75f74bf7df22d315.js'},{'revision':null,'url':'/_next/static/chunks/677-c15fb3f980b05d1e.js'},{'revision':null,'url':'/_next/static/chunks/7030.3f3826020d21bbfd.js'},{'revision':null,'url':'/_next/static/chunks/7138-487d8610cde8a887.js'}
2,{'revision':null,'url':'/_next/static/chunks/7853.5d42e166d6f27374.js'},{'revision':null,'url':'/_next/static/chunks/7ce798d6-61c4ffda202afe0a.js'},{'revision':null,'url':'/_next/static/chunks/8149-27395d402487489b.js'},{'revision':null,'url':'/_next/static/chunks/8726-63baf84722f81b8e.js'},{'revision':null,'url':'/_next/static/chunks/8e1d74a4.384107c7c9b36b14.js'},{'revision':null,'url':'/_next/static/chunks/9170.3159b190b27774eb.js'},{'revision':null,'url':'/_next/static/chunks/9186.75fdffbdf4066c3e.js'},{'revision':null,'url':'/_next/static/chunks/app/%5Bslug%5D/%5Bslug2%5D/error-3dd92fa2e15c917c.js'},{'revision':null,'url':'/_next/static/chunks/app/%5Bslug%5D/%5Bslug2%5D/page-8d41503e33d8301a.js'},{'revision':null,'url':'/_next/static/chunks/app/%5Bslug%5D/error-8638f21cb9482039.js'},{'revision':null,'url':'/_next/static/chunks/app/%5Bslug%5D/page-d47213c16b4799ce.js'},{'revision':null,'url':'/_next/static/chunks/app/_not-found/page-19dc47ed8a245d5b.js'},{'revision':null,'url':'/_next/static/chunks/app/about/%5Bslug%5D/error-e56197c4e101f7e3.js'},{'revision':null,'url':'/_next/static/chunks/app/about/%5Bslug%5D/page-7d40de65b9384733.js'},{'revision':null,'url':'/_next/static/chunks/app/archives/page-9bc7310fd3f1177e.js'},{'revision':null,'url':'/_next/static/chunks/app/artists/%5Bslug%5D/error-62b4268c418ab264.js'},{'revision':null,'url':'/_next/static/chunks/app/artists/%5Bslug%5D/page-309f68167dbbecd9.js'},{'revision':null,'url':'/_next/static/chunks/app/artists/page-5b0eed680d6a6d74.js'},{'revision':null,'url':'/_next/static/chunks/app/block-heater/%5Bslug%5D/error-49260b648012ac7b.js'},{'revision':null,'url':'/_next/static/chunks/app/block-heater/%5Bslug%5D/page-7b57f03ee1ac2221.js'},{'revision':null,'url':'/_next/static/chunks/app/folk-fest/%5Bslug%5D/error-eedcbbd69767fddd.js'},{'revision':null,'url':'/_next/static/chunks/app/folk-fest/%5Bslug%5D/page-cf7c59fa55bbaddb.js'},{'revision':null,'url':'/_next/static/chunks/app/layout-cda8d98ab85df925.js'},{'revision':null,'url':'/_next/static/chunks/app/news/%5Bslug%5D/error-ffbf3c4d30cd3551.js'},{'revision':null,'url':'/_next/static/chunks/app/news/%5Bslug%5D/page-2bee952a7cd17598.js'},{'revision':null,'url':'/_next/static/chunks/app/news/page-278cbef0d101061c.js'},{'revision':null,'url':'/_next/static/chunks/app/not-found-4eaab688ac115c53.js'},{'revision':null,'url':'/_next/static/chunks/app/page-b9eeef82454bf444.js'},{'revision':null,'url':'/_next/static/chunks/app/tickets/error-abfd2424a16c2d2c.js'},{'revision':null,'url':'/_next/static/chunks/app/tickets/loading-7368f1b6eb807749.js'},{'revision':null,'url':'/_next/static/chunks/app/tickets/page-8b98fdda32b39660.js'},{'revision':null,'url':'/_next/static/chunks/c15bf2b0-a39a802b3d135e92.js'},{'revision':null,'url':'/_next/static/chunks/c36f3faa-8b19f571fad1ab0f.js'},{'revision':null,'url':'/_next/static/chunks/ee560e2c.c303cd8d48b5837d.js'},{'revision':null,'url':'/_next/static/chunks/eec3d76d.fa674dd1f5b63752.js'},{'revision':null,'url':'/_next/static/chunks/f8025e75.7ea8d0800bd62d4a.js'},{'revision':null,'url':'/_next/static/chunks/fd9d1056-9c7e48bf92f11728.js'},{'revision':null,'url':'/_next/static/chunks/framework-a63c59c368572696.js'},{'revision':null,'url':'/_next/static/chunks/main-app-bb825e63fc8f8407.js'},{'revision':null,'url':'/_next/static/chunks/main-d1c7f5305960a8a8.js'},{'revision':null,'url':'/_next/static/chunks/pages/_app-00b74eae5e8dab51.js'},{'revision':null,'url':'/_next/static/chunks/pages/_error-c72a1f77a3c0be1b.js'},{'revision':'79330112775102f91e1010318bae2bd3','url':'/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js'},{'revision':null,'url':'/_next/static/chunks/webpack-5601fd0ad7269720.js'},{'revision':null,'url':'/_next/static/css/59ce74b00c3bca12.css'},{'revision':null,'url':'/_next/static/css/cd405108a282a17f.css'},{'revision':'277289cf495335a4c4d1e6e1553ae8d6','url':'/android-chrome-192x192.png'},{'revision':'38ef1d7b9a5667567e8fb5f990df5e4b','url':'/android-chrome-512x512.png'},{'revision':'82a8067fb7b46cbbf94df66b3bfc96c3','url':'/apple-touch-icon.png'},{'revision':'a493ba0aa0b8ec8068d786d7248bb92c','url':'/browserconfig.xml'},{'revision':'817adfc0c1d0fc498e430a80edb1877d','url':'/cow.webp'},{'revision':'26376819ee8f26e1f490353271d3bf5e','url':'/favicon-16x16.png'},{'revision':'e3b2e483dbece8b39e6679a90dcd467a','url':'/favicon-32x32.png'},{'revision':'88b0de58de70794f86b0a6ef4fd63c98','url':'/favicon.ico'},{'revision':'a4c4401604de203e964dbb4f43af4c6c','url':'/manifest.json'},{'revision':'dbcc0d0609484ab17a87096d21698d96','url':'/mstile-150x150.png'},{'revision':'8e061864f388b47f33a1c3780831193e','url':'/next.svg'},{'revision':'3c1c589741b7a5d36ddb90dde7561f42','url':'/og-image.jpg'},{'revision':'3a03f9aa1a70e2b3065f0dd8fb122901','url':'/safari-pinned-tab.svg'},{'revision':'c255a134a01770e333163bbd5c721deb','url':'/scripts/pixel.js'},{'revision':'1f53efad5617dce25b0b19fe527859cd','url':'/site.webmanifest'},{'revision':'580750cecb69dcc6563c6d9c8c6ae32e','url':'/square-mask.svg'},{'revision':'61c6b19abff40ea7acd577be818f3976','url':'/vercel.svg'},{'revision':'6dd14f6e5f8a63e9d186da86090b39cd','url':'/workbox-e43f5367.js'},{'revision':'80e939e0172ea58fd4051670d6e82e75','url':'/workbox-e43f5367.js.map'},{'revision':'1615e1182a7c7ab68a6d4e8f31dbccd6','url':'/worker-development.js'}],skipWaiting:!0,clientsClaim:!0});self.addEventListener("fetch",async function(e){return await new Promise(function(e){setTimeout(function(){e("fetch request allowed")},9999)}),!1}),eK.addEventListeners(),self.addEventListener("push",async e=>{if(e.data){var t;
2console.log("event:",e.data.json()),console.log("[Service Worker] Push Received.",null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.text());let a=await e.data.json();console.log("registration:",self.registration),console.log("event icon:","/android-chrome-192x192.png"),console.log("self:",self.registration.showNotification),self.registration.showNotification(a.title,{body:a.body,icon:a.icon?a.icon:"/android-chrome-192x192.png"}),console.log(self.registration.getNotifications())}else console.log("no event data?",e)})}();

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.