vendor/assets/javascripts/webshims/minified/shims/combos/12.js in webshims-rails-0.3 vs vendor/assets/javascripts/webshims/minified/shims/combos/12.js in webshims-rails-0.4
- old
+ new
@@ -1,38 +1,43 @@
-(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||8<parseInt(c.browser.version,10),x=function(){var a=g.getPrototypeOf(i.createElement("foobar")),
-b=Object.prototype.hasOwnProperty;return function(d,e,c){var f=i.createElement(d),o=g.getPrototypeOf(f);if(z&&o&&a!==o&&(!f[e]||!b.call(f,e))){var h=f[e];c._supvalue=function(){return h&&h.apply?h.apply(this,arguments):h};o[e]=c.value}else c._supvalue=function(){var b=r(this,"propValue");return b&&b[e]&&b[e].apply?b[e].apply(this,arguments):b&&b[e]},q.extendValue(d,e,c.value);c.value._supvalue=c._supvalue}}(),q=function(){var a={};g.addReady(function(b,d){var e={},f=function(a){e[a]||(e[a]=c(b.getElementsByTagName(a)),
-d[0]&&c.nodeName(d[0],a)&&(e[a]=e[a].add(d)))};c.each(a,function(b,a){f(b);!a||!a.forEach?g.warn("Error: with "+b+"-property. methods: "+a):a.forEach(function(a){e[b].each(a)})});e=null});var b,d=c([]),e=function(d,e){a[d]?a[d].push(e):a[d]=[e];c.isDOMReady&&(b||c(i.getElementsByTagName(d))).each(e)};return{createTmpCache:function(a){c.isDOMReady&&(b=b||c(i.getElementsByTagName(a)));return b||d},flushTmpCache:function(){b=null},content:function(b,a){e(b,function(){var b=c.attr(this,a);null!=b&&c.attr(this,
-a,b)})},createElement:function(b,a){e(b,a)},extendValue:function(b,a,d){e(b,function(){c(this).each(function(){r(this,"propValue",{})[a]=this[a];this[a]=d})})}}}(),v=function(a,b){if(a.defaultValue===l)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[b||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};c.extend(g,{getID:function(){var a=(new Date).getTime();return function(b){var b=c(b),d=b.attr("id");d||(a++,d="ID-"+a,b.attr("id",d));return d}}(),extendUNDEFProp:function(a,
-b){c.each(b,function(b,e){b in a||(a[b]=e)})},createPropDefault:v,data:r,moveToFirstEvent:function(){var a=c._data?"_data":"data";return function(b,d,e){if((b=(c[a](b,"events")||{})[d])&&1<b.length)d=b.pop(),e||(e="bind"),"bind"==e&&b.delegateCount?b.splice(b.delegateCount,0,d):b.unshift(d)}}(),addShadowDom:function(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);if(!d.shadowFocusElement)d.shadowFocusElement=b;var e=c.data(a,p)||c.data(a,p,{}),k=c.data(b,p)||c.data(b,p,{});e.hasShadow=b;k.nativeElement=
-a;k.shadowData=e.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){r(this,"shadowData",k.shadowData)});if(d.data)e.shadowData.data=d.data,k.shadowData.data=d.data;d=null},propTypes:{standard:function(a){v(a);if(!a.prop)a.prop={set:function(b){a.attr.set.call(this,""+b)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){v(a);if(!a.prop)a.prop={set:function(b){b?a.attr.set.call(this,
-""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(a,b){"string"==typeof b&&(b=b.split(h));b.forEach(function(b){g.defineNodeNamesProperty(a,b,{prop:{set:function(a){c.attr(this,b,a)},get:function(){return c.attr(this,b)||""}}})})},defineNodeNameProperty:function(a,b,d){u[b]=!0;if(d.reflect)g.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(e){var k=d[e];k&&(k="prop"===e?c.extend({writeable:!0},k):c.extend({},
-k,{writeable:!0}),f[e](a,b,k),"*"!=a&&g.cfg.extendNative&&"prop"==e&&k.value&&c.isFunction(k.value)&&x(a,b,k),d[e]=k)});d.initAttr&&q.content(a,b);return d},defineNodeNameProperties:function(a,b,d,e){for(var c in b)!e&&b[c].initAttr&&q.createTmpCache(a),d&&(b[c][d]?g.log("override: "+a+"["+c+"] for "+d):(b[c][d]={},["value","set","get"].forEach(function(a){a in b[c]&&(b[c][d][a]=b[c][a],delete b[c][a])}))),b[c]=g.defineNodeNameProperty(a,c,b[c]);e||q.flushTmpCache();return b},createElement:function(a,
-b,d){var e;c.isFunction(b)&&(b={after:b});q.createTmpCache(a);b.before&&q.createElement(a,b.before);d&&(e=g.defineNodeNameProperties(a,d,!1,!0));b.after&&q.createElement(a,b.after);q.flushTmpCache();return e},onNodeNamesPropertyModify:function(a,b,d,e){"string"==typeof a&&(a=a.split(h));c.isFunction(d)&&(d={set:d});a.forEach(function(a){s[a]||(s[a]={});"string"==typeof b&&(b=b.split(h));d.initAttr&&q.createTmpCache(a);b.forEach(function(b){s[a][b]||(s[a][b]=[],u[b]=!0);if(d.set){if(e)d.set.only=e;
-s[a][b].push(d.set)}d.initAttr&&q.content(a,b)});q.flushTmpCache()})},defineNodeNamesBooleanProperty:function(a,b,d){d||(d={});if(c.isFunction(d))d.set=d;g.defineNodeNamesProperty(a,b,{attr:{set:function(a){this.setAttribute(b,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(b)?l:b}},removeAttr:{value:function(){this.removeAttribute(b);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,b,d){if(a.nodeName){if(d===
-l)return d=(a.attributes[b]||{}).value,null==d?l:d;"boolean"==typeof d?d?a.setAttribute(b,b):a.removeAttribute(b):a.setAttribute(b,d)}},activeLang:function(){var a=[],b={},d,e,f=/:\/\/|^\.*\//,h=function(b,a,d){return a&&d&&-1!==c.inArray(a,d.availabeLangs||[])?(b.loading=!0,d=d.langSrc,f.test(d)||(d=g.cfg.basePath+d),g.loader.loadScript(d+a+".js",function(){b.langObj[a]?(b.loading=!1,i(b,!0)):c(function(){b.langObj[a]&&i(b,!0);b.loading=!1})}),!0):!1},n=function(a){b[a]&&b[a].forEach(function(a){a.callback()})},
-i=function(a,b){if(a.activeLang!=d&&a.activeLang!==e){var c=o[a.module].options;if(a.langObj[d]||e&&a.langObj[e])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[e],d),n(a.module);else if(!b&&!h(a,d,c)&&!h(a,e,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),n(a.module)}};return function(f){if("string"==typeof f&&f!==d)d=f,e=d.split("-")[0],d==e&&(e=!1),c.each(a,function(a,b){i(b)});else if("object"==typeof f)if(f.register)b[f.register]||(b[f.register]=[]),b[f.register].push(f),
-f.callback();else{if(!f.activeLang)f.activeLang="";a.push(f);i(f)}return d}}()});c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,b){g[a]=function(a,e,c,f){"string"==typeof a&&(a=a.split(h));var o={};a.forEach(function(a){o[a]=g[b](a,e,c,f)});return o}});g.isReady("webshimLocalization",!0)});
-(function(c,g){var j=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<j)&&(!c.browser.msie||12>j&&7<j)){var i={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},l=function(c,h){c.getAttribute("role")||c.setAttribute("role",h)};c.webshims.addReady(function(o,h){c.each(i,function(f,g){for(var n=c(f,o).add(h.filter(f)),i=0,m=n.length;i<m;i++)l(n[i],g)});if(o===g){var m=g.getElementsByTagName("header")[0],j=g.getElementsByTagName("footer"),n=j.length;
-m&&!c(m).closest("section, article")[0]&&l(m,"banner");n&&(m=j[n-1],c(m).closest("section, article")[0]||l(m,"contentinfo"))}})}})(jQuery,document);
-(function(c,g,j){var i=g.audio&&g.video,l=!1;if(i)c=document.createElement("video"),g.videoBuffered="buffered"in c,l="loop"in c,j.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),g.videoBuffered||(j.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:g.videoBuffered,d:["dom-support"]}),j.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(c,h,g,j,n){var f=h.mediaelement,s=h.cfg.mediaelement,
-t=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var e=a.attr("type");if(e)d.type=e,d.container=c.trim(e.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=f.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=a.attr("media"))d.media=e;return d},w=swfobject.hasFlashPlayerVersion("9.0.115"),p=function(){h.ready("mediaelement-swf",function(){if(!f.createSWF)h.modules["mediaelement-swf"].test=
-c.noop,h.reTest(["mediaelement-swf"],i)})};f.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],"audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf",
-"asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};f.mimeTypes.source=c.extend({},f.mimeTypes.audio,f.mimeTypes.video);f.getTypeForSrc=function(a,b){if(-1!=a.indexOf("youtube.com/watch?")||-1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(f.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};f.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),
-c.isArray(b)||(b=[b]),b.forEach(function(b){var d=j.createElement("source");"string"==typeof b&&(b={src:b});d.setAttribute("src",b.src);b.type&&d.setAttribute("type",b.type);b.media&&d.setAttribute("media",b.media);a.append(d)});else{var b=[],d=a[0].nodeName.toLowerCase(),e=t(a,d);e.src?b.push(e):c("source",a).each(function(){e=t(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==n&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));f.srces(this,
-a);c(this).mediaLoad()})};f.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");f.canSwfPlaySrces=function(a,b){var d="";w&&(a=c(a),b=b||f.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&-1!=f.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var r={};f.canNativePlaySrces=function(a,
-b){var d="";if(i){var a=c(a),e=(a[0].nodeName||"").toLowerCase();if(!r[e])return d;b=b||f.srces(a);c.each(b,function(b,c){if(c.type&&r[e].prop._supvalue.call(a[0],c.type))return d=c,!1})}return d};f.setError=function(a,b){b||(b="can't play sources");c(a).pause().data("mediaerror",b);h.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var z=function(){var a;return function(b,d,c){h.ready("mediaelement-swf",function(){f.createSWF?f.createSWF(b,
-d,c):a||(a=!0,p(),z(b,d,c))})}}(),x=function(a,b,d,c,g){d||!1!==d&&b&&"flash"==b.isActive?(d=f.canSwfPlaySrces(a,c))?z(a,d,b):g?f.setError(a,!1):x(a,b,!1,c,!0):(d=f.canNativePlaySrces(a,c))?b&&"flash"==b.isActive&&f.setActive(a,"html5",b):g?(f.setError(a,!1),b&&"flash"==b.isActive&&f.setActive(a,"html5",b)):x(a,b,!0,c,!0)},q=/^(?:embed|object|datalist)$/i,v=function(a,b){var d=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{}),e=f.srces(a),g=a.parentNode;clearTimeout(d.loadTimer);c.data(a,
-"mediaerror",!1);if(e.length&&g&&!(1!=g.nodeType||q.test(g.nodeName||"")))b=b||h.data(a,"mediaelement"),x(a,b,s.preferFlash||n,e)};c(j).bind("ended",function(a){var b=h.data(a.target,"mediaelement");(!l||b&&"html5"!=b.isActive||c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,"paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});l||h.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var b=h.defineNodeNameProperty(a,
-"load",{prop:{value:function(){var a=h.data(this,"mediaelement");v(this,a);i&&(!a||"html5"==a.isActive)&&b.prop._supvalue&&b.prop._supvalue.apply(this,arguments)}}});r[a]=h.defineNodeNameProperty(a,"canPlayType",{prop:{value:function(b){var e="";i&&r[a].prop._supvalue&&(e=r[a].prop._supvalue.call(this,b),"no"==e&&(e=""));!e&&w&&(b=c.trim((b||"").split(";")[0]),-1!=f.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});h.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=
-this,b=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){v(a);a=null},9)}});g=function(){h.addReady(function(a,b){c("video, audio",a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<h.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():v(this);if(i){var a,b,f=this,g=function(){var a=c.prop(f,
-"buffered");if(a){for(var b="",d=0,e=a.length;d<e;d++)b+=a.end(d);return b}},n=function(){var a=g();a!=b&&(b=a,c(f).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==c.type&&(b=g());clearTimeout(a);a=setTimeout(n,999)}).bind("emptied stalled mediaerror abort suspend",function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};i?(h.isReady("mediaelement-core",!0),g(),w&&h.ready("WINDOWLOAD mediaelement",p)):h.ready("mediaelement-swf",g)})})(jQuery,Modernizr,
-jQuery.webshims);
-jQuery.webshims.register("details",function(c,g,j,i,l,o){var h=function(g){var f=c(g).parent("details");if(f[0]&&f.children(":first").get(0)===g)return f},m=function(g,f){var g=c(g),f=c(f),h=c.data(f[0],"summaryElement");c.data(g[0],"detailsElement",f);if(!h||g[0]!==h[0])h&&(h.hasClass("fallback-summary")?h.remove():h.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),c.data(f[0],
-"summaryElement",g),f.prop("open",f.prop("open"))};g.createElement("summary",function(){var i=h(this);if(i&&!c.data(this,"detailsElement")){var f,j,l=c.attr(this,"tabIndex")||"0";m(this,i);c(this).bind("focus.summaryPolyfill",function(){c(this).addClass("summary-has-focus")}).bind("blur.summaryPolyfill",function(){c(this).removeClass("summary-has-focus")}).bind("mouseenter.summaryPolyfill",function(){c(this).addClass("summary-has-hover")}).bind("mouseleave.summaryPolyfill",function(){c(this).removeClass("summary-has-hover")}).bind("click.summaryPolyfill",
-function(g){var i=h(this);if(i){if(!j&&g.originalEvent)return j=!0,g.stopImmediatePropagation(),g.preventDefault(),c(this).trigger("click"),j=!1;clearTimeout(f);f=setTimeout(function(){g.isDefaultPrevented()||i.prop("open",!i.prop("open"))},0)}}).bind("keydown.summaryPolyfill",function(f){if((13==f.keyCode||32==f.keyCode)&&!f.isDefaultPrevented())j=!0,f.preventDefault(),c(this).trigger("click"),j=!1}).attr({tabindex:l,role:"button"}).prepend('<span class="details-open-indicator" />');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('<summary class="fallback-summary">'+o.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));u=!1})});
+jQuery.webshims.register("dom-extend",function(c,h,k,m,p){var w=h.modules,q=/\s*,\s*/,r={},n={},i={},u={},f={},g=c.fn.val,E=function(b,a,d,e,o){return o?g.call(c(b)):g.call(c(b),d)};c.fn.val=function(b){var a=this[0];arguments.length&&null==b&&(b="");if(!arguments.length)return!a||1!==a.nodeType?g.call(this):c.prop(a,"value",b,"val",!0);if(c.isArray(b))return g.apply(this,arguments);var d=c.isFunction(b);return this.each(function(e){a=this;1===a.nodeType&&(d?(e=b.call(a,e,c.prop(a,"value",p,"val",
+!0)),null==e&&(e=""),c.prop(a,"value",e,"val")):c.prop(a,"value",b,"val"))})};var x="_webshimsLib"+Math.round(1E3*Math.random()),C=function(b,a,d){b=b.jquery?b[0]:b;if(!b)return d||{};var e=c.data(b,x);d!==p&&(e||(e=c.data(b,x,{})),a&&(e[a]=d));return a?e&&e[a]:e};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(b){c.fn[b.name]=function(){return this.map(function(){var a=C(this,
+"shadowData");return a&&a[b.prop]||this})}});["removeAttr","prop","attr"].forEach(function(b){r[b]=c[b];c[b]=function(a,d,e,o,A){var j="val"==o,s=!j?r[b]:E;if(!a||!n[d]||1!==a.nodeType||!j&&o&&"attr"==b&&c.attrFn[d])return s(a,d,e,o,A);var v=(a.nodeName||"").toLowerCase(),z=i[v],B="attr"==b&&(!1===e||null===e)?"removeAttr":b,g,h,l;z||(z=i["*"]);z&&(z=z[d]);z&&(g=z[B]);if(g){if("value"==d)h=g.isVal,g.isVal=j;if("removeAttr"===B)return g.value.call(a);if(e===p)return g.get?g.get.call(a):g.value;g.set&&
+("attr"==b&&!0===e&&(e=d),l=g.set.call(a,e));if("value"==d)g.isVal=h}else l=s(a,d,e,o,A);if((e!==p||"removeAttr"===B)&&f[v]&&f[v][d]){var u;u="removeAttr"==B?!1:"prop"==B?!!e:!0;f[v][d].forEach(function(d){if(!d.only||(d.only="prop"==b)||"attr"==d.only&&"prop"!=b)d.call(a,e,u,j?"val":B,b)})}return l};u[b]=function(a,d,e){i[a]||(i[a]={});i[a][d]||(i[a][d]={});var o=i[a][d][b],f=function(a,c,v){return c&&c[a]?c[a]:v&&v[a]?v[a]:"prop"==b&&"value"==d?function(a){return e.isVal?E(this,d,a,!1,0===arguments.length):
+r[b](this,d,a)}:"prop"==b&&"value"==a&&e.value.apply?function(a){var j=r[b](this,d);j&&j.apply&&(j=j.apply(this,arguments));return j}:function(a){return r[b](this,d,a)}};i[a][d][b]=e;if(e.value===p){if(!e.set)e.set=e.writeable?f("set",e,o):h.cfg.useStrict&&"prop"==d?function(){throw d+" is readonly on "+a;}:c.noop;if(!e.get)e.get=f("get",e,o)}["value","get","set"].forEach(function(a){e[a]&&(e["_sup"+a]=f(a,o))})}});var l=!c.browser.msie||8<parseInt(c.browser.version,10),D=function(){var b=h.getPrototypeOf(m.createElement("foobar")),
+a=Object.prototype.hasOwnProperty;return function(d,c,o){var f=m.createElement(d),j=h.getPrototypeOf(f);if(l&&j&&b!==j&&(!f[c]||!a.call(f,c))){var s=f[c];o._supvalue=function(){return s&&s.apply?s.apply(this,arguments):s};j[c]=o.value}else o._supvalue=function(){var a=C(this,"propValue");return a&&a[c]&&a[c].apply?a[c].apply(this,arguments):a&&a[c]},t.extendValue(d,c,o.value);o.value._supvalue=o._supvalue}}(),t=function(){var b={};h.addReady(function(a,d){var j={},s=function(b){j[b]||(j[b]=c(a.getElementsByTagName(b)),
+d[0]&&c.nodeName(d[0],b)&&(j[b]=j[b].add(d)))};c.each(b,function(a,b){s(a);!b||!b.forEach?h.warn("Error: with "+a+"-property. methods: "+b):b.forEach(function(b){j[a].each(b)})});j=null});var a,d=c([]),e=function(d,e){b[d]?b[d].push(e):b[d]=[e];c.isDOMReady&&(a||c(m.getElementsByTagName(d))).each(e)};return{createTmpCache:function(b){c.isDOMReady&&(a=a||c(m.getElementsByTagName(b)));return a||d},flushTmpCache:function(){a=null},content:function(a,b){e(a,function(){var a=c.attr(this,b);null!=a&&c.attr(this,
+b,a)})},createElement:function(a,b){e(a,b)},extendValue:function(a,b,d){e(a,function(){c(this).each(function(){C(this,"propValue",{})[b]=this[b];this[b]=d})})}}}(),y=function(b,a){if(b.defaultValue===p)b.defaultValue="";if(!b.removeAttr)b.removeAttr={value:function(){b[a||"prop"].set.call(this,b.defaultValue);b.removeAttr._supvalue.call(this)}};if(!b.attr)b.attr={}};c.extend(h,{getID:function(){var b=(new Date).getTime();return function(a){var a=c(a),d=a.attr("id");d||(b++,d="ID-"+b,a.attr("id",d));
+return d}}(),extendUNDEFProp:function(b,a){c.each(a,function(a,c){a in b||(b[a]=c)})},createPropDefault:y,data:C,moveToFirstEvent:function(){var b=c._data?"_data":"data";return function(a,d,e){if((a=(c[b](a,"events")||{})[d])&&1<a.length)d=a.pop(),e||(e="bind"),"bind"==e&&a.delegateCount?a.splice(a.delegateCount,0,d):a.unshift(d)}}(),addShadowDom:function(){var b,a,d,e,f={init:!1,start:function(){if(!this.init)this.init=!0,this.height=c(m).height(),this.width=c(m).width(),setInterval(function(){var a=
+c(m).height(),b=c(m).width();if(a!=f.height||b!=f.width)f.height=a,f.width=b,e({type:"docresize"})},400)}};e=function(e){clearTimeout(b);b=setTimeout(function(){if("resize"==e.type){var b=c(k).width(),s=c(k).width();if(s==a&&b==d)return;a=s;d=b;f.height=c(m).height();f.width=c(m).width()}c.event.trigger("updateshadowdom")},40)};c(k).bind("resize",e);c.event.customEvent.updateshadowdom=!0;return function(a,b,d){d=d||{};a.jquery&&(a=a[0]);b.jquery&&(b=b[0]);var v=c.data(a,x)||c.data(a,x,{}),e=c.data(b,
+x)||c.data(b,x,{}),g={};if(d.shadowFocusElement){if(d.shadowFocusElement){if(d.shadowFocusElement.jquery)d.shadowFocusElement=d.shadowFocusElement[0];g=c.data(d.shadowFocusElement,x)||c.data(d.shadowFocusElement,x,g)}}else d.shadowFocusElement=b;v.hasShadow=b;g.nativeElement=e.nativeElement=a;g.shadowData=e.shadowData=v.shadowData={nativeElement:a,shadowElement:b,shadowFocusElement:d.shadowFocusElement};d.shadowChilds&&d.shadowChilds.each(function(){C(this,"shadowData",e.shadowData)});if(d.data)g.shadowData.data=
+e.shadowData.data=v.shadowData.data=d.data;d=null;f.start()}}(),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=m.createElement("a");b.style.display="none";return function(a,d){y(a);if(!a.prop)a.prop=
+{set:function(b){a.attr.set.call(this,b)},get:function(){var a=this.getAttribute(d),f;if(null==a)return"";b.setAttribute("href",a+"");if(!c.support.hrefNormalized){try{c(b).insertAfter(this),f=b.getAttribute("href",4)}catch(g){f=b.getAttribute("href",4)}c(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(q));a.forEach(function(a){h.defineNodeNamesProperty(b,a,{prop:{set:function(b){c.attr(this,a,b)},get:function(){return c.attr(this,a)||""}}})})},defineNodeNameProperty:function(b,a,d){n[a]=!0;if(d.reflect)h.propTypes[d.propType||"standard"](d,a);["prop","attr","removeAttr"].forEach(function(e){var f=d[e];f&&(f="prop"===e?c.extend({writeable:!0},f):c.extend({},f,{writeable:!0}),u[e](b,a,f),"*"!=b&&h.cfg.extendNative&&"prop"==e&&f.value&&
+c.isFunction(f.value)&&D(b,a,f),d[e]=f)});d.initAttr&&t.content(b,a);return d},defineNodeNameProperties:function(b,a,d,c){for(var f in a)!c&&a[f].initAttr&&t.createTmpCache(b),d&&(a[f][d]?h.log("override: "+b+"["+f+"] for "+d):(a[f][d]={},["value","set","get"].forEach(function(b){b in a[f]&&(a[f][d][b]=a[f][b],delete a[f][b])}))),a[f]=h.defineNodeNameProperty(b,f,a[f]);c||t.flushTmpCache();return a},createElement:function(b,a,d){var f;c.isFunction(a)&&(a={after:a});t.createTmpCache(b);a.before&&t.createElement(b,
+a.before);d&&(f=h.defineNodeNameProperties(b,d,!1,!0));a.after&&t.createElement(b,a.after);t.flushTmpCache();return f},onNodeNamesPropertyModify:function(b,a,d,e){"string"==typeof b&&(b=b.split(q));c.isFunction(d)&&(d={set:d});b.forEach(function(b){f[b]||(f[b]={});"string"==typeof a&&(a=a.split(q));d.initAttr&&t.createTmpCache(b);a.forEach(function(a){f[b][a]||(f[b][a]=[],n[a]=!0);if(d.set){if(e)d.set.only=e;f[b][a].push(d.set)}d.initAttr&&t.content(b,a)});t.flushTmpCache()})},defineNodeNamesBooleanProperty:function(b,
+a,d){d||(d={});if(c.isFunction(d))d.set=d;h.defineNodeNamesProperty(b,a,{attr:{set:function(b){this.setAttribute(a,b);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(a)?p:a}},removeAttr:{value:function(){this.removeAttribute(a);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(b,a,d){if(b.nodeName){if(d===p)return b=b.attributes[a]||{},d=b.specified?b.value:null,null==d?p:d;"boolean"==typeof d?d?b.setAttribute(a,a):
+b.removeAttribute(a):b.setAttribute(a,d)}},activeLang:function(){var b=[],a={},d,f,g=/:\/\/|^\.*\//,i=function(a,b,d){return b&&d&&-1!==c.inArray(b,d.availabeLangs||[])?(a.loading=!0,d=d.langSrc,g.test(d)||(d=h.cfg.basePath+d),h.loader.loadScript(d+b+".js",function(){a.langObj[b]?(a.loading=!1,s(a,!0)):c(function(){a.langObj[b]&&s(a,!0);a.loading=!1})}),!0):!1},j=function(b){a[b]&&a[b].forEach(function(a){a.callback()})},s=function(a,b){if(a.activeLang!=d&&a.activeLang!==f){var c=w[a.module].options;
+if(a.langObj[d]||f&&a.langObj[f])a.activeLang=d,a.callback(a.langObj[d]||a.langObj[f],d),j(a.module);else if(!b&&!i(a,d,c)&&!i(a,f,c)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],d),j(a.module)}};return function(j){if("string"==typeof j&&j!==d)d=j,f=d.split("-")[0],d==f&&(f=!1),c.each(b,function(a,b){s(b)});else if("object"==typeof j)if(j.register)a[j.register]||(a[j.register]=[]),a[j.register].push(j),j.callback();else{if(!j.activeLang)j.activeLang="";b.push(j);s(j)}return d}}()});
+c.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(b,a){h[b]=function(b,c,f,g){"string"==typeof b&&(b=b.split(q));var j={};b.forEach(function(b){j[b]=h[a](b,c,f,g)});return j}});h.isReady("webshimLocalization",!0)});
+(function(c,h){var k=c.webshims.browserVersion;if(!(c.browser.mozilla&&5<k)&&(!c.browser.msie||12>k&&7<k)){var m={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(c,h){c.getAttribute("role")||c.setAttribute("role",h)};c.webshims.addReady(function(k,q){c.each(m,function(h,f){for(var g=c(h,k).add(q.filter(h)),i=0,m=g.length;i<m;i++)p(g[i],f)});if(k===h){var r=h.getElementsByTagName("header")[0],n=h.getElementsByTagName("footer"),i=n.length;
+r&&!c(r).closest("section, article")[0]&&p(r,"banner");i&&(r=n[i-1],c(r).closest("section, article")[0]||p(r,"contentinfo"))}})}})(jQuery,document);
+(function(c,h,k){var m=h.audio&&h.video,p=!1,w=k.cfg.mediaelement,q=k.bugs,r=function(){k.ready("mediaelement-swf",function(){if(!k.mediaelement.createSWF)k.modules["mediaelement-swf"].test=c.noop,k.reTest(["mediaelement-swf"],m)})},n;if(m){var i=document.createElement("video");h.videoBuffered="buffered"in i;p="loop"in i;k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));h.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",
+test:h.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"))}if(m&&!w.preferFlash){var u=function(f){var g=f.target.parentNode;!w.preferFlash&&(c(f.target).is("audio, video")||g&&c("source:last",g)[0]==f.target)&&k.ready("DOM mediaelement",function(){n&&r();k.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){n&&!w.preferFlash&&k.mediaelement.createSWF&&!c(f.target).closest("audio, video").is(".nonnative-api-active")?(w.preferFlash=!0,document.removeEventListener("error",
+u,!0),c("audio, video").mediaLoad(),k.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+f.target.src)):n||document.removeEventListener("error",u,!0)},20)})})};document.addEventListener("error",u,!0);c("audio, video").each(function(){this.error&&u({target:this})})}q.track=!1;h.track&&function(){if(!q.track)q.track="number"!=typeof c("<track />")[0].readyState;if(!q.track)try{new TextTrackCue(2,3,"")}catch(f){q.track=!0}var g=k.cfg.track,h=function(f){c(f.target).filter("track").each(i)},
+i=function(){if(q.track||!g.override&&3==c.prop(this,"readyState"))g.override=!0,k.reTest("track"),document.removeEventListener("error",h,!0),this&&c.nodeName(this,"track")?k.error("track support was overwritten. Please check your vtt including your vtt mime-type"):k.info("track support was overwritten. due to bad browser support")},u=function(){document.addEventListener("error",h,!0);q.track?i():c("track").each(i)};g.override||(k.isReady("track")?u():c(u))}();k.register("mediaelement-core",function(c,
+g,i,u,k){n=swfobject.hasFlashPlayerVersion("9.0.115");var l=g.mediaelement,D=function(a,b){var a=c(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var e=a.attr("type");if(e)d.type=e,d.container=c.trim(e.split(";")[0]);else if(b||(b=a[0].nodeName.toLowerCase(),"source"==b&&(b=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=l.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=a.attr("media"))d.media=e;return d},t=!n&&"postMessage"in i&&m,y=
+function(){var a;return function(){!a&&t&&(a=!0,g.loader.loadScript("https://www.youtube.com/player_api"),c(function(){g.polyfill("mediaelement-yt")}))}}(),b=function(){n?r():y()};g.addPolyfill("mediaelement-yt",{test:!t,d:["dom-support"]});l.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":"mp4,mpg4,m4r,m4a,m4p,m4b,aac".split(","),"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv",
+"f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}};l.mimeTypes.source=c.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(a,b){if(-1!=a.indexOf("youtube.com/watch?")||
+-1!=a.indexOf("youtube.com/v/"))return"video/youtube";var a=a.split("?")[0].split("."),a=a[a.length-1],d;c.each(l.mimeTypes[b],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};l.srces=function(a,b){a=c(a);if(b)a.removeAttr("src").removeAttr("type").find("source").remove(),c.isArray(b)||(b=[b]),b.forEach(function(b){var c=u.createElement("source");"string"==typeof b&&(b={src:b});c.setAttribute("src",b.src);b.type&&c.setAttribute("type",b.type);b.media&&c.setAttribute("media",b.media);a.append(c)});
+else{var b=[],d=a[0].nodeName.toLowerCase(),e=D(a,d);e.src?b.push(e):c("source",a).each(function(){e=D(this,d);e.src&&b.push(e)});return b}};c.fn.loadMediaSrc=function(a,b){return this.each(function(){b!==k&&(c(this).removeAttr("poster"),b&&c.attr(this,"poster",b));l.srces(this,a);c(this).mediaLoad()})};l.swfMimeTypes="video/3gpp,video/x-msvideo,video/quicktime,video/x-m4v,video/mp4,video/m4p,video/x-flv,video/flv,audio/mpeg,audio/aac,audio/mp4,audio/x-m4a,audio/m4a,audio/mp3,audio/x-fla,audio/fla,youtube/flv,jwplayer/jwplayer,video/youtube".split(",");
+l.canThirdPlaySrces=function(a,b){var d="";if(n||t)a=c(a),b=b||l.srces(a),c.each(b,function(a,b){if(b.container&&b.src&&(n&&-1!=l.swfMimeTypes.indexOf(b.container)||t&&"video/youtube"==b.container))return d=b,!1});return d};var a={};l.canNativePlaySrces=function(b,d){var e="";if(m){var b=c(b),g=(b[0].nodeName||"").toLowerCase();if(!a[g])return e;d=d||l.srces(b);c.each(d,function(c,d){if(d.type&&a[g].prop._supvalue.call(b[0],d.type))return e=d,!1})}return e};l.setError=function(a,b){b||(b="can't play sources");
+c(a).pause().data("mediaerror",b);g.warn("mediaelementError: "+b);setTimeout(function(){c(a).data("mediaerror")&&c(a).trigger("mediaerror")},1)};var d=function(){var a;return function(c,e,f){g.ready(n?"mediaelement-swf":"mediaelement-yt",function(){l.createSWF?l.createSWF(c,e,f):a||(a=!0,b(),d(c,e,f))});!a&&t&&!l.createSWF&&y()}}(),e=function(a,b,c,f,g){c||!1!==c&&b&&"third"==b.isActive?(c=l.canThirdPlaySrces(a,f))?d(a,c,b):g?l.setError(a,!1):e(a,b,!1,f,!0):(c=l.canNativePlaySrces(a,f))?b&&"third"==
+b.isActive&&l.setActive(a,"html5",b):g?(l.setError(a,!1),b&&"third"==b.isActive&&l.setActive(a,"html5",b)):e(a,b,!0,f,!0)},o=/^(?:embed|object|datalist)$/i,A=function(a,b){var d=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{}),i=l.srces(a),h=a.parentNode;clearTimeout(d.loadTimer);c.data(a,"mediaerror",!1);if(i.length&&h&&!(1!=h.nodeType||o.test(h.nodeName||"")))b=b||g.data(a,"mediaelement"),e(a,b,w.preferFlash||k,i)};c(u).bind("ended",function(a){var b=g.data(a.target,"mediaelement");
+(!p||b&&"html5"!=b.isActive||c.prop(a.target,"loop"))&&setTimeout(function(){!c.prop(a.target,"paused")&&c.prop(a.target,"loop")&&c(a.target).prop("currentTime",0).play()},1)});p||g.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var d=g.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=g.data(this,"mediaelement");A(this,a);m&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});a[b]=g.defineNodeNameProperty(b,
+"canPlayType",{prop:{value:function(d){var e="";m&&a[b].prop._supvalue&&(e=a[b].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&n&&(d=c.trim((d||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});g.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){A(a);a=null},9)}});i=function(){g.addReady(function(a,b){c("video, audio",
+a).add(b.filter("video, audio")).each(function(){c.browser.msie&&8<g.browserVersion&&c.prop(this,"paused")&&!c.prop(this,"readyState")&&c(this).is('audio[preload="none"][controls]:not([autoplay])')?c(this).prop("preload","metadata").mediaLoad():A(this);if(m){var a,b,d=this,e=function(){var a=c.prop(d,"buffered");if(a){for(var b="",e=0,g=a.length;e<g;e++)b+=a.end(e);return b}},i=function(){var a=e();a!=b&&(b=a,c(d).triggerHandler("progress"))};c(this).bind("play loadstart progress",function(c){"progress"==
+c.type&&(b=e());clearTimeout(a);a=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",function(c){"emptied"==c.type&&(b=!1);clearTimeout(a)})}})})};h.track&&!q.track&&g.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});m?(g.isReady("mediaelement-core",!0),i(),g.ready("WINDOWLOAD mediaelement",b)):g.ready("mediaelement-swf",i);c(function(){g.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
+jQuery.webshims.register("details",function(c,h,k,m,p,w){var q=function(i){var h=c(i).parent("details");if(h[0]&&h.children(":first").get(0)===i)return h},r=function(i,h){var i=c(i),h=c(h),f=c.data(h[0],"summaryElement");c.data(i[0],"detailsElement",h);if(!f||i[0]!==f[0])f&&(f.hasClass("fallback-summary")?f.remove():f.unbind(".summaryPolyfill").removeData("detailsElement").removeAttr("role").removeAttr("tabindex").removeAttr("aria-expanded").removeClass("summary-button").find("span.details-open-indicator").remove()),
+c.data(h[0],"summaryElement",i),h.prop("open",h.prop("open"))};h.createElement("summary",function(){var i=q(this);if(i&&!c.data(this,"detailsElement")){var k,f,g=c.attr(this,"tabIndex")||"0";r(this,i);c(this).bind("focus.summaryPolyfill",function(){c(this).addClass("summary-has-focus")}).bind("blur.summaryPolyfill",function(){c(this).removeClass("summary-has-focus")}).bind("mouseenter.summaryPolyfill",function(){c(this).addClass("summary-has-hover")}).bind("mouseleave.summaryPolyfill",function(){c(this).removeClass("summary-has-hover")}).bind("click.summaryPolyfill",
+function(g){var h=q(this);if(h){if(!f&&g.originalEvent)return f=!0,g.stopImmediatePropagation(),g.preventDefault(),c(this).trigger("click"),f=!1;clearTimeout(k);k=setTimeout(function(){g.isDefaultPrevented()||h.prop("open",!h.prop("open"))},0)}}).bind("keydown.summaryPolyfill",function(g){if((13==g.keyCode||32==g.keyCode)&&!g.isDefaultPrevented())f=!0,g.preventDefault(),c(this).trigger("click"),f=!1}).attr({tabindex:g,role:"button"}).prepend('<span class="details-open-indicator" />');h.moveToFirstEvent(this,
+"click")}});var n;h.defineNodeNamesBooleanProperty("details","open",function(h){var k=c(c.data(this,"summaryElement"));if(k){var f=h?"removeClass":"addClass",g=c(this);if(!n&&w.animate){g.stop().css({width:"",height:""});var m={width:g.width(),height:g.height()}}k.attr("aria-expanded",""+h);g[f]("closed-details-summary").children().not(k[0])[f]("closed-details-child");!n&&w.animate&&(h={width:g.width(),height:g.height()},g.css(m).animate(h,{complete:function(){c(this).css({width:"",height:""})}}))}});
+h.createElement("details",function(){n=!0;var h=c.data(this,"summaryElement");h||(h=c("> summary:first-child",this),h[0]?r(h,this):(c(this).prependPolyfill('<summary class="fallback-summary">'+w.text+"</summary>"),c.data(this,"summaryElement")));c.prop(this,"open",c.prop(this,"open"));n=!1})});