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