{“version”:3,“file”:“workbox-navigation-preload.prod.js”,“sources”:,“sourcesContent”:[“"use strict";n// @ts-ignorentry {n self && _();n}ncatch (e) { }n”,“/*n Copyright 2018 Google LLCnn Use of this source code is governed by an MIT-stylen license that can be found in the LICENSE file or atn opensource.org/licenses/MIT.n*/nimport './_version.js';n/**n * @return {boolean} Whether or not the current browser supports enablingn * navigation preload.n *n * @memberof module:workbox-navigation-preloadn */nfunction isSupported() {n return Boolean(self.registration && self.registration.navigationPreload);n}nexport { isSupported };n”,“/*n Copyright 2018 Google LLCnn Use of this source code is governed by an MIT-stylen license that can be found in the LICENSE file or atn opensource.org/licenses/MIT.n*/nimport { logger } from 'workbox-core/_private/logger.js';nimport { isSupported } from './isSupported.js';nimport './_version.js';n/**n * If the browser supports Navigation Preload, then this will disable it.n *n * @memberof module:workbox-navigation-preloadn */nfunction disable() {n if (isSupported()) {n self.addEventListener('activate', (event) => {n event.waitUntil(self.registration.navigationPreload.disable().then(() => {n if (process.env.NODE_ENV !== 'production') {n logger.log(`Navigation preload is disabled.`);n }n }));n });n }n else {n if (process.env.NODE_ENV !== 'production') {n logger.log(`Navigation preload is not supported in this browser.`);n }n }n}nexport { disable };n”,“/*n Copyright 2018 Google LLCnn Use of this source code is governed by an MIT-stylen license that can be found in the LICENSE file or atn opensource.org/licenses/MIT.n*/nimport { logger } from 'workbox-core/_private/logger.js';nimport { isSupported } from './isSupported.js';nimport './_version.js';n/**n * If the browser supports Navigation Preload, then this will enable it.n *n * @param {string} [headerValue] Optionally, allows developers ton * [override](developers.google.com/web/updates/2017/02/navigation-preload#changing_the_header)n * the value of the `Service-Worker-Navigation-Preload` header which will ben * sent to the server when making the navigation request.n *n * @memberof module:workbox-navigation-preloadn */nfunction enable(headerValue) {n if (isSupported()) {n self.addEventListener('activate', (event) => {n event.waitUntil(self.registration.navigationPreload.enable().then(() => {n // Defaults to Service-Worker-Navigation-Preload: true if not set.n if (headerValue) {n self.registration.navigationPreload.setHeaderValue(headerValue);n }n if (process.env.NODE_ENV !== 'production') {n logger.log(`Navigation preload is enabled.`);n }n }));n });n }n else {n if (process.env.NODE_ENV !== 'production') {n logger.log(`Navigation preload is not supported in this browser.`);n }n }n}nexport { enable };n”],“names”:,“mappings”:“sFAEA,IACIA,KAAK,qCAAuCC,IAEhD,MAAOC,ICSP,SAASC,WACEC,QAAQJ,KAAKK,cAAgBL,KAAKK,aAAaC,oCCA1D,WACQH,KACAH,KAAKO,iBAAiB,WAAaC,IAC/BA,EAAMC,UAAUT,KAAKK,aAAaC,kBAAkBI,UAAUC,KAAK,qBCE/E,SAAgBC,GACRT,KACAH,KAAKO,iBAAiB,WAAaC,IAC/BA,EAAMC,UAAUT,KAAKK,aAAaC,kBAAkBO,SAASF,KAAK,KAE1DC,GACAZ,KAAKK,aAAaC,kBAAkBQ,eAAeF”}