PageSourceSearch

https://mozdzer.com/wp-content/themes/leszek_mozdzer/js/plugins.min.js?ver=1.0

js mozdzer.com collected 2026-10-02 08:01:47 UTC 97,269 bytes, 382 lines download raw bytes

1!function(e,t,i,s){var a=e(t)
2e.fn.lazyload=function(n){function r(){var t=0
3l.each(function(){var i=e(this)
4if(!c.skip_invisible||i.is(":visible"))if(e.abovethetop(this,c)||e.leftofbegin(this,c));else if(e.belowthefold(this,c)||e.rightoffold(this,c)){if(++t>c.failure_limit)return!1}else i.trigger("appear"),t=0})}var o,l=this,c={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}
5return n&&(s!==n.failurelimit&&(n.failure_limit=n.failurelimit,delete n.failurelimit),s!==n.effectspeed&&(n.effect_speed=n.effectspeed,delete n.effectspeed),e.extend(c,n)),o=c.container===s||c.container===t?a:e(c.container),0===c.event.indexOf("scroll")&&o.bind(c.event,function(){return r()}),this.each(function(){var t=this,i=e(t)
6t.loaded=!1,(i.attr("src")===s||i.attr("src")===!1)&&i.is("img")&&i.attr("src",c.placeholder),i.one("appear",function(){if(!this.loaded){if(c.appear){var s=l.length
7c.appear.call(t,s,c)}e("<img />").bind("load",function(){var s=i.attr("data-"+c.data_attribute)
8i.hide(),i.is("img")?i.attr("src",s):i.css("background-image","url('"+s+"')"),i[c.effect](c.effect_speed),t.loaded=!0
9var a=e.grep(l,function(e){return!e.loaded})
10if(l=e(a),c.load){var n=l.length
11c.load.call(t,n,c)}}).attr("src",i.attr("data-"+c.data_attribute))}}),0!==c.event.indexOf("scroll")&&i.bind(c.event,function(){t.loaded||i.trigger("appear")})}),a.bind("resize",function(){r()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&a.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(i).ready(function(){r()}),this},e.belowthefold=function(i,n){var r
12return r=n.container===s||n.container===t?(t.innerHeight?t.innerHeight:a.height())+a.scrollTop():e(n.container).offset().top+e(n.container).height(),r<=e(i).offset().top-n.threshold},e.rightoffold=function(i,n){var r
13return r=n.container===s||n.container===t?a.width()+a.scrollLeft():e(n.container).offset().left+e(n.container).width(),r<=e(i).offset().left-n.threshold},e.abovethetop=function(i,n){var r
14return r=n.container===s||n.container===t?a.scrollTop():e(n.container).offset().top,r>=e(i).offset().top+n.threshold+e(i).height()},e.leftofbegin=function(i,n){var r
15return r=n.container===s||n.container===t?a.scrollLeft():e(n.container).offset().left,r>=e(i).offset().left+n.threshold+e(i).width()},e.inviewport=function(t,i){return!(e.rightoffold(t,i)||e.leftofbegin(t,i)||e.belowthefold(t,i)||e.abovethetop(t,i))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(jQuery,window,document),function(e){e.fn.extend({slimScroll:function(i){var s=e.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},i)
16return this.each(function(){function a(t){if(c){t=t||window.event
17var i=0
18t.wheelDelta&&(i=-t.wheelDelta/120),t.detail&&(i=t.detail/3),e(t.target||t.srcTarget||t.srcElement).closest("."+s.wrapperClass).is(y.parent())&&n(i,!0),t.preventDefault&&!v&&t.preventDefault(),v||(t.returnValue=!1)}}function n(e,t,i){v=!1
19var a=e,n=y.outerHeight()-b.outerHeight()
20t&&(a=parseInt(b.css("top"))+e*parseInt(s.wheelStep)/100*b.outerHeight(),a=Math.min(Math.max(a,0),n),a=e>0?Math.ceil(a):Math.floor(a),b.css({top:a+"px"})),m=parseInt(b.css("top"))/(y.outerHeight()-b.outerHeight()),a=m*(y[0].scrollHeight-y.outerHeight()),i&&(a=e,e=a/y[0].scrollHeight*y.outerHeight(),e=Math.min(Math.max(e,0),n),b.css({top:e+"px"})),y.scrollTop(a),y.trigger("slimscrolling",~~a),o(),l()}function r(){f=Math.max(y.outerHeight()/y[0].scrollHeight*y.outerHeight(),30),b.css({height:f+"px"})
21var e=f==y.outerHeight()?"none":"block"
22b.css({display:e})}function o(){r(),clearTimeout(u),m==~~m?(v=s.allowPageScroll,g!=m&&y.trigger("slimscroll",0==~~m?"top":"bottom")):v=!1,g=m,f>=y.outerHeight()?v=!0:(b.stop(!0,!0).fadeIn("fast"),s.railVisible&&P.stop(!0,!0).fadeIn("fast"))}function l(){s.alwaysVisible||(u=setTimeout(function(){s.disableFadeOut&&c||h||d||(b.fadeOut("slow"),P.fadeOut("slow"))},1e3))}var c,h,d,u,p,f,m,g,v=!1,y=e(this)
23if(y.parent().hasClass(s.wrapperClass)){var _=y.scrollTop(),b=y.siblings("."+s.barClass),P=y.siblings("."+s.railClass)
24if(r(),e.isPlainObject(i)){if("height"in i&&"auto"==i.height){y.parent().css("height","auto"),y.css("height","auto")
25var w=y.parent().parent().height()
26y.parent().css("height",w),y.css("height",w)}else"height"in i&&(w=i.height,y.parent().css("height",w),y.css("height",w))
27if("scrollTo"in i)_=parseInt(s.scrollTo)
28else if("scrollBy"in i)_+=parseInt(s.scrollBy)
29else if("destroy"in i)return b.remove(),P.remove(),void y.unwrap()
30n(_,!1,!0)}}else if(!(e.isPlainObject(i)&&"destroy"in i)){s.height="auto"==s.height?y.parent().height():s.height,_=e("<div></div>").addClass(s.wrapperClass).css({position:"relative",overflow:"hidden",width:s.width,height:s.height}),y.css({overflow:"hidden",width:s.width,height:s.height})
31var P=e("<div></div>").addClass(s.railClass).css({width:s.size,height:"100%",position:"absolute",top:0,display:s.alwaysVisible&&s.railVisible?"block":"none","border-radius":s.railBorderRadius,background:s.railColor,opacity:s.railOpacity,zIndex:90}),b=e("<div></div>").addClass(s.barClass).css({background:s.color,width:s.size,position:"absolute",top:0,opacity:s.opacity,display:s.alwaysVisible?"block":"none","border-radius":s.borderRadius,BorderRadius:s.borderRadius,MozBorderRadius:s.borderRadius,WebkitBorderRadius:s.borderRadius,zIndex:99}),w="right"==s.position?{right:s.distance}:{left:s.distance}
32P.css(w),b.css(w),y.wrap(_),y.parent().append(b),y.parent().append(P),s.railDraggable&&b.bind("mousedown",function(i){var s=e(document)
33return d=!0,t=parseFloat(b.css("top")),pageY=i.pageY,s.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,b.css("top",currTop),n(0,b.position().top,!1)}),s.bind("mouseup.slimscroll",function(e){d=!1,l(),s.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(e){return e.stopPropagation(),e.preventDefault(),!1}),P.hover(function(){o()},function(){l()}),b.hover(function(){h=!0},function(){h=!1}),y.hover(function(){c=!0,o(),l()},function(){c=!1,l()}),y.bind("touchstart",function(e,t){e.originalEvent.touches.length&&(p=e.originalEvent.touches[0].pageY)}),y.bind("touchmove",function(e){v||e.originalEvent.preventDefault(),e.originalEvent.touches.length&&(n((p-e.originalEvent.touches[0].pageY)/s.touchScrollStep,!0),p=e.originalEvent.touches[0].pageY)}),r(),"bottom"===s.start?(b.css({top:y.outerHeight()-b.outerHeight()}),n(0,!0)):"top"!==s.start&&(n(e(s.start).position().top,null,!0),s.alwaysVisible||b.hide()),window.addEventListener?(this.addEventListener("DOMMouseScroll",a,!1),this.addEventListener("mousewheel",a,!1)):document.attachEvent("onmousewheel",a)}}),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery),function(e){e.fn.ttwMusicPlayer=function(t,i){function s(e){return h(b[e].title)?h(b[e].mp3)?h(b[e].oga)?"":a(b[e].oga):a(b[e].mp3):b[e].title}function a(e){return e=e.split("/"),e[e.length-1]}function n(e,t,i){if("track"==e)h(b[i].rating)||o(t,b[i].rating)
34else{var s=h(b[i].rating)?0:Math.ceil(b[i].rating)
35r(s)}}function r(e){w.find(p.trackInfo).find(p.ratingLevel).removeClass(l(p.ratingLevelOn)).slice(0,e).addClass(l(p.ratingLevelOn))}function o(e,t){e.find(p.ratingLevel).removeClass(l(p.ratingLevelOn)).slice(0,2*t).addClass(l(p.ratingLevelOn))}function l(e){return e.substr(1)}function c(t){var i=Array.prototype.slice.call(arguments,1)
36e.isFunction(t)&&t.apply(this,i)}function h(e){return void 0===e}var d,u,p,f,m,g,v,t,y,_,b,P,w=this
37p={jPlayer:"#jquery_jplayer",jPlayerInterface:".jp-interface",playerPrevious:".jp-interface .jp-previous",playerNext:".jp-interface .jp-next",trackList:".tracklist",tracks:".tracks",track:".track",trackRating:".rating-bar",trackInfo:".track-info",rating:".rating",ratingLevel:".rating-level",ratingLevelOn:".on",title:".title",duration:".duration",buy:".buy",buyNotActive:".not-active",playing:".playing",moreButton:".more",player:".player",artist:".artist",artistOuter:".artist-outer",albumCover:".img",description:".description",descriptionShowing:".showing"},d={ratingCallback:null,currencySymbol:"$",buyText:"BUY",tracksToShow:5,autoPlay:!1,jPlayer:{}},u=e.extend(!0,{},d,i),b=t,P=0,f=function(){t=new m,y=new g,y.buildInterface(),t.init(u.jPlayer),w.bind("mbPlaylistLoaded",function(){w.bind("mbInterfaceBuilt",function(){_=new v}),y.init()})},m=function(){function t(t){A=e(".ttw-music-player .jPlayer-container")
38var s,a
39s={swfPath:"jquery-jplayer",supplied:"mp3, oga",cssSelectorAncestor:p.jPlayerInterface,errorAlerts:!1,warningAlerts:!1},a=e.extend(!0,{},s,t),A.bind(e.jPlayer.event.ready,function(){A.bind(e.jPlayer.event.ended,function(e){o()}),A.bind(e.jPlayer.event.play,function(e){A.jPlayer("pauseOthers"),j.eq(P).addClass(l(p.playing)).siblings().removeClass(l(p.playing))}),A.bind(e.jPlayer.event.playing,function(e){I=!0}),A.bind(e.jPlayer.event.pause,function(e){I=!1}
39),e(p.playerPrevious).click(function(){return c(),e(this).blur(),!1}),e(p.playerNext).click(function(){return o(),e(this).blur(),!1}),w.bind("mbInitPlaylistAdvance",function(e){var t=this.getData("mbInitPlaylistAdvance")
40t!=P?(P=t,r(P)):A.data("jPlayer").status.srcSet?d():r(0)}),f(),w.trigger("mbPlaylistLoaded"),i(u.autoplay)}),A.jPlayer(a)}function i(e){P=0,e?r(P):(a(P),w.trigger("mbPlaylistInit"))}function a(e){P=e,A.jPlayer("setMedia",b[P])}function r(e){a(e),e>=u.tracksToShow&&m(),w.trigger("mbPlaylistAdvance"),A.jPlayer("play")}function o(){var e=P+1<b.length?P+1:0
41r(e)}function c(){var e=P-1>=0?P-1:b.length-1
42r(e)}function d(){I?A.jPlayer("pause"):A.jPlayer("play")}function f(){var t=e()
43S=w.find(p.tracks)
44for(var i=0;10>i;i++)t=t.add(_.ratingBar)
45for(var a=0;a<b.length;a++){var o=e(_.listItem)
46o.find(p.rating).html(t.clone()),o.find(p.title).html(s(a)),o.find(p.duration).html(g(a)),n("track",o,a),v(o,a),o.data("index",a),S.append(o)}if(j=e(p.track),j.slice(0,u.tracksToShow).each(function(){C+=e(this).outerHeight()}),j.slice(u.tracksToShow,b.length).each(function(){E+=e(this).outerHeight()}),E>0){var l=e(p.trackList)
47S.height(C),l.addClass("show-more-button"),l.find(p.moreButton).click(function(){x=e(this),m()})}j.find(".title").click(function(){r(e(this).parents("li").data("index"))})}function m(){h(x)&&(x=w.find(p.moreButton)),S.animate({height:C+E},function(){x.animate({opacity:0}
47,function(){x.slideUp(function(){x.parents(p.trackList).removeClass("show-more-button"),x.remove()})})})}function g(e){return h(b[e].duration)?"-":b[e].duration}function v(e,t){h(b[t].buy)||e.find(p.buy).removeClass(l(p.buyNotActive)).attr("href",b[t].buy).html(y(t))}function y(e){return(h(b[e].price)?"":u.currencySymbol+b[e].price)+" "+u.buyText}var _,j,S,x,I=!1,A={},C=0,E=0
48return _={listItem:'<li class="track"><span class="title"></span><span class="duration"></span><span class="rating"></span><a href="#" class="buy not-active" target="_blank"></a></li>',ratingBar:'<span class="rating-level rating-bar"></span>'},{init:t,playlistInit:i,playlistAdvance:r,playlistNext:o,playlistPrev:c,togglePlay:d,$myJplayer:A}},v=function(){function t(){e(p.rating).find(p.ratingLevel).hover(function(){e(this).addClass("hover").prevAll().addClass("hover").end().nextAll().removeClass("hover")}),e(p.rating).mouseleave(function(){e(this).find(p.ratingLevel).removeClass("hover")}),e(p.ratingLevel).click(function(){var t,a=e(this),n=a.parent().children().index(a)+1
49a.hasClass(l(p.trackRating))?(n/=2,t=a.parents("li").data("index"),t==P&&r(n)):(t=P,o(s.eq(t),n)),a.prevAll().add(a).addClass(l(p.ratingLevelOn)).end().end().nextAll().removeClass(l(p.ratingLevelOn)),i(t,n)})}function i(e,t){b[e].rating=t,c(u.ratingCallback,e,b[e],t)}var s=w.find(p.track)
50t()},g=function(){function t(){d=e(p.player),f=d.find(p.title),m=d.find(p.artist),g=d.find(p.albumCover),c(),w.bind("mbPlaylistAdvance mbPlaylistInit",function(){a(),r(),n("current",null,P),o()})}function i(){var t,i
51t='<div class="ttw-music-player"><div class="player jp-interface">        <div class="player-controls">            <div class="main">                <div class="previous jp-previous"></div>                <div class="play jp-play"></div>                <div class="pause jp-pause"></div>                <div class="next jp-next"></div><!-- These controls aren\'t used by this plugin, but jPlayer seems to require that they exist -->                <span class="unused-controls">                    <span class="jp-video-play"></span>                    <span class="jp-stop"></span>                    <span class="jp-mute"></span>                    <span class="jp-unmute"></span>                    <span class="jp-volume-bar"></span>                    <span class="jp-volume-bar-value"></span>                    <span class="jp-volume-max"></span>                    <span class="jp-current-time"></span>                    <span class="jp-duration"></span>                    <span class="jp-full-screen"></span>                    <span class="jp-restore-screen"></span>                    <span class="jp-repeat"></span>                    <span class="jp-repeat-off"></span>                    <span class="jp-gui"></span>                </span>            </div>            <div class="progress-wrapper">                <div class="progress jp-seek-bar">                    <div class="elapsed jp-play-bar"></div>                </div>            </div>        </div>        <img src="'+templateUrl+'/images/music_ico.png" class="music_icon" />        <div class="track-info">            <div class="close"></div>            <p class="title"></p>            <p class="artist-outer">By <span class="artist"></span></p>        </div>    </div>    <div class="jPlayer-container"></div></div>',i=e(t).css({display:"none",opacity:0}).appendTo(w).slideDown("slow",function(){i.animate({opacity:1}),w.trigger("mbInterfaceBuilt")})}function a(){f.html(s(P))}function r(){h(b[P].artist)?m.parent(p.artistOuter).animate({opacity:0}
51,"fast"):m.html(b[P].artist).parent(p.artistOuter).animate({opacity:1},"fast")}function o(){g.animate({opacity:0},"fast",function(){if(!h(b[P].cover)){var t=P
52e('<img src="'+b[P].cover+'" alt="album cover" />',this).imagesLoaded(function(){t==P&&g.html(e(this)).animate({opacity:1})})}})}function c(){h(u.description)||w.find(p.description).html(u.description).addClass(l(p.descriptionShowing)).slideDown()}var d,f,m,g
53return{buildInterface:i,init:t}},f()}}(jQuery),function(e){e.fn.imagesLoaded=function(e){var t=this.filter("img"),i=t.length
54return t.bind("load",function(){--i<=0&&e.call(t,this)}).each(function(){if(this.complete||void 0===this.complete){var e=this.src
55this.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.src=e}}),this}}(jQuery),function(e){"use strict"
56function t(e){return(e||"").toLowerCase()}var i="20131003"
57e.fn.cycle=function(i){var s
58return 0!==this.length||e.isReady?this.each(function(){var s,a,n,r,o=e(this),l=e.fn.cycle.log
59if(!o.data("cycle.opts")){(o.data("cycle-log")===!1||i&&i.log===!1||a&&a.log===!1)&&(l=e.noop),l("--c2 init--"),s=o.data()
60for(var c in s)s.hasOwnProperty(c)&&/^cycle[A-Z]+/.test(c)&&(r=s[c],n=c.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),l(n+":",r,"("+typeof r+")"),s[n]=r)
61a=e.extend({},e.fn.cycle.defaults,s,i||{}),a.timeoutId=0,a.paused=a.paused||!1,a.container=o,a._maxZ=a.maxZ,a.API=e.extend({_container:o},e.fn.cycle.API),a.API.log=l,a.API.trigger=function(e,t){return a.container.trigger(e,t),a.API},o.data("cycle.opts",a),o.data("cycle.API",a.API),a.API.trigger("cycle-bootstrap",[a,a.API]),a.API.addInitialSlides(),a.API.preInitSlideshow(),a.slides.length&&a.API.initSlideshow()}}):(s={s:this.selector,c:this.context},e.fn.cycle.log("requeuing slideshow (dom not ready)"),e(function(){e(s.s,s.c).cycle(i)}),this)},e.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var t=this.opts(),i=t.slides
62t.slideCount=0,t.slides=e(),i=i.jquery?i:t.container.find(i),t.random&&i.sort(function(){return Math.random()-.5}),t.API.add(i)},preInitSlideshow:function(){var t=this.opts()
63t.API.trigger("cycle-pre-initialize",[t])
64var i=e.fn.cycle.transitions[t.fx]
65i&&e.isFunction(i.preInit)&&i.preInit(t),t._preInitialized=!0},postInitSlideshow:function(){var t=this.opts()
66t.API.trigger("cycle-post-initialize",[t])
67var i=e.fn.cycle.transitions[t.fx]
68i&&e.isFunction(i.postInit)&&i.postInit(t)},initSlideshow:function(){var t,i=this.opts(),s=i.container
69i.API.calcFirstSlide(),"static"==i.container.css("position")&&i.container.css("position","relative"),e(i.slides[i.currSlide]).css("opacity",1).show(),i.API.stackSlides(i.slides[i.currSlide],i.slides[i.nextSlide],!i.reverse),i.pauseOnHover&&(i.pauseOnHover!==!0&&(s=e(i.pauseOnHover)),s.hover(function(){i.API.pause(!0)},function(){i.API.resume(!0)})),i.timeout&&(t=i.API.getSlideOpts(i.currSlide),i.API.queueTransition(t,t.timeout+i.delay)),i._initialized=!0,i.API.updateView(!0),i.API.trigger("cycle-initialized",[i]),i.API.postInitSlideshow()}
69,pause:function(t){var i=this.opts(),s=i.API.getSlideOpts(),a=i.hoverPaused||i.paused
70t?i.hoverPaused=!0:i.paused=!0,a||(i.container.addClass("cycle-paused"),i.API.trigger("cycle-paused",[i]).log("cycle-paused"),s.timeout&&(clearTimeout(i.timeoutId),i.timeoutId=0,i._remainingTimeout-=e.now()-i._lastQueue,(i._remainingTimeout<0||isNaN(i._remainingTimeout))&&(i._remainingTimeout=void 0)))},resume:function(e){var t=this.opts(),i=!t.hoverPaused&&!t.paused
71e?t.hoverPaused=!1:t.paused=!1,i||(t.container.removeClass("cycle-paused"),0===t.slides.filter(":animated").length&&t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(t,i){var s,a=this.opts(),n=a.slideCount,r=!1
72"string"==e.type(t)&&(t=e.trim(t)),e(t).each(function(t){var s,n=e(this)
73i?a.container.prepend(n):a.container.append(n),a.slideCount++,s=a.API.buildSlideOpts(n),i?a.slides=e(n).add(a.slides):a.slides=a.slides.add(n),a.API.initSlide(s,n,--a._maxZ),n.data("cycle.opts",s),a.API.trigger("cycle-slide-added",[a,s,n])}),a.API.updateView(!0),r=a._preInitialized&&2>n&&a.slideCount>=1,r&&(a._initialized?a.timeout&&(s=a.slides.length,a.nextSlide=a.reverse?s-1:1,a.timeoutId||a.API.queueTransition(a)):a.API.initSlideshow())},calcFirstSlide:function(){var e,t=this.opts()
74e=parseInt(t.startingSlide||0,10),(e>=t.slides.length||0>e)&&(e=0),t.currSlide=e,t.reverse?(t.nextSlide=e-1,t.nextSlide<0&&(t.nextSlide=t.slides.length-1)):(t.nextSlide=e+1,t.nextSlide==t.slides.length&&(t.nextSlide=0))},calcNextSlide:function(){var e,t=this.opts()
75t.reverse?(e=t.nextSlide-1<0,t.nextSlide=e?t.slideCount-1:t.nextSlide-1,t.currSlide=e?0:t.nextSlide+1):(e=t.nextSlide+1==t.slides.length,t.nextSlide=e?0:t.nextSlide+1,t.currSlide=e?t.slides.length-1:t.nextSlide-1)},calcTx:function(t,i){var s,a=t
76return i&&a.manualFx&&(s=e.fn.cycle.transitions[a.manualFx]),s||(s=e.fn.cycle.transitions[a.fx]),s||(s=e.fn.cycle.transitions.fade,a.API.log('Transition "'+a.fx+'" not found.  Using fade.')),s},prepareTx:function(e,t){var i,s,a,n,r,o=this.opts()
77if(o){if(o.slideCount<2)return void(o.timeoutId=0)
78!e||o.busy&&!o.manualTrump||(o.API.stopTransition(),o.busy=!1,clearTimeout(o.timeoutId),o.timeoutId=0),o.busy||(0!==o.timeoutId||e)&&(s=o.slides[o.currSlide],a=o.slides[o.nextSlide],n=o.API.getSlideOpts(o.nextSlide),r=o.API.calcTx(n,e),o._tx=r,e&&void 0!==n.manualSpeed&&(n.speed=n.manualSpeed),o.nextSlide!=o.currSlide&&(e||!o.paused&&!o.hoverPaused&&o.timeout)?(o.API.trigger("cycle-before",[n,s,a,t]),r.before&&r.before(n,s,a,t),i=function(){o.busy=!1,o.container.data("cycle.opts")&&(r.after&&r.after(n,s,a,t),o.API.trigger("cycle-after",[n,s,a,t]),o.API.queueTransition(n),o.API.updateView(!0))}
78,o.busy=!0,r.transition?r.transition(n,s,a,t,i):o.API.doTransition(n,s,a,t,i),o.API.calcNextSlide(),o.API.updateView()):o.API.queueTransition(n))}},doTransition:function(t,i,s,a,n){var r=t,o=e(i),l=e(s),c=function(){l.animate(r.animIn||{opacity:1},r.speed,r.easeIn||r.easing,n)}
79l.css(r.cssBefore||{}),o.animate(r.animOut||{},r.speed,r.easeOut||r.easing,function(){o.css(r.cssAfter||{}),r.sync||c()}),r.sync&&c()},queueTransition:function(t,i){var s=this.opts(),a=void 0!==i?i:t.timeout
80return 0===s.nextSlide&&0===--s.loop?(s.API.log("terminating; loop=0"),s.timeout=0,a?setTimeout(function(){s.API.trigger("cycle-finished",[s])},a):s.API.trigger("cycle-finished",[s]),void(s.nextSlide=s.currSlide)):void(a&&(s._lastQueue=e.now(),void 0===i&&(s._remainingTimeout=t.timeout),s.paused||s.hoverPaused||(s.timeoutId=setTimeout(function(){s.API.prepareTx(!1,!s.reverse)},a))))},stopTransition:function(){var e=this.opts()
81e.slides.filter(":animated").length&&(e.slides.stop(!1,!0),e.API.trigger("cycle-transition-stopped",[e])),e._tx&&e._tx.stopTransition&&e._tx.stopTransition(e)},advanceSlide:function(e){var t=this.opts()
82return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+e,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,e>=0),!1},buildSlideOpts:function(i){var s,a,n=this.opts(),r=i.data()||{}
83for(var o in r)r.hasOwnProperty(o)&&/^cycle[A-Z]+/.test(o)&&(s=r[o],a=o.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),n.API.log("["+(n.slideCount-1)+"]",a+":",s,"("+typeof s+")"),r[a]=s)
84r=e.extend({},e.fn.cycle.defaults,n,r),r.slideNum=n.slideCount
85try{delete r.API,delete r.slideCount,delete r.currSlide,delete r.nextSlide,delete r.slides}catch(l){}return r},getSlideOpts:function(t){var i=this.opts()
86void 0===t&&(t=i.currSlide)
87var s=i.slides[t],a=e(s).data("cycle.opts")
88return e.extend({},i,a)},initSlide:function(t,i,s){var a=this.opts()
89i.css(t.slideCss||{}),s>0&&i.css("zIndex",s),isNaN(t.speed)&&(t.speed=e.fx.speeds[t.speed]||e.fx.speeds._default),t.sync||(t.speed=t.speed/2),i.addClass(a.slideClass)},updateView:function(e,t){var i=this.opts()
90if(i._initialized){var s=i.API.getSlideOpts(),a=i.slides[i.currSlide]
91!e&&t!==!0&&(i.API.trigger("cycle-update-view-before",[i,s,a]),i.updateView<0)||(i.slideActiveClass&&i.slides.removeClass(i.slideActiveClass).eq(i.currSlide).addClass(i.slideActiveClass),e&&i.hideNonActive&&i.slides.filter(":not(."+i.slideActiveClass+")").hide(),0===i.updateView&&setTimeout(function(){i.API.trigger("cycle-update-view",[i,s,a,e])},s.speed/(i.sync?2:1)),0!==i.updateView&&i.API.trigger("cycle-update-view",[i,s,a,e]),e&&i.API.trigger("cycle-update-view-after",[i,s,a]))}},getComponent:function(t){var i=this.opts(),s=i[t]
92return"string"==typeof s?/^\s*[\>|\+|~]/.test(s)?i.container.find(s):e(s):s.jquery?s:e(s)},stackSlides:function(t,i,s){var a=this.opts()
93t||(t=a.slides[a.currSlide],i=a.slides[a.nextSlide],s=!a.reverse),e(t).css("zIndex",a.maxZ)
94var n,r=a.maxZ-2,o=a.slideCount
95if(s){for(n=a.currSlide+1;o>n;n++)e(a.slides[n]).css("zIndex",r--)
96for(n=0;n<a.currSlide;n++)e(a.slides[n]).css("zIndex",r--)}else{for(n=a.currSlide-1;n>=0;n--)e(a.slides[n]).css("zIndex",r--)
97for(n=o-1;n>a.currSlide;n--)e(a.slides[n]).css("zIndex",r--)}e(i).css("zIndex",a.maxZ-1)},getSlideIndex:function(e){return this.opts().slides.index(e)}},e.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},e.fn.cycle.version=function(){return"Cycle2: "+i},e.fn.cycle.transitions={custom:{},none:{before:function(e,t,i,s){e.API.stackSlides(i,t,s),e.cssBefore={opacity:1,display:"block"}}},fade:{before:function(t,i,s,a){var n=t.API.getSlideOpts(t.nextSlide).slideCss||{}
98t.API.stackSlides(i,s,a),t.cssBefore=e.extend(n,{opacity:0,display:"block"}),t.animIn={opacity:1},t.animOut={opacity:0}
98}},fadeout:{before:function(t,i,s,a){var n=t.API.getSlideOpts(t.nextSlide).slideCss||{}
99t.API.stackSlides(i,s,a),t.cssBefore=e.extend(n,{opacity:1,display:"block"}),t.animOut={opacity:0}}},scrollHorz:{before:function(e,t,i,s){e.API.stackSlides(t,i,s)
100var a=e.container.css("overflow","hidden").width()
101e.cssBefore={left:s?a:-a,top:0,opacity:1,display:"block"},e.cssAfter={zIndex:e._maxZ-2,left:0},e.animIn={left:0},e.animOut={left:s?-a:a}}}},e.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},e(document).ready(function(){e(e.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(e){"use strict"
102function t(t,s){var a,n,r,o=s.autoHeight
103if("container"==o)n=e(s.slides[s.currSlide]).outerHeight(),s.container.height(n)
104else if(s._autoHeightRatio)s.container.height(s.container.width()/s._autoHeightRatio)
105else if("calc"===o||"number"==e.type(o)&&o>=0){if(r="calc"===o?i(t,s):o>=s.slides.length?0:o,r==s._sentinelIndex)return
106s._sentinelIndex=r,s._sentinel&&s._sentinel.remove(),a=e(s.slides[r].cloneNode(!0)),a.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),a.css({position:"static",visibility:"hidden",display:"block"}).prependTo(s.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),a.find("*").css("visibility","hidden"),s._sentinel=a}}function i(t,i){var s=0,a=-1
107return i.slides.each(function(t){var i=e(this).height()
108i>a&&(a=i,s=t)}),s}function s(t,i,s,a,n){var r=e(a).outerHeight(),o=i.sync?i.speed/2:i.speed
109i.container.animate({height:r},o)}function a(i,n){n._autoHeightOnResize&&(e(window).off("resize orientationchange",n._autoHeightOnResize),n._autoHeightOnResize=null),n.container.off("cycle-slide-added cycle-slide-removed",t),n.container.off("cycle-destroyed",a),n.container.off("cycle-before",s),n._sentinel&&(n._sentinel.remove(),n._sentinel=null)}e.extend(e.fn.cycle.defaults,{autoHeight:0}),e(document).on("cycle-initialized",function(i,n){function r(){t(i,n)}var o,l=n.autoHeight,c=e.type(l),h=null;("string"===c||"number"===c)&&(n.container.on("cycle-slide-added cycle-slide-removed",t),n.container.on("cycle-destroyed",a),"container"==l?n.container.on("cycle-before",s):"string"===c&&/\d+\:\d+/.test(l)&&(o=l.match(/(\d+)\:(\d+)/),o=o[1]/o[2],n._autoHeightRatio=o),"number"!==c&&(n._autoHeightOnResize=function(){clearTimeout(h),h=setTimeout(r,50)},e(window).on("resize orientationchange",n._autoHeightOnResize)),setTimeout(r,30))})}(jQuery),function(e){"use strict"
110e.extend(e.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),e(document).on("cycle-update-view",function(t,i,s,a){if("caption"===i.captionModule){e.each(["caption","overlay"],function(){var e=this,t=s[e+"Template"],n=i.API.getComponent(e)
111n.length&&t?(n.html(i.API.tmpl(t,s,i,a)),n.show()):n.hide()})}}),e(document).on("cycle-destroyed",function(t,i){var s
112e.each(["caption","overlay"],function(){var e=this,t=i[e+"Template"]
113i[e]&&t&&(s=i.API.getComponent("caption"),s.empty())})})}(jQuery),function(e){"use strict"
114var t=e.fn.cycle
115e.fn.cycle=function(i){var s,a,n,r=e.makeArray(arguments)
116return"number"==e.type(i)?this.cycle("goto",i):"string"==e.type(i)?this.each(function(){var o
117return s=i,n=e(this).data("cycle.opts"),void 0===n?void t.log('slideshow must be initialized before sending commands; "'+s+'" ignored'):(s="goto"==s?"jump":s,a=n.API[s],e.isFunction(a)?(o=e.makeArray(r),o.shift(),a.apply(n.API,o)):void t.log("unknown command: ",s))}):t.apply(this,arguments)},e.extend(e.fn.cycle,t),e.extend(t.API,{next:function(){var e=this.opts()
118if(!e.busy||e.manualTrump){var t=e.reverse?-1:1
119e.allowWrap===!1&&e.currSlide+t>=e.slideCount||(e.API.advanceSlide(t),e.API.trigger("cycle-next",[e]).log("cycle-next"))}},prev:function(){var e=this.opts()
120if(!e.busy||e.manualTrump){var t=e.reverse?1:-1
121e.allowWrap===!1&&e.currSlide+t<0||(e.API.advanceSlide(t),e.API.trigger("cycle-prev",[e]).log("cycle-prev"))}},destroy:function(){this.stop()
122var t=this.opts(),i=e.isFunction(e._data)?e._data:e.noop
123clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stop(),t.API.trigger("cycle-destroyed",[t]).log("cycle-destroyed"),t.container.removeData(),i(t.container[0],"parsedAttrs",!1),t.retainStylesOnDestroy||(t.container.removeAttr("style"),t.slides.removeAttr("style"),t.slides.removeClass(t.slideActiveClass)),t.slides.each(function(){e(this).removeData(),i(this,"parsedAttrs",!1)})},jump:function(e){var t,i=this.opts()
124if(!i.busy||i.manualTrump){var s=parseInt(e,10)
125if(isNaN(s)||0>s||s>
125=i.slides.length)return void i.API.log("goto: invalid slide index: "+s)
126if(s==i.currSlide)return void i.API.log("goto: skipping, already on slide",s)
127i.nextSlide=s,clearTimeout(i.timeoutId),i.timeoutId=0,i.API.log("goto: ",s," (zero-index)"),t=i.currSlide<i.nextSlide,i.API.prepareTx(!0,t)}},stop:function(){var t=this.opts(),i=t.container
128clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stopTransition(),t.pauseOnHover&&(t.pauseOnHover!==!0&&(i=e(t.pauseOnHover)),i.off("mouseenter mouseleave")),t.API.trigger("cycle-stopped",[t]).log("cycle-stopped")},reinit:function(){var e=this.opts()
129e.API.destroy(),e.container.cycle()},remove:function(t){for(var i,s,a=this.opts(),n=[],r=1,o=0;o<a.slides.length;o++)i=a.slides[o],o==t?s=i:(n.push(i),e(i).data("cycle.opts").slideNum=r,r++)
130s&&(a.slides=e(n),a.slideCount--,e(s).remove(),t==a.currSlide?a.API.advanceSlide(1):t<a.currSlide?a.currSlide--:a.currSlide++,a.API.trigger("cycle-slide-removed",[a,t,s]).log("cycle-slide-removed"),a.API.updateView())}}),e(document).on("click.cycle","[data-cycle-cmd]",function(t){t.preventDefault()
131var i=e(this),s=i.data("cycle-cmd"),a=i.data("cycle-context")||".cycle-slideshow"
132e(a).cycle(s,i.data("cycle-arg"))})}(jQuery),function(e){"use strict"
133function t(t,i){var s
134return t._hashFence?void(t._hashFence=!1):(s=window.location.hash.substring(1),void t.slides.each(function(a){if(e(this).data("cycle-hash")==s){if(i===!0)t.startingSlide=a
135else{var n=t.currSlide<a
136t.nextSlide=a,t.API.prepareTx(!0,n)}return!1}}))}e(document).on("cycle-pre-initialize",function(i,s){t(s,!0),s._onHashChange=function(){t(s,!1)},e(window).on("hashchange",s._onHashChange)}),e(document).on("cycle-update-view",function(e,t,i){i.hash&&"#"+i.hash!=window.location.hash&&(t._hashFence=!0,window.location.hash=i.hash)}),e(document).on("cycle-destroyed",function(t,i){i._onHashChange&&e(window).off("hashchange",i._onHashChange)})}(jQuery),function(e){"use strict"
137e.extend(e.fn.cycle.defaults,{loader:!1}),e(document).on("cycle-bootstrap",function(t,i){function s(t,s){function n(t){var n
138"wait"==i.loader?(o.push(t),0===c&&(o.sort(r),a.apply(i.API,[o,s]),i.container.removeClass("cycle-loading"))):(n=e(i.slides[i.currSlide]),a.apply(i.API,[t,s]),n.show(),i.container.removeClass("cycle-loading"))}function r(e,t){return e.data("index")-t.data("index")}var o=[]
139if("string"==e.type(t))t=e.trim(t)
140else if("array"===e.type(t))for(var l=0;l<t.length;l++)t[l]=e(t[l])[0]
141t=e(t)
142var c=t.length
143c&&(i.eventualSlideCount=i.slideCount+c,t.hide().appendTo("body").each(function(t){function r(){0===--l&&(--c,n(h))}var l=0,h=e(this),d=h.is("img")?h:h.find("img")
144return h.data("index",t),d=d.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),d.length?(l=d.length,void d.each(function(){this.complete?r():e(this).load(function(){r()}).error(function(){0===--l&&(i.API.log("slide skipped; img not loaded:",this.src),0===--c&&"wait"==i.loader&&a.apply(i.API,[o,s]))})})):(--c,void o.push(h))}
144),c&&i.container.addClass("cycle-loading"))}var a
145i.loader&&(a=i.API.add,i.API.add=s)})}(jQuery),function(e){"use strict"
146function t(t,i,s){var a,n=t.API.getComponent("pager")
147n.each(function(){var n=e(this)
148if(i.pagerTemplate){var r=t.API.tmpl(i.pagerTemplate,i,t,s[0])
149a=e(r).appendTo(n)}else a=n.children().eq(t.slideCount-1)
150a.on(t.pagerEvent,function(e){e.preventDefault(),t.API.page(n,e.currentTarget)})})}function i(e,t){var i=this.opts()
151if(!i.busy||i.manualTrump){var s=e.children().index(t),a=s,n=i.currSlide<a
152i.currSlide!=a&&(i.nextSlide=a,i.API.prepareTx(!0,n),i.API.trigger("cycle-pager-activated",[i,e,t]))}}e.extend(e.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerTemplate:"<span></span>"}),e(document).on("cycle-bootstrap",function(e,i,s){s.buildPagerLink=t}),e(document).on("cycle-slide-added",function(e,t,s,a){t.pager&&(t.API.buildPagerLink(t,s,a),t.API.page=i)}),e(document).on("cycle-slide-removed",function(t,i,s,a){if(i.pager){var n=i.API.getComponent("pager")
153n.each(function(){var t=e(this)
154e(t.children()[s]).remove()})}}),e(document).on("cycle-update-view",function(t,i,s){var a
155i.pager&&(a=i.API.getComponent("pager"),a.each(function(){e(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))}),e(document).on("cycle-destroyed",function(e,t){var i=t.API.getComponent("pager")
156i&&(i.children().off(t.pagerEvent),t.pagerTemplate&&i.empty())})}(jQuery),function(e){"use strict"
157e.extend(e.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),e(document).on("cycle-initialized",function(e,t){if(t.API.getComponent("next").on(t.nextEvent,function(e){e.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(e){e.preventDefault(),t.API.prev()}),t.swipe){var i=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",s=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle"
158t.container.on(i,function(e){t.API.next()}),t.container.on(s,function(){t.API.prev()})}}),e(document).on("cycle-update-view",function(e,t,i,s){if(!t.allowWrap){var a=t.disabledClass,n=t.API.getComponent("next"),r=t.API.getComponent("prev"),o=t._prevBoundry||0,l=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1
159t.currSlide==l?n.addClass(a).prop("disabled",!0):n.removeClass(a).prop("disabled",!1),t.currSlide===o?r.addClass(a).prop("disabled",!0):r.removeClass(a).prop("disabled",!1)}}),e(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(e){"use strict"
160e.extend(e.fn.cycle.defaults,{progressive:!1}),e(document).on("cycle-pre-initialize",function(t,i){if(i.progressive){var s,a,n=i.API,r=n.next,o=n.prev,l=n.prepareTx,c=e.type(i.progressive)
161if("array"==c)s=i.progressive
162else if(e.isFunction(i.progressive))s=i.progressive(i)
163else if("string"==c){if(a=e(i.progressive),s=e.trim(a.html()),!s)return
164if(/^(\[)/.test(s))try{s=e.parseJSON(s)}catch(h){return void n.log("error parsing progressive slides",h)}else s=s.split(RegExp(a.data("cycle-split")||"\n")),s[s.length-1]||s.pop()}l&&(n.prepareTx=function(e,t){var a,n
165return e||0===s.length?void l.apply(i.API,[e,t]):void(t&&i.currSlide==i.slideCount-1?(n=s[0],s=s.slice(1),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(n)):t||0!==i.currSlide?l.apply(i.API,[e,t]):(a=s.length-1,n=s[a],s=s.slice(0,a),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(n,!0)))}),r&&(n.next=function(){var e=this.opts()
166if(s.length&&e.currSlide==e.slideCount-1){var t=s[0]
167s=s.slice(1),e.container.one("cycle-slide-added",function(e,t){r.apply(t.API),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(t)}else r.apply(e.API)}),o&&(n.prev=function(){var e=this.opts()
168if(s.length&&0===e.currSlide){var t=s.length-1,i=s[t]
169s=s.slice(0,t),e.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(i,!0)}else o.apply(e.API)})}})}(jQuery),function(e){"use strict"
170e.extend(e.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),e.extend(e.fn.cycle.API,{tmpl:function(t,i){var s=RegExp(i.tmplRegex||e.fn.cycle.defaults.tmplRegex,"g"),a=e.makeArray(arguments)
171return a.shift(),t.replace(s,function(t,i){var s,n,r,o,l=i.split(".")
172for(s=0;s<a.length;s++)if(r=a[s]){if(l.length>1)for(o=r,n=0;n<l.length;n++)r=o,o=o[l[n]]||i
173else o=r[i]
174if(e.isFunction(o))return o.apply(r,a)
175if(void 0!==o&&null!==o&&o!=i)return o}return i})}})}(jQuery),window.Modernizr=function(e,t,i){function s(e){y.cssText=e}function a(e,t){return typeof e===t}function n(e,t){return!!~(""+e).indexOf(t)}function r(e,t){for(var s in e){var a=e[s]
176if(!n(a,"-")&&y[a]!==i)return"pfx"==t?a:!0}return!1}function o(e,t,s){for(var n in e){var r=t[e[n]]
177if(r!==i)return s===!1?e[n]:a(r,"function")?r.bind(s||t):r}return!1}function l(e,t,i){var s=e.charAt(0).toUpperCase()+e.slice(1),n=(e+" "+b.join(s+" ")+s).split(" ")
178return a(t,"string")||a(t,"undefined")?r(n,t):(n=(e+" "+P.join(s+" ")+s).split(" "),o(n,t,i))}var c,h,d,u="2.6.2",p={},f=!0,m=t.documentElement,g="modernizr",v=t.createElement(g),y=v.style,_=({}.toString,"Webkit Moz O ms"),b=_.split(" "),P=_.toLowerCase().split(" "),w={},j=[],S=j.slice,x={}.hasOwnProperty
179d=a(x,"undefined")||a(x.call,"undefined")?function(e,t){return t in e&&a(e.constructor.prototype[t],"undefined")}:function(e,t){return x.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this
180if("function"!=typeof t)throw new TypeError
181var i=S.call(arguments,1),s=function(){if(this instanceof s){var a=function(){}
182a.prototype=t.prototype
183var n=new a,r=t.apply(n,i.concat(S.call(arguments)))
184return Object(r)===r?r:n}return t.apply(e,i.concat(S.call(arguments)))}
185return s}),w.csstransitions=function(){return l("transition")},w.audio=function(){var e=t.createElement("audio"),i=!1
186try{(i=!!e.canPlayType)&&(i=new Boolean(i),i.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),i.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),i.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),i.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(s){}return i}
187for(var I in w)d(w,I)&&(h=I.toLowerCase(),p[h]=w[I](),j.push((p[h]?"":"no-")+h))
188return p.addTest=function(e,t){if("object"==typeof e)for(var s in e)d(e,s)&&p.addTest(s,e[s])
189else{if(e=e.toLowerCase(),p[e]!==i)return p
190t="function"==typeof t?t():t,void 0!==f&&f&&(m.className+=" "+(t?"":"no-")+e),p[e]=t}return p},s(""),v=c=null,function(e,t){function i(e,t){var i=e.createElement("p"),s=e.getElementsByTagName("head")[0]||e.documentElement
191return i.innerHTML="x<style>"+t+"</style>",s.insertBefore(i.lastChild,s.firstChild)}function s(){var e=v.elements
192return"string"==typeof e?e.split(" "):e}function a(e){var t=g[e[f]]
193return t||(t={},m++,e[f]=m,g[m]=t),t}function n(e,i,s){if(i||(i=t),h)return i.createElement(e)
194s||(s=a(i))
195var n
196return n=s.cache[e]?s.cache[e].cloneNode():p.test(e)?(s.cache[e]=s.createElem(e)).cloneNode():s.createElem(e),n.canHaveChildren&&!u.test(e)?s.frag.appendChild(n):n}function r(e,i){if(e||(e=t),h)return e.createDocumentFragment()
197i=i||a(e)
198for(var n=i.frag.cloneNode(),r=0,o=s(),l=o.length;l>r;r++)n.createElement(o[r])
199return n}function o(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(i){return v.shivMethods?n(i,e,t):t.createElem(i)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/\w+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,t.frag)}function l(e){e||(e=t)
200var s=a(e)
201return v.shivCSS&&!c&&!s.hasCSS&&(s.hasCSS=!!i(e,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),h||o(e,s),e}var c,h,d=e.html5||{},u=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f="_html5shiv",m=0,g={}
202!function(){try{var e=t.createElement("a")
203e.innerHTML="<xyz></xyz>",c="hidden"in e,h=1==e.childNodes.length||function(){t.createElement("a")
204var e=t.createDocumentFragment()
205return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(i){c=!0,h=!0}}()
206var v={elements:d.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:d.shivCSS!==!1,supportsUnknownElements:h,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:l,createElement:n,createDocumentFragment:r}
207e.html5=v,l(t)}(this,t),p._version=u,p._domPrefixes=P,p._cssomPrefixes=b,p.testProp=function(e){return r([e])},p.testAllProps=l,m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+j.join(" "):""),p}(this,this.document),function(e,t,i){function s(e){return"[object Function]"==g.call(e)}function a(e){return"string"==typeof e}function n(){}function r(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function o(){var e=v.shift()
208y=1,e?e.t?f(function(){("c"==e.t?u.injectCss:u.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),o()):y=0}function l(e,i,s,a,n,l,c){function h(t){if(!p&&r(d.readyState)&&(_.r=p=1,!y&&o(),d.onload=d.onreadystatechange=null,t)){"img"!=e&&f(function(){P.removeChild(d)},50)
209for(var s in I[i])I[i].hasOwnProperty(s)&&I[i][s].onload()}}var c=c||u.errorTimeout,d=t.createElement(e),p=0,g=0,_={t:s,s:i,e:n,a:l,x:c}
2101===I[i]&&(g=1,I[i]=[]),"object"==e?d.data=i:(d.src=i,d.type=e),d.width=d.height="0",d.onerror=d.onload=d.onreadystatechange=function(){h.call(this,g)},v.splice(a,0,_),"img"!=e&&(g||2===I[i]?(P.insertBefore(d,b?null:m),f(h,c)):I[i].push(d))}function c(e,t,i,s,n){return y=0,t=t||"j",a(e)?l("c"==t?j:w,e,t,this.i++,i,s,n):(v.splice(this.i++,0,e),
2101==v.length&&o()),this}function h(){var e=u
211return e.loader={load:c,i:0},e}var d,u,p=t.documentElement,f=e.setTimeout,m=t.getElementsByTagName("script")[0],g={}.toString,v=[],y=0,_="MozAppearance"in p.style,b=_&&!!t.createRange().compareNode,P=b?p:m.parentNode,p=e.opera&&"[object Opera]"==g.call(e.opera),p=!!t.attachEvent&&!p,w=_?"object":p?"script":"img",j=p?"script":w,S=Array.isArray||function(e){return"[object Array]"==g.call(e)},x=[],I={},A={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}}
212u=function(e){function t(e){var t,i,s,e=e.split("!"),a=x.length,n=e.pop(),r=e.length,n={url:n,origUrl:n,prefixes:e}
213for(i=0;r>i;i++)s=e[i].split("="),(t=A[s.shift()])&&(n=t(n,s))
214for(i=0;a>i;i++)n=x[i](n)
215return n}function r(e,a,n,r,o){var l=t(e),c=l.autoCallback
216l.url.split(".").pop().split("?").shift(),l.bypass||(a&&(a=s(a)?a:a[e]||a[r]||a[e.split("/").pop().split("?")[0]]),l.instead?l.instead(e,a,n,r,o):(I[l.url]?l.noexec=!0:I[l.url]=1,n.load(l.url,l.forceCSS||!l.forceJS&&"css"==l.url.split(".").pop().split("?").shift()?"c":i,l.noexec,l.attrs,l.timeout),(s(a)||s(c))&&n.load(function(){h(),a&&a(l.origUrl,o,r),c&&c(l.origUrl,o,r),I[l.url]=2})))}function o(e,t){function i(e,i){if(e){if(a(e))i||(d=function(){var e=[].slice.call(arguments)
217u.apply(this,e),p()}),r(e,d,t,0,c)
218else if(Object(e)===e)for(l in o=function(){var t,i=0
219for(t in e)e.hasOwnProperty(t)&&i++
220return i}(),e)e.hasOwnProperty(l)&&(!i&&!--o&&(s(d)?d=function(){var e=[].slice.call(arguments)
221u.apply(this,e),p()}:d[l]=function(e){return function(){var t=[].slice.call(arguments)
222e&&e.apply(this,t),p()}}(u[l])),r(e[l],d,t,l,c))}else!i&&p()}var o,l,c=!!e.test,h=e.load||e.both,d=e.callback||n,u=d,p=e.complete||n
223i(c?e.yep:e.nope,!!h),h&&i(h)}var l,c,d=this.yepnope.loader
224if(a(e))r(e,0,d,0)
225else if(S(e))for(l=0;l<e.length;l++)c=e[l],a(c)?r(c,0,d,0):S(c)?u(c):Object(c)===c&&o(c,d)
226else Object(e)===e&&o(e,d)},u.addPrefix=function(e,t){A[e]=t},u.addFilter=function(e){x.push(e)},u.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",d=function(){t.removeEventListener("DOMContentLoaded",d,0),t.readyState="complete"},0)),e.yepnope=h(),e.yepnope.executeStack=o,e.yepnope.injectJs=function(e,i,s,a,l,c){var h,d,p=t.createElement("script"),a=a||u.errorTimeout
227p.src=e
228for(d in s)p.setAttribute(d,s[d])
229i=c?o:i||n,p.onreadystatechange=p.onload=function(){!h&&r(p.readyState)&&(h=1,i(),p.onload=p.onreadystatechange=null)},f(function(){h||(h=1,i(1))},a),l?p.onload():m.parentNode.insertBefore(p,m)},e.yepnope.injectCss=function(e,i,s,a,r,l){var c,a=t.createElement("link"),i=l?o:i||n
230a.href=e,a.rel="stylesheet",a.type="text/css"
231for(c in s)a.setAttribute(c,s[c])
232r||(m.parentNode.insertBefore(a,m),f(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}
233var Froogaloop=function(){function e(t){return new e.fn.init(t)}function t(e,t,i){if(!i.contentWindow.postMessage)return!1
234var s=i.getAttribute("src").split("?")[0],e=JSON.stringify({method:e,value:t})
235"//"===s.substr(0,2)&&(s=window.location.protocol+s),i.contentWindow.postMessage(e,s)}function i(e){var t,i
236try{t=JSON.parse(e.data),i=t.event||t.method}catch(s){}if("ready"==i&&!n&&(n=!0),e.origin!=r)return!1
237var e=t.value,o=t.data,l=""===l?null:t.player_id
238return t=l?a[l][i]:a[i],i=[],t?(void 0!==e&&i.push(e),o&&i.push(o),l&&i.push(l),0<i.length?t.apply(null,i):t.call()):!1}function s(e,t,i){i?(a[i]||(a[i]={}),a[i][e]=t):a[e]=t}var a={},n=!1,r=""
239return e.fn=e.prototype={element:null,init:function(e){"string"==typeof e&&(e=document.getElementById(e)),this.element=e,e=this.element.getAttribute("src"),"//"===e.substr(0,2)&&(e=window.location.protocol+e)
240for(var e=e.split("/"),t="",i=0,s=e.length;s>i&&3>i;i++)t+=e[i],2>i&&(t+="/")
241return r=t,this},api:function(e,i){if(!this.element||!e)return!1
242var a=this.element,n=""!==a.id?a.id:null,r=i&&i.constructor&&i.call&&i.apply?null:i,o=i&&i.constructor&&i.call&&i.apply?i:null
243return o&&s(e,o,n),t(e,r,a),this},addEvent:function(e,i){if(!this.element)return!1
244var a=this.element,r=""!==a.id?a.id:null
245return s(e,i,r),"ready"!=e?t("addEventListener",e,a):"ready"==e&&n&&i.call(null,r),this},removeEvent:function(e){if(!this.element)return!1
246var i,s=this.element
247e:{if((i=""!==s.id?s.id:null)&&a[i]){if(!a[i][e]){i=!1
248break e}a[i][e]=null}else{if(!a[e]){i=!1
249break e}a[e]=null}i=!0}"ready"!=e&&i&&t("removeEventListener",e,s)}},e.fn.init.prototype=e.fn,window.addEventListener?window.addEventListener("message",i,!1):window.attachEvent("onmessage",i),window.Froogaloop=window.$f=e}();(function(){var e,t,i
250e=jQuery,i=function(){function e(){this.fadeDuration=400,this.fitImagesInViewport=!0,this.resizeDuration=500,this.showImageNumberLabel=!0,this.wrapAround=!1}return e.prototype.albumLabel=function(e,t){return"Image "+e+" of "+t},e}(),t=function(){function t(e){this.options=e,this.album=[],this.currentImageIndex=void 0,this.init()}return t.prototype.init=function(){return this.enable(),this.build()},t.prototype.enable=function(){var t=this
251return e("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(i){return t.start(e(i.currentTarget)),!1})},t.prototype.build=function(){var t=this
252return e("<div id='lightboxOverlay' class='lightboxOverlay'><div class='lb-closeContainer'><a class='lb-close'></a></div></div><div id='lightbox' class='lightbox'><div class='lb-outerContainer'><div class='lb-container'><img class='lb-image' src='' /><div class='lb-nav'><a class='lb-prev' href='' ></a><a class='lb-next' href='' ></a></div><div class='lb-loader'><a class='lb-cancel'></a></div></div><div class='lb-data'><div class='lb-details'><span class='lb-caption'></span></div></div></div></div>").appendTo(e("body")),this.$lightbox=e("#lightbox"),this.$overlay=e("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),20),this.containerRightPadding=parseInt(this.$container.css("padding-right"),20),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),20),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),20),this.$overlay.hide().on("click",function(){return t.end(),!1}),this.$lightbox.hide().on("click",function(i){return"lightbox"===e(i.target).attr("id")&&t.end(),!1}),this.$outerContainer.on("click",function(i){return"lightbox"===e(i.target).attr("id")&&t.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){return 0===t.currentImageIndex?t.changeImage(t.album.length-1):t.changeImage(t.currentImageIndex-1),!1}),this.$lightbox.find(".lb-next").on("click",function(){return t.currentImageIndex===t.album.length-1?t.changeImage(0):t.changeImage(t.currentImageIndex+1),!1}),this.$lightbox.find(".lb-loader, .lb-close").on("click",function(){return t.end(),!1})},t.prototype.start=function(t){var i,s,a,n,r,o,l,c,h,d,u,p,f
253if(e(window).on("resize",this.sizeOverlay),e("select, object, embed").css({visibility:"hidden"}),this.$overlay.width(e(document).width()).height(e(document).height()).fadeIn(this.options.fadeDuration),this.album=[],r=0,a=t.attr("data-lightbox"))for(p=e(t.prop("tagName")+'[data-lightbox="'+a+'"]'),n=c=0,d=p.length;d>c;n=++c)s=p[n],this.album.push({link:e(s).attr("href"),title:e(s).attr("title")}),e(s).attr("href")===t.attr("href")&&(r=n)
254else if("lightbox"===t.attr("rel"))this.album.push({link:t.attr("href"),title:t.attr("title")})
255else for(f=e(t.prop("tagName")+'[rel="'+t.attr("rel")+'"]'),n=h=0,u=f.length;u>h;n=++h)s=f[n],this.album.push({link:e(s).attr("href"),title:e(s).attr("title")}),e(s).attr("href")===t.attr("href")&&(r=n)
256i=e(window),l=i.scrollTop()+i.height()/10,o=i.scrollLeft(),this.$lightbox.css({top:"15%",left:o+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(r)},t.prototype.changeImage=function(t){var i,s,a=this
257this.disableKeyboardNav(),i=this.$lightbox.find(".lb-image"),this.sizeOverlay(),this.$overlay.fadeIn(this.options.fadeDuration),e(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating"),s=new Image,s.onload=function(){var n,r,o,l,c,h,d
258return i.attr("src",a.album[t].link),n=e(s),i.width(s.width),i.height(s.height),a.options.fitImagesInViewport&&(d=e(window).width(),h=e(window).height(),c=d-a.containerLeftPadding-a.containerRightPadding-20,l=h-a.c
258ontainerTopPadding-a.containerBottomPadding-110,(s.width>c||s.height>l)&&(s.width/c>s.height/l?(o=c,r=parseInt(s.height/(s.width/o),10),i.width(o),i.height(r)):(r=l,o=parseInt(s.width/(s.height/r),10),i.width(o),i.height(r)))),a.sizeContainer(i.width(),i.height())},s.src=this.album[t].link,this.currentImageIndex=t},t.prototype.sizeOverlay=function(){return e("#lightboxOverlay").width(e(document).width()).height(e(document).height())},t.prototype.sizeContainer=function(e,t){var i,s,a,n,r=this
259n=this.$outerContainer.outerWidth(),a=this.$outerContainer.outerHeight(),s=e+this.containerLeftPadding+this.containerRightPadding,i=t+this.containerTopPadding+this.containerBottomPadding,this.$outerContainer.animate({width:s,height:i},this.options.resizeDuration,"swing"),setTimeout(function(){r.$lightbox.find(".lb-dataContainer").width(s),r.$lightbox.find(".lb-prevLink").height(i),r.$lightbox.find(".lb-nextLink").height(i),r.showImage()},this.options.resizeDuration)},t.prototype.showImage=function(){this.$lightbox.find(".lb-loader").hide(),this.$lightbox.find(".lb-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){this.$lightbox.find(".lb-nav").show(),this.album.length>1&&(this.options.wrapAround?this.$lightbox.find(".lb-prev, .lb-next").show():(this.currentImageIndex>0&&this.$lightbox.find(".lb-prev").show(),this.currentImageIndex<this.album.length-1&&this.$lightbox.find(".lb-next").show()))},t.prototype.updateDetails=function(){var e=this
260void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title&&this.$lightbox.find(".lb-caption").html(this.album[this.currentImageIndex].title).fadeIn("fast"),this.album.length>1&&this.options.showImageNumberLabel?this.$lightbox.find(".lb-number").text(this.options.albumLabel(this.currentImageIndex+1,this.album.length)).fadeIn("fast"):this.$lightbox.find(".lb-number").hide(),this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.resizeDuration,function(){return e.sizeOverlay()})},t.prototype.preloadNeighboringImages=function(){var e,t
261this.album.length>this.currentImageIndex+1&&(e=new Image,e.src=this.album[this.currentImageIndex+1].link),this.currentImageIndex>0&&(t=new Image,t.src=this.album[this.currentImageIndex-1].link)},t.prototype.enableKeyboardNav=function(){e(document).on("keyup.keyboard",e.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){e(document).off(".keyboard")},t.prototype.keyboardAction=function(e){var t,i,s,a,n
262t=27,i=37,s=39,n=e.keyCode,a=String.fromCharCode(n).toLowerCase(),n===t||a.match(/x|o|c/)?this.end():"p"===a||n===i?0!==this.currentImageIndex&&this.changeImage(this.currentImageIndex-1):("n"===a||n===s)&&this.currentImageIndex!==this.album.length-1&&this.changeImage(this.currentImageIndex+1)},t.prototype.end=function(){return this.disableKeyboardNav(),e(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),e("select, object, embed").css({visibility:"visible"})},t}(),e(function(){var e,s
263return s=new i,e=new t(s)})}).call(this),!function(e){var t,i={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},s='<textarea tabindex="-1" style="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;"/>',a=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent","whiteSpace"],n=e(s).data("autosize",!0)[0]
264n.style.lineHeight="99px","99px"===e(n).css("lineHeight")&&a.push("lineHeight"),n.style.lineHeight="",e.fn.autosize=function(s){return this.length?(s=e.extend({},i,s||{}),n.parentNode!==document.body&&e(document.body).append(n),this.each(function(){function i(){var t,i=window.getComputedStyle?window.getComputedStyle(u,null):!1
265i?(t=u.getBoundingClientRect().width,(0===t||"number"!=typeof t)&&(t=parseFloat(i.width)),e.each(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],function(e,s){t-=p
265arseFloat(i[s])})):t=p.width(),n.style.width=Math.max(t,0)+"px"}function r(){var r={}
266if(t=u,n.className=s.className,n.id=s.id,c=parseFloat(p.css("maxHeight")),e.each(a,function(e,t){r[t]=p.css(t)}),e(n).css(r).attr("wrap",p.attr("wrap")),i(),window.chrome){var o=u.style.width
267u.style.width="0px",u.offsetWidth,u.style.width=o}}function o(){var e,a
268t!==u?r():i(),n.value=!u.value&&s.placeholder?p.attr("placeholder")||"":u.value,n.value+=s.append||"",n.style.overflowY=u.style.overflowY,a=parseFloat(u.style.height),n.scrollTop=0,n.scrollTop=9e4,e=n.scrollTop,c&&e>c?(u.style.overflowY="scroll",e=c):(u.style.overflowY="hidden",h>e&&(e=h)),e+=f,a!==e&&(u.style.height=e+"px",n.className=n.className,m&&s.callback.call(u,u),p.trigger("autosize.resized"))}function l(){clearTimeout(d),d=setTimeout(function(){var e=p.width()
269e!==v&&(v=e,o())},parseInt(s.resizeDelay,10))}var c,h,d,u=this,p=e(u),f=0,m=e.isFunction(s.callback),g={height:u.style.height,overflow:u.style.overflow,overflowY:u.style.overflowY,wordWrap:u.style.wordWrap,resize:u.style.resize},v=p.width(),y=p.css("resize")
270p.data("autosize")||(p.data("autosize",!0),("border-box"===p.css("box-sizing")||"border-box"===p.css("-moz-box-sizing")||"border-box"===p.css("-webkit-box-sizing"))&&(f=p.outerHeight()-p.height()),h=Math.max(parseFloat(p.css("minHeight"))-f||0,p.height()),p.css({overflow:"hidden",overflowY:"hidden",wordWrap:"break-word"}),"vertical"===y?p.css("resize","none"):"both"===y&&p.css("resize","horizontal"),"onpropertychange"in u?"oninput"in u?p.on("input.autosize keyup.autosize",o):p.on("propertychange.autosize",function(){"value"===event.propertyName&&o()}):p.on("input.autosize",o),s.resizeDelay!==!1&&e(window).on("resize.autosize",l),p.on("autosize.resize",o),p.on("autosize.resizeIncludeStyle",function(){t=null,o()}),p.on("autosize.destroy",function(){t=null,clearTimeout(d),e(window).off("resize",l),p.off("autosize").off(".autosize").css(g).removeData("autosize")}),o())})):this}}(jQuery||$),!function(e,t){e.fn.jPlayer=function(i){var s="jPlayer",a="string"==typeof i,n=Array.prototype.slice.call(arguments,1),r=this
271return i=!a&&n.length?e.extend.apply(null,[!0,i].concat(n)):i,a&&"_"===i.charAt(0)?r:(a?this.each(function(){var a=e.data(this,s),o=a&&e.isFunction(a[i])?a[i].apply(a,n):a
272return o!==a&&o!==t?(r=o,!1):void 0}):this.each(function(){var t=e.data(this,s)
273t?t.option(i||{}):e.data(this,s,new e.jPlayer(i,this))}),r)},e.jPlayer=function(t,i){if(arguments.length){this.element=e(i),this.options=e.extend(!0,{},this.options,t)
274var s=this
275this.element.bind("remove.jPlayer",function(){s.destroy()}),this._init()}},e.jPlayer.emulateMethods="load play pause",e.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",e.jPlayer.emulateOptions="muted volume",e.jPlayer.reservedEvent="ready flashreset resize repeat error warning",e.jPlayer.event={ready:"jPlayer_ready",flashreset:"jPlayer_flashreset",resize:"jPlayer_resize",repeat:"jPlayer_repeat",error:"jPlayer_error",warning:"jPlayer_warning",loadstart:"jPlayer_loadstart",progress:"jPlayer_progress",suspend:"jPlayer_suspend",abort:"jPlayer_abort",emptied:"jPlayer_emptied",stalled:"jPlayer_stalled",play:"jPlayer_play",pause:"jPlayer_pause",loadedmetadata:"jPlayer_loadedmetadata",loadeddata:"jPlayer_loadeddata",waiting:"jPlayer_waiting",playing:"jPlayer_playing",canplay:"jPlayer_canplay",canplaythrough:"jPlayer_canplaythrough",seeking:"jPlayer_seeking",seeked:"jPlayer_seeked",timeupdate:"jPlayer_timeupdate",ended:"jPlayer_ended",ratechange:"jPlayer_ratechange",durationchange:"jPlayer_durationchange",volumechange:"jPlayer_volumechange"},e.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","ratechange"],e.jPlayer.pause=function(){e.each(e.jPlayer.prototype.instances,function(e,t){t.data("jPlayer").status.srcSet&&t.jPlayer("pause")})},e.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""},e.jPlayer.convertTime=function(t){var i=new Date(1e3*t),s=i.getUTCHours(),a=i.getUTCMinutes(),n=i.getUTCSeconds(),r=e.jPlayer.timeFormat.padHour&&10>s?"0"+s:s,o=e.jPlayer.timeFormat.padMin&&10>a?"0"+a:a,l=e.jPlayer.timeFormat.padSec&&10>n?"0"+n:n
276return(e.jPlayer.timeFormat.showHour?r+e.jPlayer.timeFormat.sepHour:"")+(e.jPlayer.timeFormat.showMin?o+e.jPlayer.timeFormat.sepMin:"")+(e.jPlayer.timeFormat.showSec?l+e.jPlayer.timeFormat.sepSec:"")},e.jPlayer.uaBrowser=function(e){var t=e.toLowerCase(),i=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,a=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,r=i.exec(t)||s.exec(t)||a.exec(t)||t.indexOf("compatible")<0&&n.exec(t)||[]
277return{browser:r[1]||"",version:r[2]||"0"}},e.jPlayer.uaPlatform=function(e){var t=e.toLowerCase(),i=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,s=/(ipad|playbook)/,a=/(android)/,n=/(mobile)/,r=i.exec(t)||[],o=s.exec(t)||!n.exec(t)&&a.exec(t)||[]
278return{platform:r[1]||"",tablet:o[1]||""}},e.jPlayer.browser={},e.jPlayer.platform={}
279var i=e.jPlayer.uaBrowser(navigator.userAgent)
280i.browser&&(e.jPlayer.browser[i.browser]=!0,e.jPlayer.browser.version=i.version)
281var s=e.jPlayer.uaPlatform(navigator.userAgent)
282s.platform&&(e.jPlayer.platform[s.platform]=!0,e.jPlayer.platform.mobile=!s.tablet,e.jPlayer.platform.tablet=!!s.tablet),e.jPlayer.prototype={count:0,version:{script:"2.0.22",needFlash:"2.0.9",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,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",currentTime:".jp-current-time",duration:".jp-duration",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui"},fullScreen:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(t){t.jPlayer.options.loop?e(this).unbind(".jPlayerRepeat").bind(e.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){e(this).jPlayer("play")}):e(this).unbind(".jPlayerRepeat")},idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,errorAlerts:!1,warningAlerts:!1},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:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:'audio/mpeg; codecs="mp3"',flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis"',flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"}},_init:function(){var i=this
283if(this.element.empty(),this.status=e.extend({},this.status),this.internal=e.extend({},this.internal),this.internal.domNode=this.element.get(0),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),e.each(this.options.supplied.toLowerCase().split(","),function(t,s){var a=s.replace(/^\s+|\s+$/g,"")
284if(i.format[a]){var n=!1
285e.each(i.formats,function(e,t){return a===t?(n=!0,!1):void 0}),n||i.formats.push(a)}}),e.each(this.options.solution.toLowerCase().split(","),function(t,s){var a=s.replace(/^\s+|\s+$/g,"")
286if(i.solution[a]){var n=!1
287e.each(i.solutions,function(e,t){return a===t?(n=!0,!1):void 0}),n||i.solutions.push(a)}}),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=e.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=e.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:t}),this.internal.video=e.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:t}),this.internal.flash=e.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:t,swf:this.options.swfPath+(""!==this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf"}),this.internal.poster=e.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:t}),e.each(e.jPlayer.event,function(e,s){i.options[e]!==t&&(i.element.bind(s+".jPlayer",i.options[e]),i.options[e]=t)}),this.require.audio=!1,this.require.video=!1,e.each(this.formats,function(e,t){i.require[i.format[t].media]=!0}),this.require.video?this.options=e.extend(!0,{},this.optionsVideo,this.options):this.options=e.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!i.status.video||i.status.waitForPlay)&&i.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=e("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.html.audio.available=!1,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.html.video.available=!1,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.flash.available=this._checkForFlash(10),this.html.canPlay={},this.flash.canPlay={},e.each(this.formats,function(e,t){i.html.canPlay[t]=i.html[i.format[t].media].available&&""!==i.htmlElement[i.format[t].media].canPlayType(i.format[t].codec),i.flash.canPlay[t]=i.format[t].flashCanPlay&&i.flash.available}),this.html.desired=!1,this.flash.desired=!1,e.each(this.solutions,function(t,s){if(0===t)i[s].desired=!0
288else{var a=!1,n=!1
289e.each(i.formats,function(e,t){i[i.solutions[0]].canPlay[t]&&("video"===i.format[t].media?n=!0:a=!0)}),i[s].desired=i.require.audio&&!a||i.require.video&&!n}}),this.html.support={},this.flash.support={},e.each(this.formats,function(e,t){i.html.support[t]=i.html.canPlay[t]&&i.html.desired,i.flash.support[t]=i.flash.canPlay[t]&&i.flash.desired}),this.html.used=!1,this.flash.used=!1,e.each(this.solutions,function(t,s){e.each(i.formats,function(e,t){return i[s].support[t]?(i[s].used=!0,!1):void 0})}),this.html.active=!1,this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.active=!1,this.flash.gate=!1,this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.flash.used||this._error({type:e.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:e.jPlayer.errorMsg.NO_SOLUTION,hint:e.jPlayer.errorHint.NO_SOLUTION}),this.flash.used){var s,a="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted
290if(e.browser.msie&&+e.browser.version<=8){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0"></object>',r=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+a+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />']
291s=document.createElement(n)
292for(var o=0;o<r.length;o++)s.appendChild(document.createElement(r[o]))}else{var l=function(e,t,i){var s=document.createElement("param")
293s.setAttribute("name",t),s.setAttribute("value",i),e.appendChild(s)}
294s=document.createElement("object"),s.setAttribute("id",this.internal.flash.id),s.setAttribute("data",this.internal.flash.swf),s.setAttribute("type","application/x-shockwave-flash"),s.setAttribute("width","1"),s.setAttribute("height","1"),l(s,"flashvars",a),l(s,"allowscriptaccess","always"),l(s,"bgcolor",this.options.backgroundColor),l(s,"wmode",this.options.wmode)}this.element.append(s),this.internal.flash.jq=e(s)}this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=e("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=e("#"+this.internal.video.id),this.internal.video.jq.css({width:"0px",height:"0px"}))),this.options.emulateHtml&&this._emulateHtmlBridge(),this.html.used&&!this.flash.used&&setTimeout(function(){i.internal.ready=!0,i.version.flash="n/a",i._trigger(e.jPlayer.event.repeat),i._trigger(e.jPlayer.event.ready)},100),this._updateInterface(),this._updateButtons(!1),this._updateAutohide(),this._updateVolume(this.options.volume),this._updateMute(this.options.muted),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),e.jPlayer.prototype.count++},destroy:function(){this._resetStatus(),this._updateInterface(),this._seeked(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),this.status.srcSet&&this.pause(),e.each(this.css.jq,function(e,t){t.length&&t.unbind(".jPlayer")}),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),this.instances[this.internal.instance]=t},enable:function(){},disable:function(){},_addHtmlEventListeners:function(t,i){var s=this
295t.preload=this.options.preload,t.muted=this.options.muted,t.volume=this.options.volume,t.addEventListener("progress",function(){i.gate&&!s.status.waitForLoad&&(s._getHtmlStatus(t),s._updateInterface(),s._trigger(e.jPlayer.event.progress))},!1),t.addEventListener("timeupdate",function(){i.gate&&!s.status.waitForLoad&&(s._getHtmlStatus(t),s._updateInterface(),s._trigger(e.jPlayer.event.timeupdate))},!1),t.addEventListener("durationchange",function(){i.gate&&!s.status.waitForLoad&&(s.status.duration=this.duration,s._getHtmlStatus(t),s._updateInterface(),s._trigger(e.jPlayer.event.durationchange))},!1),t.addEventListener("play",function(){i.gate&&!s.status.waitForLoad&&(s._updateButtons(!0),s._trigger(e.jPlayer.event.play))},!1),t.addEventListener("playing",function(){i.gate&&!s.status.waitForLoad&&(s._updateButtons(!0),s._seeked(),s._trigger(e.jPlayer.event.playing))},!1),t.addEventListener("pause",function(){i.gate&&!s.status.waitForLoad&&(s._updateButtons(!1),s._trigger(e.jPlayer.event.pause))},!1),t.addEventListener("waiting",function(){i.gate&&!s.status.waitForLoad&&(s._seeking(),s._trigger(e.jPlayer.event.waiting))},!1),t.addEventListener("seeking",function(){i.gate&&!s.status.waitForLoad&&(s._seeking(),s._trigger(e.jPlayer.event.seeking))},!1),t.addEventListener("seeked",function(){i.gate&&!s.status.waitForLoad&&(s._seeked(),s._trigger(e.jPlayer.event.seeked))},!1),t.addEventListener("volumechange",function(){i.gate&&!s.status.waitForLoad&&(s.options.volume=t.volume,s.options.muted=t.muted,s._updateMute(),s._updateVolume(),s._trigger(e.jPlayer.event.volumechange))},!1),t.addEventListener("suspend",function(){i.gate&&!s.status.waitForLoad&&(s._seeked(),s._trigger(e.jPlayer.event.
295suspend))},!1),t.addEventListener("ended",function(){i.gate&&!s.status.waitForLoad&&(e.jPlayer.browser.webkit||(s.htmlElement.media.currentTime=0),s.htmlElement.media.pause(),s._updateButtons(!1),s._getHtmlStatus(t,!0),s._updateInterface(),s._trigger(e.jPlayer.event.ended))},!1),t.addEventListener("error",function(){i.gate&&!s.status.waitForLoad&&(s._updateButtons(!1),s._seeked(),s.status.srcSet&&(clearTimeout(s.internal.htmlDlyCmdId),s.status.waitForLoad=!0,s.status.waitForPlay=!0,s.status.video&&s.internal.video.jq.css({width:"0px",height:"0px"}),s._validString(s.status.media.poster)&&s.internal.poster.jq.show(),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s._error({type:e.jPlayer.error.URL,context:s.status.src,message:e.jPlayer.errorMsg.URL,hint:e.jPlayer.errorHint.URL})))},!1),e.each(e.jPlayer.htmlEvent,function(a,n){t.addEventListener(this,function(){i.gate&&!s.status.waitForLoad&&s._trigger(e.jPlayer.event[n])},!1)})},_getHtmlStatus:function(e,t){var i=0,s=0,a=0,n=0
296e.duration&&(this.status.duration=e.duration),i=e.currentTime,s=this.status.duration>0?100*i/this.status.duration:0,"object"==typeof e.seekable&&e.seekable.length>0?(a=this.status.duration>0?100*e.seekable.end(e.seekable.length-1)/this.status.duration:100,n=100*e.currentTime/e.seekable.end(e.seekable.length-1)):(a=100,n=s),t&&(i=0,n=0,s=0),this.status.seekPercent=a,this.status.currentPercentRelative=n,this.status.currentPercentAbsolute=s,this.status.currentTime=i,this.status.readyState=e.readyState,this.status.networkState=e.networkState,this.status.playbackRate=e.playbackRate,this.status.ended=e.ended},_resetStatus:function(){this.status=e.extend({},this.status,e.jPlayer.prototype.status)},_trigger:function(t,i,s){var a=e.Event(t)
297a.jPlayer={},a.jPlayer.version=e.extend({},this.version),a.jPlayer.options=e.extend(!0,{},this.options),a.jPlayer.status=e.extend(!0,{},this.status),a.jPlayer.html=e.extend(!0,{},this.html),a.jPlayer.flash=e.extend(!0,{},this.flash),i&&(a.jPlayer.error=e.extend({},i)),s&&(a.jPlayer.warning=e.extend({},s)),this.element.trigger(a)},jPlayerFlashEvent:function(t,i){if(t===e.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var s=this.status.currentTime,a=this.status.paused
298this.setMedia(this.status.media),s>0&&(a?this.pause(s):this.play(s))}this._trigger(e.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=i.version,this.version.needFlash!==this.version.flash&&this._error({type:e.jPlayer.error.VERSION,context:this.version.flash,message:e.jPlayer.errorMsg.VERSION+this.version.flash,hint:e.jPlayer.errorHint.VERSION}),this._trigger(e.jPlayer.event.repeat),this._trigger(t)
299if(this.flash.gate)switch(t){case e.jPlayer.event.progress:this._getFlashStatus(i),this._updateInterface(),this._trigger(t)
300break
301case e.jPlayer.event.timeupdate:this._getFlashStatus(i),this._updateInterface(),this._trigger(t)
302break
303case e.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(t)
304break
305case e.jPlayer.event.pause:this._updateButtons(!1),this._trigger(t)
306break
307case e.jPlayer.event.ended:this._updateButtons(!1),this._trigger(t)
308break
309case e.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,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.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._error({type:e.jPlayer.error.URL,context:i.src,message:e.jPlayer.errorMsg.URL,hint:e.jPlayer.errorHint.URL})
310break
311case e.jPlayer.event.seeking:this._seeking(),this._trigger(t)
312break
313case e.jPlayer.event.seeked:this._seeked(),this._trigger(t)
314break
315case e.jPlayer.event.ready:break
316default:this._trigger(t)}return!1},_getFlashStatus:function(e){this.status.seekPercent=e.seekPercent,this.status.currentPercentRelative=e.currentPercentRelative,this.status.currentPercentAbsolute=e.currentPercentAbsolute,this.status.currentTime=e.currentTime,this.status.duration=e.duration,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(e){e!==t&&(this.status.paused=!e,this.css.jq.play.length&&this.css.jq.pause.length&&(e?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide()))),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.options.fullScreen?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(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+"%"),this.css.jq.playBar.length&&this.css.jq.playBar.css({left:this.status.currentPercentRelative+"%"}),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(e.jPlayer.convertTime(this.status.currentTime)),this.css.jq.duration.length&&this.css.jq.duration.text(e.jPlayer.convertTime(this.status.duration))},_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg")},setMedia:function(t){var i=this
317this._seeked(),clearTimeout(this.internal.htmlDlyCmdId)
318var s=this.html.audio.gate,a=this.html.video.gate,n=!1
319e.each(this.formats,function(r,o){var l="video"===i.format[o].media
320return e.each(i.solutions,function(e,r){if(i[r].support[o]&&i._validString(t[o])){var c="html"===r
321return l?c?(i.html.audio.gate=!1,i.html.video.gate=!0,i.flash.gate=!1):(i.html.audio.gate=!1,i.html.video.gate=!1,i.flash.gate=!0):c?(i.html.audio.gate=!0,i.html.video.gate=!1,i.flash.gate=!1):(i.html.audio.gate=!1,i.html.video.gate=!1,i.flash.gate=!0),i.flash.active||i.html.active&&i.flash.gate||s===i.html.audio.gate&&a===i.html.video.gate?i.clearMedia():s!==i.html.audio.gate&&a!==i.html.video.gate&&(i._html_pause(),i.status.video&&i.internal.video.jq.css({width:"0px",height:"0px"}),i._resetStatus()),l?(c?(i._html_setVideo(t),i.html.active=!0,i.flash.active=!1):(i._flash_setVideo(t),i.html.active=!1,i.flash.active=!0),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i.status.video=!0):(c?(i._html_setAudio(t),i.html.active=!0,i.flash.active=!1):(i._flash_setAudio(t),i.html.active=!1,i.flash.active=!0),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.hide(),i.status.video=!1),n=!0,!1}}),n?!1:void 0}
321),n?(this._validString(t.poster)?this.htmlElement.poster.src!==t.poster?this.htmlElement.poster.src=t.poster:this.internal.poster.jq.show():this.internal.poster.jq.hide(),this.status.srcSet=!0,this.status.media=e.extend({},t),this._updateButtons(!1),this._updateInterface()):(this.status.srcSet&&!this.status.waitForPlay&&this.pause(),this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.gate=!1,this.html.active=!1,this.flash.active=!1,this._resetStatus(),this._updateInterface(),this._updateButtons(!1),this.internal.poster.jq.hide(),this.html.used&&this.require.video&&this.internal.video.jq.css({width:"0px",height:"0px"}),this.flash.used&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._error({type:e.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:e.jPlayer.errorMsg.NO_SUPPORT,hint:e.jPlayer.errorHint.NO_SUPPORT}))},clearMedia:function(){this._resetStatus(),this._updateButtons(!1),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},play:function(e){e="number"==typeof e?e:NaN,this.status.srcSet?this.html.active?this._html_play(e):this.flash.active&&this._flash_play(e):this._urlNotSetError("play")},videoPlay:function(e){this.play()},pause:function(e){e="number"==typeof e?e:NaN,this.status.srcSet?this.html.active?this._html_pause(e):this.flash.active&&this._flash_pause(e):this._urlNotSetError("pause")},pauseOthers:function(){var t=this
322e.each(this.instances,function(e,i){t.element!==i&&i.data("jPlayer").status.srcSet&&i.jPlayer("pause")})},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(e){e=this._limitValue(e,0,100),this.status.srcSet?this.html.active?this._html_playHead(e):this.flash.active&&this._flash_playHead(e):this._urlNotSetError("playHead")},_muted:function(t){this.options.muted=t,this.html.used&&this._html_mute(t),this.flash.used&&this._flash_mute(t),this.flash.gate&&(this._updateMute(t),this._updateVolume(this.options.volume),this._trigger(e.jPlayer.event.volumechange))},mute:function(e){e=e===t?!0:!!e,this._muted(e)},unmute:function(e){e=e===t?!0:!!e,this._muted(!e)},_updateMute:function(e){e===t&&(e=this.options.muted),this.css.jq.mute.length&&this.css.jq.unmute.length&&(e?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(t){t=this._limitValue(t,0,1),this.options.volume=t,this.html.used&&this._html_volume(t),this.flash.used&&this._flash_volume(t),this.flash.gate&&(this._updateVolume(t),this._trigger(e.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var t=this.css.jq.volumeBar.offset(),i=e.pageX-t.left,s=this.css.jq.volumeBar.width(),a=i/s
323this.volume(a)}this.options.muted&&this._muted(!1)},volumeBarValue:function(e){this.volumeBar(e)},_updateVolume:function(e){e===t&&(e=this.options.volume),e=this.options.muted?0:e,this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.width(100*e+"%")},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(t){var i=this
324this.options.cssSelectorAncestor=t,this._removeUiClass(),this.ancestorJq=t?e(t):[],t&&1!==this.ancestorJq.length&&this._warning({type:e.jPlayer.warning.CSS_SELECTOR_COUNT,context:t,message:e.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:e.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),e.each(this.options.cssSelector,function(e,t){i._cssSelector(e,t)})},_cssSelector:function(t,i){var s=this
325if("string"==typeof i)if(e.jPlayer.prototype.options.cssSelector[t]){if(this.css.jq[t]&&this.css.jq[t].length&&this.css.jq[t].unbind(".jPlayer"),this.options.cssSelector[t]=i,this.css.cs[t]=this.options.cssSelectorAncestor+" "+i,i?this.css.jq[t]=e(this.css.cs[t]):this.css.jq[t]=[],this.css.jq[t].length){var a=function(i){return s[t](i),e(this).blur(),!1}
326this.css.jq[t].bind("click.jPlayer",a)}i&&1!==this.css.jq[t].length&&this._warning({type:e.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[t],message:e.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[t].length+" found for "+t+" method.",hint:e.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:e.jPlayer.warning.CSS_SELECTOR_METHOD,context:t,message:e.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:e.jPlayer.warningHint.CSS_SELECTOR_METHOD})
327else this._warning({type:e.jPlayer.warning.CSS_SELECTOR_STRING,context:i,message:e.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:e.jPlayer.warningHint.CSS_SELECTOR_STRING})},seekBar:function(e){if(this.css.jq.seekBar){var t=this.css.jq.seekBar.offset(),i=e.pageX-t.left,s=this.css.jq.seekBar.width(),a=100*i/s
328this.playHead(a)}},playBar:function(e){this.seekBar(e)},repeat:function(){this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(t){this.options.loop!==t&&(this.options.loop=t,this._updateButtons(),this._trigger(e.jPlayer.event.repeat))},currentTime:function(e){},duration:function(e){},gui:function(e){},option:function(i,s){var a=i
329if(0===arguments.length)return e.extend(!0,{},this.options)
330if("string"==typeof i){var n=i.split(".")
331if(s===t){for(var r=e.extend(!0,{},this.options),o=0;o<n.length;o++){if(r[n[o]]===t)return this._warning({type:e.jPlayer.warning.OPTION_KEY,context:i,message:e.jPlayer.warningMsg.OPTION_KEY,hint:e.jPlayer.warningHint.OPTION_KEY}),t
332r=r[n[o]]}return r}a={}
333for(var l=a,c=0;c<n.length;c++)c<n.length-1?(l[n[c]]={},l=l[n[c]]):l[n[c]]=s}return this._setOptions(a),this},_setOptions:function(t){var i=this
334return e.each(t,function(e,t){i._setOption(e,t)}),this},_setOption:function(t,i){var s=this
335switch(t){case"volume":this.volume(i)
336break
337case"muted":this._muted(i)
338break
339case"cssSelectorAncestor":this._cssSelectorAncestor(i)
340break
341case"cssSelector":e.each(i,function(e,t){s._cssSelector(e,t)})
342break
343case"fullScreen":this.options[t]!==i&&(this._removeUiClass(),this.options[t]=i,this._refreshSize())
344break
345case"size":this.options.fullScreen||this.options[t].cssClass===i.cssClass||this._removeUiClass(),this.options[t]=e.extend({},this.options[t],i),this._refreshSize()
346break
347case"sizeFull":this.options.fullScreen&&this.options[t].cssClass!==i.cssClass&&this._removeUiClass(),this.options[t]=e.extend({},this.options[t],i),this._refreshSize()
348break
349case"autohide":this.options[t]=e.extend({},this.options[t],i),this._updateAutohide()
350break
351case"loop":this._loop(i)
352break
353case"emulateHtml":this.options[t]!==i&&(this.options[t]=i,i?this._emulateHtmlBridge():this._destroyHtmlBridge())}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(e.jPlayer.event.resize)},_setSize:function(){this.options.fullScreen?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(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}),this.status.waitForPlay||(this.html.active&&this.status.video?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.flash.active&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height}))},_updateAutohide:function(){var e=this,t="mousemove.jPlayer",i=".jPlayerAutohide",s=t+i,a=function(){e.css.jq.gui.fadeIn(e.options.autohide.fadeIn,function(){clearTimeout(e.internal.autohideId),e.
353internal.autohideId=setTimeout(function(){e.css.jq.gui.fadeOut(e.options.autohide.fadeOut)},e.options.autohide.hold)})}
354clearTimeout(this.internal.autohideId),this.element.unbind(i),this.css.jq.gui.length&&(this.css.jq.gui.unbind(i),this.options.fullScreen&&this.options.autohide.full||!this.options.fullScreen&&this.options.autohide.restored?(this.element.bind(s,a),this.css.jq.gui.bind(s,a),this.css.jq.gui.hide()):this.css.jq.gui.stop(!0,!0).show())},fullScreen:function(){this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_html_initMedia:function(){this.status.srcSet&&!this.status.waitForPlay&&this.htmlElement.media.pause(),"none"!==this.options.preload&&this._html_load(),this._trigger(e.jPlayer.event.timeupdate)},_html_setAudio:function(t){var i=this
355e.each(this.formats,function(e,s){return i.html.support[s]&&t[s]?(i.status.src=t[s],i.status.format[s]=!0,i.status.formatType=s,!1):void 0}),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia()},_html_setVideo:function(t){var i=this
356e.each(this.formats,function(e,s){return i.html.support[s]&&t[s]?(i.status.src=t[s],i.status.format[s]=!0,i.status.formatType=s,!1):void 0}),this.htmlElement.media=this.htmlElement.video,this._html_initMedia()},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id===this.internal.video.id&&this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause(),this.htmlElement.media.src="",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.src=this.status.src,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(e){var t=this
357if(this._html_load(),this.htmlElement.media.play(),!isNaN(e))try{this.htmlElement.media.currentTime=e}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.play(e)},100))}this._html_checkWaitForPlay()},_html_pause:function(e){var t=this
358if(e>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),this.htmlElement.media.pause(),!isNaN(e))try{this.htmlElement.media.currentTime=e}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.pause(e)},100))}e>0&&this._html_checkWaitForPlay()},_html_playHead:function(e){var t=this
359this._html_load()
360try{if("object"==typeof this.htmlElement.media.seekable&&this.htmlElement.media.seekable.length>0)this.htmlElement.media.currentTime=e*this.htmlElement.media.seekable.end(this.htmlElement.media.seekable.length-1)/100
361else{if(!(this.htmlElement.media.duration>0)||isNaN(this.htmlElement.media.duration))throw"e"
362this.htmlElement.media.currentTime=e*this.htmlElement.media.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.playHead(e)},100))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_volume:function(e){this.html.audio.available&&(this.htmlElement.audio.volume=e),this.html.video.available&&(this.htmlElement.video.volume=e)},_html_mute:function(e){this.html.audio.available&&(this.htmlElement.audio.muted=e),this.html.video.available&&(this.htmlElement.video.muted=e)},_flash_setAudio:function(t){var i=this
363try{e.each(this.formats,function(e,s){if(i.flash.support[s]&&t[s]){switch(s){case"m4a":case"fla":i._getMovie().fl_setAudio_m4a(t[s])
364break
365case"mp3":i._getMovie().fl_setAudio_mp3(t[s])}return i.status.src=t[s],i.status.format[s]=!0,i.status.formatType=s,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(s){this._flashError(s)}},_flash_setVideo:function(t){var i=this
366try{e.each(this.formats,function(e,s){if(i.flash.support[s]&&t[s]){switch(s){case"m4v":case"flv":i._getMovie().fl_setVideo_m4v(t[s])}return i.status.src=t[s],i.status.format[s]=!0,i.status.formatType=s,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(s){this._flashError(s)}},_flash_clearMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"})
367try{this._getMovie().fl_clearMedia()}catch(e){this._flashError(e)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(e){this._flashError(e)}this.status.waitForLoad=!1},_flash_play:function(e){try{this._getMovie().fl_play(e)}catch(t){this._flashError(t)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(e){try{this._getMovie().fl_pause(e)}catch(t){this._flashError(t)}e>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(e){try{this._getMovie().fl_play_head(e)}catch(t){this._flashError(t)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(e){try{this._getMovie().fl_volume(e)}catch(t){this._flashError(t)}},_flash_mute:function(e){try{this._getMovie().fl_mute(e)}catch(t){this._flashError(t)}},_getMovie:function(){return document[this.internal.flash.id]},_checkForFlash:function(e){var t,i=!1
368if(window.ActiveXObject)try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+e),i=!0}catch(s){}else if(navigator.plugins&&navigator.mimeTypes.length>0&&(t=navigator.plugins["Shockwave Flash"])){var a=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")
369a>=e&&(i=!0)}return i},_validString:function(e){return e&&"string"==typeof e},_limitValue:function(e,t,i){return t>e?t:e>i?i:e},_urlNotSetError:function(t){this._error({type:e.jPlayer.error.URL_NOT_SET,context:t,message:e.jPlayer.errorMsg.URL_NOT_SET,hint:e.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(t){var i
370i=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:e.jPlayer.error[i],context:this.internal.flash.swf,message:e.jPlayer.errorMsg[i]+t.message,hint:e.jPlayer.errorHint[i]})},_error:function(t){this._trigger(e.jPlayer.event.error,t),this.options.errorAlerts&&this._alert("Error!"+(t.message?"\n\n"+t.message:"")+(t.hint?"\n\n"+t.hint:"")+"\n\nContext: "+t.context)},_warning:function(i){this._trigger(e.jPlayer.event.warning,t,i),this.options.warningAlerts&&this._alert("Warning!"+(i.message?"\n\n"+i.message:"")+(i.hint?"\n\n"+i.hint:"")+"\n\nContext: "+i.context)},_alert:function(e){alert("jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+e)},_emulateHtmlBridge:function(){var t=this
371e.jPlayer.emulateMethods,e.each(e.jPlayer.emulateMethods.split(/\s+/g),function(e,i){t.internal.domNode[i]=function(e){t[i](e)}}),e.each(e.jPlayer.event,function(i,s){var a=!0
372e.each(e.jPlayer.reservedEvent.split(/\s+/g),function(e,t){return t===i?(a=!1,!1):void 0}),a&&t.element.bind(s+".jPlayer.jPlayerHtml",function(){t._emulateHtmlUpdate()
373var e=document.createEvent("Event")
374e.initEvent(i,!1,!0),t.internal.domNode.dispatchEvent(e)})})},_emulateHtmlUpdate:function(){var t=this
375e.each(e.jPlayer.emulateStatus.split(/\s+/g),function(e,i){t.internal.domNode[i]=t.status[i]}),e.each(e.jPlayer.emulateOptions.split(/\s+/g),function(e,i){t.internal.domNode[i]=t.options[i]})},_destroyHtmlBridge:function(){var t=this
376this.element.unbind(".jPlayerHtml")
377var i=e.jPlayer.emulateMethods+" "+e.jPlayer.emulateStatus+" "+e.jPlayer.emulateOptions
378e.each(i.split(/\s+/g),function(e,i){delete t.internal.domNode[i]})}},e.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"},e.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: ",
378NO_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 "+e.jPlayer.prototype.version.script+" needs Jplayer.swf version "+e.jPlayer.prototype.version.needFlash+" but found "},e.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."},e.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"},e.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."},e.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."}}(jQuery),function(e){var t,i=/<(\/?)(html|head|body|title|base|meta)(\s+[^>]*)?>/gi,s="hd"+ +new Date
379e.htmlDoc=function(a){var n=e(),r=a.replace(i,function(t,i,a,r){var o={}
380return i||(n=n.add("<"+a+"/>"),r&&e.each(e("<div"+r+"/>")[0].attributes,function(e,t){o[t.name]=t.value}),n.eq(-1).attr(o)),"<"+i+"div"+(i?"":' id="'+s+(n.length-1)+'"')+">"})
381return n.length?(t||(t=e("<div/>")),t.html(r),e.each(n,function(e){var i=t.find("#"+s+e).before(n[e])
382n.eq(e).html(i.contents()),i.remove()}),t.children().unwrap()):e(a)}}(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.