/*!
    Copyright (c) 2009, 280 North Inc. http://280north.com/
    MIT License. http://github.com/280north/narwhal/blob/master/README.md
*/
(function(n){typeof define=="function"?define(n):n()})(function(){function y(n){try{return Object.defineProperty(n,"sentinel",{}),"sentinel"in n}catch(t){}}var v,p,w,o,et,u,d,g;Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError("Function.prototype.bind called on incompatible "+t);return i=s.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(s.call(arguments))),Object(u)===u)?u:e:t.apply(n,i.concat(s.call(arguments)))},r});var f=Function.prototype.call,tt=Array.prototype,n=Object.prototype,s=tt.slice,r=f.bind(n.toString),t=f.bind(n.hasOwnProperty),l,a,h,c,e;if((e=t(n,"__defineGetter__"))&&(l=f.bind(n.__defineGetter__),a=f.bind(n.__defineSetter__),h=f.bind(n.__lookupGetter__),c=f.bind(n.__lookupSetter__)),Array.isArray||(Array.isArray=function(n){return r(n)=="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(n){var t=i(this),f=arguments[1],u=-1,e=t.length>>>0;if(r(n)!="[object Function]")throw new TypeError;while(++u<e)u in t&&n.call(f,t[u],u,t)}),Array.prototype.map||(Array.prototype.map=function(n){var u=i(this),f=u.length>>>0,e=Array(f),o=arguments[1],t;if(r(n)!="[object Function]")throw new TypeError(n+" is not a function");for(t=0;t<f;t++)t in u&&(e[t]=n.call(o,u[t],t,u));return e}),Array.prototype.filter||(Array.prototype.filter=function(n){var u=i(this),o=u.length>>>0,e=[],f,s=arguments[1],t;if(r(n)!="[object Function]")throw new TypeError(n+" is not a function");for(t=0;t<o;t++)t in u&&(f=u[t],n.call(s,f,t,u)&&e.push(f));return e}),Array.prototype.every||(Array.prototype.every=function(n){var u=i(this),f=u.length>>>0,e=arguments[1],t;if(r(n)!="[object Function]")throw new TypeError(n+" is not a function");for(t=0;t<f;t++)if(t in u&&!n.call(e,u[t],t,u))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(n){var u=i(this),f=u.length>>>0,e=arguments[1],t;if(r(n)!="[object Function]")throw new TypeError(n+" is not a function");for(t=0;t<f;t++)if(t in u&&n.call(e,u[t],t,u))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(n){var u=i(this),e=u.length>>>0,t,f;if(r(n)!="[object Function]")throw new TypeError(n+" is not a function");if(!e&&arguments.length==1)throw new TypeError("reduce of empty array with no initial value");if(t=0,arguments.length>=2)f=arguments[1];else do{if(t in u){f=u[t++];break}if(++t>=e)throw new TypeError("reduce of empty array with no initial value");}while(1);for(;t<e;t++)t in u&&(f=n.call(void 0,f,u[t],t,u));return f}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(n){var u=i(this),e=u.length>>>0,f,t;if(r(n)!="[object Function]")throw new TypeError(n+" is not a function");if(!e&&arguments.length==1)throw new TypeError("reduceRight of empty array with no initial value");if(t=e-1,arguments.length>=2)f=arguments[1];else do{if(t in u){f=u[t--];break}if(--t<0)throw new TypeError("reduceRight of empty array with no initial value");}while(1);do t in this&&(f=n.call(void 0,f,u[t],t,u));while(t--);return f}),Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var r=i(this),u=r.length>>>0,t;if(!u)return-1;for(t=0,arguments.length>1&&(t=nt(arguments[1])),t=t>=0?t:Math.max(0,u+t);t<u;t++)if(t in r&&r[t]===n)return t;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(n){var r=i(this),u=r.length>>>0,t;if(!u)return-1;for(t=u-1,arguments.length>1&&(t=Math.min(t,nt(arguments[1]))),t=t>=0?t:u-Math.abs(t);t>=0;t--)if(t in r&&n===r[t])return t;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(t){return t.__proto__||(t.constructor?t.constructor.prototype:n)}),Object.getOwnPropertyDescriptor||(v="Object.getOwnPropertyDescriptor called on a non-object: ",Object.getOwnPropertyDescriptor=function(i,r){var u,s,f,o;if(typeof i!="object"&&typeof i!="function"||i===null)throw new TypeError(v+i);if(t(i,r))return(u={enumerable:!0,configurable:!0},e&&(s=i.__proto__,i.__proto__=n,f=h(i,r),o=c(i,r),i.__proto__=s,f||o))?(f&&(u.get=f),o&&(u.set=o),u):(u.value=i[r],u)}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(n){return Object.keys(n)}),Object.create||(Object.create=function(n,t){var i,r;if(n===null)i={__proto__:null};else{if(typeof n!="object")throw new TypeError("typeof prototype["+typeof n+"] != 'object'");r=function(){},r.prototype=n,i=new r,i.__proto__=n}return t!==void 0&&Object.defineProperties(i,t),i}),Object.defineProperty&&(p=y({}),w=typeof document=="undefined"||y(document.createElement("div")),p&&w||(o=Object.defineProperty)),!Object.defineProperty||o){var it="Property description must be an object: ",rt="Object.defineProperty called on non-object: ",ut="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(i,r,u){if(typeof i!="object"&&typeof i!="function"||i===null)throw new TypeError(rt+i);if(typeof u!="object"&&typeof u!="function"||u===null)throw new TypeError(it+u);if(o)try{return o.call(Object,i,r,u)}catch(s){}if(t(u,"value"))if(e&&(h(i,r)||c(i,r))){var f=i.__proto__;i.__proto__=n,delete i[r],i[r]=u.value,i.__proto__=f}else i[r]=u.value;else{if(!e)throw new TypeError(ut);t(u,"get")&&l(i,r,u.get),t(u,"set")&&a(i,r,u.set)}return i}}Object.defineProperties||(Object.defineProperties=function(n,i){for(var r in i)t(i,r)&&r!="__proto__"&&Object.defineProperty(n,r,i[r]);return n}),Object.seal||(Object.seal=function(n){return n}),Object.freeze||(Object.freeze=function(n){return n});try{Object.freeze(function(){})}catch(ei){Object.freeze=function(n){return function(t){return typeof t=="function"?t:n(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(n){return n}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(n){var i,r;if(Object(n)!==n)throw new TypeError;for(i="";t(n,i);)i+="?";return n[i]=!0,r=t(n,i),delete n[i],r}),!Object.keys){var b=!0,k=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ft=k.length;for(et in{toString:null})b=!1;Object.keys=function(n){var i,u,r,e,f;if(typeof n!="object"&&typeof n!="function"||n===null)throw new TypeError("Object.keys called on a non-object");i=[];for(u in n)t(n,u)&&i.push(u);if(b)for(r=0,e=ft;r<e;r++)f=k[r],t(n,f)&&i.push(f);return i}}Date.prototype.toISOString&&new Date(-621987552e5).toISOString().indexOf("-000001")!==-1||(Date.prototype.toISOString=function(){var t,i,r,n;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");for(t=[this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],n=this.getUTCFullYear(),n=(n<0?"-":n>9999?"+":"")+("00000"+Math.abs(n)).slice(0<=n&&n<=9999?-4:-6),i=t.length;i--;)r=t[i],r<10&&(t[i]="0"+r);return n+"-"+t.slice(0,2).join("-")+"T"+t.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}),Date.now||(Date.now=function(){return(new Date).getTime()}),Date.prototype.toJSON||(Date.prototype.toJSON=function(){if(typeof this.toISOString!="function")throw new TypeError("toISOString property is not callable");return this.toISOString()}),Date.parse&&Date.parse("+275760-09-13T00:00:00.000Z")===864e13||(Date=function(n){var t=function t(i,r,u,f,e,o,s){var h=arguments.length,c;return this instanceof n?(c=h==1&&String(i)===i?new n(t.parse(i)):h>=7?new n(i,r,u,f,e,o,s):h>=6?new n(i,r,u,f,e,o):h>=5?new n(i,r,u,f,e):h>=4?new n(i,r,u,f):h>=3?new n(i,r,u):h>=2?new n(i,r):h>=1?new n(i):new n,c.constructor=t,c):n.apply(this,arguments)},r=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.(\\d{3}))?)?(?:Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),i;for(i in n)t[i]=n[i];return t.now=n.now,t.UTC=n.UTC,t.prototype=n.prototype,t.prototype.constructor=t,t.parse=function(t){var i=r.exec(t),u,f;if(i){for(i.shift(),u=1;u<7;u++)i[u]=+(i[u]||(u<3?1:0)),u==1&&i[u]--;var o=+i.pop(),s=+i.pop(),h=i.pop(),e=0;if(h){if(s>23||o>59)return NaN;e=(s*60+o)*6e4*(h=="+"?-1:1)}return(f=+i[0],0<=f&&f<=99)?(i[0]=f+400,n.UTC.apply(this,i)+e-126227808e5):n.UTC.apply(this,i)+e}return n.parse.apply(this,arguments)},t}(Date)),u="\t\n\x0b\f\r   ᠎             　\u2028\u2029﻿",(!String.prototype.trim||u.trim())&&(u="["+u+"]",d=new RegExp("^"+u+u+"*"),g=new RegExp(u+u+"*$"),String.prototype.trim=function(){if(this===undefined||this===null)throw new TypeError("can't convert "+this+" to object");return String(this).replace(d,"").replace(g,"")});var nt=function(n){return n=+n,n!==n?n=0:n!==0&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n},ot="a"[0]!="a",i=function(n){if(n==null)throw new TypeError("can't convert "+n+" to object");return ot&&typeof n=="string"&&n?n.split(""):Object(n)}}),Object.beget||(Object.beget=function(n){var t,i;if(n===null)throw new TypeError("Prototype cannot be null");if(typeof n!="object")throw new TypeError("typeof prototype["+typeof n+"] != 'object'");return i=function(){},i.prototype=n,t=new i,t.__proto__=n,t});var Module=function(){function n(i,r){var u;return(i||r)?t(i)?new n(null,i):(u=n.get(i),t(r)&&(u=r.call(u)||u),n.set(i,u),u):this instanceof n?this:new n}var t,i,r={}.toString;return t=function(n){return r.call(n)==="[object Function]"},i=function(n){return r.call(n)==="[object String]"},n.get=function(t){if(t==null)return new n;if(!i(t))throw new TypeError;for(var e=t.split("."),r=window,f,u=0,o=e.length;u<o;u++)f=e[u],f in r||(r[f]=new n),r=r[f];return r},n.set=function(t,r){if(t==null)return r;if(!i(t))throw new TypeError;for(var f=t.split("."),h=f[f.length-1],u=window,o,e=0,s=f.length-1;e<s;e++)o=f[e],o in u||(u[o]=new n),u=u[o];return u[h]=r,r},n}();Module("Phosphor.Utilities",function(){function t(n,t){for(var i in t)r.call(t,i)&&(n[i]=t[i])}function n(i){function r(){var n;if(!(this instanceof r))return n=Object.beget(r.prototype),r.apply(n,arguments),n;typeof this.initialize=="function"&&this.initialize.apply(this,arguments)}var f=i.Extends||Object,e=i.Mixins||[],u=Object.beget(f.prototype);return delete i.Extends,delete i.Mixins,e.forEach(function(n){t(u,n.prototype)}),t(u,i),t(r,n.prototype),t(r,f),r.prototype=u,r.__super__=f.prototype,u.constructor=r,u.__prototype__=u,r}var r=Object.prototype.hasOwnProperty,i;n.prototype=new Function,n.implement=function(t,i){n.prototype.implement.call(t,i)},n.prototype.implement=function(n){t(this.prototype,n)},n.Singleton=function(t){var r=void 0,i=r,u=new n(t),f=function(){return i===r&&(i=u.apply(null,arguments)),i};return f.prototype=u.prototype,f},this.Class=n,i=new n({options:{},setOptions:function(n){var i,t;n=n!=null?n:{},i=Object.prototype.hasOwnProperty;for(t in n)i.call(n,t)&&(this.options[t]=n[t])}}),this.Options=i});
/*!
 * Modernizr v2.7.2
 * www.modernizr.com
 *
 * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton
 * Available under the BSD and MIT licenses: www.modernizr.com/license/
 */
window.Modernizr=function(n,t,i){function a(n){c.cssText=n}function vt(n,t){return a(y.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function lt(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function yt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ot.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?lt(u,t):(u=(n+" "+st.join(r+" ")+r).split(" "),yt(u,t,i))}function pt(){u.input=function(i){for(var r=0,u=i.length;r<u;r++)w[i[r]]=!!(i[r]in o);return w.list&&(w.list=!!(t.createElement("datalist")&&n.HTMLDataListElement)),w}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),u.inputtypes=function(n){for(var u=0,r,f,e,h=n.length;u<h;u++)o.setAttribute("type",f=n[u]),r=o.type!=="text",r&&(o.value=g,o.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&o.style.WebkitAppearance!==i?(s.appendChild(o),e=t.defaultView,r=e.getComputedStyle&&e.getComputedStyle(o,null).WebkitAppearance!=="textfield"&&o.offsetHeight!==0,s.removeChild(o)):/^(search|tel)$/.test(f)||(r=/^(url|email)$/.test(f)?o.checkValidity&&o.checkValidity()===!1:o.value!=g)),ht[n[u]]=!!r;return ht}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var u={},d=!0,s=t.documentElement,e="modernizr",ut=t.createElement(e),c=ut.style,o=t.createElement("input"),g=":)",ft={}.toString,y=" -webkit- -moz- -o- -ms- ".split(" "),et="Webkit Moz O ms",ot=et.split(" "),st=et.toLowerCase().split(" "),p={svg:"http://www.w3.org/2000/svg"},r={},ht={},w={},nt=[],tt=nt.slice,b,l=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,o=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:e+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',e,'">',n,"<\/style>"].join(""),f.id=e,(h?f:o).innerHTML+=l,o.appendChild(f),h||(o.style.background="",o.style.overflow="hidden",v=s.style.overflow,s.style.overflow="hidden",s.appendChild(o)),a=i(f,n),h?f.parentNode.removeChild(f):(o.parentNode.removeChild(o),s.style.overflow=v),!!a},at=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t).matches:(l("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},ct=function(){function r(r,u){u=u||t.createElement(n[r]||"div"),r="on"+r;var f=r in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=h(u[r],"function"),h(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),it={}.hasOwnProperty,rt,k;rt=h(it,"undefined")||h(it.call,"undefined")?function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")}:function(n,t){return it.call(n,t)},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=tt.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(tt.call(arguments))),Object(u)===u)?u:e:t.apply(n,i.concat(tt.call(arguments)))},r}),r.flexbox=function(){return f("flexWrap")},r.flexboxlegacy=function(){return f("boxDirection")},r.canvas=function(){var n=t.createElement("canvas");return!!(n.getContext&&n.getContext("2d"))},r.canvastext=function(){return!!(u.canvas&&h(t.createElement("canvas").getContext("2d").fillText,"function"))},r.webgl=function(){return!!n.WebGLRenderingContext},r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:l(["@media (",y.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i},r.geolocation=function(){return"geolocation"in navigator},r.postmessage=function(){return!!n.postMessage},r.websqldatabase=function(){return!!n.openDatabase},r.indexedDB=function(){return!!f("indexedDB",n)},r.hashchange=function(){return ct("hashchange",n)&&(t.documentMode===i||t.documentMode>7)},r.history=function(){return!!(n.history&&history.pushState)},r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n},r.websockets=function(){return"WebSocket"in n||"MozWebSocket"in n},r.rgba=function(){return a("background-color:rgba(150,255,150,.5)"),v(c.backgroundColor,"rgba")},r.hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),v(c.backgroundColor,"rgba")||v(c.backgroundColor,"hsla")},r.multiplebgs=function(){return a("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(c.background)},r.backgroundsize=function(){return f("backgroundSize")},r.borderimage=function(){return f("borderImage")},r.borderradius=function(){return f("borderRadius")},r.boxshadow=function(){return f("boxShadow")},r.textshadow=function(){return t.createElement("div").style.textShadow===""},r.opacity=function(){return vt("opacity:.55"),/^0.55$/.test(c.opacity)},r.cssanimations=function(){return f("animationName")},r.csscolumns=function(){return f("columnCount")},r.cssgradients=function(){var n="background-image:";return a((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+y.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),v(c.backgroundImage,"gradient")},r.cssreflections=function(){return f("boxReflect")},r.csstransforms=function(){return!!f("transform")},r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in s.style&&l("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n},r.csstransitions=function(){return f("transition")},r.fontface=function(){var n;return l('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&e.indexOf(r.split(" ")[0])===0}),n},r.generatedcontent=function(){var n;return l(["#",e,"{font:0/0 a}#",e,':after{content:"',g,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n},r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},r.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}},r.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}},r.webworkers=function(){return!!n.Worker},r.applicationcache=function(){return!!n.applicationCache},r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(p.svg,"svg").createSVGRect},r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==p.svg},r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(ft.call(t.createElementNS(p.svg,"animate")))},r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(ft.call(t.createElementNS(p.svg,"clipPath")))};for(k in r)rt(r,k)&&(b=k.toLowerCase(),u[b]=r[k](),nt.push((u[b]?"":"no-")+b));u.input||pt(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)rt(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t,typeof d!="undefined"&&d&&(s.className+=" "+(t?"":"no-")+n),u[n]=t}return u},a(""),ut=o=null;
/**
     * @preserve HTML5 Shiv prev3.7.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
     */
return function(n,t){function p(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function c(){var n=r.elements;return typeof n=="string"?n.split(" "):n}function o(n){var t=h[n[s]];return t||(t={},e++,n[s]=e,h[e]=t),t}function l(n,r,u){if(r||(r=t),i)return r.createElement(n);u||(u=o(r));var f;return f=u.cache[n]?u.cache[n].cloneNode():y.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),f.canHaveChildren&&!v.test(n)&&!f.tagUrn?u.frag.appendChild(f):f}function w(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||o(n);for(var f=r.frag.cloneNode(),u=0,e=c(),s=e.length;u<s;u++)f.createElement(e[u]);return f}function b(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag()),n.createElement=function(i){return r.shivMethods?l(i,n,t):t.createElem(i)},n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function a(n){n||(n=t);var u=o(n);return!r.shivCSS||f||u.hasCSS||(u.hasCSS=!!p(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),i||b(n,u),n}var u=n.html5||{},v=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,y=/^(?: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,s="_html5shiv",e=0,h={},i,r;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>",f="hidden"in n,i=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(r){f=!0,i=!0}})(),r={elements:u.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:u.shivCSS!==!1,supportsUnknownElements:i,shivMethods:u.shivMethods!==!1,type:"default",shivDocument:a,createElement:l,createDocumentFragment:w},n.html5=r,a(t)}(this,t),u._version="2.7.2",u._prefixes=y,u._domPrefixes=st,u._cssomPrefixes=ot,u.mq=at,u.hasEvent=ct,u.testProp=function(n){return lt([n])},u.testAllProps=f,u.testStyles=l,u.prefixed=function(n,t,i){return t?f(n,t,i):f(n,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(d?" js "+nt.join(" "):""),u}(this,this.document)