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M,6EAAC,CAzmBgB,E","sources":["webpack://@hero-digital/zoom/./src/components/modules/VideoExpander/VideoExpander.js"],"sourcesContent":["class VideoExpander {\r\n constructor(el) {\r\n this.el = el\r\n this.tabletBreakpoint = 768\r\n this.domMap = {\r\n $defaultVideoPlayerFullVideo: el.querySelector(\r\n 'video.module-default-player-fullVideo'\r\n ),\r\n $defaultVideoPlayerPreview: el.querySelector(\r\n 'video.module-default-player'\r\n ),\r\n $defaultVideoPlayerMetaInformations: el.querySelector(\r\n '.module-video-expander__meta-informations'\r\n ),\r\n $defaultVideoPlayerFullVideoControls: el.querySelector(\r\n '.module-video-expander__desktopHTMLVideoPlayerControls'\r\n ),\r\n $defaultVideoPlayerFullVideoControlsPlayButton: el.querySelector(\r\n '.module-video-expander__desktopHTMLVideoPlayerControls--play-button'\r\n ),\r\n $defaultVideoPlayerFullVideoControlsReplayButton: el.querySelector(\r\n '.module-video-expander__desktopHTMLVideoPlayerControls--replay-button'\r\n ),\r\n $modalVideo: document.querySelector('#hero-player-modal'),\r\n $script: el.querySelector('.module-video-expander__script'),\r\n $playButton: el.querySelector('.module-video-expander__play-button'),\r\n $stopButton: el.querySelector('.module-video-expander__stop-button'),\r\n $stopButtonModal: el.parentNode.querySelector(\r\n '.module-video-expander__modal-video-close'\r\n ),\r\n controls: {\r\n $unmute: el.querySelector(\r\n '.module-video-expander__video-control--unmute'\r\n ),\r\n $mute: el.querySelector('.module-video-expander__video-control--mute'),\r\n $pause: el.querySelector(\r\n '.module-video-expander__video-control--pause'\r\n ),\r\n $play: el.querySelector('.module-video-expander__video-control--play')\r\n },\r\n modalControls: {\r\n $unmute: el.parentNode.querySelector(\r\n '.module-video-expander__modal-video-control--unmute'\r\n ),\r\n $mute: el.parentNode.querySelector(\r\n '.module-video-expander__modal-video-control--mute'\r\n ),\r\n $pause: el.parentNode.querySelector(\r\n '.module-video-expander__modal-video-control--pause'\r\n ),\r\n $play: el.parentNode.querySelector(\r\n '.module-video-expander__modal-video-control--play'\r\n )\r\n }\r\n }\r\n\r\n const videoElement = el.querySelector('[data-playertype]')\r\n let isJWPlayer = false\r\n if (videoElement && videoElement.getAttribute('data-playertype') === '1') {\r\n isJWPlayer = true\r\n } else {\r\n isJWPlayer = false\r\n }\r\n\r\n this.links = Array.from(el.querySelectorAll('.fdn-button'))\r\n this.classes = el.classList\r\n\r\n if (isJWPlayer) {\r\n this.addListeners()\r\n this.loadInitialVideo()\r\n } else {\r\n this.addListenersHTMLPlayer()\r\n }\r\n this.handlePricingCardPosition()\r\n window.addEventListener('resize', () => this.handlePricingCardPosition())\r\n }\r\n\r\n addListeners() {\r\n const {\r\n $playButton,\r\n $stopButton,\r\n $stopButtonModal,\r\n modalControls,\r\n controls\r\n } = this.domMap\r\n\r\n $playButton.addEventListener('click', this.expand.bind(this))\r\n $stopButton.addEventListener('click', this.close.bind(this))\r\n $stopButtonModal.addEventListener('click', this.close.bind(this))\r\n controls.$mute.addEventListener('click', () => {\r\n this.playerFull.setMute(true)\r\n\r\n controls.$mute.hidden = true\r\n controls.$unmute.hidden = false\r\n })\r\n controls.$unmute.addEventListener('click', () => {\r\n this.playerFull.setMute(false)\r\n controls.$unmute.hidden = true\r\n controls.$mute.hidden = false\r\n })\r\n controls.$pause.addEventListener('click', () => {\r\n if (this.el.classList.contains('active')) {\r\n this.playerFull.pause()\r\n } else {\r\n this.playerIntro.pause()\r\n }\r\n controls.$pause.hidden = true\r\n controls.$play.hidden = false\r\n })\r\n controls.$play.addEventListener('click', () => {\r\n if (this.el.classList.contains('active')) {\r\n this.playerFull.play()\r\n } else {\r\n this.playerIntro.play()\r\n }\r\n controls.$play.hidden = true\r\n controls.$pause.hidden = false\r\n })\r\n modalControls.$unmute.addEventListener('click', () => {\r\n this.playerModal.setMute(false)\r\n modalControls.$unmute.hidden = true\r\n modalControls.$mute.hidden = false\r\n })\r\n modalControls.$mute.addEventListener('click', () => {\r\n this.playerModal.setMute(true)\r\n modalControls.$mute.hidden = true\r\n modalControls.$unmute.hidden = false\r\n })\r\n modalControls.$pause.addEventListener('click', () => {\r\n this.playerModal.pause()\r\n modalControls.$pause.hidden = true\r\n modalControls.$play.hidden = false\r\n })\r\n modalControls.$play.addEventListener('click', () => {\r\n this.playerModal.play()\r\n modalControls.$play.hidden = true\r\n modalControls.$pause.hidden = false\r\n })\r\n window.addEventListener('resize', this.resize.bind(this))\r\n }\r\n\r\n resize() {\r\n if (window.innerWidth >= this.tabletBreakpoint) {\r\n if (this.el.classList.contains('active')) {\r\n this.playerFull.play()\r\n this.playerIntro.pause()\r\n } else {\r\n this.playerIntro.play()\r\n this.playerFull.pause()\r\n }\r\n } else {\r\n if (this.el.classList.contains('active')) {\r\n this.playerModal.play()\r\n } else {\r\n this.playerModal.pause()\r\n }\r\n }\r\n }\r\n\r\n expand() {\r\n const { controls } = this.domMap\r\n this.el.classList.add('active')\r\n this.playerIntro.pause()\r\n controls.$play.hidden = true\r\n controls.$pause.hidden = false\r\n\r\n setTimeout(() => {\r\n this.el.classList.add('transitioncomplete')\r\n // this.el.scrollIntoView({ behavior: 'smooth', block: 'start' })\r\n }, 1000)\r\n\r\n if (window.innerWidth >= this.tabletBreakpoint) {\r\n this.playerFull.play()\r\n } else {\r\n this.playerModal.play()\r\n document.body.classList.add('no-scroll')\r\n }\r\n }\r\n\r\n close() {\r\n const { controls } = this.domMap\r\n this.el.classList.remove('active')\r\n this.el.classList.remove('transitioncomplete')\r\n this.playerIntro.play()\r\n controls.$play.hidden = true\r\n controls.$pause.hidden = false\r\n\r\n if (window.innerWidth >= this.tabletBreakpoint) {\r\n this.playerFull.pause()\r\n } else {\r\n this.playerModal.pause()\r\n document.body.classList.remove('no-scroll')\r\n }\r\n }\r\n\r\n loadInitialVideo() {\r\n const { $script } = this.domMap\r\n\r\n if ($script) {\r\n const script = document.createElement('script')\r\n script.src = $script.dataset.src\r\n $script.parentNode.appendChild(script)\r\n const introOptions = {\r\n playlist: [\r\n {\r\n file: $script.dataset.introFile\r\n }\r\n ],\r\n controls: false,\r\n autostart: true,\r\n mute: true,\r\n repeat: true\r\n }\r\n const fullOptions = {\r\n playlist: [\r\n {\r\n file: $script.dataset.fullFile\r\n }\r\n ],\r\n controls: false,\r\n autostart: false,\r\n mute: false,\r\n repeat: true\r\n }\r\n\r\n script.onload = () => {\r\n this.playerIntro = jwplayer('hero-player-intro').setup(introOptions)\r\n this.playerFull = jwplayer('hero-player-full').setup(fullOptions)\r\n this.playerModal = jwplayer('hero-player-modal').setup(fullOptions)\r\n }\r\n }\r\n }\r\n\r\n // HTML player\r\n\r\n resizeHTMLPlayer() {\r\n const {\r\n $defaultVideoPlayerPreview,\r\n $defaultVideoPlayerFullVideo,\r\n $modalVideo,\r\n controls,\r\n modalControls,\r\n $defaultVideoPlayerMetaInformations,\r\n $defaultVideoPlayerFullVideoControls,\r\n $defaultVideoPlayerFullVideoControlsPlayButton,\r\n $defaultVideoPlayerFullVideoControlsReplayButton\r\n } = this.domMap\r\n const modalVideo = $modalVideo.querySelector('.module-modal-hero-video')\r\n let isDesktopVideoPlaying = false\r\n let isModalVideoPlaying = false\r\n let isDesktopVideomute = false\r\n let isModalVideomute = false\r\n let isDesktopVideoEnded = false\r\n let isModalVideoEnded = false\r\n if (window.innerWidth >= this.tabletBreakpoint) {\r\n if (document.body.classList.contains('no-scroll')) {\r\n document.body.classList.remove('no-scroll')\r\n }\r\n if (modalVideo.muted) {\r\n isDesktopVideomute = true\r\n } else {\r\n isDesktopVideomute = false\r\n }\r\n if (!modalVideo.paused) {\r\n isDesktopVideoPlaying = true\r\n modalVideo.pause()\r\n } else {\r\n isDesktopVideoPlaying = false\r\n }\r\n if (modalVideo.ended) {\r\n isDesktopVideoEnded = true\r\n } else {\r\n isDesktopVideoEnded = false\r\n }\r\n if (this.el.classList.contains('active')) {\r\n $defaultVideoPlayerPreview.setAttribute('hidden', 'hidden')\r\n $defaultVideoPlayerFullVideo.removeAttribute('hidden')\r\n $defaultVideoPlayerFullVideo.currentTime =\r\n modalVideo.currentTime.toFixed(2)\r\n if (isDesktopVideoPlaying) {\r\n //controls.$pause.hidden = false\r\n //controls.$play.hidden = true\r\n $defaultVideoPlayerFullVideo.play()\r\n } else {\r\n $defaultVideoPlayerFullVideo.pause()\r\n //controls.$pause.hidden = true\r\n //controls.$play.hidden = false\r\n this.showElement($defaultVideoPlayerMetaInformations)\r\n this.showElement($defaultVideoPlayerFullVideoControls)\r\n this.showElement($defaultVideoPlayerFullVideoControlsPlayButton)\r\n this.desktopHTMLVideoPlayerControls()\r\n }\r\n if (isDesktopVideomute) {\r\n $defaultVideoPlayerFullVideo.muted = true\r\n } else {\r\n $defaultVideoPlayerFullVideo.muted = false\r\n }\r\n if (isDesktopVideoEnded) {\r\n this.showElement($defaultVideoPlayerMetaInformations)\r\n this.showElement($defaultVideoPlayerFullVideoControls)\r\n this.showElement($defaultVideoPlayerFullVideoControlsReplayButton)\r\n this.desktopHTMLVideoPlayerControls()\r\n }\r\n } else {\r\n $defaultVideoPlayerPreview.removeAttribute('hidden')\r\n $defaultVideoPlayerFullVideo.setAttribute('hidden', 'hidden')\r\n $defaultVideoPlayerFullVideo.pause()\r\n $defaultVideoPlayerPreview.play()\r\n }\r\n } else {\r\n if ($defaultVideoPlayerFullVideo.muted) {\r\n isModalVideomute = true\r\n } else {\r\n isModalVideomute = false\r\n }\r\n if (!$defaultVideoPlayerFullVideo.paused) {\r\n $defaultVideoPlayerFullVideo.pause()\r\n isModalVideoPlaying = true\r\n } else {\r\n isModalVideoPlaying = false\r\n }\r\n if ($defaultVideoPlayerFullVideo.ended) {\r\n isModalVideoEnded = true\r\n } else {\r\n isModalVideoEnded = false\r\n }\r\n if (this.el.classList.contains('active')) {\r\n const $modalTitle = $modalVideo.querySelector(\r\n '.module-video-expander__meta-informations--title'\r\n )\r\n const $modalVideoPlayBtn = $modalVideo.querySelector(\r\n '.module-video-expander-modal__play-button'\r\n )\r\n const $modalVideoReplayBtn = $modalVideo.querySelector(\r\n '.module-video-expander-modal__replay-button'\r\n )\r\n document.body.classList.add('no-scroll')\r\n modalVideo.currentTime =\r\n $defaultVideoPlayerFullVideo.currentTime.toFixed(2)\r\n if (isModalVideoPlaying) {\r\n modalVideo.play()\r\n } else {\r\n this.showElement($modalVideoPlayBtn)\r\n modalVideo.pause()\r\n this.showElement($modalTitle)\r\n this.popupHtmlVideoPlayerControls()\r\n }\r\n if (isModalVideomute) {\r\n modalVideo.muted = true\r\n } else {\r\n modalVideo.muted = false\r\n }\r\n if (isModalVideoEnded) {\r\n this.showElement($modalVideoReplayBtn)\r\n this.popupHtmlVideoPlayerControls()\r\n } else {\r\n this.hideElement($modalVideoReplayBtn)\r\n }\r\n } else {\r\n modalVideo.muted = true\r\n modalVideo.pause()\r\n }\r\n }\r\n }\r\n\r\n expandHTMLPlayer() {\r\n const {\r\n controls,\r\n $defaultVideoPlayerPreview,\r\n $defaultVideoPlayerFullVideo,\r\n $modalVideo\r\n } = this.domMap\r\n this.el.classList.add('active')\r\n $defaultVideoPlayerPreview.pause()\r\n controls.$play.hidden = true\r\n controls.$pause.hidden = false\r\n\r\n setTimeout(() => {\r\n this.el.classList.add('transitioncomplete')\r\n }, 1000)\r\n\r\n if (window.innerWidth >= this.tabletBreakpoint) {\r\n $defaultVideoPlayerPreview.setAttribute('hidden', 'hidden')\r\n $defaultVideoPlayerFullVideo.removeAttribute('hidden')\r\n $defaultVideoPlayerFullVideo.play()\r\n if (this.el.classList.contains('active')) {\r\n this.hideDesktopHTMLVideoPlayerControls()\r\n this.desktopHTMLVideoPlayerControls()\r\n }\r\n } else {\r\n this.hideDesktopHTMLVideoPlayerControls()\r\n this.desktopHTMLVideoPlayerControls()\r\n const modalVideo = $modalVideo.querySelector('.module-modal-hero-video')\r\n modalVideo.muted = false\r\n modalVideo.play()\r\n document.body.classList.add('no-scroll')\r\n }\r\n }\r\n\r\n closeHTMLPlayer() {\r\n const {\r\n $defaultVideoPlayerPreview,\r\n $defaultVideoPlayerFullVideo,\r\n $modalVideo,\r\n controls\r\n } = this.domMap\r\n this.hideDesktopHTMLVideoPlayerControls()\r\n this.el.classList.remove('active')\r\n this.el.classList.remove('transitioncomplete')\r\n controls.$play.hidden = true\r\n controls.$pause.hidden = false\r\n\r\n if (window.innerWidth >= this.tabletBreakpoint) {\r\n $defaultVideoPlayerFullVideo.pause()\r\n $defaultVideoPlayerFullVideo.setAttribute('hidden', 'hidden')\r\n $defaultVideoPlayerPreview.removeAttribute('hidden')\r\n $defaultVideoPlayerPreview.play()\r\n } else {\r\n $modalVideo.querySelector('.module-modal-hero-video').pause()\r\n $defaultVideoPlayerFullVideo.setAttribute('hidden', 'hidden')\r\n $defaultVideoPlayerPreview.removeAttribute('hidden')\r\n $defaultVideoPlayerPreview.play()\r\n document.body.classList.remove('no-scroll')\r\n }\r\n }\r\n\r\n createPopupHTMLVideoPlayer() {\r\n const defaultFullVideo = this.el.querySelector('[data-full-video]')\r\n const { $modalVideo } = this.domMap\r\n let videoWrapper = document.createElement('div')\r\n videoWrapper.setAttribute('class', 'module-modal-hero-video-wrapper')\r\n let title = document.createElement('div')\r\n title.setAttribute(\r\n 'class',\r\n 'module-video-expander__meta-informations--title'\r\n )\r\n title.textContent = defaultFullVideo.getAttribute('data-full-video-title')\r\n let modalPlayBtn = document.createElement('button')\r\n modalPlayBtn.setAttribute(\r\n 'class',\r\n 'module-video-expander-modal__play-button'\r\n )\r\n let modalReplayBtn = document.createElement('button')\r\n modalReplayBtn.setAttribute(\r\n 'class',\r\n 'module-video-expander-modal__replay-button'\r\n )\r\n videoWrapper.appendChild(modalPlayBtn)\r\n videoWrapper.appendChild(modalReplayBtn)\r\n $modalVideo.appendChild(title)\r\n let videoElement = $modalVideo.querySelector('video')\r\n if (!videoElement) {\r\n videoElement = document.createElement('video')\r\n videoElement.setAttribute('controls', '')\r\n videoElement.setAttribute('width', '100%')\r\n videoElement.setAttribute('height', 'auto')\r\n videoElement.setAttribute('class', 'module-modal-hero-video')\r\n const sourceElement = document.createElement('source')\r\n sourceElement.setAttribute(\r\n 'src',\r\n defaultFullVideo.getAttribute('data-full-video')\r\n )\r\n sourceElement.setAttribute('type', 'video/mp4')\r\n videoElement.appendChild(sourceElement)\r\n videoWrapper.appendChild(videoElement)\r\n $modalVideo.appendChild(videoWrapper)\r\n videoElement.load()\r\n }\r\n }\r\n\r\n showElement(element) {\r\n element.style.opacity = 1\r\n element.style.display = 'block'\r\n }\r\n\r\n hideElement(element) {\r\n element.style.opacity = 0\r\n element.style.display = 'none'\r\n }\r\n\r\n hideDesktopHTMLVideoPlayerControls() {\r\n const {\r\n $defaultVideoPlayerMetaInformations,\r\n $defaultVideoPlayerFullVideoControls,\r\n $defaultVideoPlayerFullVideoControlsPlayButton,\r\n $defaultVideoPlayerFullVideoControlsReplayButton\r\n } = this.domMap\r\n\r\n this.hideElement($defaultVideoPlayerMetaInformations)\r\n this.hideElement($defaultVideoPlayerFullVideoControls)\r\n this.hideElement($defaultVideoPlayerFullVideoControlsPlayButton)\r\n this.hideElement($defaultVideoPlayerFullVideoControlsReplayButton)\r\n }\r\n\r\n desktopHTMLVideoPlayerControls() {\r\n const {\r\n $defaultVideoPlayerFullVideo,\r\n $defaultVideoPlayerMetaInformations,\r\n $defaultVideoPlayerFullVideoControls,\r\n $defaultVideoPlayerFullVideoControlsPlayButton,\r\n $defaultVideoPlayerFullVideoControlsReplayButton\r\n } = this.domMap\r\n\r\n if (this.el.classList.contains('active')) {\r\n $defaultVideoPlayerFullVideo.addEventListener('play', () => {\r\n this.hideDesktopHTMLVideoPlayerControls()\r\n })\r\n\r\n $defaultVideoPlayerFullVideo.addEventListener('pause', () => {\r\n if (this.el.classList.contains('active')) {\r\n this.showElement($defaultVideoPlayerMetaInformations)\r\n this.showElement($defaultVideoPlayerFullVideoControls)\r\n this.showElement($defaultVideoPlayerFullVideoControlsPlayButton)\r\n this.hideElement($defaultVideoPlayerFullVideoControlsReplayButton)\r\n }\r\n })\r\n\r\n $defaultVideoPlayerFullVideo.addEventListener('ended', () => {\r\n if (this.el.classList.contains('active')) {\r\n this.showElement($defaultVideoPlayerMetaInformations)\r\n this.showElement($defaultVideoPlayerFullVideoControls)\r\n this.hideElement($defaultVideoPlayerFullVideoControlsPlayButton)\r\n this.showElement($defaultVideoPlayerFullVideoControlsReplayButton)\r\n }\r\n })\r\n $defaultVideoPlayerFullVideoControlsPlayButton.addEventListener(\r\n 'click',\r\n () => {\r\n $defaultVideoPlayerFullVideo.play()\r\n this.hideDesktopHTMLVideoPlayerControls()\r\n }\r\n )\r\n $defaultVideoPlayerFullVideoControlsReplayButton.addEventListener(\r\n 'click',\r\n () => {\r\n $defaultVideoPlayerFullVideo.currentTime = 0\r\n $defaultVideoPlayerFullVideo.play()\r\n this.hideDesktopHTMLVideoPlayerControls()\r\n }\r\n )\r\n }\r\n }\r\n\r\n popupHtmlVideoPlayerControls() {\r\n const { $modalVideo } = this.domMap\r\n const $modalTitle = $modalVideo.querySelector(\r\n '.module-video-expander__meta-informations--title'\r\n )\r\n const $modalpopupVideo = $modalVideo.querySelector(\r\n '.module-modal-hero-video'\r\n )\r\n const $modalVideoPlayBtn = $modalVideo.querySelector(\r\n '.module-video-expander-modal__play-button'\r\n )\r\n const $modalVideoReplayBtn = $modalVideo.querySelector(\r\n '.module-video-expander-modal__replay-button'\r\n )\r\n $modalpopupVideo.addEventListener('play', () => {\r\n if (this.el.classList.contains('active')) {\r\n this.hideElement($modalTitle)\r\n this.hideElement($modalVideoPlayBtn)\r\n this.hideElement($modalVideoReplayBtn)\r\n }\r\n })\r\n $modalpopupVideo.addEventListener('pause', () => {\r\n if (this.el.classList.contains('active')) {\r\n this.showElement($modalTitle)\r\n this.showElement($modalVideoPlayBtn)\r\n this.hideElement($modalVideoReplayBtn)\r\n }\r\n })\r\n $modalpopupVideo.addEventListener('ended', () => {\r\n if (this.el.classList.contains('active')) {\r\n this.showElement($modalTitle)\r\n this.hideElement($modalVideoPlayBtn)\r\n this.showElement($modalVideoReplayBtn)\r\n }\r\n })\r\n $modalVideoPlayBtn.addEventListener('click', () => {\r\n $modalpopupVideo.play()\r\n this.hideElement($modalTitle)\r\n })\r\n $modalVideoReplayBtn.addEventListener('click', () => {\r\n $modalpopupVideo.currentTime = 0\r\n $modalpopupVideo.play()\r\n this.hideElement($modalTitle)\r\n })\r\n }\r\n\r\n addListenersHTMLPlayer() {\r\n const {\r\n $defaultVideoPlayerPreview,\r\n $playButton,\r\n $stopButton,\r\n $stopButtonModal,\r\n controls\r\n } = this.domMap\r\n $playButton.addEventListener('click', this.expandHTMLPlayer.bind(this))\r\n $stopButton.addEventListener('click', this.closeHTMLPlayer.bind(this))\r\n $stopButtonModal.addEventListener('click', this.closeHTMLPlayer.bind(this))\r\n controls.$pause.addEventListener('click', () => {\r\n if (!this.el.classList.contains('active')) {\r\n $defaultVideoPlayerPreview.pause()\r\n }\r\n controls.$pause.hidden = true\r\n controls.$play.hidden = false\r\n })\r\n controls.$play.addEventListener('click', () => {\r\n if (!this.el.classList.contains('active')) {\r\n $defaultVideoPlayerPreview.play()\r\n }\r\n controls.$play.hidden = true\r\n controls.$pause.hidden = false\r\n })\r\n this.createPopupHTMLVideoPlayer()\r\n this.popupHtmlVideoPlayerControls()\r\n window.addEventListener('resize', this.resizeHTMLPlayer.bind(this))\r\n }\r\n // HTML Player End\r\n // New Pricing API\r\n handlePricingCardPosition = () => {\r\n // Maintain a reference to the pricing card wrapper if already moved\r\n let pricingCardWrapper = this.pricingCardWrapper || this.el.querySelector('.fdn-pricingcard-uni-wrapper');\r\n const videoExpander = this.el;\r\n \r\n // Ensure originalParent is defined at the start\r\n let originalParent = document.querySelector('#pricingcard-tablet-view .wrapper .column-1');\r\n \r\n // Get current viewport width\r\n const viewportWidth = window.innerWidth;\r\n \r\n if (!pricingCardWrapper) {\r\n //console.warn('Pricing card wrapper not found.');\r\n return;\r\n }\r\n \r\n if (viewportWidth >= 768 && viewportWidth < 1220) {\r\n // Ensure #pricingcard-tablet-view structure is created only once\r\n if (!document.querySelector('#pricingcard-tablet-view')) {\r\n const pricingCardTabletView = document.createElement('div');\r\n pricingCardTabletView.id = 'pricingcard-tablet-view';\r\n pricingCardTabletView.className = 'module-columns layout-1-columns module-spacing-top-zero module-spacing-zero module-padding-x-small';\r\n if (this.el.classList.contains('module-video-expander--dark')) {\r\n pricingCardTabletView.classList.add('theme-dark');\r\n } else if (this.el.classList.contains('module-video-expander--light')) {\r\n pricingCardTabletView.classList.add('theme-light');\r\n }\r\n \r\n const wrapperDiv = document.createElement('div');\r\n wrapperDiv.className = 'wrapper';\r\n \r\n const columnDiv = document.createElement('div');\r\n columnDiv.className = 'column column-1';\r\n \r\n // Assemble the structure\r\n wrapperDiv.appendChild(columnDiv);\r\n pricingCardTabletView.appendChild(wrapperDiv);\r\n \r\n // Insert the new structure before the videoExpander or as appropriate\r\n videoExpander.parentNode.insertBefore(pricingCardTabletView, videoExpander.nextSibling);\r\n \r\n // Update the reference to originalParent to point to column-1\r\n originalParent = columnDiv;\r\n }\r\n \r\n // Ensure pricing card wrapper is inside the #pricingcard-tablet-view .wrapper .column-1\r\n if (pricingCardWrapper.parentNode !== originalParent) {\r\n originalParent.appendChild(pricingCardWrapper);\r\n }\r\n } else {\r\n //Move the pricing card wrapper back to its original position\r\n const originalContainer = videoExpander.querySelector('.module-video-expander-content-container');\r\n \r\n if (!originalContainer) {\r\n console.warn('Original container for pricing card not found.');\r\n return;\r\n }\r\n \r\n // Ensure the pricing card wrapper is inside the original container\r\n if (pricingCardWrapper.parentNode !== originalContainer) {\r\n originalContainer.appendChild(pricingCardWrapper);\r\n }\r\n if (document.querySelector('#pricingcard-tablet-view')) {\r\n document.getElementById('pricingcard-tablet-view').remove()\r\n }\r\n }\r\n \r\n // Cache the reference to the pricing card wrapper to avoid future null errors\r\n this.pricingCardWrapper = pricingCardWrapper;\r\n };\r\n \r\n \r\n \r\n \r\n \r\n}\r\n\r\nexport default VideoExpander\r\n"],"names":["VideoExpander","el","_this","_classCallCheck","pricingCardWrapper","querySelector","videoExpander","originalParent","document","viewportWidth","window","innerWidth","pricingCardTabletView","createElement","id","className","classList","contains","add","wrapperDiv","columnDiv","appendChild","parentNode","insertBefore","nextSibling","originalContainer","console","warn","getElementById","remove","this","tabletBreakpoint","domMap","$defaultVideoPlayerFullVideo","$defaultVideoPlayerPreview","$defaultVideoPlayerMetaInformations","$defaultVideoPlayerFullVideoControls","$defaultVideoPlayerFullVideoControlsPlayButton","$defaultVideoPlayerFullVideoControlsReplayButton","$modalVideo","$script","$playButton","$stopButton","$stopButtonModal","controls","$unmute","$mute","$pause","$play","modalControls","isJWPlayer","videoElement","getAttribute","links","Array","from","querySelectorAll","classes","addListeners","loadInitialVideo","addListenersHTMLPlayer","handlePricingCardPosition","addEventListener","key","value","_this2","_this$domMap","expand","bind","close","playerFull","setMute","hidden","pause","playerIntro","play","playerModal","resize","_this3","setTimeout","body","_this4","script","src","dataset","introOptions","playlist","file","introFile","autostart","mute","repeat","fullOptions","fullFile","onload","jwplayer","setup","_this$domMap2","modalVideo","isDesktopVideoPlaying","isModalVideoPlaying","isDesktopVideomute","isModalVideomute","isDesktopVideoEnded","isModalVideoEnded","muted","paused","ended","setAttribute","removeAttribute","currentTime","toFixed","showElement","desktopHTMLVideoPlayerControls","$modalTitle","$modalVideoPlayBtn","$modalVideoReplayBtn","popupHtmlVideoPlayerControls","hideElement","_this5","_this$domMap3","hideDesktopHTMLVideoPlayerControls","_this$domMap4","defaultFullVideo","videoWrapper","title","textContent","modalPlayBtn","modalReplayBtn","sourceElement","load","element","style","opacity","display","_this$domMap5","_this6","_this$domMap6","_this7","$modalpopupVideo","_this8","_this$domMap7","expandHTMLPlayer","closeHTMLPlayer","createPopupHTMLVideoPlayer","resizeHTMLPlayer"],"sourceRoot":""}