vendor/assets/javascripts/webshims/minified/shims/combos/22.js in webshims-rails-0.3 vs vendor/assets/javascripts/webshims/minified/shims/combos/22.js in webshims-rails-0.4
- old
+ new
@@ -1,57 +1,61 @@
-(function(){var a=Function.prototype.call,c=Object.prototype,i=Array.prototype.slice,j,g;if(!Function.prototype.bind)Function.prototype.bind=function(a){var f=this;if("function"!=typeof f)throw new TypeError;var m=i.call(arguments,1),d=function(){if(this instanceof d){var b=function(){};b.prototype=f.prototype;var b=new b,g=f.apply(b,m.concat(i.call(arguments)));return null!==g&&Object(g)===g?g:b}return f.apply(a,m.concat(i.call(arguments)))};return d};g=a.bind(c.toString);j=a.bind(c.hasOwnProperty);
-if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==g(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,f){var m=p(this),d=0,b=m.length>>>0;if("[object Function]"!=g(a))throw new TypeError;for(;d<b;)d in m&&a.call(f,m[d],d,m),d++};if(!Array.prototype.map)Array.prototype.map=function(a,f){var b=p(this),d=b.length>>>0,c=Array(d);if("[object Function]"!=g(a))throw new TypeError;for(var h=0;h<d;h++)h in b&&(c[h]=a.call(f,b[h],h,b));return c};if(!Array.prototype.filter)Array.prototype.filter=
-function(a,b){var f=p(this),d=f.length>>>0,c=[];if("[object Function]"!=g(a))throw new TypeError;for(var h=0;h<d;h++)h in f&&a.call(b,f[h],h,f)&&c.push(f[h]);return c};if(!Array.prototype.every)Array.prototype.every=function(a,f){var b=p(this),d=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;for(var c=0;c<d;c++)if(c in b&&!a.call(f,b[c],c,b))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var f=p(this),d=f.length>>>0;if("[object Function]"!=g(a))throw new TypeError;
-for(var c=0;c<d;c++)if(c in f&&a.call(b,f[c],c,f))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var f=p(this),b=f.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var d=0,c;if(2<=arguments.length)c=arguments[1];else{do{if(d in f){c=f[d++];break}if(++d>=b)throw new TypeError;}while(1)}for(;d<b;d++)d in f&&(c=a.call(void 0,c,f[d],d,f));return c};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var f=
-p(this),b=f.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var d,b=b-1;if(2<=arguments.length)d=arguments[1];else{do{if(b in f){d=f[b--];break}if(0>--b)throw new TypeError;}while(1)}do b in this&&(d=a.call(void 0,d,f[b],b,f));while(b--);return d};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var f=p(this),b=f.length>>>0;if(!b)return-1;var d=0;1<arguments.length&&(d=v(arguments[1]));for(d=0<=d?d:b-Math.abs(d);d<b;d++)if(d in
-f&&f[d]===a)return d;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var f=p(this),b=f.length>>>0;if(!b)return-1;var d=b-1;1<arguments.length&&(d=v(arguments[1]));for(d=0<=d?d:b-Math.abs(d);0<=d;d--)if(d in f&&a===f[d])return d;return-1};if(!Object.keys){var f=!0,b="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),y=b.length,k;for(k 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 c=[],g;for(g in a)j(a,g)&&c.push(g);if(f)for(g=0;g<y;g++){var d=b[g];j(a,d)&&c.push(d)}return c}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var a,f,b;if(!isFinite(this))throw new RangeError;a=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(f=a.length;f--;)b=a[f],10>b&&(a[f]="0"+b);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+"]",z=RegExp("^"+a+a+"*"),h=
-RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(z,"").replace(h,"")}}var v=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},s="a"!="a"[0],p=function(a){if(null==a)throw new TypeError;return s&&"string"==typeof a&&a?a.split(""):Object(a)}})();
-(function(a,c){var i=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);i&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});i=!!a.bar}catch(f){i=!1}a=null}();Modernizr.objectAccessor=!(!(i||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=c.browserVersion));Modernizr.advancedObjectProperties=i;
-if(!i||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var j=Function.prototype.call.bind(Object.prototype.hasOwnProperty);c.objectCreate=function(a,f,b,j){var k;k=function(){};k.prototype=a;k=new k;if(!j&&!("__proto__"in k)&&!Modernizr.objectAccessor)k.__proto__=a;f&&c.defineProperties(k,f);if(b)k.options=jQuery.extend(!0,{},k.options||{},b),b=k.options;k._create&&jQuery.isFunction(k._create)&&k._create(b);return k};c.defineProperties=function(a,
-f){for(var b in f)j(f,b)&&c.defineProperty(a,b,f[b]);return a};c.defineProperty=function(a,f,b){if("object"!=typeof b||null===b)return a;if(j(b,"value"))return a[f]=b.value,a;a.__defineGetter__&&("function"==typeof b.get&&a.__defineGetter__(f,b.get),"function"==typeof b.set&&a.__defineSetter__(f,b.set));return a};c.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};c.getOwnPropertyDescriptor=function(a,f){if("object"!==
-typeof a&&"function"!==typeof a||null===a)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var b;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return b=Object.getOwnPropertyDescriptor(a,f)}catch(c){}b={configurable:!0,enumerable:!0,writable:!0,value:void 0};var k=a.__lookupGetter__&&a.__lookupGetter__(f),i=a.__lookupSetter__&&a.__lookupSetter__(f);if(!k&&!i){if(!j(a,f))return;b.value=a[f];return b}delete b.writable;delete b.value;b.get=b.set=void 0;if(k)b.get=
-k;if(i)b.set=i;return b}}})(jQuery,jQuery.webshims);
-(function(a,c,i){var j=c.audio&&c.video,g=!1;if(j)a=document.createElement("video"),c.videoBuffered="buffered"in a,g="loop"in a,i.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),c.videoBuffered||(i.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:c.videoBuffered,d:["dom-support"]}),i.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,c,k,i){var h=b.mediaelement,v=b.cfg.mediaelement,
-s=function(b,c){var b=a(b),d={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!d.src)return d;var o=b.attr("type");if(o)d.type=o,d.container=a.trim(o.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),o=h.getTypeForSrc(d.src,c))d.type=o,d.container=o;if(o=b.attr("media"))d.media=o;return d},p=swfobject.hasFlashPlayerVersion("9.0.115"),x=function(){b.ready("mediaelement-swf",function(){if(!h.createSWF)b.modules["mediaelement-swf"].test=
-a.noop,b.reTest(["mediaelement-swf"],j)})};h.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"]}};h.mimeTypes.source=a.extend({},h.mimeTypes.audio,h.mimeTypes.video);h.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(h.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};h.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=k.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(),h=s(b,d);h.src?c.push(h):a("source",b).each(function(){h=s(this,d);h.src&&c.push(h)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==i&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));h.srces(this,
-b);a(this).mediaLoad()})};h.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(",");h.canSwfPlaySrces=function(b,c){var d="";p&&(b=a(b),c=c||h.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&-1!=h.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var n={};h.canNativePlaySrces=function(b,
-c){var d="";if(j){var b=a(b),o=(b[0].nodeName||"").toLowerCase();if(!n[o])return d;c=c||h.srces(b);a.each(c,function(a,c){if(c.type&&n[o].prop._supvalue.call(b[0],c.type))return d=c,!1})}return d};h.setError=function(c,d){d||(d="can't play sources");a(c).pause().data("mediaerror",d);b.warn("mediaelementError: "+d);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var m=function(){var a;return function(c,d,f){b.ready("mediaelement-swf",function(){h.createSWF?h.createSWF(c,
-d,f):a||(a=!0,x(),m(c,d,f))})}}(),d=function(a,b,c,f,g){c||!1!==c&&b&&"flash"==b.isActive?(c=h.canSwfPlaySrces(a,f))?m(a,c,b):g?h.setError(a,!1):d(a,b,!1,f,!0):(c=h.canNativePlaySrces(a,f))?b&&"flash"==b.isActive&&h.setActive(a,"html5",b):g?(h.setError(a,!1),b&&"flash"==b.isActive&&h.setActive(a,"html5",b)):d(a,b,!0,f,!0)},C=/^(?:embed|object|datalist)$/i,u=function(c,g){var k=b.data(c,"mediaelementBase")||b.data(c,"mediaelementBase",{}),o=h.srces(c),j=c.parentNode;clearTimeout(k.loadTimer);a.data(c,
-"mediaerror",!1);if(o.length&&j&&!(1!=j.nodeType||C.test(j.nodeName||"")))g=g||b.data(c,"mediaelement"),d(c,g,v.preferFlash||i,o)};a(k).bind("ended",function(c){var d=b.data(c.target,"mediaelement");(!g||d&&"html5"!=d.isActive||a.prop(c.target,"loop"))&&setTimeout(function(){!a.prop(c.target,"paused")&&a.prop(c.target,"loop")&&a(c.target).prop("currentTime",0).play()},1)});g||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(c){var d=b.defineNodeNameProperty(c,
-"load",{prop:{value:function(){var a=b.data(this,"mediaelement");u(this,a);j&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});n[c]=b.defineNodeNameProperty(c,"canPlayType",{prop:{value:function(b){var d="";j&&n[c].prop._supvalue&&(d=n[c].prop._supvalue.call(this,b),"no"==d&&(d=""));!d&&p&&(b=a.trim((b||"").split(";")[0]),-1!=h.swfMimeTypes.indexOf(b)&&(d="maybe"));return d}}})});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(){u(a);a=null},9)}});c=function(){b.addReady(function(c,d){a("video, audio",c).add(d.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():u(this);if(j){var c,d,h=this,g=function(){var b=a.prop(h,
-"buffered");if(b){for(var c="",d=0,g=b.length;d<g;d++)c+=b.end(d);return c}},k=function(){var b=g();b!=d&&(d=b,a(h).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(d=g());clearTimeout(c);c=setTimeout(k,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(d=!1);clearTimeout(c)})}})})};j?(b.isReady("mediaelement-core",!0),c(),p&&b.ready("WINDOWLOAD mediaelement",x)):b.ready("mediaelement-swf",c)})})(jQuery,Modernizr,
-jQuery.webshims);
-jQuery.webshims.register("mediaelement-swf",function(a,c,i,j,g,f){var b=c.mediaelement,y=i.swfobject,k=Modernizr.audio&&Modernizr.video,z=y.hasFlashPlayerVersion("9.0.115"),h=0,i={paused:!0,ended:!1,currentSrc:"",duration:i.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)c.error("buffered index size error");else return 0},end:function(a){if(a)c.error("buffered index size error");else return 0},length:0}},v=Object.keys(i),s={currentTime:0,volume:1,
-muted:!1};Object.keys(s);var p=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:g},i,s),x=/^jwplayer-/,n=function(a){if(a=j.getElementById(a.replace(x,"")))return a=c.data(a,"mediaelement"),"flash"==a.isActive?a:null},m=function(a){return(a=c.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},d=function(l,e){e=a.Event(e);e.preventDefault();a.event.trigger(e,g,l)},C=f.playerPath||c.cfg.basePath+
-"jwplayer/"+(f.playerName||"player.swf"),u=f.pluginPath||c.cfg.basePath+"swf/jwwebshims.swf";c.extendUNDEFProp(f.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});c.extendUNDEFProp(f.jwVars,{screencolor:"ffffffff"});c.extendUNDEFProp(f.jwAttrs,{bgcolor:"#000000"});var D=function(l,e){var c=l.duration;if(!(c&&0<l._durationCalcs)){try{if(l.duration=l.jwapi.getPlaylist()[0].duration,!l.duration||0>=l.duration||l.duration===l._lastDuration)l.duration=c}catch(f){}l.duration&&
-l.duration!=l._lastDuration?(d(l._elem,"durationchange"),("audio"==l._elemNodeName||l._callMeta)&&b.jwEvents.Model.META(a.extend({duration:l.duration},e),l),l._durationCalcs--):l._durationCalcs++}},q=function(a,e){3>a&&clearTimeout(e._canplaythroughTimer);if(3<=a&&3>e.readyState)e.readyState=a,d(e._elem,"canplay"),clearTimeout(e._canplaythroughTimer),e._canplaythroughTimer=setTimeout(function(){q(4,e)},4E3);if(4<=a&&4>e.readyState)e.readyState=a,d(e._elem,"canplaythrough");e.readyState=a};b.jwEvents=
-{View:{PLAY:function(a){var e=n(a.id);if(e&&!e.stopPlayPause&&(e._ppFlag=!0,e.paused==a.state)){e.paused=!a.state;if(e.ended)e.ended=!1;d(e._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(l){var e=n(l.id);if(e&&"percentage"in l&&e._bufferedEnd!=l.percentage){e.networkState=100==l.percentage?1:2;(isNaN(e.duration)||5<l.percentage&&25>l.percentage||100===l.percentage)&&D(e,l);if(e.ended)e.ended=!1;if(e.duration){2<l.percentage&&20>l.percentage?q(3,e):20<l.percentage&&q(4,e);if(e._bufferedEnd&&
-e._bufferedEnd>l.percentage)e._bufferedStart=e.currentTime||0;e._bufferedEnd=l.percentage;e.buffered.length=1;if(100==l.percentage)e.networkState=1,q(4,e);a.event.trigger("progress",g,e._elem,!0)}}},META:function(a,e){if(e=e&&e.networkState?e:n(a.id))if("duration"in a){if(!e._metadata||!((!a.height||e.videoHeight==a.height)&&a.duration===e.duration)){e._metadata=!0;var b=e.duration;if(a.duration)e.duration=a.duration;e._lastDuration=e.duration;if(a.height||a.width)e.videoHeight=a.height||0,e.videoWidth=
-a.width||0;if(!e.networkState)e.networkState=2;1>e.readyState&&q(1,e);e.duration&&b!==e.duration&&d(e._elem,"durationchange");d(e._elem,"loadedmetadata")}}else e._callMeta=!0},TIME:function(a){var e=n(a.id);if(e&&e.currentTime!==a.position){e.currentTime=a.position;e.duration&&e.duration<e.currentTime&&D(e,a);2>e.readyState&&q(2,e);if(e.ended)e.ended=!1;d(e._elem,"timeupdate")}},STATE:function(a){var e=n(a.id);if(e)switch(a.newstate){case "BUFFERING":if(e.ended)e.ended=!1;q(1,e);d(e._elem,"waiting");
-break;case "PLAYING":e.paused=!1;e._ppFlag=!0;e.duration||D(e,a);3>e.readyState&&q(3,e);if(e.ended)e.ended=!1;d(e._elem,"playing");break;case "PAUSED":if(!e.paused&&!e.stopPlayPause)e.paused=!0,e._ppFlag=!0,d(e._elem,"pause");break;case "COMPLETED":4>e.readyState&&q(4,e),e.ended=!0,d(e._elem,"ended")}}},Controller:{ERROR:function(a){var e=n(a.id);e&&b.setError(e._elem,a.message)},SEEK:function(a){var e=n(a.id);if(e){if(e.ended)e.ended=!1;if(e.paused)try{e.jwapi.sendEvent("play","false")}catch(b){}if(e.currentTime!=
-a.position)e.currentTime=a.position,d(e._elem,"timeupdate")}},VOLUME:function(a){var e=n(a.id);if(e&&(a=a.percentage/100,e.volume!=a))e.volume=a,d(e._elem,"volumechange")},MUTE:function(a){if(!a.state){var e=n(a.id);if(e&&e.muted!=a.state)e.muted=a.state,d(e._elem,"volumechange")}}}};var J=function(c){var e=!0;a.each(b.jwEvents,function(b,d){a.each(d,function(a){try{c.jwapi["add"+b+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+b+"."+a)}catch(d){return e=!1}})});return e},o=function(a){var e=
-a.actionQueue.length,b=0,c;if(e&&"flash"==a.isActive)for(;a.actionQueue.length&&e>b;)b++,c=a.actionQueue.shift(),a.jwapi[c.fn].apply(a.jwapi,c.args);if(a.actionQueue.length)a.actionQueue=[]},G=function(b){b&&(b._ppFlag===g&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===g||!b.paused))try{a(b._elem).play()}catch(e){}},1)},K=function(b){if(b&&"video"==b._elemNodeName){var e,c,d,f,h,r,g,k,i=function(i,j){if(j&&i&&!(1>j||1>i||"flash"!=b.isActive))if(e&&
-(e.remove(),e=!1),f=i,h=j,clearTimeout(g),c="auto"==b._elem.style.width,d="auto"==b._elem.style.height,c||d){r=r||a(b._elem).getShadowElement();var m;c&&!d?(m=r.height(),i*=m/j,j=m):!c&&d&&(m=r.width(),j*=m/i,i=m);k=!0;setTimeout(function(){k=!1},9);r.css({width:i,height:j})}},j=function(){if(!("flash"!=b.isActive||a.prop(b._elem,"readyState")&&a.prop(this,"videoWidth"))){var f=a.prop(b._elem,"poster");if(f&&(c="auto"==b._elem.style.width,d="auto"==b._elem.style.height,c||d))e&&(e.remove(),e=!1),
-e=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),e.bind("load error alreadycomplete",function(){clearTimeout(g);var b=this,c=b.naturalWidth||b.width||b.offsetWidth,d=b.naturalHeight||b.height||b.offsetHeight;d&&c?(i(c,d),b=null):setTimeout(function(){c=b.naturalWidth||b.width||b.offsetWidth;d=b.naturalHeight||b.height||b.offsetHeight;i(c,d);e&&(e.remove(),e=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||
-this.error?a(this).triggerHandler("alreadycomplete"):(clearTimeout(g),g=setTimeout(function(){a(b._elem).triggerHandler("error")},9999))})}};a(b._elem).bind("loadedmetadata",function(){i(a.prop(this,"videoWidth"),a.prop(this,"videoHeight"))}).bind("emptied",j).bind("swfstageresize updatemediaelementdimensions",function(){k||i(f,h)}).bind("emptied",function(){f=void 0;h=void 0}).triggerHandler("swfstageresize");j();a.prop(b._elem,"readyState")&&i(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};
-b.playerResize=function(b){b&&(b=j.getElementById(b.replace(x,"")))&&a(b).triggerHandler("swfstageresize")};a(j).bind("emptied",function(a){a=m(a.target);G(a)});var A;b.jwPlayerReady=function(b){var e=n(b.id),d=0,f=function(){if(!(9<d))if(d++,J(e)){if(e.wasSwfReady)a(e._elem).mediaLoad();else{var h=parseFloat(b.version,10);(5.6>h||6<=h)&&c.warn("mediaelement-swf is only testet with jwplayer 5.6+")}e.wasSwfReady=!0;e.tryedReframeing=0;o(e);G(e)}else clearTimeout(e.reframeTimer),e.reframeTimer=setTimeout(f,
-9*d),2<d&&9>e.tryedReframeing&&(e.tryedReframeing++,e.shadowElem.css({overflow:"visible"}),setTimeout(function(){e.shadowElem.css({overflow:"hidden"})},16))};if(e&&e.jwapi){if(!e.tryedReframeing)e.tryedReframeing=0;clearTimeout(A);e.jwData=b;e.shadowElem.removeClass("flashblocker-assumed");a.prop(e._elem,"volume",e.volume);a.prop(e._elem,"muted",e.muted);f()}};var E=a.noop;if(k){var L={play:1,playing:1},H="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
-I=H.map(function(a){return a+".webshimspolyfill"}).join(" "),M=function(b){var e=c.data(b.target,"mediaelement");e&&(b.originalEvent&&b.originalEvent.type===b.type)==("flash"==e.activating)&&(b.stopImmediatePropagation(),L[b.type]&&e.isActive!=e.activating&&a(b.target).pause())},E=function(b){a(b).unbind(I).bind(I,M);H.forEach(function(a){c.moveToFirstEvent(b,a)})};E(j)}b.setActive=function(b,e,d){d||(d=c.data(b,"mediaelement"));if(d&&d.isActive!=e){"html5"!=e&&"flash"!=e&&c.warn("wrong type for mediaelement activating: "+
-e);var f=c.data(b,"shadowData");d.activating=e;a(b).pause();d.isActive=e;"flash"==e?(f.shadowElement=f.shadowFocusElement=d.shadowElem[0],a(b).hide().getShadowElement().show()):(a(b).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var N=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(c){if(c){var f=b,h=c.networkState;
-for(q(0,c);--f;)delete c[a[f]];c.actionQueue=[];c.buffered.length=0;h&&d(c._elem,"emptied")}}}(),F=function(b,e){var c=b._elem,d=b.shadowElem;a(c)[e?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!e?d.css({width:0,height:0}):d.css({width:c.style.width||a(c).width(),height:c.style.height||a(c).height()})};b.createSWF=function(d,e,g){if(z){1>h?h=1:h++;var i=a.extend({},f.jwVars,{image:a.prop(d,"poster")||"",file:e.srcProp}),j=a(d).data("jwvars")||{};g||(g=c.data(d,"mediaelement"));
-if(g&&g.swfCreated)b.setActive(d,"flash",g),N(g),g.currentSrc=e.srcProp,a.extend(i,j),f.changeJW(i,d,e,g,"load"),w(d,"sendEvent",["LOAD",i]);else{var B=a.prop(d,"controls"),r="jwplayer-"+c.getID(d),m=a.extend({},f.jwParams,a(d).data("jwparams")),n=d.nodeName.toLowerCase(),o=a.extend({},f.jwAttrs,{name:r,id:r},a(d).data("jwattrs")),q=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+r+'"><div id="'+r+'"></div>').css({position:"relative",overflow:"hidden"}),g=c.data(d,"mediaelement",
-c.objectCreate(p,{actionQueue:{value:[]},shadowElem:{value:q},_elemNodeName:{value:n},_elem:{value:d},currentSrc:{value:e.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=g.buffered.length)c.error("buffered index size error");else return 0},end:function(a){if(a>=g.buffered.length)c.error("buffered index size error");else return(g.duration-g._bufferedStart)*g._bufferedEnd/100+g._bufferedStart},length:0}}}));F(g,B);q.insertBefore(d);k&&a.extend(g,{volume:a.prop(d,"volume"),muted:a.prop(d,
-"muted")});a.extend(i,{id:r,controlbar:B?f.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(B&&"video"==n)},j,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+u):u;c.addShadowDom(d,q);E(d);b.setActive(d,"flash",g);f.changeJW(i,d,e,g,"embed");a(d).bind("updatemediaelementdimensions",function(){F(g,a.prop(d,"controls"))});K(g);y.embedSWF(C,r,"100%","100%","9.0.0",!1,i,m,o,function(b){if(b.success)g.jwapi=b.ref,B||a(b.ref).attr("tabindex",
-"-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&q[0].parentNode||"none"==b.ref.style.display)q.addClass("flashblocker-assumed"),a(d).trigger("flashblocker"),c.warn("flashblocker assumed");a(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),A||(clearTimeout(A),A=setTimeout(function(){var e=a(b.ref);1<e[0].offsetWidth&&1<e[0].offsetHeight&&0===location.protocol.indexOf("file:")?c.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>e[0].offsetWidth||2>e[0].offsetHeight)&&c.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(d).mediaLoad()},1)};var w=function(a,b,c,d){return(d=d||m(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(b){var e={},f,g=function(a){"audio"==b&&
-("videoHeight"==a||"videoWidth"==a)||(e[a]={get:function(){var b=m(this);return b?b[a]:k&&f[a].prop._supget?f[a].prop._supget.apply(this):p[a]},writeable:!1})},h=function(a,b){g(a);delete e[a].writeable;e[a].set=b};h("volume",function(a){var b=m(this);if(b){if(a*=100,!isNaN(a)){var e=b.muted;(0>a||100<a)&&c.error("volume greater or less than allowed "+a/100);w(this,"sendEvent",["VOLUME",a],b);if(e)try{b.jwapi.sendEvent("mute","true")}catch(g){}a/=100;if(!(b.volume==a||"flash"!=b.isActive))b.volume=
-a,d(b._elem,"volumechange")}}else if(f.volume.prop._supset)return f.volume.prop._supset.apply(this,arguments)});h("muted",function(a){var b=m(this);if(b){if(a=!!a,w(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,d(b._elem,"volumechange")}else if(f.muted.prop._supset)return f.muted.prop._supset.apply(this,arguments)});h("currentTime",function(a){var b=m(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);w(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,d(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(e){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){e[a]={value:function(){var b=m(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),w(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
-!0,b.paused!=("play"!=a)))b.paused="play"!=a,d(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});v.forEach(g);c.onNodeNamesPropertyModify(b,"controls",function(e,d){var f=m(this);a(this)[d?"addClass":"removeClass"]("webshims-controls");if(f){try{w(this,d?"showControls":"hideControls",[b],f)}catch(g){c.warn("you need to generate a crossdomain.xml")}"audio"==b&&F(f,d);a(f.jwapi).attr("tabindex",d?"0":"-1")}});f=c.defineNodeNameProperties(b,e,"prop")});if(z){var O=
-a.cleanData,P=a.browser.msie&&9>c.browserVersion,Q={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&h)for(b=0;b<c;b++)if(Q[a[b].nodeName]){if("sendEvent"in a[b]){h--;try{a[b].sendEvent("play",!1)}catch(f){}}if(P)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(g){}}return O.apply(this,arguments)}}if(!k){var t=j.createElement("a");t.style.display="none";["poster","src"].forEach(function(b){c.defineNodeNamesProperty("src"==b?["audio","video","source"]:["video"],
-b,{prop:{get:function(){var e=this.getAttribute(b),c;if(null==e)return"";t.setAttribute("href",e+"");if(!a.support.hrefNormalized){try{a(t).appendTo(this),c=t.getAttribute("href",4)}catch(d){c=t.getAttribute("href",4)}a(t).detach()}return c||t.href},set:function(c){a.attr(this,b,c)}}})});["autoplay","controls"].forEach(function(a){c.defineNodeNamesBooleanProperty(["audio","video"],a)});c.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 b=Function.prototype.call,a=Object.prototype,d=Array.prototype.slice,k,g;if(!Function.prototype.bind)Function.prototype.bind=function(n){var b=this;if("function"!=typeof b)throw new TypeError;var j=d.call(arguments,1),m=function(){if(this instanceof m){var a=function(){};a.prototype=b.prototype;var a=new a,g=b.apply(a,j.concat(d.call(arguments)));return null!==g&&Object(g)===g?g:a}return b.apply(n,j.concat(d.call(arguments)))};return m};g=b.bind(a.toString);k=b.bind(a.hasOwnProperty);
+if(!Array.isArray)Array.isArray=function(b){return"[object Array]"==g(b)};if(!Array.prototype.forEach)Array.prototype.forEach=function(b,a){var j=f(this),m=0,c=j.length>>>0;if("[object Function]"!=g(b))throw new TypeError;for(;m<c;)m in j&&b.call(a,j[m],m,j),m++};if(!Array.prototype.map)Array.prototype.map=function(b,a){var j=f(this),m=j.length>>>0,c=Array(m);if("[object Function]"!=g(b))throw new TypeError;for(var e=0;e<m;e++)e in j&&(c[e]=b.call(a,j[e],e,j));return c};if(!Array.prototype.filter)Array.prototype.filter=
+function(b,a){var j=f(this),m=j.length>>>0,c=[];if("[object Function]"!=g(b))throw new TypeError;for(var e=0;e<m;e++)e in j&&b.call(a,j[e],e,j)&&c.push(j[e]);return c};if(!Array.prototype.every)Array.prototype.every=function(b,a){var j=f(this),m=j.length>>>0;if("[object Function]"!=g(b))throw new TypeError;for(var e=0;e<m;e++)if(e in j&&!b.call(a,j[e],e,j))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(b,a){var j=f(this),e=j.length>>>0;if("[object Function]"!=g(b))throw new TypeError;
+for(var c=0;c<e;c++)if(c in j&&b.call(a,j[c],c,j))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(b){var a=f(this),e=a.length>>>0;if("[object Function]"!=g(b))throw new TypeError;if(!e&&1==arguments.length)throw new TypeError;var c=0,i;if(2<=arguments.length)i=arguments[1];else{do{if(c in a){i=a[c++];break}if(++c>=e)throw new TypeError;}while(1)}for(;c<e;c++)c in a&&(i=b.call(void 0,i,a[c],c,a));return i};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(b){var a=
+f(this),c=a.length>>>0;if("[object Function]"!=g(b))throw new TypeError;if(!c&&1==arguments.length)throw new TypeError;var e,c=c-1;if(2<=arguments.length)e=arguments[1];else{do{if(c in a){e=a[c--];break}if(0>--c)throw new TypeError;}while(1)}do c in this&&(e=b.call(void 0,e,a[c],c,a));while(c--);return e};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(b){var c=f(this),a=c.length>>>0;if(!a)return-1;var e=0;1<arguments.length&&(e=y(arguments[1]));for(e=0<=e?e:a-Math.abs(e);e<a;e++)if(e in
+c&&c[e]===b)return e;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(b){var c=f(this),e=c.length>>>0;if(!e)return-1;var a=e-1;1<arguments.length&&(a=y(arguments[1]));for(a=0<=a?a:e-Math.abs(a);0<=a;a--)if(a in c&&b===c[a])return a;return-1};if(2!=[1,2].splice(0).length){var i=Array.prototype.splice;Array.prototype.splice=function(b,a){return!arguments.length?[]:i.apply(this,[void 0===b?0:b,void 0===a?this.length-b:a].concat(d.call(arguments,2)))}}if(!Object.keys){var c=
+!0,u="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),h=u.length,s;for(s in{toString:null})c=!1;Object.keys=function(b){if("object"!=typeof b&&"function"!=typeof b||null===b)throw new TypeError("Object.keys called on a non-object");var a=[],e;for(e in b)k(b,e)&&a.push(e);if(c)for(e=0;e<h;e++){var g=u[e];k(b,g)&&a.push(g)}return a}}if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){var b,a,e;if(!isFinite(this))throw new RangeError;
+b=[this.getUTCFullYear(),this.getUTCMonth()+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];for(a=b.length;a--;)e=b[a],10>e&&(b[a]="0"+e);return b.slice(0,3).join("-")+"T"+b.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()};b="\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||b.trim()){var b="["+b+"]",q=RegExp("^"+b+b+"*"),e=RegExp(b+b+"*$");String.prototype.trim=function(){return(""+this).replace(q,"").replace(e,"")}}if("0".split(void 0,0).length){var C=String.prototype.split;String.prototype.split=function(b,a){return void 0===b&&0===a?[]:C.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var D=String.prototype.substr;String.prototype.substr=function(b,a){return D.call(this,0>b?0>(b=this.length+b)?0:b:b,a)}}var y=function(b){b=+b;
+b!==b?b=-1:0!==b&&b!==1/0&&b!==-(1/0)&&(b=(0<b||-1)*Math.floor(Math.abs(b)));return b},o="a"!="a"[0],f=function(b){if(null==b)throw new TypeError;return o&&"string"==typeof b&&b?b.split(""):Object(b)}})();
+(function(b,a){var d=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);d&&!b.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var b=document.createElement("foo");Object.defineProperty(b,"bar",{get:function(){return!0}});d=!!b.bar}catch(a){d=!1}b=null}();Modernizr.objectAccessor=!(!(d||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||b.browser.opera&&!(11<=a.browserVersion));Modernizr.advancedObjectProperties=d;
+if(!d||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);a.objectCreate=function(b,i,c,d){var h;h=function(){};h.prototype=b;h=new h;if(!d&&!("__proto__"in h)&&!Modernizr.objectAccessor)h.__proto__=b;i&&a.defineProperties(h,i);if(c)h.options=jQuery.extend(!0,{},h.options||{},c),c=h.options;h._create&&jQuery.isFunction(h._create)&&h._create(c);return h};a.defineProperties=function(b,
+i){for(var c in i)k(i,c)&&a.defineProperty(b,c,i[c]);return b};a.defineProperty=function(b,a,c){if("object"!=typeof c||null===c)return b;if(k(c,"value"))return b[a]=c.value,b;b.__defineGetter__&&("function"==typeof c.get&&b.__defineGetter__(a,c.get),"function"==typeof c.set&&b.__defineSetter__(a,c.set));return b};a.getPrototypeOf=function(b){return Object.getPrototypeOf&&Object.getPrototypeOf(b)||b.__proto__||b.constructor&&b.constructor.prototype};a.getOwnPropertyDescriptor=function(b,a){if("object"!==
+typeof b&&"function"!==typeof b||null===b)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object");var c;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return c=Object.getOwnPropertyDescriptor(b,a)}catch(d){}c={configurable:!0,enumerable:!0,writable:!0,value:void 0};var h=b.__lookupGetter__&&b.__lookupGetter__(a),s=b.__lookupSetter__&&b.__lookupSetter__(a);if(!h&&!s){if(!k(b,a))return;c.value=b[a];return c}delete c.writable;delete c.value;c.get=c.set=void 0;if(h)c.get=
+h;if(s)c.set=s;return c}}})(jQuery,jQuery.webshims);
+(function(b,a,d){var k=a.audio&&a.video,g=!1,i=d.cfg.mediaelement,c=d.bugs,u=function(){d.ready("mediaelement-swf",function(){if(!d.mediaelement.createSWF)d.modules["mediaelement-swf"].test=b.noop,d.reTest(["mediaelement-swf"],k)})},h;if(k){var s=document.createElement("video");a.videoBuffered="buffered"in s;g="loop"in s;d.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));a.videoBuffered||(d.addPolyfill("mediaelement-native-fix",{f:"mediaelement",
+test:a.videoBuffered,d:["dom-support"]}),d.reTest("mediaelement-native-fix"))}if(k&&!i.preferFlash){var q=function(a){var c=a.target.parentNode;!i.preferFlash&&(b(a.target).is("audio, video")||c&&b("source:last",c)[0]==a.target)&&d.ready("DOM mediaelement",function(){h&&u();d.ready("WINDOWLOAD mediaelement-swf",function(){setTimeout(function(){h&&!i.preferFlash&&d.mediaelement.createSWF&&!b(a.target).closest("audio, video").is(".nonnative-api-active")?(i.preferFlash=!0,document.removeEventListener("error",
+q,!0),b("audio, video").mediaLoad(),d.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+a.target.src)):h||document.removeEventListener("error",q,!0)},20)})})};document.addEventListener("error",q,!0);b("audio, video").each(function(){this.error&&q({target:this})})}c.track=!1;a.track&&function(){if(!c.track)c.track="number"!=typeof b("<track />")[0].readyState;if(!c.track)try{new TextTrackCue(2,3,"")}catch(a){c.track=!0}var h=d.cfg.track,i=function(a){b(a.target).filter("track").each(g)},
+g=function(){if(c.track||!h.override&&3==b.prop(this,"readyState"))h.override=!0,d.reTest("track"),document.removeEventListener("error",i,!0),this&&b.nodeName(this,"track")?d.error("track support was overwritten. Please check your vtt including your vtt mime-type"):d.info("track support was overwritten. due to bad browser support")},k=function(){document.addEventListener("error",i,!0);c.track?g():b("track").each(g)};h.override||(d.isReady("track")?k():b(k))}();d.register("mediaelement-core",function(b,
+d,q,s,o){h=swfobject.hasFlashPlayerVersion("9.0.115");var f=d.mediaelement,n=function(a,c){var a=b(a),d={src:a.attr("src")||"",elem:a,srcProp:a.prop("src")};if(!d.src)return d;var t=a.attr("type");if(t)d.type=t,d.container=b.trim(t.split(";")[0]);else if(c||(c=a[0].nodeName.toLowerCase(),"source"==c&&(c=(a.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),t=f.getTypeForSrc(d.src,c))d.type=t,d.container=t;if(t=a.attr("media"))d.media=t;return d},w=!h&&"postMessage"in q&&k,j=
+function(){var a;return function(){!a&&w&&(a=!0,d.loader.loadScript("https://www.youtube.com/player_api"),b(function(){d.polyfill("mediaelement-yt")}))}}(),m=function(){h?u():j()};d.addPolyfill("mediaelement-yt",{test:!w,d:["dom-support"]});f.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"]}};f.mimeTypes.source=b.extend({},f.mimeTypes.audio,f.mimeTypes.video);f.getTypeForSrc=function(a,c){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;b.each(f.mimeTypes[c],function(b,c){if(-1!==c.indexOf(a))return d=b,!1});return d};f.srces=function(a,c){a=b(a);if(c)a.removeAttr("src").removeAttr("type").find("source").remove(),b.isArray(c)||(c=[c]),c.forEach(function(b){var c=s.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 c=[],d=a[0].nodeName.toLowerCase(),f=n(a,d);f.src?c.push(f):b("source",a).each(function(){f=n(this,d);f.src&&c.push(f)});return c}};b.fn.loadMediaSrc=function(a,c){return this.each(function(){c!==o&&(b(this).removeAttr("poster"),c&&b.attr(this,"poster",c));f.srces(this,a);b(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.canThirdPlaySrces=function(a,c){var d="";if(h||w)a=b(a),c=c||f.srces(a),b.each(c,function(b,a){if(a.container&&a.src&&(h&&-1!=f.swfMimeTypes.indexOf(a.container)||w&&"video/youtube"==a.container))return d=a,!1});return d};var p={};f.canNativePlaySrces=function(a,c){var d="";if(k){var a=b(a),h=(a[0].nodeName||"").toLowerCase();if(!p[h])return d;c=c||f.srces(a);b.each(c,function(b,c){if(c.type&&p[h].prop._supvalue.call(a[0],c.type))return d=c,!1})}return d};f.setError=function(a,c){c||(c="can't play sources");
+b(a).pause().data("mediaerror",c);d.warn("mediaelementError: "+c);setTimeout(function(){b(a).data("mediaerror")&&b(a).trigger("mediaerror")},1)};var B=function(){var b;return function(a,c,e){d.ready(h?"mediaelement-swf":"mediaelement-yt",function(){f.createSWF?f.createSWF(a,c,e):b||(b=!0,m(),B(a,c,e))});!b&&w&&!f.createSWF&&j()}}(),z=function(b,a,c,d,e){c||!1!==c&&a&&"third"==a.isActive?(c=f.canThirdPlaySrces(b,d))?B(b,c,a):e?f.setError(b,!1):z(b,a,!1,d,!0):(c=f.canNativePlaySrces(b,d))?a&&"third"==
+a.isActive&&f.setActive(b,"html5",a):e?(f.setError(b,!1),a&&"third"==a.isActive&&f.setActive(b,"html5",a)):z(b,a,!0,d,!0)},F=/^(?:embed|object|datalist)$/i,A=function(a,c){var h=d.data(a,"mediaelementBase")||d.data(a,"mediaelementBase",{}),j=f.srces(a),g=a.parentNode;clearTimeout(h.loadTimer);b.data(a,"mediaerror",!1);if(j.length&&g&&!(1!=g.nodeType||F.test(g.nodeName||"")))c=c||d.data(a,"mediaelement"),z(a,c,i.preferFlash||o,j)};b(s).bind("ended",function(a){var c=d.data(a.target,"mediaelement");
+(!g||c&&"html5"!=c.isActive||b.prop(a.target,"loop"))&&setTimeout(function(){!b.prop(a.target,"paused")&&b.prop(a.target,"loop")&&b(a.target).prop("currentTime",0).play()},1)});g||d.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(a){var c=d.defineNodeNameProperty(a,"load",{prop:{value:function(){var b=d.data(this,"mediaelement");A(this,b);k&&(!b||"html5"==b.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});p[a]=d.defineNodeNameProperty(a,
+"canPlayType",{prop:{value:function(c){var d="";k&&p[a].prop._supvalue&&(d=p[a].prop._supvalue.call(this,c),"no"==d&&(d=""));!d&&h&&(c=b.trim((c||"").split(";")[0]),-1!=f.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});d.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var b=this,a=d.data(b,"mediaelementBase")||d.data(b,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){A(b);b=null},9)}});q=function(){d.addReady(function(a,c){b("video, audio",
+a).add(c.filter("video, audio")).each(function(){b.browser.msie&&8<d.browserVersion&&b.prop(this,"paused")&&!b.prop(this,"readyState")&&b(this).is('audio[preload="none"][controls]:not([autoplay])')?b(this).prop("preload","metadata").mediaLoad():A(this);if(k){var a,c,f=this,h=function(){var a=b.prop(f,"buffered");if(a){for(var c="",d=0,h=a.length;d<h;d++)c+=a.end(d);return c}},j=function(){var a=h();a!=c&&(c=a,b(f).triggerHandler("progress"))};b(this).bind("play loadstart progress",function(b){"progress"==
+b.type&&(c=h());clearTimeout(a);a=setTimeout(j,999)}).bind("emptied stalled mediaerror abort suspend",function(b){"emptied"==b.type&&(c=!1);clearTimeout(a)})}})})};a.track&&!c.track&&d.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(d.isReady("mediaelement-core",!0),q(),d.ready("WINDOWLOAD mediaelement",m)):d.ready("mediaelement-swf",q);b(function(){d.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
+jQuery.webshims.register("mediaelement-swf",function(b,a,d,k,g,i){var c=a.mediaelement,u=d.swfobject,h=Modernizr.audio&&Modernizr.video,s=u.hasFlashPlayerVersion("9.0.115"),q=0,d={paused:!0,ended:!1,currentSrc:"",duration:d.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(b){if(b)a.error("buffered index size error");else return 0},end:function(b){if(b)a.error("buffered index size error");else return 0},length:0}},e=Object.keys(d),C={currentTime:0,volume:1,
+muted:!1};Object.keys(C);var D=b.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:g},d,C),y=/^jwplayer-/,o=function(b){if(b=k.getElementById(b.replace(y,"")))return b=a.data(b,"mediaelement"),"third"==b.isActive?b:null},f=function(b){return(b=a.data(b,"mediaelement"))&&"third"==b.isActive?b:null},n=function(a,l){l=b.Event(l);l.preventDefault();b.event.trigger(l,g,a)},w=i.playerPath||a.cfg.basePath+
+"jwplayer/"+(i.playerName||"player.swf"),j=i.pluginPath||a.cfg.basePath+"swf/jwwebshims.swf";a.extendUNDEFProp(i.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});a.extendUNDEFProp(i.jwVars,{screencolor:"ffffffff"});a.extendUNDEFProp(i.jwAttrs,{bgcolor:"#000000"});var m=function(a,l){var d=a.duration;if(!(d&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=d}catch(e){}a.duration&&
+a.duration!=a._lastDuration?(n(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&c.jwEvents.Model.META(b.extend({duration:a.duration},l),a),a._durationCalcs--):a._durationCalcs++}},p=function(b,a){3>b&&clearTimeout(a._canplaythroughTimer);if(3<=b&&3>a.readyState)a.readyState=b,n(a._elem,"canplay"),clearTimeout(a._canplaythroughTimer),a._canplaythroughTimer=setTimeout(function(){p(4,a)},4E3);if(4<=b&&4>a.readyState)a.readyState=b,n(a._elem,"canplaythrough");a.readyState=b};b.extend(b.event.customEvent,
+{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});c.jwEvents={View:{PLAY:function(b){var a=o(b.id);if(a&&!a.stopPlayPause&&(a._ppFlag=!0,a.paused==b.state)){a.paused=!b.state;if(a.ended)a.ended=!1;n(a._elem,b.state?"play":"pause")}}},Model:{BUFFER:function(a){var l=o(a.id);if(l&&"percentage"in a&&l._bufferedEnd!=a.percentage){l.networkState=100==a.percentage?1:2;(isNaN(l.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&m(l,a);if(l.ended)l.ended=
+!1;if(l.duration){2<a.percentage&&20>a.percentage?p(3,l):20<a.percentage&&p(4,l);if(l._bufferedEnd&&l._bufferedEnd>a.percentage)l._bufferedStart=l.currentTime||0;l._bufferedEnd=a.percentage;l.buffered.length=1;if(100==a.percentage)l.networkState=1,p(4,l);b.event.trigger("progress",g,l._elem,!0)}}},META:function(b,a){if(a=a&&a.networkState?a:o(b.id))if("duration"in b){if(!a._metadata||!((!b.height||a.videoHeight==b.height)&&b.duration===a.duration)){a._metadata=!0;var c=a.duration;if(b.duration)a.duration=
+b.duration;a._lastDuration=a.duration;if(b.height||b.width)a.videoHeight=b.height||0,a.videoWidth=b.width||0;if(!a.networkState)a.networkState=2;1>a.readyState&&p(1,a);a.duration&&c!==a.duration&&n(a._elem,"durationchange");n(a._elem,"loadedmetadata")}}else a._callMeta=!0},TIME:function(b){var a=o(b.id);if(a&&a.currentTime!==b.position){a.currentTime=b.position;a.duration&&a.duration<a.currentTime&&m(a,b);2>a.readyState&&p(2,a);if(a.ended)a.ended=!1;n(a._elem,"timeupdate")}},STATE:function(a){var b=
+o(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;p(1,b);n(b._elem,"waiting");break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||m(b,a);3>b.readyState&&p(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&&p(4,b),b.ended=!0,n(b._elem,"ended")}}},Controller:{ERROR:function(b){var a=o(b.id);a&&c.setError(a._elem,b.message)},SEEK:function(b){var a=
+o(b.id);if(a){if(a.ended)a.ended=!1;if(a.paused)try{a.jwapi.sendEvent("play","false")}catch(c){}if(a.currentTime!=b.position)a.currentTime=b.position,n(a._elem,"timeupdate")}},VOLUME:function(b){var a=o(b.id);if(a&&(b=b.percentage/100,a.volume!=b))a.volume=b,n(a._elem,"volumechange")},MUTE:function(b){if(!b.state){var a=o(b.id);if(a&&a.muted!=b.state)a.muted=b.state,n(a._elem,"volumechange")}}}};var B=function(a){var l=!0;b.each(c.jwEvents,function(c,d){b.each(d,function(b){try{a.jwapi["add"+c+"Listener"](b,
+"jQuery.webshims.mediaelement.jwEvents."+c+"."+b)}catch(d){return l=!1}})});return l},z=function(b){var a=b.actionQueue.length,c=0,d;if(a&&"third"==b.isActive)for(;b.actionQueue.length&&a>c;)c++,d=b.actionQueue.shift(),b.jwapi[d.fn].apply(b.jwapi,d.args);if(b.actionQueue.length)b.actionQueue=[]},F=function(a){a&&(a._ppFlag===g&&b.prop(a._elem,"autoplay")||!a.paused)&&setTimeout(function(){if("third"==a.isActive&&(a._ppFlag===g||!a.paused))try{b(a._elem).play()}catch(c){}},1)},A=function(a){if(a&&
+"video"==a._elemNodeName){var c,d,e,f,v,r,h,j,i=function(i,g){if(g&&i&&!(1>g||1>i||"third"!=a.isActive))if(c&&(c.remove(),c=!1),f=i,v=g,clearTimeout(h),d="auto"==a._elem.style.width,e="auto"==a._elem.style.height,d||e){r=r||b(a._elem).getShadowElement();var k;d&&!e?(k=r.height(),i*=k/g,g=k):!d&&e&&(k=r.width(),g*=k/i,i=k);j=!0;setTimeout(function(){j=!1},9);r.css({width:i,height:g})}},g=function(){if(!("third"!=a.isActive||b.prop(a._elem,"readyState")&&b.prop(this,"videoWidth"))){var r=b.prop(a._elem,
+"poster");if(r&&(d="auto"==a._elem.style.width,e="auto"==a._elem.style.height,d||e))c&&(c.remove(),c=!1),c=b('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),c.bind("load error alreadycomplete",function(){clearTimeout(h);var a=this,d=a.naturalWidth||a.width||a.offsetWidth,G=a.naturalHeight||a.height||a.offsetHeight;G&&d?(i(d,G),a=null):setTimeout(function(){d=a.naturalWidth||a.width||a.offsetWidth;G=a.naturalHeight||a.height||a.offsetHeight;
+i(d,G);c&&(c.remove(),c=!1);a=null},9);b(this).unbind()}).prop("src",r).appendTo("body").each(function(){this.complete||this.error?b(this).triggerHandler("alreadycomplete"):(clearTimeout(h),h=setTimeout(function(){b(a._elem).triggerHandler("error")},9999))})}};b(a._elem).bind("loadedmetadata",function(){i(b.prop(this,"videoWidth"),b.prop(this,"videoHeight"))}).bind("emptied",g).bind("swfstageresize updatemediaelementdimensions",function(){j||i(f,v)}).bind("emptied",function(){f=void 0;v=void 0}).triggerHandler("swfstageresize");
+g();b.prop(a._elem,"readyState")&&i(b.prop(a._elem,"videoWidth"),b.prop(a._elem,"videoHeight"))}};c.playerResize=function(a){a&&(a=k.getElementById(a.replace(y,"")))&&b(a).triggerHandler("swfstageresize")};b(k).bind("emptied",function(a){a=f(a.target);F(a)});var E;c.jwPlayerReady=function(c){var d=o(c.id),e=0,f=function(){if(!(9<e))if(e++,B(d)){if(d.wasSwfReady)b(d._elem).mediaLoad();else{var h=parseFloat(c.version,10);(5.1>h||6<=h)&&a.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=
+!0;d.tryedReframeing=0;z(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(E);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");b.prop(d._elem,"volume",d.volume);b.prop(d._elem,"muted",d.muted);f()}};var H=b.noop;if(h){var K={play:1,playing:1},
+t="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),J=t.map(function(a){return a+".webshimspolyfill"}).join(" "),L=function(c){var d=a.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),K[c.type]&&d.isActive!=d.activating&&b(c.target).pause())},H=function(c){b(c).unbind(J).bind(J,L);t.forEach(function(b){a.moveToFirstEvent(c,b)})};H(k)}c.setActive=function(c,d,
+e){e||(e=a.data(c,"mediaelement"));if(e&&e.isActive!=d){"html5"!=d&&"third"!=d&&a.warn("wrong type for mediaelement activating: "+d);var f=a.data(c,"shadowData");e.activating=d;b(c).pause();e.isActive=d;"third"==d?(f.shadowElement=f.shadowFocusElement=e.shadowElem[0],b(c).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(b(c).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1);b(c).trigger("mediaelementapichange")}};
+var O=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(c){if(c){var d=b,e=c.networkState;for(p(0,c);--d;)delete c[a[d]];c.actionQueue=[];c.buffered.length=0;e&&n(c._elem,"emptied")}}}(),I=function(a,c){var d=a._elem,e=a.shadowElem;b(d)[c?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!c?e.css({width:0,height:0}):e.css({width:d.style.width||
+b(d).width(),height:d.style.height||b(d).height()})};c.createSWF=function(d,e,f){if(s){1>q?q=1:q++;var g=b.extend({},i.jwVars,{image:b.prop(d,"poster")||"",file:e.srcProp}),k=b(d).data("jwvars")||{};f||(f=a.data(d,"mediaelement"));if(f&&f.swfCreated)c.setActive(d,"third",f),O(f),f.currentSrc=e.srcProp,b.extend(g,k),i.changeJW(g,d,e,f,"load"),x(d,"sendEvent",["LOAD",g]);else{var v=b.prop(d,"controls"),r="jwplayer-"+a.getID(d),n=b.extend({},i.jwParams,b(d).data("jwparams")),m=d.nodeName.toLowerCase(),
+p=b.extend({},i.jwAttrs,{name:r,id:r},b(d).data("jwattrs")),o=b('<div class="polyfill-'+m+' polyfill-mediaelement" id="wrapper-'+r+'"><div id="'+r+'"></div>').css({position:"relative",overflow:"hidden"}),f=a.data(d,"mediaelement",a.objectCreate(D,{actionQueue:{value:[]},shadowElem:{value:o},_elemNodeName:{value:m},_elem:{value:d},currentSrc:{value:e.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(b){if(b>=f.buffered.length)a.error("buffered index size error");else return 0},end:function(b){if(b>=
+f.buffered.length)a.error("buffered index size error");else return(f.duration-f._bufferedStart)*f._bufferedEnd/100+f._bufferedStart},length:0}}}));I(f,v);o.insertBefore(d);h&&b.extend(f,{volume:b.prop(d,"volume"),muted:b.prop(d,"muted")});b.extend(g,{id:r,controlbar:v?i.jwVars.controlbar||("video"==m?"over":"bottom"):"video"==m?"none":"bottom",icons:""+(v&&"video"==m)},k,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});g.plugins=g.plugins?g.plugins+(","+j):j;a.addShadowDom(d,o);H(d);c.setActive(d,
+"third",f);i.changeJW(g,d,e,f,"embed");b(d).bind("updatemediaelementdimensions updateshadowdom",function(){I(f,b.prop(d,"controls"))});A(f);u.embedSWF(w,r,"100%","100%","9.0.0",!1,g,n,p,function(c){if(c.success)f.jwapi=c.ref,v||b(c.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!c.ref.parentNode&&o[0].parentNode||"none"==c.ref.style.display)o.addClass("flashblocker-assumed"),b(d).trigger("flashblocker"),a.warn("flashblocker assumed");b(c.ref).css({minHeight:"2px",minWidth:"2px",
+display:"block"})},9),E||(clearTimeout(E),E=setTimeout(function(){var d=b(c.ref);1<d[0].offsetWidth&&1<d[0].offsetHeight&&0===location.protocol.indexOf("file:")?a.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>d[0].offsetWidth||2>d[0].offsetHeight)&&a.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){b(d).mediaLoad()},
+1)};var x=function(a,b,c,d){return(d=d||f(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={},g,i=function(a){"audio"==c&&("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=f(this);return b?b[a]:h&&g[a].prop._supget?g[a].prop._supget.apply(this):D[a]},writeable:!1})},j=function(a,b){i(a);delete d[a].writeable;
+d[a].set=b};j("volume",function(b){var c=f(this);if(c){if(b*=100,!isNaN(b)){var d=c.muted;(0>b||100<b)&&a.error("volume greater or less than allowed "+b/100);x(this,"sendEvent",["VOLUME",b],c);if(d)try{c.jwapi.sendEvent("mute","true")}catch(e){}b/=100;if(!(c.volume==b||"third"!=c.isActive))c.volume=b,n(c._elem,"volumechange")}}else if(g.volume.prop._supset)return g.volume.prop._supset.apply(this,arguments)});j("muted",function(a){var b=f(this);if(b){if(a=!!a,x(this,"sendEvent",["mute",""+a],b),!(b.muted==
+a||"third"!=b.isActive))b.muted=a,n(b._elem,"volumechange")}else if(g.muted.prop._supset)return g.muted.prop._supset.apply(this,arguments)});j("currentTime",function(a){var b=f(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);x(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(g.currentTime.prop._supset)return g.currentTime.prop._supset.apply(this,
+arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=f(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),x(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(g[a].prop._supvalue)return g[a].prop._supvalue.apply(this,arguments)}}});e.forEach(i);a.onNodeNamesPropertyModify(c,"controls",function(d,e){var g=f(this);b(this)[e?"addClass":"removeClass"]("webshims-controls");
+if(g){try{x(this,e?"showControls":"hideControls",[c],g)}catch(h){a.warn("you need to generate a crossdomain.xml")}"audio"==c&&I(g,e);b(g.jwapi).attr("tabindex",e?"0":"-1")}});g=a.defineNodeNameProperties(c,d,"prop")});if(s){var M=b.cleanData,N=b.browser.msie&&9>a.browserVersion,P={object:1,OBJECT:1};b.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&q)for(b=0;b<c;b++)if(P[a[b].nodeName]){if("sendEvent"in a[b]){q--;try{a[b].sendEvent("play",!1)}catch(e){}}if(N)try{for(d in a[b])"function"==typeof a[b][d]&&
+(a[b][d]=null)}catch(f){}}return M.apply(this,arguments)}}h||(["poster","src"].forEach(function(b){a.defineNodeNamesProperty("src"==b?["audio","video","source"]:["video"],b,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(b){a.defineNodeNamesBooleanProperty(["audio","video"],b)}),a.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"))});