webshims-rails 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/lib/webshims-rails/version.rb +2 -2
  2. data/vendor/assets/javascripts/webshims/minified/extras/custom-validity.js +9 -9
  3. data/vendor/assets/javascripts/webshims/minified/polyfiller.js +28 -27
  4. data/vendor/assets/javascripts/webshims/minified/shims/combos/10.js +75 -74
  5. data/vendor/assets/javascripts/webshims/minified/shims/combos/11.js +41 -39
  6. data/vendor/assets/javascripts/webshims/minified/shims/combos/12.js +6 -6
  7. data/vendor/assets/javascripts/webshims/minified/shims/combos/16.js +54 -53
  8. data/vendor/assets/javascripts/webshims/minified/shims/combos/17.js +62 -61
  9. data/vendor/assets/javascripts/webshims/minified/shims/combos/18.js +58 -64
  10. data/vendor/assets/javascripts/webshims/minified/shims/combos/19.js +62 -60
  11. data/vendor/assets/javascripts/webshims/minified/shims/combos/2.js +62 -60
  12. data/vendor/assets/javascripts/webshims/minified/shims/combos/20.js +43 -42
  13. data/vendor/assets/javascripts/webshims/minified/shims/combos/21.js +41 -39
  14. data/vendor/assets/javascripts/webshims/minified/shims/combos/22.js +48 -47
  15. data/vendor/assets/javascripts/webshims/minified/shims/combos/23.js +51 -49
  16. data/vendor/assets/javascripts/webshims/minified/shims/combos/24.js +75 -73
  17. data/vendor/assets/javascripts/webshims/minified/shims/combos/3.js +83 -79
  18. data/vendor/assets/javascripts/webshims/minified/shims/combos/4.js +27 -27
  19. data/vendor/assets/javascripts/webshims/minified/shims/combos/5.js +34 -33
  20. data/vendor/assets/javascripts/webshims/minified/shims/combos/59.js +58 -55
  21. data/vendor/assets/javascripts/webshims/minified/shims/combos/6.js +29 -38
  22. data/vendor/assets/javascripts/webshims/minified/shims/combos/7.js +37 -45
  23. data/vendor/assets/javascripts/webshims/minified/shims/combos/8.js +33 -33
  24. data/vendor/assets/javascripts/webshims/minified/shims/combos/9.js +57 -56
  25. data/vendor/assets/javascripts/webshims/minified/shims/form-core.js +21 -21
  26. data/vendor/assets/javascripts/webshims/minified/shims/form-datalist.js +21 -19
  27. data/vendor/assets/javascripts/webshims/minified/shims/form-message.js +5 -5
  28. data/vendor/assets/javascripts/webshims/minified/shims/form-native-extend.js +8 -7
  29. data/vendor/assets/javascripts/webshims/minified/shims/form-native-fix.js +5 -9
  30. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-api.js +8 -12
  31. data/vendor/assets/javascripts/webshims/minified/shims/form-number-date-ui.js +21 -26
  32. data/vendor/assets/javascripts/webshims/minified/shims/form-output.js +1 -1
  33. data/vendor/assets/javascripts/webshims/minified/shims/form-shim-extend.js +28 -26
  34. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-core.js +7 -7
  35. data/vendor/assets/javascripts/webshims/minified/shims/mediaelement-swf.js +29 -28
  36. data/vendor/assets/javascripts/webshims/minified/shims/styles/shim.css +24 -19
  37. metadata +4 -4
