PageSourceSearch

https://www.uam.edu.ni/wp-content/plugins/thegem-elements-elemento…/widgets/accordion/assets/js/thegem-tta.js

js uam.edu.ni collected 2026-09-24 22:43:34 UTC 29,736 bytes, 424 lines download raw bytes

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