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