@@ -1,42 +1,43 @@
1
- (function(d,f,p){var l=f.audio&&f.video,r=!1;if(l)d=document.createElement("video"),f.videoBuffered="buffered"in d,r="loop"in d,p.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),f.videoBuffered||(p.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:f.videoBuffered,d:["dom-support"]}),p.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(d,f,p,t,x){var i=f.mediaelement,B=f.cfg.mediaelement,
2
- y=function(e,c){var e=d(e),k={src:e.attr("src")||"",elem:e,srcProp:e.prop("src")};if(!k.src)return k;var j=e.attr("type");if(j)k.type=j,k.container=d.trim(j.split(";")[0]);else if(c||(c=e[0].nodeName.toLowerCase(),"source"==c&&(c=(e.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),j=i.getTypeForSrc(k.src,c))k.type=j,k.container=j,f.warn("you should always provide a proper mime-type using the source element. "+k.src+" detected as: "+j),d.nodeName(e[0],"source")&&e.attr("type",
3
- j);if(j=e.attr("media"))k.media=j;return k},u=swfobject.hasFlashPlayerVersion("9.0.115"),z=function(){f.ready("mediaelement-swf",function(){if(!i.createSWF)f.modules["mediaelement-swf"].test=d.noop,f.reTest(["mediaelement-swf"],l)})};i.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",
4
- "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"]}};i.mimeTypes.source=d.extend({},i.mimeTypes.audio,i.mimeTypes.video);i.getTypeForSrc=function(e,c){if(-1!=e.indexOf("youtube.com/watch?")||-1!=e.indexOf("youtube.com/v/"))return"video/youtube";
5
- var e=e.split("?")[0].split("."),e=e[e.length-1],f;d.each(i.mimeTypes[c],function(d,c){if(-1!==c.indexOf(e))return f=d,!1});return f};i.srces=function(e,c){e=d(e);if(c)e.removeAttr("src").removeAttr("type").find("source").remove(),d.isArray(c)||(c=[c]),c.forEach(function(d){var c=t.createElement("source");"string"==typeof d&&(d={src:d});c.setAttribute("src",d.src);d.type&&c.setAttribute("type",d.type);d.media&&c.setAttribute("media",d.media);e.append(c)});else{var c=[],f=e[0].nodeName.toLowerCase(),
6
- j=y(e,f);j.src?c.push(j):d("source",e).each(function(){j=y(this,f);j.src&&c.push(j)});return c}};d.fn.loadMediaSrc=function(e,c){return this.each(function(){c!==x&&(d(this).removeAttr("poster"),c&&d.attr(this,"poster",c));i.srces(this,e);d(this).mediaLoad()})};i.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(",");
7
- i.canSwfPlaySrces=function(e,c){var f="";u&&(e=d(e),c=c||i.srces(e),d.each(c,function(d,e){if(e.container&&e.src&&-1!=i.swfMimeTypes.indexOf(e.container))return f=e,!1}));return f};var g={};i.canNativePlaySrces=function(e,c){var f="";if(l){var e=d(e),j=(e[0].nodeName||"").toLowerCase();if(!g[j])return f;c=c||i.srces(e);d.each(c,function(d,c){if(c.type&&g[j].prop._supvalue.call(e[0],c.type))return f=c,!1})}return f};i.setError=function(e,c){c||(c="can't play sources");d(e).pause().data("mediaerror",
8
- c);f.warn("mediaelementError: "+c);setTimeout(function(){d(e).data("mediaerror")&&d(e).trigger("mediaerror")},1)};var o=function(){var d;return function(c,k,j){f.ready("mediaelement-swf",function(){i.createSWF?i.createSWF(c,k,j):d||(d=!0,z(),o(c,k,j))})}}(),h=function(d,c,f,j,g){f||!1!==f&&c&&"flash"==c.isActive?(f=i.canSwfPlaySrces(d,j))?o(d,f,c):g?i.setError(d,!1):h(d,c,!1,j,!0):(f=i.canNativePlaySrces(d,j))?c&&"flash"==c.isActive&&i.setActive(d,"html5",c):g?(i.setError(d,!1),c&&"flash"==c.isActive&&
9
- i.setActive(d,"html5",c)):h(d,c,!0,j,!0)},C=/^(?:embed|object|datalist)$/i,v=function(e,c){var k=f.data(e,"mediaelementBase")||f.data(e,"mediaelementBase",{}),j=i.srces(e),g=e.parentNode;clearTimeout(k.loadTimer);d.data(e,"mediaerror",!1);if(j.length&&g&&!(1!=g.nodeType||C.test(g.nodeName||"")))c=c||f.data(e,"mediaelement"),h(e,c,B.preferFlash||x,j)};d(t).bind("ended",function(e){var c=f.data(e.target,"mediaelement");(!r||c&&"html5"!=c.isActive||d.prop(e.target,"loop"))&&setTimeout(function(){!d.prop(e.target,
10
- "paused")&&d.prop(e.target,"loop")&&d(e.target).prop("currentTime",0).play()},1)});r||f.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(e){var c=f.defineNodeNameProperty(e,"load",{prop:{value:function(){var d=f.data(this,"mediaelement");v(this,d);l&&(!d||"html5"==d.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});g[e]=f.defineNodeNameProperty(e,"canPlayType",{prop:{value:function(c){var f="";l&&g[e].prop._supvalue&&(f=g[e].prop._supvalue.call(this,
11
- c),"no"==f&&(f=""));!f&&u&&(c=d.trim((c||"").split(";")[0]),-1!=i.swfMimeTypes.indexOf(c)&&(f="maybe"));return f}}})});f.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var d=this,c=f.data(d,"mediaelementBase")||f.data(d,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){v(d);d=null},9)}});l&&f.isReady("mediaelement-core",!0);f.addReady(function(e,c){d("video, audio",e).add(c.filter("video, audio")).each(function(){d.browser.msie&&8<f.browserVersion&&
12
- d.prop(this,"paused")&&!d.prop(this,"readyState")&&d(this).is('audio[preload="none"][controls]:not([autoplay])')?d(this).prop("preload","metadata").mediaLoad():v(this);if(l){var c,e,i=this,g=function(){var c=d.prop(i,"buffered");if(c){for(var f="",e=0,j=c.length;e<j;e++)f+=c.end(e);return f}},h=function(){var c=g();c!=e&&(e=c,d(i).triggerHandler("progress"))};d(this).bind("play loadstart progress",function(d){"progress"==d.type&&(e=g());clearTimeout(c);c=setTimeout(h,999)}).bind("emptied stalled mediaerror abort suspend",
13
- function(d){"emptied"==d.type&&(e=!1);clearTimeout(c)})}})});l&&u&&f.ready("WINDOWLOAD mediaelement",z)})})(jQuery,Modernizr,jQuery.webshims);
14
- jQuery.webshims.register("mediaelement-swf",function(d,f,p,l,r,m){var q=f.mediaelement,F=p.swfobject,t=Modernizr.audio&&Modernizr.video,x=F.hasFlashPlayerVersion("9.0.115"),i=0,p={paused:!0,ended:!1,currentSrc:"",duration:p.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)f.error("buffered index size error");else return 0},end:function(a){if(a)f.error("buffered index size error");else return 0},length:0}},B=Object.keys(p),y={currentTime:0,volume:1,
15
- muted:!1};Object.keys(y);var u=d.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:r},p,y),z=/^jwplayer-/,g=function(a){if(a=l.getElementById(a.replace(z,"")))return a=f.data(a,"mediaelement"),"flash"==a.isActive?a:null},o=function(a){return(a=f.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},h=function(a,b){b=d.Event(b);b.preventDefault();d.event.trigger(b,r,a)},C=m.playerPath||f.cfg.basePath+
16
- "jwplayer/"+(m.playerName||"player.swf"),v=m.pluginPath||f.cfg.basePath+"swf/jwwebshims.swf";f.extendUNDEFProp(m.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});f.extendUNDEFProp(m.jwVars,{screencolor:"ffffffff"});f.extendUNDEFProp(m.jwAttrs,{bgcolor:"#000000"});var e=function(a,b){var c=a.duration;if(!(c&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=c}catch(f){}a.duration&&
17
- a.duration!=a._lastDuration?(h(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&q.jwEvents.Model.META(d.extend({duration:a.duration},b),a),a._durationCalcs--):a._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,h(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,h(b._elem,"canplaythrough");b.readyState=a};q.jwEvents=
18
- {View:{PLAY:function(a){var b=g(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;h(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(a){var b=g(a.id);if(b&&"percentage"in a&&b._bufferedEnd!=a.percentage){b.networkState=100==a.percentage?1:2;(isNaN(b.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&e(b,a);if(b.ended)b.ended=!1;if(b.duration){2<a.percentage&&20>a.percentage?c(3,b):20<a.percentage&&c(4,b);if(b._bufferedEnd&&
19
- b._bufferedEnd>a.percentage)b._bufferedStart=b.currentTime||0;b._bufferedEnd=a.percentage;b.buffered.length=1;if(100==a.percentage)b.networkState=1,c(4,b);d.event.trigger("progress",r,b._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:g(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=
20
- a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&h(b._elem,"durationchange");h(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=g(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&e(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;h(b._elem,"timeupdate")}},STATE:function(a){var b=g(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);h(b._elem,"waiting");
21
- break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||e(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;h(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,h(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,h(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=g(a.id);b&&q.setError(b._elem,a.message)},SEEK:function(a){var b=g(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(d){}if(b.currentTime!=
22
- a.position)b.currentTime=a.position,h(b._elem,"timeupdate")}},VOLUME:function(a){var b=g(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,h(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=g(a.id);if(b&&b.muted!=a.state)b.muted=a.state,h(b._elem,"volumechange")}}}};var k=function(a){d.each(q.jwEvents,function(b,c){d.each(c,function(d){a.jwapi["add"+b+"Listener"](d,"jQuery.webshims.mediaelement.jwEvents."+b+"."+d)})})},j=function(a){a&&(a._ppFlag===r&&d.prop(a._elem,"autoplay")||
23
- !a.paused)&&setTimeout(function(){if("flash"==a.isActive&&(a._ppFlag===r||!a.paused))try{d(a._elem).play()}catch(b){}},1)},J=function(a){if(a&&"video"==a._elemNodeName){var b,c,f,e,s,n,i,j,g=function(g,h){if(h&&g&&!(1>h||1>g||"flash"!=a.isActive))if(b&&(b.remove(),b=!1),e=g,s=h,clearTimeout(i),c="auto"==a._elem.style.width,f="auto"==a._elem.style.height,c||f){n=n||d(a._elem).getShadowElement();var k;c&&!f?(k=n.height(),g*=k/h,h=k):!c&&f&&(k=n.width(),h*=k/g,g=k);j=!0;setTimeout(function(){j=!1},9);
24
- n.css({width:g,height:h})}},h=function(){if(!("flash"!=a.isActive||d.prop(a._elem,"readyState")&&d.prop(this,"videoWidth"))){var e=d.prop(a._elem,"poster");if(e&&(c="auto"==a._elem.style.width,f="auto"==a._elem.style.height,c||f))b&&(b.remove(),b=!1),b=d('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),b.bind("load error alreadycomplete",function(){clearTimeout(i);var a=this,c=a.naturalWidth||a.width||a.offsetWidth,f=a.naturalHeight||a.height||
25
- a.offsetHeight;f&&c?(g(c,f),a=null):setTimeout(function(){c=a.naturalWidth||a.width||a.offsetWidth;f=a.naturalHeight||a.height||a.offsetHeight;g(c,f);b&&(b.remove(),b=!1);a=null},9);d(this).unbind()}).prop("src",e).appendTo("body").each(function(){this.complete||this.error?d(this).triggerHandler("alreadycomplete"):(clearTimeout(i),i=setTimeout(function(){d(a._elem).triggerHandler("error")},9999))})}};d(a._elem).bind("loadedmetadata",function(){g(d.prop(this,"videoWidth"),d.prop(this,"videoHeight"))}).bind("emptied",
26
- h).bind("swfstageresize",function(){j||g(e,s)}).bind("emptied",function(){e=void 0;s=void 0}).triggerHandler("swfstageresize");h();d.prop(a._elem,"readyState")&&g(d.prop(a._elem,"videoWidth"),d.prop(a._elem,"videoHeight"))}};q.playerResize=function(a){a&&(a=l.getElementById(a.replace(z,"")))&&d(a).triggerHandler("swfstageresize")};d(l).bind("emptied",function(a){a=o(a.target);j(a)});var A;q.jwPlayerReady=function(a){var b=g(a.id);if(b&&b.jwapi){clearTimeout(A);b.jwData=a;b.shadowElem.removeClass("flashblocker-assumed");
27
- b.wasSwfReady?d(b._elem).mediaLoad():(a=parseFloat(a.version,10),(5.6>a||6<=a)&&f.warn("mediaelement-swf is only testet with jwplayer 5.6+"),d.prop(b._elem,"volume",b.volume),d.prop(b._elem,"muted",b.muted),k(b));b.wasSwfReady=!0;var a=b.actionQueue.length,c=0,e;if(a&&"flash"==b.isActive)for(;b.actionQueue.length&&a>c;)c++,e=b.actionQueue.shift(),b.jwapi[e.fn].apply(b.jwapi,e.args);if(b.actionQueue.length)b.actionQueue=[];j(b)}};var D=d.noop;if(t){var K={play:1,playing:1},G="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
28
- H=G.map(function(a){return a+".webshimspolyfill"}).join(" "),L=function(a){var b=f.data(a.target,"mediaelement");b&&(a.originalEvent&&a.originalEvent.type===a.type)==("flash"==b.activating)&&(a.stopImmediatePropagation(),K[a.type]&&b.isActive!=b.activating&&d(a.target).pause())},D=function(a){d(a).unbind(H).bind(H,L);G.forEach(function(b){f.moveToFirstEvent(a,b)})};D(l)}q.setActive=function(a,b,c){c||(c=f.data(a,"mediaelement"));if(c&&c.isActive!=b){"html5"!=b&&"flash"!=b&&f.warn("wrong type for mediaelement activating: "+
29
- b);var e=f.data(a,"shadowData");c.activating=b;d(a).pause();c.isActive=b;"flash"==b?(e.shadowElement=e.shadowFocusElement=c.shadowElem[0],d(a).hide().getShadowElement().show()):(d(a).show().getShadowElement().hide(),e.shadowElement=e.shadowFocusElement=!1)}};var M=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 f=b,e=d.networkState;
30
- for(c(0,d);--f;)delete d[a[f]];d.actionQueue=[];d.buffered.length=0;e&&h(d._elem,"emptied")}}}(),I=function(a,b){var c=a._elem,f=a.shadowElem;d(c)[b?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!b?f.css({width:0,height:0}):f.css({width:c.style.width||d(c).width(),height:c.style.height||d(c).height()})};q.createSWF=function(a,b,c){if(x){1>i?i=1:i++;var e=d.extend({},m.jwVars,{image:d.prop(a,"poster")||"",file:b.srcProp}),g=d(a).data("jwvars")||{};if(c&&c.swfCreated)q.setActive(a,
31
- "flash",c),M(c),c.currentSrc=b.srcProp,d.extend(e,g),m.changeJW(e,a,b,c,"load"),w(a,"sendEvent",["LOAD",e]);else{var s=d.prop(a,"controls"),n="jwplayer-"+f.getID(a),j=d.extend({},m.jwParams,d(a).data("jwparams")),h=a.nodeName.toLowerCase(),k=d.extend({},m.jwAttrs,{name:n,id:n},d(a).data("jwattrs")),l=d('<div class="polyfill-'+h+' polyfill-mediaelement" id="wrapper-'+n+'"><div id="'+n+'"></div>').css({position:"relative",overflow:"hidden"}),c=f.data(a,"mediaelement",f.objectCreate(u,{actionQueue:{value:[]},
32
- shadowElem:{value:l},_elemNodeName:{value:h},_elem:{value:a},currentSrc:{value:b.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return 0},end:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return(c.duration-c._bufferedStart)*c._bufferedEnd/100+c._bufferedStart},length:0}}}));I(c,s);l.insertBefore(a);t&&d.extend(c,{volume:d.prop(a,"volume"),muted:d.prop(a,"muted")});d.extend(e,{id:n,
33
- controlbar:s?m.jwVars.controlbar||("video"==h?"over":"bottom"):"video"==h?"none":"bottom",icons:""+(s&&"video"==h)},g,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});e.plugins=e.plugins?e.plugins+(","+v):v;f.addShadowDom(a,l);D(a);q.setActive(a,"flash",c);m.changeJW(e,a,b,c,"embed");J(c);F.embedSWF(C,n,"100%","100%","9.0.0",!1,e,j,k,function(b){if(b.success)c.jwapi=b.ref,s||d(b.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&l[0].parentNode||
34
- "none"==b.ref.style.display)l.addClass("flashblocker-assumed"),d(a).trigger("flashblocker"),f.warn("flashblocker assumed");d(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),A||(clearTimeout(A),A=setTimeout(function(){var a=d(b.ref);1<a[0].offsetWidth&&1<a[0].offsetHeight&&0===location.protocol.indexOf("file:")?f.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
35
- (2>a[0].offsetWidth||2>a[0].offsetHeight)&&f.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){d(a).mediaLoad()},1)};var w=function(a,b,d,c){return(c=c||o(a))?(c.jwapi&&c.jwapi[b]?c.jwapi[b].apply(c.jwapi,d||[]):(c.actionQueue.push({fn:b,args:d}),10<c.actionQueue.length&&setTimeout(function(){5<c.actionQueue.length&&c.actionQueue.shift()},99)),c):!1};["audio","video"].forEach(function(a){var b={},c,e=function(d){"audio"==a&&
36
- ("videoHeight"==d||"videoWidth"==d)||(b[d]={get:function(){var a=o(this);return a?a[d]:t&&c[d].prop._supget?c[d].prop._supget.apply(this):u[d]},writeable:!1})},g=function(a,c){e(a);delete b[a].writeable;b[a].set=c};g("volume",function(a){var b=o(this);if(b){if(a*=100,!isNaN(a)){var d=b.muted;(0>a||100<a)&&f.error("volume greater or less than allowed "+a/100);w(this,"sendEvent",["VOLUME",a],b);if(d)try{b.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(b.volume==a||"flash"!=b.isActive))b.volume=
37
- a,h(b._elem,"volumechange")}}else if(c.volume.prop._supset)return c.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=o(this);if(b){if(a=!!a,w(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,h(b._elem,"volumechange")}else if(c.muted.prop._supset)return c.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=
38
- !0;b.stopPlayPause=!1},50);w(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,h(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(d){}}}}else if(c.currentTime.prop._supset)return c.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){b[a]={value:function(){var b=o(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),w(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
39
- !0,b.paused!=("play"!=a)))b.paused="play"!=a,h(b._elem,a)},1);else if(c[a].prop._supvalue)return c[a].prop._supvalue.apply(this,arguments)}}});B.forEach(e);f.onNodeNamesPropertyModify(a,"controls",function(b,c){var e=o(this);d(this)[c?"addClass":"removeClass"]("webshims-controls");if(e){try{w(this,c?"showControls":"hideControls",[a],e)}catch(g){f.warn("you need to generate a crossdomain.xml")}"audio"==a&&I(e,c);d(e.jwapi).attr("tabindex",c?"0":"-1")}});c=f.defineNodeNameProperties(a,b,"prop")});if(x){var N=
40
- d.cleanData,O=d.browser.msie&&9>f.browserVersion,P={object:1,OBJECT:1};d.cleanData=function(a){var b,c,d;if(a&&(c=a.length)&&i)for(b=0;b<c;b++)if(P[a[b].nodeName]){if("sendEvent"in a[b]){i--;try{a[b].sendEvent("play",!1)}catch(e){}}if(O)try{for(d in a[b])"function"==typeof a[b][d]&&(a[b][d]=null)}catch(f){}}return N.apply(this,arguments)}}if(!t){var E=l.createElement("a");["poster","src"].forEach(function(a){f.defineNodeNamesProperty("src"==a?["audio","video","source"]:["video"],a,{prop:{get:function(){var b=
41
- this.getAttribute(a);if(null==b)return"";E.setAttribute("href",b+"");return!d.support.hrefNormalized?E.getAttribute("href",4):E.href},set:function(b){d.attr(this,a,b)}}})});["autoplay","controls"].forEach(function(a){f.defineNodeNamesBooleanProperty(["audio","video"],a)});f.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},
42
- NETWORK_NO_SOURCE:{value:3}},"prop")}});
1
+ (function(d,f,l){var m=f.audio&&f.video,r=!1;if(m)d=document.createElement("video"),f.videoBuffered="buffered"in d,r="loop"in d,l.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),f.videoBuffered||(l.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:f.videoBuffered,d:["dom-support"]}),l.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(d,f,l,t,y){var g=f.mediaelement,C=f.cfg.mediaelement,
2
+ z=function(e,c){var e=d(e),k={src:e.attr("src")||"",elem:e,srcProp:e.prop("src")};if(!k.src)return k;var j=e.attr("type");if(j)k.type=j,k.container=d.trim(j.split(";")[0]);else if(c||(c=e[0].nodeName.toLowerCase(),"source"==c&&(c=(e.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),j=g.getTypeForSrc(k.src,c))k.type=j,k.container=j,f.warn("you should always provide a proper mime-type using the source element. "+k.src+" detected as: "+j),d.nodeName(e[0],"source")&&e.attr("type",
3
+ j);if(j=e.attr("media"))k.media=j;return k},v=swfobject.hasFlashPlayerVersion("9.0.115"),A=function(){f.ready("mediaelement-swf",function(){if(!g.createSWF)f.modules["mediaelement-swf"].test=d.noop,f.reTest(["mediaelement-swf"],m)})};g.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",
4
+ "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"]}};g.mimeTypes.source=d.extend({},g.mimeTypes.audio,g.mimeTypes.video);g.getTypeForSrc=function(e,c){if(-1!=e.indexOf("youtube.com/watch?")||-1!=e.indexOf("youtube.com/v/"))return"video/youtube";
5
+ var e=e.split("?")[0].split("."),e=e[e.length-1],f;d.each(g.mimeTypes[c],function(d,c){if(-1!==c.indexOf(e))return f=d,!1});return f};g.srces=function(e,c){e=d(e);if(c)e.removeAttr("src").removeAttr("type").find("source").remove(),d.isArray(c)||(c=[c]),c.forEach(function(d){var c=t.createElement("source");"string"==typeof d&&(d={src:d});c.setAttribute("src",d.src);d.type&&c.setAttribute("type",d.type);d.media&&c.setAttribute("media",d.media);e.append(c)});else{var c=[],f=e[0].nodeName.toLowerCase(),
6
+ j=z(e,f);j.src?c.push(j):d("source",e).each(function(){j=z(this,f);j.src&&c.push(j)});return c}};d.fn.loadMediaSrc=function(e,c){return this.each(function(){c!==y&&(d(this).removeAttr("poster"),c&&d.attr(this,"poster",c));g.srces(this,e);d(this).mediaLoad()})};g.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(",");
7
+ g.canSwfPlaySrces=function(e,c){var f="";v&&(e=d(e),c=c||g.srces(e),d.each(c,function(d,e){if(e.container&&e.src&&-1!=g.swfMimeTypes.indexOf(e.container))return f=e,!1}));return f};var h={};g.canNativePlaySrces=function(e,c){var f="";if(m){var e=d(e),j=(e[0].nodeName||"").toLowerCase();if(!h[j])return f;c=c||g.srces(e);d.each(c,function(d,c){if(c.type&&h[j].prop._supvalue.call(e[0],c.type))return f=c,!1})}return f};g.setError=function(e,c){c||(c="can't play sources");d(e).pause().data("mediaerror",
8
+ c);f.warn("mediaelementError: "+c);setTimeout(function(){d(e).data("mediaerror")&&d(e).trigger("mediaerror")},1)};var p=function(){var d;return function(c,k,j){f.ready("mediaelement-swf",function(){g.createSWF?g.createSWF(c,k,j):d||(d=!0,A(),p(c,k,j))})}}(),i=function(d,c,f,j,h){f||!1!==f&&c&&"flash"==c.isActive?(f=g.canSwfPlaySrces(d,j))?p(d,f,c):h?g.setError(d,!1):i(d,c,!1,j,!0):(f=g.canNativePlaySrces(d,j))?c&&"flash"==c.isActive&&g.setActive(d,"html5",c):h?(g.setError(d,!1),c&&"flash"==c.isActive&&
9
+ g.setActive(d,"html5",c)):i(d,c,!0,j,!0)},D=/^(?:embed|object|datalist)$/i,w=function(e,c){var k=f.data(e,"mediaelementBase")||f.data(e,"mediaelementBase",{}),j=g.srces(e),h=e.parentNode;clearTimeout(k.loadTimer);d.data(e,"mediaerror",!1);if(j.length&&h&&!(1!=h.nodeType||D.test(h.nodeName||"")))c=c||f.data(e,"mediaelement"),i(e,c,C.preferFlash||y,j)};d(t).bind("ended",function(e){var c=f.data(e.target,"mediaelement");(!r||c&&"html5"!=c.isActive||d.prop(e.target,"loop"))&&setTimeout(function(){!d.prop(e.target,
10
+ "paused")&&d.prop(e.target,"loop")&&d(e.target).prop("currentTime",0).play()},1)});r||f.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(e){var c=f.defineNodeNameProperty(e,"load",{prop:{value:function(){var d=f.data(this,"mediaelement");w(this,d);m&&(!d||"html5"==d.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});h[e]=f.defineNodeNameProperty(e,"canPlayType",{prop:{value:function(c){var f="";m&&h[e].prop._supvalue&&(f=h[e].prop._supvalue.call(this,
11
+ c),"no"==f&&(f=""));!f&&v&&(c=d.trim((c||"").split(";")[0]),-1!=g.swfMimeTypes.indexOf(c)&&(f="maybe"));return f}}})});f.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var d=this,c=f.data(d,"mediaelementBase")||f.data(d,"mediaelementBase",{});clearTimeout(c.loadTimer);c.loadTimer=setTimeout(function(){w(d);d=null},9)}});l=function(){f.addReady(function(e,c){d("video, audio",e).add(c.filter("video, audio")).each(function(){d.browser.msie&&8<f.browserVersion&&d.prop(this,
12
+ "paused")&&!d.prop(this,"readyState")&&d(this).is('audio[preload="none"][controls]:not([autoplay])')?d(this).prop("preload","metadata").mediaLoad():w(this);if(m){var c,e,g=this,h=function(){var c=d.prop(g,"buffered");if(c){for(var f="",e=0,j=c.length;e<j;e++)f+=c.end(e);return f}},i=function(){var c=h();c!=e&&(e=c,d(g).triggerHandler("progress"))};d(this).bind("play loadstart progress",function(d){"progress"==d.type&&(e=h());clearTimeout(c);c=setTimeout(i,999)}).bind("emptied stalled mediaerror abort suspend",
13
+ function(d){"emptied"==d.type&&(e=!1);clearTimeout(c)})}})})};m?(f.isReady("mediaelement-core",!0),l(),v&&f.ready("WINDOWLOAD mediaelement",A)):f.ready("mediaelement-swf",l)})})(jQuery,Modernizr,jQuery.webshims);
14
+ jQuery.webshims.register("mediaelement-swf",function(d,f,l,m,r,n){var q=f.mediaelement,F=l.swfobject,t=Modernizr.audio&&Modernizr.video,y=F.hasFlashPlayerVersion("9.0.115"),g=0,l={paused:!0,ended:!1,currentSrc:"",duration:l.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)f.error("buffered index size error");else return 0},end:function(a){if(a)f.error("buffered index size error");else return 0},length:0}},C=Object.keys(l),z={currentTime:0,volume:1,
15
+ muted:!1};Object.keys(z);var v=d.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:r},l,z),A=/^jwplayer-/,h=function(a){if(a=m.getElementById(a.replace(A,"")))return a=f.data(a,"mediaelement"),"flash"==a.isActive?a:null},p=function(a){return(a=f.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},i=function(a,b){b=d.Event(b);b.preventDefault();d.event.trigger(b,r,a)},D=n.playerPath||f.cfg.basePath+
16
+ "jwplayer/"+(n.playerName||"player.swf"),w=n.pluginPath||f.cfg.basePath+"swf/jwwebshims.swf";f.extendUNDEFProp(n.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});f.extendUNDEFProp(n.jwVars,{screencolor:"ffffffff"});f.extendUNDEFProp(n.jwAttrs,{bgcolor:"#000000"});var e=function(a,b){var c=a.duration;if(!(c&&0<a._durationCalcs)){try{if(a.duration=a.jwapi.getPlaylist()[0].duration,!a.duration||0>=a.duration||a.duration===a._lastDuration)a.duration=c}catch(f){}a.duration&&
17
+ a.duration!=a._lastDuration?(i(a._elem,"durationchange"),("audio"==a._elemNodeName||a._callMeta)&&q.jwEvents.Model.META(d.extend({duration:a.duration},b),a),a._durationCalcs--):a._durationCalcs++}},c=function(a,b){3>a&&clearTimeout(b._canplaythroughTimer);if(3<=a&&3>b.readyState)b.readyState=a,i(b._elem,"canplay"),clearTimeout(b._canplaythroughTimer),b._canplaythroughTimer=setTimeout(function(){c(4,b)},4E3);if(4<=a&&4>b.readyState)b.readyState=a,i(b._elem,"canplaythrough");b.readyState=a};q.jwEvents=
18
+ {View:{PLAY:function(a){var b=h(a.id);if(b&&!b.stopPlayPause&&(b._ppFlag=!0,b.paused==a.state)){b.paused=!a.state;if(b.ended)b.ended=!1;i(b._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(a){var b=h(a.id);if(b&&"percentage"in a&&b._bufferedEnd!=a.percentage){b.networkState=100==a.percentage?1:2;(isNaN(b.duration)||5<a.percentage&&25>a.percentage||100===a.percentage)&&e(b,a);if(b.ended)b.ended=!1;if(b.duration){2<a.percentage&&20>a.percentage?c(3,b):20<a.percentage&&c(4,b);if(b._bufferedEnd&&
19
+ b._bufferedEnd>a.percentage)b._bufferedStart=b.currentTime||0;b._bufferedEnd=a.percentage;b.buffered.length=1;if(100==a.percentage)b.networkState=1,c(4,b);d.event.trigger("progress",r,b._elem,!0)}}},META:function(a,b){if(b=b&&b.networkState?b:h(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=
20
+ a.width||0;if(!b.networkState)b.networkState=2;1>b.readyState&&c(1,b);b.duration&&d!==b.duration&&i(b._elem,"durationchange");i(b._elem,"loadedmetadata")}}else b._callMeta=!0},TIME:function(a){var b=h(a.id);if(b&&b.currentTime!==a.position){b.currentTime=a.position;b.duration&&b.duration<b.currentTime&&e(b,a);2>b.readyState&&c(2,b);if(b.ended)b.ended=!1;i(b._elem,"timeupdate")}},STATE:function(a){var b=h(a.id);if(b)switch(a.newstate){case "BUFFERING":if(b.ended)b.ended=!1;c(1,b);i(b._elem,"waiting");
21
+ break;case "PLAYING":b.paused=!1;b._ppFlag=!0;b.duration||e(b,a);3>b.readyState&&c(3,b);if(b.ended)b.ended=!1;i(b._elem,"playing");break;case "PAUSED":if(!b.paused&&!b.stopPlayPause)b.paused=!0,b._ppFlag=!0,i(b._elem,"pause");break;case "COMPLETED":4>b.readyState&&c(4,b),b.ended=!0,i(b._elem,"ended")}}},Controller:{ERROR:function(a){var b=h(a.id);b&&q.setError(b._elem,a.message)},SEEK:function(a){var b=h(a.id);if(b){if(b.ended)b.ended=!1;if(b.paused)try{b.jwapi.sendEvent("play","false")}catch(d){}if(b.currentTime!=
22
+ a.position)b.currentTime=a.position,i(b._elem,"timeupdate")}},VOLUME:function(a){var b=h(a.id);if(b&&(a=a.percentage/100,b.volume!=a))b.volume=a,i(b._elem,"volumechange")},MUTE:function(a){if(!a.state){var b=h(a.id);if(b&&b.muted!=a.state)b.muted=a.state,i(b._elem,"volumechange")}}}};var k=function(a){var b=!0;d.each(q.jwEvents,function(c,f){d.each(f,function(d){try{a.jwapi["add"+c+"Listener"](d,"jQuery.webshims.mediaelement.jwEvents."+c+"."+d)}catch(f){return b=!1}})});return b},j=function(a){var b=
23
+ a.actionQueue.length,d=0,c;if(b&&"flash"==a.isActive)for(;a.actionQueue.length&&b>d;)d++,c=a.actionQueue.shift(),a.jwapi[c.fn].apply(a.jwapi,c.args);if(a.actionQueue.length)a.actionQueue=[]},G=function(a){a&&(a._ppFlag===r&&d.prop(a._elem,"autoplay")||!a.paused)&&setTimeout(function(){if("flash"==a.isActive&&(a._ppFlag===r||!a.paused))try{d(a._elem).play()}catch(b){}},1)},K=function(a){if(a&&"video"==a._elemNodeName){var b,c,f,e,s,o,g,j,h=function(h,i){if(i&&h&&!(1>i||1>h||"flash"!=a.isActive))if(b&&
24
+ (b.remove(),b=!1),e=h,s=i,clearTimeout(g),c="auto"==a._elem.style.width,f="auto"==a._elem.style.height,c||f){o=o||d(a._elem).getShadowElement();var k;c&&!f?(k=o.height(),h*=k/i,i=k):!c&&f&&(k=o.width(),i*=k/h,h=k);j=!0;setTimeout(function(){j=!1},9);o.css({width:h,height:i})}},i=function(){if(!("flash"!=a.isActive||d.prop(a._elem,"readyState")&&d.prop(this,"videoWidth"))){var e=d.prop(a._elem,"poster");if(e&&(c="auto"==a._elem.style.width,f="auto"==a._elem.style.height,c||f))b&&(b.remove(),b=!1),
25
+ b=d('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),b.bind("load error alreadycomplete",function(){clearTimeout(g);var a=this,c=a.naturalWidth||a.width||a.offsetWidth,f=a.naturalHeight||a.height||a.offsetHeight;f&&c?(h(c,f),a=null):setTimeout(function(){c=a.naturalWidth||a.width||a.offsetWidth;f=a.naturalHeight||a.height||a.offsetHeight;h(c,f);b&&(b.remove(),b=!1);a=null},9);d(this).unbind()}).prop("src",e).appendTo("body").each(function(){this.complete||
26
+ this.error?d(this).triggerHandler("alreadycomplete"):(clearTimeout(g),g=setTimeout(function(){d(a._elem).triggerHandler("error")},9999))})}};d(a._elem).bind("loadedmetadata",function(){h(d.prop(this,"videoWidth"),d.prop(this,"videoHeight"))}).bind("emptied",i).bind("swfstageresize",function(){j||h(e,s)}).bind("emptied",function(){e=void 0;s=void 0}).triggerHandler("swfstageresize");i();d.prop(a._elem,"readyState")&&h(d.prop(a._elem,"videoWidth"),d.prop(a._elem,"videoHeight"))}};q.playerResize=function(a){a&&
27
+ (a=m.getElementById(a.replace(A,"")))&&d(a).triggerHandler("swfstageresize")};d(m).bind("emptied",function(a){a=p(a.target);G(a)});var B;q.jwPlayerReady=function(a){var b=h(a.id),c=0,e=function(){if(!(9<c))if(c++,k(b)){if(b.wasSwfReady)d(b._elem).mediaLoad();else{var g=parseFloat(a.version,10);(5.6>g||6<=g)&&f.warn("mediaelement-swf is only testet with jwplayer 5.6+")}b.wasSwfReady=!0;b.tryedReframeing=0;j(b);G(b)}else clearTimeout(b.reframeTimer),b.reframeTimer=setTimeout(e,9*c),2<c&&9>b.tryedReframeing&&
28
+ (b.tryedReframeing++,b.shadowElem.css({overflow:"visible"}),setTimeout(function(){b.shadowElem.css({overflow:"hidden"})},16))};if(b&&b.jwapi){if(!b.tryedReframeing)b.tryedReframeing=0;clearTimeout(B);b.jwData=a;b.shadowElem.removeClass("flashblocker-assumed");d.prop(b._elem,"volume",b.volume);d.prop(b._elem,"muted",b.muted);e()}};var E=d.noop;if(t){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+
29
+ ".webshimspolyfill"}).join(" "),M=function(a){var b=f.data(a.target,"mediaelement");b&&(a.originalEvent&&a.originalEvent.type===a.type)==("flash"==b.activating)&&(a.stopImmediatePropagation(),L[a.type]&&b.isActive!=b.activating&&d(a.target).pause())},E=function(a){d(a).unbind(I).bind(I,M);H.forEach(function(b){f.moveToFirstEvent(a,b)})};E(m)}q.setActive=function(a,b,c){c||(c=f.data(a,"mediaelement"));if(c&&c.isActive!=b){"html5"!=b&&"flash"!=b&&f.warn("wrong type for mediaelement activating: "+b);
30
+ var e=f.data(a,"shadowData");c.activating=b;d(a).pause();c.isActive=b;"flash"==b?(e.shadowElement=e.shadowFocusElement=c.shadowElem[0],d(a).hide().getShadowElement().show()):(d(a).show().getShadowElement().hide(),e.shadowElement=e.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(d){if(d){var f=b,e=d.networkState;
31
+ for(c(0,d);--f;)delete d[a[f]];d.actionQueue=[];d.buffered.length=0;e&&i(d._elem,"emptied")}}}(),J=function(a,b){var c=a._elem,f=a.shadowElem;d(c)[b?"addClass":"removeClass"]("webshims-controls");"audio"==a._elemNodeName&&!b?f.css({width:0,height:0}):f.css({width:c.style.width||d(c).width(),height:c.style.height||d(c).height()})};q.createSWF=function(a,b,c){if(y){1>g?g=1:g++;var e=d.extend({},n.jwVars,{image:d.prop(a,"poster")||"",file:b.srcProp}),h=d(a).data("jwvars")||{};if(c&&c.swfCreated)q.setActive(a,
32
+ "flash",c),N(c),c.currentSrc=b.srcProp,d.extend(e,h),n.changeJW(e,a,b,c,"load"),x(a,"sendEvent",["LOAD",e]);else{var s=d.prop(a,"controls"),o="jwplayer-"+f.getID(a),j=d.extend({},n.jwParams,d(a).data("jwparams")),i=a.nodeName.toLowerCase(),k=d.extend({},n.jwAttrs,{name:o,id:o},d(a).data("jwattrs")),l=d('<div class="polyfill-'+i+' polyfill-mediaelement" id="wrapper-'+o+'"><div id="'+o+'"></div>').css({position:"relative",overflow:"hidden"}),c=f.data(a,"mediaelement",f.objectCreate(v,{actionQueue:{value:[]},
33
+ shadowElem:{value:l},_elemNodeName:{value:i},_elem:{value:a},currentSrc:{value:b.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return 0},end:function(a){if(a>=c.buffered.length)f.error("buffered index size error");else return(c.duration-c._bufferedStart)*c._bufferedEnd/100+c._bufferedStart},length:0}}}));J(c,s);l.insertBefore(a);t&&d.extend(c,{volume:d.prop(a,"volume"),muted:d.prop(a,"muted")});d.extend(e,{id:o,
34
+ controlbar:s?n.jwVars.controlbar||("video"==i?"over":"bottom"):"video"==i?"none":"bottom",icons:""+(s&&"video"==i)},h,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});e.plugins=e.plugins?e.plugins+(","+w):w;f.addShadowDom(a,l);E(a);q.setActive(a,"flash",c);n.changeJW(e,a,b,c,"embed");K(c);F.embedSWF(D,o,"100%","100%","9.0.0",!1,e,j,k,function(b){if(b.success)c.jwapi=b.ref,s||d(b.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&l[0].parentNode||
35
+ "none"==b.ref.style.display)l.addClass("flashblocker-assumed"),d(a).trigger("flashblocker"),f.warn("flashblocker assumed");d(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),B||(clearTimeout(B),B=setTimeout(function(){var a=d(b.ref);1<a[0].offsetWidth&&1<a[0].offsetHeight&&0===location.protocol.indexOf("file:")?f.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
36
+ (2>a[0].offsetWidth||2>a[0].offsetHeight)&&f.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){d(a).mediaLoad()},1)};var x=function(a,b,c,d){return(d=d||p(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(a){var b={},c,e=function(d){"audio"==a&&
37
+ ("videoHeight"==d||"videoWidth"==d)||(b[d]={get:function(){var a=p(this);return a?a[d]:t&&c[d].prop._supget?c[d].prop._supget.apply(this):v[d]},writeable:!1})},g=function(a,d){e(a);delete b[a].writeable;b[a].set=d};g("volume",function(a){var b=p(this);if(b){if(a*=100,!isNaN(a)){var d=b.muted;(0>a||100<a)&&f.error("volume greater or less than allowed "+a/100);x(this,"sendEvent",["VOLUME",a],b);if(d)try{b.jwapi.sendEvent("mute","true")}catch(e){}a/=100;if(!(b.volume==a||"flash"!=b.isActive))b.volume=
38
+ a,i(b._elem,"volumechange")}}else if(c.volume.prop._supset)return c.volume.prop._supset.apply(this,arguments)});g("muted",function(a){var b=p(this);if(b){if(a=!!a,x(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,i(b._elem,"volumechange")}else if(c.muted.prop._supset)return c.muted.prop._supset.apply(this,arguments)});g("currentTime",function(a){var b=p(this);if(b){if(a*=1,!isNaN(a)){if(b.paused)clearTimeout(b.stopPlayPause),b.stopPlayPause=setTimeout(function(){b.paused=
39
+ !0;b.stopPlayPause=!1},50);x(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,i(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(d){}}}}else if(c.currentTime.prop._supset)return c.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){b[a]={value:function(){var b=p(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),x(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
40
+ !0,b.paused!=("play"!=a)))b.paused="play"!=a,i(b._elem,a)},1);else if(c[a].prop._supvalue)return c[a].prop._supvalue.apply(this,arguments)}}});C.forEach(e);f.onNodeNamesPropertyModify(a,"controls",function(b,c){var e=p(this);d(this)[c?"addClass":"removeClass"]("webshims-controls");if(e){try{x(this,c?"showControls":"hideControls",[a],e)}catch(g){f.warn("you need to generate a crossdomain.xml")}"audio"==a&&J(e,c);d(e.jwapi).attr("tabindex",c?"0":"-1")}});c=f.defineNodeNameProperties(a,b,"prop")});if(y){var O=
41
+ d.cleanData,P=d.browser.msie&&9>f.browserVersion,Q={object:1,OBJECT:1};d.cleanData=function(a){var b,d,c;if(a&&(d=a.length)&&g)for(b=0;b<d;b++)if(Q[a[b].nodeName]){if("sendEvent"in a[b]){g--;try{a[b].sendEvent("play",!1)}catch(e){}}if(P)try{for(c in a[b])"function"==typeof a[b][c]&&(a[b][c]=null)}catch(f){}}return O.apply(this,arguments)}}if(!t){var u=m.createElement("a");u.style.display="none";["poster","src"].forEach(function(a){f.defineNodeNamesProperty("src"==a?["audio","video","source"]:["video"],
42
+ a,{prop:{get:function(){var b=this.getAttribute(a),c;if(null==b)return"";u.setAttribute("href",b+"");if(!d.support.hrefNormalized){try{d(u).appendTo(this),c=u.getAttribute("href",4)}catch(e){c=u.getAttribute("href",4)}d(u).detach()}return c||u.href},set:function(b){d.attr(this,a,b)}}})});["autoplay","controls"].forEach(function(a){f.defineNodeNamesBooleanProperty(["audio","video"],a)});f.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},
43
+ 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")}});
@@ -1,40 +1,42 @@
1
- jQuery.webshims.register("form-message",function(a,b,n,k,p,c){var d=b.validityMessages,n=c.overrideMessages||c.customMessages?["customValidationMessage"]:[];d.en=d.en||d["en-US"]||{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
2
- stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}};["select","radio"].forEach(function(a){d.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){d.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date","time","datetime-local"].forEach(function(a){d.en.rangeOverflow[a]=
3
- "Value must be at or before {%max}."});d["en-US"]=d["en-US"]||d.en;d[""]=d[""]||d["en-US"];d.de=d.de||{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
1
+ jQuery.webshims.register("form-message",function(a,b,n,i,p,d){var c=b.validityMessages,n=d.overrideMessages||d.customMessages?["customValidationMessage"]:[];c.en=c.en||c["en-US"]||{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
2
+ stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}};["select","radio"].forEach(function(a){c.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){c.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date","time","datetime-local"].forEach(function(a){c.en.rangeOverflow[a]=
3
+ "Value must be at or before {%max}."});c["en-US"]=c["en-US"]||c.en;c[""]=c[""]||c["en-US"];c.de=c.de||{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
4
4
  rangeOverflow:{defaultMessage:"{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen k\u00f6nnen."},stepMismatch:"Der Wert {%value} ist in diesem Feld nicht zul\u00e4ssig. Hier sind nur bestimmte Werte zul\u00e4ssig. {%title}",tooLong:"Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",patternMismatch:"{%value} hat f\u00fcr dieses Eingabefeld ein falsches Format! {%title}",valueMissing:{defaultMessage:"Bitte geben Sie einen Wert ein",
5
- checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}};["select","radio"].forEach(function(a){d.de.valueMissing[a]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(a){d.de.rangeUnderflow[a]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(a){d.de.rangeOverflow[a]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});var g=
6
- d[""];b.createValidationMessage=function(b,d){var c=g[d];c&&"string"!==typeof c&&(c=c[a.prop(b,"type")]||c[(b.nodeName||"").toLowerCase()]||c.defaultMessage);c&&"value,min,max,title,maxlength,label".split(",").forEach(function(d){if(-1!==c.indexOf("{%"+d)){var i=("label"==d?a.trim(a('label[for="'+b.id+'"]',b.form).text()).replace(/\*$|:$/,""):a.attr(b,d))||"";c=c.replace("{%"+d+"}",i);"value"==d&&(c=c.replace("{%valueLen}",i.length))}});return c||""};(b.bugs.validationMessage||!Modernizr.formvalidation)&&
7
- n.push("validationMessage");b.activeLang({langObj:d,module:"form-core",callback:function(a){g=a}});Modernizr.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&b.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var d=a("select",this);if(d[0]&&d[0].options&&d[0].options.length)b=d[0].options}return b}}});n.forEach(function(d){b.defineNodeNamesProperty(["fieldset","output","button"],
8
- d,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(c){var g=b.defineNodeNameProperty(c,d,{prop:{get:function(){var d=this,c="";if(!a.prop(d,"willValidate"))return c;var k=a.prop(d,"validity")||{valid:1};if(k.valid||(c=b.getContentValidationMessage(d,k)))return c;if(k.customError&&d.nodeName&&(c=Modernizr.formvalidation&&g.prop._supget?g.prop._supget.call(d):b.data(d,"customvalidationMessage")))return c;a.each(k,function(a,f){if("valid"!=a&&f&&(c=b.createValidationMessage(d,
9
- a)))return!1});return c||""},writeable:!1}})})})});
10
- Modernizr.formvalidation||jQuery.webshims.register("form-extend",function(a,b,n,k){b.inputTypes=b.inputTypes||{};var p=b.cfg.forms,c,d=b.inputTypes,g={radio:1,checkbox:1};b.addInputType=function(a,b){d[a]=b};var r={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},m={valueMissing:function(f,b,h){if(!f.attr("required"))return!1;var d=!1;if(!("type"in h))h.type=(f[0].getAttribute("type")||f[0].type||"").toLowerCase();
11
- if("select"==h.nodeName){if(b=!b)if(!(b=0>f[0].selectedIndex))f=f[0],b="select-one"==f.type&&2>f.size?!!a("> option:first-child",f).prop("selected"):!1;f=b}else f=g[h.type]?"checkbox"==h.type?!f.is(":checked"):!a(f[0].form&&f[0].name?f[0].form[f[0].name]:[]).filter(":checked")[0]:!b;return f},tooLong:function(){return!1},typeMismatch:function(a,b,h){if(""===b||"select"==h.nodeName)return!1;var c=!1;if(!("type"in h))h.type=(a[0].getAttribute("type")||a[0].type||"").toLowerCase();d[h.type]&&d[h.type].mismatch&&
12
- (c=d[h.type].mismatch(b,a));return c},patternMismatch:function(a,d,h){if(""===d||"select"==h.nodeName)return!1;a=a.attr("pattern");if(!a)return!1;try{a=RegExp("^(?:"+a+")$")}catch(c){b.error('invalid pattern value: "'+a+'" | '+c),a=!1}return!a?!1:!a.test(d)}};b.addValidityRule=function(a,b){m[a]=b};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var f=this.form||this;a.data(f,"invalidEventShim")||(a(f).data("invalidEventShim",!0).bind("submit",
13
- a.event.special.invalid.handler),b.moveToFirstEvent(f,"submit"))},teardown:a.noop,handler:function(f){if(!("submit"!=f.type||f.testedValidity||!f.originalEvent||!a.nodeName(f.target,"form")||a.prop(f.target,"noValidate"))){c=!0;f.testedValidity=!0;if(!a(f.target).checkValidity())return f.stopImmediatePropagation(),c=!1;c=!1}}};a(k).bind("invalid",a.noop);a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var s=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){a.nodeName(this,
14
- "form")?a(this).bind("invalid",a.noop):a("form",this).bind("invalid",a.noop);return s.apply(this,arguments)}});b.addInputType("email",{mismatch:function(){var a=p.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(b){return!a.test(b)}}()});b.addInputType("url",{mismatch:function(){var a=p.urlReg||/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;
15
- return function(b){return!a.test(b)}}()});b.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return b.inputTypes[a]?a:this.type}}});b.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},r)}}},"prop");var l=function(f){var d,h=a.prop(f,"validity");if(h)a.data(f,"cachedValidity",
16
- h);else return!0;if(!h.valid){d=a.Event("invalid");var g=a(f).trigger(d);if(c&&!l.unhandledInvalids&&!d.isDefaultPrevented())b.validityAlert.showFor(g),l.unhandledInvalids=!0}a.removeData(f,"cachedValidity");return h.valid};b.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var f=!0,d=a("input,textarea,select",this).filter(function(){var a=b.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});l.unhandledInvalids=!1;for(var h=0,c=d.length;h<c;h++)l(d[h])||
17
- (f=!1);return f}}});b.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){l.unhandledInvalids=!1;return l(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(f){a.removeData(this,"cachedValidity");b.data(this,"customvalidationMessage",""+f)}},willValidate:{set:a.noop,get:function(){var f={button:1,reset:1,hidden:1,image:1};return function(){var b=a(this).getNativeElement()[0];return!(b.disabled||b.readOnly||f[b.type]||b.form&&a.prop(b.form,"noValidate"))}}()},
18
- validity:{set:a.noop,get:function(){var f=a(this).getNativeElement(),d=f[0],h=a.data(d,"cachedValidity");if(h)return h;h=a.extend({},r);if(!a.prop(d,"willValidate")||"submit"==d.type)return h;var c=f.val(),g={nodeName:d.nodeName.toLowerCase()};h.customError=!!b.data(d,"customvalidationMessage");if(h.customError)h.valid=!1;a.each(m,function(a,b){if(b(f,c,g))h[a]=!0,h.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",h.valid?"false":"true");d=f=null;return h}}},"prop");b.defineNodeNamesBooleanProperty(["input",
19
- "textarea","select"],"required",{set:function(f){a(this).getShadowFocusElement().attr("aria-required",!!f+"")},initAttr:!a.browser.msie||7<b.browserVersion});b.reflectProperties(["input"],["pattern"]);var i=function(){var f,b=0,d=a([]),c=1E9,g=function(){var a=d.prop("value"),f=a.length;f>b&&f>c&&(f=Math.max(b,c),d.prop("value",a.substr(0,f)));b=f},i=function(){clearTimeout(f);d.unbind(".maxlengthconstraint")};return function(k,o){i();if(-1<o)c=o,b=a.prop(k,"value").length,d=a(k),d.bind("keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint",
20
- function(){setTimeout(g,0)}),d.bind("keyup.maxlengthconstraint",g),d.bind("blur.maxlengthconstraint",i),f=setInterval(g,200)}}();i.update=function(f,b){f===k.activeElement&&(null==b&&(b=a.prop(f,"maxlength")),i(e.target,b))};a(k).bind("focusin",function(f){var b;"TEXTAREA"==f.target.nodeName&&-1<(b=a.prop(f.target,"maxlength"))&&i(f.target,b)});b.defineNodeNameProperty("textarea","maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);i.update(this)},get:function(){var a=this.getAttribute("maxlength");
21
- return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);i.update(this,a)}else this.setAttribute("maxlength","0"),i.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==typeof a||a&&a==1*a)&&0<=a?parseInt(a,10):-1}}});b.defineNodeNameProperty("textarea","maxLength",{prop:{set:function(b){a.prop(this,"maxlength",b)},get:function(){return a.prop(this,"maxlength")}}});
22
- var u={submit:1,button:1,image:1},j={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},{name:"target"},{name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(b){var d="form"+(b.propName||b.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),
23
- c="form"+b.name,g=b.name,i="click.webshimssubmittermutate"+g,l=function(){if("form"in this&&u[this.type]){var o=a.prop(this,"form");if(o){var t=a.attr(this,c);if(null!=t&&(!b.limitedTo||t.toLowerCase()===a.prop(this,d))){var q=a.attr(o,g);a.attr(o,g,t);setTimeout(function(){if(null!=q)a.attr(o,g,q);else try{a(o).removeAttr(g)}catch(b){o.removeAttribute(g)}},9)}}}};switch(b.proptype){case "url":var m=k.createElement("form");j[d]={prop:{set:function(b){a.attr(this,c,b)},get:function(){var b=a.attr(this,
24
- c);if(null==b)return"";m.setAttribute("action",b);return m.action}}};break;case "boolean":j[d]={prop:{set:function(b){b?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":j[d]={prop:{set:function(b){a.attr(this,c,b)},get:function(){var d=a.attr(this,c);return!d||(d=d.toLowerCase())&&!b.limitedTo[d]?b.defaultProp:d}}};break;default:j[d]={prop:{set:function(b){a.attr(this,c,b)},get:function(){var b=
25
- a.attr(this,c);return null!=b?b:""}}}}j[c]||(j[c]={});j[c].attr={set:function(b){j[c].attr._supset.call(this,b);a(this).unbind(i).bind(i,l)},get:function(){return j[c].attr._supget.call(this)}};j[c].initAttr=!0;j[c].removeAttr={value:function(){a(this).unbind(i);j[c].removeAttr._supvalue.call(this)}}});b.defineNodeNamesProperties(["input","button"],j);!a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")&&b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",
26
- ""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}});b.defineNodeNameProperty("form","noValidate",{prop:{set:function(b){b?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});b.addReady(function(b,d){var c;a("form",b).add(d.filter("form")).bind("invalid",a.noop);try{if(b==k&&!("form"in(k.activeElement||{})))(c=a("input[autofocus], select[autofocus], textarea[autofocus]",b).eq(0).getShadowFocusElement()[0])&&
27
- c.offsetHeight&&c.offsetWidth&&c.focus()}catch(g){}});(function(){Modernizr.textareaPlaceholder=!!("placeholder"in a("<textarea />")[0]);if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder){var d="over"==b.cfg.forms.placeholderType,c=["textarea"];Modernizr.input.placeholder||c.push("input");var g=function(a){if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a)return a=a.createTextRange(),a.collapse(!0),a.moveEnd("character",0),a.moveStart("character",0),a.select(),!0},i=function(b,
28
- c,q,i){!1===q&&(q=a.prop(b,"value"));if(!d&&"password"!=b.type){if(!q&&i&&g(b)){var j;a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){b.value=a.prop(b,"value");c.box.removeClass("placeholder-visible");clearTimeout(j);a(b).unbind(".placeholderremove")}).bind("mousedown.placeholderremove drag.placeholderremove select.placeholderremove",function(){g(b);clearTimeout(j);j=setTimeout(function(){g(b)},9)}).bind("blur.placeholderremove",
29
- function(){clearTimeout(j);a(b).unbind(".placeholderremove")});return}b.value=q}else if(!q&&i){a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){c.box.removeClass("placeholder-visible");a(b).unbind(".placeholderremove")}).bind("blur.placeholderremove",function(){a(b).unbind(".placeholderremove")});return}c.box.removeClass("placeholder-visible")},j=function(b,c,g,h,j){if(!h&&(h=a.data(b,"placeHolder"),!h))return;a(b).unbind(".placeholderremove");
30
- if("focus"==j||!j&&b===k.activeElement)("password"==b.type||d||a(b).hasClass("placeholder-visible"))&&i(b,h,"",!0);else if(!1===c&&(c=a.prop(b,"value")),c)i(b,h,c);else if(!1===g&&(g=a.attr(b,"placeholder")||""),g&&!c){c=h;!1===g&&(g=a.prop(b,"placeholder"));if(!d&&"password"!=b.type)b.value=g;c.box.addClass("placeholder-visible")}else i(b,h,c)},l=function(b){var b=a(b),c=b.prop("id"),d=!(!b.prop("title")&&!b.attr("aria-labeledby"));!d&&c&&(d=!!a('label[for="'+c+'"]',b[0].form)[0]);d||(c||(c=a.webshims.getID(b)),
31
- d=!!a("label #"+c)[0]);return a(d?'<span class="placeholder-text"></span>':'<label for="'+c+'" class="placeholder-text"></label>')},m=function(){var b={text:1,search:1,url:1,email:1,password:1,tel:1};return{create:function(b){var c=a.data(b,"placeHolder");if(c)return c;c=a.data(b,"placeHolder",{text:l(b)});a(b).bind("focus.placeholder blur.placeholder",function(a){j(this,!1,!1,c,a.type);c.box["focus"==a.type?"addClass":"removeClass"]("placeholder-focused")});b.form&&a(b.form).bind("reset.placeholder",
32
- function(a){setTimeout(function(){j(b,!1,!1,c,a.type)},0)});if("password"==b.type||d){c.box=a(b).wrap('<span class="placeholder-box placeholder-box-'+(b.nodeName||"").toLowerCase()+'" />').parent();c.text.insertAfter(b).bind("mousedown.placeholder",function(){j(this,!1,!1,c,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1});a.each(["Left","Top"],function(d,f){var g=(parseInt(a.curCSS(b,"padding"+f),10)||0)+Math.max(parseInt(a.curCSS(b,"margin"+f),10)||0,0)+(parseInt(a.curCSS(b,
33
- "border"+f+"Width"),10)||0);c.text.css("padding"+f,g)});a.curCSS(b,"lineHeight");var g={width:a(b).width(),height:a(b).height()},h=a.curCSS(b,"float");a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(d,f){var g=a.curCSS(b,f);c.text.css(f)!=g&&c.text.css(f,g)});g.width&&g.height&&c.text.css(g);"none"!==h&&c.box.addClass("placeholder-box-"+h)}else g=function(d){a(b).hasClass("placeholder-visible")&&(i(b,c,""),d&&"submit"==d.type&&setTimeout(function(){d.isDefaultPrevented()&&j(b,
34
- !1,!1,c)},9))},a.nodeName(c.text[0],"label")&&setTimeout(function(){c.text.hide()[a.browser.msie?"insertBefore":"insertAfter"](b)},9),a(n).bind("beforeunload",g),c.box=a(b),b.form&&a(b.form).submit(g);return c},update:function(c,d){if(b[a.prop(c,"type")]||a.nodeName(c,"textarea")){var f=m.create(c);f.text.text(d);j(c,!1,d,f)}}}}();a.webshims.publicMethods={pHolder:m};c.forEach(function(a){b.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b.contentAttr(this,"placeholder",a);m.update(this,
35
- a)},get:function(){return b.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});c.forEach(function(c){var d={},f;["attr","prop"].forEach(function(c){d[c]={set:function(d){var g=b.contentAttr(this,"placeholder");a.removeData(this,"cachedValidity");var h=f[c]._supset.call(this,d);g&&"value"in this&&j(this,d,g);return h},get:function(){return a(this).hasClass("placeholder-visible")?"":f[c]._supget.call(this)}}});f=b.defineNodeNameProperty(c,"value",d)})}})()});
36
- jQuery.webshims.ready("dom-support",function(a,b,n,k){(function(){if(!("value"in k.createElement("output"))){b.defineNodeNameProperty("output","value",{prop:{set:function(b){var d=a.data(this,"outputShim");d||(d=p(this));d(b)},get:function(){return b.contentAttr(this,"value")||a(this).text()||""}}});b.onNodeNamesPropertyModify("input","value",function(b,d,g){"removeAttr"!=g&&(d=a.data(this,"outputShim"))&&d(b)});var p=function(c){if(!c.getAttribute("aria-live")){var c=a(c),d=(c.text()||"").trim(),
37
- g=c.attr("id"),r=c.attr("for"),m=a('<input class="output-shim" type="text" disabled name="'+(c.attr("name")||"")+'" value="'+d+'" style="display: none !important;" />').insertAfter(c),s=m[0].form||k,l=function(a){m[0].value=a;a=m[0].value;c.text(a);b.contentAttr(c[0],"value",a)};c[0].defaultValue=d;b.contentAttr(c[0],"value",d);c.attr({"aria-live":"polite"});g&&(m.attr("id",g),c.attr("aria-labeldby",b.getID(a('label[for="'+g+'"]',s))));r&&(g=b.getID(c),r.split(" ").forEach(function(a){(a=k.getElementById(a))&&
38
- a.setAttribute("aria-controls",g)}));c.data("outputShim",l);m.data("outputShim",l);return l}};b.addReady(function(b,d){a("output",b).add(d.filter("output")).each(function(){p(this)})})}})();(function(){var p={updateInput:1,input:1},c={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},d=function(a){var c,d=a.prop("value"),k=function(c){if(a){var f=a.prop("value");f!==d&&(d=f,(!c||!p[c.type])&&b.triggerInlineForm&&b.triggerInlineForm(a[0],"input"))}},l,i=function(){clearTimeout(l);
39
- l=setTimeout(k,9)},n=function(){a.unbind("focusout",n).unbind("keyup keypress keydown paste cut",i).unbind("input change updateInput",k);clearInterval(c);setTimeout(function(){k();a=null},1)};clearInterval(c);c=setInterval(k,99);i();a.bind("keyup keypress keydown paste cut",i).bind("focusout",n).bind("input updateInput change",k)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(k).bind("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||
40
- "").toLowerCase()&&!c[b.target.type]&&d(a(b.target))})})();b.isReady("form-output",!0)});
5
+ checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}};["select","radio"].forEach(function(a){c.de.valueMissing[a]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(a){c.de.rangeUnderflow[a]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(a){c.de.rangeOverflow[a]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});var g=
6
+ c[""];b.createValidationMessage=function(b,c){var d=g[c];d&&"string"!==typeof d&&(d=d[a.prop(b,"type")]||d[(b.nodeName||"").toLowerCase()]||d.defaultMessage);d&&"value,min,max,title,maxlength,label".split(",").forEach(function(c){if(-1!==d.indexOf("{%"+c)){var j=("label"==c?a.trim(a('label[for="'+b.id+'"]',b.form).text()).replace(/\*$|:$/,""):a.attr(b,c))||"";d=d.replace("{%"+c+"}",j);"value"==c&&(d=d.replace("{%valueLen}",j.length))}});return d||""};(b.bugs.validationMessage||!Modernizr.formvalidation||
7
+ b.bugs.bustedValidity)&&n.push("validationMessage");b.activeLang({langObj:c,module:"form-core",callback:function(a){g=a}});Modernizr.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&b.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var c=a("select",this);if(c[0]&&c[0].options&&c[0].options.length)b=c[0].options}return b}}});n.forEach(function(c){b.defineNodeNamesProperty(["fieldset",
8
+ "output","button"],c,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(d){var g=b.defineNodeNameProperty(d,c,{prop:{get:function(){var c=this,d="";if(!a.prop(c,"willValidate"))return d;var i=a.prop(c,"validity")||{valid:1};if(i.valid||(d=b.getContentValidationMessage(c,i)))return d;if(i.customError&&c.nodeName&&(d=Modernizr.formvalidation&&!b.bugs.bustedValidity&&g.prop._supget?g.prop._supget.call(c):b.data(c,"customvalidationMessage")))return d;a.each(i,function(a,f){if("valid"!=
9
+ a&&f&&(d=b.createValidationMessage(c,a)))return!1});return d||""},writeable:!1}})})})});
10
+ (!Modernizr.formvalidation||jQuery.webshims.bugs.bustedValidity)&&jQuery.webshims.register("form-extend",function(a,b,n,i){b.inputTypes=b.inputTypes||{};var p=b.cfg.forms,d,c=b.inputTypes,g={radio:1,checkbox:1};b.addInputType=function(a,b){c[a]=b};var r={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},m={valueMissing:function(f,c,h){if(!f.prop("required"))return!1;var d=!1;if(!("type"in h))h.type=(f[0].getAttribute("type")||
11
+ f[0].type||"").toLowerCase();if("select"==h.nodeName){if(c=!c)if(!(c=0>f[0].selectedIndex))f=f[0],c="select-one"==f.type&&2>f.size?!!a("> option:first-child",f).prop("selected"):!1;f=c}else f=g[h.type]?"checkbox"==h.type?!f.is(":checked"):!b.modules["form-core"].getGroupElements(f).filter(":checked")[0]:!c;return f},tooLong:function(){return!1},typeMismatch:function(a,b,h){if(""===b||"select"==h.nodeName)return!1;var d=!1;if(!("type"in h))h.type=(a[0].getAttribute("type")||a[0].type||"").toLowerCase();
12
+ c[h.type]&&c[h.type].mismatch&&(d=c[h.type].mismatch(b,a));return d},patternMismatch:function(a,c,h){if(""===c||"select"==h.nodeName)return!1;a=a.attr("pattern");if(!a)return!1;try{a=RegExp("^(?:"+a+")$")}catch(d){b.error('invalid pattern value: "'+a+'" | '+d),a=!1}return!a?!1:!a.test(c)}};b.addValidityRule=function(a,b){m[a]=b};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var f=this.form||this;if(!a.data(f,"invalidEventShim")&&(a(f).data("invalidEventShim",
13
+ !0).bind("submit",a.event.special.invalid.handler),b.moveToFirstEvent(f,"submit"),b.bugs.bustedValidity&&a.nodeName(f,"form"))){var c=f.getAttribute("novalidate");f.setAttribute("novalidate","novalidate");b.data(f,"bustedNoValidate",null==c?null:c)}},teardown:a.noop,handler:function(f){if(!("submit"!=f.type||f.testedValidity||!f.originalEvent||!a.nodeName(f.target,"form")||a.prop(f.target,"noValidate"))){d=!0;f.testedValidity=!0;if(!a(f.target).checkValidity())return f.stopImmediatePropagation(),
14
+ d=!1;d=!1}}};a(i).bind("invalid",a.noop);a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var s=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){a.nodeName(this,"form")?a(this).bind("invalid",a.noop):a("form",this).bind("invalid",a.noop);return s.apply(this,arguments)}});b.addInputType("email",{mismatch:function(){var a=p.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(b){return!a.test(b)}}()});
15
+ b.addInputType("url",{mismatch:function(){var a=p.urlReg||/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;
16
+ return function(b){return!a.test(b)}}()});b.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return b.inputTypes[a]?a:this.type}}});b.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},r)}}},"prop");var l=function(f){var c,h=a.prop(f,"validity");if(h)a.data(f,"cachedValidity",
17
+ h);else return!0;if(!h.valid){c=a.Event("invalid");var g=a(f).trigger(c);if(d&&!l.unhandledInvalids&&!c.isDefaultPrevented())b.validityAlert.showFor(g),l.unhandledInvalids=!0}a.removeData(f,"cachedValidity");return h.valid};b.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var f=!0,c=a("input,textarea,select",this).filter(function(){var a=b.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});l.unhandledInvalids=!1;for(var h=0,d=c.length;h<d;h++)l(c[h])||
18
+ (f=!1);return f}}});b.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){l.unhandledInvalids=!1;return l(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(f){a.removeData(this,"cachedValidity");b.data(this,"customvalidationMessage",""+f)}},willValidate:{set:a.noop,get:function(){var f={button:1,reset:1,hidden:1,image:1};return function(){var b=a(this).getNativeElement()[0];return!(b.disabled||b.readOnly||f[b.type])}}()},validity:{set:a.noop,get:function(){var f=
19
+ a(this).getNativeElement(),c=f[0],h=a.data(c,"cachedValidity");if(h)return h;h=a.extend({},r);if(!a.prop(c,"willValidate")||"submit"==c.type)return h;var d=f.val(),g={nodeName:c.nodeName.toLowerCase()};h.customError=!!b.data(c,"customvalidationMessage");if(h.customError)h.valid=!1;a.each(m,function(a,b){if(b(f,d,g))h[a]=!0,h.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",h.valid?"false":"true");c=f=null;return h}}},"prop");b.defineNodeNamesBooleanProperty(["input","textarea","select"],
20
+ "required",{set:function(f){a(this).getShadowFocusElement().attr("aria-required",!!f+"")},initAttr:!a.browser.msie||7<b.browserVersion});b.reflectProperties(["input"],["pattern"]);if(!("maxLength"in i.createElement("textarea"))){var j=function(){var f,b=0,c=a([]),d=1E9,g=function(){var a=c.prop("value"),f=a.length;f>b&&f>d&&(f=Math.max(b,d),c.prop("value",a.substr(0,f)));b=f},j=function(){clearTimeout(f);c.unbind(".maxlengthconstraint")};return function(i,o){j();if(-1<o)d=o,b=a.prop(i,"value").length,
21
+ c=a(i),c.bind("keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint",function(){setTimeout(g,0)}),c.bind("keyup.maxlengthconstraint",g),c.bind("blur.maxlengthconstraint",j),f=setInterval(g,200)}}();j.update=function(f,b){f===i.activeElement&&(null==b&&(b=a.prop(f,"maxlength")),j(e.target,b))};a(i).bind("focusin",function(f){var b;"TEXTAREA"==f.target.nodeName&&-1<(b=a.prop(f.target,"maxlength"))&&j(f.target,b)});b.defineNodeNameProperty("textarea",
22
+ "maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);j.update(this)},get:function(){var a=this.getAttribute("maxlength");return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);j.update(this,a)}else this.setAttribute("maxlength","0"),j.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==typeof a||a&&a==1*a)&&0<=a?parseInt(a,10):-1}}});b.defineNodeNameProperty("textarea",
23
+ "maxLength",{prop:{set:function(b){a.prop(this,"maxlength",b)},get:function(){return a.prop(this,"maxlength")}}})}var u={submit:1,button:1,image:1},k={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},{name:"target"},{name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(b){var c=
24
+ "form"+(b.propName||b.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),d="form"+b.name,g=b.name,j="click.webshimssubmittermutate"+g,l=function(){if("form"in this&&u[this.type]){var o=a.prop(this,"form");if(o){var t=a.attr(this,d);if(null!=t&&(!b.limitedTo||t.toLowerCase()===a.prop(this,c))){var q=a.attr(o,g);a.attr(o,g,t);setTimeout(function(){if(null!=q)a.attr(o,g,q);else try{a(o).removeAttr(g)}catch(b){o.removeAttribute(g)}},9)}}}};switch(b.proptype){case "url":var m=i.createElement("form");
25
+ k[c]={prop:{set:function(b){a.attr(this,d,b)},get:function(){var b=a.attr(this,d);if(null==b)return"";m.setAttribute("action",b);return m.action}}};break;case "boolean":k[c]={prop:{set:function(b){b?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":k[c]={prop:{set:function(b){a.attr(this,d,b)},get:function(){var c=a.attr(this,d);return!c||(c=c.toLowerCase())&&!b.limitedTo[c]?b.defaultProp:
26
+ c}}};break;default:k[c]={prop:{set:function(b){a.attr(this,d,b)},get:function(){var b=a.attr(this,d);return null!=b?b:""}}}}k[d]||(k[d]={});k[d].attr={set:function(b){k[d].attr._supset.call(this,b);a(this).unbind(j).bind(j,l)},get:function(){return k[d].attr._supget.call(this)}};k[d].initAttr=!0;k[d].removeAttr={value:function(){a(this).unbind(j);k[d].removeAttr._supvalue.call(this)}}});b.defineNodeNamesProperties(["input","button"],k);!a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")?
27
+ b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}}):b.bugs.bustedValidity&&b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){b.data(this,"bustedNoValidate",""+a)},get:function(){var a=b.data(this,"bustedNoValidate");return null==a?void 0:a}},removeAttr:{value:function(){b.data(this,"bustedNoValidate",null)}}});b.defineNodeNameProperty("form","noValidate",
28
+ {prop:{set:function(b){b?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});b.addReady(function(b,c){var d;a("form",b).add(c.filter("form")).bind("invalid",a.noop);try{if(b==i&&!("form"in(i.activeElement||{})))(d=a("input[autofocus], select[autofocus], textarea[autofocus]",b).eq(0).getShadowFocusElement()[0])&&d.offsetHeight&&d.offsetWidth&&d.focus()}catch(g){}});(function(){Modernizr.textareaPlaceholder=!!("placeholder"in
29
+ a("<textarea />")[0]);if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder){var c="over"==b.cfg.forms.placeholderType,d=["textarea"];Modernizr.input.placeholder||d.push("input");var g=function(a){if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a)return a=a.createTextRange(),a.collapse(!0),a.moveEnd("character",0),a.moveStart("character",0),a.select(),!0},j=function(b,d,q,j){!1===q&&(q=a.prop(b,"value"));if(!c&&"password"!=b.type){if(!q&&j&&g(b)){var k;a(b).unbind(".placeholderremove").bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",
30
+ function(c){if(!c||!(17==c.keyCode||16==c.keyCode))b.value=a.prop(b,"value"),d.box.removeClass("placeholder-visible"),clearTimeout(k),a(b).unbind(".placeholderremove")}).bind("mousedown.placeholderremove drag.placeholderremove select.placeholderremove",function(){g(b);clearTimeout(k);k=setTimeout(function(){g(b)},9)}).bind("blur.placeholderremove",function(){clearTimeout(k);a(b).unbind(".placeholderremove")});return}b.value=q}else if(!q&&j){a(b).unbind(".placeholderremove").bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",
31
+ function(c){if(!c||!(17==c.keyCode||16==c.keyCode))d.box.removeClass("placeholder-visible"),a(b).unbind(".placeholderremove")}).bind("blur.placeholderremove",function(){a(b).unbind(".placeholderremove")});return}d.box.removeClass("placeholder-visible")},k=function(b,d,g,h,k){if(!h&&(h=a.data(b,"placeHolder"),!h))return;a(b).unbind(".placeholderremove");if("focus"==k||!k&&b===i.activeElement)("password"==b.type||c||a(b).hasClass("placeholder-visible"))&&j(b,h,"",!0);else if(!1===d&&(d=a.prop(b,"value")),
32
+ d)j(b,h,d);else if(!1===g&&(g=a.attr(b,"placeholder")||""),g&&!d){d=h;!1===g&&(g=a.prop(b,"placeholder"));if(!c&&"password"!=b.type)b.value=g;d.box.addClass("placeholder-visible")}else j(b,h,d)},l=function(b){var b=a(b),c=b.prop("id"),d=!(!b.prop("title")&&!b.attr("aria-labelledby"));!d&&c&&(d=!!a('label[for="'+c+'"]',b[0].form)[0]);d||(c||(c=a.webshims.getID(b)),d=!!a("label #"+c)[0]);return a(d?'<span class="placeholder-text"></span>':'<label for="'+c+'" class="placeholder-text"></label>')},m=function(){var d=
33
+ {text:1,search:1,url:1,email:1,password:1,tel:1};return{create:function(b){var d=a.data(b,"placeHolder");if(d)return d;d=a.data(b,"placeHolder",{});a(b).bind("focus.placeholder blur.placeholder",function(a){k(this,!1,!1,d,a.type);d.box["focus"==a.type?"addClass":"removeClass"]("placeholder-focused")});b.form&&a(b.form).bind("reset.placeholder",function(a){setTimeout(function(){k(b,!1,!1,d,a.type)},0)});if("password"==b.type||c){d.text=l(b);d.box=a(b).wrap('<span class="placeholder-box placeholder-box-'+
34
+ (b.nodeName||"").toLowerCase()+'" />').parent();d.text.insertAfter(b).bind("mousedown.placeholder",function(){k(this,!1,!1,d,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1});a.each(["Left","Top"],function(c,f){var g=(parseInt(a.curCSS(b,"padding"+f),10)||0)+Math.max(parseInt(a.curCSS(b,"margin"+f),10)||0,0)+(parseInt(a.curCSS(b,"border"+f+"Width"),10)||0);d.text.css("padding"+f,g)});a.curCSS(b,"lineHeight");var g={width:a(b).width(),height:a(b).height()},h=a.curCSS(b,"float");
35
+ a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(c,f){var g=a.curCSS(b,f);d.text.css(f)!=g&&d.text.css(f,g)});g.width&&g.height&&d.text.css(g);"none"!==h&&d.box.addClass("placeholder-box-"+h)}else g=function(c){a(b).hasClass("placeholder-visible")&&(j(b,d,""),c&&"submit"==c.type&&setTimeout(function(){c.isDefaultPrevented()&&k(b,!1,!1,d)},9))},a(n).bind("beforeunload",g),d.box=a(b),b.form&&a(b.form).submit(g);return d},update:function(c,f){if(!d[a.prop(c,"type")]&&!a.nodeName(c,
36
+ "textarea"))b.warn("placeholder not allowed on type: "+a.prop(c,"type"));else{var g=m.create(c);g.text&&g.text.text(f);k(c,!1,f,g)}}}}();a.webshims.publicMethods={pHolder:m};d.forEach(function(a){b.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b.contentAttr(this,"placeholder",a);m.update(this,a)},get:function(){return b.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});d.forEach(function(c){var d={},f;["attr","prop"].forEach(function(c){d[c]={set:function(d){var g=b.contentAttr(this,
37
+ "placeholder");a.removeData(this,"cachedValidity");var h=f[c]._supset.call(this,d);g&&"value"in this&&k(this,d,g);return h},get:function(){return a(this).hasClass("placeholder-visible")?"":f[c]._supget.call(this)}}});f=b.defineNodeNameProperty(c,"value",d)})}})()});
38
+ jQuery.webshims.ready("dom-support",function(a,b,n,i){(function(){if(!("value"in i.createElement("output"))){b.defineNodeNameProperty("output","value",{prop:{set:function(b){var c=a.data(this,"outputShim");c||(c=p(this));c(b)},get:function(){return b.contentAttr(this,"value")||a(this).text()||""}}});b.onNodeNamesPropertyModify("input","value",function(b,c,g){"removeAttr"!=g&&(c=a.data(this,"outputShim"))&&c(b)});var p=function(d){if(!d.getAttribute("aria-live")){var d=a(d),c=(d.text()||"").trim(),
39
+ g=d.attr("id"),r=d.attr("for"),m=a('<input class="output-shim" type="text" disabled name="'+(d.attr("name")||"")+'" value="'+c+'" style="display: none !important;" />').insertAfter(d),s=m[0].form||i,l=function(a){m[0].value=a;a=m[0].value;d.text(a);b.contentAttr(d[0],"value",a)};d[0].defaultValue=c;b.contentAttr(d[0],"value",c);d.attr({"aria-live":"polite"});g&&(m.attr("id",g),d.attr("aria-labelledby",b.getID(a('label[for="'+g+'"]',s))));r&&(g=b.getID(d),r.split(" ").forEach(function(a){(a=i.getElementById(a))&&
40
+ a.setAttribute("aria-controls",g)}));d.data("outputShim",l);m.data("outputShim",l);return l}};b.addReady(function(b,c){a("output",b).add(c.filter("output")).each(function(){p(this)})})}})();(function(){var p={updateInput:1,input:1},d={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},c=function(a){var c,d=a.prop("value"),i=function(c){if(a){var f=a.prop("value");f!==d&&(d=f,(!c||!p[c.type])&&b.triggerInlineForm&&b.triggerInlineForm(a[0],"input"))}},l,j=function(){clearTimeout(l);
41
+ l=setTimeout(i,9)},n=function(){a.unbind("focusout",n).unbind("keyup keypress keydown paste cut",j).unbind("input change updateInput",i);clearInterval(c);setTimeout(function(){i();a=null},1)};clearInterval(c);c=setInterval(i,99);j();a.bind("keyup keypress keydown paste cut",j).bind("focusout",n).bind("input updateInput change",i)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(i).bind("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||
42
+ "").toLowerCase()&&!d[b.target.type]&&c(a(b.target))})})();b.isReady("form-output",!0)});
@@ -1,56 +1,57 @@
1
- (function(){var a=Function.prototype.call,e=Object.prototype,j=Array.prototype.slice,i,g;if(!Function.prototype.bind)Function.prototype.bind=function(a){var f=this;if("function"!=typeof f)throw new TypeError;var m=j.call(arguments,1),c=function(){if(this instanceof c){var b=function(){};b.prototype=f.prototype;var b=new b,g=f.apply(b,m.concat(j.call(arguments)));return null!==g&&Object(g)===g?g:b}return f.apply(a,m.concat(j.call(arguments)))};return c};g=a.bind(e.toString);i=a.bind(e.hasOwnProperty);
1
+ (function(){var a=Function.prototype.call,e=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),c=function(){if(this instanceof c){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 c};g=a.bind(e.toString);j=a.bind(e.hasOwnProperty);
2
2
  if(!Array.isArray)Array.isArray=function(a){return"[object Array]"==g(a)};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,f){var m=q(this),c=0,b=m.length>>>0;if("[object Function]"!=g(a))throw new TypeError;for(;c<b;)c in m&&a.call(f,m[c],c,m),c++};if(!Array.prototype.map)Array.prototype.map=function(a,f){var b=q(this),c=b.length>>>0,e=Array(c);if("[object Function]"!=g(a))throw new TypeError;for(var h=0;h<c;h++)h in b&&(e[h]=a.call(f,b[h],h,b));return e};if(!Array.prototype.filter)Array.prototype.filter=
3
- function(a,b){var f=q(this),c=f.length>>>0,e=[];if("[object Function]"!=g(a))throw new TypeError;for(var h=0;h<c;h++)h in f&&a.call(b,f[h],h,f)&&e.push(f[h]);return e};if(!Array.prototype.every)Array.prototype.every=function(a,f){var b=q(this),c=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;for(var e=0;e<c;e++)if(e in b&&!a.call(f,b[e],e,b))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,f){var b=q(this),c=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;
4
- for(var e=0;e<c;e++)if(e in b&&a.call(f,b[e],e,b))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var b=q(this),f=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!f&&1==arguments.length)throw new TypeError;var c=0,e;if(2<=arguments.length)e=arguments[1];else{do{if(c in b){e=b[c++];break}if(++c>=f)throw new TypeError;}while(1)}for(;c<f;c++)c in b&&(e=a.call(void 0,e,b[c],c,b));return e};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var b=
5
- q(this),f=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!f&&1==arguments.length)throw new TypeError;var c,f=f-1;if(2<=arguments.length)c=arguments[1];else{do{if(f in b){c=b[f--];break}if(0>--f)throw new TypeError;}while(1)}do f in this&&(c=a.call(void 0,c,b[f],f,b));while(f--);return c};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=q(this),f=b.length>>>0;if(!f)return-1;var c=0;1<arguments.length&&(c=v(arguments[1]));for(c=0<=c?c:f-Math.abs(c);c<f;c++)if(c in
6
- b&&b[c]===a)return c;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(b){var a=q(this),f=a.length>>>0;if(!f)return-1;var c=f-1;1<arguments.length&&(c=v(arguments[1]));for(c=0<=c?c:f-Math.abs(c);0<=c;c--)if(c in a&&b===a[c])return c;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"!=
7
- typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var e=[],g;for(g in a)i(a,g)&&e.push(g);if(f)for(g=0;g<y;g++){var c=b[g];i(a,c)&&e.push(c)}return e}}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"+
8
- 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=
9
- 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},t="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return t&&"string"==typeof a&&a?a.split(""):Object(a)}})();
10
- (function(a,e){var j=!(!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor);j&&!a.browser.msie&&Object.defineProperty&&Object.prototype.__defineGetter__&&function(){try{var a=document.createElement("foo");Object.defineProperty(a,"bar",{get:function(){return!0}});j=!!a.bar}catch(f){j=!1}a=null}();Modernizr.objectAccessor=!(!(j||Object.prototype.__defineGetter__&&Object.prototype.__lookupSetter__)||a.browser.opera&&!(11<=e.browserVersion));Modernizr.advancedObjectProperties=j;
11
- if(!j||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var i=Function.prototype.call.bind(Object.prototype.hasOwnProperty);e.objectCreate=function(a,f,b,i){var k;k=function(){};k.prototype=a;k=new k;if(!i&&!("__proto__"in k)&&!Modernizr.objectAccessor)k.__proto__=a;f&&e.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};e.defineProperties=function(a,
12
- f){for(var b in f)i(f,b)&&e.defineProperty(a,b,f[b]);return a};e.defineProperty=function(a,f,b){if("object"!=typeof b||null===b)return a;if(i(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};e.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};e.getOwnPropertyDescriptor=function(a,f){if("object"!==
13
- 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(e){}b={configurable:!0,enumerable:!0,writable:!0,value:void 0};var k=a.__lookupGetter__&&a.__lookupGetter__(f),j=a.__lookupSetter__&&a.__lookupSetter__(f);if(!k&&!j){if(!i(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=
14
- k;if(j)b.set=j;return b}}})(jQuery,jQuery.webshims);
15
- (function(a,e,j){var i=e.audio&&e.video,g=!1;if(i)a=document.createElement("video"),e.videoBuffered="buffered"in a,g="loop"in a,j.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),e.videoBuffered||(j.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:e.videoBuffered,d:["dom-support"]}),j.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,e,k,j){var h=b.mediaelement,v=b.cfg.mediaelement,
3
+ function(a,b){var f=q(this),c=f.length>>>0,e=[];if("[object Function]"!=g(a))throw new TypeError;for(var h=0;h<c;h++)h in f&&a.call(b,f[h],h,f)&&e.push(f[h]);return e};if(!Array.prototype.every)Array.prototype.every=function(a,f){var b=q(this),c=b.length>>>0;if("[object Function]"!=g(a))throw new TypeError;for(var e=0;e<c;e++)if(e in b&&!a.call(f,b[e],e,b))return!1;return!0};if(!Array.prototype.some)Array.prototype.some=function(a,b){var f=q(this),c=f.length>>>0;if("[object Function]"!=g(a))throw new TypeError;
4
+ for(var e=0;e<c;e++)if(e in f&&a.call(b,f[e],e,f))return!0;return!1};if(!Array.prototype.reduce)Array.prototype.reduce=function(a){var f=q(this),b=f.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var c=0,e;if(2<=arguments.length)e=arguments[1];else{do{if(c in f){e=f[c++];break}if(++c>=b)throw new TypeError;}while(1)}for(;c<b;c++)c in f&&(e=a.call(void 0,e,f[c],c,f));return e};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function(a){var f=
5
+ q(this),b=f.length>>>0;if("[object Function]"!=g(a))throw new TypeError;if(!b&&1==arguments.length)throw new TypeError;var c,b=b-1;if(2<=arguments.length)c=arguments[1];else{do{if(b in f){c=f[b--];break}if(0>--b)throw new TypeError;}while(1)}do b in this&&(c=a.call(void 0,c,f[b],b,f));while(b--);return c};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var f=q(this),b=f.length>>>0;if(!b)return-1;var c=0;1<arguments.length&&(c=w(arguments[1]));for(c=0<=c?c:b-Math.abs(c);c<b;c++)if(c in
6
+ f&&f[c]===a)return c;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a){var f=q(this),b=f.length>>>0;if(!b)return-1;var c=b-1;1<arguments.length&&(c=w(arguments[1]));for(c=0<=c?c:b-Math.abs(c);0<=c;c--)if(c in f&&a===f[c])return c;return-1};if(!Object.keys){var f=!0,b="toString,toLocaleString,valueOf,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,constructor".split(","),z=b.length,k;for(k in{toString:null})f=!1;Object.keys=function(a){if("object"!=typeof a&&"function"!=
7
+ typeof a||null===a)throw new TypeError("Object.keys called on a non-object");var e=[],g;for(g in a)j(a,g)&&e.push(g);if(f)for(g=0;g<z;g++){var c=b[g];j(a,c)&&e.push(c)}return e}}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"+
8
+ 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+"]",A=RegExp("^"+a+a+"*"),h=
9
+ RegExp(a+a+"*$");String.prototype.trim=function(){return(""+this).replace(A,"").replace(h,"")}}var w=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},t="a"!="a"[0],q=function(a){if(null==a)throw new TypeError;return t&&"string"==typeof a&&a?a.split(""):Object(a)}})();
10
+ (function(a,e){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<=e.browserVersion));Modernizr.advancedObjectProperties=i;
11
+ if(!i||!Object.create||!Object.defineProperties||!Object.getOwnPropertyDescriptor||!Object.defineProperty){var j=Function.prototype.call.bind(Object.prototype.hasOwnProperty);e.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&&e.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};e.defineProperties=function(a,
12
+ f){for(var b in f)j(f,b)&&e.defineProperty(a,b,f[b]);return a};e.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};e.getPrototypeOf=function(a){return Object.getPrototypeOf&&Object.getPrototypeOf(a)||a.__proto__||a.constructor&&a.constructor.prototype};e.getOwnPropertyDescriptor=function(a,f){if("object"!==
13
+ 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(e){}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=
14
+ k;if(i)b.set=i;return b}}})(jQuery,jQuery.webshims);
15
+ (function(a,e,i){var j=e.audio&&e.video,g=!1;if(j)a=document.createElement("video"),e.videoBuffered="buffered"in a,g="loop"in a,i.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),e.videoBuffered||(i.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:e.videoBuffered,d:["dom-support"]}),i.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,e,k,i){var h=b.mediaelement,w=b.cfg.mediaelement,
16
16
  t=function(o,e){var o=a(o),c={src:o.attr("src")||"",elem:o,srcProp:o.prop("src")};if(!c.src)return c;var n=o.attr("type");if(n)c.type=n,c.container=a.trim(n.split(";")[0]);else if(e||(e=o[0].nodeName.toLowerCase(),"source"==e&&(e=(o.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),n=h.getTypeForSrc(c.src,e))c.type=n,c.container=n,b.warn("you should always provide a proper mime-type using the source element. "+c.src+" detected as: "+n),a.nodeName(o[0],"source")&&o.attr("type",
17
- n);if(n=o.attr("media"))c.media=n;return c},q=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"],i)})};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",
17
+ n);if(n=o.attr("media"))c.media=n;return c},q=swfobject.hasFlashPlayerVersion("9.0.115"),y=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",
18
18
  "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";
19
19
  var b=b.split("?")[0].split("."),b=b[b.length-1],e;a.each(h.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return e=a,!1});return e};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=[],e=b[0].nodeName.toLowerCase(),
