@genesislcap/foundation-shell 14.182.1 → 14.182.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{705.705.307792160fe5cfde2cd9.js → 705.705.8884d9d7cfbf69c07000.js} +2 -2
- package/dist/{705.ef882a6401940f357de055f665629b6b.js.map → 705.8dfbd5af487d1a4af9a690117f793fe4.js.map} +1 -1
- package/dist/816.816.258ab51d8cc26a3f262a.js +2 -0
- package/dist/{816.9feaa2f412f97296614244eebf1f91b3.js.map → 816.c8a317dce61e7de7bb91a9547e1c583e.js.map} +1 -1
- package/dist/{foundationShell.eab201362edc0430fe5079f589341513.js.map → foundationShell.ce46dc88605b6759ed6fd2289634f073.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.9cdad66a09ab8efd47a282ffb1801c47.js.map → main.9cff556c88c2f52f7e40881446cec190.js.map} +1 -1
- package/dist/{main.8e96ef5f48f7f23c77ed.js → main.d91354b567e45c204a22.js} +2 -2
- package/dist/remoteEntry.js +2 -2
- package/dist/sw.js +1 -1
- package/dist/{swRegistration.d916900c3387f1f220f1defff378aa26.js.map → swRegistration.7012d3bb321b1a6376ecdaf30e46874b.js.map} +1 -1
- package/dist/{swRegistration.23aa165e4d20be1e03c0.js → swRegistration.c3cc3f42c169f1ec4062.js} +2 -2
- package/package.json +13 -13
- package/dist/816.816.913409256d123ccc197f.js +0 -2
package/dist/sw.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{"use strict";var e={733:()=>{try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(e){}},823:(e,t,n)=>{n.d(t,{c:()=>r});n(114);class r{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}},552:(e,t,n)=>{n.d(t,{R:()=>a});n(114);const r=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n};class a extends Error{constructor(e,t){super(r(e,t)),this.name=e,this.details=t}}},322:(e,t,n)=>{n.d(t,{v:()=>r});n(552),n(114);const r=null},771:(e,t,n)=>{n.d(t,{e:()=>a});n(114);function r(e,t){const n=new URL(e);for(const e of t)n.searchParams.delete(e);return n.href}async function a(e,t,n,a){const s=r(t.url,n);if(t.url===s)return e.match(t,a);const i=Object.assign(Object.assign({},a),{ignoreSearch:!0}),o=await e.keys(t,i);for(const t of o){if(s===r(t.url,n))return e.match(t,a)}}},354:(e,t,n)=>{n.d(t,{n:()=>s});n(114);const r={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},a=e=>[r.prefix,e,r.suffix].filter((e=>e&&e.length>0)).join("-"),s={updateDetails:e=>{(e=>{for(const t of Object.keys(r))e(t)})((t=>{"string"==typeof e[t]&&(r[t]=e[t])}))},getGoogleAnalyticsName:e=>e||a(r.googleAnalytics),getPrecacheName:e=>e||a(r.precache),getPrefix:()=>r.prefix,getRuntimeName:e=>e||a(r.runtime),getSuffix:()=>r.suffix}},204:(e,t,n)=>{n.d(t,{V:()=>a});n(114);let r;function a(){if(void 0===r){const e=new Response("");if("body"in e)try{new Response(e.body),r=!0}catch(e){r=!1}r=!1}return r}},555:(e,t,n)=>{n.d(t,{S:()=>r});n(114);function r(e){e.then((()=>{}))}},715:(e,t,n)=>{n.d(t,{w:()=>a});n(468);var r=n(922);n(114);async function a(){for(const e of r.j)await e()}},312:(e,t,n)=>{n.d(t,{R:()=>r});n(114);const r=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"")},468:(e,t,n)=>{n.d(t,{v:()=>r});n(114);const r=null},37:(e,t,n)=>{n.d(t,{w:()=>r});n(114);function r(e){return new Promise((t=>setTimeout(t,e)))}},209:(e,t,n)=>{n.d(t,{a:()=>r});n(114);function r(e,t){const n=t();return e.waitUntil(n),n}},114:()=>{try{self["workbox:core:6.5.3"]&&_()}catch(e){}},707:(e,t,n)=>{n.d(t,{t:()=>s});var r=n(204),a=n(552);n(114);async function s(e,t){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new a.R("cross-origin-copy-response",{origin:n});const s=e.clone(),i={headers:new Headers(s.headers),status:s.status,statusText:s.statusText},o=t?t(i):i,c=(0,r.V)()?s.body:await s.blob();return new Response(c,o)}},922:(e,t,n)=>{n.d(t,{j:()=>r});n(114);const r=new Set},905:(e,t,n)=>{n.d(t,{$:()=>a});n(468),n(322);var r=n(922);n(114);function a(e){r.j.add(e)}},876:()=>{try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},665:()=>{try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},334:(e,t,n)=>{n.d(t,{b:()=>a});n(322),n(468);var r=n(737);n(205);class a extends r.q{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)}}},737:(e,t,n)=>{n.d(t,{q:()=>s});n(322);var r=n(683),a=n(161);n(205);class s{constructor(e,t,n=r.l){this.handler=(0,a.q)(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=(0,a.q)(e)}}},507:(e,t,n)=>{n.d(t,{I:()=>i});n(322),n(312);var r=n(683),a=(n(468),n(161)),s=n(552);n(205);class i{constructor(){this._routes=new Map,this._defaultHandlerMap=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((t=>{"string"==typeof t&&(t=[t]);const n=new Request(...t);return this.handleRequest({request:n,event:e})})));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;const r=n.origin===location.origin,{params:a,route:s}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n});let i=s&&s.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:n,request:e,event:t,params:a})}catch(e){c=Promise.reject(e)}const l=s&&s.catchHandler;return c instanceof Promise&&(this._catchHandler||l)&&(c=c.catch((async r=>{if(l){0;try{return await l.handle({url:n,request:e,event:t,params:a})}catch(e){e instanceof Error&&(r=e)}}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw r}))),c}findMatchingRoute({url:e,sameOrigin:t,request:n,event:r}){const a=this._routes.get(n.method)||[];for(const s of a){let a;const i=s.match({url:e,sameOrigin:t,request:n,event:r});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(a=void 0),{route:s,params:a}}return{}}setDefaultHandler(e,t=r.l){this._defaultHandlerMap.set(t,(0,a.q)(e))}setCatchHandler(e){this._catchHandler=(0,a.q)(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.R("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.R("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}},205:()=>{try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},502:(e,t,n)=>{n.d(t,{R:()=>o});n(468);var r=n(552),a=n(737),s=n(334),i=n(947);n(205);function o(e,t,n){let o;if("string"==typeof e){const r=new URL(e,location.href);0;const s=({url:e})=>e.href===r.href;o=new a.q(s,t,n)}else if(e instanceof RegExp)o=new s.b(e,t,n);else if("function"==typeof e)o=new a.q(e,t,n);else{if(!(e instanceof a.q))throw new r.R("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return(0,i.G)().registerRoute(o),o}},683:(e,t,n)=>{n.d(t,{l:()=>r});n(205);const r="GET"},947:(e,t,n)=>{n.d(t,{G:()=>s});var r=n(507);n(205);let a;const s=()=>(a||(a=new r.I,a.addFetchListener(),a.addCacheListener()),a)},161:(e,t,n)=>{n.d(t,{q:()=>r});n(322),n(205);const r=e=>e&&"object"==typeof e?e:{handle:e}},662:(e,t,n)=>{n.d(t,{q:()=>i});var r=n(354),a=n(552),s=(n(468),n(312),n(344));n(484);class i{constructor(e={}){this.cacheName=r.n.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n="string"==typeof e.request?new Request(e.request):e.request,r="params"in e?e.params:void 0,a=new s.s(this,{event:t,request:n,params:r}),i=this._getResponse(a,n,t);return[i,this._awaitComplete(i,a,n,t)]}async _getResponse(e,t,n){let r;await e.runCallbacks("handlerWillStart",{event:n,request:t});try{if(r=await this._handle(t,e),!r||"error"===r.type)throw new a.R("no-response",{url:t.url})}catch(a){if(a instanceof Error)for(const s of e.iterateCallbacks("handlerDidError"))if(r=await s({error:a,event:n,request:t}),r)break;if(!r)throw a}for(const a of e.iterateCallbacks("handlerWillRespond"))r=await a({event:n,request:t,response:r});return r}async _awaitComplete(e,t,n,r){let a,s;try{a=await e}catch(s){}try{await t.runCallbacks("handlerDidRespond",{event:r,request:n,response:a}),await t.doneWaiting()}catch(e){e instanceof Error&&(s=e)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:n,response:a,error:s}),t.destroy(),s)throw s}}},344:(e,t,n)=>{n.d(t,{s:()=>h});n(322);var r=n(771),a=n(823),s=n(715),i=n(312),o=(n(468),n(37)),c=n(552);n(484);function l(e){return"string"==typeof e?new Request(e):e}class h{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new a.c,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const e of this._plugins)this._pluginStateMap.set(e,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=l(e);if("navigate"===n.mode&&t instanceof FetchEvent&&t.preloadResponse){const e=await t.preloadResponse;if(e)return e}const r=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:t})}catch(e){if(e instanceof Error)throw new c.R("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const a=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const n of this.iterateCallbacks("fetchDidSucceed"))e=await n({event:t,request:a,response:e});return e}catch(e){throw r&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:r.clone(),request:a.clone()}),e}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=l(e);let n;const{cacheName:r,matchOptions:a}=this._strategy,s=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:r});n=await caches.match(s,i);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await e({cacheName:r,matchOptions:a,cachedResponse:n,request:s,event:this.event})||void 0;return n}async cachePut(e,t){const n=l(e);await(0,o.w)(0);const a=await this.getCacheKey(n,"write");if(!t)throw new c.R("cache-put-with-no-response",{url:(0,i.R)(a.url)});const h=await this._ensureResponseSafeToCache(t);if(!h)return!1;const{cacheName:u,matchOptions:d}=this._strategy,f=await self.caches.open(u),p=this.hasCallback("cacheDidUpdate"),g=p?await(0,r.e)(f,a.clone(),["__WB_REVISION__"],d):null;try{await f.put(a,p?h.clone():h)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await(0,s.w)(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:u,oldResponse:g,newResponse:h.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let r=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))r=l(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[n]=r}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"==typeof t[e]){const n=this._pluginStateMap.get(t),r=r=>{const a=Object.assign(Object.assign({},r),{state:n});return t[e](a)};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 _ensureResponseSafeToCache(e){let t=e,n=!1;for(const e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&200!==t.status&&(t=void 0),t}}},484:()=>{try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}},215:(e,t,n)=>{n.r(t),n.d(t,{__assign:()=>s,__asyncDelegator:()=>P,__asyncGenerator:()=>C,__asyncValues:()=>k,__await:()=>x,__awaiter:()=>p,__classPrivateFieldGet:()=>T,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>L,__createBinding:()=>y,__decorate:()=>o,__esDecorate:()=>l,__exportStar:()=>w,__extends:()=>a,__generator:()=>g,__importDefault:()=>O,__importStar:()=>q,__makeTemplateObject:()=>E,__metadata:()=>f,__param:()=>c,__propKey:()=>u,__read:()=>_,__rest:()=>i,__runInitializers:()=>h,__setFunctionName:()=>d,__spread:()=>v,__spreadArray:()=>R,__spreadArrays:()=>b,__values:()=>m});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},s.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function o(e,t,n,r){var a,s=arguments.length,i=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(i=(s<3?a(i):s>3?a(t,n,i):a(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,s){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var o,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",h=!t&&e?r.static?e:e.prototype:null,u=t||(h?Object.getOwnPropertyDescriptor(h,r.name):{}),d=!1,f=n.length-1;f>=0;f--){var p={};for(var g in r)p[g]="access"===g?{}:r[g];for(var g in r.access)p.access[g]=r.access[g];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(i(e||null))};var y=(0,n[f])("accessor"===c?{get:u.get,set:u.set}:u[l],p);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(o=i(y.get))&&(u.get=o),(o=i(y.set))&&(u.set=o),(o=i(y.init))&&a.push(o)}else(o=i(y))&&("field"===c?a.push(o):u[l]=o)}h&&Object.defineProperty(h,r.name,u),d=!0}function h(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(a,s){function i(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,o)}c((r=r.apply(e,t||[])).next())}))}function g(e,t){var n,r,a,s,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,o[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function w(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,s=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(a)throw a.error}}return i}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function b(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var s=arguments[t],i=0,o=s.length;i<o;i++,a++)r[a]=s[i];return r}function R(e,t,n){if(n||2===arguments.length)for(var r,a=0,s=t.length;a<s;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),s=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){s.push([e,t,n,r])>1||o(e,t)}))})}function o(e,t){try{(n=a[e](t)).value instanceof x?Promise.resolve(n.value.v).then(c,l):h(s[0][2],n)}catch(e){h(s[0][3],e)}var n}function c(e){o("next",e)}function l(e){o("throw",e)}function h(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:a?a(t):t}:a}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function q(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return S(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},519:(e,t,n)=>{n.r(t),n.d(t,{CacheableResponse:()=>r,CacheableResponsePlugin:()=>a});n(322),n(552),n(312),n(468),n(733);class r{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 a{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new r(e)}}},521:(e,t,n)=>{n.r(t),n.d(t,{_private:()=>r,cacheNames:()=>b,clientsClaim:()=>x,copyResponse:()=>R.t,registerQuotaErrorCallback:()=>a.$,setCacheNameDetails:()=>C,skipWaiting:()=>P});var r={};n.r(r),n.d(r,{Deferred:()=>d.c,WorkboxError:()=>v.R,assert:()=>s.v,cacheMatchIgnoreParams:()=>o.e,cacheNames:()=>i.n,canConstructReadableStream:()=>l,canConstructResponseFromBodyStream:()=>h.V,dontWaitFor:()=>u.S,executeQuotaErrorCallbacks:()=>f.w,getFriendlyURL:()=>p.R,logger:()=>g.v,resultingClientExists:()=>m,timeout:()=>y.w,waitUntil:()=>_.a});var a=n(905),s=n(322),i=n(354),o=n(771);n(114);let c;function l(){if(void 0===c)try{new ReadableStream({start(){}}),c=!0}catch(e){c=!1}return c}var h=n(204),u=n(555),d=n(823),f=n(715),p=n(312),g=n(468),y=n(37);const w=2e3;async function m(e){if(!e)return;let t=await self.clients.matchAll({type:"window"});const n=new Set(t.map((e=>e.id)));let r;const a=performance.now();for(;performance.now()-a<w&&(t=await self.clients.matchAll({type:"window"}),r=t.find((t=>e?t.id===e:!n.has(t.id))),!r);)await(0,y.w)(100);return r}var _=n(209),v=n(552);const b={get googleAnalytics(){return i.n.getGoogleAnalyticsName()},get precache(){return i.n.getPrecacheName()},get prefix(){return i.n.getPrefix()},get runtime(){return i.n.getRuntimeName()},get suffix(){return i.n.getSuffix()}};var R=n(707);function x(){self.addEventListener("activate",(()=>self.clients.claim()))}function C(e){i.n.updateDetails(e)}function P(){self.skipWaiting()}},692:(e,t,n)=>{n.r(t),n.d(t,{CacheExpiration:()=>P,ExpirationPlugin:()=>S});n(322);var r=n(555),a=(n(468),n(552));const s=(e,t)=>t.some((t=>e instanceof t));let i,o;const c=new WeakMap,l=new WeakMap,h=new WeakMap,u=new WeakMap,d=new WeakMap;let f={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return l.get(e);if("objectStoreNames"===t)return e.objectStoreNames||h.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return y(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function p(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(o||(o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(w(this),t),y(c.get(this))}:function(...t){return y(e.apply(w(this),t))}:function(t,...n){const r=e.call(w(this),t,...n);return h.set(r,t.sort?t.sort():[t]),y(r)}}function g(e){return"function"==typeof e?p(e):(e instanceof IDBTransaction&&function(e){if(l.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",s),e.removeEventListener("abort",s)},a=()=>{t(),r()},s=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",a),e.addEventListener("error",s),e.addEventListener("abort",s)}));l.set(e,t)}(e),s(e,i||(i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,f):e)}function y(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",a),e.removeEventListener("error",s)},a=()=>{t(y(e.result)),r()},s=()=>{n(e.error),r()};e.addEventListener("success",a),e.addEventListener("error",s)}));return t.then((t=>{t instanceof IDBCursor&&c.set(t,e)})).catch((()=>{})),d.set(t,e),t}(e);if(u.has(e))return u.get(e);const t=g(e);return t!==e&&(u.set(e,t),d.set(t,e)),t}const w=e=>d.get(e);const m=["get","getKey","getAll","getAllKeys","count"],_=["put","add","delete","clear"],v=new Map;function b(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(v.get(t))return v.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,a=_.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!a&&!m.includes(n))return;const s=async function(e,...t){const s=this.transaction(e,a?"readwrite":"readonly");let i=s.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[n](...t),a&&s.done]))[0]};return v.set(t,s),s}f=(e=>({...e,get:(t,n,r)=>b(t,n)||e.get(t,n,r),has:(t,n)=>!!b(t,n)||e.has(t,n)}))(f);n(876);const R="cache-entries",x=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class C{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(R,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);t&&n.addEventListener("blocked",(e=>t(e.oldVersion,e))),y(n).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const n={url:e=x(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(R,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const t=await this.getDb(),n=await t.get(R,this._getId(e));return null==n?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let r=await n.transaction(R).store.index("timestamp").openCursor(null,"prev");const a=[];let s=0;for(;r;){const n=r.value;n.cacheName===this._cacheName&&(e&&n.timestamp<e||t&&s>=t?a.push(r.value):s++),r=await r.continue()}const i=[];for(const e of a)await n.delete(R,e.id),i.push(e.url);return i}_getId(e){return this._cacheName+"|"+x(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:n,upgrade:r,blocking:a,terminated:s}={}){const i=indexedDB.open(e,t),o=y(i);return r&&i.addEventListener("upgradeneeded",(e=>{r(y(i.result),e.oldVersion,e.newVersion,y(i.transaction),e)})),n&&i.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),o.then((e=>{s&&e.addEventListener("close",(()=>s())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class P{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new C(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._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,(0,r.S)(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t<n}return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}var k=n(354),E=(n(312),n(905));class S{constructor(e={}){this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:n,cachedResponse:a})=>{if(!a)return null;const s=this._isResponseDateFresh(a),i=this._getCacheExpiration(n);(0,r.S)(i.expireEntries());const o=i.updateTimestamp(t.url);if(e)try{e.waitUntil(o)}catch(e){0}return s?a: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&&(0,E.$)((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===k.n.getRuntimeName())throw new a.R("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new P(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return 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}}},355:(e,t,n)=>{n.r(t),n.d(t,{PrecacheController:()=>d,PrecacheFallbackPlugin:()=>E,PrecacheRoute:()=>m,PrecacheStrategy:()=>u,addPlugins:()=>g,addRoute:()=>_,cleanupOutdatedCaches:()=>b,createHandlerBoundToURL:()=>R,getCacheKeyForURL:()=>x,matchPrecache:()=>C,precache:()=>P,precacheAndRoute:()=>k});n(322);var r=n(354),a=(n(468),n(552)),s=n(209);n(665);function i(e){if(!e)throw new a.R("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 a.R("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),s=new URL(n,location.href);return r.searchParams.set("__WB_REVISION__",t),{cacheKey:r.href,url:s.href}}class o{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}}class c{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const n=(null==t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return n?new Request(n,{headers:e.headers}):e},this._precacheController=e}}var l=n(707),h=(n(312),n(662));class u extends h.q{constructor(e={}){e.cacheName=r.n.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(u.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const r=t.params||{};if(!this._fallbackToNetwork)throw new a.R("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const a=r.integrity,s=e.integrity,i=!s||s===a;if(n=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?s||a:void 0})),a&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await t.cachePut(e,n.clone());0}}return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new a.R("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,r]of this.plugins.entries())r!==u.copyRedirectedCacheableResponsesPlugin&&(r===u.defaultPrecacheCacheabilityPlugin&&(e=n),r.cacheWillUpdate&&t++);0===t?this.plugins.push(u.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}u.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},u.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await(0,l.t)(e):e};class d{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new u({cacheName:r.n.getPrecacheName(e),plugins:[...t,new c({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}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}=i(n),s="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==e)throw new a.R("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 a.R("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(r,e),this._urlsToCacheModes.set(r,s),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)}}}install(e){return(0,s.a)(e,(async()=>{const t=new o;this.strategy.plugins.push(t);for(const[t,n]of this._urlsToCacheKeys){const r=this._cacheKeysToIntegrities.get(n),a=this._urlsToCacheModes.get(t),s=new Request(t,{integrity:r,cache:a,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:s,event:e}))}const{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}}))}activate(e){return(0,s.a)(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(const a of t)n.has(a.url)||(await e.delete(a),r.push(a.url));return{deletedURLs:r}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n){return(await self.caches.open(this.strategy.cacheName)).match(n)}}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new a.R("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let f;const p=()=>(f||(f=new d),f);function g(e){p().strategy.plugins.push(...e)}var y=n(502),w=n(737);class m extends w.q{constructor(e,t){super((({request:n})=>{const r=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:n="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const s=new URL(e,location.href);s.hash="",yield s.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}(s,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(a){const e=a({url:s});for(const t of e)yield t.href}}(n.url,t)){const t=r.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function _(e){const t=p(),n=new m(t,e);(0,y.R)(n)}const v=async(e,t="-precache-")=>{const n=(await self.caches.keys()).filter((n=>n.includes(t)&&n.includes(self.registration.scope)&&n!==e));return await Promise.all(n.map((e=>self.caches.delete(e)))),n};function b(){self.addEventListener("activate",(e=>{const t=r.n.getPrecacheName();e.waitUntil(v(t).then((e=>{0})))}))}function R(e){return p().createHandlerBoundToURL(e)}function x(e){return p().getCacheKeyForURL(e)}function C(e){return p().matchPrecache(e)}function P(e){p().precache(e)}function k(e,t){P(e),_(t)}class E{constructor({fallbackURL:e,precacheController:t}){this.handlerDidError=()=>this._precacheController.matchPrecache(this._fallbackURL),this._fallbackURL=e,this._precacheController=t||p()}}},175:(e,t,n)=>{n.r(t),n.d(t,{NavigationRoute:()=>a,RegExpRoute:()=>s.b,Route:()=>r.q,Router:()=>o.I,registerRoute:()=>i.R,setCatchHandler:()=>l,setDefaultHandler:()=>h});n(322),n(468);var r=n(737);n(205);class a extends r.q{constructor(e,{allowlist:t=[/./],denylist:n=[]}={}){super((e=>this._match(e)),e),this._allowlist=t,this._denylist=n}_match({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;const n=e.pathname+e.search;for(const e of this._denylist)if(e.test(n))return!1;return!!this._allowlist.some((e=>e.test(n)))}}var s=n(334),i=n(502),o=n(507),c=n(947);function l(e){(0,c.G)().setCatchHandler(e)}function h(e){(0,c.G)().setDefaultHandler(e)}},27:(e,t,n)=>{n.r(t),n.d(t,{CacheFirst:()=>s,CacheOnly:()=>i,NetworkFirst:()=>c,NetworkOnly:()=>h,StaleWhileRevalidate:()=>u,Strategy:()=>a.q,StrategyHandler:()=>d.s});n(322),n(468);var r=n(552),a=n(662);n(312),n(484);class s extends a.q{async _handle(e,t){let n,a=await t.cacheMatch(e);if(a)0;else{0;try{a=await t.fetchAndCachePut(e)}catch(e){e instanceof Error&&(n=e)}0}if(!a)throw new r.R("no-response",{url:e.url,error:n});return a}}class i extends a.q{async _handle(e,t){const n=await t.cacheMatch(e);if(!n)throw new r.R("no-response",{url:e.url});return n}}const o={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class c extends a.q{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){const n=[];const a=[];let s;if(this._networkTimeoutSeconds){const{id:r,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:t});s=r,a.push(i)}const i=this._getNetworkPromise({timeoutId:s,request:e,logs:n,handler:t});a.push(i);const o=await t.waitUntil((async()=>await t.waitUntil(Promise.race(a))||await i)());if(!o)throw new r.R("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:n}){let r;return{promise:new Promise((t=>{r=setTimeout((async()=>{t(await n.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:r}}async _getNetworkPromise({timeoutId:e,request:t,logs:n,handler:r}){let a,s;try{s=await r.fetchAndCachePut(t)}catch(e){e instanceof Error&&(a=e)}return e&&clearTimeout(e),!a&&s||(s=await r.cacheMatch(t)),s}}var l=n(37);class h extends a.q{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let n,a;try{const n=[t.fetch(e)];if(this._networkTimeoutSeconds){const e=(0,l.w)(1e3*this._networkTimeoutSeconds);n.push(e)}if(a=await Promise.race(n),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(n=e)}if(!a)throw new r.R("no-response",{url:e.url,error:n});return a}}class u extends a.q{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch((()=>{}));t.waitUntil(n);let a,s=await t.cacheMatch(e);if(s)0;else{0;try{s=await n}catch(e){e instanceof Error&&(a=e)}}if(!s)throw new r.R("no-response",{url:e.url,error:a});return s}}var d=n(344)}},t={};function n(r){var a=t[r];if(void 0!==a){if(void 0!==a.error)throw a.error;return a.exports}var s=t[r]={exports:{}},i=!0;try{e[r](s,s.exports,n),i=!1}finally{i&&delete t[r]}return s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{n.S={};var e={},t={};n.I=(r,a)=>{a||(a=[]);var s=t[r];if(s||(s=t[r]={}),!(a.indexOf(s)>=0)){if(a.push(s),e[r])return e[r];n.o(n.S,r)||(n.S[r]={});var i=n.S[r],o="@genesislcap/foundation-shell",c=(e,t,n,r)=>{var a=i[e]=i[e]||{},s=a[t];(!s||!s.loaded&&(!r!=!s.eager?r:o>s.from))&&(a[t]={get:n,from:o,eager:!!r})},l=[];if("default"===r)c("tslib","2.5.0",(()=>()=>n(215))),c("workbox-cacheable-response","6.5.4",(()=>()=>n(519))),c("workbox-core","6.5.4",(()=>()=>n(521))),c("workbox-expiration","6.5.4",(()=>()=>n(692))),c("workbox-precaching","6.5.4",(()=>()=>n(355))),c("workbox-routing","6.5.4",(()=>()=>n(175))),c("workbox-strategies","6.5.4",(()=>()=>n(27)));return l.length?e[r]=Promise.all(l).then((()=>e[r]=1)):e[r]=1}}})(),(()=>{var e,t=n(215),r=n(519),a=n(521),s=n(692),i=n(355),o=n(175),c=n(27);console.log("Hello from sw.js v0.0.1"),(0,a.clientsClaim)(),(0,i.precacheAndRoute)([{'revision':null,'url':'/215.215.4d15a7333e0070b7346a.js'},{'revision':null,'url':'/653.653.a9de01f2a74201079fd8.js'},{'revision':null,'url':'/705.705.307792160fe5cfde2cd9.js'},{'revision':null,'url':'/816.816.913409256d123ccc197f.js'},{'revision':'5c035540edea453294160c87b69d6efc','url':'/assets/icon.svg'},{'revision':'968c9b1e3aec8f497ac498d6ee3ff3ae','url':'/dts/app/app.d.ts'},{'revision':'5d7aa39deabc5817eb4c24c9e0d41101','url':'/dts/app/behaviors.d.ts'},{'revision':'c2d699d3a9a21d0e9a7d6482a79dc53e','url':'/dts/app/config.d.ts'},{'revision':'15fd8d96dc0bb0147a927cd655991d61','url':'/dts/app/index.d.ts'},{'revision':'33bc65f85e4fd7606acf57d99f2cd7b9','url':'/dts/app/types.d.ts'},{'revision':'f5d3df41a3d0056739487fa0d7ba0f73','url':'/dts/app/utils.d.ts'},{'revision':'75134003affa891b1185503463953878','url':'/dts/index.d.ts'},{'revision':'2057a4ce7f492309ceb05c78e1abf2f8','url':'/dts/index.docs.d.ts'},{'revision':'56e747ccd78defe7c8311bbba58a721e','url':'/dts/index.federated.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/default/layout.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/formatsExample/layout.d.ts'},{'revision':'54e870658a9c834adbecb8ad1a34d148','url':'/dts/main/bootstrap.d.ts'},{'revision':'5d05b2cca398071e8b7bd80f8a37ff80','url':'/dts/main/index.d.ts'},{'revision':'7adcda7b3d269ab1d8b5b4079a523a42','url':'/dts/main/main.d.ts'},{'revision':'5ce23c1e29e802698be958444fcac33a','url':'/dts/main/main.styles.d.ts'},{'revision':'05b4e3d35768e4fe0ee81ac50d08b2c7','url':'/dts/main/main.template.d.ts'},{'revision':'a4a585ff72bb0a204cfe49b476bd9b80','url':'/dts/pbc/index.d.ts'},{'revision':'36878d18600216555e06ab792adc10eb','url':'/dts/pbc/pbc.d.ts'},{'revision':'48006c4dd8006dc5b51028ba56498fa3','url':'/dts/pbc/vite/exports.d.ts'},{'revision':'d6e2176ecbaafe1bc42b9f15136946d0','url':'/dts/pbc/vite/index.d.ts'},{'revision':'e372dabcf39748888ec80c9849ba7265','url':'/dts/pbc/vite/utils.d.ts'},{'revision':'48006c4dd8006dc5b51028ba56498fa3','url':'/dts/pbc/webpack/exports.d.ts'},{'revision':'d6e2176ecbaafe1bc42b9f15136946d0','url':'/dts/pbc/webpack/index.d.ts'},{'revision':'8979ecaa984fead1c6adea7bd8fd941f','url':'/dts/pbc/webpack/utils.d.ts'},{'revision':'1d6bffdf6619ff38e64181ac26bf4297','url':'/dts/serviceWorker/registration.d.ts'},{'revision':'0ab8d9f2503966e9295ae54cc6f64a4a','url':'/dts/serviceWorker/serviceWorker.d.ts'},{'revision':'65230a59ca53b222394cb29719af898c','url':'/dts/utils/index.d.ts'},{'revision':'7b15823055ed997c73c5b7c06d6e91fa','url':'/dts/utils/logger.d.ts'},{'revision':'d4f850463f4df51860be6f46b599e7ce','url':'/favicon.ico'},{'revision':'138de7a3b2c9fd5595a20c51358ff1f0','url':'/index.html'},{'revision':'30cb28b85891d5fcd1083a2c39bb5611','url':'/info.html'},{'revision':null,'url':'/main.8e96ef5f48f7f23c77ed.js'},{'revision':null,'url':'/npm.microsoft.544.8af3a36a8a0101fc2be0.js'},{'revision':'c714dbbc42fd29edaedf85094c19d868','url':'/remoteEntry.js'},{'revision':null,'url':'/swRegistration.23aa165e4d20be1e03c0.js'}]||[]),(0,o.registerRoute)((({request:e})=>"navigate"===e.mode),new c.NetworkFirst({cacheName:"pages",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"style"===e.destination||"script"===e.destination||"worker"===e.destination),new c.StaleWhileRevalidate({cacheName:"assets",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"image"===e.destination),new c.CacheFirst({cacheName:"images",plugins:[new r.CacheableResponsePlugin({statuses:[200]}),new s.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3})]})),function(e){e.skipWaiting="skipWaiting"}(e||(e={})),self.addEventListener("message",(t=>{if(t.data&&t.data.type===e.skipWaiting)self.skipWaiting()}));const l={applicationServerKey:(e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=self.atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e+=1)r[e]=n.charCodeAt(e);return r})("BHjc7KuOaU4j6MNOs_Mm90By-mPPUqn8Y94I0yv-aYP03ip2nfq8ti_n1mH01QxW9mWtjY8d2-VdcblQYl1Zq-M"),userVisibleOnly:!0};self.addEventListener("activate",(()=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){try{const e=yield self.registration.pushManager.subscribe(l),n=yield(e=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){return(yield fetch("http://localhost:6050/push/save",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()})))(e);console.log(n)}catch(e){console.error("SW activate error",e)}})))),self.addEventListener("push",(e=>{console.log("SW received a push message",e);const{data:t}=e;if(!t)return void console.error("no data in message");const n=t.text()||"Push Message Title";e.waitUntil(self.registration.showNotification(n,{tag:"genesis-global-notification-tag",renotify:!0,body:t.text(),vibrate:[500,100,500]}))})),self.addEventListener("notificationclose",(({notification:e})=>{const t=e.data;console.log("SW notification close",t)})),self.addEventListener("notificationclick",(({action:e,notification:t})=>{const n=t.data;console.log("SW notification click",n,e),"close"!==e||t.close()}))})()})();
|
|
1
|
+
(()=>{"use strict";var e={733:()=>{try{self["workbox:cacheable-response:6.5.3"]&&_()}catch(e){}},823:(e,t,n)=>{n.d(t,{c:()=>r});n(114);class r{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}},552:(e,t,n)=>{n.d(t,{R:()=>a});n(114);const r=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n};class a extends Error{constructor(e,t){super(r(e,t)),this.name=e,this.details=t}}},322:(e,t,n)=>{n.d(t,{v:()=>r});n(552),n(114);const r=null},771:(e,t,n)=>{n.d(t,{e:()=>a});n(114);function r(e,t){const n=new URL(e);for(const e of t)n.searchParams.delete(e);return n.href}async function a(e,t,n,a){const s=r(t.url,n);if(t.url===s)return e.match(t,a);const i=Object.assign(Object.assign({},a),{ignoreSearch:!0}),o=await e.keys(t,i);for(const t of o){if(s===r(t.url,n))return e.match(t,a)}}},354:(e,t,n)=>{n.d(t,{n:()=>s});n(114);const r={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},a=e=>[r.prefix,e,r.suffix].filter((e=>e&&e.length>0)).join("-"),s={updateDetails:e=>{(e=>{for(const t of Object.keys(r))e(t)})((t=>{"string"==typeof e[t]&&(r[t]=e[t])}))},getGoogleAnalyticsName:e=>e||a(r.googleAnalytics),getPrecacheName:e=>e||a(r.precache),getPrefix:()=>r.prefix,getRuntimeName:e=>e||a(r.runtime),getSuffix:()=>r.suffix}},204:(e,t,n)=>{n.d(t,{V:()=>a});n(114);let r;function a(){if(void 0===r){const e=new Response("");if("body"in e)try{new Response(e.body),r=!0}catch(e){r=!1}r=!1}return r}},555:(e,t,n)=>{n.d(t,{S:()=>r});n(114);function r(e){e.then((()=>{}))}},715:(e,t,n)=>{n.d(t,{w:()=>a});n(468);var r=n(922);n(114);async function a(){for(const e of r.j)await e()}},312:(e,t,n)=>{n.d(t,{R:()=>r});n(114);const r=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"")},468:(e,t,n)=>{n.d(t,{v:()=>r});n(114);const r=null},37:(e,t,n)=>{n.d(t,{w:()=>r});n(114);function r(e){return new Promise((t=>setTimeout(t,e)))}},209:(e,t,n)=>{n.d(t,{a:()=>r});n(114);function r(e,t){const n=t();return e.waitUntil(n),n}},114:()=>{try{self["workbox:core:6.5.3"]&&_()}catch(e){}},707:(e,t,n)=>{n.d(t,{t:()=>s});var r=n(204),a=n(552);n(114);async function s(e,t){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new a.R("cross-origin-copy-response",{origin:n});const s=e.clone(),i={headers:new Headers(s.headers),status:s.status,statusText:s.statusText},o=t?t(i):i,c=(0,r.V)()?s.body:await s.blob();return new Response(c,o)}},922:(e,t,n)=>{n.d(t,{j:()=>r});n(114);const r=new Set},905:(e,t,n)=>{n.d(t,{$:()=>a});n(468),n(322);var r=n(922);n(114);function a(e){r.j.add(e)}},876:()=>{try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},665:()=>{try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},334:(e,t,n)=>{n.d(t,{b:()=>a});n(322),n(468);var r=n(737);n(205);class a extends r.q{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)}}},737:(e,t,n)=>{n.d(t,{q:()=>s});n(322);var r=n(683),a=n(161);n(205);class s{constructor(e,t,n=r.l){this.handler=(0,a.q)(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=(0,a.q)(e)}}},507:(e,t,n)=>{n.d(t,{I:()=>i});n(322),n(312);var r=n(683),a=(n(468),n(161)),s=n(552);n(205);class i{constructor(){this._routes=new Map,this._defaultHandlerMap=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((t=>{"string"==typeof t&&(t=[t]);const n=new Request(...t);return this.handleRequest({request:n,event:e})})));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;const r=n.origin===location.origin,{params:a,route:s}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n});let i=s&&s.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:n,request:e,event:t,params:a})}catch(e){c=Promise.reject(e)}const l=s&&s.catchHandler;return c instanceof Promise&&(this._catchHandler||l)&&(c=c.catch((async r=>{if(l){0;try{return await l.handle({url:n,request:e,event:t,params:a})}catch(e){e instanceof Error&&(r=e)}}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw r}))),c}findMatchingRoute({url:e,sameOrigin:t,request:n,event:r}){const a=this._routes.get(n.method)||[];for(const s of a){let a;const i=s.match({url:e,sameOrigin:t,request:n,event:r});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(a=void 0),{route:s,params:a}}return{}}setDefaultHandler(e,t=r.l){this._defaultHandlerMap.set(t,(0,a.q)(e))}setCatchHandler(e){this._catchHandler=(0,a.q)(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.R("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.R("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}},205:()=>{try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},502:(e,t,n)=>{n.d(t,{R:()=>o});n(468);var r=n(552),a=n(737),s=n(334),i=n(947);n(205);function o(e,t,n){let o;if("string"==typeof e){const r=new URL(e,location.href);0;const s=({url:e})=>e.href===r.href;o=new a.q(s,t,n)}else if(e instanceof RegExp)o=new s.b(e,t,n);else if("function"==typeof e)o=new a.q(e,t,n);else{if(!(e instanceof a.q))throw new r.R("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=e}return(0,i.G)().registerRoute(o),o}},683:(e,t,n)=>{n.d(t,{l:()=>r});n(205);const r="GET"},947:(e,t,n)=>{n.d(t,{G:()=>s});var r=n(507);n(205);let a;const s=()=>(a||(a=new r.I,a.addFetchListener(),a.addCacheListener()),a)},161:(e,t,n)=>{n.d(t,{q:()=>r});n(322),n(205);const r=e=>e&&"object"==typeof e?e:{handle:e}},662:(e,t,n)=>{n.d(t,{q:()=>i});var r=n(354),a=n(552),s=(n(468),n(312),n(344));n(484);class i{constructor(e={}){this.cacheName=r.n.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n="string"==typeof e.request?new Request(e.request):e.request,r="params"in e?e.params:void 0,a=new s.s(this,{event:t,request:n,params:r}),i=this._getResponse(a,n,t);return[i,this._awaitComplete(i,a,n,t)]}async _getResponse(e,t,n){let r;await e.runCallbacks("handlerWillStart",{event:n,request:t});try{if(r=await this._handle(t,e),!r||"error"===r.type)throw new a.R("no-response",{url:t.url})}catch(a){if(a instanceof Error)for(const s of e.iterateCallbacks("handlerDidError"))if(r=await s({error:a,event:n,request:t}),r)break;if(!r)throw a}for(const a of e.iterateCallbacks("handlerWillRespond"))r=await a({event:n,request:t,response:r});return r}async _awaitComplete(e,t,n,r){let a,s;try{a=await e}catch(s){}try{await t.runCallbacks("handlerDidRespond",{event:r,request:n,response:a}),await t.doneWaiting()}catch(e){e instanceof Error&&(s=e)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:n,response:a,error:s}),t.destroy(),s)throw s}}},344:(e,t,n)=>{n.d(t,{s:()=>h});n(322);var r=n(771),a=n(823),s=n(715),i=n(312),o=(n(468),n(37)),c=n(552);n(484);function l(e){return"string"==typeof e?new Request(e):e}class h{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new a.c,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const e of this._plugins)this._pluginStateMap.set(e,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=l(e);if("navigate"===n.mode&&t instanceof FetchEvent&&t.preloadResponse){const e=await t.preloadResponse;if(e)return e}const r=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:t})}catch(e){if(e instanceof Error)throw new c.R("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const a=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const n of this.iterateCallbacks("fetchDidSucceed"))e=await n({event:t,request:a,response:e});return e}catch(e){throw r&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:r.clone(),request:a.clone()}),e}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=l(e);let n;const{cacheName:r,matchOptions:a}=this._strategy,s=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:r});n=await caches.match(s,i);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await e({cacheName:r,matchOptions:a,cachedResponse:n,request:s,event:this.event})||void 0;return n}async cachePut(e,t){const n=l(e);await(0,o.w)(0);const a=await this.getCacheKey(n,"write");if(!t)throw new c.R("cache-put-with-no-response",{url:(0,i.R)(a.url)});const h=await this._ensureResponseSafeToCache(t);if(!h)return!1;const{cacheName:u,matchOptions:d}=this._strategy,f=await self.caches.open(u),p=this.hasCallback("cacheDidUpdate"),g=p?await(0,r.e)(f,a.clone(),["__WB_REVISION__"],d):null;try{await f.put(a,p?h.clone():h)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await(0,s.w)(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:u,oldResponse:g,newResponse:h.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let r=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))r=l(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[n]=r}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"==typeof t[e]){const n=this._pluginStateMap.get(t),r=r=>{const a=Object.assign(Object.assign({},r),{state:n});return t[e](a)};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 _ensureResponseSafeToCache(e){let t=e,n=!1;for(const e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&200!==t.status&&(t=void 0),t}}},484:()=>{try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}},215:(e,t,n)=>{n.r(t),n.d(t,{__assign:()=>s,__asyncDelegator:()=>P,__asyncGenerator:()=>C,__asyncValues:()=>k,__await:()=>x,__awaiter:()=>p,__classPrivateFieldGet:()=>T,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>L,__createBinding:()=>y,__decorate:()=>o,__esDecorate:()=>l,__exportStar:()=>w,__extends:()=>a,__generator:()=>g,__importDefault:()=>O,__importStar:()=>q,__makeTemplateObject:()=>E,__metadata:()=>f,__param:()=>c,__propKey:()=>u,__read:()=>_,__rest:()=>i,__runInitializers:()=>h,__setFunctionName:()=>d,__spread:()=>v,__spreadArray:()=>R,__spreadArrays:()=>b,__values:()=>m});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},s.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function o(e,t,n,r){var a,s=arguments.length,i=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(i=(s<3?a(i):s>3?a(t,n,i):a(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,s){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var o,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",h=!t&&e?r.static?e:e.prototype:null,u=t||(h?Object.getOwnPropertyDescriptor(h,r.name):{}),d=!1,f=n.length-1;f>=0;f--){var p={};for(var g in r)p[g]="access"===g?{}:r[g];for(var g in r.access)p.access[g]=r.access[g];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(i(e||null))};var y=(0,n[f])("accessor"===c?{get:u.get,set:u.set}:u[l],p);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(o=i(y.get))&&(u.get=o),(o=i(y.set))&&(u.set=o),(o=i(y.init))&&a.push(o)}else(o=i(y))&&("field"===c?a.push(o):u[l]=o)}h&&Object.defineProperty(h,r.name,u),d=!0}function h(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(a,s){function i(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,o)}c((r=r.apply(e,t||[])).next())}))}function g(e,t){var n,r,a,s,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,o[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function w(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,s=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(a)throw a.error}}return i}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}function b(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var s=arguments[t],i=0,o=s.length;i<o;i++,a++)r[a]=s[i];return r}function R(e,t,n){if(n||2===arguments.length)for(var r,a=0,s=t.length;a<s;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),s=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){s.push([e,t,n,r])>1||o(e,t)}))})}function o(e,t){try{(n=a[e](t)).value instanceof x?Promise.resolve(n.value.v).then(c,l):h(s[0][2],n)}catch(e){h(s[0][3],e)}var n}function c(e){o("next",e)}function l(e){o("throw",e)}function h(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:a?a(t):t}:a}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function q(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return S(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},519:(e,t,n)=>{n.r(t),n.d(t,{CacheableResponse:()=>r,CacheableResponsePlugin:()=>a});n(322),n(552),n(312),n(468),n(733);class r{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 a{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new r(e)}}},521:(e,t,n)=>{n.r(t),n.d(t,{_private:()=>r,cacheNames:()=>b,clientsClaim:()=>x,copyResponse:()=>R.t,registerQuotaErrorCallback:()=>a.$,setCacheNameDetails:()=>C,skipWaiting:()=>P});var r={};n.r(r),n.d(r,{Deferred:()=>d.c,WorkboxError:()=>v.R,assert:()=>s.v,cacheMatchIgnoreParams:()=>o.e,cacheNames:()=>i.n,canConstructReadableStream:()=>l,canConstructResponseFromBodyStream:()=>h.V,dontWaitFor:()=>u.S,executeQuotaErrorCallbacks:()=>f.w,getFriendlyURL:()=>p.R,logger:()=>g.v,resultingClientExists:()=>m,timeout:()=>y.w,waitUntil:()=>_.a});var a=n(905),s=n(322),i=n(354),o=n(771);n(114);let c;function l(){if(void 0===c)try{new ReadableStream({start(){}}),c=!0}catch(e){c=!1}return c}var h=n(204),u=n(555),d=n(823),f=n(715),p=n(312),g=n(468),y=n(37);const w=2e3;async function m(e){if(!e)return;let t=await self.clients.matchAll({type:"window"});const n=new Set(t.map((e=>e.id)));let r;const a=performance.now();for(;performance.now()-a<w&&(t=await self.clients.matchAll({type:"window"}),r=t.find((t=>e?t.id===e:!n.has(t.id))),!r);)await(0,y.w)(100);return r}var _=n(209),v=n(552);const b={get googleAnalytics(){return i.n.getGoogleAnalyticsName()},get precache(){return i.n.getPrecacheName()},get prefix(){return i.n.getPrefix()},get runtime(){return i.n.getRuntimeName()},get suffix(){return i.n.getSuffix()}};var R=n(707);function x(){self.addEventListener("activate",(()=>self.clients.claim()))}function C(e){i.n.updateDetails(e)}function P(){self.skipWaiting()}},692:(e,t,n)=>{n.r(t),n.d(t,{CacheExpiration:()=>P,ExpirationPlugin:()=>S});n(322);var r=n(555),a=(n(468),n(552));const s=(e,t)=>t.some((t=>e instanceof t));let i,o;const c=new WeakMap,l=new WeakMap,h=new WeakMap,u=new WeakMap,d=new WeakMap;let f={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return l.get(e);if("objectStoreNames"===t)return e.objectStoreNames||h.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return y(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function p(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(o||(o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(w(this),t),y(c.get(this))}:function(...t){return y(e.apply(w(this),t))}:function(t,...n){const r=e.call(w(this),t,...n);return h.set(r,t.sort?t.sort():[t]),y(r)}}function g(e){return"function"==typeof e?p(e):(e instanceof IDBTransaction&&function(e){if(l.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",s),e.removeEventListener("abort",s)},a=()=>{t(),r()},s=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",a),e.addEventListener("error",s),e.addEventListener("abort",s)}));l.set(e,t)}(e),s(e,i||(i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,f):e)}function y(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",a),e.removeEventListener("error",s)},a=()=>{t(y(e.result)),r()},s=()=>{n(e.error),r()};e.addEventListener("success",a),e.addEventListener("error",s)}));return t.then((t=>{t instanceof IDBCursor&&c.set(t,e)})).catch((()=>{})),d.set(t,e),t}(e);if(u.has(e))return u.get(e);const t=g(e);return t!==e&&(u.set(e,t),d.set(t,e)),t}const w=e=>d.get(e);const m=["get","getKey","getAll","getAllKeys","count"],_=["put","add","delete","clear"],v=new Map;function b(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(v.get(t))return v.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,a=_.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!a&&!m.includes(n))return;const s=async function(e,...t){const s=this.transaction(e,a?"readwrite":"readonly");let i=s.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[n](...t),a&&s.done]))[0]};return v.set(t,s),s}f=(e=>({...e,get:(t,n,r)=>b(t,n)||e.get(t,n,r),has:(t,n)=>!!b(t,n)||e.has(t,n)}))(f);n(876);const R="cache-entries",x=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class C{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(R,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);t&&n.addEventListener("blocked",(e=>t(e.oldVersion,e))),y(n).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const n={url:e=x(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(R,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const t=await this.getDb(),n=await t.get(R,this._getId(e));return null==n?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let r=await n.transaction(R).store.index("timestamp").openCursor(null,"prev");const a=[];let s=0;for(;r;){const n=r.value;n.cacheName===this._cacheName&&(e&&n.timestamp<e||t&&s>=t?a.push(r.value):s++),r=await r.continue()}const i=[];for(const e of a)await n.delete(R,e.id),i.push(e.url);return i}_getId(e){return this._cacheName+"|"+x(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:n,upgrade:r,blocking:a,terminated:s}={}){const i=indexedDB.open(e,t),o=y(i);return r&&i.addEventListener("upgradeneeded",(e=>{r(y(i.result),e.oldVersion,e.newVersion,y(i.transaction),e)})),n&&i.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),o.then((e=>{s&&e.addEventListener("close",(()=>s())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class P{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new C(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._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,(0,r.S)(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t<n}return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}var k=n(354),E=(n(312),n(905));class S{constructor(e={}){this.cachedResponseWillBeUsed=async({event:e,request:t,cacheName:n,cachedResponse:a})=>{if(!a)return null;const s=this._isResponseDateFresh(a),i=this._getCacheExpiration(n);(0,r.S)(i.expireEntries());const o=i.updateTimestamp(t.url);if(e)try{e.waitUntil(o)}catch(e){0}return s?a: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&&(0,E.$)((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===k.n.getRuntimeName())throw new a.R("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new P(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return 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}}},355:(e,t,n)=>{n.r(t),n.d(t,{PrecacheController:()=>d,PrecacheFallbackPlugin:()=>E,PrecacheRoute:()=>m,PrecacheStrategy:()=>u,addPlugins:()=>g,addRoute:()=>_,cleanupOutdatedCaches:()=>b,createHandlerBoundToURL:()=>R,getCacheKeyForURL:()=>x,matchPrecache:()=>C,precache:()=>P,precacheAndRoute:()=>k});n(322);var r=n(354),a=(n(468),n(552)),s=n(209);n(665);function i(e){if(!e)throw new a.R("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 a.R("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),s=new URL(n,location.href);return r.searchParams.set("__WB_REVISION__",t),{cacheKey:r.href,url:s.href}}class o{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}}class c{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const n=(null==t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return n?new Request(n,{headers:e.headers}):e},this._precacheController=e}}var l=n(707),h=(n(312),n(662));class u extends h.q{constructor(e={}){e.cacheName=r.n.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(u.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const r=t.params||{};if(!this._fallbackToNetwork)throw new a.R("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const a=r.integrity,s=e.integrity,i=!s||s===a;if(n=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?s||a:void 0})),a&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await t.cachePut(e,n.clone());0}}return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new a.R("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,r]of this.plugins.entries())r!==u.copyRedirectedCacheableResponsesPlugin&&(r===u.defaultPrecacheCacheabilityPlugin&&(e=n),r.cacheWillUpdate&&t++);0===t?this.plugins.push(u.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}u.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},u.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await(0,l.t)(e):e};class d{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new u({cacheName:r.n.getPrecacheName(e),plugins:[...t,new c({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}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}=i(n),s="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==e)throw new a.R("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 a.R("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(r,e),this._urlsToCacheModes.set(r,s),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)}}}install(e){return(0,s.a)(e,(async()=>{const t=new o;this.strategy.plugins.push(t);for(const[t,n]of this._urlsToCacheKeys){const r=this._cacheKeysToIntegrities.get(n),a=this._urlsToCacheModes.get(t),s=new Request(t,{integrity:r,cache:a,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:s,event:e}))}const{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}}))}activate(e){return(0,s.a)(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(const a of t)n.has(a.url)||(await e.delete(a),r.push(a.url));return{deletedURLs:r}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n){return(await self.caches.open(this.strategy.cacheName)).match(n)}}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new a.R("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let f;const p=()=>(f||(f=new d),f);function g(e){p().strategy.plugins.push(...e)}var y=n(502),w=n(737);class m extends w.q{constructor(e,t){super((({request:n})=>{const r=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:n="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const s=new URL(e,location.href);s.hash="",yield s.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}(s,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(a){const e=a({url:s});for(const t of e)yield t.href}}(n.url,t)){const t=r.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function _(e){const t=p(),n=new m(t,e);(0,y.R)(n)}const v=async(e,t="-precache-")=>{const n=(await self.caches.keys()).filter((n=>n.includes(t)&&n.includes(self.registration.scope)&&n!==e));return await Promise.all(n.map((e=>self.caches.delete(e)))),n};function b(){self.addEventListener("activate",(e=>{const t=r.n.getPrecacheName();e.waitUntil(v(t).then((e=>{0})))}))}function R(e){return p().createHandlerBoundToURL(e)}function x(e){return p().getCacheKeyForURL(e)}function C(e){return p().matchPrecache(e)}function P(e){p().precache(e)}function k(e,t){P(e),_(t)}class E{constructor({fallbackURL:e,precacheController:t}){this.handlerDidError=()=>this._precacheController.matchPrecache(this._fallbackURL),this._fallbackURL=e,this._precacheController=t||p()}}},175:(e,t,n)=>{n.r(t),n.d(t,{NavigationRoute:()=>a,RegExpRoute:()=>s.b,Route:()=>r.q,Router:()=>o.I,registerRoute:()=>i.R,setCatchHandler:()=>l,setDefaultHandler:()=>h});n(322),n(468);var r=n(737);n(205);class a extends r.q{constructor(e,{allowlist:t=[/./],denylist:n=[]}={}){super((e=>this._match(e)),e),this._allowlist=t,this._denylist=n}_match({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;const n=e.pathname+e.search;for(const e of this._denylist)if(e.test(n))return!1;return!!this._allowlist.some((e=>e.test(n)))}}var s=n(334),i=n(502),o=n(507),c=n(947);function l(e){(0,c.G)().setCatchHandler(e)}function h(e){(0,c.G)().setDefaultHandler(e)}},27:(e,t,n)=>{n.r(t),n.d(t,{CacheFirst:()=>s,CacheOnly:()=>i,NetworkFirst:()=>c,NetworkOnly:()=>h,StaleWhileRevalidate:()=>u,Strategy:()=>a.q,StrategyHandler:()=>d.s});n(322),n(468);var r=n(552),a=n(662);n(312),n(484);class s extends a.q{async _handle(e,t){let n,a=await t.cacheMatch(e);if(a)0;else{0;try{a=await t.fetchAndCachePut(e)}catch(e){e instanceof Error&&(n=e)}0}if(!a)throw new r.R("no-response",{url:e.url,error:n});return a}}class i extends a.q{async _handle(e,t){const n=await t.cacheMatch(e);if(!n)throw new r.R("no-response",{url:e.url});return n}}const o={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class c extends a.q{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){const n=[];const a=[];let s;if(this._networkTimeoutSeconds){const{id:r,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:t});s=r,a.push(i)}const i=this._getNetworkPromise({timeoutId:s,request:e,logs:n,handler:t});a.push(i);const o=await t.waitUntil((async()=>await t.waitUntil(Promise.race(a))||await i)());if(!o)throw new r.R("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:n}){let r;return{promise:new Promise((t=>{r=setTimeout((async()=>{t(await n.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:r}}async _getNetworkPromise({timeoutId:e,request:t,logs:n,handler:r}){let a,s;try{s=await r.fetchAndCachePut(t)}catch(e){e instanceof Error&&(a=e)}return e&&clearTimeout(e),!a&&s||(s=await r.cacheMatch(t)),s}}var l=n(37);class h extends a.q{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let n,a;try{const n=[t.fetch(e)];if(this._networkTimeoutSeconds){const e=(0,l.w)(1e3*this._networkTimeoutSeconds);n.push(e)}if(a=await Promise.race(n),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(n=e)}if(!a)throw new r.R("no-response",{url:e.url,error:n});return a}}class u extends a.q{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(o)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch((()=>{}));t.waitUntil(n);let a,s=await t.cacheMatch(e);if(s)0;else{0;try{s=await n}catch(e){e instanceof Error&&(a=e)}}if(!s)throw new r.R("no-response",{url:e.url,error:a});return s}}var d=n(344)}},t={};function n(r){var a=t[r];if(void 0!==a){if(void 0!==a.error)throw a.error;return a.exports}var s=t[r]={exports:{}},i=!0;try{e[r](s,s.exports,n),i=!1}finally{i&&delete t[r]}return s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{n.S={};var e={},t={};n.I=(r,a)=>{a||(a=[]);var s=t[r];if(s||(s=t[r]={}),!(a.indexOf(s)>=0)){if(a.push(s),e[r])return e[r];n.o(n.S,r)||(n.S[r]={});var i=n.S[r],o="@genesislcap/foundation-shell",c=(e,t,n,r)=>{var a=i[e]=i[e]||{},s=a[t];(!s||!s.loaded&&(!r!=!s.eager?r:o>s.from))&&(a[t]={get:n,from:o,eager:!!r})},l=[];if("default"===r)c("tslib","2.5.0",(()=>()=>n(215))),c("workbox-cacheable-response","6.5.4",(()=>()=>n(519))),c("workbox-core","6.5.4",(()=>()=>n(521))),c("workbox-expiration","6.5.4",(()=>()=>n(692))),c("workbox-precaching","6.5.4",(()=>()=>n(355))),c("workbox-routing","6.5.4",(()=>()=>n(175))),c("workbox-strategies","6.5.4",(()=>()=>n(27)));return l.length?e[r]=Promise.all(l).then((()=>e[r]=1)):e[r]=1}}})(),(()=>{var e,t=n(215),r=n(519),a=n(521),s=n(692),i=n(355),o=n(175),c=n(27);console.log("Hello from sw.js v0.0.1"),(0,a.clientsClaim)(),(0,i.precacheAndRoute)([{'revision':null,'url':'/215.215.4d15a7333e0070b7346a.js'},{'revision':null,'url':'/653.653.a9de01f2a74201079fd8.js'},{'revision':null,'url':'/705.705.8884d9d7cfbf69c07000.js'},{'revision':null,'url':'/816.816.258ab51d8cc26a3f262a.js'},{'revision':'5c035540edea453294160c87b69d6efc','url':'/assets/icon.svg'},{'revision':'968c9b1e3aec8f497ac498d6ee3ff3ae','url':'/dts/app/app.d.ts'},{'revision':'5d7aa39deabc5817eb4c24c9e0d41101','url':'/dts/app/behaviors.d.ts'},{'revision':'c2d699d3a9a21d0e9a7d6482a79dc53e','url':'/dts/app/config.d.ts'},{'revision':'15fd8d96dc0bb0147a927cd655991d61','url':'/dts/app/index.d.ts'},{'revision':'33bc65f85e4fd7606acf57d99f2cd7b9','url':'/dts/app/types.d.ts'},{'revision':'f5d3df41a3d0056739487fa0d7ba0f73','url':'/dts/app/utils.d.ts'},{'revision':'75134003affa891b1185503463953878','url':'/dts/index.d.ts'},{'revision':'2057a4ce7f492309ceb05c78e1abf2f8','url':'/dts/index.docs.d.ts'},{'revision':'56e747ccd78defe7c8311bbba58a721e','url':'/dts/index.federated.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/default/layout.d.ts'},{'revision':'3cab1c594f8d03985b46eee98a63b2a2','url':'/dts/layouts/formatsExample/layout.d.ts'},{'revision':'54e870658a9c834adbecb8ad1a34d148','url':'/dts/main/bootstrap.d.ts'},{'revision':'5d05b2cca398071e8b7bd80f8a37ff80','url':'/dts/main/index.d.ts'},{'revision':'7adcda7b3d269ab1d8b5b4079a523a42','url':'/dts/main/main.d.ts'},{'revision':'5ce23c1e29e802698be958444fcac33a','url':'/dts/main/main.styles.d.ts'},{'revision':'05b4e3d35768e4fe0ee81ac50d08b2c7','url':'/dts/main/main.template.d.ts'},{'revision':'a4a585ff72bb0a204cfe49b476bd9b80','url':'/dts/pbc/index.d.ts'},{'revision':'36878d18600216555e06ab792adc10eb','url':'/dts/pbc/pbc.d.ts'},{'revision':'48006c4dd8006dc5b51028ba56498fa3','url':'/dts/pbc/vite/exports.d.ts'},{'revision':'d6e2176ecbaafe1bc42b9f15136946d0','url':'/dts/pbc/vite/index.d.ts'},{'revision':'e372dabcf39748888ec80c9849ba7265','url':'/dts/pbc/vite/utils.d.ts'},{'revision':'48006c4dd8006dc5b51028ba56498fa3','url':'/dts/pbc/webpack/exports.d.ts'},{'revision':'d6e2176ecbaafe1bc42b9f15136946d0','url':'/dts/pbc/webpack/index.d.ts'},{'revision':'8979ecaa984fead1c6adea7bd8fd941f','url':'/dts/pbc/webpack/utils.d.ts'},{'revision':'1d6bffdf6619ff38e64181ac26bf4297','url':'/dts/serviceWorker/registration.d.ts'},{'revision':'0ab8d9f2503966e9295ae54cc6f64a4a','url':'/dts/serviceWorker/serviceWorker.d.ts'},{'revision':'65230a59ca53b222394cb29719af898c','url':'/dts/utils/index.d.ts'},{'revision':'7b15823055ed997c73c5b7c06d6e91fa','url':'/dts/utils/logger.d.ts'},{'revision':'d4f850463f4df51860be6f46b599e7ce','url':'/favicon.ico'},{'revision':'1226ca2e12a8acd50e187c2e5ece7423','url':'/index.html'},{'revision':'30cb28b85891d5fcd1083a2c39bb5611','url':'/info.html'},{'revision':null,'url':'/main.d91354b567e45c204a22.js'},{'revision':null,'url':'/npm.microsoft.544.8af3a36a8a0101fc2be0.js'},{'revision':'9b85172a058af6f7f2ae7f3f49742d8e','url':'/remoteEntry.js'},{'revision':null,'url':'/swRegistration.c3cc3f42c169f1ec4062.js'}]||[]),(0,o.registerRoute)((({request:e})=>"navigate"===e.mode),new c.NetworkFirst({cacheName:"pages",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"style"===e.destination||"script"===e.destination||"worker"===e.destination),new c.StaleWhileRevalidate({cacheName:"assets",plugins:[new r.CacheableResponsePlugin({statuses:[200]})]})),(0,o.registerRoute)((({request:e})=>"image"===e.destination),new c.CacheFirst({cacheName:"images",plugins:[new r.CacheableResponsePlugin({statuses:[200]}),new s.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3})]})),function(e){e.skipWaiting="skipWaiting"}(e||(e={})),self.addEventListener("message",(t=>{if(t.data&&t.data.type===e.skipWaiting)self.skipWaiting()}));const l={applicationServerKey:(e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=self.atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e+=1)r[e]=n.charCodeAt(e);return r})("BHjc7KuOaU4j6MNOs_Mm90By-mPPUqn8Y94I0yv-aYP03ip2nfq8ti_n1mH01QxW9mWtjY8d2-VdcblQYl1Zq-M"),userVisibleOnly:!0};self.addEventListener("activate",(()=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){try{const e=yield self.registration.pushManager.subscribe(l),n=yield(e=>(0,t.__awaiter)(void 0,void 0,void 0,(function*(){return(yield fetch("http://localhost:6050/push/save",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()})))(e);console.log(n)}catch(e){console.error("SW activate error",e)}})))),self.addEventListener("push",(e=>{console.log("SW received a push message",e);const{data:t}=e;if(!t)return void console.error("no data in message");const n=t.text()||"Push Message Title";e.waitUntil(self.registration.showNotification(n,{tag:"genesis-global-notification-tag",renotify:!0,body:t.text(),vibrate:[500,100,500]}))})),self.addEventListener("notificationclose",(({notification:e})=>{const t=e.data;console.log("SW notification close",t)})),self.addEventListener("notificationclick",(({action:e,notification:t})=>{const n=t.data;console.log("SW notification click",n,e),"close"!==e||t.close()}))})()})();
|
|
2
2
|
//# sourceMappingURL=InjectManifest.0f9462e79479884fc2d57bb3645af85f.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swRegistration.xxxxxxxxxxxxxxxxxxxx.js","mappings":"UAAIA,ECAAC,EACAC,E,kBCDJ,IAAIC,EAAaC,MAAQA,KAAKD,WAAc,SAAUE,EAASC,EAAYC,EAAGC,GAE1E,OAAO,IAAKD,IAAMA,EAAIE,WAAU,SAAUC,EAASC,GAC/C,SAASC,EAAUC,GAAS,IAAMC,EAAKN,EAAUO,KAAKF,GAAS,CAAE,MAAOG,GAAKL,EAAOK,EAAI,CAAE,CAC1F,SAASC,EAASJ,GAAS,IAAMC,EAAKN,EAAiB,MAAEK,GAAS,CAAE,MAAOG,GAAKL,EAAOK,EAAI,CAAE,CAC7F,SAASF,EAAKI,GAJlB,IAAeL,EAIaK,EAAOC,KAAOT,EAAQQ,EAAOL,QAJ1CA,EAIyDK,EAAOL,MAJhDA,aAAiBN,EAAIM,EAAQ,IAAIN,GAAE,SAAUG,GAAWA,EAAQG,EAAQ,KAIjBO,KAAKR,EAAWK,EAAW,CAC7GH,GAAMN,EAAYA,EAAUa,MAAMhB,EAASC,GAAc,KAAKS,OAClE,GACJ,EACA,MAQMO,EAAyBC,GAAwBpB,EAAUC,UAAM,OAAQ,GAAQ,YAAe,OAAOoB,UAAUC,cAAcC,SAAS,SAAUH,EAAsB,IACxKI,EAAgC,IAAMxB,EAAUC,UAAM,OAAQ,GAAQ,YAErD,mBADMwB,OAAOC,aAAaC,sBAEzCC,QAAQC,MAAM,0CAEtB,IACAJ,OAAOK,iBAAiB,QAAQ,IAAM9B,EAAUC,UAAM,OAAQ,GAAQ,YAf5C,MACtB,KAAM,kBAAmBoB,WACrB,MAAM,IAAIU,MAAM,8BAEpB,KAAM,gBAAiBN,QACnB,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KAAM,IAC3DsC,EAAmB/D,KAAOwD,EAAqB/B,KAAK,KAAMsC,EAAmB/D,KAAKyB,KAAKsC,G,KCnFvF,IAAIE,EAAsB9G,EAAoBW,OAAER,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F8G,EAAsB9G,EAAoBW,EAAEmG,E","sources":["webpack://@genesislcap/foundation-shell/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-shell/webpack/runtime/load script","webpack://@genesislcap/foundation-shell/./src/serviceWorker/registration.ts","webpack://@genesislcap/foundation-shell/webpack/bootstrap","webpack://@genesislcap/foundation-shell/webpack/runtime/define property getters","webpack://@genesislcap/foundation-shell/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-shell/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-shell/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-shell/webpack/runtime/sharing","webpack://@genesislcap/foundation-shell/webpack/runtime/publicPath","webpack://@genesislcap/foundation-shell/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-shell/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@genesislcap/foundation-shell:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nconst checkCapabilities = () => {\n if (!('serviceWorker' in navigator)) {\n throw new Error('No Service Worker support!');\n }\n if (!('PushManager' in window)) {\n throw new Error('No Push API support!');\n }\n};\nconst registerServiceWorker = (registrationOptions) => __awaiter(this, void 0, void 0, function* () { return navigator.serviceWorker.register('/sw.js', registrationOptions); });\nconst requestNotificationPermission = () => __awaiter(this, void 0, void 0, function* () {\n const permission = yield window.Notification.requestPermission();\n if (permission !== 'granted') {\n console.error('Permission not granted for Notification');\n }\n});\nwindow.addEventListener('load', () => __awaiter(this, void 0, void 0, function* () {\n checkCapabilities();\n yield requestNotificationPermission();\n yield registerServiceWorker({ scope: '/' });\n}));\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\tif (cachedModule.error !== undefined) throw cachedModule.error;\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + (chunkId === 544 ? \"npm.microsoft\" : chunkId) + \".\" + chunkId + \".\" + {\"215\":\"4d15a7333e0070b7346a\",\"544\":\"8af3a36a8a0101fc2be0\",\"816\":\"913409256d123ccc197f\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"@genesislcap/foundation-shell\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@genesislcap/foundation-logger\", \"14.182.0\", () => (__webpack_require__.e(816).then(() => (() => (__webpack_require__(816))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.12.0\", () => (__webpack_require__.e(544).then(() => (() => (__webpack_require__(811))))));\n\t\t\tregister(\"tslib\", \"2.5.0\", () => (__webpack_require__.e(215).then(() => (() => (__webpack_require__(215))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t94: 0,\n\t147: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(147 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_genesislcap_foundation_shell\"] = self[\"webpackChunk_genesislcap_foundation_shell\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__.O(undefined, [147], () => (__webpack_require__(260)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","__awaiter","this","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","registerServiceWorker","registrationOptions","navigator","serviceWorker","register","requestNotificationPermission","window","Notification","requestPermission","console","error","addEventListener","Error","checkCapabilities","scope","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","threw","__webpack_modules__","call","m","c","O","chunkIds","fn","priority","notFulfilled","Infinity","i","length","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","chunkId","all","reduce","promises","u","miniCssF","obj","prop","prototype","hasOwnProperty","l","url","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","S","initPromises","initTokens","I","name","initScope","initToken","indexOf","uniqueName","version","factory","eager","versions","activeVersion","loaded","from","p","installedChunks","installedChunkData","promise","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"swRegistration.xxxxxxxxxxxxxxxxxxxx.js","mappings":"UAAIA,ECAAC,EACAC,E,kBCDJ,IAAIC,EAAaC,MAAQA,KAAKD,WAAc,SAAUE,EAASC,EAAYC,EAAGC,GAE1E,OAAO,IAAKD,IAAMA,EAAIE,WAAU,SAAUC,EAASC,GAC/C,SAASC,EAAUC,GAAS,IAAMC,EAAKN,EAAUO,KAAKF,GAAS,CAAE,MAAOG,GAAKL,EAAOK,EAAI,CAAE,CAC1F,SAASC,EAASJ,GAAS,IAAMC,EAAKN,EAAiB,MAAEK,GAAS,CAAE,MAAOG,GAAKL,EAAOK,EAAI,CAAE,CAC7F,SAASF,EAAKI,GAJlB,IAAeL,EAIaK,EAAOC,KAAOT,EAAQQ,EAAOL,QAJ1CA,EAIyDK,EAAOL,MAJhDA,aAAiBN,EAAIM,EAAQ,IAAIN,GAAE,SAAUG,GAAWA,EAAQG,EAAQ,KAIjBO,KAAKR,EAAWK,EAAW,CAC7GH,GAAMN,EAAYA,EAAUa,MAAMhB,EAASC,GAAc,KAAKS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,GAAYuG,EAAYvG,IAGhD,GAAGwG,EAAS,IAAI7H,EAAS6H,EAAQzG,EAClC,CAEA,IADGsG,GAA4BA,EAA2BC,GACrDtF,EAAIL,EAASM,OAAQD,IACzBgB,EAAUrB,EAASK,GAChBjB,EAAoB4B,EAAEkE,EAAiB7D,IAAY6D,EAAgB7D,IACrE6D,EAAgB7D,GAAS,KAE1B6D,EAAgB7D,GAAW,EAE5B,OAAOjC,EAAoBW,EAAE/B,EAAO,EAGjCgI,EAAqBC,KAAgD,0CAAIA,KAAgD,2CAAK,GAClID,EAAmBxC,QAAQiC,EAAqB/B,KAAK,KAAM,IAC3DsC,EAAmB/D,KAAOwD,EAAqB/B,KAAK,KAAMsC,EAAmB/D,KAAKyB,KAAKsC,G,KCnFvF,IAAIE,EAAsB9G,EAAoBW,OAAER,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F8G,EAAsB9G,EAAoBW,EAAEmG,E","sources":["webpack://@genesislcap/foundation-shell/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-shell/webpack/runtime/load script","webpack://@genesislcap/foundation-shell/./src/serviceWorker/registration.ts","webpack://@genesislcap/foundation-shell/webpack/bootstrap","webpack://@genesislcap/foundation-shell/webpack/runtime/define property getters","webpack://@genesislcap/foundation-shell/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-shell/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-shell/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-shell/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-shell/webpack/runtime/sharing","webpack://@genesislcap/foundation-shell/webpack/runtime/publicPath","webpack://@genesislcap/foundation-shell/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-shell/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@genesislcap/foundation-shell:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nconst checkCapabilities = () => {\n if (!('serviceWorker' in navigator)) {\n throw new Error('No Service Worker support!');\n }\n if (!('PushManager' in window)) {\n throw new Error('No Push API support!');\n }\n};\nconst registerServiceWorker = (registrationOptions) => __awaiter(this, void 0, void 0, function* () { return navigator.serviceWorker.register('/sw.js', registrationOptions); });\nconst requestNotificationPermission = () => __awaiter(this, void 0, void 0, function* () {\n const permission = yield window.Notification.requestPermission();\n if (permission !== 'granted') {\n console.error('Permission not granted for Notification');\n }\n});\nwindow.addEventListener('load', () => __awaiter(this, void 0, void 0, function* () {\n checkCapabilities();\n yield requestNotificationPermission();\n yield registerServiceWorker({ scope: '/' });\n}));\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\tif (cachedModule.error !== undefined) throw cachedModule.error;\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + (chunkId === 544 ? \"npm.microsoft\" : chunkId) + \".\" + chunkId + \".\" + {\"215\":\"4d15a7333e0070b7346a\",\"544\":\"8af3a36a8a0101fc2be0\",\"816\":\"258ab51d8cc26a3f262a\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"@genesislcap/foundation-shell\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@genesislcap/foundation-logger\", \"14.182.1\", () => (__webpack_require__.e(816).then(() => (() => (__webpack_require__(816))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.12.0\", () => (__webpack_require__.e(544).then(() => (() => (__webpack_require__(811))))));\n\t\t\tregister(\"tslib\", \"2.5.0\", () => (__webpack_require__.e(215).then(() => (() => (__webpack_require__(215))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t94: 0,\n\t720: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(720 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_genesislcap_foundation_shell\"] = self[\"webpackChunk_genesislcap_foundation_shell\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__.O(undefined, [720], () => (__webpack_require__(260)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","__awaiter","this","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","registerServiceWorker","registrationOptions","navigator","serviceWorker","register","requestNotificationPermission","window","Notification","requestPermission","console","error","addEventListener","Error","checkCapabilities","scope","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","threw","__webpack_modules__","call","m","c","O","chunkIds","fn","priority","notFulfilled","Infinity","i","length","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","chunkId","all","reduce","promises","u","miniCssF","obj","prop","prototype","hasOwnProperty","l","url","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","S","initPromises","initTokens","I","name","initScope","initToken","indexOf","uniqueName","version","factory","eager","versions","activeVersion","loaded","from","p","installedChunks","installedChunkData","promise","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
package/dist/{swRegistration.23aa165e4d20be1e03c0.js → swRegistration.c3cc3f42c169f1ec4062.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var e,r,t,o={260:function(){var e=this&&this.__awaiter||function(e,r,t,o){return new(t||(t=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}l((o=o.apply(e,r||[])).next())}))};const r=r=>e(this,void 0,void 0,(function*(){return navigator.serviceWorker.register("/sw.js",r)})),t=()=>e(this,void 0,void 0,(function*(){"granted"!==(yield window.Notification.requestPermission())&&console.error("Permission not granted for Notification")}));window.addEventListener("load",(()=>e(this,void 0,void 0,(function*(){(()=>{if(!("serviceWorker"in navigator))throw new Error("No Service Worker support!");if(!("PushManager"in window))throw new Error("No Push API support!")})(),yield t(),yield r({scope:"/"})}))))}},n={};function i(e){var r=n[e];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var t=n[e]={exports:{}},a=!0;try{o[e].call(t.exports,t,t.exports,i),a=!1}finally{a&&delete n[e]}return t.exports}i.m=o,i.c=n,e=[],i.O=(r,t,o,n)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,n]=e[f],s=!0,l=0;l<t.length;l++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](t[l])))?t.splice(l--,1):(s=!1,n<a&&(a=n));if(s){e.splice(f--,1);var d=o();void 0!==d&&(r=d)}}return r}n=n||0;for(var f=e.length;f>0&&e[f-1][2]>n;f--)e[f]=e[f-1];e[f]=[t,o,n]},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>(544===e?"npm.microsoft":e)+"."+e+"."+{215:"4d15a7333e0070b7346a",544:"8af3a36a8a0101fc2be0",816:"
|
|
2
|
-
//# sourceMappingURL=swRegistration.
|
|
1
|
+
(()=>{var e,r,t,o={260:function(){var e=this&&this.__awaiter||function(e,r,t,o){return new(t||(t=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(a,s)}l((o=o.apply(e,r||[])).next())}))};const r=r=>e(this,void 0,void 0,(function*(){return navigator.serviceWorker.register("/sw.js",r)})),t=()=>e(this,void 0,void 0,(function*(){"granted"!==(yield window.Notification.requestPermission())&&console.error("Permission not granted for Notification")}));window.addEventListener("load",(()=>e(this,void 0,void 0,(function*(){(()=>{if(!("serviceWorker"in navigator))throw new Error("No Service Worker support!");if(!("PushManager"in window))throw new Error("No Push API support!")})(),yield t(),yield r({scope:"/"})}))))}},n={};function i(e){var r=n[e];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var t=n[e]={exports:{}},a=!0;try{o[e].call(t.exports,t,t.exports,i),a=!1}finally{a&&delete n[e]}return t.exports}i.m=o,i.c=n,e=[],i.O=(r,t,o,n)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,n]=e[f],s=!0,l=0;l<t.length;l++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](t[l])))?t.splice(l--,1):(s=!1,n<a&&(a=n));if(s){e.splice(f--,1);var d=o();void 0!==d&&(r=d)}}return r}n=n||0;for(var f=e.length;f>0&&e[f-1][2]>n;f--)e[f]=e[f-1];e[f]=[t,o,n]},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>(544===e?"npm.microsoft":e)+"."+e+"."+{215:"4d15a7333e0070b7346a",544:"8af3a36a8a0101fc2be0",816:"258ab51d8cc26a3f262a"}[e]+".js",i.miniCssF=e=>{},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="@genesislcap/foundation-shell:",i.l=(e,o,n,a)=>{if(r[e])r[e].push(o);else{var s,l;if(void 0!==n)for(var d=document.getElementsByTagName("script"),f=0;f<d.length;f++){var u=d[f];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==t+n){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+n),s.src=e),r[e]=[o];var c=(t,o)=>{s.onerror=s.onload=null,clearTimeout(v);var n=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((e=>e(o))),t)return t(o)},v=setTimeout(c.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=c.bind(null,s.onerror),s.onload=c.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{i.S={};var e={},r={};i.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var a=i.S[t],s="@genesislcap/foundation-shell",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},i=n[r];(!i||!i.loaded&&(!o!=!i.eager?o:s>i.from))&&(n[r]={get:t,from:s,eager:!!o})},d=[];if("default"===t)l("@genesislcap/foundation-logger","14.182.1",(()=>i.e(816).then((()=>()=>i(816))))),l("@microsoft/fast-element","1.12.0",(()=>i.e(544).then((()=>()=>i(811))))),l("tslib","2.5.0",(()=>i.e(215).then((()=>()=>i(215)))));return d.length?e[t]=Promise.all(d).then((()=>e[t]=1)):e[t]=1}}})(),i.p="/",(()=>{var e={94:0,720:0};i.f.j=(r,t)=>{var o=i.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(720!=r){var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=i.p+i.u(r),s=new Error;i.l(a,(t=>{if(i.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;s.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",s.name="ChunkLoadError",s.type=n,s.request=a,o[1](s)}}),"chunk-"+r,r)}else e[r]=0},i.O.j=r=>0===e[r];var r=(r,t)=>{var o,n,[a,s,l]=t,d=0;if(a.some((r=>0!==e[r]))){for(o in s)i.o(s,o)&&(i.m[o]=s[o]);if(l)var f=l(i)}for(r&&r(t);d<a.length;d++)n=a[d],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(f)},t=self.webpackChunk_genesislcap_foundation_shell=self.webpackChunk_genesislcap_foundation_shell||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var a=i.O(void 0,[720],(()=>i(260)));a=i.O(a)})();
|
|
2
|
+
//# sourceMappingURL=swRegistration.7012d3bb321b1a6376ecdaf30e46874b.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-shell",
|
|
3
3
|
"description": "Genesis Foundation Shell",
|
|
4
|
-
"version": "14.182.
|
|
4
|
+
"version": "14.182.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/dts/index.d.ts",
|
|
@@ -51,20 +51,20 @@
|
|
|
51
51
|
"test:coverage": "genx test --coverage"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@genesislcap/foundation-testing": "14.182.
|
|
55
|
-
"@genesislcap/genx": "14.182.
|
|
56
|
-
"@genesislcap/rollup-builder": "14.182.
|
|
57
|
-
"@genesislcap/ts-builder": "14.182.
|
|
58
|
-
"@genesislcap/uvu-playwright-builder": "14.182.
|
|
59
|
-
"@genesislcap/vite-builder": "14.182.
|
|
60
|
-
"@genesislcap/webpack-builder": "14.182.
|
|
54
|
+
"@genesislcap/foundation-testing": "14.182.2",
|
|
55
|
+
"@genesislcap/genx": "14.182.2",
|
|
56
|
+
"@genesislcap/rollup-builder": "14.182.2",
|
|
57
|
+
"@genesislcap/ts-builder": "14.182.2",
|
|
58
|
+
"@genesislcap/uvu-playwright-builder": "14.182.2",
|
|
59
|
+
"@genesislcap/vite-builder": "14.182.2",
|
|
60
|
+
"@genesislcap/webpack-builder": "14.182.2",
|
|
61
61
|
"rimraf": "^3.0.2"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@genesislcap/foundation-logger": "14.182.
|
|
65
|
-
"@genesislcap/foundation-store": "14.182.
|
|
66
|
-
"@genesislcap/foundation-ui": "14.182.
|
|
67
|
-
"@genesislcap/foundation-utils": "14.182.
|
|
64
|
+
"@genesislcap/foundation-logger": "14.182.2",
|
|
65
|
+
"@genesislcap/foundation-store": "14.182.2",
|
|
66
|
+
"@genesislcap/foundation-ui": "14.182.2",
|
|
67
|
+
"@genesislcap/foundation-utils": "14.182.2",
|
|
68
68
|
"@microsoft/fast-element": "^1.12.0",
|
|
69
69
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
70
70
|
"@microsoft/fast-router": "^0.4.8",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "797302335de36cae641850d319e01bd258f5d6fa"
|
|
90
90
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_genesislcap_foundation_shell=self.webpackChunk_genesislcap_foundation_shell||[]).push([[816],{82:function(t){t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){if(t){if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function c(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=a(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s,i=!0,n=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){var t=o.next();return i=t.done,t},e:function(t){n=!0,s=t},f:function(){try{i||null==o.return||o.return()}finally{if(n)throw s}}}}var u={};u[u.Fatal=0]="Fatal",u[u.Error=0]="Error",u[u.Warn=1]="Warn",u[u.Log=2]="Log",u[u.Info=3]="Info",u[u.Success=3]="Success",u[u.Debug=4]="Debug",u[u.Trace=5]="Trace",u[u.Silent=-1/0]="Silent",u[u.Verbose=1/0]="Verbose";var h={silent:{level:-1},fatal:{level:u.Fatal},error:{level:u.Error},warn:{level:u.Warn},log:{level:u.Log},info:{level:u.Info},success:{level:u.Success},debug:{level:u.Debug},trace:{level:u.Trace},verbose:{level:u.Trace},ready:{level:u.Info},start:{level:u.Info}};function p(t){return e=t,!("[object Object]"!==Object.prototype.toString.call(e)||!t.message&&!t.args||t.stack);var e}var _=!1,d=[],g=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var o in t(this,e),this._reporters=r.reporters||[],this._types=r.types||h,this.level=void 0!==r.level?r.level:3,this._defaults=r.defaults||{},this._async=void 0!==r.async?r.async:void 0,this._stdout=r.stdout,this._stderr=r.stderr,this._mockFn=r.mockFn,this._throttle=r.throttle||1e3,this._throttleMin=r.throttleMin||5,this._types){var s=i(i({type:o},this._types[o]),this._defaults);this[o]=this._wrapLogFn(s),this[o].raw=this._wrapLogFn(s,!0)}this._mockFn&&this.mockTypes(),this._lastLogSerialized=void 0,this._lastLog=void 0,this._lastLogTime=void 0,this._lastLogCount=0,this._throttleTimeout=void 0}return r(e,[{key:"create",value:function(t){return new e(Object.assign({reporters:this._reporters,level:this.level,types:this._types,defaults:this._defaults,stdout:this._stdout,stderr:this._stderr,mockFn:this._mockFn},t))}},{key:"withDefaults",value:function(t){return this.create({defaults:Object.assign({},this._defaults,t)})}},{key:"withTag",value:function(t){return this.withDefaults({tag:this._defaults.tag?this._defaults.tag+":"+t:t})}},{key:"addReporter",value:function(t){return this._reporters.push(t),this}},{key:"removeReporter",value:function(t){if(t){var e=this._reporters.indexOf(t);if(e>=0)return this._reporters.splice(e,1)}else this._reporters.splice(0);return this}},{key:"setReporters",value:function(t){return this._reporters=Array.isArray(t)?t:[t],this}},{key:"wrapAll",value:function(){this.wrapConsole(),this.wrapStd()}},{key:"restoreAll",value:function(){this.restoreConsole(),this.restoreStd()}},{key:"wrapConsole",value:function(){for(var t in this._types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}},{key:"restoreConsole",value:function(){for(var t in this._types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}},{key:"wrapStd",value:function(){this._wrapStream(this.stdout,"log"),this._wrapStream(this.stderr,"log")}},{key:"_wrapStream",value:function(t,e){var r=this;t&&(t.__write||(t.__write=t.write),t.write=function(t){r[e].raw(String(t).trim())})}},{key:"restoreStd",value:function(){this._restoreStream(this.stdout),this._restoreStream(this.stderr)}},{key:"_restoreStream",value:function(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}},{key:"pauseLogs",value:function(){_=!0}},{key:"resumeLogs",value:function(){_=!1;var t,e=c(d.splice(0));try{for(e.s();!(t=e.n()).done;){var r=t.value;r[0]._logFn(r[1],r[2])}}catch(t){e.e(t)}finally{e.f()}}},{key:"mockTypes",value:function(t){if(this._mockFn=t||this._mockFn,"function"==typeof this._mockFn)for(var e in this._types)this[e]=this._mockFn(e,this._types[e])||this[e],this[e].raw=this[e]}},{key:"_wrapLogFn",value:function(t,e){var r=this;return function(){for(var o=arguments.length,s=new Array(o),i=0;i<o;i++)s[i]=arguments[i];if(!_)return r._logFn(t,s,e);d.push([r,t,s,e])}}},{key:"_logFn",value:function(t,e,r){var o=this;if(t.level>this.level)return!!this._async&&Promise.resolve(!1);var s=Object.assign({date:new Date,args:[]},t);!r&&1===e.length&&p(e[0])?Object.assign(s,e[0]):s.args=Array.from(e),s.message&&(s.args.unshift(s.message),delete s.message),s.additional&&(Array.isArray(s.additional)||(s.additional=s.additional.split("\n")),s.args.push("\n"+s.additional.join("\n")),delete s.additional),s.type="string"==typeof s.type?s.type.toLowerCase():"",s.tag="string"==typeof s.tag?s.tag.toLowerCase():"";var a=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=o._lastLogCount-o._throttleMin;if(o._lastLog&&e>0){var r=n(o._lastLog.args);e>1&&r.push("(repeated ".concat(e," times)")),o._log(i(i({},o._lastLog),{},{args:r})),o._lastLogCount=1}if(t){if(o._lastLog=s,o._async)return o._logAsync(s);o._log(s)}};clearTimeout(this._throttleTimeout);var l=this._lastLogTime?s.date-this._lastLogTime:0;if(this._lastLogTime=s.date,l<this._throttle)try{var c=JSON.stringify([s.type,s.tag,s.args]),u=this._lastLogSerialized===c;if(this._lastLogSerialized=c,u&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(a,this._throttle))}catch(t){}a(!0)}},{key:"_log",value:function(t){var e,r=c(this._reporters);try{for(r.s();!(e=r.n()).done;)e.value.log(t,{async:!1,stdout:this.stdout,stderr:this.stderr})}catch(t){r.e(t)}finally{r.f()}}},{key:"_logAsync",value:function(t){var e=this;return Promise.all(this._reporters.map((function(r){return r.log(t,{async:!0,stdout:e.stdout,stderr:e.stderr})})))}},{key:"stdout",get:function(){return this._stdout||console._stdout}},{key:"stderr",get:function(){return this._stderr||console._stderr}}]),e}();g.prototype.add=g.prototype.addReporter,g.prototype.remove=g.prototype.removeReporter,g.prototype.clear=g.prototype.removeReporter,g.prototype.withScope=g.prototype.withTag,g.prototype.mock=g.prototype.mockTypes,g.prototype.pause=g.prototype.pauseLogs,g.prototype.resume=g.prototype.resumeLogs;var f,y=function(){function e(r){t(this,e),this.options=Object.assign({},r),this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}return r(e,[{key:"log",value:function(t){var e=t.level<1?console.__error||console.error:1===t.level&&console.warn?console.__warn||console.warn:console.__log||console.log,r="log"!==t.type?t.type:"",o=t.tag?t.tag:"",s=this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor,i="\n background: ".concat(s,";\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n "),a="%c".concat([o,r].filter(Boolean).join(":"));"string"==typeof t.args[0]?e.apply(void 0,["".concat(a,"%c ").concat(t.args[0]),i,""].concat(n(t.args.slice(1)))):e.apply(void 0,[a,i].concat(n(t.args)))}}]),e}();return"undefined"!=typeof window&&window.consola||((f=new g({reporters:[new y]})).Consola=g,f.LogLevel=u,f.BrowserReporter=y,f)}()},816:(t,e,r)=>{"use strict";r.r(e),r.d(e,{LogLevel:()=>o.LogLevel,createLogger:()=>d,defaultLoggerOptions:()=>_});var o=r(82);const s={};s[s.Fatal=0]="Fatal",s[s.Error=0]="Error",s[s.Warn=1]="Warn",s[s.Log=2]="Log",s[s.Info=3]="Info",s[s.Success=3]="Success",s[s.Debug=4]="Debug",s[s.Trace=5]="Trace",s[s.Silent=-1/0]="Silent",s[s.Verbose=1/0]="Verbose";const i={silent:{level:-1},fatal:{level:s.Fatal},error:{level:s.Error},warn:{level:s.Warn},log:{level:s.Log},info:{level:s.Info},success:{level:s.Success},debug:{level:s.Debug},trace:{level:s.Trace},verbose:{level:s.Trace},ready:{level:s.Info},start:{level:s.Info}};function n(t){return e=t,"[object Object]"===Object.prototype.toString.call(e)&&(!(!t.message&&!t.args)&&!t.stack);var e}let a=!1;const l=[];class c{constructor(t={}){this._reporters=t.reporters||[],this._types=t.types||i,this.level=void 0!==t.level?t.level:3,this._defaults=t.defaults||{},this._async=void 0!==t.async?t.async:void 0,this._stdout=t.stdout,this._stderr=t.stderr,this._mockFn=t.mockFn,this._throttle=t.throttle||1e3,this._throttleMin=t.throttleMin||5;for(const t in this._types){const e={type:t,...this._types[t],...this._defaults};this[t]=this._wrapLogFn(e),this[t].raw=this._wrapLogFn(e,!0)}this._mockFn&&this.mockTypes(),this._lastLogSerialized=void 0,this._lastLog=void 0,this._lastLogTime=void 0,this._lastLogCount=0,this._throttleTimeout=void 0}get stdout(){return this._stdout||console._stdout}get stderr(){return this._stderr||console._stderr}create(t){return new c(Object.assign({reporters:this._reporters,level:this.level,types:this._types,defaults:this._defaults,stdout:this._stdout,stderr:this._stderr,mockFn:this._mockFn},t))}withDefaults(t){return this.create({defaults:Object.assign({},this._defaults,t)})}withTag(t){return this.withDefaults({tag:this._defaults.tag?this._defaults.tag+":"+t:t})}addReporter(t){return this._reporters.push(t),this}removeReporter(t){if(t){const e=this._reporters.indexOf(t);if(e>=0)return this._reporters.splice(e,1)}else this._reporters.splice(0);return this}setReporters(t){return this._reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this._types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this._types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.stdout,"log"),this._wrapStream(this.stderr,"log")}_wrapStream(t,e){t&&(t.__write||(t.__write=t.write),t.write=t=>{this[e].raw(String(t).trim())})}restoreStd(){this._restoreStream(this.stdout),this._restoreStream(this.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){a=!0}resumeLogs(){a=!1;const t=l.splice(0);for(const e of t)e[0]._logFn(e[1],e[2])}mockTypes(t){if(this._mockFn=t||this._mockFn,"function"==typeof this._mockFn)for(const t in this._types)this[t]=this._mockFn(t,this._types[t])||this[t],this[t].raw=this[t]}_wrapLogFn(t,e){return(...r)=>{if(!a)return this._logFn(t,r,e);l.push([this,t,r,e])}}_logFn(t,e,r){if(t.level>this.level)return!!this._async&&Promise.resolve(!1);const o=Object.assign({date:new Date,args:[]},t);!r&&1===e.length&&n(e[0])?Object.assign(o,e[0]):o.args=Array.from(e),o.message&&(o.args.unshift(o.message),delete o.message),o.additional&&(Array.isArray(o.additional)||(o.additional=o.additional.split("\n")),o.args.push("\n"+o.additional.join("\n")),delete o.additional),o.type="string"==typeof o.type?o.type.toLowerCase():"",o.tag="string"==typeof o.tag?o.tag.toLowerCase():"";const s=(t=!1)=>{const e=this._lastLogCount-this._throttleMin;if(this._lastLog&&e>0){const t=[...this._lastLog.args];e>1&&t.push(`(repeated ${e} times)`),this._log({...this._lastLog,args:t}),this._lastLogCount=1}if(t){if(this._lastLog=o,this._async)return this._logAsync(o);this._log(o)}};clearTimeout(this._throttleTimeout);const i=this._lastLogTime?o.date-this._lastLogTime:0;if(this._lastLogTime=o.date,i<this._throttle)try{const t=JSON.stringify([o.type,o.tag,o.args]),e=this._lastLogSerialized===t;if(this._lastLogSerialized=t,e&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(s,this._throttle))}catch(t){}s(!0)}_log(t){for(const e of this._reporters)e.log(t,{async:!1,stdout:this.stdout,stderr:this.stderr})}_logAsync(t){return Promise.all(this._reporters.map((e=>e.log(t,{async:!0,stdout:this.stdout,stderr:this.stderr}))))}}c.prototype.add=c.prototype.addReporter,c.prototype.remove=c.prototype.removeReporter,c.prototype.clear=c.prototype.removeReporter,c.prototype.withScope=c.prototype.withTag,c.prototype.mock=c.prototype.mockTypes,c.prototype.pause=c.prototype.pauseLogs,c.prototype.resume=c.prototype.resumeLogs;const u=c;class h{constructor(t){this.options=Object.assign({},t),this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}log(t){const e=t.level<1?console.__error||console.error:1===t.level&&console.warn?console.__warn||console.warn:console.__log||console.log,r="log"!==t.type?t.type:"",o=t.tag?t.tag:"",s=`\n background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor};\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n `,i=`%c${[o,r].filter(Boolean).join(":")}`;"string"==typeof t.args[0]?e(`${i}%c ${t.args[0]}`,s,"",...t.args.slice(1)):e(i,s,...t.args)}}const p="undefined"!=typeof window&&window.consola||function(){const t=new u({reporters:[new h]});return t.Consola=u,t.LogLevel=s,t.BrowserReporter=h,t}(),_={level:o.LogLevel.Debug};function d(t,e=_){const r=p.create(e).withTag(t);return Object.assign(Object.assign({},r),{deprecated:(t,e="Consult docs for better alternative.",o)=>{r.warn(`Deprecated symbol used '${t}'. ${e}`,""+(o?`Will be removed in version ${o}.`:""))}})}}}]);
|
|
2
|
-
//# sourceMappingURL=816.9feaa2f412f97296614244eebf1f91b3.js.map
|