Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/dist/js/vendor/respond.js.map

Issue 29624561: Issue 6104 - Minified code in help center repository (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Move all requires to top of gulpfile.js Created Dec. 4, 2017, 2:10 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: static/dist/js/vendor/respond.js.map
===================================================================
new file mode 100644
--- /dev/null
+++ b/static/dist/js/vendor/respond.js.map
@@ -0,0 +1,1 @@
+{"version":3,"names":[],"mappings":"","sources":["respond.js"],"sourcesContent":["/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl\n * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT\n * */\n\n! function(a) {\n \"use strict\";\n a.matchMedia = a.matchMedia || function(a) {\n var b, c = a.documentElement,\n d = c.firstElementChild || c.firstChild,\n e = a.createElement(\"body\"),\n f = a.createElement(\"div\");\n return f.id = \"mq-test-1\", f.style.cssText = \"position:absolute;top:-100em\", e.style.background = \"none\", e.appendChild(f),\n function(a) {\n return f.innerHTML = '&shy;<style media=\"' + a + '\"> #mq-test-1 { width: 42px; }</style>', c.insertBefore(e, d), b = 42 === f.offsetWidth, c.removeChild(e), {\n matches: b,\n media: a\n }\n }\n }(a.document)\n}(this),\nfunction(a) {\n \"use strict\";\n\n function b() {\n u(!0)\n }\n var c = {};\n a.respond = c, c.update = function() {};\n var d = [],\n e = function() {\n var b = !1;\n try {\n b = new a.XMLHttpRequest\n } catch (c) {\n b = new a.ActiveXObject(\"Microsoft.XMLHTTP\")\n }\n return function() {\n return b\n }\n }(),\n f = function(a, b) {\n var c = e();\n c && (c.open(\"GET\", a, !0), c.onreadystatechange = function() {\n 4 !== c.readyState || 200 !== c.status && 304 !== c.status || b(c.responseText)\n }, 4 !== c.readyState && c.send(null))\n };\n if (c.ajax = f, c.queue = d, c.regex = {\n media: /@media[^\\{]+\\{([^\\{\\}]*\\{[^\\}\\{]*\\})+/gi,\n keyframes: /@(?:\\-(?:o|moz|webkit)\\-)?keyframes[^\\{]+\\{(?:[^\\{\\}]*\\{[^\\}\\{]*\\})+[^\\}]*\\}/gi,\n urls: /(url\\()['\"]?([^\\/\\)'\"][^:\\)'\"]+)['\"]?(\\))/g,\n findStyles: /@media *([^\\{]+)\\{([\\S\\s]+?)$/,\n only: /(only\\s+)?([a-zA-Z]+)\\s?/,\n minw: /\\([\\s]*min\\-width\\s*:[\\s]*([\\s]*[0-9\\.]+)(px|em)[\\s]*\\)/,\n maxw: /\\([\\s]*max\\-width\\s*:[\\s]*([\\s]*[0-9\\.]+)(px|em)[\\s]*\\)/\n }, c.mediaQueriesSupported = a.matchMedia && null !== a.matchMedia(\"only all\") && a.matchMedia(\"only all\").matches, !c.mediaQueriesSupported) {\n var g, h, i, j = a.document,\n k = j.documentElement,\n l = [],\n m = [],\n n = [],\n o = {},\n p = 30,\n q = j.getElementsByTagName(\"head\")[0] || k,\n r = j.getElementsByTagName(\"base\")[0],\n s = q.getElementsByTagName(\"link\"),\n t = function() {\n var a, b = j.createElement(\"div\"),\n c = j.body,\n d = k.style.fontSize,\n e = c && c.style.fontSize,\n f = !1;\n return b.style.cssText = \"position:absolute;font-size:1em;width:1em\", c || (c = f = j.createElement(\"body\"), c.style.background = \"none\"), k.style.fontSize = \"100%\", c.style.fontSize = \"100%\", c.appendChild(b), f && k.insertBefore(c, k.firstChild), a = b.offsetWidth, f ? k.removeChild(c) : c.removeChild(b), k.style.fontSize = d, e && (c.style.fontSize = e), a = i = parseFloat(a)\n },\n u = function(b) {\n var c = \"clientWidth\",\n d = k[c],\n e = \"CSS1Compat\" === j.compatMode && d || j.body[c] || d,\n f = {},\n o = s[s.length - 1],\n r = (new Date).getTime();\n if (b && g && p > r - g) return a.clearTimeout(h), h = a.setTimeout(u, p), void 0;\n g = r;\n for (var v in l)\n if (l.hasOwnProperty(v)) {\n var w = l[v],\n x = w.minw,\n y = w.maxw,\n z = null === x,\n A = null === y,\n B = \"em\";\n x && (x = parseFloat(x) * (x.indexOf(B) > -1 ? i || t() : 1)), y && (y = parseFloat(y) * (y.indexOf(B) > -1 ? i || t() : 1)), w.hasquery && (z && A || !(z || e >= x) || !(A || y >= e)) || (f[w.media] || (f[w.media] = []), f[w.media].push(m[w.rules]))\n }\n for (var C in n) n.hasOwnProperty(C) && n[C] && n[C].parentNode === q && q.removeChild(n[C]);\n n.length = 0;\n for (var D in f)\n if (f.hasOwnProperty(D)) {\n var E = j.createElement(\"style\"),\n F = f[D].join(\"\\n\");\n E.type = \"text/css\", E.media = D, q.insertBefore(E, o.nextSibling), E.styleSheet ? E.styleSheet.cssText = F : E.appendChild(j.createTextNode(F)), n.push(E)\n }\n },\n v = function(a, b, d) {\n var e = a.replace(c.regex.keyframes, \"\").match(c.regex.media),\n f = e && e.length || 0;\n b = b.substring(0, b.lastIndexOf(\"/\"));\n var g = function(a) {\n return a.replace(c.regex.urls, \"$1\" + b + \"$2$3\")\n },\n h = !f && d;\n b.length && (b += \"/\"), h && (f = 1);\n for (var i = 0; f > i; i++) {\n var j, k, n, o;\n h ? (j = d, m.push(g(a))) : (j = e[i].match(c.regex.findStyles) && RegExp.$1, m.push(RegExp.$2 && g(RegExp.$2))), n = j.split(\",\"), o = n.length;\n for (var p = 0; o > p; p++) k = n[p], l.push({\n media: k.split(\"(\")[0].match(c.regex.only) && RegExp.$2 || \"all\",\n rules: m.length - 1,\n hasquery: k.indexOf(\"(\") > -1,\n minw: k.match(c.regex.minw) && parseFloat(RegExp.$1) + (RegExp.$2 || \"\"),\n maxw: k.match(c.regex.maxw) && parseFloat(RegExp.$1) + (RegExp.$2 || \"\")\n })\n }\n u()\n },\n w = function() {\n if (d.length) {\n var b = d.shift();\n f(b.href, function(c) {\n v(c, b.href, b.media), o[b.href] = !0, a.setTimeout(function() {\n w()\n }, 0)\n })\n }\n },\n x = function() {\n for (var b = 0; b < s.length; b++) {\n var c = s[b],\n e = c.href,\n f = c.media,\n g = c.rel && \"stylesheet\" === c.rel.toLowerCase();\n e && g && !o[e] && (c.styleSheet && c.styleSheet.rawCssText ? (v(c.styleSheet.rawCssText, e, f), o[e] = !0) : (!/^([a-zA-Z:]*\\/\\/)/.test(e) && !r || e.replace(RegExp.$1, \"\").split(\"/\")[0] === a.location.host) && (\"//\" === e.substring(0, 2) && (e = a.location.protocol + e), d.push({\n href: e,\n media: f\n })))\n }\n w()\n };\n x(), c.update = x, c.getEmValue = t, a.addEventListener ? a.addEventListener(\"resize\", b, !1) : a.attachEvent && a.attachEvent(\"onresize\", b)\n }\n}(this);"],"file":"respond.js"}

Powered by Google App Engine
This is Rietveld