1function srizon_trigger_js() { 2 if (jQuery().magnificPopup) { 3 jQuery(".jfbalbum").each(function() { 4 jQuery(this).magnificPopup({ 5 delegate: "a.aimg", 6 type: "image", 7 gallery: { 8 enabled: !0 9 }, 10 image: { 11 titleSrc: "data-title" 12 }, 13 zoom: { 14 enabled: !0, 15 duration: 300, 16 easing: "ease-in-out", 17 opener: function(e) { 18 return e.is("img") ? e : e.find("img") 19 } 20 } 21 }) 22 }); 23 jQuery(window).width(); 24 jQuery(".jtubegallery").each(function() { 25 var e = jQuery(this); 26 jQuery(this).magnificPopup({ 27 delegate: ".magpopif", 28 type: "iframe", 29 disableOn: e.data("disablelb") 30 }) 31 }) 32 } 33 jQuery(".jfbalbum").one("mouseenter", function() { 34 jQuery(".Caption_Content").each(function() { 35 jQuery(this).click(function(e) { 36 var t = jQuery(this).parent().prev(); 37 "gallery" == t.data("gallery") ? window.location = t.attr("href") : t.click() 38 }) 39 }) 40 }), jQuery("a.aimg").click(function() { 41 setTimeout(function() { 42 jQuery(".mfp-figure").on("swipeleft", function() { 43 jQuery(".mfp-arrow-right").click() 44 }).on("swiperight", function() { 45 jQuery(".mfp-arrow-left").click() 46 }) 47 }, 100) 48 }), jQuery("#srzfbappid").length && (jQuery.ajaxSetup({ 49 cache: !0 50 }), jQuery.getScript("//connect.facebook.net/en_US/sdk.js", function() { 51 FB.init({ 52 appId: jQuery("#srzfbappid").val(), 53 version: "v3.0" 54 }), jQuery("#srzFBloginbutton").click(function() { 55 FB.login(function() { 56 FB.getLoginStatus(function(e) { 57 "connected" === e.status && (jQuery("#srzfbaccesstoken").val(e.authResponse.accessToken), jQuery("#srzFBloginbutton").hide(), jQuery("#tokensubmit").show()) 58 }) 59 }, { 60 scope: "user_photos, user_videos, user_events" 61 }) 62 }), jQuery("#srzFBloginbutton").val("Login and Get Token") 63 })), setTimeout(function() { 64 jQuery(".collage-layout").length && jQuery(".collage-layout").each(function() { 65 jQuery(this).find(".Image_Wrapper").css("opacity", 0); 66 var e = jQuery(this).removeWhitespace().collagePlus({ 67 allowPartialLastRow: jQuery(this).data("collagepartiallast"), 68 targetHeight: jQuery(this).data("maxheight"), 69 padding: jQuery(this).data("collagepadding") 70 }); 71 "" !== jQuery(this).data("hovercaption") && e.collageCaption({ 72 behaviour_c: jQuery(this).data("hovercaption") 73 }) 74 }) 75 }, 50), jQuery(".elastislide-list").length && jQuery(".elastislide-list").each(function() { 76 var e = this; 77 jQuery(e).matchImgHeight({ 78 height: jQuery(e).data("targetheight") 79 }), jQuery(window).load(function() { 80 jQuery(e).unwrap().elastislide({ 81 speed: jQuery(e).data("animationspeed"), 82 start: jQuery(e).data("respslidestart") 83 }), jQuery(e).autoscrollElastislide({ 84 interval: jQuery(e).data("scroll_interval") 85 }) 86 }) 87 }), jQuery(".full-image-with-thumb").length && jQuery(".full-image-with-thumb").each(function() { 88 var e = this, 89 t = jQuery(e).data("listid"); 90 jQuery(window).load(function() { 91 jQuery(e).srzSingleImageSlider({ 92 images_json: jQuery(t).data("jsondata"), 93 prev_class: ".srz-prev", 94 next_class: ".srz-next, .full-image-with-thumb", 95 max_height: jQuery(t).data("maxheight"), 96 fadeout_time: jQuery(t).data("animationspeed"), 97 fadein_time: jQuery(t).data("animationspeed"), 98 thumb_container: t, 99 hover_caption: jQuery(t).data("hovercaption") 100 }) 101 }) 102 }), jQuery(".single-image-slider").length && jQuery(".single-image-slider").each(function() { 103 var e = this; 104 jQuery(this).srzSingleImageSlider({ 105 images_json: jQuery(this).data("jsondata"), 106 prev_class: ".srz-prev", 107 next_class: ".srz-next, .single-image-slider", 108 max_height: jQuery(this).data("maxheight"), 109 fadeout_time: jQuery(this).data("animationspeed"), 110 fadein_time: jQuery(this).data("animationspeed"), 111 hover_caption: jQuery(this).data("hovercaption") 112 }), jQuery(window).load(function() { 113 jQuery(e).autoscrollSingleSlider({ 114 interval: jQuery(e).data("scrollinterval") 115 }) 116 }) 117 }), jQuery(".full-size-card-image-container").length && jQuery(".full-size-card-image-container").each(function() { 118 var e = this; 119 jQuery(this).srzSingleImageCard({ 120 images_json: jQuery(this).data("jsondata"), 121 next_class: ".srz-next, .card-first", 122 max_height: jQuery(this).data("maxheight"), 123 hover_caption: jQuery(this).data("hovercaption") 124 }), jQuery(window).load(function() { 125 jQuery(e).autoscrollSingleSlider({ 126 interval: jQuery(e).data("scrollinterval") 127 }) 128 }) 129 }), jQuery(".initboxjs").length && jQuery(".initboxjs").each(function() { 130 load_juser_video(jQuery(this).data("scrollerid"), jQuery(this).data("videoid"), jQuery(this).data("autoplay")) 131 }) 132} 133 134function load_juser_video(e, t, i) { 135 var a; 136 a = '<div><table class="juser-vid-table"><tr><td><div class="juser-vid-container"><iframe class="youtube-player" type="text/html" width="1920" height="1200" src="//www.youtube.com/embed/' + t + "?fs=1&rel=0&wmode=transparent" + ("&autoplay=" + i) + '" frameborder="0" allowfullscreen></iframe></div></td></tr></table></div>', jQuery("#vid" + e).html(a) 137} 138jQuery(function(e) { 139 e(document).ready(function() { 140 jQuery('body').css('display','none'); 141 e(".starburst").addClass("hiddenc"), e(window).scroll(function() { 142 e(window).scrollTop() > 400 && (e(".lead-form").addClass("lf_floating"), e(".lead-form").removeClass("lf_fbottom"), console.log("below slider")), e(window).scrollTop() + e(window).height() > e(document).height() - 400 && (e(".lead-form").addClass("lf_fbottom"), e(".lead-form").removeClass("lf_floating"), console.log("near bottom!")), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && (e(".lead-form").removeClass("lf_fbottom"), e(".lead-form").removeClass("lf_floating")) 143 }); 144 var t = e("header").offset().top; 145 e(window).scroll(function() { 146 e(window).scrollTop() >
146 t ? (e(".stickys").addClass("yshow"), e(".stickyPhone").addClass("yshow"), e(".stickyEmail").addClass("yshow"), e(".starburst").removeClass("hiddenc"), console.log("scroll active")) : (e(".feature-area").css("margin-top", "0px"), e(".page main").css("margin-top", "0px"), e(".stickys").removeClass("yshow"), e(".stickyPhone").removeClass("yshow"), e(".stickyEmail").removeClass("yshow"), e(".lead-form").removeClass("lf_floating"), e(".lead-form").removeClass("lf_fbottom")) 147 }), e("main article button.btn").attr("data-toggle", "modal"), e("main article button.btn").attr("data-target", "#myModal"), e("main article .frm_pro_form button").removeAttr("data-toggle", "modal"), e("main article .frm_pro_form button").removeAttr("data-target", "#myModal"), e(".frm_pro_form button").removeAttr("data-toggle", "modal"), e(".frm_pro_form button").removeAttr("data-target", "#myModal"), e("main article .video-container button").removeAttr("data-toggle", "modal"), e("main article .video-container button").removeAttr("data-target", "#myModal"), jQuery(".loc_serve_container h3").click(function() { 148 e(this).toggleClass("active") 149 }), setTimeout(function() { 150 jQuery(".editGalBtn").click(function() { 151 jQuery(".editGalForm").empty(), jQuery(this).closest(".colBot").find(".edit-galleries").trigger("click"), jQuery(".collapsible").addClass("collapse"), jQuery(".collapsible").removeClass("in"), jQuery(".edit-galleries").removeClass("frm_cancel_edit"), jQuery(".edit-galleries").addClass("frm_inplace_edit"), jQuery(".edit-galleries").text("Edit"); 152 var t = jQuery(this).text().toLowerCase().replace("(homepage)", ""), 153 i = jQuery.trim(t).replace(" ", "-"); 154 setTimeout(function() { 155 var t = location.protocol.concat("//").concat(window.location.hostname); 156 e.post(t + "/wp-content/themes/lead-capture2/ajax.php", { 157 entry: i 158 }).done(function(e) {}) 159 }, 50) 160 }) 161 jQuery('body').css('display','block'); 162 }, 300), setTimeout(function() { 163 jQuery(".dwd-gallery-wrapper-standard .gallery").removeClass("masonry"), jQuery(".dwd-gallery-wrapper-standard .gallery").removeClass("jmig-gallery-loaded"), jQuery(".dwd-gallery-wrapper-standard .gallery").css("opacity", "1"), jQuery(".dwd-gallery-wrapper-standard .gallery").removeAttr("style"), jQuery(".dwd-gallery-wrapper-standard .gallery-item").removeClass("masonry-brick"), jQuery(".dwd-gallery-wrapper-standard .gallery-item").removeAttr("style"), jQuery(".dwd-gallery-wrapper-standard .gallery-item img").removeClass("jmig-img-show"), console.log("CLASSES REMOVED") 164 }, 3e3), e(".stickyMenu").click(function() { 165 e(".sideMenu").animate({ 166 left: "0px" 167 }) 168 }), e(".smback").click(function() { 169 e(".sideMenu").animate({ 170 left: "-110%" 171 }) 172 }), setTimeout(function() { 173 e("div.fb_iframe_widget").attr("data-width", "100%") 174 }, 150), setTimeout(function() { 175 e("div.fb_iframe_widget iframe").attr("width", "100%") 176 }, 300); 177 var i = "80%", 178 a = "80%", 179 r = "960px", 180 n = "960px"; 181 e(window).resize(function() { 182 e.colorbox.resize({ 183 width: window.innerWidth > parseInt(r) ? r : i, 184 height: window.innerHeight > parseInt(n) ? n : a 185 }) 186 }), jQuery(window).width() < 750 ? " " == jQuery("header .social-media").html() || "" == jQuery("header .social-media").html() ? (jQuery("header .col-md-3").hide(), jQuery("header .col-md-2").hide(), jQuery("header .col-md-1").hide()) : (jQuery("header .col-md-3").show(), jQuery("header .col-md-2").show(), jQuery("header .col-md-1").show()) : (jQuery("header .col-md-3").show(), jQuery("header .col-md-2").show()), "" == jQuery("footer h3").html() ? jQuery("footer h3").hide() : jQuery("footer h3").show(), e("a.ctaBtnCrawl").click(function() { 187 if (location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) { 188 var t = e(this.hash); 189 if ((t = t.length ? t : e("[name=" + this.hash.slice(1) + "]")).length) return e("html,body").animate({ 190 scrollTop: t.offset().top 191 }, 1e3), !1 192 } 193 }) 194 }) 195 }), jQuery(window).resize(function() { 196 console.log(jQuery(window).width()), setTimeout(function() { 197 jQuery(".dwd-gallery-wrapper-standard .gallery").removeClass("masonry"), jQuery(".dwd-gallery-wrapper-standard .gallery").removeClass("jmig-gallery-loaded"), jQuery(".dwd-gallery-wrapper-standard .gallery").css("opacity", "1"), jQuery(".dwd-gallery-wrapper-standard .gallery").removeAttr("style"), jQuery(".dwd-gallery-wrapper-standard .gallery-item").removeClass("masonry-brick"), jQuery(".dwd-gallery-wrapper-standard .gallery-item").removeAttr("style"), jQuery(".dwd-gallery-wrapper-standard .gallery-item img").removeClass("jmig-img-show"), console.log("RESIZED REMOVE CLASS") 198 }, 150), setTimeout(function() { 199 jQuery("div.fb_iframe_widget").attr("data-width", "100%") 200 }, 150), setTimeout(function() { 201 jQuery("div.fb_iframe_widget iframe").attr("width", "100%") 202 }, 300), jQuery(window).width() < 750 && (" " == jQuery("header .social-media").html() || "" == jQuery("header .social-media").html()) ? (jQuery("header .col-md-3").hide(), jQuery("header .col-md-2").hide(), jQuery("header .col-md-1").hide()) : (jQuery("header .col-md-3").show(), jQuery("header .col-md-2").show(), jQuery("header .col-md-1").show()) 203 }), 204 function(e) { 205 e.fn.srzSingleImageSlider = function(t) { 206 var i = "#" + e(this).attr("id"), 207 a = e.extend({ 208 images_json: [], 209 prev_class: ".prev", 210 next_class: ".next", 211 current_index: 0, 212 max_height: 600, 213 fadeout_time: 300, 214 fade_opacity: .3, 215 fadein_time: 300, 216 fixed_height: "auto", 217 hover_caption: 1, 218 thumb_container: "" 219 }, t); 220 e(this).css("max-height", a.max_height + "px"); 221 var r = e("<img/>").attr("src", a.images_json[a.current_index].src).attr("alt", a.images_json[a.current_index].txt).css("height", a.fixed_height); 222 223 function n() { 224 var t = e("<img/>").attr("src", a.images_json[a.current_index].src).attr("alt", a.images_json[a.current_index].txt).css("height", a.fixed_height); 225 e(i).fadeTo(a.fadeout_time, a.fade_opacity, function() { 226 t.one("loadc", function() { 227 e(i).html(t).fadeTo(a.fadein_time, 1), 1 == a.hover_caption && e(i).srzAltToCaption() 228 }), t[0].complete ? t.trigger("loadc") : t.one("load", function() { 229 t.trigger("loadc") 230 }) 231 }) 232 } 233 return e(this).html(r), 1 == a.hover_caption && e(this).srzAltToCaption(), e(this).parent().find(a.next_class).each(function() { 234 e(this).click(function() { 235 a.current_index = (a.current_index + 1) % a.images_json.length, n() 236 }) 237 }), e(this).on("swipeleft", function() { 238 a.current_index = (a.current_index + 1) % a.images_json.length, n() 239 }), e(this).on("swiperight", function() { 240 a.current_index = (a.current_index + a.images_json.length - 1) % a.images_json.length, n() 241 }), e(this).parent().find(a.prev_class).each(function() { 242 e(this).click(function() { 243 a.current_index = (a.current_index + a.images_json.length - 1) % a.images_json.length, n() 244 }) 245 }), "" != a.thumb_container && e(a.thumb_container).find("a").each(function() { 246 e(this).click(function() { 247 a.current_index = e(this).data("index"), n() 248 }) 249 }), this 250 } 251 }(jQuery), 252 function(e) { 253 e.fn.srzAltToCaption = function() { 254 return this.find("img").each(function() { 255 var t = e(this); 256 e(this).on("loadc", function() { 257 var i = e(this).attr("alt"); 258 if ("" != i) { 259 var a = e("<p>").addClass("current-caption").html(i); 260 a.hide().insertAfter(e(this)), e(this).parent().hover(function() { 261 var e = t.width() + "px", 262 i = t.height() / 2 + "px", 263 r = t.position().left + "px"; 264 a.css({ 265 position: "absolute", 266 width: e, 267 "max-height": i, 268 bottom: "0", 269 left: r 270 }), a.fadeIn() 271 }, function() { 272 a.fadeOut() 273 }) 274 } 275 }), e(this)[0].complete ? e(this).trigger("loadc") : e(this).one("load", function() { 276 e(this).trigger("loadc") 277 }) 278 }), this 279 } 280 }(jQuery), 281 function(e) { 282 e.fn.srzSingleImageCard = function(t) { 283 var i = "#" + e(this).attr("id"), 284 a = e.extend({ 285 images_json: [], 286 next_class: ".next", 287 current_index: 0, 288 max_height: 600, 289 animation_time: 500, 290 hover_caption: 1, 291 thumb_container: "" 292 }, t); 293 if (e(this).css("max-height", a.max_height + "px"), a.images_json.length < 3) e(this).html("<h3>This layout requires at list 3 images</h3>"); 294 else { 295 var r = e("<img/>").attr("src", a.images_json[a.current_index].src).attr("alt", a.images_json[a.current_index].txt).addClass("withtransition card-first").appendTo(this), 296 n = e("<img/>").attr("src", a.images_json[a.current_index + 1].src).attr("alt", a.images_json[a.current_index + 1].txt).addClass("withtransition card-second").appendTo(this).hide(), 297 o = e("<img/>").attr("src", a.images_json[a.current_index + 2].src).attr("alt", a.images_json[a.current_index + 2].txt).addClass("withtransition card-third").appendTo(this).hide(); 298 r.one("loadc", function() { 299 if (e(this).attr("alt").length > 0 && 1 == a.hover_caption) { 300 var t = e(this).parent().find(".current-caption").html(e(this).attr("alt")); 301 e(this).hover(function() { 302 var i = e(this).width() + "px", 303 a = e(this).height() / 2 + "px", 304 r = e(this).position().left + "px"; 305 t.css({ 306 position: "absolute", 307 width: i, 308 "max-height": a, 309 bottom: "0", 310 left: r 311 }), t.fadeIn() 312 }, function() { 313 t.fadeOut() 314 }) 315 } 316 n.css("max-height", a.max_height / 6 + "px").show(), o.css("max-height", a.max_height / 12 + "px").show(), e(this).parent().find(a.next_class).each(function() { 317 e(this).click(function() { 318 ! function t() { 319 a.current_index = (a.current_index + 1) % a.images_json.length; 320 var r = (a.current_index + 2) % a.images_json.length; 321 var n = e("<img/>").attr("src", a.images_json[r].src).attr("alt", a.images_json[r].txt).addClass("card-third").appendTo(e(i)).hide(); 322 o = i, s = a.animation_time - 100, l = jQuery(o), l.height(l.height()), setTimeout(function() { 323 l.height("auto") 324 }, s); 325 var o, s, l; 326 var d = e(".card-first").removeClass("card-first").addClass("card-to-be-removed"); 327 var c = d.next("img").removeClass("card-second").addClass("card-first").css("max-height", "inherit"); 328 var h = c.next("img").removeClass("card-third").addClass("card-second"); 329 setTimeout(function() { 330 d.remove() 331 }, a.animation_time + 500); 332 c.one("loadc", function() { 333 if (e(this).attr("alt").length > 0 && 1 == a.hover_caption) { 334 var i = e(this).parent().find(".current-caption").html(e(this).attr("alt")); 335 e(this).hover(function() { 336 var t = e(this).width() + "px", 337 a = e(this).height() / 2 + "px", 338 r = e(this).position().left + "px"; 339 i.css({ 340 position: "absolute", 341 width: t, 342 "max-height": a, 343 bottom: "0", 344 left: r 345 }), i.fadeIn() 346 }, function() { 347 i.fadeOut() 348 }) 349 } 350 h.css("max-height", a.max_height / 6 + "px"), n.css("max-height", a.max_height / 12 + "px").show(), setTimeout(function() { 351 n.addClass("withtransition") 352 }, 500), e(this).click(function() { 353 t() 354 }) 355 });
356 c[0].complete ? c.trigger("loadc") : c.one("load", function() { 357 c.trigger("loadc") 358 }) 359 }() 360 }) 361 }) 362 }), r[0].complete ? r.trigger("loadc") : r.one("load", function() { 363 r.trigger("loadc") 364 }) 365 } 366 return this 367 } 368 }(jQuery), 369 function(e) { 370 e.fn.matchImgHeight = function(t) { 371 var i = e.extend({ 372 height: 200 373 }, t); 374 return this.find("img").each(function() { 375 var t; 376 e(this).attr("width") && (t = e(this).attr("width") / e(this).attr("height") * i.height, e(this).attr("width", t), e(this).width(t)), e(this).attr("height", i.height), e(this).height(i.height) 377 }), this 378 } 379 }(jQuery), 380 function(e) { 381 var t = jQuery.event, 382 i = function(e, t, i, a) { 383 var r, n, o, s, l, d, c, h; 384 for (r = 0; r < t.length; r++) 385 for ((s = (n = t[r]).indexOf(".") < 0) || (c = n.split("."), n = c.shift(), h = new RegExp("(^|\\.)" + c.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)")), o = (e[n] || []).slice(0), l = 0; l < o.length; l++) d = o[l], (s || h.test(d.namespace)) && (a ? d.selector === a && i(n, d.origHandler || d.handler) : null === a ? i(n, d.origHandler || d.handler, d.selector) : d.selector || i(n, d.origHandler || d.handler)) 386 }; 387 t.find = function(t, a, r) { 388 var n = (e._data(t) || {}).events, 389 o = []; 390 return n ? (i(n, a, function(e, t) { 391 o.push(t) 392 }, r), o) : o 393 }, t.findBySelector = function(t, a) { 394 var r = e._data(t).events, 395 n = {}; 396 return r ? (i(r, a, function(e, t, i) { 397 ! function(e, t, i) { 398 var a = n[e] || (n[e] = {}); 399 (a[t] || (a[t] = [])).push(i) 400 }(i || "", e, t) 401 }, null), n) : n 402 }, t.supportTouch = "ontouchend" in document, e.fn.respondsTo = function(i) { 403 return !!this.length && t.find(this[0], e.isArray(i) ? i : [i]).length > 0 404 }, e.fn.triggerHandled = function(t, i) { 405 return t = "string" == typeof t ? e.Event(t) : t, this.trigger(t, i), t.handled 406 }, t.setupHelper = function(i, a, r) { 407 r || (r = a, a = null); 408 var n = function(n) { 409 var o = n.selector || ""; 410 o ? t.find(this, i, o).length || e(this).delegate(o, a, r) : t.find(this, i, o).length || t.add(this, a, r, { 411 selector: o, 412 delegate: this 413 }) 414 }, 415 o = function(n) { 416 var o = n.selector || ""; 417 o ? t.find(this, i, o).length || e(this).undelegate(o, a, r) : t.find(this, i, o).length || t.remove(this, a, r, { 418 selector: o, 419 delegate: this 420 }) 421 }; 422 e.each(i, function() { 423 t.special[this] = { 424 add: n, 425 remove: o, 426 setup: function() {}, 427 teardown: function() {} 428 } 429 }) 430 } 431 }(jQuery), 432 function(e) { 433 var t = !/Phantom/.test(navigator.userAgent) && "ontouchend" in document, 434 i = t ? "touchstart" : "mousedown", 435 a = t ? "touchend" : "mouseup", 436 r = t ? "touchmove" : "mousemove", 437 n = function(t) { 438 var i = t.originalEvent.touches ? t.originalEvent.touches[0] : t; 439 return { 440 time: (new Date).getTime(), 441 coords: [i.pageX, i.pageY], 442 origin: e(t.target) 443 } 444 }, 445 o = e.event.swipe = { 446 delay: 500, 447 max: 75, 448 min: 30 449 }; 450 e.event.setupHelper(["swipe", "swipeleft", "swiperight", "swipeup", "swipedown"], i, function(t) { 451 var i, s = n(t), 452 l = t.delegateTarget || t.currentTarget, 453 d = t.handleObj.selector, 454 c = this; 455 456 function h(e) { 457 s && (i = n(e), Math.abs(s.coords[0] - i.coords[0]) > 10 && e.preventDefault()) 458 } 459 e(document.documentElement).bind(r, h).one(a, function(a) { 460 if (e(this).unbind(r, h), s && i) { 461 var n = Math.abs(s.coords[0] - i.coords[0]), 462 u = Math.abs(s.coords[1] - i.coords[1]), 463 m = Math.sqrt(n * n + u * u); 464 if (i.time - s.time < o.delay && m >= o.min) { 465 var g = ["swipe"]; 466 n >
466= o.min && u < o.min ? g.push(s.coords[0] > i.coords[0] ? "swipeleft" : "swiperight") : u >= o.min && n < o.min && g.push(s.coords[1] < i.coords[1] ? "swipedown" : "swipeup"), e.each(e.event.find(l, g, d), function() { 467 this.call(c, t, { 468 start: s, 469 end: i 470 }) 471 }) 472 } 473 } 474 s = i = void 0 475 }) 476 }) 477 }(jQuery), jQuery.fn.removeWhitespace = function() { 478 return this.contents().filter(function() { 479 return 3 == this.nodeType && !/\S/.test(this.nodeValue) 480 }).remove(), this 481 }, 482 function(e) { 483 e.fn.collageCaption = function(t) { 484 var i = { 485 images: e(this).children(), 486 background: "black", 487 opacity: "0.5", 488 speed: 0, 489 cssClass: "Caption", 490 behaviour_c: 0 491 }, 492 a = e.extend({}, i, t); 493 return this.each(function() { 494 return a.images.each(function(t) { 495 var i = e(this), 496 r = i.find("img").height() / 2; 497 if (void 0 !== i.data("caption") && 0 != i.data("caption").length) { 498 var n = '<div class="' + a.cssClass + '" style="position:relative;"><div class="Caption_Background" style="background-color:' + a.background + ";opacity:" + a.opacity + ';position:relative;top:0;"></div><div class="Caption_Content" style="position:relative;">' + i.data("caption") + "</div></div>"; 499 i.append(n); 500 var o = i.find("." + a.cssClass), 501 s = i.find(".Caption_Background"), 502 l = i.find(".Caption_Content"), 503 d = Math.min(o.height(), r); 504 s.height(d), l.css("top", "-" + d + "px"), o.css("top", -1 * d), 0 == a.behaviour_c && (o.hide(), i.bind({ 505 mouseenter: function(e) { 506 o.find(".Caption_Content").html().length > 0 && o.fadeIn() 507 }, 508 mouseleave: function(e) { 509 o.find(".Caption_Content").html().length > 0 && o.fadeOut() 510 } 511 })), 1 == a.behaviour_c && i.bind({ 512 mouseenter: function(e) { 513 o.find(".Caption_Content").html().length > 0 && o.fadeOut() 514 }, 515 mouseleave: function(e) { 516 o.find(".Caption_Content").html().length > 0 && o.fadeIn() 517 } 518 }) 519 } 520 }), this 521 }) 522 } 523 }(jQuery), jQuery(document).ajaxSuccess(srizon_trigger_js), jQuery(document).ready(srizon_trigger_js), jQuery(window).resize(function() { 524 jQuery(".collage-layout").length && jQuery(".collage-layout").each(function() { 525 jQuery(this).find(".Image_Wrapper").css("opacity", 0); 526 var e = jQuery(this).removeWhitespace().collagePlus({ 527 allowPartialLastRow: jQuery(this).data("collagepartiallast"), 528 targetHeight: jQuery(this).data("maxheight"), 529 padding: jQuery(this).data("collagepadding") 530 }); 531 "" !== jQuery(this).data("hovercaption") && e.collageCaption({ 532 behaviour_c: jQuery(this).data("hovercaption") 533 }) 534 }) 535 }), 536 function(e) { 537 e.fn.autoscrollElastislide = function(t) { 538 var i = e(this), 539 a = e.extend({}, { 540 interval: 0, 541 direction: 0 542 }, t); 543 return setTimeout(function() { 544 a.interval > 0 && setInterval(function() { 545 0 == a.direction ? i.parent().next().find(".elastislide-next").
545css("opacity") < 1 ? a.direction = 1 : i.parent().next().find(".elastislide-next").trigger("mousedown") : i.parent().next().find(".elastislide-prev").css("opacity") < 1 ? a.direction = 0 : i.parent().next().find(".elastislide-prev").trigger("mousedown") 546 }, 1e3 * a.interval) 547 }, 100), this 548 } 549 }(jQuery), 550 function(e) { 551 e.fn.autoscrollSingleSlider = function(t) { 552 var i = e(this), 553 a = e.extend({}, { 554 interval: 0 555 }, t); 556 return setTimeout(function() { 557 a.interval > 0 && setInterval(function() { 558 i.parent().find(".srz-next").trigger("click"), i.find(".srz-next").trigger("click") 559 }, 1e3 * a.interval) 560 }, 100), this 561 } 562 }(jQuery); 563 jQuery( document ).ready(function() { 564 // 565 });
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.