jQuery.webshims.register("dom-extend",function(e,g,q,h,m){var C=g.modules,t=/\s*,\s*/,j={},u={},k={},A={},r={},z=e.fn.val,B=function(b,a,c,d,f){return f?z.call(e(b)):z.call(e(b),c)};e.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?z.call(this):e.prop(a,"value",b,"val",!0);if(e.isArray(b))return z.apply(this,arguments);var c=e.isFunction(b);return this.each(function(d){a=this;1===a.nodeType&&(c?(d=b.call(a,d,e.prop(a,"value",m,"val", !0)),null==d&&(d=""),e.prop(a,"value",d,"val")):e.prop(a,"value",b,"val"))})};var n="_webshimsLib"+Math.round(1E3*Math.random()),x=function(b,a,c){b=b.jquery?b[0]:b;if(!b)return c||{};var d=e.data(b,n);c!==m&&(d||(d=e.data(b,n,{})),a&&(d[a]=c));return a?d&&d[a]:d};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){e.fn[b.name]=function(){return this.map(function(){var a=x(this, "shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){j[b]=e[b];e[b]=function(a,c,d,f,v){var s="val"==f,l=!s?j[b]:B;if(!a||!u[c]||1!==a.nodeType||!s&&f&&"attr"==b&&e.attrFn[c])return l(a,c,d,f,v);var o=(a.nodeName||"").toLowerCase(),p=k[o],w="attr"==b&&(!1===d||null===d)?"removeAttr":b,g,i,h;p||(p=k["*"]);p&&(p=p[c]);p&&(g=p[w]);if(g){if("value"==c)i=g.isVal,g.isVal=s;if("removeAttr"===w)return g.value.call(a);if(d===m)return g.get?g.get.call(a):g.value;g.set&& ("attr"==b&&!0===d&&(d=c),h=g.set.call(a,d));if("value"==c)g.isVal=i}else h=l(a,c,d,f,v);if((d!==m||"removeAttr"===w)&&r[o]&&r[o][c]){var n;n="removeAttr"==w?!1:"prop"==w?!!d:!0;r[o][c].forEach(function(c){if(!c.only||(c.only="prop"==b)||"attr"==c.only&&"prop"!=b)c.call(a,d,n,s?"val":w,b)})}return h};A[b]=function(a,c,d){k[a]||(k[a]={});k[a][c]||(k[a][c]={});var f=k[a][c][b],v=function(a,f,o){return f&&f[a]?f[a]:o&&o[a]?o[a]:"prop"==b&&"value"==c?function(a){return d.isVal?B(this,c,a,!1,0===arguments.length): j[b](this,c,a)}:"prop"==b&&"value"==a&&d.value.apply?function(a){var d=j[b](this,c);d&&d.apply&&(d=d.apply(this,arguments));return d}:function(a){return j[b](this,c,a)}};k[a][c][b]=d;if(d.value===m){if(!d.set)d.set=d.writeable?v("set",d,f):g.cfg.useStrict&&"prop"==c?function(){throw c+" is readonly on "+a;}:e.noop;if(!d.get)d.get=v("get",d,f)}["value","get","set"].forEach(function(a){d[a]&&(d["_sup"+a]=v(a,f))})}});var D=!e.browser.msie||8d.runs&&setTimeout(d.test,30)):d.runs=0},handler:function(f){clearTimeout(b);b=setTimeout(function(){if("resize"==f.type){var b=e(q).width(),g=e(q).width();if(g==a&&b==c)return;a=g;c=b;d.height=d.getHeight();d.width=d.getWidth()}e.event.trigger("updateshadowdom")},"resize"==f.type?50:9)},_create:function(){e.each({Height:"getHeight",Width:"getWidth"},function(a,b){var c=h.body,e=h.documentElement;d[b]=function(){return Math.max(c["scroll"+a],e["scroll"+a],c["offset"+a],e["offset"+a],e["client"+ a])}})},start:function(){if(!this.init&&h.body)this.init=!0,this._create(),this.height=d.getHeight(),this.width=d.getWidth(),setInterval(this.test,400),e(this.test),e(q).bind("load",this.test),e(q).bind("resize",this.handler),function(){var a=e.fn.animate,b;e.fn.animate=function(){clearTimeout(b);b=setTimeout(function(){d.test();d.handler({type:"animationstart"})},19);return a.apply(this,arguments)}}()}};e.event.customEvent.updateshadowdom=!0;g.docObserve=function(){g.ready("DOM",function(){d.start()})}; return function(a,b,c){c=c||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);var d=e.data(a,n)||e.data(a,n,{}),o=e.data(b,n)||e.data(b,n,{}),p={};if(c.shadowFocusElement){if(c.shadowFocusElement){if(c.shadowFocusElement.jquery)c.shadowFocusElement=c.shadowFocusElement[0];p=e.data(c.shadowFocusElement,n)||e.data(c.shadowFocusElement,n,p)}}else c.shadowFocusElement=b;d.hasShadow=b;p.nativeElement=o.nativeElement=a;p.shadowData=o.shadowData=d.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:c.shadowFocusElement}; c.shadowChilds&&c.shadowChilds.each(function(){x(this,"shadowData",o.shadowData)});if(c.data)p.shadowData.data=o.shadowData.data=d.shadowData.data=c.data;c=null;g.docObserve()}}(),propTypes:{standard:function(b){y(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,""+a)},get:function(){return b.attr.get.call(this)||b.defaultValue}}},"boolean":function(b){y(b);if(!b.prop)b.prop={set:function(a){a?b.attr.set.call(this,""):b.removeAttr.value.call(this)},get:function(){return null!=b.attr.get.call(this)}}}, src:function(){var b=h.createElement("a");b.style.display="none";return function(a,c){y(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,b)},get:function(){var a=this.getAttribute(c),f;if(null==a)return"";b.setAttribute("href",a+"");if(!e.support.hrefNormalized){try{e(b).insertAfter(this),f=b.getAttribute("href",4)}catch(g){f=b.getAttribute("href",4)}e(b).detach()}return f||b.href}}}}(),enumarated:function(b){y(b);if(!b.prop)b.prop={set:function(a){b.attr.set.call(this,a)},get:function(){var a= (b.attr.get.call(this)||"").toLowerCase();if(!a||-1==b.limitedTo.indexOf(a))a=b.defaultValue;return a}}}},reflectProperties:function(b,a){"string"==typeof a&&(a=a.split(t));a.forEach(function(a){g.defineNodeNamesProperty(b,a,{prop:{set:function(b){e.attr(this,a,b)},get:function(){return e.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,c){u[a]=!0;if(c.reflect)g.propTypes[c.propType||"standard"](c,a);["prop","attr","removeAttr"].forEach(function(d){var f=c[d];f&&(f="prop"===d?e.extend({writeable:!0}, f):e.extend({},f,{writeable:!0}),A[d](b,a,f),"*"!=b&&g.cfg.extendNative&&"prop"==d&&f.value&&e.isFunction(f.value)&&E(b,a,f),c[d]=f)});c.initAttr&&i.content(b,a);return c},defineNodeNameProperties:function(b,a,c,d){for(var e in a)!d&&a[e].initAttr&&i.createTmpCache(b),c&&!a[e][c]&&(a[e][c]={},["value","set","get"].forEach(function(b){b in a[e]&&(a[e][c][b]=a[e][b],delete a[e][b])})),a[e]=g.defineNodeNameProperty(b,e,a[e]);d||i.flushTmpCache();return a},createElement:function(b,a,c){var d;e.isFunction(a)&& (a={after:a});i.createTmpCache(b);a.before&&i.createElement(b,a.before);c&&(d=g.defineNodeNameProperties(b,c,!1,!0));a.after&&i.createElement(b,a.after);i.flushTmpCache();return d},onNodeNamesPropertyModify:function(b,a,c,d){"string"==typeof b&&(b=b.split(t));e.isFunction(c)&&(c={set:c});b.forEach(function(b){r[b]||(r[b]={});"string"==typeof a&&(a=a.split(t));c.initAttr&&i.createTmpCache(b);a.forEach(function(a){r[b][a]||(r[b][a]=[],u[a]=!0);if(c.set){if(d)c.set.only=d;r[b][a].push(c.set)}c.initAttr&& i.content(b,a)});i.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,a,c){c||(c={});if(e.isFunction(c))c.set=c;g.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);c.set&&c.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?m:a}},removeAttr:{value:function(){this.removeAttribute(a);c.set&&c.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:c.initAttr||!1})},contentAttr:function(b,a,c){if(b.nodeName){if(c===m)return b=b.attributes[a]||{}, c=b.specified?b.value:null,null==c?m:c;"boolean"==typeof c?c?b.setAttribute(a,a):b.removeAttribute(a):b.setAttribute(a,c)}},activeLang:function(){var b=[],a={},c,d,f=/:\/\/|^\.*\//,h=function(a,b,c){return b&&c&&-1!==e.inArray(b,c.availabeLangs||[])?(a.loading=!0,c=c.langSrc,f.test(c)||(c=g.cfg.basePath+c),g.loader.loadScript(c+b+".js",function(){a.langObj[b]?(a.loading=!1,l(a,!0)):e(function(){a.langObj[b]&&l(a,!0);a.loading=!1})}),!0):!1},i=function(b){a[b]&&a[b].forEach(function(a){a.callback()})}, l=function(a,b){if(a.activeLang!=c&&a.activeLang!==d){var e=C[a.module].options;if(a.langObj[c]||d&&a.langObj[d])a.activeLang=c,a.callback(a.langObj[c]||a.langObj[d],c),i(a.module);else if(!b&&!h(a,c,e)&&!h(a,d,e)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],c),i(a.module)}};return function(f){if("string"==typeof f&&f!==c)c=f,d=c.split("-")[0],c==d&&(d=!1),e.each(b,function(a,b){l(b)});else if("object"==typeof f)if(f.register)a[f.register]||(a[f.register]=[]),a[f.register].push(f), f.callback();else{if(!f.activeLang)f.activeLang="";b.push(f);l(f)}return c}}()});e.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){g[b]=function(b,d,e,h){"string"==typeof b&&(b=b.split(t));var i={};b.forEach(function(b){i[b]=g[a](b,d,e,h)});return i}});g.isReady("webshimLocalization",!0)}); (function(e,g){var q=e.webshims.browserVersion;if(!(e.browser.mozilla&&5q&&7