Sha256: fb7ee3d59dd24c0e80c73d2b64c9432cc6f4b0332c4d86c0b4d37590918f0b3b

Contents?: true

Size: 1.62 KB

Versions: 75

Compression:

Stored size: 1.62 KB

Contents

{"version":3,"file":"nextElementSibling.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/Element/prototype/nextElementSibling.mjs"],"sourcesContent":["// @ts-nocheck\nimport '../../Object/defineProperty.mjs'\nimport '../../Element.mjs'\n\n(function(undefined) {\n\n    // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/detect.js\n    var detect = (\n      'document' in this && \"nextElementSibling\" in document.documentElement\n    )\n\n    if (detect) return\n\n    // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/polyfill.js\n    Object.defineProperty(Element.prototype, \"nextElementSibling\", {\n      get: function(){\n        var el = this.nextSibling;\n        while (el && el.nodeType !== 1) { el = el.nextSibling; }\n        return el;\n      }\n    });\n\n}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":";;;AAAA;AACA,AAEA;AACA,CAAC,SAAS,SAAS,EAAE;;;IAGjB,IAAI,MAAM;MACR,UAAU,IAAI,IAAI,IAAI,oBAAoB,IAAI,QAAQ,CAAC,eAAe;MACvE;;IAED,IAAI,MAAM,EAAE,MAAM;;;IAGlB,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,EAAE;MAC7D,GAAG,EAAE,UAAU;QACb,IAAI,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC;QAC1B,OAAO,EAAE,IAAI,EAAE,CAAC,QAAQ,KAAK,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE;QACxD,OAAO,EAAE,CAAC;OACX;KACF,CAAC,CAAC;;CAEN,EAAE,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}

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/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-39.2.4 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-39.2.3 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-39.2.2 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-39.2.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-39.2.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-39.1.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-39.0.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-38.4.2 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-38.1.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-38.1.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-38.0.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-38.0.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-37.10.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-37.9.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-37.9.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-37.8.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-37.8.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-37.7.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
govuk_publishing_components-37.7.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map