20
- h=t(b,e);h.src?c.push(h):a("source",b).each(function(){h=t(this,e);h.src&&c.push(h)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==j&&(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(",");
21
- h.canSwfPlaySrces=function(b,c){var e="";q&&(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 e=b,!1}));return e};var p={};h.canNativePlaySrces=function(b,c){var e="";if(i){var b=a(b),n=(b[0].nodeName||"").toLowerCase();if(!p[n])return e;c=c||h.srces(b);a.each(c,function(a,c){if(c.type&&p[n].prop._supvalue.call(b[0],c.type))return e=c,!1})}return e};h.setError=function(c,e){e||(e="can't play sources");a(c).pause().data("mediaerror",
22
- e);b.warn("mediaelementError: "+e);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var m=function(){var a;return function(c,e,f){b.ready("mediaelement-swf",function(){h.createSWF?h.createSWF(c,e,f):a||(a=!0,x(),m(c,e,f))})}}(),c=function(a,b,e,f,g){e||!1!==e&&b&&"flash"==b.isActive?(e=h.canSwfPlaySrces(a,f))?m(a,e,b):g?h.setError(a,!1):c(a,b,!1,f,!0):(e=h.canNativePlaySrces(a,f))?b&&"flash"==b.isActive&&h.setActive(a,"html5",b):g?(h.setError(a,!1),b&&"flash"==b.isActive&&
23
- h.setActive(a,"html5",b)):c(a,b,!0,f,!0)},C=/^(?:embed|object|datalist)$/i,u=function(e,g){var k=b.data(e,"mediaelementBase")||b.data(e,"mediaelementBase",{}),n=h.srces(e),i=e.parentNode;clearTimeout(k.loadTimer);a.data(e,"mediaerror",!1);if(n.length&&i&&!(1!=i.nodeType||C.test(i.nodeName||"")))g=g||b.data(e,"mediaelement"),c(e,g,v.preferFlash||j,n)};a(k).bind("ended",function(c){var e=b.data(c.target,"mediaelement");(!g||e&&"html5"!=e.isActive||a.prop(c.target,"loop"))&&setTimeout(function(){!a.prop(c.target,
24
- "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 e=b.defineNodeNameProperty(c,"load",{prop:{value:function(){var a=b.data(this,"mediaelement");u(this,a);i&&(!a||"html5"==a.isActive)&&e.prop._supvalue&&e.prop._supvalue.apply(this,arguments)}}});p[c]=b.defineNodeNameProperty(c,"canPlayType",{prop:{value:function(b){var e="";i&&p[c].prop._supvalue&&(e=p[c].prop._supvalue.call(this,
25
- b),"no"==e&&(e=""));!e&&q&&(b=a.trim((b||"").split(";")[0]),-1!=h.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});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)}});i&&b.isReady("mediaelement-core",!0);b.addReady(function(c,e){a("video, audio",c).add(e.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&
26
- 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(i){var c,e,h=this,g=function(){var b=a.prop(h,"buffered");if(b){for(var c="",e=0,g=b.length;e<g;e++)c+=b.end(e);return c}},k=function(){var b=g();b!=e&&(e=b,a(h).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(e=g());clearTimeout(c);c=setTimeout(k,999)}).bind("emptied stalled mediaerror abort suspend",
27
- function(a){"emptied"==a.type&&(e=!1);clearTimeout(c)})}})});i&&q&&b.ready("WINDOWLOAD mediaelement",x)})})(jQuery,Modernizr,jQuery.webshims);
28
- jQuery.webshims.register("mediaelement-swf",function(a,e,j,i,g,f){var b=e.mediaelement,y=j.swfobject,k=Modernizr.audio&&Modernizr.video,z=y.hasFlashPlayerVersion("9.0.115"),h=0,j={paused:!0,ended:!1,currentSrc:"",duration:j.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(a){if(a)e.error("buffered index size error");else return 0},end:function(a){if(a)e.error("buffered index size error");else return 0},length:0}},v=Object.keys(j),t={currentTime:0,volume:1,
29
- muted:!1};Object.keys(t);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:g},j,t),x=/^jwplayer-/,p=function(a){if(a=i.getElementById(a.replace(x,"")))return a=e.data(a,"mediaelement"),"flash"==a.isActive?a:null},m=function(a){return(a=e.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},c=function(l,d){d=a.Event(d);d.preventDefault();a.event.trigger(d,g,l)},C=f.playerPath||e.cfg.basePath+
30
- "jwplayer/"+(f.playerName||"player.swf"),u=f.pluginPath||e.cfg.basePath+"swf/jwwebshims.swf";e.extendUNDEFProp(f.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});e.extendUNDEFProp(f.jwVars,{screencolor:"ffffffff"});e.extendUNDEFProp(f.jwAttrs,{bgcolor:"#000000"});var o=function(l,d){var e=l.duration;if(!(e&&0<l._durationCalcs)){try{if(l.duration=l.jwapi.getPlaylist()[0].duration,!l.duration||0>=l.duration||l.duration===l._lastDuration)l.duration=e}catch(f){}l.duration&&
20
+ h=t(b,e);h.src?c.push(h):a("source",b).each(function(){h=t(this,e);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(",");
21
+ h.canSwfPlaySrces=function(b,c){var e="";q&&(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 e=b,!1}));return e};var p={};h.canNativePlaySrces=function(b,c){var e="";if(j){var b=a(b),n=(b[0].nodeName||"").toLowerCase();if(!p[n])return e;c=c||h.srces(b);a.each(c,function(a,c){if(c.type&&p[n].prop._supvalue.call(b[0],c.type))return e=c,!1})}return e};h.setError=function(c,e){e||(e="can't play sources");a(c).pause().data("mediaerror",
22
+ e);b.warn("mediaelementError: "+e);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var m=function(){var a;return function(c,e,f){b.ready("mediaelement-swf",function(){h.createSWF?h.createSWF(c,e,f):a||(a=!0,y(),m(c,e,f))})}}(),c=function(a,b,e,f,g){e||!1!==e&&b&&"flash"==b.isActive?(e=h.canSwfPlaySrces(a,f))?m(a,e,b):g?h.setError(a,!1):c(a,b,!1,f,!0):(e=h.canNativePlaySrces(a,f))?b&&"flash"==b.isActive&&h.setActive(a,"html5",b):g?(h.setError(a,!1),b&&"flash"==b.isActive&&
23
+ h.setActive(a,"html5",b)):c(a,b,!0,f,!0)},D=/^(?:embed|object|datalist)$/i,v=function(e,g){var k=b.data(e,"mediaelementBase")||b.data(e,"mediaelementBase",{}),n=h.srces(e),j=e.parentNode;clearTimeout(k.loadTimer);a.data(e,"mediaerror",!1);if(n.length&&j&&!(1!=j.nodeType||D.test(j.nodeName||"")))g=g||b.data(e,"mediaelement"),c(e,g,w.preferFlash||i,n)};a(k).bind("ended",function(c){var e=b.data(c.target,"mediaelement");(!g||e&&"html5"!=e.isActive||a.prop(c.target,"loop"))&&setTimeout(function(){!a.prop(c.target,
24
+ "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 e=b.defineNodeNameProperty(c,"load",{prop:{value:function(){var a=b.data(this,"mediaelement");v(this,a);j&&(!a||"html5"==a.isActive)&&e.prop._supvalue&&e.prop._supvalue.apply(this,arguments)}}});p[c]=b.defineNodeNameProperty(c,"canPlayType",{prop:{value:function(b){var e="";j&&p[c].prop._supvalue&&(e=p[c].prop._supvalue.call(this,
25
+ b),"no"==e&&(e=""));!e&&q&&(b=a.trim((b||"").split(";")[0]),-1!=h.swfMimeTypes.indexOf(b)&&(e="maybe"));return e}}})});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(){v(a);a=null},9)}});e=function(){b.addReady(function(c,e){a("video, audio",c).add(e.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&a.prop(this,
26
+ "paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():v(this);if(j){var c,e,h=this,g=function(){var b=a.prop(h,"buffered");if(b){for(var c="",e=0,g=b.length;e<g;e++)c+=b.end(e);return c}},k=function(){var b=g();b!=e&&(e=b,a(h).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(e=g());clearTimeout(c);c=setTimeout(k,999)}).bind("emptied stalled mediaerror abort suspend",
27
+ function(a){"emptied"==a.type&&(e=!1);clearTimeout(c)})}})})};j?(b.isReady("mediaelement-core",!0),e(),q&&b.ready("WINDOWLOAD mediaelement",y)):b.ready("mediaelement-swf",e)})})(jQuery,Modernizr,jQuery.webshims);
28
+ jQuery.webshims.register("mediaelement-swf",function(a,e,i,j,g,f){var b=e.mediaelement,z=i.swfobject,k=Modernizr.audio&&Modernizr.video,A=z.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)e.error("buffered index size error");else return 0},end:function(a){if(a)e.error("buffered index size error");else return 0},length:0}},w=Object.keys(i),t={currentTime:0,volume:1,
29
+ muted:!1};Object.keys(t);var q=a.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:g},i,t),y=/^jwplayer-/,p=function(a){if(a=j.getElementById(a.replace(y,"")))return a=e.data(a,"mediaelement"),"flash"==a.isActive?a:null},m=function(a){return(a=e.data(a,"mediaelement"))&&"flash"==a.isActive?a:null},c=function(l,d){d=a.Event(d);d.preventDefault();a.event.trigger(d,g,l)},D=f.playerPath||e.cfg.basePath+
30
+ "jwplayer/"+(f.playerName||"player.swf"),v=f.pluginPath||e.cfg.basePath+"swf/jwwebshims.swf";e.extendUNDEFProp(f.jwParams,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"});e.extendUNDEFProp(f.jwVars,{screencolor:"ffffffff"});e.extendUNDEFProp(f.jwAttrs,{bgcolor:"#000000"});var o=function(l,d){var e=l.duration;if(!(e&&0<l._durationCalcs)){try{if(l.duration=l.jwapi.getPlaylist()[0].duration,!l.duration||0>=l.duration||l.duration===l._lastDuration)l.duration=e}catch(f){}l.duration&&
31
31
  l.duration!=l._lastDuration?(c(l._elem,"durationchange"),("audio"==l._elemNodeName||l._callMeta)&&b.jwEvents.Model.META(a.extend({duration:l.duration},d),l),l._durationCalcs--):l._durationCalcs++}},s=function(a,d){3>a&&clearTimeout(d._canplaythroughTimer);if(3<=a&&3>d.readyState)d.readyState=a,c(d._elem,"canplay"),clearTimeout(d._canplaythroughTimer),d._canplaythroughTimer=setTimeout(function(){s(4,d)},4E3);if(4<=a&&4>d.readyState)d.readyState=a,c(d._elem,"canplaythrough");d.readyState=a};b.jwEvents=
