PageSourceSearch

https://stansburysbarbershop.com/wp-content/plugins/js_composer_sa…/js/dist/js_composer_front.min.js?ver=6.6.0

js stansburysbarbershop.com collected 2026-09-30 11:04:55 UTC 28,407 bytes, 396 lines download raw bytes

1/*!
2 * WPBakery Page Builder v6.0.0 (https://wpbakery.com)
3 * Copyright 2011-2021 Michael M, WPBakery
4 * License: Commercial. More details: http://go.wpbakery.com/licensing
5 */
6
7// jscs:disable
8// jshint ignore: start
9document.documentElement.className += " js_active ", document.documentElement.className += "ontouchstart" in document.documentElement ? " vc_mobile " : " vc_desktop ",
10    function() {
11        for (var prefix = ["-webkit-", "-moz-", "-ms-", "-o-", ""], i = 0; i < prefix.length; i++) prefix[i] + "transform" in document.documentElement.style && (document.documentElement.className += " vc_transform ")
12    }(),
13    function($) {
14        "function" != typeof window.vc_js && (window.vc_js = function() {
15            /* nectar addition */
16        }), "function" != typeof window.vc_plugin_flexslider && (window.vc_plugin_flexslider = function($parent) {
17            ($parent ? $parent.find(".wpb_flexslider") : jQuery(".wpb_flexslider")).each(function() {
18                var this_element = jQuery(this),
19                    sliderTimeout = 1e3 * parseInt(this_element.attr("data-interval"), 10),
20                    sliderFx = this_element.attr("data-flex_fx"),
21                    slideshow = 0 == sliderTimeout ? !1 : !0;
22                this_element.is(":visible") && this_element.flexslider({
23                    animation: sliderFx,
24                    slideshow: slideshow,
25                    slideshowSpeed: sliderTimeout,
26                    sliderSpeed: 800,
27                    smoothHeight: !0
28                })
29            })
30        }), "function" != typeof window.vc_googleplus && (window.vc_googleplus = function() {
31            0 < jQuery(".wpb_googleplus").length && function() {
32                var po = document.createElement("script");
33                po.type = "text/javascript", po.async = !0, po.src = "https://apis.google.com/js/plusone.js";
34                var s = document.getElementsByTagName("script")[0];
35                s.parentNode.insertBefore(po, s)
36            }()
37        }), "function" != typeof window.vc_pinterest && (window.vc_pinterest = function() {
38            0 < jQuery(".wpb_pinterest").length && function() {
39                var po = document.createElement("script");
40                po.type = "text/javascript", po.async = !0, po.src = "https://assets.pinterest.com/js/pinit.js";
41                var s = document.getElementsByTagName("script")[0];
42                s.parentNode.insertBefore(po, s)
43            }()
44        }), "function" != typeof window.vc_progress_bar && (window.vc_progress_bar = function() {
45            void 0 !== jQuery.fn.vcwaypoint && jQuery(".vc_progress_bar").each(function() {
46                var $el = jQuery(this);
47                $el.vcwaypoint(function() {
48                    $el.find(".vc_single_bar").each(function(index) {
49                        var bar = jQuery(this).find(".vc_bar"),
50                            val = bar.data("percentage-value");
51                        setTimeout(function() {
52                            bar.css({
53                                width: val + "%"
54                            })
55                        }, 200 * index)
56                    })
57                }, {
58                    offset: "85%"
59                })
60            })
61        }), "function" != typeof window.vc_waypoints && (window.vc_waypoints = function() {
62            void 0 !== jQuery.fn.vcwaypoint && jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function() {
63                var $el = jQuery(this);
64                $el.vcwaypoint(function() {
65                    $el.addClass("wpb_start_animation animated")
66                }, {
67                    offset: "85%"
68                })
69            })
70        }), "function" != typeof window.vc_toggleBehaviour && (window.vc_toggleBehaviour = function($el) {
71            function event(content) {
72                content && content.preventDefault && content.preventDefault();
73                var element = jQuery(this).closest(".vc_toggle"),
74                    content = element.find(".vc_toggle_content");
75                element.hasClass("vc_toggle_active") ? content.slideUp({
76                    duration: 300,
77                    complete: function() {
78                        element.removeClass("vc_toggle_active")
79                    }
80                }) : content.slideDown({
81                    duration: 300,
82                    complete: function() {
83                        element.addClass("vc_toggle_active")
84                    }
85                })
86            }($el ? $el.hasClass("vc_toggle_title") ? $el.unbind("click") : $el.find(".vc_toggle_title").off("click") : jQuery(".vc_toggle_title").off("click")).on("click", event)
87        }), "function" != typeof window.vc_tabsBehaviour && (window.vc_tabsBehaviour = function(ver) {
88            var $call, old_version;
89            jQuery.ui && ($call = ver || jQuery(".wpb_tabs, .wpb_tour"), ver = jQuery.ui && jQuery.ui.version ? jQuery.ui.version.split(".") : "1.10", old_version = 1 === parseInt(ver[0], 10) && parseInt(ver[1], 10) < 9, $call.each(function(index) {
90                var interval = jQuery(this).attr("data-interval"),
91                    tabs_array = [],
92                    $tabs = jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({
93                        show: function(event, ui) {
94                            wpb_prepare_tab_content(event, ui)
95                        },
96                        activate: function(event, ui) {
97                            wpb_prepare_tab_content(event, ui)
98                        }
99                    });
100                if (interval && 0 < interval) try {
101                    $tabs.tabs("rotate", 1e3 * interval)
102                } catch (err) {
103                    window.console && window.console.warn && console.warn("tabs behaviours error", err)
104                }
105                jQuery(this).find(".wpb_tab").each(function() {
106                    tabs_array.push(this.id)
107                }), jQuery(this).find(".wpb_tabs_nav li").on("click", function(e) {
108                    return e && e.preventDefault && e.preventDefault(), old_version ? $tabs.tabs("select", jQuery("a", this).attr("href")) : $tabs.tabs("option", "active", jQuery(this).index()), !1
109                }), jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click", function(length) {
110                    var index;
111                    length && length.preventDefault && length.preventDefault(), old_version ? (index = $tabs.tabs("option", "selected"), jQuery(this).parent().hasClass("wpb_next_slide") ? index++ : index--, index < 0 ? index = $tabs.tabs("length") - 1 : index >= $tabs.tabs("length") && (index = 0), $tabs.tabs("select", index)) : (index = $tabs.tabs("option", "active"), length = $tabs.find(".wpb_tab").length, index = jQuery(this).parent().hasClass("wpb_next_slide") ? length <= index + 1 ? 0 : index + 1 : index - 1 < 0 ? length - 1 : index - 1, $tabs.tabs("option", "active", index))
112                })
113            }))
114        }), "function" != typeof window.vc_accordionBehaviour && (window.vc_accordionBehaviour = function() {
115            jQuery(".wpb_accordion").each(function(index) {
116                var $this = jQuery(this),
117                    active_tab = ($this.attr("data-interval"), !isNaN(jQuery(this).data("active-tab")) && 0 < parseInt($this.data("active-tab"), 10) && parseInt($this.data("active-tab"), 10) - 1),
118                    $tabs = !1 === active_tab || "yes" === $this.data("c
118ollapsible"),
119                    $tabs = $this.find(".wpb_accordion_wrapper").accordion({
120                        header: "> div > h3",
121                        autoHeight: !1,
122                        heightStyle: "content",
123                        active: active_tab,
124                        collapsible: $tabs,
125                        navigation: !0,
126                        activate: vc_accordionActivate,
127                        change: function(event, ui) {
128                            void 0 !== jQuery.fn.isotope && ui.newContent.find(".isotope").isotope("layout"), vc_carouselBehaviour(ui.newPanel)
129                        }
130                    });
131                !0 === $this.data("vcDisableKeydown") && ($tabs.data("uiAccordion")._keydown = function() {})
132            })
133        }), "function" != typeof window.vc_teaserGrid && (window.vc_teaserGrid = function() {
134            var layout_modes = {
135                fitrows: "fitRows",
136                masonry: "masonry"
137            };
138            jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function() {
139                var $container = jQuery(this),
140                    $thumbs = $container.find(".wpb_thumbnails"),
141                    layout_mode = $thumbs.attr("data-layout-mode");
142                $thumbs.isotope({
143                    itemSelector: ".isotope-item",
144                    layoutMode: void 0 === layout_modes[layout_mode] ? "fitRows" : layout_modes[layout_mode]
145                }), $container.find(".categories_filter a").data("isotope", $thumbs).on("click", function($thumbs) {
146                    $thumbs && $thumbs.preventDefault && $thumbs.preventDefault();
147                    $thumbs = jQuery(this).data("isotope");
148                    jQuery(this).parent().parent().find(".active").removeClass("active"), jQuery(this).parent().addClass("active"), $thumbs.isotope({
149                        filter: jQuery(this).attr("data-filter")
150                    })
151                }), jQuery(window).on("load resize", function() {
152                    $thumbs.isotope("layout")
153                })
154            })
155        }), "function" != typeof window.vc_carouselBehaviour && (window.vc_carouselBehaviour = function($parent) {
156            ($parent ? $parent.find(".wpb_carousel") : jQuery(".wpb_carousel")).each(function() {
157                var fluid_ul = jQuery(this);
158                !0 !== fluid_ul.data("carousel_enabled") && fluid_ul.is(":visible") && (fluid_ul.data("carousel_enabled", !0), getColumnsCount(jQuery(this)), jQuery(this).hasClass("columns_count_1"), (fluid_ul = jQuery(this).find(".wpb_thumbnails-fluid li")).css({
159                    "margin-right": fluid_ul.css("margin-left"),
160                    "margin-left": 0
161                }), (fluid_ul = jQuery(this).find("ul.wpb_thumbnails-fluid")).width(fluid_ul.width() + 300), jQuery(window).on("resize", function() {
162                    screen_size != (screen_size = getSizeName()) && window.setTimeout(function() {
163                        location.reload()
164                    }, 20)
165                }))
166            })
167        }), "function" != typeof window.vc_slidersBehaviour && (window.vc_slidersBehaviour = function() {
168            jQuery(".wpb_gallery_slides").each(function(index) {
169                var $imagesGrid, sliderTimeout, this_element = jQuery(this);
170                this_element.hasClass("wpb_slider_nivo") ? (0 === (sliderTimeout = 1e3 * this_element.attr("data-interval")) && (sliderTimeout = 9999999999), this_element.find(".nivoSlider").nivoSlider({
171                    effect: "boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",
172                    slices: 15,
173                    boxCols: 8,
174                    boxRows: 4,
175                    animSpeed: 800,
176                    pauseTime: sliderTimeout,
177                    startSlide: 0,
178                    directionNav: !0,
179                    directionNavHide: !0,
180                    controlNav: !0,
181                    keyboardNav: !1,
182                    pauseOnHover: !0,
183                    manualAdvance: !1,
184                    prevText: "Prev",
185                    nextText: "Next"
186                })) : this_element.hasClass("wpb_image_grid") && (jQuery.fn.imagesLoaded ? $imagesGrid = this_element.find(".wpb_image_grid_ul").imagesLoaded(function() {
187                    $imagesGrid.isotope({
188                        itemSelector: ".isotope-item",
189                        layoutMode: "fitRows"
190                    })
191                }) : this_element.find(".wpb_image_grid_ul").isotope({
192                    itemSelector: ".isotope-item",
193                    layoutMode: "fitRows"
194                }))
195            })
196        }), "function" != typeof window.vc_prettyPhoto && (window.vc_prettyPhoto = function() {
197            try {
198                jQuery && jQuery.fn && jQuery.fn.prettyPhoto && jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({
199                    animationSpeed: "normal",
200                    hook: "data-rel",
201                    padding: 15,
202                    opacity: .7,
203                    showTitle: !0,
204                    allowresize: !0,
205                    counter_separator_label: "/",
206                    hideflash: !1,
207                    deeplinking: !1,
208                    modal: !1,
209                    callback: function() {
210                        -1 < location.href.indexOf("#!prettyPhoto") && (location.hash = "")
211                    },
212                    social_tools: ""
213                })
214            } catch (err) {
215                window.console && window.console.warn && window.console.warn("vc_prettyPhoto initialize error", err)
216            }
217        }), "function" != typeof window.vc_google_fonts && (window.vc_google_fonts = function() {
218            return window.console && window.console.warn && window.console.warn("function vc_google_fonts is deprecated, no need to use it"), !1
219        }), window.vcParallaxSkroll = !1, "function" != typeof window.vc_rowBehaviour && (window.vc_rowBehaviour = function() {
220            var vcSkrollrOptions, callSkrollInit, $ = window.jQuery;
221
222            function fullWidthRow() {
223                var $elements = $('[data-vc-full-width="true"]');
224                $.each($elements, function(key, item) {
225                    var $el = $(this);
226                    $el.addClass("vc_hidden");
227                    var el_margin_left, el_margin_right, offset, width, padding, paddingRight, $el_full = $el.next(".vc_row-full-width");
228                    ($el_full = !$el_full.length ? $el.parent().next(".vc_row-full-width") : $el_full).length && (el_margin_left = parseInt($el.css("margin-left"), 10), el_margin_right = parseInt($el.css("margin-right"), 10), offset = 0 - $el_full.offset().left - el_margin_left, width = $(window).width(), "rtl" === $el.css("direction") && (offset -= $el_full.width(), offset += width, offset += el_margin_left, offset += el_margin_right), $el.css({
229                        position: "relative",
230                        left: offset,
231                        "box-sizing": "border-box",
232                        width: width
233                    }), $el.data("vcStretchContent") || ("rtl" === $el.css("direction") ? ((padding = offset) < 0 && (padding = 0), (paddingRight = offset) < 0 && (paddingRight = 0)) : (paddingRight = width - (padding = (padding = -1 * offset) < 0 ? 0 : padding) - $el_full.width() + el_margin_left + el_margin_right) < 0 && (paddingRight = 0), $el.css({
234                        "padding-left": padding + "px",
235                        "padding-right": paddingRight + "px"
236                    })), $el.attr("data-vc-full-width-init", "true"), $el.removeClass("vc_hidden"), $(document).trigger("vc-full-width-row-single", {
237                        el: $el,
238                        offset: offset,
239                        marginLeft: el_margin_left,
240                        marginRight: el_margin_right,
241                        elFull: $el_full,
242                        width: width
243                    }))
244                }), $(document).trigger("vc-full-width-row", $elements)
245            }
246
247            function fullHeightRow() {
248                var fullHeight, offsetTop, $element = $(".vc_row-o-full-height:first");
249                $element.length && (fullHeight = $(window).height(), (offsetTop = $element.offset().top) < fullHeight && (fullHeight = 100 - offsetTop / (fullHeight / 100), $element.css("min-height", fullHeight + "vh"))), $(document).trigger("vc-full-height-row", $element)
250            }
251            $(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour", fullWidthRow).on("resize.vcRowBehaviour", fullHeightRow), fullWidthRow(), fullHeightRow(), (0 < window.navigator.userAgent.indexOf("MSIE ") || navigator.userAgent.match(/Trident.*rv\:11\./)) && $(".vc_row-o-full-height").each(function() {
252                "flex" === $(this).css("display") && $(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')
253            }), vc_initVideoBackgrounds(), callSkrollInit = !1, window.vcParallaxSkroll && window.vcParallaxSkroll.destroy(), $(".vc_parallax-inner").remove(), $("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"), $("[data-vc-parallax]").each(function() {
254                var skrollrStart, $parallaxElement, parallaxImage, youtubeId;
255                callSkrollInit = !0, "on" === $(this).data("vcParallaxOFade") && $(this).children().attr("data-5p-top-bottom", "opacity:0;").attr("data-30p-top-bottom", "opacity:1;"), skrollrStart = 100 * $(this).data("vcParallax"), ($parallaxElement = $("<div />").addClass("vc_parallax-inner").appendTo($(this))).height(skrollrStart + "%"), parallaxImage = $(this).data("vcParallaxImage"), (youtubeId = vcExtractYoutubeId(parallaxImage)) ? insertYoutubeVideoAsBackgroun
255d($parallaxElement, youtubeId) : void 0 !== parallaxImage && $parallaxElement.css("background-image", "url(" + parallaxImage + ")"), skrollrStart = -(skrollrStart - 100), $parallaxElement.attr("data-bottom-top", "top: " + skrollrStart + "%;").attr("data-top-bottom", "top: 0%;")
256            }), callSkrollInit && window.skrollr && (vcSkrollrOptions = {
257                forceHeight: !1,
258                smoothScrolling: !1,
259                mobileCheck: function() {
260                    return !1
261                }
262            }, window.vcParallaxSkroll = skrollr.init(vcSkrollrOptions), window.vcParallaxSkroll)
263        }), "function" != typeof window.vc_gridBehaviour && (window.vc_gridBehaviour = function() {
264            jQuery.fn.vcGrid && jQuery("[data-vc-grid]").vcGrid()
265        }), "function" != typeof window.getColumnsCount && (window.getColumnsCount = function(el) {
266            for (var find = !1, i = 1; !1 === find;) {
267                if (el.hasClass("columns_count_" + i)) return find = !0, i;
268                i++
269            }
270        });
271        var screen_size = getSizeName();
272
273        function getSizeName() {
274            var screen_w = jQuery(window).width();
275            return 1170 < screen_w ? "desktop_wide" : 960 < screen_w && screen_w < 1169 ? "desktop" : 768 < screen_w && screen_w < 959 ? "tablet" : 300 < screen_w && screen_w < 767 ? "mobile" : screen_w < 300 ? "mobile_portrait" : ""
276        }
277        "function" != typeof window.wpb_prepare_tab_content && (window.wpb_prepare_tab_content = function(event, ui) {
278            var panel = ui.panel || ui.newPanel,
279                $pie_charts = panel.find(".vc_pie_chart:not(.vc_ready)"),
280                $round_charts = panel.find(".vc_round-chart"),
281                $frame = panel.find(".vc_line-chart"),
282                $google_maps = panel.find('[data-ride="vc_carousel"]');
283            vc_carouselBehaviour(), vc_plugin_flexslider(panel), ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length && ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function() {
284                var grid = jQuery(this).data("vcGrid");
285                grid && grid.gridBuilder && grid.gridBuilder.setMasonry && grid.gridBuilder.setMasonry()
286            }), panel.find(".vc_masonry_media_grid, .vc_masonry_grid").length && panel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function() {
287                var grid = jQuery(this).data("vcGrid");
288                grid && grid.gridBuilder && grid.gridBuilder.setMasonry && grid.gridBuilder.setMasonry()
289            }), $pie_charts.length && jQuery.fn.vcChat && $pie_charts.vcChat(), $round_charts.length && jQuery.fn.vcRoundChart && $round_charts.vcRoundChart({
290                reload: !1
291            }), $frame.length && jQuery.fn.vcLineChart && $frame.vcLineChart({
292                reload: !1
293            }), $google_maps.length && jQuery.fn.carousel && $google_maps.carousel("resizeAction"), $frame = panel.find(".isotope, .wpb_image_grid_ul"), $google_maps = panel.find(".wpb_gmaps_widget"), 0 < $frame.length && $frame.isotope("layout"), $google_maps.length && !$google_maps.is(".map_ready") && (($frame = $google_maps.find("iframe")).attr("src", $frame.attr("src")), $google_maps.addClass("map_ready")), panel.parents(".isotope").length && panel.parents(".isotope").each(function() {
294                jQuery(this).isotope("layout")
295            }), $(document).trigger("wpb_prepare_tab_content", panel)
296        }), "function" != typeof window.vc_ttaActivation && (window.vc_ttaActivation = function() {
297            jQuery("[data-vc-accordion]").on("show.vc.accordion", function(e) {
298                var $ = window.jQuery,
299                    ui = {};
300                ui.newPanel = $(this).data("vc.accordion").getTarget(), window.wpb_prepare_tab_content(e, ui)
301            })
302        }), "function" != typeof window.vc_accordionActivate && (window.vc_accordionActivate = function(event, ui) {
303            var $pie_charts, $round_charts, $line_charts, $carousel;
304            ui.newPanel.length && ui.newHeader.length && ($pie_charts = ui.newPanel.find(".vc_pie_chart:not(.vc_ready)"), $round_charts = ui.newPanel.find(".vc_round-chart"), $line_charts = ui.newPanel.find(".vc_line-chart"), $carousel = ui.newPanel.find('[data-ride="vc_carousel"]'), void 0 !== jQuery.fn.isotope && ui.newPanel.find(".
304isotope, .wpb_image_grid_ul").isotope("layout"), ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length && ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function() {
305                var grid = jQuery(this).data("vcGrid");
306                grid && grid.gridBuilder && grid.gridBuilder.setMasonry && grid.gridBuilder.setMasonry()
307            }), vc_carouselBehaviour(ui.newPanel), vc_plugin_flexslider(ui.newPanel), $pie_charts.length && jQuery.fn.vcChat && $pie_charts.vcChat(), $round_charts.length && jQuery.fn.vcRoundChart && $round_charts.vcRoundChart({
308                reload: !1
309            }), $line_charts.length && jQuery.fn.vcLineChart && $line_charts.vcLineChart({
310                reload: !1
311            }), $carousel.length && jQuery.fn.carousel && $carousel.carousel("resizeAction"), ui.newPanel.parents(".isotope").length && ui.newPanel.parents(".isotope").each(function() {
312                jQuery(this).isotope("layout")
313            }))
314        }), "function" != typeof window.initVideoBackgrounds && (window.initVideoBackgrounds = function() {
315            return window.console && window.console.warn && window.console.warn("this function is deprecated use vc_initVideoBackgrounds"), vc_initVideoBackgrounds()
316        }), "function" != typeof window.vc_initVideoBackgrounds && (window.vc_initVideoBackgrounds = function() {
317            jQuery("[data-vc-video-bg]").each(function() {
318                var youtubeId, $element = jQuery(this);
319                $element.data("vcVideoBg") ? (youtubeId = $element.data("vcVideoBg"), (youtubeId = vcExtractYoutubeId(youtubeId)) && ($element.find(".vc_video-bg").remove(), insertYoutubeVideoAsBackground($element, youtubeId)), jQuery(window).on("grid:items:added", function(event, $grid) {
320                    $element.has($grid).length && vcResizeVideoBackground($element)
321                })) : $element.find(".vc_video-bg").remove()
322            })
323        }), "function" != typeof window.insertYoutubeVideoAsBackground && (window.insertYoutubeVideoAsBackground = function($element, youtubeId, counter) {
324            if ("undefined" == typeof YT || void 0 === YT.Player) return 100 < (counter = void 0 === counter ? 0 : counter) ? void console.warn("Too many attempts to load YouTube api") : void setTimeout(function() {
325                insertYoutubeVideoAsBackground($element, youtubeId, counter++)
326            }, 100);
327            var $container = $element.prepend('<div class="vc_video-bg vc_hidden-xs"><div class="inner"></div></div>').find(".inner");
328            new YT.Player($container[0], {
329                width: "100%",
330                height: "100%",
331                videoId: youtubeId,
332                playerVars: {
333                    playlist: youtubeId,
334                    iv_load_policy: 3,
335                    enablejsapi: 1,
336                    disablekb: 1,
337                    autoplay: 1,
338                    controls: 0,
339                    showinfo: 0,
340                    rel: 0,
341                    loop: 1,
342                    wmode: "transparent"
343                },
344                events: {
345                    onReady: function(event) {
346                        event.target.mute().setLoop(!0)
347                    }
348                }
349            }), vcResizeVideoBackground($element), jQuery(window).on("resize", function() {
350                vcResizeVideoBackground($element)
351            })
352        }), "function" != typeof window.vcResizeVideoBackground && (window.vcResizeVideoBackground = function($element) {
353            var iframeW, iframeH, marginLeft, marginTop, containerW = $element.innerWidth(),
354                containerH = $element.innerHeight();
355            containerW / containerH < 16 / 9 ? (iframeW = containerH * (16 / 9), iframeH = containerH, marginLeft = -Math.round((iframeW - containerW) / 2) + "px", marginTop = -Math.round((iframeH - containerH) / 2) + "px") : (iframeH = (iframeW = containerW) * (9 / 16), marginTop = -Math.round((iframeH - containerH) / 2) + "px", marginLeft = -Math.round((iframeW - containerW) / 2) + "px"), iframeW += "px", iframeH += "px", $element.find(".vc_video-bg iframe").css({
356                maxWidth: "1000%",
357                marginLeft: marginLeft,
358                marginTop: marginTop,
359                width: iframeW,
360                height: iframeH
361            })
362        }), "function" != typeof window.vcExtractYoutubeId && (window.vcExtractYoutubeId = function(id) {
363            if (void 0 === id) return !1;
364            id = id.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);
365            return null !== id && id[1]
366        }), "function" != typeof window.vc_googleMapsPointer && (window.vc_googleMapsPointer = function() {
367            var $ = window.jQuery,
368                $wpbGmapsWidget = $(".wpb_gmaps_widget");
369            $wpbGmapsWidget.on("click", function() {
370                $("iframe", this).css("pointer-events", "auto")
371            }), $wpbGmapsWidget.on("mouseleave", function() {
372                $("iframe", this).css("pointer-events", "none")
373            }), $(".wpb_gmaps_widget iframe").css("pointer-events", "none")
374        }), "function" != typeof window.vc_setHoverBoxPerspective && (window.vc_setHoverBoxPerspective = function(hoverBox) {
375            hoverBox.each(function() {
376                var $this = jQuery(this),
377                    perspective = 4 * $this.width() + "px";
378                $this.css("perspective", perspective)
379            })
380        }), "function" != typeof window.vc_setHoverBoxHeight && (window.vc_setHoverBoxHeight = function(hoverBox) {
381            hoverBox.each(function() {
382                var hoverBoxHeight = jQuery(this),
383                    hoverBoxInner = hoverBoxHeight.find(".vc-hoverbox-inner");
384                hoverBoxInner.css("min-height", 0);
385                var frontHeight = hoverBoxHeight.find(".vc-hoverbox-front-inner").outerHeight(),
386                    hoverBoxHeight = hoverBoxHeight.find(".vc-hoverbox-back-inner").outerHeight(),
387                    hoverBoxHeight = hoverBoxHeight < frontHeight ? frontHeight : hoverBoxHeight;
388                hoverBoxHeight < 250 && (hoverBoxHeight = 250), hoverBoxInner.css("min-height", hoverBoxHeight + "px")
389            })
390        }), "function" != typeof window.vc_prepareHoverBox && (window.vc_prepareHoverBox = function() {
391            var hoverBox = jQuery(".vc-hoverbox");
392            vc_setHoverBoxHeight(hoverBox), vc_setHoverBoxPerspective(hoverBox)
393        }), jQuery(document).ready(window.vc_prepareHoverBox), jQuery(window).on("resize", window.vc_prepareHoverBox), jQuery(document).ready(function($) {
394            window.vc_js()
395        })
396    }(window.jQuery);

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.