1/* script generated by Rebar 2 * 3 * [1779377930.0243][WRN] - Output file missing for AUTOPLAY-JS! Forcing recompilation. 4 * 5 * Generated at: 2026-05-21T11:38:50-04:00 6 * Overall compilation time: 0.0048279762268066 7 * Total combined files: 1 8 */ 9 10/** /packages/naz_common/blocks/naz_autoplay/media/js/view.js **/ 11;var BlockInit=BlockInit||{};BlockInit.naz_autoplay=function(){$("div#video-container img").each(function(){setAutoplayImage($(this));});$(window).resize(function(){$("div#video-container img").each(function(){setAutoplayImage($(this));});});function setAutoplayImage($banner){var mobile=$banner.data().mobile;var desktop=$banner.data().desktop;if((mobile="/files/")){mobile=desktop;} 12if(window.innerWidth>600){$banner.attr("src",desktop);}else{$banner.attr("src",mobile);} 13showVideo();} 14function showVideo(){var iframe=document.querySelector("#video-container iframe");var player=new Vimeo.Player(iframe);player.on("play",function(){$("div#video-container img").addClass("fade-out");$(".vimeo-container").addClass("fade-in");$(".video-text").addClass("fade-in");$(".control-btn").show();});var playing=true;$(".control-btn").click(function(){if(playing==true){pause();}else{play();} 15function play(){$(".pause-btn").show();$(".play-btn").hide();player.play().then();playing^=true;} 16function pause(){$(".pause-btn").hide();$(".play-btn").show();player.pause().then();playing^=true;}});}};$(BlockInit.naz_autoplay);
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.