1(function(){var loadYouTubeAPI=(function(){var queue=[];return function(cb){if(window.YT&&window.YT.Player){cb();return}if(queue.push(cb),!document.querySelector('script[src*="youtube.com/iframe_api"]')){var prev=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){typeof prev=="function"&&prev(),queue.forEach(function(fn){fn()}),queue=[]};var tag=document.createElement("script");tag.src="https://www.youtube.com/iframe_api",document.head.appendChild(tag)}}})();const initAboutVideo=wrapper=>{const video=wrapper.querySelector("[data-about-video]"),preview=wrapper.querySelector("[data-about-video-preview]"),playBtn=wrapper.querySelector("[data-about-video-play]"),youtubeId=wrapper.dataset.youtubeId;if(!video&&!youtubeId)return;const showPreview=()=>{preview&&preview.classList.remove("about-us__preview--hidden"),playBtn&&playBtn.classList.remove("about-us__play--hidden")},hidePreview=()=>{preview&&preview.classList.add("about-us__preview--hidden"),playBtn&&playBtn.classList.add("about-us__play--hidden")};if(youtubeId){let iframe=null;wrapper.addEventListener("click",()=>{if(iframe)return;hidePreview();const iframeId="au-yt-"+Math.random().toString(36).slice(2);iframe=document.createElement("iframe"),iframe.id=iframeId,iframe.src="https://www.youtube.com/embed/"+youtubeId+"?enablejsapi=1&autoplay=1&rel=0",iframe.className="about-us__youtube",iframe.setAttribute("frameborder","0"),iframe.setAttribute("allow","autoplay; encrypted-media; fullscreen"),iframe.setAttribute("allowfullscreen",""),wrapper.appendChild(iframe),loadYouTubeAPI(function(){const player=new YT.Player(iframeId,{events:{onReady:function(){const overlay=document.createElement("div");overlay.className="about-us__youtube-overlay",wrapper.appendChild(overlay),overlay.addEventListener("click",function(e){e.stopPropagation(),player.getPlayerState()===YT.PlayerState.PLAYING?player.pauseVideo():player.playVideo()})}}})})})}else wrapper.addEventListener("click",()=>{video.paused?(hidePreview(),video.play()):video.pause()}),video.addEventListener("pause",showPreview),video.addEventListener("ended",showPreview)},initAll=()=>{document.querySelectorAll("[data-about-video-wrapper]").forEach(initAboutVideo)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",initAll):initAll(),typeof Shopify<"u"&&Shopify.designMode&&document.addEventListener("shopify:section:load",()=>setTimeout(initAll,100))})(); 2//# sourceMappingURL=/cdn/shop/t/13/assets/about-us.js.map?v=39815167492286885501784657423
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.