Initial commit

This commit is contained in:
Torsten Schulz
2024-01-26 08:24:58 +01:00
commit 2a673b50ef
408 changed files with 94018 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,120 @@
(function(c,j){if(typeof define==="function"&&define.amd)define(["jquery"],j);else if(typeof exports==="object")j(require("jquery"));else c.jQuery?j(c.jQuery):j(c.Zepto)})(this,function(c,j){c.fn.jPlayer=function(a){var b=typeof a==="string",d=Array.prototype.slice.call(arguments,1),e=this;a=!b&&d.length?c.extend.apply(null,[true,a].concat(d)):a;if(b&&a.charAt(0)==="_")return e;b?this.each(function(){var f=c(this).data("jPlayer"),g=f&&c.isFunction(f[a])?f[a].apply(f,d):f;if(g!==f&&g!==j){e=g;return false}}):
this.each(function(){var f=c(this).data("jPlayer");f?f.option(a||{}):c(this).data("jPlayer",new c.jPlayer(a,this))});return e};c.jPlayer=function(a,b){if(arguments.length){this.element=c(b);this.options=c.extend(true,{},this.options,a);var d=this;this.element.bind("remove.jPlayer",function(){d.destroy()});this._init()}};if(typeof c.fn.stop!=="function")c.fn.stop=function(){};c.jPlayer.emulateMethods="load play pause";c.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate";
c.jPlayer.emulateOptions="muted volume";c.jPlayer.reservedEvent="ready flashreset resize repeat error warning";c.jPlayer.event={};c.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){c.jPlayer.event[this]="jPlayer_"+this});
c.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"];c.jPlayer.pause=function(){c.jPlayer.prototype.destroyRemoved();c.each(c.jPlayer.prototype.instances,function(a,b){b.data("jPlayer").status.srcSet&&b.jPlayer("pause")})};c.jPlayer.timeFormat={showHour:false,showMin:true,showSec:true,padHour:false,padMin:true,padSec:true,sepHour:":",sepMin:":",sepSec:""};var n=function(){this.init()};n.prototype={init:function(){this.options={timeFormat:c.jPlayer.timeFormat}},
time:function(a){a=a&&typeof a==="number"?a:0;var b=new Date(a*1E3);a=b.getUTCHours();var d=this.options.timeFormat.showHour?b.getUTCMinutes():b.getUTCMinutes()+a*60;b=this.options.timeFormat.showMin?b.getUTCSeconds():b.getUTCSeconds()+d*60;a=this.options.timeFormat.padHour&&a<10?"0"+a:a;d=this.options.timeFormat.padMin&&d<10?"0"+d:d;b=this.options.timeFormat.padSec&&b<10?"0"+b:b;var e="";e+=this.options.timeFormat.showHour?a+this.options.timeFormat.sepHour:"";e+=this.options.timeFormat.showMin?d+
this.options.timeFormat.sepMin:"";e+=this.options.timeFormat.showSec?b+this.options.timeFormat.sepSec:"";return e}};var o=new n;c.jPlayer.convertTime=function(a){return o.time(a)};c.jPlayer.uaBrowser=function(a){a=a.toLowerCase();var b=/(opera)(?:.*version)?[ \/]([\w.]+)/,d=/(msie) ([\w.]+)/,e=/(mozilla)(?:.*? rv:([\w.]+))?/;a=/(webkit)[ \/]([\w.]+)/.exec(a)||b.exec(a)||d.exec(a)||a.indexOf("compatible")<0&&e.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}};c.jPlayer.uaPlatform=function(a){var b=
a.toLowerCase(),d=/(android)/,e=/(mobile)/;a=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(b)||[];b=/(ipad|playbook)/.exec(b)||!e.exec(b)&&d.exec(b)||[];if(a[1])a[1]=a[1].replace(/\s/g,"_");return{platform:a[1]||"",tablet:b[1]||""}};c.jPlayer.browser={};c.jPlayer.platform={};var l=c.jPlayer.uaBrowser(navigator.userAgent);if(l.browser){c.jPlayer.browser[l.browser]=true;c.jPlayer.browser.version=l.version}l=c.jPlayer.uaPlatform(navigator.userAgent);if(l.platform){c.jPlayer.platform[l.platform]=
true;c.jPlayer.platform.mobile=!l.tablet;c.jPlayer.platform.tablet=!!l.tablet}c.jPlayer.getDocMode=function(){var a;if(c.jPlayer.browser.msie)if(document.documentMode)a=document.documentMode;else{a=5;if(document.compatMode)if(document.compatMode==="CSS1Compat")a=7}return a};c.jPlayer.browser.documentMode=c.jPlayer.getDocMode();c.jPlayer.nativeFeatures={init:function(){var a=document,b=a.createElement("video"),d={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange",
"fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""],ms:["","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"]},
e=["w3c","moz","webkit","webkitVideo","ms"],f,g;this.fullscreen=b={support:{w3c:!!a[d.w3c[0]],moz:!!a[d.moz[0]],webkit:typeof a[d.webkit[3]]==="function",webkitVideo:typeof b[d.webkitVideo[2]]==="function",ms:typeof b[d.ms[2]]==="function"},used:{}};f=0;for(g=e.length;f<g;f++){var i=e[f];if(b.support[i]){b.spec=i;b.used[i]=true;break}}if(b.spec){var h=d[b.spec];b.api={fullscreenEnabled:true,fullscreenElement:function(k){k=k?k:a;return k[h[1]]},requestFullscreen:function(k){return k[h[2]]()},exitFullscreen:function(k){k=
k?k:a;return k[h[3]]()}};b.event={fullscreenchange:h[4],fullscreenerror:h[5]}}else{b.api={fullscreenEnabled:false,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}};b.event={}}}};c.jPlayer.nativeFeatures.init();c.jPlayer.focus=null;c.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var p=function(a){var b=c.jPlayer.focus,d;if(b){c.each(c.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(e,f){if(a.target.nodeName.toUpperCase()===f.toUpperCase()){d=
true;return false}});d||c.each(b.options.keyBindings,function(e,f){if(f&&c.isFunction(f.fn)&&(typeof f.key==="number"&&a.which===f.key||typeof f.key==="string"&&a.key===f.key)){a.preventDefault();f.fn(b);return false}})}};c.jPlayer.keys=function(a){c(document.documentElement).unbind("keydown.jPlayer");a&&c(document.documentElement).bind("keydown.jPlayer",p)};c.jPlayer.keys(true);c.jPlayer.prototype={count:0,version:{script:"2.9.2",needFlash:"2.9.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",
supplied:"mp3",auroraFormats:"wav",preload:"metadata",volume:0.8,muted:false,remainingDuration:false,toggleDuration:false,captureDuration:true,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:0.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",
volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen",noVolume:"jp-state-no-volume"},
useStateClassSkin:false,autoBlur:true,smoothPlayBar:false,fullScreen:false,fullWindow:false,autohide:{restored:false,full:true,fadeIn:200,fadeOut:600,hold:1E3},loop:false,repeat:function(a){a.jPlayer.options.loop?c(this).unbind(".jPlayerRepeat").bind(c.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){c(this).jPlayer("play")}):c(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,
android_phone:/(?=.*android)(?!.*chrome)(?=.*mobile)/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:false,audioFullScreen:false,keyBindings:{play:{key:80,fn:function(a){a.status.paused?a.play():a.pause()}},fullScreen:{key:70,
fn:function(a){if(a.status.video||a.options.audioFullScreen)a._setOption("fullScreen",!a.options.fullScreen)}},muted:{key:77,fn:function(a){a._muted(!a.options.muted)}},volumeUp:{key:190,fn:function(a){a.volume(a.options.volume+0.1)}},volumeDown:{key:188,fn:function(a){a.volume(a.options.volume-0.1)}},loop:{key:76,fn:function(a){a._loop(!a.options.loop)}}},verticalVolume:false,verticalPlaybackRate:false,globalVolume:false,idPrefix:"jp",noConflict:"jQuery",emulateHtml:false,consoleAlerts:true,errorAlerts:false,
warningAlerts:false},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:true,format:{},formatType:"",waitForPlay:true,waitForLoad:true,srcSet:false,video:false,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,
videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:false},solution:{html:true,aurora:true,flash:true},format:{mp3:{codec:"audio/mpeg",flashCanPlay:true,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:true,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:false,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:false,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:false,media:"audio"},
flac:{codec:"audio/x-flac",flashCanPlay:false,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:false,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:false,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:true,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:true,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:true,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',
flashCanPlay:false,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:false,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:false,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:false,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:true,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:true,media:"video"}},_init:function(){var a=this;this.element.empty();this.status=c.extend({},this.status);this.internal=c.extend({},
this.internal);this.options.timeFormat=c.extend({},c.jPlayer.timeFormat,this.options.timeFormat);this.internal.cmdsIgnored=c.jPlayer.platform.ipad||c.jPlayer.platform.iphone||c.jPlayer.platform.ipod;this.internal.domNode=this.element.get(0);if(this.options.keyEnabled&&!c.jPlayer.focus)c.jPlayer.focus=this;this.androidFix={setMedia:false,play:false,pause:false,time:NaN};if(c.jPlayer.platform.android)this.options.preload=this.options.preload!=="auto"?"metadata":"auto";this.formats=[];this.solutions=
[];this.require={};this.htmlElement={};this.html={};this.html.audio={};this.html.video={};this.aurora={};this.aurora.formats=[];this.aurora.properties=[];this.flash={};this.css={};this.css.cs={};this.css.jq={};this.ancestorJq=[];this.options.volume=this._limitValue(this.options.volume,0,1);c.each(this.options.supplied.toLowerCase().split(","),function(f,g){var i=g.replace(/^\s+|\s+$/g,"");if(a.format[i]){var h=false;c.each(a.formats,function(k,m){if(i===m){h=true;return false}});h||a.formats.push(i)}});
c.each(this.options.solution.toLowerCase().split(","),function(f,g){var i=g.replace(/^\s+|\s+$/g,"");if(a.solution[i]){var h=false;c.each(a.solutions,function(k,m){if(i===m){h=true;return false}});h||a.solutions.push(i)}});c.each(this.options.auroraFormats.toLowerCase().split(","),function(f,g){var i=g.replace(/^\s+|\s+$/g,"");if(a.format[i]){var h=false;c.each(a.aurora.formats,function(k,m){if(i===m){h=true;return false}});h||a.aurora.formats.push(i)}});this.internal.instance="jp_"+this.count;this.instances[this.internal.instance]=
this.element;this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count);this.internal.self=c.extend({},{id:this.element.attr("id"),jq:this.element});this.internal.audio=c.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:j});this.internal.video=c.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:j});this.internal.flash=c.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:j,swf:this.options.swfPath+(this.options.swfPath.toLowerCase().slice(-4)!==
".swf"?(this.options.swfPath&&this.options.swfPath.slice(-1)!=="/"?"/":"")+"jquery.jplayer.swf":"")});this.internal.poster=c.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:j});c.each(c.jPlayer.event,function(f,g){if(a.options[f]!==j){a.element.bind(g+".jPlayer",a.options[f]);a.options[f]=j}});this.require.audio=false;this.require.video=false;c.each(this.formats,function(f,g){a.require[a.format[g].media]=true});this.options=this.require.video?c.extend(true,{},this.optionsVideo,this.options):
c.extend(true,{},this.optionsAudio,this.options);this._setSize();this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this.status.noVolume=this._uaBlocklist(this.options.noVolume);c.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners();this._restrictNativeVideoControls();this.htmlElement.poster=document.createElement("img");this.htmlElement.poster.id=this.internal.poster.id;
this.htmlElement.poster.onload=function(){if(!a.status.video||a.status.waitForPlay)a.internal.poster.jq.show()};this.element.append(this.htmlElement.poster);this.internal.poster.jq=c("#"+this.internal.poster.id);this.internal.poster.jq.css({width:this.status.width,height:this.status.height});this.internal.poster.jq.hide();this.internal.poster.jq.bind("click.jPlayer",function(){a._trigger(c.jPlayer.event.click)});this.html.audio.available=false;if(this.require.audio){this.htmlElement.audio=document.createElement("audio");
this.htmlElement.audio.id=this.internal.audio.id;this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)}this.html.video.available=false;if(this.require.video){this.htmlElement.video=document.createElement("video");this.htmlElement.video.id=this.internal.video.id;this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)}this.flash.available=this._checkForFlash(10.1);this.html.canPlay={};this.aurora.canPlay=
{};this.flash.canPlay={};c.each(this.formats,function(f,g){a.html.canPlay[g]=a.html[a.format[g].media].available&&""!==a.htmlElement[a.format[g].media].canPlayType(a.format[g].codec);a.aurora.canPlay[g]=c.inArray(g,a.aurora.formats)>-1;a.flash.canPlay[g]=a.format[g].flashCanPlay&&a.flash.available});this.html.desired=false;this.aurora.desired=false;this.flash.desired=false;c.each(this.solutions,function(f,g){if(f===0)a[g].desired=true;else{var i=false,h=false;c.each(a.formats,function(k,m){if(a[a.solutions[0]].canPlay[m])if(a.format[m].media===
"video")h=true;else i=true});a[g].desired=a.require.audio&&!i||a.require.video&&!h}});this.html.support={};this.aurora.support={};this.flash.support={};c.each(this.formats,function(f,g){a.html.support[g]=a.html.canPlay[g]&&a.html.desired;a.aurora.support[g]=a.aurora.canPlay[g]&&a.aurora.desired;a.flash.support[g]=a.flash.canPlay[g]&&a.flash.desired});this.html.used=false;this.aurora.used=false;this.flash.used=false;c.each(this.solutions,function(f,g){c.each(a.formats,function(i,h){if(a[g].support[h]){a[g].used=
true;return false}})});this._resetActive();this._resetGate();this._cssSelectorAncestor(this.options.cssSelectorAncestor);if(this.html.used||this.aurora.used||this.flash.used)this.css.jq.noSolution.length&&this.css.jq.noSolution.hide();else{this._error({type:c.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:c.jPlayer.errorMsg.NO_SOLUTION,hint:c.jPlayer.errorHint.NO_SOLUTION});this.css.jq.noSolution.length&&this.css.jq.noSolution.show()}if(this.flash.used){var b,
d="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(c.jPlayer.browser.msie&&(Number(c.jPlayer.browser.version)<9||c.jPlayer.browser.documentMode<9)){d=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+d+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+
this.options.wmode+'" />'];b=document.createElement('<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>');for(var e=0;e<d.length;e++)b.appendChild(document.createElement(d[e]))}else{e=function(f,g,i){var h=document.createElement("param");h.setAttribute("name",g);h.setAttribute("value",i);f.appendChild(h)};b=document.createElement("object");b.setAttribute("id",this.internal.flash.id);b.setAttribute("name",this.internal.flash.id);
b.setAttribute("data",this.internal.flash.swf);b.setAttribute("type","application/x-shockwave-flash");b.setAttribute("width","1");b.setAttribute("height","1");b.setAttribute("tabindex","-1");e(b,"flashvars",d);e(b,"allowscriptaccess","always");e(b,"bgcolor",this.options.backgroundColor);e(b,"wmode",this.options.wmode)}this.element.append(b);this.internal.flash.jq=c(b)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):false;this._updatePlaybackRate();
if(this.html.used){if(this.html.audio.available){this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio);this.element.append(this.htmlElement.audio);this.internal.audio.jq=c("#"+this.internal.audio.id)}if(this.html.video.available){this._addHtmlEventListeners(this.htmlElement.video,this.html.video);this.element.append(this.htmlElement.video);this.internal.video.jq=c("#"+this.internal.video.id);this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):
this.internal.video.jq.css({width:"0px",height:"0px"});this.internal.video.jq.bind("click.jPlayer",function(){a._trigger(c.jPlayer.event.click)})}}this.options.emulateHtml&&this._emulateHtmlBridge();if((this.html.used||this.aurora.used)&&!this.flash.used)setTimeout(function(){a.internal.ready=true;a.version.flash="n/a";a._trigger(c.jPlayer.event.repeat);a._trigger(c.jPlayer.event.ready)},100);this._updateNativeVideoControls();this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();c.jPlayer.prototype.count++},
destroy:function(){this.clearMedia();this._removeUiClass();this.css.jq.currentTime.length&&this.css.jq.currentTime.text("");this.css.jq.duration.length&&this.css.jq.duration.text("");c.each(this.css.jq,function(a,b){b.length&&b.unbind(".jPlayer")});this.internal.poster.jq.unbind(".jPlayer");this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer");this._fullscreenRemoveEventListeners();if(this===c.jPlayer.focus)c.jPlayer.focus=null;this.options.emulateHtml&&this._destroyHtmlBridge();this.element.removeData("jPlayer");
this.element.unbind(".jPlayer");this.element.empty();delete this.instances[this.internal.instance]},destroyRemoved:function(){var a=this;c.each(this.instances,function(b,d){if(a.element!==d)if(!d.data("jPlayer")){d.jPlayer("destroy");delete a.instances[b]}})},enable:function(){},disable:function(){},_testCanPlayType:function(a){try{a.canPlayType(this.format.mp3.codec);return true}catch(b){return false}},_testPlaybackRate:function(a){a=typeof a==="string"?a:"audio";a=document.createElement(a);try{if("playbackRate"in
a){a.playbackRate=0.5;return a.playbackRate===0.5}else return false}catch(b){return false}},_uaBlocklist:function(a){var b=navigator.userAgent.toLowerCase(),d=false;c.each(a,function(e,f){if(f&&f.test(b)){d=true;return false}});return d},_restrictNativeVideoControls:function(){if(this.require.audio)if(this.status.nativeVideoControls){this.status.nativeVideoControls=false;this.status.noFullWindow=true}},_updateNativeVideoControls:function(){if(this.html.video.available&&this.html.used){this.htmlElement.video.controls=
this.status.nativeVideoControls;this._updateAutohide();if(this.status.nativeVideoControls&&this.require.video){this.internal.poster.jq.hide();this.internal.video.jq.css({width:this.status.width,height:this.status.height})}else if(this.status.waitForPlay&&this.status.video){this.internal.poster.jq.show();this.internal.video.jq.css({width:"0px",height:"0px"})}}},_addHtmlEventListeners:function(a,b){var d=this;a.preload=this.options.preload;a.muted=this.options.muted;a.volume=this.options.volume;if(this.status.playbackRateEnabled){a.defaultPlaybackRate=
this.options.defaultPlaybackRate;a.playbackRate=this.options.playbackRate}a.addEventListener("progress",function(){if(b.gate){if(d.internal.cmdsIgnored&&this.readyState>0)d.internal.cmdsIgnored=false;d._getHtmlStatus(a);d._updateInterface();d._trigger(c.jPlayer.event.progress)}},false);a.addEventListener("loadeddata",function(){if(b.gate){d.androidFix.setMedia=false;if(d.androidFix.play){d.androidFix.play=false;d.play(d.androidFix.time)}if(d.androidFix.pause){d.androidFix.pause=false;d.pause(d.androidFix.time)}d._trigger(c.jPlayer.event.loadeddata)}},
false);a.addEventListener("timeupdate",function(){if(b.gate){d._getHtmlStatus(a);d._updateInterface();d._trigger(c.jPlayer.event.timeupdate)}},false);a.addEventListener("durationchange",function(){if(b.gate){d._getHtmlStatus(a);d._updateInterface();d._trigger(c.jPlayer.event.durationchange)}},false);a.addEventListener("play",function(){if(b.gate){d._updateButtons(true);d._html_checkWaitForPlay();d._trigger(c.jPlayer.event.play)}},false);a.addEventListener("playing",function(){if(b.gate){d._updateButtons(true);
d._seeked();d._trigger(c.jPlayer.event.playing)}},false);a.addEventListener("pause",function(){if(b.gate){d._updateButtons(false);d._trigger(c.jPlayer.event.pause)}},false);a.addEventListener("waiting",function(){if(b.gate){d._seeking();d._trigger(c.jPlayer.event.waiting)}},false);a.addEventListener("seeking",function(){if(b.gate){d._seeking();d._trigger(c.jPlayer.event.seeking)}},false);a.addEventListener("seeked",function(){if(b.gate){d._seeked();d._trigger(c.jPlayer.event.seeked)}},false);a.addEventListener("volumechange",
function(){if(b.gate){d.options.volume=a.volume;d.options.muted=a.muted;d._updateMute();d._updateVolume();d._trigger(c.jPlayer.event.volumechange)}},false);a.addEventListener("ratechange",function(){if(b.gate){d.options.defaultPlaybackRate=a.defaultPlaybackRate;d.options.playbackRate=a.playbackRate;d._updatePlaybackRate();d._trigger(c.jPlayer.event.ratechange)}},false);a.addEventListener("suspend",function(){if(b.gate){d._seeked();d._trigger(c.jPlayer.event.suspend)}},false);a.addEventListener("ended",
function(){if(b.gate){if(!c.jPlayer.browser.webkit)d.htmlElement.media.currentTime=0;d.htmlElement.media.pause();d._updateButtons(false);d._getHtmlStatus(a,true);d._updateInterface();d._trigger(c.jPlayer.event.ended)}},false);a.addEventListener("error",function(){if(b.gate){d._updateButtons(false);d._seeked();if(d.status.srcSet){clearTimeout(d.internal.htmlDlyCmdId);d.status.waitForLoad=true;d.status.waitForPlay=true;d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:"0px",
height:"0px"});d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show();d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show();d._error({type:c.jPlayer.error.URL,context:d.status.src,message:c.jPlayer.errorMsg.URL,hint:c.jPlayer.errorHint.URL})}}},false);c.each(c.jPlayer.htmlEvent,function(e,f){a.addEventListener(this,function(){b.gate&&d._trigger(c.jPlayer.event[f])},false)})},_addAuroraEventListeners:function(a,b){var d=this;a.volume=this.options.volume*100;
a.on("progress",function(){if(b.gate){if(d.internal.cmdsIgnored&&this.readyState>0)d.internal.cmdsIgnored=false;d._getAuroraStatus(a);d._updateInterface();d._trigger(c.jPlayer.event.progress);a.duration>0&&d._trigger(c.jPlayer.event.timeupdate)}},false);a.on("ready",function(){b.gate&&d._trigger(c.jPlayer.event.loadeddata)},false);a.on("duration",function(){if(b.gate){d._getAuroraStatus(a);d._updateInterface();d._trigger(c.jPlayer.event.durationchange)}},false);a.on("end",function(){if(b.gate){d._updateButtons(false);
d._getAuroraStatus(a,true);d._updateInterface();d._trigger(c.jPlayer.event.ended)}},false);a.on("error",function(){if(b.gate){d._updateButtons(false);d._seeked();if(d.status.srcSet){d.status.waitForLoad=true;d.status.waitForPlay=true;d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:"0px",height:"0px"});d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show();d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show();d._error({type:c.jPlayer.error.URL,
context:d.status.src,message:c.jPlayer.errorMsg.URL,hint:c.jPlayer.errorHint.URL})}}},false)},_getHtmlStatus:function(a,b){var d=0,e=0,f=0,g=0;if(isFinite(a.duration))this.status.duration=a.duration;d=a.currentTime;e=this.status.duration>0?100*d/this.status.duration:0;if(typeof a.seekable==="object"&&a.seekable.length>0){f=this.status.duration>0?100*a.seekable.end(a.seekable.length-1)/this.status.duration:100;g=this.status.duration>0?100*a.currentTime/a.seekable.end(a.seekable.length-1):0}else{f=
100;g=e}if(b)e=g=d=0;this.status.seekPercent=f;this.status.currentPercentRelative=g;this.status.currentPercentAbsolute=e;this.status.currentTime=d;this.status.remaining=this.status.duration-this.status.currentTime;this.status.videoWidth=a.videoWidth;this.status.videoHeight=a.videoHeight;this.status.readyState=a.readyState;this.status.networkState=a.networkState;this.status.playbackRate=a.playbackRate;this.status.ended=a.ended},_getAuroraStatus:function(a,b){var d=0,e=0,f=0,g=0;this.status.duration=
a.duration/1E3;d=a.currentTime/1E3;e=this.status.duration>0?100*d/this.status.duration:0;if(a.buffered>0){f=this.status.duration>0?a.buffered*this.status.duration/this.status.duration:100;g=this.status.duration>0?d/(a.buffered*this.status.duration):0}else{f=100;g=e}if(b)e=g=d=0;this.status.seekPercent=f;this.status.currentPercentRelative=g;this.status.currentPercentAbsolute=e;this.status.currentTime=d;this.status.remaining=this.status.duration-this.status.currentTime;this.status.readyState=4;this.status.networkState=
0;this.status.playbackRate=1;this.status.ended=false},_resetStatus:function(){this.status=c.extend({},this.status,c.jPlayer.prototype.status)},_trigger:function(a,b,d){a=c.Event(a);a.jPlayer={};a.jPlayer.version=c.extend({},this.version);a.jPlayer.options=c.extend(true,{},this.options);a.jPlayer.status=c.extend(true,{},this.status);a.jPlayer.html=c.extend(true,{},this.html);a.jPlayer.aurora=c.extend(true,{},this.aurora);a.jPlayer.flash=c.extend(true,{},this.flash);if(b)a.jPlayer.error=c.extend({},
b);if(d)a.jPlayer.warning=c.extend({},d);this.element.trigger(a)},jPlayerFlashEvent:function(a,b){if(a===c.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var d=this.status.currentTime,e=this.status.paused;this.setMedia(this.status.media);this.volumeWorker(this.options.volume);if(d>0)e?this.pause(d):this.play(d)}this._trigger(c.jPlayer.event.flashreset)}}else{this.internal.ready=true;this.internal.flash.jq.css({width:"0px",height:"0px"});this.version.flash=b.version;
this.version.needFlash!==this.version.flash&&this._error({type:c.jPlayer.error.VERSION,context:this.version.flash,message:c.jPlayer.errorMsg.VERSION+this.version.flash,hint:c.jPlayer.errorHint.VERSION});this._trigger(c.jPlayer.event.repeat);this._trigger(a)}if(this.flash.gate)switch(a){case c.jPlayer.event.progress:this._getFlashStatus(b);this._updateInterface();this._trigger(a);break;case c.jPlayer.event.timeupdate:this._getFlashStatus(b);this._updateInterface();this._trigger(a);break;case c.jPlayer.event.play:this._seeked();
this._updateButtons(true);this._trigger(a);break;case c.jPlayer.event.pause:this._updateButtons(false);this._trigger(a);break;case c.jPlayer.event.ended:this._updateButtons(false);this._trigger(a);break;case c.jPlayer.event.click:this._trigger(a);break;case c.jPlayer.event.error:this.status.waitForLoad=true;this.status.waitForPlay=true;this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"});this._validString(this.status.media.poster)&&this.internal.poster.jq.show();this.css.jq.videoPlay.length&&
this.status.video&&this.css.jq.videoPlay.show();this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media);this._updateButtons(false);this._error({type:c.jPlayer.error.URL,context:b.src,message:c.jPlayer.errorMsg.URL,hint:c.jPlayer.errorHint.URL});break;case c.jPlayer.event.seeking:this._seeking();this._trigger(a);break;case c.jPlayer.event.seeked:this._seeked();this._trigger(a);break;case c.jPlayer.event.ready:break;default:this._trigger(a)}return false},_getFlashStatus:function(a){this.status.seekPercent=
a.seekPercent;this.status.currentPercentRelative=a.currentPercentRelative;this.status.currentPercentAbsolute=a.currentPercentAbsolute;this.status.currentTime=a.currentTime;this.status.duration=a.duration;this.status.remaining=a.duration-a.currentTime;this.status.videoWidth=a.videoWidth;this.status.videoHeight=a.videoHeight;this.status.readyState=4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=false},_updateButtons:function(a){if(a===j)a=!this.status.paused;else this.status.paused=
!a;a?this.addStateClass("playing"):this.removeStateClass("playing");!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen");this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped");if(this.css.jq.play.length&&this.css.jq.pause.length)if(a){this.css.jq.play.hide();this.css.jq.pause.show()}else{this.css.jq.play.show();this.css.jq.pause.hide()}if(this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length)if(this.status.noFullWindow){this.css.jq.fullScreen.hide();
this.css.jq.restoreScreen.hide()}else if(this.options.fullWindow){this.css.jq.fullScreen.hide();this.css.jq.restoreScreen.show()}else{this.css.jq.fullScreen.show();this.css.jq.restoreScreen.hide()}if(this.css.jq.repeat.length&&this.css.jq.repeatOff.length)if(this.options.loop){this.css.jq.repeat.hide();this.css.jq.repeatOff.show()}else{this.css.jq.repeat.show();this.css.jq.repeatOff.hide()}},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+
"%");if(this.css.jq.playBar.length)this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%");var a="";if(this.css.jq.currentTime.length){a=this._convertTime(this.status.currentTime);a!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime))}a="";a=this.status.duration;var b=this.status.remaining;if(this.css.jq.duration.length){if(typeof this.status.media.duration===
"string")a=this.status.media.duration;else{if(typeof this.status.media.duration==="number"){a=this.status.media.duration;b=a-this.status.currentTime}a=this.options.remainingDuration?(b>0?"-":"")+this._convertTime(b):this._convertTime(a)}a!==this.css.jq.duration.text()&&this.css.jq.duration.text(a)}},_convertTime:n.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg");this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&
this.css.jq.seekBar.removeClass("jp-seeking-bg");this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=false;this.html.video.gate=false;this.aurora.gate=false;this.flash.gate=false},_resetActive:function(){this.html.active=false;this.aurora.active=false;this.flash.active=false},_escapeHtml:function(a){return a.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(a){var b=document.createElement("div");b.innerHTML=
'<a href="'+this._escapeHtml(a)+'">x</a>';return b.firstChild.href},_absoluteMediaUrls:function(a){var b=this;c.each(a,function(d,e){if(e&&b.format[d]&&e.substr(0,5)!=="data:")a[d]=b._qualifyURL(e)});return a},addStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[a])},removeStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[a])},setMedia:function(a){var b=this,d=false,e=this.status.media.poster!==a.poster;
this._resetMedia();this._resetGate();this._resetActive();this.androidFix.setMedia=false;this.androidFix.play=false;this.androidFix.pause=false;a=this._absoluteMediaUrls(a);c.each(this.formats,function(f,g){var i=b.format[g].media==="video";c.each(b.solutions,function(h,k){if(b[k].support[g]&&b._validString(a[g])){h=k==="html";k=k==="aurora";if(i){if(h){b.html.video.gate=true;b._html_setVideo(a);b.html.active=true}else{b.flash.gate=true;b._flash_setVideo(a);b.flash.active=true}b.css.jq.videoPlay.length&&
b.css.jq.videoPlay.show();b.status.video=true}else{if(h){b.html.audio.gate=true;b._html_setAudio(a);b.html.active=true;if(c.jPlayer.platform.android)b.androidFix.setMedia=true}else if(k){b.aurora.gate=true;b._aurora_setAudio(a);b.aurora.active=true}else{b.flash.gate=true;b._flash_setAudio(a);b.flash.active=true}b.css.jq.videoPlay.length&&b.css.jq.videoPlay.hide();b.status.video=false}d=true;return false}});if(d)return false});if(d){if(!(this.status.nativeVideoControls&&this.html.video.gate))if(this._validString(a.poster))if(e)this.htmlElement.poster.src=
a.poster;else this.internal.poster.jq.show();if(typeof a.title==="string"){this.css.jq.title.length&&this.css.jq.title.html(a.title);this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",a.title);this.htmlElement.video&&this.htmlElement.video.setAttribute("title",a.title)}this.status.srcSet=true;this.status.media=c.extend({},a);this._updateButtons(false);this._updateInterface();this._trigger(c.jPlayer.event.setmedia)}else this._error({type:c.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+
this.options.supplied+"'}",message:c.jPlayer.errorMsg.NO_SUPPORT,hint:c.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus();this._updateButtons(false);this._updateInterface();this._seeked();this.internal.poster.jq.hide();clearTimeout(this.internal.htmlDlyCmdId);if(this.html.active)this._html_resetMedia();else if(this.aurora.active)this._aurora_resetMedia();else this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia();if(this.html.active)this._html_clearMedia();
else if(this.aurora.active)this._aurora_clearMedia();else this.flash.active&&this._flash_clearMedia();this._resetGate();this._resetActive()},load:function(){if(this.status.srcSet)if(this.html.active)this._html_load();else if(this.aurora.active)this._aurora_load();else this.flash.active&&this._flash_load();else this._urlNotSetError("load")},focus:function(){if(this.options.keyEnabled)c.jPlayer.focus=this},play:function(a){if(typeof a==="object"&&this.options.useStateClassSkin&&!this.status.paused)this.pause(a);
else{a=typeof a==="number"?a:NaN;if(this.status.srcSet){this.focus();if(this.html.active)this._html_play(a);else if(this.aurora.active)this._aurora_play(a);else this.flash.active&&this._flash_play(a)}else this._urlNotSetError("play")}},videoPlay:function(){this.play()},pause:function(a){a=typeof a==="number"?a:NaN;if(this.status.srcSet)if(this.html.active)this._html_pause(a);else if(this.aurora.active)this._aurora_pause(a);else this.flash.active&&this._flash_pause(a);else this._urlNotSetError("pause")},
tellOthers:function(a,b){var d=this,e=typeof b==="function",f=Array.prototype.slice.call(arguments);if(typeof a==="string"){e&&f.splice(1,1);c.jPlayer.prototype.destroyRemoved();c.each(this.instances,function(){if(d.element!==this)if(!e||b.call(this.data("jPlayer"),d))this.jPlayer.apply(this,f)})}},pauseOthers:function(a){this.tellOthers("pause",function(){return this.status.srcSet},a)},stop:function(){if(this.status.srcSet)if(this.html.active)this._html_pause(0);else if(this.aurora.active)this._aurora_pause(0);
else this.flash.active&&this._flash_pause(0);else this._urlNotSetError("stop")},playHead:function(a){a=this._limitValue(a,0,100);if(this.status.srcSet)if(this.html.active)this._html_playHead(a);else if(this.aurora.active)this._aurora_playHead(a);else this.flash.active&&this._flash_playHead(a);else this._urlNotSetError("playHead")},_muted:function(a){this.mutedWorker(a);this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},a)},mutedWorker:function(a){this.options.muted=
a;this.html.used&&this._html_setProperty("muted",a);this.aurora.used&&this._aurora_mute(a);this.flash.used&&this._flash_mute(a);if(!this.html.video.gate&&!this.html.audio.gate){this._updateMute(a);this._updateVolume(this.options.volume);this._trigger(c.jPlayer.event.volumechange)}},mute:function(a){if(typeof a==="object"&&this.options.useStateClassSkin&&this.options.muted)this._muted(false);else{a=a===j?true:!!a;this._muted(a)}},unmute:function(a){a=a===j?true:!!a;this._muted(!a)},_updateMute:function(a){if(a===
j)a=this.options.muted;a?this.addStateClass("muted"):this.removeStateClass("muted");if(this.css.jq.mute.length&&this.css.jq.unmute.length)if(this.status.noVolume){this.css.jq.mute.hide();this.css.jq.unmute.hide()}else if(a){this.css.jq.mute.hide();this.css.jq.unmute.show()}else{this.css.jq.mute.show();this.css.jq.unmute.hide()}},volume:function(a){this.volumeWorker(a);this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},a)},volumeWorker:function(a){a=
this._limitValue(a,0,1);this.options.volume=a;this.html.used&&this._html_setProperty("volume",a);this.aurora.used&&this._aurora_volume(a);this.flash.used&&this._flash_volume(a);if(!this.html.video.gate&&!this.html.audio.gate){this._updateVolume(a);this._trigger(c.jPlayer.event.volumechange)}},volumeBar:function(a){if(this.css.jq.volumeBar.length){var b=c(a.currentTarget),d=b.offset(),e=a.pageX-d.left,f=b.width();a=b.height()-a.pageY+d.top;b=b.height();this.options.verticalVolume?this.volume(a/b):
this.volume(e/f)}this.options.muted&&this._muted(false)},_updateVolume:function(a){if(a===j)a=this.options.volume;a=this.options.muted?0:a;if(this.status.noVolume){this.addStateClass("noVolume");this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide();this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide();this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()}else{this.removeStateClass("noVolume");this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show();if(this.css.jq.volumeBarValue.length){this.css.jq.volumeBarValue.show();
this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](a*100+"%")}this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show()}},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(false)},_cssSelectorAncestor:function(a){var b=this;this.options.cssSelectorAncestor=a;this._removeUiClass();this.ancestorJq=a?c(a):[];a&&this.ancestorJq.length!==1&&this._warning({type:c.jPlayer.warning.CSS_SELECTOR_COUNT,context:a,message:c.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+
" found for cssSelectorAncestor.",hint:c.jPlayer.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();c.each(this.options.cssSelector,function(d,e){b._cssSelector(d,e)});this._updateInterface();this._updateButtons();this._updateAutohide();this._updateVolume();this._updateMute()},_cssSelector:function(a,b){var d=this;if(typeof b==="string")if(c.jPlayer.prototype.options.cssSelector[a]){this.css.jq[a]&&this.css.jq[a].length&&this.css.jq[a].unbind(".jPlayer");this.options.cssSelector[a]=b;this.css.cs[a]=
this.options.cssSelectorAncestor+" "+b;this.css.jq[a]=b?c(this.css.cs[a]):[];this.css.jq[a].length&&this[a]&&this.css.jq[a].bind("click.jPlayer",function(e){e.preventDefault();d[a](e);d.options.autoBlur?c(this).blur():c(this).focus()});b&&this.css.jq[a].length!==1&&this._warning({type:c.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[a],message:c.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[a].length+" found for "+a+" method.",hint:c.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:c.jPlayer.warning.CSS_SELECTOR_METHOD,
context:a,message:c.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:c.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:c.jPlayer.warning.CSS_SELECTOR_STRING,context:b,message:c.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:c.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(a){if(this.options.toggleDuration){this.options.captureDuration&&a.stopPropagation();this._setOption("remainingDuration",!this.options.remainingDuration)}},seekBar:function(a){if(this.css.jq.seekBar.length){var b=
c(a.currentTarget),d=b.offset();a=a.pageX-d.left;b=b.width();this.playHead(100*a/b)}},playbackRate:function(a){this._setOption("playbackRate",a)},playbackRateBar:function(a){if(this.css.jq.playbackRateBar.length){var b=c(a.currentTarget),d=b.offset(),e=a.pageX-d.left,f=b.width();a=b.height()-a.pageY+d.top;b=b.height();this.playbackRate((this.options.verticalPlaybackRate?a/b:e/f)*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate)}},_updatePlaybackRate:function(){var a=
(this.options.playbackRate-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);if(this.status.playbackRateEnabled){this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show();if(this.css.jq.playbackRateBarValue.length){this.css.jq.playbackRateBarValue.show();this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](a*100+"%")}}else{this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide();this.css.jq.playbackRateBarValue.length&&
this.css.jq.playbackRateBarValue.hide()}},repeat:function(a){typeof a==="object"&&this.options.useStateClassSkin&&this.options.loop?this._loop(false):this._loop(true)},repeatOff:function(){this._loop(false)},_loop:function(a){if(this.options.loop!==a){this.options.loop=a;this._updateButtons();this._trigger(c.jPlayer.event.repeat)}},option:function(a,b){var d=a;if(arguments.length===0)return c.extend(true,{},this.options);if(typeof a==="string"){var e=a.split(".");if(b===j){d=c.extend(true,{},this.options);
for(var f=0;f<e.length;f++)if(d[e[f]]!==j)d=d[e[f]];else{this._warning({type:c.jPlayer.warning.OPTION_KEY,context:a,message:c.jPlayer.warningMsg.OPTION_KEY,hint:c.jPlayer.warningHint.OPTION_KEY});return j}return d}f=d={};for(var g=0;g<e.length;g++)if(g<e.length-1){f[e[g]]={};f=f[e[g]]}else f[e[g]]=b}this._setOptions(d);return this},_setOptions:function(a){var b=this;c.each(a,function(d,e){b._setOption(d,e)});return this},_setOption:function(a,b){var d=this;switch(a){case "volume":this.volume(b);break;
case "muted":this._muted(b);break;case "globalVolume":this.options[a]=b;break;case "cssSelectorAncestor":this._cssSelectorAncestor(b);break;case "cssSelector":c.each(b,function(f,g){d._cssSelector(f,g)});break;case "playbackRate":this.options[a]=b=this._limitValue(b,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("playbackRate",b);this._updatePlaybackRate();break;case "defaultPlaybackRate":this.options[a]=b=this._limitValue(b,this.options.minPlaybackRate,
this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("defaultPlaybackRate",b);this._updatePlaybackRate();break;case "minPlaybackRate":this.options[a]=b=this._limitValue(b,0.1,this.options.maxPlaybackRate-0.1);this._updatePlaybackRate();break;case "maxPlaybackRate":this.options[a]=b=this._limitValue(b,this.options.minPlaybackRate+0.1,16);this._updatePlaybackRate();break;case "fullScreen":if(this.options[a]!==b){var e=c.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;if(!e||e&&!this.status.waitForPlay){e||
(this.options[a]=b);b?this._requestFullscreen():this._exitFullscreen();e||this._setOption("fullWindow",b)}}break;case "fullWindow":if(this.options[a]!==b){this._removeUiClass();this.options[a]=b;this._refreshSize()}break;case "size":!this.options.fullWindow&&this.options[a].cssClass!==b.cssClass&&this._removeUiClass();this.options[a]=c.extend({},this.options[a],b);this._refreshSize();break;case "sizeFull":this.options.fullWindow&&this.options[a].cssClass!==b.cssClass&&this._removeUiClass();this.options[a]=
c.extend({},this.options[a],b);this._refreshSize();break;case "autohide":this.options[a]=c.extend({},this.options[a],b);this._updateAutohide();break;case "loop":this._loop(b);break;case "remainingDuration":this.options[a]=b;this._updateInterface();break;case "toggleDuration":this.options[a]=b;break;case "nativeVideoControls":this.options[a]=c.extend({},this.options[a],b);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this._restrictNativeVideoControls();this._updateNativeVideoControls();
break;case "noFullWindow":this.options[a]=c.extend({},this.options[a],b);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this._restrictNativeVideoControls();this._updateButtons();break;case "noVolume":this.options[a]=c.extend({},this.options[a],b);this.status.noVolume=this._uaBlocklist(this.options.noVolume);this._updateVolume();this._updateMute();break;case "emulateHtml":if(this.options[a]!==
b)(this.options[a]=b)?this._emulateHtmlBridge():this._destroyHtmlBridge();break;case "timeFormat":this.options[a]=c.extend({},this.options[a],b);break;case "keyEnabled":this.options[a]=b;if(!b&&this===c.jPlayer.focus)c.jPlayer.focus=null;break;case "keyBindings":this.options[a]=c.extend(true,{},this.options[a],b);break;case "audioFullScreen":this.options[a]=b;break;case "autoBlur":this.options[a]=b;break}return this},_refreshSize:function(){this._setSize();this._addUiClass();this._updateSize();this._updateButtons();
this._updateAutohide();this._trigger(c.jPlayer.event.resize)},_setSize:function(){if(this.options.fullWindow){this.status.width=this.options.sizeFull.width;this.status.height=this.options.sizeFull.height;this.status.cssClass=this.options.sizeFull.cssClass}else{this.status.width=this.options.size.width;this.status.height=this.options.size.height;this.status.cssClass=this.options.size.cssClass}this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&
this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height});if(!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls)this.internal.video.jq.css({width:this.status.width,height:this.status.height});else!this.status.waitForPlay&&
this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var a=this,b=function(d){var e=false,f;if(typeof a.internal.mouse!=="undefined"){e=a.internal.mouse.x-d.pageX;f=a.internal.mouse.y-d.pageY;e=Math.floor(e)>0||Math.floor(f)>0}else e=true;a.internal.mouse={x:d.pageX,y:d.pageY};e&&a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId);a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},
a.options.autohide.hold)})};if(this.css.jq.gui.length){this.css.jq.gui.stop(true,true);clearTimeout(this.internal.autohideId);delete this.internal.mouse;this.element.unbind(".jPlayerAutohide");this.css.jq.gui.unbind(".jPlayerAutohide");if(this.status.nativeVideoControls)this.css.jq.gui.hide();else if(this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored){this.element.bind("mousemove.jPlayer.jPlayerAutohide",b);this.css.jq.gui.bind("mousemove.jPlayer.jPlayerAutohide",
b);this.css.jq.gui.hide()}else this.css.jq.gui.show()}},fullScreen:function(a){typeof a==="object"&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",false):this._setOption("fullScreen",true)},restoreScreen:function(){this._setOption("fullScreen",false)},_fullscreenAddEventListeners:function(){var a=this,b=c.jPlayer.nativeFeatures.fullscreen;if(b.api.fullscreenEnabled)if(b.event.fullscreenchange){if(typeof this.internal.fullscreenchangeHandler!=="function")this.internal.fullscreenchangeHandler=
function(){a._fullscreenchange()};document.addEventListener(b.event.fullscreenchange,this.internal.fullscreenchangeHandler,false)}},_fullscreenRemoveEventListeners:function(){var a=c.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(a.event.fullscreenchange,this.internal.fullscreenchangeHandler,false)},_fullscreenchange:function(){this.options.fullScreen&&!c.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",
false)},_requestFullscreen:function(){var a=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],b=c.jPlayer.nativeFeatures.fullscreen;if(b.used.webkitVideo)a=this.htmlElement.video;b.api.fullscreenEnabled&&b.api.requestFullscreen(a)},_exitFullscreen:function(){var a=c.jPlayer.nativeFeatures.fullscreen,b;if(a.used.webkitVideo)b=this.htmlElement.video;a.api.fullscreenEnabled&&a.api.exitFullscreen(b)},_html_initMedia:function(a){var b=c(this.htmlElement.media).empty();c.each(a.track||[],function(d,
e){d=document.createElement("track");d.setAttribute("kind",e.kind?e.kind:"");d.setAttribute("src",e.src?e.src:"");d.setAttribute("srclang",e.srclang?e.srclang:"");d.setAttribute("label",e.label?e.label:"");e.def&&d.setAttribute("default",e.def);b.append(d)});this.htmlElement.media.src=this.status.src;this.options.preload!=="none"&&this._html_load();this._trigger(c.jPlayer.event.timeupdate)},_html_setFormat:function(a){var b=this;c.each(this.formats,function(d,e){if(b.html.support[e]&&a[e]){b.status.src=
a[e];b.status.format[e]=true;b.status.formatType=e;return false}})},_html_setAudio:function(a){this._html_setFormat(a);this.htmlElement.media=this.htmlElement.audio;this._html_initMedia(a)},_html_setVideo:function(a){this._html_setFormat(a);if(this.status.nativeVideoControls)this.htmlElement.video.poster=this._validString(a.poster)?a.poster:"";this.htmlElement.media=this.htmlElement.video;this._html_initMedia(a)},_html_resetMedia:function(){if(this.htmlElement.media){this.htmlElement.media.id===this.internal.video.id&&
!this.status.nativeVideoControls&&this.internal.video.jq.css({width:"0px",height:"0px"});this.htmlElement.media.pause()}},_html_clearMedia:function(){if(this.htmlElement.media){this.htmlElement.media.src="about:blank";this.htmlElement.media.load()}},_html_load:function(){if(this.status.waitForLoad){this.status.waitForLoad=false;this.htmlElement.media.load()}clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(a){var b=this,d=this.htmlElement.media;this.androidFix.pause=false;this._html_load();
if(this.androidFix.setMedia){this.androidFix.play=true;this.androidFix.time=a}else if(isNaN(a))d.play();else{this.internal.cmdsIgnored&&d.play();try{if(!d.seekable||typeof d.seekable==="object"&&d.seekable.length>0){d.currentTime=a;d.play()}else throw 1;}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.play(a)},250);return}}this._html_checkWaitForPlay()},_html_pause:function(a){var b=this,d=this.htmlElement.media;this.androidFix.play=false;a>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId);
d.pause();if(this.androidFix.setMedia){this.androidFix.pause=true;this.androidFix.time=a}else if(!isNaN(a))try{if(!d.seekable||typeof d.seekable==="object"&&d.seekable.length>0)d.currentTime=a;else throw 1;}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.pause(a)},250);return}a>0&&this._html_checkWaitForPlay()},_html_playHead:function(a){var b=this,d=this.htmlElement.media;this._html_load();try{if(typeof d.seekable==="object"&&d.seekable.length>0)d.currentTime=a*d.seekable.end(d.seekable.length-
1)/100;else if(d.duration>0&&!isNaN(d.duration))d.currentTime=a*d.duration/100;else throw"e";}catch(e){this.internal.htmlDlyCmdId=setTimeout(function(){b.playHead(a)},250);return}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){if(this.status.waitForPlay){this.status.waitForPlay=false;this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();if(this.status.video){this.internal.poster.jq.hide();this.internal.video.jq.css({width:this.status.width,height:this.status.height})}}},
_html_setProperty:function(a,b){if(this.html.audio.available)this.htmlElement.audio[a]=b;if(this.html.video.available)this.htmlElement.video[a]=b},_aurora_setAudio:function(a){var b=this;c.each(this.formats,function(d,e){if(b.aurora.support[e]&&a[e]){b.status.src=a[e];b.status.format[e]=true;b.status.formatType=e;return false}});this.aurora.player=new AV.Player.fromURL(this.status.src);this._addAuroraEventListeners(this.aurora.player,this.aurora);if(this.options.preload==="auto"){this._aurora_load();
this.status.waitForLoad=false}},_aurora_resetMedia:function(){this.aurora.player&&this.aurora.player.stop()},_aurora_clearMedia:function(){},_aurora_load:function(){if(this.status.waitForLoad){this.status.waitForLoad=false;this.aurora.player.preload()}},_aurora_play:function(a){this.status.waitForLoad||isNaN(a)||this.aurora.player.seek(a);this.aurora.player.playing||this.aurora.player.play();this.status.waitForLoad=false;this._aurora_checkWaitForPlay();this._updateButtons(true);this._trigger(c.jPlayer.event.play)},
_aurora_pause:function(a){isNaN(a)||this.aurora.player.seek(a*1E3);this.aurora.player.pause();a>0&&this._aurora_checkWaitForPlay();this._updateButtons(false);this._trigger(c.jPlayer.event.pause)},_aurora_playHead:function(a){this.aurora.player.duration>0&&this.aurora.player.seek(a*this.aurora.player.duration/100);this.status.waitForLoad||this._aurora_checkWaitForPlay()},_aurora_checkWaitForPlay:function(){if(this.status.waitForPlay)this.status.waitForPlay=false},_aurora_volume:function(a){this.aurora.player.volume=
a*100},_aurora_mute:function(a){if(a){this.aurora.properties.lastvolume=this.aurora.player.volume;this.aurora.player.volume=0}else this.aurora.player.volume=this.aurora.properties.lastvolume;this.aurora.properties.muted=a},_flash_setAudio:function(a){var b=this;try{c.each(this.formats,function(e,f){if(b.flash.support[f]&&a[f]){switch(f){case "m4a":case "fla":b._getMovie().fl_setAudio_m4a(a[f]);break;case "mp3":b._getMovie().fl_setAudio_mp3(a[f]);break;case "rtmpa":b._getMovie().fl_setAudio_rtmp(a[f]);
break}b.status.src=a[f];b.status.format[f]=true;b.status.formatType=f;return false}});if(this.options.preload==="auto"){this._flash_load();this.status.waitForLoad=false}}catch(d){this._flashError(d)}},_flash_setVideo:function(a){var b=this;try{c.each(this.formats,function(e,f){if(b.flash.support[f]&&a[f]){switch(f){case "m4v":case "flv":b._getMovie().fl_setVideo_m4v(a[f]);break;case "rtmpv":b._getMovie().fl_setVideo_rtmp(a[f]);break}b.status.src=a[f];b.status.format[f]=true;b.status.formatType=f;
return false}});if(this.options.preload==="auto"){this._flash_load();this.status.waitForLoad=false}}catch(d){this._flashError(d)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"});this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(a){this._flashError(a)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(a){this._flashError(a)}this.status.waitForLoad=false},_flash_play:function(a){try{this._getMovie().fl_play(a)}catch(b){this._flashError(b)}this.status.waitForLoad=
false;this._flash_checkWaitForPlay()},_flash_pause:function(a){try{this._getMovie().fl_pause(a)}catch(b){this._flashError(b)}if(a>0){this.status.waitForLoad=false;this._flash_checkWaitForPlay()}},_flash_playHead:function(a){try{this._getMovie().fl_play_head(a)}catch(b){this._flashError(b)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){if(this.status.waitForPlay){this.status.waitForPlay=false;this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();if(this.status.video){this.internal.poster.jq.hide();
this.internal.flash.jq.css({width:this.status.width,height:this.status.height})}}},_flash_volume:function(a){try{this._getMovie().fl_volume(a)}catch(b){this._flashError(b)}},_flash_mute:function(a){try{this._getMovie().fl_mute(a)}catch(b){this._flashError(b)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var a=0,b;if(window.ActiveXObject)try{if(b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var d=b.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");
a=parseInt(d[0],10)+"."+parseInt(d[1],10)}}}catch(e){}else if(navigator.plugins&&navigator.mimeTypes.length>0)if(b=navigator.plugins["Shockwave Flash"])a=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1");return a*1},_checkForFlash:function(a){var b=false;if(this._getFlashPluginVersion()>=a)b=true;return b},_validString:function(a){return a&&typeof a==="string"},_limitValue:function(a,b,d){return a<b?b:a>d?d:a},_urlNotSetError:function(a){this._error({type:c.jPlayer.error.URL_NOT_SET,
context:a,message:c.jPlayer.errorMsg.URL_NOT_SET,hint:c.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(a){var b;b=this.internal.ready?"FLASH_DISABLED":"FLASH";this._error({type:c.jPlayer.error[b],context:this.internal.flash.swf,message:c.jPlayer.errorMsg[b]+a.message,hint:c.jPlayer.errorHint[b]});this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(a){this._trigger(c.jPlayer.event.error,a);if(this.options.errorAlerts)this._alert("Error!"+(a.message?"\n"+a.message:"")+(a.hint?
"\n"+a.hint:"")+"\nContext: "+a.context)},_warning:function(a){this._trigger(c.jPlayer.event.warning,j,a);if(this.options.warningAlerts)this._alert("Warning!"+(a.message?"\n"+a.message:"")+(a.hint?"\n"+a.hint:"")+"\nContext: "+a.context)},_alert:function(a){a="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+a;if(this.options.consoleAlerts)window.console&&window.console.log&&window.console.log(a);else alert(a)},_emulateHtmlBridge:function(){var a=this;c.each(c.jPlayer.emulateMethods.split(/\s+/g),
function(b,d){a.internal.domNode[d]=function(e){a[d](e)}});c.each(c.jPlayer.event,function(b,d){var e=true;c.each(c.jPlayer.reservedEvent.split(/\s+/g),function(f,g){if(g===b)return e=false});e&&a.element.bind(d+".jPlayer.jPlayerHtml",function(){a._emulateHtmlUpdate();var f=document.createEvent("Event");f.initEvent(b,false,true);a.internal.domNode.dispatchEvent(f)})})},_emulateHtmlUpdate:function(){var a=this;c.each(c.jPlayer.emulateStatus.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.status[d]});
c.each(c.jPlayer.emulateOptions.split(/\s+/g),function(b,d){a.internal.domNode[d]=a.options[d]})},_destroyHtmlBridge:function(){var a=this;this.element.unbind(".jPlayerHtml");c.each((c.jPlayer.emulateMethods+" "+c.jPlayer.emulateStatus+" "+c.jPlayer.emulateOptions).split(/\s+/g),function(b,d){delete a.internal.domNode[d]})}};c.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"};
c.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",
URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+c.jPlayer.prototype.version.script+" needs Jplayer.swf version "+c.jPlayer.prototype.version.needFlash+" but found "};c.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",
URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."};c.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"};c.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",
OPTION_KEY:"The option requested in jPlayer('option') is undefined."};c.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});

