PageSourceSearch

https://www.borealisgroup.com/web/scripts/video-player.2e0e3eb67acbc0ee2f75.js

js borealisgroup.com collected 2026-10-02 05:01:19 UTC 2,475 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkborealisgroup_website=self.webpackChunkborealisgroup_website||[]).push([[2516],{9755:function(e,o,t){t.r(o),t.d(o,{default:function(){return d}});var i=t(8333),a=t(8719);window.onYouTubeIframeAPIReady=function(){window.youtubeApiInitialized=!0,(0,a.WI)("youtubeApiInitialized")};var d=e=>{const o={button:e.querySelector(".js-video-player__button"),videoHolder:e.querySelector(".js-video-player__video")},t=o.videoHolder.dataset.type,d=o.videoHolder.dataset.videoId,n=o.videoHolder.dataset.target;let l=!1;const u={autoplay:o.videoHolder.dataset.autoplay||0,loop:o.videoHolder.dataset.loop||0,mute:o.videoHolder.dataset.mute||0,background:o.videoHolder.dataset.background||0,playsinline:0};function s(e){e.preventDefault(),p()}function r(o){o.detail.element.contains(e)&&l&&(l.pause?l.pause():l.pauseVideo())}function p(){e.classList.add("video-initialized","video-player","video-paused"),l?v():(e.classList.add("video-loading"),"youtube"===t?window.youtubeApiInitialized?c():(function(){if(void 0!==window.youtubeApiInitialized)return;const e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";const o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(e,o)}(),(0,a.oL)("youtubeApiInitialized",(()=>c()))):"vimeo"===t&&(l=new i.Z(o.videoHolder,{id:d,autoplay:u.autoplay,muted:u.mute,loop:u.loop,background:u.background,playsinline:!0}),l.ready().then((function(){y()})),l.on("pause",(function(){m()})),l.on("play",(function(){f()}))))}function c(){const e=document.createElement("div");o.videoHolder.append(e),l=new YT.Player(e,{height:"100%",width:"100%",videoId:d,host:"https://www.youtube-nocookie.com",playerVars:{autoplay:u.autoplay,loop:u.loop,mute:u.mute,autohide:1,wmode:"opaque",modestbranding:1,playsinline:1,rel:0,fs:1,showinfo:0},events:{onReady:function(){y()},onStateChange:function(e){e.data===YT.PlayerState.PAUSED&&m(),e.data===YT.PlayerState.PLAYING&&f()}}})}function y(){e.classList.add("video-loaded","video-ready"),v(),setTimeout((()=>{e.classList.remove("video-loading")}),100)}function v(){l&&(l.play?l.play():l.playVideo())}function f(){e.classList.add("video-playing","video-played"),e.classList.remove("video-paused"),(0,a.WI)("videoPlaying",{element:e})}function m(){e.classList.remove("video-playing"),e.classList.add("video-paused")}"inline"===n&&(o.button.addEventListener("click",s),(0,a.oL)("slideChangeStart",r),(0,a.oL)("videoGalleryChange",r)),u.autoplay&&p()}}}]);

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.