PATH:
home
/
lab2454c
/
inctechhub.com
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/*! elementor - v3.5.3 - 28-12-2021 */ "use strict";(self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[791],{5363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class Video extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{imageOverlay:".elementor-custom-embed-image-overlay",video:".elementor-video",videoIframe:".elementor-video-iframe"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$imageOverlay:this.$element.find(e.imageOverlay),$video:this.$element.find(e.video),$videoIframe:this.$element.find(e.videoIframe)}}handleVideo(){this.getElementSettings("lightbox")||("youtube"===this.getElementSettings("video_type")?this.apiProvider.onApiReady((e=>{this.elements.$imageOverlay.remove(),this.prepareYTVideo(e,!0)})):(this.elements.$imageOverlay.remove(),this.playVideo()))}playVideo(){if(this.elements.$video.length)return void(this.youtubePlayer?this.youtubePlayer.playVideo():this.elements.$video[0].play());const e=this.elements.$videoIframe,t=e.data("lazy-load");t&&e.attr("src",t),e[0].src=this.apiProvider.getAutoplayURL(e[0].src)}async animateVideo(){(await elementorFrontend.utils.lightbox).setEntranceAnimation(this.getCurrentDeviceSetting("lightbox_content_animation"))}async handleAspectRatio(){(await elementorFrontend.utils.lightbox).setVideoAspectRatio(this.getElementSettings("aspect_ratio"))}async hideLightbox(){(await elementorFrontend.utils.lightbox).getModal().hide()}prepareYTVideo(e,t){const i=this.getElementSettings(),o={videoId:this.videoID,events:{onReady:()=>{i.mute&&this.youtubePlayer.mute(),(i.autoplay||t)&&this.youtubePlayer.playVideo()},onStateChange:t=>{t.data===e.PlayerState.ENDED&&i.loop&&this.youtubePlayer.seekTo(i.start||0)}},playerVars:{controls:i.controls?1:0,rel:i.rel?1:0,playsinline:i.play_on_mobile?1:0,modestbranding:i.modestbranding?1:0,autoplay:i.autoplay?1:0,start:i.start,end:i.end}};i.yt_privacy&&(o.host="https://www.youtube-nocookie.com",o.origin=window.location.hostname),this.youtubePlayer=new e.Player(this.elements.$video[0],o)}bindEvents(){this.elements.$imageOverlay.on("click",this.handleVideo.bind(this))}onInit(){super.onInit();const e=this.getElementSettings();if(elementorFrontend.utils[e.video_type]?this.apiProvider=elementorFrontend.utils[e.video_type]:this.apiProvider=elementorFrontend.utils.baseVideoLoader,"youtube"===e.video_type&&(this.videoID=this.apiProvider.getVideoIDFromURL(e.youtube_url),this.videoID&&(!e.show_image_overlay||!e.image_overlay.url)))return e.lazy_load?(this.intersectionObserver=elementorModules.utils.Scroll.scrollObserver({callback:e=>{e.isInViewport&&(this.intersectionObserver.unobserve(this.elements.$video.parent()[0]),this.apiProvider.onApiReady((e=>this.prepareYTVideo(e))))}}),void this.intersectionObserver.observe(this.elements.$video.parent()[0])):void(elementorFrontend.config.experimentalFeatures.e_optimized_assets_loading?this.apiProvider.onApiReady((e=>this.prepareYTVideo(e))):setTimeout((()=>{this.apiProvider.onApiReady((e=>this.prepareYTVideo(e)))}),0))}onElementChange(e){if(0===e.indexOf("lightbox_content_animation"))return void this.animateVideo();const t=this.getElementSettings("lightbox");"lightbox"!==e||t?"aspect_ratio"===e&&t&&this.handleAspectRatio():this.hideLightbox()}}t.default=Video}}]);
[-] frontend.min.js
[edit]
[-] accordion.fb811bbb2beff11fae3c.bundle.min.js
[edit]
[-] editor.js
[edit]
[-] image-carousel.69ddd4d316491de45fe3.bundle.js
[edit]
[-] alert.cbc2a0fee74ee3ed0419.bundle.min.js
[edit]
[-] admin-feedback.min.js
[edit]
[-] 08d1cbe58c0b0bcb962d.bundle.js
[edit]
[-] kit-library.7bad398eee7cff3ed84e.bundle.min.js
[edit]
[-] frontend.js
[edit]
[-] accordion.4d3ad59e593fbb4bbbf2.bundle.js
[edit]
[-] text-editor.533215eb763ebfb3a70c.bundle.js
[edit]
[-] progress.ca55d33bb06cee4e6f02.bundle.min.js
[edit]
[-] admin-top-bar.min.js
[edit]
[-] lightbox.6d271ee2884330dee283.bundle.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] text-path.9f18ebdea5ac00d653e5.bundle.min.js
[edit]
[-] admin-top-bar.js
[edit]
[-] editor-modules.min.js
[edit]
[-] tabs.50864c9249aa8a87126a.bundle.min.js
[edit]
[-] gutenberg.min.js
[edit]
[-] app.min.js
[edit]
[-] app.js
[edit]
[-] lightbox.23e39ac2830dfb4ca6a7.bundle.min.js
[edit]
[-] preloaded-modules.min.js
[edit]
[-] preloaded-modules.js
[edit]
[-] gutenberg.js
[edit]
[-] editor-document.js
[edit]
[-] app-packages.js
[edit]
[-] text-editor.289ae80d76f0c5abea44.bundle.min.js
[edit]
[-] common.min.js
[edit]
[-] tabs.919de637ad8cbee0f46d.bundle.js
[edit]
[-] common-modules.min.js
[edit]
[-] common-modules.js
[edit]
[-] frontend-modules.min.js
[edit]
[-] common.js
[edit]
[-] new-template.min.js
[edit]
[-] app-loader.js
[edit]
[-] kit-library.79bbce90dedf8ef30a5c.bundle.js
[edit]
[-] editor.min.js
[edit]
[-] progress.62211c8098d91fc19c5f.bundle.js
[edit]
[-] elementor-admin-bar.js
[edit]
[-] video.7eb6cacb5dcc1e3e8551.bundle.js
[edit]
[-] image-carousel.bd7aab19c9d934b7c505.bundle.min.js
[edit]
[-] elementor-admin-bar.min.js
[edit]
[-] frontend-modules.js
[edit]
[-] webpack.runtime.min.js
[edit]
[-] app-loader.min.js
[edit]
[-] video.1a44ef088849d6949ada.bundle.min.js
[edit]
[-] webpack.runtime.js
[edit]
[-] editor-modules.js
[edit]
[-] counter.02cef29c589e742d4c8c.bundle.min.js
[edit]
[-] new-template.js
[edit]
[-] app.min.js.LICENSE.txt
[edit]
[-] admin-feedback.js
[edit]
[-] editor-document.min.js
[edit]
[-] beta-tester.js
[edit]
[-] alert.85332a4bfb582d516461.bundle.js
[edit]
[-] text-path.15d47ed8e5e3031f9610.bundle.js
[edit]
[-] toggle.0b9ce025bedc8ed28c59.bundle.min.js
[edit]
[-] app-packages.min.js
[edit]
[-] admin.min.js
[edit]
[-] ca765d3d36b3dc8d6a1b.bundle.min.js
[edit]
[-] wp-audio.8d458e51b4543ed99c04.bundle.js
[edit]
[-] counter.c75eea9549b9f8026ad8.bundle.js
[edit]
[-] wp-audio.75f0ced143febb8cd31a.bundle.min.js
[edit]
[-] toggle.a162573f28e7250ff5ea.bundle.js
[edit]
[-] beta-tester.min.js
[edit]