1(window.wp = window.wp || {}), 2 (window.wp["./assets/js/frontend.blocks"] = (function (t) { 3 function e(n) { 4 if (i[n]) return i[n].exports; 5 var o = (i[n] = { i: n, l: !1, exports: {} }); 6 return t[n].call(o.exports, o, o.exports, e), (o.l = !0), o.exports; 7 } 8 var i = {}; 9 return ( 10 (e.m = t), 11 (e.c = i), 12 (e.d = function (t, i, n) { 13 e.o(t, i) || 14 Object.defineProperty(t, i, { 15 configurable: !1, 16 enumerable: !0, 17 get: n, 18 }); 19 }), 20 (e.n = function (t) { 21 var i = 22 t && t.__esModule 23 ? function () { 24 return t.default; 25 } 26 : function () { 27 return t; 28 }; 29 return e.d(i, "a", i), i; 30 }), 31 (e.o = function (t, e) { 32 return Object.prototype.hasOwnProperty.call(t, e); 33 }), 34 (e.p = ""), 35 e((e.s = 555)) 36 ); 37 })({ 38 13: function (t, e) { 39 function i(t) { 40 return (i = 41 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 42 ? function (t) { 43 return typeof t; 44 } 45 : function (t) { 46 return t && 47 "function" == typeof Symbol && 48 t.constructor === Symbol && 49 t !== Symbol.prototype 50 ? "symbol" 51 : typeof t; 52 })(t); 53 } 54 function n(e) { 55 return ( 56 "function" == typeof Symbol && "symbol" === i(Symbol.iterator) 57 ? (t.exports = n = 58 function (t) { 59 return i(t); 60 }) 61 : (t.exports = n = 62 function (t) { 63 return t && 64 "function" == typeof Symbol && 65 t.constructor === Symbol && 66 t !== Symbol.prototype 67 ? "symbol" 68 : i(t); 69 }), 70 n(e) 71 ); 72 } 73 t.exports = n; 74 }, 75 23: function (t, e, i) { 76 "use strict"; 77 function n(t, e, i) { 78 var n = (function (t) { 79 var e = { 80 animation: "animationend", 81 OAnimation: "oAnimationEnd", 82 MozAnimation: "mozAnimationEnd", 83 WebkitAnimation: "webkitAnimationEnd", 84 }; 85 for (var i in e) if (void 0 !== t.style[i]) return e[i]; 86 })(document.createElement("div")), 87 o = void 0 !== e.animation ? e.animation : "", 88 a = void 0 !== e.duration ? e.duration : "1s", 89 d = void 0 !== e.delay ? e.delay : "0s"; 90 return ( 91 t.css({ 92 "animation-duration": a, 93 "animation-delay": d, 94 "-webkit-animation-delay": d, 95 }), 96 t.addClass("animated " + o).one(n, function () { 97 jQuery(this).removeClass("animated " + o), 98 "function" == typeof i && i(); 99 }), 100 this 101 ); 102 } 103 e.a = n; 104 }, 105 29: function (t, e, i) { 106 function n(t) { 107 return o(t) || a(t) || d(); 108 } 109 var o = i(33), 110 a = i(32), 111 d = i(34); 112 t.exports = n; 113 }, 114 32: function (t, e) { 115 function i(t) { 116 if ( 117 Symbol.iterator in Object(t) || 118 "[object Arguments]" === Object.prototype.toString.call(t) 119 ) 120 return Array.from(t); 121 } 122 t.exports = i; 123 }, 124 33: function (t, e) { 125 function i(t) { 126 if (Array.isArray(t)) return t; 127 } 128 t.exports = i; 129 }, 130 34: function (t, e) { 131 function i() { 132 throw new TypeError( 133 "Invalid attempt to destructure non-iterable instance" 134 ); 135 } 136 t.exports = i; 137 }, 138 555: function (t, e, i) { 139 "use strict"; 140 Object.defineProperty(e, "__esModule", { value: !0 }); 141 i(556); 142 }, 143 556: function (t, e, i) { 144 "use strict"; 145 i(557); 146 }, 147 557: function (t, e, i) { 148 "use strict"; 149 var n = (i(558), i(559)), 150 o = (i.n(n), i(560)), 151 a = (i.n(o), i(561)), 152 d = (i.n(a), i(562)), 153 s = (i.n(d), i(563), i(564), i(565)), 154 c = (i.n(s), i(566), i(567), i(568)), 155 r = (i.n(c), i(569)), 156 l = (i.n(r), i(570)), 157 u = (i.n(l), i(571)), 158 p = (i.n(u), i(572)), 159 w = (i.n(p), i(573)), 160 f = (i.n(w), i(574)), 161 g = (i.n(f), i(575)), 162 m = (i.n(g), i(576), i(577), i(578)), 163 h = (i.n(m), i(579)); 164 i.n(h); 165 }, 166 558: function (t, e, i) { 167 "use strict"; 168 var n = i(23); 169 /*! 170 * getwid-icon 171 */ 172 !(function (t) { 173 t(document).ready(function (e) { 174 t(document.body).on("post-load", function (t) { 175 i(); 176 }); 177 var i = function () { 178 t(".wp-block-getwid-icon:not(.getwid-init)").each(function (e, i) { 179 t(i).addClass("getwid-init"), 180 t(".getwid-animation.wp-block-getwid-icon__wrapper").on( 181 "mouseenter", 182 function () { 183 Object(n.a)(t(this), { 184 animation: t(this).attr("data-animation"), 185 }); 186 } 187 ); 188 }); 189 }; 190 i(); 191 }); 192 })(jQuery); 193 }, 194 559: function (t, e) { 195 /*! 196 * getwid-section 197 */ 198 !(function (t) { 199 t(document).ready(function (e) { 200 function i() { 201 var t = document.createElement("script"); 202 (t.type = "text/javascript"), 203 (t.src = "https://www.youtube.com/iframe_api"), 204 (t.id = "youtube_video_api_js"); 205 var e = !1; 206 document.getElementsByTagName("head")[0].appendChild(t), 207 (t.onload = t.onreadystatechange = 208 function () { 209 e || 210 (this.readyState && 211 "loaded" !== this.readyState && 212 "complete" !== this.readyState) || 213 ((e = !0), (t.onload = t.onreadystatechange = null)); 214 }); 215 } 216 function n(t) { 217 var e = 218 /(?:https?:\/\/)?(?:www\.)?(?:youtube(?:-nocookie)?\.com\/\S*(?:(?:\/e(?:mbed))?\/v?|(?:watch\?)?(?:\S*?&?vi?\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/; 219 return !!t.match(e) && RegExp.$1; 220 } 221 function o() { 222 void 0 === window.onYouTubeIframeAPIReady 223 ? (window.onYouTubeIframeAPIReady = function () { 224 getwidYT.init(); 225 }) 226 : (d = setInterval(function () { 227 void 0 !== window.YT && 228 window.YT.loaded && 229 (getwidYT.ready || getwidYT.init()); 230 })); 231 } 232 var a, 233 d = !1, 234 s = t( 235 ".wp-block-getwid-section__background-video.source-youtube .wp-block-getwid-section__background-video-youtube" 236 ); 237 (window.getwidYT = { 238 data: { ready: !1 }, 239 init: function () { 240 (getwidYT.data.ready = !0), 241 clearInterval(d), 242 s.each(function (e) { 243 var i = t(this).attr("id"), 244 n = t(this).parent().attr("youtube-video-autoplay"), 245 o = t(this).parent().attr("youtube-video-loop"), 246 a = t(this).parent().attr("youtube-video-muted"), 247 d = t(this) 248 .closest(".wp-block-getwid-section__wrapper") 249 .find( 250 ".getwid-background-video-controls .getwid-background-video-play" 251 ), 252 c = t(this) 253 .closest(".wp-block-getwid-section__wrapper") 254 .find( 255 ".getwid-background-video-controls .getwid-background-video-mute" 256 ); 257 window.YT.ready(function () { 258 var r = { 259 playsinline: 1, 260 autoplay: "true" == n ? 1 : 0, 261 controls: 0, 262 disablekb: 1, 263 fs: 0, 264 cc_load_policy: 0, 265 iv_load_policy: 3, 266 loop: "true" == o ? 1 : 0, 267 modestbranding: 1, 268 rel: 0, 269 showinfo: 0, 270 enablejsapi: 1, 271 mute: "true" == a ? 1 : 0, 272 autohide: 1, 273 }; 274 "true" == o && (r.playlist = i); 275 new YT.Player(s[e], { 276 playerVars: r, 277 height: "100%", 278 width: "100%", 279 videoId: i, 280 events: { 281 onReady: function (e) { 282 var i = e.target; 283 "true" == n 284 ? d.html( 285 '<i class="getwid-icon getwid-icon-pause"></i>' 286 ) 287 : "false" == n && 288 d.html( 289 '<i class="getwid-icon getwid-icon-play"></i>' 290 ), 291 "true" == a 292 ? c.html( 293 '<i class="getwid-icon getwid-icon-mute"></i>' 294 ) 295 : "false" == a && 296 c.html( 297 '<i class="getwid-icon getwid-icon-volume-up"></i>' 298 ), 299 t(d).on("click", function (t) { 300 "true" == n 301 ? (i.pauseVideo(), 302 d.html( 303 '<i class="getwid-icon getwid-icon-play"></i>' 304 ), 305 (n = "false")) 306 : "false" == n && 307 (i.playVideo(), 308 d.html( 309 '<i class="getwid-icon getwid-icon-pause"></i>' 310 ), 311 (n = "true")); 312 }), 313 t(c).on("click", function (t) { 314 "true" == a 315 ? (i.unMute(), 316 c.html( 317 '<i class="getwid-icon getwid-icon-volume-up"></i>' 318 ), 319 (a = "false")) 320 : "false" == a && 321 (i.mute(), 322 c.html( 323 '<i class="getwid-icon getwid-icon-mute"></i>' 324 ), 325 (a = "true")); 326 }), 327 "true" == n && i.playVideo(); 328 }, 329 onStateChange: function (t) { 330 -1 == t.data && 331 (d.html( 332 '<i class="getwid-icon getwid-icon-play"></i>' 333 ), 334 (n = "false")), 335 1 == t.data && 336 (d.html( 337 '<i class="getwid-icon getwid-icon-pause"></i>' 338 ), 339 (n = "true")), 340 2 == t.data && 341 (d.html( 342 '<i class="getwid-icon getwid-icon-play"></i>' 343 ), 344 (n = "false")), 345 3 == t.data && 346 (d.html( 347 '<i class="getwid-icon getwid-icon-pause"></i>' 348 ), 349 (n = "true")), 350 0 == t.data && 351 "false" == o && 352 (t.target.stopVideo(), 353 d.html( 354 '<i class="getwid-icon getwid-icon-play"></i>' 355 ), 356 (n = "false")); 357 }, 358 }, 359 }); 360 }); 361 }); 362 }, 363 }), 364 t(document.body).on("post-load", function (t) { 365 c(), r(), l(), u(); 366 }); 367 var c = function () { 368 (a = t( 369 ".wp-block-getwid-section__background-video.source-youtube .wp-block-getwid-section__background-video-youtube:not(.getwid-init)" 370 )), 371 a.each(function (e) { 372 t(this).addClass("getwid-init"); 373 var i = n(t(this).parent().attr("youtube-video-url")); 374 t(this).attr("id", i); 375 }),
376 a.length && (t("#youtube_video_api_js").length || (i(), o())); 377 }, 378 r = function () { 379 var e, 380 i, 381 n, 382 o, 383 a, 384 d, 385 s = t( 386 ".wp-block-getwid-section__background-slider:not(.getwid-init)" 387 ); 388 s.length && 389 "undefined" != typeof imagesLoaded && 390 s.each(function (s) { 391 (d = t(this)), 392 (e = 1 == d.data("autoplay")), 393 (i = parseInt(d.data("autoplay-speed"))), 394 (n = "fade" == d.data("slide-effect")), 395 (o = parseInt(d.data("slide-speed"))), 396 (a = 1 == d.data("infinite")), 397 t(this).addClass("getwid-init"), 398 d.imagesLoaded().done(function (d) { 399 t(d.elements[0]).slick({ 400 arrows: !1, 401 dots: !1, 402 rows: 0, 403 slidesToShow: 1, 404 slidesToScroll: 1, 405 autoplay: e, 406 autoplaySpeed: i, 407 fade: n, 408 speed: o, 409 infinite: a, 410 rtl: !!Getwid.isRTL, 411 }); 412 }); 413 }); 414 }, 415 l = function () { 416 if ("undefined" != typeof WOW) { 417 new WOW({ boxClass: "getwid-anim", mobile: !1 }).init(); 418 } 419 }, 420 u = function () { 421 t(".wp-block-getwid-section:not(.getwid-init)").each(function ( 422 e 423 ) { 424 t(this).addClass("getwid-init"); 425 var i = t(this), 426 n = i 427 .find( 428 ".wp-block-getwid-section__background-video.source-media-library" 429 ) 430 .get(0), 431 o = i.find(".getwid-background-video-play"), 432 a = i.find(".getwid-background-video-mute"); 433 i 434 .find( 435 ".wp-block-getwid-section__background-video.source-media-library" 436 ) 437 .on("play", function (t) { 438 o.html('<i class="getwid-icon getwid-icon-pause"></i>'); 439 }) 440 .on("pause", function (t) { 441 o.html('<i class="getwid-icon getwid-icon-play"></i>'); 442 }), 443 i.on("click", ".getwid-background-video-play", function (t) { 444 t.preventDefault(), n && (n.paused ? n.play() : n.pause()); 445 }), 446 i.ready(function () { 447 n && 448 (n.paused 449 ? o.html('<i class="getwid-icon getwid-icon-play"></i>') 450 : o.html( 451 '<i class="getwid-icon getwid-icon-pause"></i>' 452 ), 453 n.muted 454 ? a.html('<i class="getwid-icon getwid-icon-mute"></i>') 455 : a.html( 456 '<i class="getwid-icon getwid-icon-volume-up"></i>' 457 )); 458 }), 459 i.on("click", ".getwid-background-video-mute", function (t) { 460 t.preventDefault(), 461 n && 462 ((n.muted = !n.muted), 463 n.muted 464 ? a.html( 465 '<i class="getwid-icon getwid-icon-mute"></i>' 466 ) 467 : a.html( 468 '<i class="getwid-icon getwid-icon-volume-up"></i>' 469 )); 470 }); 471 }); 472 }; 473 c(), r(), l(), u(); 474 }); 475 })(jQuery); 476 }, 477 560: function (t, e) { 478 /*! 479 * getwid-tabs 480 */ 481 !(function (t) { 482 t(document).ready(function (e) { 483 function i(t) { 484 for ( 485 var e = "", 486 i = 487 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 488 n = i.length, 489 o = 0; 490 o < t; 491 o++ 492 ) 493 e += i.charAt(Math.floor(Math.random() * n)); 494 return e; 495 } 496 t(document.body).on("post-load", function (t) { 497 n(); 498 }); 499 var n = function () { 500 var e = t(".wp-block-getwid-tabs:not(.getwid-init)"), 501 n = 0; 502 e.each(function (e) { 503 var o = i(5); 504 t(this).addClass("getwid-init"), (n = t(this).data("active-tab")); 505 t(this).find(".wp-block-getwid-tabs__nav-links"); 506 t(this) 507 .find(".wp-block-getwid-tabs__nav-link") 508 .each(function (e, i) { 509 t(i).find("a").attr("href", "#tab-".concat(o, "-").concat(e)); 510 }), 511 t(this) 512 .find( 513 ".wp-block-getwid-tabs__tab-content-wrapper, > .wp-block-getwid-tabs__tab-content" 514 ) 515 .each(function (e, i) { 516 t(i).attr("id", "tab-".concat(o, "-").concat(e)); 517 }), 518 t(this) 519 .find(".wp-block-getwid-tabs__nav-link") 520 .each(function (e, i) { 521 var n = t(i) 522 .closest(".wp-block-getwid-tabs") 523 .find(">.wp-block-getwid-tabs__nav-links"); 524 t(i).detach(), n.append(i); 525 var o = {}; 526 t.each(t(i)[0].attributes, function (t, e) {
527 o[e.nodeName] = e.nodeValue; 528 }), 529 t(i).replaceWith(function () { 530 return t("<li/>", o).append(t(i).contents()); 531 }); 532 }), 533 t(this) 534 .find(".wp-block-getwid-tabs__tab-content-wrapper") 535 .eq(n) 536 .addClass("is-active-tab"), 537 t(this).tabs({ 538 active: n, 539 activate: function (e, i) { 540 i.newPanel 541 .closest(".wp-block-getwid-tabs") 542 .find(".wp-block-getwid-tabs__tab-content-wrapper") 543 .removeClass("is-active-tab"), 544 i.newPanel.addClass("is-active-tab"), 545 t("html, body").add(window, document).stop(); 546 }, 547 }); 548 }); 549 }; 550 n(); 551 }); 552 })(jQuery); 553 }, 554 561: function (t, e) { 555 /*! 556 * getwid-accordion 557 */ 558 !(function (t) { 559 t(document).ready(function (e) { 560 t(document.body).on("post-load", function (t) { 561 i(); 562 }); 563 var i = function () { 564 var e = t(".wp-block-getwid-accordion:not(.getwid-init)"), 565 i = 0; 566 e.each(function (e, n) { 567 t(this).addClass("getwid-init"), 568 (i = 569 "none" != t(this).data("active-element") && 570 parseInt(t(this).data("active-element"), 10)), 571 t(n).accordion({ 572 icons: !1, 573 animate: !1, 574 collapsible: !0, 575 active: i, 576 heightStyle: "content", 577 create: function (t, e) {}, 578 activate: function (e, i) { 579 if (i.newPanel.length) { 580 var n = i.newPanel 581 .find(".wp-block-getwid-accordion__content") 582 .outerHeight(!0); 583 n && 584 t(i.newPanel).animate( 585 { height: n }, 586 { 587 queue: !1, 588 duration: 500, 589 complete: function () { 590 t(this).css("height", ""); 591 }, 592 } 593 ); 594 } 595 if (i.oldPanel.length) { 596 var o = i.oldPanel 597 .find(".wp-block-getwid-accordion__content") 598 .outerHeight(!0); 599 o && 600 (t(i.oldPanel).css("height", o), 601 t(i.oldPanel).animate( 602 { height: 0 }, 603 { 604 queue: !1, 605 duration: 500, 606 complete: function () { 607 t(this).css("height", ""); 608 }, 609 } 610 )); 611 } 612 }, 613 }); 614 }); 615 }; 616 i(); 617 }); 618 })(jQuery); 619 }, 620 562: function (t, e) { 621 /*! 622 * getwid-toggle 623 */ 624 !(function (t) { 625 t(document).ready(function (e) { 626 t(document.body).on("post-load", function (t) { 627 i(); 628 }); 629 var i = function () { 630 t(".wp-block-getwid-toggle:not(.getwid-init)").each(function ( 631 e, 632 i 633 ) { 634 t(this).addClass("getwid-init"), 635 t(i) 636 .find( 637 ".wp-block-getwid-toggle__row .wp-block-getwid-toggle__header-wrapper" 638 ) 639 .on("click", function (e) { 640 e.preventDefault(), e.stopImmediatePropagation(); 641 var i = t(this).parent(), 642 n = i 643 .find(".wp-block-getwid-toggle__content-wrapper") 644 .first(), 645 o = i 646 .find(".wp-block-getwid-toggle__content") 647 .first() 648 .outerHeight(!0); 649 i.hasClass("is-active") 650 ? (i.removeClass("is-active"), 651 n.css("height", o), 652 t(n).animate( 653 { height: 0 }, 654 { 655 queue: !1, 656 duration: 500, 657 complete: function () { 658 t(this).css("height", ""); 659 }, 660 } 661 )) 662 : (t(n).animate( 663 { height: o }, 664 { 665 queue: !1, 666 duration: 500, 667 complete: function () { 668 t(this).css("height", ""); 669 }, 670 } 671 ), 672 i.addClass("is-active")); 673 }); 674 }); 675 }; 676 i(); 677 }); 678 })(jQuery); 679 }, 680 563: function (t, e, i) { 681 "use strict"; 682 var n = i(23); 683 /*! 684 * getwid-icon-box 685 */ 686 !(function (t) { 687 t(document).ready(function (e) { 688 t(document.body).on("post-load", function (t) { 689 i(); 690 }); 691 var i = function () { 692 t(".wp-block-getwid-icon-box:not(.getwid-init)").each(function ( 693 e, 694 i 695 ) { 696 t(i).addClass("getwid-init"), 697 t(".getwid-animation.wp-block-getwid-icon-box").on( 698 "mouseenter", 699 function () { 700 Object(n.a)( 701 t(this).find(".wp-block-getwid-icon-box__icon-wrapper"), 702 { animation: t(this).attr("data-animation") } 703 ); 704 } 705 ); 706 }); 707 }; 708 i(); 709 }); 710 })(jQuery); 711 }, 712 564: function (t, e, i) { 713 "use strict"; 714 var n = i(23); 715 /*! 716 * getwid-media-text-slider 717 */ 718 !(function (t) { 719 t(document).ready(function (e) { 720 t(document.body).on("post-load", function (t) { 721 i(); 722 }); 723 var i = function () { 724 var e, 725 i, 726 o, 727 a, 728 d, 729 s, 730 c, 731 r, 732 l = t( 733 ".wp-block-getwid-media-text-slider:not(.getwid-init) .wp-block-getwid-media-text-slider__content" 734 ); 735 l.each(function (l) { 736 (c = t(this)), 737 c 738 .closest(".wp-block-getwid-media-text-slider") 739 .addClass("getwid-init"), 740 (r = 741 void 0 !== 742 t(this) 743 .closest(".wp-block-getwid-media-text-slider") 744 .data("animation")), 745 (e = 1 == c.data("slide-autoplay")), 746 (i = 1 == c.data("slide-pause-on-hover")), 747 (o = parseInt(c.data("slide-autoplay-speed"))), 748 (a = "fade" == c.data("slide-effect")), 749 (d = parseInt(c.data("slide-speed"))), 750 (s = 1 == c.data("infinite")), 751 r && 752 t(this) 753 .find( 754 ".wp-block-getwid-media-text-slider-slide .wp-block-getwid-media-text-slider-slide-content__content" 755 ) 756 .css("opacity", "0"), 757 c.on("init", function () { 758 r && 759 t(this) 760 .find( 761 ".wp-block-getwid-media-text-slider-slide.slick-active .wp-block-getwid-media-text-slider-slide-content__content" 762 ) 763 .css("opacity", "1"); 764 }); 765 var u = !1; 766 c.on("beforeChange", function (t, e, i, n) { 767 u = i == n; 768 }), 769 c.on("afterChange", function (e, i, o) { 770 if (!u) { 771 r && 772 t(this) 773 .find( 774 ".wp-block-getwid-media-text-slider-slide .wp-block-getwid-media-text-slider-slide-content__content" 775 ) 776 .css("opacity", "0"); 777 var a = t(this) 778 .find( 779 '.wp-block-getwid-media-text-slider-slide[data-slick-index="' + 780 o + 781 '"]' 782 ) 783 .find( 784 ".wp-block-getwid-media-text-slider-slide-content__content" 785 ); 786 r && 787 a.length && 788 Object(n.a)( 789 a, 790 { 791 animation: t(this) 792 .closest(".wp-block-getwid-media-text-slider") 793 .data("animation"), 794 duration: t(this) 795 .closest(".wp-block-getwid-media-text-slider") 796 .data("duration"), 797 delay: t(this) 798 .closest(".wp-block-getwid-media-text-slider") 799 .data("delay"), 800 }, 801 a.css("opacity", "1") 802 ); 803 } 804 }); 805 var p = t(this).closest( 806 ".".concat("wp-block-getwid-media-text-slider") 807 ), 808 w = !p.hasClass("has-arrows-none"), 809 f = !p.hasClass("has-dots-none"); 810 c.slick({ 811 rows: 0, 812 slidesToShow: 1, 813 slidesToScroll: 1, 814 autoplay: e, 815 pauseOnHover: i, 816 autoplaySpeed: o, 817 fade: a, 818 speed: d, 819 infinite: s, 820 arrows: w, 821 dots: f, 822 rtl: !!Getwid.isRTL, 823 }); 824 }); 825 }; 826 i(); 827 }); 828 })(jQuery); 829 }, 830 565: function (t, e) { 831 /*! 832 * getwid-images-slider 833 */ 834 !(function (t) { 835 t(document).ready(function (e) { 836 t(document.body).on("post-load", function (t) { 837 i(); 838 }); 839 var i = function () { 840 var e, 841 i, 842 n, 843 o, 844 a, 845 d, 846 s, 847 c, 848 r, 849 l, 850 u, 851 p, 852 w, 853 f, 854 g, 855 m, 856 h, 857 _, 858 b, 859 v = t( 860 ".wp-block-getwid-images-slider:not(.getwid-init) .wp-block-getwid-images-slider__wrapper" 861 ); 862 v.length && 863 "undefined" != typeof imagesLoaded && 864 v.each(function (v) { 865 (e = t(this)), 866 e 867 .closest(".wp-block-getwid-images-slider") 868 .addClass("getwid-init"), 869 e.imagesLoaded().done(function (e) { 870 var v = t(e.elements[0]); 871 (i = "fade" == v.data("effect")), 872 (n = 873 v.data("slides-show") && "slide" == v.data("effect") 874 ? parseInt(v.data("slides-show")) 875 : 1), 876 (o = v.data("slides-show-laptop") 877 ? parseInt(v.data("slides-show-laptop")) 878 : 1), 879 (a = v.data("slides-show-tablet") 880 ? parseInt(v.data("slides-show-tablet")) 881 : 1), 882 (d = v.data("slides-show-mobile") 883 ? parseInt(v.data("slides-show-mobile")) 884 : 1), 885 (s = v.data("slides-scroll") 886 ? parseInt(v.data("slides-scroll")) 887 : 1), 888 (c = 1 == v.data("autoplay")), 889 (r = parseInt(v.data("autoplay-speed")) 890 ? parseInt(v.data("autoplay-speed")) 891 : 2e3), 892 (l = 1 == v.data("infinite")), 893 (u = parseInt(v.data("animation-speed"))), 894 (p = 1 == v.data("center-mode")), 895 (w = 1 == v.data("variable-width")), 896 (f = 1 == v.data("pause-hover")), 897 (g = "none" != v.data("arrows")), 898 (m = "none" != v.data("dots")), 899 (h = v.data("height") ? v.data("height") : void 0), 900 (_ = !!v.data("reset-on-tablet")), 901 (b = !!v.data("reset-on-mobile")), 902 t(e.elements[0]).slick({ 903 arrows: g, 904 dots: m, 905 rows: 0, 906 slidesToShow: n, 907 slidesToScroll: s, 908 autoplay: c, 909 autoplaySpeed: r, 910 fade: i, 911 speed: u, 912 infinite: l, 913 centerMode: p, 914 variableWidth: w, 915 pauseOnHover: f, 916 adaptiveHeight: !0, 917 rtl: !!Getwid.isRTL, 918 responsive: [ 919 { 920 breakpoint: 991, 921 settings: { slidesToShow: o, slidesToScroll: 1 }, 922 }, 923 { 924 breakpoint: 768, 925 settings: { slidesToShow: a, slidesToScroll: 1 }, 926 }, 927 { 928 breakpoint: 468, 929 settings: { slidesToShow: d, slidesToScroll: 1 }, 930 }, 931 ], 932 }); 933 }); 934 }); 935 }; 936 i(); 937 }); 938 })(jQuery); 939 }, 940 566: function (module, __webpack_exports__, __webpack_require__) { 941 "use strict"; 942 var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__ = 943 __webpack_require__(13), 944 __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default = 945 __webpack_require__.n( 946 __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__ 947 ); 948 /*! 949 * getwid-map 950 */ 951 !(function ($) { 952 var _this = this; 953 $(document).ready(function (event) { 954 function removeAllAttributes(t) { 955 var e = $.map(t[0].attributes, function (t) { 956 return t.name; 957 }); 958 $.each(e, function (e, i) { 959 "class" != i && t.removeAttr(i); 960 }); 961 } 962 function mapStyles(mapData) { 963 var mapStyle = mapData.mapStyle, 964 customStyle = mapData.customStyle; 965 if ( 966 "object" == 967 __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default()( 968 mapStyle 969 ) 970 ) 971 return null;
972 if ("default" != mapStyle) { 973 if ("custom" != mapStyle) return stylesArr[mapStyle]; 974 try { 975 return eval(customStyle); 976 } catch (t) { 977 if (!(t instanceof SyntaxError)) throw t; 978 console.error(t.message); 979 } 980 } 981 } 982 function initMarkers(t) { 983 var e = 984 arguments.length > 1 && void 0 !== arguments[1] 985 ? arguments[1] 986 : 0, 987 i = 988 arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 989 n = t.mapMarkers, 990 o = n[e].coords, 991 a = new google.maps.Marker({ 992 position: o, 993 map: i, 994 draggable: !1, 995 animation: google.maps.Animation.DROP, 996 }); 997 n[e].bounce && 998 setTimeout(function () { 999 return a.setAnimation(google.maps.Animation.BOUNCE); 1000 }, 2e3); 1001 var d = ""; 1002 "" != unescape(n[e].description) && 1003 (d = 1004 "\n\t\t\t\t\t<div class='getwid-poi-info-window'>\n\t\t\t\t\t\t".concat( 1005 _unescape(n[e].description), 1006 "\n\t\t\t\t\t</div>\n\t\t\t\t" 1007 )), 1008 attachMessage(a, d, n[e].popUpOpen, n[e].popUpMaxWidth); 1009 } 1010 function attachMessage(t, e, i, n) { 1011 var o = new google.maps.InfoWindow({ content: e, maxWidth: n }); 1012 i && "" != o.content && o.open(t.get("map"), t), 1013 google.maps.event.clearInstanceListeners(t), 1014 t.addListener("click", function () { 1015 "" != o.content && o.open(t.get("map"), t); 1016 }); 1017 } 1018 $(document.body).on("post-load", function (t) { 1019 getwid_init_map(); 1020 }); 1021 var getwid_init_map = function () { 1022 var t = $(".wp-block-getwid-map:not(.getwid-init)"); 1023 "undefined" != typeof google 1024 ? t.each(function (t, e) { 1025 $(_this).addClass("getwid-init"), 1026 $(e).find(".wp-block-getwid-map__points").remove(); 1027 var i = $(e).find(".wp-block-getwid-map__container")[0], 1028 n = $(e).data("map-center"), 1029 o = $(e).data("map-markers"), 1030 a = $(e).data("map-zoom"), 1031 d = $(e).data("map-style"), 1032 s = $(e).data("custom-style"), 1033 c = $(e).data("zoom-control"), 1034 r = $(e).data("type-control"), 1035 l = $(e).data("interaction"), 1036 u = $(e).data("street-view-control"), 1037 p = $(e).data("full-screen-control"); 1038 removeAllAttributes($(e)); 1039 var w = { 1040 mapCenter: n, 1041 mapZoom: a, 1042 interaction: l, 1043 mapStyle: d, 1044 customStyle: s, 1045 zoomControl: c, 1046 mapTypeControl: r, 1047 streetViewControl: u, 1048 fullscreenControl: p, 1049 mapMarkers: o, 1050 }, 1051 f = new google.maps.Map(i, { 1052 center: n, 1053 styles: mapStyles(w), 1054 gestureHandling: l, 1055 zoomControl: c, 1056 mapTypeControl: r, 1057 streetViewControl: u, 1058 fullscreenControl: p, 1059 zoom: a, 1060 }); 1061 void 0 !== o && 1062 o.length && 1063 $.each(o, function (t, e) { 1064 initMarkers(w, t, f); 1065 }); 1066 }) 1067 : t.length && 1068 t.each(function (t, e) { 1069 var i = $(e); 1070 i.find(".wp-block-getwid-map__container").remove(), 1071 $(i).prepend( 1072 '<iframe loading="lazy" src="https://www.google.com/maps/embed" style="border:0;" allowfullscreen="" width="100%" height="400px" frameborder="0"></iframe>' 1073 ); 1074 }); 1075 }; 1076 getwid_init_map(); 1077 }); 1078 })(jQuery); 1079 }, 1080 567: function (t, e, i) { 1081 "use strict"; 1082 var n = i(23); 1083 /*! 1084 * getwid-image-box 1085 */ 1086 !(function (t) { 1087 t(document).ready(function (e) { 1088 t(document.body).on("post-load", function (t) { 1089 i(); 1090 }); 1091 var i = function () { 1092 t(".wp-block-getwid-image-box:not(.getwid-init)").each(function ( 1093 e, 1094 i 1095 ) { 1096 t(i).addClass("getwid-init"), 1097 t(".getwid-animation.wp-block-getwid-image-box").on( 1098 "mouseenter", 1099 function () { 1100 Object(n.a)( 1101 t(this).find(".wp-block-getwid-image-box__image-wrapper"), 1102 { animation: t(this).attr("data-animation") } 1103 ); 1104 } 1105 ); 1106 }); 1107 }; 1108 i(); 1109 }); 1110 })(jQuery); 1111 }, 1112 568: function (t, e) { 1113 /*! 1114 * getwid-progress-bar 1115 */ 1116 !(function (t) { 1117 t(document).ready(function (e) { 1118 t(document.body).on("post-load", function (t) { 1119 i(); 1120 }); 1121 var i = function () { 1122 t(".wp-block-getwid-progress-bar:not(.getwid-init)").each(function ( 1123 e 1124 ) { 1125 function i(e) { 1126 s 1127 .find(t("".concat(d, "__progress"))) 1128 .css("width", "".concat(e, "%")), 1129 s.find(t("".concat(d, "__percent"))).text("".concat(e, "%")); 1130 } 1131 function n(e) { 1132 var i = s.find(t("".concat(d, "__progress"))), 1133 n = function () { 1134 return Math.round((i.width() / i.parent().width()) * 100); 1135 }; 1136 i.animate( 1137 { width: "".concat(e, "%") }, 1138 { 1139 duration: 2e3, 1140 progress: function () { 1141 s.find(t("".concat(d, "__percent"))).text(n() + "%"); 1142 }, 1143 } 1144 ); 1145 } 1146 t(this).addClass("getwid-init"); 1147 var o, 1148 a, 1149 d = ".wp-block-getwid-progress-bar", 1150 s = t(this); 1151 (o = s.find("".concat(d, "__wrapper")).data("fill-amount")), 1152 (a = s.find("".concat(d, "__wrapper")).data("is-animated")); 1153 var c = s.find(t("".concat(d, "__wrapper"))), 1154 r = new Waypoint({ 1155 element: c.get(0), 1156 handler: function () { 1157 a ? n(o) : i(o), r.destroy(); 1158 }, 1159 offset: "100%", 1160 }); 1161 t(window).on("resize", function () { 1162 i(o); 1163 }); 1164 }); 1165 }; 1166 i(); 1167 }); 1168 })(jQuery); 1169 }, 1170 569: function (t, e) { 1171 /*! 1172 * getwid-circle-progress-bar 1173 */ 1174 !(function (t) { 1175 t(document).ready(function (e) { 1176 t(document.body).on("post-load", function (t) { 1177 i(); 1178 }); 1179 var i = function () { 1180 t(".wp-block-getwid-circle-progress-bar:not(.getwid-init)").each( 1181 function (e) { 1182 function i() { 1183 var t = w.find("".concat(p, "__canvas")).get(0); 1184 (t.width = parseFloat(r)), (t.height = parseFloat(r)); 1185 } 1186 function n(t, e) { 1187 var n = w 1188 .find("".concat(p, "__canvas")) 1189 .get(0) 1190 .getContext("2d"), 1191 o = "auto" === l ? r / 14 : l, 1192 s = r / 2, 1193 c = (Math.PI / 180) * -90; 1194 i(), 1195 n.clearRect(0, 0, r, r), 1196 n.beginPath(), 1197 n.arc(s, s, s - o / 2, c, c + 2 * Math.PI), 1198 (n.lineWidth = o), 1199 (n.strokeStyle = a), 1200 n.stroke(), 1201 n.beginPath(), 1202 n.arc(s, s, s - o / 2, c, c + 2 * Math.PI * (t / 100)), 1203 (n.lineWidth = o), 1204 (n.strokeStyle = d), 1205 n.stroke(), 1206 n.beginPath(), 1207 (n.textAlign = "center"), 1208 (n.font = "16px serif"), 1209 n.fillText(e || t + "%", s + 6.5, s + 5), 1210 n.stroke(); 1211 } 1212 function o(t) { 1213 var e = 0, 1214 i = setInterval(function () { 1215 n(e, t), ++e > s && clearInterval(i); 1216 }, 35); 1217 } 1218 var a, 1219 d, 1220 s, 1221 c, 1222 r, 1223 l, 1224 u, 1225 p = ".wp-block-getwid-circle-progress-bar", 1226 w = t(this); 1227 t(this).addClass("getwid-init"), 1228 (a = w 1229 .find("".concat(p, "__wrapper")) 1230 .data("background-color") 1231 ? w.find("".concat(p, "__wrapper")).data("background-color") 1232 : "#eeeeee"), 1233 (d = w.find("".concat(p, "__wrapper")).data("text-color") 1234 ? w.find("".concat(p, "__wrapper")).data("text-color") 1235 : "#0000ee"), 1236 (s = w.find("".concat(p, "__wrapper")).data("fill-amount")), 1237 (c = w.find("".concat(p, "__wrapper")).data("is-animated")), 1238 (r = w.find("".concat(p, "__wrapper")).data("size")), 1239 (l = w.find("".concat(p, "__wrapper")).data("thickness")), 1240 (u = w.find("".concat(p, "__wrapper")).data("value")); 1241 var f = w.find(t("".concat(p, "__wrapper"))), 1242 g = new Waypoint({ 1243 element: f.get(0), 1244 handler: function () { 1245 c ? o(u) : n(s, u), g.destroy(); 1246 }, 1247 offset: "100%", 1248 }); 1249 } 1250 ); 1251 }; 1252 i(); 1253 }); 1254 })(jQuery); 1255 }, 1256 570: function (t, e) { 1257 /*! 1258 * getwid-counter 1259 */ 1260 !(function (t) { 1261 t(document).ready(function (e) { 1262 t(document.body).on("post-load", function (t) { 1263 i(); 1264 }); 1265 var i = function () { 1266 t(".wp-block-getwid-counter:not(.getwid-init)").each(function (e) { 1267 function i() { 1268 if (!r) return null; 1269 switch (w) { 1270 case "outExpo": 1271 return function (t, e, i, n) { 1272 return ( 1273 (i * (1 - Math.pow(2, (-10 * t) / n)) * 1024) / 1023 + e 1274 ); 1275 }; 1276 case "outQuintic": 1277 return function (t, e, i, n) { 1278 var o = (t /= n) * t, 1279 a = o * t; 1280 return ( 1281 e + i * (a * o + -5 * o * o + 10 * a + -10 * o + 5 * t) 1282 ); 1283 }; 1284 case "outCubic": 1285 return function (t, e, i, n) { 1286 var o = (t /= n) * t; 1287 return e + i * (o * t + -3 * o + 3 * t); 1288 }; 1289 } 1290 } 1291 function n() { 1292 switch (f) { 1293 case "eastern_arabic": 1294 return ["Ù ", "Ù¡", "Ù¢", "Ù£", "Ù¤", "Ù¥", "Ù¦", "Ù§", "Ù¨", "Ù©"]; 1295 case "farsi": 1296 return ["Û°", "Û±", "Û²", "Û³", "Û´", "Ûµ", "Û¶", "Û·", "Û¸", "Û¹"]; 1297 default: 1298 return null; 1299 } 1300 } 1301 function o() { 1302 return { 1303 startVal: a, 1304 decimalPlaces: s, 1305 duration: c, 1306 useEasing: r, 1307 useGrouping: l, 1308 separator: u,
1309 decimal: p, 1310 easingFn: i(), 1311 numerals: n(), 1312 }; 1313 } 1314 t(this).addClass("getwid-init"); 1315 var a, 1316 d, 1317 s, 1318 c, 1319 r, 1320 l, 1321 u, 1322 p, 1323 w, 1324 f, 1325 g = ".wp-block-getwid-counter", 1326 m = t(this); 1327 (a = m.find("".concat(g, "__wrapper")).data("start")), 1328 (d = m.find("".concat(g, "__wrapper")).data("end")), 1329 (s = m.find("".concat(g, "__wrapper")).data("decimal-places")), 1330 (c = m.find("".concat(g, "__wrapper")).data("duration")), 1331 (r = m.find("".concat(g, "__wrapper")).data("use-easing")), 1332 (l = m.find("".concat(g, "__wrapper")).data("use-grouping")), 1333 (u = m.find("".concat(g, "__wrapper")).data("separator")), 1334 (p = m.find("".concat(g, "__wrapper")).data("decimal")), 1335 (w = m.find("".concat(g, "__wrapper")).data("easing-fn")), 1336 (f = m.find("".concat(g, "__wrapper")).data("numerals")); 1337 var h = m.find("".concat(g, "__number")), 1338 _ = new Waypoint({ 1339 element: h.get(0), 1340 handler: function () { 1341 new CountUp(h.get(0), d, o()).start(), _.destroy(); 1342 }, 1343 offset: "100%", 1344 }); 1345 }); 1346 }; 1347 i(); 1348 }); 1349 })(jQuery); 1350 }, 1351 571: function (t, e) { 1352 /*! 1353 * getwid-contact-form 1354 */ 1355 !(function (t) { 1356 var e = this; 1357 t(document).ready(function (i) { 1358 t(document.body).on("post-load", function (t) { 1359 n(); 1360 }); 1361 var n = function () { 1362 t(".wp-block-getwid-contact-form__form:not(.getwid-init)").each( 1363 function (i, n) { 1364 t(e).addClass("getwid-init"); 1365 var o, 1366 a = t(n).find("p[class$=__result]"), 1367 d = t(n).find("button[type='submit']"), 1368 s = t(n).find(".wp-block-getwid-captcha"); 1369 s.length && 1370 (function () { 1371 if (s.length) { 1372 var t = s.data("sitekey"), 1373 e = s.data("theme"); 1374 grecaptcha.ready(function () { 1375 o = grecaptcha.render(s[0], { sitekey: t, theme: e }); 1376 }); 1377 } 1378 })(), 1379 a.hide(), 1380 t(n).submit(function (e) { 1381 e.preventDefault(), d.prop("disabled", !0); 1382 var i = {}; 1383 t(n) 1384 .serializeArray() 1385 .forEach(function (t, e) { 1386 i[t.name] = t.value; 1387 }); 1388 var c = { 1389 action: "getwid_send_mail", 1390 security: Getwid.nonces.recaptcha_v2_contact_form, 1391 data: i, 1392 }; 1393 "" != a.text() && a.hide(300), 1394 t.post(Getwid.ajax_url, c, function (e) { 1395 a.hasClass("success") 1396 ? a.removeClass("success") 1397 : a.hasClass("fail") && a.removeClass("fail"), 1398 d.prop("disabled", !1), 1399 s.length && e.success && grecaptcha.reset(o), 1400 e.success 1401 ? (t(n)[0].reset(), a.addClass("success")) 1402 : a.addClass("fail"), 1403 a.html(e.data), 1404 a.show(300); 1405 }); 1406 }); 1407 } 1408 ); 1409 }; 1410 n(); 1411 }); 1412 })(jQuery); 1413 }, 1414 572: function (t, e) { 1415 /*! 1416 * getwid-post-carousel 1417 */ 1418 !(function (t) { 1419 t(document).ready(function (e) { 1420 t(document.body).on("post-load", function (t) { 1421 i(); 1422 }); 1423 var i = function () { 1424 var e = t( 1425 ".wp-block-getwid-post-carousel:not(.getwid-init) .wp-block-getwid-post-carousel__wrapper" 1426 ); 1427 e.length && 1428 "undefined" != typeof imagesLoaded && 1429 e.each(function (e) { 1430 getwid_post_carousel = t(this); 1431 var i = getwid_post_carousel.data("slider-option"), 1432 n = i.sliderSlidesToShowDesktop, 1433 o = i.getwid_slidesToShowLaptop, 1434 a = i.getwid_slidesToShowTablet, 1435 d = i.getwid_slidesToShowMobile, 1436 s = i.getwid_slidesToScroll, 1437 c = i.getwid_autoplay, 1438 r = i.getwid_autoplay_speed, 1439 l = i.getwid_infinite, 1440 u = i.getwid_animation_speed, 1441 p = i.getwid_center_mode, 1442 w = i.getwid_pause_on_hover, 1443 f = i.getwid_arrows, 1444 g = i.getwid_dots; 1445 (w = !1), 1446 (s = parseInt(s)), 1447 (n = parseInt(n)), 1448 (o = parseInt(o)), 1449 (d = parseInt(d)), 1450 (a = parseInt(a)), 1451 (f = "none" != f), 1452 (g = "none" != g), 1453 getwid_post_carousel
1454 .closest(".wp-block-getwid-post-carousel") 1455 .addClass("getwid-init"), 1456 getwid_post_carousel.imagesLoaded().done(function (e) { 1457 t(e.elements[0]).slick({ 1458 arrows: f, 1459 dots: g, 1460 rows: 0, 1461 slidesToShow: n, 1462 slidesToScroll: s, 1463 autoplay: c, 1464 autoplaySpeed: r, 1465 fade: !1, 1466 speed: u, 1467 infinite: l, 1468 centerMode: p, 1469 variableWidth: !1, 1470 pauseOnHover: w, 1471 adaptiveHeight: !0, 1472 rtl: !!Getwid.isRTL, 1473 responsive: [ 1474 { 1475 breakpoint: 991, 1476 settings: { slidesToShow: o, slidesToScroll: 1 }, 1477 }, 1478 { 1479 breakpoint: 768, 1480 settings: { slidesToShow: a, slidesToScroll: 1 }, 1481 }, 1482 { 1483 breakpoint: 468, 1484 settings: { slidesToShow: d, slidesToScroll: 1 }, 1485 }, 1486 ], 1487 }); 1488 }); 1489 }); 1490 }; 1491 i(); 1492 }); 1493 })(jQuery); 1494 }, 1495 573: function (t, e) { 1496 /*! 1497 * getwid-post-slider 1498 */ 1499 !(function (t) { 1500 t(document).ready(function (e) { 1501 t(document.body).on("post-load", function (t) { 1502 i(); 1503 }); 1504 var i = function () { 1505 var e = t( 1506 ".wp-block-getwid-post-slider:not(.getwid-init) .wp-block-getwid-post-slider__content" 1507 ); 1508 e.length && 1509 "undefined" != typeof imagesLoaded && 1510 e.each(function (e) { 1511 getwid_post_slider = t(this); 1512 var i = getwid_post_slider.data("slider-option"), 1513 n = i.getwid_fade_effect, 1514 o = i.getwid_autoplay, 1515 a = i.getwid_autoplay_speed, 1516 d = i.getwid_infinite, 1517 s = i.getwid_animation_speed, 1518 c = i.getwid_arrows, 1519 r = i.getwid_dots; 1520 (n = "fade" == n), 1521 (getwid_pause_on_hover = !1), 1522 (c = "none" != c), 1523 (r = "none" != r), 1524 getwid_post_slider 1525 .closest(".wp-block-getwid-post-slider") 1526 .addClass("getwid-init"), 1527 getwid_post_slider.imagesLoaded().done(function (e) { 1528 t(e.elements[0]).slick({ 1529 arrows: c, 1530 dots: r, 1531 rows: 0, 1532 slidesToShow: 1, 1533 slidesToScroll: 1, 1534 autoplay: o, 1535 autoplaySpeed: a, 1536 fade: n, 1537 speed: s, 1538 infinite: d, 1539 centerMode: !1, 1540 variableWidth: !1, 1541 pauseOnHover: !1, 1542 adaptiveHeight: !0, 1543 rtl: !!Getwid.isRTL, 1544 }); 1545 }); 1546 }); 1547 }; 1548 i(); 1549 }); 1550 })(jQuery); 1551 }, 1552 574: function (t, e) { 1553 /*! 1554 * getwid-video-popup 1555 */ 1556 !(function (t) { 1557 t(document).ready(function (e) { 1558 t(document.body).on("post-load", function (t) { 1559 i(); 1560 }); 1561 var i = function () { 1562 t(".wp-block-getwid-video-popup:not(.getwid-init)").each(function ( 1563 e 1564 ) { 1565 t(this).addClass("getwid-init"), 1566 t(this) 1567 .find(".wp-block-getwid-video-popup__link") 1568 .fancybox({ baseClass: "getwid-video-popup" }); 1569 }); 1570 }; 1571 i(); 1572 }); 1573 })(jQuery); 1574 }, 1575 575: function (t, e) { 1576 /*! 1577 * getwid-mailchimp 1578 */ 1579 !(function (t) { 1580 var e = this; 1581 t(document).ready(function (i) { 1582 t(document.body).on("post-load", function (t) { 1583 n(); 1584 }); 1585 var n = function () { 1586 t(".wp-block-getwid-mailchimp__form:not(.getwid-init)").each( 1587 function (i, n) { 1588 t(e).addClass("getwid-init"); 1589 var o = t(n).find("p[class$=__result]"), 1590 a = t(n).find("button[type='submit']"); 1591 o.hide(), 1592 t(n).submit(function (e) { 1593 e.preventDefault(), a.prop("disabled", !0); 1594 var i = {}; 1595 t(n) 1596 .serializeArray() 1597 .forEach(function (t, e) {
1598 i[t.name] = t.value; 1599 }); 1600 var d = { action: "getwid_subscribe", data: i }; 1601 "" != o.text() && o.hide(300), 1602 t.post(Getwid.ajax_url, d, function (e) { 1603 o.hasClass("success") 1604 ? o.removeClass("success") 1605 : o.hasClass("fail") && o.removeClass("fail"), 1606 a.prop("disabled", !1), 1607 e.success 1608 ? (t(n)[0].reset(), o.addClass("success")) 1609 : o.addClass("fail"), 1610 o.html(e.data), 1611 o.show(300); 1612 }); 1613 }); 1614 } 1615 ); 1616 }; 1617 n(); 1618 }); 1619 })(jQuery); 1620 }, 1621 576: function (t, e, i) { 1622 "use strict"; 1623 var n = i(23); 1624 /*! 1625 * getwid-image-hotspot 1626 */ 1627 !(function (t) { 1628 t(document).ready(function (e) { 1629 t(document.body).on("post-load", function (t) { 1630 i(); 1631 }); 1632 var i = function () { 1633 t(".wp-block-getwid-image-hotspot:not(.getwid-init)").each( 1634 function (e, i) { 1635 t(this).addClass("getwid-init"); 1636 var o = t(i).data("trigger"), 1637 a = t(i).data("theme"), 1638 d = t(i).data("tooltip-animation"), 1639 s = t(i).data("arrow"), 1640 c = t(i).data("image-points"); 1641 t(".getwid-animation .wp-block-getwid-image-hotspot__dot").on( 1642 "mouseenter", 1643 function () { 1644 Object(n.a)(t(this), { 1645 animation: t(this) 1646 .closest(".getwid-animation") 1647 .attr("data-animation"), 1648 }); 1649 } 1650 ), 1651 t(i) 1652 .find(".wp-block-getwid-image-hotspot__dot") 1653 .each(function (e, i) { 1654 var n = t(i), 1655 r = n.data("point-id"), 1656 l = _unescape( 1657 n 1658 .find(".wp-block-getwid-image-hotspot__dot-title") 1659 .html() 1660 ), 1661 u = _unescape(c[r].content), 1662 p = c[r].popUpOpen, 1663 w = c[r].placement, 1664 f = c[r].popUpWidth, 1665 g = tippy(i, { 1666 maxWidth: parseInt(f, 10), 1667 hideOnClick: "multiple" != o || "toggle", 1668 theme: a, 1669 animation: d, 1670 animateFill: !1, 1671 interactive: !0, 1672 trigger: "hover" == o ? "mouseenter" : "click", 1673 arrow: s, 1674 placement: w, 1675 allowHTML: !0, 1676 content: 1677 '<div class="wp-block-getwid-image-hotspot__tooltip"><div class="wp-block-getwid-image-hotspot__tooltip-title">' 1678 .concat( 1679 l, 1680 '</div><div class="wp-block-getwid-image-hotspot__tooltip-content">' 1681 ) 1682 .concat(u, "</div></div>"), 1683 }); 1684 p && 1685 setTimeout(function () { 1686 g.show(); 1687 }, 1e3), 1688 n 1689 .find( 1690 ".wp-block-getwid-image-hotspot__dot-description" 1691 ) 1692 .remove(), 1693 new Waypoint({ 1694 element: i, 1695 handler: function (e) { 1696 t(this.element).addClass("is-visible"); 1697 }, 1698 offset: "100%", 1699 }); 1700 }); 1701 } 1702 ); 1703 }; 1704 i(); 1705 }); 1706 })(jQuery); 1707 }, 1708 577: function (t, e, i) { 1709 "use strict"; 1710 var n = i(29), 1711 o = i.n(n); 1712 /*! 1713 * getwid-content-timeline 1714 */ 1715 !(function (t) { 1716 var e = this; 1717 t(document).ready(function (i) { 1718 t(document.body).on("post-load", function (t) { 1719 n(); 1720 }); 1721 var n = function () { 1722 t(".wp-block-getwid-content-timeline:not(.getwid-init)").each( 1723 function (i, n) { 1724 t(e).addClass("getwid-init"); 1725 var a = !1, 1726 d = "wp-block-getwid-content-timeline-item", 1727 s = t(n).find(".".concat(d)), 1728 c = 1729 "none" != t(n).data("animation") 1730 ? t(n).data("animation") 1731 : null, 1732 r = t(n).find("div[class$=__point]").data("point-color"), 1733 l = t(n).data("filling"); 1734 t.each(s, function (e, i) { 1735 c && 1736 (i.getBoundingClientRect().top > 0.8 * window.innerHeight 1737 ? t(i).addClass("is-hidden") 1738 : t(i).addClass(c)); 1739 var n = t(i).find(".".concat(d, "__content-wrapper")); 1740 (0 == n.children().length || 1741 n.find(".".concat(d, "__mobile-meta")).is(":only-child")) && 1742 n.addClass("has-no-content"); 1743 }); 1744 var u = function (e) { 1745 t.each(s, function (i, n) { 1746 t(n).hasClass("is-hidden") && 1747 n.getBoundingClientRect().top <= 1748 0.8 * window.innerHeight && 1749 (t(n).removeClass("is-hidden"), t(n).addClass(e)); 1750 }), 1751 (a = !1); 1752 }; 1753 c && 1754 t(document).on("scroll", function () { 1755 a || 1756 ((a = !0), 1757 window.requestAnimationFrame 1758 ? window.requestAnimationFrame(function () { 1759 return u(c); 1760 }) 1761 : setTimeout(function () { 1762 return u(c); 1763 }, 250)); 1764 }); 1765 var p = t(window).height() / 2, 1766 w = function () { 1767 var e = t(n).find(".".concat(d, "__point")), 1768 i = 0; 1769 t.each(e, function (t, n) { 1770 e[t + 1] && 1771 (i += 1772 e[t + 1].getBoundingClientRect().top - 1773 n.getBoundingClientRect().top); 1774 }); 1775 var a = t(n).find("div[class$=__line]"), 1776 s = e.get(), 1777 c = o()(s), 1778 r = c[0], 1779 l = (c.slice(1), t(r).position().top + t(r).height() / 2); 1780 a.css({ height: i, top: l }); 1781 }, 1782 f = function () { 1783 var e = t(n).find(".".concat(d, "__point")), 1784 i = e.get(), 1785 a = o()(i); 1786 a[0], 1787 a.slice(1).length && 1788 t.each(e, function (e, i) { 1789 var n = i.getBoundingClientRect().top, 1790 o = t(i).parents(".".concat(d))[0]; 1791 n <= p 1792 ? (t(o).hasClass("is-active") || 1793 t(o).addClass("is-active"), 1794 t(i) 1795 .find(":first-child") 1796 .css({ borderColor: r || "" })) 1797 : (t(o).hasClass("is-active") && 1798 t(o).removeClass("is-active"), 1799 t(i) 1800 .find(":first-child") 1801 .css({ borderColor: "" })); 1802 }); 1803 }, 1804 g = function () { 1805 var e = t(n).find(".".concat(d, "__point")), 1806 i = t(n).find("div[class*=__bar]")[0], 1807 a = i.getBoundingClientRect().top, 1808 s = e.toArray(), 1809 c = o()(s), 1810 r = c[0], 1811 l = c.slice(1), 1812 u = p - r.getBoundingClientRect().top; 1813 if (l.length) { 1814 var w = l.slice(-1).pop(), 1815 f = w.getBoundingClientRect().top; 1816 a <= p && f >= p && t(i).css({ height: u }), 1817 a >= p && t(i).css({ height: 0 }), 1818 f <= p && t(i).css({ height: "100%" }); 1819 } 1820 }; 1821 t(document).ready(function () { 1822 var e = setInterval(function () { 1823 "complete" == document.readyState && 1824 (w(), 1825 l && (f(), g()), 1826 l && 1827 t(document).on("scroll", function () { 1828 f(), g(); 1829 }), 1830 clearInterval(e)); 1831 }, 1e3); 1832 }), 1833 t(window).on("resize", function () { 1834 w(), l && (f(), g()); 1835 }); 1836 } 1837 ); 1838 }; 1839 n(); 1840 }); 1841 })(jQuery); 1842 }, 1843 578: function (t, e) { 1844 /*! 1845 * getwid-countdown 1846 */ 1847 !(function (t) { 1848 t(document).ready(function (e) { 1849 t(document.body).on("post-load", function (t) { 1850 i(); 1851 }); 1852 var i = function () { 1853 t(".wp-block-getwid-countdown:not(.getwid-init)").each(function ( 1854 e, 1855 i 1856 ) { 1857 t(this).addClass("getwid-init"); 1858 var n = jQuery(i).find(".wp-block-getwid-countdown__content"), 1859 o = n.data("datetime"), 1860 a = n.data("years"), 1861 d = n.data("months"), 1862 s = n.data("weeks"), 1863 c = n.data("days"), 1864 r = n.data("hours"), 1865 l = n.data("minutes"), 1866 u = n.data("seconds"), 1867 p = n.data("bg-color"), 1868 w = "negative" == o ? "" : o, 1869 f = ""; 1870 a && (f += "Y"), 1871 d && (f += "O"), 1872 s && (f += "W"), 1873 c && (f += "D"), 1874 r && (f += "H"), 1875 l && (f += "M"), 1876 u && (f += "S"), 1877 n.countdown({ 1878 until: w, 1879 format: f, 1880 onTick: function (t) { 1881 var e = jQuery(".countdown-section", n); 1882 p && e.css("background-color", p); 1883 }, 1884 }); 1885 }); 1886 }; 1887 i(); 1888 }); 1889 })(jQuery); 1890 }, 1891 579: function (t, e) { 1892 /*! 1893 * getwid-content-slider 1894 */ 1895 !(function (t) { 1896 t(document).ready(function (e) { 1897 t(document.body).on("post-load", function (t) { 1898 i(); 1899 }); 1900 var i = function () { 1901 var e = t(".wp-block-getwid-content-slider:not(.getwid-init)"); 1902 e.length && 1903 e.each(function (e) { 1904 var i, 1905 n, 1906 o, 1907 a, 1908 d, 1909 s, 1910 c, 1911 r, 1912 l, 1913 u, 1914 p, 1915 w = t(this), 1916 f = w 1917 .find(".wp-block-getwid-content-slider__wrapper") 1918 .first(); 1919 w.addClass("getwid-init"), 1920 f.slick({ 1921 autoplay: !!w.data("autoplay"), 1922 autoplaySpeed: 1923 null !== (i = w.data("autoplay-speed")) && void 0 !== i 1924 ? i 1925 : 3e3, 1926 arrows: "none" !== w.data("arrows"), 1927 dots: "none" !== w.data("dots"), 1928 speed: 1929 null !== (n = w.data("animation-speed")) && void 0 !== n 1930 ? n 1931 : 800, 1932 infinite: !!w.data("infinite"), 1933 fade: "fade" === w.data("effect"), 1934 centerMode: !!w.data("center-mode"), 1935 adaptiveHeight: !!w.data("adaptive-height"), 1936 draggable: 1937 null === (o = w.data("draggable")) || void 0 === o || o, 1938 pauseOnHover: !!w.data("pause-hover"), 1939 rows: 0, 1940 slidesToShow: 1941 null !== (a = w.data("slides-show")) && void 0 !== a 1942 ? a 1943 : 1, 1944 slidesToScroll: 1945 null !== (d = w.data("slides-scroll")) && void 0 !== d 1946 ? d 1947 : 1, 1948 rtl: !!Getwid.isRTL, 1949 responsive: [ 1950 { 1951 breakpoint: 991, 1952 settings: { 1953 slidesToShow: 1954 null !== (s = w.data("slides-show-laptop")) && 1955 void 0 !== s 1956 ? s 1957 : 1, 1958 slidesToScroll: 1959 null !== (c = w.data("slides-scroll-laptop")) && 1960 void 0 !== c 1961 ? c 1962 : 1, 1963 }, 1964 }, 1965 { 1966 breakpoint: 768, 1967 settings: { 1968 slidesToShow: 1969 null !== (r = w.data("slides-show-tablet")) && 1970 void 0 !== r 1971 ? r 1972 : 1, 1973 slidesToScroll: 1974 null !== (l = w.data("slides-scroll-tablet")) && 1975 void 0 !== l 1976 ? l 1977 : 1, 1978 }, 1979 }, 1980 { 1981 breakpoint: 468, 1982 settings: { 1983 slidesToShow: 1984 null !== (u = w.data("slides-show-mobile")) && 1985 void 0 !== u 1986 ? u 1987 : 1, 1988 slidesToScroll: 1989 null !== (p = w.data("slides-scroll-mobile")) && 1990 void 0 !== p 1991 ? p 1992 : 1, 1993 }, 1994 }, 1995 ], 1996 }); 1997 }); 1998 }; 1999 i(); 2000 }); 2001 })(jQuery); 2002 }, 2003 }));
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.