Sha256: c6b5058a5e5be39cfc66c706742dc87654cc9b110b9a25658d5fc6d104d4910b

Contents?: true

Size: 812 Bytes

Versions: 75

Compression:

Stored size: 812 Bytes

Contents

// @ts-nocheck
(function (undefined) {

// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Window/detect.js
var detect = ('Window' in this);

if (detect) return

// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Window&flags=always
if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "function")) {
	(function (global) {
		if (global.constructor) {
			global.Window = global.constructor;
		} else {
			(global.Window = global.constructor = new Function('return function Window() {}')()).prototype = this;
		}
	}(this));
}

})
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
//# sourceMappingURL=vendor/polyfills/Window.mjs.map

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
govuk_publishing_components-39.2.5 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-39.2.4 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-39.2.3 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-39.2.2 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-39.2.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-39.2.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-39.1.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-39.0.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-38.4.2 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-38.1.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-38.1.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-38.0.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-38.0.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-37.10.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-37.9.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-37.9.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-37.8.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-37.8.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-37.7.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-37.7.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs