PageSourceSearch

https://www.hit104.com/assets/plugins,_ytplayer,_jquery.mb.YTPlaye…js+js,_custom.js.pagespeed.jc.OjaUbiFAod.js

js hit104.com collected 2026-10-06 12:44:08 UTC 87,474 bytes, 5 lines download raw bytes

1var mod_pagespeed_DgI1kHLHow = "/*jquery.mb.YTPlayer 09-01-2016\r\n _ jquery.mb.components \r\n _ email: [email protected] \r\n _ Copyright (c) 2001-2016. Matteo Bicocchi (Pupunzi); \r\n _ blog: http://pupunzi.open-lab.com \r\n _ Open Lab s.r.l., Florence - Italy \r\n */\r\nfunction onYouTubeIframeAPIReady(){ytp.YTAPIReady||(ytp.YTAPIReady=!0,jQuery(document).trigger(\"YTAPIReady\"))}function uncamel(a){return a.replace(/([A-Z])/g,function(a){return\"-\"+a.toLowerCase()})}function setUnit(a,b){return\"string\"!=typeof a||a.match(/^[\\-0-9\\.]+jQuery/)?\"\"+a+b:a}function setFilter(a,b,c){var d=uncamel(b),e=jQuery.browser.mozilla?\"\":jQuery.CSS.sfx;a[e+\"filter\"]=a[e+\"filter\"]||\"\",c=setUnit(c>jQuery.CSS.filters[b].max?jQuery.CSS.filters[b].max:c,jQuery.CSS.filters[b].unit),a[e+\"filter\"]+=d+\"(\"+c+\") \",delete a[b]}var ytp=ytp||{},getYTPVideoID=function(a){var b,c;return a.indexOf(\"youtu.be\")>0?(b=a.substr(a.lastIndexOf(\"/\")+1,a.length),c=b.indexOf(\"?list=\")>0?b.substr(b.lastIndexOf(\"=\"),b.length):null,b=c?b.substr(0,b.lastIndexOf(\"?\")):b):a.indexOf(\"http\")>-1?(b=a.match(/[\\\\?&]v=([^&#]*)/)[1],c=a.indexOf(\"list=\")>0?a.match(/[\\\\?&]list=([^&#]*)/)[1]:null):(b=a.length>15?null:a,c=b?null:a),{videoID:b,playlistID:c}};!function(jQuery,ytp){jQuery.mbYTPlayer={name:\"jquery.mb.YTPlayer\",version:\"2.9.11\",build:\"5806\",author:\"Matteo Bicocchi\",apiKey:\"\",defaults:{containment:\"body\",ratio:\"auto\",videoURL:null,playlistURL:null,startAt:0,stopAt:0,autoPlay:!0,vol:50,addRaster:!1,opacity:1,quality:\"default\",mute:!1,loop:!0,showControls:!0,showAnnotations:!1,showYTLogo:!0,stopMovieOnBlur:!0,realfullscreen:!0,gaTrack:!0,optimizeDisplay:!0,onReady:function(a){}},controls:{play:\"P\",pause:\"p\",mute:\"M\",unmute:\"A\",onlyYT:\"O\",showSite:\"R\",ytLogo:\"Y\"},locationProtocol:\"https:\",buildPlayer:function(options){return this.each(function(){var YTPlayer=this,$YTPlayer=jQuery(YTPlayer);YTPlayer.loop=0,YTPlayer.opt={},YTPlayer.state={},YTPlayer.filtersEnabled=!0,YTPlayer.filters={grayscale:{value:0,unit:\"%\"},hue_rotate:{value:0,unit:\"deg\"},invert:{value:0,unit:\"%\"},opacity:{value:0,unit:\"%\"},saturate:{value:0,unit:\"%\"},sepia:{value:0,unit:\"%\"},brightness:{value:0,unit:\"%\"},contrast:{value:0,unit:\"%\"},blur:{value:0,unit:\"px\"}},$YTPlayer.addClass(\"mb_YTPlayer\");var property=$YTPlayer.data(\"property\")&&\"string\"==typeof $YTPlayer.data(\"property\")?eval(\"(\"+$YTPlayer.data(\"property\")+\")\"):$YTPlayer.data(\"property\");\"undefined\"!=typeof property&&\"undefined\"!=typeof property.vol&&(property.vol=0===property.vol?property.vol=1:property.vol),jQuery.extend(YTPlayer.opt,jQuery.mbYTPlayer.defaults,options,property),YTPlayer.hasChanged||(YTPlayer.defaultOpt={},jQuery.extend(YTPlayer.defaultOpt,jQuery.mbYTPlayer.defaults,options)),\"true\"==YTPlayer.opt.loop&&(YTPlayer.opt.loop=9999),YTPlayer.isRetina=window.retina||window.devicePixelRatio>1;var isIframe=function(){var a=!1;try{self.location.href!=top.location.href&&(a=!0)}catch(b){a=!0}return a};YTPlayer.canGoFullScreen=!(jQuery.browser.msie||jQuery.browser.opera||isIframe()),YTPlayer.canGoFullScreen||(YTPlayer.opt.realfullscreen=!1),$YTPlayer.attr(\"id\")||$YTPlayer.attr(\"id\",\"video_\"+(new Date).getTime());var playerID=\"mbYTP_\"+YTPlayer.id;YTPlayer.isAlone=!1,YTPlayer.hasFocus=!0;var videoID=this.opt.videoURL?getYTPVideoID(this.opt.videoURL).videoID:$YTPlayer.attr(\"href\")?getYTPVideoID($YTPlayer.attr(\"href\")).videoID:!1,playlistID=this.opt.videoURL?getYTPVideoID(this.opt.videoURL).playlistID:$YTPlayer.attr(\"href\")?getYTPVideoID($YTPlayer.attr(\"href\")).playlistID:!1;YTPlayer.videoID=videoID,YTPlayer.playlistID=playlistID,YTPlayer.opt.showAnnotations=YTPlayer.opt.showAnnotations?\"0\":\"3\";var playerVars={autoplay:0,modestbranding:1,controls:0,showinfo:0,rel:0,enablejsapi:1,version:3,playerapiid:playerID,origin:\"*\",allowfullscreen:!0,wmode:\"transparent\",iv_load_policy:YTPlayer.opt.showAnnotations};document.createElement(\"video\").canPlayType&&jQuery.extend(playerVars,{html5:1}),jQuery.browser.msie&&jQuery.browser.version<9&&(this.opt.opacity=1);var playerBox=jQuery(\"<div/>\").attr(\"id\",playerID).addClass(\"playerBox\"),overlay=jQuery(\"<div/>
1\").css({position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\"}).addClass(\"YTPOverlay\");if(YTPlayer.isSelf=\"self\"==YTPlayer.opt.containment,YTPlayer.defaultOpt.containment=YTPlayer.opt.containment=jQuery(\"self\"==YTPlayer.opt.containment?this:YTPlayer.opt.containment),YTPlayer.isBackground=\"body\"==YTPlayer.opt.containment.get(0).tagName.toLowerCase(),!YTPlayer.isBackground||!ytp.backgroundIsInited){var isPlayer=YTPlayer.opt.containment.is(jQuery(this));if(YTPlayer.canPlayOnMobile=isPlayer&&0===jQuery(this).children().length,isPlayer?YTPlayer.isPlayer=!0:$YTPlayer.hide(),jQuery.browser.mobile&&!YTPlayer.canPlayOnMobile)return void $YTPlayer.remove();var wrapper=jQuery(\"<div/>\").addClass(\"mbYTP_wrapper\").attr(\"id\",\"wrapper_\"+playerID);if(wrapper.css({position:\"absolute\",zIndex:0,minWidth:\"100%\",minHeight:\"100%\",left:0,top:0,overflow:\"hidden\",opacity:0}),playerBox.css({position:\"absolute\",zIndex:0,width:\"100%\",height:\"100%\",top:0,left:0,overflow:\"hidden\"}),wrapper.append(playerBox),YTPlayer.opt.containment.children().not(\"script, style\").each(function(){\"static\"==jQuery(this).css(\"position\")&&jQuery(this).css(\"position\",\"relative\")}),YTPlayer.isBackground?(jQuery(\"body\").css({boxSizing:\"border-box\"}),wrapper.css({position:\"fixed\",top:0,left:0,zIndex:0}),$YTPlayer.hide()):\"static\"==YTPlayer.opt.containment.css(\"position\")&&YTPlayer.opt.containment.css({position:\"relative\"}),YTPlayer.opt.containment.prepend(wrapper),YTPlayer.wrapper=wrapper,playerBox.css({opacity:1}),jQuery.browser.mobile||(playerBox.after(overlay),YTPlayer.overlay=overlay),YTPlayer.isBackground||overlay.on(\"mouseenter\",function(){YTPlayer.controlBar&&YTPlayer.controlBar.addClass(\"visible\")}).on(\"mouseleave\",function(){YTPlayer.controlBar&&YTPlayer.controlBar.removeClass(\"visible\")}),ytp.YTAPIReady)setTimeout(function(){jQuery(document).trigger(\"YTAPIReady\")},100);else{jQuery(\"#YTAPI\").remove();var tag=jQuery(\"\u003cscript><\/script>\").attr({src:jQuery.mbYTPlayer.locationProtocol+\"//www.youtube.com/iframe_api?v=\"+jQuery.mbYTPlayer.version,id:\"YTAPI\"});jQuery(\"head\").prepend(tag)}jQuery(document).on(\"YTAPIReady\",function(){YTPlayer.isBackground&&ytp.backgroundIsInited||YTPlayer.isInit||(YTPlayer.isBackground&&(ytp.backgroundIsInited=!0),YTPlayer.opt.autoPlay=\"undefined\"==typeof YTPlayer.opt.autoPlay?YTPlayer.isBackground?!0:!1:YTPlayer.opt.autoPlay,YTPlayer.opt.vol=YTPlayer.opt.vol?YTPlayer.opt.vol:100,jQuery.mbYTPlayer.getDataFromAPI(YTPlayer),jQuery(YTPlayer).on(\"YTPChanged\",function(){if(!YTPlayer.isInit){if(YTPlayer.isInit=!0,jQuery.browser.mobile&&YTPlayer.canPlayOnMobile){if(YTPlayer.opt.containment.outerWidth()>jQuery(window).width()){YTPlayer.opt.containment.css({maxWidth:\"100%\"});var h=.6*YTPlayer.opt.containment.outerWidth();YTPlayer.opt.containment.css({maxHeight:h})}return void new YT.Player(playerID,{videoId:YTPlayer.videoID.toString(),height:\"100%\",width:\"100%\",events:{onReady:function(a){YTPlayer.player=a.target,playerBox.css({opacity:1}),YTPlayer.wrapper.css({opacity:1})}}})}new YT.Player(playerID,{videoId:YTPlayer.videoID.toString(),playerVars:playerVars,events:{onReady:function(a){YTPlayer.player=a.target,YTPlayer.isReady||(YTPlayer.isReady=YTPlayer.isPlayer&&!YTPlayer.opt.autoPlay?!1:!0,YTPlayer.playerEl=YTPlayer.player.getIframe(),jQuery(YTPlayer.playerEl).unselectable(),$YTPlayer.optimizeDisplay(),YTPlayer.videoID=videoID,jQuery(window).off(\"resize.YTP\").on(\"resize.YTP\",function(){$YTPlayer.optimizeDisplay()}),jQuery.mbYTPlayer.checkForState(YTPlayer))},onStateChange:function(event){if(\"function\"==typeof event.target.getPlayerState){var state=event.target.getPlayerState();if(YTPlayer.state!=state){if(YTPlayer.preventTrigger)return void(YTPlayer.preventTrigger=!1);YTPlayer.state=state;var eventType;switch(state){case-1:eventType=\"YTPUnstarted\";break;case 0:eventType=\"YTPEnd\";break;case 1:eventType=\"YTPPlay\",YTPlayer.controlBar&&YTPlayer.controlBar.find(\".mb_YTPPlaypause\").html(jQuery.mbYTPlayer.controls.pause),\"undefined\"!=typeof _gaq&&eval(YTPlayer.opt.gaTrack)&&_gaq.pu
1sh([\"_trackEvent\",\"YTPlayer\",\"Play\",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString()]),\"undefined\"!=typeof ga&&eval(YTPlayer.opt.gaTrack)&&ga(\"send\",\"event\",\"YTPlayer\",\"play\",YTPlayer.hasData?YTPlayer.videoData.title:YTPlayer.videoID.toString());break;case 2:eventType=\"YTPPause\",YTPlayer.controlBar&&YTPlayer.controlBar.find(\".mb_YTPPlaypause\").html(jQuery.mbYTPlayer.controls.play);break;case 3:YTPlayer.player.setPlaybackQuality(YTPlayer.opt.quality),eventType=\"YTPBuffering\",YTPlayer.controlBar&&YTPlayer.controlBar.find(\".mb_YTPPlaypause\").html(jQuery.mbYTPlayer.controls.play);break;case 5:eventType=\"YTPCued\"}var YTPEvent=jQuery.Event(eventType);YTPEvent.time=YTPlayer.player.time,YTPlayer.canTrigger&&jQuery(YTPlayer).trigger(YTPEvent)}}},onPlaybackQualityChange:function(a){var b=a.target.getPlaybackQuality(),c=jQuery.Event(\"YTPQualityChange\");c.quality=b,jQuery(YTPlayer).trigger(c)},onError:function(a){150==a.data&&(console.log(\"Embedding this video is restricted by Youtube.\"),YTPlayer.isPlayList&&jQuery(YTPlayer).playNext()),2==a.data&&YTPlayer.isPlayList&&jQuery(YTPlayer).playNext(),\"function\"==typeof YTPlayer.opt.onError&&YTPlayer.opt.onError($YTPlayer,a)}}})}}))})}})},getDataFromAPI:function(a){if(a.videoData=jQuery.mbStorage.get(\"YTPlayer_data_\"+a.videoID),jQuery(a).off(\"YTPData.YTPlayer\").on(\"YTPData.YTPlayer\",function(){if(a.hasData&&a.isPlayer&&!a.opt.autoPlay){var b=a.videoData.thumb_max||a.videoData.thumb_high||a.videoData.thumb_medium;a.opt.containment.css({background:\"rgba(0,0,0,0.5) url(\"+b+\") center center\",backgroundSize:\"cover\"}),a.opt.backgroundUrl=b}}),a.videoData)setTimeout(function(){a.opt.ratio=\"auto\"==a.opt.ratio?\"16/9\":a.opt.ratio,a.dataReceived=!0,jQuery(a).trigger(\"YTPChanged\");var b=jQuery.Event(\"YTPData\");b.prop={};for(var c in a.videoData)b.prop[c]=a.videoData[c];jQuery(a).trigger(b)},500),a.hasData=!0;else if(jQuery.mbYTPlayer.apiKey)jQuery.getJSON(jQuery.mbYTPlayer.locationProtocol+\"//www.googleapis.com/youtube/v3/videos?id=\"+a.videoID+\"&key=\"+jQuery.mbYTPlayer.apiKey+\"&part=snippet\",function(b){function c(b){a.videoData={},a.videoData.id=a.videoID,a.videoData.channelTitle=b.channelTitle,a.videoData.title=b.title,a.videoData.description=b.description.length<400?b.description:b.description.substring(0,400)+\" ...\",a.videoData.aspectratio=\"auto\"==a.opt.ratio?\"16/9\":a.opt.ratio,a.opt.ratio=a.videoData.aspectratio,a.videoData.thumb_max=b.thumbnails.maxres?b.thumbnails.maxres.url:null,a.videoData.thumb_high=b.thumbnails.high?b.thumbnails.high.url:null,a.videoData.thumb_medium=b.thumbnails.medium?b.thumbnails.medium.url:null,jQuery.mbStorage.set(\"YTPlayer_data_\"+a.videoID,a.videoData)}a.dataReceived=!0,jQuery(a).trigger(\"YTPChanged\"),c(b.items[0].snippet),a.hasData=!0;var d=jQuery.Event(\"YTPData\");d.prop={};for(var e in a.videoData)d.prop[e]=a.videoData[e];jQuery(a).trigger(d)});else{if(setTimeout(function(){jQuery(a).trigger(\"YTPChanged\")},50),a.isPlayer&&!a.opt.autoPlay){var b=jQuery.mbYTPlayer.locationProtocol+\"//i.ytimg.com/vi/\"+a.videoID+\"/hqdefault.jpg\";a.opt.containment.css({background:\"rgba(0,0,0,0.5) url(\"+b+\") center center\",backgroundSize:\"cover\"}),a.opt.backgroundUrl=b}a.videoData=null,a.opt.ratio=\"auto\"==a.opt.ratio?\"16/9\":a.opt.ratio}a.isPlayer&&!a.opt.autoPlay&&(a.loading=jQuery(\"<div/>\").addClass(\"loading\").html(\"Loading\").hide(),jQuery(a).append(a.loading),a.loading.fadeIn())},removeStoredData:function(){jQuery.mbStorage.remove()},getVideoData:function(){var a=this.get(0);return a.videoData},getVideoID:function(){var a=this.get(0);return a.videoID||!1},setVideoQuality:function(a){var b=this.get(0);b.player.setPlaybackQuality(a)},playlist:function(a,b,c){var d=this,e=d.get(0);return e.isPlayList=!0,b&&(a=jQuery.shuffle(a)),e.videoID||(e.videos=a,e.videoCounter=0,e.videoLength=a.length,jQuery(e).data(\"property\",a[0]),jQuery(e).mb_YTPlayer()),\"function\"==typeof c&&jQuery(e).one(\"YTPChanged\",function(){c(e)}),jQuery(e).on(\"YTPEnd\",function(){jQuery(e).playNext()}),d},playNext:function(){var a=this.get(0);return a.videoCounter++,a.videoCounter>=a.videoLength&&(a.videoCounter=0),jQuery(a).changeMovie(a.videos[a.videoCounter]),this},playPrev:function(){var a=this.get(0);return a.videoCounter--,a.videoCounter<0&&(a.videoCounter=a.videoLength-1),jQuery(a).changeMovie(a.videos[a.videoCounter]),this},changeMovie:function(a){var b=this.get(0);b.opt.startAt=0,b.opt.stopAt=0,b.opt.mute=!0,b.hasData=!1,b.hasChanged=!0,b.player.loopTime=void 0,a&&jQuery.extend(b.o
1pt,b.defaultOpt,a),b.videoID=getYTPVideoID(b.opt.videoURL).videoID,\"true\"==b.opt.loop&&(b.opt.loop=9999),jQuery(b.playerEl).CSSAnimate({opacity:0},200,function(){var a=jQuery.Event(\"YTPChangeMovie\");return a.time=b.player.time,a.videoId=b.videoID,jQuery(b).trigger(a),jQuery(b).YTPGetPlayer().cueVideoByUrl(encodeURI(jQuery.mbYTPlayer.locationProtocol+\"//www.youtube.com/v/\"+b.videoID),1,b.opt.quality),jQuery(b).optimizeDisplay(),jQuery.mbYTPlayer.checkForState(b),jQuery.mbYTPlayer.getDataFromAPI(b),this})},getPlayer:function(){return jQuery(this).get(0).player},playerDestroy:function(){var a=this.get(0);ytp.YTAPIReady=!1,ytp.backgroundIsInited=!1,a.isInit=!1,a.videoID=null;var b=a.wrapper;return b.remove(),jQuery(\"#controlBar_\"+a.id).remove(),clearInterval(a.checkForStartAt),clearInterval(a.getState),this},fullscreen:function(real){function hideMouse(){YTPlayer.overlay.css({cursor:\"none\"})}function RunPrefixMethod(a,b){for(var c,d,e=[\"webkit\",\"moz\",\"ms\",\"o\",\"\"],f=0;f<e.length&&!a[c];){if(c=b,\"\"==e[f]&&(c=c.substr(0,1).toLowerCase()+c.substr(1)),c=e[f]+c,d=typeof a[c],\"undefined\"!=d)return e=[e[f]],\"function\"==d?a[c]():a[c];f++}}function launchFullscreen(a){RunPrefixMethod(a,\"RequestFullScreen\")}function cancelFullscreen(){(RunPrefixMethod(document,\"FullScreen\")||RunPrefixMethod(document,\"IsFullScreen\"))&&RunPrefixMethod(document,\"CancelFullScreen\")}var YTPlayer=this.get(0);\"undefined\"==typeof real&&(real=YTPlayer.opt.realfullscreen),real=eval(real);var controls=jQuery(\"#controlBar_\"+YTPlayer.id),fullScreenBtn=controls.find(\".mb_OnlyYT\"),videoWrapper=YTPlayer.isSelf?YTPlayer.opt.containment:YTPlayer.wrapper;if(real){var fullscreenchange=jQuery.browser.mozilla?\"mozfullscreenchange\":jQuery.browser.webkit?\"webkitfullscreenchange\":\"fullscreenchange\";jQuery(document).off(fullscreenchange).on(fullscreenchange,function(){var a=RunPrefixMethod(document,\"IsFullScreen\")||RunPrefixMethod(document,\"FullScreen\");a?(jQuery(YTPlayer).YTPSetVideoQuality(\"default\"),jQuery(YTPlayer).trigger(\"YTPFullScreenStart\")):(YTPlayer.isAlone=!1,fullScreenBtn.html(jQuery.mbYTPlayer.controls.onlyYT),jQuery(YTPlayer).YTPSetVideoQuality(YTPlayer.opt.quality),videoWrapper.removeClass(\"fullscreen\"),videoWrapper.CSSAnimate({opacity:YTPlayer.opt.opacity},500),videoWrapper.css({zIndex:0}),YTPlayer.isBackground?jQuery(\"body\").after(controls):YTPlayer.wrapper.before(controls),jQuery(window).resize(),jQuery(YTPlayer).trigger(\"YTPFullScreenEnd\"))})}return YTPlayer.isAlone?(jQuery(document).off(\"mousemove.YTPlayer\"),YTPlayer.overlay.css({cursor:\"auto\"}),real?cancelFullscreen():(videoWrapper.CSSAnimate({opacity:YTPlayer.opt.opacity},500),videoWrapper.css({zIndex:0})),fullScreenBtn.html(jQuery.mbYTPlayer.controls.onlyYT),YTPlayer.isAlone=!1):(jQuery(document).on(\"mousemove.YTPlayer\",function(a){YTPlayer.overlay.css({cursor:\"auto\"}),clearTimeout(YTPlayer.hideCursor),jQuery(a.target).parents().is(\".mb_YTPBar\")||(YTPlayer.hideCursor=setTimeout(hideMouse,3e3))}),hideMouse(),real?(videoWrapper.css({opacity:0}),videoWrapper.addClass(\"fullscreen\"),launchFullscreen(videoWrapper.get(0)),setTimeout(function(){videoWrapper.CSSAnimate({opacity:1},1e3),YTPlayer.wrapper.append(controls),jQuery(YTPlayer).optimizeDisplay(),YTPlayer.player.seekTo(YTPlayer.player.getCurrentTime()+.1,!0)},500)):videoWrapper.css({zIndex:1e4}).CSSAnimate({opacity:1},1e3),fullScreenBtn.html(jQuery.mbYTPlayer.controls.showSite),YTPlayer.isAlone=!0),this},toggleLoops:function(){var a=this.get(0),b=a.opt;return 1==b.loop?b.loop=0:(b.startAt?a.player.seekTo(b.startAt):a.player.playVideo(),b.loop=1),this},play:function(){var a=this.get(0);if(a.isReady)return a.player.playVideo(),a.wrapper.CSSAnimate({opacity:a.isAlone?1:a.opt.opacity},2e3),jQuery(a.playerEl).CSSAnimate({opacity:1},1e3),jQuery(a).css(\"background-image\",\"none\"),this},togglePlay:function(a){var b=this.get(0);return 1==b.state?this.YTPPause():this.YTPPlay(),\"function\"==typeof a&&a(b.state),this},stop:function(){var a=this.get(0),b=jQuery(\"#controlBar_\"+a.id),c=b.find(\".mb_YTPPlaypause\");return c.html(jQuery.mbYTPlayer.controls.play),a.player.stopVideo(),this},pause:function(){var a=this.get(0);return a.player.pauseVideo(),this},seekTo:function(a){var b=this.get(0);return b.player.seekTo(a,!0),this},setVolume:function(a){var b=this.get(0);return a||b.opt.vol||0!=b.player.getVolume()?!a&&b.player.getVolume()>0||a&&b.opt.vol==a?b.isMute?jQuery(b).YTPUnmute():jQuery(b).YTPMute():(b.opt.vol=a,b.player.setVolume(b.opt.vol),b.volumeBar&&b.volumeBar.length&&b.volumeBar.updateSliderVal(a)):jQuery(b).YTPUnmute(),this},mute:function(){var a=this.get(0);if(!a.isMute){a.player.mute(),a.isMute=!0,a.player.setVolume(0),a.volumeBar&&a.volumeBar.length&&a.volumeBar.width()>10&&a.volumeBar.updateSliderVal(0);var b=jQuery(\"#controlBar_\"+a.id),c=b.find(\".mb_YTPMuteUnmute\");c.html(jQuery.mbYTPlayer.controls.unmute),jQuery(a).addClass(\"isMuted\"),a.volumeBar&&a.volumeBar.length&&a.volumeBar.addClass(\"muted\");var d=jQuery.Event(\"YTPMuted\");return d.time=a.player.time,a.canTrigger&&jQuery(a).trigger(d),this}},unmute:function(){var a=this.get(0);if(a.isMute){a.player.unMute(),a.isMute=!1,a.player.setVolume(a.opt.vol),a.volumeBar&&a.volumeBar.length&&a.volumeBar.updateSliderVal(a.opt.vol>10?a.opt.vol:10);var b=jQuery(\"#controlBar_\"+a.id),c=b.find(\".mb_YTPMuteUnmute\");c.html(jQuery.mbYTPlayer.controls.mute),jQuery(a).removeClass(\"isMuted\"),a.volumeBar&&a.volumeBar.length&&a.volumeBar.removeClass(\"muted\");var d=jQuery.Event(\"YTPUnmuted\");return d.time=a.player.time,a.canTrigger&&jQuery(a).trigger(d),this}},applyFilter:function(a,b){var c=this.get(0);return c.filters[a].value=b,c.filtersEnabled&&this.YTPEnableFilters(),this},applyFilters:function(a){var b=this.get(0);return this.on(\"YTPReady\",function(){for(var c in a)b.filters[c].value=a[c],jQuery(b).YTPApplyFilter(c,a[c]);jQuery(b).trigger(\"YTPFiltersApplied\")}),this},toggleFilter:function(a,b){return this.each(function(){var c=this;c.filters[a].value?c.filters[a].value=0:c.filters[a].value=b,c.filtersEnabled&&jQuery(this).YTPEnableFilters()})},toggleFilters:function(a){return this.each(function(){var b=this;b.filtersEnabled?(jQuery(b).trigger(\"YTPDisableFilters\"),jQuery(b).YTPDisableFilters()):(jQuery(b).YTPEnableFilters(),jQuery(b).trigger(\"YTPEnableFilters\")),\"function\"==typeof a&&a(b.filtersEnabled)})},disableFilters:function(){return this.each(function(){var a=this,b=jQuery(a.playerEl);b.css(\"-webkit-filter\",\"\"),b.css(\"filter\",\"\"),a.filtersEnabled=!1})},enableFilters:function(){return this.each(function(){var a=this,b=jQuery(a.playerEl),c=\"\";for(var d in a.filters)a.filters[d].value&&(c+=d.replace(\"_\",\"-\")+\"(\"+a.filters[d].value+a.filters[d].unit+\") \");b.css(\"-webkit-filter\",c),b.css(\"filter\",c),a.filtersEnabled=!0})},removeFilter:function(a,b){return this.each(function(){\"function\"==typeof a&&(b=a,a=null);var c=this;if(a)jQuery(this).YTPApplyFilter(a,0),\"function\"==typeof b&&b(a);else for(var d in c.filters)jQuery(this).YTPApplyFilter(d,0),\"function\"==typeof b&&b(d)})},manageProgress:function(){var a=this.get(0),b=jQuery(\"#controlBar_\"+a.id),c=b.find(\".mb_YTPProgress\"),d=b.find(\".mb_YTPLoaded\"),e=b.find(\".mb_YTPseekbar\"),f=c.outerWidth(),g=Math.floor(a.player.getCurrentTime()),h=Math.floor(a.player.getDuration()),i=g*f/h,j=0,k=100*a.player.getVideoLoadedFraction();return d.css({left:j,width:k+\"%\"}),e.css({left:0,width:i}),{totalTime:h,currentTime:g}},buildControls:function(YTPlayer){var data=YTPlayer.opt;if(data.showYTLogo=data.showYTLogo||data.printUrl,!jQuery(\"#controlBar_\"+YTPlayer.id).length){YTPlayer.controlBar=jQuery(\"<span/>\").attr(\"id\",\"controlBar_\"+YTPlayer.id).addClass(\"mb_YTPBar\").css({whiteSpace:\"noWrap\",position:YTPlayer.isBackgroun
1d?\"fixed\":\"absolute\",zIndex:YTPlayer.isBackground?1e4:1e3}).hide();var buttonBar=jQuery(\"<div/>\").addClass(\"buttonBar\"),playpause=jQuery(\"<span>\"+jQuery.mbYTPlayer.controls.play+\"</span>\").addClass(\"mb_YTPPlaypause ytpicon\").click(function(){1==YTPlayer.player.getPlayerState()?jQuery(YTPlayer).YTPPause():jQuery(YTPlayer).YTPPlay()}),MuteUnmute=jQuery(\"<span>\"+jQuery.mbYTPlayer.controls.mute+\"</span>\").addClass(\"mb_YTPMuteUnmute ytpicon\").click(function(){0==YTPlayer.player.getVolume()?jQuery(YTPlayer).YTPUnmute():jQuery(YTPlayer).YTPMute()}),volumeBar=jQuery(\"<div/>\").addClass(\"mb_YTPVolumeBar\").css({display:\"inline-block\"});YTPlayer.volumeBar=volumeBar;var idx=jQuery(\"<span/>\").addClass(\"mb_YTPTime\"),vURL=data.videoURL?data.videoURL:\"\";vURL.indexOf(\"http\")<0&&(vURL=jQuery.mbYTPlayer.locationProtocol+\"//www.youtube.com/watch?v=\"+data.videoURL);var movieUrl=jQuery(\"<span/>\").html(jQuery.mbYTPlayer.controls.ytLogo).addClass(\"mb_YTPUrl ytpicon\").attr(\"title\",\"view on YouTube\").on(\"click\",function(){window.open(vURL,\"viewOnYT\")}),onlyVideo=jQuery(\"<span/>\").html(jQuery.mbYTPlayer.controls.onlyYT).addClass(\"mb_OnlyYT ytpicon\").on(\"click\",function(){jQuery(YTPlayer).YTPFullscreen(data.realfullscreen)}),progressBar=jQuery(\"<div/>\").addClass(\"mb_YTPProgress\").css(\"position\",\"absolute\").click(function(a){timeBar.css({width:a.clientX-timeBar.offset().left}),YTPlayer.timeW=a.clientX-timeBar.offset().left,YTPlayer.controlBar.find(\".mb_YTPLoaded\").css({width:0});var b=Math.floor(YTPlayer.player.getDuration());YTPlayer[\"goto\"]=timeBar.outerWidth()*b/progressBar.outerWidth(),YTPlayer.player.seekTo(parseFloat(YTPlayer[\"goto\"]),!0),YTPlayer.controlBar.find(\".mb_YTPLoaded\").css({width:0})}),loadedBar=jQuery(\"<div/>\").addClass(\"mb_YTPLoaded\").css(\"position\",\"absolute\"),timeBar=jQuery(\"<div/>\").addClass(\"mb_YTPseekbar\").css(\"position\",\"absolute\");progressBar.append(loadedBar).append(timeBar),buttonBar.append(playpause).append(MuteUnmute).append(volumeBar).append(idx),data.showYTLogo&&buttonBar.append(movieUrl),(YTPlayer.isBackground||eval(YTPlayer.opt.realfullscreen)&&!YTPlayer.isBackground)&&buttonBar.append(onlyVideo),YTPlayer.controlBar.append(buttonBar).append(progressBar),YTPlayer.isBackground?jQuery(\"body\").after(YTPlayer.controlBar):(YTPlayer.controlBar.addClass(\"inlinePlayer\"),YTPlayer.wrapper.before(YTPlayer.controlBar)),volumeBar.simpleSlider({initialval:YTPlayer.opt.vol,scale:100,orientation:\"h\",callback:function(a){0==a.value?jQuery(YTPlayer).YTPMute():jQuery(YTPlayer).YTPUnmute(),YTPlayer.player.setVolume(a.value),YTPlayer.isMute||(YTPlayer.opt.vol=a.value)}})}},checkForState:function(YTPlayer){var interval=YTPlayer.opt.showControls?100:400;return clearInterval(YTPlayer.getState),jQuery.contains(document,YTPlayer)?(jQuery.mbYTPlayer.checkForStart(YTPlayer),void(YTPlayer.getState=setInterval(function(){var prog=jQuery(YTPlayer).YTPManageProgress(),$YTPlayer=jQuery(YTPlayer),data=YTPlayer.opt,startAt=YTPlayer.opt.startAt?YTPlayer.opt.startAt:0,stopAt=YTPlayer.opt.stopAt>YTPlayer.opt.startAt?YTPlayer.opt.stopAt:0;if(stopAt=stopAt<YTPlayer.player.getDuration()?stopAt:0,YTPlayer.player.time!=prog.currentTime){var YTPEvent=jQuery.Event(\"YTPTime\");YTPEvent.time=YTPlayer.player.time,jQuery(YTPlayer).trigger(YTPEvent)}if(YTPlayer.player.time=prog.currentTime,0==YTPlayer.player.getVolume()?$YTPlayer.addClass(\"isMuted\"):$YTPlayer.removeClass(\"isMuted\"),YTPlayer.opt.showControls&&(prog.totalTime?YTPlayer.controlBar.find(\".mb_YTPTime\").html(jQuery.mbYTPlayer.formatTime(prog.currentTime)+\" / \"+jQuery.mbYTPlayer.formatTime(prog.totalTime)):YTPlayer.controlBar.find(\".mb_YTPTime\").html(\"-- : -- / -- : --\")),eval(YTPlayer.opt.stopMovieOnBlur)&&(document.hasFocus()?document.hasFocus()&&!YTPlayer.hasFocus&&-1!=YTPlayer.state&&0!=YTPlayer.state&&(YTPlayer.hasFocus=!0,$YTPlayer.YTPPlay()):1==YTPlayer.state&&(YTPlayer.hasFocus=!1,$YTPlayer.YTPPause())),YTPlayer.controlBar&&YTPlayer.controlBar.outerWidth()<=400&&!YTPlayer.isCompact?(YTPlayer.controlBar.addClass(\"compact\"),YTPlayer.isCompact=!0,!YTPlayer.isMute&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol)):YTPlayer.controlBar&&YTPlayer.controlBar.outerWidth()>400&&YTPlayer.isCompact&&(YTPlayer.controlBar.removeClass(\"compact\"),YTPlayer.isCompact=!1,!YTPlayer.isMute&&YTPlayer.volumeBar&&YTPlayer.volumeBar.updateSliderVal(YTPlayer.opt.vol)),1==YTPlayer.player.getPlayerState()&&(parseFloat(YTPlayer.player.getDuration()-1.5)<YTPlayer.player.getCurrentTime()||stopAt>0&&parseFloat(YTPlayer.player.getCurrentTime())>stopAt)){if(YTPlayer.isEnded)return;if(YTPlayer.isEnded=!0,setTimeout(function(){YTPlayer.isEnded=!1},1e3),YTPlayer.isPlayList){if(!data.loop||data.loop>0&&YTPlayer.player.loopTime===data.loop-1){YTPlayer.player.loopTime=void 0,clearInterval(YTPlayer.getState);var YTPEnd=jQuery.Event(\"YTPEnd\");return YTPEnd.time=YTPlayer.player.time,jQuery(YTPlayer).trigger(YTPEnd),void(YTPlayer.state=0)}}else if(!data.loop||data.loop>0&&YTPlayer.player.loopTime===data.loop-1)return YTPlayer.player.loopTime=void 0,YTPlayer.preventTrigger=!0,jQuery(YTPlayer).YTPPause(),YTPlayer.state=0,void YTPlayer.wrapper.CSSAnimate({opacity:0}
1,500,function(){YTPlayer.controlBar&&YTPlayer.controlBar.find(\".mb_YTPPlaypause\").html(jQuery.mbYTPlayer.controls.play);var a=jQuery.Event(\"YTPEnd\");a.time=YTPlayer.player.time,jQuery(YTPlayer).trigger(a),YTPlayer.player.seekTo(startAt,!0),YTPlayer.isBackground||YTPlayer.opt.containment.css({background:\"rgba(0,0,0,0.5) url(\"+YTPlayer.opt.backgroundUrl+\") center center\",backgroundSize:\"cover\"})});YTPlayer.player.loopTime=YTPlayer.player.loopTime?++YTPlayer.player.loopTime:1,startAt=startAt||0,YTPlayer.preventTrigger=!0,jQuery(YTPlayer).YTPPause(),YTPlayer.player.seekTo(startAt,!0),$YTPlayer.YTPPlay()}},interval))):(jQuery(YTPlayer).YTPPlayerDestroy(),clearInterval(YTPlayer.getState),void clearInterval(YTPlayer.checkForStartAt))},checkForStart:function(a){var b=jQuery(a);if(!jQuery.contains(document,a))return void jQuery(a).YTPPlayerDestroy();if(a.preventTrigger=!0,jQuery(a).YTPPause(),jQuery(a).muteYTPVolume(),jQuery(\"#controlBar_\"+a.id).remove(),a.opt.showControls&&jQuery.mbYTPlayer.buildControls(a),a.opt.addRaster){var c=\"dot\"==a.opt.addRaster?\"raster-dot\":\"raster\";a.overlay.addClass(a.isRetina?c+\" retina\":c)}else a.overlay.removeClass(function(a,b){var c=b.split(\" \"),d=[];return jQuery.each(c,function(a,b){/raster.*/.test(b)&&d.push(b)}),d.push(\"retina\"),d.join(\" \")});var d=a.opt.startAt?a.opt.startAt:0;a.player.playVideo(),a.player.seekTo(d,!0),a.checkForStartAt=setInterval(function(){jQuery(a).YTPMute();var c=a.player.getVideoLoadedFraction()>=d/a.player.getDuration();if(a.player.getDuration()>0&&a.player.getCurrentTime()>=d&&c){clearInterval(a.checkForStartAt),a.isReady=!0,\"function\"==typeof a.opt.onReady&&a.opt.onReady(a);var e=jQuery.Event(\"YTPReady\");if(e.time=a.player.time,jQuery(a).trigger(e),a.preventTrigger=!0,jQuery(a).YTPPause(),a.opt.mute||jQuery(a).YTPUnmute(),a.canTrigger=!0,a.opt.autoPlay){b.YTPPlay();var f=jQuery.Event(\"YTPStart\");f.time=a.player.time,jQuery(a).trigger(f),b.css(\"background-image\",\"none\"),jQuery(a.playerEl).CSSAnimate({opacity:1},1e3),a.wrapper.CSSAnimate({opacity:a.isAlone?1:a.opt.opacity},1e3)}else b.YTPPause(),a.isPlayer||(jQuery(a.playerEl).CSSAnimate({opacity:1},500),a.wrapper.CSSAnimate({opacity:a.isAlone?1:a.opt.opacity},500));a.isPlayer&&!a.opt.autoPlay&&(a.loading.html(\"Ready\"),setTimeout(function(){a.loading.fadeOut()},100)),a.controlBar&&a.controlBar.slideDown(1e3)}else jQuery.browser.safari},1)},formatTime:function(a){var b=Math.floor(a/60),c=Math.floor(a-60*b);return(9>=b?\"0\"+b:b)+\" : \"+(9>=c?\"0\"+c:c)}},jQuery.fn.toggleVolume=function(){var a=this.get(0);if(a)return a.player.isMuted()?(jQuery(a).YTPUnmute(),!0):(jQuery(a).YTPMute(),!1)},jQuery.fn.optimizeDisplay=function(){var a=this.get(0),b=a.opt,c=jQuery(a.playerEl),d={},e=a.wrapper;d.width=e.outerWidth(),d.height=e.outerHeight();var f=24,g=100,h={};b.optimizeDisplay?(h.width=d.width+d.width*f/100,h.height=\"16/9\"==b.ratio?Math.ceil(9*d.width/16):Math.ceil(3*d.width/4),h.marginTop=-((h.height-d.height)/2),h.marginLeft=-(d.width*(f/2)/100),h.height<d.height&&(h.height=d.height+d.height*f/100,h.width=\"16/9\"==b.ratio?Math.floor(16*d.height/9):Math.floor(4*d.height/3),h.marginTop=-(d.height*(f/2)/100),h.marginLeft=-((h.width-d.width)/2)),h.width+=g,h.height+=g,h.marginTop-=g/2,h.marginLeft-=g/2):(h.width=\"100%\",h.height=\"100%\",h.marginTop=0,h.marginLeft=0),c.css({width:h.width,height:h.height,marginTop:h.marginTop,marginLeft:h.marginLeft})},jQuery.shuffle=function(a){for(var b=a.slice(),c=b.length,d=c;d--;){var e=parseInt(Math.random()*c),f=b[d];b[d]=b[e],b[e]=f}return b},jQuery.fn.unselectable=function(){return this.each(function(){jQuery(this).css({\"-moz-user-select\":\"none\",\"-webkit-user-select\":\"none\",\"user-select\":\"none\"}).attr(\"unselectable\",\"on\")})},jQuery.fn.YTPlayer=jQuery.mbYTPlayer.buildPlayer,jQuery.fn.YTPGetPlayer=jQuery.mbYTPlayer.getPlayer,jQuery.fn.YTPGetVideoID=jQuery.mbYTPlayer.getVideoID,jQuery.fn.YTPChangeMovie=jQuery.mbYTPlayer.changeMovie,jQuery.fn.YTPPlayerDestroy=jQuery.mbYTPlayer.playerDestroy,jQuery.fn.YTPPlay=jQuery.mbYTPlayer.play,jQuery.fn.YTPTogglePlay=jQuery.mbYTPlayer.togglePlay,jQuery.fn.YTPStop=jQuery.mbYTPlayer.stop,jQuery.fn.YTPPause=jQuery.mbYTPlayer.pause,jQuery.fn.YTPSeekTo=jQuery.mbYTPlayer.seekTo,jQuery.fn.YTPlaylist=jQuery.mbYTPlayer.playlist,jQuery.fn.YTPPlayNext=jQuery.mbYTPlayer.playNext,jQuery.fn.YTPPlayPrev=jQuery.mbYTPlayer.playPrev,jQuery.fn.YTPMute=jQuery.mbYTPlayer.mute,jQuery.fn.YTPUnmute=jQuery.mbYTPlayer.unmute,jQuery.fn.YTPToggleVolume=jQuery.mbYTPlayer.toggleVolume,jQuery.fn.YTPSetVolume=jQuery.mbYTPlayer.setVolume,jQuery.fn.YTPGetVideoData=jQuery.mbYTPlayer.getVideoData,jQuery.fn.YTPFullscreen=jQuery.mbYTPlayer.fullscreen,jQuery.fn.YTPToggleLoops=jQuery.mbYTPlayer.toggleLoops,jQuery.fn.YTPSetVideoQuality=jQuery.mbYTPlayer.setVideoQuality,jQuery.fn.YTPManageProgress=jQuery.mbYTPlayer.manageProgress,jQuery.fn.YTPApplyFilter=jQuery.mbYTPlayer.applyFilter,jQuery.fn.YTPApplyFilters=jQuery.mbYTPlayer.applyFilters,jQuery.fn.YTPToggleFilter=jQuery.mbYTPlayer.toggleFilter,jQuery.fn.YTPToggleFilters=jQuery.mbYTPlayer.toggleFilters,jQuery.fn.YTPRemoveFilter=jQuery.mbYTPlayer.removeFilter,jQuery.fn.YTPDisableFilters=jQuery.mbYTPlayer.disableFilters,jQuery.fn.YTPEnableFilters=jQuery.mbYTPlayer.enableFilters,jQuery.fn.mb_YTPlayer=jQuery.mbYTPlayer.buildPlayer,jQuery.fn.playNext=jQuery.mbYTPlayer.playNext,jQuery.fn.playPrev=jQuery.mbYTPlayer.playPrev,jQuery.fn.changeMovie=jQuery.mbYTPlayer.changeMovie,jQuery.fn.getVideoID=jQuery.mbYTPlayer.getVideoID,jQuery.fn.getPlayer=jQuery.mbYTPlayer.getPlayer,jQuery.fn.playerDe
1stroy=jQuery.mbYTPlayer.playerDestroy,jQuery.fn.fullscreen=jQuery.mbYTPlayer.fullscreen,jQuery.fn.buildYTPControls=jQuery.mbYTPlayer.buildControls,jQuery.fn.playYTP=jQuery.mbYTPlayer.play,jQuery.fn.toggleLoops=jQuery.mbYTPlayer.toggleLoops,jQuery.fn.stopYTP=jQuery.mbYTPlayer.stop,jQuery.fn.pauseYTP=jQuery.mbYTPlayer.pause,jQuery.fn.seekToYTP=jQuery.mbYTPlayer.seekTo,jQuery.fn.muteYTPVolume=jQuery.mbYTPlayer.mute,jQuery.fn.unmuteYTPVolume=jQuery.mbYTPlayer.unmute,jQuery.fn.setYTPVolume=jQuery.mbYTPlayer.setVolume,jQuery.fn.setVideoQuality=jQuery.mbYTPlayer.setVideoQuality,jQuery.fn.manageYTPProgress=jQuery.mbYTPlayer.manageProgress,jQuery.fn.YTPGetDataFromFeed=jQuery.mbYTPlayer.getVideoData}(jQuery,ytp),jQuery.support.CSStransition=function(){var a=document.body||document.documentElement,b=a.style;return void 0!==b.transition||void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.MsTransition||void 0!==b.OTransition}(),jQuery.CSS={name:\"mb.CSSAnimate\",author:\"Matteo Bicocchi\",version:\"2.0.0\",transitionEnd:\"transitionEnd\",sfx:\"\",filters:{blur:{min:0,max:100,unit:\"px\"},brightness:{min:0,max:400,unit:\"%\"},contrast:{min:0,max:400,unit:\"%\"},grayscale:{min:0,max:100,unit:\"%\"},hueRotate:{min:0,max:360,unit:\"deg\"},invert:{min:0,\r\nmax:100,unit:\"%\"},saturate:{min:0,max:400,unit:\"%\"},sepia:{min:0,max:100,unit:\"%\"}},normalizeCss:function(a){var b=jQuery.extend(!0,{},a);jQuery.browser.webkit||jQuery.browser.opera?jQuery.CSS.sfx=\"-webkit-\":jQuery.browser.mozilla?jQuery.CSS.sfx=\"-moz-\":jQuery.browser.msie&&(jQuery.CSS.sfx=\"-ms-\");for(var c in b){\"transform\"===c&&(b[jQuery.CSS.sfx+\"transform\"]=b[c],delete b[c]),\"transform-origin\"===c&&(b[jQuery.CSS.sfx+\"transform-origin\"]=a[c],delete b[c]),\"filter\"!==c||jQuery.browser.mozilla||(b[jQuery.CSS.sfx+\"filter\"]=a[c],delete b[c]),\"blur\"===c&&setFilter(b,\"blur\",a[c]),\"brightness\"===c&&setFilter(b,\"brightness\",a[c]),\"contrast\"
1===c&&setFilter(b,\"contrast\",a[c]),\"grayscale\"===c&&setFilter(b,\"grayscale\",a[c]),\"hueRotate\"===c&&setFilter(b,\"hueRotate\",a[c]),\"invert\"===c&&setFilter(b,\"invert\",a[c]),\"saturate\"===c&&setFilter(b,\"saturate\",a[c]),\"sepia\"===c&&setFilter(b,\"sepia\",a[c]);var d=\"\";\"x\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" translateX(\"+setUnit(a[c],\"px\")+\")\",delete b[c]),\"y\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" translateY(\"+setUnit(a[c],\"px\")+\")\",delete b[c]),\"z\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" translateZ(\"+setUnit(a[c],\"px\")+\")\",delete b[c]),\"rotate\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" rotate(\"+setUnit(a[c],\"deg\")+\")\",delete b[c]),\"rotateX\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" rotateX(\"+setUnit(a[c],\"deg\")+\")\",delete b[c]),\"rotateY\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" rotateY(\"+setUnit(a[c],\"deg\")+\")\",delete b[c]),\"rotateZ\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" rotateZ(\"+setUnit(a[c],\"deg\")+\")\",delete b[c]),\"scale\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" scale(\"+setUnit(a[c],\"\")+\")\",delete b[c]),\"scaleX\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" scaleX(\"+setUnit(a[c],\"\")+\")\",delete b[c]),\"scaleY\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" scaleY(\"+setUnit(a[c],\"\")+\")\",delete b[c]),\"scaleZ\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" scaleZ(\"+setUnit(a[c],\"\")+\")\",delete b[c]),\"skew\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" skew(\"+setUnit(a[c],\"deg\")+\")\",delete b[c]),\"skewX\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" skewX(\"+setUnit(a[c],\"deg\")+\")\",delete b[c]),\"skewY\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" skewY(\"+setUnit(a[c],\"deg\")+\")\",delete b[c]),\"perspective\"===c&&(d=jQuery.CSS.sfx+\"transform\",b[d]=b[d]||\"\",b[d]+=\" perspective(\"+setUnit(a[c],\"px\")+\")\",delete b[c])}return b},getProp:function(a){var b=[];for(var c in a)b.indexOf(c)<0&&b.push(uncamel(c));return b.join(\",\")},animate:function(a,b,c,d,e){return this.each(function(){function f(){g.called=!0,g.CSSAIsRunning=!1,h.off(jQuery.CSS.transitionEnd+\".\"+g.id),clearTimeout(g.timeout),h.css(jQuery.CSS.sfx+\"transition\",\"\"),\"function\"==typeof e&&e.apply(g),\"function\"==typeof g.CSSqueue&&(g.CSSqueue(),g.CSSqueue=null)}var g=this,h=jQuery(this);g.id=g.id||\"CSSA_\"+(new Date).getTime();var i=i||{type:\"noEvent\"};if(g.CSSAIsRunning&&g.eventType==i.type&&!jQuery.browser.msie&&jQuery.browser.version<=9)return void(g.CSSqueue=function(){h.CSSAnimate(a,b,c,d,e)});if(g.CSSqueue=null,g.eventType=i.type,0!==h.length&&a){if(a=jQuery.normalizeCss(a),g.CSSAIsRunning=!0,\"function\"==typeof b&&(e=b,b=jQuery.fx.speeds._default),\"function\"==typeof c&&(d=c,c=0),\"string\"==typeof c&&(e=c,c=0),\"function\"==typeof d&&(e=d,d=\"cubic-bezier(0.65,0.03,0.36,0.72)\"),\"string\"==typeof b)for(var j in jQuery.fx.speeds){if(b==j){b=jQuery.fx.speeds[j];break}b=jQuery.fx.speeds._default}if(b||(b=jQuery.fx.speeds._default),\"string\"==typeof e&&(d=e,e=null),!jQuery.support.CSStransition){for(var k in a){if(\"transform\"===k&&delete a[k],\"filter\"===k&&delete a[k],\"transform-origin\"===k&&delete a[k],\"auto\"===a[k]&&delete a[k],\"x\"===k){var l=a[k],m=\"left\";a[m]=l,delete a[k]}if(\"y\"===k){var l=a[k],m=\"top\";a[m]=l,delete a[k]}(\"-ms-transform\"===k||\"-ms-filter\"===k)&&delete a[k]}return void h.delay(c).animate(a,b,e)}var n={\"default\":\"ease\",\"in\":\"ease-in\",out:\"ease-out\",\"in-out\":\"ease-in-out\",snap:\"cubic-bezier(0,1,.5,1)\",easeOutCubic:\"cubic-bezier(.215,.61,.355,1)\",easeInOutCubic:\"cubic-bezier(.645,.045,.355,1)\",easeInCirc:\"cubic-bezier(.6,.04,.98,.335)\",easeOutCirc:\"cubic-bezier(.075,.82,.165,1)\",easeInOutCirc:\"cubic-bezier(.785,.135,.15,.86)\",easeInExpo:\"cubic-bezier(.95,.05,.795,.035)\",easeOutExpo:\"cubic-bezier(.19,1,.22,1)\",easeInOutExpo:\"cubic-bezier(1,0,0,1)\",easeInQuad:\"cubic-bezier(.55,.085,.68,.53)\",easeOutQuad:\"cubic-bezier(.25,.46,.45,.94)\",easeInOutQuad:\"cubic-bezier(.455,.03,.515,.955)\",easeInQuart:\"cubic-bezier(.895,.03,.685,.22)\",easeOutQuart:\"cubic-bezier(.165,.84,.44,1)\",easeInOutQuart:\"cubic-bezier(.77,0,.175,1
1)\",easeInQuint:\"cubic-bezier(.755,.05,.855,.06)\",easeOutQuint:\"cubic-bezier(.23,1,.32,1)\",easeInOutQuint:\"cubic-bezier(.86,0,.07,1)\",easeInSine:\"cubic-bezier(.47,0,.745,.715)\",easeOutSine:\"cubic-bezier(.39,.575,.565,1)\",easeInOutSine:\"cubic-bezier(.445,.05,.55,.95)\",easeInBack:\"cubic-bezier(.6,-.28,.735,.045)\",easeOutBack:\"cubic-bezier(.175, .885,.32,1.275)\",easeInOutBack:\"cubic-bezier(.68,-.55,.265,1.55)\"};n[d]&&(d=n[d]),h.off(jQuery.CSS.transitionEnd+\".\"+g.id);var o=jQuery.CSS.getProp(a),p={};jQuery.extend(p,a),p[jQuery.CSS.sfx+\"transition-property\"]=o,p[jQuery.CSS.sfx+\"transition-duration\"]=b+\"ms\",p[jQuery.CSS.sfx+\"transition-delay\"]=c+\"ms\",p[jQuery.CSS.sfx+\"transition-timing-function\"]=d,setTimeout(function(){h.one(jQuery.CSS.transitionEnd+\".\"+g.id,f),h.css(p)},1),g.timeout=setTimeout(function(){return g.called||!e?(g.called=!1,void(g.CSSAIsRunning=!1)):(h.css(jQuery.CSS.sfx+\"transition\",\"\"),e.apply(g),g.CSSAIsRunning=!1,void(\"function\"==typeof g.CSSqueue&&(g.CSSqueue(),g.CSSqueue=null)))},b+c+10)}})}},jQuery.fn.CSSAnimate=jQuery.CSS.animate,jQuery.normalizeCss=jQuery.CSS.normalizeCss,jQuery.fn.css3=function(a){return this.each(function(){var b=jQuery(this),c=jQuery.normalizeCss(a);b.css(c)})};var nAgt=navigator.userAgent;if(!jQuery.browser){jQuery.browser={},jQuery.browser.mozilla=!1,jQuery.browser.webkit=!1,jQuery.browser.opera=!1,jQuery.browser.safari=!1,jQuery.browser.chrome=!1,jQuery.browser.msie=!1,jQuery.browser.ua=nAgt,jQuery.browser.name=navigator.appName,jQuery.browser.fullVersion=\"\"+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10);var nameOffset,verOffset,ix;if(-1!=(verOffset=nAgt.indexOf(\"Opera\")))jQuery.browser.opera=!0,jQuery.browser.name=\"Opera\",jQuery.browser.fullVersion=nAgt.substring(verOffset+6),-1!=(verOffset=nAgt.indexOf(\"Version\"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8));else if(-1!=(verOffset=nAgt.indexOf(\"OPR\")))jQuery.browser.opera=!0,jQuery.browser.name=\"Opera\",jQuery.browser.fullVersion=nAgt.substring(verOffset+4);else if(-1!=(verOffset=nAgt.indexOf(\"MSIE\")))jQuery.browser.msie=!0,jQuery.browser.name=\"Microsoft Internet Explorer\",jQuery.browser.fullVersion=nAgt.substring(verOffset+5);else if(-1!=nAgt.indexOf(\"Trident\")){jQuery.browser.msie=!0,jQuery.browser.name=\"Microsoft Internet Explorer\";var start=nAgt.indexOf(\"rv:\")+3,end=start+4;jQuery.browser.fullVersion=nAgt.substring(start,end)}else-1!=(verOffset=nAgt.indexOf(\"Chrome\"))?(jQuery.browser.webkit=!0,jQuery.browser.chrome=!0,jQuery.browser.name=\"Chrome\",jQuery.browser.fullVersion=nAgt.substring(verOffset+7)):-1!=(verOffset=nAgt.indexOf(\"Safari\"))?(jQuery.browser.webkit=!0,jQuery.browser.safari=!0,jQuery.browser.name=\"Safari\",jQuery.browser.fullVersion=nAgt.substring(verOffset+7),-1!=(verOffset=nAgt.indexOf(\"Version\"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf(\"AppleWebkit\"))?(jQuery.browser.webkit=!0,jQuery.browser.name=\"Safari\",jQuery.browser.fullVersion=nAgt.substring(verOffset+7),-1!=(verOffset=nAgt.indexOf(\"Version\"))&&(jQuery.browser.fullVersion=nAgt.substring(verOffset+8))):-1!=(verOffset=nAgt.indexOf(\"Firefox\"))?(jQuery.browser.mozilla=!0,jQuery.browser.name=\"Firefox\",jQuery.browser.fullVersion=nAgt.substring(verOffset+8)):(nameOffset=nAgt.lastIndexOf(\" \")+1)<(verOffset=nAgt.lastIndexOf(\"/\"))&&(jQuery.browser.name=nAgt.substring(nameOffset,verOffset),jQuery.browser.fullVersion=nAgt.substring(verOffset+1),jQuery.browser.name.toLowerCase()==jQuery.browser.name.toUpperCase()&&(jQuery.browser.name=navigator.appName));-1!=(ix=jQuery.browser.fullVersion.indexOf(\";\"))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),-1!=(ix=jQuery.browser.fullVersion.indexOf(\" \"))&&(jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix)),jQuery.browser.majorVersion=parseInt(\"\"+jQuery.browser.fullVersion,10),isNaN(jQuery.browser.majorVersion)&&(jQuery.browser.fullVersion=\"\"+parseFloat(navigator.appVersion),jQuery.browser.majorVersion=parseInt(navigator.appVersion,10)),jQuery.browser.version=jQuery.browser.majorVersion}jQuery.browser.android=/Android/i.test(nAgt),jQuery.browser.blackberry=/BlackBerry|BB|PlayBook/i.test(nAgt),jQuery.browser.ios=/iPhone|iPad|iPod|webOS/i.test(nAgt),jQuery.browser.operaMobile=/Opera Mini/i.test(nAgt),jQuery.browser.windowsMobile=/IEMobile|Windows Phone/i.test(nAgt),jQuery.browser.kindle=/Kindle|Silk/i.test(nAgt),jQuery.browser.mobile=jQuery.browser.android||jQuery.browser.blackberry||jQuery.browser.ios||jQuery.browser.windowsMobile||jQuery.browser.operaMobile||jQuery.browser.kindle,jQuery.isMobile=jQuery.browser.mobile,jQuery.isTablet=jQuery.browser.mobile&&jQuery(window).width()>765,jQuery.isAndroidDefault=jQuery.browser.android&&!/chrome/i.test(nAgt),!function(a){/iphone|ipod|ipad|android|ie|blackberry|fennec/.test(navigator.userAgent.toLowerCase());var b=\"ontouchstart\"in window||window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture||window.DocumentTouch&&document instanceof DocumentTouch||!1;a.simpleSlider={defaults:{initialval:0,scale:100,orientation:\"h\",readonly:!1,callback:!1},events:{start:b?\"touchstart\":\"mousedown\",end:b?\"touchend\":\"mouseup\",move:b?\"touchmove\":\"mousemove\"},init:function(c){return this.each(function(){var d=this,e=a(d);e.addClass(\"simpleSlider\"),d.opt={},a.extend(d.opt,a.simpleSlider.defaults,c),a.extend(d.opt,e.data());var f=\"h\"==d.opt.orientation?\"horizontal\":\"vertical\",g=a(\"<div/>\").addClass(\"level\").addClass(f);
1e.prepend(g),d.level=g,e.css({cursor:\"default\"}),\"auto\"==d.opt.scale&&(d.opt.scale=a(d).outerWidth()),e.updateSliderVal(),d.opt.readonly||(e.on(a.simpleSlider.events.start,function(a){b&&(a=a.changedTouches[0]),d.canSlide=!0,e.updateSliderVal(a),e.css({cursor:\"col-resize\"}),a.preventDefault(),a.stopPropagation()}),a(document).on(a.simpleSlider.events.move,function(c){b&&(c=c.changedTouches[0]),d.canSlide&&(a(document).css({cursor:\"default\"}),e.updateSliderVal(c),c.preventDefault(),c.stopPropagation())}).on(a.simpleSlider.events.end,function(){a(document).css({cursor:\"auto\"}),d.canSlide=!1,e.css({cursor:\"auto\"})}))})},updateSliderVal:function(b){function c(a,b){return Math.floor(100*a/b)}var d=this,e=d.get(0);e.opt.initialval=\"number\"==typeof e.opt.initialval?e.opt.initialval:e.opt.initialval(e);var f=a(e).outerWidth(),g=a(e).outerHeight();e.x=\"object\"==typeof b?b.clientX+document.body.scrollLeft-d.offset().left:\"number\"==typeof b?b*f/e.opt.scale:e.opt.initialval*f/e.opt.scale,e.y=\"object\"==typeof b?b.clientY+document.body.scrollTop-d.offset().top:\"number\"==typeof b?(e.opt.scale-e.opt.initialval-b)*g/e.opt.scale:e.opt.initialval*g/e.opt.scale,e.y=d.outerHeight()-e.y,e.scaleX=e.x*e.opt.scale/f,e.scaleY=e.y*e.opt.scale/g,e.outOfRangeX=e.scaleX>e.opt.scale?e.scaleX-e.opt.scale:e.scaleX<0?e.scaleX:0,e.outOfRangeY=e.scaleY>e.opt.scale?e.scaleY-e.opt.scale:e.scaleY<0?e.scaleY:0,e.outOfRange=\"h\"==e.opt.orientation?e.outOfRangeX:e.outOfRangeY,e.value=\"undefined\"!=typeof b?\"h\"==e.opt.orientation?e.x>=d.outerWidth()?e.opt.scale:e.x<=0?0:e.scaleX:e.y>=d.outerHeight()?e.opt.scale:e.y<=0?0:e.scaleY:\"h\"==e.opt.orientation?e.scaleX:e.scaleY,\"h\"==e.opt.orientation?e.level.width(c(e.x,f)+\"%\"):e.level.height(c(e.y,g)),\"function\"==typeof e.opt.callback&&e.opt.callback(e)}},a.fn.simpleSlider=a.simpleSlider.init,a.fn.updateSliderVal=a.simpleSlider.updateSliderVal}(jQuery),!function(a){a.mbCookie={set:function(a,b,c,d){b=JSON.stringify(b),c||(c=7),d=d?\"; domain=\"+d:\"\";var e,f=new Date;f.setTime(f.getTime()+864e5*c),e=\"; expires=\"+f.toGMTString(),document.cookie=a+\"=\"+b+e+\"; path=/\"+d},get:function(a){for(var b=a+\"=\",c=document.cookie.split(\";\"),d=0;d<c.length;d++){for(var e=c[d];\" \"==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(b))return JSON.parse(e.substring(b.length,e.length))}return null},remove:function(b){a.mbCookie.set(b,\"\",-1)}},a.mbStorage={set:function(a,b){b=JSON.stringify(b),localStorage.setItem(a,b)},get:function(a){return localStorage[a]?JSON.parse(localStorage[a]):null},remove:function(a){a?localStorage.removeItem(a):localStorage.clear()}}}(jQuery);";
2var mod_pagespeed_d_UnihwCKA = "// Generated by CoffeeScript 1.9.3\r\n(function(){var e;e=function(){function e(e,t){var n,r;this.options={target:\"instafeed\",get:\"popular\",resolution:\"thumbnail\",sortBy:\"none\",links:!0,mock:!1,useHttp:!1};if(typeof e==\"object\")for(n in e)r=e[n],this.options[n]=r;this.context=t!=null?t:this,this.unique=this._genKey()}return e.prototype.hasNext=function(){return typeof this.context.nextUrl==\"string\"&&this.context.nextUrl.length>0},e.prototype.next=function(){return this.hasNext()?this.run(this.context.nextUrl):!1},e.prototype.run=function(t){var n,r,i;if(typeof this.options.clientId!=\"string\"&&typeof this.options.accessToken!=\"string\")throw new Error(\"Missing clientId or accessToken.\");if(typeof this.options.accessToken!=\"string\"&&typeof this.options.clientId!=\"string\")throw new Error(\"Missing clientId or accessToken.\");return this.options.before!=null&&typeof this.options.before==\"function\"&&this.options.before.call(this),typeof document!=\"undefined\"&&document!==null&&(i=document.createElement(\"script\"),i.id=\"instafeed-fetcher\",i.src=t||this._buildUrl(),n=document.getElementsByTagName(\"head\"),n[0].appendChild(i),r=\"instafeedCache\"+this.unique,window[r]=new e(this.options,this),window[r].unique=this.unique),!0},e.prototype.parse=function(e){var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D;if(typeof e!=\"object\"){if(this.options.error!=null&&typeof this.options.error==\"function\")return this.options.error.call(this,\"Invalid JSON data\"),!1;throw new Error(\"Invalid JSON response\")}
2if(e.meta.code!==200){if(this.options.error!=null&&typeof this.options.error==\"function\")return this.options.error.call(this,e.meta.error_message),!1;throw new Error(\"Error from Instagram: \"+e.meta.error_message)}if(e.data.length===0){if(this.options.error!=null&&typeof this.options.error==\"function\")return this.options.error.call(this,\"No images were returned from Instagram\"),!1;throw new Error(\"No images were returned from Instagram\")}this.options.success!=null&&typeof this.options.success==\"function\"&&this.options.success.call(this,e),this.context.nextUrl=\"\",e.pagination!=null&&(this.context.nextUrl=e.pagination.next_url);if(this.options.sortBy!==\"none\"){this.options.sortBy===\"random\"?M=[\"\",\"random\"]:M=this.options.sortBy.split(\"-\"),O=M[0]===\"least\"?!0:!1;switch(M[1]){case\"random\":e.data.sort(function(){return.5-Math.random()});break;case\"recent\":e.data=this._sortBy(e.data,\"created_time\",O);break;case\"liked\":e.data=this._sortBy(e.data,\"likes.count\",O);break;case\"commented\":e.data=this._sortBy(e.data,\"comments.count\",O);break;default:throw new Error(\"Invalid option for sortBy: '\"+this.options.sortBy+\"'.\")}}if(typeof document!=\"undefined\"&&document!==null&&this.options.mock===!1){m=e.data,A=parseInt(this.options.limit,10),this.options.limit!=null&&m.length>A&&(m=m.slice(0,A)),u=document.createDocumentFragment(),this.options.filter!=null&&typeof this.options.filter==\"function\"&&(m=this._filter(m,this.options.filter));if(this.options.template!=null&&typeof this.options.template==\"string\"){f=\"\",d=\"\",w=\"\",D=document.createElement(\"div\");for(c=0,N=m.length;c<N;c++){h=m[c],p=h.images[this.options.resolution];if(typeof p!=\"object\")throw o=\"No image found for resolution: \"+this.options.resolution+\".\",new Error(o);E=p.width,y=p.height,b=\"square\",E>y&&(b=\"landscape\"),E<y&&(b=\"portrait\"),v=p.url,l=window.location.protocol.indexOf(\"http\")>=0,l&&!this.options.useHttp&&(v=v.replace(/https?:\\/\\//,\"//\")),d=this._makeTemplate(this.options.template,{model:h,id:h.id,link:h.link,type:h.type,image:v,width:E,height:y,orientation:b,caption:this._getObjectProperty(h,\"caption.text\"),likes:h.likes.count,comments:h.comments.count,location:this._getObjectProperty(h,\"location.name\")}),f+=d}D.innerHTML=f,i=[],r=0,n=D.childNodes.length;while(r<n)i.push(D.childNodes[r]),r+=1;for(x=0,C=i.length;x<C;x++)L=i[x],u.appendChild(L)}else for(T=0,k=m.length;T<k;T++){h=m[T],g=document.createElement(\"img\"),p=h.images[this.options.resolution];if(typeof p!=\"object\")throw o=\"No image found for resolution: \"+this.options.resolution+\".\",new Error(o);v=p.url,l=window.location.protocol.indexOf(\"http\")>=0,l&&!this.options.useHttp&&(v=v.replace(/https?:\\/\\//,\"//\")),g.src=v,this.options.links===!0?(t=document.createElement(\"a\"),t.href=h.link,t.appendChild(g),u.appendChild(t)):u.appendChild(g)}_=this.options.target,typeof _==\"string\"&&(_=document.getElementById(_));if(_==null)throw o='No element with id=\"'+this.options.target+'\" on page.',new Error(o);_.appendChild(u),a=document.getElementsByTagName(\"head\")[0],a.removeChild(document.getElementById(\"instafeed-fetcher\")),S=\"instafeedCache\"+this.unique,window[S]=void 0;try{delete window[S]}catch(P){s=P}}return this.options.after!=null&&typeof this.options.after==\"function\"&&this.options.after.call(this),!0},e.prototype._buildUrl=function(){var e,t,n;e=\"https://api.instagram.com/v1\";switch(this.options.get){case\"popular\":t=\"media/popular\";break;case\"tagged\":if(!this.options.tagName)throw new Error(\"No tag name specified. Use the 'tagName' option.\");t=\"tags/\"+this.options.tagName+\"/media/recent\";break;case\"location\":if(!this.options.locationId)throw new Error(\"No location specified. Use the 'locationId' option.\");t=\"locations/\"+this.options.locationId+\"/media/recent\";break;case\"user\":if(!this.options.userId)throw new Error(\"No user specified. Use the 'userId' option.\");t=\"users/\"+this.options.userId+\"/media/recent\";break;default:throw new Error(\"Invalid option for get: '\"+this.options.get+\"'.\")}return n=e+\"/\"+t,this.options.accessToken!=null?n+=\"?access_token=\"+this.options.accessToken:n+=\"?client_id=\"+this.options.clientId,this.options.limit!=null&&(n+=\"&count=\"+this.options.limit),n+=\"&callback=instafeedCache\"+this.unique+\".parse\",n},e.prototype._genKey=function(){var e;return e=function(){return((1+Math.random())*65536|0).toString(16).substring(1)},\"\"+e()+e()+e()+e()},e.prototype._makeTemplate=function(e,t){var n,r,i,s,o;r=/(?:\\{{2})([\\w\\[\\]\\.]+)(?:\\}{2})/,n=e;while(r.test(n))s=n.match(r)[1],o=(i=this._getObjectProperty(t,s))!=null?i:\"\",n=n.replace(r,function(){return\"\"+o});return n},e.prototype._getObjectProperty=function(e,t){var n,r;t=t.replace(/\\[(\\w+)\\]/g,\".$1\"),r=t.split(\".\");while(r.length){n=r.shift();if(!(e!=null&&n in e))return null;e=e[n]}return e},e.prototype._sortBy=function(e,t,n){var r;return r=function(e,r){var i,s;return i=this._getObjectProperty(e,t),s=this._getObjectProperty(r,t),n?i>s?1:-1:i<s?1:-1},e.sort(r.bind(this)),e},e.prototype._filter=function(e,t){var n,r,i,s,o;n=[],r=function(e){if(t(e))return n.push(e)};for(i=0,o=e.length;i<o;i++)s=e[i],r(s);return n},e}(),function(e,t){return typeof define==\"function\"&&define.amd?define([],t):typeof module==\"object\"&&module.exports?module.exports=t():e.Instafeed=t()}(this,function(){return e})}).call(this);";
3var mod_pagespeed_RfvpfaY$_a = "/*! WOW - v1.1.2 - 2015-08-19\r\n* Copyright (c) 2015 Matthieu Aussaguel; Licensed MIT */(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a.prototype.createEvent=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=null),null!=document.createEvent?(e=document.createEvent(\"CustomEvent\"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e},a.prototype.emitEvent=function(a,b){return null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():\"on\"+b in(null!=a)?a[\"on\"+b]():void 0},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent(\"on\"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent(\"on\"+b,c):delete a[b]}
3,a.prototype.innerHeight=function(){return\"innerHeight\"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){\"undefined\"!=typeof console&&null!==console&&console.warn(\"MutationObserver is not supported by your browser.\"),\"undefined\"!=typeof console&&null!==console&&console.warn(\"WOW.js cannot detect dom mutations, please call .sync() after loading new content.\")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a){return this.getPropertyValue=function(b){var c;return\"float\"===b&&(b=\"styleFloat\"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\\-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.resetAnimation=f(this.resetAnimation,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),null!=a.scrollContainer&&(this.config.scrollContainer=document.querySelector(a.scrollContainer)),this.animationNameCache=new c,this.wowEvent=this.util().createEvent(this.config.boxClass)}return e.prototype.defaults={boxClass:\"wow\",animateClass:\"animated\",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},e.prototype.init=function(){var a;return this.element=window.document.documentElement,\"interactive\"===(a=document.readyState)||\"complete\"===a?this.start():this.util().addEvent(document,\"DOMContentLoaded\",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll(\".\"+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,\"scroll\",this.scrollHandler),this.util().addEvent(window,\"resize\",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d>c;c++)f=b[c],g.push(function(){var a,b,c,d;for(c=f.addedNodes||[],d=[],a=0,b=c.length;b>a;a++)e=c[a],d.push(this.doSync(e));return d}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,\"scroll\",this.scrollHandler),this.util().removeEvent(window,\"resize\",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(null==a&&(a=this.element),1===a.nodeType){for(a=a.parentNode||a,e=a.querySelectorAll(\".\"+this.config.boxClass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=a.className+\" \"+this.config.animateClass,null!=this.config.callback&&this.config.callback(a),this.util().emitEvent(a,this.wowEvent),this.util().addEvent(a,\"animationend\",this.resetAnimation),this.util().addEvent(a,\"oanimationend\",this.resetAnimation),this.util().addEvent(a,\"webkitAnimationEnd\",this.resetAnimation),this.util().addEvent(a,\"MSAnimationEnd\",this.resetAnimation),a},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute(\"data-wow-duration\"),c=a.getAttribute(\"data-wow-delay\"),e=a.getAttribute(\"data-wow-iteration\"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return\"requestAnimationFrame\"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility=\"visible\");return e},e.prototype.resetAnimation=function(a){var b;return a.type.toLowerCase().indexOf(\"animationend\")>=0?(b=a.target||a.srcElement,b.className=b.className.replace(this.config.animateClass,\"\").trim()):void 0},e.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?\"hidden\":\"visible\",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?\"none\":this.cachedAnimationName(a)}),a}
3,e.prototype.vendors=[\"moz\",\"webkit\"],e.prototype.vendorSet=function(a,b){var c,d,e,f;d=[];for(c in b)e=b[c],a[\"\"+c]=e,d.push(function(){var b,d,g,h;for(g=this.vendors,h=[],b=0,d=g.length;d>b;b++)f=g[b],h.push(a[\"\"+f+c.charAt(0).toUpperCase()+c.substr(1)]=e);return h}.call(this));return d},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(h=d(a),g=h.getPropertyCSSValue(b),f=this.vendors,c=0,e=f.length;e>c;c++)i=f[c],g=g||h.getPropertyCSSValue(\"-\"+i+\"-\"+b);return g},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,\"animation-name\").cssText}catch(c){b=d(a).getPropertyValue(\"animation-name\")}return\"none\"===b?\"\":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute(\"data-wow-offset\")||this.config.offset,f=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this);";
4var mod_pagespeed_Q$hakPtcie = "/*!\r\n * The Final Countdown for jQuery v2.1.0 (http://hilios.github.io/jQuery.countdown/)\r\n * Copyright (c) 2015 Edson Hilios\r\n * \r\n * Permission is hereby granted, free of charge, to any person obtaining a copy of\r\n * this software and associated documentation files (the \"Software\"), to deal in\r\n * the Software without restriction, including without limitation the rights to\r\n * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r\n * the Software, and to permit persons to whom the Software is furnished to do so,\r\n * subject to the following conditions:\r\n * \r\n * The above copyright notice and this permission notice shall be included in all\r\n * copies or substantial portions of the Software.\r\n * \r\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n */\r\n!function(a){\"use strict\";\"function\"==typeof define&&define.amd?define([\"jquery\"],a):a(jQuery)}(function(a){\"use strict\";function b(a){if(a instanceof Date)return a;
4if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),String(a).match(/\\-/)&&(a=String(a).replace(/\\-/g,\"/\")),new Date(a);throw new Error(\"Couldn't cast `\"+a+\"` to a date object.\")}function c(a){var b=a.toString().replace(/([.?*+^$[\\]\\\\(){}|-])/g,\"\\\\$1\");return new RegExp(b)}function d(a){return function(b){var d=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(d)for(var f=0,g=d.length;g>f;++f){var h=d[f].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),j=c(h[0]),k=h[1]||\"\",l=h[3]||\"\",m=null;h=h[2],i.hasOwnProperty(h)&&(m=i[h],m=Number(a[m])),null!==m&&(\"!\"===k&&(m=e(l,m)),\"\"===k&&10>m&&(m=\"0\"+m.toString()),b=b.replace(j,m.toString()))}return b=b.replace(/%%/,\"%\")}}function e(a,b){var c=\"s\",d=\"\";return a&&(a=a.replace(/(:|;|\\s)/gi,\"\").split(/\\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),1===Math.abs(b)?d:c}var f=[],g=[],h={precision:100,elapse:!1};g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}([\\/\\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join(\"|\"));var i={Y:\"years\",m:\"months\",n:\"daysToMonth\",w:\"weeks\",d:\"daysToWeek\",D:\"totalDays\",H:\"hours\",M:\"minutes\",S:\"seconds\"},j=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.options=a.extend({},h),this.instanceNumber=f.length,f.push(this),this.$el.data(\"countdown-instance\",this.instanceNumber),d&&(\"function\"==typeof d?(this.$el.on(\"update.countdown\",d),this.$el.on(\"stoped.countdown\",d),this.$el.on(\"finish.countdown\",d)):this.options=a.extend({},h,d)),this.setFinalDate(c),this.start()};a.extend(j.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent(\"stoped\")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),f[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(a){this.finalDate=b(a)},update:function(){if(0===this.$el.closest(\"html\").length)return void this.remove();var b,c=void 0!==a._data(this.el,\"events\"),d=new Date;b=this.finalDate.getTime()-d.getTime(),b=Math.ceil(b/1e3),b=!this.options.elapse&&0>b?0:Math.abs(b),this.totalSecsLeft!==b&&c&&(this.totalSecsLeft=b,this.elapsed=d>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-d.getFullYear())},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent(\"update\"):(this.stop(),this.dispatchEvent(\"finish\")))},dispatchEvent:function(b){var c=a.Event(b+\".countdown\");c.finalDate=this.finalDate,c.elapsed=this.elapsed,c.offset=a.extend({},this.offset),c.strftime=d(this.offset),this.$el.trigger(c)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data(\"countdown-instance\");if(void 0!==c){var d=f[c],e=b[0];j.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(d.setFinalDate.call(d,e),d.start()):a.error(\"Method %s does not exist on jQuery.countdown\".replace(/\\%s/gi,e))}else new j(this,b[0],b[1])})}});";
5var mod_pagespeed_r3AA3TnKmz = "/*\r\n *\r\n *		CUSTOM.JS\r\n *\r\n */\r\n\r\n(function($){\r\n	\r\n	\"use strict\";\r\n	\r\n	// DETECT TOUCH DEVICE //\r\n	function is_touch_device() {\r\n		return !!('ontouchstart' in window) || ( !! ('onmsgesturechange' in window) && !! window.navigator.maxTouchPoints);\r\n	}\r\n	\r\n	\r\n	// SHOW/HIDE MOBILE MENU //\r\n	function show_hide_mobile_menu() {\r\n		\r\n		$(\"#mobile-menu-button\").on(\"click\", function(e) {\r\n            \r\n			e.preventDefault();\r\n			\r\n			$(\"#mobile-menu\").slideToggle(300);\r\n			\r\n        });	\r\n		\r\n	}\r\n	\r\n	\r\n	// MOBILE MENU //\r\n	function mobile_menu() {\r\n		\r\n		if ($(window).width() < 992) {\r\n			\r\n			if ($(\"#menu\").length > 0) {\r\n			\r\n				if ($(\"#mobile-menu\").length < 1) {\r\n					\r\n					$(\"#menu\").clone().attr({\r\n						id: \"mobile-menu\",\r\n						class: \"\"\r\n					}).insertAfter(\"#header\");\r\n					\r\n					$(\"#mobile-menu .megamenu > a\").on(\"click\", function(e) {\r\n                        \r\n						e.preventDefault();\r\n						\r\n						$(this).toggleClass(\"open\").next(\"div\").slideToggle(300);\r\n						\r\n                    });\r\n					\r\n					$(\"#mobile-menu .dropdown > a\").on(\"click\", function(e) {\r\n                        \r\n						e.preventDefault();\r\n						\r\n						$(this).toggleClass(\"open\").next(\"ul\").slideToggle(300);\r\n						\r\n                    });\r\n				\r\n				}\r\n				\r\n			}\r\n				\r\n		} else {\r\n			\r\n			$(\"#mobile-menu\").hide();\r\n			\r\n		}\r\n		\r\n	}\r\n\r\n\r\n	// HEADER SEARCH //\r\n	function header_search() {\r\n\r\n		$(\".search a\").on(\"click\", function(e) {\r\n\r\n			e.preventDefault();\r\n\r\n			if(!$(\".search a\").hasClass(\"open\")) {\r\n\r\n				$(\"#search-form-container\").slideDown(300).delay(500);\r\n\r\n			} else {\r\n\r\n				$(\"#search-form-container\").slideUp(300);\r\n\r\n			}\r\n\r\n			$(window).resize(function(){\r\n				$(\"#search-form-container\").slideUp(300);\r\n			})\r\n\r\n		});\r\n\r\n		$(\"#search-form\").after('<a class=\"search-form-close\" href=\"#\">x</a>');\r\n\r\n		$(\"#search-form-container a.search-form-close\").on(\"click\", function(event){\r\n\r\n			event.preventDefault();\r\n			$(\"#search-form-container\").slideUp(300);\r\n\r\n		});\r\n\r\n		$(window).scroll(function(){\r\n\r\n			$(\"#search-form-container\").slideUp(300);\r\n\r\n		});\r\n	}\r\n	\r\n	\r\n	// STICKY //\r\n	function sticky() {\r\n		\r\n		var sticky_point = 149;\r\n		\r\n		$(\"#header\").clone().attr({\r\n			id: \"header-sticky\",\r\n			class: \"\"\r\n		}).insertAfter(\"header\");\r\n\r\n		$(window).scroll(function(){\r\n\r\n			if ($(window).scrollTop() > sticky_point) {\r\n				$(\"#header-sticky\").slideDown(300).addClass(\"header-sticky\");\r\n				$(\"#header .menu ul, #header .menu .megamenu-container\").css({\"visibility\": \"hidden\"});\r\n			} else {\r\n				$(\"#header-sticky\").slideUp(100).removeClass(\"header-sticky\");\r\n				$(\"#header .menu ul, #header .menu .megamenu-container\").css({\"visibility\": \"visible\"});\r\n			}\r\n\r\n		});\r\n\r\n		$(\"#header-sticky .search a\").on(\"click\", function(e) {\r\n\r\n			e.preventDefault();\r\n\r\n			if(!$(\"#header-sticky .search a\").hasClass(\"open\")) {\r\n\r\n				$(\"#header-sticky #search-form-container\").slideDown(300).delay(500);\r\n\r\n			} else {\r\n\r\n				$(\"#header-sticky #search-form-container\").slideUp(300);\r\n\r\n			}\r\n\r\n			$(window).resize(function(){\r\n				$(\"#header-sticky #search-form-container\").slideUp(300);\r\n			})\r\n\r\n		});\r\n\r\n		$(\"#header-sticky #search-form\").after('<a class=\"search-form-close\" href=\"#\">x</a>');\r\n\r\n		$(\"#header-sticky #search-form-container a.search-form-close\").on(\"click\", function(event){\r\n\r\n			event.preventDefault();\r\n			$(\"#header-sticky #search-form-container\").slideUp(300);\r\n\r\n		});\r\n\r\n		$(window).scroll(function(){\r\n\r\n			$(\"#header-sticky #search-form-container\").slideUp(300);\r\n\r\n		});\r\n		\r\n	}\r\n	\r\n \r\n	// PROGRESS BARS // \r\n	function progress_bars() {\r\n		\r\n		$(\".progress .progress-bar:in-viewport\").each(function() {\r\n			\r\n			if (!$(this).hasClass(\"animated\")) {\r\n				$(this).addClass(\"animated\");\r\n				$(this).animate({\r\n					width: $(this).attr(\"data-width\") + \"%\"\r\n				}, 2000);\r\n			}\r\n			\r\n		});\r\n		\r\n	}\r\n\r\n\r\n	// CHARTS //\r\n	function pie_chart() {\r\n		\r\n		if (typeof $.fn.easyPieChart !== 'undefined') {\r\n		\r\n			$(\".pie-chart:in-viewport\").each(function() {\r\n				\r\n				$(this).easyPieChart({\r\n					animate: 1500,\r\n					lineCap: \"square\",\r\n					lineWidth: $(this).attr(\"data-line-width\"),\r\n					size: $(this).attr(\"data-size\"),\r\n					barColor: $(this).attr(\"data-bar-color\"),\r\n					trackColor: $(this).attr(\"data-track-color\"),\r\n					scaleColor: \"transparent\",\r\n					onStep: function(from, to, percent) {\r\n						$(this.el).find(\".pie-chart-details .value\").text(Math.round(percent));\r\n					}\r\n				});\r\n				\r\n			});\r\n			\r\n		}\r\n		\r\n	}\r\n	\r\n	// COUNTER //\r\n	function counter() {\r\n		\r\n		if (typeof $.fn.jQuerySimpleCounter !== 'undefined') {\r\n		\r\n			$(\".counter .counter-value:in-viewport\").each(function() {\r\n				\r\n				if (!$(this).hasClass(\"animated\")) {\r\n					$(this).addClass(\"animated\");\r\n					$(this).jQuerySimpleCounter({\r\n						start: 0,\r\n						end: $(this).attr(\"data-value\"),\r\n						duration: 2000\r\n					});	\r\n				}\r\n			\r\n			});\r\n			\r\n		}\r\n	}\r\n	\r\n	\r\n	// LOAD MORE PROJECTS //\r\n	function load_more_projects() {\r\n	\r\n		var number_clicks = 0;\r\n		\r\n		$(\".load-more\").on(\"click\", function(e) {\r\n			\r\n			e.preventDefault();\r\n			\r\n			if (number_clicks == 0) {\r\n				$.ajax({\r\n					type: \"POST\",\r\n					url: $(\".load-more\").attr(\"href\"),\r\n					dataType: \"html\",\r\n					cache: false,\r\n					msg : '',\r\n					success: function(msg) {\r\n						$(\".isotope\").append(msg);	\r\n						$(\".isotope\").imagesLoaded(function() {\r\n							$(\".isotope\").isotope(\"reloadItems\").isotope();\r\n							$(\".fancybox\").fancybox({\r\n								prevEffect: 'none',\r\n								nextEffect: 'none'\r\n							});\r\n						});\r\n						number_clicks++;\r\n						$(\".load-more\").html(\"Nothing to load\");\r\n					}\r\n				});\r\n			}\r\n			\r\n		});\r\n		\r\n	}\r\n	\r\n	\r\n	// SHOW/HIDE SCROLL UP //\r\n	function show_hide_scroll_top() {\r\n		\r\n		if ($(window).scrollTop() > $(window).height()/2) {\r\n			$(\"#scroll-up\").fadeIn(300);\r\n		} else {\r\n			$(\"#scroll-up\").fadeOut(300);\r\n		}\r\n		\r\n	}\r\n	\r\n	\r\n	// SCROLL UP //\r\n	function scroll_up() {				\r\n		\r\n		$(\"#scroll-up\").on(\"click\", function() {\r\n			$(\"html, body\").animate({\r\n				scrollTop: 0\r\n			}, 800);\r\n			return false;\r\n		});\r\n		\r\n	}\r\n	\r\n	\r\n	// SOCIAL MEDIA //\r\n	function social_media() {\r\n		\r\n		$(\".social-media-toggle\").on(\"click\", function(e){\r\n			\r\n			e.preventDefault();\r\n			$(this).toggleClass(\"opened\").next(\".social-media\").stop().slideToggle(300);\r\n			\r\n		})\r\n		\r\n	}\r\n\r\n\r\n	// LOCATION DETAILS //\r\n	function location_details() {\r\n\r\n		$(\".location-detail
5s\").prepend('<a class=\"close-location-details\" href=\"#\">x</a>');\r\n\r\n		$(\".close-location-details\").on(\"click\", function(e) {\r\n\r\n			e.preventDefault();\r\n			$(\".location-details\").fadeOut(500);\r\n\r\n		});\r\n\r\n	}\r\n\r\n\r\n	// INSTAGRAM FEED //\r\n	function instagram_feed() {\r\n\r\n		if ($('#instafeed').length > 0 ) {\r\n\r\n			var nr = $('#instafeed').data('number'),\r\n				userid = $('#instafeed').data('user'),\r\n				accesstoken = $('#instafeed').data('accesstoken');\r\n\r\n			var feed = new Instafeed({\r\n				target: 'instafeed',\r\n				get: 'user',\r\n				userId: userid,\r\n				accessToken: accesstoken,\r\n				limit: nr,\r\n				resolution: 'thumbnail',\r\n				sortBy: \"most-recent\"\r\n			});\r\n\r\n			feed.run();\r\n\r\n		}\r\n\r\n	}\r\n\r\n\r\n	// DRAG SLIDER //\r\n	function drag_slider() {\r\n\r\n		var availHeight = $('.content-body').outerHeight() - $('.content-mask').outerHeight();\r\n\r\n		new Dragdealer('content-scroller', {\r\n			horizontal: false,\r\n			vertical: true,\r\n			yPrecision: availHeight,\r\n			animationCallback: function(x, y) {\r\n				$('.content-body').css('margin-top', -y * availHeight);\r\n			}\r\n		});\r\n\r\n	}\r\n\r\n\r\n	// EQUAL HEIGHT //\r\n	function equal_height() {\r\n\r\n		$(\".text-box\").each(function(){\r\n\r\n			if ($(window).width() > 991) {\r\n				$(\".text-box\").css(\"height\", $(\".text-boxes-container\").height() + \"px\");\r\n			} else {\r\n				$(\".text-box\").css(\"height\", \"auto\");\r\n			}\r\n\r\n		});\r\n\r\n	}\r\n\r\n\r\n	// FULL SCREEN //\r\n	function full_screen() {\r\n\r\n		if ($(window).width() > 767) {\r\n			$(\".full-screen\").css(\"height\", $(window).height() + \"px\");\r\n		} else {\r\n			$(\".full-screen\").css(\"height\", \"auto\");\r\n		}\r\n\r\n	}\r\n\r\n	\r\n	// ANIMATIONS //\r\n	function animations() {\r\n		\r\n		animations = new WOW({\r\n			boxClass: 'wow',\r\n			animateClass: 'animated',\r\n			offset: 100,\r\n			mobile: false,\r\n			live: true\r\n		});\r\n		\r\n		animations.init();\r\n		\r\n	}\r\n	\r\n	// DOCUMENT READY //\r\n	$(document).ready(function(){\r\n\r\n		// STICKY //\r\n		sticky();\r\n		\r\n		\r\n		// MENU //\r\n		if (typeof $.fn.superfish !== 'undefined') {\r\n			\r\n			$(\".menu\").superfish({\r\n				delay: 500,\r\n				animation: {\r\n					opacity: 'show',\r\n					height: 'show'\r\n				},\r\n				speed: 'fast',\r\n				autoArrows: true\r\n			});\r\n			\r\n		}\r\n		\r\n		\r\n		// SHOW/HIDE MOBILE MENU //\r\n		show_hide_mobile_menu();\r\n		\r\n		\r\n		// MOBILE MENU //\r\n		mobile_menu();\r\n\r\n\r\n		// HEADER SEARCH //\r\n		header_search();\r\n		\r\n		\r\n		// FANCYBOX //\r\n		if (typeof $.fn.fancybox !== 'undefined') {\r\n		\r\n			$(\".fancybox\").fancybox({\r\n				prevEffect: 'none',\r\n				nextEffect: 'none'\r\n			});\r\n		\r\n		}\r\n		\r\n		// REVOLUTION SLIDER //\r\n		if (typeof $.fn.revolution !== 'undefined') {\r\n			\r\n			$(\".rev_slider\").revolution({\r\n				sliderType: \"standard\",\r\n				sliderLayout: \"auto\",\r\n				delay: 4000,\r\n				navigation: {\r\n					arrows:{\r\n						style: \"custom\",\r\n						enable: true,\r\n						hide_onmobile: true,\r\n						hide_onleave: false,\r\n						hide_delay: 200,\r\n						hide_delay_mobile: 1200,\r\n						hide_under: 0,\r\n						hide_over: 9999,\r\n						tmp: '',\r\n						left: {\r\n							h_align: \"left\",\r\n							v_align: \"center\",\r\n							h_offset: 50,\r\n							v_offset: 0\r\n						 },\r\n						 right: {\r\n							h_align: \"right\",\r\n							v_align: \"center\",\r\n							h_offset: 50,\r\n							v_offset: 0\r\n						 }\r\n					},\r\n					bullets:{\r\n						style: \"custom\",\r\n						enable: true,\r\n						hide_onmobile: false,\r\n						hide_onleave: false,\r\n						hide_delay: 200,\r\n						hide_delay_mobile: 1200,\r\n						hide_under: 0,\r\n						hide_over: 9999,\r\n						tmp: '', \r\n						direction: \"horizontal\",\r\n						space: 8,\r\n						h_align: \"center\",\r\n						v_align: \"bottom\",\r\n						h_offset: 0,\r\n						v_offset: 80\r\n					},\r\n					touch:{\r\n						touchenabled: \"on\",\r\n						swipe_treshold: 75,\r\n						swipe_min_touches: 1,\r\n						drag_block_vertical: false,\r\n						swipe_direction: \"horizontal\"\r\n					}\r\n				},\r\n				parallax:{\r\n					type: \"mouse\",\r\n					levels: [5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],\r\n					origo: \"enterpoint\",\r\n					speed: 400,\r\n					bgparallax: \"false\",\r\n					disable_onmobile: \"off\"\r\n				},\r\n				gridwidth: 1170,\r\n				gridheight: 715\r\n			});\r\n\r\n			$(\".rev_slider_parallax\").revolution({\r\n				sliderType: \"standard\",\r\n				sliderLayout: \"auto\",\r\n				delay: 4000,\r\n				navigation: {\r\n					arrows:{\r\n						enable: false\r\n					},\r\n					bullets:{\r\n						enable: false\r\n					}\r\n				},\r\n				parallax:{\r\n					type: \"mouse\",\r\n					levels: [5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],\r\n					origo: \"enterpoint\",\r\n					speed: 400,\r\n					bgparallax: \"false\",\r\n					disable_onmobile: \"off\"\r\n				},\r\n				gridwidth: 1170,\r\n				gridheight: 715\r\n			});\r\n			\r\n		}\r\n	\r\n	\r\n		// OWL Carousel //\r\n		if (typeof $.fn.owlCarousel !== 'undefined') {\r\n\r\n			/* IMAGES SLIDER */\r\n			$(\".owl-carousel.images-slider\").owlCarousel({\r\n				singleItem: true,\r\n				slideSpeed: 200,\r\n				autoPlay: true,\r\n				stopOnHover: true,\r\n				navigation: false,\r\n				navigationText: false,\r\n				pagination: true,\r\n				paginationNumbers: false,\r\n				mouseDrag: true,\r\n				touchDrag: true,\r\n				transitionStyle: \"fade\"\r\n			});\r\n\r\n			$(\".owl-carousel.images-slider-2\").owlCarousel({\r\n				singleItem: true,\r\n				slideSpeed: 500,\r\n				autoPlay: true,\r\n				stopOnHover: true,\r\n				navigation: true,\r\n				navigationText: false,\r\n				pagination: false,\r\n				paginationNumbers: false,\r\n				mouseDrag: true,\r\n				touchDrag: true,\r\n				transitionStyle: false\r\n			});\r\n\r\n			/* TESTIMONIALS SLIDER */\r\n			$(\".owl-carousel.testimonials-slider\").owlCarousel({\r\n				singleItem: true,\r\n				slideSpeed: 200,\r\n				autoPlay: true,\r\n				stopOnHover: true,\r\n				navigation: true,\r\n				navigationText: false,\r\n				pagination: false,\r\n				paginationNumbers: false,\r\n				mouseDrag: true,\r\n				touchDrag: true,\r\n				transitionStyle: \"fade\"\r\n			});\r\n\r\n			/* LOGOS SLIDER */\r\n			$(\".owl-carousel.logos-slider\").owlCarousel({\r\n				items: 5,\r\n				itemsDesktop: [1199,5],\r\n				itemsDesktopSmall: [991,4],\r\n				itemsTablet: [767,2],\r\n				itemsMobile: [479,1],\r\n				slideSpeed: 500,\r\n				autoPlay: true,\r\n				stopOnHover: true,\r\n				navigation: true,\r\n				navigationText: false,\r\n				pagination: false,\r\n				paginationNumbers: false,\r\n				mouseDrag: true,\r\n				touchDrag: true,\r\n				transitionStyle: false\r\n			});\r\n		\r\n		}\r\n		\r\n		\r\n		// GOOGLE MAPS //\r\n		if (typeof $.fn.gmap3 !== 'undefined') {\r\n		\r\n			$(\".map\").each(function(){\r\n				\r\n				var data_zoom = 15;\r\n				\r\n				if ($(this).attr(\"data-zoom\") !== undefined) {\r\n					data_zoom = parseInt($(this).attr(\"data-zoom\"),10);\r\n				}\r\n\r\n				$(this).gmap3({\r\n					marker: {\r\n						values: [{\r\n							address: $(this).attr(\"data-address\")\r\n						}],\r\n						options:{\r\n							draggable: false\r\n						}\r\n					},\r\n					map: {\r\n						options: {\r\n							mapTypeId: google.maps.MapTypeId.ROADMAP,\r\n							zoom: data_zoom,\r\n							scrollwheel: false\r\n						}\r\n					}\r\n				});\r\n				\r\n			});\r\n			\r\n		}\r\n		\r\n		\r\n		// ISOTOPE //\r\n		if ((typeof $.fn.imagesLoaded !== 'undefined') && (typeof $.fn.isotope !== 'undefined')) {\r\n		\r\n			$(\".isotope\").imagesLoaded( function() {\r\n				\r\n				var container = $(\".isotope\");\r\n				\r\n				container.isotope({\r\n					itemSelector: '.isotope-item',\r\n					layoutMode: 'masonry',\r\n					transitionDuration: '0.8s'\r\n				});\r\n				\r\n				$(\".filter li a\").on(\"click\", function() {\r\n					$(\".filter li a\").removeClass(\"active\");\r\n					$(this).addClass(\"active\");\r\n		\r\n					var selector = $(this).attr(\"data-filter\");\r\n					container.isotope({\r\n						filter: selector\r\n					});\r\n		\r\n					return false;\r\n				});\r\n		\r\n				$(window).resize(function() {\r\n					container.isotope();\r\n				});\r\n\r\n				$(\".isotope.masonry\").imagesLoaded( function() {\r\n\r\n					var container_masonry = $(\".isotope.masonry\");\r\n\r\n					container_masonry.isotope({\r\n						itemSelector: '.isotope-item',\r\n						layoutMode: 'masonry',\r\n						masonry: {\r\n							columnWidth: 1,\r\n							gutter: 1\r\n						},\r\n						transitionDuration: '0.8s'\r\n					});\r\n\r\n					$(\".filter li a\").on(\"click\", function() {\r\n						$(\".filter li a\").removeClass(\"active\");\r\n						$(this).addClass(\"active\");\r\n\r\n						var selector = $(this).attr(\"data-filter\");\r\n						container_masonry.isotope({\r\n							filter: selector\r\n						});\r\n\r\n						return false;\r\n					});\r\n\r\n					$(window).resize(function() {\r\n						container_masonry.isotope();\r\n					});\r\n\r\n				});\r\n				\r\n			});\r\n			\r\n		}\r\n		\r\n		\r\n		// LOAD MORE PORTFOLIO ITEMS //\r\n		load_more_projects();\r\n		\r\n		\r\n		// PLACEHOLDER //\r\n		if (typeof $.fn.placeholder !== 'undefined') {\r\n			\r\n			$(\"input, textarea\").placeholder();\r\n			\r\n		}\r\n		\r\n		\r\n		// CONTACT FORM VALIDATE & SUBMIT //\r\n		// VALIDATE //\r\n		if (typeof $.fn.validate !== 'undefined') {\r\n		\r\n			$(\"#contact-form\").validate({\r\n				rules: {\r\n					name: {\r\n						required: true\r\n					},\r\n					email: {\r\n						required: true,\r\n						email: true\r\n					},\r\n					telefon: {\r\n						required: true\r\n					},\r\n                    subject: {\r\n						required: true\r\n					},\r\n					message: {\r\n						required: true,\r\n						minlength: 10\r\n					}\r\n				},\r\n				messages: {\r\n					name: {\r\n						required: \"Bitte Namen eingeben!\"\r\n					},\r\n					email: {\r\n						required: \"E-mail erforderlich!\",\r\n						email: \"Diese E-Mail-Adresse ist nicht gültig\"\r\n					},\r\n					telefon: {\r\n						required: \"Bitte geben Sie ein Telefonnummer ein!\"\r\n                    },\r\n					subject: {\r\n						required: \"Bitte geben Sie ein Betreff ein!\"\r\n					},\r\n					message: {\r\n						required: \"Bitte geben Sie eine Nachricht ein!\"\r\n					}\r\n				},\r\n					\r\n				// SUBMIT //\r\n				submitHandler: function(form) {\r\n					var result;
5\r\n					$(form).ajaxSubmit({\r\n						type: \"POST\",\r\n						data: $(form).serialize(),\r\n						url: \"assets/php/send.php\",\r\n						success: function(msg) {\r\n							\r\n							if (msg == 'OK') {\r\n								result = '<div class=\"alert alert-success\">Your message was successfully sent!</div>';\r\n								$(\"#contact-form\").clearForm();\r\n							} else {\r\n								result = msg;\r\n							}\r\n							\r\n							$(\"#alert-area\").html(result);\r\n		\r\n						},\r\n						error: function() {\r\n		\r\n							result = '<div class=\"alert alert-danger\">There was an error sending the message!</div>';\r\n							$(\"#alert-area\").html(result);\r\n		\r\n						}\r\n					});\r\n				}\r\n			});\r\n			\r\n		}\r\n		\r\n		\r\n		// PARALLX //\r\n		if (typeof $.fn.stellar !== 'undefined') {\r\n		\r\n			if (!is_touch_device()) {\r\n				\r\n				$(window).stellar({\r\n					horizontalScrolling: false,\r\n					verticalScrolling: true,\r\n					responsive: true\r\n				});\r\n				\r\n			}\r\n		\r\n		}\r\n		\r\n		\r\n		// SHOW/HIDE SCROLL UP\r\n		show_hide_scroll_top();\r\n		\r\n		\r\n		// SCROLL UP //\r\n		scroll_up();\r\n		\r\n		\r\n		// YOUTUBE PLAYER //\r\n		if (typeof $.fn.mb_YTPlayer !== 'undefined') {\r\n			\r\n			$(\".youtube-player\").mb_YTPlayer();\r\n		\r\n		}\r\n		\r\n		\r\n		// SOCIAL MEDIA //\r\n		social_media();\r\n\r\n\r\n		// LOCATION DETAILS //\r\n		location_details();\r\n\r\n\r\n		// INSTAGRAM FEED //\r\n		instagram_feed();\r\n\r\n\r\n		// DRAG SLIDER //\r\n		drag_slider();\r\n\r\n\r\n		// EQUAL HEIGHT //\r\n		equal_height();\r\n\r\n\r\n		// FULL SCREEN //\r\n		full_screen();\r\n		\r\n		\r\n		// ANIMATIONS //\r\n		animations();\r\n\r\n\r\n		// COUNTDOWN //\r\n		if (typeof $.fn.countdown !== 'undefined') {\r\n\r\n			$(\".countdown\").countdown('2016/05/01 07:00', function(event) {\r\n				$(this).html(event.strftime(\r\n					'<div><div class=\"counter\">%-D</div> <span>Days</span></div>' +\r\n					'<div><div class=\"counter\">%-H</div> <span>Hours</span></div>' +\r\n					'<div><div class=\"counter\">%-M</div> <span>Minutes</span></div>' +\r\n					'<div><div class=\"counter\">%S</div> <span>Seconds</span></div>'\r\n				));\r\n			});\r\n\r\n		}\r\n		\r\n	});\r\n\r\n	\r\n	// WINDOW SCROLL //\r\n	$(window).scroll(function() {\r\n		\r\n		progress_bars();\r\n		pie_chart();\r\n		counter();\r\n		show_hide_scroll_top();\r\n		\r\n	});\r\n	\r\n	\r\n	// WINDOW RESIZE //\r\n	$(window).resize(function() {\r\n\r\n		mobile_menu();\r\n		equal_height();\r\n		full_screen();\r\n		\r\n	});\r\n	\r\n})(window.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.