!function(e,t){function n(e,t){var n=e.createElement("p"),i=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",i.insertBefore(n.lastChild,i.firstChild)}function i(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function r(e){var t={},n=e.createElement,r=e.createDocumentFragment,o=r();e.createElement=function(e){v.shivMethods||n(e);var i;return i=t[e]?t[e].cloneNode():h.test(e)?(t[e]=n(e)).cloneNode():n(e),i.canHaveChildren&&!p.test(e)?o.appendChild(i):i},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(e){return t[e]=n(e),o.createElement(e),'c("'+e+'")'})+");return n}")(v,o)}function o(e){var t;return e.documentShived?e:(v.shivCSS&&!u&&(t=!!n(e,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),f||(t=!r(e)),t&&(e.documentShived=t),e)}function a(e){for(var t,n=e.getElementsByTagName("*"),r=n.length,o=RegExp("^(?:"+i().join("|")+")$","i"),a=[];r--;)t=n[r],o.test(t.nodeName)&&a.push(t.applyElement(l(t)));return a}function l(e){for(var t,n=e.attributes,i=n.length,r=e.ownerDocument.createElement(g+":"+e.nodeName);i--;)t=n[i],t.specified&&r.setAttribute(t.nodeName,t.nodeValue);return r.style.cssText=e.style.cssText,r}function d(e){for(var t,n=e.split("{"),r=n.length,o=RegExp("(^|[\\s,>+~])("+i().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),a="$1"+g+"\\:$2";r--;)t=n[r]=n[r].split("}"),t[t.length-1]=t[t.length-1].replace(o,a),n[r]=t.join("}");return n.join("{")}function c(e){for(var t=e.length;t--;)e[t].removeNode()}function s(e){var t,i,r=e.namespaces,o=e.parentWindow;return!E||e.printShived?e:("undefined"==typeof r[g]&&r.add(g),o.attachEvent("onbeforeprint",function(){for(var r,o,l,c=e.styleSheets,s=[],u=c.length,f=Array(u);u--;)f[u]=c[u];for(;l=f.pop();)if(!l.disabled&&y.test(l.media)){for(r=l.imports,u=0,o=r.length;o>u;u++)f.push(r[u]);try{s.push(l.cssText)}catch(m){}}s=d(s.reverse().join("")),i=a(e),t=n(e,s)}),o.attachEvent("onafterprint",function(){c(i),t.removeNode(!0)}),e.printShived=!0,e)}var u,f,m=e.html5||{},p=/^<|^(?:button|form|map|select|textarea|object|iframe)$/i,h=/^<|^(?: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;!function(){var n=t.createElement("a");n.innerHTML="<xyz></xyz>",u="hidden"in n,u&&"function"==typeof injectElementWithStyles&&injectElementWithStyles("#modernizr{}",function(t){t.hidden=!0,u="none"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).display}),f=1==n.childNodes.length||function(){try{t.createElement("a")}catch(e){return!0}var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}();var v={elements:m.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:m.shivCSS!==!1,shivMethods:m.shivMethods!==!1,type:"default",shivDocument:o};e.html5=v,o(t);var y=/^$|\b(?:all|print)\b/,g="html5shiv",E=!f&&function(){var n=t.documentElement;return"undefined"!=typeof t.namespaces&&"undefined"!=typeof t.parentWindow&&"undefined"!=typeof n.applyElement&&"undefined"!=typeof n.removeNode&&"undefined"!=typeof e.attachEvent}();v.type+=" print",v.shivPrint=s,s(t)}(this,document);
//# sourceMappingURL=html5.js.map