1!(function (e) { 2 "use strict"; 3 function o() { 4 (qodef.scroll = e(window).scrollTop()), 5 qodef.body.hasClass("qodef-dark-header") && 6 (qodef.defaultHeaderStyle = "qodef-dark-header"), 7 qodef.body.hasClass("qodef-light-header") && 8 (qodef.defaultHeaderStyle = "qodef-light-header"); 9 } 10 function t() {} 11 function i() { 12 (qodef.windowWidth = e(window).width()), 13 (qodef.windowHeight = e(window).height()); 14 } 15 function a() { 16 qodef.scroll = e(window).scrollTop(); 17 } 18 switch ( 19 ((window.qodef = {}), 20 (qodef.modules = {}), 21 (qodef.scroll = 0), 22 (qodef.window = e(window)), 23 (qodef.document = e(document)), 24 (qodef.windowWidth = e(window).width()), 25 (qodef.windowHeight = e(window).height()), 26 (qodef.body = e("body")), 27 (qodef.html = e("html, body")), 28 (qodef.htmlEl = e("html")), 29 (qodef.menuDropdownHeightSet = !1), 30 (qodef.defaultHeaderStyle = ""), 31 (qodef.minVideoWidth = 1500), 32 (qodef.videoWidthOriginal = 1280), 33 (qodef.videoHeightOriginal = 720), 34 (qodef.videoRatio = 1280 / 720), 35 (qodef.qodefOnDocumentReady = o), 36 (qodef.qodefOnWindowLoad = t), 37 (qodef.qodefOnWindowResize = i), 38 (qodef.qodefOnWindowScroll = a), 39 e(document).ready(o), 40 e(window).load(t), 41 e(window).resize(i), 42 e(window).scroll(a), 43 !0) 44 ) { 45 case qodef.body.hasClass("qodef-grid-1300"): 46 qodef.boxedLayoutWidth = 1350; 47 break; 48 case qodef.body.hasClass("qodef-grid-1200"): 49 qodef.boxedLayoutWidth = 1250; 50 break; 51 case qodef.body.hasClass("qodef-grid-1000"): 52 qodef.boxedLayoutWidth = 1050; 53 break; 54 case qodef.body.hasClass("qodef-grid-800"): 55 qodef.boxedLayoutWidth = 850; 56 break; 57 default: 58 qodef.boxedLayoutWidth = 1150; 59 } 60})(jQuery), 61 (function (e) { 62 "use strict"; 63 function o() { 64 d(), 65 n(), 66 s(), 67 l(), 68 f(), 69 h(), 70 O().init(), 71 m(), 72 q(), 73 v(), 74 r(), 75 x(), 76 k(), 77 W(), 78 _(), 79 T(); 80 } 81 function t() { 82 c(), p(), u(), I(); 83 } 84 function i() { 85 q(), k(); 86 } 87 function a() {} 88 function d() { 89 Modernizr.touch && 90 !qodef.body.hasClass("qodef-no-animations-on-touch") && 91 qodef.body.addClass("qodef-no-animations-on-touch"); 92 } 93 function n() { 94 var e = navigator.appVersion.toLowerCase(); 95 e.indexOf("mac") > -1 && 96 qodef.body.hasClass("qodef-smooth-scroll") && 97 qodef.body.removeClass("qodef-smooth-scroll"); 98 } 99 function s() { 100 fluidvids.init({ 101 selector: ["iframe"], 102 players: ["www.youtube.com", "player.vimeo.com"], 103 }); 104 } 105 function r() { 106 var o = e(".qodef-owl-slider"); 107 o.length && 108 o.each(function () { 109 var o = e(this); 110 o.owlCarousel({ 111 items: 1, 112 loop: !0, 113 autoplay: !1, 114 dots: !1, 115 nav: !0, 116 navText: [ 117 '<span class="qodef-prev-icon"><i class="arrow_left"></i></span>', 118 '<span class="qodef-next-icon"><i class="arrow_right"></i></span>', 119 ], 120 }); 121 }); 122 } 123 function l() { 124 e(".qodef-preload-background").each(function () { 125 var o = e(this); 126 if ( 127 "" !== o.css("background-image") && 128 "none" != o.css("background-image") 129 ) { 130 var t = o.attr("style"); 131 if ( 132 ((t = t.match(/url\(["']?([^'")]+)['"]?\)/)), (t = t ? t[1] : "")) 133 ) { 134 var i = new Image(); 135 (i.src = t), 136 e(i).load(function () { 137 o.removeClass("qodef-preload-background"); 138 }); 139 } 140 } else 141 e(window).load(function () { 142 o.removeClass("qodef-preload-background"); 143 }); 144 }); 145 } 146 function f() { 147 var o = 148 '<div class="pp_pic_holder"> <div class="ppt"> </div> <div class="pp_top"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> <div class="pp_content_container"> <div class="pp_left"> <div class="pp_right"> <div class="pp_content"> <div class="pp_loaderIcon"></div> <div class="pp_fade"> <a href="#" class="pp_expand" title="Expand the image">Expand</a> <div class="pp_hoverContainer"> <a class="pp_next" href="#"><span class="arrow_right"></span></a> <a class="pp_previous" href="#"><span class="arrow_left"></span></a> </div> <div id="pp_full_res"></div> <div class="pp_details"> <div class="pp_nav"> <a href="#" class="pp_arrow_previous">Previous</a> <p class="currentTextHolder">0/0</p> <a href="#" class="pp_arrow_next">Next</a> </div> <p class="pp_description"></p> {pp_social} <a class="pp_close" href="#">Close</a> </div> </div> </div> </div> </div> </div> <div class="pp_bottom"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> </div> <div class="pp_overlay"></div>'; 149 e("a[data-rel^='prettyPhoto']").prettyPhoto({ 150 hook: "data-rel", 151 animation_speed: "normal", 152 slideshow: !1, 153 autoplay_slideshow: !1, 154 opacity: 0.8, 155 show_title: !0, 156 allow_resize: !0, 157 horizontal_padding: 0, 158 default_width: 960, 159 default_height: 540, 160 counter_separator_label: "/", 161 theme: "pp_default", 162 hideflash: !1, 163 wmode: "opaque", 164 autoplay: !0, 165 modal: !1, 166 overlay_gallery: !1, 167 keyboard_shortcuts: !0, 168 deeplinking: !1, 169 custom_markup: "", 170 social_tools: !1, 171 markup: o, 172 }); 173 } 174 function c() { 175 if ( 176 e("[data-qodef_header_style]").length > 0 && 177 qodef.body.hasClass("qodef-header-style-on-scroll") 178 ) { 179 var o = e(".wpb_row.qodef-section"), 180 t = function (e) { 181 qodef.body 182 .removeClass("qodef-dark-header qodef-light-header") 183 .addClass( 184 void 0 !== e.data("qodef_header_style") 185 ? e.data("qodef_header_style") 186 : "" + qodef.defaultHeaderStyle 187 ); 188 }; 189 o.waypoint( 190 function (o) { 191 "down" === o && t(e(this.element)); 192 }, 193 { offset: 0 } 194 ), 195 o.waypoint( 196 function (o) { 197 "up" === o && t(e(this.element)); 198 }, 199 { 200 offset: function () { 201 return -e(this.element).outerHeight(); 202 }, 203 } 204 ); 205 } 206 } 207 function h() { 208 var o, 209 t, 210 i = e(".qodef-no-animations-on-touch"), 211 a = !0, 212 d = e( 213 ".qodef-grow-in, .qodef-fade-in-down, .qodef-element-from-fade, .qodef-element-from-left, .qodef-element-from-right, .qodef-element-from-top, .qodef-element-from-bottom, .qodef-flip-in, .qodef-x-rotate, .qodef-z-rotate, .qodef-y-translate, .qodef-fade-in, .qodef-fade-in-left-x-rotate" 214 ); 215 i.length && (a = !1), 216 d.length > 0 && 217 a && 218 d.each(function () { 219 e(this).appear( 220 function () { 221 (t = e(this).data("animation")), 222 void 0 !== t && 223 "" !== t && 224 ((o = t), e(this).addClass(o + "-on")); 225 }, 226 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 227 ); 228 }); 229 } 230 function u() { 231 qodef.htmlEl.is(".no-touch") && 232 e(".qodef-parallax-section-holder").length && 233 e(".qodef-parallax-section-holder").each(function () { 234 var o = e(this), 235 t = 0.4 * o.data("qodef-parallax-speed"); 236 o.parallax("50%", t); 237 }); 238 } 239 function p() { 240 e(".qodef-full-screen-height-section").length && 241 e(".qodef-full-screen-height-section").each(function () { 242 var o = e(this); 243 o.height(qodef.windowHeight); 244 }); 245 } 246 function m() { 247 e(".qodef-section .qodef-video-wrap .qodef-video").mediaelementplayer({ 248 enableKeyboard: !1, 249 iPadUseNativeControls: !1, 250 pauseOtherPlayers: !1, 251 iPhoneUseNativeControls: !1, 252 AndroidUseNativeControls: !1, 253 }), 254 navigator.userAgent.match( 255 /(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/ 256 ) && 257 (q(), 258 e(".qodef-section .qodef-mobile-video-image").show(), 259 e(".qodef-section .qodef-video-wrap").remove()); 260 } 261 function q() { 262 e(".qodef-section .qodef-video-wrap").each(function () { 263 var o = e(this), 264 t = o.closest(".qodef-section").outerWidth(); 265 o.width(t); 266 var i = o.closest(".qodef-section").outerHeight(); 267 (qodef.minVideoWidth = qodef.videoRatio * (i + 20)), o.height(i); 268 var a = t / qodef.videoWidthOriginal, 269 d = i / qodef.videoHeightOriginal, 270 n = d; 271 a > d && (n = a), 272 n * qodef.videoWidthOriginal < qodef.minVideoWidth && 273 (n = qodef.minVideoWidth / qodef.videoWidthOriginal), 274 o 275 .find("video, .mejs-overlay, .mejs-poster") 276 .width(Math.ceil(n * qodef.videoWidthOriginal + 2)), 277 o 278 .find("video, .mejs-overlay, .mejs-poster") 279 .height(Math.ceil(n * qodef.videoHeightOriginal + 2)), 280 o.scrollLeft((o.find("video").width() - t) / 2), 281 o 282 .find(".mejs-overlay, .mejs-poster") 283 .scrollTop((o.find("video").height() - i) / 2), 284 o.scrollTop((o.find("video").height() - i) / 2); 285 }); 286 } 287 function v() { 288 var o = e(".qodef-footer-uncover"); 289 o.length && 290 e(".qodef-content").css( 291 "margin-bottom", 292 e(".qodef-footer-inner").height() 293 ); 294 } 295 function g() { 296 window.addEventListener && 297 window.addEventListener("DOMMouseScroll", y, !1), 298 (window.onmousewheel = document.onmousewheel = y), 299 (document.onkeydown = b), 300 qodef.body.hasClass("qodef-smooth-scroll") && 301 (window.removeEventListener("mousewheel", smoothScrollListener, !1), 302 window.removeEventListener( 303 "DOMMouseScroll", 304 smoothScrollListener, 305 !1 306 )); 307 } 308 function w() { 309 window.removeEventListener && 310 window.removeEventListener("DOMMouseScroll", y, !1), 311 (window.onmousewheel = 312 document.onmousewheel = 313 document.onkeydown = 314 null), 315 qodef.body.hasClass("qodef-smooth-scroll") && 316 (window.addEventListener("mousewheel", smoothScrollListener, !1), 317 window.addEventListener("DOMMouseScroll", smoothScrollListener, !1)); 318 } 319 function y(e) { 320 C(e); 321 } 322 function b(e) { 323 for (var o = [37, 38, 39, 40], t = o.length; t--; ) 324 if (e.keyCode === o[t]) return void C(e); 325 } 326 function C(e) { 327 (e = e || window.event), 328 e.preventDefault && e.preventDefault(), 329 (e.returnValue = !1); 330 } 331 function x() { 332 var o = e(".qodef-self-hosted-video"); 333 o.mediaelementplayer({ audioWidth: "100%" }); 334 } 335 function k() { 336 e(".qodef-self-hosted-video-holder .qodef-video-wrap").each(function () { 337 var o = e(this), 338 t = o.closest(".qodef-self-hosted-video-holder").outerWidth(), 339 i = t / qodef.videoRatio; 340 navigator.userAgent.match( 341 /(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/ 342 ) && (o.parent().width(t), o.parent().height(i)), 343 o.width(t), 344 o.height(i), 345 o.find("video, .mejs-overlay, .mejs-poster").width(t), 346 o.find("video, .mejs-overlay, .mejs-poster").height(i); 347 }); 348 } 349 function S(o) { 350 var t = e("#qodef-back-to-top"); 351 t.removeClass("off on"), t.addClass("on" === o ? "on" : "off"); 352 } 353 function _() { 354 qodef.window.scroll(function () { 355 var o, 356 t = e(this).scrollTop(), 357 i = e(this).height(); 358 (o = t > 0 ? t + i / 2 : 1), S(1e3 > o ? "off" : "on"); 359 }); 360 } 361 function W() { 362 var o = e("#qodef-back-to-top"); 363 o.on("click", function (e) { 364 e.preventDefault(), 365 qodef.html.animate( 366 { scrollTop: 0 }, 367 qodef.window.scrollTop() / 3, 368 "linear" 369 ); 370 }); 371 } 372 function I() { 373 var o = e("body > .qodef-smooth-transition-loader.qodef-mimic-ajax"); 374 o.length && 375 (o.fadeOut(500), 376 e(window).bind("pageshow", function (e) { 377 e.originalEvent.persisted && o.fadeOut(500); 378 }), 379 e("a").click(function (t) { 380 var i = e(this); 381 1 != t.which || 382 i.attr("href").indexOf(window.location.host) < 0 || 383 void 0 !== i.data("rel") || 384 void 0 !== i.attr("rel") || 385 i.hasClass("qodef-like") || 386 (void 0 !== i.attr("target") && "_self" !== i.attr("target")) || 387 "undefined" == i.download || 388 i.attr("href").split("#")[0] === 389 window.location.href.split("#")[0] || 390 (t.preventDefault(), 391 o.addClass("qodef-hide-spinner"), 392 o.fadeIn(500, function () { 393 window.location = i.attr("href"); 394 })); 395 })); 396 } 397 function T() { 398 var o = e(".qodef-marquee-holder"); 399 o.each(function () { 400 { 401 var o = e(this); 402 e(this).find(".qodef-marquee"); 403 } 404 o.scrollForever({ 405 placeholder: 0, 406 speed: 1e3, 407 delayTime: 0, 408 continuous: !0, 409 num: 1, 410 }), 411 o.animate({ opacity: "1" }, 300); 412 }); 413 } 414 var z = {}; 415 (qodef.modules.common = z), 416 (z.qodefIsTouchDevice = d), 417 (z.qodefDisableSmoothScrollForMac = n), 418 (z.qodefFluidVideo = s),
419 (z.qodefPreloadBackgrounds = l), 420 (z.qodefPrettyPhoto = f), 421 (z.qodefCheckHeaderStyleOnScroll = c), 422 (z.qodefInitFullScreenSection = p), 423 (z.qodefInitParallax = u), 424 (z.qodefEnableScroll = w), 425 (z.qodefDisableScroll = g), 426 (z.qodefWheel = y), 427 (z.qodefKeydown = b), 428 (z.qodefPreventDefaultValue = C), 429 (z.qodefOwlSlider = r), 430 (z.qodefInitSelfHostedVideoPlayer = x), 431 (z.qodefSelfHostedVideoSize = k), 432 (z.qodefInitBackToTop = W), 433 (z.qodefBackButtonShowHide = _), 434 (z.qodefSmoothTransition = I), 435 (z.qodefRowScrollingText = T), 436 (z.qodefOnDocumentReady = o), 437 (z.qodefOnWindowLoad = t), 438 (z.qodefOnWindowResize = i), 439 (z.qodefOnWindowScroll = a), 440 e(document).ready(o), 441 e(window).load(t), 442 e(window).resize(i), 443 e(window).scroll(a); 444 var O = (qodef.modules.common.qodefInitAnchor = function () { 445 var o = function (o) { 446 e( 447 ".qodef-main-menu .qodef-active-item, .qodef-mobile-nav .qodef-active-item, .qodef-vertical-menu .qodef-active-item, .qodef-fullscreen-menu .qodef-active-item" 448 ).removeClass("qodef-active-item"), 449 o.parent().addClass("qodef-active-item"), 450 e( 451 ".qodef-main-menu a, .qodef-mobile-nav a, .qodef-vertical-menu a, .qodef-fullscreen-menu a" 452 ).removeClass("current"), 453 o.addClass("current"); 454 }, 455 t = function () { 456 e("[data-qodef-anchor]").waypoint( 457 function (t) { 458 "down" === t && 459 o( 460 e( 461 "a[href='" + 462 window.location.href.split("#")[0] + 463 "#" + 464 e(this.element).data("qodef-anchor") + 465 "']" 466 ) 467 ); 468 }, 469 { offset: "50%" } 470 ), 471 e("[data-qodef-anchor]").waypoint( 472 function (t) { 473 "up" === t && 474 o( 475 e( 476 "a[href='" + 477 window.location.href.split("#")[0] + 478 "#" + 479 e(this.element).data("qodef-anchor") + 480 "']" 481 ) 482 ); 483 }, 484 { 485 offset: function () { 486 return -(e(this.element).outerHeight() - 150); 487 }, 488 } 489 ); 490 }, 491 i = function () { 492 var o = window.location.hash.split("#")[1]; 493 if ("" !== o && e('[data-qodef-anchor="' + o + '"]').length > 0) { 494 var t = window.location.href.split("#")[0] + "#" + o; 495 if (e("a[href='" + t + "']").length) 496 e("a[href='" + t + "']").trigger("click"); 497 else { 498 var i = e("<a/>") 499 .attr({ href: t, class: "qodef-anchor" }) 500 .appendTo("body"); 501 i.trigger("click"); 502 } 503 } 504 }, 505 a = function (e, o) { 506 var t; 507 return ( 508 qodef.windowWidth > 1024 509 ? ("qodef-sticky-header-on-scroll-down-up" == 510 qodef.modules.header.behaviour && 511 (qodef.modules.header.isStickyVisible = 512 e > qodef.modules.header.stickyAppearAmount ? !0 : !1), 513 "qodef-sticky-header-on-scroll-up" == 514 qodef.modules.header.behaviour && 515 (e > qodef.scroll 516 ? (qodef.modules.header.isStickyVisible = !1) 517 : ""), 518 (t = qodef.modules.header.isStickyVisible 519 ? qodefGlobalVars.vars.qodefStickyHeaderTransparencyHeight 520 : qodefPerPageVars.vars.qodefHeaderTransparencyHeight)) 521 : (t = 522 "down" === o 523 ? e > qodef.modules.header.stickyMobileAppearAmount 524 ? 0 525 : qodef.modules.header.stickyMobileAppearAmount 526 : qodefGlobalVars.vars.qodefMobileHeaderHeight), 527 t 528 ); 529 }, 530 d = function () { 531 qodef.document.on( 532 "click", 533 ".qodef-main-menu a, .qodef-vertical-menu a, .qodef-fullscreen-menu a, .qodef-btn, .qodef-anchor, .qodef-mobile-nav a", 534 function () { 535 var t, 536 i = e(this), 537 d = i.prop("hash").split("#")[1]; 538 if ("" !== d && e('[data-qodef-anchor="' + d + '"]').length > 0) { 539 var n = e('[data-qodef-anchor="' + d + '"]').offset().top, 540 s = n > qodef.scroll ? "down" : "up"; 541 return ( 542 (t = 543 e('[data-qodef-anchor="' + d + '"]').offset().top - 544 a(n, s)), 545 o(i), 546 qodef.html 547 .stop() 548 .animate({ scrollTop: Math.round(t) }, 1e3, function () { 549 history.replaceState && 550 history.replaceState(null, null, "#" + d); 551 }), 552 !1 553 ); 554 } 555 } 556 ); 557 }; 558 return { 559 init: function () { 560 e("[data-qodef-anchor]").length && 561 (d(), 562 t(), 563 e(window).load(function () { 564 i(); 565 })); 566 }, 567 }; 568 }); 569 })(jQuery), 570 (function (e) { 571 "use strict"; 572 function o() { 573 s(); 574 } 575 function t() { 576 n(); 577 } 578 function i() {} 579 function a() {} 580 function d(o, t, i) { 581 function a(e, t) { 582 o[e] = void 0 !== o[e] ? o[e] : t; 583 } 584 (t = void 0 !== t ? t : ".qodef-content"), 585 (i = void 0 !== i ? i : ".qodef-content"), 586 (o = void 0 !== o ? o : {}), 587 a("url", window.location.href), 588 a("type", "POST"), 589 a("success", function (a) { 590 var d = e(a), 591 n = d.find(".qodef-meta"); 592 n.length && h(n); 593 var s = d.find(i); 594 return s.length ? void u(o.url, s, t) : ((q = !0), !1); 595 }), 596 a("ajaxReq", "yes"), 597 e.ajax({ 598 url: o.url, 599 type: o.type, 600 data: { ajaxReq: o.ajaxReq }, 601 success: o.success, 602 }); 603 } 604 function n() { 605 m.loader.length && 606 (m.loader.fadeOut(m.loaderTime), 607 e(window).bind("pageshow", function (e) { 608 e.originalEvent.persisted && m.loader.fadeOut(m.loaderTime); 609 })); 610 } 611 function s() { 612 if ( 613 (qodef.body.removeClass("page-not-loaded"), 614 (m.loader = e("body > .qodef-smooth-transition-loader.qodef-ajax")), 615 m.loader.length) 616 ) { 617 if ( 618 qodef.body.hasClass("woocommerce") || 619 qodef.body.hasClass("woocommerce-page") 620 ) 621 return !1; 622 r(), 623 e(document).on( 624 "click",
625 'a[target!="_blank"]:not(.no-ajax):not(.no-link)', 626 function (o) { 627 var t = e(this); 628 if (1 == o.ctrlKey) 629 return window.open(t.attr("href"), "_blank"), !1; 630 if (t.parents(".qodef-ptf-load-more").length) return !1; 631 if (t.parents(".qodef-blog-load-more-button").length) return !1; 632 if (t.parents("qodef-post-info-comments").length) { 633 var i = t.attr("href").split("#")[1]; 634 return e("html, body").scrollTop(e("#" + i).offset().top), !1; 635 } 636 if ( 637 window.location.href.split("#")[0] == 638 t.attr("href").split("#")[0] 639 ) 640 return !1; 641 if (0 === t.closest(".qodef-no-animation").length) { 642 if (document.location.href.indexOf("?s=") >= 0) return !0; 643 if (t.attr("href").indexOf("wp-admin") >= 0) return !0; 644 if (t.attr("href").indexOf("wp-content") >= 0) return !0; 645 if ( 646 -1 !== 647 jQuery.inArray( 648 t.attr("href").split("#")[0], 649 qodefGlobalVars.vars.no_ajax_pages 650 ) 651 ) 652 return (document.location.href = t.attr("href")), !1; 653 if ("http://#" === t.attr("href") || "#" === t.attr("href")) 654 return !1; 655 var a = t.attr("href"), 656 d = a.indexOf( 657 window.location.protocol + "//" + window.location.host 658 ); 659 if (0 === d) { 660 if (!q) return !1; 661 o.preventDefault(), 662 o.stopImmediatePropagation(), 663 o.stopPropagation(), 664 t.is(".current") || l(t); 665 } 666 } 667 } 668 ); 669 } 670 } 671 function r() { 672 window.history.pushState && 673 e(window).bind("popstate", function () { 674 var e = location.href; 675 !v && q && ((q = !1), d({ url: e })); 676 }); 677 } 678 function l(e) { 679 (q = !1), m.loader.fadeIn(m.loaderTime), d({ url: e.attr("href") }); 680 } 681 function f(o) { 682 var t = e( 683 "nav a[href='" + o + "'], .widget_nav_menu a[href='" + o + "']" 684 ); 685 e( 686 ".qodef-main-menu a, .qodef-mobile-nav a, .qodef-mobile-nav h4, .qodef-vertical-menu a, .popup_menu a, .widget_nav_menu a" 687 ) 688 .removeClass("current") 689 .parent() 690 .removeClass("qodef-active-item"), 691 e(".widget_nav_menu ul.menu > li").removeClass("current-menu-item"), 692 t.each(function () { 693 var o = e(this); 694 0 === o.closest(".second").length 695 ? o.parent().addClass("qodef-active-item") 696 : o.closest(".second").parent().addClass("qodef-active-item"), 697 o.closest(".qodef-mobile-nav").length > 0 && 698 (o.closest(".level0").addClass("qodef-active-item"), 699 o.closest(".level1").addClass("qodef-active-item"), 700 o.closest(".level2").addClass("qodef-active-item")), 701 o.closest(".widget_nav_menu").length > 0 && 702 o 703 .closest(".widget_nav_menu") 704 .find(".menu-item") 705 .addClass("current-menu-item"), 706 o.addClass("current"); 707 }); 708 } 709 function c(o) { 710 e(document).off(), 711 e(window).off(), 712 qodef.body.off().find("*").off(), 713 qodef.qodefOnDocumentReady(), 714 qodef.qodefOnWindowLoad(), 715 e(window).resize(qodef.qodefOnWindowResize), 716 e(window).scroll(qodef.qodefOnWindowScroll); 717 var t = [ 718 "common", 719 "ajax", 720 "header", 721 "title", 722 "shortcodes", 723 "woocommerce", 724 "portfolio", 725 "blog", 726 "like", 727 ], 728 i = []; 729 void 0 !== o && o.length 730 ? t.forEach(function (e) { 731 -1 === o.indexOf(e) && i.push(e); 732 }, this) 733 : (i = t); 734 for (var a = 0; a < i.length; a++) 735 void 0 !== qodef.modules[i[a]] && 736 (qodef.modules[i[a]].qodefOnDocumentReady(), 737 qodef.modules[i[a]].qodefOnWindowLoad(), 738 e(window).resize(qodef.modules[i[a]].qodefOnWindowResize), 739 e(window).scroll(qodef.modules[i[a]].qodefOnWindowScroll)); 740 e(document).trigger("qodef.ajaxPageLoad"); 741 } 742 function h(o) { 743 var t = o.find(".qodef-seo-title").text(), 744 i = o.find(".qodef-page-transition").text(), 745 a = o.find(".qodef-seo-description").text(), 746 d = o.find(".qodef-seo-keywords").text(); 747 void 0 !== i && (m.type = i), 748 e('head meta[name="description"]').length 749 ? e('head meta[name="description"]').attr("content", a) 750 : void 0 !== a && 751 e('<meta name="description" content="' + a + '">').prependTo( 752 e("head") 753 ), 754 e('head meta[name="keywords"]').length 755 ? e('head meta[name="keywords"]').attr("content", d) 756 : void 0 !== d && 757 e('<meta name="keywords" content="' + d + '">').prependTo( 758 e("head") 759 ), 760 (document.title = t); 761 var n = o.find(".qodef-body-classes").text(), 762 s = n.split(","); 763 qodef.body.removeClass(); 764 for (var r = 0; r < s.length; r++) 765 "qodef-page-not-loaded" !== s[r] && qodef.body.addClass(s[r]); 766 if (e("#wp-admin-bar-edit").length > 0) { 767 var l = o.find("#qodef-page-id").text(), 768 f = e("#wp-admin-bar-edit a").attr("href"), 769 c = f.replace(/(post=).*?(&)/, "$1" + l + "$2"); 770 e("#wp-admin-bar-edit a").attr("href", c); 771 } 772 } 773 function u(o, t, i) { 774 i = void 0 !== i ? i : ".qodef-content"; 775 var a = qodef.body.find(i); 776 t 777 .height(a.height()) 778 .css({ position: "absolute", opacity: 0, overflow: "hidden" }) 779 .insertBefore(a), 780 t.waitForImages(function () { 781 -1 !== o.indexOf("#") && 782 e( 783 '<a class="qodef-temp-anchor qodef-anchor" href="' + 784 o + 785 '" style="display: none"></a>' 786 ).appendTo("body"), 787 c(), 788 "fade" == m.type && 789 (a.stop().fadeTo(m.time, 0, function () { 790 a.remove(), 791 window.history.pushState 792 ? (o !== window.location.href && 793 window.history.pushState({ path: o }, "", o), 794 "undefined" != typeof _gaq &&
795 _gaq.push(["_trackPageview", o])) 796 : (document.location.href = 797 window.location.protocol + 798 "//" + 799 window.location.host + 800 "#" + 801 o.split( 802 window.location.protocol + "//" + window.location.host 803 )[1]), 804 f(o), 805 qodef.body.animate({ scrollTop: 0 }, m.time, "swing"); 806 }), 807 setTimeout(function () { 808 t.css("position", "relative") 809 .height("") 810 .stop() 811 .fadeTo(m.time, 1, function () { 812 (q = !0), 813 (v = !1), 814 m.loader.fadeOut(m.loaderTime, function () { 815 var o = e(".qodef-temp-anchor"); 816 o.length && o.trigger("click").remove(); 817 }); 818 }); 819 }, !m.simultaneous * m.time)); 820 }); 821 } 822 var p = {}; 823 qodef.modules.ajax = p; 824 var m = {}; 825 (p.animation = m), 826 (p.qodefFetchPage = d), 827 (p.qodefInitAjax = s), 828 (p.qodefHandleLinkClick = l), 829 (p.qodefInsertFetchedContent = u), 830 (p.qodefInitBackBehavior = r), 831 (p.qodefSetActiveState = f), 832 (p.qodefReinitiateAll = c), 833 (p.qodefHandleMeta = h), 834 (p.qodefOnDocumentReady = o), 835 (p.qodefOnWindowLoad = t), 836 (p.qodefOnWindowResize = i), 837 (p.qodefOnWindowScroll = a), 838 e(document).ready(o), 839 e(window).load(t), 840 e(window).resize(i), 841 e(window).scroll(a); 842 var q = !0, 843 v = !0; 844 (m.type = null), 845 (m.time = 500), 846 (m.simultaneous = !0), 847 (m.loader = null), 848 (m.loaderTime = 500); 849 })(jQuery), 850 (function (e) { 851 "use strict"; 852 function o() { 853 d(), n(), s(), r(), l(), f(), c(), u(), m().init(); 854 } 855 function t() { 856 h(), c(); 857 } 858 function i() { 859 h(); 860 } 861 function a() {} 862 function d() { 863 var o, 864 t = e(".qodef-page-header"), 865 i = e(".qodef-sticky-header"), 866 a = e(".qodef-fixed-wrapper"), 867 d = e(".qodef-page-header").find(".qodef-fixed-wrapper").length 868 ? e(".qodef-page-header").find(".qodef-fixed-wrapper").offset().top + 869 50 870 : null; 871 switch (!0) { 872 case qodef.body.hasClass("qodef-sticky-header-on-scroll-up"): 873 qodef.modules.header.behaviour = "qodef-sticky-header-on-scroll-up"; 874 var n = e(document).scrollTop(); 875 o = 876 qodefGlobalVars.vars.qodefTopBarHeight + 877 qodefGlobalVars.vars.qodefLogoAreaHeight + 878 qodefGlobalVars.vars.qodefMenuAreaHeight + 879 qodefGlobalVars.vars.qodefStickyHeaderHeight; 880 var s = function () { 881 var t = e(document).scrollTop(); 882 (t > n && t > o) || o > t 883 ? ((qodef.modules.header.isStickyVisible = !1), 884 i 885 .removeClass("header-appear") 886 .find(".qodef-main-menu .second") 887 .removeClass("qodef-drop-down-start")) 888 : ((qodef.modules.header.isStickyVisible = !0), 889 i.addClass("header-appear")), 890 (n = e(document).scrollTop()); 891 }; 892 s(), 893 e(window).scroll(function () { 894 s(); 895 }); 896 break; 897 case qodef.body.hasClass("qodef-sticky-header-on-scroll-down-up"): 898 (qodef.modules.header.behaviour = 899 "qodef-sticky-header-on-scroll-down-up"), 900 (qodef.modules.header.stickyAppearAmount = 901 0 !== qodefPerPageVars.vars.qodefStickyScrollAmount 902 ? qodefPerPageVars.vars.qodefStickyScrollAmount 903 : 0 !== qodefGlobalVars.vars.qodefStickyScrollAmount 904 ? qodefGlobalVars.vars.qodefStickyScrollAmount 905 : qodefGlobalVars.vars.qodefTopBarHeight + 906 qodefGlobalVars.vars.qodefLogoAreaHeight + 907 qodefGlobalVars.vars.qodefMenuAreaHeight); 908 var s = function () { 909 qodef.scroll < qodef.modules.header.stickyAppearAmount 910 ? ((qodef.modules.header.isStickyVisible = !1), 911 i 912 .removeClass("header-appear") 913 .find(".qodef-main-menu .second") 914 .removeClass("qodef-drop-down-start")) 915 : ((qodef.modules.header.isStickyVisible = !0), 916 i.addClass("header-appear")); 917 }; 918 s(), 919 e(window).scroll(function () { 920 s(); 921 }); 922 break; 923 case qodef.body.hasClass("qodef-fixed-on-scroll"): 924 qodef.modules.header.behaviour = "qodef-fixed-on-scroll"; 925 var r = function () { 926 qodef.scroll < d 927 ? (a.removeClass("fixed"), t.css("margin-bottom", 0)) 928 : (a.addClass("fixed"), t.css("margin-bottom", a.height())); 929 }; 930 r(), 931 e(window).scroll(function () { 932 r(); 933 }); 934 } 935 } 936 function n() { 937 var o, 938 t = e(".qodef-wrapper"), 939 i = e(".qodef-side-menu"), 940 a = e("a.qodef-side-menu-button-opener"), 941 d = !1, 942 n = !1, 943 s = !1; 944 qodef.body.hasClass("qodef-side-menu-slide-from-right") 945 ? (e(".qodef-cover").remove(), 946 (o = "qodef-right-side-menu-opened"), 947 t.prepend('<div class="qodef-cover"/>
947'), 948 (d = !0)) 949 : qodef.body.hasClass("qodef-side-menu-slide-with-content") 950 ? ((o = "qodef-side-menu-open"), (n = !0)) 951 : qodef.body.hasClass("qodef-side-area-uncovered-from-content") && 952 ((o = "qodef-right-side-menu-opened"), (s = !0)), 953 e("a.qodef-side-menu-button-opener, a.qodef-close-side-menu").click( 954 function (r) { 955 if ((r.preventDefault(), a.hasClass("opened"))) { 956 if ((a.removeClass("opened"), qodef.body.removeClass(o), s)) 957 var l = setTimeout(function () { 958 i.css({ visibility: "hidden" }), clearTimeout(l); 959 }, 400); 960 } else { 961 a.addClass("opened"), 962 qodef.body.addClass(o), 963 d && 964 e(".qodef-wrapper .qodef-cover").click(function () { 965 qodef.body.removeClass("qodef-right-side-menu-opened"), 966 a.removeClass("opened"); 967 }), 968 s && i.css({ visibility: "visible" }); 969 var f = e(window).scrollTop(); 970 e(window).scroll(function () { 971 if ( 972 Math.abs(qodef.scroll - f) > 400 && 973 (qodef.body.removeClass(o), a.removeClass("opened"), s) 974 ) 975 var e = setTimeout(function () { 976 i.css({ visibility: "hidden" }), clearTimeout(e); 977 }, 400); 978 }); 979 } 980 n && 981 (r.stopPropagation(), 982 t.click(function () { 983 r.preventDefault(), 984 a.removeClass("opened"), 985 qodef.body.removeClass("qodef-side-menu-open"); 986 })); 987 } 988 ); 989 } 990 function s() { 991 var o = e(".qodef-side-menu"); 992 o.length && 993 o.niceScroll({ 994 scrollspeed: 60, 995 mousescrollstep: 40, 996 cursorwidth: 0, 997 cursorborder: 0, 998 cursorborderradius: 0, 999 cursorcolor: "transparent", 1000 autohidemode: !1, 1001 horizrailenabled: !1, 1002 }); 1003 } 1004 function r() { 1005 if (e("a.qodef-fullscreen-menu-opener").length) { 1006 var o, 1007 t = e("a.qodef-fullscreen-menu-opener"), 1008 i = e(".qodef-fullscreen-menu-holder-outer"), 1009 a = !1, 1010 d = !1, 1011 n = e(".qodef-fullscreen-above-menu-widget-holder"), 1012 s = e(".qodef-fullscreen-below-menu-widget-holder"), 1013 r = e(".qodef-fullscreen-menu-holder-outer nav > ul > li > a"), 1014 l = e(".qodef-fullscreen-menu > ul li.has_sub > a"), 1015 f = e(".qodef-fullscreen-menu ul li:not(.has_sub) a"); 1016 i.height(qodef.windowHeight).niceScroll({ 1017 scrollspeed: 30, 1018 mousescrollstep: 20, 1019 cursorwidth: 0, 1020 cursorborder: 0, 1021 cursorborderradius: 0, 1022 cursorcolor: "transparent", 1023 autohidemode: !1, 1024 horizrailenabled: !1, 1025 }), 1026 e(window).resize(function () { 1027 i.height(qodef.windowHeight); 1028 }), 1029 qodef.body.hasClass("qodef-fade-push-text-right") 1030 ? ((o = "qodef-push-nav-right"), (a = !0)) 1031 : qodef.body.hasClass("qodef-fade-push-text-top") && 1032 ((o = "qodef-push-text-top"), (d = !0)), 1033 (a || d) && 1034 (n.length && 1035 n.children().css({ 1036 "-webkit-animation-delay": "0ms", 1037 "-moz-animation-delay": "0ms", 1038 "animation-delay": "0ms", 1039 }), 1040 r.each(function (o) { 1041 e(this).css({ 1042 "-webkit-animation-delay": 70 * (o + 1) + "ms", 1043 "-moz-animation-delay": 70 * (o + 1) + "ms", 1044 "animation-delay": 70 * (o + 1) + "ms", 1045 }); 1046 }), 1047 s.length && 1048 s.children().css({ 1049 "-webkit-animation-delay": 70 * (r.length + 1) + "ms", 1050 "-moz-animation-delay": 70 * (r.length + 1) + "ms", 1051 "animation-delay": 70 * (r.length + 1) + "ms", 1052 })), 1053 t.on("click", function (i) { 1054 i.preventDefault(), 1055 t.hasClass("opened") 1056 ? (t.removeClass("opened"), 1057 qodef.body.removeClass("qodef-fullscreen-menu-opened"), 1058 qodef.body 1059 .removeClass("qodef-fullscreen-fade-in") 1060 .addClass("qodef-fullscreen-fade-out"), 1061 qodef.body.addClass(o), 1062 qodef.body.hasClass("page-template-full_screen-php") || 1063 qodef.modules.common.qodefEnableScroll(), 1064 e("nav.qodef-fullscreen-menu ul.sub_menu").slideUp( 1065 200, 1066 function () { 1067 e("nav.popup_menu").getNiceScroll().resize(); 1068 } 1069 )) 1070 : (t.addClass("opened"), 1071 qodef.body.addClass("qodef-fullscreen-menu-opened"), 1072 qodef.body 1073 .removeClass("qodef-fullscreen-fade-out") 1074 .addClass("qodef-fullscreen-fade-in"), 1075 qodef.body.removeClass(o), 1076 qodef.body.hasClass("page-template-full_screen-php") || 1077 qodef.modules.common.qodefDisableScroll(), 1078 e(document).keyup(function (i) { 1079 27 == i.keyCode && 1080 (t.removeClass("opened"), 1081 qodef.body.removeClass("qodef-fullscreen-menu-opened"), 1082 qodef.body 1083 .removeClass("qodef-fullscreen-fade-in") 1084 .addClass("qodef-fullscreen-fade-out"), 1085 qodef.body.addClass(o), 1086 qodef.body.hasClass("page-template-full_screen-php") || 1087 qodef.modules.common.qodefEnableScroll(), 1088 e("nav.qodef-fullscreen-menu ul.sub_menu").slideUp( 1089 200, 1090 function () { 1091 e("nav.popup_menu").getNiceScroll().resize(); 1092 } 1093 )); 1094 })); 1095 }), 1096 l.on("tap click", function (o) { 1097 if ((o.preventDefault(), e(this).parent().hasClass("has_sub"))) { 1098 var t = e(this).parent().find("> ul.sub_menu"); 1099 t.is(":visible") 1100 ? (t.slideUp(200, function () { 1101 i.getNiceScroll().resize(); 1102 }), 1103 e(this).parent().removeClass("open_sub")) 1104 : (e(this).parent().addClass("open_sub"), 1105 t.slideDown(200, function () { 1106 i.getNiceScroll().resize(); 1107 })); 1108 } 1109 return !1; 1110 }), 1111 f.click(function (i) { 1112 return "http://#" === e(this).attr("href") || 1113 "#" === e(this).attr("href") 1114 ? !1 1115 : void ( 1116 1 == i.which && 1117 (t.removeClass("opened"), 1118 qodef.body.removeClass("qodef-fullscreen-menu-opened"), 1119 qodef.body 1120 .removeClass("qodef-fullscreen-fade-in") 1121 .addClass("qodef-fullscreen-fade-out"), 1122 qodef.body.addClass(o), 1123 e("nav.qodef-fullscreen-menu ul.sub_menu").slideUp( 1124 200, 1125 function () { 1126 e("nav.popup_menu").getNiceScroll().resize(); 1127 } 1128 ), 1129 qodef.modules.common.qodefEnableScroll()) 1130 ); 1131 }); 1132 } 1133 } 1134 function l() { 1135 var o = e(".qodef-mobile-header .qodef-mobile-menu-opener"), 1136 t = e(".qodef-mobile-header .qodef-mobile-nav"), 1137 i = e( 1138 '.qodef-mobile-nav .mobile_arrow, .qodef-mobile-nav h4, .qodef-mobile-nav a[href*="#"]' 1139 ), 1140 a = 200; 1141 o.length && 1142 t.length && 1143 o.on("tap click", function (e) { 1144 e.stopPropagation(), 1145 e.preventDefault(), 1146 t.is(":visible") ? t.slideUp(a) : t.slideDown(a); 1147 }), 1148 i.length && 1149 i.each(function () { 1150 e(this).on("tap click", function (o) { 1151 var t = e(this).nextAll("ul").first(); 1152 if (t.length) { 1153 o.preventDefault(), o.stopPropagation(); 1154 var i = e(this).parent("li"); 1155 t.is(":visible") 1156 ? (t.slideUp(a), i.removeClass("qodef-opened")) 1157 : (t.slideDown(a), i.addClass("qodef-opened")); 1158 } 1159 }); 1160 }), 1161 e(".qodef-mobile-nav a, .qodef-mobile-logo-wrapper a").on( 1162 "click tap", 1163 function () { 1164 "http://#" !== e(this).attr("href") && 1165 "#" !== e(this).attr("href") && 1166 t.slideUp(a); 1167 } 1168 ); 1169 } 1170 function f() { 1171 if (qodef.body.hasClass("qodef-sticky-up-mobile-header")) { 1172 var o, 1173 t = e(".qodef-top-bar"), 1174 i = e(".qodef-mobile-header"), 1175 a = e("#wpadminbar"), 1176 d = i.length ? i.height() : 0, 1177 n = t.is(":visible") ? t.height() : 0, 1178 s = a.length ? a.height() : 0, 1179 r = e(document).scrollTop(); 1180 (qodef.modules.header.stickyMobileAppearAmount = n + d + s), 1181 (o = qodef.modules.header.stickyMobileAppearAmount), 1182 e(window).scroll(function () { 1183 var t = e(document).scrollTop(); 1184 ((t > r && t > o) || o > t) && 1185 a.length && 1186 i.find(".qodef-mobile-header-inner").css("top", 0), 1187 (r = e(document).scrollTop()); 1188 }); 1189 } 1190 } 1191 function c() { 1192 var o = e(".qodef-drop-down > ul > li.narrow"); 1193 o.each(function () { 1194 var o = qodef.windowWidth - 16, 1195 t = e(this).offset().left, 1196 i = e(this).find(".second .inner ul").width(), 1197 a = 0; 1198 a = qodef.body.hasClass("boxed") 1199 ? qodef.boxedLayoutWidth - (t - (o - qodef.boxedLayoutWidth) / 2) 1200 : o - t; 1201 var d; 1202 e(this).find("li.sub").length > 0 && (d = a - i), 1203 (i > a || i > d) && 1204 (e(this).find(".second").addClass("right"), 1205 e(this).find(".second .inner ul").addClass("right")); 1206 }); 1207 } 1208 function h() { 1209 var o = e(".qodef-drop-down > ul > li"); 1210 o.each(function (t) { 1211 if (e(o[t]).find(".second").length > 0) { 1212 var i = e(o[t]).find(".second"); 1213 if (e(o[t]).hasClass("wide")) { 1214 var a = e(this).find(".inner > ul"), 1215 d = 1216 parseInt(a.css("padding-left").slice(0, -2)) + 1217 parseInt(a.css("padding-right").slice(0, -2)), 1218 n = a.outerWidth(); 1219 e(this).hasClass("left_position") || 1220 e(this).hasClass("right_position") || 1221 i.css("left", 0); 1222 var s = 0; 1223 if ( 1224 (e(this) 1225 .find(".second > .inner > ul > li") 1226 .each(function () { 1227 var o = e(this).height(); 1228 o > s && (s = o); 1229 }), 1230 e(this).find(".second > .inner > ul > li").css("height", ""), 1231 e(this).find(".second > .inner > ul > li").height(s), 1232 e(this).hasClass("wide_background")) 1233 ) { 1234 if ( 1235 !e(this).hasClass("left_position") && 1236 !e(this).hasClass("right_position") 1237 ) { 1238 var r = i.offset().left; 1239 i.css("left", -r), i.css("width", qodef.windowWidth); 1240 } 1241 } else if ( 1242 !e(this).hasClass("left_position") && 1243 !e(this).hasClass("right_position") 1244 ) { 1245 var r = 1246 (qodef.windowWidth - 1247 2 * (qodef.windowWidth - a.offset().left)) / 1248 2 + 1249 (n + d) / 2; 1250 i.css("left", -r); 1251 } 1252 } 1253 if ( 1254 (qodef.menuDropdownHeightSet || 1255 (e(o[t]).data("original_height", i.height() + "px"), i.height(0)), 1256 navigator.userAgent.match(/(iPod|iPhone|iPad)/)) 1257 ) 1258 e(o[t]) 1259 .on("touchstart mouseenter", function () { 1260 i.css({ 1261 height: e(o[t]).data("original_height"), 1262 overflow: "visible", 1263 visibility: "visible", 1264 opacity: "1", 1265 }); 1266 }) 1267 .on("mouseleave", function () { 1268 i.css({ 1269 height: "0px", 1270 overflow: "hidden", 1271 visibility: "hidden", 1272 opacity: "0", 1273 }); 1274 }); 1275 else if (qodef.body.hasClass("qodef-dropdown-animate-height")) 1276 e(o[t]) 1277 .mouseenter(function () { 1278 i.css({ visibility: "visible", height: "0px", opacity: "0" }), 1279 i 1280 .stop() 1281 .animate( 1282 { height: e(o[t]).data("original_height"), opacity: 1 }, 1283 200, 1284 function () { 1285 i.css("overflow", "visible"); 1286 } 1287 ); 1288 }) 1289 .mouseleave(function () { 1290 i.stop().animate({ height: "0px" }, 0, function () { 1291 i.css({ overflow: "hidden", visibility: "hidden" }); 1292 }); 1293 }); 1294 else { 1295 var l = { 1296 interval: 0, 1297 over: function () { 1298 setTimeout(function () { 1299 i.addClass("qodef-drop-down-start"), 1300 i.stop().css({ height: e(o[t]).data("original_height") }); 1301 }, 150); 1302 }, 1303 timeout: 150, 1304 out: function () { 1305 i.stop().css({ height: "0px" }), 1306 i.removeClass("qodef-drop-down-start"); 1307 }, 1308 }; 1309 e(o[t]).hoverIntent(l); 1310 } 1311 } 1312 }), 1313 e(".qodef-drop-down ul li.wide ul li a").on("click", function (o) { 1314 if (1 == o.which) { 1315 var t = e(this); 1316 setTimeout(function () { 1317 t.mouseleave(); 1318 }, 500); 1319 } 1320 }), 1321 (qodef.menuDropdownHeightSet = !0); 1322 } 1323 function u() { 1324 function o() { 1325 var o = e(".qodef-fullscreen-search-holder"); 1326 i.click(function (i) { 1327 i.preventDefault(); 1328 var a = !1; 1329 if ("yes" === e(this).data("icon-close-same-position")) { 1330 var d = e(this).offset().top, 1331 n = e(this).offset().left; 1332 a = !0; 1333 } 1334 o.hasClass("qodef-animate") 1335 ? (qodef.body.removeClass("qodef-fullscreen-search-opened"), 1336 qodef.body.addClass("qodef-search-fade-out"), 1337 qodef.body.removeClass("qodef-search-fade-in"), 1338 o.removeClass("qodef-animate"), 1339 qodef.body.hasClass("page-template-full_screen-php") || 1340 qodef.modules.common.qodefEnableScroll()) 1341 : (qodef.body.addClass("qodef-fullscreen-search-opened"), 1342 qodef.body.removeClass("qodef-search-fade-out"), 1343 qodef.body.addClass("qodef-search-fade-in"), 1344 o.addClass("qodef-animate"), 1345 a && t.css({ top: d - qodef.scroll, left: n }), 1346 qodef.body.hasClass("page-template-full_screen-php") || 1347 qodef.modules.common.qodefDisableScroll()), 1348 t.click(function (e) { 1349 e.preventDefault(), 1350 qodef.body.removeClass("qodef-fullscreen-search-opened"), 1351 o.removeClass("qodef-animate"), 1352 qodef.body.removeClass("qodef-search-fade-in"), 1353 qodef.body.addClass("qodef-search-fade-out"), 1354 qodef.body.hasClass("page-template-full_screen-php") || 1355 qodef.modules.common.qodefEnableScroll(); 1356 }), 1357 e(document).keyup(function (e) { 1358 27 == e.keyCode && 1359 (qodef.body.removeClass("qodef-fullscreen-search-opened"), 1360 o.removeClass("qodef-animate"),
1361 qodef.body.removeClass("qodef-search-fade-in"), 1362 qodef.body.addClass("qodef-search-fade-out"), 1363 qodef.body.hasClass("page-template-full_screen-php") || 1364 qodef.modules.common.qodefEnableScroll()); 1365 }); 1366 }), 1367 e(".qodef-fullscreen-search-holder .qodef-search-field").focus( 1368 function () { 1369 e( 1370 ".qodef-fullscreen-search-holder .qodef-field-holder .qodef-line" 1371 ).css("width", "100%"); 1372 } 1373 ), 1374 e(".qodef-fullscreen-search-holder .qodef-search-field").blur( 1375 function () { 1376 e( 1377 ".qodef-fullscreen-search-holder .qodef-field-holder .qodef-line" 1378 ).css("width", "0"); 1379 } 1380 ); 1381 } 1382 var t, 1383 i = e(".qodef-search-opener"), 1384 a = !1; 1385 if ( 1386 (e("html").hasClass("touch") && (a = !0), 1387 i.length > 0 && 1388 (qodef.body.hasClass("qodef-fullscreen-search") && 1389 ((t = e(".qodef-fullscreen-search-close")), o()), 1390 void 0 !== i.data("hover-color"))) 1391 ) { 1392 var d = function (e) { 1393 e.data.searchOpener.css("color", e.data.color); 1394 }, 1395 n = i.css("color"), 1396 s = i.data("hover-color"); 1397 i.on("mouseenter", { searchOpener: i, color: s }, d), 1398 i.on("mouseleave", { searchOpener: i, color: n }, d); 1399 } 1400 } 1401 var p = {}; 1402 (qodef.modules.header = p), 1403 (p.isStickyVisible = !1), 1404 (p.stickyAppearAmount = 0), 1405 (p.stickyMobileAppearAmount = 0), 1406 p.behaviour, 1407 (p.qodefSideArea = n), 1408 (p.qodefSideAreaScroll = s), 1409 (p.qodefFullscreenMenu = r), 1410 (p.qodefInitMobileNavigation = l), 1411 (p.qodefMobileHeaderBehavior = f), 1412 (p.qodefSetDropDownMenuPosition = c), 1413 (p.qodefDropDownMenu = h), 1414 (p.qodefSearch = u), 1415 (p.qodefOnDocumentReady = o), 1416 (p.qodefOnWindowLoad = t), 1417 (p.qodefOnWindowResize = i), 1418 (p.qodefOnWindowScroll = a), 1419 e(document).ready(o), 1420 e(window).load(t), 1421 e(window).resize(i), 1422 e(window).scroll(a); 1423 var m = function () { 1424 var o = e(".qodef-vertical-menu-area"), 1425 t = function () { 1426 i() && o.getNiceScroll().resize(); 1427 }, 1428 i = function () { 1429 return o.hasClass(".qodef-with-scroll"); 1430 }, 1431 a = function () { 1432 function i() { 1433 var o = a.find("ul li.menu-item-has-children"); 1434 o.each(function () { 1435 var i = e(this).find(" > .second, > ul"), 1436 a = this, 1437 d = e(this).find("> a"), 1438 n = "fast", 1439 s = "slow"; 1440 d.on("click tap", function (d) { 1441 d.preventDefault(), 1442 d.stopPropagation(), 1443 i.is(":visible") 1444 ? (e(a).removeClass("open"), 1445 i.slideUp(n, function () { 1446 t(); 1447 })) 1448 : (e(this).parents("li").hasClass("open") || 1449 (o.removeClass("open"), 1450 o.find(" > .second, > ul").slideUp(n)), 1451 e(a).addClass("open"), 1452 i.slideDown(s, function () { 1453 t(); 1454 })); 1455 }); 1456 }); 1457 } 1458 var a = o.find(".qodef-vertical-menu"), 1459 d = 1460 void 0 !== a.data("navigation-type") 1461 ? a.data("navigation-type") 1462 : ""; 1463 switch (d) { 1464 default: 1465 i(); 1466 } 1467 }; 1468 return { 1469 init: function () { 1470 o.length && a(); 1471 }, 1472 }; 1473 }; 1474 })(jQuery), 1475 (function (e) { 1476 "use strict"; 1477 function o() { 1478 d(); 1479 } 1480 function t() {} 1481 function i() {} 1482 function a() {} 1483 function d() { 1484 if ( 1485 e(".qodef-title.qodef-has-parallax-background").length > 0 && 1486 0 === e(".touch").length 1487 ) { 1488 var o = e(".qodef-title.qodef-has-parallax-background"), 1489 t = e(".qodef-title.qodef-has-parallax-background.qodef-zoom-out"), 1490 i = parseInt(o.data("background-width").match(/\d+/)), 1491 a = o.data("height"), 1492 d = (a / 1e4) * 7, 1493 n = -(qodef.scroll * d); 1494 o.css({ 1495 "background-position": 1496 "center " + (n + qodefGlobalVars.vars.qodefAddForAdminBar) + "px", 1497 }),
1498 t.css({ "background-size": i - qodef.scroll + "px auto" }), 1499 e(window).scroll(function () { 1500 (n = -(qodef.scroll * d)), 1501 o.css({ 1502 "background-position": 1503 "center " + 1504 (n + qodefGlobalVars.vars.qodefAddForAdminBar) + 1505 "px", 1506 }), 1507 t.css({ "background-size": i - qodef.scroll + "px auto" }); 1508 }); 1509 } 1510 } 1511 var n = {}; 1512 (qodef.modules.title = n), 1513 (n.qodefParallaxTitle = d), 1514 (n.qodefOnDocumentReady = o), 1515 (n.qodefOnWindowLoad = t), 1516 (n.qodefOnWindowResize = i), 1517 (n.qodefOnWindowScroll = a), 1518 e(document).ready(o), 1519 e(window).load(t), 1520 e(window).resize(i), 1521 e(window).scroll(a); 1522 })(jQuery), 1523 (function (e) { 1524 "use strict"; 1525 function o() { 1526 d(), 1527 n(), 1528 u(), 1529 to().init(), 1530 c(), 1531 h(), 1532 p(), 1533 m(), 1534 q(), 1535 g(), 1536 w(), 1537 y(), 1538 ao().init(), 1539 b(), 1540 C(), 1541 x(), 1542 T(), 1543 z(), 1544 O(), 1545 A(), 1546 I(), 1547 S(), 1548 V(), 1549 j(), 1550 M(), 1551 P(), 1552 F(), 1553 R(), 1554 r(), 1555 N(), 1556 Y(), 1557 k(), 1558 eo(), 1559 no().init(), 1560 io().init(), 1561 so().init(), 1562 ro.init(); 1563 } 1564 function t() { 1565 K(), J(), G(), $(); 1566 } 1567 function i() { 1568 b(), x(), V(), j(), K(), r(), J(); 1569 } 1570 function a() {} 1571 function d() { 1572 var o = e(".qodef-counter"); 1573 o.length && 1574 o.each(function () { 1575 var o = e(this); 1576 o.appear( 1577 function () { 1578 if ( 1579 (o.parent().addClass("qodef-counter-holder-show"), 1580 o.hasClass("zero")) 1581 ) { 1582 var e = parseFloat(o.text()); 1583 o.countTo({ 1584 from: 0, 1585 to: e, 1586 speed: 1500, 1587 refreshInterval: 100, 1588 }); 1589 } else o.absoluteCounter({ speed: 2e3, fadeInDelay: 1e3 }); 1590 }, 1591 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 1592 ); 1593 }); 1594 } 1595 function n() { 1596 var o = e(".qodef-progress-bar"); 1597 o.length && 1598 o.each(function () { 1599 var o = e(this); 1600 o.appear(function () { 1601 s(o); 1602 var e = o.find(".qodef-progress-content").data("percentage"), 1603 t = o.find(".qodef-progress-content"); 1604 t.css("width", "0%"), t.animate({ width: e + "%" }, 1500); 1605 }); 1606 }); 1607 } 1608 function s(o) { 1609 var t = parseFloat(o.find(".qodef-progress-content").data("percentage")), 1610 i = o.find(".qodef-progress-number .qodef-percent"); 1611 i.length && 1612 i.each(function () { 1613 var o = e(this); 1614 o.parents(".qodef-progress-number-wrapper").css("opacity", "1"), 1615 o.countTo({ from: 0, to: t, speed: 1500, refreshInterval: 50 }); 1616 }); 1617 } 1618 function r() { 1619 var o = e(".qodef-shop-masonry"); 1620 o.length && 1621 o.each(function () { 1622 var o = e(this).children(".qodef-shop-list-masonry"), 1623 t = o.find(".qodef-shop-list-masonry-grid-sizer").width(); 1624 f(t, o), 1625 l(o), 1626 e(window).resize(function () { 1627 (t = o.find(".qodef-shop-list-masonry-grid-sizer").width()), 1628 f(t, o), 1629 l(o); 1630 }); 1631 }); 1632 } 1633 function l(e) { 1634 e.animate({ opacity: 1 }), 1635 e.isotope({ 1636 layoutMode: "packery", 1637 itemSelector: ".qodef-shop-product", 1638 packery: { columnWidth: ".qodef-shop-list-masonry-grid-sizer" }, 1639 }); 1640 } 1641 function f(e, o) { 1642 var t = o.find(".qodef-default-masonry-item"), 1643 i = o.find(".qodef-large-width-masonry-item"), 1644 a = o.find(".qodef-large-height-masonry-item"), 1645 d = o.find(".qodef-large-width-height-masonry-item"); 1646 t.css("height", e), a.css("height", Math.round(2 * e)); 1647 var n = qodef.body.hasClass("page-template-full-width") ? 480 : 600; 1648 qodef.windowWidth > n 1649 ? (d.css("height", Math.round(2 * e)), i.css("height", e)) 1650 : (d.css("height", e), i.css("height", Math.round(e / 2))); 1651 } 1652 function c() { 1653 var o = e(".qodef-message"); 1654 o.length && 1655 o.each(function () { 1656 var o = e(this); 1657 o.find(".qodef-close").click(function (o) { 1658 o.preventDefault(), e(this).parent().parent().fadeOut(500); 1659 }); 1660 }); 1661 } 1662 function h() { 1663 var o = e(".qodef-message.qodef-with-icon"); 1664 o.length && 1665 o.each(function () { 1666 var o = e(this), 1667 t = o.find(".qodef-message-text-holder").height(), 1668 i = o.find(".qodef-message-icon-holder").height(); 1669 t > i 1670 ? o.find(".qodef-message-icon-holder").height(t) 1671 : o.find(".qodef-message-text-holder").height(i); 1672 }); 1673 } 1674 function u() { 1675 var o, 1676 t, 1677 i, 1678 a, 1679 d, 1680 n, 1681 s, 1682 r, 1683 l, 1684 f, 1685 c, 1686 h = e(".qodef-countdown"); 1687 h.length && 1688 h.each(function () { 1689 function h() { 1690 g.find(".countdown-amount").css({ 1691 "font-size": u + "px", 1692 "line-height": u + "px", 1693 color: m, 1694 }), 1695 g 1696 .find(".countdown-period") 1697 .css({ "font-size": p + "px", color: q }); 1698 } 1699 var u, 1700 p, 1701 m, 1702 q, 1703 v = e(this).attr("id"), 1704 g = e("#" + v); 1705 (o = g.data("year")), 1706 (t = g.data("month")), 1707 (i = g.data("day")), 1708 (a = g.data("hour")), 1709 (d = g.data("minute")), 1710 (n = g.data("timezone")), 1711 (s = g.data("month-label")), 1712 (r = g.data("day-label")), 1713 (l = g.data("hour-label")), 1714 (f = g.data("minute-label")), 1715 (c = g.data("second-label")), 1716 (u = g.data("digit-size")), 1717 (p = g.data("label-size")), 1718 (m = g.data("digit-color")), 1719 (q = g.data("label-color")), 1720 g.countdown({ 1721 until: new Date(o, t - 1, i, a, d, 44), 1722 labels: ["Years", s, "Weeks", r, l, f, c], 1723 format: "ODHMS", 1724 timezone: n, 1725 padZeroes: !0, 1726 onTick: h, 1727 }); 1728 }); 1729 } 1730 function p() { 1731 var o = e(".qodef-testimonials"); 1732 o.length && 1733 o.each(function () { 1734 var o = e(this); 1735 o.appear( 1736 function () { 1737 o.css("visibility", "visible"); 1738 }, 1739 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 1740 ); 1741 var t = !0, 1742 i = !1, 1743 a = !0, 1744 d = 0, 1745 n = ""; 1746 void 0 !== o.data("autoplay-timeout") && 1747 o.data("autoplay-timeout") !== !1 && 1748 ((d = 1e3 * o.data("autoplay-timeout")), 0 == d && (a = !1)), 1749 void 0 !== o.data("type") && 1750 "" !== o.data("type") && 1751 (n = o.data("type")), 1752 "standard" === n 1753 ? o.owlCarousel({ 1754 items: 1, 1755 loop: !0, 1756 autoplay: a, 1757 autoplayTimeout: d, 1758 mouseDrag: !1, 1759 dots: t, 1760 nav: i, 1761 navText: [ 1762 '<span class="qodef-prev-icon"><i class="fa fa-angle-left"></i></span>', 1763 '<span class="qodef-next-icon"><i class="fa fa-angle-right"></i></span>', 1764 ], 1765 }) 1766 : "cards" === n && 1767 o.owlCarousel({ 1768 items: 3, 1769 responsive: { 1770 0: { items: 1 }, 1771 600: { items: 2 }, 1772 1025: { items: 3 }, 1773 }, 1774 margin: 32, 1775 loop: !0, 1776 autoplay: a, 1777 autoplayTimeout: d, 1778 mouseDrag: !1, 1779 dots: t, 1780 nav: i, 1781 navText: [ 1782 '<span class="qodef-prev-icon"><i class="fa fa-angle-left"></i></span>', 1783 '<span class="qodef-next-icon"><i class="fa fa-angle-right"></i></span>', 1784 ], 1785 }); 1786 }); 1787 } 1788 function m() { 1789 var o, 1790 t, 1791 i, 1792 a = e(".qodef-carousel-holder"), 1793 d = !1, 1794 n = 0; 1795 a.length && 1796 a.each(function () { 1797 (o = e(this).children(".qodef-carousel")), 1798 (t = o.data("items")), 1799 (i = "yes" == o.data("navigation") ? !0 : !1); 1800 var a = o.data("autoplay"); 1801 a > 0 && ((d = !0), (n = 1e3 * a)); 1802 var s; 1803 (s = 1804 5 > t 1805 ? { 1806 0: { items: 1 }, 1807 480: { items: 2 }, 1808 768: { items: 3 }, 1809 1024: { items: t }, 1810 } 1811 : { 1812 0: { items: 1 }, 1813 480: { items: 2 }, 1814 768: { items: 3 }, 1815 1024: { items: 4 }, 1816 1200: { items: 5 }, 1817 1400: { items: t }, 1818 }), 1819 o.owlCarousel({ 1820 items: t, 1821 responsive: s, 1822 loop: !0, 1823 autoplay: d, 1824 dots: !1, 1825 nav: i, 1826 navText: [ 1827 '<span class="qodef-prev-icon"><i class="fa fa-angle-left"></i></span>', 1828 '<span class="qodef-next-icon"><i class="fa fa-angle-right"></i></span>', 1829 ], 1830 }); 1831 }); 1832 } 1833 function q() { 1834 var o = e(".qodef-pie-chart-holder, .qodef-pie-chart-with-icon-holder"); 1835 o.length && 1836 o.each(function () { 1837 var o = e(this), 1838 t = o.children(".qodef-percentage, .qodef-percentage-with-icon"), 1839 i = "#66dbc9", 1840 a = "#e3e3e3", 1841 d = 2, 1842 n = 156; 1843 void 0 !== t.data("bar-color") && 1844 "" !== t.data("bar-color") && 1845 (i = t.data("bar-color")), 1846 void 0 !== t.data("track-color") && 1847 "" !== t.data("track-color") && 1848 (a = t.data("track-color")), 1849 void 0 !== t.data("size") && 1850 "" !== t.data("size") && 1851 (n = t.data("size")),
1852 t.appear( 1853 function () { 1854 v(o), 1855 t.css("opacity", "1"), 1856 t.easyPieChart({ 1857 barColor: i, 1858 trackColor: a, 1859 scaleColor: !1, 1860 lineCap: "butt", 1861 lineWidth: d, 1862 animate: 1500, 1863 size: n, 1864 }); 1865 }, 1866 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 1867 ); 1868 }); 1869 } 1870 function v(e) { 1871 e.css("opacity", "1"); 1872 var o = e.find(".qodef-to-counter"), 1873 t = parseFloat(o.text()); 1874 o.countTo({ from: 0, to: t, speed: 1500, refreshInterval: 50 }); 1875 } 1876 function g() { 1877 var o = e( 1878 ".qodef-pie-chart-doughnut-holder, .qodef-pie-chart-pie-holder" 1879 ); 1880 o.each(function () { 1881 for ( 1882 var o = e(this), 1883 t = o.find("canvas"), 1884 i = t.attr("id"), 1885 a = document.getElementById(i).getContext("2d"), 1886 d = [], 1887 n = e(a.canvas), 1888 s = 1; 1889 10 >= s; 1890 s++ 1891 ) { 1892 var r, 1893 l = n.data("value-" + s), 1894 f = n.data("color-" + s); 1895 void 0 !== l && 1896 void 0 !== f && 1897 ((r = { value: l, color: f }), d.push(r)); 1898 } 1899 t.hasClass("qodef-pie") 1900 ? new Chart(a).Pie(d, { segmentStrokeColor: "transparent" }) 1901 : new Chart(a).Doughnut(d, { segmentStrokeColor: "transparent" }); 1902 }); 1903 } 1904 function w() { 1905 var o = e(".qodef-tabs"); 1906 o.length && 1907 o.each(function () { 1908 var o = e(this); 1909 o.children(".qodef-tab-container").each(function (o) { 1910 o += 1; 1911 var t = e(this), 1912 i = t.attr("id"), 1913 a = t.parent().find(".qodef-tabs-nav li:nth-child(" + o + ") a"), 1914 d = a.attr("href"); 1915 (i = "#" + i), i.indexOf(d) > -1 && a.attr("href", i); 1916 }), 1917 o.hasClass("qodef-horizontal-tab") 1918 ? o.tabs() 1919 : o.hasClass("qodef-vertical-tab") && 1920 (o.tabs().addClass("ui-tabs-vertical ui-helper-clearfix"), 1921 o 1922 .find(".qodef-tabs-nav > ul >li") 1923 .removeClass("ui-corner-top") 1924 .addClass("ui-corner-left")); 1925 }); 1926 } 1927 function y() { 1928 var o = e(".qodef-tab-container"); 1929 o.length && 1930 o.each(function () { 1931 var o = e(this), 1932 t = o.attr("id"), 1933 i = ""; 1934 (void 0 !== o.data("icon-html") || "false" !== o.data("icon-html")) && 1935 (i = o.data("icon-html")); 1936 var a = o 1937 .parents(".qodef-tabs") 1938 .find('.qodef-tabs-nav > li > a[href="#' + t + '"]'); 1939 void 0 !== a && a.children(".qodef-icon-frame").append(i); 1940 }); 1941 } 1942 function b() { 1943 var o = e(".qodef-blog-list-holder.qodef-masonry .qodef-blog-list"); 1944 o.length && 1945 o.each(function () { 1946 var t = e(this); 1947 o.waitForImages(function () { 1948 t.isotope({ 1949 layoutMode: "packery", 1950 itemSelector: ".qodef-blog-list-masonry-item", 1951 packery: { 1952 columnWidth: ".qodef-blog-list-masonry-grid-sizer", 1953 gutter: ".qodef-blog-list-masonry-grid-gutter", 1954 }, 1955 }), 1956 t.addClass("qodef-appeared"); 1957 }); 1958 }); 1959 } 1960 function C() { 1961 var o = e(".qodef-blog-slider-holder .qodef-blog-slider"); 1962 o.owlCarousel({ 1963 responsive: { 1964 0: { loop: !0, items: 1, center: !1, margin: 0, dots: !0, nav: !1 }, 1965 1025: { 1966 loop: !0, 1967 items: 2, 1968 startPosition: 1, 1969 center: !0, 1970 margin: 15, 1971 dots: !0, 1972 nav: !0, 1973 navText: [ 1974 '<span class="qodef-prev-icon"><span class="arrow arrow_left"></span></span>', 1975 '<span class="qodef-next-icon"><span class="arrow arrow_right"></span></span>', 1976 ], 1977 }, 1978 }, 1979 }); 1980 } 1981 function x() { 1982 var o = e(".qodef-custom-font-holder"); 1983 o.length && 1984 o.each(function () { 1985 var o, 1986 t, 1987 i = e(this), 1988 a = 1, 1989 d = 1; 1990 qodef.windowWidth < 1200 && (a = 0.8), 1991 qodef.windowWidth < 1024 && (a = 0.7), 1992 qodef.windowWidth < 768 && ((a = 0.6), (d = 0.7)), 1993 qodef.windowWidth < 600 && ((a = 0.5), (d = 0.6)), 1994 qodef.windowWidth < 480 && ((a = 0.4), (d = 0.5)), 1995 void 0 !== i.data("font-size") && 1996 i.data("font-size") !== !1 && 1997 ((o = parseInt(i.data("font-size"))), 1998 o > 70 1999 ? (o = Math.round(o * a)) 2000 : o > 35 && (o = Math.round(o * d)), 2001 i.css("font-size", o + "px")), 2002 void 0 !== i.data("line-height") && 2003 i.data("line-height") !== !1 && 2004 ((t = parseInt(i.data("line-height"))), 2005 t > 70 && qodef.windowWidth < 1200 2006 ? (t = "1.2em") 2007 : t > 35 && qodef.windowWidth < 768 2008 ? (t = "1.2em") 2009 : (t += "px"), 2010 i.css("line-height", t)); 2011 }); 2012 } 2013 function k() { 2014 var o = e(".qodef-typed"); 2015 o.length && 2016 o.each(function () { 2017 var o, 2018 t = e(this), 2019 i = t.parent(".qodef-typed-wrap"), 2020 a = i.parent(".qodef-custom-font-holder"), 2021 d = a.find(".qodef-custom-font-original"), 2022 n = t.find(".qodef-typed-1").text(), 2023 s = t.find(".qodef-typed-2").text(), 2024 r = t.find(".qodef-typed-3").text(); 2025 (s.trim() && r.trim()) || (o = [n]), 2026 !r.trim() && s.length && (o = [n, s]), 2027 n.length && s.length && r.length && (o = [n, s, r]), 2028 -1 != d.text().indexOf("&") && 2029 d.html(d.text().replace("&", '<span class="qodef-amp">&</span>')), 2030 setTimeout(function () { 2031 a.appear( 2032 function () { 2033 setTimeout(function () { 2034 t.typed({
2035 strings: o, 2036 typeSpeed: 90, 2037 backDelay: 700, 2038 loop: !0, 2039 contentType: "text", 2040 loopCount: !1, 2041 cursorChar: "_", 2042 }); 2043 }, 500); 2044 }, 2045 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 2046 ); 2047 }, 100); 2048 }); 2049 } 2050 function S() { 2051 e(".qodef-google-map").length && 2052 e(".qodef-google-map").each(function () { 2053 var o, 2054 t = e(this); 2055 void 0 !== t.data("custom-map-style") && 2056 (o = t.data("custom-map-style")); 2057 var i; 2058 void 0 !== t.data("color-overlay") && 2059 t.data("color-overlay") !== !1 && 2060 (i = t.data("color-overlay")); 2061 var a; 2062 void 0 !== t.data("saturation") && 2063 t.data("saturation") !== !1 && 2064 (a = t.data("saturation")); 2065 var d; 2066 void 0 !== t.data("lightness") && 2067 t.data("lightness") !== !1 && 2068 (d = t.data("lightness")); 2069 var n; 2070 void 0 !== t.data("zoom") && 2071 t.data("zoom") !== !1 && 2072 (n = t.data("zoom")); 2073 var s; 2074 void 0 !== t.data("pin") && 2075 t.data("pin") !== !1 && 2076 (s = t.data("pin")); 2077 var r; 2078 void 0 !== t.data("height") && 2079 t.data("height") !== !1 && 2080 (r = t.data("height")); 2081 var l; 2082 void 0 !== t.data("unique-id") && 2083 t.data("unique-id") !== !1 && 2084 (l = t.data("unique-id")); 2085 var f; 2086 void 0 !== t.data("scroll-wheel") && (f = t.data("scroll-wheel")); 2087 var c; 2088 void 0 !== t.data("addresses") && 2089 t.data("addresses") !== !1 && 2090 (c = t.data("addresses")); 2091 var h = "map_" + l, 2092 u = "geocoder_" + l, 2093 p = "qodef-map-" + l; 2094 _(o, i, a, d, f, n, p, r, s, h, u, c); 2095 }); 2096 } 2097 function _(e, o, t, i, a, d, n, s, r, l, f, c) { 2098 var h, 2099 u = [ 2100 { 2101 stylers: [ 2102 { hue: o }, 2103 { saturation: t }, 2104 { lightness: i }, 2105 { gamma: 1 }, 2106 ], 2107 }, 2108 ]; 2109 h = e ? "qodef-style" : google.maps.MapTypeId.ROADMAP; 2110 var p = new google.maps.StyledMapType(u, { name: "Qode Google Map" }); 2111 f = new google.maps.Geocoder(); 2112 var m = new google.maps.LatLng(-34.397, 150.644); 2113 isNaN(s) || (s += "px"); 2114 var q = { 2115 zoom: d, 2116 scrollwheel: a, 2117 center: m, 2118 zoomControl: !0, 2119 zoomControlOptions: { 2120 style: google.maps.ZoomControlStyle.SMALL, 2121 position: google.maps.ControlPosition.RIGHT_CENTER, 2122 }, 2123 scaleControl: !1, 2124 scaleControlOptions: { 2125 position: google.maps.ControlPosition.LEFT_CENTER, 2126 }, 2127 streetViewControl: !1, 2128 streetViewControlOptions: { 2129 position: google.maps.ControlPosition.LEFT_CENTER, 2130 }, 2131 panControl: !1, 2132 panControlOptions: { 2133 position: google.maps.ControlPosition.LEFT_CENTER, 2134 }, 2135 mapTypeControl: !1, 2136 mapTypeControlOptions: { 2137 mapTypeIds: [google.maps.MapTypeId.ROADMAP, "qodef-style"], 2138 style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, 2139 position: google.maps.ControlPosition.LEFT_CENTER, 2140 }, 2141 mapTypeId: h, 2142 }; 2143 (l = new google.maps.Map(document.getElementById(n), q)), 2144 l.mapTypes.set("qodef-style", p); 2145 var v; 2146 for (v = 0; v < c.length; ++v) W(c[v], r, l, f); 2147 var g = document.getElementById(n); 2148 g.style.height = s; 2149 } 2150 function W(e, o, t, i) { 2151 if ("" !== e) { 2152 var a = 2153 '<div id="content"><div id="siteNotice"></div><div id="bodyContent"><p>' + 2154 e + 2155 "</p></div></div>", 2156 d = new google.maps.InfoWindow({ content: a }); 2157 i.geocode({ address: e }, function (i, a) { 2158 if (a === google.maps.GeocoderStatus.OK) { 2159 t.setCenter(i[0].geometry.location); 2160 var n = new google.maps.Marker({ 2161 map: t, 2162 position: i[0].geometry.location, 2163 icon: o, 2164 title: e.store_title, 2165 }); 2166 google.maps.event.addListener(n, "click", function () { 2167 d.open(t, n); 2168 }), 2169 google.maps.event.addDomListener(window, "resize", function () { 2170 t.setCenter(i[0].geometry.location); 2171 }); 2172 } 2173 }); 2174 } 2175 } 2176 function I() { 2177 var o = e(".qodef-accordion-holder"); 2178 o.length && 2179 o.each(function () { 2180 var o = e(this); 2181 if ( 2182 (o.hasClass("qodef-accordion") && 2183 o.accordion({ 2184 animate: "swing", 2185 collapsible: !0, 2186 active: 0, 2187 icons: "", 2188 heightStyle: "content", 2189 }), 2190 o.hasClass("qodef-toggle")) 2191 ) { 2192 var t = e(this), 2193 i = t.find(".qodef-title-holder"), 2194 a = i.next(); 2195 t.addClass( 2196 "accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset" 2197 ), 2198 i.addClass( 2199 "ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom" 2200 ), 2201 a 2202 .addClass( 2203 "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" 2204 ) 2205 .hide(), 2206 i.each(function () { 2207 var o = e(this); 2208 o.hover(function () { 2209 o.toggleClass("ui-state-hover"); 2210 }), 2211 o.on("click", function () { 2212 o.toggleClass( 2213 "ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom" 2214 ), 2215 o 2216 .next() 2217 .toggleClass("ui-accordion-content-active") 2218 .slideToggle(400); 2219 }); 2220 }); 2221 } 2222 }); 2223 } 2224 function T() { 2225 var o = e(".qodef-image-gallery"); 2226 o.length && 2227 o.each(function () { 2228 var o = e(this).children(".qodef-image-gallery-slider"), 2229 t = 0 != o.data("autoplay"), 2230 i = 1e3 * o.data("autoplay"), 2231 a = "yes" == o.data("navigation"), 2232 d = "yes" == o.data("pagination"); 2233 o.owlCarousel({ 2234 loop: !0, 2235 autoplayHoverPause: !0, 2236 autoHeight: !0, 2237 margin: 72, 2238 autoplay: t, 2239 autoplayTimeout: i, 2240 dots: d, 2241 nav: a, 2242 navText: [ 2243 '<span class="qodef-prev-icon"><i class="arrow_left"></i></span>', 2244 '<span class="qodef-next-icon"><i class="arrow_right"></i></span>', 2245 ], 2246 responsive: { 2247 0: { items: 1, autoWidth: !1, center: !1 },
2248 480: { items: 1, autoWidth: !0, center: !0 }, 2249 }, 2250 }); 2251 }); 2252 } 2253 function z() { 2254 var o = e(".qodef-device-slider"); 2255 o.length && 2256 o.each(function () { 2257 var o = e(this); 2258 o.waitForImages(function () { 2259 o.owlCarousel({ 2260 loop: !0, 2261 margin: 67, 2262 dots: !0, 2263 dotsEach: !0, 2264 center: !0, 2265 responsive: { 2266 0: { items: 1, margin: 0, autoWidth: !1 }, 2267 1025: { items: 3, margin: 0, autoWidth: !0 }, 2268 1441: { items: 5, margin: 67, autoWidth: !0 }, 2269 }, 2270 }), 2271 o.css("opacity", 1); 2272 }); 2273 }); 2274 } 2275 function O() { 2276 var o = e(".qodef-item-showcase"); 2277 o.length && 2278 o.each(function () { 2279 function o(o) { 2280 t.find(o).each(function (o) { 2281 var t = e(this); 2282 setTimeout(function () { 2283 t.addClass("qodef-appeared"); 2284 }, 150 * o); 2285 }); 2286 } 2287 var t = e(this), 2288 i = t.find(".qodef-item-left"), 2289 a = t.find(".qodef-item-right"), 2290 d = t.find(".qodef-item-image"); 2291 i.wrapAll( 2292 "<div class='qodef-item-showcase-holder qodef-holder-left' />" 2293 ), 2294 a.wrapAll( 2295 "<div class='qodef-item-showcase-holder qodef-holder-right' />" 2296 ), 2297 t.animate({ opacity: 1 }, 200), 2298 setTimeout(function () { 2299 t.appear( 2300 function () { 2301 d.addClass("qodef-appeared"), 2302 t.on( 2303 "webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend", 2304 function () { 2305 qodef.windowWidth > 1200 2306 ? (o(".qodef-holder-left .qodef-item"), 2307 o(".qodef-holder-right .qodef-item")) 2308 : o(".qodef-item"); 2309 } 2310 ); 2311 }, 2312 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 2313 ); 2314 }, 100); 2315 }); 2316 } 2317 function A() { 2318 var o = e(".qodef-timeline-item"); 2319 if (o.length) { 2320 var t = e(".qodef-timeline-icon"); 2321 o.each(function () { 2322 var o = e(this); 2323 e(".qodef-timeline-circle-element").css( 2324 "background", 2325 t.data("color") 2326 ), 2327 t.addClass("qodef-appeared"), 2328 setTimeout(function () { 2329 o.appear( 2330 function () { 2331 o.addClass("qodef-appeared"); 2332 }, 2333 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 2334 ); 2335 }, 500 * o.index()); 2336 }); 2337 } 2338 } 2339 function M() { 2340 var o = e( 2341 ".qodef-portfolio-list-holder-outer.qodef-ptf-standard, .qodef-portfolio-list-holder-outer.qodef-ptf-gallery, .qodef-portfolio-list-holder-outer.qodef-ptf-gallery-space" 2342 ); 2343 o.length && 2344 o.each(function () { 2345 var o = e(this); 2346 H(o); 2347 }); 2348 } 2349 function P() { 2350 var o = e(".qodef-portfolio-list-holder-outer.qodef-ptf-parallax-rows"); 2351 o.length && 2352 o.each(function () { 2353 var o = e(this), 2354 t = o.find("article"); 2355 t.each(function () { 2356 var o = e(this), 2357 t = o.find(".qodef-portfolio-excerpt"), 2358 i = parseInt(t.outerHeight(!1)), 2359 a = parseInt(t.css("margin-bottom")), 2360 d = i + a, 2361 n = o.find(".qodef-ptf-category-holder"), 2362 s = o.find(".qodef-item-title"); 2363 n.css({ transform: "translateY(" + d + "px)" }), 2364 s.css({ transform: "translateY(" + d + "px)" }), 2365 o.mouseenter(function () { 2366 n.css({ transform: "translateY(0px)" }), 2367 s.css({ transform: "translateY(0px)" }), 2368 t.css({ visibility: "visible", opacity: "1" }); 2369 }), 2370 o.mouseleave(function () { 2371 n.css({ transform: "translateY(" + d + "px)" }), 2372 s.css({ transform: "translateY(" + d + "px)" }), 2373 t.css({ visibility: "hidden", opacity: "0" }); 2374 }); 2375 }); 2376 }); 2377 } 2378 function H(e) { 2379 var o = ""; 2380 e.hasClass("qodef-ptf-has-filter") && 2381 ((o = e
2382 .find(".qodef-portfolio-filter-holder-inner ul li") 2383 .data("class")), 2384 (o = "." + o)); 2385 var t = e.find(".qodef-portfolio-list-holder"); 2386 t.mixItUp({ 2387 callbacks: { 2388 onMixLoad: function () { 2389 t.find("article").css("visibility", "visible"); 2390 }, 2391 onMixStart: function () { 2392 t.find("article").css("visibility", "visible"); 2393 }, 2394 onMixBusy: function () { 2395 t.find("article").css("visibility", "visible"); 2396 }, 2397 }, 2398 selectors: { filter: o }, 2399 animation: { effects: "fade", duration: 600 }, 2400 }); 2401 } 2402 function V() { 2403 var o = e(".qodef-portfolio-list-holder-outer.qodef-ptf-masonry"); 2404 o.length && 2405 o.each(function () { 2406 var o = e(this).children(".qodef-portfolio-list-holder"), 2407 t = o.find(".qodef-portfolio-list-masonry-grid-sizer").width(); 2408 L(t, o), 2409 D(o), 2410 e(window).resize(function () { 2411 L(t, o), D(o); 2412 }); 2413 }); 2414 } 2415 function D(e) { 2416 e.waitForImages(function () { 2417 e.isotope({ 2418 layoutMode: "packery", 2419 itemSelector: ".qodef-portfolio-item", 2420 packery: { columnWidth: ".qodef-portfolio-list-masonry-grid-sizer" }, 2421 }), 2422 e.addClass("qodef-appeared"); 2423 }); 2424 } 2425 function L(e, o) { 2426 var t = o.find(".qodef-default-masonry-item"), 2427 i = o.find(".qodef-large-width-masonry-item"), 2428 a = o.find(".qodef-large-height-masonry-item"), 2429 d = o.find(".qodef-large-width-height-masonry-item"); 2430 t.css("height", e), 2431 a.css("height", Math.round(2 * e)), 2432 qodef.windowWidth > 600 2433 ? (d.css("height", Math.round(2 * e)), i.css("height", e)) 2434 : (d.css("height", e), i.css("height", Math.round(e / 2))); 2435 } 2436 function j() { 2437 var o = e(".qodef-portfolio-list-holder-outer.qodef-ptf-pinterest"); 2438 o.length && 2439 o.each(function () { 2440 var o = e(this).children(".qodef-portfolio-list-holder"); 2441 E(o), 2442 e(window).resize(function () { 2443 E(o); 2444 }); 2445 }); 2446 } 2447 function E(e) { 2448 e.waitForImages(function () { 2449 e.isotope({ 2450 layoutMode: "packery", 2451 itemSelector: ".qodef-portfolio-item", 2452 packery: { columnWidth: ".qodef-portfolio-list-masonry-grid-sizer" }, 2453 }); 2454 }), 2455 e.addClass("qodef-appeared"); 2456 } 2457 function F() { 2458 var o = e(".qodef-portfolio-filter-holder.qodef-masonry-filter"); 2459 o.length && 2460 o.each(function () { 2461 { 2462 var o = e(this), 2463 t = null; 2464 o.find("ul li").data("class"); 2465 } 2466 o.find(".filter:first").addClass("current"), 2467 o.find(".filter").click(function () { 2468 var i = e(this); 2469 clearTimeout(t), 2470 e(".isotope, .isotope .isotope-item").css( 2471 "transition-duration", 2472 "0.8s" 2473 ), 2474 (t = setTimeout(function () { 2475 e(".isotope, .isotope .isotope-item").css( 2476 "transition-duration", 2477 "0s" 2478 ); 2479 }, 700)); 2480 var a = e(this).attr("data-filter"); 2481 return ( 2482 o 2483 .siblings(".qodef-portfolio-list-holder-outer") 2484 .find(".qodef-portfolio-list-holder") 2485 .isotope({ filter: a }), 2486 o.find(".filter").removeClass("current"), 2487 i.addClass("current"), 2488 !1 2489 ); 2490 }); 2491 }); 2492 } 2493 function R() { 2494 var o = e( 2495 ".qodef-portfolio-list-holder-outer.qodef-portfolio-slider-holder" 2496 ); 2497 o.length && 2498 o.each(function () { 2499 var o = e(this), 2500 t = o.children(".qodef-portfolio-list-holder"), 2501 i = o.data("items"), 2502 a = !0; 2503 t.owlCarousel({ 2504 items: i, 2505 responsive: { 2506 0: { items: 1 }, 2507 480: { items: 2 }, 2508 768: { items: 3 }, 2509 1024: { items: i }, 2510 }, 2511 loop: !0, 2512 autoplay: !1, 2513 dots: !1, 2514 nav: a, 2515 navText: [ 2516 '<span class="qodef-prev-icon"><i class="arrow arrow_left"></i></span>', 2517 '<span class="qodef-next-icon"><i class="arrow arrow_right"></i></span>', 2518 ], 2519 }); 2520 }); 2521 } 2522 function G() { 2523 var o = e(".qodef-portfolio-list-holder-outer.qodef-animate-appear"); 2524 o.length && 2525 o.each(function () { 2526 var t = e(this), 2527 i = t.find("article"), 2528 a = t.find(".qodef-ptf-list-paging"), 2529 d = 5, 2530 n = 0; 2531 (o.hasClass("qodef-ptf-masonry") || 2532 o.hasClass("qodef-ptf-pinterest")) && 2533 i.each(function () { 2534 var o = e(this); 2535 setTimeout(function () { 2536 o.appear( 2537 function () { 2538 n++, 2539 n == d && (n = 0), 2540 setTimeout(function () { 2541 o.addClass("qodef-appeared"); 2542 }, 200 * n); 2543 }, 2544 { accX: 0, accY: 0 } 2545 ); 2546 }, 50); 2547 }), 2548 (o.hasClass("qodef-ptf-gallery") || 2549 o.hasClass("qodef-ptf-gallery-space") || 2550 o.hasClass("qodef-ptf-standard")) && 2551 i.each(function (o) { 2552 var t = e(this); 2553 setTimeout(function () {
2554 t.appear( 2555 function () { 2556 setTimeout(function () { 2557 t.addClass("qodef-appeared"); 2558 }, 100 * o); 2559 }, 2560 { accX: 0, accY: 0 } 2561 ); 2562 }, 30); 2563 }), 2564 a.length && a.addClass("qodef-appeared"); 2565 }); 2566 } 2567 function $() { 2568 if ( 2569 (e("html").hasClass("qodef-vertical-split-slider-initialized") && 2570 (e("html").removeClass("qodef-vertical-split-slider-initialized"), 2571 e.fn.multiscroll.destroy()), 2572 e(".qodef-vertical-split-slider").length) 2573 ) { 2574 var o = ""; 2575 o = e("header.qodef-page-header").hasClass("qodef-light-header") 2576 ? "qodef-light-header" 2577 : e("header.qodef-page-header").hasClass("qodef-dark-header") 2578 ? "qodef-dark-header" 2579 : ""; 2580 var t = e(".qodef-vertical-split-slider").data( 2581 "disable-header-skin-change" 2582 ); 2583 e(".qodef-vertical-split-slider-preloader").fadeOut(500), 2584 e(".qodef-vertical-split-slider") 2585 .height(e(window).height()) 2586 .animate({ opacity: 1 }, 300), 2587 e(".qodef-vertical-split-slider").multiscroll({ 2588 scrollingSpeed: 500, 2589 useAnchorsOnLoad: !1, 2590 sectionSelector: ".qodef-vertical-split-slider-item", 2591 leftSelector: ".qodef-vertical-split-slider-left-panel", 2592 rightSelector: ".qodef-vertical-split-slider-right-panel", 2593 navigation: !0, 2594 afterRender: function () { 2595 B( 2596 e( 2597 ".qodef-vertical-split-slider-right-panel .qodef-vertical-split-slider-item:last-child" 2598 ).data("header-style"), 2599 o, 2600 t 2601 ), 2602 e("html").addClass("qodef-vertical-split-slider-initialized"); 2603 var i = e( 2604 "<div class='qodef-vertical-split-slider-responsive' />" 2605 ); 2606 e(".qodef-vertical-split-slider").after(i); 2607 for ( 2608 var a = e( 2609 ".qodef-vertical-split-slider .qodef-vertical-split-slider-left-panel" 2610 ), 2611 s = e( 2612 ".qodef-vertical-split-slider .qodef-vertical-split-slider-right-panel" 2613 ), 2614 r = a.children().length, 2615 l = 0; 2616 r > l; 2617 l++ 2618 ) 2619 i.append(e(a.children().eq(l)).clone(!0)), 2620 i.append(e(s.children().eq(r - 1 - l)).clone(!0)); 2621 e("div.wpcf7 > form").length && 2622 ((_wpcf7.supportHtml5 = e.wpcf7SupportHtml5()), 2623 e("div.wpcf7 > form").wpcf7InitForm()), 2624 ao().init(), 2625 d(), 2626 to().init(), 2627 q(), 2628 n(), 2629 qodef.modules.common.qodefPrettyPhoto(); 2630 }, 2631 onLeave: function (i, a) { 2632 B( 2633 e( 2634 ".qodef-vertical-split-slider-right-panel .qodef-vertical-split-slider-item" 2635 ) 2636 .eq(a) 2637 .data("header-style"), 2638 o, 2639 t 2640 ); 2641 }, 2642 }), 2643 qodef.windowWidth > 1024 2644 ? e.fn.multiscroll.build() 2645 : e.fn.multiscroll.destroy(), 2646 e(window).resize(function () { 2647 qodef.windowWidth > 1024 2648 ? e.fn.multiscroll.build() 2649 : e.fn.multiscroll.destroy(); 2650 }); 2651 } else 2652 e(".full-screen-holder").length || e("html,body").css("height", "auto"); 2653 e( 2654 ".qodef-vertical-split-slider-responsive .qodef-vertical-split-slider-panel" 2655 ).attr("style", ""); 2656 } 2657 function B(o, t, i) { 2658 "" != o 2659 ? ("no" == i && 2660 e("header.qodef-page-header") 2661 .removeClass("qodef-light-header qodef-dark-header") 2662 .addClass(o), 2663 e("#multiscroll-nav") 2664 .removeClass("qodef-light-header qodef-dark-header") 2665 .addClass(o)) 2666 : ("no" == i && 2667 e("header.qodef-page-header") 2668 .removeClass("qodef-light-header qodef-dark-header") 2669 .addClass(t), 2670 e("#multiscroll-nav") 2671 .removeClass("qodef-light-header qodef-dark-header") 2672 .addClass(t)); 2673 } 2674 function Y() { 2675 e(".qodef-vertical-split-slider").length && 2676 e(".qodef-vertical-split-slider").each(function () { 2677 if ( 2678 void 0 !== e(this).data("left-slide-panel-size") && 2679 e(this).data("left-slide-panel-size") !== !1 2680 ) { 2681 var o = e(this).data("left-slide-panel-size"); 2682 e(this) 2683 .find(".qodef-vertical-split-slider-left-panel") 2684 .css("width", o + "%"); 2685 } 2686 if ( 2687 void 0 !== e(this).data("right-slide-panel-size") && 2688 e(this).data("right-slide-panel-size") !== !1 2689 ) { 2690 var t = e(this).data("right-slide-panel-size"); 2691 e(this) 2692 .find(".qodef-vertical-split-slider-right-panel") 2693 .css("width", t + "%"); 2694 } 2695 }); 2696 } 2697 function N() { 2698 var o = e(".qodef-portfolio-list-holder-outer.qodef-ptf-load-more"); 2699 o.length && 2700 o.each(function () { 2701 var o, 2702 t, 2703 i = e(this), 2704 a = i.find(".qodef-portfolio-list-holder"), 2705 d = i.find(".qodef-ptf-list-load-more a"); 2706 void 0 !== i.data("max-num-pages") && 2707 i.data("max-num-pages") !== !1 && 2708 (t = i.data("max-num-pages")), 2709 d.on("click", function (n) { 2710 var s = Z(i); 2711 if ( 2712 ((o = s.nextPage), 2713 n.preventDefault(), 2714 n.stopPropagation(), 2715 t >= o) 2716 ) { 2717 var r = X(s); 2718 e.ajax({ 2719 type: "POST", 2720 data: r, 2721 url: qodeCoreAjaxUrl, 2722 success: function (t) { 2723 o++, i.data("next-page", o); 2724 var d = e.parseJSON(t),
2725 n = U(d.html); 2726 i.waitForImages(function () { 2727 setTimeout(function () { 2728 i.hasClass("qodef-ptf-masonry") || 2729 i.hasClass("qodef-ptf-pinterest") 2730 ? (a 2731 .isotope() 2732 .append(n) 2733 .isotope("appended", n) 2734 .isotope("reloadItems"), 2735 G()) 2736 : i.hasClass("qodef-ptf-parallax-rows") || 2737 i.hasClass("qodef-ptf-parallax-expanded") 2738 ? (a.append(n), 2739 qodef.modules.common.qodefInitParallax(), 2740 P()) 2741 : (a.mixItUp("append", n), G()); 2742 }, 400); 2743 }); 2744 }, 2745 }); 2746 } 2747 o === t && d.hide(); 2748 }); 2749 }); 2750 } 2751 function U(o) { 2752 var t = e.trim(o), 2753 i = e(t), 2754 a = e(); 2755 return ( 2756 i.each(function (e, o) { 2757 1 === o.nodeType && (a = a.add(this)); 2758 }), 2759 a 2760 ); 2761 } 2762 function Z(e) { 2763 var o = {}; 2764 return ( 2765 (o.type = ""), 2766 (o.columns = ""), 2767 (o.gridSize = ""), 2768 (o.orderBy = ""), 2769 (o.order = ""), 2770 (o.number = ""), 2771 (o.imageSize = ""), 2772 (o.filter = ""), 2773 (o.filterOrderBy = ""), 2774 (o.category = ""), 2775 (o.selectedProjectes = ""), 2776 (o.showLoadMore = ""), 2777 (o.titleTag = ""), 2778 (o.nextPage = ""), 2779 (o.maxNumPages = ""), 2780 void 0 !== e.data("type") && 2781 e.data("type") !== !1 && 2782 (o.type = e.data("type")), 2783 void 0 !== e.data("grid-size") && 2784 e.data("grid-size") !== !1 && 2785 (o.gridSize = e.data("grid-size")), 2786 void 0 !== e.data("columns") && 2787 e.data("columns") !== !1 && 2788 (o.columns = e.data("columns")), 2789 void 0 !== e.data("order-by") && 2790 e.data("order-by") !== !1 && 2791 (o.orderBy = e.data("order-by")), 2792 void 0 !== e.data("order") && 2793 e.data("order") !== !1 && 2794 (o.order = e.data("order")), 2795 void 0 !== e.data("number") && 2796 e.data("number") !== !1 && 2797 (o.number = e.data("number")), 2798 void 0 !== e.data("image-size") && 2799 e.data("image-size") !== !1 && 2800 (o.imageSize = e.data("image-size")), 2801 void 0 !== e.data("filter") && 2802 e.data("filter") !== !1 && 2803 (o.filter = e.data("filter")), 2804 void 0 !== e.data("filter-order-by") && 2805 e.data("filter-order-by") !== !1 && 2806 (o.filterOrderBy = e.data("filter-order-by")), 2807 void 0 !== e.data("category") && 2808 e.data("category") !== !1 && 2809 (o.category = e.data("category")), 2810 void 0 !== e.data("selected-projects") && 2811 e.data("selected-projects") !== !1 && 2812 (o.selectedProjectes = e.data("selected-projects")), 2813 void 0 !== e.data("show-load-more") && 2814 e.data("show-load-more") !== !1 && 2815 (o.showLoadMore = e.data("show-load-more")), 2816 void 0 !== e.data("title-tag") && 2817 e.data("title-tag") !== !1 && 2818 (o.titleTag = e.data("title-tag")), 2819 void 0 !== e.data("next-page") && 2820 e.data("next-page") !== !1 && 2821 (o.nextPage = e.data("next-page")), 2822 void 0 !== e.data("max-num-pages") && 2823 e.data("max-num-pages") !== !1 && 2824 (o.maxNumPages = e.data("max-num-pages")), 2825 o 2826 ); 2827 } 2828 function X(e) { 2829 var o = { 2830 action: "qode_core_portfolio_ajax_load_more", 2831 type: e.type, 2832 columns: e.columns, 2833 gridSize: e.gridSize, 2834 orderBy: e.orderBy, 2835 order: e.order, 2836 number: e.number, 2837 imageSize: e.imageSize, 2838 filter: e.filter, 2839 filterOrderBy: e.filterOrderBy, 2840 category: e.category, 2841 selectedProjectes: e.selectedProjectes, 2842 showLoadMore: e.showLoadMore, 2843 titleTag: e.titleTag, 2844 nextPage: e.nextPage, 2845 }; 2846 return o; 2847 } 2848 function Q(o, t) { 2849 if ( 2850 e(".qodef-slider .carousel").not( 2851 ".qodef-disable-slider-header-style-changing" 2852 ).length > 0 2853 ) { 2854 var i = ""; 2855 o.hasClass("light") && (i = "qodef-light-header"), 2856 o.hasClass("dark") && (i = "qodef-dark-header"), 2857 "" !== i 2858 ? t && 2859 qodef.body 2860 .removeClass("qodef-dark-header qodef-light-header") 2861 .addClass(i) 2862 : t && 2863 qodef.body 2864 .removeClass("qodef-dark-header qodef-light-header") 2865 .addClass(qodef.defaultHeaderStyle); 2866 } 2867 } 2868 function K() { 2869 var o = e(".qodef-sticky-header"), 2870 t = e(".qodef-mobile-header"), 2871 i = e(".qodef-fixed-wrapper").height(), 2872 a = e(".qodef-portfolio-fixed-content"); 2873 a.length && 2874 qodef.windowWidth > 1024 && 2875 a.each(function () { 2876 var a = e(this), 2877 d = 2878 ".qodef-portfolio-single-holder.fixed-left .qodef-two-columns-50-50", 2879 n = 0; 2880 n = qodef.body.hasClass("qodef-sticky-header-on-scroll-down-up") 2881 ? qodefGlobalVars.vars.qodefStickyHeaderHeight 2882 : qodef.body.hasClass("qodef-fixed-on-scroll") 2883 ? i 2884 : 0; 2885 var s = n + 20; 2886 a 2887 .stick_in_parent({ 2888 parent: d, 2889 sticky_class: "qodef-portfolio-stick", 2890 inner_scrolling: !1, 2891 offset_top: s, 2892 }) 2893 .on("sticky_kit:bottom", function () { 2894 a.addClass("qodef-fixed-content-on-bottom"); 2895 }) 2896 .on("sticky_kit:unbottom", function () { 2897 a.removeClass("qodef-fixed-content-on-bottom"); 2898 }), 2899 e(window).scroll(function () { 2900 qodef.windowWidth < 1024 2901 ? t.hasClass("mobile-header-appear") && 2902 a.hasClass("qodef-portfolio-stick") && 2903 !a.hasClass("qodef-sticky-sidebar-on-bottom") 2904 ? (a.css( 2905 "-webkit-transform", 2906 "translateY(" + 2907 qodefGlobalVars.vars.qodefMobileHeaderHeight + 2908 "px)" 2909 ), 2910 a.css( 2911 "transform", 2912 "translateY(" + 2913 qodefGlobalVars.vars.qodefMobileHeaderHeight + 2914 "px)" 2915 )) 2916 : (a.css("-webkit-transform", "translateY(0px)"), 2917 a.css("transform", "translateY(0px)")) 2918 : o.hasClass("header-appear") && 2919 qodef.body.hasClass("qodef-sticky-header-on-scroll-up") && 2920 a.hasClass("qodef-portfolio-stick") && 2921 !a.hasClass("qodef-fixed-content-on-bottom") 2922 ? (a.css( 2923 "-webkit-transform", 2924 "translateY(" + 2925 qodefGlobalVars.vars.qodefStickyHeaderHeight + 2926 "px)" 2927 ), 2928 a.css( 2929 "transform", 2930 "translateY(" + 2931 qodefGlobalVars.vars.qodefStickyHeaderHeight + 2932 "px)" 2933 )) 2934 : (a.css("-webkit-transform", "translateY(0px)"), 2935 a.css("transform", "translateY(0px)")); 2936 }); 2937 }); 2938 } 2939 function J() { 2940 var o = e(".qodef-parallax-sections"); 2941 if ( 2942 (o.length && 2943 o.each(function () { 2944 var o = e(this), 2945 t = o.find(">div"), 2946 i = o.find(".qodef-parallax-section-basic"),
2947 a = o.find(".qodef-main-image-holder").height(), 2948 d = o.find(".qodef-side-image-holder").height(); 2949 i.each(function () { 2950 var o = e(this); 2951 o.hasClass("qodef-section-height-set") || 2952 o.css("height", Math.round(0.9 * (a + d))); 2953 }), 2954 t.each(function () { 2955 var o = e(this); 2956 o.waitForImages(function () { 2957 o.css({ visibility: "visible", opacity: "1" }); 2958 }); 2959 }); 2960 }), 2961 qodef.windowWidth >= 1024 && !e("html").hasClass("touch")) 2962 ) { 2963 var t = skrollr.init({ 2964 forceHeight: !1, 2965 smoothScrolling: !1, 2966 easing: { 2967 customEase: function (e) { 2968 return ( 2969 5.295 * e * e * e * e * e - 2970 18.5325 * e * e * e * e + 2971 26.08 * e * e * e - 2972 18.59 * e * e + 2973 6.7475 * e 2974 ); 2975 }, 2976 }, 2977 }); 2978 t.refresh(), 2979 e(window).focus(function () { 2980 t.refresh(); 2981 }); 2982 } 2983 } 2984 function eo() { 2985 var o = e(".qodef-elements-holder"); 2986 o.length && 2987 o.each(function () { 2988 var o = e(this), 2989 t = o.children(".qodef-elements-holder-item"), 2990 i = "", 2991 a = ""; 2992 t.each(function () { 2993 var o = e(this), 2994 t = "", 2995 i = "", 2996 d = "", 2997 n = "", 2998 s = "", 2999 r = "", 3000 l = ""; 3001 void 0 !== o.data("item-class") && 3002 o.data("item-class") !== !1 && 3003 (t = o.data("item-class")), 3004 void 0 !== o.data("1280-1600") && 3005 o.data("1280-1600") !== !1 && 3006 (i = o.data("1280-1600")), 3007 void 0 !== o.data("1024-1280") && 3008 o.data("1024-1280") !== !1 && 3009 (d = o.data("1024-1280")), 3010 void 0 !== o.data("768-1024") && 3011 o.data("768-1024") !== !1 && 3012 (n = o.data("768-1024")), 3013 void 0 !== o.data("600-768") && 3014 o.data("600-768") !== !1 && 3015 (s = o.data("600-768")), 3016 void 0 !== o.data("480-600") && 3017 o.data("480-600") !== !1 && 3018 (r = o.data("480-600")), 3019 void 0 !== o.data("480") && 3020 o.data("480") !== !1 && 3021 (l = o.data("480")), 3022 (i.length || 3023 d.length || 3024 n.length || 3025 s.length || 3026 r.length || 3027 l.length) && 3028 (i.length && 3029 (a += 3030 "@media only screen and (min-width: 1280px) and (max-width: 1600px) {.qodef-elements-holder-item-content." + 3031 t + 3032 " { padding: " + 3033 i + 3034 " !important; } }"), 3035 d.length && 3036 (a += 3037 "@media only screen and (min-width: 1024px) and (max-width: 1280px) {.qodef-elements-holder-item-content." + 3038 t + 3039 " { padding: " + 3040 d + 3041 " !important; } }"), 3042 n.length && 3043 (a += 3044 "@media only screen and (min-width: 768px) and (max-width: 1024px) {.qodef-elements-holder-item-content." + 3045 t + 3046 " { padding: " + 3047 n + 3048 " !important; } }"), 3049 s.length && 3050 (a += 3051 "@media only screen and (min-width: 600px) and (max-width: 768px) {.qodef-elements-holder-item-content." + 3052 t + 3053 " { padding: " + 3054 s + 3055 " !important; } }"), 3056 r.length && 3057 (a += 3058 "@media only screen and (min-width: 480px) and (max-width: 600px) {.qodef-elements-holder-item-content." + 3059 t + 3060 " { padding: " + 3061 r + 3062 " !important; } }"), 3063 l.length && 3064 (a += 3065 "@media only screen and (max-width: 480px) {.qodef-elements-holder-item-content." + 3066 t + 3067 " { padding: " + 3068 l + 3069 " !important; } }")); 3070 }), 3071 a.length && 3072 (i = 3073 '<style type="text/css" data-type="kudos_qodef_shortcodes_custom_css">' + 3074 a + 3075 "</style>"), 3076 i.length && e("head").append(i); 3077 }); 3078 } 3079 var oo = {}; 3080 (qodef.modules.shortcodes = oo), 3081 (oo.qodefInitCounter = d), 3082 (oo.qodefInitProgressBars = n), 3083 (oo.qodefInitCountdown = u), 3084 (oo.qodefInitMessages = c), 3085 (oo.qodefInitMessageHeight = h), 3086 (oo.qodefInitTestimonials = p), 3087 (oo.qodefInitCarousels = m), 3088 (oo.qodefInitPieChart = q), 3089 (oo.qodefInitPieChartDoughnut = g), 3090 (oo.qodefInitTabs = w), 3091 (oo.qodefInitTabIcons = y), 3092 (oo.qodefInitBlogListMasonry = b), 3093 (oo.qodefInitBlogSlider = C), 3094 (oo.qodefCustomFontResize = x), 3095 (oo.qodefInitImageGallery = T), 3096 (oo.qodefInitDeviceSlider = z), 3097 (oo.qodefItemShowcase = O), 3098 (oo.qodefTimeline = A), 3099 (oo.qodefInitAccordions = I), 3100 (oo.qodefShowGoogleMap = S), 3101 (oo.qodefInitPortfolioListMasonry = V), 3102 (oo.qodefInitPortfolioListPinterest = j), 3103 (oo.qodefInitPortfolio = M), 3104 (oo.qodefInitPortfolioParallaxRows = P), 3105 (oo.qodefInitPortfolioMasonryFilter = F), 3106 (oo.qodefInitPortfolioSlider = R), 3107 (oo.qodefInitPortfolioLoadMore = N), 3108 (oo.qodefInitVerticalSplitSlider = $), 3109 (oo.qodefInitVerticalSplitSectionWidth = Y), 3110 (oo.qodefCheckSliderForHeaderStyle = Q), 3111 (oo.qodefCustomFontTypeOut = k), 3112 (oo.qodefInitFixedPortfolio = K), 3113 (oo.qodefOnDocumentReady = o), 3114 (oo.qodefOnWindowLoad = t), 3115 (oo.qodefOnWindowResize = i), 3116 (oo.qodefOnWindowScroll = a), 3117 (oo.qodefParallaxSections = J), 3118 (oo.qodefInitPortfolioAppear = G), 3119 (oo.qodefInitElementsHolderResponsiveStyle = eo), 3120 e(document).ready(o), 3121 e(window).load(t), 3122 e(window).resize(i), 3123 e(window).scroll(a); 3124 var to = (qodef.modules.shortcodes.qodefIcon = function () { 3125 var o = e(".qodef-icon-shortcode"), 3126 t = function (e) { 3127 e.hasClass("qodef-icon-animation") && 3128 e.appear( 3129 function () { 3130 e.parent(".qodef-icon-animation-holder").addClass( 3131 "qodef-icon-animation-show" 3132 ); 3133 }, 3134 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 3135 ); 3136 }, 3137 i = function (e) { 3138 if (void 0 !== e.data("hover-color")) { 3139 var o = function (e) { 3140 e.data.icon.css("color", e.data.color); 3141 }, 3142 t = e.find(".qodef-icon-element"), 3143 i = e.data("hover-color"), 3144 a = t.css("color"); 3145 "" !== i && 3146 (e.on("mouseenter", { icon: t, color: i }, o), 3147 e.on("mouseleave", { icon: t, color: a }, o)); 3148 } 3149 }, 3150 a = function (e) { 3151 if (void 0 !== e.data("hover-background-color")) { 3152 var o = function (e) { 3153 e.data.icon.css("background-color", e.data.color); 3154 }, 3155 t = e.data("hover-background-color"), 3156 i = e.css("background-color"); 3157 "" !== t && 3158 (e.on("mouseenter", { icon: e, color: t }, o), 3159 e.on("mouseleave", { icon: e, color: i }, o)); 3160 } 3161 }, 3162 d = function (e) { 3163 if (void 0 !== e.data("hover-border-color")) { 3164 var o = function (e) { 3165 e.data.icon.css("border-color", e.data.color); 3166 }, 3167 t = e.data("hover-border-color"), 3168 i = e.css("border-top-color"); 3169 "" !== t && 3170 (e.on("mouseenter", { icon: e, color: t }, o), 3171 e.on("mouseleave", { icon: e, color: i }, o)); 3172 } 3173 }; 3174 return { 3175 init: function () { 3176 o.length && 3177 o.each(function () { 3178 t(e(this)), i(e(this)), a(e(this)), d(e(this)); 3179 }); 3180 }, 3181 }; 3182 }),
3183 io = (qodef.modules.shortcodes.qodefSocialIconWidget = function () { 3184 var o = e(".qodef-social-icon-widget-holder"), 3185 t = function (e) { 3186 if (void 0 !== e.data("hover-color")) { 3187 var o = function (e) { 3188 e.data.icon.css("color", e.data.color); 3189 }, 3190 t = e, 3191 i = e.data("hover-color"), 3192 a = t.css("color"); 3193 "" !== i && 3194 (e.on("mouseenter", { icon: t, color: i }, o), 3195 e.on("mouseleave", { icon: t, color: a }, o)); 3196 } 3197 }; 3198 return { 3199 init: function () { 3200 o.length && 3201 o.each(function () { 3202 t(e(this)); 3203 }); 3204 }, 3205 }; 3206 }), 3207 ao = (qodef.modules.shortcodes.qodefButton = function () { 3208 var o = e(".qodef-btn"), 3209 t = function (e) { 3210 if (void 0 !== e.data("hover-color")) { 3211 var o = function (e) { 3212 e.data.button.css("color", e.data.color); 3213 }, 3214 t = e.css("color"), 3215 i = e.data("hover-color"); 3216 e.on("mouseenter", { button: e, color: i }, o), 3217 e.on("mouseleave", { button: e, color: t }, o); 3218 } 3219 }, 3220 i = function (e) { 3221 if (void 0 !== e.data("hover-bg-color")) { 3222 var o = function (e) { 3223 e.data.button.css("background-color", e.data.color); 3224 }, 3225 t = e.css("background-color"), 3226 i = e.data("hover-bg-color"); 3227 e.on("mouseenter", { button: e, color: i }, o), 3228 e.on("mouseleave", { button: e, color: t }, o); 3229 } 3230 }, 3231 a = function (e) { 3232 if (void 0 !== e.data("hover-border-color")) { 3233 var o = function (e) { 3234 e.data.button.css("border-color", e.data.color); 3235 }, 3236 t = e.css("borderTopColor"), 3237 i = e.data("hover-border-color"); 3238 e.on("mouseenter", { button: e, color: i }, o), 3239 e.on("mouseleave", { button: e, color: t }, o); 3240 } 3241 }; 3242 return { 3243 init: function () { 3244 o.length && 3245 o.each(function () { 3246 t(e(this)), i(e(this)), a(e(this)); 3247 }); 3248 }, 3249 }; 3250 }), 3251 no = (qodef.modules.shortcodes.qodefSlider = function () { 3252 var o = e(".qodef-slider .carousel"), 3253 t = /url\(["']?([^'")]+)['"]?\)/, 3254 i = { 3255 zoom_center: "1.2, 0, 0, 1.2, 0, 0", 3256 zoom_top_left: "1.2, 0, 0, 1.2, -150, -150", 3257 zoom_top_right: "1.2, 0, 0, 1.2, 150, -150", 3258 zoom_bottom_left: "1.2, 0, 0, 1.2, -150, 150", 3259 zoom_bottom_right: "1.2, 0, 0, 1.2, 150, 150", 3260 }, 3261 a = /\([0-9epx\.\, \t\-]+/gi, 3262 d = function (e) { 3263 return e 3264 .match(a)[0] 3265 .substr(1) 3266 .split(",") 3267 .map(function (e) { 3268 return parseFloat(e); 3269 }); 3270 }, 3271 n = ["transform", "-webkit-transform"], 3272 s = function (e) { 3273 var o = null; 3274 return ( 3275 n.some(function (t) { 3276 return (o = e.css(t)), null !== o && "" !== o; 3277 }), 3278 (o = o && "none" !== o ? o : "matrix(1,0,0,1,0,0)"), 3279 d(o) 3280 ); 3281 }, 3282 r = function (e, o) { 3283 for ( 3284 var t = "matrix(" + o.join(",") + ")", i = n.length - 1; 3285 i >= 0; 3286 --i 3287 ) 3288 e.css(n[i], t + " rotate(0.01deg)"); 3289 }, 3290 l = function (e, o, t) { 3291 return e + (o - e) * (t / 100); 3292 }; 3293 e.fn.transformAnimate = function (o) { 3294 var t = { transform: "matrix(1,0,0,1,0,0)" }; 3295 e.extend(t, o), this.css("percentAnim", 0); 3296 var i = s(this), 3297 a = d(t.transform); 3298 return ( 3299 (t.step = function (t, d) { 3300 var n = e(this), 3301 s = i.map(function (e, o) { 3302 return l(e, a[o], t); 3303 }); 3304 r(n, s), o.step && o.step.apply(this, [s, d]); 3305 }), 3306 this.stop().animate({ percentAnim: 100 }, t) 3307 ); 3308 }; 3309 var f = function (e, o, t, i) { 3310 var a = o; 3311 i || 3312 (qodef.windowWidth > t[0] 3313 ? (a = o) 3314 : qodef.windowWidth > t[1] 3315 ? (a = 0.75 * o) 3316 : qodef.windowWidth > t[2] 3317 ? (a = 0.6 * o) 3318 : qodef.windowWidth > t[3] 3319 ? (a = 0.55 * o) 3320 : qodef.windowWidth > t[3] || (a = 0.45 * o)), 3321 e.css({ height: a + "px" }), 3322 e 3323 .find(".qodef-vertical-split-slider-preloader") 3324 .css({ height: a + "px" }), 3325 e 3326 .find(".qodef-vertical-split-slider-preloader .ajax-loader") 3327 .css({ display: "block" }),
3328 e.find(".item").css({ height: a + "px" }), 3329 0 === qodefPerPageVars.vars.qodefStickyScrollAmount && 3330 (qodef.modules.header.stickyAppearAmount = a); 3331 }, 3332 c = function (o) { 3333 var t = 3334 qodef.windowWidth < 1025 3335 ? qodefGlobalVars.vars.qodefMobileHeaderHeight + 3336 e(".qodef-top-bar").height() 3337 : 0; 3338 o.css({ height: qodef.windowHeight - t + "px" }), 3339 o 3340 .find(".qodef-vertical-split-slider-preloader") 3341 .css({ height: qodef.windowHeight - t + "px" }), 3342 o 3343 .find(".qodef-vertical-split-slider-preloader .ajax-loader") 3344 .css({ display: "block" }), 3345 o.find(".item").css({ height: qodef.windowHeight - t + "px" }), 3346 0 === qodefPerPageVars.vars.qodefStickyScrollAmount && 3347 (qodef.modules.header.stickyAppearAmount = qodef.windowHeight); 3348 }, 3349 h = function (o) { 3350 o 3351 .find( 3352 ".qodef-slide-element-text-small, .qodef-slide-element-text-normal, .qodef-slide-element-text-large, .qodef-slide-element-text-extra-large" 3353 ) 3354 .each(function () { 3355 var o = e(this); 3356 void 0 === o.data("default-font-size") && 3357 o.data("default-font-size", parseInt(o.css("font-size"), 10)), 3358 void 0 === o.data("default-line-height") && 3359 o.data( 3360 "default-line-height", 3361 parseInt(o.css("line-height"), 10) 3362 ), 3363 void 0 === o.data("default-letter-spacing") && 3364 o.data( 3365 "default-letter-spacing", 3366 parseInt(o.css("letter-spacing"), 10) 3367 ); 3368 }), 3369 o.find(".qodef-slide-element-responsive-text").each(function () { 3370 void 0 === e(this).data("default-font-size") && 3371 e(this).data( 3372 "default-font-size", 3373 parseInt(e(this).css("font-size"), 10) 3374 ), 3375 void 0 === e(this).data("default-line-height") && 3376 e(this).data( 3377 "default-line-height", 3378 parseInt(e(this).css("line-height"), 10) 3379 ), 3380 void 0 === e(this).data("default-letter-spacing") && 3381 e(this).data( 3382 "default-letter-spacing", 3383 parseInt(e(this).css("letter-spacing"), 10) 3384 ); 3385 }), 3386 o 3387 .find(".qodef-slide-element-responsive-button") 3388 .each(function () { 3389 void 0 === e(this).data("default-font-size") && 3390 e(this).data( 3391 "default-font-size", 3392 parseInt(e(this).find("a").css("font-size"), 10) 3393 ), 3394 void 0 === e(this).data("default-line-height") && 3395 e(this).data( 3396 "default-line-height", 3397 parseInt(e(this).find("a").css("line-height"), 10) 3398 ), 3399 void 0 === e(this).data("default-letter-spacing") && 3400 e(this).data( 3401 "default-letter-spacing", 3402 parseInt(e(this).find("a").css("letter-spacing"), 10) 3403 ), 3404 void 0 === e(this).data("default-ver-padding") && 3405 e(this).data( 3406 "default-ver-padding", 3407 parseInt(e(this).find("a").css("padding-top"), 10) 3408 ), 3409 void 0 === e(this).data("default-hor-padding") && 3410 e(this).data( 3411 "default-hor-padding", 3412 parseInt(e(this).find("a").css("padding-left"), 10) 3413 ); 3414 }), 3415 o.find(".qodef-slide-element").each(function () { 3416 var o = e(this); 3417 void 0 === o.data("default-margin-top") && 3418 o.data( 3419 "default-margin-top", 3420 parseInt(o.css("margin-top"), 10) 3421 ), 3422 void 0 === o.data("default-margin-bottom") && 3423 o.data( 3424 "default-margin-bottom", 3425 parseInt(o.css("margin-bottom"), 10) 3426 ), 3427 void 0 === o.data("default-margin-left") && 3428 o.data( 3429 "default-margin-left", 3430 parseInt(o.css("margin-left"), 10) 3431 ), 3432 void 0 === o.data("default-margin-right") && 3433 o.data( 3434 "default-margin-right", 3435 parseInt(o.css("margin-right"), 10) 3436 ); 3437 }), 3438 u(o); 3439 }, 3440 u = function (o) { 3441 var t = { mobile: 600, tabletp: 800, tabletl: 1024, laptop: 1440 }; 3442 o.find(".qodef-slider-elements-container").each(function () { 3443 var o = e(this), 3444 i = o 3445 .filter(".qodef-custom-elements") 3446 .add( 3447 o 3448 .not(".qodef-custom-elements") 3449 .find(".qodef-slider-elements-holder-frame") 3450 ) 3451 .not(".qodef-grid"); 3452 i.length && 3453 (t.mobile >= qodef.windowWidth && 3454 o.attr("data-width-mobile").length 3455 ? i.css("width", o.data("width-mobile") + "%") 3456 : t.tabletp >= qodef.windowWidth && 3457 o.attr("data-width-tablet-p").length 3458 ? i.css("width", o.data("width-tablet-p") + "%") 3459 : t.tabletl >= qodef.windowWidth && 3460 o.attr("data-width-tablet-l").length 3461 ? i.css("width", o.data("width-tablet-l") + "%") 3462 : t.laptop >= qodef.windowWidth && 3463 o.attr("data-width-laptop").length 3464 ? i.css("width", o.data("width-laptop") + "%") 3465 : o.attr("data-width-desktop").length && 3466 i.css("width", o.data("width-desktop") + "%")); 3467 }), 3468 o.find(".item").each(function () { 3469 var o = e(this), 3470 i = o 3471 .find(".qodef-slider-elements-holder-frame") 3472 .data("default-width"), 3473 a = o.find(".qodef-slide-element"); 3474 a.each(function () { 3475 var o, 3476 a = e(this), 3477 d = a.data("default-margin-top"), 3478 n = a.data("default-margin-bottom"), 3479 s = a.data("default-margin-left"), 3480 r = a.data("default-margin-right"), 3481 l = 3482 void 0 !== a.data("resp-scale") 3483 ? a.data("resp-scale") 3484 : void 0; 3485 (o = 3486 t.mobile < qodef.windowWidth 3487 ? t.tabletp < qodef.windowWidth 3488 ? t.tabletl < qodef.windowWidth 3489 ? t.laptop < qodef.windowWidth 3490 ? void 0 === l 3491 ? qodef.windowWidth / i 3492 : parseFloat(l.desktop) 3493 : void 0 === l 3494 ? qodef.windowWidth / i 3495 : parseFloat(l.laptop) 3496 : void 0 === l 3497 ? qodef.windowWidth / i 3498 : parseFloat(l.tabletl) 3499 : void 0 === l 3500 ? qodef.windowWidth / i 3501 : parseFloat(l.tabletp) 3502 : void 0 === l 3503 ? qodef.windowWidth / i 3504 : parseFloat(l.mobile)), 3505 a.css({ 3506 "margin-top": Math.round(o * d) + "px", 3507 "margin-bottom": Math.round(o * n) + "px", 3508 "margin-left": Math.round(o * s) + "px", 3509 "margin-right": Math.round(o * r) + "px", 3510 }); 3511 }), 3512 a 3513 .filter( 3514 ".qodef-slide-element-responsive-text, .qodef-slide-element-responsive-button, .qodef-slide-element-responsive-image" 3515 ) 3516 .add( 3517 a.find( 3518 "a.qodef-slide-element-responsive-text, span.qodef-slide-element-responsive-text" 3519 ) 3520 ) 3521 .each(function () { 3522 var o, 3523 a, 3524 d, 3525 n = e(this), 3526 s = 3527 void 0 !== n.data("resp-scale") 3528 ? n.data("resp-scale") 3529 : void 0, 3530 r = 3531 void 0 !== n.data("resp-left") 3532 ? n.data("resp-left") 3533 : void 0, 3534 l = 3535 void 0 !== n.data("resp-top") 3536 ? n.data("resp-top") 3537 : void 0; 3538 if ( 3539 (t.mobile < qodef.windowWidth 3540 ? t.tabletp < qodef.windowWidth 3541 ? t.tabletl < qodef.windowWidth 3542 ? t.laptop < qodef.windowWidth 3543 ? ((o = 3544 void 0 === s 3545 ? qodef.windowWidth / i 3546 : parseFloat(s.desktop)), 3547 (a = 3548 void 0 === r 3549 ? void 0 !== n.data("left") 3550 ? n.data("left") + "%" 3551 : "" 3552 : "" != r.desktop 3553 ? r.desktop + "%" 3554 : n.data("left") + "%"), 3555 (d = 3556 void 0 === l 3557 ? void 0 !== n.data("top") 3558 ? n.data("top") + "%" 3559 : "" 3560 : "" != l.desktop 3561 ? l.desktop + "%" 3562 : n.data("top") + "%")) 3563 : ((o = 3564 void 0 === s 3565 ? qodef.windowWidth / i 3566 : parseFloat(s.laptop)), 3567 (a = 3568 void 0 === r 3569 ? void 0 !== n.data("left") 3570 ? n.data("left") + "%" 3571 : "" 3572 : "" != r.laptop 3573 ? r.laptop + "%" 3574 : n.data("left") + "%"), 3575 (d = 3576 void 0 === l 3577 ? void 0 !== n.data("top") 3578 ? n.data("top") + "%" 3579 : "" 3580 : "" != l.laptop 3581 ? l.laptop + "%" 3582 : n.data("top") + "%")) 3583 : ((o = 3584 void 0 === s 3585 ? qodef.windowWidth / i 3586 : parseFloat(s.tabletl)), 3587 (a = 3588 void 0 === r 3589 ? void 0 !== n.data("left") 3590 ? n.data("left") + "%" 3591 : "" 3592 : "" != r.tabletl
3593 ? r.tabletl + "%" 3594 : n.data("left") + "%"), 3595 (d = 3596 void 0 === l 3597 ? void 0 !== n.data("top") 3598 ? n.data("top") + "%" 3599 : "" 3600 : "" != l.tabletl 3601 ? l.tabletl + "%" 3602 : n.data("top") + "%")) 3603 : ((o = 3604 void 0 === s 3605 ? qodef.windowWidth / i 3606 : parseFloat(s.tabletp)), 3607 (a = 3608 void 0 === r 3609 ? void 0 !== n.data("left") 3610 ? n.data("left") + "%" 3611 : "" 3612 : "" != r.tabletp 3613 ? r.tabletp + "%" 3614 : n.data("left") + "%"), 3615 (d = 3616 void 0 === l 3617 ? void 0 !== n.data("top") 3618 ? n.data("top") + "%" 3619 : "" 3620 : "" != l.tabletp 3621 ? l.tabletp + "%" 3622 : n.data("top") + "%")) 3623 : ((o = 3624 void 0 === s 3625 ? qodef.windowWidth / i 3626 : parseFloat(s.mobile)), 3627 (a = 3628 void 0 === r 3629 ? void 0 !== n.data("left") 3630 ? n.data("left") + "%" 3631 : "" 3632 : "" != r.mobile 3633 ? r.mobile + "%" 3634 : n.data("left") + "%"), 3635 (d = 3636 void 0 === l 3637 ? void 0 !== n.data("top") 3638 ? n.data("top") + "%" 3639 : "" 3640 : "" != l.mobile 3641 ? l.mobile + "%" 3642 : n.data("top") + "%")), 3643 o) 3644 ) { 3645 n.show(); 3646 var f, c, h, u, p; 3647 if (n.is(".qodef-slide-element-responsive-button")) 3648 (f = n.data("default-font-size")), 3649 (c = n.data("default-line-height")), 3650 (h = n.data("default-letter-spacing")), 3651 (u = n.data("default-ver-padding")), 3652 (p = n.data("default-hor-padding")), 3653 n 3654 .css({ left: a, top: d }) 3655 .find(".qodef-btn") 3656 .css({ 3657 "font-size": Math.round(o * f) + "px", 3658 "line-height": Math.round(o * c) + "px", 3659 "letter-spacing": Math.round(o * h) + "px", 3660 "padding-left": Math.round(o * p) + "px", 3661 "padding-right": Math.round(o * p) + "px", 3662 "padding-top": Math.round(o * u) + "px", 3663 "padding-bottom": Math.round(o * u) + "px", 3664 }); 3665 else if (n.is(".qodef-slide-element-responsive-image")) 3666 if (o != qodef.windowWidth / i) { 3667 var m = n.data("upload-width"), 3668 q = n.data("upload-height"); 3669 n.filter(".custom-image") 3670 .css({ left: a, top: d }) 3671 .add(n.not(".custom-image").find("img")) 3672 .css({ 3673 width: Math.round(o * m) + "px", 3674 height: Math.round(o * q) + "px", 3675 }); 3676 } else { 3677 var v = n.data("width"); 3678 n.filter(".custom-image") 3679 .css({ left: a, top: d }) 3680 .add(n.not(".custom-image").find("img")) 3681 .css({ width: v + "%", height: "" }); 3682 } 3683 else 3684 (f = n.data("default-font-size")), 3685 (c = n.data("default-line-height")), 3686 (h = n.data("default-letter-spacing")), 3687 n.css({ 3688 left: a, 3689 top: d, 3690 "font-size": Math.round(o * f) + "px", 3691 "line-height": Math.round(o * c) + "px", 3692 "letter-spacing": Math.round(o * h) + "px", 3693 }); 3694 } else n.hide(); 3695 }); 3696 }); 3697 var i = o.find(".carousel-indicators"); 3698 o.find(".qodef-slide-element-section-link").css( 3699 "bottom", 3700 i.length 3701 ? parseInt(i.css("bottom"), 10) + i.outerHeight() + 10 + "px" 3702 : "20px" 3703 ); 3704 }, 3705 p = function (o) { 3706 o.find(".item").each(function () { 3707 var o = e(this).find(".qodef-slide-element-button-inline"); 3708 o.css("display", "inline-block").wrapAll( 3709 '<div class="qodef-slide-elements-buttons-wrapper" style="text-align: ' + 3710 o.eq(0).css("text-align") + 3711 ';"/>' 3712 ); 3713 }); 3714 }, 3715 m = function (o) { 3716 var t = [1600, 1200, 900, 650, 500, 320]; 3717 if ((h(o), o.hasClass("qodef-full-screen"))) 3718 c(o), 3719 e(window).resize(function () { 3720 c(o), u(o); 3721 }); 3722 else if (o.hasClass("qodef-responsive-height")) { 3723 var i = o.data("height"); 3724 f(o, i, t, !1), 3725 e(window).resize(function () { 3726 f(o, i, t, !1), u(o); 3727 }); 3728 } else { 3729 var i = o.data("height"); 3730 o 3731 .find(".qodef-slider-preloader") 3732 .css({ height: o.height() + "px" }), 3733 o 3734 .find(".qodef-slider-preloader .qodef-ajax-loader") 3735 .css({ display: "block" }), 3736 qodef.windowWidth < 1025 ? f(o, i, t, !1) : f(o, i, t, !0), 3737 e(window).resize(function () { 3738 qodef.windowWidth < 1025 ? f(o, i, t, !1) : f(o, i, t, !0), 3739 u(o); 3740 }); 3741 } 3742 }, 3743 q = function (e, o, t) { 3744 1 == o 3745 ? (e.find(".left.carousel-control .prev").html(t), 3746 e.find(".right.carousel-control .next").html(o + 1)) 3747 : o == t 3748 ? (e.find(".left.carousel-control .prev").html(o - 1), 3749 e.find(".right.carousel-control .next").html(1)) 3750 : (e.find(".left.carousel-control .prev").html(o - 1), 3751 e.find(".right.carousel-control .next").html(o + 1)); 3752 }, 3753 v = function (o) { 3754 var t = 1500, 3755 i = 1920, 3756 a = 1080, 3757 d = 1920 / 1080; 3758 o.find(".item .qodef-video .qodef-video-wrap").each(function () { 3759 var o = qodef.windowWidth, 3760 n = e(this).closest(".carousel").height(); 3761 e(this).width(o), (t = d * (n + 20)), e(this).height(n); 3762 var s = o / i, 3763 r = (n - qodefGlobalVars.vars.qodefMenuAreaHeight) / a, 3764 l = r; 3765 s > r && (l = s), 3766 t > l * i && (l = t / i), 3767 e(this) 3768 .find("video, .mejs-overlay, .mejs-poster") 3769 .width(Math.ceil(l * i + 2)), 3770 e(this) 3771 .find("video, .mejs-overlay, .mejs-poster") 3772 .height(Math.ceil(l * a + 2)), 3773 e(this).scrollLeft((e(this).find("video").width() - o) / 2), 3774 e(this) 3775 .find(".mejs-overlay, .mejs-poster") 3776 .scrollTop((e(this).find("video").height() - n) / 2), 3777 e(this).scrollTop((e(this).find("video").height() - n) / 2); 3778 }); 3779 }, 3780 g = function (o) { 3781 e( 3782 ".item .qodef-video-wrap .qodef-video-element" 3783 ).mediaelementplayer({ 3784 enableKeyboard: !1, 3785 iPadUseNativeControls: !1, 3786 pauseOtherPlayers: !1, 3787 iPhoneUseNativeControls: !1, 3788 AndroidUseNativeControls: !1, 3789 }), 3790 v(o), 3791 e(window).resize(function () { 3792 v(o); 3793 }), 3794 navigator.userAgent.match( 3795 /(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/ 3796 ) && 3797 (e(".qodef-slider .qodef-mobile-video-image").show(), 3798 e(".qodef-slider .qodef-video-wrap").remove()); 3799 }, 3800 w = function (o) { 3801 if (o.hasClass("qodef-slide-peek")) { 3802 var t, 3803 i = function (e, o) { 3804 var i = e.is(".left") ? "left" : "right", 3805 a = s.filter("." + i); 3806 if (o) { 3807 e.addClass("hovered"); 3808 var d = 3809 (n.index(n.filter(".active")) +
3810 ("left" == i ? -1 : 1) + 3811 n.length) % 3812 n.length; 3813 a.find(".qodef-slider-peeker-inner").css({ 3814 "background-image": n 3815 .eq(d) 3816 .find(".qodef-image, .qodef-mobile-video-image") 3817 .css("background-image"), 3818 width: t + "px", 3819 }), 3820 a.addClass("shown"); 3821 } else e.removeClass("hovered"), s.removeClass("shown"); 3822 }, 3823 a = function (e, o) { 3824 if (o) { 3825 e.addClass("hovered"); 3826 var i = e.data("slide-to"), 3827 a = n.index(n.filter(".active")); 3828 if (a != i) { 3829 var d = a > i ? "left" : "right", 3830 r = s.filter("." + d); 3831 r.find(".qodef-slider-peeker-inner").css({ 3832 "background-image": n 3833 .eq(i) 3834 .find(".qodef-image, .qodef-mobile-video-image") 3835 .css("background-image"), 3836 width: t + "px", 3837 }), 3838 r.addClass("shown"); 3839 } 3840 } else e.removeClass("hovered"), s.removeClass("shown"); 3841 }, 3842 d = function () { 3843 (t = n.filter(".active").width()), 3844 (t += t % 2 ? 1 : 0), 3845 n.children(".qodef-image, .qodef-video").css({ 3846 position: "absolute", 3847 width: t + "px", 3848 height: "110%", 3849 left: "50%", 3850 transform: "translateX(-50%)", 3851 }); 3852 }, 3853 n = o.find(".item"); 3854 d(), 3855 e(window).resize(d), 3856 o 3857 .find(".carousel-inner") 3858 .append( 3859 '<div class="qodef-slider-peeker left"><div class="qodef-slider-peeker-inner"></div></div><div class="qodef-slider-peeker right"><div class="qodef-slider-peeker-inner"></div></div>' 3860 ); 3861 var s = o.find(".qodef-slider-peeker"), 3862 r = o.find(".carousel-control"), 3863 l = o.find(".carousel-indicators > li"); 3864 r.hover( 3865 function () { 3866 i(e(this), !0); 3867 }, 3868 function () { 3869 i(e(this), !1); 3870 } 3871 ), 3872 l.hover( 3873 function () { 3874 a(e(this), !0); 3875 }, 3876 function () { 3877 a(e(this), !1); 3878 } 3879 ), 3880 o.on("slide.bs.carousel", function () { 3881 setTimeout(function () { 3882 s.addClass("qodef-slide-peek-in-progress").removeClass( 3883 "shown" 3884 ); 3885 }, 500); 3886 }), 3887 o.on("slid.bs.carousel", function () { 3888 r.filter(".hovered").each(function () { 3889 i(e(this), !0); 3890 }), 3891 setTimeout(function () { 3892 l.filter(".hovered").each(function () { 3893 a(e(this), !0); 3894 }); 3895 }, 200), 3896 s.removeClass("qodef-slide-peek-in-progress"); 3897 }); 3898 } 3899 }, 3900 y = function (o) { 3901 if (o.hasClass("qodef-slider-thumbs")) { 3902 var i, 3903 a, 3904 d, 3905 n = o.find(".item").length, 3906 s = o.find(".item").index(e(".item.active")[0]) + 1; 3907 q(o, s, n), 3908 o.find(".item.active").prev(".item").length 3909 ? (o.find(".item.active").prev("div").find(".qodef-image") 3910 .length 3911 ? ((i = t.exec( 3912 o 3913 .find(".active") 3914 .prev("div") 3915 .find(".qodef-image") 3916 .attr("style") 3917 )), 3918 (a = new Image()), 3919 (a.src = i[1])) 3920 : ((a = o 3921 .find(".active") 3922 .prev("div") 3923 .find("> .qodef-video") 3924 .clone()), 3925 a 3926 .find(".qodef-video-overlay, .mejs-offscreen") 3927 .remove(), 3928 a.find(".qodef-video-wrap").width(150).height(84), 3929 a.find(".mejs-container").width(150).height(84), 3930 a.find("video").width(150).height(84)), 3931 o 3932 .find(".left.carousel-control .img .old") 3933 .fadeOut(300, function () { 3934 e(this).remove(); 3935 }), 3936 o 3937 .find(".left.carousel-control .img") 3938 .append(a)
3939 .find("div.thumb-image, > img, div.qodef-video") 3940 .fadeIn(300) 3941 .addClass("old")) 3942 : (o.find(".carousel-inner .item:last-child .qodef-image") 3943 .length 3944 ? ((i = t.exec( 3945 o 3946 .find( 3947 ".carousel-inner .item:last-child .qodef-image" 3948 ) 3949 .attr("style") 3950 )), 3951 (a = new Image()), 3952 (a.src = i[1])) 3953 : ((a = o 3954 .find( 3955 ".carousel-inner .item:last-child > .qodef-video" 3956 ) 3957 .clone()), 3958 a 3959 .find(".qodef-video-overlay, .mejs-offscreen") 3960 .remove(), 3961 a.find(".qodef-video-wrap").width(150).height(84), 3962 a.find(".mejs-container").width(150).height(84), 3963 a.find("video").width(150).height(84)), 3964 o 3965 .find(".left.carousel-control .img .old") 3966 .fadeOut(300, function () { 3967 e(this).remove(); 3968 }), 3969 o 3970 .find(".left.carousel-control .img") 3971 .append(a) 3972 .find("div.thumb-image, > img, div.qodef-video") 3973 .fadeIn(300) 3974 .addClass("old")), 3975 o.find(".active").next("div.item").length 3976 ? (o.find(".active").next("div").find(".qodef-image").length 3977 ? ((i = t.exec( 3978 o 3979 .find(".active") 3980 .next("div") 3981 .find(".qodef-image") 3982 .attr("style") 3983 )), 3984 (d = new Image()), 3985 (d.src = i[1])) 3986 : ((d = o 3987 .find(".active") 3988 .next("div") 3989 .find("> .qodef-video") 3990 .clone()), 3991 d 3992 .find(".qodef-video-overlay, .mejs-offscreen") 3993 .remove(), 3994 d.find(".qodef-video-wrap").width(150).height(84), 3995 d.find(".mejs-container").width(150).height(84), 3996 d.find("video").width(150).height(84)), 3997 o 3998 .find(".right.carousel-control .img .old") 3999 .fadeOut(300, function () { 4000 e(this).remove(); 4001 }), 4002 o 4003 .find(".right.carousel-control .img") 4004 .append(d) 4005 .find("div.thumb-image, > img, div.qodef-video") 4006 .fadeIn(300) 4007 .addClass("old")) 4008 : (o.find(".carousel-inner .item:first-child .qodef-image") 4009 .length 4010 ? ((i = t.exec( 4011 o 4012 .find( 4013 ".carousel-inner .item:first-child .qodef-image" 4014 ) 4015 .attr("style") 4016 )), 4017 (d = new Image()), 4018 (d.src = i[1])) 4019 : ((d = o 4020 .find( 4021 ".carousel-inner .item:first-child > .qodef-video" 4022 ) 4023 .clone()), 4024 d 4025 .find(".qodef-video-overlay, .mejs-offscreen") 4026 .remove(), 4027 d.find(".qodef-video-wrap").width(150).height(84), 4028 d.find(".mejs-container").width(150).height(84), 4029 d.find("video").width(150).height(84)), 4030 o 4031 .find(".right.carousel-control .img .old") 4032 .fadeOut(300, function () { 4033 e(this).remove(); 4034 }), 4035 o 4036 .find(".right.carousel-control .img") 4037 .append(d)
4038 .find("div.thumb-image, > img, div.qodef-video") 4039 .fadeIn(300) 4040 .addClass("old")); 4041 } 4042 }, 4043 b = function (o, t, a) { 4044 o.find(".carousel-inner .item:first-child").addClass("active"), 4045 Q(e(".carousel .active"), o.hasClass("qodef-header-effect")), 4046 o.hasClass("qodef-slider-numbers") && q(o, 1, t), 4047 o.find(".item video").length && g(o), 4048 y(o), 4049 w(o), 4050 o 4051 .find(".qodef-slide-element-wrapper-link") 4052 .mouseenter(function () { 4053 e(this).removeClass("inheriting"); 4054 }) 4055 .mouseleave(function () { 4056 e(this).addClass("inheriting"); 4057 }), 4058 o.hasClass("qodef-auto-start") 4059 ? (o.carousel({ interval: a, pause: !1 }), 4060 o 4061 .find(".slide_buttons_holder .qbutton") 4062 .mouseenter(function () { 4063 o.carousel("pause"); 4064 }) 4065 .mouseleave(function () { 4066 o.carousel("cycle"); 4067 })) 4068 : o.carousel({ interval: 0, pause: !1 }), 4069 e(window).scroll(function () { 4070 o.carousel( 4071 o.hasClass("qodef-full-screen") && 4072 qodef.scroll > qodef.windowHeight && 4073 qodef.windowWidth > 1024 4074 ? "pause" 4075 : !o.hasClass("qodef-full-screen") && 4076 qodef.scroll > o.height() && 4077 qodef.windowWidth > 1024 4078 ? "pause" 4079 : "cycle" 4080 ); 4081 }), 4082 e(".carousel-inner .item:first-child").hasClass( 4083 "qodef-animate-image" 4084 ) && 4085 qodef.windowWidth > 1024 && 4086 o 4087 .find( 4088 ".carousel-inner .item.qodef-animate-image:first-child .qodef-image" 4089 ) 4090 .transformAnimate({ 4091 transform: 4092 "matrix(" + 4093 i[ 4094 e(".carousel-inner .item:first-child").data( 4095 "qodef_animate_image" 4096 ) 4097 ] + 4098 ")", 4099 duration: 3e4, 4100 }); 4101 }; 4102 return { 4103 init: function () { 4104 if (o.length) { 4105 if ( 4106 (o.each(function () { 4107 var o = e(this), 4108 a = o.data("slide_animation_timeout"), 4109 d = o.find(".item").length; 4110 if ((p(o), m(o), qodef.htmlEl.hasClass("touch"))) { 4111 if ( 4112 o.find(".item:first-child .qodef-mobile-video-image") 4113 .length > 0 4114 ) 4115 var n = t.exec( 4116 o 4117 .find(".item:first-child .qodef-mobile-video-image") 4118 .attr("style") 4119 ); 4120 else 4121 var n = t.exec( 4122 o.find(".item:first-child .qodef-image").attr("style") 4123 ); 4124 if (n) { 4125 var s = new Image(); 4126 (s.src = n[1]), 4127 e(s).load(function () { 4128 e(".qodef-slider-preloader").fadeOut(500), b(o, d, a); 4129 }); 4130 } 4131 } else if (o.find(".item:first-child video").length > 0) 4132 o.find(".item:first-child video") 4133 .eq(0) 4134 .one("loadeddata", function () { 4135 e(".qodef-slider-preloader").fadeOut(500), b(o, d, a); 4136 }); 4137 else { 4138 var n = t.exec( 4139 o.find(".item:first-child .qodef-image").attr("style") 4140 ); 4141 if (n) { 4142 var s = new Image(); 4143 (s.src = n[1]), 4144 e(s).load(function () { 4145 e(".qodef-slider-preloader").fadeOut(500), b(o, d, a); 4146 }); 4147 } 4148 } 4149 o.on("slide.bs.carousel", function () { 4150 o.addClass("qodef-in-progress"), 4151 o 4152 .find( 4153 ".active .qodef-slider-elements-holder-frame, .active .qodef-slide-element-section-link" 4154 ) 4155 .fadeTo(250, 0); 4156 }), 4157 o.on("slid.bs.carousel", function () { 4158 if ( 4159 (o.removeClass("qodef-in-progress"), 4160 o 4161 .find( 4162 ".active .qodef-slider-elements-holder-frame, .active .qodef-slide-element-section-link" 4163 ) 4164 .fadeTo(0, 1), 4165 o.hasClass("qodef-slider-numbers")) 4166 ) { 4167 var t = e(".item").index(e(".item.active")[0]) + 1; 4168 q(o, t, d); 4169 } 4170 e(".item.qodef-animate-image .qodef-image") 4171 .stop() 4172 .css({ transform: "", "-webkit-transform": "" }), 4173 e(".item.active").hasClass("qodef-animate-image") && 4174 qodef.windowWidth > 1025 && 4175 e( 4176 ".item.qodef-animate-image.active .qodef-image" 4177 ).transformAnimate({ 4178 transform:
4179 "matrix(" + 4180 i[ 4181 e(".item.qodef-animate-image.active").data( 4182 "qodef_animate_image" 4183 ) 4184 ] + 4185 ")", 4186 duration: 3e4, 4187 }), 4188 o.hasClass("qodef-slider-thumbs") && y(o); 4189 }), 4190 o.swipe({ 4191 swipeLeft: function () { 4192 o.carousel("next"); 4193 }, 4194 swipeRight: function () { 4195 o.carousel("prev"); 4196 }, 4197 threshold: 20, 4198 }); 4199 }), 4200 e(".no-touch .carousel").length) 4201 ) { 4202 var a = skrollr.init({ smoothScrolling: !1, forceHeight: !1 }); 4203 a.refresh(); 4204 } 4205 e(window).scroll(function () { 4206 e(".qodef-slider .carousel").height() < qodef.scroll 4207 ? e(".qodef-slider .carousel").addClass( 4208 "qodef-disable-slider-header-style-changing" 4209 ) 4210 : (e(".qodef-slider .carousel").removeClass( 4211 "qodef-disable-slider-header-style-changing" 4212 ), 4213 Q( 4214 e(".qodef-slider .carousel .active"), 4215 e(".qodef-slider .carousel").hasClass( 4216 "qodef-header-effect" 4217 ) 4218 )), 4219 e(".qodef-slider .carousel").hasClass("qodef-full-screen") && 4220 qodef.scroll > qodef.windowHeight && 4221 qodef.windowWidth > 1025 4222 ? e(".qodef-slider .carousel") 4223 .find(".carousel-inner, .carousel-indicators") 4224 .hide() 4225 : !e(".qodef-slider .carousel").hasClass( 4226 "qodef-full-screen" 4227 ) && 4228 qodef.scroll > e(".qodef-slider .carousel").height() && 4229 qodef.windowWidth > 1025 4230 ? e(".qodef-slider .carousel") 4231 .find(".carousel-inner, .carousel-indicators") 4232 .hide() 4233 : e(".qodef-slider .carousel") 4234 .find(".carousel-inner, .carousel-indicators") 4235 .show(); 4236 }); 4237 } 4238 }, 4239 }; 4240 }), 4241 so = (qodef.modules.shortcodes.qodefInitIconList = function () { 4242 var o = e(".qodef-animate-list"), 4243 t = function (e) { 4244 setTimeout(function () { 4245 e.appear( 4246 function () { 4247 e.addClass("qodef-appeared"); 4248 }, 4249 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 4250 ); 4251 }, 30); 4252 }; 4253 return { 4254 init: function () { 4255 o.length && 4256 o.each(function () { 4257 t(e(this)); 4258 }); 4259 }, 4260 }; 4261 }), 4262 ro = (qodef.modules.common.qodefInitAVS = { 4263 meta: { 4264 wHeight: 0, 4265 wWidth: 0, 4266 easingInValue: "easeOutCubic", 4267 easingOutValue: "easeInOut", 4268 isMobile: !1, 4269 currentSection: "Section1", 4270 fullPageInterval: null, 4271 fullPageWaitTime: 2e3, 4272 }, 4273 ui: { 4274 $initialImages: e(".qodef-image-slides img"), 4275 $sectionWrapper: e(".qodef-avs"), 4276 $overlaySection: e(".qodef-avs-overlay-section"), 4277 $scrollSectionContent: e(".qodef-avs-scroll-item-content"), 4278 $scrollSections: e(".qodef-avs-scroll-item"), 4279 $scrollContainer: e(".qodef-avs-scroll-content"), 4280 $textSlidesHolder: e(".qodef-avs-fixed-content-text"), 4281 $textSlides: e(".qodef-slide-text"), 4282 $imageSlides: e(".qodef-image-slides img"), 4283 $lazyImgs: e(".qodef-avs-scroll-item-image"), 4284 $faderLinks: e(".fader-link"), 4285 $fadeGradient: e(".fade-gradient"), 4286 $downArrow: e(".qodef-avs-down-arrow"), 4287 }, 4288 init: function () { 4289 qodef.window 4290 .resize(function () { 4291 ro.setWindowDimensions(), ro.setTextHolderHeight(); 4292 }) 4293 .trigger("resize"), 4294 /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( 4295 navigator.userAgent 4296 ) && (qodef.html.addClass("is-mobile"), (ro.meta.isMobile = !0)), 4297 e(".qodef-avs").length && 4298 (ro.ui.$scrollSectionContent.height(qodef.windowHeight),
4299 setTimeout(function () { 4300 ro.ui.$sectionWrapper.addClass("active"), 4301 ro.ui.$fadeGradient.addClass("active"); 4302 }, 1e3), 4303 ro.ui.$sectionWrapper.waitForImages(function () { 4304 ro.ui.$initialImages.velocity( 4305 { opacity: 1, translateZ: 0 }, 4306 { 4307 duration: 300, 4308 complete: function () { 4309 setTimeout(function () { 4310 ro.setTextHolderHeight(), ro.initSections(); 4311 }, 250); 4312 }, 4313 } 4314 ); 4315 })); 4316 }, 4317 setWindowDimensions: function () { 4318 ro.meta.wWidth = qodef.window.outerWidth(!0); 4319 }, 4320 setTextHolderHeight: function () { 4321 var o = 0; 4322 ro.ui.$textSlides.length > 0 && 4323 (ro.ui.$textSlides.each(function () { 4324 o = Math.max(o, e(this).height()); 4325 }), 4326 ro.ui.$textSlidesHolder.height(o)); 4327 }, 4328 initSections: function () { 4329 var o = ro.ui.$textSlides.length; 4330 ro.ui.$imageSlides 4331 .eq(0) 4332 .velocity("finish") 4333 .velocity( 4334 { opacity: 1, translateZ: 0 }, 4335 { duration: 300, visibility: "visible" } 4336 ), 4337 ro.ui.$textSlides 4338 .eq(0) 4339 .find(".qodef-animate-item") 4340 .each(function (o) { 4341 var t = e(this); 4342 t.velocity( 4343 { opacity: 1, translateZ: 0, translateY: ["0", "30px"] }, 4344 { 4345 duration: 500, 4346 delay: 150 * o, 4347 easing: ro.meta.easingInValue, 4348 } 4349 ); 4350 }), 4351 ro.ui.$scrollContainer.fullpage({ 4352 sectionSelector: ".qodef-avs-scroll-item", 4353 fitToSection: !1, 4354 verticalCentered: !1, 4355 scrollingSpeed: 1500, 4356 loopBottom: !1, 4357 loopTop: !1, 4358 navigation: !0, 4359 navigationPosition: "right", 4360 easing: "easeInOutCubic", 4361 afterRender: function () {}, 4362 onLeave: function (t, i, a) { 4363 (ro.meta.currentSection = "Section" + i), 4364 "down" === a 4365 ? (ro.ui.$textSlides 4366 .eq(t - 1) 4367 .find(".qodef-animate-item") 4368 .velocity( 4369 { opacity: 0, translateZ: 0, translateY: "-30px" }, 4370 { 4371 duration: 500, 4372 easing: ro.meta.easingInValue, 4373 complete: function () { 4374 ro.ui.$textSlides.eq(t - 1).removeClass("active"); 4375 }, 4376 } 4377 ), 4378 ro.ui.$textSlides 4379 .eq(i - 1) 4380 .find(".qodef-animate-item") 4381 .each(function (o) { 4382 var t = e(this); 4383 t.velocity( 4384 { 4385 opacity: 1, 4386 translateZ: 0, 4387 translateY: ["0", "30px"], 4388 }, 4389 { 4390 delay: 650 * (o + 1), 4391 duration: 500, 4392 easing: ro.meta.easingInValue, 4393 complete: function () { 4394 ro.ui.$textSlides.eq(i - 1).addClass("active"); 4395 }, 4396 } 4397 ); 4398 }), 4399 ro.ui.$imageSlides 4400 .eq(i - 1) 4401 .velocity("finish") 4402 .velocity( 4403 { translateY: ["0", "100%"], translateZ: 0 }, 4404 { 4405 duration: 600,
4406 delay: 800, 4407 easing: ro.meta.easingInValue, 4408 visibility: "visible", 4409 } 4410 ), 4411 ro.ui.$imageSlides 4412 .eq(t - 1) 4413 .velocity( 4414 { translateZ: 0 }, 4415 { delay: 1450, duration: 0, visibility: "hidden" } 4416 ), 4417 i == o && 4418 ro.ui.$downArrow.velocity("finish").velocity( 4419 { opacity: 0 }, 4420 { 4421 duration: 600, 4422 delay: 800, 4423 easing: ro.meta.easingInValue, 4424 visibility: "hidden", 4425 } 4426 )) 4427 : (ro.ui.$textSlides 4428 .eq(t - 1) 4429 .find(".qodef-animate-item") 4430 .velocity( 4431 { opacity: 0, translateY: "30px", translateZ: 0 }, 4432 { 4433 duration: 500, 4434 easing: ro.meta.easingInValue, 4435 complete: function () { 4436 ro.ui.$textSlides.eq(t - 1).removeClass("active"); 4437 }, 4438 } 4439 ), 4440 ro.ui.$textSlides 4441 .eq(i - 1) 4442 .find(".qodef-animate-item") 4443 .each(function (o) { 4444 var t = e(this); 4445 t.velocity("finish").velocity( 4446 { 4447 opacity: 1, 4448 translateY: ["0", "-10%"], 4449 translateZ: 0, 4450 }, 4451 { 4452 delay: 650 * (o + 1), 4453 easing: ro.meta.easingInValue, 4454 duration: 500, 4455 complete: function () { 4456 ro.ui.$textSlides.eq(i - 1).addClass("active"); 4457 }, 4458 } 4459 ); 4460 }), 4461 ro.ui.$imageSlides 4462 .eq(t - 1) 4463 .velocity("finish") 4464 .velocity( 4465 { translateY: "100%", translateZ: 0 }, 4466 { 4467 duration: 600, 4468 delay: 600, 4469 easing: ro.meta.easingOutValue, 4470 visibility: "hidden", 4471 } 4472 ), 4473 ro.ui.$imageSlides 4474 .eq(i - 1) 4475 .velocity("finish") 4476 .velocity( 4477 { translateZ: 0 }, 4478 { duration: 0, delay: 0, visibility: "visible" } 4479 ), 4480 o > i && 4481 ro.ui.$downArrow.velocity("finish").velocity( 4482 { opacity: 1 }, 4483 { 4484 duration: 600, 4485 delay: 800, 4486 easing: ro.meta.easingInValue, 4487 visibility: "visible", 4488 } 4489 )); 4490 }, 4491 }), 4492 ro.ui.$downArrow.on("click", function (o) { 4493 o.preventDefault(), e.fn.fullpage.moveSectionDown(); 4494 }); 4495 }, 4496 }); 4497 })(jQuery), 4498 (function (e) { 4499 "use strict"; 4500 function o() { 4501 d(), n(), s(); 4502 } 4503 function t() {} 4504 function i() {} 4505 function a() {} 4506 function d() { 4507 e(document).on( 4508 "click", 4509 ".qodef-quantity-minus, .qodef-quantity-plus", 4510 function (o) { 4511 o.stopPropagation(); 4512 var t, 4513 i = e(this), 4514 a = i.siblings(".qodef-quantity-input"), 4515 d = parseFloat(a.attr("step")), 4516 n = parseFloat(a.attr("max")), 4517 s = !1, 4518 r = parseFloat(a.val()); 4519 i.hasClass("qodef-quantity-minus") && (s = !0), 4520 s 4521 ? ((t = r - d), a.val(1 > t ? 1 : t)) 4522 : ((t = r + d), a.val(void 0 === n ? t : n > t ? t : n)), 4523 a.trigger("change"); 4524 } 4525 ); 4526 } 4527 function n() { 4528 (e(".woocommerce-ordering .orderby").length || 4529 e("#calc_shipping_country").length) && 4530 (e(".woocommerce-ordering .orderby").select2({ 4531 minimumResultsForSearch: 1 / 0, 4532 }), 4533 e("#calc_shipping_country").select2()); 4534 } 4535 function s() { 4536 e(document).ajaxComplete(function () { 4537 e("#calc_shipping_country").length && 4538 e("#calc_shipping_country").select2(); 4539 }); 4540 } 4541 var r = {}; 4542 (qodef.modules.woocommerce = r), 4543 (r.qodefInitQuantityButtons = d), 4544 (r.qodefInitSelect2 = n), 4545 (r.qodefOnDocumentReady = o), 4546 (r.qodefOnWindowLoad = t), 4547 (r.qodefOnWindowResize = i), 4548 (r.qodefOnWindowScroll = a), 4549 e(document).ready(o), 4550 e(window).load(t), 4551 e(window).resize(i), 4552 e(window).scroll(a); 4553 })(jQuery), 4554 (function (e) { 4555 "use strict"; 4556 function o() { 4557 d(), n(); 4558 } 4559 function t() { 4560 f().init(), r(); 4561 } 4562 function i() {} 4563 function a() {} 4564 function d() { 4565 var o = e( 4566 ".qodef-portfolio-single-holder .qodef-masonry-gallery-holder .qodef-portfolio-media" 4567 ), 4568 t = 4569 ".qodef-portfolio-single-holder .qodef-masonry-gallery-holder .qodef-portfolio-single-media", 4570 i = ".qodef-single-masonry-grid-sizer"; 4571 o.length && 4572 o.each(function () { 4573 var o = e(this); 4574 o.waitForImages(function () { 4575 o.animate({ opacity: 1 }), 4576 o.isotope({ 4577 itemSelector: t, 4578 masonry: { columnWidth: i, gutter: 0 }, 4579 sortBy: "original-order", 4580 }); 4581 }); 4582 }); 4583 } 4584 function n() { 4585 var o = e( 4586 ".qodef-portfolio-single-holder .qodef-pinterest-gallery-holder" 4587 ); 4588 o.length && 4589 o.each(function () { 4590 var o = e(this).children(".qodef-portfolio-media"); 4591 s(o), 4592 e(window).resize(function () { 4593 s(o); 4594 }); 4595 }); 4596 } 4597 function s(e) { 4598 e.waitForImages(function () { 4599 e.isotope({ 4600 layoutMode: "packery", 4601 itemSelector: ".qodef-portfolio-single-media", 4602 packery: { columnWidth: ".qodef-single-masonry-grid-sizer" }, 4603 }); 4604 }), 4605 e.addClass("qodef-appeared"); 4606 } 4607 function r() { 4608 var o = e(".qodef-portfolio-single-holder .qodef-animate-appear"); 4609 o.length && 4610 o.each(function () { 4611 var o = e(this), 4612 t = o.find(".qodef-portfolio-single-media "); 4613 t.each(function (o) { 4614 var t = e(this); 4615 setTimeout(function () {
4616 t.appear( 4617 function () { 4618 setTimeout(function () { 4619 t.addClass("qodef-appeared"); 4620 }, 120 * o); 4621 }, 4622 { accX: 0, accY: qodefGlobalVars.vars.qodefElementAppearAmount } 4623 ); 4624 }, 30); 4625 }); 4626 }); 4627 } 4628 var l = {}; 4629 (qodef.modules.portfolio = l), 4630 (l.qodefOnDocumentReady = o), 4631 (l.qodefOnWindowLoad = t), 4632 (l.qodefOnWindowResize = i), 4633 (l.qodefOnWindowScroll = a), 4634 e(document).ready(o), 4635 e(window).load(t), 4636 e(window).resize(i), 4637 e(window).scroll(a); 4638 var f = function () { 4639 var o = e( 4640 ".qodef-follow-portfolio-info .small-images.qodef-portfolio-single-holder .qodef-portfolio-info-holder, .qodef-follow-portfolio-info .masonry-gallery-left.qodef-portfolio-single-holder .qodef-portfolio-info-holder" 4641 ); 4642 if (o.length) { 4643 var t = o.parent(), 4644 i = t.offset().top, 4645 a = t.height(), 4646 d = e(".qodef-portfolio-media"), 4647 n = d.height(), 4648 s = e(".header-appear, .qodef-fixed-wrapper"), 4649 r = s.length ? s.height() : 0, 4650 l = o.parents(".masonry-gallery-left").length ? 32 : 0; 4651 console.log(n); 4652 } 4653 var f = function () { 4654 o.length && 4655 n > a && 4656 qodef.scroll > i && 4657 o.animate({ 4658 marginTop: 4659 qodef.scroll - 4660 i + 4661 qodefGlobalVars.vars.qodefAddForAdminBar + 4662 r + 4663 20, 4664 }); 4665 }, 4666 c = function () { 4667 o.length && 4668 n > a && 4669 (qodef.scroll > i 4670 ? qodef.scroll + 4671 r + 4672 qodefGlobalVars.vars.qodefAddForAdminBar + 4673 a + 4674 20 < 4675 i + n - l 4676 ? (e(".header-appear, .qodef-fixed-wrapper").length && 4677 (r = e(".header-appear, .qodef-fixed-wrapper").height()), 4678 o.stop().animate({ 4679 marginTop: 4680 qodef.scroll - 4681 i + 4682 qodefGlobalVars.vars.qodefAddForAdminBar + 4683 r + 4684 20, 4685 }), 4686 (r = 0)) 4687 : o.stop().animate({ marginTop: n - a - l }) 4688 : o.stop().animate({ marginTop: 0 })); 4689 }; 4690 return { 4691 init: function () { 4692 f(), 4693 e(window).scroll(function () { 4694 c(); 4695 }); 4696 }, 4697 }; 4698 }; 4699 })(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.