vendor/assets/javascripts/webshims/minified/shims/combos/10.js in webshims-rails-0.3 vs vendor/assets/javascripts/webshims/minified/shims/combos/10.js in webshims-rails-0.4
- old
+ new
@@ -1,76 +1,83 @@
-(function(){var a=Function.prototype.call,b=Object.prototype,k=Array.prototype.slice,h,i;if(!Function.prototype.bind)Function.prototype.bind=function(a){var d=this;if("function"!=typeof d)throw new TypeError;var b=k.call(arguments,1),m=function(){if(this instanceof m){var g=function(){};g.prototype=d.prototype;var g=new g,i=d.apply(g,b.concat(k.call(arguments)));return null!==i&&Object(i)===i?i:g}return d.apply(a,b.concat(k.call(arguments)))};return m};i=a.bind(b.toString);h=a.bind(b.hasOwnProperty);
-if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==i(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,d){var g=q(this),m=0,b=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(;m<b;)m in g&&a.call(d,g[m],m,g),m++};if(!Array.prototype.map)Array.prototype.map=function(a,g){var d=q(this),b=d.length>>>0,j=Array(b);if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)e in d&&(j[e]=a.call(g,d[e],e,d));return j};if(!Array.prototype.filter)Array.prototype.filter=
-function(a,d){var g=q(this),b=g.length>>>0,j=[];if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)e in g&&a.call(d,g[e],e,g)&&j.push(g[e]);return j};if(!Array.prototype.every)Array.prototype.every=function(a,g){var d=q(this),b=d.length>>>0;if("[object Function]"!=i(a))throw new TypeError;for(var e=0;e<b;e++)if(e in d&&!a.call(g,d[e],e,d))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,d){var g=q(this),b=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;
-for(var e=0;e<b;e++)if(e in g&&a.call(d,g[e],e,g))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var g=q(this),d=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!d&&1==arguments.length)throw new TypeError;var b=0,e;if(2<=arguments.length)e=arguments[1];else{do{if(b in g){e=g[b++];break}if(++b>=d)throw new TypeError;}while(1)}for(;b<d;b++)b in g&&(e=a.call(void 0,e,g[b],b,g));return e};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var g=
-q(this),d=g.length>>>0;if("[object Function]"!=i(a))throw new TypeError;if(!d&&1==arguments.length)throw new TypeError;var b,d=d-1;if(2<=arguments.length)b=arguments[1];else{do{if(d in g){b=g[d--];break}if(0>--d)throw new TypeError;}while(1)}do d in this&&(b=a.call(void 0,b,g[d],d,g));while(d--);return b};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var g=q(this),d=g.length>>>0;if(!d)return-1;var b=0;1<arguments.length&&(b=p(arguments[1]));for(b=0<=b?b:d-Math.abs(b);b<d;b++)if(b in
-g&&g[b]===a)return b;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var g=q(this),d=g.length>>>0;if(!d)return-1;var b=d-1;1<arguments.length&&(b=p(arguments[1]));for(b=0<=b?b:d-Math.abs(b);0<=b;b--)if(b in g&&a===g[b])return b;return-1};if(!Object.keys){var g=!0,d="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),u=d.length,e;for(e in{toString:null})g=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
-typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],i;for(i in a)h(a,i)&&b.push(i);if(g)for(i=0;i<u;i++){var e=d[i];h(a,e)&&b.push(e)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,b,g;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(b=a.length;b--;)g=a[b],10>g&&(a[b]="0"+g);return a.slice(0,3).join("-")+"T"+
-a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||a.trim()){var a="["+a+"]",o=RegExp("^"+a+a+"*"),j=
-RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(o,"").replace(j,"")}}var p=function(a){a=+a;a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},v="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return v&&"string"==typeof a&&a?a.split(""):Object(a)}})();
-(function(a,b){var k=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);k&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});k=!!a.bar}catch(b){k=!1}a=null}();Modernizr.objectAccessor=!(!(k||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=k;
-if(!k||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var h=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,g,d,h){var e;e=function(){};e.prototype=a;e=new e;if(!h&&!("__proto__"in e)&&!Modernizr.objectAccessor)e.__proto__=a;g&&b.defineProperties(e,g);if(d)e.options=jQuery.extend(!0,{},e.options||{},d),d=e.options;e._create&&jQuery.isFunction(e._create)&&e._create(d);return e};b.defineProperties=function(a,
-g){for(var d in g)h(g,d)&&b.defineProperty(a,d,g[d]);return a};b.defineProperty=function(a,b,d){if("object"!=typeof d||null===d)return a;if(h(d,"value"))return a[b]=d.value,a;a.__defineGetter__&&("function"==typeof d.get&&a.__defineGetter__(b,d.get),"function"==typeof d.set&&a.__defineSetter__(b,d.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
-typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var d;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return d=Object.getOwnPropertyDescriptor(a,b)}catch(k){}d={configurable:!0,enumerable:!0,writable:!0,value:void 0};var e=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!e&&!o){if(!h(a,b))return;d.value=a[b];return d}delete d.writable;delete d.value;d.get=d.set=void 0;if(e)d.get=
-e;if(o)d.set=o;return d}}})(jQuery,jQuery.webshims);(function(a){if(!Modernizr.genericDOM){var b=document,k,h,i=/<([\w:]+)/,g={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||g[(i.exec(a)||["",""])[1].toLowerCase()])return a;if(!h){k=b.body;if(!k)return a;h=b.createElement("div");h.style.display="none"}var u=h.cloneNode(!1);k.appendChild(u);u.innerHTML=a;k.removeChild(u);return u.childNodes}}})(jQuery);
-jQuery.webshims.register("dom-extend",function(a,b,k,h,i){var g=b.modules,d=/\s*,\s*/,u={},e={},o={},j={},p={},v=a.fn.val,q=function(f,c,l,b,d){return d?v.call(a(f)):v.call(a(f),l)};a.fn.val=function(f){var c=this[0];arguments.length&&null==f&&(f="");if(!arguments.length)return!c||1!==c.nodeType?v.call(this):a.prop(c,"value",f,"val",!0);if(a.isArray(f))return v.apply(this,arguments);var l=a.isFunction(f);return this.each(function(b){c=this;1===c.nodeType&&(l?(b=f.call(c,b,a.prop(c,"value",i,"val",
-!0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",f,"val"))})};var r="_webshimsLib"+Math.round(1E3*Math.random()),n=function(f,c,l){f=f.jquery?f[0]:f;if(!f)return l||{};var b=a.data(f,r);l!==i&&(b||(b=a.data(f,r,{})),c&&(b[c]=l));return c?b&&b[c]:b};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(f){a.fn[f.name]=function(){return this.map(function(){var a=n(this,
-"shadowData");return a&&a[f.prop]||this})}});["removeAttr","prop","attr"].forEach(function(f){u[f]=a[f];a[f]=function(c,l,b,d,g){var j="val"==d,z=!j?u[f]:q;if(!c||!e[l]||1!==c.nodeType||!j&&d&&"attr"==f&&a.attrFn[l])return z(c,l,b,d,g);var A=(c.nodeName||"").toLowerCase(),x=o[A],h="attr"==f&&(!1===b||null===b)?"removeAttr":f,m,k,n;x||(x=o["*"]);x&&(x=x[l]);x&&(m=x[h]);if(m){if("value"==l)k=m.isVal,m.isVal=j;if("removeAttr"===h)return m.value.call(c);if(b===i)return m.get?m.get.call(c):m.value;m.set&&
-("attr"==f&&!0===b&&(b=l),n=m.set.call(c,b));if("value"==l)m.isVal=k}else n=z(c,l,b,d,g);if((b!==i||"removeAttr"===h)&&p[A]&&p[A][l]){var s;s="removeAttr"==h?!1:"prop"==h?!!b:!0;p[A][l].forEach(function(a){if(!a.only||(a.only="prop"==f)||"attr"==a.only&&"prop"!=f)a.call(c,b,s,j?"val":h,f)})}return n};j[f]=function(c,l,d){o[c]||(o[c]={});o[c][l]||(o[c][l]={});var g=o[c][l][f],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==f&&"value"==l?function(a){return d.isVal?q(this,l,a,!1,0===arguments.length):
-u[f](this,l,a)}:"prop"==f&&"value"==a&&d.value.apply?function(a){var c=u[f](this,l);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return u[f](this,l,a)}};o[c][l][f]=d;if(d.value===i){if(!d.set)d.set=d.writeable?e("set",d,g):b.cfg.useStrict&&"prop"==l?function(){throw l+" is readonly on "+c;}:a.noop;if(!d.get)d.get=e("get",d,g)}["value","get","set"].forEach(function(a){d[a]&&(d["_sup"+a]=e(a,g))})}});var t=!a.browser.msie||8<parseInt(a.browser.version,10),m=function(){var a=b.getPrototypeOf(h.createElement("foobar")),
-c=Object.prototype.hasOwnProperty;return function(l,d,g){var e=h.createElement(l),j=b.getPrototypeOf(e);if(t&&j&&a!==j&&(!e[d]||!c.call(e,d))){var i=e[d];g._supvalue=function(){return i&&i.apply?i.apply(this,arguments):i};j[d]=g.value}else g._supvalue=function(){var a=n(this,"propValue");return a&&a[d]&&a[d].apply?a[d].apply(this,arguments):a&&a[d]},s.extendValue(l,d,g.value);g.value._supvalue=g._supvalue}}(),s=function(){var f={};b.addReady(function(c,l){var d={},g=function(f){d[f]||(d[f]=a(c.getElementsByTagName(f)),
-l[0]&&a.nodeName(l[0],f)&&(d[f]=d[f].add(l)))};a.each(f,function(a,c){g(a);!c||!c.forEach?b.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){d[a].each(c)})});d=null});var c,l=a([]),d=function(b,l){f[b]?f[b].push(l):f[b]=[l];a.isDOMReady&&(c||a(h.getElementsByTagName(b))).each(l)};return{createTmpCache:function(f){a.isDOMReady&&(c=c||a(h.getElementsByTagName(f)));return c||l},flushTmpCache:function(){c=null},content:function(c,f){d(c,function(){var c=a.attr(this,f);null!=c&&a.attr(this,
-f,c)})},createElement:function(a,c){d(a,c)},extendValue:function(c,f,b){d(c,function(){a(this).each(function(){n(this,"propValue",{})[f]=this[f];this[f]=b})})}}}(),w=function(a,c){if(a.defaultValue===i)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(b,{getID:function(){var f=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(f++,b="ID-"+f,c.attr("id",b));return b}}(),extendUNDEFProp:function(f,
-c){a.each(c,function(a,c){a in f||(f[a]=c)})},createPropDefault:w,data:n,moveToFirstEvent:function(){var f=a._data?"_data":"data";return function(c,b,d){if((c=(a[f](c,"events")||{})[b])&&1<c.length)b=c.pop(),d||(d="bind"),"bind"==d&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(f,c,b){b=b||{};f.jquery&&(f=f[0]);c.jquery&&(c=c[0]);if(!b.shadowFocusElement)b.shadowFocusElement=c;var d=a.data(f,r)||a.data(f,r,{}),g=a.data(c,r)||a.data(c,r,{});d.hasShadow=c;g.nativeElement=
-f;g.shadowData=d.shadowData={nativeElement:f,shadowElement:c,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){n(this,"shadowData",g.shadowData)});if(b.data)d.shadowData.data=b.data,g.shadowData.data=b.data;b=null},propTypes:{standard:function(a){w(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){w(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,
-""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(f,c){"string"==typeof c&&(c=c.split(d));c.forEach(function(c){b.defineNodeNamesProperty(f,c,{prop:{set:function(b){a.attr(this,c,b)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(f,c,d){e[c]=!0;if(d.reflect)b.propTypes[d.propType||"standard"](d);["prop","attr","removeAttr"].forEach(function(g){var e=d[g];e&&(e="prop"===g?a.extend({writeable:!0},e):a.extend({},
-e,{writeable:!0}),j[g](f,c,e),"*"!=f&&b.cfg.extendNative&&"prop"==g&&e.value&&a.isFunction(e.value)&&m(f,c,e),d[g]=e)});d.initAttr&&s.content(f,c);return d},defineNodeNameProperties:function(a,c,d,g){for(var e in c)!g&&c[e].initAttr&&s.createTmpCache(a),d&&(c[e][d]?b.log("override: "+a+"["+e+"] for "+d):(c[e][d]={},["value","set","get"].forEach(function(a){a in c[e]&&(c[e][d][a]=c[e][a],delete c[e][a])}))),c[e]=b.defineNodeNameProperty(a,e,c[e]);g||s.flushTmpCache();return c},createElement:function(f,
-c,d){var g;a.isFunction(c)&&(c={after:c});s.createTmpCache(f);c.before&&s.createElement(f,c.before);d&&(g=b.defineNodeNameProperties(f,d,!1,!0));c.after&&s.createElement(f,c.after);s.flushTmpCache();return g},onNodeNamesPropertyModify:function(b,c,g,C){"string"==typeof b&&(b=b.split(d));a.isFunction(g)&&(g={set:g});b.forEach(function(a){p[a]||(p[a]={});"string"==typeof c&&(c=c.split(d));g.initAttr&&s.createTmpCache(a);c.forEach(function(c){p[a][c]||(p[a][c]=[],e[c]=!0);if(g.set){if(C)g.set.only=C;
-p[a][c].push(g.set)}g.initAttr&&s.content(a,c)});s.flushTmpCache()})},defineNodeNamesBooleanProperty:function(f,c,d){d||(d={});if(a.isFunction(d))d.set=d;b.defineNodeNamesProperty(f,c,{attr:{set:function(a){this.setAttribute(c,a);d.set&&d.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?i:c}},removeAttr:{value:function(){this.removeAttribute(c);d.set&&d.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:d.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===
-i)return b=(a.attributes[c]||{}).value,null==b?i:b;"boolean"==typeof b?b?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},l,e,j=/:\/\/|^\.*\//,i=function(c,d,f){return d&&f&&-1!==a.inArray(d,f.availabeLangs||[])?(c.loading=!0,f=f.langSrc,j.test(f)||(f=b.cfg.basePath+f),b.loader.loadScript(f+d+".js",function(){c.langObj[d]?(c.loading=!1,h(c,!0)):a(function(){c.langObj[d]&&h(c,!0);c.loading=!1})}),!0):!1},m=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
-h=function(a,c){if(a.activeLang!=l&&a.activeLang!==e){var b=g[a.module].options;if(a.langObj[l]||e&&a.langObj[e])a.activeLang=l,a.callback(a.langObj[l]||a.langObj[e],l),m(a.module);else if(!c&&!i(a,l,b)&&!i(a,e,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],l),m(a.module)}};return function(b){if("string"==typeof b&&b!==l)l=b,e=l.split("-")[0],l==e&&(e=!1),a.each(d,function(a,c){h(c)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),
-b.callback();else{if(!b.activeLang)b.activeLang="";d.push(b);h(b)}return l}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,f,g,e){"string"==typeof a&&(a=a.split(d));var j={};a.forEach(function(a){j[a]=b[c](a,f,g,e)});return j}});b.isReady("webshimLocalization",!0)});
-(function(a,b){var k=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<k)&&(!a.browser.msie||12>k&&7<k)){var h={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},i=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(g,d){a.each(h,function(b,e){for(var h=a(b,g).add(d.filter(b)),k=0,o=h.length;k<o;k++)i(h[k],e)});if(g===b){var k=b.getElementsByTagName("header")[0],e=b.getElementsByTagName("footer"),o=e.length;
-k&&!a(k).closest("section, article")[0]&&i(k,"banner");o&&(k=e[o-1],a(k).closest("section, article")[0]||i(k,"contentinfo"))}})}})(jQuery,document);
-(function(a,b,k){var h=b.audio&&b.video,i=!1;if(h)a=document.createElement("video"),b.videoBuffered="buffered"in a,i="loop"in a,k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),b.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,k,e,o){var j=b.mediaelement,p=b.cfg.mediaelement,
-v=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=j.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},q=swfobject.hasFlashPlayerVersion("9.0.115"),r=function(){b.ready("mediaelement-swf",function(){if(!j.createSWF)b.modules["mediaelement-swf"].test=
-a.noop,b.reTest(["mediaelement-swf"],h)})};j.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"]}};j.mimeTypes.source=a.extend({},j.mimeTypes.audio,j.mimeTypes.video);j.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(j.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};j.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),
-a.isArray(c)||(c=[c]),c.forEach(function(a){var c=e.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});else{var c=[],d=b[0].nodeName.toLowerCase(),j=v(b,d);j.src?c.push(j):a("source",b).each(function(){j=v(this,d);j.src&&c.push(j)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==o&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));j.srces(this,
-b);a(this).mediaLoad()})};j.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(",");j.canSwfPlaySrces=function(b,c){var d="";q&&(b=a(b),c=c||j.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&-1!=j.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var n={};j.canNativePlaySrces=function(b,
-c){var d="";if(h){var b=a(b),e=(b[0].nodeName||"").toLowerCase();if(!n[e])return d;c=c||j.srces(b);a.each(c,function(a,c){if(c.type&&n[e].prop._supvalue.call(b[0],c.type))return d=c,!1})}return d};j.setError=function(f,c){c||(c="can't play sources");a(f).pause().data("mediaerror",c);b.warn("mediaelementError: "+c);setTimeout(function(){a(f).data("mediaerror")&&a(f).trigger("mediaerror")},1)};var t=function(){var a;return function(c,e,g){b.ready("mediaelement-swf",function(){j.createSWF?j.createSWF(c,
-e,g):a||(a=!0,r(),t(c,e,g))})}}(),m=function(a,b,d,e,g){d||!1!==d&&b&&"flash"==b.isActive?(d=j.canSwfPlaySrces(a,e))?t(a,d,b):g?j.setError(a,!1):m(a,b,!1,e,!0):(d=j.canNativePlaySrces(a,e))?b&&"flash"==b.isActive&&j.setActive(a,"html5",b):g?(j.setError(a,!1),b&&"flash"==b.isActive&&j.setActive(a,"html5",b)):m(a,b,!0,e,!0)},s=/^(?:embed|object|datalist)$/i,w=function(f,c){var e=b.data(f,"mediaelementBase")||b.data(f,"mediaelementBase",{}),i=j.srces(f),h=f.parentNode;clearTimeout(e.loadTimer);a.data(f,
-"mediaerror",!1);if(i.length&&h&&!(1!=h.nodeType||s.test(h.nodeName||"")))c=c||b.data(f,"mediaelement"),m(f,c,p.preferFlash||o,i)};a(e).bind("ended",function(f){var c=b.data(f.target,"mediaelement");(!i||c&&"html5"!=c.isActive||a.prop(f.target,"loop"))&&setTimeout(function(){!a.prop(f.target,"paused")&&a.prop(f.target,"loop")&&a(f.target).prop("currentTime",0).play()},1)});i||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(f){var c=b.defineNodeNameProperty(f,
-"load",{prop:{value:function(){var a=b.data(this,"mediaelement");w(this,a);h&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});n[f]=b.defineNodeNameProperty(f,"canPlayType",{prop:{value:function(b){var c="";h&&n[f].prop._supvalue&&(c=n[f].prop._supvalue.call(this,b),"no"==c&&(c=""));!c&&q&&(b=a.trim((b||"").split(";")[0]),-1!=j.swfMimeTypes.indexOf(b)&&(c="maybe"));return c}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=
-this,c=b.data(a,"mediaelementBase")||b.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){w(a);a=null},9)}});k=function(){b.addReady(function(e,c){a("video, audio",e).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(h){var c,e,f=this,j=function(){var b=a.prop(f,
-"buffered");if(b){for(var c="",d=0,e=b.length;d<e;d++)c+=b.end(d);return c}},i=function(){var b=j();b!=e&&(e=b,a(f).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(e=j());clearTimeout(c);c=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(e=!1);clearTimeout(c)})}})})};h?(b.isReady("mediaelement-core",!0),k(),q&&b.ready("WINDOWLOAD mediaelement",r)):b.ready("mediaelement-swf",k)})})(jQuery,Modernizr,
-jQuery.webshims);
-jQuery.webshims.register("mediaelement-swf",function(a,b,k,h,i,g){var d=b.mediaelement,u=k.swfobject,e=Modernizr.audio&&Modernizr.video,o=u.hasFlashPlayerVersion("9.0.115"),j=0,k={paused:!0,ended:!1,currentSrc:"",duration:k.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},p=Object.keys(k),v={currentTime:0,volume:1,
-muted:!1};Object.keys(v);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:i},k,v),r=/^jwplayer-/,n=function(a){if(a=h.getElementById(a.replace(r,"")))return a=b.data(a,"mediaelement"),"flash"==a.isActive?a:null},t=function(a){return(a=b.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},m=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,i,b)},s=g.playerPath||b.cfg.basePath+
-"jwplayer/"+(g.playerName||"player.swf"),w=g.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(g.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(g.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(g.jwAttrs,{bgcolor:"#000000"});var f=function(b,c){var e=b.duration;if(!(e&&0<b._durationCalcs)){try{if(b.duration=b.jwapi.getPlaylist()[0].duration,!b.duration||0>=b.duration||b.duration===b._lastDuration)b.duration=e}catch(f){}b.duration&&
-b.duration!=b._lastDuration?(m(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&d.jwEvents.Model.META(a.extend({duration:b.duration},c),b),b._durationCalcs--):b._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,m(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,m(b._elem,"canplaythrough");b.readyState=a};d.jwEvents=
-{View:{PLAY:function(a){var b=n(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;m(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var d=n(b.id);if(d&&"percentage"in b&&d._bufferedEnd!=b.percentage){d.networkState=100==b.percentage?1:2;(isNaN(d.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&f(d,b);if(d.ended)d.ended=!1;if(d.duration){2<b.percentage&&20>b.percentage?c(3,d):20<b.percentage&&c(4,d);if(d._bufferedEnd&&
-d._bufferedEnd>b.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=b.percentage;d.buffered.length=1;if(100==b.percentage)d.networkState=1,c(4,d);a.event.trigger("progress",i,d._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:n(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=b.duration;if(a.duration)b.duration=a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=
-a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&m(b._elem,"durationchange");m(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=n(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&f(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;m(b._elem,"timeupdate")}},STATE:function(a){var b=n(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);m(b._elem,"waiting");
-break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||f(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;m(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,m(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,m(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=n(a.id);b&&d.setError(b._elem,a.message)},SEEK:function(a){var b=n(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=
-a.position)b.currentTime=a.position,m(b._elem,"timeupdate")}},VOLUME:function(a){var b=n(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,m(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=n(a.id);if(b&&b.muted!=a.state)b.muted=a.state,m(b._elem,"volumechange")}}}};var l=function(b){var c=!0;a.each(d.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},C=function(a){var b=
-a.actionQueue.length,c=0,d;if(b&&"flash"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},F=function(b){b&&(b._ppFlag===i&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===i||!b.paused))try{a(b._elem).play()}catch(c){}},1)},H=function(b){if(b&&"video"==b._elemNodeName){var c,d,e,f,g,j,i,l,h=function(h,k){if(k&&h&&!(1>k||1>h||"flash"!=b.isActive))if(c&&
-(c.remove(),c=!1),f=h,g=k,clearTimeout(i),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){j=j||a(b._elem).getShadowElement();var m;d&&!e?(m=j.height(),h*=m/k,k=m):!d&&e&&(m=j.width(),k*=m/h,h=m);l=!0;setTimeout(function(){l=!1},9);j.css({width:h,height:k})}},k=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),
-c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(i);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(h(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;h(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||
-this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){h(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",k).bind("swfstageresize updatemediaelementdimensions",function(){l||h(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");k();a.prop(b._elem,"readyState")&&h(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};
-d.playerResize=function(b){b&&(b=h.getElementById(b.replace(r,"")))&&a(b).triggerHandler("swfstageresize")};a(h).bind("emptied",function(a){a=t(a.target);F(a)});var D;d.jwPlayerReady=function(c){var d=n(c.id),e=0,f=function(){if(!(9<e))if(e++,l(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var g=parseFloat(c.version,10);(5.6>g||6<=g)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;C(d);F(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,
-9*e),2<e&&9>d.tryedReframeing&&(d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(D);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var z=a.noop;if(e){var A={play:1,playing:1},x="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
-G=x.map(function(a){return a+".webshimspolyfill"}).join(" "),I=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("flash"==d.activating)&&(c.stopImmediatePropagation(),A[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},z=function(c){a(c).unbind(G).bind(G,I);x.forEach(function(a){b.moveToFirstEvent(c,a)})};z(h)}d.setActive=function(c,d,e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"flash"!=d&&b.warn("wrong type for mediaelement activating: "+
-d);var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).hide().getShadowElement().show()):(a(c).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var J=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var e=b,f=d.networkState;
-for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&m(d._elem,"emptied")}}}(),E=function(b,c){var d=b._elem,e=b.shadowElem;a(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||a(d).width(),height:d.style.height||a(d).height()})};d.createSWF=function(c,f,h){if(o){1>j?j=1:j++;var i=a.extend({},g.jwVars,{image:a.prop(c,"poster")||"",file:f.srcProp}),l=a(c).data("jwvars")||{};h||(h=b.data(c,"mediaelement"));
-if(h&&h.swfCreated)d.setActive(c,"flash",h),J(h),h.currentSrc=f.srcProp,a.extend(i,l),g.changeJW(i,c,f,h,"load"),B(c,"sendEvent",["LOAD",i]);else{var k=a.prop(c,"controls"),m="jwplayer-"+b.getID(c),n=a.extend({},g.jwParams,a(c).data("jwparams")),p=c.nodeName.toLowerCase(),t=a.extend({},g.jwAttrs,{name:m,id:m},a(c).data("jwattrs")),r=a('<div class="polyfill-'+p+' polyfill-mediaelement" id="wrapper-'+m+'"><div id="'+m+'"></div>').css({position:"relative",overflow:"hidden"}),h=b.data(c,"mediaelement",
-b.objectCreate(q,{actionQueue:{value:[]},shadowElem:{value:r},_elemNodeName:{value:p},_elem:{value:c},currentSrc:{value:f.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=h.buffered.length)b.error("buffered index size error");else return(h.duration-h._bufferedStart)*h._bufferedEnd/100+h._bufferedStart},length:0}}}));E(h,k);r.insertBefore(c);e&&a.extend(h,{volume:a.prop(c,"volume"),muted:a.prop(c,
-"muted")});a.extend(i,{id:m,controlbar:k?g.jwVars.controlbar||("video"==p?"over":"bottom"):"video"==p?"none":"bottom",icons:""+(k&&"video"==p)},l,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+w):w;b.addShadowDom(c,r);z(c);d.setActive(c,"flash",h);g.changeJW(i,c,f,h,"embed");a(c).bind("updatemediaelementdimensions",function(){E(h,a.prop(c,"controls"))});H(h);u.embedSWF(s,m,"100%","100%","9.0.0",!1,i,n,t,function(d){if(d.success)h.jwapi=d.ref,k||a(d.ref).attr("tabindex",
-"-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&r[0].parentNode||"none"==d.ref.style.display)r.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),D||(clearTimeout(D),D=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?b.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
-(2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var B=function(a,b,c,d){return(d=d||t(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10<d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},f,g=function(a){"audio"==c&&
-("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=t(this);return b?b[a]:e&&f[a].prop._supget?f[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){g(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var c=t(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+a/100);B(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(c.volume==a||"flash"!=c.isActive))c.volume=
-a,m(c._elem,"volumechange")}}else if(f.volume.prop._supset)return f.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=t(this);if(b){if(a=!!a,B(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,m(b._elem,"volumechange")}else if(f.muted.prop._supset)return f.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=t(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=
-!0;b.stopPlayPause=!1},50);B(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,m(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=t(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),B(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
-!0,b.paused!=("play"!=a)))b.paused="play"!=a,m(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});p.forEach(g);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=t(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{B(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&E(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});f=b.defineNodeNameProperties(c,d,"prop")});if(o){var K=
-a.cleanData,L=a.browser.msie&&9>b.browserVersion,M={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&j)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){j--;try{a[b].sendEvent("play",!1)}catch(e){}}if(L)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return K.apply(this,arguments)}}if(!e){var y=h.createElement("a");y.style.display="none";["poster","src"].forEach(function(c){b.defineNodeNamesProperty("src"==c?["audio","video","source"]:["video"],
-c,{prop:{get:function(){var b=this.getAttribute(c),d;if(null==b)return"";y.setAttribute("href",b+"");if(!a.support.hrefNormalized){try{a(y).appendTo(this),d=y.getAttribute("href",4)}catch(e){d=y.getAttribute("href",4)}a(y).detach()}return d||y.href},set:function(b){a.attr(this,c,b)}}})});["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)});b.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},
-HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop")}});
+(function(){var a=Function.prototype.call,b=Object.prototype,h=Array.prototype.slice,k,m;if(!Function.prototype.bind)Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var e=h.call(arguments,1),d=function(){if(this instanceof d){var c=function(){};c.prototype=b.prototype;var c=new c,g=b.apply(c,e.concat(h.call(arguments)));return null!==g&&Object(g)===g?g:c}return b.apply(a,e.concat(h.call(arguments)))};return d};m=a.bind(b.toString);k=a.bind(b.hasOwnProperty);
+if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==m(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){var e=l(this),d=0,c=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(;d<c;)d in e&&a.call(b,e[d],d,e),d++};if(!Array.prototype.map)Array.prototype.map=function(a,b){var e=l(this),d=e.length>>>0,c=Array(d);if("[object Function]"!=m(a))throw new TypeError;for(var g=0;g<d;g++)g in e&&(c[g]=a.call(b,e[g],g,e));return c};if(!Array.prototype.filter)Array.prototype.filter=
+function(a,b){var e=l(this),d=e.length>>>0,c=[];if("[object Function]"!=m(a))throw new TypeError;for(var g=0;g<d;g++)g in e&&a.call(b,e[g],g,e)&&c.push(e[g]);return c};if(!Array.prototype.every)Array.prototype.every=function(a,b){var e=l(this),d=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;for(var c=0;c<d;c++)if(c in e&&!a.call(b,e[c],c,e))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var e=l(this),d=e.length>>>0;if("[object Function]"!=m(a))throw new TypeError;
+for(var c=0;c<d;c++)if(c in e&&a.call(b,e[c],c,e))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var b=l(this),e=b.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d=0,c;if(2<=arguments.length)c=arguments[1];else{do{if(d in b){c=b[d++];break}if(++d>=e)throw new TypeError;}while(1)}for(;d<e;d++)d in b&&(c=a.call(void 0,c,b[d],d,b));return c};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var b=
+l(this),e=b.length>>>0;if("[object Function]"!=m(a))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var d,e=e-1;if(2<=arguments.length)d=arguments[1];else{do{if(e in b){d=b[e--];break}if(0>--e)throw new TypeError;}while(1)}do e in this&&(d=a.call(void 0,d,b[e],e,b));while(e--);return d};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=l(this),e=b.length>>>0;if(!e)return-1;var d=0;1<arguments.length&&(d=z(arguments[1]));for(d=0<=d?d:e-Math.abs(d);d<e;d++)if(d in
+b&&b[d]===a)return d;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var b=l(this),e=b.length>>>0;if(!e)return-1;var d=e-1;1<arguments.length&&(d=z(arguments[1]));for(d=0<=d?d:e-Math.abs(d);0<=d;d--)if(d in b&&a===b[d])return d;return-1};if(2!=[1,2].splice(0).length){var s=Array.prototype.splice;Array.prototype.splice=function(a,b){return!arguments.length?[]:s.apply(this,[void 0===a?0:a,void 0===b?this.length-a:b].concat(h.call(arguments,2)))}}if(!Object.keys){var f=
+!0,t="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),j=t.length,o;for(o in{toString:null})f=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var b=[],e;for(e in a)k(a,e)&&b.push(e);if(f)for(e=0;e<j;e++){var d=t[e];k(a,d)&&b.push(d)}return b}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,b,e;if(!isFinite(this))throw new RangeError;
+a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(b=a.length;b--;)e=a[b],10>e&&(a[b]="0"+e);return a.slice(0,3).join("-")+"T"+a.slice(3).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"};if(!Date.now)Date.now=function(){return(new Date).getTime()};if(!Date.prototype.toJSON)Date.prototype.toJSON=function(){if("function"!=typeof this.toISOString)throw new TypeError;return this.toISOString()};a="\t\n\u000b\u000c\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";
+if(!String.prototype.trim||a.trim()){var a="["+a+"]",w=RegExp("^"+a+a+"*"),y=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(w,"").replace(y,"")}}if("0".split(void 0,0).length){var A=String.prototype.split;String.prototype.split=function(a,b){return void 0===a&&0===b?[]:A.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var D=String.prototype.substr;String.prototype.substr=function(a,b){return D.call(this,0>a?0>(a=this.length+a)?0:a:a,b)}}var z=function(a){a=+a;
+a!==a?a=-1:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(0<a||-1)*Math.floor(Math.abs(a)));return a},q="a"!="a"[0],l=function(a){if(null==a)throw new TypeError;return q&&"string"==typeof a&&a?a.split(""):Object(a)}})();
+(function(a,b){var h=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);h&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});h=!!a.bar}catch(b){h=!1}a=null}();Modernizr.objectAccessor=!(!(h||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=h;
+if(!h||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,h,f,k){var j;j=function(){};j.prototype=a;j=new j;if(!k&&!("__proto__"in j)&&!Modernizr.objectAccessor)j.__proto__=a;h&&b.defineProperties(j,h);if(f)j.options=jQuery.extend(!0,{},j.options||{},f),f=j.options;j._create&&jQuery.isFunction(j._create)&&j._create(f);return j};b.defineProperties=function(a,
+h){for(var f in h)k(h,f)&&b.defineProperty(a,f,h[f]);return a};b.defineProperty=function(a,b,f){if("object"!=typeof f||null===f)return a;if(k(f,"value"))return a[b]=f.value,a;a.__defineGetter__&&("function"==typeof f.get&&a.__defineGetter__(b,f.get),"function"==typeof f.set&&a.__defineSetter__(b,f.set));return a};b.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};b.getOwnPropertyDescriptor=function(a,b){if("object"!==
+typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var f;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return f=Object.getOwnPropertyDescriptor(a,b)}catch(h){}f={configurable:!0,enumerable:!0,writable:!0,value:void 0};var j=a.__lookupGetter__&&a.__lookupGetter__(b),o=a.__lookupSetter__&&a.__lookupSetter__(b);if(!j&&!o){if(!k(a,b))return;f.value=a[b];return f}delete f.writable;delete f.value;f.get=f.set=void 0;if(j)f.get=
+j;if(o)f.set=o;return f}}})(jQuery,jQuery.webshims);
+jQuery.webshims.register("dom-extend",function(a,b,h,k,m){var s=b.modules,f=/\s*,\s*/,t={},j={},o={},w={},y={},A=a.fn.val,D=function(d,c,g,b,p){return p?A.call(a(d)):A.call(a(d),g)};a.fn.val=function(d){var c=this[0];arguments.length&&null==d&&(d="");if(!arguments.length)return!c||1!==c.nodeType?A.call(this):a.prop(c,"value",d,"val",!0);if(a.isArray(d))return A.apply(this,arguments);var g=a.isFunction(d);return this.each(function(b){c=this;1===c.nodeType&&(g?(b=d.call(c,b,a.prop(c,"value",m,"val",
+!0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",d,"val"))})};var z="_webshimsLib"+Math.round(1E3*Math.random()),q=function(d,c,b){d=d.jquery?d[0]:d;if(!d)return b||{};var i=a.data(d,z);b!==m&&(i||(i=a.data(d,z,{})),c&&(i[c]=b));return c?i&&i[c]:i};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(d){a.fn[d.name]=function(){return this.map(function(){var a=q(this,
+"shadowData");return a&&a[d.prop]||this})}});["removeAttr","prop","attr"].forEach(function(d){t[d]=a[d];a[d]=function(c,b,i,p,e){var r="val"==p,u=!r?t[d]:D;if(!c||!j[b]||1!==c.nodeType||!r&&p&&"attr"==d&&a.attrFn[b])return u(c,b,i,p,e);var E=(c.nodeName||"").toLowerCase(),B=o[E],C="attr"==d&&(!1===i||null===i)?"removeAttr":d,f,h,l;B||(B=o["*"]);B&&(B=B[b]);B&&(f=B[C]);if(f){if("value"==b)h=f.isVal,f.isVal=r;if("removeAttr"===C)return f.value.call(c);if(i===m)return f.get?f.get.call(c):f.value;f.set&&
+("attr"==d&&!0===i&&(i=b),l=f.set.call(c,i));if("value"==b)f.isVal=h}else l=u(c,b,i,p,e);if((i!==m||"removeAttr"===C)&&y[E]&&y[E][b]){var A;A="removeAttr"==C?!1:"prop"==C?!!i:!0;y[E][b].forEach(function(a){if(!a.only||(a.only="prop"==d)||"attr"==a.only&&"prop"!=d)a.call(c,i,A,r?"val":C,d)})}return l};w[d]=function(c,g,i){o[c]||(o[c]={});o[c][g]||(o[c][g]={});var p=o[c][g][d],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==d&&"value"==g?function(a){return i.isVal?D(this,g,a,!1,0===arguments.length):
+t[d](this,g,a)}:"prop"==d&&"value"==a&&i.value.apply?function(a){var c=t[d](this,g);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return t[d](this,g,a)}};o[c][g][d]=i;if(i.value===m){if(!i.set)i.set=i.writeable?e("set",i,p):b.cfg.useStrict&&"prop"==g?function(){throw g+" is readonly on "+c;}:a.noop;if(!i.get)i.get=e("get",i,p)}["value","get","set"].forEach(function(a){i[a]&&(i["_sup"+a]=e(a,p))})}});var l=!a.browser.msie||8<parseInt(a.browser.version,10),n=function(){var a=b.getPrototypeOf(k.createElement("foobar")),
+c=Object.prototype.hasOwnProperty;return function(g,i,p){var e=k.createElement(g),r=b.getPrototypeOf(e);if(l&&r&&a!==r&&(!e[i]||!c.call(e,i))){var u=e[i];p._supvalue=function(){return u&&u.apply?u.apply(this,arguments):u};r[i]=p.value}else p._supvalue=function(){var a=q(this,"propValue");return a&&a[i]&&a[i].apply?a[i].apply(this,arguments):a&&a[i]},v.extendValue(g,i,p.value);p.value._supvalue=p._supvalue}}(),v=function(){var d={};b.addReady(function(c,g){var r={},u=function(d){r[d]||(r[d]=a(c.getElementsByTagName(d)),
+g[0]&&a.nodeName(g[0],d)&&(r[d]=r[d].add(g)))};a.each(d,function(a,d){u(a);!d||!d.forEach?b.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(d){r[a].each(d)})});r=null});var c,g=a([]),i=function(b,g){d[b]?d[b].push(g):d[b]=[g];a.isDOMReady&&(c||a(k.getElementsByTagName(b))).each(g)};return{createTmpCache:function(d){a.isDOMReady&&(c=c||a(k.getElementsByTagName(d)));return c||g},flushTmpCache:function(){c=null},content:function(d,c){i(d,function(){var d=a.attr(this,c);null!=d&&a.attr(this,
+c,d)})},createElement:function(a,d){i(a,d)},extendValue:function(d,c,b){i(d,function(){a(this).each(function(){q(this,"propValue",{})[c]=this[c];this[c]=b})})}}}(),e=function(a,c){if(a.defaultValue===m)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}};if(!a.attr)a.attr={}};a.extend(b,{getID:function(){var d=(new Date).getTime();return function(c){var c=a(c),b=c.attr("id");b||(d++,b="ID-"+d,c.attr("id",b));
+return b}}(),extendUNDEFProp:function(d,c){a.each(c,function(a,c){a in d||(d[a]=c)})},createPropDefault:e,data:q,moveToFirstEvent:function(){var d=a._data?"_data":"data";return function(c,b,i){if((c=(a[d](c,"events")||{})[b])&&1<c.length)b=c.pop(),i||(i="bind"),"bind"==i&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(){var d,c,b,i,e={init:!1,start:function(){if(!this.init)this.init=!0,this.height=a(k).height(),this.width=a(k).width(),setInterval(function(){var d=
+a(k).height(),c=a(k).width();if(d!=e.height||c!=e.width)e.height=d,e.width=c,i({type:"docresize"})},400)}};i=function(i){clearTimeout(d);d=setTimeout(function(){if("resize"==i.type){var d=a(h).width(),u=a(h).width();if(u==c&&d==b)return;c=u;b=d;e.height=a(k).height();e.width=a(k).width()}a.event.trigger("updateshadowdom")},40)};a(h).bind("resize",i);a.event.customEvent.updateshadowdom=!0;return function(d,c,b){b=b||{};d.jquery&&(d=d[0]);c.jquery&&(c=c[0]);var g=a.data(d,z)||a.data(d,z,{}),i=a.data(c,
+z)||a.data(c,z,{}),f={};if(b.shadowFocusElement){if(b.shadowFocusElement){if(b.shadowFocusElement.jquery)b.shadowFocusElement=b.shadowFocusElement[0];f=a.data(b.shadowFocusElement,z)||a.data(b.shadowFocusElement,z,f)}}else b.shadowFocusElement=c;g.hasShadow=c;f.nativeElement=i.nativeElement=d;f.shadowData=i.shadowData=g.shadowData={nativeElement:d,shadowElement:c,shadowFocusElement:b.shadowFocusElement};b.shadowChilds&&b.shadowChilds.each(function(){q(this,"shadowData",i.shadowData)});if(b.data)f.shadowData.data=
+i.shadowData.data=g.shadowData.data=b.data;b=null;e.start()}}(),propTypes:{standard:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,""+c)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){e(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}},src:function(){var d=k.createElement("a");d.style.display="none";return function(c,b){e(c);if(!c.prop)c.prop=
+{set:function(a){c.attr.set.call(this,a)},get:function(){var c=this.getAttribute(b),e;if(null==c)return"";d.setAttribute("href",c+"");if(!a.support.hrefNormalized){try{a(d).insertAfter(this),e=d.getAttribute("href",4)}catch(f){e=d.getAttribute("href",4)}a(d).detach()}return e||d.href}}}}(),enumarated:function(a){e(a);if(!a.prop)a.prop={set:function(c){a.attr.set.call(this,c)},get:function(){var c=(a.attr.get.call(this)||"").toLowerCase();if(!c||-1==a.limitedTo.indexOf(c))c=a.defaultValue;return c}}}},
+reflectProperties:function(d,c){"string"==typeof c&&(c=c.split(f));c.forEach(function(c){b.defineNodeNamesProperty(d,c,{prop:{set:function(b){a.attr(this,c,b)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(d,c,g){j[c]=!0;if(g.reflect)b.propTypes[g.propType||"standard"](g,c);["prop","attr","removeAttr"].forEach(function(e){var f=g[e];f&&(f="prop"===e?a.extend({writeable:!0},f):a.extend({},f,{writeable:!0}),w[e](d,c,f),"*"!=d&&b.cfg.extendNative&&"prop"==e&&f.value&&
+a.isFunction(f.value)&&n(d,c,f),g[e]=f)});g.initAttr&&v.content(d,c);return g},defineNodeNameProperties:function(a,c,g,e){for(var f in c)!e&&c[f].initAttr&&v.createTmpCache(a),g&&(c[f][g]?b.log("override: "+a+"["+f+"] for "+g):(c[f][g]={},["value","set","get"].forEach(function(a){a in c[f]&&(c[f][g][a]=c[f][a],delete c[f][a])}))),c[f]=b.defineNodeNameProperty(a,f,c[f]);e||v.flushTmpCache();return c},createElement:function(d,c,g){var e;a.isFunction(c)&&(c={after:c});v.createTmpCache(d);c.before&&v.createElement(d,
+c.before);g&&(e=b.defineNodeNameProperties(d,g,!1,!0));c.after&&v.createElement(d,c.after);v.flushTmpCache();return e},onNodeNamesPropertyModify:function(b,c,g,e){"string"==typeof b&&(b=b.split(f));a.isFunction(g)&&(g={set:g});b.forEach(function(a){y[a]||(y[a]={});"string"==typeof c&&(c=c.split(f));g.initAttr&&v.createTmpCache(a);c.forEach(function(c){y[a][c]||(y[a][c]=[],j[c]=!0);if(g.set){if(e)g.set.only=e;y[a][c].push(g.set)}g.initAttr&&v.content(a,c)});v.flushTmpCache()})},defineNodeNamesBooleanProperty:function(d,
+c,g){g||(g={});if(a.isFunction(g))g.set=g;b.defineNodeNamesProperty(d,c,{attr:{set:function(a){this.setAttribute(c,a);g.set&&g.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?m:c}},removeAttr:{value:function(){this.removeAttribute(c);g.set&&g.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:g.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===m)return a=a.attributes[c]||{},b=a.specified?a.value:null,null==b?m:b;"boolean"==typeof b?b?a.setAttribute(c,c):
+a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},e,f,y=/:\/\/|^\.*\//,h=function(c,d,e){return d&&e&&-1!==a.inArray(d,e.availabeLangs||[])?(c.loading=!0,e=e.langSrc,y.test(e)||(e=b.cfg.basePath+e),b.loader.loadScript(e+d+".js",function(){c.langObj[d]?(c.loading=!1,u(c,!0)):a(function(){c.langObj[d]&&u(c,!0);c.loading=!1})}),!0):!1},r=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},u=function(a,c){if(a.activeLang!=e&&a.activeLang!==f){var b=s[a.module].options;
+if(a.langObj[e]||f&&a.langObj[f])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[f],e),r(a.module);else if(!c&&!h(a,e,b)&&!h(a,f,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),r(a.module)}};return function(b){if("string"==typeof b&&b!==e)e=b,f=e.split("-")[0],e==f&&(f=!1),a.each(d,function(a,b){u(b)});else if("object"==typeof b)if(b.register)c[b.register]||(c[b.register]=[]),c[b.register].push(b),b.callback();else{if(!b.activeLang)b.activeLang="";d.push(b);u(b)}return e}}()});
+a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,e,y){"string"==typeof a&&(a=a.split(f));var r={};a.forEach(function(a){r[a]=b[c](a,d,e,y)});return r}});b.isReady("webshimLocalization",!0)});
+(function(a,b){var h=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<h)&&(!a.browser.msie||12>h&&7<h)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},m=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(h,f){a.each(k,function(b,y){for(var A=a(b,h).add(f.filter(b)),j=0,k=A.length;j<k;j++)m(A[j],y)});if(h===b){var t=b.getElementsByTagName("header")[0],j=b.getElementsByTagName("footer"),o=j.length;
+t&&!a(t).closest("section, article")[0]&&m(t,"banner");o&&(t=j[o-1],a(t).closest("section, article")[0]||m(t,"contentinfo"))}})}})(jQuery,document);
+(function(a,b,h){var k=b.audio&&b.video,m=!1,s=h.cfg.mediaelement,f=h.bugs,t=function(){h.ready("mediaelement-swf",function(){if(!h.mediaelement.createSWF)h.modules["mediaelement-swf"].test=a.noop,h.reTest(["mediaelement-swf"],k)})},j;if(k){var o=document.createElement("video");b.videoBuffered="buffered"in o;m="loop"in o;h.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));b.videoBuffered||(h.addPolyfill("mediaelement-native-fix",{f:"mediaelement",
+test:b.videoBuffered,d:["dom-support"]}),h.reTest("mediaelement-native-fix"))}if(k&&!s.preferFlash){var w=function(b){var f=b.target.parentNode;!s.preferFlash&&(a(b.target).is("audio, video")||f&&a("source:last",f)[0]==b.target)&&h.ready("DOM mediaelement",function(){j&&t();h.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){j&&!s.preferFlash&&h.mediaelement.createSWF&&!a(b.target).closest("audio, video").is(".nonnative-api-active")?(s.preferFlash=!0,document.removeEventListener("error",
+w,!0),a("audio, video").mediaLoad(),h.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+b.target.src)):j||document.removeEventListener("error",w,!0)},20)})})};document.addEventListener("error",w,!0);a("audio, video").each(function(){this.error&&w({target:this})})}f.track=!1;b.track&&function(){if(!f.track)f.track="number"!=typeof a("<track />")[0].readyState;if(!f.track)try{new TextTrackCue(2,3,"")}catch(b){f.track=!0}var j=h.cfg.track,k=function(b){a(b.target).filter("track").each(m)},
+m=function(){if(f.track||!j.override&&3==a.prop(this,"readyState"))j.override=!0,h.reTest("track"),document.removeEventListener("error",k,!0),this&&a.nodeName(this,"track")?h.error("track support was overwritten. Please check your vtt including your vtt mime-type"):h.info("track support was overwritten. due to bad browser support")},q=function(){document.addEventListener("error",k,!0);f.track?m():a("track").each(m)};j.override||(h.isReady("track")?q():a(q))}();h.register("mediaelement-core",function(a,
+h,o,z,q){j=swfobject.hasFlashPlayerVersion("9.0.115");var l=h.mediaelement,n=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var e=b.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=l.getTypeForSrc(d.src,c))d.type=e,d.container=e;if(e=b.attr("media"))d.media=e;return d},v=!j&&"postMessage"in o&&k,e=
+function(){var b;return function(){!b&&v&&(b=!0,h.loader.loadScript("https://www.youtube.com/player_api"),a(function(){h.polyfill("mediaelement-yt")}))}}(),d=function(){j?t():e()};h.addPolyfill("mediaelement-yt",{test:!v,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=a.extend({},l.mimeTypes.audio,l.mimeTypes.video);l.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||
+-1!=b.indexOf("youtube.com/v/"))return"video/youtube";var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(l.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};l.srces=function(b,c){b=a(b);if(c)b.removeAttr("src").removeAttr("type").find("source").remove(),a.isArray(c)||(c=[c]),c.forEach(function(a){var c=z.createElement("source");"string"==typeof a&&(a={src:a});c.setAttribute("src",a.src);a.type&&c.setAttribute("type",a.type);a.media&&c.setAttribute("media",a.media);b.append(c)});
+else{var c=[],d=b[0].nodeName.toLowerCase(),e=n(b,d);e.src?c.push(e):a("source",b).each(function(){e=n(this,d);e.src&&c.push(e)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==q&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));l.srces(this,b);a(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(b,c){var d="";if(j||v)b=a(b),c=c||l.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&(j&&-1!=l.swfMimeTypes.indexOf(b.container)||v&&"video/youtube"==b.container))return d=b,!1});return d};var c={};l.canNativePlaySrces=function(b,d){var e="";if(k){var b=a(b),f=(b[0].nodeName||"").toLowerCase();if(!c[f])return e;d=d||l.srces(b);a.each(d,function(a,d){if(d.type&&c[f].prop._supvalue.call(b[0],d.type))return e=d,!1})}return e};l.setError=function(b,c){c||(c="can't play sources");
+a(b).pause().data("mediaerror",c);h.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var g=function(){var a;return function(b,c,f){h.ready(j?"mediaelement-swf":"mediaelement-yt",function(){l.createSWF?l.createSWF(b,c,f):a||(a=!0,d(),g(b,c,f))});!a&&v&&!l.createSWF&&e()}}(),i=function(a,b,c,d,e){c||!1!==c&&b&&"third"==b.isActive?(c=l.canThirdPlaySrces(a,d))?g(a,c,b):e?l.setError(a,!1):i(a,b,!1,d,!0):(c=l.canNativePlaySrces(a,d))?b&&"third"==
+b.isActive&&l.setActive(a,"html5",b):e?(l.setError(a,!1),b&&"third"==b.isActive&&l.setActive(a,"html5",b)):i(a,b,!0,d,!0)},p=/^(?:embed|object|datalist)$/i,w=function(b,c){var d=h.data(b,"mediaelementBase")||h.data(b,"mediaelementBase",{}),e=l.srces(b),f=b.parentNode;clearTimeout(d.loadTimer);a.data(b,"mediaerror",!1);if(e.length&&f&&!(1!=f.nodeType||p.test(f.nodeName||"")))c=c||h.data(b,"mediaelement"),i(b,c,s.preferFlash||q,e)};a(z).bind("ended",function(b){var c=h.data(b.target,"mediaelement");
+(!m||c&&"html5"!=c.isActive||a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,"paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});m||h.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var d=h.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=h.data(this,"mediaelement");w(this,a);k&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});c[b]=h.defineNodeNameProperty(b,
+"canPlayType",{prop:{value:function(d){var e="";k&&c[b].prop._supvalue&&(e=c[b].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&j&&(d=a.trim((d||"").split(";")[0]),-1!=l.swfMimeTypes.indexOf(d)&&(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(){w(a);a=null},9)}});o=function(){h.addReady(function(b,c){a("video, audio",
+b).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<h.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():w(this);if(k){var b,c,d=this,e=function(){var b=a.prop(d,"buffered");if(b){for(var c="",e=0,f=b.length;e<f;e++)c+=b.end(e);return c}},f=function(){var b=e();b!=c&&(c=b,a(d).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==
+a.type&&(c=e());clearTimeout(b);b=setTimeout(f,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(c=!1);clearTimeout(b)})}})})};b.track&&!f.track&&h.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(h.isReady("mediaelement-core",!0),o(),h.ready("WINDOWLOAD mediaelement",d)):h.ready("mediaelement-swf",o);a(function(){h.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
+jQuery.webshims.register("mediaelement-swf",function(a,b,h,k,m,s){var f=b.mediaelement,t=h.swfobject,j=Modernizr.audio&&Modernizr.video,o=t.hasFlashPlayerVersion("9.0.115"),w=0,h={paused:!0,ended:!1,currentSrc:"",duration:h.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)b.error("buffered index size error");else return 0},end:function(a){if(a)b.error("buffered index size error");else return 0},length:0}},y=Object.keys(h),A={currentTime:0,volume:1,
+muted:!1};Object.keys(A);var D=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:m},h,A),z=/^jwplayer-/,q=function(a){if(a=k.getElementById(a.replace(z,"")))return a=b.data(a,"mediaelement"),"third"==a.isActive?a:null},l=function(a){return(a=b.data(a,"mediaelement"))&&"third"==a.isActive?a:null},n=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,m,b)},v=s.playerPath||b.cfg.basePath+
+"jwplayer/"+(s.playerName||"player.swf"),e=s.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(s.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(s.jwVars,{screencolor:"ffffffff"});b.extendUNDEFProp(s.jwAttrs,{bgcolor:"#000000"});var d=function(b,c){var d=b.duration;if(!(d&&0<b._durationCalcs)){try{if(b.duration=b.jwapi.getPlaylist()[0].duration,!b.duration||0>=b.duration||b.duration===b._lastDuration)b.duration=d}catch(e){}b.duration&&
+b.duration!=b._lastDuration?(n(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&f.jwEvents.Model.META(a.extend({duration:b.duration},c),b),b._durationCalcs--):b._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,n(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,n(b._elem,"canplaythrough");b.readyState=a};a.extend(a.event.customEvent,
+{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});f.jwEvents={View:{PLAY:function(a){var b=q(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;n(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var x=q(b.id);if(x&&"percentage"in b&&x._bufferedEnd!=b.percentage){x.networkState=100==b.percentage?1:2;(isNaN(x.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&d(x,b);if(x.ended)x.ended=
+!1;if(x.duration){2<b.percentage&&20>b.percentage?c(3,x):20<b.percentage&&c(4,x);if(x._bufferedEnd&&x._bufferedEnd>b.percentage)x._bufferedStart=x.currentTime||0;x._bufferedEnd=b.percentage;x.buffered.length=1;if(100==b.percentage)x.networkState=1,c(4,x);a.event.trigger("progress",m,x._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:q(a.id))if("duration"in a){if(!b._metadata||!((!a.height||b.videoHeight==a.height)&&a.duration===b.duration)){b._metadata=!0;var d=b.duration;if(a.duration)b.duration=
+a.duration;b._lastDuration=b.duration;if(a.height||a.width)b.videoHeight=a.height||0,b.videoWidth=a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&n(b._elem,"durationchange");n(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=q(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&d(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;n(b._elem,"timeupdate")}},STATE:function(a){var b=
+q(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);n(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||d(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;n(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,n(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,n(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=q(a.id);b&&f.setError(b._elem,a.message)},SEEK:function(a){var b=
+q(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(c){}if(b.currentTime!=a.position)b.currentTime=a.position,n(b._elem,"timeupdate")}},VOLUME:function(a){var b=q(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,n(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=q(a.id);if(b&&b.muted!=a.state)b.muted=a.state,n(b._elem,"volumechange")}}}};var g=function(b){var c=!0;a.each(f.jwEvents,function(d,e){a.each(e,function(a){try{b.jwapi["add"+d+"Listener"](a,
+"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)}catch(e){return c=!1}})});return c},i=function(a){var b=a.actionQueue.length,c=0,d;if(b&&"third"==a.isActive)for(;a.actionQueue.length&&b>c;)c++,d=a.actionQueue.shift(),a.jwapi[d.fn].apply(a.jwapi,d.args);if(a.actionQueue.length)a.actionQueue=[]},p=function(b){b&&(b._ppFlag===m&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===m||!b.paused))try{a(b._elem).play()}catch(c){}},1)},H=function(b){if(b&&
+"video"==b._elemNodeName){var c,d,e,f,g,h,i,l,j=function(j,k){if(k&&j&&!(1>k||1>j||"third"!=b.isActive))if(c&&(c.remove(),c=!1),f=j,g=k,clearTimeout(i),d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e){h=h||a(b._elem).getShadowElement();var m;d&&!e?(m=h.height(),j*=m/k,k=m):!d&&e&&(m=h.width(),k*=m/j,j=m);l=!0;setTimeout(function(){l=!1},9);h.css({width:j,height:k})}},k=function(){if(!("third"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,
+"poster");if(f&&(d="auto"==b._elem.style.width,e="auto"==b._elem.style.height,d||e))c&&(c.remove(),c=!1),c=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(i);var b=this,d=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&d?(j(d,e),b=null):setTimeout(function(){d=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;
+j(d,e);c&&(c.remove(),c=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){j(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",k).bind("swfstageresize updatemediaelementdimensions",function(){l||j(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");
+k();a.prop(b._elem,"readyState")&&j(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};f.playerResize=function(b){b&&(b=k.getElementById(b.replace(z,"")))&&a(b).triggerHandler("swfstageresize")};a(k).bind("emptied",function(a){a=l(a.target);p(a)});var r;f.jwPlayerReady=function(c){var d=q(c.id),e=0,f=function(){if(!(9<e))if(e++,g(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var h=parseFloat(c.version,10);(5.1>h||6<=h)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=
+!0;d.tryedReframeing=0;i(d);p(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,9*e),2<e&&9>d.tryedReframeing&&(d.tryedReframeing++,d.shadowElem.css({overflow:"visible"}),setTimeout(function(){d.shadowElem.css({overflow:"hidden"})},16))};if(d&&d.jwapi){if(!d.tryedReframeing)d.tryedReframeing=0;clearTimeout(r);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var u=a.noop;if(j){var E={play:1,playing:1},
+B="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),C=B.map(function(a){return a+".webshimspolyfill"}).join(" "),I=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),E[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},u=function(c){a(c).unbind(C).bind(C,I);B.forEach(function(a){b.moveToFirstEvent(c,a)})};u(k)}f.setActive=function(c,d,
+e){e||(e=b.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"third"!=d&&b.warn("wrong type for mediaelement activating: "+d);var f=b.data(c,"shadowData");e.activating=d;a(c).pause();e.isActive=d;"third"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],a(c).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(a(c).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);a(c).trigger("mediaelementapichange")}};
+var J=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(d){if(d){var e=b,f=d.networkState;for(c(0,d);--e;)delete d[a[e]];d.actionQueue=[];d.buffered.length=0;f&&n(d._elem,"emptied")}}}(),G=function(b,c){var d=b._elem,e=b.shadowElem;a(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||
+a(d).width(),height:d.style.height||a(d).height()})};f.createSWF=function(c,d,g){if(o){1>w?w=1:w++;var h=a.extend({},s.jwVars,{image:a.prop(c,"poster")||"",file:d.srcProp}),i=a(c).data("jwvars")||{};g||(g=b.data(c,"mediaelement"));if(g&&g.swfCreated)f.setActive(c,"third",g),J(g),g.currentSrc=d.srcProp,a.extend(h,i),s.changeJW(h,c,d,g,"load"),F(c,"sendEvent",["LOAD",h]);else{var l=a.prop(c,"controls"),k="jwplayer-"+b.getID(c),m=a.extend({},s.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),
+q=a.extend({},s.jwAttrs,{name:k,id:k},a(c).data("jwattrs")),p=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+k+'"><div id="'+k+'"></div>').css({position:"relative",overflow:"hidden"}),g=b.data(c,"mediaelement",b.objectCreate(D,{actionQueue:{value:[]},shadowElem:{value:p},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=g.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=
+g.buffered.length)b.error("buffered index size error");else return(g.duration-g._bufferedStart)*g._bufferedEnd/100+g._bufferedStart},length:0}}}));G(g,l);p.insertBefore(c);j&&a.extend(g,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(h,{id:k,controlbar:l?s.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(l&&"video"==n)},i,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});h.plugins=h.plugins?h.plugins+(","+e):e;b.addShadowDom(c,p);u(c);f.setActive(c,
+"third",g);s.changeJW(h,c,d,g,"embed");a(c).bind("updatemediaelementdimensions updateshadowdom",function(){G(g,a.prop(c,"controls"))});H(g);t.embedSWF(v,k,"100%","100%","9.0.0",!1,h,m,q,function(d){if(d.success)g.jwapi=d.ref,l||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&p[0].parentNode||"none"==d.ref.style.display)p.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",
+display:"block"})},9),r||(clearTimeout(r),r=setTimeout(function(){var c=a(d.ref);1<c[0].offsetWidth&&1<c[0].offsetHeight&&0===location.protocol.indexOf("file:")?b.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(2>c[0].offsetWidth||2>c[0].offsetHeight)&&b.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},
+1)};var F=function(a,b,c,d){return(d=d||l(a))?(d.jwapi&&d.jwapi[b]?d.jwapi[b].apply(d.jwapi,c||[]):(d.actionQueue.push({fn:b,args:c}),10<d.actionQueue.length&&setTimeout(function(){5<d.actionQueue.length&&d.actionQueue.shift()},99)),d):!1};["audio","video"].forEach(function(c){var d={},e,f=function(a){"audio"==c&&("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=l(this);return b?b[a]:j&&e[a].prop._supget?e[a].prop._supget.apply(this):D[a]},writeable:!1})},g=function(a,b){f(a);delete d[a].writeable;
+d[a].set=b};g("volume",function(a){var c=l(this);if(c){if(a*=100,!isNaN(a)){var d=c.muted;(0>a||100<a)&&b.error("volume greater or less than allowed "+a/100);F(this,"sendEvent",["VOLUME",a],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(f){}a/=100;if(!(c.volume==a||"third"!=c.isActive))c.volume=a,n(c._elem,"volumechange")}}else if(e.volume.prop._supset)return e.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=l(this);if(b){if(a=!!a,F(this,"sendEvent",["mute",""+a],b),!(b.muted==
+a||"third"!=b.isActive))b.muted=a,n(b._elem,"volumechange")}else if(e.muted.prop._supset)return e.muted.prop._supset.apply(this,arguments)});g("currentTime",function(a){var b=l(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=!0;b.stopPlayPause=!1},50);F(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,n(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(c){}}}}else if(e.currentTime.prop._supset)return e.currentTime.prop._supset.apply(this,
+arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=l(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),F(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,n(b._elem,a)},1);else if(e[a].prop._supvalue)return e[a].prop._supvalue.apply(this,arguments)}}});y.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=l(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");
+if(f){try{F(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==c&&G(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});e=b.defineNodeNameProperties(c,d,"prop")});if(o){var K=a.cleanData,L=a.browser.msie&&9>b.browserVersion,M={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&w)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){w--;try{a[b].sendEvent("play",!1)}catch(e){}}if(L)try{for(d in a[b])"function"==typeof a[b][d]&&
+(a[b][d]=null)}catch(f){}}return K.apply(this,arguments)}}j||(["poster","src"].forEach(function(a){b.defineNodeNamesProperty("src"==a?["audio","video","source"]:["video"],a,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(a){b.defineNodeNamesBooleanProperty(["audio","video"],a)}),b.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},
+NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});