PageSourceSearch

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

js rosebank.com collected 2026-10-04 13:23:29 UTC 38,811 bytes, 1 lines download raw bytes

vendor: 4,929 bytes, line 1
1!function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}},a=!0;try{e[r].call(s.exports,s,s.exports,n),a=!1}finally{a&&delete t[r]}return s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=15)}([function(e,t,n){"use strict";try{self["workbox:core:5.0.0"]&&_()}catch(e){}},function(e,t,n){"use strict";try{self["workbox:precaching:5.0.0"]&&_()}catch(e){}},function(e,t,n){"use strict";try{self["workbox:routing:5.0.0"]&&_()}catch(e){}},function(e,t,n){e.exports=n(11)},function(e,t,n){"use strict";try{self["workbox:strategies:5.0.0"]&&_()}catch(e){}},function(e,t){function n(e,t,n,r,s,a,i){try{var o=e[a](i),c=o.value}catch(e){return void n(e)}o.done?t(c):Promise.resolve(c).then(r,s)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(s,a){var i=e.apply(t,r);function o(e){n(i,s,a,o,c,"next",e)}function c(e){n(i,s,a,o,c,"throw",e)}o(void 0)}))}}},function(e,t,n){"use strict";try{self["workbox:background-sync:5.0.0"]&&_()}catch(e){}},function(e,t,n){"use strict";try{self["workbox:expiration:5.0.0"]&&_()}catch(e){}},function(e,t,n){"use strict";try{self["workbox:google-analytics:5.0.0"]&&_()}catch(e){}},function(e,t,n){"use strict";try{self["workbox:cacheable-response:5.0.0"]&&_()}catch(e){}},function(e,t,n){var r=n(12),s=n(13),a=n(14);e.exports=function(e,t){return r(e)||s(e,t)||a()}},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},a=s.iterator||"@@iterator",i=s.asyncIterator||"@@asyncIterator",o=s.toStringTag||"@@toStringTag";function c(e,t,n,r){var s=t&&t.prototype instanceof m?t:m,a=Object.create(s.prototype),i=new L(r||[]);return a._invoke=function(e,t,n){var r=h;return function(s,a){if(r===d)throw new Error("Generator is already running");if(r===f){if("throw"===s)throw a;return T()}for(n.method=s,n.arg=a;;){var i=n.delegate;if(i){var o=R(i,n);if(o){if(o===p)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?f:l,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=f,n.method="throw",n.arg=c.arg)}}}(e,n,i),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h="suspendedStart",l="suspendedYield",d="executing",f="completed",p={};function m(){}function g(){}function y(){}var w={};w[a]=function(){return this};var _=Object.getPrototypeOf,v=_&&_(_(O([])));v&&v!==n&&r.call(v,a)&&(w=v);var q=y.prototype=m.prototype=Object.create(w);function x(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function b(e){var t;this._invoke=function(n,s){function a(){return new Promise((function(t,a){!function t(n,s,a,i){var o=u(e[n],e,s);if("throw"!==o.type){var c=o.arg,h=c.value;return h&&"object"==typeof h&&r.call(h,"__await")?Promise.resolve(h.__await).then((function(e){t("next",e,a,i)}),(function(e){t("throw",e,a,i)})):Promise.resolve(h).then((function(e){c.value=e,a(c)}),(function(e){return t("throw",e,a,i)}))}i(o.arg)}(n,s,t,a)}))}return t=t?t.then(a,a):a()}}function R(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,R(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var s=u(r,e.iterator,n.arg);if("throw"===s.type)return n.method="throw",n.arg=s.arg,n.delegate=null,p;var a=s.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function O(e){if(e){var n=e[a];if(n)return n.call(e);
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,i=function n(){for(;++s<e.length;)if(r.call(e,s))return n.value=e[s],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:T}}function T(){return{value:t,done:!0}}return g.prototype=q.constructor=y,y.constructor=g,y[o]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,o in e||(e[o]="GeneratorFunction")),e.prototype=Object.create(q),e},e.awrap=function(e){return{__await:e}},x(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,s){var a=new b(c(t,n,r,s));return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(q),q[o]="Generator",q[a]=function(){return this},q.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function s(r,s){return o.type="throw",o.arg=e,n.next=r,s&&(n.method="next",n.arg=t),!!s}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return s("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return s(i.catchLoc,!0);if(this.prev<i.finallyLoc)return s(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return s(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return s(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var s=this.tryEntries[n];if(s.tryLoc<=this.prev&&r.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var a=s;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var s=r.arg;E(n)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,s=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(r=(i=o.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){s=!0,a=e}finally{try{r||null==o.return||o.return()}finally{if(s)throw a}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){"use strict";n.r(t);n(0);const r=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n};class s extends Error{constructor(e,t){super(r(e,t)),this.name=e,this.details=t}}const a=new Set;const i={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},o=e=>[i.prefix,e,i.suffix].filter(e=>e&&e.length>0).join("-"),c={updateDetails:e=>{(e=>{for(const t of Object.keys(i))e(t)})(t=>{"string"==typeof e[t]&&(i[t]=e[t])})},getGoogleAnalyticsName:e=>e||o(i.googleAnalytics),getPrecacheName:e=>e||o(i.precache),getPrefix:()=>i.prefix,getRuntimeName:e=>
1e||o(i.runtime),getSuffix:()=>i.suffix};const u=e=>{const t=new URL(String(e),location.href);return t.origin===location.origin?t.pathname:t.href},h=(e,t)=>e.filter(e=>t in e),l=async({cacheName:e,request:t,event:n,matchOptions:r,plugins:s=[]})=>{const a=await self.caches.open(e),i=await f({plugins:s,request:t,mode:"read"});let o=await a.match(i,r);for(const t of s)if("cachedResponseWillBeUsed"in t){const s=t.cachedResponseWillBeUsed;o=await s.call(t,{cacheName:e,event:n,matchOptions:r,cachedResponse:o,request:i})}return o},d=async({request:e,response:t,event:n,plugins:r=[]})=>{let s=t,a=!1;for(let t of r)if("cacheWillUpdate"in t){a=!0;const r=t.cacheWillUpdate;if(s=await r.call(t,{request:e,response:s,event:n}),!s)break}return a||(s=s&&200===s.status?s:void 0),s||null},f=async({request:e,mode:t,plugins:n=[]})=>{const r=h(n,"cacheKeyWillBeUsed");let s=e;for(const e of r)s=await e.cacheKeyWillBeUsed.call(e,{mode:t,request:s}),"string"==typeof s&&(s=new Request(s));return s},p={put:async({cacheName:e,request:t,response:n,event:r,plugins:i=[],matchOptions:o})=>{const c=await f({plugins:i,request:t,mode:"write"});if(!n)throw new s("cache-put-with-no-response",{url:u(c.url)});let p=await d({event:r,plugins:i,response:n,request:c});if(!p)return void 0;const m=await self.caches.open(e),g=h(i,"cacheDidUpdate");let y=g.length>0?await l({cacheName:e,matchOptions:o,request:c}):null;try{await m.put(c,p)}catch(e){throw"QuotaExceededError"===e.name&&await async function(){for(const e of a)await e()}(),e}for(let t of g)await t.cacheDidUpdate.call(t,{cacheName:e,event:r,oldResponse:y,newResponse:p,request:c})},match:l};let m;function g(e){e.then(()=>{})}class y{constructor(e,t,{onupgradeneeded:n,onversionchange:r}={}){this._db=null,this._name=e,this._version=t,this._onupgradeneeded=n,this._onversionchange=r||(()=>this.close())}get db(){return this._db}async open(){if(!this._db)return this._db=await new Promise((e,t)=>{let n=!1;setTimeout(()=>{n=!0,t(new Error("The open request was blocked and timed out"))},this.OPEN_TIMEOUT);const r=indexedDB.open(this._name,this._version);r.onerror=()=>t(r.error),r.onupgradeneeded=e=>{n?(r.transaction.abort(),r.result.close()):"function"==typeof this._onupgradeneeded&&this._onupgradeneeded(e)},r.onsuccess=()=>{const t=r.result;n?t.close():(t.onversionchange=this._onversionchange.bind(this),e(t))}}),this}async getKey(e,t){return(await this.getAllKeys(e,t,1))[0]}async getAll(e,t,n){return await this.getAllMatching(e,{query:t,count:n})}async getAllKeys(e,t,n){return(await this.getAllMatching(e,{query:t,count:n,includeKeys:!0})).map(e=>e.key)}async getAllMatching(e,{index:t,query:n=null,direction:r="next",count:s,includeKeys:a=!1}={}){return await this.transaction([e],"readonly",(i,o)=>{const c=i.objectStore(e),u=t?c.index(t):c,h=[],l=u.openCursor(n,r);l.onsuccess=()=>{const e=l.result;e?(h.push(a?e:e.value),s&&h.length>=s?o(h):e.continue()):o(h)}})}async transaction(e,t,n){return await this.open(),await new Promise((r,s)=>{const a=this._db.transaction(e,t);a.onabort=()=>s(a.error),a.oncomplete=()=>r(),n(a,e=>r(e))})}async _call(e,t,n,...r){return await this.transaction([t],n,(n,s)=>{const a=n.objectStore(t),i=a[e].apply(a,r);i.onsuccess=()=>s(i.result)})}close(){this._db&&(this._db.close(),this._db=null)}}y.prototype.OPEN_TIMEOUT=2e3;const w={readonly:["get","count","getKey","getAll","getAllKeys"],readwrite:["add","put","clear","delete"]};for(const[e,t]of Object.entries(w))for(const n of t)n in IDBObjectStore.prototype&&(y.prototype[n]=async function(t,...r){return await this._call(n,t,e,...r)});const _=async e=>{await new Promise((t,n)=>{const r=indexedDB.deleteDatabase(e);r.onerror=()=>{n(r.error)},r.onblocked=()=>{n(new Error("Delete blocked"))},r.onsuccess=()=>{t()}})},v={fetch:async({request:e,fetchOptions:t,event:n,plugins:r=[]})=>{if("string"==typeof e&&(e=new Request(e)),n instanceof FetchEvent&&n.preloadResponse){const e=await n.preloadResponse;if(e)return e}const a=h(r,"fetchDidFail"),i=a.length>0?e.clone():null;try{for(let t of r)if("requestWillFetch"in t){const r=t.requestWillFetch,s=e.clone();e=await r.call(t,{request:s,event:n})}}catch(e){throw new s("plugin-error-request-will-fetch",{thrownError:e})}let o=e.clone();try{let s;s="navigate"===e.mode?await fetch(e):await fetch(e,t);for(const e of r)"fetchDidSucceed"in e&&(s=await e.fetchDidSucceed.call(e,{event:n,request:o,response:s}));return s}catch(e){0;for(const t of a)await t.fetchDidFail.call(t,{error:e,event:n,originalRequest:i.clone(),request:o.clone()});throw e}}};async function q(e,t){const n=e.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},s=t?t(r):r,a=function(){if(void 0===m){const e=new Response("");if("body"in e)try{new Response(e.body),m=!0}catch(e){m=!1}m=!1}return m}()?n.body:await n.blob();return new Response(a,s)}n(6);const x=3,b="workbox-background-sync",R="requests",N="queueName";class E{constructor(e){this._queueName=e,this._db=new y(b,x,{onupgradeneeded:this._upgradeDb})}async pushEntry(e){delete e.id,e.queueName=this._queueName,await this._db.add(R,e)}async unshiftEntry(e){const[t]=await this._db.getAllMatching(R,{count:1});
1t?e.id=t.id-1:delete e.id,e.queueName=this._queueName,await this._db.add(R,e)}async popEntry(){return this._removeEntry({direction:"prev"})}async shiftEntry(){return this._removeEntry({direction:"next"})}async getAll(){return await this._db.getAllMatching(R,{index:N,query:IDBKeyRange.only(this._queueName)})}async deleteEntry(e){await this._db.delete(R,e)}async _removeEntry({direction:e}){const[t]=await this._db.getAllMatching(R,{direction:e,index:N,query:IDBKeyRange.only(this._queueName),count:1});if(t)return await this.deleteEntry(t.id),t}_upgradeDb(e){const t=e.target.result;e.oldVersion>0&&e.oldVersion<x&&t.objectStoreNames.contains(R)&&t.deleteObjectStore(R),t.createObjectStore(R,{autoIncrement:!0,keyPath:"id"}).createIndex(N,N,{unique:!1})}}const L=["method","referrer","referrerPolicy","mode","credentials","cache","redirect","integrity","keepalive"];class O{static async fromRequest(e){const t={url:e.url,headers:{}};"GET"!==e.method&&(t.body=await e.clone().arrayBuffer());for(const[n,r]of e.headers.entries())t.headers[n]=r;for(const n of L)void 0!==e[n]&&(t[n]=e[n]);return new O(t)}constructor(e){"navigate"===e.mode&&(e.mode="same-origin"),this._requestData=e}toObject(){const 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 O(this.toObject())}}const T="workbox-background-sync",S=10080,U=new Set;class k{constructor(e,{onSync:t,maxRetentionTime:n}={}){if(this._syncInProgress=!1,this._requestsAddedDuringSync=!1,U.has(e))throw new s("duplicate-queue-name",{name:e});U.add(e),this._name=e,this._onSync=t||this.replayRequests,this._maxRetentionTime=n||S,this._queueStore=new E(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(){const e=await this._queueStore.getAll(),t=Date.now(),n=[];for(const r of e){const e=60*this._maxRetentionTime*1e3;t-r.timestamp>e?await this._queueStore.deleteEntry(r.id):n.push(P(r))}return n}async _addRequest({request:e,metadata:t,timestamp:n=Date.now()}
1,r){const s={requestData:(await O.fromRequest(e.clone())).toObject(),timestamp:n};t&&(s.metadata=t),await this._queueStore[`${r}Entry`](s),this._syncInProgress?this._requestsAddedDuringSync=!0:await this.registerSync()}async _removeRequest(e){const t=Date.now(),n=await this._queueStore[`${e}Entry`]();if(n){const r=60*this._maxRetentionTime*1e3;return t-n.timestamp>r?this._removeRequest(e):P(n)}}async replayRequests(){let e;for(;e=await this.shiftRequest();)try{await fetch(e.request.clone())}catch(t){throw await this.unshiftRequest(e),new s("queue-replay-failed",{name:this._name})}}async registerSync(){if("sync"in self.registration)try{await self.registration.sync.register(`${T}:${this._name}`)}catch(e){0}}_addSyncListener(){"sync"in self.registration?self.addEventListener("sync",e=>{if(e.tag===`${T}:${this._name}`){0;const t=async()=>{let t;this._syncInProgress=!0;try{await this._onSync({queue:this})}catch(e){throw t=e,t}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 U}}const P=e=>{const t={request:new O(e.requestData).toRequest(),timestamp:e.timestamp};return e.metadata&&(t.metadata=e.metadata),t};class A{constructor(e,t){this.fetchDidFail=async({request:e})=>{await this._queue.pushRequest({request:e})},this._queue=new k(e,t)}}n(2);const j="GET",D=e=>e&&"object"==typeof e?e:{handle:e};class C{constructor(e,t,n=j){this.handler=D(t),this.match=e,this.method=n}}class M{constructor(){this._routes=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const n=Promise.all(t.urlsToCache.map(e=>{"string"==typeof e&&(e=[e]);const t=new Request(...e);return this.handleRequest({request:t})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return void 0;let r,{params:s,route:a}=this.findMatchingRoute({url:n,request:e,event:t}),i=a&&a.handler;if(!i&&this._defaultHandler&&(i=this._defaultHandler),i){try{r=i.handle({url:n,request:e,event:t,params:s})}catch(e){r=Promise.reject(e)}return r instanceof Promise&&this._catchHandler&&(r=r.catch(r=>this._catchHandler.handle({url:n,request:e,event:t}))),r}}findMatchingRoute({url:e,request:t,event:n}){const r=this._routes.get(t.method)||[];for(const s of r){let r,a=s.match({url:e,request:t,event:n});if(a)return r=a,Array.isArray(a)&&0===a.length?r=void 0:a.constructor===Object&&0===Object.keys(a).length?r=void 0:"boolean"==typeof a&&(r=void 0),{route:s,params:r}}return{}}setDefaultHandler(e){this._defaultHandler=D(e)}setCatchHandler(e){this._catchHandler=D(e)}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 s("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new s("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}n(4);const K={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class I{constructor(e={}){if(this._cacheName=c.getRuntimeName(e.cacheName),e.plugins){let t=e.plugins.some(e=>!!e.cacheWillUpdate);this._plugins=t?e.plugins:[K,...e.plugins]}else this._plugins=[K];this._networkTimeoutSeconds=e.networkTimeoutSeconds||0,this._fetchOptions=e.fetchOptions,this._matchOptions=e.matchOptions}async handle({event:e,request:t}){const n=[];"string"==typeof t&&(t=new Request(t));const r=[];let a;if(this._networkTimeoutSeconds){const{id:s,promise:i}=this._getTimeoutPromise({request:t,event:e,logs:n});a=s,r.push(i)}const i=this._getNetworkPromise({timeoutId:a,request:t,event:e,logs:n});r.push(i);let o=await Promise.race(r);if(o||(o=await i),!o)throw new s("no-response",{url:t.url});return o}_getTimeoutPromise({request:e,logs:t,event:n}){let r;return{promise:new Promise(t=>{r=setTimeout(async()=>{t(await this._respondFromCache({request:e,event:n}))},1e3*this._networkTimeoutSeconds)}),id:r}}async _getNetworkPromise({timeoutId:e,request:t,logs:n,event:r}){let s,a;try{a=await v.fetch({request:t,event:r,fetchOptions:this._fetchOptions,plugins:this._plugins})}catch(e){s=e}if(e&&clearTimeout(e),s||!a)a=await this._respondFromCache({request:t,event:r});else{const e=a.clone(),n=p.put({cacheName:this._cacheName,request:t,response:e,event:r,plugins:this._plugins});if(r)try{r.waitUntil(n)}catch(e){0}}return a}_respondFromCache({event:e,request:t}){return p.match({cacheName:this._cacheName,request:t,event:e,matchOptions:this._matchOptions,plugins:this._plugins})}}class F{constructor(e={}){this._plugins=e.plugins||[],this._fetchOptions=e.fetchOptions}async handle({event:e,request:t}){let n,r;
1"string"==typeof t&&(t=new Request(t));try{r=await v.fetch({request:t,event:e,fetchOptions:this._fetchOptions,plugins:this._plugins})}catch(e){n=e}if(!r)throw new s("no-response",{url:t.url,error:n});return r}}n(8);const W=/^\/(\w+\/)?collect/,G=e=>async({queue:t})=>{let n;for(;n=await t.shiftRequest();){const{request:r,timestamp:s}=n,a=new URL(r.url);try{const t="POST"===r.method?new URLSearchParams(await r.clone().text()):a.searchParams,n=s-(Number(t.get("qt"))||0),i=Date.now()-n;if(t.set("qt",String(i)),e.parameterOverrides)for(const n of Object.keys(e.parameterOverrides)){const r=e.parameterOverrides[n];t.set(n,r)}"function"==typeof e.hitFilter&&e.hitFilter.call(null,t),await fetch(new Request(a.origin+a.pathname,{body:t.toString(),method:"POST",mode:"cors",credentials:"omit",headers:{"Content-Type":"text/plain"}}))}catch(e){throw await t.unshiftRequest(n),e}}},B=e=>{const t=({url:e})=>"www.google-analytics.com"===e.hostname&&W.test(e.pathname),n=new F({plugins:[e]});return[new C(t,n,"GET"),new C(t,n,"POST")]},H=e=>{const t=new I({cacheName:e});return new C(({url:e})=>"www.google-analytics.com"===e.hostname&&"/analytics.js"===e.pathname,t,"GET")},$=e=>{const t=new I({cacheName:e});return new C(({url:e})=>"www.googletagmanager.com"===e.hostname&&"/gtag/js"===e.pathname,t,"GET")},V=e=>{const t=new I({cacheName:e});return new C(({url:e})=>"www.googletagmanager.com"===e.hostname&&"/gtm.js"===e.pathname,t,"GET")};var Q=n(3),Y=n.n(Q),J=n(5),z=n.n(J),X=function(e){return Number(new URLSearchParams(e.search).get("width"))},Z=function(e){var t=e.url;return{url:t}.url.pathname.startsWith("/media/catalog")&&!isNaN(X(t))},ee=function(){var e=z()(Y.a.mark((function e(t,n){var r,s,a,i,o,c,u,h,l,d,f,p;return Y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=X(t),e.next=3,caches.open("catalog");case 3:return s=e.sent,e.next=6,s.matchAll(n,{ignoreSearch:!0});case 6:a=e.sent,i={difference:1/0,candidate:null},o=!0,c=!1,u=void 0,e.prev=11,h=a[Symbol.iterator]();case 13:if(o=(l=h.next()).done){e.next=28;break}d=l.value,f=NaN;try{f=X(new URL(d.url))}catch(e){}if(!isNaN(f)){e.next=19;break}return e.abrupt("continue",25);case 19:if(!((p=f-r)<0)){e.next=22;break}return e.abrupt("continue",25);case 22:if(0!==p){e.next=24;break}return e.abrupt("return",d);case 24:p<i.difference&&(i={difference:p,candidate:d});case 25:o=!0,e.next=13;break;case 28:e.next=34;break;case 30:e.prev=30,e.t0=e.catch(11),c=!0,u=e.t0;case 34:e.prev=34,e.prev=35,o||null==h.return||h.return();case 37:if(e.prev=37,!c){e.next=40;break}throw u;case 40:return e.finish(37);case 41:return e.finish(34);case 42:if(!i.candidate){e.next=45;break}return console.log("ServiceWorker responding to GET ".concat(t.pathname," at ").concat(r,"w with cached version ").concat(i.difference,"px larger: ").concat(i.candidate.url)),e.abrupt("return",i.candidate);case 45:case"end":return e.stop()}}),e,null,[[11,30,34,42],[35,,37,41]])})));return function(t,n){return e.apply(this,arguments)}}();class te{constructor(e={}){this._cacheName=c.getRuntimeName(e.cacheName),this._plugins=e.plugins||[],this._fetchOptions=e.fetchOptions,this._matchOptions=e.matchOptions}async handle({event:e,request:t}){"string"==typeof t&&(t=new Request(t));let n,r=await p.match({cacheName:this._cacheName,request:t,event:e,matchOptions:this._matchOptions,plugins:this._plugins});if(r)0;else{0;try{r=await this._getFromNetwork(t,e)}catch(e){n=e}0}if(!r)throw new s("no-response",{url:t.url,error:n});return r}async _getFromNetwork(e,t){const n=await v.fetch({request:e,event:t,fetchOptions:this._fetchOptions,plugins:this._plugins}),r=n.clone(),s=p.put({cacheName:this._cacheName,request:e,response:r,event:t,plugins:this._plugins});if(t)try{t.waitUntil(s)}catch(e){0}return n}}class ne{constructor(e={}){if(this._cacheName=c.getRuntimeName(e.cacheName),this._plugins=e.plugins||[],e.plugins){let t=e.plugins.some(e=>!!e.cacheWillUpdate);this._plugins=t?e.plugins:[K,...e.plugins]}else this._plugins=[K];this._fetchOptions=e.fetchOptions,this._matchOptions=e.matchOptions}async handle({event:e,request:t}
1){"string"==typeof t&&(t=new Request(t));const n=this._getFromNetwork({request:t,event:e});let r,a=await p.match({cacheName:this._cacheName,request:t,event:e,matchOptions:this._matchOptions,plugins:this._plugins});if(a){if(e)try{e.waitUntil(n)}catch(r){0}}else{0;try{a=await n}catch(e){r=e}}if(!a)throw new s("no-response",{url:t.url,error:r});return a}async _getFromNetwork({request:e,event:t}){const n=await v.fetch({request:e,event:t,fetchOptions:this._fetchOptions,plugins:this._plugins}),r=p.put({cacheName:this._cacheName,request:e,response:n.clone(),event:t,plugins:this._plugins});if(t)try{t.waitUntil(r)}catch(e){0}return n}}n(7);const re="workbox-expiration",se="cache-entries",ae=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class ie{constructor(e){this._cacheName=e,this._db=new y(re,1,{onupgradeneeded:e=>this._handleUpgrade(e)})}_handleUpgrade(e){const t=e.target.result.createObjectStore(se,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1}),_(this._cacheName)}async setTimestamp(e,t){const n={url:e=ae(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)};await this._db.put(se,n)}async getTimestamp(e){return(await this._db.get(se,this._getId(e))).timestamp}async expireEntries(e,t){const n=await this._db.transaction(se,"readwrite",(n,r)=>{const s=n.objectStore(se).index("timestamp").openCursor(null,"prev"),a=[];let i=0;s.onsuccess=()=>{const n=s.result;if(n){const r=n.value;r.cacheName===this._cacheName&&(e&&r.timestamp<e||t&&i>=t?a.push(n.value):i++),n.continue()}else r(a)}}),r=[];for(const e of n)await this._db.delete(se,e.id),r.push(e.url);return r}_getId(e){return this._cacheName+"|"+ae(e)}}class oe{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._cacheName=e,this._timestampModel=new ie(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const e of t)await n.delete(e);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,g(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){return await this._timestampModel.getTimestamp(e)<Date.now()-1e3*this._maxAgeSeconds}return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}class ce{constructor(e={}){var t;this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:n,cachedResponse:r})=>{if(!r)return null;let s=this._isResponseDateFresh(r);const a=this._getCacheExpiration(n);g(a.expireEntries());const i=a.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(e){0}return s?r:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const n=this._getCacheExpiration(e);await n.updateTimestamp(t.url),await n.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&(t=()=>
1this.deleteCacheAndMetadata(),a.add(t))}_getCacheExpiration(e){if(e===c.getRuntimeName())throw new s("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new oe(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);return null===t||t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),n=new Date(t).getTime();return isNaN(n)?null:n}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}n(9);class ue{constructor(e={}){this._statuses=e.statuses,this._headers=e.headers}isResponseCacheable(e){let t=!0;return this._statuses&&(t=this._statuses.includes(e.status)),this._headers&&t&&(t=Object.keys(this._headers).some(t=>e.headers.get(t)===this._headers[t])),t}}class he{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new ue(e)}}var le,de,fe,pe=n(10),me=n.n(pe),ge={},ye=function(e,t){return clients.matchAll().then((function(n){var r=n.filter((function(e){return"window"===e.type}));return function(e,t,n){return new Promise((function(r,s){var a=new MessageChannel;a.port1.onmessage=function(e){e.data.error?s(e.data.error):r(e.data)},e.postMessage({type:t,payload:n},[a.port2])}))}(me()(r,1)[0],e,t)}))},we=function(e,t){return t?new Request(t,{method:e.method,headers:e.headers}):e},_e={cacheKeyWillBeUsed:(fe=z()(Y.a.mark((function e(){return Y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","/");case 1:case"end":return e.stop()}}),e)}))),function(){return fe.apply(this,arguments)}),requestWillFetch:(de=z()(Y.a.mark((function e(t){var n,r;return Y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.request,r=we(n,"/"),e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)}))),function(e){return de.apply(this,arguments)}),fetchDidSucceed:(le=z()(Y.a.mark((function e(t){var n,r,s,a,i;return Y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.request,r=t.response,e.next=3,caches.match(new URL(n.url).pathname);case 3:if(!(s=e.sent)){e.next=12;break}return e.next=7,s.text();case 7:return a=e.sent,e.next=10,r.clone().text();case 10:i=e.sent,a!==i&&ye("HTML_UPDATE_AVAILABLE");case 12:return e.abrupt("return",r);case 13:case"end":return e.stop()}}),e)}))),function(e){return le.apply(this,arguments)})};class ve extends C{constructor(e,t,n){super(({url:t})=>{const n=e.exec(t.href);if(n&&(t.origin===location.origin||0===n.index))return n.slice(1)},t,n)}}let qe;const xe=()=>(qe||(qe=new M,qe.addFetchListener(),qe.addCacheListener()),qe);function be(e,t,n){let r;if("string"==typeof e){const s=new URL(e,location.href);0,r=new C(({url:e})=>e.href===s.href,t,n)}else if(e instanceof RegExp)r=new ve(e,t,n);else if("function"==typeof e)r=new C(e,t,n);else{if(!(e instanceof C))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});r=e}return xe().registerRoute(r),r}n(1);const Re=[],Ne={get:()=>Re,add(e){Re.push(...e)}};const Ee="__WB_REVISION__";function Le(e){if(!e)throw new s("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:t,url:n}=e;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:e});if(!t){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const r=new URL(n,location.href),a=new URL(n,location.href);return r.searchParams.set(Ee,t),{cacheKey:r.href,url:a.href}}class Oe{constructor(e){this._cacheName=c.getPrecacheName(e),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map}addToCacheList(e){const t=[];for(const n of e){"string"==typeof n?t.push(n):n&&void 0===n.revision&&t.push(n.url);const{cacheKey:e,url:r}=Le(n),a="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==e)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:e});if("string"!=typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(r,e),this._urlsToCacheModes.set(r,a),t.length>0){const e="Workbox is precaching URLs without revision "+`info: ${t.join(", ")}\nThis is generally NOT safe. `+"Learn more at https://bit.ly/wb-precache";console.warn(e)}}}async install({event:e,plugins:t}={}){const n=[],r=[],s=await self.caches.open(this._cacheName),a=await s.keys(),i=new Set(a.map(e=>e.url));for(const[e,t]of this._urlsToCacheKeys)i.has(t)?r.push(e):n.push({cacheKey:t,url:e});const o=n.map(({cacheKey:n,url:r})=>{const s=this._cacheKeysToIntegrities.get(n),a=this._urlsToCacheModes.get(r);return this._addURLToCache({cacheKey:n,cacheMode:a,event:e,integrity:s,plugins:t,url:r})});return await Promise.all(o),{updatedURLs:n.map(e=>e.url),notUpdatedURLs:r}}async activate(){const e=await self.caches.open(this._cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(const s of t)n.has(s.url)||(await e.delete(s),r.push(s.url));return{deletedURLs:r}}async _addURLToCache({cacheKey:e,url:t,cacheMode:n,event:r,plugins:a,integrity:i}
1){const o=new Request(t,{integrity:i,cache:n,credentials:"same-origin"});let c,u=await v.fetch({event:r,plugins:a,request:o});for(const e of a||[])"cacheWillUpdate"in e&&(c=e);if(!(c?await c.cacheWillUpdate({event:r,request:o,response:u}):u.status<400))throw new s("bad-precaching-response",{url:t,status:u.status});u.redirected&&(u=await q(u)),await p.put({event:r,plugins:a,response:u,request:e===t?o:new Request(e),cacheName:this._cacheName,matchOptions:{ignoreSearch:!0}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n){return(await self.caches.open(this._cacheName)).match(n)}}createHandler(e=!0){return async({request:t})=>{try{const e=await this.matchPrecache(t);if(e)return e;throw new s("missing-precache-entry",{cacheName:this._cacheName,url:t instanceof Request?t.url:t})}catch(n){if(e)return fetch(t);throw n}}}createHandlerBoundToURL(e,t=!0){if(!this.getCacheKeyForURL(e))throw new s("non-precached-url",{url:e});const n=this.createHandler(t),r=new Request(e);return()=>n({request:r})}}let Te;const Se=()=>(Te||(Te=new Oe),Te);const Ue=(e,t)=>{const n=Se().getURLsToCacheKeys();for(const r of function*(e,{ignoreURLParametersMatching:t,directoryIndex:n,cleanURLs:r,urlManipulation:s}={}){const a=new URL(e,location.href);a.hash="",yield a.href;const i=function(e,t=[]){for(const n of[...e.searchParams.keys()])t.some(e=>e.test(n))&&e.searchParams.delete(n);return e}(a,t);if(yield i.href,n&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=n,yield e.href}if(r){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(s){const e=s({url:a});for(const t of e)yield t.href}}(e,t)){const e=n.get(r);if(e)return e}},ke=({ignoreURLParametersMatching:e=[/^utm_/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:r}={})=>{const s=c.getPrecacheName();self.addEventListener("fetch",a=>{const i=Ue(a.request.url,{cleanURLs:n,directoryIndex:t,ignoreURLParametersMatching:e,urlManipulation:r});if(!i)return void 0;let o=self.caches.open(s).then(e=>e.match(i)).then(e=>e||fetch(i));a.respondWith(o)})};let Pe=!1;const Ae=e=>{const t=Se(),n=Ne.get();e.waitUntil(t.install({event:e,plugins:n}).catch(e=>{throw e}))},je=e=>{const t=Se();e.waitUntil(t.activate())};function De(e,t){!function(e){Se().addToCacheList(e),e.length>0&&(self.addEventListener("install",Ae),self.addEventListener("activate",je))}(e),function(e){Pe||(ke(e),Pe=!0)}(t)}var Ce,Me;self.addEventListener("install",()=>self.skipWaiting()),self.addEventListener("activate",()=>self.clients.claim()),((e={})=>{const t=c.getGoogleAnalyticsName(e.cacheName),n=new A("workbox-google-analytics",{maxRetentionTime:2880,onSync:G(e)}),r=[V(t),H(t),$(t),...B(n)],s=new M;for(const e of r)s.registerRoute(e);s.addFetchListener()})({parameterOverrides:{cd1:"offline"},hitFilter:function(e){var t=Math.round(e.get("qt")/1e3);e.set("cm1",t+"")}}),Ce=[],Me=new ne({cacheName:"catalog",plugins:[new ce({maxEntries:60,maxAgeSeconds:2592e3}),new he({statuses:[0,200]})]}),be(new RegExp("(robots.txt|favicon.ico|manifest.json)"),new ne),be(Z,(function(e){var t=e.url,n=e.request,r=e.event,s=ee(t,n);return r.waitUntil(s),s.then((function(e){return e||Me.handle({request:n,event:r})}))})),be(/\.(?:png|gif|jpg|jpeg|svg)$/,new te({cacheName:"images",plugins:[new ce({maxEntries:60,maxAgeSeconds:2592e3})]})),be(new RegExp(/\.js$/),new te),be((function(e){return function(e,t){return function(e){return"/"===e.pathname}(e)||new RegExp(".html$").test(e.pathname)||"document"===t.request.destination&&!((n=e.pathname).endsWith(".js")||n.endsWith(".css")||n.endsWith(".xml"));var n}(e.url,e.event)}),new ne({plugins:[_e]})),De(Ce),self.addEventListener("message",(function(e){var t=e.data;!function(e,t,n){var r=ge[e];r&&r.forEach((function(e){e(t,n)}))}(t.type,t.payload,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.