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