32
32
  {View:{PLAY:function(a){var d=p(a.id);if(d&&!d.stopPlayPause&&(d._ppFlag=!0,d.paused==a.state)){d.paused=!a.state;if(d.ended)d.ended=!1;c(d._elem,a.state?"play":"pause")}}},Model:{BUFFER:function(l){var d=p(l.id);if(d&&"percentage"in l&&d._bufferedEnd!=l.percentage){d.networkState=100==l.percentage?1:2;(isNaN(d.duration)||5<l.percentage&&25>l.percentage||100===l.percentage)&&o(d,l);if(d.ended)d.ended=!1;if(d.duration){2<l.percentage&&20>l.percentage?s(3,d):20<l.percentage&&s(4,d);if(d._bufferedEnd&&
33
33
  d._bufferedEnd>l.percentage)d._bufferedStart=d.currentTime||0;d._bufferedEnd=l.percentage;d.buffered.length=1;if(100==l.percentage)d.networkState=1,s(4,d);a.event.trigger("progress",g,d._elem,!0)}}},META:function(a,d){if(d=d&&d.networkState?d:p(a.id))if("duration"in a){if(!d._metadata||!((!a.height||d.videoHeight==a.height)&&a.duration===d.duration)){d._metadata=!0;var b=d.duration;if(a.duration)d.duration=a.duration;d._lastDuration=d.duration;if(a.height||a.width)d.videoHeight=a.height||0,d.videoWidth=
34
34
  a.width||0;if(!d.networkState)d.networkState=2;1>d.readyState&&s(1,d);d.duration&&b!==d.duration&&c(d._elem,"durationchange");c(d._elem,"loadedmetadata")}}else d._callMeta=!0},TIME:function(a){var d=p(a.id);if(d&&d.currentTime!==a.position){d.currentTime=a.position;d.duration&&d.duration<d.currentTime&&o(d,a);2>d.readyState&&s(2,d);if(d.ended)d.ended=!1;c(d._elem,"timeupdate")}},STATE:function(a){var d=p(a.id);if(d)switch(a.newstate){case "BUFFERING":if(d.ended)d.ended=!1;s(1,d);c(d._elem,"waiting");
35
35
  break;case "PLAYING":d.paused=!1;d._ppFlag=!0;d.duration||o(d,a);3>d.readyState&&s(3,d);if(d.ended)d.ended=!1;c(d._elem,"playing");break;case "PAUSED":if(!d.paused&&!d.stopPlayPause)d.paused=!0,d._ppFlag=!0,c(d._elem,"pause");break;case "COMPLETED":4>d.readyState&&s(4,d),d.ended=!0,c(d._elem,"ended")}}},Controller:{ERROR:function(a){var d=p(a.id);d&&b.setError(d._elem,a.message)},SEEK:function(a){var d=p(a.id);if(d){if(d.ended)d.ended=!1;if(d.paused)try{d.jwapi.sendEvent("play","false")}catch(b){}if(d.currentTime!=
36
- a.position)d.currentTime=a.position,c(d._elem,"timeupdate")}},VOLUME:function(a){var d=p(a.id);if(d&&(a=a.percentage/100,d.volume!=a))d.volume=a,c(d._elem,"volumechange")},MUTE:function(a){if(!a.state){var d=p(a.id);if(d&&d.muted!=a.state)d.muted=a.state,c(d._elem,"volumechange")}}}};var I=function(c){a.each(b.jwEvents,function(d,b){a.each(b,function(a){c.jwapi["add"+d+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+d+"."+a)})})},n=function(b){b&&(b._ppFlag===g&&a.prop(b._elem,"autoplay")||
37
- !b.paused)&&setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag===g||!b.paused))try{a(b._elem).play()}catch(d){}},1)},J=function(b){if(b&&"video"==b._elemNodeName){var d,c,e,f,h,r,g,k,i=function(i,j){if(j&&i&&!(1>j||1>i||"flash"!=b.isActive))if(d&&(d.remove(),d=!1),f=i,h=j,clearTimeout(g),c="auto"==b._elem.style.width,e="auto"==b._elem.style.height,c||e){r=r||a(b._elem).getShadowElement();var m;c&&!e?(m=r.height(),i*=m/j,j=m):!c&&e&&(m=r.width(),j*=m/i,i=m);k=!0;setTimeout(function(){k=!1},9);
38
- 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,e="auto"==b._elem.style.height,c||e))d&&(d.remove(),d=!1),d=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),d.bind("load error alreadycomplete",function(){clearTimeout(g);var b=this,c=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||
39
- b.offsetHeight;e&&c?(i(c,e),b=null):setTimeout(function(){c=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;i(c,e);d&&(d.remove(),d=!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",
40
- j).bind("swfstageresize",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=i.getElementById(b.replace(x,"")))&&a(b).triggerHandler("swfstageresize")};a(i).bind("emptied",function(a){a=m(a.target);n(a)});var A;b.jwPlayerReady=function(b){var d=p(b.id);if(d&&d.jwapi){clearTimeout(A);d.jwData=b;d.shadowElem.removeClass("flashblocker-assumed");
41
- d.wasSwfReady?a(d._elem).mediaLoad():(b=parseFloat(b.version,10),(5.6>b||6<=b)&&e.warn("mediaelement-swf is only testet with jwplayer 5.6+"),a.prop(d._elem,"volume",d.volume),a.prop(d._elem,"muted",d.muted),I(d));d.wasSwfReady=!0;var b=d.actionQueue.length,c=0,f;if(b&&"flash"==d.isActive)for(;d.actionQueue.length&&b>c;)c++,f=d.actionQueue.shift(),d.jwapi[f.fn].apply(d.jwapi,f.args);if(d.actionQueue.length)d.actionQueue=[];n(d)}};var D=a.noop;if(k){var K={play:1,playing:1},F="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),
42
- G=F.map(function(a){return a+".webshimspolyfill"}).join(" "),L=function(b){var d=e.data(b.target,"mediaelement");d&&(b.originalEvent&&b.originalEvent.type===b.type)==("flash"==d.activating)&&(b.stopImmediatePropagation(),K[b.type]&&d.isActive!=d.activating&&a(b.target).pause())},D=function(b){a(b).unbind(G).bind(G,L);F.forEach(function(a){e.moveToFirstEvent(b,a)})};D(i)}b.setActive=function(b,d,c){c||(c=e.data(b,"mediaelement"));if(c&&c.isActive!=d){"html5"!=d&&"flash"!=d&&e.warn("wrong type for mediaelement activating: "+
43
- d);var f=e.data(b,"shadowData");c.activating=d;a(b).pause();c.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=c.shadowElem[0],a(b).hide().getShadowElement().show()):(a(b).show().getShadowElement().hide(),f.shadowElement=f.shadowFocusElement=!1)}};var M=function(){var a="_bufferedEnd,_bufferedStart,_metadata,_ppFlag,currentSrc,currentTime,duration,ended,networkState,paused,videoHeight,videoWidth,_callMeta,_durationCalcs".split(","),b=a.length;return function(e){if(e){var f=b,h=e.networkState;
44
- for(s(0,e);--f;)delete e[a[f]];e.actionQueue=[];e.buffered.length=0;h&&c(e._elem,"emptied")}}}(),H=function(b,d){var c=b._elem,e=b.shadowElem;a(c)[d?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!d?e.css({width:0,height:0}):e.css({width:c.style.width||a(c).width(),height:c.style.height||a(c).height()})};b.createSWF=function(c,d,g){if(z){1>h?h=1:h++;var i=a.extend({},f.jwVars,{image:a.prop(c,"poster")||"",file:d.srcProp}),j=a(c).data("jwvars")||{};if(g&&g.swfCreated)b.setActive(c,
45
- "flash",g),M(g),g.currentSrc=d.srcProp,a.extend(i,j),f.changeJW(i,c,d,g,"load"),w(c,"sendEvent",["LOAD",i]);else{var B=a.prop(c,"controls"),r="jwplayer-"+e.getID(c),m=a.extend({},f.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),p=a.extend({},f.jwAttrs,{name:r,id:r},a(c).data("jwattrs")),o=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+r+'"><div id="'+r+'"></div>').css({position:"relative",overflow:"hidden"}),g=e.data(c,"mediaelement",e.objectCreate(q,{actionQueue:{value:[]},
46
- shadowElem:{value:o},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=g.buffered.length)e.error("buffered index size error");else return 0},end:function(a){if(a>=g.buffered.length)e.error("buffered index size error");else return(g.duration-g._bufferedStart)*g._bufferedEnd/100+g._bufferedStart},length:0}}}));H(g,B);o.insertBefore(c);k&&a.extend(g,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(i,{id:r,
47
- 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;e.addShadowDom(c,o);D(c);b.setActive(c,"flash",g);f.changeJW(i,c,d,g,"embed");J(g);y.embedSWF(C,r,"100%","100%","9.0.0",!1,i,m,p,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&&o[0].parentNode||
48
- "none"==b.ref.style.display)o.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),e.warn("flashblocker assumed");a(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),A||(clearTimeout(A),A=setTimeout(function(){var d=a(b.ref);1<d[0].offsetWidth&&1<d[0].offsetHeight&&0===location.protocol.indexOf("file:")?e.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
49
- (2>d[0].offsetWidth||2>d[0].offsetHeight)&&e.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var w=function(a,b,c,e){return(e=e||m(a))?(e.jwapi&&e.jwapi[b]?e.jwapi[b].apply(e.jwapi,c||[]):(e.actionQueue.push({fn:b,args:c}),10<e.actionQueue.length&&setTimeout(function(){5<e.actionQueue.length&&e.actionQueue.shift()},99)),e):!1};["audio","video"].forEach(function(b){var d={},f,g=function(a){"audio"==b&&
50
- ("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=m(this);return b?b[a]:k&&f[a].prop._supget?f[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){g(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var b=m(this);if(b){if(a*=100,!isNaN(a)){var d=b.muted;(0>a||100<a)&&e.error("volume greater or less than allowed "+a/100);w(this,"sendEvent",["VOLUME",a],b);if(d)try{b.jwapi.sendEvent("mute","true")}catch(g){}a/=100;if(!(b.volume==a||"flash"!=b.isActive))b.volume=
51
- a,c(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,c(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=
52
- !0;b.stopPlayPause=!1},50);w(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,c(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(d){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=m(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),w(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
53
- !0,b.paused!=("play"!=a)))b.paused="play"!=a,c(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});v.forEach(g);e.onNodeNamesPropertyModify(b,"controls",function(d,c){var f=m(this);a(this)[c?"addClass":"removeClass"]("webshims-controls");if(f){try{w(this,c?"showControls":"hideControls",[b],f)}catch(g){e.warn("you need to generate a crossdomain.xml")}"audio"==b&&H(f,c);a(f.jwapi).attr("tabindex",c?"0":"-1")}});f=e.defineNodeNameProperties(b,d,"prop")});if(z){var N=
54
- a.cleanData,O=a.browser.msie&&9>e.browserVersion,P={object:1,OBJECT:1};a.cleanData=function(a){var b,c,e;if(a&&(c=a.length)&&h)for(b=0;b<c;b++)if(P[a[b].nodeName]){if("sendEvent"in a[b]){h--;try{a[b].sendEvent("play",!1)}catch(f){}}if(O)try{for(e in a[b])"function"==typeof a[b][e]&&(a[b][e]=null)}catch(g){}}return N.apply(this,arguments)}}if(!k){var E=i.createElement("a");["poster","src"].forEach(function(b){e.defineNodeNamesProperty("src"==b?["audio","video","source"]:["video"],b,{prop:{get:function(){var c=
55
- this.getAttribute(b);if(null==c)return"";E.setAttribute("href",c+"");return!a.support.hrefNormalized?E.getAttribute("href",4):E.href},set:function(c){a.attr(this,b,c)}}})});["autoplay","controls"].forEach(function(a){e.defineNodeNamesBooleanProperty(["audio","video"],a)});e.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},
56
- NETWORK_NO_SOURCE:{value:3}},"prop")}});
36
+ a.position)d.currentTime=a.position,c(d._elem,"timeupdate")}},VOLUME:function(a){var d=p(a.id);if(d&&(a=a.percentage/100,d.volume!=a))d.volume=a,c(d._elem,"volumechange")},MUTE:function(a){if(!a.state){var d=p(a.id);if(d&&d.muted!=a.state)d.muted=a.state,c(d._elem,"volumechange")}}}};var J=function(c){var d=!0;a.each(b.jwEvents,function(b,e){a.each(e,function(a){try{c.jwapi["add"+b+"Listener"](a,"jQuery.webshims.mediaelement.jwEvents."+b+"."+a)}catch(e){return d=!1}})});return d},n=function(a){var d=
37
+ a.actionQueue.length,b=0,c;if(d&&"flash"==a.isActive)for(;a.actionQueue.length&&d>b;)b++,c=a.actionQueue.shift(),a.jwapi[c.fn].apply(a.jwapi,c.args);if(a.actionQueue.length)a.actionQueue=[]},F=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(d){}},1)},K=function(b){if(b&&"video"==b._elemNodeName){var d,c,e,f,h,r,g,k,i=function(i,j){if(j&&i&&!(1>j||1>i||"flash"!=b.isActive))if(d&&
38
+ (d.remove(),d=!1),f=i,h=j,clearTimeout(g),c="auto"==b._elem.style.width,e="auto"==b._elem.style.height,c||e){r=r||a(b._elem).getShadowElement();var m;c&&!e?(m=r.height(),i*=m/j,j=m):!c&&e&&(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,e="auto"==b._elem.style.height,c||e))d&&(d.remove(),d=!1),
39
+ d=a('<img style="position: absolute; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden;" />'),d.bind("load error alreadycomplete",function(){clearTimeout(g);var b=this,c=b.naturalWidth||b.width||b.offsetWidth,e=b.naturalHeight||b.height||b.offsetHeight;e&&c?(i(c,e),b=null):setTimeout(function(){c=b.naturalWidth||b.width||b.offsetWidth;e=b.naturalHeight||b.height||b.offsetHeight;i(c,e);d&&(d.remove(),d=!1);b=null},9);a(this).unbind()}).prop("src",f).appendTo("body").each(function(){this.complete||
40
+ 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",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&&
41
+ (b=j.getElementById(b.replace(y,"")))&&a(b).triggerHandler("swfstageresize")};a(j).bind("emptied",function(a){a=m(a.target);F(a)});var B;b.jwPlayerReady=function(b){var d=p(b.id),c=0,f=function(){if(!(9<c))if(c++,J(d)){if(d.wasSwfReady)a(d._elem).mediaLoad();else{var h=parseFloat(b.version,10);(5.6>h||6<=h)&&e.warn("mediaelement-swf is only testet with jwplayer 5.6+")}d.wasSwfReady=!0;d.tryedReframeing=0;n(d);F(d)}else clearTimeout(d.reframeTimer),d.reframeTimer=setTimeout(f,9*c),2<c&&9>d.tryedReframeing&&
42
+ (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(B);d.jwData=b;d.shadowElem.removeClass("flashblocker-assumed");a.prop(d._elem,"volume",d.volume);a.prop(d._elem,"muted",d.muted);f()}};var E=a.noop;if(k){var L={play:1,playing:1},G="play,pause,playing,canplay,progress,waiting,ended,loadedmetadata,durationchange,emptied".split(","),H=G.map(function(a){return a+
43
+ ".webshimspolyfill"}).join(" "),M=function(b){var d=e.data(b.target,"mediaelement");d&&(b.originalEvent&&b.originalEvent.type===b.type)==("flash"==d.activating)&&(b.stopImmediatePropagation(),L[b.type]&&d.isActive!=d.activating&&a(b.target).pause())},E=function(b){a(b).unbind(H).bind(H,M);G.forEach(function(a){e.moveToFirstEvent(b,a)})};E(j)}b.setActive=function(b,d,c){c||(c=e.data(b,"mediaelement"));if(c&&c.isActive!=d){"html5"!=d&&"flash"!=d&&e.warn("wrong type for mediaelement activating: "+d);
44
+ var f=e.data(b,"shadowData");c.activating=d;a(b).pause();c.isActive=d;"flash"==d?(f.shadowElement=f.shadowFocusElement=c.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(e){if(e){var f=b,h=e.networkState;
45
+ for(s(0,e);--f;)delete e[a[f]];e.actionQueue=[];e.buffered.length=0;h&&c(e._elem,"emptied")}}}(),I=function(b,d){var c=b._elem,e=b.shadowElem;a(c)[d?"addClass":"removeClass"]("webshims-controls");"audio"==b._elemNodeName&&!d?e.css({width:0,height:0}):e.css({width:c.style.width||a(c).width(),height:c.style.height||a(c).height()})};b.createSWF=function(c,d,g){if(A){1>h?h=1:h++;var i=a.extend({},f.jwVars,{image:a.prop(c,"poster")||"",file:d.srcProp}),j=a(c).data("jwvars")||{};if(g&&g.swfCreated)b.setActive(c,
46
+ "flash",g),N(g),g.currentSrc=d.srcProp,a.extend(i,j),f.changeJW(i,c,d,g,"load"),x(c,"sendEvent",["LOAD",i]);else{var C=a.prop(c,"controls"),r="jwplayer-"+e.getID(c),m=a.extend({},f.jwParams,a(c).data("jwparams")),n=c.nodeName.toLowerCase(),p=a.extend({},f.jwAttrs,{name:r,id:r},a(c).data("jwattrs")),o=a('<div class="polyfill-'+n+' polyfill-mediaelement" id="wrapper-'+r+'"><div id="'+r+'"></div>').css({position:"relative",overflow:"hidden"}),g=e.data(c,"mediaelement",e.objectCreate(q,{actionQueue:{value:[]},
47
+ shadowElem:{value:o},_elemNodeName:{value:n},_elem:{value:c},currentSrc:{value:d.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(a){if(a>=g.buffered.length)e.error("buffered index size error");else return 0},end:function(a){if(a>=g.buffered.length)e.error("buffered index size error");else return(g.duration-g._bufferedStart)*g._bufferedEnd/100+g._bufferedStart},length:0}}}));I(g,C);o.insertBefore(c);k&&a.extend(g,{volume:a.prop(c,"volume"),muted:a.prop(c,"muted")});a.extend(i,{id:r,
48
+ controlbar:C?f.jwVars.controlbar||("video"==n?"over":"bottom"):"video"==n?"none":"bottom",icons:""+(C&&"video"==n)},j,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"});i.plugins=i.plugins?i.plugins+(","+v):v;e.addShadowDom(c,o);E(c);b.setActive(c,"flash",g);f.changeJW(i,c,d,g,"embed");K(g);z.embedSWF(D,r,"100%","100%","9.0.0",!1,i,m,p,function(b){if(b.success)g.jwapi=b.ref,C||a(b.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!b.ref.parentNode&&o[0].parentNode||
49
+ "none"==b.ref.style.display)o.addClass("flashblocker-assumed"),a(c).trigger("flashblocker"),e.warn("flashblocker assumed");a(b.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),B||(clearTimeout(B),B=setTimeout(function(){var d=a(b.ref);1<d[0].offsetWidth&&1<d[0].offsetHeight&&0===location.protocol.indexOf("file:")?e.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):
50
+ (2>d[0].offsetWidth||2>d[0].offsetHeight)&&e.info("JS-SWF connection can't be established on hidden or unconnected flash objects")},8E3))})}}else setTimeout(function(){a(c).mediaLoad()},1)};var x=function(a,b,c,e){return(e=e||m(a))?(e.jwapi&&e.jwapi[b]?e.jwapi[b].apply(e.jwapi,c||[]):(e.actionQueue.push({fn:b,args:c}),10<e.actionQueue.length&&setTimeout(function(){5<e.actionQueue.length&&e.actionQueue.shift()},99)),e):!1};["audio","video"].forEach(function(b){var d={},f,g=function(a){"audio"==b&&
51
+ ("videoHeight"==a||"videoWidth"==a)||(d[a]={get:function(){var b=m(this);return b?b[a]:k&&f[a].prop._supget?f[a].prop._supget.apply(this):q[a]},writeable:!1})},h=function(a,b){g(a);delete d[a].writeable;d[a].set=b};h("volume",function(a){var b=m(this);if(b){if(a*=100,!isNaN(a)){var d=b.muted;(0>a||100<a)&&e.error("volume greater or less than allowed "+a/100);x(this,"sendEvent",["VOLUME",a],b);if(d)try{b.jwapi.sendEvent("mute","true")}catch(g){}a/=100;if(!(b.volume==a||"flash"!=b.isActive))b.volume=
52
+ a,c(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,x(this,"sendEvent",["mute",""+a],b),!(b.muted==a||"flash"!=b.isActive))b.muted=a,c(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=
53
+ !0;b.stopPlayPause=!1},50);x(this,"sendEvent",["SEEK",""+a],b);if(b.paused){if(0<b.readyState)b.currentTime=a,c(b._elem,"timeupdate");try{b.jwapi.sendEvent("play","false")}catch(d){}}}}else if(f.currentTime.prop._supset)return f.currentTime.prop._supset.apply(this,arguments)});["play","pause"].forEach(function(a){d[a]={value:function(){var b=m(this);if(b)b.stopPlayPause&&clearTimeout(b.stopPlayPause),x(this,"sendEvent",["play","play"==a],b),setTimeout(function(){if("flash"==b.isActive&&(b._ppFlag=
54
+ !0,b.paused!=("play"!=a)))b.paused="play"!=a,c(b._elem,a)},1);else if(f[a].prop._supvalue)return f[a].prop._supvalue.apply(this,arguments)}}});w.forEach(g);e.onNodeNamesPropertyModify(b,"controls",function(d,c){var f=m(this);a(this)[c?"addClass":"removeClass"]("webshims-controls");if(f){try{x(this,c?"showControls":"hideControls",[b],f)}catch(g){e.warn("you need to generate a crossdomain.xml")}"audio"==b&&I(f,c);a(f.jwapi).attr("tabindex",c?"0":"-1")}});f=e.defineNodeNameProperties(b,d,"prop")});if(A){var O=
55
+ a.cleanData,P=a.browser.msie&&9>e.browserVersion,Q={object:1,OBJECT:1};a.cleanData=function(a){var b,c,e;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(e in a[b])"function"==typeof a[b][e]&&(a[b][e]=null)}catch(g){}}return O.apply(this,arguments)}}if(!k){var u=j.createElement("a");u.style.display="none";["poster","src"].forEach(function(b){e.defineNodeNamesProperty("src"==b?["audio","video","source"]:["video"],
56
+ b,{prop:{get:function(){var c=this.getAttribute(b),e;if(null==c)return"";u.setAttribute("href",c+"");if(!a.support.hrefNormalized){try{a(u).appendTo(this),e=u.getAttribute("href",4)}catch(f){e=u.getAttribute("href",4)}a(u).detach()}return e||u.href},set:function(c){a.attr(this,b,c)}}})});["autoplay","controls"].forEach(function(a){e.defineNodeNamesBooleanProperty(["audio","video"],a)});e.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},
57
+ 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")}});
@@ -1,53 +1,55 @@
1
1
  (function(a,b,p){var l=b.audio&&b.video,q=!1;if(l)a=document.createElement("video"),b.videoBuffered="buffered"in a,q="loop"in a,p.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),b.videoBuffered||(p.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:b.videoBuffered,d:["dom-support"]}),p.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,b,j,t,s){var g=b.mediaelement,r=b.cfg.mediaelement,
2
- m=function(c,v){var c=a(c),i={src:c.attr("src")||"",elem:c,srcProp:c.prop("src")};if(!i.src)return i;var k=c.attr("type");if(k)i.type=k,i.container=a.trim(k.split(";")[0]);else if(v||(v=c[0].nodeName.toLowerCase(),"source"==v&&(v=(c.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),k=g.getTypeForSrc(i.src,v))i.type=k,i.container=k,b.warn("you should always provide a proper mime-type using the source element. "+i.src+" detected as: "+k),a.nodeName(c[0],"source")&&c.attr("type",
3
- k);if(k=c.attr("media"))i.media=k;return i},w=swfobject.hasFlashPlayerVersion("9.0.115"),n=function(){b.ready("mediaelement-swf",function(){if(!g.createSWF)b.modules["mediaelement-swf"].test=a.noop,b.reTest(["mediaelement-swf"],l)})};g.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",
2
+ n=function(c,v){var c=a(c),i={src:c.attr("src")||"",elem:c,srcProp:c.prop("src")};if(!i.src)return i;var k=c.attr("type");if(k)i.type=k,i.container=a.trim(k.split(";")[0]);else if(v||(v=c[0].nodeName.toLowerCase(),"source"==v&&(v=(c.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),k=g.getTypeForSrc(i.src,v))i.type=k,i.container=k,b.warn("you should always provide a proper mime-type using the source element. "+i.src+" detected as: "+k),a.nodeName(c[0],"source")&&c.attr("type",
3
+ k);if(k=c.attr("media"))i.media=k;return i},w=swfobject.hasFlashPlayerVersion("9.0.115"),o=function(){b.ready("mediaelement-swf",function(){if(!g.createSWF)b.modules["mediaelement-swf"].test=a.noop,b.reTest(["mediaelement-swf"],l)})};g.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",
4
4
  "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"]}};g.mimeTypes.source=a.extend({},g.mimeTypes.audio,g.mimeTypes.video);g.getTypeForSrc=function(c,b){if(-1!=c.indexOf("youtube.com/watch?")||-1!=c.indexOf("youtube.com/v/"))return"video/youtube";
5
5
  var c=c.split("?")[0].split("."),c=c[c.length-1],i;a.each(g.mimeTypes[b],function(a,b){if(-1!==b.indexOf(c))return i=a,!1});return i};g.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 i=t.createElement("source");"string"==typeof a&&(a={src:a});i.setAttribute("src",a.src);a.type&&i.setAttribute("type",a.type);a.media&&i.setAttribute("media",a.media);c.append(i)});else{var b=[],i=c[0].nodeName.toLowerCase(),
6
- k=m(c,i);k.src?b.push(k):a("source",c).each(function(){k=m(this,i);k.src&&b.push(k)});return b}};a.fn.loadMediaSrc=function(c,b){return this.each(function(){b!==s&&(a(this).removeAttr("poster"),b&&a.attr(this,"poster",b));g.srces(this,c);a(this).mediaLoad()})};g.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(",");
7
- g.canSwfPlaySrces=function(c,b){var i="";w&&(c=a(c),b=b||g.srces(c),a.each(b,function(a,c){if(c.container&&c.src&&-1!=g.swfMimeTypes.indexOf(c.container))return i=c,!1}));return i};var c={};g.canNativePlaySrces=function(b,d){var i="";if(l){var b=a(b),k=(b[0].nodeName||"").toLowerCase();if(!c[k])return i;d=d||g.srces(b);a.each(d,function(a,d){if(d.type&&c[k].prop._supvalue.call(b[0],d.type))return i=d,!1})}return i};g.setError=function(c,d){d||(d="can't play sources");a(c).pause().data("mediaerror",
8
- d);b.warn("mediaelementError: "+d);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var o=function(){var a;return function(c,i,k){b.ready("mediaelement-swf",function(){g.createSWF?g.createSWF(c,i,k):a||(a=!0,n(),o(c,i,k))})}}(),d=function(a,c,i,b,u){i||!1!==i&&c&&"flash"==c.isActive?(i=g.canSwfPlaySrces(a,b))?o(a,i,c):u?g.setError(a,!1):d(a,c,!1,b,!0):(i=g.canNativePlaySrces(a,b))?c&&"flash"==c.isActive&&g.setActive(a,"html5",c):u?(g.setError(a,!1),c&&"flash"==c.isActive&&
9
- g.setActive(a,"html5",c)):d(a,c,!0,b,!0)},y=/^(?:embed|object|datalist)$/i,x=function(c,o){var i=b.data(c,"mediaelementBase")||b.data(c,"mediaelementBase",{}),k=g.srces(c),u=c.parentNode;clearTimeout(i.loadTimer);a.data(c,"mediaerror",!1);if(k.length&&u&&!(1!=u.nodeType||y.test(u.nodeName||"")))o=o||b.data(c,"mediaelement"),d(c,o,r.preferFlash||s,k)};a(t).bind("ended",function(c){var d=b.data(c.target,"mediaelement");(!q||d&&"html5"!=d.isActive||a.prop(c.target,"loop"))&&setTimeout(function(){!a.prop(c.target,
10
- "paused")&&a.prop(c.target,"loop")&&a(c.target).prop("currentTime",0).play()},1)});q||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(d){var o=b.defineNodeNameProperty(d,"load",{prop:{value:function(){var c=b.data(this,"mediaelement");x(this,c);l&&(!c||"html5"==c.isActive)&&o.prop._supvalue&&o.prop._supvalue.apply(this,arguments)}}});c[d]=b.defineNodeNameProperty(d,"canPlayType",{prop:{value:function(i){var b="";l&&c[d].prop._supvalue&&(b=c[d].prop._supvalue.call(this,
11
- i),"no"==b&&(b=""));!b&&w&&(i=a.trim((i||"").split(";")[0]),-1!=g.swfMimeTypes.indexOf(i)&&(b="maybe"));return b}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var c=this,a=b.data(c,"mediaelementBase")||b.data(c,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){x(c);c=null},9)}});l&&b.isReady("mediaelement-core",!0);b.addReady(function(c,d){a("video, audio",c).add(d.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&
12
- a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():x(this);if(l){var c,d,o=this,g=function(){var c=a.prop(o,"buffered");if(c){for(var i="",b=0,d=c.length;b<d;b++)i+=c.end(b);return i}},t=function(){var c=g();c!=d&&(d=c,a(o).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(d=g());clearTimeout(c);c=setTimeout(t,999)}).bind("emptied stalled mediaerror abort suspend",
13
- function(a){"emptied"==a.type&&(d=!1);clearTimeout(c)})}})});l&&w&&b.ready("WINDOWLOAD mediaelement",n)})})(jQuery,Modernizr,jQuery.webshims);
14
- jQuery.webshims.register("form-message",function(a,b,p,l,q,h){var f=b.validityMessages,p=h.overrideMessages||h.customMessages?["customValidationMessage"]:[];f.en=f.en||f["en-US"]||{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
15
- stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}};["select","radio"].forEach(function(a){f.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){f.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date","time","datetime-local"].forEach(function(a){f.en.rangeOverflow[a]=
16
- "Value must be at or before {%max}."});f["en-US"]=f["en-US"]||f.en;f[""]=f[""]||f["en-US"];f.de=f.de||{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
6
+ k=n(c,i);k.src?b.push(k):a("source",c).each(function(){k=n(this,i);k.src&&b.push(k)});return b}};a.fn.loadMediaSrc=function(c,b){return this.each(function(){b!==s&&(a(this).removeAttr("poster"),b&&a.attr(this,"poster",b));g.srces(this,c);a(this).mediaLoad()})};g.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(",");
7
+ g.canSwfPlaySrces=function(c,b){var i="";w&&(c=a(c),b=b||g.srces(c),a.each(b,function(a,c){if(c.container&&c.src&&-1!=g.swfMimeTypes.indexOf(c.container))return i=c,!1}));return i};var c={};g.canNativePlaySrces=function(b,f){var i="";if(l){var b=a(b),k=(b[0].nodeName||"").toLowerCase();if(!c[k])return i;f=f||g.srces(b);a.each(f,function(a,f){if(f.type&&c[k].prop._supvalue.call(b[0],f.type))return i=f,!1})}return i};g.setError=function(c,f){f||(f="can't play sources");a(c).pause().data("mediaerror",
8
+ f);b.warn("mediaelementError: "+f);setTimeout(function(){a(c).data("mediaerror")&&a(c).trigger("mediaerror")},1)};var m=function(){var a;return function(c,i,k){b.ready("mediaelement-swf",function(){g.createSWF?g.createSWF(c,i,k):a||(a=!0,o(),m(c,i,k))})}}(),f=function(a,c,i,b,u){i||!1!==i&&c&&"flash"==c.isActive?(i=g.canSwfPlaySrces(a,b))?m(a,i,c):u?g.setError(a,!1):f(a,c,!1,b,!0):(i=g.canNativePlaySrces(a,b))?c&&"flash"==c.isActive&&g.setActive(a,"html5",c):u?(g.setError(a,!1),c&&"flash"==c.isActive&&
9
+ g.setActive(a,"html5",c)):f(a,c,!0,b,!0)},y=/^(?:embed|object|datalist)$/i,x=function(c,m){var i=b.data(c,"mediaelementBase")||b.data(c,"mediaelementBase",{}),k=g.srces(c),u=c.parentNode;clearTimeout(i.loadTimer);a.data(c,"mediaerror",!1);if(k.length&&u&&!(1!=u.nodeType||y.test(u.nodeName||"")))m=m||b.data(c,"mediaelement"),f(c,m,r.preferFlash||s,k)};a(t).bind("ended",function(c){var f=b.data(c.target,"mediaelement");(!q||f&&"html5"!=f.isActive||a.prop(c.target,"loop"))&&setTimeout(function(){!a.prop(c.target,
10
+ "paused")&&a.prop(c.target,"loop")&&a(c.target).prop("currentTime",0).play()},1)});q||b.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(f){var m=b.defineNodeNameProperty(f,"load",{prop:{value:function(){var c=b.data(this,"mediaelement");x(this,c);l&&(!c||"html5"==c.isActive)&&m.prop._supvalue&&m.prop._supvalue.apply(this,arguments)}}});c[f]=b.defineNodeNameProperty(f,"canPlayType",{prop:{value:function(i){var b="";l&&c[f].prop._supvalue&&(b=c[f].prop._supvalue.call(this,
11
+ i),"no"==b&&(b=""));!b&&w&&(i=a.trim((i||"").split(";")[0]),-1!=g.swfMimeTypes.indexOf(i)&&(b="maybe"));return b}}})});b.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var c=this,a=b.data(c,"mediaelementBase")||b.data(c,"mediaelementBase",{});clearTimeout(a.loadTimer);a.loadTimer=setTimeout(function(){x(c);c=null},9)}});j=function(){b.addReady(function(c,f){a("video, audio",c).add(f.filter("video, audio")).each(function(){a.browser.msie&&8<b.browserVersion&&a.prop(this,
12
+ "paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():x(this);if(l){var c,f,m=this,g=function(){var c=a.prop(m,"buffered");if(c){for(var b="",i=0,f=c.length;i<f;i++)b+=c.end(i);return b}},t=function(){var c=g();c!=f&&(f=c,a(m).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(f=g());clearTimeout(c);c=setTimeout(t,999)}).bind("emptied stalled mediaerror abort suspend",
13
+ function(a){"emptied"==a.type&&(f=!1);clearTimeout(c)})}})})};l?(b.isReady("mediaelement-core",!0),j(),w&&b.ready("WINDOWLOAD mediaelement",o)):b.ready("mediaelement-swf",j)})})(jQuery,Modernizr,jQuery.webshims);
14
+ jQuery.webshims.register("form-message",function(a,b,p,l,q,h){var d=b.validityMessages,p=h.overrideMessages||h.customMessages?["customValidationMessage"]:[];d.en=d.en||d["en-US"]||{typeMismatch:{email:"Please enter an email address.",url:"Please enter a URL.",number:"Please enter a number.",date:"Please enter a date.",time:"Please enter a time.",range:"Invalid input.","datetime-local":"Please enter a datetime."},rangeUnderflow:{defaultMessage:"Value must be greater than or equal to {%min}."},rangeOverflow:{defaultMessage:"Value must be less than or equal to {%max}."},
15
+ stepMismatch:"Invalid input.",tooLong:"Please enter at most {%maxlength} character(s). You entered {%valueLen}.",patternMismatch:"Invalid input. {%title}",valueMissing:{defaultMessage:"Please fill out this field.",checkbox:"Please check this box if you want to proceed."}};["select","radio"].forEach(function(a){d.en.valueMissing[a]="Please select an option."});["date","time","datetime-local"].forEach(function(a){d.en.rangeUnderflow[a]="Value must be at or after {%min}."});["date","time","datetime-local"].forEach(function(a){d.en.rangeOverflow[a]=
16
+ "Value must be at or before {%max}."});d["en-US"]=d["en-US"]||d.en;d[""]=d[""]||d["en-US"];d.de=d.de||{typeMismatch:{email:"{%value} ist keine zul\u00e4ssige E-Mail-Adresse",url:"{%value} ist keine zul\u00e4ssige Webadresse",number:"{%value} ist keine Nummer!",date:"{%value} ist kein Datum",time:"{%value} ist keine Uhrzeit",range:"{%value} ist keine Nummer!","datetime-local":"{%value} ist kein Datum-Uhrzeit Format."},rangeUnderflow:{defaultMessage:"{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen k\u00f6nnen."},
17
17
  rangeOverflow:{defaultMessage:"{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen k\u00f6nnen."},stepMismatch:"Der Wert {%value} ist in diesem Feld nicht zul\u00e4ssig. Hier sind nur bestimmte Werte zul\u00e4ssig. {%title}",tooLong:"Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",patternMismatch:"{%value} hat f\u00fcr dieses Eingabefeld ein falsches Format! {%title}",valueMissing:{defaultMessage:"Bitte geben Sie einen Wert ein",
18
- checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}};["select","radio"].forEach(function(a){f.de.valueMissing[a]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(a){f.de.rangeUnderflow[a]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(a){f.de.rangeOverflow[a]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});var j=
19
- f[""];b.createValidationMessage=function(b,f){var g=j[f];g&&"string"!==typeof g&&(g=g[a.prop(b,"type")]||g[(b.nodeName||"").toLowerCase()]||g.defaultMessage);g&&"value,min,max,title,maxlength,label".split(",").forEach(function(f){if(-1!==g.indexOf("{%"+f)){var m=("label"==f?a.trim(a('label[for="'+b.id+'"]',b.form).text()).replace(/\*$|:$/,""):a.attr(b,f))||"";g=g.replace("{%"+f+"}",m);"value"==f&&(g=g.replace("{%valueLen}",m.length))}});return g||""};(b.bugs.validationMessage||!Modernizr.formvalidation)&&
20
- p.push("validationMessage");b.activeLang({langObj:f,module:"form-core",callback:function(a){j=a}});Modernizr.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&b.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var f=a("select",this);if(f[0]&&f[0].options&&f[0].options.length)b=f[0].options}return b}}});p.forEach(function(f){b.defineNodeNamesProperty(["fieldset","output","button"],
21
- f,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(h){var g=b.defineNodeNameProperty(h,f,{prop:{get:function(){var f=this,h="";if(!a.prop(f,"willValidate"))return h;var j=a.prop(f,"validity")||{valid:1};if(j.valid||(h=b.getContentValidationMessage(f,j)))return h;if(j.customError&&f.nodeName&&(h=Modernizr.formvalidation&&g.prop._supget?g.prop._supget.call(f):b.data(f,"customvalidationMessage")))return h;a.each(j,function(a,c){if("valid"!=a&&c&&(h=b.createValidationMessage(f,
22
- a)))return!1});return h||""},writeable:!1}})})})});
23
- Modernizr.formvalidation||jQuery.webshims.register("form-extend",function(a,b,p,l){b.inputTypes=b.inputTypes||{};var q=b.cfg.forms,h,f=b.inputTypes,j={radio:1,checkbox:1};b.addInputType=function(c,a){f[c]=a};var t={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},s={valueMissing:function(c,b,d){if(!c.attr("required"))return!1;var f=!1;if(!("type"in d))d.type=(c[0].getAttribute("type")||c[0].type||"").toLowerCase();
24
- if("select"==d.nodeName){if(b=!b)if(!(b=0>c[0].selectedIndex))c=c[0],b="select-one"==c.type&&2>c.size?!!a("> option:first-child",c).prop("selected"):!1;c=b}else c=j[d.type]?"checkbox"==d.type?!c.is(":checked"):!a(c[0].form&&c[0].name?c[0].form[c[0].name]:[]).filter(":checked")[0]:!b;return c},tooLong:function(){return!1},typeMismatch:function(a,b,d){if(""===b||"select"==d.nodeName)return!1;var g=!1;if(!("type"in d))d.type=(a[0].getAttribute("type")||a[0].type||"").toLowerCase();f[d.type]&&f[d.type].mismatch&&
25
- (g=f[d.type].mismatch(b,a));return g},patternMismatch:function(a,o,d){if(""===o||"select"==d.nodeName)return!1;a=a.attr("pattern");if(!a)return!1;try{a=RegExp("^(?:"+a+")$")}catch(f){b.error('invalid pattern value: "'+a+'" | '+f),a=!1}return!a?!1:!a.test(o)}};b.addValidityRule=function(a,b){s[a]=b};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var c=this.form||this;a.data(c,"invalidEventShim")||(a(c).data("invalidEventShim",!0).bind("submit",
26
- a.event.special.invalid.handler),b.moveToFirstEvent(c,"submit"))},teardown:a.noop,handler:function(c){if(!("submit"!=c.type||c.testedValidity||!c.originalEvent||!a.nodeName(c.target,"form")||a.prop(c.target,"noValidate"))){h=!0;c.testedValidity=!0;if(!a(c.target).checkValidity())return c.stopImmediatePropagation(),h=!1;h=!1}}};a(l).bind("invalid",a.noop);a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var g=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){a.nodeName(this,
27
- "form")?a(this).bind("invalid",a.noop):a("form",this).bind("invalid",a.noop);return g.apply(this,arguments)}});b.addInputType("email",{mismatch:function(){var a=q.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(b){return!a.test(b)}}()});b.addInputType("url",{mismatch:function(){var a=q.urlReg||/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;
28
- return function(b){return!a.test(b)}}()});b.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return b.inputTypes[a]?a:this.type}}});b.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},t)}}},"prop");var r=function(c){var f,d=a.prop(c,"validity");if(d)a.data(c,"cachedValidity",
29
- d);else return!0;if(!d.valid){f=a.Event("invalid");var g=a(c).trigger(f);if(h&&!r.unhandledInvalids&&!f.isDefaultPrevented())b.validityAlert.showFor(g),r.unhandledInvalids=!0}a.removeData(c,"cachedValidity");return d.valid};b.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var c=!0,f=a("input,textarea,select",this).filter(function(){var a=b.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});r.unhandledInvalids=!1;for(var d=0,g=f.length;d<g;d++)r(f[d])||
30
- (c=!1);return c}}});b.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){r.unhandledInvalids=!1;return r(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(c){a.removeData(this,"cachedValidity");b.data(this,"customvalidationMessage",""+c)}},willValidate:{set:a.noop,get:function(){var c={button:1,reset:1,hidden:1,image:1};return function(){var b=a(this).getNativeElement()[0];return!(b.disabled||b.readOnly||c[b.type]||b.form&&a.prop(b.form,"noValidate"))}}()},
31
- validity:{set:a.noop,get:function(){var c=a(this).getNativeElement(),f=c[0],d=a.data(f,"cachedValidity");if(d)return d;d=a.extend({},t);if(!a.prop(f,"willValidate")||"submit"==f.type)return d;var g=c.val(),h={nodeName:f.nodeName.toLowerCase()};d.customError=!!b.data(f,"customvalidationMessage");if(d.customError)d.valid=!1;a.each(s,function(a,b){if(b(c,g,h))d[a]=!0,d.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",d.valid?"false":"true");f=c=null;return d}}},"prop");b.defineNodeNamesBooleanProperty(["input",
32
- "textarea","select"],"required",{set:function(c){a(this).getShadowFocusElement().attr("aria-required",!!c+"")},initAttr:!a.browser.msie||7<b.browserVersion});b.reflectProperties(["input"],["pattern"]);var m=function(){var c,b=0,d=a([]),f=1E9,g=function(){var a=d.prop("value"),c=a.length;c>b&&c>f&&(c=Math.max(b,f),d.prop("value",a.substr(0,c)));b=c},h=function(){clearTimeout(c);d.unbind(".maxlengthconstraint")};return function(j,i){h();if(-1<i)f=i,b=a.prop(j,"value").length,d=a(j),d.bind("keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint",
33
- function(){setTimeout(g,0)}),d.bind("keyup.maxlengthconstraint",g),d.bind("blur.maxlengthconstraint",h),c=setInterval(g,200)}}();m.update=function(c,b){c===l.activeElement&&(null==b&&(b=a.prop(c,"maxlength")),m(e.target,b))};a(l).bind("focusin",function(c){var b;"TEXTAREA"==c.target.nodeName&&-1<(b=a.prop(c.target,"maxlength"))&&m(c.target,b)});b.defineNodeNameProperty("textarea","maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);m.update(this)},get:function(){var a=this.getAttribute("maxlength");
34
- return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);m.update(this,a)}else this.setAttribute("maxlength","0"),m.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==typeof a||a&&a==1*a)&&0<=a?parseInt(a,10):-1}}});b.defineNodeNameProperty("textarea","maxLength",{prop:{set:function(c){a.prop(this,"maxlength",c)},get:function(){return a.prop(this,"maxlength")}}});
35
- var w={submit:1,button:1,image:1},n={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},{name:"target"},{name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(c){var b="form"+(c.propName||c.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),
36
- d="form"+c.name,f=c.name,g="click.webshimssubmittermutate"+f,h=function(){if("form"in this&&w[this.type]){var i=a.prop(this,"form");if(i){var k=a.attr(this,d);if(null!=k&&(!c.limitedTo||k.toLowerCase()===a.prop(this,b))){var g=a.attr(i,f);a.attr(i,f,k);setTimeout(function(){if(null!=g)a.attr(i,f,g);else try{a(i).removeAttr(f)}catch(c){i.removeAttribute(f)}},9)}}}};switch(c.proptype){case "url":var j=l.createElement("form");n[b]={prop:{set:function(c){a.attr(this,d,c)},get:function(){var c=a.attr(this,
37
- d);if(null==c)return"";j.setAttribute("action",c);return j.action}}};break;case "boolean":n[b]={prop:{set:function(c){c?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":n[b]={prop:{set:function(c){a.attr(this,d,c)},get:function(){var b=a.attr(this,d);return!b||(b=b.toLowerCase())&&!c.limitedTo[b]?c.defaultProp:b}}};break;default:n[b]={prop:{set:function(c){a.attr(this,d,c)},get:function(){var c=
38
- a.attr(this,d);return null!=c?c:""}}}}n[d]||(n[d]={});n[d].attr={set:function(c){n[d].attr._supset.call(this,c);a(this).unbind(g).bind(g,h)},get:function(){return n[d].attr._supget.call(this)}};n[d].initAttr=!0;n[d].removeAttr={value:function(){a(this).unbind(g);n[d].removeAttr._supvalue.call(this)}}});b.defineNodeNamesProperties(["input","button"],n);!a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")&&b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",
39
- ""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}});b.defineNodeNameProperty("form","noValidate",{prop:{set:function(c){c?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});b.addReady(function(c,b){var d;a("form",c).add(b.filter("form")).bind("invalid",a.noop);try{if(c==l&&!("form"in(l.activeElement||{})))(d=a("input[autofocus], select[autofocus], textarea[autofocus]",c).eq(0).getShadowFocusElement()[0])&&
40
- d.offsetHeight&&d.offsetWidth&&d.focus()}catch(f){}});(function(){Modernizr.textareaPlaceholder=!!("placeholder"in a("<textarea />")[0]);if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder){var c="over"==b.cfg.forms.placeholderType,f=["textarea"];Modernizr.input.placeholder||f.push("input");var d=function(a){if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a)return a=a.createTextRange(),a.collapse(!0),a.moveEnd("character",0),a.moveStart("character",0),a.select(),!0},g=function(b,
41
- f,g,h){!1===g&&(g=a.prop(b,"value"));if(!c&&"password"!=b.type){if(!g&&h&&d(b)){var j;a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){b.value=a.prop(b,"value");f.box.removeClass("placeholder-visible");clearTimeout(j);a(b).unbind(".placeholderremove")}).bind("mousedown.placeholderremove drag.placeholderremove select.placeholderremove",function(){d(b);clearTimeout(j);j=setTimeout(function(){d(b)},9)}).bind("blur.placeholderremove",
42
- function(){clearTimeout(j);a(b).unbind(".placeholderremove")});return}b.value=g}else if(!g&&h){a(b).bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",function(){f.box.removeClass("placeholder-visible");a(b).unbind(".placeholderremove")}).bind("blur.placeholderremove",function(){a(b).unbind(".placeholderremove")});return}f.box.removeClass("placeholder-visible")},h=function(b,d,f,h,j){if(!h&&(h=a.data(b,"placeHolder"),!h))return;a(b).unbind(".placeholderremove");
43
- if("focus"==j||!j&&b===l.activeElement)("password"==b.type||c||a(b).hasClass("placeholder-visible"))&&g(b,h,"",!0);else if(!1===d&&(d=a.prop(b,"value")),d)g(b,h,d);else if(!1===f&&(f=a.attr(b,"placeholder")||""),f&&!d){d=h;!1===f&&(f=a.prop(b,"placeholder"));if(!c&&"password"!=b.type)b.value=f;d.box.addClass("placeholder-visible")}else g(b,h,d)},j=function(b){var b=a(b),c=b.prop("id"),d=!(!b.prop("title")&&!b.attr("aria-labeledby"));!d&&c&&(d=!!a('label[for="'+c+'"]',b[0].form)[0]);d||(c||(c=a.webshims.getID(b)),
44
- d=!!a("label #"+c)[0]);return a(d?'<span class="placeholder-text"></span>':'<label for="'+c+'" class="placeholder-text"></label>')},m=function(){var b={text:1,search:1,url:1,email:1,password:1,tel:1};return{create:function(b){var d=a.data(b,"placeHolder");if(d)return d;d=a.data(b,"placeHolder",{text:j(b)});a(b).bind("focus.placeholder blur.placeholder",function(a){h(this,!1,!1,d,a.type);d.box["focus"==a.type?"addClass":"removeClass"]("placeholder-focused")});b.form&&a(b.form).bind("reset.placeholder",
45
- function(a){setTimeout(function(){h(b,!1,!1,d,a.type)},0)});if("password"==b.type||c){d.box=a(b).wrap('<span class="placeholder-box placeholder-box-'+(b.nodeName||"").toLowerCase()+'" />').parent();d.text.insertAfter(b).bind("mousedown.placeholder",function(){h(this,!1,!1,d,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1});a.each(["Left","Top"],function(c,f){var g=(parseInt(a.curCSS(b,"padding"+f),10)||0)+Math.max(parseInt(a.curCSS(b,"margin"+f),10)||0,0)+(parseInt(a.curCSS(b,
46
- "border"+f+"Width"),10)||0);d.text.css("padding"+f,g)});a.curCSS(b,"lineHeight");var f={width:a(b).width(),height:a(b).height()},i=a.curCSS(b,"float");a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(c,f){var g=a.curCSS(b,f);d.text.css(f)!=g&&d.text.css(f,g)});f.width&&f.height&&d.text.css(f);"none"!==i&&d.box.addClass("placeholder-box-"+i)}else f=function(c){a(b).hasClass("placeholder-visible")&&(g(b,d,""),c&&"submit"==c.type&&setTimeout(function(){c.isDefaultPrevented()&&h(b,
47
- !1,!1,d)},9))},a.nodeName(d.text[0],"label")&&setTimeout(function(){d.text.hide()[a.browser.msie?"insertBefore":"insertAfter"](b)},9),a(p).bind("beforeunload",f),d.box=a(b),b.form&&a(b.form).submit(f);return d},update:function(c,d){if(b[a.prop(c,"type")]||a.nodeName(c,"textarea")){var f=m.create(c);f.text.text(d);h(c,!1,d,f)}}}}();a.webshims.publicMethods={pHolder:m};f.forEach(function(a){b.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b.contentAttr(this,"placeholder",a);m.update(this,
48
- a)},get:function(){return b.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});f.forEach(function(c){var d={},f;["attr","prop"].forEach(function(c){d[c]={set:function(d){var g=b.contentAttr(this,"placeholder");a.removeData(this,"cachedValidity");var i=f[c]._supset.call(this,d);g&&"value"in this&&h(this,d,g);return i},get:function(){return a(this).hasClass("placeholder-visible")?"":f[c]._supget.call(this)}}});f=b.defineNodeNameProperty(c,"value",d)})}})()});
49
- jQuery.webshims.ready("dom-support",function(a,b,p,l){(function(){if(!("value"in l.createElement("output"))){b.defineNodeNameProperty("output","value",{prop:{set:function(b){var f=a.data(this,"outputShim");f||(f=q(this));f(b)},get:function(){return b.contentAttr(this,"value")||a(this).text()||""}}});b.onNodeNamesPropertyModify("input","value",function(b,f,j){"removeAttr"!=j&&(f=a.data(this,"outputShim"))&&f(b)});var q=function(h){if(!h.getAttribute("aria-live")){var h=a(h),f=(h.text()||"").trim(),
50
- j=h.attr("id"),t=h.attr("for"),s=a('<input class="output-shim" type="text" disabled name="'+(h.attr("name")||"")+'" value="'+f+'" style="display: none !important;" />').insertAfter(h),g=s[0].form||l,r=function(a){s[0].value=a;a=s[0].value;h.text(a);b.contentAttr(h[0],"value",a)};h[0].defaultValue=f;b.contentAttr(h[0],"value",f);h.attr({"aria-live":"polite"});j&&(s.attr("id",j),h.attr("aria-labeldby",b.getID(a('label[for="'+j+'"]',g))));t&&(j=b.getID(h),t.split(" ").forEach(function(a){(a=l.getElementById(a))&&
51
- a.setAttribute("aria-controls",j)}));h.data("outputShim",r);s.data("outputShim",r);return r}};b.addReady(function(b,f){a("output",b).add(f.filter("output")).each(function(){q(this)})})}})();(function(){var q={updateInput:1,input:1},h={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},f=function(a){var f,h=a.prop("value"),g=function(f){if(a){var c=a.prop("value");c!==h&&(h=c,(!f||!q[f.type])&&b.triggerInlineForm&&b.triggerInlineForm(a[0],"input"))}},l,m=function(){clearTimeout(l);
52
- l=setTimeout(g,9)},p=function(){a.unbind("focusout",p).unbind("keyup keypress keydown paste cut",m).unbind("input change updateInput",g);clearInterval(f);setTimeout(function(){g();a=null},1)};clearInterval(f);f=setInterval(g,99);m();a.bind("keyup keypress keydown paste cut",m).bind("focusout",p).bind("input updateInput change",g)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(l).bind("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||
53
- "").toLowerCase()&&!h[b.target.type]&&f(a(b.target))})})();b.isReady("form-output",!0)});
18
+ checkbox:"Bitte aktivieren Sie das K\u00e4stchen"}};["select","radio"].forEach(function(a){d.de.valueMissing[a]="Bitte w\u00e4hlen Sie eine Option aus"});["date","time","datetime-local"].forEach(function(a){d.de.rangeUnderflow[a]="{%value} ist zu fr\u00fch. {%min} ist die fr\u00fcheste Zeit, die Sie benutzen k\u00f6nnen."});["date","time","datetime-local"].forEach(function(a){d.de.rangeOverflow[a]="{%value} ist zu sp\u00e4t. {%max} ist die sp\u00e4teste Zeit, die Sie benutzen k\u00f6nnen."});var j=
19
+ d[""];b.createValidationMessage=function(b,d){var g=j[d];g&&"string"!==typeof g&&(g=g[a.prop(b,"type")]||g[(b.nodeName||"").toLowerCase()]||g.defaultMessage);g&&"value,min,max,title,maxlength,label".split(",").forEach(function(d){if(-1!==g.indexOf("{%"+d)){var n=("label"==d?a.trim(a('label[for="'+b.id+'"]',b.form).text()).replace(/\*$|:$/,""):a.attr(b,d))||"";g=g.replace("{%"+d+"}",n);"value"==d&&(g=g.replace("{%valueLen}",n.length))}});return g||""};(b.bugs.validationMessage||!Modernizr.formvalidation||
20
+ b.bugs.bustedValidity)&&p.push("validationMessage");b.activeLang({langObj:d,module:"form-core",callback:function(a){j=a}});Modernizr.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&b.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var d=a("select",this);if(d[0]&&d[0].options&&d[0].options.length)b=d[0].options}return b}}});p.forEach(function(d){b.defineNodeNamesProperty(["fieldset",
21
+ "output","button"],d,{prop:{value:"",writeable:!1}});["input","select","textarea"].forEach(function(h){var g=b.defineNodeNameProperty(h,d,{prop:{get:function(){var d=this,h="";if(!a.prop(d,"willValidate"))return h;var j=a.prop(d,"validity")||{valid:1};if(j.valid||(h=b.getContentValidationMessage(d,j)))return h;if(j.customError&&d.nodeName&&(h=Modernizr.formvalidation&&!b.bugs.bustedValidity&&g.prop._supget?g.prop._supget.call(d):b.data(d,"customvalidationMessage")))return h;a.each(j,function(a,c){if("valid"!=
22
+ a&&c&&(h=b.createValidationMessage(d,a)))return!1});return h||""},writeable:!1}})})})});
23
+ (!Modernizr.formvalidation||jQuery.webshims.bugs.bustedValidity)&&jQuery.webshims.register("form-extend",function(a,b,p,l){b.inputTypes=b.inputTypes||{};var q=b.cfg.forms,h,d=b.inputTypes,j={radio:1,checkbox:1};b.addInputType=function(c,a){d[c]=a};var t={customError:!1,typeMismatch:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,tooLong:!1,patternMismatch:!1,valueMissing:!1,valid:!0},s={valueMissing:function(c,m,f){if(!c.prop("required"))return!1;var d=!1;if(!("type"in f))f.type=(c[0].getAttribute("type")||
24
+ c[0].type||"").toLowerCase();if("select"==f.nodeName){if(m=!m)if(!(m=0>c[0].selectedIndex))c=c[0],m="select-one"==c.type&&2>c.size?!!a("> option:first-child",c).prop("selected"):!1;c=m}else c=j[f.type]?"checkbox"==f.type?!c.is(":checked"):!b.modules["form-core"].getGroupElements(c).filter(":checked")[0]:!m;return c},tooLong:function(){return!1},typeMismatch:function(c,a,b){if(""===a||"select"==b.nodeName)return!1;var g=!1;if(!("type"in b))b.type=(c[0].getAttribute("type")||c[0].type||"").toLowerCase();
25
+ d[b.type]&&d[b.type].mismatch&&(g=d[b.type].mismatch(a,c));return g},patternMismatch:function(c,a,f){if(""===a||"select"==f.nodeName)return!1;c=c.attr("pattern");if(!c)return!1;try{c=RegExp("^(?:"+c+")$")}catch(d){b.error('invalid pattern value: "'+c+'" | '+d),c=!1}return!c?!1:!c.test(a)}};b.addValidityRule=function(c,a){s[c]=a};a.event.special.invalid={add:function(){a.event.special.invalid.setup.call(this.form||this)},setup:function(){var c=this.form||this;if(!a.data(c,"invalidEventShim")&&(a(c).data("invalidEventShim",
26
+ !0).bind("submit",a.event.special.invalid.handler),b.moveToFirstEvent(c,"submit"),b.bugs.bustedValidity&&a.nodeName(c,"form"))){var m=c.getAttribute("novalidate");c.setAttribute("novalidate","novalidate");b.data(c,"bustedNoValidate",null==m?null:m)}},teardown:a.noop,handler:function(c){if(!("submit"!=c.type||c.testedValidity||!c.originalEvent||!a.nodeName(c.target,"form")||a.prop(c.target,"noValidate"))){h=!0;c.testedValidity=!0;if(!a(c.target).checkValidity())return c.stopImmediatePropagation(),
27
+ h=!1;h=!1}}};a(l).bind("invalid",a.noop);a.event.special.submit=a.event.special.submit||{setup:function(){return!1}};var g=a.event.special.submit.setup;a.extend(a.event.special.submit,{setup:function(){a.nodeName(this,"form")?a(this).bind("invalid",a.noop):a("form",this).bind("invalid",a.noop);return g.apply(this,arguments)}});b.addInputType("email",{mismatch:function(){var a=q.emailReg||/^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return function(b){return!a.test(b)}}()});
28
+ b.addInputType("url",{mismatch:function(){var a=q.urlReg||/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;
29
+ return function(b){return!a.test(b)}}()});b.defineNodeNameProperty("input","type",{prop:{get:function(){var a=(this.getAttribute("type")||"").toLowerCase();return b.inputTypes[a]?a:this.type}}});b.defineNodeNamesProperties(["button","fieldset","output"],{checkValidity:{value:function(){return!0}},willValidate:{value:!1},setCustomValidity:{value:a.noop},validity:{writeable:!1,get:function(){return a.extend({},t)}}},"prop");var r=function(c){var d,f=a.prop(c,"validity");if(f)a.data(c,"cachedValidity",
30
+ f);else return!0;if(!f.valid){d=a.Event("invalid");var g=a(c).trigger(d);if(h&&!r.unhandledInvalids&&!d.isDefaultPrevented())b.validityAlert.showFor(g),r.unhandledInvalids=!0}a.removeData(c,"cachedValidity");return f.valid};b.defineNodeNameProperty("form","checkValidity",{prop:{value:function(){var c=!0,d=a("input,textarea,select",this).filter(function(){var a=b.data(this,"shadowData");return!a||!a.nativeElement||a.nativeElement===this});r.unhandledInvalids=!1;for(var f=0,g=d.length;f<g;f++)r(d[f])||
31
+ (c=!1);return c}}});b.defineNodeNamesProperties(["input","textarea","select"],{checkValidity:{value:function(){r.unhandledInvalids=!1;return r(a(this).getNativeElement()[0])}},setCustomValidity:{value:function(c){a.removeData(this,"cachedValidity");b.data(this,"customvalidationMessage",""+c)}},willValidate:{set:a.noop,get:function(){var c={button:1,reset:1,hidden:1,image:1};return function(){var b=a(this).getNativeElement()[0];return!(b.disabled||b.readOnly||c[b.type])}}()},validity:{set:a.noop,get:function(){var c=
32
+ a(this).getNativeElement(),d=c[0],f=a.data(d,"cachedValidity");if(f)return f;f=a.extend({},t);if(!a.prop(d,"willValidate")||"submit"==d.type)return f;var g=c.val(),h={nodeName:d.nodeName.toLowerCase()};f.customError=!!b.data(d,"customvalidationMessage");if(f.customError)f.valid=!1;a.each(s,function(a,b){if(b(c,g,h))f[a]=!0,f.valid=!1});a(this).getShadowFocusElement().attr("aria-invalid",f.valid?"false":"true");d=c=null;return f}}},"prop");b.defineNodeNamesBooleanProperty(["input","textarea","select"],
33
+ "required",{set:function(c){a(this).getShadowFocusElement().attr("aria-required",!!c+"")},initAttr:!a.browser.msie||7<b.browserVersion});b.reflectProperties(["input"],["pattern"]);if(!("maxLength"in l.createElement("textarea"))){var n=function(){var c,b=0,f=a([]),d=1E9,g=function(){var a=f.prop("value"),c=a.length;c>b&&c>d&&(c=Math.max(b,d),f.prop("value",a.substr(0,c)));b=c},h=function(){clearTimeout(c);f.unbind(".maxlengthconstraint")};return function(j,i){h();if(-1<i)d=i,b=a.prop(j,"value").length,
34
+ f=a(j),f.bind("keydown.maxlengthconstraint keypress.maxlengthconstraint paste.maxlengthconstraint cut.maxlengthconstraint",function(){setTimeout(g,0)}),f.bind("keyup.maxlengthconstraint",g),f.bind("blur.maxlengthconstraint",h),c=setInterval(g,200)}}();n.update=function(c,b){c===l.activeElement&&(null==b&&(b=a.prop(c,"maxlength")),n(e.target,b))};a(l).bind("focusin",function(c){var b;"TEXTAREA"==c.target.nodeName&&-1<(b=a.prop(c.target,"maxlength"))&&n(c.target,b)});b.defineNodeNameProperty("textarea",
35
+ "maxlength",{attr:{set:function(a){this.setAttribute("maxlength",""+a);n.update(this)},get:function(){var a=this.getAttribute("maxlength");return null==a?void 0:a}},prop:{set:function(a){if("number"==typeof a||a&&a==1*a){if(0>a)throw"INDEX_SIZE_ERR";a=parseInt(a,10);this.setAttribute("maxlength",a);n.update(this,a)}else this.setAttribute("maxlength","0"),n.update(this,0)},get:function(){var a=this.getAttribute("maxlength");return("number"==typeof a||a&&a==1*a)&&0<=a?parseInt(a,10):-1}}});b.defineNodeNameProperty("textarea",
36
+ "maxLength",{prop:{set:function(c){a.prop(this,"maxlength",c)},get:function(){return a.prop(this,"maxlength")}}})}var w={submit:1,button:1,image:1},o={};[{name:"enctype",limitedTo:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},defaultProp:"application/x-www-form-urlencoded",proptype:"enum"},{name:"method",limitedTo:{get:1,post:1},defaultProp:"get",proptype:"enum"},{name:"action",proptype:"url"},{name:"target"},{name:"novalidate",propName:"noValidate",proptype:"boolean"}].forEach(function(c){var b=
37
+ "form"+(c.propName||c.name).replace(/^[a-z]/,function(a){return a.toUpperCase()}),f="form"+c.name,d=c.name,g="click.webshimssubmittermutate"+d,h=function(){if("form"in this&&w[this.type]){var i=a.prop(this,"form");if(i){var k=a.attr(this,f);if(null!=k&&(!c.limitedTo||k.toLowerCase()===a.prop(this,b))){var g=a.attr(i,d);a.attr(i,d,k);setTimeout(function(){if(null!=g)a.attr(i,d,g);else try{a(i).removeAttr(d)}catch(c){i.removeAttribute(d)}},9)}}}};switch(c.proptype){case "url":var j=l.createElement("form");
38
+ o[b]={prop:{set:function(c){a.attr(this,f,c)},get:function(){var c=a.attr(this,f);if(null==c)return"";j.setAttribute("action",c);return j.action}}};break;case "boolean":o[b]={prop:{set:function(c){c?a.attr(this,"formnovalidate","formnovalidate"):a(this).removeAttr("formnovalidate")},get:function(){return null!=a.attr(this,"formnovalidate")}}};break;case "enum":o[b]={prop:{set:function(c){a.attr(this,f,c)},get:function(){var b=a.attr(this,f);return!b||(b=b.toLowerCase())&&!c.limitedTo[b]?c.defaultProp:
39
+ b}}};break;default:o[b]={prop:{set:function(c){a.attr(this,f,c)},get:function(){var c=a.attr(this,f);return null!=c?c:""}}}}o[f]||(o[f]={});o[f].attr={set:function(c){o[f].attr._supset.call(this,c);a(this).unbind(g).bind(g,h)},get:function(){return o[f].attr._supget.call(this)}};o[f].initAttr=!0;o[f].removeAttr={value:function(){a(this).unbind(g);o[f].removeAttr._supvalue.call(this)}}});b.defineNodeNamesProperties(["input","button"],o);!a.support.getSetAttribute&&null==a("<form novalidate></form>").attr("novalidate")?
40
+ b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){this.setAttribute("novalidate",""+a)},get:function(){var a=this.getAttribute("novalidate");return null==a?void 0:a}}}):b.bugs.bustedValidity&&b.defineNodeNameProperty("form","novalidate",{attr:{set:function(a){b.data(this,"bustedNoValidate",""+a)},get:function(){var a=b.data(this,"bustedNoValidate");return null==a?void 0:a}},removeAttr:{value:function(){b.data(this,"bustedNoValidate",null)}}});b.defineNodeNameProperty("form","noValidate",
41
+ {prop:{set:function(c){c?a.attr(this,"novalidate","novalidate"):a(this).removeAttr("novalidate")},get:function(){return null!=a.attr(this,"novalidate")}}});b.addReady(function(c,b){var f;a("form",c).add(b.filter("form")).bind("invalid",a.noop);try{if(c==l&&!("form"in(l.activeElement||{})))(f=a("input[autofocus], select[autofocus], textarea[autofocus]",c).eq(0).getShadowFocusElement()[0])&&f.offsetHeight&&f.offsetWidth&&f.focus()}catch(d){}});(function(){Modernizr.textareaPlaceholder=!!("placeholder"in
42
+ a("<textarea />")[0]);if(!Modernizr.input.placeholder||!Modernizr.textareaPlaceholder){var c="over"==b.cfg.forms.placeholderType,d=["textarea"];Modernizr.input.placeholder||d.push("input");var f=function(a){if(a.setSelectionRange)return a.setSelectionRange(0,0),!0;if(a)return a=a.createTextRange(),a.collapse(!0),a.moveEnd("character",0),a.moveStart("character",0),a.select(),!0},g=function(b,d,g,h){!1===g&&(g=a.prop(b,"value"));if(!c&&"password"!=b.type){if(!g&&h&&f(b)){var j;a(b).unbind(".placeholderremove").bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",
43
+ function(c){if(!c||!(17==c.keyCode||16==c.keyCode))b.value=a.prop(b,"value"),d.box.removeClass("placeholder-visible"),clearTimeout(j),a(b).unbind(".placeholderremove")}).bind("mousedown.placeholderremove drag.placeholderremove select.placeholderremove",function(){f(b);clearTimeout(j);j=setTimeout(function(){f(b)},9)}).bind("blur.placeholderremove",function(){clearTimeout(j);a(b).unbind(".placeholderremove")});return}b.value=g}else if(!g&&h){a(b).unbind(".placeholderremove").bind("keydown.placeholderremove keypress.placeholderremove paste.placeholderremove input.placeholderremove",
44
+ function(c){if(!c||!(17==c.keyCode||16==c.keyCode))d.box.removeClass("placeholder-visible"),a(b).unbind(".placeholderremove")}).bind("blur.placeholderremove",function(){a(b).unbind(".placeholderremove")});return}d.box.removeClass("placeholder-visible")},h=function(b,d,f,h,j){if(!h&&(h=a.data(b,"placeHolder"),!h))return;a(b).unbind(".placeholderremove");if("focus"==j||!j&&b===l.activeElement)("password"==b.type||c||a(b).hasClass("placeholder-visible"))&&g(b,h,"",!0);else if(!1===d&&(d=a.prop(b,"value")),
45
+ d)g(b,h,d);else if(!1===f&&(f=a.attr(b,"placeholder")||""),f&&!d){d=h;!1===f&&(f=a.prop(b,"placeholder"));if(!c&&"password"!=b.type)b.value=f;d.box.addClass("placeholder-visible")}else g(b,h,d)},j=function(c){var c=a(c),b=c.prop("id"),d=!(!c.prop("title")&&!c.attr("aria-labelledby"));!d&&b&&(d=!!a('label[for="'+b+'"]',c[0].form)[0]);d||(b||(b=a.webshims.getID(c)),d=!!a("label #"+b)[0]);return a(d?'<span class="placeholder-text"></span>':'<label for="'+b+'" class="placeholder-text"></label>')},n=function(){var d=
46
+ {text:1,search:1,url:1,email:1,password:1,tel:1};return{create:function(b){var d=a.data(b,"placeHolder");if(d)return d;d=a.data(b,"placeHolder",{});a(b).bind("focus.placeholder blur.placeholder",function(a){h(this,!1,!1,d,a.type);d.box["focus"==a.type?"addClass":"removeClass"]("placeholder-focused")});b.form&&a(b.form).bind("reset.placeholder",function(a){setTimeout(function(){h(b,!1,!1,d,a.type)},0)});if("password"==b.type||c){d.text=j(b);d.box=a(b).wrap('<span class="placeholder-box placeholder-box-'+
47
+ (b.nodeName||"").toLowerCase()+'" />').parent();d.text.insertAfter(b).bind("mousedown.placeholder",function(){h(this,!1,!1,d,"focus");try{setTimeout(function(){b.focus()},0)}catch(a){}return!1});a.each(["Left","Top"],function(c,f){var g=(parseInt(a.curCSS(b,"padding"+f),10)||0)+Math.max(parseInt(a.curCSS(b,"margin"+f),10)||0,0)+(parseInt(a.curCSS(b,"border"+f+"Width"),10)||0);d.text.css("padding"+f,g)});a.curCSS(b,"lineHeight");var f={width:a(b).width(),height:a(b).height()},i=a.curCSS(b,"float");
48
+ a.each(["lineHeight","fontSize","fontFamily","fontWeight"],function(c,f){var g=a.curCSS(b,f);d.text.css(f)!=g&&d.text.css(f,g)});f.width&&f.height&&d.text.css(f);"none"!==i&&d.box.addClass("placeholder-box-"+i)}else f=function(c){a(b).hasClass("placeholder-visible")&&(g(b,d,""),c&&"submit"==c.type&&setTimeout(function(){c.isDefaultPrevented()&&h(b,!1,!1,d)},9))},a(p).bind("beforeunload",f),d.box=a(b),b.form&&a(b.form).submit(f);return d},update:function(c,f){if(!d[a.prop(c,"type")]&&!a.nodeName(c,
49
+ "textarea"))b.warn("placeholder not allowed on type: "+a.prop(c,"type"));else{var g=n.create(c);g.text&&g.text.text(f);h(c,!1,f,g)}}}}();a.webshims.publicMethods={pHolder:n};d.forEach(function(a){b.defineNodeNameProperty(a,"placeholder",{attr:{set:function(a){b.contentAttr(this,"placeholder",a);n.update(this,a)},get:function(){return b.contentAttr(this,"placeholder")}},reflect:!0,initAttr:!0})});d.forEach(function(c){var d={},f;["attr","prop"].forEach(function(c){d[c]={set:function(d){var g=b.contentAttr(this,
50
+ "placeholder");a.removeData(this,"cachedValidity");var i=f[c]._supset.call(this,d);g&&"value"in this&&h(this,d,g);return i},get:function(){return a(this).hasClass("placeholder-visible")?"":f[c]._supget.call(this)}}});f=b.defineNodeNameProperty(c,"value",d)})}})()});
51
+ jQuery.webshims.ready("dom-support",function(a,b,p,l){(function(){if(!("value"in l.createElement("output"))){b.defineNodeNameProperty("output","value",{prop:{set:function(b){var d=a.data(this,"outputShim");d||(d=q(this));d(b)},get:function(){return b.contentAttr(this,"value")||a(this).text()||""}}});b.onNodeNamesPropertyModify("input","value",function(b,d,j){"removeAttr"!=j&&(d=a.data(this,"outputShim"))&&d(b)});var q=function(h){if(!h.getAttribute("aria-live")){var h=a(h),d=(h.text()||"").trim(),
52
+ j=h.attr("id"),t=h.attr("for"),s=a('<input class="output-shim" type="text" disabled name="'+(h.attr("name")||"")+'" value="'+d+'" style="display: none !important;" />').insertAfter(h),g=s[0].form||l,r=function(a){s[0].value=a;a=s[0].value;h.text(a);b.contentAttr(h[0],"value",a)};h[0].defaultValue=d;b.contentAttr(h[0],"value",d);h.attr({"aria-live":"polite"});j&&(s.attr("id",j),h.attr("aria-labelledby",b.getID(a('label[for="'+j+'"]',g))));t&&(j=b.getID(h),t.split(" ").forEach(function(a){(a=l.getElementById(a))&&
53
+ a.setAttribute("aria-controls",j)}));h.data("outputShim",r);s.data("outputShim",r);return r}};b.addReady(function(b,d){a("output",b).add(d.filter("output")).each(function(){q(this)})})}})();(function(){var q={updateInput:1,input:1},h={radio:1,checkbox:1,submit:1,button:1,image:1,reset:1,file:1,color:1},d=function(a){var d,h=a.prop("value"),g=function(d){if(a){var c=a.prop("value");c!==h&&(h=c,(!d||!q[d.type])&&b.triggerInlineForm&&b.triggerInlineForm(a[0],"input"))}},l,n=function(){clearTimeout(l);
54
+ l=setTimeout(g,9)},p=function(){a.unbind("focusout",p).unbind("keyup keypress keydown paste cut",n).unbind("input change updateInput",g);clearInterval(d);setTimeout(function(){g();a=null},1)};clearInterval(d);d=setInterval(g,99);n();a.bind("keyup keypress keydown paste cut",n).bind("focusout",p).bind("input updateInput change",g)};if(a.event.customEvent)a.event.customEvent.updateInput=!0;a(l).bind("focusin",function(b){b.target&&b.target.type&&!b.target.readOnly&&!b.target.disabled&&"input"==(b.target.nodeName||
55
+ "").toLowerCase()&&!h[b.target.type]&&d(a(b.target))})})();b.isReady("form-output",!0)});
@@ -1,73 +1,75 @@
1
- (function(a){if(!Modernizr.genericDOM){var d=document,k,f,p=/<([\w:]+)/,h={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||h[(p.exec(a)||["",""])[1].toLowerCase()])return a;if(!f){k=d.body;if(!k)return a;f=d.createElement("div");f.style.display="none"}var v=f.cloneNode(!1);k.appendChild(v);v.innerHTML=a;k.removeChild(v);return v.childNodes}}})(jQuery);
2
- jQuery.webshims.register("dom-extend",function(a,d,k,f,p){var h=d.modules,s=/\s*,\s*/,v={},w={},t={},n={},b={},l=a.fn.val,q=function(g,c,e,m,b){return b?l.call(a(g)):l.call(a(g),e)};a.fn.val=function(g){var c=this[0];arguments.length&&null==g&&(g="");if(!arguments.length)return!c||1!==c.nodeType?l.call(this):a.prop(c,"value",g,"val",!0);if(a.isArray(g))return l.apply(this,arguments);var e=a.isFunction(g);return this.each(function(m){c=this;1===c.nodeType&&(e?(m=g.call(c,m,a.prop(c,"value",p,"val",
3
- !0)),null==m&&(m=""),a.prop(c,"value",m,"val")):a.prop(c,"value",g,"val"))})};var j="_webshimsLib"+Math.round(1E3*Math.random()),u=function(g,c,e){g=g.jquery?g[0]:g;if(!g)return e||{};var m=a.data(g,j);e!==p&&(m||(m=a.data(g,j,{})),c&&(m[c]=e));return c?m&&m[c]:m};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(g){a.fn[g.name]=function(){return this.map(function(){var a=u(this,
4
- "shadowData");return a&&a[g.prop]||this})}});["removeAttr","prop","attr"].forEach(function(g){v[g]=a[g];a[g]=function(c,e,m,i,d){var l="val"==i,r=!l?v[g]:q;if(!c||!w[e]||1!==c.nodeType||!l&&i&&"attr"==g&&a.attrFn[e])return r(c,e,m,i,d);var z=(c.nodeName||"").toLowerCase(),u=t[z],o="attr"==g&&(!1===m||null===m)?"removeAttr":g,h,j,f;u||(u=t["*"]);u&&(u=u[e]);u&&(h=u[o]);if(h){if("value"==e)j=h.isVal,h.isVal=l;if("removeAttr"===o)return h.value.call(c);if(m===p)return h.get?h.get.call(c):h.value;h.set&&
5
- ("attr"==g&&!0===m&&(m=e),f=h.set.call(c,m));if("value"==e)h.isVal=j}else f=r(c,e,m,i,d);if((m!==p||"removeAttr"===o)&&b[z]&&b[z][e]){var x;x="removeAttr"==o?!1:"prop"==o?!!m:!0;b[z][e].forEach(function(a){if(!a.only||(a.only="prop"==g)||"attr"==a.only&&"prop"!=g)a.call(c,m,x,l?"val":o,g)})}return f};n[g]=function(c,e,m){t[c]||(t[c]={});t[c][e]||(t[c][e]={});var b=t[c][e][g],i=function(a,c,b){return c&&c[a]?c[a]:b&&b[a]?b[a]:"prop"==g&&"value"==e?function(a){return m.isVal?q(this,e,a,!1,0===arguments.length):
6
- v[g](this,e,a)}:"prop"==g&&"value"==a&&m.value.apply?function(a){var c=v[g](this,e);c&&c.apply&&(c=c.apply(this,arguments));return c}:function(a){return v[g](this,e,a)}};t[c][e][g]=m;if(m.value===p){if(!m.set)m.set=m.writeable?i("set",m,b):d.cfg.useStrict&&"prop"==e?function(){throw e+" is readonly on "+c;}:a.noop;if(!m.get)m.get=i("get",m,b)}["value","get","set"].forEach(function(a){m[a]&&(m["_sup"+a]=i(a,b))})}});var i=!a.browser.msie||8<parseInt(a.browser.version,10),o=function(){var a=d.getPrototypeOf(f.createElement("foobar")),
7
- c=Object.prototype.hasOwnProperty;return function(e,b,y){var l=f.createElement(e),h=d.getPrototypeOf(l);if(i&&h&&a!==h&&(!l[b]||!c.call(l,b))){var o=l[b];y._supvalue=function(){return o&&o.apply?o.apply(this,arguments):o};h[b]=y.value}else y._supvalue=function(){var a=u(this,"propValue");return a&&a[b]&&a[b].apply?a[b].apply(this,arguments):a&&a[b]},r.extendValue(e,b,y.value);y.value._supvalue=y._supvalue}}(),r=function(){var g={};d.addReady(function(c,e){var b={},m=function(g){b[g]||(b[g]=a(c.getElementsByTagName(g)),
8
- e[0]&&a.nodeName(e[0],g)&&(b[g]=b[g].add(e)))};a.each(g,function(a,c){m(a);!c||!c.forEach?d.warn("Error: with "+a+"-property. methods: "+c):c.forEach(function(c){b[a].each(c)})});b=null});var c,e=a([]),b=function(e,b){g[e]?g[e].push(b):g[e]=[b];a.isDOMReady&&(c||a(f.getElementsByTagName(e))).each(b)};return{createTmpCache:function(g){a.isDOMReady&&(c=c||a(f.getElementsByTagName(g)));return c||e},flushTmpCache:function(){c=null},content:function(c,g){b(c,function(){var c=a.attr(this,g);null!=c&&a.attr(this,
9
- g,c)})},createElement:function(a,c){b(a,c)},extendValue:function(c,g,e){b(c,function(){a(this).each(function(){u(this,"propValue",{})[g]=this[g];this[g]=e})})}}}(),x=function(a,c){if(a.defaultValue===p)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[c||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(d,{getID:function(){var g=(new Date).getTime();return function(c){var c=a(c),e=c.attr("id");e||(g++,e="ID-"+g,c.attr("id",e));return e}}(),extendUNDEFProp:function(g,
10
- c){a.each(c,function(a,c){a in g||(g[a]=c)})},createPropDefault:x,data:u,moveToFirstEvent:function(){var g=a._data?"_data":"data";return function(c,e,b){if((c=(a[g](c,"events")||{})[e])&&1<c.length)e=c.pop(),b||(b="bind"),"bind"==b&&c.delegateCount?c.splice(c.delegateCount,0,e):c.unshift(e)}}(),addShadowDom:function(g,c,e){e=e||{};g.jquery&&(g=g[0]);c.jquery&&(c=c[0]);if(!e.shadowFocusElement)e.shadowFocusElement=c;var b=a.data(g,j)||a.data(g,j,{}),i=a.data(c,j)||a.data(c,j,{});b.hasShadow=c;i.nativeElement=
11
- g;i.shadowData=b.shadowData={nativeElement:g,shadowElement:c,shadowFocusElement:e.shadowFocusElement};e.shadowChilds&&e.shadowChilds.each(function(){u(this,"shadowData",i.shadowData)});if(e.data)b.shadowData.data=e.data,i.shadowData.data=e.data;e=null},propTypes:{standard:function(a){x(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){x(a);if(!a.prop)a.prop={set:function(c){c?a.attr.set.call(this,
12
- ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(g,c){"string"==typeof c&&(c=c.split(s));c.forEach(function(c){d.defineNodeNamesProperty(g,c,{prop:{set:function(g){a.attr(this,c,g)},get:function(){return a.attr(this,c)||""}}})})},defineNodeNameProperty:function(g,c,e){w[c]=!0;if(e.reflect)d.propTypes[e.propType||"standard"](e);["prop","attr","removeAttr"].forEach(function(b){var i=e[b];i&&(i="prop"===b?a.extend({writeable:!0},i):a.extend({},
13
- i,{writeable:!0}),n[b](g,c,i),"*"!=g&&d.cfg.extendNative&&"prop"==b&&i.value&&a.isFunction(i.value)&&o(g,c,i),e[b]=i)});e.initAttr&&r.content(g,c);return e},defineNodeNameProperties:function(a,c,e,b){for(var i in c)!b&&c[i].initAttr&&r.createTmpCache(a),e&&(c[i][e]?d.log("override: "+a+"["+i+"] for "+e):(c[i][e]={},["value","set","get"].forEach(function(a){a in c[i]&&(c[i][e][a]=c[i][a],delete c[i][a])}))),c[i]=d.defineNodeNameProperty(a,i,c[i]);b||r.flushTmpCache();return c},createElement:function(g,
14
- c,e){var b;a.isFunction(c)&&(c={after:c});r.createTmpCache(g);c.before&&r.createElement(g,c.before);e&&(b=d.defineNodeNameProperties(g,e,!1,!0));c.after&&r.createElement(g,c.after);r.flushTmpCache();return b},onNodeNamesPropertyModify:function(g,c,e,i){"string"==typeof g&&(g=g.split(s));a.isFunction(e)&&(e={set:e});g.forEach(function(a){b[a]||(b[a]={});"string"==typeof c&&(c=c.split(s));e.initAttr&&r.createTmpCache(a);c.forEach(function(c){b[a][c]||(b[a][c]=[],w[c]=!0);if(e.set){if(i)e.set.only=i;
15
- b[a][c].push(e.set)}e.initAttr&&r.content(a,c)});r.flushTmpCache()})},defineNodeNamesBooleanProperty:function(g,c,e){e||(e={});if(a.isFunction(e))e.set=e;d.defineNodeNamesProperty(g,c,{attr:{set:function(a){this.setAttribute(c,a);e.set&&e.set.call(this,!0)},get:function(){return null==this.getAttribute(c)?p: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,e){if(a.nodeName){if(e===
16
- p)return e=(a.attributes[c]||{}).value,null==e?p:e;"boolean"==typeof e?e?a.setAttribute(c,c):a.removeAttribute(c):a.setAttribute(c,e)}},activeLang:function(){var g=[],c={},e,b,i=/:\/\/|^\.*\//,l=function(c,b,g){return b&&g&&-1!==a.inArray(b,g.availabeLangs||[])?(c.loading=!0,g=g.langSrc,i.test(g)||(g=d.cfg.basePath+g),d.loader.loadScript(g+b+".js",function(){c.langObj[b]?(c.loading=!1,r(c,!0)):a(function(){c.langObj[b]&&r(c,!0);c.loading=!1})}),!0):!1},o=function(a){c[a]&&c[a].forEach(function(a){a.callback()})},
17
- r=function(a,c){if(a.activeLang!=e&&a.activeLang!==b){var g=h[a.module].options;if(a.langObj[e]||b&&a.langObj[b])a.activeLang=e,a.callback(a.langObj[e]||a.langObj[b],e),o(a.module);else if(!c&&!l(a,e,g)&&!l(a,b,g)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],e),o(a.module)}};return function(i){if("string"==typeof i&&i!==e)e=i,b=e.split("-")[0],e==b&&(b=!1),a.each(g,function(a,c){r(c)});else if("object"==typeof i)if(i.register)c[i.register]||(c[i.register]=[]),c[i.register].push(i),
18
- i.callback();else{if(!i.activeLang)i.activeLang="";g.push(i);r(i)}return e}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,c){d[a]=function(a,g,b,i){"string"==typeof a&&(a=a.split(s));var l={};a.forEach(function(a){l[a]=d[c](a,g,b,i)});return l}});d.isReady("webshimLocalization",!0)});
19
- (function(a,d){var k=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<k)&&(!a.browser.msie||12>k&&7<k)){var f={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(a,d){a.getAttribute("role")||a.setAttribute("role",d)};a.webshims.addReady(function(h,s){a.each(f,function(d,b){for(var l=a(d,h).add(s.filter(d)),q=0,j=l.length;q<j;q++)p(l[q],b)});if(h===d){var k=d.getElementsByTagName("header")[0],w=d.getElementsByTagName("footer"),t=w.length;
20
- k&&!a(k).closest("section, article")[0]&&p(k,"banner");t&&(k=w[t-1],a(k).closest("section, article")[0]||p(k,"contentinfo"))}})}})(jQuery,document);
21
- jQuery.webshims.register("form-datalist",function(a,d,k,f,p){d.propTypes.element=function(h){d.createPropDefault(h,"attr");if(!h.prop)h.prop={get:function(){var d=h.attr.get.call(this);d&&(d=a("#"+d)[0])&&h.propNodeName&&!a.nodeName(d,h.propNodeName)&&(d=null);return d||null},writeable:!1}};(function(){if(!Modernizr.input.list){var h=0,s={submit:1,button:1,reset:1,hidden:1,range:1,date:1},v=a.browser.msie&&7>parseInt(a.browser.version,10),w={},t=function(a){if(!a)return[];if(w[a])return w[a];var l;
22
- try{l=JSON.parse(localStorage.getItem("storedDatalistOptions"+a))}catch(d){}w[a]=l||[];return l||[]},n={_create:function(b){if(!s[a.prop(b.input,"type")]){var d=b.datalist,q=a.data(b.input,"datalistWidget");if(d&&q&&q.datalist!==d)q.datalist=d,q.id=b.id,a(q.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(q,"_resetListCached")),q._resetListCached();else if(d){if(!(q&&q.datalist===d)){h++;var j=this;this.hideList=a.proxy(j,"hideList");this.timedHide=function(){clearTimeout(j.hideTimer);
23
- j.hideTimer=setTimeout(j.hideList,9)};this.datalist=d;this.id=b.id;this.hasViewableData=!0;this._autocomplete=a.attr(b.input,"autocomplete");a.data(b.input,"datalistWidget",this);this.shadowList=a('<div class="datalist-polyfill" />').appendTo("body");this.index=-1;this.input=b.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",function(b){var i=a("li:not(.hidden-item)",j.shadowList),d="mousedown"==b.type||"click"==b.type;
24
- j.markItem(i.index(b.currentTarget),d,i);"click"==b.type&&j.hideList();return"mousedown"!=b.type}).bind("focusout",this.timedHide);b.input.setAttribute("autocomplete","off");a(b.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!j.triggeredByDatalist)j.changedValue=!1,j.showHideOptions()}).bind("keydown.datalistWidget",function(b){var i=b.keyCode;if(40==i&&!j.showList())return j.markItem(j.index+1,!0),!1;if(j.isListVisible){if(38==i)return j.markItem(j.index-1,!0),!1;
25
- if(!b.shiftKey&&(33==i||36==i))return j.markItem(0,!0),!1;if(!b.shiftKey&&(34==i||35==i))return b=a("li:not(.hidden-item)",j.shadowList),j.markItem(b.length-1,!0,b),!1;if(13==i||27==i)return 13==i&&j.changeValue(a("li.active-item:not(.hidden-item)",j.shadowList)),j.hideList(),!1}}).bind("focus.datalistWidget",function(){a(this).hasClass("list-focus")&&j.showList()}).bind("mousedown.datalistWidget",function(){(this==f.activeElement||a(this).is(":focus"))&&j.showList()}).bind("blur.datalistWidget",
26
- this.timedHide);a(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(this,"_resetListCached"));this._resetListCached();b.input.form&&b.input.id&&a(b.input.form).bind("submit.datalistWidget"+b.input.id,function(){var d=a.prop(b.input,"value"),i=(b.input.name||b.input.id)+a.prop(b.input,"type");if(!j.storedOptions)j.storedOptions=t(i);if(d&&-1==j.storedOptions.indexOf(d)&&(j.storedOptions.push(d),d=j.storedOptions,i)){d=d||[];try{localStorage.setItem("storedDatalistOptions"+
27
- i,JSON.stringify(d))}catch(l){}}});a(k).bind("unload",function(){j.destroy()})}}else q&&q.destroy()}},destroy:function(){var b=a.attr(this.input,"autocomplete");a(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();a(f).unbind(".datalist"+this.id);this.input.form&&this.input.id&&a(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");b===p?this.input.removeAttribute("autocomplete"):a(this.input).attr("autocomplete",
28
- b)},_resetListCached:function(a){var l=this,q;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(k.QUnit||(q=a&&f.activeElement==l.input)?l.updateListOptions(q):d.ready("WINDOWLOAD",function(){l.updateTimer=setTimeout(function(){l.updateListOptions();l=null;h=1},200+100*h)}))},updateListOptions:function(b){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:a.curCSS(this.input,"fontSize"),fontFamily:a.curCSS(this.input,
29
- "fontFamily")});var d=[],h=[],j=[],f,i,o,r;for(i=a.prop(this.datalist,"options"),o=0,r=i.length;o<r;o++){f=i[o];if(f.disabled)return;f={value:a(f).val()||"",text:a.trim(a.attr(f,"label")||f.textContent||f.innerText||a.text([f])||""),className:f.className||"",style:a.attr(f,"style")||""};f.text?f.text!=f.value&&(f.className+=" different-label-value"):f.text=f.value;h[o]=f.value;j[o]=f}if(!this.storedOptions)this.storedOptions=t((this.input.name||this.input.id)+a.prop(this.input,"type"));this.storedOptions.forEach(function(a){-1==
30
- h.indexOf(a)&&j.push({value:a,text:a,className:"stored-suggest",style:""})});for(o=0,r=j.length;o<r;o++)i=j[o],d[o]='<li class="'+i.className+'" style="'+i.style+'" tabindex="-1" role="listitem"><span class="option-label">'+i.text+'</span> <span class="option-value">'+i.value+"</span></li>";this.arrayOptions=j;this.shadowList.html('<ul role="list" class="'+(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom">'+d.join("\n")+"</ul>");a.fn.bgIframe&&v&&this.shadowList.bgIframe();(b||this.isListVisible)&&
31
- this.showHideOptions()},showHideOptions:function(b){var d=a.prop(this.input,"value").toLowerCase();if(!(d===this.lastUpdatedValue||this.lastUnfoundValue&&0===d.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=d;var h=!1,f=a("li",this.shadowList);d?this.arrayOptions.forEach(function(b,i){if(!("lowerText"in b))b.lowerText=b.text!=b.value?b.text.toLowerCase()+b.value.toLowerCase():b.text.toLowerCase();-1!==b.lowerText.indexOf(d)?(a(f[i]).removeClass("hidden-item"),h=!0):a(f[i]).addClass("hidden-item")}):
32
- f.length&&(f.removeClass("hidden-item"),h=!0);this.hasViewableData=h;!b&&h&&this.showList();if(!h)this.lastUnfoundValue=d,this.hideList()}},setPos:function(){var b=d.getRelOffset(this.shadowList,this.input);b.top+=a(this.input).outerHeight();b.width=a(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css(b);return b},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();
33
- this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var b=this,d;b.setPos();v&&(b.shadowList.css("height","auto"),250<b.shadowList.height()&&b.shadowList.css("height",220));b.shadowList.addClass("datalist-visible");a(f).unbind(".datalist"+b.id).bind("mousedown.datalist"+b.id+" focusin.datalist"+b.id,function(d){d.target===b.input||b.shadowList[0]===d.target||a.contains(b.shadowList[0],d.target)?(clearTimeout(b.hideTimer),setTimeout(function(){clearTimeout(b.hideTimer)},
34
- 9)):b.timedHide()});a(k).unbind(".datalist"+b.id).bind("resize.datalist"+b.id+"orientationchange.datalist "+b.id+" emchange.datalist"+b.id,function(){clearTimeout(d);d=setTimeout(function(){b.setPos()},9)});clearTimeout(d);return!0},hideList:function(){if(!this.isListVisible)return!1;var b=this,h=function(){b.changedValue&&a(b.input).trigger("change");b.changedValue=!1};b.shadowList.removeClass("datalist-visible list-item-active").scrollTop(0).find("li.active-item").removeClass("active-item");b.index=
35
- -1;b.isListVisible=!1;if(b.changedValue){b.triggeredByDatalist=!0;d.triggerInlineForm&&d.triggerInlineForm(b.input,"input");if(b.input==f.activeElement||a(b.input).is(":focus"))a(b.input).one("blur",h);else h();b.triggeredByDatalist=!1}a(f).unbind(".datalist"+b.id);a(k).unbind(".datalist"+b.id);return!0},scrollIntoView:function(b){var d=a("> ul",this.shadowList),h=b.position();h.top-=(parseInt(d.css("paddingTop"),10)||0)+(parseInt(d.css("marginTop"),10)||0)+(parseInt(d.css("borderTopWidth"),10)||
36
- 0);0>h.top?this.shadowList.scrollTop(this.shadowList.scrollTop()+h.top-2):(h.top+=b.outerHeight(),b=this.shadowList.height(),h.top>b&&this.shadowList.scrollTop(this.shadowList.scrollTop()+(h.top-b)+2))},changeValue:function(b){if(b[0]){var b=a("span.option-value",b).text(),d=a.prop(this.input,"value");if(b!=d)a(this.input).prop("value",b).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(b,d,h){h=h||a("li:not(.hidden-item)",this.shadowList);if(h.length)0>b?b=h.length-1:b>=h.length&&
37
- (b=0),h.removeClass("active-item"),this.shadowList.addClass("list-item-active"),h=h.filter(":eq("+b+")").addClass("active-item"),d&&(this.changeValue(h),this.scrollIntoView(h)),this.index=b}};(function(){d.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=a("select",this);b[0]?b=b[0].options:(b=a("option",this).get(),b.length&&d.warn("you should wrap you option-elements for a datalist in a select element to support IE and other old browsers."));return b}}});d.defineNodeNameProperties("input",
38
- {selectedOption:{prop:{writeable:!1,get:function(){var b=a.prop(this,"list"),d=null,h;if(!b)return d;h=a.attr(this,"value");if(!h)return d;b=a.prop(b,"options");if(!b.length)return d;a.each(b,function(b,f){if(h==a.prop(f,"value"))return d=f,!1});return d}}},autocomplete:{attr:{get:function(){var b=a.data(this,"datalistWidget");return b?b._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(b){var d=a.data(this,"datalistWidget");d?(d._autocomplete=b,
39
- "off"==b&&d.hideList()):"autocomplete"in this?this.autocomplete=b:this.setAttribute("autocomplete",b)}}},list:{attr:{get:function(){var a=d.contentAttr(this,"list");return null==a?p:a},set:function(b){d.contentAttr(this,"list",b);d.objectCreate(n,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}});if(a.event.customEvent)a.event.customEvent.updateDatalist=!0,a.event.customEvent.updateInput=!0;d.addReady(function(a,d){d.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
40
- jQuery.webshims.gcEval=function(a,d){with(d&&d.form||window)with(d||window)return function(a){eval(a)}.call(d||window,a)};
41
- (function(a){var d=window.Modernizr,k=a.webshims;k.capturingEventPrevented=function(d){if(!d._isPolyfilled){var h=d.isDefaultPrevented,f=d.preventDefault;d.preventDefault=function(){clearTimeout(a.data(d.target,d.type+"DefaultPrevented"));a.data(d.target,d.type+"DefaultPrevented",setTimeout(function(){a.removeData(d.target,d.type+"DefaultPrevented")},30));return f.apply(this,arguments)};d.isDefaultPrevented=function(){return!(!h.apply(this,arguments)&&!a.data(d.target,d.type+"DefaultPrevented"))};
42
- d._isPolyfilled=!0}};if(d.formvalidation){var f=a('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select /><input type="date" required name="a" /><input type="submit" /></form>');d.bugfreeformvalidation=d.requiredSelect=!!("required"in a("select",f)[0]);if(window.opera||a.browser.webkit||window.testGoodWithFix){var p=a("input",f).eq(0),h,s=function(s){var t=["form-extend","form-message","form-native-fix"];s&&(s.preventDefault(),s.stopImmediatePropagation());clearTimeout(h);setTimeout(function(){f&&
43
- (f.remove(),f=p=null)},9);if(!d.bugfreeformvalidation||!d.requiredSelect)k.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),k.modules["form-extend"].test=a.noop;k.isReady("form-number-date-api")&&t.push("form-number-date-api");k.reTest(t);if(a.browser.opera||window.testGoodWithFix)k.loader.loadList(["dom-extend"]),k.ready("dom-extend",function(){var h=function(a){a.preventDefault()};["form","input","textarea","select"].forEach(function(b){var d=k.defineNodeNameProperty(b,"checkValidity",
44
- {prop:{value:function(){k.fromSubmit||a(this).bind("invalid.checkvalidity",h);k.fromCheckValidity=!0;var b=d.prop._supvalue.apply(this,arguments);k.fromSubmit||a(this).unbind("invalid.checkvalidity",h);k.fromCheckValidity=!1;return b}}})});d.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&k.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var d=a("select",this);if(d[0]&&d[0].options&&
45
- d[0].options.length)b=d[0].options}return b}}})})};f.appendTo("head");if(window.opera||window.testGoodWithFix){k.bugs.validationMessage=!p.prop("validationMessage");if((d.inputtypes||{}).date){try{p.prop("valueAsNumber",0)}catch(v){}k.bugs.valueAsNumberSet="1970-01-01"!=p.prop("value")}p.prop("value","")}f.bind("submit",function(a){d.bugfreeformvalidation=!1;s(a)});h=setTimeout(function(){f&&f.triggerHandler("submit")},9);k.capturingEvents(["input"]);k.capturingEvents(["invalid"],!0);a("input, select",
46
- f).bind("invalid",s).filter('[type="submit"]').bind("click",function(a){a.stopImmediatePropagation()}).trigger("click")}else k.capturingEvents(["input"]),k.capturingEvents(["invalid"],!0)}})(jQuery);
47
- jQuery.webshims.register("form-core",function(a,d,k,f,p,h){var s={radio:1},v={checkbox:1,radio:1},w=a([]),t=function(b){var b=a(b),d=b[0].name;return s[b[0].type]&&d?a(b[0].form&&b[0].form[d]||f.getElementsByName(d)).not(b[0]):w},n=d.getContentValidationMessage=function(b,h){var f=b.getAttribute("x-moz-errormessage")||b.getAttribute("data-errormessage")||"";if(f&&-1!=f.indexOf("{")){try{f=jQuery.parseJSON(f)}catch(j){return f}"object"==typeof f&&(h=h||a.prop(b,"validity")||{valid:1},h.valid||a.each(h,
48
- function(a,c){if(c&&"valid"!=a&&f[a])return f=f[a],!1}));d.data(b,"contentErrorMessage",f);if("object"==typeof f)f=f.defaultMessage}return f||""},b={number:1,range:1,date:1,time:1,"datetime-local":1,datetime:1,month:1,week:1};a.extend(a.expr.filters,{"valid-element":function(b){return!(!a.prop(b,"willValidate")||!(a.prop(b,"validity")||{valid:1}).valid)},"invalid-element":function(b){return!(!a.prop(b,"willValidate")||(a.prop(b,"validity")||{valid:1}).valid)},"required-element":function(b){return!(!a.prop(b,
49
- "willValidate")||!a.prop(b,"required"))},"optional-element":function(b){return!!(a.prop(b,"willValidate")&&!1===a.prop(b,"required"))},"in-range":function(d){if(!b[a.prop(d,"type")]||!a.prop(d,"willValidate"))return!1;d=a.prop(d,"validity");return!(!d||d.rangeOverflow||d.rangeUnderflow)},"out-of-range":function(d){if(!b[a.prop(d,"type")]||!a.prop(d,"willValidate"))return!1;d=a.prop(d,"validity");return!(!d||!d.rangeOverflow&&!d.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(b){a.expr.filters[b]=
50
- a.expr.filters[b+"-element"]});var l=a.event.customEvent||{},q=a.prop,j={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};a.prop=function(b,d,h){var f=q.apply(this,arguments);if(b&&"form"in b&&j[d]&&h!==p&&a(b).hasClass("form-ui-invalid")&&(a.prop(b,"validity")||{valid:1}).valid)a(b).getShadowElement().removeClass("form-ui-invalid"),"checked"==d&&h&&t(b).removeClass("form-ui-invalid").removeAttr("aria-invalid");return f};var u=function(b,d){var h;a.each(b,function(b,g){if(g)return h="customError"==
51
- b?a.prop(d,"validationMessage"):b,!1});return h};a(f).bind("focusout change refreshvalidityui",function(b){if(b.target&&"submit"!=b.target.type&&a.prop(b.target,"willValidate")){var d=a.data(b.target,"webshimsswitchvalidityclass");d&&clearTimeout(d);a.data(b.target,"webshimsswitchvalidityclass",setTimeout(function(){var d=a(b.target).getNativeElement()[0],h=a.prop(d,"validity"),g=a(d).getShadowElement(),c,e,m,f;h.valid?g.hasClass("form-ui-valid")||(c="form-ui-valid",e="form-ui-invalid",f="changedvaliditystate",
52
- m="changedvalid",v[d.type]&&d.checked&&t(d).removeClass(e).addClass(c).removeAttr("aria-invalid"),a.removeData(d,"webshimsinvalidcause")):(h=u(h,d),a.data(d,"webshimsinvalidcause")!=h&&(a.data(d,"webshimsinvalidcause",h),f="changedvaliditystate"),g.hasClass("form-ui-invalid")||(c="form-ui-invalid",e="form-ui-valid",v[d.type]&&!d.checked&&t(d).removeClass(e).addClass(c),m="changedinvalid"));c&&(g.addClass(c).removeClass(e),setTimeout(function(){a(d).trigger(m)},0));f&&setTimeout(function(){a(d).trigger(f)},
53
- 0);a.removeData(b.target,"webshimsswitchvalidityclass")},9))}});l.changedvaliditystate=!0;l.changedvalid=!0;l.changedinvalid=!0;l.refreshvalidityui=!0;d.triggerInlineForm=function(b,h){b.jquery&&(b=b[0]);var f="on"+h,j=b[f]||b.getAttribute(f)||"",g,c,h=a.Event({type:h,target:b,currentTarget:b});j&&(d.warn(f+" used. we will drop inline event handler support, with next release. use event binding: $.bind instead"),"string"==typeof j&&(c=d.gcEval(j,b),b[f]&&(g=!0,b[f]=!1)));!1===c&&(h.stopPropagation(),
54
- h.preventDefault());a(b).trigger(h);g&&(b[f]=j);return c};l=function(){d.scrollRoot=a.browser.webkit||"BackCompat"==f.compatMode?a(f.body):a(f.documentElement)};l();d.ready("DOM",l);d.getRelOffset=function(b,d){var b=a(b),h=a(d).offset(),f;a.swap(a(b)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){f=b.offset()});h.top-=f.top;h.left-=f.left;return h};d.validityAlert=function(){var b=!a.browser.msie||7<parseInt(a.browser.version,10)?"span":"label",h,j=!1,l=!1,g,c={hideDelay:5E3,
55
- showFor:function(b,d,f,i){c._create();var b=a(b),s=a(b).getShadowElement(),n=c.getOffsetFromBody(s);c.clear();i?this.hide():(this.getMessage(b,d),this.position(s,n),h.css({fontSize:b.css("fontSize"),fontFamily:b.css("fontFamily")}),this.show(),this.hideDelay&&(j=setTimeout(g,this.hideDelay)),a(k).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(l);l=setTimeout(function(){c.position(s)},9)}));f||this.setFocus(s,n)},getOffsetFromBody:function(a){return d.getRelOffset(h,
56
- a)},setFocus:function(c,m){var j=a(c).getShadowFocusElement(),k=d.scrollRoot.scrollTop(),l=(m||j.offset()).top-30,s;d.getID&&"label"==b&&h.attr("for",d.getID(j));k>l&&(d.scrollRoot.animate({scrollTop:l-5},{queue:!1,duration:Math.max(Math.min(600,1.5*(k-l)),80)}),s=!0);try{j[0].focus()}catch(n){}s&&(d.scrollRoot.scrollTop(k),setTimeout(function(){d.scrollRoot.scrollTop(k)},0));setTimeout(function(){a(f).bind("focusout.validityalert",g)},10)},getMessage:function(b,c){a("span.va-box",h).text(c||n(b[0])||
57
- b.prop("validationMessage"))},position:function(b,d){d=d?a.extend({},d):c.getOffsetFromBody(b);d.top+=b.outerHeight();h.css(d)},show:function(){"none"===h.css("display")&&h.css({opacity:0}).show();h.addClass("va-visible").fadeTo(400,1)},hide:function(){h.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(j);a(f).unbind(".validityalert");a(k).unbind(".validityalert");h.stop().removeAttr("for")},_create:function(){if(!h)h=c.errorBubble=a("<"+b+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+
58
- b+">").css({position:"absolute",display:"none"}),d.ready("DOM",function(){h.appendTo("body");a.fn.bgIframe&&a.browser.msie&&7>parseInt(a.browser.version,10)&&h.bgIframe()})}};g=a.proxy(c,"hide");return c}();(function(){var b,d=[],h;a(f).bind("invalid",function(j){if(!j.wrongWebkitInvalid){var g=a(j.target),c=g.getShadowElement();c.hasClass("form-ui-invalid")||(c.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){a(j.target).trigger("changedinvalid").trigger("changedvaliditystate")},
59
- 0));if(!b)b=a.Event("firstinvalid"),b.isInvalidUIPrevented=j.isDefaultPrevented,c=a.Event("firstinvalidsystem"),a(f).triggerHandler(c,{element:j.target,form:j.target.form,isInvalidUIPrevented:j.isDefaultPrevented}),g.trigger(b);b&&b.isDefaultPrevented()&&j.preventDefault();d.push(j.target);j.extraData="fix";clearTimeout(h);h=setTimeout(function(){var c={type:"lastinvalid",cancelable:!1,invalidlist:a(d)};b=!1;d=[];a(j.target).trigger(c,c)},9);c=g=null}})})();h.replaceValidationUI&&d.ready("DOM",function(){a(f).bind("firstinvalid",
60
- function(b){b.isInvalidUIPrevented()||(b.preventDefault(),a.webshims.validityAlert.showFor(b.target,a(b.target).prop("customValidationMessage")))})})});
61
- (function(a,d,k){var f=d.audio&&d.video,p=!1;if(f)a=document.createElement("video"),d.videoBuffered="buffered"in a,p="loop"in a,k.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),d.videoBuffered||(k.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:d.videoBuffered,d:["dom-support"]}),k.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,d,k,w,t){var n=d.mediaelement,b=d.cfg.mediaelement,
62
- l=function(b,c){var b=a(b),e={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!e.src)return e;var f=b.attr("type");if(f)e.type=f,e.container=a.trim(f.split(";")[0]);else if(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),f=n.getTypeForSrc(e.src,c))e.type=f,e.container=f,d.warn("you should always provide a proper mime-type using the source element. "+e.src+" detected as: "+f),a.nodeName(b[0],"source")&&b.attr("type",
63
- f);if(f=b.attr("media"))e.media=f;return e},q=swfobject.hasFlashPlayerVersion("9.0.115"),j=function(){d.ready("mediaelement-swf",function(){if(!n.createSWF)d.modules["mediaelement-swf"].test=a.noop,d.reTest(["mediaelement-swf"],f)})};n.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",
64
- "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"]}};n.mimeTypes.source=a.extend({},n.mimeTypes.audio,n.mimeTypes.video);n.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
65
- var b=b.split("?")[0].split("."),b=b[b.length-1],d;a.each(n.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return d=a,!1});return d};n.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=w.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(),
66
- f=l(b,d);f.src?c.push(f):a("source",b).each(function(){f=l(this,d);f.src&&c.push(f)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==t&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));n.srces(this,b);a(this).mediaLoad()})};n.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(",");
67
- n.canSwfPlaySrces=function(b,c){var d="";q&&(b=a(b),c=c||n.srces(b),a.each(c,function(a,b){if(b.container&&b.src&&-1!=n.swfMimeTypes.indexOf(b.container))return d=b,!1}));return d};var u={};n.canNativePlaySrces=function(b,c){var d="";if(f){var b=a(b),i=(b[0].nodeName||"").toLowerCase();if(!u[i])return d;c=c||n.srces(b);a.each(c,function(a,c){if(c.type&&u[i].prop._supvalue.call(b[0],c.type))return d=c,!1})}return d};n.setError=function(b,c){c||(c="can't play sources");a(b).pause().data("mediaerror",
68
- c);d.warn("mediaelementError: "+c);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var i=function(){var a;return function(b,e,f){d.ready("mediaelement-swf",function(){n.createSWF?n.createSWF(b,e,f):a||(a=!0,j(),i(b,e,f))})}}(),o=function(a,b,d,f,h){d||!1!==d&&b&&"flash"==b.isActive?(d=n.canSwfPlaySrces(a,f))?i(a,d,b):h?n.setError(a,!1):o(a,b,!1,f,!0):(d=n.canNativePlaySrces(a,f))?b&&"flash"==b.isActive&&n.setActive(a,"html5",b):h?(n.setError(a,!1),b&&"flash"==b.isActive&&
69
- n.setActive(a,"html5",b)):o(a,b,!0,f,!0)},r=/^(?:embed|object|datalist)$/i,x=function(g,c){var e=d.data(g,"mediaelementBase")||d.data(g,"mediaelementBase",{}),f=n.srces(g),i=g.parentNode;clearTimeout(e.loadTimer);a.data(g,"mediaerror",!1);if(f.length&&i&&!(1!=i.nodeType||r.test(i.nodeName||"")))c=c||d.data(g,"mediaelement"),o(g,c,b.preferFlash||t,f)};a(w).bind("ended",function(b){var c=d.data(b.target,"mediaelement");(!p||c&&"html5"!=c.isActive||a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,
70
- "paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});p||d.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(b){var c=d.defineNodeNameProperty(b,"load",{prop:{value:function(){var a=d.data(this,"mediaelement");x(this,a);f&&(!a||"html5"==a.isActive)&&c.prop._supvalue&&c.prop._supvalue.apply(this,arguments)}}});u[b]=d.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(c){var d="";f&&u[b].prop._supvalue&&(d=u[b].prop._supvalue.call(this,
71
- c),"no"==d&&(d=""));!d&&q&&(c=a.trim((c||"").split(";")[0]),-1!=n.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});d.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=d.data(a,"mediaelementBase")||d.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){x(a);a=null},9)}});f&&d.isReady("mediaelement-core",!0);d.addReady(function(b,c){a("video, audio",b).add(c.filter("video, audio")).each(function(){a.browser.msie&&8<d.browserVersion&&
72
- a.prop(this,"paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():x(this);if(f){var b,c,g=this,i=function(){var b=a.prop(g,"buffered");if(b){for(var c="",d=0,e=b.length;d<e;d++)c+=b.end(d);return c}},j=function(){var b=i();b!=c&&(c=b,a(g).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(c=i());clearTimeout(b);b=setTimeout(j,999)}).bind("emptied stalled mediaerror abort suspend",
73
- function(a){"emptied"==a.type&&(c=!1);clearTimeout(b)})}})});f&&q&&d.ready("WINDOWLOAD mediaelement",j)})})(jQuery,Modernizr,jQuery.webshims);
1
+ (function(a){if(!Modernizr.genericDOM){var c=document,n,k,p=/<([\w:]+)/,o={option:1,optgroup:1,legend:1,thead:1,tr:1,td:1,col:1,area:1};a.webshims.fixHTML5=function(a){if("string"!=typeof a||o[(p.exec(a)||["",""])[1].toLowerCase()])return a;if(!k){n=c.body;if(!n)return a;k=c.createElement("div");k.style.display="none"}var s=k.cloneNode(!1);n.appendChild(s);s.innerHTML=a;n.removeChild(s);return s.childNodes}}})(jQuery);
2
+ jQuery.webshims.register("dom-extend",function(a,c,n,k,p){var o=c.modules,q=/\s*,\s*/,s={},u={},r={},g={},v={},w=a.fn.val,b=function(e,d,f,i,h){return h?w.call(a(e)):w.call(a(e),f)};a.fn.val=function(e){var d=this[0];arguments.length&&null==e&&(e="");if(!arguments.length)return!d||1!==d.nodeType?w.call(this):a.prop(d,"value",e,"val",!0);if(a.isArray(e))return w.apply(this,arguments);var f=a.isFunction(e);return this.each(function(i){d=this;1===d.nodeType&&(f?(i=e.call(d,i,a.prop(d,"value",p,"val",
3
+ !0)),null==i&&(i=""),a.prop(d,"value",i,"val")):a.prop(d,"value",e,"val"))})};var j="_webshimsLib"+Math.round(1E3*Math.random()),t=function(e,d,f){e=e.jquery?e[0]:e;if(!e)return f||{};var i=a.data(e,j);f!==p&&(i||(i=a.data(e,j,{})),d&&(i[d]=f));return d?i&&i[d]:i};[{name:"getNativeElement",prop:"nativeElement"},{name:"getShadowElement",prop:"shadowElement"},{name:"getShadowFocusElement",prop:"shadowFocusElement"}].forEach(function(e){a.fn[e.name]=function(){return this.map(function(){var a=t(this,
4
+ "shadowData");return a&&a[e.prop]||this})}});["removeAttr","prop","attr"].forEach(function(e){s[e]=a[e];a[e]=function(d,f,i,h,j){var m="val"==h,l=!m?s[e]:b;if(!d||!u[f]||1!==d.nodeType||!m&&h&&"attr"==e&&a.attrFn[f])return l(d,f,i,h,j);var y=(d.nodeName||"").toLowerCase(),c=r[y],t="attr"==e&&(!1===i||null===i)?"removeAttr":e,g,o,x;c||(c=r["*"]);c&&(c=c[f]);c&&(g=c[t]);if(g){if("value"==f)o=g.isVal,g.isVal=m;if("removeAttr"===t)return g.value.call(d);if(i===p)return g.get?g.get.call(d):g.value;g.set&&
5
+ ("attr"==e&&!0===i&&(i=f),x=g.set.call(d,i));if("value"==f)g.isVal=o}else x=l(d,f,i,h,j);if((i!==p||"removeAttr"===t)&&v[y]&&v[y][f]){var q;q="removeAttr"==t?!1:"prop"==t?!!i:!0;v[y][f].forEach(function(a){if(!a.only||(a.only="prop"==e)||"attr"==a.only&&"prop"!=e)a.call(d,i,q,m?"val":t,e)})}return x};g[e]=function(d,f,i){r[d]||(r[d]={});r[d][f]||(r[d][f]={});var h=r[d][f][e],m=function(a,d,h){return d&&d[a]?d[a]:h&&h[a]?h[a]:"prop"==e&&"value"==f?function(a){return i.isVal?b(this,f,a,!1,0===arguments.length):
6
+ s[e](this,f,a)}:"prop"==e&&"value"==a&&i.value.apply?function(a){var d=s[e](this,f);d&&d.apply&&(d=d.apply(this,arguments));return d}:function(a){return s[e](this,f,a)}};r[d][f][e]=i;if(i.value===p){if(!i.set)i.set=i.writeable?m("set",i,h):c.cfg.useStrict&&"prop"==f?function(){throw f+" is readonly on "+d;}:a.noop;if(!i.get)i.get=m("get",i,h)}["value","get","set"].forEach(function(a){i[a]&&(i["_sup"+a]=m(a,h))})}});var x=!a.browser.msie||8<parseInt(a.browser.version,10),h=function(){var a=c.getPrototypeOf(k.createElement("foobar")),
7
+ d=Object.prototype.hasOwnProperty;return function(f,i,h){var b=k.createElement(f),j=c.getPrototypeOf(b);if(x&&j&&a!==j&&(!b[i]||!d.call(b,i))){var l=b[i];h._supvalue=function(){return l&&l.apply?l.apply(this,arguments):l};j[i]=h.value}else h._supvalue=function(){var a=t(this,"propValue");return a&&a[i]&&a[i].apply?a[i].apply(this,arguments):a&&a[i]},m.extendValue(f,i,h.value);h.value._supvalue=h._supvalue}}(),m=function(){var e={};c.addReady(function(d,f){var i={},h=function(e){i[e]||(i[e]=a(d.getElementsByTagName(e)),
8
+ f[0]&&a.nodeName(f[0],e)&&(i[e]=i[e].add(f)))};a.each(e,function(a,e){h(a);!e||!e.forEach?c.warn("Error: with "+a+"-property. methods: "+e):e.forEach(function(e){i[a].each(e)})});i=null});var d,f=a([]),i=function(f,i){e[f]?e[f].push(i):e[f]=[i];a.isDOMReady&&(d||a(k.getElementsByTagName(f))).each(i)};return{createTmpCache:function(e){a.isDOMReady&&(d=d||a(k.getElementsByTagName(e)));return d||f},flushTmpCache:function(){d=null},content:function(e,d){i(e,function(){var e=a.attr(this,d);null!=e&&a.attr(this,
9
+ d,e)})},createElement:function(a,e){i(a,e)},extendValue:function(e,d,f){i(e,function(){a(this).each(function(){t(this,"propValue",{})[d]=this[d];this[d]=f})})}}}(),l=function(a,d){if(a.defaultValue===p)a.defaultValue="";if(!a.removeAttr)a.removeAttr={value:function(){a[d||"prop"].set.call(this,a.defaultValue);a.removeAttr._supvalue.call(this)}}};a.extend(c,{getID:function(){var e=(new Date).getTime();return function(d){var d=a(d),f=d.attr("id");f||(e++,f="ID-"+e,d.attr("id",f));return f}}(),extendUNDEFProp:function(e,
10
+ d){a.each(d,function(a,d){a in e||(e[a]=d)})},createPropDefault:l,data:t,moveToFirstEvent:function(){var e=a._data?"_data":"data";return function(d,f,i){if((d=(a[e](d,"events")||{})[f])&&1<d.length)f=d.pop(),i||(i="bind"),"bind"==i&&d.delegateCount?d.splice(d.delegateCount,0,f):d.unshift(f)}}(),addShadowDom:function(e,d,f){f=f||{};e.jquery&&(e=e[0]);d.jquery&&(d=d[0]);if(!f.shadowFocusElement)f.shadowFocusElement=d;var i=a.data(e,j)||a.data(e,j,{}),h=a.data(d,j)||a.data(d,j,{});i.hasShadow=d;h.nativeElement=
11
+ e;h.shadowData=i.shadowData={nativeElement:e,shadowElement:d,shadowFocusElement:f.shadowFocusElement};f.shadowChilds&&f.shadowChilds.each(function(){t(this,"shadowData",h.shadowData)});if(f.data)i.shadowData.data=f.data,h.shadowData.data=f.data;f=null},propTypes:{standard:function(a){l(a);if(!a.prop)a.prop={set:function(d){a.attr.set.call(this,""+d)},get:function(){return a.attr.get.call(this)||a.defaultValue}}},"boolean":function(a){l(a);if(!a.prop)a.prop={set:function(d){d?a.attr.set.call(this,
12
+ ""):a.removeAttr.value.call(this)},get:function(){return null!=a.attr.get.call(this)}}}},reflectProperties:function(e,d){"string"==typeof d&&(d=d.split(q));d.forEach(function(d){c.defineNodeNamesProperty(e,d,{prop:{set:function(e){a.attr(this,d,e)},get:function(){return a.attr(this,d)||""}}})})},defineNodeNameProperty:function(e,d,f){u[d]=!0;if(f.reflect)c.propTypes[f.propType||"standard"](f);["prop","attr","removeAttr"].forEach(function(i){var b=f[i];b&&(b="prop"===i?a.extend({writeable:!0},b):a.extend({},
13
+ b,{writeable:!0}),g[i](e,d,b),"*"!=e&&c.cfg.extendNative&&"prop"==i&&b.value&&a.isFunction(b.value)&&h(e,d,b),f[i]=b)});f.initAttr&&m.content(e,d);return f},defineNodeNameProperties:function(a,d,f,i){for(var h in d)!i&&d[h].initAttr&&m.createTmpCache(a),f&&(d[h][f]?c.log("override: "+a+"["+h+"] for "+f):(d[h][f]={},["value","set","get"].forEach(function(a){a in d[h]&&(d[h][f][a]=d[h][a],delete d[h][a])}))),d[h]=c.defineNodeNameProperty(a,h,d[h]);i||m.flushTmpCache();return d},createElement:function(e,
14
+ d,f){var h;a.isFunction(d)&&(d={after:d});m.createTmpCache(e);d.before&&m.createElement(e,d.before);f&&(h=c.defineNodeNameProperties(e,f,!1,!0));d.after&&m.createElement(e,d.after);m.flushTmpCache();return h},onNodeNamesPropertyModify:function(e,d,f,h){"string"==typeof e&&(e=e.split(q));a.isFunction(f)&&(f={set:f});e.forEach(function(a){v[a]||(v[a]={});"string"==typeof d&&(d=d.split(q));f.initAttr&&m.createTmpCache(a);d.forEach(function(e){v[a][e]||(v[a][e]=[],u[e]=!0);if(f.set){if(h)f.set.only=h;
15
+ v[a][e].push(f.set)}f.initAttr&&m.content(a,e)});m.flushTmpCache()})},defineNodeNamesBooleanProperty:function(e,d,f){f||(f={});if(a.isFunction(f))f.set=f;c.defineNodeNamesProperty(e,d,{attr:{set:function(a){this.setAttribute(d,a);f.set&&f.set.call(this,!0)},get:function(){return null==this.getAttribute(d)?p:d}},removeAttr:{value:function(){this.removeAttribute(d);f.set&&f.set.call(this,!1)}},reflect:!0,propType:"boolean",initAttr:f.initAttr||!1})},contentAttr:function(a,d,f){if(a.nodeName){if(f===
16
+ p)return f=(a.attributes[d]||{}).value,null==f?p:f;"boolean"==typeof f?f?a.setAttribute(d,d):a.removeAttribute(d):a.setAttribute(d,f)}},activeLang:function(){var e=[],d={},f,h,b=/:\/\/|^\.*\//,m=function(e,d,f){return d&&f&&-1!==a.inArray(d,f.availabeLangs||[])?(e.loading=!0,f=f.langSrc,b.test(f)||(f=c.cfg.basePath+f),c.loader.loadScript(f+d+".js",function(){e.langObj[d]?(e.loading=!1,l(e,!0)):a(function(){e.langObj[d]&&l(e,!0);e.loading=!1})}),!0):!1},j=function(a){d[a]&&d[a].forEach(function(a){a.callback()})},
17
+ l=function(a,e){if(a.activeLang!=f&&a.activeLang!==h){var d=o[a.module].options;if(a.langObj[f]||h&&a.langObj[h])a.activeLang=f,a.callback(a.langObj[f]||a.langObj[h],f),j(a.module);else if(!e&&!m(a,f,d)&&!m(a,h,d)&&a.langObj[""]&&""!==a.activeLang)a.activeLang="",a.callback(a.langObj[""],f),j(a.module)}};return function(b){if("string"==typeof b&&b!==f)f=b,h=f.split("-")[0],f==h&&(h=!1),a.each(e,function(a,e){l(e)});else if("object"==typeof b)if(b.register)d[b.register]||(d[b.register]=[]),d[b.register].push(b),
18
+ b.callback();else{if(!b.activeLang)b.activeLang="";e.push(b);l(b)}return f}}()});a.each({defineNodeNamesProperty:"defineNodeNameProperty",defineNodeNamesProperties:"defineNodeNameProperties",createElements:"createElement"},function(a,d){c[a]=function(a,e,h,b){"string"==typeof a&&(a=a.split(q));var m={};a.forEach(function(a){m[a]=c[d](a,e,h,b)});return m}});c.isReady("webshimLocalization",!0)});
19
+ (function(a,c){var n=a.webshims.browserVersion;if(!(a.browser.mozilla&&5<n)&&(!a.browser.msie||12>n&&7<n)){var k={article:"article",aside:"complementary",section:"region",nav:"navigation",address:"contentinfo"},p=function(a,c){a.getAttribute("role")||a.setAttribute("role",c)};a.webshims.addReady(function(o,q){a.each(k,function(c,n){for(var k=a(c,o).add(q.filter(c)),b=0,j=k.length;b<j;b++)p(k[b],n)});if(o===c){var n=c.getElementsByTagName("header")[0],u=c.getElementsByTagName("footer"),r=u.length;
20
+ n&&!a(n).closest("section, article")[0]&&p(n,"banner");r&&(n=u[r-1],a(n).closest("section, article")[0]||p(n,"contentinfo"))}})}})(jQuery,document);
21
+ jQuery.webshims.register("form-datalist",function(a,c,n,k,p){c.propTypes.element=function(o){c.createPropDefault(o,"attr");if(!o.prop)o.prop={get:function(){var c=o.attr.get.call(this);c&&(c=a("#"+c)[0])&&o.propNodeName&&!a.nodeName(c,o.propNodeName)&&(c=null);return c||null},writeable:!1}};(function(){var o=a.webshims.cfg.forms,q=Modernizr.input.list;if(!q||o.customDatalist){var s=0,u={submit:1,button:1,reset:1,hidden:1,range:1,date:1},r=a.browser.msie&&7>parseInt(a.browser.version,10),g={},v=function(a){if(!a)return[];
22
+ if(g[a])return g[a];var j;try{j=JSON.parse(localStorage.getItem("storedDatalistOptions"+a))}catch(c){}g[a]=j||[];return j||[]},w={_create:function(b){if(!u[a.prop(b.input,"type")]){var j=b.datalist,c=a.data(b.input,"datalistWidget");if(j&&c&&c.datalist!==j)c.datalist=j,c.id=b.id,a(c.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(c,"_resetListCached")),c._resetListCached();else if(j){if(!(c&&c.datalist===j)){s++;var g=this;this.hideList=a.proxy(g,"hideList");
23
+ this.timedHide=function(){clearTimeout(g.hideTimer);g.hideTimer=setTimeout(g.hideList,9)};this.datalist=j;this.id=b.id;this.hasViewableData=!0;this._autocomplete=a.attr(b.input,"autocomplete");a.data(b.input,"datalistWidget",this);this.shadowList=a('<div class="datalist-polyfill" />');o.positionDatalist?this.shadowList.insertAfter(b.input):this.shadowList.appendTo("body");this.index=-1;this.input=b.input;this.arrayOptions=[];this.shadowList.delegate("li","mouseenter.datalistWidget mousedown.datalistWidget click.datalistWidget",
24
+ function(h){var m=a("li:not(.hidden-item)",g.shadowList),j="mousedown"==h.type||"click"==h.type;g.markItem(m.index(h.currentTarget),j,m);"click"==h.type&&(g.hideList(),a(b.input).trigger("datalistselect"));return"mousedown"!=h.type}).bind("focusout",this.timedHide);b.input.setAttribute("autocomplete","off");a(b.input).attr({"aria-haspopup":"true"}).bind("input.datalistWidget",function(){if(!g.triggeredByDatalist)g.changedValue=!1,g.showHideOptions()}).bind("keydown.datalistWidget",function(h){var m=
25
+ h.keyCode,j;if(40==m&&!g.showList())return g.markItem(g.index+1,!0),!1;if(g.isListVisible){if(38==m)return g.markItem(g.index-1,!0),!1;if(!h.shiftKey&&(33==m||36==m))return g.markItem(0,!0),!1;if(!h.shiftKey&&(34==m||35==m))return h=a("li:not(.hidden-item)",g.shadowList),g.markItem(h.length-1,!0,h),!1;if(13==m||27==m)return 13==m&&(j=a("li.active-item:not(.hidden-item)",g.shadowList),g.changeValue(a("li.active-item:not(.hidden-item)",g.shadowList))),g.hideList(),j&&j[0]&&a(b.input).trigger("datalistselect"),
26
+ !1}}).bind("focus.datalistWidget",function(){a(this).hasClass("list-focus")&&g.showList()}).bind("mousedown.datalistWidget",function(){(this==k.activeElement||a(this).is(":focus"))&&g.showList()}).bind("blur.datalistWidget",this.timedHide);a(this.datalist).unbind("updateDatalist.datalistWidget").bind("updateDatalist.datalistWidget",a.proxy(this,"_resetListCached"));this._resetListCached();b.input.form&&b.input.id&&a(b.input.form).bind("submit.datalistWidget"+b.input.id,function(){var h=a.prop(b.input,
27
+ "value"),j=(b.input.name||b.input.id)+a.prop(b.input,"type");if(!g.storedOptions)g.storedOptions=v(j);if(h&&-1==g.storedOptions.indexOf(h)&&(g.storedOptions.push(h),h=g.storedOptions,j)){h=h||[];try{localStorage.setItem("storedDatalistOptions"+j,JSON.stringify(h))}catch(c){}}});a(n).bind("unload",function(){g.destroy()})}}else c&&c.destroy()}},destroy:function(){var b=a.attr(this.input,"autocomplete");a(this.input).unbind(".datalistWidget").removeData("datalistWidget");this.shadowList.remove();a(k).unbind(".datalist"+
28
+ this.id);this.input.form&&this.input.id&&a(this.input.form).unbind("submit.datalistWidget"+this.input.id);this.input.removeAttribute("aria-haspopup");b===p?this.input.removeAttribute("autocomplete"):a(this.input).attr("autocomplete",b)},_resetListCached:function(a){var j=this,g;this.needsUpdate=!0;this.lastUpdatedValue=!1;this.lastUnfoundValue="";this.updateTimer||(n.QUnit||(g=a&&k.activeElement==j.input)?j.updateListOptions(g):c.ready("WINDOWLOAD",function(){j.updateTimer=setTimeout(function(){j.updateListOptions();
29
+ j=null;s=1},200+100*s)}))},updateListOptions:function(b){this.needsUpdate=!1;clearTimeout(this.updateTimer);this.updateTimer=!1;this.shadowList.css({fontSize:a.curCSS(this.input,"fontSize"),fontFamily:a.curCSS(this.input,"fontFamily")});this.searchStart=a(this.input).hasClass("search-start");var j=[],g=[],c=[],h,m,l,e;for(m=a.prop(this.datalist,"options"),l=0,e=m.length;l<e;l++){h=m[l];if(h.disabled)return;h={value:a(h).val()||"",text:a.trim(a.attr(h,"label")||h.textContent||h.innerText||a.text([h])||
30
+ ""),className:h.className||"",style:a.attr(h,"style")||""};h.text?h.text!=h.value&&(h.className+=" different-label-value"):h.text=h.value;g[l]=h.value;c[l]=h}if(!this.storedOptions)this.storedOptions=v((this.input.name||this.input.id)+a.prop(this.input,"type"));this.storedOptions.forEach(function(a){-1==g.indexOf(a)&&c.push({value:a,text:a,className:"stored-suggest",style:""})});for(l=0,e=c.length;l<e;l++)m=c[l],j[l]='<li class="'+m.className+'" style="'+m.style+'" tabindex="-1" role="listitem"><span class="option-label">'+
31
+ m.text+'</span> <span class="option-value">'+m.value+"</span></li>";this.arrayOptions=c;this.shadowList.html('<div><ul role="list" class="'+(this.datalist.className||"")+" "+this.datalist.id+'-shadowdom">'+j.join("\n")+"</ul></div>");a.fn.bgIframe&&r&&this.shadowList.bgIframe();(b||this.isListVisible)&&this.showHideOptions()},showHideOptions:function(b){var j=a.prop(this.input,"value").toLowerCase();if(!(j===this.lastUpdatedValue||this.lastUnfoundValue&&0===j.indexOf(this.lastUnfoundValue))){this.lastUpdatedValue=
32
+ j;var c=!1,g=this.searchStart,h=a("li",this.shadowList);j?this.arrayOptions.forEach(function(b,l){var e;if(!("lowerText"in b))b.lowerText=b.text!=b.value?b.text.toLowerCase()+b.value.toLowerCase():b.text.toLowerCase();e=b.lowerText.indexOf(j);(e=g?!e:-1!==e)?(a(h[l]).removeClass("hidden-item"),c=!0):a(h[l]).addClass("hidden-item")}):h.length&&(h.removeClass("hidden-item"),c=!0);this.hasViewableData=c;!b&&c&&this.showList();if(!c)this.lastUnfoundValue=j,this.hideList()}},setPos:function(){var b=o.positionDatalist?
33
+ a(this.input).position():c.getRelOffset(this.shadowList,this.input);b.top+=a(this.input).outerHeight();b.width=a(this.input).outerWidth()-(parseInt(this.shadowList.css("borderLeftWidth"),10)||0)-(parseInt(this.shadowList.css("borderRightWidth"),10)||0);this.shadowList.css(b);return b},showList:function(){if(this.isListVisible)return!1;this.needsUpdate&&this.updateListOptions();this.showHideOptions(!0);if(!this.hasViewableData)return!1;this.isListVisible=!0;var b=this,c;b.setPos();b.shadowList.addClass("datalist-visible");
34
+ a(k).unbind(".datalist"+b.id).bind("mousedown.datalist"+b.id+" focusin.datalist"+b.id,function(c){c.target===b.input||b.shadowList[0]===c.target||a.contains(b.shadowList[0],c.target)?(clearTimeout(b.hideTimer),setTimeout(function(){clearTimeout(b.hideTimer)},9)):b.timedHide()});a(n).unbind(".datalist"+b.id).bind("resize.datalist"+b.id+"orientationchange.datalist "+b.id+" emchange.datalist"+b.id,function(){clearTimeout(c);c=setTimeout(function(){b.setPos()},9)});clearTimeout(c);return!0},hideList:function(){if(!this.isListVisible)return!1;
35
+ var b=this,g=function(){b.changedValue&&a(b.input).trigger("change");b.changedValue=!1};b.shadowList.removeClass("datalist-visible list-item-active").scrollTop(0).find("li.active-item").removeClass("active-item");b.index=-1;b.isListVisible=!1;if(b.changedValue){b.triggeredByDatalist=!0;c.triggerInlineForm&&c.triggerInlineForm(b.input,"input");if(b.input==k.activeElement||a(b.input).is(":focus"))a(b.input).one("blur",g);else g();b.triggeredByDatalist=!1}a(k).unbind(".datalist"+b.id);a(n).unbind(".datalist"+
36
+ b.id);return!0},scrollIntoView:function(b){var c=a("ul",this.shadowList),g=a("div",this.shadowList),o=b.position();o.top-=(parseInt(c.css("paddingTop"),10)||0)+(parseInt(c.css("marginTop"),10)||0)+(parseInt(c.css("borderTopWidth"),10)||0);0>o.top?g.scrollTop(g.scrollTop()+o.top-2):(o.top+=b.outerHeight(),b=g.height(),o.top>b&&g.scrollTop(g.scrollTop()+(o.top-b)+2))},changeValue:function(b){if(b[0]){var b=a("span.option-value",b).text(),c=a.prop(this.input,"value");if(b!=c)a(this.input).prop("value",
37
+ b).triggerHandler("updateInput"),this.changedValue=!0}},markItem:function(b,c,g){g=g||a("li:not(.hidden-item)",this.shadowList);if(g.length)0>b?b=g.length-1:b>=g.length&&(b=0),g.removeClass("active-item"),this.shadowList.addClass("list-item-active"),g=g.filter(":eq("+b+")").addClass("active-item"),c&&(this.changeValue(g),this.scrollIntoView(g)),this.index=b}};(function(){q||c.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=a("select",this);b[0]?b=b[0].options:
38
+ (b=a("option",this).get(),b.length&&c.warn("you should wrap you option-elements for a datalist in a select element to support IE and other old browsers."));return b}}});var b={autocomplete:{attr:{get:function(){var b=a.data(this,"datalistWidget");return b?b._autocomplete:"autocomplete"in this?this.autocomplete:this.getAttribute("autocomplete")},set:function(b){var c=a.data(this,"datalistWidget");c?(c._autocomplete=b,"off"==b&&c.hideList()):"autocomplete"in this?this.autocomplete=b:this.setAttribute("autocomplete",
39
+ b)}}}};if(!q||!1 in a("<input />")[0])b.selectedOption={prop:{writeable:!1,get:function(){var b=a.prop(this,"list"),c=null,g;if(!b)return c;g=a.attr(this,"value");if(!g)return c;b=a.prop(b,"options");if(!b.length)return c;a.each(b,function(h,b){if(g==a.prop(b,"value"))return c=b,!1});return c}}};b.list=q?{attr:{get:function(){var b=c.contentAttr(this,"list");null!=b?this.removeAttribute("list"):b=a.data(this,"datalistListAttr");return null==b?p:b},set:function(b){a.data(this,"datalistListAttr",b);
40
+ c.objectCreate(w,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"}:{attr:{get:function(){var a=c.contentAttr(this,"list");return null==a?p:a},set:function(b){c.contentAttr(this,"list",b);c.objectCreate(w,p,{input:this,id:b,datalist:a.prop(this,"list")})}},initAttr:!0,reflect:!0,propType:"element",propNodeName:"datalist"};c.defineNodeNameProperties("input",b);if(a.event.customEvent)a.event.customEvent.updateDatalist=!0,a.event.customEvent.updateInput=
41
+ !0,a.event.customEvent.datalistselect=!0;c.addReady(function(a,b){b.filter("datalist > select, datalist, datalist > option, datalist > select > option").closest("datalist").triggerHandler("updateDatalist")})})()}})()});
42
+ (function(a){var c=window.Modernizr,n=a.webshims,k=n.bugs,p=a('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>'),o=function(){if(p[0].querySelector)try{k.findRequired=!p[0].querySelector("select:required")}catch(a){k.findRequired=!1}};k.findRequired=!1;k.validationMessage=!1;k.valueAsNumberSet=!1;n.capturingEventPrevented=function(c){if(!c._isPolyfilled){var o=c.isDefaultPrevented,
43
+ k=c.preventDefault;c.preventDefault=function(){clearTimeout(a.data(c.target,c.type+"DefaultPrevented"));a.data(c.target,c.type+"DefaultPrevented",setTimeout(function(){a.removeData(c.target,c.type+"DefaultPrevented")},30));return k.apply(this,arguments)};c.isDefaultPrevented=function(){return!(!o.apply(this,arguments)&&!a.data(c.target,c.type+"DefaultPrevented"))};c._isPolyfilled=!0}};if(!c.formvalidation||k.bustedValidity)o();else{c.bugfreeformvalidation=!0;if(window.opera||a.browser.webkit||window.testGoodWithFix){var q=
44
+ a("input",p).eq(0),s,u=function(g){var o=["form-extend","form-message","form-native-fix"];g&&(g.preventDefault(),g.stopImmediatePropagation());clearTimeout(s);setTimeout(function(){p&&(p.remove(),p=q=null)},9);if(!c.bugfreeformvalidation)n.addPolyfill("form-native-fix",{f:"forms",d:["form-extend"]}),n.modules["form-extend"].test=a.noop;n.isReady("form-number-date-api")&&o.push("form-number-date-api");n.reTest(o);if(a.browser.opera||window.testGoodWithFix)n.loader.loadList(["dom-extend"]),n.ready("dom-extend",
45
+ function(){var g=function(a){a.preventDefault()};["form","input","textarea","select"].forEach(function(b){var c=n.defineNodeNameProperty(b,"checkValidity",{prop:{value:function(){n.fromSubmit||a(this).bind("invalid.checkvalidity",g);n.fromCheckValidity=!0;var b=c.prop._supvalue.apply(this,arguments);n.fromSubmit||a(this).unbind("invalid.checkvalidity",g);n.fromCheckValidity=!1;return b}}})});c.input.list&&!(a("<datalist><select><option></option></select></datalist>").prop("options")||[]).length&&
46
+ n.defineNodeNameProperty("datalist","options",{prop:{writeable:!1,get:function(){var b=this.options||[];if(!b.length){var c=a("select",this);if(c[0]&&c[0].options&&c[0].options.length)b=c[0].options}return b}}})})};p.appendTo("head");if(window.opera||window.testGoodWithFix){o();k.validationMessage=!q.prop("validationMessage");if((c.inputtypes||{}).date){try{q.prop("valueAsNumber",0)}catch(r){}k.valueAsNumberSet="1970-01-01"!=q.prop("value")}q.prop("value","")}p.bind("submit",function(a){c.bugfreeformvalidation=
47
+ !1;u(a)});s=setTimeout(function(){p&&p.triggerHandler("submit")},9);n.capturingEvents(["input"]);n.capturingEvents(["invalid"],!0);a("input, select",p).bind("invalid",u).filter('[type="submit"]').bind("click",function(a){a.stopImmediatePropagation()}).trigger("click")}n.capturingEvents(["input"]);n.capturingEvents(["invalid"],!0)}})(jQuery);
48
+ jQuery.webshims.register("form-core",function(a,c,n,k,p,o){var q={radio:1},s={checkbox:1,radio:1},u=a([]),r=c.bugs,g=function(h){var h=a(h),b,c;b=u;if(q[h[0].type])c=h.prop("form"),b=(b=h[0].name)?c?a(c[b]):a(k.getElementsByName(b)).filter(function(){return!a.prop(this,"form")}):h,b=b.filter('[type="radio"]');return b},v=c.getContentValidationMessage=function(b,g){var l=b.getAttribute("x-moz-errormessage")||b.getAttribute("data-errormessage")||"";if(l&&-1!=l.indexOf("{")){try{l=jQuery.parseJSON(l)}catch(e){return l}"object"==
49
+ typeof l&&(g=g||a.prop(b,"validity")||{valid:1},g.valid||a.each(g,function(a,e){if(e&&"valid"!=a&&l[a])return l=l[a],!1}));c.data(b,"contentErrorMessage",l);if("object"==typeof l)l=l.defaultMessage}return l||""},w={number:1,range:1,date:1};a.extend(a.expr.filters,{"valid-element":function(b){return!(!a.prop(b,"willValidate")||!(a.prop(b,"validity")||{valid:1}).valid)},"invalid-element":function(b){return!(!a.prop(b,"willValidate")||(a.prop(b,"validity")||{valid:1}).valid)},"required-element":function(b){return!(!a.prop(b,
50
+ "willValidate")||!a.prop(b,"required"))},"optional-element":function(b){return!!(a.prop(b,"willValidate")&&!1===a.prop(b,"required"))},"in-range":function(b){if(!w[a.prop(b,"type")]||!a.prop(b,"willValidate"))return!1;b=a.prop(b,"validity");return!(!b||b.rangeOverflow||b.rangeUnderflow)},"out-of-range":function(b){if(!w[a.prop(b,"type")]||!a.prop(b,"willValidate"))return!1;b=a.prop(b,"validity");return!(!b||!b.rangeOverflow&&!b.rangeUnderflow)}});["valid","invalid","required","optional"].forEach(function(b){a.expr.filters[b]=
51
+ a.expr.filters[b+"-element"]});var b=a.event.customEvent||{};(r.bustedValidity||r.findRequired)&&function(){var b=a.find,c=a.find.matchesSelector,g=/(\:valid|\:invalid|\:optional|\:required|\:in-range|\:out-of-range)(?=[\s\[\~\.\+\>\:\#*]|$)/ig,e=function(a){return a+"-element"};a.find=function(){var a=Array.prototype.slice,f=function(f){var c=arguments,c=a.call(c,1,c.length);c.unshift(f.replace(g,e));return b.apply(this,c)},c;for(c in b)b.hasOwnProperty(c)&&(f[c]=b[c]);return f}();if(!Modernizr.prefixed||
52
+ Modernizr.prefixed("matchesSelector",k.documentElement))a.find.matchesSelector=function(a,b){b=b.replace(g,e);return c.call(this,a,b)}}();var j=a.prop,t={selectedIndex:1,value:1,checked:1,disabled:1,readonly:1};a.prop=function(b,c,l){var e=j.apply(this,arguments);if(b&&"form"in b&&t[c]&&l!==p&&a(b).hasClass("form-ui-invalid")&&(a.prop(b,"validity")||{valid:1}).valid)a(b).getShadowElement().removeClass("form-ui-invalid"),"checked"==c&&l&&g(b).not(b).removeClass("form-ui-invalid").removeAttr("aria-invalid");
53
+ return e};var x=function(b,c){var g;a.each(b,function(e,b){if(b)return g="customError"==e?a.prop(c,"validationMessage"):e,!1});return g};a(k).bind("focusout change refreshvalidityui",function(b){if(b.target&&"submit"!=b.target.type&&a.prop(b.target,"willValidate")){var c=a.data(b.target,"webshimsswitchvalidityclass");c&&clearTimeout(c);a.data(b.target,"webshimsswitchvalidityclass",setTimeout(function(){var c=a(b.target).getNativeElement()[0],e=a.prop(c,"validity"),d=a(c).getShadowElement(),f,i,o,
54
+ m;e.valid?d.hasClass("form-ui-valid")||(f="form-ui-valid",i="form-ui-invalid",m="changedvaliditystate",o="changedvalid",s[c.type]&&c.checked&&g(c).not(c).removeClass(i).addClass(f).removeAttr("aria-invalid"),a.removeData(c,"webshimsinvalidcause")):(e=x(e,c),a.data(c,"webshimsinvalidcause")!=e&&(a.data(c,"webshimsinvalidcause",e),m="changedvaliditystate"),d.hasClass("form-ui-invalid")||(f="form-ui-invalid",i="form-ui-valid",s[c.type]&&!c.checked&&g(c).not(c).removeClass(i).addClass(f),o="changedinvalid"));
55
+ f&&(d.addClass(f).removeClass(i),setTimeout(function(){a(c).trigger(o)},0));m&&setTimeout(function(){a(c).trigger(m)},0);a.removeData(b.target,"webshimsswitchvalidityclass")},9))}});b.changedvaliditystate=!0;b.changedvalid=!0;b.changedinvalid=!0;b.refreshvalidityui=!0;c.triggerInlineForm=function(b,c){a(b).trigger(c)};c.modules["form-core"].getGroupElements=g;r=function(){c.scrollRoot=a.browser.webkit||"BackCompat"==k.compatMode?a(k.body):a(k.documentElement)};r();c.ready("DOM",r);c.getRelOffset=
56
+ function(b,c){var b=a(b),g=a(c).offset(),e;a.swap(a(b)[0],{visibility:"hidden",display:"inline-block",left:0,top:0},function(){e=b.offset()});g.top-=e.top;g.left-=e.left;return g};c.validityAlert=function(){var b=!a.browser.msie||7<parseInt(a.browser.version,10)?"span":"label",g,o=!1,e=!1,d,f={hideDelay:5E3,showFor:function(b,c,h,j){f._create();var b=a(b),k=a(b).getShadowElement(),q=f.getOffsetFromBody(k);f.clear();j?this.hide():(this.getMessage(b,c),this.position(k,q),g.css({fontSize:b.css("fontSize"),
57
+ fontFamily:b.css("fontFamily")}),this.show(),this.hideDelay&&(o=setTimeout(d,this.hideDelay)),a(n).bind("resize.validityalert orientationchange.validityalert emchange.validityalert",function(){clearTimeout(e);e=setTimeout(function(){f.position(k)},9)}));h||this.setFocus(k,q)},getOffsetFromBody:function(a){return c.getRelOffset(g,a)},setFocus:function(e,f){var o=a(e).getShadowFocusElement(),j=c.scrollRoot.scrollTop(),l=(f||o.offset()).top-30,q;c.getID&&"label"==b&&g.attr("for",c.getID(o));j>l&&(c.scrollRoot.animate({scrollTop:l-
58
+ 5},{queue:!1,duration:Math.max(Math.min(600,1.5*(j-l)),80)}),q=!0);try{o[0].focus()}catch(n){}q&&(c.scrollRoot.scrollTop(j),setTimeout(function(){c.scrollRoot.scrollTop(j)},0));setTimeout(function(){a(k).bind("focusout.validityalert",d)},10)},getMessage:function(b,e){a("span.va-box",g).text(e||v(b[0])||b.prop("validationMessage"))},position:function(b,e){e=e?a.extend({},e):f.getOffsetFromBody(b);e.top+=b.outerHeight();g.css(e)},show:function(){"none"===g.css("display")&&g.css({opacity:0}).show();
59
+ g.addClass("va-visible").fadeTo(400,1)},hide:function(){g.removeClass("va-visible").fadeOut()},clear:function(){clearTimeout(!1);clearTimeout(o);a(k).unbind(".validityalert");a(n).unbind(".validityalert");g.stop().removeAttr("for")},_create:function(){if(!g)g=f.errorBubble=a("<"+b+' class="validity-alert-wrapper" role="alert"><span class="validity-alert"><span class="va-arrow"><span class="va-arrow-box"></span></span><span class="va-box"></span></span></'+b+">").css({position:"absolute",display:"none"}),
60
+ c.ready("DOM",function(){g.appendTo("body");a.fn.bgIframe&&a.browser.msie&&7>parseInt(a.browser.version,10)&&g.bgIframe()})}};d=a.proxy(f,"hide");return f}();(function(){var b,c=[],g;a(k).bind("invalid",function(e){if(!e.wrongWebkitInvalid){var d=a(e.target),f=d.getShadowElement();f.hasClass("form-ui-invalid")||(f.addClass("form-ui-invalid").removeClass("form-ui-valid"),setTimeout(function(){a(e.target).trigger("changedinvalid").trigger("changedvaliditystate")},0));if(!b)b=a.Event("firstinvalid"),
61
+ b.isInvalidUIPrevented=e.isDefaultPrevented,f=a.Event("firstinvalidsystem"),a(k).triggerHandler(f,{element:e.target,form:e.target.form,isInvalidUIPrevented:e.isDefaultPrevented}),d.trigger(b);b&&b.isDefaultPrevented()&&e.preventDefault();c.push(e.target);e.extraData="fix";clearTimeout(g);g=setTimeout(function(){var d={type:"lastinvalid",cancelable:!1,invalidlist:a(c)};b=!1;c=[];a(e.target).trigger(d,d)},9);f=d=null}})})();o.replaceValidationUI&&c.ready("DOM",function(){a(k).bind("firstinvalid",function(b){b.isInvalidUIPrevented()||
62
+ (b.preventDefault(),a.webshims.validityAlert.showFor(b.target,a(b.target).prop("customValidationMessage")))})})});
63
+ (function(a,c,n){var k=c.audio&&c.video,p=!1;if(k)a=document.createElement("video"),c.videoBuffered="buffered"in a,p="loop"in a,n.capturingEvents("play,playing,waiting,paused,ended,durationchange,loadedmetadata,canplay,volumechange".split(",")),c.videoBuffered||(n.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:c.videoBuffered,d:["dom-support"]}),n.reTest("mediaelement-native-fix"));jQuery.webshims.register("mediaelement-core",function(a,c,n,u,r){var g=c.mediaelement,v=c.cfg.mediaelement,
64
+ w=function(b,d){var b=a(b),f={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};if(!f.src)return f;var i=b.attr("type");if(i)f.type=i,f.container=a.trim(i.split(";")[0]);else if(d||(d=b[0].nodeName.toLowerCase(),"source"==d&&(d=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),i=g.getTypeForSrc(f.src,d))f.type=i,f.container=i,c.warn("you should always provide a proper mime-type using the source element. "+f.src+" detected as: "+i),a.nodeName(b[0],"source")&&b.attr("type",
65
+ i);if(i=b.attr("media"))f.media=i;return f},b=swfobject.hasFlashPlayerVersion("9.0.115"),j=function(){c.ready("mediaelement-swf",function(){if(!g.createSWF)c.modules["mediaelement-swf"].test=a.noop,c.reTest(["mediaelement-swf"],k)})};g.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",
66
+ "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"]}};g.mimeTypes.source=a.extend({},g.mimeTypes.audio,g.mimeTypes.video);g.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";
67
+ var b=b.split("?")[0].split("."),b=b[b.length-1],f;a.each(g.mimeTypes[c],function(a,c){if(-1!==c.indexOf(b))return f=a,!1});return f};g.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=u.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=[],f=b[0].nodeName.toLowerCase(),
68
+ g=w(b,f);g.src?c.push(g):a("source",b).each(function(){g=w(this,f);g.src&&c.push(g)});return c}};a.fn.loadMediaSrc=function(b,c){return this.each(function(){c!==r&&(a(this).removeAttr("poster"),c&&a.attr(this,"poster",c));g.srces(this,b);a(this).mediaLoad()})};g.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(",");
69
+ g.canSwfPlaySrces=function(c,d){var f="";b&&(c=a(c),d=d||g.srces(c),a.each(d,function(a,b){if(b.container&&b.src&&-1!=g.swfMimeTypes.indexOf(b.container))return f=b,!1}));return f};var t={};g.canNativePlaySrces=function(b,c){var f="";if(k){var b=a(b),i=(b[0].nodeName||"").toLowerCase();if(!t[i])return f;c=c||g.srces(b);a.each(c,function(a,c){if(c.type&&t[i].prop._supvalue.call(b[0],c.type))return f=c,!1})}return f};g.setError=function(b,d){d||(d="can't play sources");a(b).pause().data("mediaerror",
70
+ d);c.warn("mediaelementError: "+d);setTimeout(function(){a(b).data("mediaerror")&&a(b).trigger("mediaerror")},1)};var x=function(){var a;return function(b,f,i){c.ready("mediaelement-swf",function(){g.createSWF?g.createSWF(b,f,i):a||(a=!0,j(),x(b,f,i))})}}(),h=function(a,b,c,i,j){c||!1!==c&&b&&"flash"==b.isActive?(c=g.canSwfPlaySrces(a,i))?x(a,c,b):j?g.setError(a,!1):h(a,b,!1,i,!0):(c=g.canNativePlaySrces(a,i))?b&&"flash"==b.isActive&&g.setActive(a,"html5",b):j?(g.setError(a,!1),b&&"flash"==b.isActive&&
71
+ g.setActive(a,"html5",b)):h(a,b,!0,i,!0)},m=/^(?:embed|object|datalist)$/i,l=function(b,d){var f=c.data(b,"mediaelementBase")||c.data(b,"mediaelementBase",{}),i=g.srces(b),j=b.parentNode;clearTimeout(f.loadTimer);a.data(b,"mediaerror",!1);if(i.length&&j&&!(1!=j.nodeType||m.test(j.nodeName||"")))d=d||c.data(b,"mediaelement"),h(b,d,v.preferFlash||r,i)};a(u).bind("ended",function(b){var d=c.data(b.target,"mediaelement");(!p||d&&"html5"!=d.isActive||a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,
72
+ "paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()},1)});p||c.defineNodeNamesBooleanProperty(["audio","video"],"loop");["audio","video"].forEach(function(e){var d=c.defineNodeNameProperty(e,"load",{prop:{value:function(){var a=c.data(this,"mediaelement");l(this,a);k&&(!a||"html5"==a.isActive)&&d.prop._supvalue&&d.prop._supvalue.apply(this,arguments)}}});t[e]=c.defineNodeNameProperty(e,"canPlayType",{prop:{value:function(c){var d="";k&&t[e].prop._supvalue&&(d=t[e].prop._supvalue.call(this,
73
+ c),"no"==d&&(d=""));!d&&b&&(c=a.trim((c||"").split(";")[0]),-1!=g.swfMimeTypes.indexOf(c)&&(d="maybe"));return d}}})});c.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=c.data(a,"mediaelementBase")||c.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer);b.loadTimer=setTimeout(function(){l(a);a=null},9)}});n=function(){c.addReady(function(b,d){a("video, audio",b).add(d.filter("video, audio")).each(function(){a.browser.msie&&8<c.browserVersion&&a.prop(this,
74
+ "paused")&&!a.prop(this,"readyState")&&a(this).is('audio[preload="none"][controls]:not([autoplay])')?a(this).prop("preload","metadata").mediaLoad():l(this);if(k){var b,d,e=this,g=function(){var b=a.prop(e,"buffered");if(b){for(var c="",d=0,f=b.length;d<f;d++)c+=b.end(d);return c}},h=function(){var b=g();b!=d&&(d=b,a(e).triggerHandler("progress"))};a(this).bind("play loadstart progress",function(a){"progress"==a.type&&(d=g());clearTimeout(b);b=setTimeout(h,999)}).bind("emptied stalled mediaerror abort suspend",
75
+ function(a){"emptied"==a.type&&(d=!1);clearTimeout(b)})}})})};k?(c.isReady("mediaelement-core",!0),n(),b&&c.ready("WINDOWLOAD mediaelement",j)):c.ready("mediaelement-swf",n)})})(jQuery,Modernizr,jQuery.webshims);