vendor: 4,239 bytes, lines 1-3
1/*! modernizr 3.3.1 (Custom Build) | MIT * 2 * http://modernizr.com/download/?-appearance-cssanimations-csscalc-csstransforms-csstransforms3d-csstransitions-cssvhunit-cssvwunit-flexbox-flexboxlegacy-flexboxtweener-flexwrap-inlinesvg-matchmedia-svg-svgasimg-svgclippaths-touchevents-domprefixes-prefixes-setclasses-shiv-testallprops-testprop-teststyles !*/ 3!function(e,t,n){function r(e,t){return typeof e===t}function i(){var e,t,n,i,o,a,s;for(var l in S)if(S.hasOwnProperty(l)){if(e=[],t=S[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(i=r(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)a=e[o],s=a.split("."),1===s.length?Modernizr[s[0]]=i:(!Modernizr[s[0]]||Modernizr[s[0]]instanceof Boolean||(Modernizr[s[0]]=new Boolean(Modernizr[s[0]])),Modernizr[s[0]][s[1]]=i),w.push((i?"":"no-")+s.join("-"))}}function o(e){var t=T.className,n=Modernizr._config.classPrefix||"";if(E&&(t=t.baseVal),Modernizr._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}Modernizr._config.enableClasses&&(t+=" "+n+e.join(" "+n),E?T.className.baseVal=t:T.className=t)}function a(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):E?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function s(e,t){return!!~(""+e).indexOf(t)}function l(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function u(){var e=t.body;return e||(e=a(E?"svg":"body"),e.fake=!0),e}function c(e,n,r,i){var o,s,l,c,f="modernizr",d=a("div"),p=u();if(parseInt(r,10))for(;r--;)l=a("div"),l.id=i?i[r]:f+(r+1),d.appendChild(l);return o=a("style"),o.type="text/css",o.id="s"+f,(p.fake?p:d).appendChild(o),p.appendChild(d),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(t.createTextNode(e)),d.id=f,p.fake&&(p.style.background="",p.style.overflow="hidden",c=T.style.overflow,T.style.overflow="hidden",T.appendChild(p)),s=n(d,e),p.fake?(p.parentNode.removeChild(p),T.style.overflow=c,T.offsetHeight):d.parentNode.removeChild(d),!!s}function f(e,t){if("object"==typeof e)for(var n in e)F(e,n)&&f(n,e[n]);else{e=e.toLowerCase();var r=e.split("."),i=Modernizr[r[0]];if(2==r.length&&(i=i[r[1]]),"undefined"!=typeof i)return Modernizr;t="function"==typeof t?t():t,1==r.length?Modernizr[r[0]]=t:(!Modernizr[r[0]]||Modernizr[r[0]]instanceof Boolean||(Modernizr[r[0]]=new Boolean(Modernizr[r[0]])),Modernizr[r[0]][r[1]]=t),o([(t&&0!=t?"":"no-")+r.join("-")]),Modernizr._trigger(e,t)}return Modernizr}function d(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function p(t,r){var i=t.length;if("CSS"in e&&"supports"in e.CSS){for(;i--;)if(e.CSS.supports(d(t[i]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];i--;)o.push("("+d(t[i])+":"+r+")");return o=o.join(" or "),c("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return n}function m(e,t,i,o){function u(){f&&(delete M.style,delete M.modElem)}if(o=r(o,"undefined")?!1:o,!r(i,"undefined")){var c=p(e,i);if(!r(c,"undefined"))return c}for(var f,d,m,h,g,v=["modernizr","tspan"];!M.style;)f=!0,M.modElem=a(v.shift()),M.style=M.modElem.style;for(m=e.length,d=0;m>d;d++)if(h=e[d],g=M.style[h],s(h,"-")&&(h=l(h)),M.style[h]!==n){if(o||r(i,"undefined"))return u(),"pfx"==t?h:!0;try{M.style[h]=i}catch(y){}if(M.style[h]!=g)return u(),"pfx"==t?h:!0}return u(),!1}function h(e,t){return function(){return e.apply(t,arguments)}}function g(e,t,n){var i;for(var o in e)if(e[o]in t)return n===!1?e[o]:(i=t[e[o]],r(i,"function")?h(i,n||t):i);return!1}function v(e,t,n,i,o){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+j.join(a+" ")+a).split(" ");return r(t,"string")||r(t,"undefined")?m(s,t,i,o):(s=(e+" "+b.join(a+" ")+a).split(" "),g(s,t,n))}function y(e,t,r){return v(e,n,n,t,r)}var w=[],S=[],x={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){S.push({name:e,fn:t,options:n})}
3,addAsyncTest:function(e){S.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=x,Modernizr=new Modernizr,Modernizr.addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);var C=x._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];x._prefixes=C;var T=t.documentElement,_="Moz O ms Webkit",b=x._config.usePrefixes?_.toLowerCase().split(" "):[];x._domPrefixes=b;var E="svg"===T.nodeName.toLowerCase();E||!function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=w.elements;return"string"==typeof e?e.split(" "):e}function i(e,t){var n=w.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),w.elements=n+" "+e,u(t)}function o(e){var t=y[e[g]];return t||(t={},v++,e[g]=v,y[v]=t),t}function a(e,n,r){if(n||(n=t),f)return n.createElement(e);r||(r=o(n));var i;return i=r.cache[e]?r.cache[e].cloneNode():h.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!i.canHaveChildren||m.test(e)||i.tagUrn?i:r.frag.appendChild(i)}function s(e,n){if(e||(e=t),f)return e.createDocumentFragment();n=n||o(e);for(var i=n.frag.cloneNode(),a=0,s=r(),l=s.length;l>a;a++)i.createElement(s[a]);return i}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return w.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(w,t.frag)}function u(e){e||(e=t);var r=o(e);return!w.shivCSS||c||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),f||l(e,r),e}var c,f,d="3.7.3",p=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?: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,g="_html5shiv",v=0,y={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",c="hidden"in e,f=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){c=!0,f=!0}}();var w={elements:p.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:d,shivCSS:p.shivCSS!==!1,supportsUnknownElements:f,shivMethods:p.shivMethods!==!1,type:"default",shivDocument:u,createElement:a,createDocumentFragment:s,addElements:i};e.html5=w,u(t),"object"==typeof module&&module.exports&&(module.exports=w)}("undefined"!=typeof e?e:this,t),Modernizr.addTest("csscalc",function(){var e="width:",t="calc(10px);",n=a("a");return n.style.cssText=e+C.join(t+e),!!n.style.length}),Modernizr.addTest("inlinesvg",function(){var e=a("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)});var N="CSS"in e&&"supports"in e.CSS,z="supportsCSS"in e;Modernizr.addTest("supports",N||z);var P={}.toString;Modernizr.addTest("svgclippaths",function(){return!!t.createElementNS&&/SVGClipPath/.test(P.call(t.createElementNS("http://www.w3.org/2000/svg","clipPath")))});var j=x._config.usePrefixes?_.split(" "):[];x._cssomPrefixes=j;var k=x.testStyles=c;Modernizr.addTest("touchevents",function(){var n;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var r=["@media (",C.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");k(r,function(e){n=9===e.offsetTop})}return n}),k("#modernizr { height: 50vh; }
3",function(t){var n=parseInt(e.innerHeight/2,10),r=parseInt((e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).height,10);Modernizr.addTest("cssvhunit",r==n)}),k("#modernizr { width: 50vw; }",function(t){var n=parseInt(e.innerWidth/2,10),r=parseInt((e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).width,10);Modernizr.addTest("cssvwunit",r==n)});var F;!function(){var e={}.hasOwnProperty;F=r(e,"undefined")||r(e.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),x._l={},x.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),Modernizr.hasOwnProperty(e)&&setTimeout(function(){Modernizr._trigger(e,Modernizr[e])},0)},x._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e,r;for(e=0;e<n.length;e++)(r=n[e])(t)},0),delete this._l[e]}},Modernizr._q.push(function(){x.addTest=f}),Modernizr.addTest("svgasimg",t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"));var L=function(t){var r,i=C.length,o=e.CSSRule;if("undefined"==typeof o)return n;if(!t)return!1;if(t=t.replace(/^@/,""),r=t.replace(/-/g,"_").toUpperCase()+"_RULE",r in o)return"@"+t;for(var a=0;i>a;a++){var s=C[a],l=s.toUpperCase()+"_"+r;if(l in o)return"@-"+s.toLowerCase()+"-"+t}return!1};x.atRule=L;var D={elem:a("modernizr")};Modernizr._q.push(function(){delete D.elem});var M={style:D.elem.style};Modernizr._q.unshift(function(){delete M.style});x.testProp=function(e,t,r){return m([e],n,t,r)};x.testAllProps=v,x.testAllProps=y,Modernizr.addTest("cssanimations",y("animationName","a",!0)),Modernizr.addTest("appearance",y("appearance")),Modernizr.addTest("flexbox",y("flexBasis","1px",!0)),Modernizr.addTest("flexboxlegacy",y("boxDirection","reverse",!0)),Modernizr.addTest("flexboxtweener",y("flexAlign","end",!0)),Modernizr.addTest("flexwrap",y("flexWrap","wrap",!0)),Modernizr.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&y("transform","scale(1)",!0)}),Modernizr.addTest("csstransforms3d",function(){var e=!!y("perspective","1px",!0),t=Modernizr._config.usePrefixes;if(e&&(!t||"webkitPerspective"in T.style)){var n,r="#modernizr{width:0;height:0}";Modernizr.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",k(r+n,function(t){e=7===t.offsetWidth&&18===t.offsetHeight})}return e}),Modernizr.addTest("csstransitions",y("transition","all",!0));var R=x.prefixed=function(e,t,n){return 0===e.indexOf("@")?L(e):(-1!=e.indexOf("-")&&(e=l(e)),t?v(e,t,n):v(e,"pfx"))};Modernizr.addTest("matchmedia",!!R("matchMedia",e)),i(),o(w),delete x.addTest,delete x.addAsyncTest;for(var A=0;A<Modernizr._q.length;A++)Modernizr._q[A]();e.Modernizr=Modernizr}(window,document); 4 5/*! EnhanceJS: a progressive enhancement boilerplate. Copyright 2014 @scottjehl, Filament Group, Inc. Licensed MIT */ 6(function (window, undefined) { 7 8 // Enable JS strict mode 9 "use strict"; 10 11 var setTimeout = window.setTimeout; 12 13 var enhance = {}; 14 15 // Define some variables to be used throughout this file 16 var doc = window.document, 17 docElem = doc.documentElement, 18 head = doc.head || doc.getElementsByTagName("head")[0], 19 // this references a meta tag's name whose content attribute should define the path to the full CSS file for the site 20 fullCSSKey = "fullcss", 21 // this references a meta tag's name whose content attribute should define the path to the enhanced JS file for the site (delivered to qualified browsers) 22 fullJSKey = "fulljs", 23 // this references a meta tag's name whose content attribute should define the path to the custom fonts file for the site (delivered to qualified browsers) 24 fontsKey = "fonts", 25 // classes to be added to the HTML element in qualified browsers 26 htmlClasses = ["enhanced"]; 27 28 /* Some commonly used functions - delete anything you don't need! */ 29 30 // loadJS: load a JS file asynchronously. Included from https://github.com/filamentgroup/loadJS/ 31 function loadJS(src) { 32 var ref = window.document.getElementsByTagName("script")[0]; 33 var script = window.document.createElement("script"); 34 script.src = src; 35 script.async = true; 36 ref.parentNode.insertBefore(script, ref); 37 return script; 38 } 39 40 // expose it 41 enhance.loadJS = loadJS; 42 43 // loadCSS: load a CSS file asynchronously. Included from https://github.com/filamentgroup/loadCSS/ 44 function loadCSS(href, before, media) { 45 // Arguments explained: 46 // `href` is the URL for your CSS file. 47 // `before` optionally defines the element we'll use as a reference for injecting our <link> 48 // By default, `before` uses the first <script> element in the page. 49 // However, since the order in which stylesheets are referenced matters, you might need a more specific location in your document. 50 // If so, pass a different reference element to the `before` argument and it'll insert before that instead 51 // note: `insertBefore` is used instead of `appendChild`, for safety re: http://www.paulirish.com/2011/surefire-dom-element-insertion/ 52 var ss = window.document.createElement("link"); 53 var ref = before || window.document.getElementsByTagName("script")[0]; 54 var sheets = window.document.styleSheets; 55 ss.rel = "stylesheet"; 56 ss.href = href; 57 // temporarily, set media to something non-matching to ensure it'll fetch without blocking render 58 ss.media = "only x"; 59 // inject link 60 ref.parentNode.insertBefore(ss, ref); 61 // This function sets the link's media back to `all` so that the stylesheet applies once it loads 62 // It is designed to poll until document.styleSheets includes the new sheet. 63 function toggleMedia() { 64 var defined; 65 for (var i = 0; i < sheets.length; i++) { 66 if (sheets[i].href && sheets[i].href.indexOf(href) > -1) { 67 defined = true; 68 } 69 } 70 if (defined) { 71 ss.media = media || "all"; 72 } 73 else { 74 setTimeout(toggleMedia); 75 } 76 } 77 78 toggleMedia(); 79 return ss; 80 } 81 82 // expose it 83 enhance.loadCSS = loadCSS; 84 85 // getMeta function: get a meta tag by name 86 // NOTE: meta tag must be in the HTML source before this script is included in order to guarantee it'll be found 87 function getMeta(metaname) { 88 var metas = window.document.getElementsByTagName("meta"); 89 var meta; 90 for (var i = 0; i < metas.length; i++) { 91 if (metas[i].name && metas[i].name === metaname) { 92 meta = metas[i]; 93 break; 94 } 95 } 96 return meta; 97 } 98 99 // expose it 100 enhance.getMeta = getMeta; 101 102 // cookie function from https://github.com/filamentgroup/cookie/ 103 function cookie(name, value, days) { 104 var expires; 105 // if value is undefined, get the cookie value 106 if (value === undefined) { 107 var cookiestring = "; " + window.document.cookie; 108 var cookies = cookiestring.split("; " + name + "=");
109 if (cookies.length == 2) { 110 return cookies.pop().split(";").shift(); 111 } 112 return null; 113 } 114 else { 115 // if value is a false boolean, we'll treat that as a delete 116 if (value === false) { 117 days = -1; 118 } 119 if (days) { 120 var date = new Date(); 121 date.setTime(date.getTime() + ( days * 24 * 60 * 60 * 1000 )); 122 expires = "; expires=" + date.toGMTString(); 123 } 124 else { 125 expires = ""; 126 } 127 window.document.cookie = name + "=" + value + expires + "; path=/"; 128 } 129 } 130 131 // expose it 132 enhance.cookie = cookie; 133 134 /* Enhancements for all browsers - qualified or not */ 135 136 /* Load non-critical CSS async on first visit: 137 On first visit to the site, the critical CSS for each template should be inlined in the head, while the full CSS for the site should be requested async and cached for later use. 138 A meta tag with a name matching the fullCSSKey should have a content attribute referencing the path to the full CSS file for the site. 139 If no cookie is set to specify that the full CSS has already been fetched, load it asynchronously and set the cookie. 140 Once the cookie is set, the full CSS is assumed to be in cache, and the server-side templates should reference the full CSS directly from the head of the page with a link element, in place of inline critical styles. 141 */ 142 var fullCSS = getMeta(fullCSSKey); 143 if (fullCSS && !cookie(fullCSSKey)) { 144 loadCSS(fullCSS.content); 145 // set cookie to mark this file fetched 146 cookie(fullCSSKey, "true", 7); 147 } 148 149 /* Enhancements for qualified browsers - "Cutting the Mustard" 150 Add your qualifications for major browser experience divisions here. 151 For example, you might choose to only enhance browsers that support document.querySelector (IE8+, etc). 152 Use case will vary. 153 */ 154 if (!( "querySelector" in doc && 'localStorage' in window && 'addEventListener' in window)) { 155 //if( !( "querySelector" in doc) ){ 156 // basic browsers: last stop here! 157 return; 158 } 159 160 // From here on we're dealing with qualified browsers. 161 162 // Add scoping classes to HTML element: useful for upgrading the presentation of elements that will be enhanced with JS behavior 163 docElem.className += " " + htmlClasses.join(" "); 164 165 /* Load JavaScript enhancements in one request. 166 Your DOM framework and dependent component scripts should be concatenated and minified into one file that we'll load dynamically (keep that file as small as possible!) 167 A meta tag with a name matching the fullJSKey should have a content attribute referencing the path to this JavaScript file. 168 */ 169 var fullJS = getMeta(fullJSKey); 170 if (fullJS) { 171 loadJS(fullJS.content); 172 } 173 174 /* Load custom fonts 175 We prefer to load fonts asynchronously so that they do not block page rendering. 176 To do this, a meta tag with a name matching the fontsWoffKey should have a content attribute referencing the path to this fonts file. 177 NOTE: You may want to have logic here to choose between one of many font formats before loading it. 178 For example, we often load WOFF, Truetype, or SVG. If so, just define meta tags for each 179 */ 180 var fonts = getMeta(fontsKey); 181 if (fonts && !cookie(fontsKey)) { 182 loadCSS(fonts.content); 183 // set cookie to mark this file fetched 184 cookie(fontsKey, "true", 7); 185 } 186 187 // expose the 'enhance' object globally. Use it to expose anything in here that's useful to other parts of your application. 188 window.enhance = enhance; 189 190}(this));
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.