vendor/assets/javascripts/webshims/minified/shims/combos/10.js in webshims-rails-0.4.3 vs vendor/assets/javascripts/webshims/minified/shims/combos/10.js in webshims-rails-0.4.4
- old
+ new
@@ -1,83 +1,80 @@
-(function(){var a=Function.prototype.call,b=Object.prototype,h=Array.prototype.slice,l,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,f=b.apply(c,e.concat(h.call(arguments)));return null!==f&&Object(f)===f?f:c}return b.apply(a,e.concat(h.call(arguments)))};return d};m=a.bind(b.toString);l=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=k(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=k(this),d=e.length>>>0,c=Array(d);if("[object Function]"!=m(a))throw new TypeError;for(var f=0;f<d;f++)f in e&&(c[f]=a.call(b,e[f],f,e));return c};if(!Array.prototype.filter)Array.prototype.filter=
-function(a,b){var e=k(this),d=e.length>>>0,c=[];if("[object Function]"!=m(a))throw new TypeError;for(var f=0;f<d;f++)f in e&&a.call(b,e[f],f,e)&&c.push(e[f]);return c};if(!Array.prototype.every)Array.prototype.every=function(a,b){var e=k(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=k(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=k(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=
-k(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=k(this),e=b.length>>>0;if(!e)return-1;var d=0;1<arguments.length&&(d=x(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=k(this),e=b.length>>>0;if(!e)return-1;var d=e-1;1<arguments.length&&(d=x(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 g=
-!0,t="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),j=t.length,o;for(o 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=[],e;for(e in a)l(a,e)&&b.push(e);if(g)for(e=0;e<j;e++){var d=t[e];l(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;
+(function(){var a=Function.prototype.call,b=Object.prototype,g=Array.prototype.slice,k,l;if(!Function.prototype.bind)Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var e=g.call(arguments,1),d=function(){if(this instanceof d){var c=function(){};c.prototype=b.prototype;var c=new c,h=b.apply(c,e.concat(g.call(arguments)));return null!==h&&Object(h)===h?h:c}return b.apply(a,e.concat(g.call(arguments)))};return d};l=a.bind(b.toString);k=a.bind(b.hasOwnProperty);
+if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==l(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){var e=o(this),d=0,c=e.length>>>0;if("[object Function]"!=l(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=o(this),d=e.length>>>0,c=Array(d);if("[object Function]"!=l(a))throw new TypeError;for(var h=0;h<d;h++)h in e&&(c[h]=a.call(b,e[h],h,e));return c};if(!Array.prototype.filter)Array.prototype.filter=
+function(a,b){var e=o(this),d=e.length>>>0,c=[];if("[object Function]"!=l(a))throw new TypeError;for(var h=0;h<d;h++)h in e&&a.call(b,e[h],h,e)&&c.push(e[h]);return c};if(!Array.prototype.every)Array.prototype.every=function(a,b){var e=o(this),d=e.length>>>0;if("[object Function]"!=l(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=o(this),d=e.length>>>0;if("[object Function]"!=l(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=o(this),e=b.length>>>0;if("[object Function]"!=l(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=
+o(this),e=b.length>>>0;if("[object Function]"!=l(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=o(this),e=b.length>>>0;if(!e)return-1;var d=0;1<arguments.length&&(d=v(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=o(this),e=b.length>>>0;if(!e)return-1;var d=e-1;1<arguments.length&&(d=v(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 r=Array.prototype.splice;Array.prototype.splice=function(a,b){return!arguments.length?[]:r.apply(this,[void 0===a?0:a,void 0===b?this.length-a:b].concat(g.call(arguments,2)))}}if(!Object.keys){var i=
+!0,q="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),m=q.length,n;for(n in{toString:null})i=!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(i)for(e=0;e<m;e++){var d=q[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+"]",y=RegExp("^"+a+a+"*"),r=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(y,"").replace(r,"")}}if("0".split(void 0,0).length){var z=String.prototype.split;String.prototype.split=function(a,b){return void 0===a&&0===b?[]:z.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var E=String.prototype.substr;String.prototype.substr=function(a,b){return E.call(this,0>a?0>(a=this.length+a)?0:a:a,b)}}var x=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},p="a"!="a"[0],k=function(a){if(null==a)throw new TypeError;return p&&"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 l=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,h,g,l){var j;j=function(){};j.prototype=a;j=new j;if(!l&&!("__proto__"in j)&&!Modernizr.objectAccessor)j.__proto__=a;h&&b.defineProperties(j,h);if(g)j.options=jQuery.extend(!0,{},j.options||{},g),g=j.options;j._create&&jQuery.isFunction(j._create)&&j._create(g);return j};b.defineProperties=function(a,
-h){for(var g in h)l(h,g)&&b.defineProperty(a,g,h[g]);return a};b.defineProperty=function(a,b,g){if("object"!=typeof g||null===g)return a;if(l(g,"value"))return a[b]=g.value,a;a.__defineGetter__&&("function"==typeof g.get&&a.__defineGetter__(b,g.get),"function"==typeof g.set&&a.__defineSetter__(b,g.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 g;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return g=Object.getOwnPropertyDescriptor(a,b)}catch(h){}g={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(!l(a,b))return;g.value=a[b];return g}delete g.writable;delete g.value;g.get=g.set=void 0;if(j)g.get=
-j;if(o)g.set=o;return g}}})(jQuery,jQuery.webshims);
-jQuery.webshims.register("dom-extend",function(a,b,h,l,m){var s=b.modules,g=/\s*,\s*/,t={},j={},o={},y={},r={},z=a.fn.val,E=function(d,c,f,b,A){return A?z.call(a(d)):z.call(a(d),f)};a.fn.val=function(d){var c=this[0];arguments.length&&null==d&&(d="");if(!arguments.length)return!c||1!==c.nodeType?z.call(this):a.prop(c,"value",d,"val",!0);if(a.isArray(d))return z.apply(this,arguments);var f=a.isFunction(d);return this.each(function(b){c=this;1===c.nodeType&&(f?(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 x="_webshimsLib"+Math.round(1E3*Math.random()),p=function(d,c,b){d=d.jquery?d[0]:d;if(!d)return b||{};var i=a.data(d,x);b!==m&&(i||(i=a.data(d,x,{})),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=p(this,
-"shadowData");return a&&a[d.prop]||this})}});["removeAttr","prop","attr"].forEach(function(d){t[d]=a[d];a[d]=function(c,b,i,A,e){var q="val"==A,u=!q?t[d]:E;if(!c||!j[b]||1!==c.nodeType||!q&&A&&"attr"==d&&a.attrFn[b])return u(c,b,i,A,e);var B=(c.nodeName||"").toLowerCase(),C=o[B],D="attr"==d&&(!1===i||null===i)?"removeAttr":d,g,h,k;C||(C=o["*"]);C&&(C=C[b]);C&&(g=C[D]);if(g){if("value"==b)h=g.isVal,g.isVal=q;if("removeAttr"===D)return g.value.call(c);if(i===m)return g.get?g.get.call(c):g.value;g.set&&
-("attr"==d&&!0===i&&(i=b),k=g.set.call(c,i));if("value"==b)g.isVal=h}else k=u(c,b,i,A,e);if((i!==m||"removeAttr"===D)&&r[B]&&r[B][b]){var z;z="removeAttr"==D?!1:"prop"==D?!!i:!0;r[B][b].forEach(function(a){if(!a.only||(a.only="prop"==d)||"attr"==a.only&&"prop"!=d)a.call(c,i,z,q?"val":D,d)})}return k};y[d]=function(c,f,i){o[c]||(o[c]={});o[c][f]||(o[c][f]={});var A=o[c][f][d],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==d&&"value"==f?function(a){return i.isVal?E(this,f,a,!1,0===arguments.length):
-t[d](this,f,a)}:"prop"==d&&"value"==a&&i.value.apply?function(a){var c=t[d](this,f);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return t[d](this,f,a)}};o[c][f][d]=i;if(i.value===m){if(!i.set)i.set=i.writeable?e("set",i,A):b.cfg.useStrict&&"prop"==f?function(){throw f+" is readonly on "+c;}:a.noop;if(!i.get)i.get=e("get",i,A)}["value","get","set"].forEach(function(a){i[a]&&(i["_sup"+a]=e(a,A))})}});var k=!a.browser.msie||8<parseInt(a.browser.version,10),n=function(){var a=b.getPrototypeOf(l.createElement("foobar")),
-c=Object.prototype.hasOwnProperty;return function(f,i,e){var g=l.createElement(f),q=b.getPrototypeOf(g);if(k&&q&&a!==q&&(!g[i]||!c.call(g,i))){var u=g[i];e._supvalue=function(){return u&&u.apply?u.apply(this,arguments):u};q[i]=e.value}else e._supvalue=function(){var a=p(this,"propValue");return a&&a[i]&&a[i].apply?a[i].apply(this,arguments):a&&a[i]},v.extendValue(f,i,e.value);e.value._supvalue=e._supvalue}}(),v=function(){var d={};b.addReady(function(c,f){var q={},u=function(d){q[d]||(q[d]=a(c.getElementsByTagName(d)),
-f[0]&&a.nodeName(f[0],d)&&(q[d]=q[d].add(f)))};a.each(d,function(a,d){u(a);!d||!d.forEach?b.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(d){q[a].each(d)})});q=null});var c,f=a([]),i=function(b,f){d[b]?d[b].push(f):d[b]=[f];a.isDOMReady&&(c||a(l.getElementsByTagName(b))).each(f)};return{createTmpCache:function(d){a.isDOMReady&&(c=c||a(l.getElementsByTagName(d)));return c||f},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(){p(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:p,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,f,i,e={init:!1,start:function(){if(!this.init&&l.body)this.init=!0,this.height=a(l).height(),this.width=a(l).width(),setInterval(function(){var d=
-a(l).height(),c=a(l).width();if(d!=e.height||c!=e.width)e.height=d,e.width=c,i({type:"docresize"})},600)}};i=function(b){clearTimeout(d);d=setTimeout(function(){if("resize"==b.type){var d=a(h).width(),u=a(h).width();if(u==c&&d==f)return;c=u;f=d;if(l.body)e.height=a(l).height(),e.width=a(l).width()}a.event.trigger("updateshadowdom")},40)};a(h).bind("resize",i);a.event.customEvent.updateshadowdom=!0;return function(d,c,f){f=f||{};d.jquery&&(d=d[0]);c.jquery&&(c=c[0]);var B=a.data(d,x)||a.data(d,x,{}),
-i=a.data(c,x)||a.data(c,x,{}),g={};if(f.shadowFocusElement){if(f.shadowFocusElement){if(f.shadowFocusElement.jquery)f.shadowFocusElement=f.shadowFocusElement[0];g=a.data(f.shadowFocusElement,x)||a.data(f.shadowFocusElement,x,g)}}else f.shadowFocusElement=c;B.hasShadow=c;g.nativeElement=i.nativeElement=d;g.shadowData=i.shadowData=B.shadowData={nativeElement:d,shadowElement:c,shadowFocusElement:f.shadowFocusElement};f.shadowChilds&&f.shadowChilds.each(function(){p(this,"shadowData",i.shadowData)});
-if(f.data)g.shadowData.data=i.shadowData.data=B.shadowData.data=f.data;f=null;b.ready("DOM",function(){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=l.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(g){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(g));c.forEach(function(c){b.defineNodeNamesProperty(d,c,{prop:{set:function(d){a.attr(this,c,d)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(d,c,f){j[c]=!0;if(f.reflect)b.propTypes[f.propType||"standard"](f,c);["prop","attr","removeAttr"].forEach(function(e){var g=f[e];g&&(g="prop"===e?a.extend({writeable:!0},g):a.extend({},g,{writeable:!0}),y[e](d,
-c,g),"*"!=d&&b.cfg.extendNative&&"prop"==e&&g.value&&a.isFunction(g.value)&&n(d,c,g),f[e]=g)});f.initAttr&&v.content(d,c);return f},defineNodeNameProperties:function(a,c,f,e){for(var g in c)!e&&c[g].initAttr&&v.createTmpCache(a),f&&!c[g][f]&&(c[g][f]={},["value","set","get"].forEach(function(a){a in c[g]&&(c[g][f][a]=c[g][a],delete c[g][a])})),c[g]=b.defineNodeNameProperty(a,g,c[g]);e||v.flushTmpCache();return c},createElement:function(d,c,f){var e;a.isFunction(c)&&(c={after:c});v.createTmpCache(d);
-c.before&&v.createElement(d,c.before);f&&(e=b.defineNodeNameProperties(d,f,!1,!0));c.after&&v.createElement(d,c.after);v.flushTmpCache();return e},onNodeNamesPropertyModify:function(d,c,b,e){"string"==typeof d&&(d=d.split(g));a.isFunction(b)&&(b={set:b});d.forEach(function(a){r[a]||(r[a]={});"string"==typeof c&&(c=c.split(g));b.initAttr&&v.createTmpCache(a);c.forEach(function(c){r[a][c]||(r[a][c]=[],j[c]=!0);if(b.set){if(e)b.set.only=e;r[a][c].push(b.set)}b.initAttr&&v.content(a,c)});v.flushTmpCache()})},
-defineNodeNamesBooleanProperty:function(d,c,f){f||(f={});if(a.isFunction(f))f.set=f;b.defineNodeNamesProperty(d,c,{attr:{set:function(a){this.setAttribute(c,a);f.set&&f.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?m:c}},removeAttr:{value:function(){this.removeAttribute(c);f.set&&f.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:f.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={},f,e,g=/:\/\/|^\.*\//,r=function(c,d,e){return d&&e&&-1!==a.inArray(d,e.availabeLangs||[])?(c.loading=!0,e=e.langSrc,g.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},q=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},u=function(a,c){if(a.activeLang!=f&&
-a.activeLang!==e){var b=s[a.module].options;if(a.langObj[f]||e&&a.langObj[e])a.activeLang=f,a.callback(a.langObj[f]||a.langObj[e],f),q(a.module);else if(!c&&!r(a,f,b)&&!r(a,e,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],f),q(a.module)}};return function(b){if("string"==typeof b&&b!==f)f=b,e=f.split("-")[0],f==e&&(e=!1),a.each(d,function(a,c){u(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);u(b)}return f}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,e,r){"string"==typeof a&&(a=a.split(g));var q={};a.forEach(function(a){q[a]=b[c](a,d,e,r)});return q}});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 l={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,g){a.each(l,function(b,r){for(var z=a(b,h).add(g.filter(b)),j=0,l=z.length;j<l;j++)m(z[j],r)});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 l=b.audio&&b.video,m=!1,s=h.cfg.mediaelement,g=h.bugs,t=function(){h.ready("mediaelement-swf",function(){if(!h.mediaelement.createSWF)h.modules["mediaelement-swf"].test=a.noop,h.reTest(["mediaelement-swf"],l)})},j;if(l){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(l&&!s.preferFlash){var y=function(b){var g=b.target.parentNode;!s.preferFlash&&(a(b.target).is("audio, video")||g&&a("source:last",g)[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",
-y,!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",y,!0)},20)})})};document.addEventListener("error",y,!0);a("audio, video").each(function(){this.error&&y({target:this})})}g.track=!1;b.track&&function(){if(!g.track)g.track="number"!=typeof a("<track />")[0].readyState;if(!g.track)try{new TextTrackCue(2,3,"")}catch(b){g.track=!0}var j=h.cfg.track,l=function(b){a(b.target).filter("track").each(m)},
-m=function(){if(g.track||!j.override&&3==a.prop(this,"readyState"))j.override=!0,h.reTest("track"),document.removeEventListener("error",l,!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")},p=function(){document.addEventListener("error",l,!0);g.track?m():a("track").each(m)};j.override||(h.isReady("track")?p():a(p))}();h.register("mediaelement-core",function(a,
-h,o,x,p){j=swfobject.hasFlashPlayerVersion("9.0.115");var k=h.mediaelement,n=function(c,b){var c=a(c),d={src:c.attr("src")||"",elem:c,srcProp:c.prop("src")};if(!d.src)return d;var e=c.attr("type");if(e)d.type=e,d.container=a.trim(e.split(";")[0]);else if(b||(b=c[0].nodeName.toLowerCase(),"source"==b&&(b=(c.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e=k.getTypeForSrc(d.src,b))d.type=e,d.container=e;if(e=c.attr("media"))d.media=e;return d},v=!j&&"postMessage"in o&&l,e=
-function(){var c;return function(){!c&&v&&(c=!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"]});k.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"]}};k.mimeTypes.source=a.extend({},k.mimeTypes.audio,k.mimeTypes.video);k.getTypeForSrc=function(c,b){if(-1!=c.indexOf("youtube.com/watch?")||
--1!=c.indexOf("youtube.com/v/"))return"video/youtube";var c=c.split("?")[0].split("."),c=c[c.length-1],d;a.each(k.mimeTypes[b],function(a,b){if(-1!==b.indexOf(c))return d=a,!1});return d};k.srces=function(c,b){c=a(c);if(b)c.removeAttr("src").removeAttr("type").find("source").remove(),a.isArray(b)||(b=[b]),b.forEach(function(a){var b=x.createElement("source");"string"==typeof a&&(a={src:a});b.setAttribute("src",a.src);a.type&&b.setAttribute("type",a.type);a.media&&b.setAttribute("media",a.media);c.append(b)});
-else{var b=[],d=c[0].nodeName.toLowerCase(),e=n(c,d);e.src?b.push(e):a("source",c).each(function(){e=n(this,d);e.src&&b.push(e)});return b}};a.fn.loadMediaSrc=function(c,b){return this.each(function(){b!==p&&(a(this).removeAttr("poster"),b&&a.attr(this,"poster",b));k.srces(this,c);a(this).mediaLoad()})};k.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(",");
-k.canThirdPlaySrces=function(c,b){var d="";if(j||v)c=a(c),b=b||k.srces(c),a.each(b,function(a,c){if(c.container&&c.src&&(j&&-1!=k.swfMimeTypes.indexOf(c.container)||v&&"video/youtube"==c.container))return d=c,!1});return d};var c={};k.canNativePlaySrces=function(b,d){var e="";if(l){var b=a(b),f=(b[0].nodeName||"").toLowerCase();if(!c[f])return e;d=d||k.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};k.setError=function(c,b){b||(b="can't play sources");
-a(c).pause().data("mediaerror",b);h.warn("mediaelementError: "+b);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var f=function(){var a;return function(c,b,g){h.ready(j?"mediaelement-swf":"mediaelement-yt",function(){k.createSWF?k.createSWF(c,b,g):a||(a=!0,d(),f(c,b,g))});!a&&v&&!k.createSWF&&e()}}(),i=function(a,c,b,d,e){b||!1!==b&&c&&"third"==c.isActive?(b=k.canThirdPlaySrces(a,d))?f(a,b,c):e?k.setError(a,!1):i(a,c,!1,d,!0):(b=k.canNativePlaySrces(a,d))?c&&"third"==
-c.isActive&&k.setActive(a,"html5",c):e?(k.setError(a,!1),c&&"third"==c.isActive&&k.setActive(a,"html5",c)):i(a,c,!0,d,!0)},y=/^(?:embed|object|datalist)$/i,G=function(c,b){var d=h.data(c,"mediaelementBase")||h.data(c,"mediaelementBase",{}),e=k.srces(c),f=c.parentNode;clearTimeout(d.loadTimer);a.data(c,"mediaerror",!1);if(e.length&&f&&!(1!=f.nodeType||y.test(f.nodeName||"")))b=b||h.data(c,"mediaelement"),i(c,b,s.preferFlash||p,e)};a(x).bind("ended",function(c){var b=h.data(c.target,"mediaelement");
-(!m||b&&"html5"!=b.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)});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");G(this,a);l&&(!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="";l&&c[b].prop._supvalue&&(e=c[b].prop._supvalue.call(this,d),"no"==e&&(e=""));!e&&j&&(d=a.trim((d||"").split(";")[0]),-1!=k.swfMimeTypes.indexOf(d)&&(e="maybe"));return e}}})});h.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,c=h.data(a,"mediaelementBase")||h.data(a,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){G(a);a=null},9)}});o=function(){h.addReady(function(c,b){a("video, audio",
-c).add(b.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():G(this);if(l){var c,b,d=this,e=function(){var c=a.prop(d,"buffered");if(c){for(var b="",e=0,f=c.length;e<f;e++)b+=c.end(e);return b}},f=function(){var c=e();c!=b&&(b=c,a(d).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==
-a.type&&(b=e());clearTimeout(c);c=setTimeout(f,999)}).bind("emptied stalled mediaerror abort suspend",function(a){"emptied"==a.type&&(b=!1);clearTimeout(c)})}})})};b.track&&!g.track&&h.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});l?(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,l,m,s){var g=b.mediaelement,t=h.swfobject,j=Modernizr.audio&&Modernizr.video,o=t.hasFlashPlayerVersion("9.0.115"),y=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}},r=Object.keys(h),z={currentTime:0,volume:1,
-muted:!1};Object.keys(z);var E=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:m},h,z),x=/^jwplayer-/,p=function(a){if(a=l.getElementById(a.replace(x,"")))return a=b.data(a,"mediaelement"),"third"==a.isActive?a:null},k=function(a){return(a=b.data(a,"mediaelement"))&&"third"==a.isActive?a:null},n=function(c,b){b=a.Event(b);b.preventDefault();a.event.trigger(b,m,c)},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(c,b){var d=c.duration;if(!(d&&0<c._durationCalcs)){try{if(c.duration=c.jwapi.getPlaylist()[0].duration,!c.duration||0>=c.duration||c.duration===c._lastDuration)c.duration=d}catch(e){}c.duration&&
-c.duration!=c._lastDuration?(n(c._elem,"durationchange"),("audio"==c._elemNodeName||c._callMeta)&&g.jwEvents.Model.META(a.extend({duration:c.duration},b),c),c._durationCalcs--):c._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});g.jwEvents={View:{PLAY:function(a){var c=p(a.id);if(c&&!c.stopPlayPause&&(c._ppFlag=!0,c.paused==a.state)){c.paused=!a.state;if(c.ended)c.ended=!1;n(c._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var w=p(b.id);if(w&&"percentage"in b&&w._bufferedEnd!=b.percentage){w.networkState=100==b.percentage?1:2;(isNaN(w.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&d(w,b);if(w.ended)w.ended=
-!1;if(w.duration){2<b.percentage&&20>b.percentage?c(3,w):20<b.percentage&&c(4,w);if(w._bufferedEnd&&w._bufferedEnd>b.percentage)w._bufferedStart=w.currentTime||0;w._bufferedEnd=b.percentage;w.buffered.length=1;if(100==b.percentage)w.networkState=1,c(4,w);a.event.trigger("progress",m,w._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:p(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=p(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=
-p(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=p(a.id);b&&g.setError(b._elem,a.message)},SEEK:function(a){var b=
-p(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=p(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=p(a.id);if(b&&b.muted!=a.state)b.muted=a.state,n(b._elem,"volumechange")}}}};var f=function(b){var c=!0;a.each(g.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=[]},A=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)},G=function(b){if(b&&
-"video"==b._elemNodeName){var c,d,e,f,g,h,i,k,j=function(j,l){if(l&&j&&!(1>l||1>j||"third"!=b.isActive))if(c&&(c.remove(),c=!1),f=j,g=l,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/l,l=m):!d&&e&&(m=h.width(),l*=m/j,j=m);k=!0;setTimeout(function(){k=!1},9);h.css({width:j,height:l})}},l=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",l).bind("swfstageresize updatemediaelementdimensions",function(){k||j(f,g)}).bind("emptied",function(){f=void 0;g=void 0}).triggerHandler("swfstageresize");
-l();a.prop(b._elem,"readyState")&&j(a.prop(b._elem,"videoWidth"),a.prop(b._elem,"videoHeight"))}};g.playerResize=function(b){b&&(b=l.getElementById(b.replace(x,"")))&&a(b).triggerHandler("swfstageresize")};a(l).bind("emptied",function(a){a=k(a.target);A(a)});var q;g.jwPlayerReady=function(c){var d=p(c.id),e=0,g=function(){if(!(9<e))if(e++,f(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);A(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(g,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(q);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);g()}};var u=a.noop;if(j){var B={play:1,playing:1},
-C="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),D=C.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(),B[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},u=function(c){a(c).unbind(D).bind(D,I);C.forEach(function(a){b.moveToFirstEvent(c,a)})};u(l)}g.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")}}}(),H=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()})};g.createSWF=function(c,d,f){if(o){1>y?y=1:y++;var h=a.extend({},s.jwVars,{image:a.prop(c,"poster")||"",file:d.srcProp}),i=a(c).data("jwvars")||{};f||(f=b.data(c,"mediaelement"));if(f&&f.swfCreated)g.setActive(c,"third",f),J(f),f.currentSrc=d.srcProp,a.extend(h,i),s.changeJW(h,c,d,f,"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(),
-p=a.extend({},s.jwAttrs,{name:k,id:k},a(c).data("jwattrs")),r=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+k+'"><div id="'+k+'"></div>').css({position:"relative",overflow:"hidden"}),f=b.data(c,"mediaelement",b.objectCreate(E,{actionQueue:{value:[]},shadowElem:{value:r},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=f.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=
-f.buffered.length)b.error("buffered index size error");else return(f.duration-f._bufferedStart)*f._bufferedEnd/100+f._bufferedStart},length:0}}}));H(f,l);r.insertBefore(c);j&&a.extend(f,{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,r);u(c);g.setActive(c,
-"third",f);s.changeJW(h,c,d,f,"embed");a(c).bind("updatemediaelementdimensions updateshadowdom",function(){H(f,a.prop(c,"controls"))});G(f);t.embedSWF(v,k,"100%","100%","9.0.0",!1,h,m,p,function(d){if(d.success)f.jwapi=d.ref,l||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),q||(clearTimeout(q),q=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.warn("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||k(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=k(this);return b?b[a]:j&&e[a].prop._supget?e[a].prop._supget.apply(this):E[a]},writeable:!1})},g=function(a,b){f(a);delete d[a].writeable;
-d[a].set=b};g("volume",function(a){var c=k(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=k(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=k(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=k(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)}}});r.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=k(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&&H(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)&&y)for(b=0;b<c;b++)if(M[a[b].nodeName]){if("sendEvent"in a[b]){y--;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"))});
+if(!String.prototype.trim||a.trim()){var a="["+a+"]",x=RegExp("^"+a+a+"*"),t=RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(x,"").replace(t,"")}}if("0".split(void 0,0).length){var u=String.prototype.split;String.prototype.split=function(a,b){return void 0===a&&0===b?[]:u.apply(this,arguments)}}if("".substr&&"b"!=="0b".substr(-1)){var y=String.prototype.substr;String.prototype.substr=function(a,b){return y.call(this,0>a?0>(a=this.length+a)?0:a:a,b)}}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],o=function(a){if(null==a)throw new TypeError;return s&&"string"==typeof a&&a?a.split(""):Object(a)}})();
+(function(a,b){var g=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);g&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});g=!!a.bar}catch(b){g=!1}a=null}();Modernizr.objectAccessor=!(!(g||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=b.browserVersion));Modernizr.advancedObjectProperties=g;
+if(!g||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var k=Function.prototype.call.bind(Object.prototype.hasOwnProperty);b.objectCreate=function(a,g,i,k){var m;m=function(){};m.prototype=a;m=new m;if(!k&&!("__proto__"in m)&&!Modernizr.objectAccessor)m.__proto__=a;g&&b.defineProperties(m,g);if(i)m.options=jQuery.extend(!0,{},m.options||{},i),i=m.options;m._create&&jQuery.isFunction(m._create)&&m._create(i);return m};b.defineProperties=function(a,
+g){for(var i in g)k(g,i)&&b.defineProperty(a,i,g[i]);return a};b.defineProperty=function(a,b,i){if("object"!=typeof i||null===i)return a;if(k(i,"value"))return a[b]=i.value,a;a.__defineGetter__&&("function"==typeof i.get&&a.__defineGetter__(b,i.get),"function"==typeof i.set&&a.__defineSetter__(b,i.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 i;if(Object.defineProperty&&Object.getOwnPropertyDescriptor)try{return i=Object.getOwnPropertyDescriptor(a,b)}catch(g){}i={configurable:!0,enumerable:!0,writable:!0,value:void 0};var m=a.__lookupGetter__&&a.__lookupGetter__(b),n=a.__lookupSetter__&&a.__lookupSetter__(b);if(!m&&!n){if(!k(a,b))return;i.value=a[b];return i}delete i.writable;delete i.value;i.get=i.set=void 0;if(m)i.get=
+m;if(n)i.set=n;return i}}})(jQuery,jQuery.webshims);
+jQuery.webshims.register("dom-extend",function(a,b,g,k,l){var r=b.modules,i=/\s*,\s*/,q={},m={},n={},x={},t={},u=a.fn.val,y=function(d,c,h,b,p){return p?u.call(a(d)):u.call(a(d),h)};a.fn.val=function(d){var c=this[0];arguments.length&&null==d&&(d="");if(!arguments.length)return!c||1!==c.nodeType?u.call(this):a.prop(c,"value",d,"val",!0);if(a.isArray(d))return u.apply(this,arguments);var h=a.isFunction(d);return this.each(function(b){c=this;1===c.nodeType&&(h?(b=d.call(c,b,a.prop(c,"value",l,"val",
+!0)),null==b&&(b=""),a.prop(c,"value",b,"val")):a.prop(c,"value",d,"val"))})};var v="_webshimsLib"+Math.round(1E3*Math.random()),s=function(d,c,b){d=d.jquery?d[0]:d;if(!d)return b||{};var f=a.data(d,v);b!==l&&(f||(f=a.data(d,v,{})),c&&(f[c]=b));return c?f&&f[c]:f};[{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=s(this,
+"shadowData");return a&&a[d.prop]||this})}});["removeAttr","prop","attr"].forEach(function(d){q[d]=a[d];a[d]=function(c,b,f,p,e){var A="val"==p,w=!A?q[d]:y;if(!c||!m[b]||1!==c.nodeType||!A&&p&&"attr"==d&&a.attrFn[b])return w(c,b,f,p,e);var B=(c.nodeName||"").toLowerCase(),C=n[B],D="attr"==d&&(!1===f||null===f)?"removeAttr":d,i,u,g;C||(C=n["*"]);C&&(C=C[b]);C&&(i=C[D]);if(i){if("value"==b)u=i.isVal,i.isVal=A;if("removeAttr"===D)return i.value.call(c);if(f===l)return i.get?i.get.call(c):i.value;i.set&&
+("attr"==d&&!0===f&&(f=b),g=i.set.call(c,f));if("value"==b)i.isVal=u}else g=w(c,b,f,p,e);if((f!==l||"removeAttr"===D)&&t[B]&&t[B][b]){var j;j="removeAttr"==D?!1:"prop"==D?!!f:!0;t[B][b].forEach(function(a){if(!a.only||(a.only="prop"==d)||"attr"==a.only&&"prop"!=d)a.call(c,f,j,A?"val":D,d)})}return g};x[d]=function(c,h,f){n[c]||(n[c]={});n[c][h]||(n[c][h]={});var p=n[c][h][d],e=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==d&&"value"==h?function(a){return f.isVal?y(this,h,a,!1,0===arguments.length):
+q[d](this,h,a)}:"prop"==d&&"value"==a&&f.value.apply?function(a){var c=q[d](this,h);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return q[d](this,h,a)}};n[c][h][d]=f;if(f.value===l){if(!f.set)f.set=f.writeable?e("set",f,p):b.cfg.useStrict&&"prop"==h?function(){throw h+" is readonly on "+c;}:a.noop;if(!f.get)f.get=e("get",f,p)}["value","get","set"].forEach(function(a){f[a]&&(f["_sup"+a]=e(a,p))})}});var o=!a.browser.msie||8<parseInt(a.browser.version,10),j=function(){var a=b.getPrototypeOf(k.createElement("foobar")),
+c=Object.prototype.hasOwnProperty;return function(h,f,p){var e=k.createElement(h),i=b.getPrototypeOf(e);if(o&&i&&a!==i&&(!e[f]||!c.call(e,f))){var w=e[f];p._supvalue=function(){return w&&w.apply?w.apply(this,arguments):w};i[f]=p.value}else p._supvalue=function(){var a=s(this,"propValue");return a&&a[f]&&a[f].apply?a[f].apply(this,arguments):a&&a[f]},z.extendValue(h,f,p.value);p.value._supvalue=p._supvalue}}(),z=function(){var d={};b.addReady(function(c,h){var f={},w=function(d){f[d]||(f[d]=a(c.getElementsByTagName(d)),
+h[0]&&a.nodeName(h[0],d)&&(f[d]=f[d].add(h)))};a.each(d,function(a,d){w(a);!d||!d.forEach?b.warn("Error: with "+a+"-property. methods: "+d):d.forEach(function(d){f[a].each(d)})});f=null});var c,h=a([]),f=function(b,h){d[b]?d[b].push(h):d[b]=[h];a.isDOMReady&&(c||a(k.getElementsByTagName(b))).each(h)};return{createTmpCache:function(d){a.isDOMReady&&(c=c||a(k.getElementsByTagName(d)));return c||h},flushTmpCache:function(){c=null},content:function(d,c){f(d,function(){var d=a.attr(this,c);null!=d&&a.attr(this,
+c,d)})},createElement:function(a,d){f(a,d)},extendValue:function(d,c,b){f(d,function(){a(this).each(function(){s(this,"propValue",{})[c]=this[c];this[c]=b})})}}}(),e=function(a,c){if(a.defaultValue===l)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:s,moveToFirstEvent:function(){var d=a._data?"_data":"data";return function(c,b,f){if((c=(a[d](c,"events")||{})[b])&&1<c.length)b=c.pop(),f||(f="bind"),"bind"==f&&c.delegateCount?c.splice(c.delegateCount,0,b):c.unshift(b)}}(),addShadowDom:function(){var d,c,h,f={init:!1,runs:0,test:function(){var a=f.getHeight(),d=f.getWidth();a!=f.height||d!=f.width?(f.height=a,f.width=d,f.handler({type:"docresize"}),
+f.runs++,30>f.runs&&setTimeout(f.test,30)):f.runs=0},handler:function(b){clearTimeout(d);d=setTimeout(function(){if("resize"==b.type){var d=a(g).width(),e=a(g).width();if(e==c&&d==h)return;c=e;h=d;f.height=f.getHeight();f.width=f.getWidth()}a.event.trigger("updateshadowdom")},"resize"==b.type?50:9)},_create:function(){a.each({Height:"getHeight",Width:"getWidth"},function(a,d){var c=k.body,b=k.documentElement;f[d]=function(){return Math.max(c["scroll"+a],b["scroll"+a],c["offset"+a],b["offset"+a],b["client"+
+a])}})},start:function(){if(!this.init&&k.body)this.init=!0,this._create(),this.height=f.getHeight(),this.width=f.getWidth(),setInterval(this.test,400),a(this.test),a(g).bind("load",this.test),a(g).bind("resize",this.handler),function(){var d=a.fn.animate,c;a.fn.animate=function(){clearTimeout(c);c=setTimeout(function(){f.test();f.handler({type:"animationstart"})},19);return d.apply(this,arguments)}}()}};a.event.customEvent.updateshadowdom=!0;b.docObserve=function(){b.ready("DOM",function(){f.start()})};
+return function(d,c,h){h=h||{};d.jquery&&(d=d[0]);c.jquery&&(c=c[0]);var f=a.data(d,v)||a.data(d,v,{}),B=a.data(c,v)||a.data(c,v,{}),e={};if(h.shadowFocusElement){if(h.shadowFocusElement){if(h.shadowFocusElement.jquery)h.shadowFocusElement=h.shadowFocusElement[0];e=a.data(h.shadowFocusElement,v)||a.data(h.shadowFocusElement,v,e)}}else h.shadowFocusElement=c;f.hasShadow=c;e.nativeElement=B.nativeElement=d;e.shadowData=B.shadowData=f.shadowData={nativeElement:d,shadowElement:c,shadowFocusElement:h.shadowFocusElement};
+h.shadowChilds&&h.shadowChilds.each(function(){s(this,"shadowData",B.shadowData)});if(h.data)e.shadowData.data=B.shadowData.data=f.shadowData.data=h.data;h=null;b.docObserve()}}(),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(i){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(i));c.forEach(function(c){b.defineNodeNamesProperty(d,c,{prop:{set:function(d){a.attr(this,c,d)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(d,c,h){m[c]=!0;if(h.reflect)b.propTypes[h.propType||"standard"](h,c);["prop","attr","removeAttr"].forEach(function(f){var e=h[f];e&&(e="prop"===f?a.extend({writeable:!0},
+e):a.extend({},e,{writeable:!0}),x[f](d,c,e),"*"!=d&&b.cfg.extendNative&&"prop"==f&&e.value&&a.isFunction(e.value)&&j(d,c,e),h[f]=e)});h.initAttr&&z.content(d,c);return h},defineNodeNameProperties:function(a,c,h,f){for(var e in c)!f&&c[e].initAttr&&z.createTmpCache(a),h&&!c[e][h]&&(c[e][h]={},["value","set","get"].forEach(function(a){a in c[e]&&(c[e][h][a]=c[e][a],delete c[e][a])})),c[e]=b.defineNodeNameProperty(a,e,c[e]);f||z.flushTmpCache();return c},createElement:function(d,c,h){var e;a.isFunction(c)&&
+(c={after:c});z.createTmpCache(d);c.before&&z.createElement(d,c.before);h&&(e=b.defineNodeNameProperties(d,h,!1,!0));c.after&&z.createElement(d,c.after);z.flushTmpCache();return e},onNodeNamesPropertyModify:function(d,c,b,e){"string"==typeof d&&(d=d.split(i));a.isFunction(b)&&(b={set:b});d.forEach(function(a){t[a]||(t[a]={});"string"==typeof c&&(c=c.split(i));b.initAttr&&z.createTmpCache(a);c.forEach(function(c){t[a][c]||(t[a][c]=[],m[c]=!0);if(b.set){if(e)b.set.only=e;t[a][c].push(b.set)}b.initAttr&&
+z.content(a,c)});z.flushTmpCache()})},defineNodeNamesBooleanProperty:function(d,c,e){e||(e={});if(a.isFunction(e))e.set=e;b.defineNodeNamesProperty(d,c,{attr:{set:function(a){this.setAttribute(c,a);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?l:c}},removeAttr:{value:function(){this.removeAttribute(c);e.set&&e.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:e.initAttr||!1})},contentAttr:function(a,c,b){if(a.nodeName){if(b===l)return a=a.attributes[c]||{},
+b=a.specified?a.value:null,null==b?l:b;"boolean"==typeof b?b?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,b)}},activeLang:function(){var d=[],c={},e,f,i=/:\/\/|^\.*\//,u=function(c,d,e){return d&&e&&-1!==a.inArray(d,e.availabeLangs||[])?(c.loading=!0,e=e.langSrc,i.test(e)||(e=b.cfg.basePath+e),b.loader.loadScript(e+d+".js",function(){c.langObj[d]?(c.loading=!1,w(c,!0)):a(function(){c.langObj[d]&&w(c,!0);c.loading=!1})}),!0):!1},g=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
+w=function(a,c){if(a.activeLang!=e&&a.activeLang!==f){var b=r[a.module].options;if(a.langObj[e]||f&&a.langObj[f])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[f],e),g(a.module);else if(!c&&!u(a,e,b)&&!u(a,f,b)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),g(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,c){w(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);w(b)}return e}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){b[a]=function(a,d,e,u){"string"==typeof a&&(a=a.split(i));var g={};a.forEach(function(a){g[a]=b[c](a,d,e,u)});return g}});b.isReady("webshimLocalization",!0)});
+(function(a,b){var g=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<g)&&(!a.browser.msie||12>g&&7<g)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},l=function(a,b){a.getAttribute("role")||a.setAttribute("role",b)};a.webshims.addReady(function(g,i){a.each(k,function(b,k){for(var u=a(b,g).add(i.filter(b)),y=0,m=u.length;y<m;y++)l(u[y],k)});if(g===b){var q=b.getElementsByTagName("header")[0],m=b.getElementsByTagName("footer"),n=m.length;
+q&&!a(q).closest("section, article")[0]&&l(q,"banner");n&&(q=m[n-1],a(q).closest("section, article")[0]||l(q,"contentinfo"))}})}})(jQuery,document);
+(function(a,b,g){var k=b.audio&&b.video,l=!1,r=g.cfg.mediaelement,i=g.bugs,q="jwplayer"==r.player?"mediaelement-swf":"mediaelement-jaris",m=function(){g.ready(q,function(){if(!g.mediaelement.createSWF)g.mediaelement.loadSwf=!0,g.reTest([q],k)})},n;if(k){var x=document.createElement("video");b.videoBuffered="buffered"in x;l="loop"in x;g.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(","));b.videoBuffered||(g.addPolyfill("mediaelement-native-fix",
+{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),g.reTest("mediaelement-native-fix"))}if(k&&!r.preferFlash){var t=function(b){var i=b.target.parentNode;!r.preferFlash&&(a(b.target).is("audio, video")||i&&a("source:last",i)[0]==b.target)&&g.ready("DOM mediaelement",function(){n&&m();g.ready("WINDOWLOAD "+q,function(){setTimeout(function(){n&&!r.preferFlash&&g.mediaelement.createSWF&&!a(b.target).closest("audio, video").is(".nonnative-api-active")?(r.preferFlash=!0,document.removeEventListener("error",
+t,!0),a("audio, video").mediaLoad(),g.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+b.target.src)):n||document.removeEventListener("error",t,!0)},20)})})};document.addEventListener("error",t,!0);a("audio, video").each(function(){this.error&&t({target:this})})}i.track=!1;b.track&&function(){if(!i.track)i.track="number"!=typeof a("<track />")[0].readyState;if(!i.track)try{new TextTrackCue(2,3,"")}catch(b){i.track=!0}var y=g.cfg.track,k=function(b){a(b.target).filter("track").each(m)},
+m=function(){if(i.track||!y.override&&3==a.prop(this,"readyState"))y.override=!0,g.reTest("track"),document.removeEventListener("error",k,!0),this&&a.nodeName(this,"track")?g.error("track support was overwritten. Please check your vtt including your vtt mime-type"):g.info("track support was overwritten. due to bad browser support")},l=function(){document.addEventListener("error",k,!0);i.track?m():a("track").each(m)};y.override||(g.isReady("track")?l():a(l))}();g.register("mediaelement-core",function(a,
+g,v,s,o){n=swfobject.hasFlashPlayerVersion("9.0.115");var j=g.mediaelement,t=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},e=!n&&"postMessage"in v&&k,d=
+function(){var b;return function(){!b&&e&&(b=!0,g.loader.loadScript("https://www.youtube.com/player_api"),a(function(){g.polyfill("mediaelement-yt")}))}}(),c=function(){n?m():d()};g.addPolyfill("mediaelement-yt",{test:!e,d:["dom-support"]});j.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"]}};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=s.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=t(b,d);e.src?c.push(e):a("source",b).each(function(){e=t(this,d);e.src&&c.push(e)});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.canThirdPlaySrces=function(b,c){var d="";if(n||e)b=a(b),c=c||j.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&(n&&-1!=j.swfMimeTypes.indexOf(b.container)||e&&"video/youtube"==b.container))return d=b,!1});return d};var h={};j.canNativePlaySrces=function(b,c){var d="";if(k){var b=a(b),e=(b[0].nodeName||"").toLowerCase();if(!h[e])return d;c=c||j.srces(b);a.each(c,function(a,c){if(c.type&&h[e].prop._supvalue.call(b[0],c.type))return d=c,!1})}return d};j.setError=function(b,c){c||(c="can't play sources");
+a(b).pause().data("mediaerror",c);g.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var f=function(){var a;return function(b,h,i){g.ready(n?q:"mediaelement-yt",function(){j.createSWF?j.createSWF(b,h,i):a||(a=!0,c(),f(b,h,i))});!a&&e&&!j.createSWF&&d()}}(),p=function(a,b,c,d,e){c||!1!==c&&b&&"third"==b.isActive?(c=j.canThirdPlaySrces(a,d))?f(a,c,b):e?j.setError(a,!1):p(a,b,!1,d,!0):(c=j.canNativePlaySrces(a,d))?b&&"third"==b.isActive&&j.setActive(a,
+"html5",b):e?(j.setError(a,!1),b&&"third"==b.isActive&&j.setActive(a,"html5",b)):p(a,b,!0,d,!0)},x=/^(?:embed|object|datalist)$/i,A=function(b,c){var d=g.data(b,"mediaelementBase")||g.data(b,"mediaelementBase",{}),e=j.srces(b),f=b.parentNode;clearTimeout(d.loadTimer);a.data(b,"mediaerror",!1);if(e.length&&f&&!(1!=f.nodeType||x.test(f.nodeName||"")))c=c||g.data(b,"mediaelement"),p(b,c,r.preferFlash||o,e)};a(s).on("ended",function(b){var c=g.data(b.target,"mediaelement");(!l||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)});l||g.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var c=g.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=g.data(this,"mediaelement");A(this,a);k&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});h[b]=g.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(c){var d=
+"";k&&h[b].prop._supvalue&&(d=h[b].prop._supvalue.call(this,c),"no"==d&&(d=""));!d&&n&&(c=a.trim((c||"").split(";")[0]),-1!=j.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});g.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=g.data(a,"mediaelementBase")||g.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){A(a);a=null},9)}});v=function(){g.addReady(function(b,c){a("video, audio",b).add(c.filter("video, audio")).each(function(){a.browser.msie&&
+8<g.browserVersion&&a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():A(this);if(k){var b,c,d=this,e=function(){var b=a.prop(d,"buffered");if(b){for(var c="",e=0,M=b.length;e<M;e++)c+=b.end(e);return c}},f=function(){var b=e();b!=c&&(c=b,a(d).triggerHandler("progress"))};a(this).on({"play loadstart progress":function(a){"progress"==a.type&&(c=e());clearTimeout(b);b=setTimeout(f,999)},"emptied stalled mediaerror abort suspend":function(a){"emptied"==
+a.type&&(c=!1);clearTimeout(b)}})}})})};b.track&&!i.track&&g.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}});k?(g.isReady("mediaelement-core",!0),v(),g.ready("WINDOWLOAD mediaelement",c)):g.ready(q,v);a(function(){g.loader.loadList(["track-ui"])})})})(jQuery,Modernizr,jQuery.webshims);
+jQuery.webshims.register("mediaelement-swf",function(a,b,g,k,l,r){var i=b.mediaelement,q=g.swfobject,m=Modernizr.audio&&Modernizr.video,n=q.hasFlashPlayerVersion("9.0.115"),x=0,g={paused:!0,ended:!1,currentSrc:"",duration:g.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}},t=Object.keys(g),u={currentTime:0,volume:1,
+muted:!1};Object.keys(u);var y=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:l},g,u),v=/^jwplayer-/,s=function(a){if(a=k.getElementById(a.replace(v,"")))return a=b.data(a,"mediaelement"),"third"==a.isActive?a:null},o=function(a){return(a=b.data(a,"mediaelement"))&&"third"==a.isActive?a:null},j=function(b,c){c=a.Event(c);c.preventDefault();a.event.trigger(c,l,b)},z=r.playerPath||b.cfg.basePath+
+"jwplayer/"+(r.playerName||"player.swf"),e=r.pluginPath||b.cfg.basePath+"swf/jwwebshims.swf";b.extendUNDEFProp(r.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});b.extendUNDEFProp(r.vars,{screencolor:"ffffffff"});b.extendUNDEFProp(r.attrs,{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?(j(b._elem,"durationchange"),("audio"==b._elemNodeName||b._callMeta)&&i.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,j(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,j(b._elem,"canplaythrough");b.readyState=a};a.extend(a.event.customEvent,
+{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0});i.jwEvents={View:{PLAY:function(a){var b=s(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;j(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(b){var e=s(b.id);if(e&&"percentage"in b&&e._bufferedEnd!=b.percentage){e.networkState=100==b.percentage?1:2;(isNaN(e.duration)||5<b.percentage&&25>b.percentage||100===b.percentage)&&d(e,b);if(e.ended)e.ended=
+!1;if(e.duration){2<b.percentage&&20>b.percentage?c(3,e):20<b.percentage&&c(4,e);if(e._bufferedEnd&&e._bufferedEnd>b.percentage)e._bufferedStart=e.currentTime||0;e._bufferedEnd=b.percentage;e.buffered.length=1;if(100==b.percentage)e.networkState=1,c(4,e);a.event.trigger("progress",l,e._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:s(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&&j(b._elem,"durationchange");j(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=s(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;j(b._elem,"timeupdate")}},STATE:function(a){var b=
+s(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);j(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;j(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,j(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,j(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=s(a.id);b&&i.setError(b._elem,a.message)},SEEK:function(a){var b=
+s(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,j(b._elem,"timeupdate")}},VOLUME:function(a){var b=s(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,j(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=s(a.id);if(b&&b.muted!=a.state)b.muted=a.state,j(b._elem,"volumechange")}}}};var h=function(b){var c=!0;a.each(i.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},f=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===l&&a.prop(b._elem,"autoplay")||!b.paused)&&setTimeout(function(){if("third"==b.isActive&&(b._ppFlag===l||!b.paused))try{a(b._elem).play()}catch(c){}},1)};i.playerResize=function(b){b&&
+(b=k.getElementById(b.replace(v,"")))&&a(b).triggerHandler("swfstageresize")};a(k).on("emptied",function(a){a=o(a.target);p(a)});var G;i.jwPlayerReady=function(c){var d=s(c.id),e=0,g=function(){if(!(9<e))if(e++,h(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var i=parseFloat(c.version,10);(5.1>i||6<=i)&&b.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;f(d);p(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(g,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(G);d.jwData=c;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);g()}};var A=a.noop;if(m){var w={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(" "),D=function(c){var d=b.data(c.target,"mediaelement");d&&(c.originalEvent&&c.originalEvent.type===c.type)==("third"==d.activating)&&(c.stopImmediatePropagation(),w[c.type]&&d.isActive!=d.activating&&a(c.target).pause())},A=function(c){a(c).off(C).on(C,D);B.forEach(function(a){b.moveToFirstEvent(c,a)})};A(k)}i.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 I=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&&j(d._elem,"emptied")}}}(),H=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()})};i.createSWF=function(c,d,f){if(n){1>x?x=1:x++;var g=a.extend({},r.vars,{image:a.prop(c,"poster")||"",file:d.srcProp}),
+h=a(c).data("vars")||{};f||(f=b.data(c,"mediaelement"));if(f&&f.swfCreated)i.setActive(c,"third",f),I(f),f.currentSrc=d.srcProp,a.extend(g,h),r.changeSWF(g,c,d,f,"load"),E(c,"sendEvent",["LOAD",g]);else{var j=a.prop(c,"controls"),F="jwplayer-"+b.getID(c),k=a.extend({},r.params,a(c).data("params")),l=c.nodeName.toLowerCase(),p=a.extend({},r.attrs,{name:F,id:F},a(c).data("attrs")),o=a('<div class="polyfill-'+l+' polyfill-mediaelement" id="wrapper-'+F+'"><div id="'+F+'"></div>').css({position:"relative",
+overflow:"hidden"}),f=b.data(c,"mediaelement",b.objectCreate(y,{actionQueue:{value:[]},shadowElem:{value:o},_elemNodeName:{value:l},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=f.buffered.length)b.error("buffered index size error");else return 0},end:function(a){if(a>=f.buffered.length)b.error("buffered index size error");else return(f.duration-f._bufferedStart)*f._bufferedEnd/100+f._bufferedStart},length:0}}}));H(f,j);o.insertBefore(c);
+m&&a.extend(f,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(g,{id:F,controlbar:j?r.vars.controlbar||("video"==l?"over":"bottom"):"video"==l?"none":"bottom",icons:""+(j&&"video"==l)},h,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});g.plugins=g.plugins?g.plugins+(","+e):e;b.addShadowDom(c,o);A(c);i.setActive(c,"third",f);r.changeSWF(g,c,d,f,"embed");a(c).on("updatemediaelementdimensions updateshadowdom",function(){H(f,a.prop(c,"controls"))});q.embedSWF(z,F,"100%","100%",
+"9.0.0",!1,g,k,p,function(d){if(d.success)f.jwapi=d.ref,j||a(d.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!d.ref.parentNode&&o[0].parentNode||"none"==d.ref.style.display)o.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),b.warn("flashblocker assumed");a(d.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),G||(clearTimeout(G),G=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.warn("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var E=function(a,b,c,d){return(d=d||o(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=o(this);return b?b[a]:m&&e[a].prop._supget?e[a].prop._supget.apply(this):y[a]},writeable:!1})},g=function(a,b){f(a);delete d[a].writeable;d[a].set=b};g("volume",function(a){var c=o(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);E(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,j(c._elem,"volumechange")}}else if(e.volume.prop._supset)return e.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=o(this);if(b){if(a=!!a,E(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"third"!=b.isActive))b.muted=a,j(b._elem,"volumechange")}else if(e.muted.prop._supset)return e.muted.prop._supset.apply(this,arguments)});g("currentTime",
+function(a){var b=o(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);E(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,j(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=o(this);if(b)b.stopPlayPause&&
+clearTimeout(b.stopPlayPause),E(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("third"==b.isActive&&(b._ppFlag=!0,b.paused!=("play"!=a)))b.paused="play"!=a,j(b._elem,a)},1);else if(e[a].prop._supvalue)return e[a].prop._supvalue.apply(this,arguments)}}});t.forEach(f);b.onNodeNamesPropertyModify(c,"controls",function(d,e){var f=o(this);a(this)[e?"addClass":"removeClass"]("webshims-controls");if(f){try{E(this,e?"showControls":"hideControls",[c],f)}catch(g){b.warn("you need to generate a crossdomain.xml")}"audio"==
+c&&H(f,e);a(f.jwapi).attr("tabindex",e?"0":"-1")}});e=b.defineNodeNameProperties(c,d,"prop")});if(n){var J=a.cleanData,K=a.browser.msie&&9>b.browserVersion,L={object:1,OBJECT:1};a.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&x)for(b=0;b<c;b++)if(L[a[b].nodeName]){if("sendEvent"in a[b]){x--;try{a[b].sendEvent("play",!1)}catch(e){}}if(K)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return J.apply(this,arguments)}}m||(["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"))});