1 2document.addEventListener("DOMContentLoaded",(t=>{var e;wpcf7_recaptcha={...null!==(e=wpcf7_recaptcha)&&void 0!==e?e:{}};const c=wpcf7_recaptcha.sitekey,{homepage:n,contactform:a}=wpcf7_recaptcha.actions,o=t=>{const{action:e,func:n,params:a}=t;grecaptcha.execute(c,{action:e}).then((t=>{const c=new CustomEvent("wpcf7grecaptchaexecuted",{detail:{action:e,token:t}});document.dispatchEvent(c)})).then((()=>{"function"==typeof n&&n(...a)})).catch((t=>console.error(t)))};if(grecaptcha.ready((()=>{o({action:n})})),document.addEventListener("change",(t=>{o({action:a})})),"undefined"!=typeof wpcf7&&"function"==typeof wpcf7.submit){const t=wpcf7.submit;wpcf7.submit=function(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o({action:a,func:t,params:[e,c]})}}document.addEventListener("wpcf7grecaptchaexecuted",(t=>{const e=document.querySelectorAll('form.wpcf7-form input[name="_wpcf7_recaptcha_response"]');for(let c=0;c<e.length;c++)e[c].setAttribute("value",t.detail.token)}))})); 3 4 5 6/*! This file is auto-generated */ 7!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(i){"use strict";function u(e){return"function"==typeof e}var r,v,a={interval:100,sensitivity:6,timeout:0},f=0,s=function(e){r=e.pageX,v=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-r)*(n.pX-r)+(n.pY-v)*(n.pY-v))<o.sensitivity)return t.off(n.event,s),delete n.timeoutId,n.isActive=!0,e.pageX=r,e.pageY=v,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=r,n.pY=v,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};i.fn.hoverIntent=function(e,t,n){var o=f++,d=i.extend({},a);i.isPlainObject(e)?(d=i.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?i.extend(d,{over:e,out:t,selector:n}):i.extend(d,{over:e,out:e,selector:t});t=function(e){var u=i.extend({},e),r=i(this),t=r.data("hoverIntent");
7t||r.data("hoverIntent",t={});var v=t[o];v||(t[o]=v={id:o}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId));t=v.event="mousemove.hoverIntent.hoverIntent"+o;"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,s).on(t,s),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,s),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))};return this.on({"mouseenter.hoverIntent":t,"mouseleave.hoverIntent":t},d.selector)}}); 8 9 10 11/*! Max Mega Menu jQuery Plugin */ 12(function($){"use strict";$.maxmegamenu=function(menu,options){var plugin=this;var $menu=$(menu);var $toggle_bar=$menu.siblings(".mega-menu-toggle");var html_body_class_timeout;var defaults={event:$menu.attr("data-event"),effect:$menu.attr("data-effect"),effect_speed:parseInt($menu.attr("data-effect-speed")),effect_mobile:$menu.attr("data-effect-mobile"),effect_speed_mobile:parseInt($menu.attr("data-effect-speed-mobile")),panel_width:$menu.attr("data-panel-width"),panel_inner_width:$menu.attr("data-panel-inner-width"),mobile_force_width:$menu.attr("data-mobile-force-width"),mobile_overlay:$menu.attr("data-mobile-overlay"),mobile_state:$menu.attr("data-mobile-state"),second_click:$menu.attr("data-second-click"),vertical_behaviour:$menu.attr("data-vertical-behaviour"),document_click:$menu.attr("data-document-click"),breakpoint:$menu.attr("data-breakpoint"),unbind_events:$menu.attr("data-unbind"),hover_intent_timeout:$menu.attr("data-hover-intent-timeout"),hover_intent_interval:$menu.attr("data-hover-intent-interval")};plugin.settings={};var items_with_submenus=$("li.mega-menu-megamenu.mega-menu-item-has-children,"+"li.mega-menu-flyout.mega-menu-item-has-children,"+"li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item-has-children,"+"li.mega-menu-flyout li.mega-menu-item-has-children",menu);var collapse_children_parents=$("li.mega-menu-megamenu li.mega-menu-item-has-children.mega-collapse-children > a.mega-menu-link",menu);plugin.addAnimatingClass=function(element){if(plugin.settings.effect==="disabled"){return} 13$(".mega-animating").removeClass("mega-animating");var timeout=plugin.settings.effect_speed+parseInt(megamenu.timeout,10);element.addClass("mega-animating");setTimeout(function(){element.removeClass("mega-animating")},timeout)};plugin.hideAllPanels=function(){$(".mega-toggle-on > a.mega-menu-link",$menu).each(function(){plugin.hidePanel($(this),!1)})};plugin.expandMobileSubMenus=function(){$(".mega-menu-item-has-children.mega-expand-on-mobile > a.mega-menu-link",$menu).each(function(){plugin.showPanel($(this))});if(plugin.settings.mobile_state=='expand_all'){$(".mega-menu-item-has-children > a.mega-menu-link",$menu).each(function(){plugin.showPanel($(this))})} 14if(plugin.settings.mobile_state=='expand_active'){$("li.mega-current-menu-ancestor.mega-menu-item-has-children > a.mega-menu-link,"+"li.mega-current-menu-item.mega-menu-item-has-children > a.mega-menu-link"+"li.mega-current-menu-parent.mega-menu-item-has-children > a.mega-menu-link"+"li.mega-current_page_ancestor.mega-menu-item-has-children > a.mega-menu-link"+"li.mega-current_page_item.mega-menu-item-has-children > a.mega-menu-link",$menu).each(function(){plugin.showPanel($(this))})}} 15plugin.hideSiblingPanels=function(anchor,immediate){anchor.parent().parent().find(".mega-toggle-on").children("a.mega-menu-link").each(function(){plugin.hidePanel($(this),immediate)})};plugin.isDesktopView=function(){return Math.max(window.outerWidth,$(window).width())>plugin.settings.breakpoint};plugin.isMobileView=function(){return!plugin.isDesktopView()};plugin.showPanel=function(anchor){anchor.parent().triggerHandler("before_open_panel");anchor.attr("aria-expanded","true");$(".mega-animating").removeClass("mega-animating");if(plugin.isMobileView()&&anchor.parent().hasClass("mega-hide-sub-menu-on-mobile")){return} 16if(plugin.isDesktopView()&&($menu.hasClass("mega-menu-horizontal")||$menu.hasClass("mega-menu-vertical"))&&!anchor.parent().hasClass("mega-collapse-children")){plugin.hideSiblingPanels(anchor,!0)} 17if((plugin.isMobileView()&&$menu.hasClass("mega-keyboard-navigation"))||plugin.settings.vertical_behaviour==="accordion"){plugin.hideSiblingPanels(anchor,!1)} 18plugin.calculateDynamicSubmenuWidths(anchor);if(anchor.parent().hasClass("mega-collapse-children")||plugin.settings.effect==="slide"||(plugin.isMobileView()&&(plugin.settings.effect_mobile==="slide"||plugin.settings.effect_mobile==="slide_left"||plugin.settings.effect_mobile==="slide_right"))){var speed=plugin.isMobileView()?plugin.settings.effect_speed_mobile:plugin.settings.effect_speed;anchor.siblings(".mega-sub-menu").css("display","none").animate({"height":"show","paddingTop":"show","paddingBottom":"show","minHeight":"show"},speed,function(){$(this).css("display","")})} 19anchor.parent().addClass("mega-toggle-on").triggerHandler("open_panel")};plugin.hidePanel=function(anchor,immediate){anchor.parent().triggerHandler("before_close_panel");
19anchor.attr("aria-expanded","false");if(anchor.parent().hasClass("mega-collapse-children")||(!immediate&&plugin.settings.effect==="slide")||(plugin.isMobileView()&&(plugin.settings.effect_mobile==="slide"||plugin.settings.effect_mobile==="slide_left"||plugin.settings.effect_mobile==="slide_right"))){var speed=plugin.isMobileView()?plugin.settings.effect_speed_mobile:plugin.settings.effect_speed;anchor.siblings(".mega-sub-menu").animate({"height":"hide","paddingTop":"hide","paddingBottom":"hide","minHeight":"hide"},speed,function(){anchor.siblings(".mega-sub-menu").css("display","");anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel")});return} 20if(immediate){anchor.siblings(".mega-sub-menu").css("display","none").delay(plugin.settings.effect_speed).queue(function(){$(this).css("display","").dequeue()})} 21anchor.siblings(".mega-sub-menu").find(".widget_media_video video").each(function(){this.player.pause()});anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel");plugin.addAnimatingClass(anchor.parent())};plugin.calculateDynamicSubmenuWidths=function(anchor){if(anchor.parent().hasClass("mega-menu-megamenu")&&anchor.parent().parent().hasClass("max-mega-menu")&&plugin.settings.panel_width&&$(plugin.settings.panel_width).length>0){if(plugin.isDesktopView()){var submenu_offset=$menu.offset();var target_offset=$(plugin.settings.panel_width).offset();anchor.siblings(".mega-sub-menu").css({width:$(plugin.settings.panel_width).outerWidth(),left:(target_offset.left-submenu_offset.left)+"px"})}else{anchor.siblings(".mega-sub-menu").css({width:"",left:""})}} 22if(anchor.parent().hasClass("mega-menu-megamenu")&&anchor.parent().parent().hasClass("max-mega-menu")&&plugin.settings.panel_inner_width&&$(plugin.settings.panel_inner_width).length>0){var target_width=0;if($(plugin.settings.panel_inner_width).length){target_width=parseInt($(plugin.settings.panel_inner_width).width(),10)}else{target_width=parseInt(plugin.settings.panel_inner_width,10)} 23var submenu_width=parseInt(anchor.siblings(".mega-sub-menu").innerWidth(),10);if(plugin.isDesktopView()&&target_width>0&&target_width<submenu_width){anchor.siblings(".mega-sub-menu").css({"paddingLeft":(submenu_width-target_width)/2+"px","paddingRight":(submenu_width-target_width)/2+"px"})}else{anchor.siblings(".mega-sub-menu").css({"paddingLeft":"","paddingRight":""})}}};plugin.bindClickEvents=function(){var dragging=!1;$(document).on({"touchmove":function(e){dragging=!0},"touchstart":function(e){dragging=!1}});$(document).on("click touchend",function(e){if(!dragging&&plugin.settings.document_click==="collapse"&&!$(e.target).closest(".max-mega-menu li").length&&!$(e.target).closest(".mega-menu-toggle").length){plugin.hideAllPanels();plugin.hideMobileMenu()} 24dragging=!1});var clickable_parents=$("> a.mega-menu-link",items_with_submenus).add(collapse_children_parents);clickable_parents.on("touchend.megamenu",function(e){plugin.unbindHoverEvents();plugin.unbindHoverIntentEvents()});clickable_parents.not("[data-has-click-event]").on("click.megamenu",function(e){if(plugin.isDesktopView()&&$(this).parent().hasClass("mega-toggle-on")&&$(this).parent().parent().parent().hasClass("mega-menu-tabbed")){if(plugin.settings.second_click==="go"){return}else{e.preventDefault();return}} 25if(dragging){return} 26if(plugin.isMobileView()&&$(this).parent().hasClass("mega-hide-sub-menu-on-mobile")){return} 27if((plugin.settings.second_click==="go"||$(this).parent().hasClass("mega-click-click-go"))&&$(this).attr("href")!==undefined){if(!$(this).parent().hasClass("mega-toggle-on")){e.preventDefault();plugin.showPanel($(this))}}else{e.preventDefault();if($(this).parent().hasClass("mega-toggle-on")){plugin.hidePanel($(this),!1)}else{plugin.showPanel($(this))}}});collapse_children_parents.each(function(){$(this).attr('data-has-click-event','true')})};plugin.bindHoverEvents=function(){items_with_submenus.on({"mouseenter.megamenu":function(){plugin.unbindClickEvents();if(!$(this).hasClass("mega-toggle-on")){plugin.showPanel($(this).children("a.mega-menu-link"))}},"mouseleave.megamenu":function(){if($(this).hasClass("mega-toggle-on")&&!$(this).hasClass("mega-disable-collapse")&&!$(this).parent().parent().hasClass("mega-menu-tabbed")){plugin.hidePanel($(this).children("a.mega-menu-link"),!1)}}})};plugin.bindHoverIntentEvents=function(){items_with_submenus.hoverIntent({over:function(){plugin.unbindClickEvents();if(!$(this).hasClass("mega-toggle-on")){plugin.showPanel($(this).children("a.mega-menu-link"))}},out:function(){if($(this).hasClass("mega-toggle-on")&&!$(this).hasClass("mega-disable-collapse")&&!$(this).parent().parent().hasClass("mega-menu-tabbed")){plugin.hidePanel($(this).children("a.mega-menu-link"),!1)}},timeout:plugin.settings.hover_intent_timeout,interval:plugin.settings.hover_intent_interval})};plugin.bindKeyboardEvents=function(){var tab_key=9;var escape_key=27;var enter_key=13;var left_arrow_key=37;var right_arrow_key=39;var space_key=32;$menu.parent().on("keyup.megamenu",function(e){var keyCode=e.keyCode||e.which;if(keyCode===tab_key){$menu.parent().addClass("mega-keyboard-navigation")}});$menu.parent().on("keydown.megamenu",function(e){var keyCode=e.keyCode||e.which;var active_link=$(e.target);if(keyCode===space_key&&active_link.is(".mega-menu-link")&&$menu.parent().hasClass("mega-keyboard-navigation")){e.preventDefault();if(active_link.parent().is(items_with_submenus)){if(active_link.parent().hasClass("mega-toggle-on")&&!active_link.parent().parent().parent().hasClass("mega-menu-tabbed")){plugin.hidePanel(active_link)}else{plugin.showPanel(active_link)}}}});$menu.parent().on("keyup.megamenu",function(e){var keyCode=e.keyCode||e.which;var active_link=$(e.target);if(keyCode===tab_key&&$menu.parent().hasClass("mega-keyboard-navigation")){if(active_link.parent().is(items_with_submenus)&&active_link.is("[href]")!==!1){plugin.showPanel(active_link)}else{if(!active_link.parent().parent().parent().hasClass("mega-menu-tabbed")){plugin.hideSiblingPanels(active_link)}}} 28if(keyCode===escape_key&&$menu.parent().hasClass("mega-keyboard-navigation")){var submenu_open=$("> .mega-toggle-on",$menu).length!==0;$("> .mega-toggle-on > a.mega-menu-link",$menu).focus();plugin.hideAllPanels();if(plugin.isMobileView()&&!submenu_open){plugin.hideMobileMenu();$(".mega-menu-toggle-block, button.mega-toggle-animated",$toggle_bar).first().focus()}} 29if(keyCode===enter_key&&$menu.parent().hasClass("mega-keyboard-navigation")){if(active_link.hasClass("mega-menu-toggle-block")){if($toggle_bar.hasClass("mega-menu-open")){plugin.hideMobileMenu()}else{plugin.showMobileMenu()}} 30if(active_link.parent().is(items_with_submenus)&&active_link.is("[href]")===!1){if(active_link.parent().hasClass("mega-toggle-on")&&!active_link.parent().parent().parent().hasClass("mega-menu-tabbed")){plugin.hidePanel(active_link)}else{plugin.showPanel(active_link)}}} 31if(keyCode===right_arrow_key&&plugin.isDesktopView()&&$menu.parent().hasClass("mega-keyboard-navigation")&&$menu.hasClass("mega-menu-horizontal")){var next_top_level_item=$("> .mega-toggle-on",$menu).nextAll("li.mega-menu-item:visible").find("> a.mega-menu-link, .mega-search input[type=text]").first();if(next_top_level_item.length===0){next_top_level_item=$(":focus",$menu).parent().nextAll("li.mega-menu-item:visible").find("> a.mega-menu-link, .mega-search input[type=text]").first()} 32next_top_level_item.focus();if(next_top_level_item.parent().is(items_with_submenus)&&next_top_level_item.is("[href]")!==!1){plugin.showPanel(next_top_level_item)}else{plugin.hideSiblingPanels(next_top_level_item)}} 33if(keyCode===left_arrow_key&&plugin.isDesktopView()&&$menu.parent().hasClass("mega-keyboard-navigation")&&$menu.hasClass("mega-menu-horizontal")){var prev_top_level_item=$("> .mega-toggle-on",$menu).prevAll("li.mega-menu-item:visible").find("> a.mega-menu-link, .mega-search input[type=text]").last();if(prev_top_level_item.length===0){prev_top_level_item=$(":focus",$menu).parent().prevAll("li.mega-menu-item:visible").find("> a.mega-menu-link, .mega-search input[type=text]").last()} 34prev_top_level_item.focus();if(prev_top_level_item.parent().is(items_with_submenus)&&prev_top_level_item.is("[href]")!==!1){plugin.showPanel(prev_top_level_item)}else{plugin.hideSiblingPanels(prev_top_level_item)}}});$menu.parent().on("focusout.megamenu",function(e){if($menu.parent().hasClass("mega-keyboard-navigation")){setTimeout(function(){var menu_has_focus=$menu.parent().find(":focus").length>0;if(!menu_has_focus){$menu.parent().removeClass("mega-keyboard-navigation");plugin.hideAllPanels();plugin.hideMobileMenu()}},10)}})};plugin.unbindAllEvents=function(){$("ul.mega-sub-menu, li.mega-menu-item, li.mega-menu-row, li.mega-menu-column, a.mega-menu-link, span.mega-indicator",menu).off().unbind()};plugin.unbindClickEvents=function(){$("> a.mega-menu-link",items_with_submenus).not(collapse_children_parents).off("click.megamenu touchend.megamenu")};plugin.unbindHoverEvents=function(){items_with_submenus.unbind("mouseenter.megamenu mou
34seleave.megamenu")};plugin.unbindHoverIntentEvents=function(){items_with_submenus.unbind("mouseenter mouseleave").removeProp("hoverIntent_t").removeProp("hoverIntent_s")};plugin.unbindKeyboardEvents=function(){$menu.parent().off("keyup.megamenu keydown.megamenu focusout.megamenu")};plugin.unbindMegaMenuEvents=function(){if(plugin.settings.event==="hover_intent"){plugin.unbindHoverIntentEvents()} 35if(plugin.settings.event==="hover"){plugin.unbindHoverEvents()} 36plugin.unbindClickEvents();plugin.unbindKeyboardEvents()};plugin.bindMegaMenuEvents=function(){plugin.unbindMegaMenuEvents();if(plugin.isDesktopView()&&plugin.settings.event==="hover_intent"){plugin.bindHoverIntentEvents()} 37if(plugin.isDesktopView()&&plugin.settings.event==="hover"){plugin.bindHoverEvents()} 38plugin.bindClickEvents();plugin.bindKeyboardEvents()};plugin.checkWidth=function(){if(plugin.isMobileView()&&$menu.data("view")==="desktop"){plugin.switchToMobile()} 39if(plugin.isDesktopView()&&$menu.data("view")==="mobile"){plugin.switchToDesktop()} 40plugin.calculateDynamicSubmenuWidths($("> li.mega-menu-megamenu > a.mega-menu-link",$menu))};plugin.reverseRightAlignedItems=function(){if(!$("body").hasClass("rtl")){$menu.append($menu.children("li.mega-item-align-right").get().reverse())}};plugin.addClearClassesToMobileItems=function(){$(".mega-menu-row",$menu).each(function(){$("> .mega-sub-menu > .mega-menu-column:not(.mega-hide-on-mobile)",$(this)).filter(":even").addClass("mega-menu-clear")})};plugin.initDesktop=function(){$menu.data("view","desktop");plugin.bindMegaMenuEvents();plugin.initIndicators()};plugin.switchToDesktop=function(){$menu.data("view","desktop");plugin.bindMegaMenuEvents();plugin.reverseRightAlignedItems();plugin.hideAllPanels();plugin.hideMobileMenu(!0)};plugin.initMobile=function(){plugin.switchToMobile()};plugin.switchToMobile=function(){$menu.data("view","mobile");plugin.bindMegaMenuEvents();plugin.initIndicators();plugin.reverseRightAlignedItems();plugin.addClearClassesToMobileItems();plugin.hideAllPanels();plugin.expandMobileSubMenus()};plugin.initToggleBar=function(){$toggle_bar.on("click",function(e){if($(e.target).is(".mega-menu-toggle, .mega-menu-toggle-custom-block *, .mega-menu-toggle-block, .mega-menu-toggle-animated-block, .mega-menu-toggle-animated-block *, .mega-toggle-blocks-left, .mega-toggle-blocks-center, .mega-toggle-blocks-right, .mega-toggle-label, .mega-toggle-label span")){e.preventDefault();if($(this).hasClass("mega-menu-open")){plugin.hideMobileMenu()}else{plugin.showMobileMenu()}}})};plugin.initIndicators=function(){$("span.mega-indicator",$menu).not("[data-has-click-event]").on("click.megamenu",function(e){e.preventDefault();e.stopPropagation();if($(this).parent().parent().hasClass("mega-toggle-on")){if(!$(this).parent().parent().parent().parent().hasClass("mega-menu-tabbed")||plugin.isMobileView()){plugin.hidePanel($(this).parent(),!1)}}else{plugin.showPanel($(this).parent(),!1)}});$("span.mega-indicator",$menu).each(function(){$(this).attr('data-has-click-event','true')})} 41plugin.hideMobileMenu=function(force){force=force||!1;if(!$toggle_bar.is(":visible")&&!force){return} 42html_body_class_timeout=setTimeout(function(){$("body").removeClass($menu.attr("id")+"-mobile-open");$("html").removeClass($menu.attr("id")+"-off-canvas-open")},plugin.settings.effect_speed_mobile);$(".mega-toggle-label, .mega-toggle-animated",$toggle_bar).attr("aria-expanded","false");if(plugin.settings.effect_mobile==="slide"&&!force){$menu.animate({"height":"hide"},plugin.settings.effect_speed_mobile,function(){$menu.css({width:"",left:"",display:""})})} 43$menu.css({width:"",left:"",display:""});$toggle_bar.removeClass("mega-menu-open");$menu.triggerHandler("mmm:hideMobileMenu")};plugin.showMobileMenu=function(){if(!$toggle_bar.is(":visible")){return} 44clearTimeout(html_body_class_timeout);$("body").addClass($menu.attr("id")+"-mobile-open");if(plugin.settings.effect_mobile==="slide_left"||plugin.settings.effect_mobile==="slide_right"){$("html").addClass($menu.attr("id")+"-off-canvas-open")} 45$(".mega-toggle-label, .mega-toggle-animated",$toggle_bar).attr("aria-expanded","true");plugin.toggleBarForceWidth();if(plugin.settings.effect_mobile==="slide"){$menu.animate({"height":"show"},plugin.settings.effect_speed_mobile)} 46$toggle_bar.addClass("mega-menu-open");$menu.triggerHandler("mmm:showMobileMenu")};plugin.toggleBarForceWidth=function(){if($(plugin.settings.mobile_force_width).length&&(plugin.settings.effect_mobile==="slide"||plugin.settings.effect_mobile==="disabled")){var submenu_offset=$toggle_bar.offset();var target_offset=$(plugin.settings.mobile_force_width).offset();$menu.css({width:$(plugin.settings.mobile_force_width).outerWidth(),left:(target_offset.left-submenu_offset.left)+"px"})}};plugin.init=function(){$menu.triggerHandler("before_mega_menu_init");plugin.settings=$.extend({},defaults,options);$menu.removeClass("mega-no-js");plugin.initToggleBar();if(plugin.settings.unbind_events==="true"){plugin.unbindAllEvents()} 47$(window).on("load",function(){plugin.calculateDynamicSubmenuWidths($("> li.mega-menu-megamenu > a.mega-menu-link",$menu))});if(plugin.isDesktopView()){plugin.initDesktop()}else{plugin.initMobile()} 48$(window).resize(function(){plugin.checkWidth()});$menu.triggerHandler("after_mega_menu_init")};plugin.init()};$.fn.maxmegamenu=function(options){return this.each(function(){if(undefined===$(this).data("maxmegamenu")){var plugin=new $.maxmegamenu(this,options);$(this).data("maxmegamenu",plugin)}})};$(function(){$(".max-mega-menu").maxmegamenu()})}(jQuery)); 49 50 51 52"use strict";
52function cmplz_create_element(el,content){let obj=document.createElement(el);obj.innerHtml=content;return obj}function cmplz_add_event(event,selector,callback){document.addEventListener(event,e=>{if(e.target.closest(selector)){callback(e)}})}function cmplz_is_hidden(el){return el.offsetParent===null}function cmplz_html_decode(input){var doc=(new DOMParser).parseFromString(input,"text/html");return doc.documentElement.textContent}document.addEventListener("cmplz_manage_consent_container_loaded",function(e){let url=window.location.href;if(url.indexOf("#")!=-1){let end_pos=url.lastIndexOf("?")!=-1?url.lastIndexOf("?"):undefined;var anchor=url.substring(url.indexOf("#")+1,end_pos);const element=document.getElementById(anchor);if(element){const y=element.getBoundingClientRect().top+window.pageYOffset-200;window.scrollTo({top:y,behavior:"smooth"})}}});complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);(function(){if(typeof window.CustomEvent==="function")return false;function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:undefined};var evt=document.createEvent("CustomEvent");evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt}CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent})();let cmplz_banner;let cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container");let cmplz_manage_consent_button;let cmplz_waiting_inline_scripts=[];let cmplz_waiting_scripts=[];let cmplz_fired_scripts=[];let cmplz_placeholder_class_index=0;let cmplz_all_scripts_hook_fired=false;let cmplz_consent_stored_once=false;let cmplz_categories=["functional","preferences","statistics","marketing"];window.cmplz_get_cookie=function(name){if(typeof document==="undefined"){return""}name=complianz.prefix+name+"=";let cArr=document.cookie.split(";");for(let i=0;i<cArr.length;i++){let c=cArr[i].trim();if(c.indexOf(name)==0)return c.substring(name.length,c.length)}return""};window.cmplz_set_cookie=function(name,value,use_prefix){if(typeof document==="undefined"){return}if(typeof use_prefix==="undefined"){use_prefix=true}let secure=";secure";let date=new Date;date.setTime(date.getTime()+complianz.cookie_expiry*24*60*60*1e3);let expires=";expires="+date.toGMTString();if(window.location.protocol!=="https:")secure="";let domain=cmplz_get_cookie_domain();if(domain.length>0){domain=";domain="+domain}let prefix="";if(use_prefix){prefix=complianz.prefix}
52document.cookie=prefix+name+"="+value+";SameSite=Lax"+secure+expires+domain+";path="+cmplz_get_cookie_path()};window.cmplz_in_array=function(needle,haystack){let length=haystack.length;for(let i=0;i<length;i++){if(haystack[i]==needle)return true}return false};window.cmplz_highest_accepted_category=function(){var consentedCategories=cmplz_accepted_categories();if(cmplz_in_array("marketing",consentedCategories)){return"marketing"}if(cmplz_in_array("statistics",consentedCategories)){return"statistics"}if(cmplz_in_array("preferences",consentedCategories)){return"preferences"}return"functional"};window.cmplz_accept_all=function(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"allow")}}};function cmplz_set_category_as_body_class(){let classList=document.body.className.split(/\s+/);for(let i=0;i<classList.length;i++){if(classList[i].indexOf("cmplz-")!==-1&&classList[i]!=="cmplz-document"){document.body.classList.remove(classList[i])}}let cats=cmplz_accepted_categories();for(let i in cats){if(cats.hasOwnProperty(i)){document.body.classList.add("cmplz-"+cats[i])}}let services=cmplz_get_all_service_consents();for(let service in services){if(services.hasOwnProperty(service)&&services[service]){document.body.classList.add("cmplz-"+service)}}document.body.classList.add("cmplz-"+complianz.region);document.body.classList.add("cmplz-"+complianz.consenttype);let event=new CustomEvent("cmplz_set_category_as_bodyclass");document.dispatchEvent(event)}function cmplz_append_css(css){let head=document.getElementsByTagName("head")[0];let style=document.createElement("style");style.setAttribute("type","text/css");if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}head.appendChild(style)}function cmplz_load_css(path){let fileref=document.createElement("link");fileref.setAttribute("rel","stylesheet");fileref.setAttribute("type","text/css");fileref.setAttribute("href",path);document.getElementsByTagName("head")[0].appendChild(fileref)}function cmplz_run_script(script,category,type){let fileref=document.createElement("script");fileref.setAttribute("type","text/javascript");if(type!=="inline"){fileref.setAttribute("src",script)}else{if(typeof script!=="string"){script=script.innerHTML}fileref.innerHTML=[script,"cmplzScriptLoaded();"].join("\n")}if(cmplz_in_array(script,cmplz_fired_scripts)){return}try{if(type!=="inline"){fileref.onload=function(){cmplz_run_after_all_scripts(category);cmplz_maybe_run_waiting_scripts(script,category)}}else{window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(category);cmplz_maybe_run_waiting_scripts(script,category)}}let header=document.getElementsByTagName("head")[0];header.appendChild(fileref)}catch(exception){cmplz_run_after_all_scripts(category);throw"Something went wrong "+exception+" while loading "+script}}function cmplz_maybe_run_waiting_scripts(script,category){let waitingScript=cmplz_get_waiting_script(cmplz_waiting_scripts,script);if(waitingScript){cmplz_run_script(waitingScript,category,"src")}let waiting_inline_script=cmplz_get_waiting_script(cmplz_waiting_inline_scripts,script);if(waiting_inline_script){cmplz_run_script(waiting_inline_script,category,"inline")}}function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(obj=>{if(obj.classList.contains("cmplz-processed")){return}obj.classList.add("cmplz-processed");let service=obj.getAttribute("data-service");let blocked_image_container=obj.parentElement;blocked_image_container.classList.add("cmplz-blocked-content-container");let curIndex=blocked_image_container.getAttribute("data-placeholder_class_index");if(obj.getAttribute("loading")==="lazy"){obj.removeAttribute("loading");obj.setAttribute("data-deferlazy",1)}if(curIndex==null){cmplz_placeholder_class_index++;blocked_image_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index);blocked_image_container.classList.add("cmplz-blocked-content-container");blocked_image_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index);cmplz_insert_placeholder_text(blocked_image_container,service)}});document.querySelectorAll(".cmplz-placeholder-element").forEach(obj=>
52{if(obj.classList.contains("cmplz-processed")){return}obj.classList.add("cmplz-processed");let service=obj.getAttribute("data-service");let blocked_content_container;if(obj.classList.contains("cmplz-iframe")){if(obj.getAttribute("loading")==="lazy"){obj.removeAttribute("loading");obj.setAttribute("data-deferlazy",1)}blocked_content_container=obj.parentElement}else{blocked_content_container=obj}let curIndex=blocked_content_container.getAttribute("data-placeholder_class_index");if(curIndex==null){cmplz_placeholder_class_index++;blocked_content_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index);blocked_content_container.classList.add("cmplz-blocked-content-container");blocked_content_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index);cmplz_insert_placeholder_text(blocked_content_container,service);let src=obj.getAttribute("data-placeholder-image");if(typeof src!=="undefined"&&src.length){src=src.replace("url(","").replace(")","").replace(/\"/gi,"");cmplz_append_css(".cmplz-placeholder-"+cmplz_placeholder_class_index+" {background-image: url("+src+") !important;}");cmplz_set_blocked_content_container_aspect_ratio(obj,src,cmplz_placeholder_class_index)}}});if(cmplz_has_consent("marketing")){cmplz_enable_category("marketing")}}function cmplz_insert_placeholder_text(container,service){if(!container.querySelector(".cmplz-blocked-content-notice")){let placeholder_text=complianz.placeholdertext;if(typeof placeholder_text!=="undefined"){if(complianz.clean_cookies==1){let service_nicename=service?service.replace("-"," "):"";service_nicename=service_nicename.charAt(0).toUpperCase()+service_nicename.slice(1);placeholder_text=placeholder_text.replace("{service}",service_nicename);let body=cmplz_create_element("div",placeholder_text);body.innerHTML=placeholder_text;body.classList.add("cmplz-blocked-content-notice");let btn=body.querySelector("button");btn.setAttribute("data-service",service);btn.setAttribute("data-category","marketing");btn.setAttribute("aria-label",service);let pageLinks=complianz.page_links[complianz.region];let link=body.querySelector(".cmplz-links a");if(pageLinks&&pageLinks.hasOwnProperty("cookie-statement")){link.setAttribute("href",pageLinks["cookie-statement"]["url"]);if(link.innerText==="{title}"){link.innerText=pageLinks["cookie-statement"]["title"]}}container.appendChild(body)}else{let btn=cmplz_create_element("button","");btn.innerText=placeholder_text;btn.classList.add("cmplz-blocked-content-notice");btn.classList.add("cmplz-accept-marketing");btn.setAttribute("data-service",service);btn.setAttribute("aria-label",service);container.appendChild(btn)}}}}function cmplz_set_blocked_content_container_aspect_ratio(container,src,placeholder_class_index){if(container==null)return;let blocked_content_container=container.parentElement;let img=new Image;img.addEventListener("load",function(){let imgWidth=this.naturalWidth;let imgHeight=this.naturalHeight;if(imgWidth===0)imgWidth=1;let w=blocked_content_container.clientWidth;let h=imgHeight*(w/imgWidth);let heightCSS="";if(src.indexOf("placeholder.jpg")===-1){heightCSS="height:"+h+"px;"}cmplz_append_css(".cmplz-placeholder-"+placeholder_class_index+" {"+heightCSS+"}")});img.src=src}var cmplzResizeTimer;window.addEventListener("resize",function(event){clearTimeout(cmplzResizeTimer);cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},true);if(complianz.block_ajax_content==1){setInterval(function(){cmplz_set_blocked_content_container()},2e3)}function cmplz_has_blocked_scripts(){let scriptElements=document.querySelectorAll("script[data-category], script[data-service]");return scriptElements.length>0}function cmplz_enable_category(category,service){if(complianz.tm_categories==1&&category!==""){cmplz_run_tm_event(category)}service=typeof service!=="undefined"?service:"do_not_match";if(category==="")category="do_not_match";if(category==="functional"){return}if(category==="marketing"){cmplz_set_integrations_cookies()}let selector;if(service!=="do_not_match"){selector=".cmplz-blocked-content-notice [data-service="+service+"]"}else{selector=complianz.clean_cookies!=1?".cmplz-blocked-content-notice.cmplz-accept-"+category:".cmplz-blocked-content-notice [data-category="+category+"]"}document.querySelectorAll(selector).forEach(obj=>{let blockedElementService=obj.getAttribute("data-service");if(obj.parentNode.classList.contains("cmplz-blocked-content-notice")){obj=obj.parentNode}if(!cmplz_is_service_denied(blockedElementService)){obj.parentNode.removeChild(obj)}});document.querySelectorAll("[data-category="+category+"], [data-service="+service+"]").forEach(obj=>{let elementService=obj.getAttribute("data-service");if(cmplz_is_service_denied(elementService)){return}if(obj.getAttribute("data-category")==="functional"){return}if(obj.classList.contains("cmplz-activated")){return}let tagName=obj.tagName;if(tagName==="STYLE"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-href");cmplz_load_css(src,category)}else if(tagName==="IMG"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");obj.setAttribute("src",src);if(obj.getAttribute("data-deferlazy")){obj.setAttribute("loading","lazy")}cmplz_remove_placeholder(obj)}else if(tagName==="IFRAME"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");let srcAttribute=obj.getAttribute("data-cmplz-target")?obj.getAttribute("data-cmplz-target"):"src";let autoplay=cmplz_get_url_parameter(obj.getAttribute(srcAttribute),"autoplay");if(autoplay==="1")src=src+"&autoplay=1";if(obj.getAttribute("data-deferlazy")){obj.setAttribute("loading","lazy")}obj.addEventListener("load",()=>{cmplz_remove_placeholder(obj)});obj.setAttribute(srcAttribute,src)}else if(obj.classList.contains("cmplz-placeholder-element")){obj.classList.add("cmplz-activated");let cssIndex=obj.getAttribute("data-placeholder_class_index");obj.classList.remove("cmplz-blocked-content-container");obj.classList.remove("cmplz-placeholder-"+cssIndex)}let details={};details.category=category;details.service=service;let event=new CustomEvent("cmplz_category_enabled",{detail:details});document.dispatchEvent(event)});let scriptElements=document.querySelectorAll("script[data-category="+category+"], script[data-service="+service+"]");
52scriptElements.forEach(obj=>{let waitfor=obj.getAttribute("data-waitfor");let src=obj.getAttribute("src");if(waitfor){if(src){cmplz_waiting_scripts[waitfor]=src}else if(obj.innerText.length>0){cmplz_waiting_inline_scripts[waitfor]=obj}}if(obj.parentElement){obj.parentElement.removeChild(obj)}});scriptElements.forEach(obj=>{if(obj.classList.contains("cmplz-activated")||obj.getAttribute("type")==="text/javascript"){return}obj.classList.add("cmplz-activated");let src=obj.getAttribute("src");if(src){obj.setAttribute("type","text/javascript");if(cmplz_is_waiting_script(cmplz_waiting_scripts,src)){return}if(obj.getAttribute("data-post_scribe_id")){let psID="#"+obj.getAttribute("data-post_scribe_id");let postScribeObj=document.querySelector(psID);if(postScribeObj){postScribeObj.innerHtml("");postscribe(psID,"<script src="+src+"><\/script>")}}else{cmplz_run_script(src,category,"src")}}else if(obj.innerText.length>0){if(cmplz_is_waiting_script(cmplz_waiting_inline_scripts,obj.innerText)){return}cmplz_run_script(obj.innerText,category,"inline")}});let details={};details.category=category;details.categories=cmplz_accepted_categories();details.services=cmplz_get_all_service_consents();details.region=complianz.region;let event=new CustomEvent("cmplz_enable_category",{detail:details});document.dispatchEvent(event);if(!cmplz_has_blocked_scripts()){cmplz_run_after_all_scripts(category)}}function cmplz_remove_placeholder(obj){let blocked_content_container=obj.closest(".cmplz-blocked-content-container");if(blocked_content_container){let cssIndex=blocked_content_container.getAttribute("data-placeholder_class_index");blocked_content_container.classList.remove("cmplz-blocked-content-container");blocked_content_container.classList.remove("cmplz-placeholder-"+cssIndex)}obj.classList.remove("cmplz-iframe-styles");obj.classList.remove("cmplz-iframe");obj.classList.remove("video-wrap")}function cmplz_get_waiting_script(waiting_scripts,src){for(let waitfor in waiting_scripts){if(waiting_scripts.hasOwnProperty(waitfor)){if(src.indexOf(waitfor)!==-1){let output=waiting_scripts[waitfor];delete waiting_scripts[waitfor];return output}}}return false}function cmplz_array_is_empty(arr){for(let key in arr){if(arr.hasOwnProperty(key)){return false}}return true}function cmplz_is_waiting_script(waiting_scripts,srcOrScript){for(let waitfor in waiting_scripts){if(waiting_scripts.hasOwnProperty(waitfor)){let waitingScript=waiting_scripts[waitfor];if(typeof waitingScript!=="string")waitingScript=waitingScript.innerText;if(srcOrScript.indexOf(waitingScript)!==-1||waitingScript.indexOf(srcOrScript)!==-1){return true}}}return false}function cmplz_run_after_all_scripts(category){if(!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)){let event=new CustomEvent("cmplz_run_after_all_scripts",{detail:category});document.dispatchEvent(event);cmplz_all_scripts_hook_fired=true}}let cmplz_fired_events=[];function cmplz_run_tm_event(category){if(cmplz_fired_events.indexOf(category)===-1){cmplz_fired_events.push(category);window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:complianz.prefix+"event_"+category});let event=new CustomEvent("cmplz_tag_manager_event",{detail:category});document.dispatchEvent(event)}}function cmplz_legacy(){let has_recaptcha=false;document.querySelectorAll("[data-service=recaptcha]").forEach(obj=>{obj.setAttribute("data-service","google-recaptcha");has_recaptcha=true});if(has_recaptcha){console.log("recaptcha as service name is deprecated. Please rename the service in your custom html to google-recaptcha");document.body.classList.add("cmplz-google-recaptcha")}}window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data);cmplz_maybe_auto_redirect();cmplz_set_blocked_content_container();cmplz_legacy();window.wp_consent_type=complianz.consenttype;let event=new CustomEvent("wp_consent_type_defined");document.dispatchEvent(event);event=new CustomEvent("cmplz_before_cookiebanner");document.dispatchEvent(event);if(complianz.forceEnableStats==1&&complianz.consenttype==="optin"){cmplz_set_consent("statistics","allow")}let rev_cats=cmplz_categories.reverse();
52for(let key in rev_cats){if(rev_cats.hasOwnProperty(key)){let category=cmplz_categories[key];if(cmplz_has_consent(category)){cmplz_enable_category(category)}}}if(cmplz_exists_service_consent()){cmplz_enable_category("","general");let services=cmplz_get_services_on_page();for(let key in services){if(services.hasOwnProperty(key)){let service=services[key].service;let category=services[key].category;if(cmplz_has_service_consent(service,category)){document.querySelectorAll(".cmplz-accept-service[data-service="+service+"]").forEach(obj=>{obj.checked=true});cmplz_enable_category("",service)}}}}cmplz_sync_category_checkboxes();cmplz_integrations_init();cmplz_check_cookie_policy_id();cmplz_set_up_auto_dismiss();cmplz_load_manage_consent_container();event=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz});document.dispatchEvent(event);if(cmplz_get_cookie("saved_categories")===""){if(complianz.consenttype!=="optin"&&complianz.consenttype!=="optout"){cmplz_track_status("no_warning")}else if(complianz.do_not_track){cmplz_track_status("do_not_track")}}cmplz_set_category_as_body_class();cmplz_fire_categories_event();if(!complianz.do_not_track){if(complianz.consenttype==="optin"){if(complianz.forceEnableStats){cmplz_enable_category("statistics")}console.log("opt-in");show_cookie_banner()}else if(complianz.consenttype==="optout"){console.log("opt-out");show_cookie_banner()}else{console.log("other consent type, no cookie warning");cmplz_accept_all()}}else{cmplz_track_status("do_not_track")}};function cmplz_get_services_on_page(){let services=[];document.querySelectorAll("[data-service]").forEach(obj=>{let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");if(services.indexOf(service)==-1){services.push({category:category,service:service})}});return services}window.show_cookie_banner=function(){let disableCookiebanner=complianz.disable_cookiebanner||cmplz_is_speedbot();let tmpDismissCookiebanner=false;if(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy")){tmpDismissCookiebanner=true}var fragment=document.createDocumentFragment();let container=document.getElementById("cmplz-cookiebanner-container");if(container){fragment.appendChild(container);document.body.prepend(fragment)}let link=document.createElement("link");let pageLinks=complianz.page_links[complianz.region];cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype);cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);let css_file_url=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);if(complianz.css_file.indexOf("cookiebanner/css/defaults/banner")!=-1){console.log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory")}link.href=css_file_url;link.type="text/css";link.rel="stylesheet";link.onload=function(){if(!disableCookiebanner){cmplz_banner.classList.remove("cmplz-hidden");cmplz_manage_consent_button.classList.remove("cmplz-hidden")}};document.getElementsByTagName("head")[0].appendChild(link);if(cmplz_banner&&!disableCookiebanner){cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(obj=>{let docElement=obj;docElement.classList.add("cmplz-hidden");for(let pageType in pageLinks){if(pageLinks.hasOwnProperty(pageType)&&docElement.classList.contains(pageType)){docElement.setAttribute("href",pageLinks[pageType]["url"]+docElement.getAttribute("data-relative_url"));if(docElement.innerText==="{title}"){docElement.innerText=cmplz_html_decode(pageLinks[pageType]["title"])}docElement.classList.remove("cmplz-hidden")}}});cmplz_set_banner_status();if(tmpDismissCookiebanner){cmplz_banner.classList.remove("cmplz-show");cmplz_banner.classList.add("cmplz-dismissed");cmplz_manage_consent_button.classList.remove("cmplz-dismissed");cmplz_manage_consent_button.classList.add("cmplz-show")}}let event=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(event)};window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")};window.cmplz_set_banner_status=function(status){let prevStatus=cmplz_get_cookie("banner-status");status=typeof status!=="undefined"?status:prevStatus;if(status!==prevStatus){cmplz_set_cookie("banner-status",status)}if(status.length===0){status="show"}if(status==="show"){prevStatus="dismissed"}else{prevStatus="show"}if(cmplz_banner&&status.length>0){cmplz_banner.classList.remove("cmplz-"+prevStatus);cmplz_banner.classList.add("cmplz-"+status);if(cmplz_manage_consent_button){cmplz_manage_consent_button.classList.add("cmplz-"+prevStatus);cmplz_manage_consent_button.classList.remove("cmplz-"+status)}}if(cmplz_banner_container&&complianz.soft_cookiewall){cmplz_banner_container.classList.remove("cmplz-"+prevStatus);cmplz_banner_container.classList.add("cmplz-"+status);cmplz_banner_container.classList.add("cmplz-soft-cookiewall")}let event=new CustomEvent("cmplz_banner_status",{detail:status});document.dispatchEvent(event);cmplz_start_clean()};function cmplz_is_bot(){var botPattern="(googlebot/|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)";var reBot=new RegExp(botPattern,"i");var userAgent=navigator.userAgent;return reBot.test(userAgent)}function cmplz_is_speedbot(){var userAgent=navigator.userAgent;var speedBotPattern="(GTmetrix|pingdom|pingbot|Lighthouse)";var speedBot=new RegExp(speedBotPattern,"i");return speedBot.test(userAgent)}window.cmplz_has_consent=function(category){if(cmplz_is_bot()){return true}if(category==="functional")return true;var has_consent,value;value=cmplz_get_cookie(category);if(complianz.consenttype==="optout"&&value===""){has_consent=true}else{has_consent=value==="allow"}return has_consent};window.cmplz_is_service_denied=function(service){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}if(!consented_services.hasOwnProperty(service)){return false}else{return!consented_services[service]}};window.cmplz_has_service_consent=function(service,category){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}if(!consented_services.hasOwnProperty(service)){return cmplz_has_consent(category)}else{return consented_services[service]}};function cmplz_exists_service_consent(){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json);for(const key in consented_services){if(consented_services.hasOwnProperty(key)){if(consented_services[key]==true){return true}}}}catch(e){return false}return false}function cmplz_set_service_consent(service,consented){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}consented_services[service]=consented;cmplz_set_cookie("consented_services",JSON.stringify(consented_services));let details=new Object;details.service=service;details.value=consented;
52details.region=complianz.region;cmplz_all_scripts_hook_fired=false;let event=new CustomEvent("cmplz_status_change_service",{detail:details});document.dispatchEvent(event)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}return consented_services}function cmplz_get_cookie_path(){return typeof complianz.cookie_path!=="undefined"&&complianz.cookie_path!==""?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){var domain="";if(complianz.set_cookies_on_root==1&&complianz.cookie_domain.length>3){domain=complianz.cookie_domain}if(domain.indexOf("localhost")!==-1){domain=""}return domain}window.cmplz_set_consent=function(category,value){cmplz_set_accepted_cookie_policy_id();var previous_value=cmplz_get_cookie(category);var checked=value==="allow";document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=checked});if(previous_value===value){return}cmplz_set_cookie(category,value);if(value==="allow"){cmplz_enable_category(category)}cmplz_wp_set_consent(category,value);if(category==="statistics"){cmplz_wp_set_consent("statistics-anonymous","allow")}let details=new Object;details.category=category;details.value=value;details.region=complianz.region;details.categories=cmplz_accepted_categories();cmplz_all_scripts_hook_fired=false;let event=new CustomEvent("cmplz_status_change",{detail:details});document.dispatchEvent(event);if(category==="marketing"&&value==="deny"&&previous_value==="allow"){cmplz_integrations_revoke();setTimeout(function(){location.reload()},500)}};var cmplz_user_data=[];if(typeof Storage!=="undefined"&&sessionStorage.cmplz_user_data){cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)}if(complianz.geoip==1&&(cmplz_user_data.length==0||cmplz_user_data.version!==complianz.version||cmplz_user_data.banner_version!==complianz.banner_version)){var request=new XMLHttpRequest;request.open("GET",complianz.url+"banner?"+complianz.locale,true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){cmplz_user_data=JSON.parse(request.response);sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data);conditionally_show_banner()}}else{conditionally_show_banner()}if(complianz.store_consent==1){var cmplz_id_cookie=cmplz_get_cookie("id");var cmplz_id_session="";var cmplz_id="";if(typeof Storage!=="undefined"&&sessionStorage.cmplz_id){cmplz_id_session=JSON.parse(sessionStorage.cmplz_id)}if(cmplz_id_cookie.length==0&&cmplz_id_session.length>0){cmplz_id=cmplz_id_session;cmplz_set_cookie("id",cmplz_id)}if(cmplz_id_cookie.length>0&&cmplz_id_session.length==0){cmplz_id=cmplz_id_cookie}if(typeof Storage!=="undefined"){sessionStorage.cmplz_id=JSON.stringify(cmplz_id)}}document.addEventListener("visibilitychange",function(){if(document.visibilityState==="hidden"){cmplz_track_status_end()}});window.addEventListener("pagehide",cmplz_track_status_end,false);window.addEventListener("beforeunload",cmplz_track_status_end,false);function cmplz_track_status_end(){if(!cmplz_consent_stored_once){cmplz_track_status()}}document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow");cmplz_fire_categories_event();cmplz_track_status()});window.cmplz_accept_all=function(){cmplz_clear_all_service_consents();for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"allow")}}cmplz_sync_category_checkboxes()};window.cmplz_deny_all=function(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"deny")}}var consentLevel=cmplz_highest_accepted_category();var reload=false;if(consentLevel!=="functional"||cmplz_exists_service_consent()){reload=true}if(cmplz_clear_cookies("cmplz_service")){reload=true}cmplz_clear_all_service_consents();cmplz_integrations_revoke();cmplz_fire_categories_event();cmplz_track_status();let event=new CustomEvent("cmplz_revoke",{detail:reload});document.dispatchEvent(event);if(!complianz.tcf_active&&reload){location.reload()}};cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault();cmplz_accept_all();cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-accept-marketing",function(e){e.preventDefault();let obj=e.target;var service=obj.getAttribute("data-service");if(complianz.clean_cookies==1&&typeof service!=="undefined"&&service){cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service)}else{cmplz_enable_category("","general");cmplz_set_consent("marketing","allow")}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-accept-service",function(e){let obj=e.target;let tagName=obj.tagName;if(tagName==="INPUT"){return}let service=obj.getAttribute("data-service");if(typeof service!=="undefined"){cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service)}cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("change",".cmplz-accept-service",function(e){let obj=e.target;let tagName=obj.tagName;let service=obj.getAttribute("data-service");if(typeof service!=="undefined"){if(tagName==="INPUT"){if(obj.checked){cmplz_set_service_consent(service,true);cmplz_enable_category("",service)}else{cmplz_set_service_consent(service,false);setTimeout(function(){location.reload()},500)}}else{e.preventDefault();cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service);setTimeout(function(){location.reload()},500)}}cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-save-preferences",function(e){let obj=e.target;cmplz_banner=obj.closest(".cmplz-cookiebanner");for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];var categoryElement=cmplz_banner.querySelector("input.cmplz-"+category);if(categoryElement){if(categoryElement.checked){cmplz_set_consent(category,"allow")}else{cmplz_set_consent(category,"deny")}}}}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-close",function(e){cmplz_set_banner_status("dismissed")});cmplz_add_event("click",".cmplz-view-preferences",function(e){let obj=e.target;cmplz_banner=obj.closest(".cmplz-cookiebanner");if(cmplz_banner.querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")){cmplz_banner.classList.remove("cmplz-categories-v
52isible");cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in");cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block";cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"}else{cmplz_banner.classList.add("cmplz-categories-visible");cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in");cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none";cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block"}});cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(e){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];var categoryElement=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+category);if(categoryElement){if(categoryElement.checked){cmplz_set_consent(category,"allow")}else{cmplz_set_consent(category,"deny")}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()}}}});cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault();cmplz_set_banner_status("dismissed");cmplz_deny_all()});cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var catsContainer=document.querySelector(".cmplz-cookiebanner .cmplz-categories");var saveSettings=document.querySelector(".cmplz-save-settings");var manageSettings=document.querySelector("button.cmplz-manage-settings");if(!cmplz_is_hidden(catsContainer)){saveSettings.style.display="none";manageSettings.style.display="block";catsContainer.style.display="none"}else{saveSettings.style.display="block";manageSettings.style.display="none";catsContainer.style.display="block"}});cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault();cmplz_set_banner_status("show")});function cmplz_set_up_auto_dismiss(){if(complianz.consenttype==="optout"){if(complianz.dismiss_on_scroll==1){var onWindowScroll=function(evt){if(window.pageYOffset>Math.floor(400)){cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status();window.removeEventListener("scroll",onWindowScroll);this.onWindowScroll=null}};window.addEventListener("scroll",onWindowScroll)}var delay=parseInt(complianz.dismiss_timeout);if(delay>0){var cmplzDismissTimeout=window.setTimeout(function(){cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()},Math.floor(delay))}}}function cmplz_fire_categories_event(){let details=new Object;details.category=cmplz_highest_accepted_category();details.categories=cmplz_accepted_categories();details.region=complianz.region;let event=new CustomEvent("cmplz_fire_categories",{detail:details});document.dispatchEvent(event)}function cmplz_track_status(status){var cats=[];status=typeof status!=="undefined"?status:false;let event=new CustomEvent("cmplz_track_status",{detail:status});document.dispatchEvent(event);if(!status){cats=cmplz_accepted_categories()}else{cats=[status]}cmplz_set_category_as_body_class();var saved_cats,saved_services;try{saved_cats=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){saved_cats={}}try{saved_services=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){saved_services={}}var consented_services=cmplz_get_all_service_consents();if(cmplz_equals(saved_cats,cats)&&cmplz_equals(saved_services,consented_services)){return}if(complianz.store_consent!=1||cmplz_is_bot()||cmplz_is_speedbot()){return}cmplz_set_cookie("saved_categories",JSON.stringify(cats));cmplz_set_cookie("saved_services",JSON.stringify(consented_services));cmplz_consent_stored_once=true;var request=new XMLHttpRequest;request.open("POST",complianz.url+"track",true);var data={consented_categories:cats,consented_services:consented_services,consenttype:window.wp_consent_type};request.setRequestHeader("Content-type","application/json");request.send(JSON.stringify(data))}function cmplz_accepted_categories(){var consentedCategories=cmplz_categories;var consentedTemp=[];for(var key in consentedCategories){if(consentedCategories.hasOwnProperty(key)){var category=consentedCategories[key];if(cmplz_has_consent(category)){consentedTemp.push(category)}}}consentedCategories=consentedCategories.filter(function(value,index,consentedCategories){return cmplz_in_array(value,consentedTemp)});return consentedCategories}function cmplz_sync_category_checkboxes(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];if(cmplz_has_consent(category)||category==="functional"){document.querySelectorAll("input.cmplz-"+category).forEac
52h(obj=>{obj.checked=true})}else{document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=false})}}document.querySelectorAll(".cmplz-accept-service").forEach(obj=>{let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");if(cmplz_has_service_consent(service,category)){obj.checked=true}else if(cmplz_is_service_denied(service)){obj.checked=false}else{let category=obj.getAttribute("data-category");obj.checked=!!cmplz_has_consent(category)}})}}function cmplz_merge_object(userdata,ajax_data){var output=[];for(key in ajax_data){if(ajax_data.hasOwnProperty(key))output[key]=ajax_data[key]}for(var key in userdata){if(!ajax_data.hasOwnProperty(key)||typeof ajax_data[key]==="undefined"){if(userdata.hasOwnProperty(key))output[key]=userdata[key]}}return output}function cmplz_check_cookie_policy_id(){var user_policy_id=cmplz_get_cookie("policy_id");if(user_policy_id&&complianz.current_policy_id!==user_policy_id){cmplz_clear_cookies("cmplz")}}function cmplz_clear_cookies(cookie_part){var foundCookie=false;if(typeof document==="undefined"){return foundCookie}var secure=";secure";var date=new Date;date.setTime(date.getTime()-24*60*60*1e3);var expires=";expires="+date.toGMTString();if(window.location.protocol!=="https:")secure="";(function(){var cookies=document.cookie.split("; ");for(var c=0;c<cookies.length;c++){var d=window.location.hostname.split(".");var skip_last=d.length>1;while(d.length>0){var cookieName=cookies[c].split(";")[0].split("=")[0];var p=location.pathname;p=p.replace(/^\/|\/$/g,"").split("/");if(cookieName.indexOf(cookie_part)!==-1){foundCookie=true;var cookieBase=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+expires+";domain=."+d.join(".")+";path=";var cookieBaseDomain=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+expires+";domain=;path=";document.cookie=cookieBaseDomain+"/";document.cookie=cookieBase+"/";while(p.length>0){var path=p.join("/");if(path.length>0){document.cookie=cookieBase+"/"+path;document.cookie=cookieBaseDomain+"/"+path;document.cookie=cookieBase+"/"+path+"/";document.cookie=cookieBaseDomain+"/"+path+"/"}p.pop()}}d.shift();if(skip_last&&d.length==1)d.shift()}}})();cmplz_set_accepted_cookie_policy_id();return foundCookie}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)&&cookiesToSet[key][1]==="1"){cmplz_set_cookie(key,cookiesToSet[key][1],false)}}}function cmplz_integrations_revoke(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)){cmplz_set_cookie(key,cookiesToSet[key][1],false);if(cookiesToSet[key][1]==false){cmplz_clear_cookies(key)}}}}function cmplz_set_integrations_cookies(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)){cmplz_set_cookie(key,cookiesToSet[key][0],false)}}}function cmplz_get_url_parameter(sPageURL,sParam){if(!sPageURL||typeof sPageURL==="undefined"){return false}if(sPageURL.indexOf("?")==-1){return false}var queryString=sPageURL.split("?");if(queryString.length==1)return false;var sURLVariables=queryString[1].split("&"),sParameterName,i;for(i=0;i<sURLVariables.length;i++){if(sURLVariables.hasOwnProperty(i)){sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam){return sParameterName[1]===undefined?true:decodeURIComponent(sParameterName[1])}}}return false}function cmplz_maybe_auto_redirect(){var redirect=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect");var region=cmplz_get_url_parameter(window.location.href,"cmplz-region");if(redirect&&!region){window.location.href=window.location.href+"&cmplz-region="+complianz.region}}function cmplz_wp_set_consent(type,value){if(typeof wp_set_consent=="function"){wp_set_consent(type,value)}}var cmplz_cookie_data=[];function cmplz_start_clean(){if(complianz.clean_cookies==1){if(typeof Storage!=="undefined"){cmplz_cookie_data=JSON.parse(sessionStorage.getItem("cmplz_cookie_data"))}if(!cmplz_cookie_data||cmplz_cookie_data.length==0){var request=new XMLHttpRequest;request.open("GET",complianz.url+"cookie_data",true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){cmplz_cookie_data=JSON.parse(request.response);sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data));cmplz_clean()}}else{cmplz_clean()}}}function cmplz_clean(){if(!cmplz_cookie_data){return}setTimeout(function(){let consent_categories=["preferences","statistics","marketing"];for(var i in consent_categories){let category=consent_categories[i];if(!cmplz_has_consent(category)&&cmplz_cookie_data.hasOwnProperty(category)){let services=cmplz_cookie_data[category];for(var service in services){if(!cmplz_has_service_consent(service,category)){let cookies=services[service];for(var j in cookies){let item=cookies[j];cmplz_clear_cookies(item);cmplz_clear_storage(item)}}}}}},1e3)}function cmplz_clear_storage(item){if(typeof Storage!=="undefined"){if(localStorage.item){localStorage.removeItem(item)}
52if(sessionStorage.item){sessionStorage.removeItem(item)}}}function cmplz_load_manage_consent_container(){let manage_consent_container=document.querySelector(".cmplz-manage-consent-container");if(manage_consent_container){var request=new XMLHttpRequest;request.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){let html=JSON.parse(request.response);manage_consent_container.insertAdjacentHTML("beforeend",html);cmplz_sync_category_checkboxes();let nojavascript=document.querySelector("#cmplz-manage-consent-container-nojavascript");nojavascript.style.display="none";manage_consent_container.style.display="block";let event=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(event)}}}cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){var keycode=e.keyCode?e.keyCode:e.which;if(keycode==32){document.activeElement.click()}});cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){var keycode=e.keyCode?e.keyCode:e.which;if(keycode==13){document.activeElement.click()}});function cmplz_equals(array_1,array_2){if(!Array.isArray(array_1)){array_1=Object.keys(array_1);array_2=Object.keys(array_2)}if(!array_1||!array_2)return false;if(array_1.length!=array_2.length)return false;for(var i=0,l=array_1.length;i<l;i++){if(array_1[i]instanceof Array&&array_2[i]instanceof Array){if(!cmplz_equals(array_1[i],array_2[i]))return false}else if(array_1[i]!=array_2[i]){return false}}return true}if("undefined"!=typeof window.jQuery){jQuery(document).ready(function($){$(document).on("cmplz_category_enabled",cmplz_enable_fitvids);function cmplz_enable_fitvids(data){document.querySelectorAll(".cmplz-video").forEach(obj=>{let $obj=$(obj);if(typeof $obj.parent().fitVids=="function"){$obj.parent().fitVids()}})}})}; 53 54 55 56/*! 57 * WPBakery Page Builder v6.0.0 (https://wpbakery.com) 58 * Copyright 2011-2021 Michael M, WPBakery 59 * License: Commercial. More details: http://go.wpbakery.com/licensing 60 */ 61 62// jscs:disable 63// jshint ignore: start 64 65document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",function(){for(var prefix=["-webkit-","-moz-","-ms-","-o-",""],i=0;i<prefix.length;i++)prefix[i]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")}(),function($){"function"!=typeof window.vc_js&&(window.vc_js=function(){"use strict";vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function($parent){($parent?$parent.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var this_element=jQuery(this),sliderTimeout=1e3*parseInt(this_element.attr("data-interval"),10),sliderFx=this_element.attr("data-flex_fx"),slideshow=0==sliderTimeout?!1:!0;this_element.is(":visible")&&this_element.flexslider({animation:sliderFx,slideshow:slideshow,slideshowSpeed:sliderTimeout,sliderSpeed:800,smoothHeight:!0})})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){0<jQuery(".wpb_googleplus").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://apis.google.com/js/plusone.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){0<jQuery(".wpb_pinterest").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://assets.pinterest.com/js/pinit.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var $el=jQuery(this);$el.vcwaypoint(function(){$el.find(".vc_single_bar").each(function(index){var bar=jQuery(this).find(".vc_bar"),val=bar.data("percentage-value");setTimeout(function(){bar.css({width:val+"%"})},200*index)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var $el=jQuery(this);$el.vcwaypoint(function(){$el.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function($el){function event(content){content&&content.preventDefault&&content.preventDefault();var element=jQuery(this).closest(".vc_toggle"),content=element.find(".vc_toggle_content");element.hasClass("vc_toggle_active")?content.slideUp({duration:300,complete:function(){element.removeClass("vc_toggle_active")}}):content.slideDown({duration:300,complete:function(){element.addClass("vc_toggle_active")}})}($el?$el.hasClass("vc_toggle_title")?$el.unbind("click"):$el.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",event)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(ver){var $call,old_version;jQuery.ui&&($call=ver||jQuery(".wpb_tabs, .wpb_tour"),ver=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",old_version=1===parseInt(ver[0],10)&&parseInt(ver[1],10)<9,$call.each(function(index){var interval=jQuery(this).attr("data-interval"),tabs_array=[],$tabs=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(event,ui){wpb_prepare_tab_content(event,ui)},activate:function(event,ui){wpb_prepare_tab_content(event,ui)}});if(interval&&0<interval)try{$tabs.tabs("rotate",1e3*interval)}catch(err){window.console&&window.console.warn&&console.warn("tabs behaviours error",err)}jQuery(this).find(".wpb_tab").each(function(){tabs_array.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),old_version?$tabs.tabs("select",jQuery("a",this).attr("href")):$tabs.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(length){var index;length&&length.preventDefault&&length.preventDefault(),old_version?(index=$tabs.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?index++:index--,index<0?index=$tabs.tabs("length")-1:index>=$tabs.tabs("length")&&(index=0),$tabs.tabs("select",index)):(index=$tabs.tabs("option","active"),length=$tabs.find(".wpb_tab").length,index=jQuery(this).parent().hasClass("wpb_next_slide")?length<=index+1?0:index+1:index-1<0?length-1:index-1,$tabs.tabs("option","active",index))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(index){var $this=jQuery(this),active_tab=($this.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt($this.data("active-tab"),10)&&parseInt($this.data("active-tab"),10)-1),$tabs=!1===active_tab||"yes"===$this.data("c
65ollapsible"),$tabs=$this.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:active_tab,collapsible:$tabs,navigation:!0,activate:vc_accordionActivate,change:function(event,ui){void 0!==jQuery.fn.isotope&&ui.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(ui.newPanel)}});!0===$this.data("vcDisableKeydown")&&($tabs.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var layout_modes={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var $container=jQuery(this),$thumbs=$container.find(".wpb_thumbnails"),layout_mode=$thumbs.attr("data-layout-mode");$thumbs.isotope({itemSelector:".isotope-item",layoutMode:void 0===layout_modes[layout_mode]?"fitRows":layout_modes[layout_mode]}),$container.find(".categories_filter a").data("isotope",$thumbs).on("click",function($thumbs){$thumbs&&$thumbs.preventDefault&&$thumbs.preventDefault();$thumbs=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),$thumbs.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){$thumbs.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function($parent){($parent?$parent.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var fluid_ul=jQuery(this);!0!==fluid_ul.data("carousel_enabled")&&fluid_ul.is(":visible")&&(fluid_ul.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(fluid_ul=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":fluid_ul.css("margin-left"),"margin-left":0}),(fluid_ul=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(fluid_ul.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(index){var $imagesGrid,sliderTimeout,this_element=jQuery(this);this_element.hasClass("wpb_slider_nivo")?(0===(sliderTimeout=1e3*this_element.attr("data-interval"))&&(sliderTimeout=9999999999),this_element.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:sliderTimeout,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})):this_element.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?$imagesGrid=this_element.find(".wpb_image_grid_ul").imagesLoaded(function(){$imagesGrid.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):this_element.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(err){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",err)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var callSkrollInit,$=window.jQuery;function fullWidthRow(){var $elements=$('[data-vc-full-width="true"]');$.each($elements,function(key,item){var $el=$(this);$el.addClass("vc_hidden");var el_margin_left,el_margin_right,offset,width,padding,paddingRight,$el_full=$el.next(".vc_row-full-width");($el_full=!$el_full.length?$el.parent().next(".vc_row-full-width"):$el_full).length&&(el_margin_left=parseInt($el.css("margin-left"),10),el_margin_right=parseInt($el.css("margin-right"),10),offset=0-$el_full.offset().left-el_margin_left,width=$(window).width(),"rtl"===$el.css("direction")&&(offset-=$el_full.width(),offset+=width,offset+=el_margin_left,offset+=el_margin_right),$el.css({position:"relative",left:offset,"box-sizing":"border-box",width:width}),$el.data("vcStretchContent")||("rtl"===$el.css("direction")?((padding=offset)<0&&(padding=0),(paddingRight=offset)<0&&(paddingRight=0)):(paddingRight=width-(padding=(padding=-1*offset)<0?0:padding)-$el_full.width()+el_margin_left+el_margin_right)<0&&(paddingRight=0),$el.css({"padding-left":padding+"px","padding-right":paddingRight+"px"})),$el.attr("data-vc-full-width-init","true"),$el.removeClass("vc_hidden"),$(document).trigger("vc-full-width-row-single",{el:$el,offset:offset,marginLeft:el_margin_left,marginRight:el_margin_right,elFull:$el_full,width:width}))}),$(document).trigger("vc-full-width-row",$elements)}function fullHeightRow(){var windowHeight,offsetTop,$element=$(".vc_row-o-full-height:first");$element.length&&(windowHeight=$(window).height(),(offsetTop=$element.offset().top)<windowHeight&&$element.css("min-height",100-offsetTop/(windowHeight/100)+"vh")),$(document).trigger("vc-full-height-row",$element)}$(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",fullWidthRow).on("resize.vcRowBehaviour",fullHeightRow),fullWidthRow(),fullHeightRow(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&$(".vc_row-o-full-height").each(function(){"flex"===$(this).css("display")&&$(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}
65),vc_initVideoBackgrounds(),callSkrollInit=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),$(".vc_parallax-inner").remove(),$("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),$("[data-vc-parallax]").each(function(){var skrollrSize,$parallaxElement,parallaxImage,youtubeId;callSkrollInit=!0,"on"===$(this).data("vcParallaxOFade")&&$(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),skrollrSize=100*$(this).data("vcParallax"),($parallaxElement=$("<div />").addClass("vc_parallax-inner").appendTo($(this))).height(skrollrSize+"%"),parallaxImage=$(this).data("vcParallaxImage"),(youtubeId=vcExtractYoutubeId(parallaxImage))?insertYoutubeVideoAsBackground($parallaxElement,youtubeId):void 0!==parallaxImage&&$parallaxElement.css("background-image","url("+parallaxImage+")"),$parallaxElement.attr("data-bottom-top","top: "+-(skrollrSize-100)+"%;").attr("data-top-bottom","top: 0%;")}),callSkrollInit&&window.skrollr&&(window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(el){for(var find=!1,i=1;!1===find;){if(el.hasClass("columns_count_"+i))return find=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(event,ui){var panel=ui.panel||ui.newPanel,$pie_charts=panel.find(".vc_pie_chart:not(.vc_ready)"),$round_charts=panel.find(".vc_round-chart"),$frame=panel.find(".vc_line-chart"),$google_maps=panel.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(panel),ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),panel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&panel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat(),$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:!1}),$frame.length&&jQuery.fn.vcLineChart&&$frame.vcLineChart({reload:!1}),$google_maps.length&&jQuery.fn.carousel&&$google_maps.carousel("resizeAction"),$frame=panel.find(".isotope, .wpb_image_grid_ul"),$google_maps=panel.find(".wpb_gmaps_widget"),0<$frame.length&&$frame.isotope("layout"),$google_maps.length&&!$google_maps.is(".map_ready")&&(($frame=$google_maps.find("iframe")).attr("src",$frame.attr("src")),$google_maps.addClass("map_ready")),panel.parents(".isotope").length&&panel.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),$(document).trigger("wpb_prepare_tab_content",panel)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var $=window.jQuery,ui={};ui.newPanel=$(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,ui)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(event,ui){var $pie_charts,$round_charts,$line_charts,$carousel;ui.newPanel.length&&ui.newHeader.length&&($pie_charts=ui.newPanel.find(".vc_pie_chart:not(.vc_ready)"),$round_charts=ui.newPanel.find(".vc_round-chart"),$line_charts=ui.newPanel.find(".vc_line-chart"),$carousel=ui.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&ui.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),vc_carouselBehaviour(ui.newPanel),vc_plugin_flexslider(ui.newPanel),$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat(),$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:!1}),$line_charts.length&&jQuery.fn.vcLineChart&&$line_charts.vcLineChart({reload:!1}),$carousel.length&&jQuery.fn.carousel&&$carousel.carousel("resizeAction"),ui.newPanel.parents(".isotope").length&&ui.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")}))}
65),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgrounds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){jQuery("[data-vc-video-bg]").each(function(){var youtubeId,$element=jQuery(this);$element.data("vcVideoBg")?(youtubeId=$element.data("vcVideoBg"),(youtubeId=vcExtractYoutubeId(youtubeId))&&($element.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground($element,youtubeId)),jQuery(window).on("grid:items:added",function(event,$grid){$element.has($grid).length&&vcResizeVideoBackground($element)})):$element.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function($element,youtubeId,counter){if("undefined"==typeof YT||void 0===YT.Player)return 100<(counter=void 0===counter?0:counter)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground($element,youtubeId,counter++)},100);var $container=$element.prepend('<div class="vc_video-bg vc_hidden-xs"><div class="inner"></div></div>').find(".inner");new YT.Player($container[0],{width:"100%",height:"100%",videoId:youtubeId,playerVars:{playlist:youtubeId,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(event){event.target.mute().setLoop(!0)}}}),vcResizeVideoBackground($element),jQuery(window).on("resize",function(){vcResizeVideoBackground($element)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function($element){var iframeW,iframeH,marginLeft,marginTop,containerW=$element.innerWidth(),containerH=$element.innerHeight();containerW/containerH<16/9?(iframeW=containerH*(16/9),iframeH=containerH,marginLeft=-Math.round((iframeW-containerW)/2)+"px",marginTop=-Math.round((iframeH-containerH)/2)+"px"):(iframeH=(iframeW=containerW)*(9/16),marginTop=-Math.round((iframeH-containerH)/2)+"px",marginLeft=-Math.round((iframeW-containerW)/2)+"px"),iframeW+="px",iframeH+="px",$element.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:marginLeft,marginTop:marginTop,width:iframeW,height:iframeH})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(id){if(void 0===id)return!1;id=id.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==id&&id[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var $=window.jQuery,$wpbGmapsWidget=$(".wpb_gmaps_widget");$wpbGmapsWidget.on("click",function(){$("iframe",this).css("pointer-events","auto")}),$wpbGmapsWidget.on("mouseleave",function(){$("iframe",this).css("pointer-events","none")}),$(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),width=$this.width();$this.css("perspective",4*width+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(hoverBox){hoverBox.each(function(){var hoverBoxHeight=jQuery(this),hoverBoxInner=hoverBoxHeight.find(".vc-hoverbox-inner");hoverBoxInner.css("min-height",0);var frontHeight=hoverBoxHeight.find(".vc-hoverbox-front-inner").outerHeight(),hoverBoxHeight=hoverBoxHeight.find(".vc-hoverbox-back-inner").outerHeight(),hoverBoxHeight=hoverBoxHeight<frontHeight?frontHeight:hoverBoxHeight;hoverBoxInner.css("min-height",(hoverBoxHeight=hoverBoxHeight<250?250:hoverBoxHeight)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var hoverBox=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(hoverBox),vc_setHoverBoxPerspective(hoverBox)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function($){window.vc_js()})}(window.jQuery); 66 67 68 69var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,t,s=s||{VER:"0.9.944"};s.bgs_Available=!1,s.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroun
69dSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!s.bgs_CheckRunned){s.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var t=window.getComputedStyle(i,null);t&&t.backgroundSize&&(s.bgs_Available="cover"===t.backgroundSize)}}(),e.remove()}}();var t=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function n(){(r.responsive||h.data("sbi_imgLiquid_oldProcessed"))&&h.data("sbi_imgLiquid_settings")&&(r=h.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(n,r.responsiveCheckTime))}function a(){h.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,h),d()}function o(){var i,t,s,n,a,o,c,g,f=0,u=0,b=l.width(),m=l.height();void 0===h.data("owidth")&&h.data("owidth",h[0].width),void 0===h.data("oheight")&&h.data("oheight",h[0].height),r.fill===b/m>=h.data("owidth")/h.data("oheight")?(i="100%",t="auto",s=Math.floor(b),n=Math.floor(b*(h.data("oheight")/h.data("owidth")))):(i="auto",t="100%",s=Math.floor(m*(h.data("owidth")/h.data("oheight"))),n=Math.floor(m)),c=b-s,"left"===(a=r.horizontalAlign.toLowerCase())&&(u=0),"center"===a&&(u=.5*c),"right"===a&&(u=c),-1!==a.indexOf("%")&&((a=parseInt(a.replace("%",""),10))>0&&(u=c*a*.01)),g=m-n,"left"===(o=r.verticalAlign.toLowerCase())&&(f=0),"center"===o&&(f=.5*g),"bottom"===o&&(f=g),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(f=g*o*.01)),r.hardPixels&&(i=s,t=n),h.css({width:i,height:t,"margin-left":Math.floor(u),"margin-top":Math.floor(f)}),h.data("sbi_imgLiquid_oldProcessed")||(h.fadeTo(r.fadeInTime,1),h.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,h),d()}function d(){e===t.length-1&&t.settings.onFinish&&t.settings.onFinish()}var r=t.settings,l=i(this),h=i("img:first",l);return h.length?(h.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},h.data("sbi_imgLiquid_settings"),t.options)):r=i.extend({},t.settings,function(){var i={};if(t.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),n=l.attr("data-sbi_imgLiquid-horizontalAlign"),a=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===n||"left"!==n&&"center"!==n&&"right"!==n&&-1===n.indexOf("%")||(i.horizontalAlign=n),void 0===a||"top"!==a&&"bottom"!==a&&"center"!==a&&-1===a.indexOf("%")||(i.verticalAlign=a)}return s.isIE&&t.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),h.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,h),void(s.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(h.attr("src")))&&l.css({"background-image":'url("'+encodeURI(h.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,h),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function t(){if(h.data("oldSrc")&&h.data("oldSrc")!==h.attr("src")){var s=h.clone().removeAttr("style");return s.data("sbi_imgLiquid_settings",h.data("sbi_imgLiquid_settings")),h.parent().prepend(s),h.remove(),(h=s)[0].width=0,void setTimeout(t,10)}return h.data("sbi_imgLiquid_oldProcessed")?void o():(h.data("sbi_imgLiquid_oldProcessed",!1),h.data("oldSrc",h.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),h.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),h.on("error",a),h[0].onerror=a,function i(){h.data("sbi_imgLiquid_error")||h.data("sbi_imgLiquid_loaded")||h.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&h[0].complete&&h[0].width>0&&h[0].height>0?(h.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void n())}())):void a()})}})}(jQuery),i=s.injectCss,e=document.getElementsByTagName("head")[0],(t=document.createElement("style")).type="text/css",t.styleSheet?t.styleSheet.cssText=i:t.appendChild(document.createTextNode(i)),e.appendChild(t)}function t(){this.feeds={},this.options=sb_instagram_js_options}function s(i,e,t){this.el=i,this.index=e,this.settings=t,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.page=1,this.isInitialized=!1}function n(e,t){i.ajax({url:sbiajaxurl,type:"post",data:e,success:t})}t.prototype={createPage:function(e,t){void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=location.protocol+"//"+window.location.hostname+"/wp-admin/admin-ajax.php"),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(t)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var t=i(this),a=void 0!==t.attr("data-sbi-flags")?t.attr("data-sbi-flags").split(","):[],o=void 0!==t.attr("data-options")?JSON.parse(t.attr("data-options")):{};if(a.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;n({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:t.attr("data-cols"),colsmobile:void 0!==t.attr("data-colsmobile")&&"same"!==t.attr("data-colsmobile")?t.attr("data-colsmobile"):t.attr("data-cols"),num:t.attr("data-num"),imgRes:t.attr("data-res"),feedID:t.attr("data-feedid"),postID:"undefind"!=typeof t.attr("data-postid")?t.attr("data-postid"):"unknown",shortCodeAtts:t.attr("data-shortcode-atts"),resizingEnabled:-1===a.indexOf("resizeDisable"),imageLoadEnabled:-1===a.indexOf("imageLoadDisable"),debugEnabled:a.indexOf("debug")>-1,favorLocal:a.indexOf("favorLocal")>-1,ajaxPostLoad:a.indexOf("ajaxPostLoad")>-1,gdpr:a.indexOf("gdpr")>-1,overrideBlockCDN:a.indexOf("overrideBlockCDN")>-1,consentGiven:!1,locator:a.indexOf("locator")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,t){return new s(i,e,t)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").on("mouseenter mouseleave",function(i){switch(i.type){case"mouseenter":e.find(".sbi_header_img_hover").addClass("sbi_fade_in");break;case"mouseleave":e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")}})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,">").replace(/(<)/g,"<").replace(/(<br\/>)/g,"<br>").replace(/(<br>)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/g)}},s.prototype={init:function(){var e=this;e.settings.consentGiven=e.checkConsent(),i(this.el).find(".sbi_photo").parent("p").length&&i(this.el).addClass("sbi_no_autop"),i(this.el).find("#sbi_mod_error").length&&i(this.el).prepend(i(this.el).find("#sbi_mod_error")),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var t,s=(t=0,function(i,e){clearTimeout(t),t=setTimeout(i,e)});jQuery(window).on("resize",function(){s(function(){e.afterResize()},500)}),i(this.el).find(".sbi_item").each(function(){e.lazyLoadCheck(i(this))})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el),t=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden"),t.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);e.find(".sbi-screenreader").each(function(){i(this).find("img").remove()}),"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").on("mouseenter mouseleave",function(i){switch(i.type){case"mouseenter":jQuery(this).fadeTo(200,.85);break;case"mouseleave":jQuery(this).stop().fadeTo(500,1)}})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},lazyLoadCheck:function(e){if(e.find(".sbi_photo").length&&!e.closest(".sbi").hasClass("sbi-no-ll-check")){var t=this.getImageUrls(e),s=void 0!==t[640]?t[640]:e.find(".sbi_photo").attr("data-full-res");if(!this.settings.consentGiven&&s.indexOf("scontent")>-1)return;e.find(".sbi_photo img").each(function(){s&&void 0!==i(this).attr("data-src")&&i(this).attr("data-src",s),s&&void 0!==i(this).attr("data-orig-src")&&i(this).attr("data-orig-src",s),i(this).on("load",function(){!i(this).hasClass("sbi-replaced")&&i(this).attr("src").indexOf("placeholder")>-1&&(i(this).addClass("sbi-replaced"),s&&(i(this).attr("src",s),i(this).closest(".sbi_imgLiquid_bgSize").length&&i(this).closest(".sbi_imgLiquid_bgSize").css("background-image","url("+s+")")))})})}},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||i(".sbi_no_resraise").removeClass("sbi_no_resraise");var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove())},sendNeedsResizingToServer:function(){var e=this;if(e.needsResizing.length>0&&e.settings.resizingEnabled){var t=i(this.el).find(".sbi_item").length,s=void 0!==e.settings.general.cache_all&&e.settings.general.cache_all;n({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:t,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts,location:e.locationGuess(),post_id:e.settings.postID,cache_all:s},function(i){if(0===i.trim().indexOf("{")){var t=JSON.parse(i);for(var s in e.settings.debugEnabled&&console.log(t),t)t.hasOwnProperty(s)&&(e.resizedImages[s]=t[s]);e.maybeRaiseImageResolution(),setTimeout(function(){e.afterResize()},500)}})}else if(e.settings.locator){n({action:"sbi_do_locator",feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts,location:e.locationGuess(),post_id:e.settings.postID},function(i){})}}
69,loadMoreButtonInit:function(){var e=i(this.el),t=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){t.afterLoadMoreClicked(jQuery(this)),t.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),t=this;t.page++;n({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,page:t.page,feed_id:t.settings.feedID,atts:t.settings.shortCodeAtts,location:t.locationGuess(),post_id:t.settings.postID,current_resolution:t.imageResolution},function(s){if(0===s.trim().indexOf("{")){var n=JSON.parse(s);t.settings.debugEnabled&&console.log(n),t.appendNewPosts(n.html),t.addResizedImages(n.resizedImages),t.settings.ajaxPostLoad?(t.settings.ajaxPostLoad=!1,t.afterInitialImagesLoaded()):t.afterNewImagesLoaded(),n.feedStatus.shouldPaginate?t.outOfPages=!1:(t.outOfPages=!0,e.find(".sbi_load_btn").hide()),i(".sbi_no_js").removeClass("sbi_no_js")}})},appendNewPosts:function(e){var t=i(this.el);t.find("#sbi_images .sbi_item").length?t.find("#sbi_images .sbi_item").last().after(e):t.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),t=e.find(".sbi_photo").eq(0).innerWidth(),s=this.getColumnCount(),n=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),a=n/2;sbi_photo_width_manual=e.find("#sbi_images").width()/s-n,e.find(".sbi_photo").css("height",t),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var t=e.find(".sbi_photo").eq(0).innerWidth()/i;t+=parseInt(a)*(2-i+2),e.find(".sbi-owl-nav div").css("top",t)},100)},maybeRaiseSingleImageResolution:function(e,t,s){var n=this,a=n.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;s=void 0!==s&&s;if(!(e.hasClass("sbi_no_resraise")||e.hasClass("sbi_had_error")||e.find(".sbi_link_area").length&&e.find(".sbi_link_area").hasClass("sbi_had_error")))if(a.length<1)e.find(".sbi_link_area").length&&e.find(".sbi_link_area").attr("href",window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png"));else{(e.find(".sbi_link_area").length&&e.find(".sbi_link_area").attr("href")===window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png")||!n.settings.consentGiven)&&e.find(".sbi_link_area").attr("href",a[a.length-1]),void 0!==a[640]&&e.find(".sbi_photo").attr("data-full-res",a[640]),i.each(a,function(i,e){e===o&&(d=parseInt(i),s=!1)});var h=640;switch(n.settings.imgRes){case"thumb":h=150;break;case"medium":h=320;break;case"full":h=640;break;default:var c=Math.max(n.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),g=n.getBestResolutionForAuto(c,l,e);switch(g){case 320:h=320;break;case 150:h=150}}if(h>d||o===window.sbi.options.placeholder||s){if(n.settings.debugEnabled){var f=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,f)}var u=a[h].split("?ig_cache_key")[0];if(o!==u&&(e.find(".sbi_photo img").attr("src",u),e.find(".sbi_photo").css("background-image",'url("'+u+'")')),d=h,"auto"===n.settings.imgRes){var b=!1;e.find(".sbi_photo img").on("load",function(){var t=i(this),s=t.get(0).naturalWidth/t.get(0).naturalHeight;if(1e3!==t.get(0).naturalWidth&&s>l&&!b){switch(n.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),b=!0,c=e.find(".sbi_photo").innerWidth(),g=n.getBestResolutionForAuto(c,s,e),h=640,g){case 320:h=320;break;case 150:h=150}h>d&&(u=a[h].split("?ig_cache_key")[0],t.attr("src",u),t.closest(".sbi_photo").css("background-image",'url("'+u+'")')),"masonry"!==n.layout&&"highlight"!==n.layout||(i(n.el).find("#sbi_images").smashotope(n.isotopeArgs),setTimeout(function(){i(n.el).find("#sbi_images").smashotope(n.isotopeArgs)},500))}else if(n.settings.debugEnabled){var r=b?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{var e;if(i(this).addClass("sbi_img_error"),!(i(this).attr("src").indexOf("media/?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>
69-1)&&n.settings.consentGiven){if("undefined"!==i(this).closest(".sbi_photo").attr("data-img-src-set"))void 0!==(e=JSON.parse(i(this).closest(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/"))).d&&(i(this).attr("src",e.d),i(this).closest(".sbi_photo").css("background-image","url("+e.d+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"))}else n.settings.favorLocal=!0,void 0!==(e=n.getImageUrls(i(this).closest(".sbi_item")))[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"));setTimeout(function(){n.afterResize()},1500)}})}},maybeRaiseImageResolution:function(e){var t=this,s=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",n=!t.isInitialized;i(t.el).find(s).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&t.maybeRaiseSingleImageResolution(i(this),e,n)}),t.isInitialized=!0},getBestResolutionForAuto:function(e,t,s){(isNaN(t)||t<1)&&(t=1);var n=e*t,a=10*Math.ceil(n/10),o=[150,320,640];if(s.hasClass("sbi_highlighted")&&(a*=2),-1===o.indexOf(parseInt(a))){var d=!1;i.each(o,function(i,e){e>parseInt(a)&&!d&&(a=e,d=!0)})}return a},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),t=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,s=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):t;i(window).width()<480?s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var t=e.innerWidth(),s=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,n=this.getColumnCount(),a=(t-s*(n+2))/n;a>120&&a<240?e.addClass("sbi_medium"):a<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),t=i.attr("id").replace("sbi_","");if(this.settings.consentGiven||this.settings.overrideBlockCDN||(e=[]),void 0!==this.resizedImages[t]&&"video"!==this.resizedImages[t]&&"pending"!==this.resizedImages[t]&&"error"!==this.resizedImages[t].id&&"video"!==this.resizedImages[t].id&&"pending"!==this.resizedImages[t].id){if(void 0!==this.resizedImages[t].sizes){var s=[];void 0!==this.resizedImages[t].sizes.full&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg",s.push(640)),void 0!==this.resizedImages[t].sizes.low&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg",s.push(320)),void 0!==this.resizedImages[t].sizes.thumb&&(s.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg"),this.settings.favorLocal&&(-1===s.indexOf(640)&&s.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg"),-1===s.indexOf(320)&&(s.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg":s.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg")),-1===s.indexOf(150)&&(s.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg":s.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg")))}}else(void 0===this.resizedImages[t]||void 0!==this.resizedImages[t].id&&"pending"!==this.resizedImages[t].id&&"error"!==this.resizedImages[t].id)&&this.addToNeedsResizing(t);return e},getAvatarUrl:function(i,e){if(""===i)return"";var t=this.settings.general.avatars;
69return"local"===(e=void 0!==e?e:"local")?void 0!==t["LCL"+i]&&1===parseInt(t["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":void 0!==t[i]?t[i]:"":void 0!==t[i]?t[i]:void 0!==t["LCL"+i]&&1===parseInt(t["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":""},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var t=i(this.el);e(),"function"==typeof t.find(".sbi_photo").sbi_imgLiquid&&t.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,t,s,n=this;e=jQuery,t={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},s={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var t=e.sbiPreviousVisibility,n=i.is(":visible");e.sbiPreviousVisibility=n,null==t?e.runOnLoad&&e.callback(i,n):t!==n&&e.callback(i,n),setTimeout(function(){s.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var n=e.extend({},t,i);return this.each(function(){s.sbiCheckVisibility(e(this),n)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){n.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),t=this.settings.cols,s=this.settings.colsmobile,n=t;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(t)>2&&parseInt(t)<7&&(n=2),sbiWindowWidth<640&&parseInt(t)>6&&parseInt(t)<11&&(n=4),sbiWindowWidth<=480&&parseInt(t)>2&&(n=1)):sbiWindowWidth<=480&&(n=s),parseInt(n)},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary"));else if(void 0!==window.cnArgs){var i=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===i.length){var e=i.pop().split(";").shift();this.settings.consentGiven="true"===e}}else void 0!==window.cookieconsent?this.settings.consentGiven="allow"===function(i){for(var e=i+"=",t=window.document.cookie.split(";"),s=0;s<t.length;s++){var n=t[s].trim();if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}("complianz_consent_status"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie&&(this.settings.consentGiven=window.BorlabsCookie.checkCookieConsent("instagram"));var t=jQuery.Event("sbicheckconsent");return t.feed=this,jQuery(window).trigger(t),this.settings.consentGiven},afterConsentToggled:function(){if(this.checkConsent()){var i=this;i.maybeRaiseImageResolution(),setTimeout(function(){i.afterResize()},500)}},locationGuess:function(){var e=i(this.el),t="content";return e.closest("footer").length?t="footer":e.closest(".header").length||e.closest("header").length?t="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(t="sidebar"),t}},window.sbi_init=function(){window.sbi=new t,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0===window.sb_instagram_js_options&&(window.sb_instagram_js_options={font_method:"svg",resized_url:location.protocol+"//"+window.location.hostname+"/wp-content/uploads/sb-instagram-feed-images/",placeholder:location.protocol+"//"+window.location.hostname+"/wp-content/plugins/instagram-feed/img/placeholder.png"}),void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:")),sbi_init(),i("#cookie-notice a").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i(".cli-user-preference-checkbox").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i(window).on("CookiebotOnAccept",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!0,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("cmplzAcceptAll",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!0,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("cmplzRevoke",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("borlabs-cookie-consent-saved",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})})})); 70 71
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.