Binary file not shown.

137
docroot/resources/jPlayer/jquery.min.js vendored Normal file
View File

@@ -0,0 +1,137 @@
/*!
* jQuery JavaScript Library v1.4b1pre
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://docs.jquery.com/License
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Thu Jan 7 14:26:06 2010 -0500
*/
(function(z,w){function la(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(la,1);return}c.ready()}}function Ia(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function Z(a,b,d,e,g,i){var k=a.length;if(typeof b==="object"){for(var o in b)Z(a,o,b[o],e,g,d);return a}if(d!==w){e=e&&c.isFunction(d);for(o=0;o<k;o++)g(a[o],b,e?d.call(a[o],o,g(a[o],b)):d,i);return a}return k?
g(a[0],b):null}function M(){return(new Date).getTime()}function $(){return false}function aa(){return true}function ma(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function na(a){var b=true,d=[],e=[],g=arguments,i,k,o,p,n,u=c.extend({},c.data(this,"events").live);for(p in u){k=u[p];if(k.live===a.type||k.altLive&&c.inArray(a.type,k.altLive)>-1){i=k.data;i.beforeFilter&&i.beforeFilter[a.type]&&!i.beforeFilter[a.type](a)||e.push(k.selector)}else delete u[p]}i=c(a.target).closest(e,a.currentTarget);
n=0;for(l=i.length;n<l;n++)for(p in u){k=u[p];o=i[n].elem;e=null;if(i[n].selector===k.selector){if(k.live==="mouseenter"||k.live==="mouseleave")e=c(a.relatedTarget).closest(k.selector)[0];if(!e||e!==o)d.push({elem:o,fn:k})}}n=0;for(l=d.length;n<l;n++){i=d[n];a.currentTarget=i.elem;a.data=i.fn.data;if(i.fn.apply(i.elem,g)===false){b=false;break}}return b}function oa(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"&")].join(".")}function pa(a,b){var d=0;b.each(function(){if(this.nodeName===
(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),g=c.data(this,e);if(e=e&&e.events){delete g.handle;g.events={};for(var i in e)for(var k in e[i])c.event.add(this,i,e[i][k],e[i][k].data)}}})}function qa(a,b,d){var e,g,i;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&a[0].indexOf("<option")<0){g=true;if(i=c.fragments[a[0]])if(i!==1)e=i}if(!e){b=b&&b[0]?b[0].ownerDocument||b[0]:s;e=b.createDocumentFragment();c.clean(a,b,e,d)}if(g)c.fragments[a[0]]=i?e:1;return{fragment:e,cacheable:g}}function R(a){for(var b=
0,d,e;(d=a[b])!=null;b++)if(!c.noData[d.nodeName.toLowerCase()]&&(e=d[E]))delete c.cache[e]}function I(a,b){var d={};c.each(ra.concat.apply([],ra.slice(0,b)),function(){d[this]=a});return d}function sa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ja=z.jQuery,Ka=z.$,s=z.document,S,La=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ma=/^.[^:#\[\.,]*$/,Na=/\S/,Oa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Pa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
N=navigator.userAgent,ta=false,O=[],J,ba=Object.prototype.toString,ca=Object.prototype.hasOwnProperty,da=Array.prototype.push,P=Array.prototype.slice,T=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,e;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=La.exec(a))&&(d[1]||!b))if(d[1]){e=b?b.ownerDocument||b:s;if(a=Pa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[e.createElement(a[1])];
else{a=qa([d[1]],[e]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return S.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a)}else return!b||b.jquery?(b||S).find(a):c(b).find(a);else if(c.isFunction(a))return S.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.isArray(a)?this.setArray(a):
c.makeArray(a,this)},selector:"",jquery:"1.4b1pre",length:0,size:function(){return this.length},toArray:function(){return P.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){a=c(a||null);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;da.apply(this,a);return this},each:function(a,b){return c.each(this,
a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else O&&O.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(P.apply(this,arguments),"slice",P.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:da,sort:[].sort,splice:[].splice};
c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=false,g,i,k,o;if(typeof a==="boolean"){e=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((g=arguments[b])!=null)for(i in g){k=a[i];o=g[i];if(a!==o)if(e&&o&&(c.isPlainObject(o)||c.isArray(o))){k=k&&(c.isPlainObject(k)||c.isArray(k))?k:c.isArray(o)?[]:{};a[i]=c.extend(e,k,o)}else if(o!==w)a[i]=o}return a};c.extend({noConflict:function(a){z.$=
Ka;if(a)z.jQuery=Ja;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(O){for(var a,b=0;a=O[b++];)a.call(s,c);O=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!ta){ta=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",J,false);z.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",J);z.attachEvent("onload",
c.ready);var a=false;try{a=z.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&la()}}},isFunction:function(a){return ba.call(a)==="[object Function]"},isArray:function(a){return ba.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||ba.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ca.call(a,"constructor")&&!ca.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===w||ca.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;
return true},noop:function(){},globalEval:function(a){if(a&&Na.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var e,g=0,i=a.length,k=i===w||c.isFunction(a);if(d)if(k)for(e in a){if(b.apply(a[e],d)===
false)break}else for(;g<i;){if(b.apply(a[g++],d)===false)break}else if(k)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(d=a[0];g<i&&b.call(d,g,d)!==false;d=a[++g]);return a},trim:function(a){return(a||"").replace(Oa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?da.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,e=b.length;d<e;d++)if(b[d]===a)return d;
return-1},merge:function(a,b){var d=a.length,e=0;if(typeof b.length==="number")for(var g=b.length;e<g;e++)a[d++]=b[e];else for(;b[e]!==w;)a[d++]=b[e++];a.length=d;return a},grep:function(a,b,d){for(var e=[],g=0,i=a.length;g<i;g++)!d!==!b(a[g],g)&&e.push(a[g]);return e},map:function(a,b,d){for(var e=[],g,i=0,k=a.length;i<k;i++){g=b(a[i],i,d);if(g!=null)e[e.length]=g}return e.concat.apply([],e)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&&!c.isFunction(b)){d=
b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){var b={browser:""};a=a.toLowerCase();if(/webkit/.test(a))b={browser:"webkit",version:/webkit[\/ ]([\w.]+)/};else if(/opera/.test(a))b={browser:"opera",version:/opera[\/ ]([\w.]+)/};else if(/msie/.test(a))b={browser:"msie",version:/msie ([\w.]+)/};else if(/mozilla/.test(a)&&!/compatible/.test(a))b={browser:"mozilla",version:/rv:([\w.]+)/};b.version=(b.version&&b.version.exec(a)||
[0,"0"])[1];return b},browser:{}});N=c.uaMatch(N);if(N.browser){c.browser[N.browser]=true;c.browser.version=N.version}if(c.browser.webkit)c.browser.safari=true;if(T)c.inArray=function(a,b){return T.call(b,a)};S=c(s);if(s.addEventListener)J=function(){s.removeEventListener("DOMContentLoaded",J,false);c.ready()};else if(s.attachEvent)J=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",J);c.ready()}};if(T)c.inArray=function(a,b){return T.call(b,a)};(function(){c.support={};
var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),e="script"+M();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var g=d.getElementsByTagName("*"),i=d.getElementsByTagName("a")[0];if(!(!g||!g.length||!i)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),
hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+e+"=1;"))}catch(k){}a.insertBefore(b,a.firstChild);if(z[e]){c.support.scriptEval=true;delete z[e]}a.removeChild(b);if(d.attachEvent&&
d.fireEvent){d.attachEvent("onclick",function o(){c.support.noCloneEvent=false;d.detachEvent("onclick",o)});d.cloneNode(true).fireEvent("onclick")}c(function(){var o=s.createElement("div");o.style.width=o.style.paddingLeft="1px";s.body.appendChild(o);c.boxModel=c.support.boxModel=o.offsetWidth===2;s.body.removeChild(o).style.display="none"});a=function(o){var p=s.createElement("div");o="on"+o;var n=o in p;if(!n){p.setAttribute(o,"return;");n=typeof p[o]==="function"}return n};c.support.submitBubbles=
a("submit");c.support.changeBubbles=a("change");a=b=d=g=i=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),
e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,
b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Qa=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==z&&!a.frameElement)a=z;if(!d.guid)d.guid=c.guid++;if(e!==w){d=c.proxy(d);d.data=e}var g=c.data(a,"events")||c.data(a,"events",{}),i=c.data(a,"handle"),k;if(!i){k=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(k.elem,arguments):w};
i=c.data(a,"handle",k)}i.elem=a;b=b.split(/\s+/);for(var o,p=0;o=b[p++];){var n=o.split(".");o=n.shift();d.type=n.slice(0).sort().join(".");var u=g[o],y=this.special[o]||{};if(!u){u=g[o]={};if(!y.setup||y.setup.call(a,e,n,d)===false)if(a.addEventListener)a.addEventListener(o,i,false);else a.attachEvent&&a.attachEvent("on"+o,i)}if(y.add)if((n=y.add.call(a,d,e,n,u))&&c.isFunction(n)){n.guid=n.guid||d.guid;d=n}u[d.guid]=d;this.global[o]=true}a=null}},global:{},remove:function(a,b,d){if(!(a.nodeType===
3||a.nodeType===8)){var e=c.data(a,"events"),g,i,k;if(e){if(b===w||typeof b==="string"&&b.charAt(0)===".")for(i in e)this.remove(a,i+(b||""));else{if(b.type){d=b.handler;b=b.type}b=b.split(/\s+/);for(var o=0;i=b[o++];){var p=i.split(".");i=p.shift();var n=!p.length,u=c.map(p.slice(0).sort(),Qa);u=new RegExp("(^|\\.)"+u.join("\\.(?:.*\\.)?")+"(\\.|$)");var y=this.special[i]||{};if(e[i]){if(d){k=e[i][d.guid];delete e[i][d.guid]}else for(var A in e[i])if(n||u.test(e[i][A].type))delete e[i][A];y.remove&&
y.remove.call(a,p,k);for(g in e[i])break;if(!g){if(!y.teardown||y.teardown.call(a,p)===false)if(a.removeEventListener)a.removeEventListener(i,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+i,c.data(a,"handle"));g=null;delete e[i]}}}}for(g in e)break;if(!g){if(A=c.data(a,"handle"))A.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,e){var g=a.type||a;if(!e){a=typeof a==="object"?a[E]?a:c.extend(c.Event(g),a):c.Event(g);if(g.indexOf("!")>=0){a.type=
g=g.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[g]&&c.each(c.cache,function(){this.events&&this.events[g]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;var i=c.data(d,"handle");i&&i.apply(d,b);var k,o;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()])){k=d[g];o=d["on"+g]}}catch(p){}i=c.nodeName(d,"a")&&g==="click";if(!e&&k&&!a.isDefaultPrevented()&&!i){this.triggered=
true;try{d[g]()}catch(n){}}else if(o&&d["on"+g].apply(d,b)===false)a.result=false;this.triggered=false;if(!a.isPropagationStopped())(d=d.parentNode||d.ownerDocument)&&c.event.trigger(a,b,d,true)},handle:function(a){var b,d;a=arguments[0]=c.event.fix(a||z.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var e=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var g in d){var i=d[g];if(b||e.test(i.type)){a.handler=
i;a.data=i.data;i=i.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[E])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a,b){c.extend(a,b||{});a.guid+=b.selector+b.live;c.event.add(this,b.live,na,b)},remove:function(a){if(a.length){var b=0,d=new RegExp("(^|\\.)"+
a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],na)}},special:{}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=M();this[E]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=
aa;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=aa;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=aa;this.stopPropagation()},isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$};var ua=function(a){for(var b=a.relatedTarget;b&&b!==this;)try{b=b.parentNode}catch(d){break}if(b!==
this){a.type=a.data;c.event.handle.apply(this,arguments)}},va=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?va:ua,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?va:ua)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(a,b,d){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit."+d.guid,
function(e){var g=e.target,i=g.type;if((i==="submit"||i==="image")&&c(g).closest("form").length)return ma("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+d.guid,function(e){var g=e.target,i=g.type;if((i==="text"||i==="password")&&c(g).closest("form").length&&e.keyCode===13)return ma("submit",this,arguments)})}},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this,"keypress.specialSubmit"+(b?"."+b.guid:""))}};if(!c.support.changeBubbles){var ea=
/textarea|input|select/i;function wa(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d}function fa(a,b){var d=a.target,e,g;if(!(!ea.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");g=wa(d);if(g!==e){if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",g);if(d.type!=="select"&&(e!=
null||g)){a.type="change";return c.event.trigger(a,b,this)}}}}c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;a.nodeName.toLowerCase()===
"input"&&a.type==="radio"&&c.data(a,"_change_data",wa(a))}},setup:function(a,b,d){for(var e in U)c.event.add(this,e+".specialChange."+d.guid,U[e]);return ea.test(this.nodeName)},remove:function(a,b){for(var d in U)c.event.remove(this,d+".specialChange"+(b?"."+b.guid:""),U[d]);return ea.test(this.nodeName)}};var U=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}c.event.special[b]=
{setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,g){if(typeof d==="object"){for(var i in d)this[b](i,e,d[i],g);return this}if(c.isFunction(e)){thisObject=g;g=e;e=w}var k=b==="one"?c.proxy(g,function(o){c(this).unbind(o,k);return g.apply(this,arguments)}):g;d==="unload"&&b!=="one"?this.one(d,e,g,thisObject):(!this.selector&&!this.context?c(s):this).each(function(){c.event.add(this,
d,k,e)});return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault){for(var d in a)this.unbind(d,a[d]);return this}(!this.selector&&!this.context?c(s):this).each(function(){c.event.remove(this,a,b)});return this},trigger:function(a,b){(!this.selector&&!this.context?c(s):this).each(function(){c.event.trigger(a,b,this)});return this},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var g=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,g+1);e.preventDefault();return b[g].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},live:function(a,b,d){if(c.isFunction(b)){d=b;b=w}c(this.context).bind(oa(a,this.selector),{data:b,selector:this.selector,live:a},d);return this},die:function(a,b){c(this.context).unbind(oa(a,
this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});c.each("blur focus load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.fnAttr)c.fnAttr[b]=true});z.attachEvent&&!z.addEventListener&&z.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
var E="jQuery"+M(),Ra=0,xa={},Sa={};c.extend({cache:{},expando:E,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var e=a[E],g=c.cache;if(!b&&!e)return null;e||(e=++Ra);if(typeof b==="object"){a[E]=e;g=g[e]=c.extend(true,{},b)}else g=g[e]?g[e]:typeof d==="undefined"?Sa:(g[e]={});if(d!==w){a[E]=e;g[b]=d}return typeof b==="string"?g[b]:g}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==z?xa:a;var d=a[E],e=c.cache,g=e[d];if(b){if(g){delete g[b];c.isEmptyObject(g)&&c.removeData(a)}}else{try{delete a[E]}catch(i){a.removeAttribute&&a.removeAttribute(E)}delete e[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===w&&this.length)e=c.data(this[0],a);return e===
w&&d[1]?this.data(d[0]):e}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});(function(){function a(f){for(var h="",j,m=0;f[m];m++){j=f[m];if(j.nodeType===3||j.nodeType===4)h+=j.nodeValue;else if(j.nodeType!==8)h+=a(j.childNodes)}return h}function b(f,h,j,m,r,q){r=0;for(var v=m.length;r<v;r++){var t=m[r];if(t){t=t[f];for(var x=false;t;){if(t.sizcache===j){x=m[t.sizset];break}if(t.nodeType===
1&&!q){t.sizcache=j;t.sizset=r}if(t.nodeName.toLowerCase()===h){x=t;break}t=t[f]}m[r]=x}}}function d(f,h,j,m,r,q){r=0;for(var v=m.length;r<v;r++){var t=m[r];if(t){t=t[f];for(var x=false;t;){if(t.sizcache===j){x=m[t.sizset];break}if(t.nodeType===1){if(!q){t.sizcache=j;t.sizset=r}if(typeof h!=="string"){if(t===h){x=true;break}}else if(p.filter(h,[t]).length>0){x=t;break}}t=t[f]}m[r]=x}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
g=0,i=Object.prototype.toString,k=false,o=true;[0,0].sort(function(){o=false;return 0});var p=function(f,h,j,m){j=j||[];var r=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!f||typeof f!=="string")return j;for(var q=[],v,t,x,Q,F=true,K=V(h),G=f;(e.exec(""),v=e.exec(G))!==null;){G=v[3];q.push(v[1]);if(v[2]){Q=v[3];break}}if(q.length>1&&u.exec(f))if(q.length===2&&n.relative[q[0]])t=ya(q[0]+q[1],h);else for(t=n.relative[q[0]]?[h]:p(q.shift(),h);q.length;){f=q.shift();if(n.relative[f])f+=q.shift();
t=ya(f,t)}else{if(!m&&q.length>1&&h.nodeType===9&&!K&&n.match.ID.test(q[0])&&!n.match.ID.test(q[q.length-1])){v=p.find(q.shift(),h,K);h=v.expr?p.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:q.pop(),set:A(m)}:p.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&h.parentNode?h.parentNode:h,K);t=v.expr?p.filter(v.expr,v.set):v.set;if(q.length>0)x=A(t);else F=false;for(;q.length;){var B=q.pop();v=B;if(n.relative[B])v=q.pop();else B="";if(v==null)v=h;n.relative[B](x,v,K)}}else x=[]}x||(x=t);x||p.error(B||
f);if(i.call(x)==="[object Array]")if(F)if(h&&h.nodeType===1)for(f=0;x[f]!=null;f++){if(x[f]&&(x[f]===true||x[f].nodeType===1&&H(h,x[f])))j.push(t[f])}else for(f=0;x[f]!=null;f++)x[f]&&x[f].nodeType===1&&j.push(t[f]);else j.push.apply(j,x);else A(x,j);if(Q){p(Q,r,j,m);p.uniqueSort(j)}return j};p.uniqueSort=function(f){if(D){k=o;f.sort(D);if(k)for(var h=1;h<f.length;h++)f[h]===f[h-1]&&f.splice(h--,1)}return f};p.matches=function(f,h){return p(f,null,null,h)};p.find=function(f,h,j){var m,r;if(!f)return[];
for(var q=0,v=n.order.length;q<v;q++){var t=n.order[q];if(r=n.leftMatch[t].exec(f)){var x=r[1];r.splice(1,1);if(x.substr(x.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");m=n.find[t](r,h,j);if(m!=null){f=f.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:f}};p.filter=function(f,h,j,m){for(var r=f,q=[],v=h,t,x,Q=h&&h[0]&&V(h[0]);f&&h.length;){for(var F in n.filter)if((t=n.leftMatch[F].exec(f))!=null&&t[2]){var K=n.filter[F],G,B;B=t[1];x=false;t.splice(1,1);if(B.substr(B.length-
1)!=="\\"){if(v===q)q=[];if(n.preFilter[F])if(t=n.preFilter[F](t,v,j,q,m,Q)){if(t===true)continue}else x=G=true;if(t)for(var W=0;(B=v[W])!=null;W++)if(B){G=K(B,t,W,v);var za=m^!!G;if(j&&G!=null)if(za)x=true;else v[W]=false;else if(za){q.push(B);x=true}}if(G!==w){j||(v=q);f=f.replace(n.match[F],"");if(!x)return[];break}}}if(f===r)if(x==null)p.error(f);else break;r=f}return v};p.error=function(f){throw"Syntax error, unrecognized expression: "+f;};var n=p.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(f){return f.getAttribute("href")}},
relative:{"+":function(f,h){var j=typeof h==="string",m=j&&!/\W/.test(h);j=j&&!m;if(m)h=h.toLowerCase();m=0;for(var r=f.length,q;m<r;m++)if(q=f[m]){for(;(q=q.previousSibling)&&q.nodeType!==1;);f[m]=j||q&&q.nodeName.toLowerCase()===h?q||false:q===h}j&&p.filter(h,f,true)},">":function(f,h){var j=typeof h==="string";if(j&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,r=f.length;m<r;m++){var q=f[m];if(q){j=q.parentNode;f[m]=j.nodeName.toLowerCase()===h?j:false}}}else{m=0;for(r=f.length;m<r;m++)if(q=f[m])f[m]=
j?q.parentNode:q.parentNode===h;j&&p.filter(h,f,true)}},"":function(f,h,j){var m=g++,r=d;if(typeof h==="string"&&!/\W/.test(h)){var q=h=h.toLowerCase();r=b}r("parentNode",h,m,f,q,j)},"~":function(f,h,j){var m=g++,r=d;if(typeof h==="string"&&!/\W/.test(h)){var q=h=h.toLowerCase();r=b}r("previousSibling",h,m,f,q,j)}},find:{ID:function(f,h,j){if(typeof h.getElementById!=="undefined"&&!j)return(f=h.getElementById(f[1]))?[f]:[]},NAME:function(f,h){if(typeof h.getElementsByName!=="undefined"){var j=[];
h=h.getElementsByName(f[1]);for(var m=0,r=h.length;m<r;m++)h[m].getAttribute("name")===f[1]&&j.push(h[m]);return j.length===0?null:j}},TAG:function(f,h){return h.getElementsByTagName(f[1])}},preFilter:{CLASS:function(f,h,j,m,r,q){f=" "+f[1].replace(/\\/g,"")+" ";if(q)return f;q=0;for(var v;(v=h[q])!=null;q++)if(v)if(r^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(f)>=0))j||m.push(v);else if(j)h[q]=false;return false},ID:function(f){return f[1].replace(/\\/g,"")},TAG:function(f){return f[1].toLowerCase()},
CHILD:function(f){if(f[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[2]==="even"&&"2n"||f[2]==="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=h[1]+(h[2]||1)-0;f[3]=h[3]-0}f[0]=g++;return f},ATTR:function(f,h,j,m,r,q){h=f[1].replace(/\\/g,"");if(!q&&n.attrMap[h])f[1]=n.attrMap[h];if(f[2]==="~=")f[4]=" "+f[4]+" ";return f},PSEUDO:function(f,h,j,m,r){if(f[1]==="not")if((e.exec(f[3])||"").length>1||/^\w/.test(f[3]))f[3]=p(f[3],null,null,h);else{f=p.filter(f[3],h,j,true^r);j||m.push.apply(m,
f);return false}else if(n.match.POS.test(f[0])||n.match.CHILD.test(f[0]))return true;return f},POS:function(f){f.unshift(true);return f}},filters:{enabled:function(f){return f.disabled===false&&f.type!=="hidden"},disabled:function(f){return f.disabled===true},checked:function(f){return f.checked===true},selected:function(f){return f.selected===true},parent:function(f){return!!f.firstChild},empty:function(f){return!f.firstChild},has:function(f,h,j){return!!p(j[3],f).length},header:function(f){return/h\d/i.test(f.nodeName)},
text:function(f){return"text"===f.type},radio:function(f){return"radio"===f.type},checkbox:function(f){return"checkbox"===f.type},file:function(f){return"file"===f.type},password:function(f){return"password"===f.type},submit:function(f){return"submit"===f.type},image:function(f){return"image"===f.type},reset:function(f){return"reset"===f.type},button:function(f){return"button"===f.type||f.nodeName.toLowerCase()==="button"},input:function(f){return/input|select|textarea|button/i.test(f.nodeName)}},
setFilters:{first:function(f,h){return h===0},last:function(f,h,j,m){return h===m.length-1},even:function(f,h){return h%2===0},odd:function(f,h){return h%2===1},lt:function(f,h,j){return h<j[3]-0},gt:function(f,h,j){return h>j[3]-0},nth:function(f,h,j){return j[3]-0===h},eq:function(f,h,j){return j[3]-0===h}},filter:{PSEUDO:function(f,h,j,m){var r=h[1],q=n.filters[r];if(q)return q(f,j,h,m);else if(r==="contains")return(f.textContent||f.innerText||a([f])||"").indexOf(h[3])>=0;else if(r==="not"){h=
h[3];j=0;for(m=h.length;j<m;j++)if(h[j]===f)return false;return true}else p.error("Syntax error, unrecognized expression: "+r)},CHILD:function(f,h){var j=h[1],m=f;switch(j){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(j==="first")return true;m=f;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":j=h[2];var r=h[3];if(j===1&&r===0)return true;h=h[0];var q=f.parentNode;if(q&&(q.sizcache!==h||!f.nodeIndex)){var v=0;for(m=q.firstChild;m;m=
m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;q.sizcache=h}f=f.nodeIndex-r;return j===0?f===0:f%j===0&&f/j>=0}},ID:function(f,h){return f.nodeType===1&&f.getAttribute("id")===h},TAG:function(f,h){return h==="*"&&f.nodeType===1||f.nodeName.toLowerCase()===h},CLASS:function(f,h){return(" "+(f.className||f.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(f,h){var j=h[1];f=n.attrHandle[j]?n.attrHandle[j](f):f[j]!=null?f[j]:f.getAttribute(j);j=f+"";var m=h[2];h=h[4];return f==null?m==="!=":m===
"="?j===h:m==="*="?j.indexOf(h)>=0:m==="~="?(" "+j+" ").indexOf(h)>=0:!h?j&&f!==false:m==="!="?j!==h:m==="^="?j.indexOf(h)===0:m==="$="?j.substr(j.length-h.length)===h:m==="|="?j===h||j.substr(0,h.length+1)===h+"-":false},POS:function(f,h,j,m){var r=n.setFilters[h[2]];if(r)return r(f,j,h,m)}}},u=n.match.POS;for(var y in n.match){n.match[y]=new RegExp(n.match[y].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[y]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[y].source.replace(/\\(\d+)/g,function(f,
h){return"\\"+(h-0+1)}))}var A=function(f,h){f=Array.prototype.slice.call(f,0);if(h){h.push.apply(h,f);return h}return f};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(L){A=function(f,h){h=h||[];if(i.call(f)==="[object Array]")Array.prototype.push.apply(h,f);else if(typeof f.length==="number")for(var j=0,m=f.length;j<m;j++)h.push(f[j]);else for(j=0;f[j];j++)h.push(f[j]);return h}}var D;if(s.documentElement.compareDocumentPosition)D=function(f,h){if(!f.compareDocumentPosition||
!h.compareDocumentPosition){if(f==h)k=true;return f.compareDocumentPosition?-1:1}f=f.compareDocumentPosition(h)&4?-1:f===h?0:1;if(f===0)k=true;return f};else if("sourceIndex"in s.documentElement)D=function(f,h){if(!f.sourceIndex||!h.sourceIndex){if(f==h)k=true;return f.sourceIndex?-1:1}f=f.sourceIndex-h.sourceIndex;if(f===0)k=true;return f};else if(s.createRange)D=function(f,h){if(!f.ownerDocument||!h.ownerDocument){if(f==h)k=true;return f.ownerDocument?-1:1}var j=f.ownerDocument.createRange(),m=
h.ownerDocument.createRange();j.setStart(f,0);j.setEnd(f,0);m.setStart(h,0);m.setEnd(h,0);f=j.compareBoundaryPoints(Range.START_TO_END,m);if(f===0)k=true;return f};(function(){var f=s.createElement("div"),h="script"+(new Date).getTime();f.innerHTML="<a name='"+h+"'/>";var j=s.documentElement;j.insertBefore(f,j.firstChild);if(s.getElementById(h)){n.find.ID=function(m,r,q){if(typeof r.getElementById!=="undefined"&&!q)return(r=r.getElementById(m[1]))?r.id===m[1]||typeof r.getAttributeNode!=="undefined"&&
r.getAttributeNode("id").nodeValue===m[1]?[r]:w:[]};n.filter.ID=function(m,r){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===r}}j.removeChild(f);j=f=null})();(function(){var f=s.createElement("div");f.appendChild(s.createComment(""));if(f.getElementsByTagName("*").length>0)n.find.TAG=function(h,j){j=j.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;j[m];m++)j[m].nodeType===1&&h.push(j[m]);j=h}return j};f.innerHTML="<a href='#'></a>";
if(f.firstChild&&typeof f.firstChild.getAttribute!=="undefined"&&f.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};f=null})();s.querySelectorAll&&function(){var f=p,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){p=function(m,r,q,v){r=r||s;if(!v&&r.nodeType===9&&!V(r))try{return A(r.querySelectorAll(m),q)}catch(t){}return f(m,r,q,v)};for(var j in f)p[j]=f[j];h=null}}();
(function(){var f=s.createElement("div");f.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!f.getElementsByClassName||f.getElementsByClassName("e").length===0)){f.lastChild.className="e";if(f.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,j,m){if(typeof j.getElementsByClassName!=="undefined"&&!m)return j.getElementsByClassName(h[1])};f=null}}})();var H=s.compareDocumentPosition?function(f,h){return!!(f.compareDocumentPosition(h)&16)}:
function(f,h){return f!==h&&(f.contains?f.contains(h):true)},V=function(f){return(f=(f?f.ownerDocument||f:0).documentElement)?f.nodeName!=="HTML":false},ya=function(f,h){var j=[],m="",r;for(h=h.nodeType?[h]:h;r=n.match.PSEUDO.exec(f);){m+=r[0];f=f.replace(n.match.PSEUDO,"")}f=n.relative[f]?f+"*":f;r=0;for(var q=h.length;r<q;r++)p(f,h[r],j);return p.filter(m,j)};c.find=p;c.expr=p.selectors;c.expr[":"]=c.expr.filters;c.unique=p.uniqueSort;c.getText=a;c.isXMLDoc=V;c.contains=H})();var Ta=/Until$/,Ua=
/^(?:parents|prevUntil|prevAll)/,Va=/,/;P=Array.prototype.slice;var Aa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(g,i){return!!b.call(g,i,g)===d});else if(b.nodeType)return c.grep(a,function(g){return g===b===d});else if(typeof b==="string"){var e=c.grep(a,function(g){return g.nodeType===1});if(Ma.test(b))return c.filter(b,e,!d);else b=c.filter(b,a)}return c.grep(a,function(g){return c.inArray(g,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,
e=0,g=this.length;e<g;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var i=d;i<b.length;i++)for(var k=0;k<d;k++)if(b[k]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Aa(this,a,false),"not",a)},filter:function(a){return this.pushStack(Aa(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=
[],e=this[0],g,i={},k;if(e&&a.length){g=0;for(var o=a.length;g<o;g++){k=a[g];i[k]||(i[k]=c.expr.match.POS.test(k)?c(k,b||this.context):k)}for(;e&&e.ownerDocument&&e!==b;){for(k in i){g=i[k];if(g.jquery?g.index(e)>-1:c(e).is(g)){d.push({selector:k,elem:e});delete i[k]}}e=e.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,u){for(;u&&u.ownerDocument&&u!==b;){if(p?p.index(u)>-1:c(u).is(a))return u;u=u.parentNode}return null})},index:function(a){if(!a||
typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(a[0]&&(a[0].setInterval||a[0].nodeType===9||a[0].parentNode&&a[0].parentNode.nodeType!==11)?c.unique(b):b)},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,
"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},
contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var g=c.map(this,b,d);Ta.test(a)||(e=d);if(e&&typeof e==="string")g=c.filter(e,g);g=this.length>1?c.unique(g):g;if((this.length>1||Va.test(e))&&Ua.test(a))g=g.reverse();return this.pushStack(g,a,P.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=
a[b];a&&a.nodeType!==9&&(d===w||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ba=/[\n\t]/g,ga=/\s+/,Wa=/\r/g,Xa=/href|src|style/,Ya=/(button|input)/i,Za=/(button|input|object|select|textarea)/i,$a=/^(a|area)$/i,Ca=/radio|checkbox/;c.fn.extend({attr:function(a,b){return Z(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,
a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(p){var n=c(this);n.addClass(a.call(this,p,n.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ga),d=0,e=this.length;d<e;d++){var g=this[d];if(g.nodeType===1)if(g.className)for(var i=" "+g.className+" ",k=0,o=b.length;k<o;k++){if(i.indexOf(" "+b[k]+" ")<0)g.className+=" "+b[k]}else g.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(p){var n=
c(this);n.removeClass(a.call(this,p,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ga),d=0,e=this.length;d<e;d++){var g=this[d];if(g.nodeType===1&&g.className)if(a){for(var i=(" "+g.className+" ").replace(Ba," "),k=0,o=b.length;k<o;k++)i=i.replace(" "+b[k]+" "," ");g.className=i.substring(1,i.length-1)}else g.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(g){var i=c(this);i.toggleClass(a.call(this,
g,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var g,i=0,k=c(this),o=b,p=a.split(ga);g=p[i++];){o=e?o:!k.hasClass(g);k[o?"addClass":"removeClass"](g)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Ba," ").indexOf(a)>-1)return true;return false},
val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,e=[],g=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:g.length;i<d;i++){var k=g[i];if(k.selected){a=c(k).val();if(b)return a;e.push(a)}}return e}if(Ca.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Wa,"")}return w}var o=c.isFunction(a);
return this.each(function(p){var n=c(this),u=a;if(this.nodeType===1){if(o)u=a.call(this,p,n.val());if(typeof u==="number")u+="";if(c.isArray(u)&&Ca.test(this.type))this.checked=c.inArray(n.val(),u)>=0;else if(c.nodeName(this,"select")){var y=c.makeArray(u);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),y)>=0});if(!y.length)this.selectedIndex=-1}else this.value=u}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,
b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return w;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var g=d!==w;b=e&&c.props[b]||b;if(a.nodeType===1){var i=Xa.test(b);if(b in a&&e&&!i){if(g){if(b==="type"&&Ya.test(a.nodeName)&&a.parentNode)throw"type property can't be changed";a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Za.test(a.nodeName)||$a.test(a.nodeName)&&
a.href?0:w;return a[b]}if(!c.support.style&&e&&b==="style"){if(g)a.style.cssText=""+d;return a.style.cssText}g&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&e&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var Da=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,ab=/(<([\w:]+)[^>]*?)\/>/g,bb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ea=/<([\w:]+)/,cb=/<tbody/i,db=/<|&\w+;/,eb=function(a,b,d){return bb.test(d)?a:b+"></"+d+">"},C={option:[1,"<select multiple='multiple'>",
"</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};C.optgroup=C.option;C.tbody=C.tfoot=C.colgroup=C.caption=C.thead;C.th=C.td;if(!c.support.htmlSerialize)C._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
c(this);return d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.getText(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
wrapInner:function(a){return this.each(function(){c(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},
before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());
return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Da,"").replace(X,"")],e)[0]}else return this.cloneNode(true)});if(a===true){pa(this,b);pa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Da,""):null;else if(typeof a==="string"&&
!/<script/i.test(a)&&(c.support.leadingWhitespace||!X.test(a))&&!C[(Ea.exec(a)||["",""])[1].toLowerCase()])try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){R(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}else c.isFunction(a)?this.each(function(g){var i=c(this),k=i.html();i.empty().append(function(){return a.call(this,g,k)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=
this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)}):this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function e(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]||u.appendChild(u.ownerDocument.createElement("tbody")):u}var g,i,k=a[0],o=[];if(c.isFunction(k))return this.each(function(u){var y=c(this);a[0]=k.call(this,u,b?y.html():w);return y.domManip(a,b,d)});if(this[0]){g=
a[0]&&a[0].parentNode&&a[0].parentNode.nodeType===11?{fragment:a[0].parentNode}:qa(a,this,o);if(i=g.fragment.firstChild){b=b&&c.nodeName(i,"tr");for(var p=0,n=this.length;p<n;p++)d.call(b?e(this[p],i):this[p],g.cacheable||this.length>1||p>0?g.fragment.cloneNode(true):g.fragment)}o&&c.each(o,Ia)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);for(var g=0,
i=d.length;g<i;g++){var k=(g>0?this.clone(true):this).get();c.fn[b].apply(c(d[g]),k);e=e.concat(k)}return this.pushStack(e,a,d.selector)}});c.each({remove:function(a,b){if(!a||c.filter(a,[this]).length){if(!b&&this.nodeType===1){R(this.getElementsByTagName("*"));R([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&R(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,
arguments)}});c.extend({clean:function(a,b,d,e){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;var g=[];c.each(a,function(i,k){if(typeof k==="number")k+="";if(k){if(typeof k==="string"&&!db.test(k))k=b.createTextNode(k);else if(typeof k==="string"){k=k.replace(ab,eb);var o=(Ea.exec(k)||["",""])[1].toLowerCase(),p=C[o]||C._default,n=p[0];i=b.createElement("div");for(i.innerHTML=p[1]+k+p[2];n--;)i=i.lastChild;if(!c.support.tbody){n=cb.test(k);o=o==="table"&&
!n?i.firstChild&&i.firstChild.childNodes:p[1]==="<table>"&&!n?i.childNodes:[];for(p=o.length-1;p>=0;--p)c.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!c.support.leadingWhitespace&&X.test(k)&&i.insertBefore(b.createTextNode(X.exec(k)[0]),i.firstChild);k=c.makeArray(i.childNodes)}if(k.nodeType)g.push(k);else g=c.merge(g,k)}});if(d)for(a=0;g[a];a++)if(e&&c.nodeName(g[a],"script")&&(!g[a].type||g[a].type.toLowerCase()==="text/javascript"))e.push(g[a].parentNode?
g[a].parentNode.removeChild(g[a]):g[a]);else{g[a].nodeType===1&&g.splice.apply(g,[a+1,0].concat(c.makeArray(g[a].getElementsByTagName("script"))));d.appendChild(g[a])}return g}});var fb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Fa=/alpha\([^)]*\)/,Ga=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,gb=/([A-Z])/g,hb=/^-?\d+(?:px)?$/i,ib=/^-?\d/,jb={position:"absolute",visibility:"hidden",display:"block"},kb=["Left","Right"],lb=["Top","Bottom"],mb=s.defaultView&&s.defaultView.getComputedStyle,
Ha=c.support.cssFloat?"cssFloat":"styleFloat",ja=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return Z(this,a,b,true,function(d,e,g){if(g===w)return c.curCSS(d,e);if(typeof g==="number"&&!fb.test(e))g+="px";c.style(d,e,g)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var e=a.style||a,g=d!==w;if(!c.support.opacity&&b==="opacity"){if(g){e.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+
")";a=e.filter||c.curCSS(a,"filter")||"";e.filter=Fa.test(a)?a.replace(Fa,b):b}return e.filter&&e.filter.indexOf("opacity=")>=0?parseFloat(Ga.exec(e.filter)[1])/100+"":""}if(ha.test(b))b=Ha;b=b.replace(ia,ja);if(g)e[b]=d;return e[b]},css:function(a,b,d,e){if(b==="width"||b==="height"){var g,i=b==="width"?kb:lb;function k(){g=b==="width"?a.offsetWidth:a.offsetHeight;e!=="border"&&c.each(i,function(){e||(g-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(e==="margin")g+=parseFloat(c.curCSS(a,"margin"+
this,true))||0;else g-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?k():c.swap(a,jb,k);return Math.max(0,Math.round(g))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var e,g=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){e=Ga.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return e===""?"1":e}if(ha.test(b))b=Ha;if(!d&&g&&g[b])e=g[b];else if(mb){if(ha.test(b))b="float";b=b.replace(gb,"-$1").toLowerCase();g=a.ownerDocument.defaultView;if(!g)return null;
if(a=g.getComputedStyle(a,null))e=a.getPropertyValue(b);if(b==="opacity"&&e==="")e="1"}else if(a.currentStyle){d=b.replace(ia,ja);e=a.currentStyle[b]||a.currentStyle[d];if(!hb.test(e)&&ib.test(e)){b=g.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=d==="fontSize"?"1em":e||0;e=g.pixelLeft+"px";g.left=b;a.runtimeStyle.left=i}}return e},swap:function(a,b,d){var e={};for(var g in b){e[g]=a.style[g];a.style[g]=b[g]}d.call(a);for(g in b)a.style[g]=e[g]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=
function(a){var b=a.offsetWidth,d=a.offsetHeight,e=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!e?true:b>0&&d>0&&!e?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var ka={},nb=/toggle|show|hide/,ob=/^([+-]=)?([\d+-.]+)(.*)$/,Y,ra=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a!=null)return this.animate(I("show",
3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var e;if(ka[d])e=ka[d];else{var g=c("<"+d+" />").appendTo("body");e=g.css("display");if(e==="none")e="block";g.remove();ka[d]=e}c.data(this[a],"olddisplay",e)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a!=null)return this.animate(I("hide",3),a,b);else{a=0;for(b=
this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var e=d?a:c(this).is(":hidden");c(this)[e?"show":"hide"]()}):this.animate(I("toggle",3),a,b);return this},fadeTo:function(a,b,
d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,e){var g=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(g.complete);return this[g.queue===false?"each":"queue"](function(){var i=c.extend({},g),k,o=this.nodeType===1&&c(this).is(":hidden"),p=this;for(k in a){var n=k.replace(ia,ja);if(k!==n){a[n]=a[k];delete a[k];k=n}if(a[k]==="hide"&&o||a[k]==="show"&&!o)return i.complete.call(this);if((k==="height"||k==="width")&&this.style){i.display=
c.css(this,"display");i.overflow=this.style.overflow}if(c.isArray(a[k])){(i.specialEasing=i.specialEasing||{})[k]=a[k][1];a[k]=a[k][0]}}if(i.overflow!=null)this.style.overflow="hidden";i.curAnim=c.extend({},a);c.each(a,function(u,y){var A=new c.fx(p,i,u);if(nb.test(y))A[y==="toggle"?o?"show":"hide":y](a);else{var L=ob.exec(y),D=A.cur(true)||0;if(L){y=parseFloat(L[2]);var H=L[3]||"px";if(H!=="px"){p.style[u]=(y||1)+H;D=(y||1)/A.cur(true)*D;p.style[u]=D+H}if(L[1])y=(L[1]==="-="?-1:1)*y+D;A.custom(D,
y,H)}else A.custom(D,y,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:I("show",1),slideUp:I("hide",1),slideToggle:I("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,e){return this.animate(b,d,e)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?a:{complete:d||
!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:c.fx.speeds[e.duration]||c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig=
{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,
b,d){function e(i){return g.step(i)}this.startTime=M();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;e.elem=this.elem;if(e()&&c.timers.push(e)&&!Y)Y=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=
true;this.custom(this.cur(),0)},step:function(a){var b=M(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display=
"block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)c.style(this.elem,g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{g=b-this.startTime;this.state=g/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,g,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;
this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(Y);Y=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=
function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement?function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(g){c.offset.setOffset(this,a,g)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),e=b.ownerDocument;b=e.body;e=e.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&e.scrollTop||b.scrollTop)-(e.clientTop||b.clientTop||
0),left:d.left+(self.pageXOffset||c.support.boxModel&&e.scrollLeft||b.scrollLeft)-(e.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(u){c.offset.setOffset(this,a,u)});if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,e=b,g=b.ownerDocument,i,k=g.documentElement,o=g.body;e=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&
b!==o&&b!==k;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;i=g?g.getComputedStyle(b,null):b.currentStyle;p-=b.scrollTop;n-=b.scrollLeft;if(b===d){p+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(i.borderTopWidth)||0;n+=parseFloat(i.borderLeftWidth)||0}e=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){p+=parseFloat(i.borderTopWidth)||
0;n+=parseFloat(i.borderLeftWidth)||0}e=i}if(e.position==="relative"||e.position==="static"){p+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){p+=Math.max(k.scrollTop,o.scrollTop);n+=Math.max(k.scrollLeft,o.scrollLeft)}return{top:p,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,e,g,i=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;e.style.position=
"fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||
0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var e=c(a),g=e.offset(),i=parseInt(c.curCSS(a,"top",true),10)||0,k=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,g);d={top:b.top-g.top+i,left:b.left-g.left+k};"using"in b?b.using.call(a,d):e.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),
e=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;e.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;e.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;
return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var g=this[0],i;if(!g)return null;if(e!==w)return this.each(function(){if(i=sa(this))i.scrollTo(!a?e:c(i).scrollLeft(),a?e:c(i).scrollTop());else this[d]=e});else return(i=sa(g))?"pageXOffset"in i?i[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&i.document.documentElement[d]||i.document.body[d]:g[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],
d,false,"padding"):null};c.fn["outer"+b]=function(e){return this[0]?c.css(this[0],d,false,e?"margin":"border"):null};c.fn[d]=function(e){var g=this[0];if(!g)return e==null?null:this;return"scrollTo"in g&&g.document?g.document.compatMode==="CSS1Compat"&&g.document.documentElement["client"+b]||g.document.body["client"+b]:g.nodeType===9?Math.max(g.documentElement["client"+b],g.body["scroll"+b],g.documentElement["scroll"+b],g.body["offset"+b],g.documentElement["offset"+b]):e===w?c.css(g,d):this.css(d,
typeof e==="string"?e:e+"px")}});z.jQuery=z.$=c})(window);

View File

@@ -0,0 +1,568 @@
/*
* Skin for jPlayer Plugin (jQuery JavaScript Library)
* http://www.happyworm.com/jquery/jplayer
*
* Skin Name: Blue Monday
*
* Copyright (c) 2010-2011 Happyworm Ltd
* Dual licensed under the MIT and GPL licenses.
* - http://www.opensource.org/licenses/mit-license.php
* - http://www.gnu.org/copyleft/gpl.html
*
* Author: Silvia Benvenuti
* Skin Version: 4.0 (jPlayer 2.0.23)
* Date: 20th July 2011
*/
div.jp-audio,
div.jp-video {
/* Edit the font-size to counteract inherited font sizing.
* Eg. 1.25em = 1 / 0.8em
*/
font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in these demos */
font-family:Verdana, Arial, sans-serif;
line-height:1.6;
color: #666;
border:1px solid #009be3;
background-color:#eee;
position:relative;
}
div.jp-audio {
width:420px;
}
div.jp-video-270p {
width:480px;
}
div.jp-video-360p {
width:640px;
}
div.jp-video-full {
/* Rules for IE6 (full-screen) */
width:480px;
height:270px;
/* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
position:static !important; position:relative
}
div.jp-video-full div.jp-jplayer {
top: 0;
left: 0;
position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
overflow: hidden;
z-index:1000;
}
div.jp-video-full div.jp-gui {
position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
top: 0;
left: 0;
width:100%;
height:100%;
z-index:1000;
}
div.jp-video-full div.jp-interface {
position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
bottom: 0;
left: 0;
z-index:1000;
}
div.jp-interface {
position: relative;
background-color:#eee;
width:100%;
}
div.jp-audio div.jp-type-single div.jp-interface {
height:80px;
}
div.jp-audio div.jp-type-playlist div.jp-interface {
height:80px;
}
div.jp-video div.jp-interface {
border-top:1px solid #009be3;
}
/* @group CONTROLS */
div.jp-controls-holder {
clear: both;
width:440px;
margin:0 auto;
position: relative;
overflow:hidden;
top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */
}
div.jp-interface ul.jp-controls {
list-style-type:none;
margin:0;
padding: 0;
overflow:hidden;
}
div.jp-audio ul.jp-controls {
width: 380px;
padding:20px 20px 0 20px;
}
div.jp-video div.jp-type-single ul.jp-controls {
width: 78px;
margin-left: 200px;
}
div.jp-video div.jp-type-playlist ul.jp-controls {
width: 134px;
margin-left: 172px;
}
div.jp-video ul.jp-controls,
div.jp-interface ul.jp-controls li {
display:inline;
float: left;
}
div.jp-interface ul.jp-controls a {
display:block;
overflow:hidden;
text-indent:-9999px;
}
a.jp-play,
a.jp-pause {
width:40px;
height:40px;
}
a.jp-play {
background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
}
a.jp-play:hover {
background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
}
a.jp-pause {
background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
display: none;
}
a.jp-pause:hover {
background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
}
a.jp-stop, a.jp-previous, a.jp-next {
width:28px;
height:28px;
margin-top:6px;
}
a.jp-stop {
background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
margin-left:10px;
}
a.jp-stop:hover {
background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
}
a.jp-previous {
background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
}
a.jp-previous:hover {
background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
}
a.jp-next {
background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
}
a.jp-next:hover {
background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
}
/* @end */
/* @group progress bar */
div.jp-progress {
overflow:hidden;
background-color: #ddd;
}
div.jp-audio div.jp-progress {
position: absolute;
top:32px;
height:15px;
}
div.jp-audio div.jp-type-single div.jp-progress {
left:110px;
width:186px;
}
div.jp-audio div.jp-type-playlist div.jp-progress {
left:166px;
width:130px;
}
div.jp-video div.jp-progress {
top:0px;
left:0px;
width:100%;
height:10px;
}
div.jp-seek-bar {
background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
width:0px;
height:100%;
cursor: pointer;
}
div.jp-play-bar {
background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
width:0px;
height:100%;
}
/* The seeking class is added/removed inside jPlayer */
div.jp-seeking-bg {
background: url("jplayer.blue.monday.seeking.gif");
}
/* @end */
/* @group volume controls */
a.jp-mute,
a.jp-unmute,
a.jp-volume-max {
width:18px;
height:15px;
margin-top:12px;
}
div.jp-audio div.jp-type-single a.jp-mute,
div.jp-audio div.jp-type-single a.jp-unmute {
margin-left: 210px;
}
div.jp-audio div.jp-type-playlist a.jp-mute,
div.jp-audio div.jp-type-playlist a.jp-unmute {
margin-left: 154px;
}
div.jp-audio a.jp-volume-max {
margin-left: 56px;
}
div.jp-video a.jp-mute,
div.jp-video a.jp-unmute,
div.jp-video a.jp-volume-max {
position: absolute;
top:12px;
margin-top:0;
}
div.jp-video a.jp-mute,
div.jp-video a.jp-unmute {
left: 50px;
}
div.jp-video a.jp-volume-max {
left: 134px;
}
a.jp-mute {
background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
}
a.jp-mute:hover {
background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
}
a.jp-unmute {
background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat;
display: none;
}
a.jp-unmute:hover {
background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat;
}
a.jp-volume-max {
background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
}
a.jp-volume-max:hover {
background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
}
div.jp-volume-bar {
position: absolute;
overflow:hidden;
background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
width:46px;
height:5px;
cursor: pointer;
}
div.jp-audio div.jp-volume-bar {
top:37px;
left:330px;
}
div.jp-video div.jp-volume-bar {
top:17px;
left:72px;
}
div.jp-volume-bar-value {
background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
width:0px;
height:5px;
}
/* @end */
/* @group current time and duration */
div.jp-audio div.jp-time-holder {
position:absolute;
top:50px;
}
div.jp-audio div.jp-type-single div.jp-time-holder {
left:110px;
width:186px;
}
div.jp-audio div.jp-type-playlist div.jp-time-holder {
left:166px;
width:130px;
}
div.jp-current-time,
div.jp-duration {
width:60px;
font-size:.64em;
font-style:oblique;
}
div.jp-current-time {
float: left;
display:inline;
}
div.jp-duration {
float: right;
display:inline;
text-align: right;
}
div.jp-video div.jp-current-time {
margin-left:20px;
}
div.jp-video div.jp-duration {
margin-right:20px;
}
/* @end */
/* @group playlist */
div.jp-title {
font-weight:bold;
text-align:center;
}
div.jp-title,
div.jp-playlist {
width:100%;
background-color:#ccc;
border-top:1px solid #009be3;
}
div.jp-type-single div.jp-title,
div.jp-type-playlist div.jp-title,
div.jp-type-single div.jp-playlist {
border-top:none;
}
div.jp-title ul,
div.jp-playlist ul {
list-style-type:none;
margin:0;
padding:0 20px;
font-size:.72em;
}
div.jp-title li {
padding:5px 0;
font-weight:bold;
}
div.jp-playlist li {
padding:5px 0 4px 20px;
border-bottom:1px solid #eee;
}
div.jp-playlist li div {
display:inline;
}
div.jp-type-playlist div.jp-playlist li.jp-playlist-last {
padding:5px 0 5px 20px;
border-bottom:none;
}
div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
list-style-type:square;
list-style-position:inside;
padding-left:7px;
}
div.jp-type-playlist div.jp-playlist a {
color: #666;
text-decoration: none;
}
div.jp-type-playlist div.jp-playlist a:hover {
color:#0d88c1;
}
div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
color:#0d88c1;
}
div.jp-type-playlist div.jp-playlist span.jp-free-media {
float:right;
display:inline;
text-align:right;
}
/* @end */
div.jp-video-play {
position:absolute;
top:0;
left:0;
width:100%;
cursor:pointer;
background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */
}
div.jp-video-270p div.jp-video-play {
height:270px;
}
div.jp-video-360p div.jp-video-play {
height:360px;
}
div.jp-video-full div.jp-video-play {
height:100%;
z-index:1000;
}
a.jp-video-play-icon {
position:relative;
display:block;
width: 112px;
height: 100px;
margin-left:-56px;
margin-top:-50px;
left:50%;
top:50%;
background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat;
text-indent:-9999px;
}
div.jp-video-play:hover a.jp-video-play-icon {
background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat;
}
div.jp-jplayer audio,
div.jp-jplayer {
width:0px;
height:0px;
}
div.jp-jplayer {
background-color: #000000;
}
/* @group TOGGLES */
/* The audio toggles are nested inside jp-time-holder */
ul.jp-toggles {
list-style-type:none;
padding:0;
margin:0 auto;
overflow:hidden;
}
div.jp-audio .jp-type-single ul.jp-toggles {
width:25px;
}
div.jp-audio .jp-type-playlist ul.jp-toggles {
width:55px;
margin: 0;
position: absolute;
left: 325px;
top: 50px;
}
div.jp-video ul.jp-toggles {
margin-top:10px;
width:100px;
}
ul.jp-toggles li {
display:block;
float:right;
}
ul.jp-toggles li a {
display:block;
width:25px;
height:18px;
text-indent:-9999px;
line-height:100%; /* need this for IE6 */
}
a.jp-full-screen {
background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat;
margin-left: 20px;
}
a.jp-full-screen:hover {
background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat;
}
a.jp-restore-screen {
background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat;
margin-left: 20px;
}
a.jp-restore-screen:hover {
background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat;
}
a.jp-repeat {
background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat;
}
a.jp-repeat:hover {
background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat;
}
a.jp-repeat-off {
background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat;
}
a.jp-repeat-off:hover {
background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat;
}
a.jp-shuffle {
background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat;
margin-left: 5px;
}
a.jp-shuffle:hover {
background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat;
}
a.jp-shuffle-off {
background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat;
margin-left: 5px;
}
a.jp-shuffle-off:hover {
background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB