vendor: 18,763 bytes, lines 1-406
1/* Modernizr 2.6.2 (Custom Build) | MIT & BSD 2 * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load 3 */ 4; 5window.Modernizr = function (a, b, c) { 6 function D(a) { 7 j.cssText = a 8 } 9 10 function E(a, b) { 11 return D(n.join(a + ";") + (b || "")) 12 } 13 14 function F(a, b) { 15 return typeof a === b 16 } 17 18 function G(a, b) { 19 return !!~("" + a).indexOf(b) 20 } 21 22 function H(a, b) { 23 for (var d in a) { 24 var e = a[d]; 25 if (!G(e, "-") && j[e] !== c)return b == "pfx" ? e : !0 26 } 27 return !1 28 } 29 30 function I(a, b, d) { 31 for (var e in a) { 32 var f = b[a[e]]; 33 if (f !== c)return d === !1 ? a[e] : F(f, "function") ? f.bind(d || b) : f 34 } 35 return !1 36 } 37 38 function J(a, b, c) { 39 var d = a.charAt(0).toUpperCase() + a.slice(1), e = (a + " " + p.join(d + " ") + d).split(" "); 40 return F(b, "string") || F(b, "undefined") ? H(e, b) : (e = (a + " " + q.join(d + " ") + d).split(" "), I(e, b, c)) 41 } 42 43 function K() { 44 e.input = function (c) { 45 for (var d = 0, e = c.length; d < e; d++)u[c[d]] = c[d]in k; 46 return u.list && (u.list = !!b.createElement("datalist") && !!a.HTMLDataListElement), u 47 }("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")), e.inputtypes = function (a) { 48 for (var d = 0, e, f, h, i = a.length; d < i; d++)k.setAttribute("type", f = a[d]), e = k.type !== "text", e && (k.value = l, k.style.cssText = "position:absolute;visibility:hidden;", /^range$/.test(f) && k.style.WebkitAppearance !== c ? (g.appendChild(k), h = b.defaultView, e = h.getComputedStyle && h.getComputedStyle(k, null).WebkitAppearance !== "textfield" && k.offsetHeight !== 0, g.removeChild(k)) : /^(search|tel)$/.test(f) || (/^(url|email)$/.test(f) ? e = k.checkValidity && k.checkValidity() === !1 : e = k.value != l)), t[a[d]] = !!e; 49 return t 50 }("search tel url email datetime date month week time datetime-local number range color".split(" ")) 51 } 52 53 var d = "2.6.2", e = {}, f = !0, g = b.documentElement, h = "modernizr", i = b.createElement(h), j = i.style, k = b.createElement("input"), l = ":)", m = {}.toString, n = " -webkit- -moz- -o- -ms- ".split(" "), o = "Webkit Moz O ms", p = o.split(" "), q = o.toLowerCase().split(" "), r = {svg: "http://www.w3.org/2000/svg"}, s = {}, t = {}, u = {}, v = [], w = v.slice, x, y = function (a, c, d, e) { 54 var f, i, j, k, l = b.createElement("div"), m = b.body, n = m || b.createElement("body"); 55 if (parseInt(d, 10))while (d--)j = b.createElement("div"), j.id = e ? e[d] : h + (d + 1), l.appendChild(j); 56 return f = ["­", '<style id="s', h, '">', a, "</style>"].join(""), l.id = h, (m ? l : n).innerHTML += f, n.appendChild(l), m || (n.style.background = "", n.style.overflow = "hidden", k = g.style.overflow, g.style.overflow = "hidden", g.appendChild(n)), i = c(l, a), m ? l.parentNode.removeChild(l) : (n.parentNode.removeChild(n), g.style.overflow = k), !!i 57 }, z = function (b) { 58 var c = a.matchMedia || a.msMatchMedia; 59 if (c)return c(b).matches; 60 var d; 61 return y("@media " + b + " { #" + h + " { position: absolute; } }", function (b) { 62 d = (a.getComputedStyle ? getComputedStyle(b, null) : b.currentStyle)["position"] == "absolute" 63 }), d 64 }, A = function () { 65 function d(d, e) { 66 e = e || b.createElement(a[d] || "div"), d = "on" + d; 67 var f = d in e; 68 return f || (e.setAttribute || (e = b.createElement("div")), e.setAttribute && e.removeAttribute && (e.setAttribute(d, ""), f = F(e[d], "function"), F(e[d], "undefined") || (e[d] = c), e.removeAttribute(d))), e = null, f 69 } 70 71 var a = {select: "input", change: "input", submit: "form", reset: "form", error: "img", load: "img", abort: "img"}; 72 return d 73 }(), B = {}.hasOwnProperty, C; 74 !F(B, "undefined") && !F(B.call, "undefined") ? C = function (a, b) { 75 return B.call(a, b) 76 } : C = function (a, b) { 77 return b in a && F(a.constructor.prototype[b], "undefined") 78 }, Function.prototype.bind || (Function.prototype.bind = function (b) { 79 var c = this; 80 if (typeof c != "function")throw new TypeError; 81 var d = w.call(arguments, 1), e = function () { 82 if (this instanceof e) { 83 var a = function () { 84 }; 85 a.prototype = c.prototype; 86 var f = new a, g = c.apply(f, d.concat(w.call(arguments))); 87 return Object(g) === g ? g : f 88 } 89 return c.apply(b, d.concat(w.call(arguments))) 90 }; 91 return e 92 }), s.flexbox = function () { 93 return J("flexWrap") 94 }, s.canvas = function () { 95 var a = b.createElement("canvas"); 96 return !!a.getContext && !!a.getContext("2d") 97 }, s.canvastext = function () { 98 return !!e.canvas && !!F(b.createElement("canvas").getContext("2d").fillText, "function") 99 }, s.webgl = function () { 100 return !!a.WebGLRenderingContext 101 }, s.touch = function () { 102 var c; 103 return "ontouchstart"in a || a.DocumentTouch && b instanceof DocumentTouch ? c = !0 : y(["@media (", n.join("touch-enabled),("), h, ")", "{#modernizr{top:9px;position:absolute}}"].join(""), function (a) { 104 c = a.offsetTop === 9 105 }), c 106 }, s.geolocation = function () { 107 return "geolocation"in navigator 108 }, s.postmessage = function () { 109 return !!a.postMessage 110 }, s.websqldatabase = function () { 111 return !!a.openDatabase 112 }, s.indexedDB = function () { 113 return !!J("indexedDB", a) 114 }, s.hashchange = function () { 115 return A("hashchange", a) && (b.documentMode === c || b.documentMode > 7) 116 }, s.history = function () { 117 return !!a.historyFuncs && !!historyFuncs.pushState 118 }, s.draganddrop = function () { 119 var a = b.createElement("div"); 120 return "draggable"in a || "ondragstart"in a && "ondrop"in a 121 }, s.websockets = function () { 122 return "WebSocket"in a || "MozWebSocket"in a 123 }, s.rgba = function () { 124 return D("background-color:rgba(150,255,150,.5)"), G(j.backgroundColor, "rgba") 125 }, s.hsla = function () { 126 return D("background-color:hsla(120,40%,100%,.5)"), G(j.backgroundColor, "rgba") || G(j.backgroundColor, "hsla") 127 }, s.multiplebgs = function () { 128 return D("background:url(https://),url(https://),red url(https://)"), /(url\s*\(.*?){3}/.test(j.background) 129 }, s.backgroundsize = function () { 130 return J("backgroundSize") 131 }, s.borderimage = function () { 132 return J("borderImage") 133 }, s.borderradius = function () { 134 return J("borderRadius") 135 }, s.boxshadow = function () { 136 return J("boxShadow") 137 }, s.textshadow = function () { 138 return b.createElement("div").style.textShadow === "" 139 }, s.opacity = function () { 140 return E("opacity:.55"), /^0.55$/.test(j.opacity) 141 }, s.cssanimations = function () { 142 return J("animationName") 143 }, s.csscolumns = function () { 144 return J("columnCount") 145 }, s.cssgradients = function () { 146 var a = "background-image:", b = "gradient(linear,left top,right bottom,from(#9f9),to(white));", c = "linear-gradient(left top,#9f9, white);"; 147 return D((a + "-webkit- ".split(" ").join(b + a) + n.join(c + a)).slice(0, -a.length)), G(j.backgroundImage, "gradient") 148 }, s.cssreflections = function () { 149 return J("boxReflect") 150 }, s.csstransforms = function () { 151 return !!J("transform") 152 }, s.csstransforms3d = function () { 153 var a = !!J("perspective"); 154 return a && "webkitPerspective"in g.style && y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}", function (b, c) { 155 a = b.offsetLeft === 9 && b.offsetHeight === 3 156 }), a 157 }, s.csstransitions = function () { 158 return J("transition") 159 }, s.fontface = function () { 160 var a; 161 return y('@font-face {font-family:"font";src:url("https://")}', function (c, d) { 162 var e = b.getElementById("smodernizr"), f = e.sheet || e.styleSheet, g = f ? f.cssRules && f.cssRules[0] ? f.cssRules[0].cssText : f.cssText || "" : ""; 163 a = /src/i.test(g) && g.indexOf(d.split(" ")[0]) === 0 164 }), a 165 }, s.generatedcontent = function () { 166 var a; 167 return y(["#", h, "{font:0/0 a}#", h, ':after{content:"', l, '";visibility:hidden;font:3px/1 a}'].join(""), function (b) { 168 a = b.offsetHeight >= 3 169 }), a 170 }, s.video = function () { 171 var a = b.createElement("video"), c = !1; 172 try { 173 if (c = !!a.canPlayType)c = new Boolean(c), c.ogg = a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/, ""), c.h264 = a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/, ""), c.webm = a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/, "") 174 } catch (d) { 175 } 176 return c 177 }, s.audio = function () { 178 var a = b.createElement("audio"), c = !1; 179 try { 180 if (c = !!a.canPlayType)c = new Boolean(c), c.ogg = a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/, ""), c.mp3 = a.canPlayType("audio/mpeg;").replace(/^no$/, ""), c.wav = a.canPlayType('audio/wav; codecs="1"').replace(/^no$/, ""), c.m4a = (a.canPlayType("audio/x-m4a;") || a.canPlayType("audio/aac;")).replace(/^no$/, "") 181 } catch (d) { 182 } 183 return c 184 }, s.localstorage = function () { 185 try { 186 return localStorage.setItem(h, h), localStorage.removeItem(h), !0 187 } catch (a) { 188 return !1 189 } 190 }, s.sessionstorage = function () { 191 try { 192 return sessionStorage.setItem(h, h), sessionStorage.removeItem(h), !0 193 } catch (a) { 194 return !1 195 } 196 }, s.webworkers = function () { 197 return !!a.Worker 198 }, s.applicationcache = function () { 199 return !!a.applicationCache 200 }, s.svg = function () { 201 return !!b.createElementNS && !!b.createElementNS(r.svg, "svg").createSVGRect 202 }, s.inlinesvg = function () { 203 var a = b.createElement("div"); 204 return a.innerHTML = "<svg/>", (a.firstChild && a.firstChild.namespaceURI) == r.svg 205 }, s.smil = function () { 206 return !!b.createElementNS && /SVGAnimate/.test(m.call(b.createElementNS(r.svg, "animate"))) 207 }, s.svgclippaths = function () { 208 return !!b.createElementNS && /SVGClipPath/.test(m.call(b.createElementNS(r.svg, "clipPath"))) 209 }; 210 for (var L in s)C(s, L) && (x = L.toLowerCase(), e[x] = s[L](), v.push((e[x] ? "" : "no-") + x)); 211 return e.input || K(), e.addTest = function (a, b) { 212 if (typeof a == "object")for (var d in a)C(a, d) && e.addTest(d, a[d]); else { 213 a = a.toLowerCase(); 214 if (e[a] !== c)return e; 215 b = typeof b == "function" ? b() : b, typeof f != "undefined" && f && (g.className += " " + (b ? "" : "no-") + a), e[a] = b 216 } 217 return e 218 }, D(""), i = k = null, function (a, b) { 219 function k(a, b) { 220 var c = a.createElement("p"), d = a.getElementsByTagName("head")[0] || a.documentElement; 221 return c.innerHTML = "x<style>" + b + "</style>", d.insertBefore(c.lastChild, d.firstChild) 222 } 223 224 function l() { 225 var a = r.elements; 226 return typeof a == "string" ? a.split(" ") : a 227 } 228 229 function m(a) { 230 var b = i[a[g]]; 231 return b || (b = {}, h++, a[g] = h, i[h] = b), b 232 } 233 234 function n(a, c, f) { 235 c || (c = b); 236 if (j)return c.createElement(a); 237 f || (f = m(c)); 238 var g; 239 return f.cache[a] ? g = f.cache[a].cloneNode() : e.test(a) ? g = (f.cache[a] = f.createElem(a)).cloneNode() : g = f.createElem(a), g.canHaveChildren && !d.test(a) ? f.frag.appendChild(g) : g 240 } 241 242 function o(a, c) { 243 a || (a = b); 244 if (j)return a.createDocumentFragment(); 245 c = c || m(a); 246 var d = c.frag.cloneNode(), e = 0, f = l(), g = f.length; 247 for (; e < g; e++)d.createElement(f[e]); 248 return d 249 } 250 251 function p(a, b) { 252 b.cache || (b.cache = {}, b.createElem = a.createElement, b.createFrag = a.createDocumentFragment, b.frag = b.createFrag()), a.createElement = function (c) { 253 return r.shivMethods ? n(c, a, b) : b.createElem(c) 254 }, a.createDocumentFragment = Function("h,f", "return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(" + l().join().replace(/\w+/g, function (a) { 255 return b.createElem(a), b.frag.createElement(a), 'c("' + a + '")' 256 }) + ");return n}")(r, b.frag) 257 } 258 259 function q(a) { 260 a || (a = b); 261 var c = m(a); 262 return r.shivCSS && !f && !c.hasCSS && (c.hasCSS = !!k(a, "article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")), j || p(a, c), a 263 } 264 265 var c = a.html5 || {}, d = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i, e = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i, f, g = "_html5shiv", h = 0, i = {}, j; 266 (function () { 267 try { 268 var a = b.createElement("a"); 269 a.innerHTML = "<xyz></xyz>", f = "hidden"in a, j = a.childNodes.length == 1 || function () { 270 b.createElement("a"); 271 var a = b.createDocumentFragment(); 272 return typeof a.cloneNode == "undefined" || typeof a.createDocumentFragment == "undefined" || typeof a.createElement == "undefined" 273 }() 274 } catch (c) { 275 f = !0, j = !0 276 } 277 })(); 278 var r = {elements: c.elements || "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video", shivCSS: c.shivCSS !== !1, supportsUnknownElements: j, shivMethods: c.shivMethods !== !1, type: "default", shivDocument: q, createElement: n, createDocumentFragment: o}; 279 a.html5 = r, q(b) 280 }(this, b), e._version = d, e._prefixes = n, e._domPrefixes = q, e._cssomPrefixes = p, e.mq = z, e.hasEvent = A, e.testProp = function (a) { 281 return H([a]) 282 }, e.testAllProps = J, e.testStyles = y, e.prefixed = function (a, b, c) { 283 return b ? J(a, b, c) : J(a, "pfx") 284 }, g.className = g.className.replace(/(^|\s)no-js(\s|$)/, "$1$2") + (f ? " js " + v.join(" ") : ""), e 285}(this, this.document), function (a, b, c) { 286 function d(a) { 287 return "[object Function]" == o.call(a) 288 } 289 290 function e(a) { 291 return "string" == typeof a 292 } 293 294 function f() { 295 } 296 297 function g(a) { 298 return !a || "loaded" == a || "complete" == a || "uninitialized" == a 299 } 300 301 function h() { 302 var a = p.shift(); 303 q = 1, a ? a.t ? m(function () { 304 ("c" == a.t ? B.injectCss : B.injectJs)(a.s, 0, a.a, a.x, a.e, 1) 305 }, 0) : (a(), h()) : q = 0 306 } 307 308 function i(a, c, d, e, f, i, j) { 309 function k(b) { 310 if (!o && g(l.readyState) && (u.r = o = 1, !q && h(), l.onload = l.onreadystatechange = null, b)) { 311 "img" != a && m(function () { 312 t.removeChild(l) 313 }, 50); 314 for (var d in y[c])y[c].hasOwnProperty(d) && y[c][d].onload() 315 } 316 } 317 318 var j = j || B.errorTimeout, l = b.createElement(a), o = 0, r = 0, u = {t: d, s: c, e: f, a: i, x: j}; 319 1 === y[c] && (r = 1, y[c] = []), "object" == a ? l.data = c : (l.src = c, l.type = a), l.width = l.height = "0", l.onerror = l.onload = l.onreadystatechange = function () { 320 k.call(this, r) 321 }, p.splice(e, 0, u), "img" != a && (r || 2 === y[c] ? (t.insertBefore(l, s ? null : n), m(k, j)) : y[c].push(l)) 322 } 323 324 function j(a, b, c, d, f) { 325 return q = 0, b = b || "j", e(a) ? i("c" == b ? v : u, a, b, this.i++, c, d, f) : (p.splice(this.i++, 0, a), 1 == p.length && h()), this 326 } 327 328 function k() { 329 var a = B; 330 return a.loader = {load: j, i: 0}, a 331 } 332 333 var l = b.documentElement, m = a.setTimeout, n = b.getElementsByTagName("script")[0], o = {}.toString, p = [], q = 0, r = "MozAppearance"in l.style, s = r && !!b.createRange().compareNode, t = s ? l : n.parentNode, l = a.opera && "[object Opera]" == o.call(a.opera), l = !!b.attachEvent && !l, u = r ? "object" : l ? "script" : "img", v = l ? "script" : u, w = Array.isArray || function (a) { 334 return "[object Array]" == o.call(a) 335 }, x = [], y = {}, z = { 336 timeout: function (a, b) { 337 return b.length && (a.timeout = b[0]), a 338 } 339 }, A, B; 340 B = function (a) { 341 function b(a) { 342 var a = a.split("!"), b = x.length, c = a.pop(), d = a.length, c = {url: c, origUrl: c, prefixes: a}, e, f, g; 343 for (f = 0; f < d; f++)g = a[f].split("="), (e = z[g.shift()]) && (c = e(c, g)); 344 for (f = 0; f < b; f++)c = x[f](c); 345 return c 346 } 347 348 function g(a, e, f, g, h) { 349 var i = b(a), j = i.autoCallback; 350 i.url.split(".").pop().split("?").shift(), i.bypass || (e && (e = d(e) ? e : e[a] || e[g] || e[a.split("/").pop().split("?")[0]]), i.instead ? i.instead(a, e, f, g, h) : (y[i.url] ? i.noexec = !0 : y[i.url] = 1, f.load(i.url, i.forceCSS || !i.forceJS && "css" == i.url.split(".").pop().split("?").shift() ? "c" : c, i.noexec, i.attrs, i.timeout), (d(e) || d(j)) && f.load(function () { 351 k(), e && e(i.origUrl, h, g), j && j(i.origUrl, h, g), y[i.url] = 2 352 }))) 353 } 354 355 function h(a, b) { 356 function c(a, c) { 357 if (a) { 358 if (e(a))c || (j = function () { 359 var a = [].slice.call(arguments); 360 k.apply(this, a), l() 361 }), g(a, j, b, 0, h); else if (Object(a) === a)for (n in m = function () { 362 var b = 0, c; 363 for (c in a)a.hasOwnProperty(c) && b++; 364 return b 365 }(), a)a.hasOwnProperty(n) && (!c && !--m && (d(j) ? j = function () { 366 var a = [].slice.call(arguments); 367 k.apply(this, a), l() 368 } : j[n] = function (a) { 369 return function () { 370 var b = [].slice.call(arguments); 371 a && a.apply(this, b), l() 372 } 373 }(k[n])), g(a[n], j, b, n, h)) 374 } else!c && l() 375 } 376 377 var h = !!a.test, i = a.load || a.both, j = a.callback || f, k = j, l = a.complete || f, m, n; 378 c(h ? a.yep : a.nope, !!i), i && c(i) 379 } 380 381 var i, j, l = this.yepnope.loader; 382 if (e(a))g(a, 0, l, 0); else if (w(a))for (i = 0; i < a.length; i++)j = a[i], e(j) ? g(j, 0, l, 0) : w(j) ? B(j) : Object(j) === j && h(j, l); else Object(a) === a && h(a, l) 383 }, B.addPrefix = function (a, b) { 384 z[a] = b 385 }, B.addFilter = function (a) { 386 x.push(a) 387 }, B.errorTimeout = 1e4, null == b.readyState && b.addEventListener && (b.readyState = "loading", b.addEventListener("DOMContentLoaded", A = function () { 388 b.removeEventListener("DOMContentLoaded", A, 0), b.readyState = "complete" 389 }, 0)), a.yepnope = k(), a.yepnope.executeStack = h, a.yepnope.injectJs = function (a, c, d, e, i, j) { 390 var k = b.createElement("script"), l, o, e = e || B.errorTimeout; 391 k.src = a; 392 for (o in d)k.setAttribute(o, d[o]); 393 c = j ? h : c || f, k.onreadystatechange = k.onload = function () { 394 !l && g(k.readyState) && (l = 1, c(), k.onload = k.onreadystatechange = null) 395 }, m(function () { 396 l || (l = 1, c(1)) 397 }, e), i ? k.onload() : n.parentNode.insertBefore(k, n) 398 }, a.yepnope.injectCss = function (a, c, d, e, g, i) { 399 var e = b.createElement("link"), j, c = i ? h : c || f; 400 e.href = a, e.rel = "stylesheet", e.type = "text/css"; 401 for (j in d)e.setAttribute(j, d[j]); 402 g || (n.parentNode.insertBefore(e, n), m(c, 0)) 403 } 404}(this, document), Modernizr.load = function () { 405 yepnope.apply(window, [].slice.call(arguments, 0)) 406};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.