(function(c){if(!Modernizr.genericDOM){var g=document,j,i,l=/<([\w:]+)/,o={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};c.webshims.fixHTML5=function(c){if("string"!=typeof c||o[(l.exec(c)||["",""])[1].toLowerCase()])return c;if(!i){j=g.body;if(!j)return c;i=g.createElement("div");i.style.display="none"}var m=i.cloneNode(!1);j.appendChild(m);m.innerHTML=c;j.removeChild(m);return m.childNodes}}})(jQuery); jQuery.webshims.register("dom-extend",function(c,g,j,i,l){var o=g.modules,h=/\s*,\s*/,m={},u={},n={},f={},s={},t=c.fn.val,w=function(a,b,d,e,k){return k?t.call(c(a)):t.call(c(a),d)};c.fn.val=function(a){var b=this[0];arguments.length&&null==a&&(a="");if(!arguments.length)return!b||1!==b.nodeType?t.call(this):c.prop(b,"value",a,"val",!0);if(c.isArray(a))return t.apply(this,arguments);var d=c.isFunction(a);return this.each(function(e){b=this;1===b.nodeType&&(d?(e=a.call(b,e,c.prop(b,"value",l,"val", !0)),null==e&&(e=""),c.prop(b,"value",e,"val")):c.prop(b,"value",a,"val"))})};var p="_webshimsLib"+Math.round(1E3*Math.random()),r=function(a,b,d){a=a.jquery?a[0]:a;if(!a)return d||{};var e=c.data(a,p);d!==l&&(e||(e=c.data(a,p,{})),b&&(e[b]=d));return b?e&&e[b]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(a){c.fn[a.name]=function(){return this.map(function(){var b=r(this, "shadowData");return b&&b[a.prop]||this})}});["removeAttr","prop","attr"].forEach(function(a){m[a]=c[a];c[a]=function(b,d,e,k,A){var f="val"==k,o=!f?m[a]:w;if(!b||!u[d]||1!==b.nodeType||!f&&k&&"attr"==a&&c.attrFn[d])return o(b,d,e,k,A);var y=(b.nodeName||"").toLowerCase(),g=n[y],h="attr"==a&&(!1===e||null===e)?"removeAttr":a,i,t,p;g||(g=n["*"]);g&&(g=g[d]);g&&(i=g[h]);if(i){if("value"==d)t=i.isVal,i.isVal=f;if("removeAttr"===h)return i.value.call(b);if(e===l)return i.get?i.get.call(b):i.value;i.set&& ("attr"==a&&!0===e&&(e=d),p=i.set.call(b,e));if("value"==d)i.isVal=t}else p=o(b,d,e,k,A);if((e!==l||"removeAttr"===h)&&s[y]&&s[y][d]){var j;j="removeAttr"==h?!1:"prop"==h?!!e:!0;s[y][d].forEach(function(d){if(!d.only||(d.only="prop"==a)||"attr"==d.only&&"prop"!=a)d.call(b,e,j,f?"val":h,a)})}return p};f[a]=function(b,d,e){n[b]||(n[b]={});n[b][d]||(n[b][d]={});var k=n[b][d][a],f=function(b,c,k){return c&&c[b]?c[b]:k&&k[b]?k[b]:"prop"==a&&"value"==d?function(b){return e.isVal?w(this,d,b,!1,0===arguments.length): m[a](this,d,b)}:"prop"==a&&"value"==b&&e.value.apply?function(b){var e=m[a](this,d);e&&e.apply&&(e=e.apply(this,arguments));return e}:function(b){return m[a](this,d,b)}};n[b][d][a]=e;if(e.value===l){if(!e.set)e.set=e.writeable?f("set",e,k):g.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+b;}:c.noop;if(!e.get)e.get=f("get",e,k)}["value","get","set"].forEach(function(b){e[b]&&(e["_sup"+b]=f(b,k))})}});var z=!c.browser.msie||8j&&7');g.moveToFirstEvent(this, "click")}});var u;g.defineNodeNamesBooleanProperty("details","open",function(g){var f=c(c.data(this,"summaryElement"));if(f){var h=g?"removeClass":"addClass",i=c(this);if(!u&&o.animate){i.stop().css({width:"",height:""});var j={width:i.width(),height:i.height()}}f.attr("aria-expanded",""+g);i[h]("closed-details-summary").children().not(f[0])[h]("closed-details-child");!u&&o.animate&&(g={width:i.width(),height:i.height()},i.css(j).animate(g,{complete:function(){c(this).css({width:"",height:""})}}))}}); g.createElement("details",function(){u=!0;var g=c.data(this,"summaryElement");g||(g=c("> summary:first-child",this),g[0]?m(g,this):(c(this).prependPolyfill(''+o.text+""),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));u=!1})});