PageSourceSearch

https://www.sos.org.sg/wp-content/plugins/js_composer_salient/asse…/js/dist/js_composer_front.min.js?ver=7.8.1

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