PageSourceSearch

https://www.wedoble.com/plugins/templates_base/home/1/home.10.min.js?4

js wedoble.com collected 2026-09-26 12:36:27 UTC 3,322 bytes, 1 lines download raw bytes

1$(document).ready(function(){var e=!1,a=!1;if(JSVars.homepage.totalSliders>1){isMobileDevice()?(1==JSVars.homepage.dots_mobile&&(a=!0),1==JSVars.homepage.arrows_mobile&&(e=!0)):(1==JSVars.homepage.dots&&(a=!0),1==JSVars.homepage.arrows&&(e=!0));$(".home-slider").slick({autoplay:1==JSVars.homepage.autoplay,infinite:1==JSVars.homepage.infiniteloop,variableWidth:1==JSVars.homepage.variableWidth,adaptiveHeight:1==JSVars.homepage.adaptiveHeight,pauseOnHover:1==JSVars.homepage.pauseOnHover,autoplaySpeed:JSVars.homepage.autoplaySpeed,speed:isMobileDevice()||$("body").hasClass("tablet")?JSVars.homepage.speed_mobile:JSVars.homepage.speed,draggable:1==JSVars.homepage.draggable,dots:a,arrows:e,useCSS:true,initialSlide:0})}$(".sliderplaypausevideo").click(function(){var e=$(this).closest(".video-mp4-slide"),a=e.find("video")[0];a.paused?($(".video-figure-image",e).css("opacity",1),$("figure",e).hide(),$(".sliderplaypausevideo",e).addClass("iconPause"),a.play()):($(".sliderplaypausevideo",e).removeClass("iconPause"),a.pause())})});var videoHome=isMobileDevice()?JSVars.homepage.videoMobile:JSVars.homepage.videoDesktop,autoPlayHome=isMobileDevice()?JSVars.homepage.autoPlayVideoMobile:JSVars.homepage.autoPlayVideoDesktop,videoElement=isMobileDevice()?"player_video_mobile":"player_video_desktop";if(""!=videoHome){var playerHome,playingHome=!1,auxPlayerHome=0,playHome=parseInt(videoHome),tag=document.createElement("script");tag.src="//www.youtube.com/iframe_api";var firstScriptTag=document.getElementsByTagName("script")[0];function onYouTubeIframeAPIReady(){"function"==typeof onYouTubeBLIframeAPIReady&&onYouTubeBLIframeAPIReady(),playerHome=new YT.Player(videoElement,{videoId:videoHome,playerVars:{color:"white",disablekb:1,iv_load_policy:3,cc_load_policy:0,autoplay:autoPlayHome,showinfo:0,rel:0,playsinline:0,controls:0,modestbranding:1,loop:1,playlist:videoHome},events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}})}function onPlayerReady(e){$(".home-slider .video-slide a").on("click",function(){$(this).addClass("active"),playerHome.playVideo()}),JSVars.homepage.muteVideo>0&&playerHome.mute(),scrollControls(),windowControls(),JSVars.homepage.fitVideo>0&&fitVideo()}function onPlayerStateChange(e){1==e.data?playingHome=!0:2==e.data&&(playingHome=!1)}function scrollControls(){$("#"+videoElement).isOnScreen()||1!=playingHome||0!=auxPlayerHome?$("#"+videoElement).isOnScreen()&&0==playingHome&&1==auxPlayerHome&&(playerHome.playVideo(),auxPlayerHome=0):(playerHome.pauseVideo(),auxPlayerHome=1)}function windowControls(){var e=!1;$("#"+videoElement).iframeTracker({overCallback:function(a){e=!0},outCallback:function(a){e=!1}}),$(window).focus(function(){0==playingHome&&1==auxPlayerHome&&(playerHome.playVideo(),auxPlayerHome=0)}).blur(function(){e||1==playingHome&&0==auxPlayerHome&&(playerHome.pauseVideo(),auxPlayerHome=1)})}function fitVideo(){var e=$("#"+videoElement).attr("width"),a=100*$("#"+videoElement).attr("height")/e;$("#"+videoElement).parent().addClass("adaptive").css("padding-bottom",a+"%"),$("#"+videoElement).parent().css({top:"50%","margin-top":"-"+$(this).parent().outerHeight()/2+"px"})}firstScriptTag.parentNode.insertBefore(tag,firstScriptTag),1==autoPlayHome&&$(".home-slider .video-slide a").addClass("active"),$(window).on("scroll",function(){scrollControls()})}

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.