Sha256: 6e25a3bdf8d4db8772c28f76cc8c5cadff5ad62d3f91fc15ec2a6eed02456309
Contents?: true
Size: 1.65 KB
Versions: 75
Compression:
Stored size: 1.65 KB
Contents
{"version":3,"file":"previousElementSibling.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/Element/prototype/previousElementSibling.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/previousElementSibling/detect.js\n var detect = (\n 'document' in this && \"previousElementSibling\" 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/previousElementSibling/polyfill.js\n Object.defineProperty(Element.prototype, 'previousElementSibling', {\n get: function(){\n var el = this.previousSibling;\n while (el && el.nodeType !== 1) { el = el.previousSibling; }\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,wBAAwB,IAAI,QAAQ,CAAC,eAAe;MAC3E;;IAED,IAAI,MAAM,EAAE,MAAM;;;IAGlB,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,SAAS,EAAE,wBAAwB,EAAE;MACjE,GAAG,EAAE,UAAU;QACb,IAAI,EAAE,GAAG,IAAI,CAAC,eAAe,CAAC;QAC9B,OAAO,EAAE,IAAI,EAAE,CAAC,QAAQ,KAAK,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,EAAE;QAC5D,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