1document.addEventListener('DOMContentLoaded',function(){for(var cookieName in wpml_cookies){var cookieData=wpml_cookies[cookieName];document.cookie=cookieName+'='+cookieData.value+';expires='+cookieData.expires+'; path='+cookieData.path+'; SameSite=Lax'}}) 2;/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 3"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.no
3deName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
3,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}) 4;(function($){let localCache={data:{},remove:function(url){delete localCache.data[url]},exist:function(url){return localCache.data.hasOwnProperty(url)&&localCache.data[url]!==null},get:function(url){return localCache.data[url]}
4,set:function(url,cachedData,callback){localCache.remove(url);localCache.data[url]=cachedData;if($.isFunction(callback))callback(cachedData);}};function initSearchIcon(){const $search=$(this);const $wrapper=$search.parents('.thegem-template-header').length?$search.parents('.thegem-template-header'):$search.parent();const $buttonSearch=$('.thegem-te-search__item',$search);if($buttonSearch.closest('.te-menu-item-fullscreen-search').length){const $fullscreenSearch=$('.thegem-fullscreen-search',$search);const $fullscreenSearchInput=$('.thegem-fullscreen-searchform-input',$search);const $fullscreenSearchResults=$fullscreenSearch.find('.sf-result');const $fullscreenSearchClose=$fullscreenSearch.find('.sf-close');$('#page').append($fullscreenSearch);let ajax,ajaxActive=!1;const fullscreenSearchTop=()=>{let searchTop;searchTop=$wrapper.offset().top+$wrapper.outerHeight()-$(window).scrollTop();$fullscreenSearch.css('top',searchTop)};const ajaxSearch=(query)=>{const postTypes=$fullscreenSearch.data('post-types'),postTypesPpp=$fullscreenSearch.data('post-types-ppp'),resultTitle=$fullscreenSearch.data('result-title'),showAllText=$fullscreenSearch.data('show-all');if(!$fullscreenSearchInput.hasClass('styled')){let styles=$fullscreenSearchInput.data('styles');styles.forEach(function(style){$('head').append('<link rel="stylesheet" type="text/css" href="'+style+'">')});$fullscreenSearchInput.addClass('styled')} 5if(ajaxActive){ajax.abort()}else{$fullscreenSearchResults.prepend('<div class="preloader-new"><div class="preloader-spin"></div></div>')} 6ajax=$.ajax({type:'post',url:thegem_scripts_data.ajax_url,data:{action:'thegem_ajax_search',search:query,post_types:postTypes,post_types_ppp:postTypesPpp,result_title:resultTitle,show_all_text:showAllText,},beforeSend:function(){if(localCache.exist(query)){$fullscreenSearchResults.find('.preloader-new').remove();$fullscreenSearchResults.find('.result-sections').html(localCache.get(query));return!1}else{ajaxActive=!0}},success:function(response){ajaxActive=!1;$fullscreenSearchResults.find('.preloader-new').remove();$fullscreenSearchResults.find('.result-sections').html(response);localCache.set(query,response)}})};$buttonSearch.on('click','a',function(e){e.preventDefault();fullscreenSearchTop();$buttonSearch.toggleClass('active');$fullscreenSearch.toggleClass('active');if(ajaxActive){ajax.abort();ajaxActive=!1} 7$fullscreenSearchInput.val('');if($('#site-header').hasClass('fixed')){setTimeout(function(){$fullscreenSearchInput.focus()},500)}else{if($(window).scrollTop()==0){$('html, body').stop().animate({scrollTop:0},500)} 8$fullscreenSearchInput.focus()} 9$fullscreenSearchResults.find('.preloader-new').remove();$fullscreenSearchResults.find('.result-sections').html('');let scrollbarWidth=window.innerWidth-document.documentElement.clientWidth;$('.header-background, .top-area, .block-content, #page-title').css('padding-right',scrollbarWidth);$('body').toggleClass('fullscreen-search-opened')});if($fullscreenSearch.hasClass('ajax-search')){$fullscreenSearchInput.on('keyup',function(){let query=$(this).val();if(query.length>2){ajaxSearch(query)}else{if(ajaxActive){ajax.abort();ajaxActive=!1} 10$fullscreenSearchResults.find('.preloader-new').remove();$fullscreenSearchResults.find('.result-sections').html('')} 11return!1});$('.top-search-item',$fullscreenSearch).on('click',function(e){e.preventDefault();let query=$(this).data('search');ajaxSearch(query);$fullscreenSearchInput.val(query);return!1})} 12$fullscreenSearchClose.on('click',function(e){e.preventDefault();$buttonSearch.removeClass('active');$fullscreenSearch.removeClass('active');$('.header-background, .top-area, .block-content, #page-title').css('padding-right',0);$('body').removeClass('fullscreen-search-opened');if(ajaxActive){ajax.abort();ajaxActive=!1} 13$fullscreenSearchInput.val('');$fullscreenSearchResults.find('.preloader-new').remove();$fullscreenSearchResults.find('.result-sections').html('')});$(document).keyup(function(e){if(e.key==="Escape"){$fullscreenSearchClose.trigger('click')}})}else{const $miniSearch=$('.minisearch',$search);$('.thegem-te-search-hide').css('display','');if($buttonSearch.offset().left-$('#page').offset().left+$miniSearch.outerWidth()>$('#page').width()){$miniSearch.addClass('invert')} 14$buttonSearch.on('click','a',function(e){e.preventDefault();$buttonSearch.toggleClass('active');$('.sf-input',$buttonSearch).focus()});$(document).on('click',function(e){if(!$(e.target).parents('.thegem-te-search__item').length){$('.thegem-te-search__item').removeClass('active')}})}} 15$.fn.initSearchIcons=function(){$(this).each(initSearchIcon)};$(function(){$('.thegem-te-search').initSearchIcons();if(navigator.appVersion.indexOf("Win")!=-1){$('body').addClass('platform-Windows')}})})(jQuery) 16;function sdm_is_ie(){var ua=window.navigator.userAgent;var msie=ua.indexOf("MSIE ");if(msie>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return!0} 17return!1} 18jQuery(document).ready(function($){$('li.sdm_cat').each(function(){var $this=$(this);this_slug=$this.attr('id');this_id=$this.children('.sdm_cat_title').attr('id');$.post(sdm_ajax_script.ajaxurl,{action:'sdm_pop_cats',cat_slug:this_slug,parent_id:this_id},function(response){$.each(response.final_array,function(key,value){$this.children('.sdm_placeholder').append('<a href="'+value.permalink+'"><span class="sdm_post_title" style="cursor:pointer;">'+value.title+'</span></a>')});$this.children('span').append('<span style="margin-left:5px;" class="sdm_arrow">↨</span>')})});$('li.sdm_cat').children('.sdm_placeholder').hide();$('body').on('click','.sdm_cat_title',function(e){if($(this).next().html()!=''){$(this).next().slideToggle()}});$('.sdm_download_with_condition').on('click',function(e){e.preventDefault();$(this).closest('form').trigger('submit')});if($('.sdm-termscond-checkbox').length){$.each($('.sdm-termscond-checkbox'),function(){if(!$(this).is(':checked')){var cur=$(this).children(':checkbox');var btn=$(cur).closest('form').find('a.sdm_download,a.sdm_download_with_condition');$(btn).addClass('sdm_disabled_button')}});$.each($('.sdm-download-form'),function(){var form=$(this);form.on('submit',function(){if($('.agree_termscond',form).is(':checked')){$('.
18sdm-termscond-checkbox',form).removeClass('sdm_general_error_msg');return!0}else{$('.sdm-termscond-checkbox',form).addClass('sdm_general_error_msg')} 19return!1})});$.each($('.agree_termscond'),function(){var element=$(this);var form=element.closest('form');element.on('click',function(){if(element.is(':checked')){$('.sdm_download_with_condition',form).removeClass('sdm_disabled_button');$('.sdm-termscond-checkbox',form).removeClass('sdm_general_error_msg')}else{$('.sdm_download_with_condition',form).addClass('sdm_disabled_button');$('.sdm-termscond-checkbox',form).addClass('sdm_general_error_msg')}})})}}) 20;jQuery(document).ready(function(l){l(document).on("click",".upl-list-button",function(t){const n=this.id.match(/[0-9]+/),u="#upl-list-"+n,a="#upl-list-"+n+"-form",e="#upl-list-"+n+"-button",i="#upl-list-"+n+"-spinner",o="#upl-list-"+n+"-no-more-label";return l(i).show(),l(e).attr("disabled",!0),data={action:"upl_ajax_load_more",list_id:n,number_items:l(u+" ul").find("li").length,upl_nonce:upl_vars.upl_nonce},jQuery.post(upl_vars.ajaxurl,data,function(t){t?(l(u+" ul").append(t),l(e).blur()):(l(u).append("<p>"+l(o).val()+"</p>"),l(a).remove()),l(i).hide(),l(e).attr("disabled",!1)}),!1})}) 21;"use strict";var WPMLLanguageSwitcherDropdown=function(){function n(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}function r(e,t){var n=e.closest(o);n&&n.querySelector(".wpml-ls-sub-menu")&&((void 0!==t?t:"true"===e.getAttribute("aria-expanded"))?(e.setAttribute("aria-expanded","false"),n.classList.remove("wpml-ls-keyboard-open")):(e.setAttribute("aria-expanded","true"),n.classList.add("wpml-ls-keyboard-open")))}function a(e){var t=e.key||e.keyCode;"Enter"===t||" "===t||13===t||32===t?(n(e),r(this)):"Escape"!==t&&"Esc"!==t&&27!==t||"true"===this.getAttribute("aria-expanded")&&(n(e),r(this,!1),this.focus())}function i(e){var t=this,n=t.closest(o);n&&setTimeout(function(){var e=document.activeElement;n.querySelector(".wpml-ls-sub-menu")&&!n.contains(e)&&r(t,!1)},100)}var o=".wpml-ls-item-legacy-dropdown";return{init:function(){for(var e=document.querySelectorAll(".js-wpml-ls-legacy-dropdown a.js-wpml-ls-item-toggle"),t=0;t<e.length;t++)e[t].addEventListener("click",n),e[t].addEventListener("keydown",a),e[t].addEventListener("blur",i)}}}();document.addEventListener("DOMContentLoaded",function(){WPMLLanguageSwitcherDropdown.init()}) 22;!function(e,t){e._EPYT_=e._EPYT_||{ajaxurl:"/wp-admin/admin-ajax.php",security:"",gallery_scrolloffset:100,eppathtoscripts:"/wp-content/plugins/youtube-embed-plus/scripts/",eppath:"/wp-content/plugins/youtube-embed-plus/",epresponsiveselector:["iframe.__youtube_prefs_widget__"],epdovol:!0,evselector:'iframe.__youtube_prefs__[src], iframe[src*="youtube.com/embed/"], iframe[src*="youtube-nocookie.com/embed/"]',stopMobileBuffer:!0,ajax_compat:!1,usingdefault:!0,ytapi_load:"light",pause_others:!1,facade_mode:!1,not_live_on_channel:!1,maxres_facade:"eager"},e._EPYT_.touchmoved=!1,e._EPYT_.apiVideos=e._EPYT_.apiVideos||{},0===e.location.toString().indexOf("https://")&&(e._EPYT_.ajaxurl=e._EPYT_.ajaxurl.replace("http://","https://")),e._EPYT_.pageLoaded=!1,t(e).on("load._EPYT_",(function(){e._EPYT_.pageLoaded=!0})),document.querySelectorAll||(document.querySelectorAll=function(t){var a=document,o=a.documentElement.firstChild,r=a.createElement("STYLE");return o.appendChild(r),a.__qsaels=[],r.styleSheet.cssText=t+"{x:expression(document.__qsaels.push(this))}",e.scrollBy(0,0),a.__qsaels}),void 0===e._EPADashboard_&&(e._EPADashboard_={initStarted:!1,checkCount:0,onPlayerReady:function(a){try{if(void 0!==_EPYT_.epdovol&&_EPYT_.epdovol){var o=parseInt(a.target.getIframe().getAttribute("data-vol"));isNaN(o)||(0===o?a.target.mute():(a.target.isMuted()&&a.target.unMute(),a.target.setVolume(o)))}var r=parseInt(a.target.getIframe().getAttribute("data-epautoplay"));isNaN(r)||1!==r||a.target.playVideo()}catch(e){}try{var i=a.target.getIframe(),n=i.getAttribute("id");e._EPYT_.apiVideos[n]=a.target,e._EPYT_.not_live_on_channel&&a.target.getVideoUrl().indexOf("live_stream")>0&&e._EPADashboard_.doLiveFallback(i)}catch(e){}finally{t(a.target.getIframe()).css("opacity",1)}},onPlayerStateChange:function(a){var o=a.target.getIframe();if(e._EPYT_.pause_others&&a.data===e.YT.PlayerState.PLAYING&&e._EPADashboard_.pauseOthers(a.target),a.data===e.YT.PlayerState.PLAYING&&!0!==a.target.ponce&&-1===o.src.indexOf("autoplay=1")&&(a.target.ponce=!0),a.data===e.YT.PlayerState.ENDED&&"1"==t(o).data("relstop"))if("function"==typeof a.target.stopVideo)a.target.stopVideo();else{var r=t(o).clone(!0).off();r.attr("src",e._EPADashboard_.cleanSrc(r.attr("src").replace("autoplay=1","autoplay=0"))),t(o).replaceWith(r),e._EPADashboard_.setupevents(r.attr("id")),o=r.get(0)}var i=t(o).closest(".epyt-gallery");if((i.length||(i=t("#"+t(o).data("epytgalleryid"))),i.length)&&("1"==i.find(".epyt-pagebutton").first().data("autonext")&&a.data===e.YT.PlayerState.ENDED)){var n=i.find(".epyt-current-video");n.length||(n=i.find(".epyt-gallery-thumb").first());var d=n.find(" ~ .epyt-gallery-thumb").first();d.length?d.trigger("click"):i.find('.epyt-pagebutton.epyt-next[data-pagetoken!=""][data-pagetoken]').first().trigger("click")}},isMobile:function(){return/Mobi|Android/i.test(navigator.userAgent)},base64DecodeUnicode:function(e){return e=e.replace(/\s/g,""),decodeURIComponent(Array.prototype.map.call(atob(e),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))},findSwapBlock:function(e){var a=t(e).closest(".wp-block-embed");return a.length||(a=t(e).closest(".epyt-live-chat-wrapper")),a.length||(a=t(e).closest(".epyt-video-wrapper")),a.length||(a=t(e)),a},doLiveFallback:function(a){var o=_EPADashboard_.findSwapBlock(a);if(o.length){var r=t("#epyt-live-fallback");if(r.length){var i="";try{i=e._EPADashboard_.base64DecodeUnicode(r.get(0).innerHTML)}catch(e){}if(i){var n=o.parent();e._EPADashboard_.loadYTAPI(),o.replaceWith(i),e._EPADashboard_.apiInit(),e._EPADashboard_.pageReady(),setTimeout((function(){void 0!==t.fn.fitVidsEP&&n.fitVidsEP()}),1)}}}},videoEqual:function(e,t){return!(!e.getIframe||!t.getIframe||e.getIframe().id!==t.getIframe().id)},pauseOthers:function(t){if(t)for(var a in e._EPYT_.apiVideos){var o=e._EPYT_.apiVideos[a];o&&"function"==typeof o.pauseVideo&&o!=t&&!_EPADashboard_.videoEqual(o,t)&&"function"==typeof o.getPlayerState&&[YT.PlayerState.BUFFERING,e.YT.PlayerState.PLAYING].indexOf(o.getPlayerState())>=0&&o.pauseVideo()}},justid:function(e){return new RegExp("[\\?&]v=([^&#]*)").exec(e)[1]},setupevents:function(t){if(void 0!==e.YT&&null!==e.YT&&e.YT.loaded){var a=document.getElementById(t);if(!a.epytsetupdone){e._EPADashboard_.log("Setting up YT API events: "+t),a.epytsetupdone=!0;var o={events:{onReady:e._EPADashboard_.onPlayerReady,onStateChange:e._EPADashboard_.onPlayerStateChange},host:(a.src||"").indexOf("nocookie")>0?"https://www.youtube-nocookie.com":"https://www.youtube.com"};return new e.YT.Player(t,o)}}},apiInit:function(){if(void 0!==e.YT){e._EPADashboard_.initStarted=!0;for(var t=document.querySelectorAll(_EPYT_.evselector),a=0;a<t.length;a++)t[a].hasAttribute("id")||(t[a].id="_dytid_"+Math.round(8999*Math.random()+1e3)),e._EPADashboard_.setupevents(t[a].id)}},log:function(e){try{}catch(e){}},doubleCheck:function(){e._EPADashboard_.checkInterval=setInterval((function(){e._EPADashboard_.checkCount++,e._EPADashboard_.checkCount>=5||e._EPADashboard_.initStarted?clearInterval(e._EPADashboard_.checkInterval):(e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API init check"))}),1e3)},selectText:function(t){if(document.selection)(a=document.body.createTextRange()).moveToElementText(t),a.select();else if(e.getSelection){var a,o=e.getSelection();(a=document.createRange()).selectNode(t),o.removeAllRanges(),o.addRange(a)}},setVidSrc:function(t,a){if(t.is(".epyt-facade"))return t.attr("data-facadesrc",e._EPADashboard_.cleanSrc(a)),void t.trigger("click");var o=e._EPADashboard_.cleanSrc(a),r=e._EPADashboard_.parseYouTubeEmbedUrl(o),i=t.attr("id"),n=i?e._EPYT_.apiVideos[i]:null,d=void 0!==e.YT&&null!==e.YT&&e.YT.loaded;if(r.videoId&&"live_stream"!==r.videoId&&d&&n&&"function"==typeof n.loadVideoById){var s=e._EPADashboard_.mapUrlParamsToLoadOptions(r.params,r.videoId),l="1"===r.params.autoplay;try{l?n.loadVideoById(s):n.cueVideoById(s),t.data("ep-current-src",o)}catch(a){return void e._EPADashboard_.setVidSrcLegacy(t,o)}t.css("opacity","1")}else e._EPADashboard_.setVidSrcLegacy(t,o)},cleanSrc:function(e){return e.replace("enablejsapi=1?enablejsapi=1","enablejsapi=1")},parseYouTubeEmbedUrl:function(e){var t={videoId:null,params:{}};if(!e||"string"!=typeof e)return t;var a=e.match(/\/embed\/([a-zA-Z0-9_-]{11})/);a&&a[1]?t.videoId=a[1]:e.indexOf("/embed/live_stream")>-1&&(t.videoId="live_stream");var o=e.indexOf("?");if(o>-1)for(var r=e.substring(o+1).split("#")[0].split("&"),i=0;i<r.length;i++){var n=r[i].split("=");2===n.length&&(t.params[decodeURIComponent(n[0])]=decodeURIComponent(n[1]))}return t},mapUrlParamsToLoadOptions:function(e,t){var a={videoId:t},o=e.start||e.t;if(o){var r=parseInt(o,10);!isNaN(r)&&r>0&&(a.startSeconds=r)}if(e.end){var i=parseInt(e.end,10);!isNaN(i)&&i>0&&(a.endSeconds=i)}return a},setVidSrcLegacy:function(t,a){if(t.get(0).src&&t.get(0).contentWindow&&t.get(0).contentWindow.location)try{t.get(0).contentWindow.location.replace(a)}catch(e){t.attr("src",a)}else t.attr("src",a);t.get(0).epytsetupdone=!1,t.attr("id")||t.attr("id","_dytid_"+Math.round(8999*Math.random()+1e3)),e._EPADashboard_.setupevents(t.attr("id")),t.css("opacity","1")},loadYTAPI:function(){if(void 0===e.YT){if("never"!==e._EPYT_.ytapi_load&&("always"===e._EPYT_.ytapi_load||t('iframe[src*="youtube.com/embed/"], iframe[data-src*="youtube.com/embed/"], .__youtube_prefs__').length)){var a=document.createElement("script");a.src="https://www.youtube.com/iframe_api",a.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(a)}}else e.YT.loaded&&(e._EPYT_.pageLoaded?(e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API available")):t(e).on("load._EPYT_",(function(){e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API available 2")})))},resolveFacadeQuality:function(e,a){if(e.epytFacadeCount=void 0===e.epytFacadeCount?0:e.epytFacadeCount+1,a||e.naturalHeight<200){var o=t(e).attr("src");o&&(t(e).attr("src",o.replace("maxresdefault","hqdefault")),t(e).off("load.epyt"))}e.epytFacadeCount>2&&t(e).off("load.epyt")},maximizeFacadeQuality:function(e){var a=t(e).attr("src");if(a&&a.indexOf("maxresdefault")<0){var o=a.replace("hqdefault","maxresdefault"),r=new Image;r.src=o,t(r).on("load.epyt",(function(){t(r).off("load.epyt"),r.naturalHeight>200&&(t(e).off("load.epyt"),t(e).attr("src",r.src))})).on("error",(function(){t(r).off("load.epyt")})).each((function(){r.complete&&t(r).trigger("load")}))}},pageReady:function(){e._EPYT_.not_live_on_channel&&"never"!==e._EPYT_.ytapi_load&&t(".epyt-live-channel").each((function(){var e=t(this);e.data("eypt-fallback")||(e.data("eypt-fallback",!0),e.css("opacity",0),setTimeout((function(){e.css("opacity",1)}),4e3))})),t(".epyt-gallery").each((function(){var a=t(this);if(!a.data("epytevents")||!t("body").hasClass("block-editor-page")){a.data("epytevents","1");var o=t(this).find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first(),r=o.data("src")||o.data("facadesrc")||o.attr("src");r||(r=o.data("ep-src"));var i=t(this).find(".epyt-gallery-list .epyt-gallery-thumb").first().data("videoid");void 0!==r?(r=r.replace(i,"GALLERYVIDEOID"),a.data("ep-gallerysrc",r)):o.hasClass("__youtube_prefs_gdpr__")&&a.data("ep-gallerysrc",""),a.on("click touchend",".epyt-gallery-list .epyt-gallery-thumb",(function(r){if(o=a.find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first(),!e._EPYT_.touchmoved&&!t(this).hasClass("epyt-current-video")){a.find(".epyt-gallery-list .epyt-gallery-thumb").removeClass("epyt-current-video"),t(this).addClass("epyt-current-video");var i=t(this).data("videoid");a.data("currvid",i);var n=a.data("ep-gallerysrc").replace("GALLERYVIDEOID",i),d=a.find(".epyt-pagebutton").first().data("thumbplay");"0"!==d&&0!==d&&(n.indexOf("autoplay")>0?n=n.replace("autoplay=0","autoplay=1"):n+="&autoplay=1",o.addClass("epyt-thumbplay"));var s=Math.max(t("body").scrollTop(),t("html").scrollTop()),l=o.offset().top-parseInt(_EPYT_.gallery_scrolloffset);s>l?t("html, body").animate({scrollTop:l},500,(function(){e._EPADashboard_.setVidSrc(o,n)})):e._EPADashboard_.setVidSrc(o,n)}})).on("touchmove",(function(t){e._EPYT_.touchmoved=!0})).on("touchstart",(function(){e._EPYT_.touchmoved=!1})).on("keydown",".epyt-gallery-list .epyt-gallery-thumb, .epyt-pagebutton",(function(e){var a=e.which;13!==a&&32!==a||(e.preventDefault(),t(this).trigger("click"))})),a.on("mouseenter",".epyt-gallery-list .epyt-gallery-thumb",(function(){t(this).addClass("hover")})),a.on("mouseleave",".epyt-gallery-list .epyt-gallery-thumb",(function(){t(this).removeClass("hover")}
22)),a.on("click touchend",".epyt-pagebutton",(function(o){if(!e._EPYT_.touchmoved&&!a.find(".epyt-gallery-list").hasClass("epyt-loading")){a.find(".epyt-gallery-list").addClass("epyt-loading");var r=void 0!==o.originalEvent,i={action:"my_embedplus_gallery_page",security:_EPYT_.security,options:{playlistId:t(this).data("playlistid"),pageToken:t(this).data("pagetoken"),pageSize:t(this).data("pagesize"),columns:t(this).data("epcolumns"),showTitle:t(this).data("showtitle"),showPaging:t(this).data("showpaging"),autonext:t(this).data("autonext"),thumbplay:t(this).data("thumbplay")}},n=t(this).hasClass("epyt-next"),d=parseInt(a.data("currpage")+"");d+=n?1:-1,a.data("currpage",d),t.post(_EPYT_.ajaxurl,i,(function(e){a.find(".epyt-gallery-list").html(e),a.find(".epyt-current").each((function(){t(this).text(a.data("currpage"))})),a.find('.epyt-gallery-thumb[data-videoid="'+a.data("currvid")+'"]').addClass("epyt-current-video"),"1"!=a.find(".epyt-pagebutton").first().data("autonext")||r||a.find(".epyt-gallery-thumb").first().trigger("click")})).fail((function(){alert("Sorry, there was an error loading the next page.")})).always((function(){if(a.find(".epyt-gallery-list").removeClass("epyt-loading"),"1"!=a.find(".epyt-pagebutton").first().data("autonext")){var e=Math.max(t("body").scrollTop(),t("html").scrollTop()),o=a.find(".epyt-gallery-list").offset().top-parseInt(_EPYT_.gallery_scrolloffset);e>o&&t("html, body").animate({scrollTop:o},500)}}))}})).on("touchmove",(function(t){e._EPYT_.touchmoved=!0})).on("touchstart",(function(){e._EPYT_.touchmoved=!1}))}})),t(".__youtube_prefs_gdpr__.epyt-is-override").each((function(){t(this).parent(".wp-block-embed__wrapper").addClass("epyt-is-override__wrapper")})),t("button.__youtube_prefs_gdpr__").on("click",(function(a){a.preventDefault(),t.cookie&&(t.cookie("ytprefs_gdpr_consent","1",{expires:30,path:"/"}),e.top.location.reload())})),"eager"===e._EPYT_.maxres_facade?t("img.epyt-facade-poster").on("load.epyt",(function(){e._EPADashboard_.resolveFacadeQuality(this,!1)})).on("error",(function(){e._EPADashboard_.resolveFacadeQuality(this,!0)})).each((function(){this.complete&&t(this).trigger("load")})):"soft"===e._EPYT_.maxres_facade&&t("img.epyt-facade-poster").on("load.epyt",(function(){e._EPADashboard_.maximizeFacadeQuality(this)})).each((function(){this.complete&&t(this).trigger("load")})),t(".epyt-facade-play").each((function(){t(this).find("svg").length||t(this).append('<svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg>')})),t(".epyt-facade-poster[data-facadeoembed]").each((function(){var a=t(this);if(!a.data("facadeoembedcomplete")){a.data("facadeoembedcomplete","1");var o="https://www.youtube.com/"+a.data("facadeoembed");t.get("https://youtube.com/oembed",{url:o,format:"json"},(function(t){var o="eager"===e._EPYT_.maxres_facade?t.thumbnail_url.replace("hqdefault","maxresdefault"):t.thumbnail_url;a.attr("src",o)}),"json").fail((function(){})).always((function(){}))}})),t(document).on("click",".epyt-facade",(function(a){var o=t(this),r=o.attr("data-facadesrc");r=e._EPADashboard_.cleanSrc(r);for(var i=document.createElement("iframe"),n=0;n<this.attributes.length;n++){var d=this.attributes[n];(["allow","class","height","id","width"].indexOf(d.name.toLowerCase())>=0||0==d.name.toLowerCase().indexOf("data-"))&&t(i).attr(d.name,d.value)}t(i).removeClass("epyt-facade"),t(i).attr("allowfullscreen","").attr("title",o.find("img").attr("alt")).attr("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share").attr("referrerpolicy","strict-origin-when-cross-origin"),e._EPADashboard_.loadYTAPI(),o.replaceWith(i),e._EPADashboard_.setVidSrc(t(i),r),setTimeout((function(){void 0!==t.fn.fitVidsEP&&t(t(i).parent()).fitVidsEP()}),1)}))}}),e.onYouTubeIframeAPIReady=void 0!==e.onYouTubeIframeAPIReady?e.onYouTubeIframeAPIReady:function(){e._EPYT_.pageLoaded?(e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API ready")):t(e).on("load._EPYT_",(function(){e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API ready 2")}))},(!e._EPYT_.facade_mode||e._EPYT_.not_live_on_channel&&t('iframe[src*="youtube.com/embed/live_stream"], iframe[data-src*="youtube.com/embed/live_stream"]').length)&&e._EPADashboard_.loadYTAPI(),e._EPYT_.pageLoaded?e._EPADashboard_.doubleCheck():t(e).on("load._EPYT_",(function(){e._EPADashboard_.doubleCheck()})),t(document).ready((function(){e._EPADashboard_.pageReady(),(!e._EPYT_.facade_mode||e._EPYT_.not_live_on_channel&&t('iframe[src*="youtube.com/embed/live_stream"], iframe[data-src*="youtube.com/embed/live_stream"]').length)&&e._EPADashboard_.loadYTAPI(),e._EPYT_.ajax_compat&&t(e).on("load._EPYT_",(function(){t(document).ajaxSuccess((function(t,a,o){a&&a.responseText&&(-1!==a.responseText.indexOf("<iframe ")||-1!==a.responseText.indexOf("enablejsapi"))&&(e._EPADashboard_.loadYTAPI(),e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API AJAX"),e._EPADashboard_.pageReady())}))}))}))}(window,jQuery) 23;!function(t){t.fn.checkbox=function(){t(this).each((function(){var e=t(this),a=e.attr("type");e.hide(),e.next("."+a+"-sign").remove();var n=t('<span class="'+a+'-sign" />').insertAfter(e);n.click((function(){n.closest("label").length||("radio"==e.attr("type")?e.prop("checked",!0).trigger("change").trigger("click"):e.prop("checked",!e.is(":checked")).trigger("change"))})),e.change((function(){t('input[name="'+e.attr("name")+'"]').each((function(){t(this).is(":checked")?t(this).next("."+t(this).attr("type")+"-sign").addClass("checked"):t(this).next("."+t(this).attr("type")+"-sign").removeClass("checked")}))})),e.is(":checked")?n.addClass("checked"):n.removeClass("checked")}))},t.fn.combobox=function(){t(this).each((function(){var e=t(this);e.insertBefore(e.parent(".combobox-wrapper")),e.next(".combobox-wrapper").remove(),e.css({opacity:0,position:"absolute",left:0,right:0,top:0,bottom:0});var a=t('<span class="combobox-wrapper" />').insertAfter(e),n=t('<span class="combobox-text" />').appendTo(a);t('<span class="combobox-button" />').appendTo(a);e.appendTo(a),e.change((function(){n.text(t("option:selected",e).text())})),n.text(t("option:selected",e).text()),e.comboWrap=a}))},t(":input").each((function(){const e=t(this);if(!e.attr("aria-label")){var a=e.attr("name");e.is("button")&&""===t.trim(e.text())&&!a&&(a=e.attr("type"),e.attr("aria-label",a)),a&&(e.closest("label").length&&""===t.trim(e.closest("label").text())&&!e.closest("label").attr("aria-label")?(e.closest("label").attr("aria-label",a),e.attr("aria-label",a)):e.attr("aria-label",a))}})),t("label").each((function(){const e=t(this);if(""===t.trim(e.text())){if(e.attr("aria-label"))return;let a=null;const n=e.attr("for");
23if(a=n?t("#"+n):e.find(":input").first(),a&&a.length>0){const t=a.attr("name");t&&e.attr("aria-label",t)}}}))}(jQuery) 24;(function(factory){if(typeof define==="function"&&define.amd){define(["jquery"],function($){return factory($)})}else if(typeof module==="object"&&typeof module.exports==="object"){exports=factory(require("jquery"))}else{factory(jQuery)}})(function($){$.easing.jswing=$.easing.swing;var pow=Math.pow,sqrt=Math.sqrt,sin=Math.sin,cos=Math.cos,PI=Math.PI,c1=1.70158,c2=c1*1.525,c3=c1+1,c4=2*PI/3,c5=2*PI/4.5;function bounceOut(x){var n1=7.5625,d1=2.75;if(x<1/d1){return n1*x*x}else if(x<2/d1){return n1*(x-=1.5/d1)*x+.75}else if(x<2.5/d1){return n1*(x-=2.25/d1)*x+.9375}else{return n1*(x-=2.625/d1)*x+.984375}} 25$.extend($.easing,{def:"easeOutQuad",swing:function(x){return $.easing[$.easing.def](x)},easeInQuad:function(x){return x*x},easeOutQuad:function(x){return 1-(1-x)*(1-x)},easeInOutQuad:function(x){return x<.5?2*x*x:1-pow(-2*x+2,2)/2},easeInCubic:function(x){return x*x*x},easeOutCubic:function(x){return 1-pow(1-x,3)},easeInOutCubic:function(x){return x<.5?4*x*x*x:1-pow(-2*x+2,3)/2},easeInQuart:function(x){return x*x*x*x},easeOutQuart:function(x){return 1-pow(1-x,4)},easeInOutQuart:function(x){return x<.5?8*x*x*x*x:1-pow(-2*x+2,4)/2},easeInQuint:function(x){return x*x*x*x*x},easeOutQuint:function(x){return 1-pow(1-x,5)},easeInOutQuint:function(x){return x<.5?16*x*x*x*x*x:1-pow(-2*x+2,5)/2},easeInSine:function(x){return 1-cos(x*PI/2)},easeOutSine:function(x){return sin(x*PI/2)},easeInOutSine:function(x){return-(cos(PI*x)-1)/2},easeInExpo:function(x){return x===0?0:pow(2,10*x-10)},easeOutExpo:function(x){return x===1?1:1-pow(2,-10*x)},easeInOutExpo:function(x){return x===0?0:x===1?1:x<.5?pow(2,20*x-10)/2:(2-pow(2,-20*x+10))/2},easeInCirc:function(x){return 1-sqrt(1-pow(x,2))},easeOutCirc:function(x){return sqrt(1-pow(x-1,2))},easeInOutCirc:function(x){return x<.5?(1-sqrt(1-pow(2*x,2)))/2:(sqrt(1-pow(-2*x+2,2))+1)/2},easeInElastic:function(x){return x===0?0:x===1?1:-pow(2,10*x-10)*sin((x*10-10.75)*c4)},easeOutElastic:function(x){return x===0?0:x===1?1:pow(2,-10*x)*sin((x*10-.75)*c4)+1},easeInOutElastic:function(x){return x===0?0:x===1?1:x<.5?-(pow(2,20*x-10)*sin((20*x-11.125)*c5))/2:pow(2,-20*x+10)*sin((20*x-11.125)*c5)/2+1},easeInBack:function(x){return c3*x*x*x-c1*x*x},easeOutBack:function(x){return 1+c3*pow(x-1,3)+c1*pow(x-1,2)},easeInOutBack:function(x){return x<.5?pow(2*x,2)*((c2+1)*2*x-c2)/2:(pow(2*x-2,2)*((c2+1)*(x*2-2)+c2)+2)/2},easeInBounce:function(x){return 1-bounceOut(1-x)},easeOutBounce:bounceOut,easeInOutBounce:function(x){return x<.5?(1-bounceOut(1-2*x))/2:(1+bounceOut(2*x-1))/2}})}) 26;(function(){var defaultOptions={frameRate:150,animationTime:400,stepSize:100,pulseAlgorithm:!0,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:!0,arrowScroll:50,fixedBackground:!0,excluded:''};var options=defaultOptions;var isExcluded=!1;var isFrame=!1;var direction={x:0,y:0};var initDone=!1;var root=document.documentElement;var activeElement;var observer;var refreshSize;var deltaBuffer=[];var deltaBufferTimer;var isMac=/^Mac/.test(navigator.platform);var key={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36};var arrowKeys={37:1,38:1,39:1,40:1};function initTest(){if(options.keyboardSupport){addEvent('keydown',keydown)}} 27function init(){if(initDone||!document.body)return;initDone=!0;var body=document.body;var html=document.documentElement;var windowHeight=window.innerHeight;var scrollHeight=body.scrollHeight;root=(document.compatMode.indexOf('CSS')>=0)?html:body;activeElement=body;initTest();if(top!=self){isFrame=!0}else if(isOldSafari&&scrollHeight>windowHeight&&(body.offsetHeight<=windowHeight||html.offsetHeight<=windowHeight)){var fullPageElem=document.createElement('div');fullPageElem.style.cssText='position:absolute; z-index:-10000; '+'top:0; left:0; right:0; height:'+root.scrollHeight+'px';document.body.appendChild(fullPageElem);var pendingRefresh;refreshSize=function(){if(pendingRefresh)return;pendingRefresh=setTimeout(function(){if(isExcluded)return;fullPageElem.style.height='0';fullPageElem.style.height=root.scrollHeight+'px';pendingRefresh=null},500)};setTimeout(refreshSize,10);addEvent('resize',refreshSize);var config={attributes:!0,childList:!0,characterData:!1};observer=new MutationObserver(refreshSize);observer.observe(body,config);if(root.offsetHeight<=windowHeight){var clearfix=document.createElement('div');clearfix.style.clear='both';body.appendChild(clearfix)}}
28if(!options.fixedBackground&&!isExcluded){body.style.backgroundAttachment='scroll';html.style.backgroundAttachment='scroll'}} 29function cleanup(){observer&&observer.disconnect();removeEvent(wheelEvent,wheel);removeEvent('mousedown',mousedown);removeEvent('keydown',keydown);removeEvent('resize',refreshSize);removeEvent('load',init)} 30var que=[];var pending=!1;var lastScroll=Date.now();function scrollArray(elem,left,top){directionCheck(left,top);if(options.accelerationMax!=1){var now=Date.now();var elapsed=now-lastScroll;if(elapsed<options.accelerationDelta){var factor=(1+(50/elapsed))/2;if(factor>1){factor=Math.min(factor,options.accelerationMax);left*=factor;top*=factor}} 31lastScroll=Date.now()} 32que.push({x:left,y:top,lastX:(left<0)?0.99:-0.99,lastY:(top<0)?0.99:-0.99,start:Date.now()});if(pending){return} 33var scrollRoot=getScrollRoot();var isWindowScroll=(elem===scrollRoot||elem===document.body);if(elem.$scrollBehavior==null&&isScrollBehaviorSmooth(elem)){elem.$scrollBehavior=elem.style.scrollBehavior;elem.style.scrollBehavior='auto'} 34var step=function(time){var now=Date.now();var scrollX=0;var scrollY=0;for(var i=0;i<que.length;i++){var item=que[i];var elapsed=now-item.start;var finished=(elapsed>=options.animationTime);var position=(finished)?1:elapsed/options.animationTime;if(options.pulseAlgorithm){position=pulse(position)} 35var x=(item.x*position-item.lastX)>>0;var y=(item.y*position-item.lastY)>>0;scrollX+=x;scrollY+=y;item.lastX+=x;item.lastY+=y;if(finished){que.splice(i,1);i--}} 36if(isWindowScroll){window.scrollBy(scrollX,scrollY)}else{if(scrollX)elem.scrollLeft+=scrollX;if(scrollY)elem.scrollTop+=scrollY} 37if(!left&&!top){que=[]} 38if(que.length){requestFrame(step,elem,(1000/options.frameRate+1))}else{pending=!1;if(elem.$scrollBehavior!=null){elem.style.scrollBehavior=elem.$scrollBehavior;elem.$scrollBehavior=null}}};requestFrame(step,elem,0);pending=!0} 39function wheel(event){if(!initDone){init()} 40var target=event.target;if(event.defaultPrevented||event.ctrlKey){return!0} 41if(isNodeName(activeElement,'embed')||(isNodeName(target,'embed')&&/\.pdf/i.test(target.src))||isNodeName(activeElement,'object')||target.shadowRoot){return!0} 42var deltaX=-event.wheelDeltaX||event.deltaX||0;var deltaY=-event.wheelDeltaY||event.deltaY||0;if(isMac){if(event.wheelDeltaX&&isDivisible(event.wheelDeltaX,120)){deltaX=-120*(event.wheelDeltaX/Math.abs(event.wheelDeltaX))} 43if(event.wheelDeltaY&&isDivisible(event.wheelDeltaY,120)){deltaY=-120*(event.wheelDeltaY/Math.abs(event.wheelDeltaY))}} 44if(!deltaX&&!deltaY){deltaY=-event.wheelDelta||0} 45if(event.deltaMode===1){deltaX*=40;deltaY*=40} 46var overflowing=overflowingAncestor(target);if(!overflowing){if(isFrame&&isChrome){Object.defineProperty(event,"target",{value:window.frameElement});return parent.wheel(event)} 47return!0} 48if(isTouchpad(deltaY)){return!0} 49if(Math.abs(deltaX)>1.2){deltaX*=options.stepSize/120} 50if(Math.abs(deltaY)>1.2){deltaY*=options.stepSize/120} 51scrollArray(overflowing,deltaX,deltaY);event.preventDefault();scheduleClearCache()} 52function keydown(event){var target=event.target;var modifier=event.ctrlKey||event.altKey||event.metaKey||(event.shiftKey&&event.keyCode!==key.spacebar);if(!document.body.contains(activeElement)){activeElement=document.activeElement} 53var inputNodeNames=/^(textarea|select|embed|object)$/i;var buttonTypes=/^(button|submit|radio|checkbox|file|color|image)$/i;if(event.defaultPrevented||inputNodeNames.test(target.nodeName)||isNodeName(target,'input')&&!buttonTypes.test(target.type)||isNodeName(activeElement,'video')||isInsideYoutubeVideo(event)||target.isContentEditable||modifier){return!0} 54if((isNodeName(target,'button')||isNodeName(target,'input')&&buttonTypes.test(target.type))&&event.keyCode===key.spacebar){return!0} 55if(isNodeName(target,'input')&&target.type=='radio'&&arrowKeys[event.keyCode]){return!0} 56var shift,x=0,y=0;var overflowing=overflowingAncestor(activeElement);if(!overflowing){return(isFrame&&isChrome)?parent.keydown(event):!0} 57var clientHeight=overflowing.clientHeight;if(overflowing==document.body){clientHeight=window.innerHeight} 58switch(event.keyCode){case key.up:y=-options.arrowScroll;break;case key.down:y=options.arrowScroll;break;case key.spacebar:shift=event.shiftKey?1:-1;y=-shift*clientHeight*0.9;break;case key.pageup:y=-clientHeight*0.9;break;case key.pagedown:y=clientHeight*0.9;break;case key.home:if(overflowing==document.body&&document.scrollingElement) 59overflowing=document.scrollingElement;y=-overflowing.scrollTop;break;case key.end:var scroll=overflowing.scrollHeight-overflowing.scrollTop;var scrollRemaining=scroll-clientHeight;y=(scrollRemaining>0)?scrollRemaining+10:0;break;case key.left:x=-options.arrowScroll;break;case key.right:x=options.arrowScroll;break;default:return!0} 60scrollArray(overflowing,x,y);event.preventDefault();scheduleClearCache()} 61function mousedown(event){activeElement=event.target} 62var uniqueID=(function(){var i=0;return function(el){return el.uniqueID||(el.uniqueID=i++)}})();var cacheX={};var cacheY={};var clearCacheTimer;var smoothBehaviorForElement={};function scheduleClearCache(){clearTimeout(clearCacheTimer);clearCacheTimer=setInterval(function(){cacheX=cacheY=smoothBehaviorForElement={}},1*1000)}
63function setCache(elems,overflowing,x){var cache=x?cacheX:cacheY;for(var i=elems.length;i--;) 64cache[uniqueID(elems[i])]=overflowing;return overflowing} 65function getCache(el,x){return(x?cacheX:cacheY)[uniqueID(el)]} 66function overflowingAncestor(el){var elems=[];var body=document.body;var rootScrollHeight=root.scrollHeight;do{var cached=getCache(el,!1);if(cached){return setCache(elems,cached)} 67elems.push(el);if(rootScrollHeight===el.scrollHeight){var topOverflowsNotHidden=overflowNotHidden(root)&&overflowNotHidden(body);var isOverflowCSS=topOverflowsNotHidden||overflowAutoOrScroll(root);if(isFrame&&isContentOverflowing(root)||!isFrame&&isOverflowCSS){return setCache(elems,getScrollRoot())}}else if(isContentOverflowing(el)&&overflowAutoOrScroll(el)){return setCache(elems,el)}}while((el=el.parentElement));} 68function isContentOverflowing(el){return(el.clientHeight+10<el.scrollHeight)} 69function overflowNotHidden(el){var overflow=getComputedStyle(el,'').getPropertyValue('overflow-y');return(overflow!=='hidden')} 70function overflowAutoOrScroll(el){var overflow=getComputedStyle(el,'').getPropertyValue('overflow-y');return(overflow==='scroll'||overflow==='auto')} 71function isScrollBehaviorSmooth(el){var id=uniqueID(el);if(smoothBehaviorForElement[id]==null){var scrollBehavior=getComputedStyle(el,'')['scroll-behavior'];smoothBehaviorForElement[id]=('smooth'==scrollBehavior)} 72return smoothBehaviorForElement[id]} 73function addEvent(type,fn,arg){window.addEventListener(type,fn,arg||!1)} 74function removeEvent(type,fn,arg){window.removeEventListener(type,fn,arg||!1)} 75function isNodeName(el,tag){return el&&(el.nodeName||'').toLowerCase()===tag.toLowerCase()} 76function directionCheck(x,y){x=(x>0)?1:-1;y=(y>0)?1:-1;if(direction.x!==x||direction.y!==y){direction.x=x;direction.y=y;que=[];lastScroll=0}} 77try{if(window.localStorage&&localStorage.SS_deltaBuffer){try{deltaBuffer=localStorage.SS_deltaBuffer.split(',')}catch(e){}}}catch(e){} 78function isTouchpad(deltaY){if(!deltaY)return;if(!deltaBuffer.length){deltaBuffer=[deltaY,deltaY,deltaY]} 79deltaY=Math.abs(deltaY);deltaBuffer.push(deltaY);deltaBuffer.shift();clearTimeout(deltaBufferTimer);deltaBufferTimer=setTimeout(function(){try{localStorage.SS_deltaBuffer=deltaBuffer.join(',')}catch(e){}},1000);var dpiScaledWheelDelta=deltaY>120&&allDeltasDivisableBy(deltaY);return!allDeltasDivisableBy(120)&&!allDeltasDivisableBy(100)&&!dpiScaledWheelDelta} 80function isDivisible(n,divisor){return(Math.floor(n/divisor)==n/divisor)} 81function allDeltasDivisableBy(divisor){return(isDivisible(deltaBuffer[0],divisor)&&isDivisible(deltaBuffer[1],divisor)&&isDivisible(deltaBuffer[2],divisor))} 82function isInsideYoutubeVideo(event){var elem=event.target;var isControl=!1;if(document.URL.indexOf('www.youtube.com/watch')!=-1){do{isControl=(elem.classList&&elem.classList.contains('html5-video-controls'));if(isControl)break}while((elem=elem.parentNode));} 83return isControl} 84var requestFrame=(function(){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(callback,element,delay){window.setTimeout(callback,delay||(1000/60))})})();var MutationObserver=(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver);var getScrollRoot=(function(){var SCROLL_ROOT=document.scrollingElement;return function(){if(!SCROLL_ROOT){var dummy=document.createElement('div');dummy.style.cssText='height:10000px;width:1px;';document.body.appendChild(dummy);var bodyScrollTop=document.body.scrollTop;var docElScrollTop=document.documentElement.scrollTop;window.scrollBy(0,3);if(document.body.scrollTop!=bodyScrollTop)(SCROLL_ROOT=document.body);else(SCROLL_ROOT=document.documentElement);window.scrollBy(0,-3);document.body.removeChild(dummy)} 85return SCROLL_ROOT}})();function pulse_(x){var val,start,expx;x=x*options.pulseScale;if(x<1){val=x-(1-Math.exp(-x))}else{start=Math.exp(-1);x-=1;expx=1-Math.exp(-x);val=start+(expx*(1-start))} 86return val*options.pulseNormalize} 87function pulse(x){if(x>=1)return 1;if(x<=0)return 0;if(options.pulseNormalize==1){options.pulseNormalize/=pulse_(1)} 88return pulse_(x)} 89var userAgent=window.navigator.userAgent;var isEdge=/Edge/.test(userAgent);var isChrome=/chrome/i.test(userAgent)&&!isEdge;var isSafari=/safari/i.test(userAgent)&&!isEdge;var isMobile=/mobile/i.test(userAgent);var isIEWin7=/Windows NT 6.1/i.test(userAgent)&&/rv:11/i.test(userAgent);var isOldSafari=isSafari&&(/Version\/8/i.test(userAgent)||/Version\/9/i.test(userAgent));var isEnabledForBrowser=(isChrome||isSafari||isIEWin7)&&!isMobile;var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},'passive',{get:function(){supportsPassive=!0}}))}catch(e){} 90var wheelOpt=supportsPassive?{passive:!1}:!1;var wheelEvent='onwheel' in document.createElement('div')?'wheel':'mousewheel';if(wheelEvent&&isEnabledForBrowser){addEvent(wheelEvent,wheel,wheelOpt);addEvent('mousedown',mousedown);addEvent('load',init)} 91function SmoothScroll(optionsToSet){for(var key in optionsToSet) 92if(defaultOptions.hasOwnProperty(key)) 93options[key]=optionsToSet[key]} 94SmoothScroll.destroy=cleanup;if(window.SmoothScrollOptions) 95SmoothScroll(window.SmoothScrollOptions);if(typeof define==='function'&&define.amd) 96define(function(){return SmoothScroll});
96else if('object'==typeof exports) 97module.exports=SmoothScroll;else window.SmoothScroll=SmoothScroll})() 98;(function($){$(window).resize(function(){window.updateGemClientSize(!1);window.updateGemInnerSize()});$.headerBuilder=function(){var $header=$('.site-header'),$stickyElements=$('.header-sticky-row'),$firstSticky='',$window=$(window),isSticked=!1,stickAfter=100,cloneHTML='',previousScroll;$stickyElements.each(function(){var $this=$(this);if($this[0].offsetHeight>10){$firstSticky=$this;return!1}});if(1||!$header.hasClass('header-with-sticky-template')){var $adminBar=$('#wpadminbar');var headerHeight=$header.find('.header-wrapper')[0].offsetHeight;var adminBarHeight=$adminBar.length>0?$adminBar[0].offsetHeight:0;if(!$header.hasClass('header-with-sticky-template')){if($firstSticky.length===0||$firstSticky[0].offsetHeight<10){return} 99if(!$header.hasClass('header-transparent')){$header.addClass('header-sticky-prepared').css({paddingTop:headerHeight})} 100stickAfter=$firstSticky.offset().top-adminBarHeight}else{stickAfter=headerHeight+adminBarHeight}} 101if($header.hasClass('header-with-sticky-template')){$header=$header.next('.header-sticky-template')} 102$window.on('scroll',function(){var after=stickAfter;var currentScroll=$window.scrollTop();var windowHeight=$window.height();var documentHeight=$(document).height();if(currentScroll>after){stickHeader()}else{unstickHeader()} 103var startAfter=100;if(($header.hasClass('header-hide-on-scroll-desktop')&&$window.width()>991)||($header.hasClass('header-hide-on-scroll-mobile')&&$window.width()<992)){if(previousScroll-currentScroll>0&¤tScroll>after){$header.addClass('header-scroll-up');$header.removeClass('header-scroll-down')}else if(currentScroll-previousScroll>0&¤tScroll+windowHeight!==documentHeight&¤tScroll>(after+startAfter)){$header.addClass('header-scroll-down');$header.removeClass('header-scroll-up')}else if(currentScroll<=after){$header.removeClass('header-scroll-down');$header.removeClass('header-scroll-up')}else if(currentScroll+windowHeight>=documentHeight-5){$header.addClass('header-scroll-up');$header.removeClass('header-scroll-down')}} 104previousScroll=currentScroll});function stickHeader(){if(isSticked){return} 105if($header.hasClass('header-sticky-template')&&!(($header.hasClass('header-sticky-on-desktop')&&$window.width()>991)||($header.hasClass('header-sticky-on-mobile')&&$window.width()<992))){return} 106isSticked=!0;$header.addClass('header-sticked');if($header.hasClass('header-light')){$header.addClass('header-light-disabled');$header.removeClass('header-light')} 107menuDropdownRecalc()} 108function unstickHeader(){if(!isSticked){return} 109isSticked=!1;$header.removeClass('header-sticked');if($header.hasClass('header-light-disabled')){$header.addClass('header-light');$header.removeClass('header-light-disabled')} 110menuDropdownRecalc()} 111function menuDropdownRecalc(){if(!$header.hasClass('header-boxed')){return} 112$('.header-offsets-calculated .header-dropdown-menu').attr('style','');$('.header-offsets-calculated').removeClass('header-offsets-calculated')}};$.rowsZindex=function(){let $wraps=$('.thegem-template-header');$wraps.each(function(i,wrap){let $items=$('.vc_row',wrap);let length=$items.length;$items.each(function(i,item){$(item).css('zIndex',length-i);let $elements=$('.vc_column-inner > .wpb_wrapper > div',item) 113let elLength=$elements.length;$elements.each(function(i,element){$(element).css('zIndex',elLength-i)})})})};$(document).on('ready',function(){$.headerBuilder();$.rowsZindex()})})(jQuery) 114;(function($){'use strict';const scripts={init:()=>{scripts.dropdownInvert();scripts.onResize()},dropdownInvert:()=>{let $wrap=$('.thegem-te-language-switcher-dropdown');let $items=$('.dropdown-item__wrapper',$wrap);$items.removeClass('invert');$items.each(function(i,el){let clientRect=el.getBoundingClientRect();let itemWidth=$(el).width();let itemLeftPosition=clientRect.x+pageXOffset;if(window.innerWidth-itemLeftPosition>itemWidth){$(el).removeClass('invert')}else{$(el).addClass('invert')}})},onResize:()=>{let resizeTimer;$(window).on('resize',function(e){clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){scripts.dropdownInvert()},250)})},};$(function(){scripts.init()})})(jQuery) 115;(function($){'use strict';const $logo=$('.thegem-te-logo');const tabletLandscapeMaxWidth=1212;const tabletLandscapeMinWidth=980;const tabletPortraitMaxWidth=979 116const tabletPortraitMinWidth=768;const logoScripts={init:()=>{logoScripts.setLayoutView();logoScripts.onResize()},setLayoutView:()=>{let viewportWidth=window.innerWidth;$logo.each(function(i,el){if($(this).data("tablet-landscape")==='default'&&viewportWidth>=tabletLandscapeMinWidth&&viewportWidth<=tabletLandscapeMaxWidth){$(this).removeClass('mobile-view').addClass('desktop-view')}else if($(this).data("tablet-portrait")==='default'&&viewportWidth>=tabletPortraitMinWidth&&viewportWidth<=tabletPortraitMaxWidth){$(this).removeClass('mobile-view').addClass('desktop-view')}else if(viewportWidth<=tabletLandscapeMaxWidth){$(this).removeClass('desktop-view').addClass('mobile-view')}else{$(this).removeClass('mobile-view').addClass('desktop-view')}})},onResize:()=>{let resizeTimer;$(window).on('resize',function(e){clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){logoScripts.setLayoutView()},250)})},} 117$(function(){logoScripts.init()})})(jQuery) 118;(function($){'use strict';let $body,$header,$wrapper,$navigate,menuLockedTimeout;const pageOffset=$('#page').offset();const pageWidth=$('#page').width();const _helpers={setMobMenuDefaultLeftPosition:(wrap,elem)=>{let item=wrap.getBoundingClientRect();let itemLeftPosition=item.x+pageXOffset;$(elem).css({left:-itemLeftPosition})},setMobMenuDefaultMaxHeight:(elem)=>{let headerHeight=$wrapper.outerHeight(),windowHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;$(elem).css({maxHeight:windowHeight-headerHeight})},getScrollY:()=>{return window.pageYOffset||document.documentElement.scrollTop},setBodyLocked:(elem)=>{$body.data('scroll-position',_helpers.getScrollY());clearTimeout(menuLockedTimeout);$body.addClass('menu-scroll-locked');let isNoStickyItem=$(elem).closest("#site-header").length;let $vcRow=$(elem).closest(".vc_row");if(isNoStickyItem){$body.addClass('is-no-sticky')}else{$body.removeClass('is-no-sticky')} 119$vcRow.addClass('set-index')},unsetBodyLocked:()=>{menuLockedTimeout=setTimeout(function(){$body.removeClass('menu-scroll-locked is-no-sticky');$('.vc_row',$wrapper).removeClass('set-index')},1000);if($body.data('scroll-position')){window.scrollTo(0,$body.data('scroll-position'))}},isMobMenuSlidingInit:($item)=>{let result=!1;if($item.hasClass('mobile-view')){result=!0} 120return result},isResponsiveMenuVisible:(elem)=>{return elem.parents('.thegem-te-menu').find('.menu-toggle:not(.hamburger-toggle)').is(':visible')},isBody:(elem)=>{return(/^(?:body|html)$/i).test(elem.tagName)},getScroll:()=>{return{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}},getScrolls:(elem)=>{let element=elem.parentNode,position={x:0,y:0};while(element&&!_helpers.isBody(element)){position.x+=element.scrollLeft;position.y+=element.scrollTop;element=element.parentNode} 121return position}
121,styleString:(elem,style)=>{return $(elem).css(style)},styleNumber:(elem,style)=>{return parseInt(_helpers.styleString(elem,style))||0},topBorder:(elem)=>{return _helpers.styleNumber(elem,'border-top-width')},leftBorder:(elem)=>{return _helpers.styleNumber(elem,'border-left-width')},getOffset:(elem)=>{if(elem.getBoundingClientRect&&window.gemBrowser.platform.name!='ios'){let bound=elem.getBoundingClientRect(),html=elem.ownerDocument.documentElement,htmlScroll=_helpers.getScroll(html),elemScrolls=_helpers.getScrolls(elem),isFixed=(_helpers.styleString(elem,'position')=='fixed');return{x:bound.left+elemScrolls.x+((isFixed)?0:htmlScroll.x)-html.clientLeft,y:bound.top+elemScrolls.y+((isFixed)?0:htmlScroll.y)-html.clientTop}} 122let element=elem,position={x:0,y:0};if(_helpers.isBody(elem))return position;while(element&&!_helpers.isBody(element)){position.x+=element.offsetLeft;position.y+=element.offsetTop;if(window.gemBrowser.name=='firefox'){if(!borderBox(element)){position.x+=_helpers.leftBorder(element);position.y+=_helpers.topBorder(element)} 123let parent=element.parentNode;if(parent&&_helpers.styleString(parent,'overflow')!='visible'){position.x+=_helpers.leftBorder(parent);position.y+=_helpers.topBorder(parent)}}else if(element!=elem&&window.gemBrowser.name=='safari'){position.x+=_helpers.leftBorder(element);position.y+=_helpers.topBorder(element)} 124element=element.offsetParent} 125if(window.gemBrowser.name=='firefox'&&!borderBox(elem)){position.x-=_helpers.leftBorder(elem);position.y-=_helpers.topBorder(elem)} 126return position},setTranslateValues:(elem)=>{if(!elem.length)return;$('.mobile-menu-slide-wrapper',elem).css('transform','');elem.css('transform','').css('margin-left','').css('margin-top','');const style=window.getComputedStyle(elem[0]);const matrix=style.transform||style.webkitTransform||style.mozTransform;let x=0,y=0;if(matrix==='none'||typeof matrix==='undefined'){return} 127const matrixType=matrix.includes('3d')?'3d':'2d';const matrixValues=matrix.match(/matrix.*\((.+)\)/)[1].split(', ');if(matrixType==='2d'){x=matrixValues[4];y=matrixValues[5]} 128if(matrixType==='3d'){x=matrixValues[12];y=matrixValues[13]} 129elem.css('transform','none').css('margin-left',x+'px').css('margin-top',y+'px')}};const menuScripts={init:()=>{$body=$('body');$header=$('#site-header');$wrapper=$('.thegem-template-header');$navigate=$('.thegem-te-menu > nav');menuScripts.setLayoutView();menuScripts.onResize();menuScripts.menuAbsoluteTranslate();menuScripts.menuDefault();menuScripts.menuOverlay();menuScripts.menuHamburger();menuScripts.mobMenuDefault();menuScripts.mobMenuSliding();menuScripts.menuMegaMenu();menuScripts.menuMegaMenuTemplate();$navigate.addClass('inited')},setLayoutView:()=>{let viewportWidth=window.innerWidth;document.documentElement.style.setProperty('--scrollbar-width',-(window.innerWidth-document.body.clientWidth)+"px");$navigate.each(function(i,nav){const tabletLandscapeMaxWidth=$(nav).data("desktop-breakpoint");const tabletLandscapeMinWidth=$(nav).data("tablet-breakpoint");const tabletPortraitMaxWidth=$(nav).data("tablet-breakpoint")-1;const tabletPortraitMinWidth=$(nav).data("mobile-breakpoint");if($(this).data("tablet-landscape")==='default'&&viewportWidth>=tabletLandscapeMinWidth&&viewportWidth<=tabletLandscapeMaxWidth){$(this).removeClass('mobile-view').addClass('desktop-view')}else if($(this).data("tablet-portrait")==='default'&&viewportWidth>=tabletPortraitMinWidth&&viewportWidth<=tabletPortraitMaxWidth){$(this).removeClass('mobile-view').addClass('desktop-view')}else if(viewportWidth<=tabletLandscapeMaxWidth){$(this).removeClass('desktop-view').addClass('mobile-view')}else{$(this).removeClass('mobile-view').addClass('desktop-view')} 130if($('.menu-id-'+$(this).attr('id')).length){if($(this).hasClass('desktop-view')){$('.menu-id-'+$(this).attr('id')).removeClass('mobile-view').addClass('desktop-view')}else{$('.menu-id-'+$(this).attr('id')).removeClass('desktop-view').addClass('mobile-view')}}})},menuDefault:()=>{let $menu=$('.thegem-te-menu__default');$('.nav-menu > li:not(.megamenu-template-enable)',$menu).hover(function(){let $items=$(this).find('ul');let getLevelULByMenu=(item)=>{let parentUL=$(item).parent('li').parent('ul');let level=0;while(!parentUL.is('.nav-menu')){parentUL=parentUL.parent('li').parent('ul');level++} 131return level};let offset=$header.offset().top+$header.outerHeight()-$(this).offset().top-$(this).outerHeight();$items.removeClass('invert');if(!$(this).hasClass('megamenu-enable')){$items.css({top:''})} 132if($(this).hasClass('megamenu-enable')||$(this).closest('.header-layout-overlay').length||$(this).closest('.mobile-menu-layout-overlay').length&&_helpers.isResponsiveMenuVisible($(this))){return} 133$items.each(function(){let $item=$(this),self=this,$parentList=$item.parent().closest('ul');let itemOffset=$item.offset(),itemOffsetLeft=itemOffset.left;let leftItemTranslate=0;if($item.css('transform')){leftItemTranslate=parseInt(getComputedStyle(this).transform.split(',')[4]);let levelUL=getLevelULByMenu(self);
133if(levelUL>0){leftItemTranslate=leftItemTranslate*levelUL}} 134if(isNaN(leftItemTranslate))leftItemTranslate=0;if($parentList.hasClass('invert')){if($parentList.offset().left-$item.outerWidth()>pageOffset.left){$item.addClass('invert')}}else{if(itemOffsetLeft-leftItemTranslate-pageOffset.left+$item.outerWidth()>pageWidth){$item.addClass('invert')}}})})},menuOverlay:()=>{let $menus=$('.thegem-te-menu__overlay, .thegem-te-menu-mobile__overlay');$menus.each(function(i,el){let $menuItem=$(el);let $menuWrap=$('.overlay-menu-wrapper',$menuItem);let $overlay=$('.overlay-menu-back',$menuItem);let $toggle=$('.overlay-toggle',$menuItem);$menuItem.on('click','.overlay-toggle',function(e){e.preventDefault();if($overlay.hasClass('active')){_helpers.unsetBodyLocked();$overlay.removeClass('active');$menuItem.addClass('close');$menuItem.one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',function(e){$menuItem.removeClass('overlay-active close');$menuWrap.removeClass('active')})}else{_helpers.setBodyLocked(this);$menuWrap.addClass('active');$overlay.addClass('active');$menuItem.off('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend');$menuItem.addClass('overlay-active').removeClass('close')}});$(document).on('keydown',function(event){if(event.keyCode===27&&$overlay.hasClass('active')){$toggle.click()}});$overlay.on('click',function(e){$toggle.click()});$menuWrap.on('click',function(e){let $notClick=$menuWrap.find('li');if($notClick.has(e.target).length===0){}});$('.menu-item-parent-toggle',$menuWrap).on('click',function(e){e.preventDefault();e.stopPropagation();let $itemLink=$(this);let $item=$itemLink.closest('li');if($item.hasClass('menu-item-parent')&&($item.closest('ul').hasClass('nav-menu')||$item.parent().closest('li').hasClass('menu-overlay-item-open'))){e.preventDefault();if($item.hasClass('menu-overlay-item-open')){$(' > ul, .menu-overlay-item-open > ul',$item).each(function(){$(this).css({height:$(this).outerHeight()+'px'})});setTimeout(function(){$(' > ul, .menu-overlay-item-open > ul',$item).css({height:''});$('.menu-overlay-item-open',$item).add($item).removeClass('menu-overlay-item-open')},50)}else{let $oldActive=$('.nav-menu .menu-overlay-item-open').not($item.parents());$('> ul',$oldActive).not($item.parents()).each(function(){$(this).css({height:$(this).outerHeight()+'px'})});setTimeout(function(){$('> ul',$oldActive).not($item.parents()).css({height:''});$oldActive.removeClass('menu-overlay-item-open')},50);$('> ul',$item).css({height:'auto'});let itemHeight=$('> ul',$item).outerHeight();$('> ul',$item).css({height:''});setTimeout(function(){$('> ul',$item).css({height:itemHeight+'px'});$item.addClass('menu-overlay-item-open');$('> ul',$item).one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',function(){$('> ul',$item).css({height:'auto'})})},50)}}});$(document).on('click','.menu-item.mobile-collapsible > a',function(e){if(!_helpers.isResponsiveMenuVisible($menuItem)){return} 135if($(this).next('.menu-item-parent-toggle').length){e.preventDefault();$(this).next('.menu-item-parent-toggle').trigger('click')}});$('.menu-item-type-search-widget',$menuWrap).on('click','a',function(e){e.preventDefault();if($(this).closest('.menu-item-fullscreen-search-mobile').length)return;if($(this).closest('.overlay-menu-wrapper.active').length){let $primaryMenu=$('.nav-menu');$primaryMenu.addClass('overlay-search-form-show animated-minisearch');$('.sf-input',$primaryMenu).focus();setTimeout(function(){$(document).on('click.menu-item-search-close','body',function(e){if(!$(e.target).is('.menu-item-type-search-widget .minisearch *')){let $primaryMenu=$('.nav-menu');if($primaryMenu.hasClass('animated-minisearch')){$primaryMenu.removeClass('animated-minisearch');setTimeout(function(){$primaryMenu.removeClass('overlay-search-form-show');$(document).off('click.menu-item-search-close')},700)}else{$primaryMenu.removeClass('overlay-search-form-show');$(document).off('click.menu-item-search-close')}}})},500)}else{$('.menu-item-type-search-widget').toggleClass('active')}})})},menuHamburger:()=>{let $menus=$('.thegem-te-menu__hamburger');$menus.each(function(i,el){let $menuItem=$(el);
135let $overlay=$('.hamburger-menu-back',$menuItem);let $toggle=$('.hamburger-toggle',$menuItem);$menuItem.on('click','.hamburger-toggle',function(e){e.preventDefault();if($overlay.hasClass('active')){_helpers.unsetBodyLocked();$menuItem.removeClass('hamburger-active');$overlay.removeClass('active')}else{_helpers.setBodyLocked(this);$menuItem.addClass('hamburger-active');$overlay.addClass('active')}});$(document).on('keydown',function(event){if(event.keyCode===27&&$overlay.hasClass('active')){$toggle.click()}});$overlay.on('click',function(){$toggle.click()})})},mobMenuDefault:()=>{let supportsTransitions=()=>{return getSupportedTransition()!=''} 136let getSupportedTransition=()=>{let b=document.body||document.documentElement,s=b.style,p='transition';if(typeof s[p]=='string'){return p} 137let v=['Moz','webkit','Webkit','Khtml','O','ms'];p=p.charAt(0).toUpperCase()+p.substr(1);for(let i=0;i<v.length;i++){if(typeof s[v[i]+p]=='string'){return!0}} 138return''} 139let supportsAnimations=()=>{return getSupportedAnimation()!=''} 140let getSupportedAnimation=()=>{let t,el=document.createElement("fakeelement");let animations={"animation":"animationend","OAnimation":"oAnimationEnd","MozAnimation":"animationend","WebkitAnimation":"webkitAnimationEnd",'msAnimation':'MSAnimationEnd'};for(t in animations){if(el.style[t]!==undefined){return t}} 141return''} 142window.supportedTransition=getSupportedTransition();window.supportsTransitions=supportsTransitions();window.supportedAnimation=getSupportedAnimation();window.supportsAnimations=supportsAnimations();let $menus=$('.thegem-te-menu-mobile__default');$menus.each(function(i,el){let $menuItem=$(el);$menuItem.find('.sub-menu').addClass('dl-submenu');$menuItem.dlmenu({animationClasses:{classin:'dl-animate-in',classout:'dl-animate-out'},backLabel:thegem_menu_data.backLabel,showCurrentLabel:thegem_menu_data.showCurrentLabel});$('li:not(.menu-item-has-children):not(.dl-back)',$menuItem).on('click','a',function(e){if(typeof $.fn.dlmenu==='function'){$menuItem.dlmenu('closeMenu')}});let navMenu=$menuItem.find('ul').not('.menu-item-type-template ul');_helpers.setMobMenuDefaultMaxHeight(navMenu);_helpers.setMobMenuDefaultLeftPosition(el,navMenu);$(window).on('resize',function(e){setTimeout(function(){_helpers.setMobMenuDefaultMaxHeight(navMenu);_helpers.setMobMenuDefaultLeftPosition(el,navMenu)},1000)})})},mobMenuSliding:()=>{let $menus=$('.thegem-te-menu-mobile__slide-horizontal, .thegem-te-menu-mobile__slide-vertical');window.isMobMenuSliding=_helpers.isMobMenuSlidingInit($menus);$menus.each(function(i,el){let $menuItem=$(el);let $menuWrap=$('.mobile-menu-slide-wrapper',$menuItem);let $menuClose=$('.mobile-menu-slide-close',$menuItem);let $overlay=$('.mobile-menu-slide-back',$menuItem);let $toggle=$('.dl-trigger',$menuItem);$menuItem.on('click','.dl-trigger',function(e){e.preventDefault();if($overlay.hasClass('active')){$overlay.removeClass('active')}else{$overlay.addClass('active')} 143$menuWrap.one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',function(e){$menuWrap.removeClass('animation')});$menuWrap.addClass('animation').toggleClass('opened');if($menuWrap.hasClass('opened')){_helpers.setBodyLocked(this)}else{_helpers.unsetBodyLocked()}});$('li.menu-item-current',$menuItem).each(function(){let $self=$(this);$self.addClass('opened');$('> ul',$self).show()});$menuClose.on('click',function(){$toggle.click()});$overlay.on('click',function(){$toggle.click()});$('.menu-item-parent-toggle',$menuWrap).on('click',function(e){e.preventDefault();if(!window.isMobMenuSliding)return;let self=this;$(this).closest('li').toggleClass('opened');$(this).siblings('ul').slideToggle(200,function(){if(!$(self).closest('li').hasClass('opened')){$(self).siblings('ul').find('li').removeClass('opened');$(self).siblings('ul').css('display','');$(self).siblings('ul').find('ul').css('display','')}})});$(document).on('click','.menu-item.mobile-collapsible > a',function(e){if(!_helpers.isResponsiveMenuVisible($menuItem)){return} 144if($(this).next('.menu-item-parent-toggle').length){e.preventDefault();$(this).next('.menu-item-parent-toggle').trigger('click')}});$('.menu-item-parent-toggle',$menuWrap).on('keydown',function(e){if(e.which===13){e.preventDefault();$(this).trigger('click')}});$(document).on('keydown',function(event){if(event.keyCode===27&&$overlay.hasClass('active')){$toggle.click()}})})},onResize:()=>{let resizeTimer;$(window).on('resize',function(e){clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){menuScripts.setLayoutView();menuScripts.menuAbsoluteTranslate();let $menuSliding=$('.thegem-te-menu-mobile__slide-horizontal, .thegem-te-menu-mobile__slide-vertical');window.isMobMenuSliding=_helpers.isMobMenuSlidingInit($menuSliding)},250)})},menuMegaMenu:()=>{let $megaMenuItems=$('.thegem-te-menu .nav-menu > li.megamenu-enable');$megaMenuItems.each(function(){if($(this).parents('.thegem-te-menu > nav').hasClass("thegem-te-menu__overlay")){$(this).removeClass('megamenu-enable');return} 145menuScripts.fixMegaMenuPosition($(this));let $item=$('> ul',$(this));if($item.length==0)return;$item.addClass('megamenu-item-inited');$(this).hover(function(){menuScripts.fixMegaMenuPosition($(this))},function(){})})},fixMegaMenuPosition:(elem,containerWidthCallback)=>{let isMenuVertical=!1;let isMenuPerspective=!1;let isMenuHamburger=elem.parents('.thegem-te-menu > nav').hasClass("thegem-te-menu__hamburger");if(!$('.megamenu-inited',elem).length&&_helpers.isResponsiveMenuVisible(elem)){return!1} 146let $item=$('> ul',elem);if($item.length==0)return;let self=$item.get(0);$item.addClass('megamenu-item-inited');let default_item_css={width:'auto',height:'auto'};if(!isMenuVertical&&!isMenuHamburger&&!isMenuPerspective){default_item_css.left=0} 147$item.removeClass('megamenu-masonry-inited megamenu-fullwidth').css(default_item_css);$(' > li',$item).css({left:0,top:0}).each(function(){let old_width=$(this).data('old-width')||-1;if(old_width!=-1){$(this).width(old_width).data('old-width',-1)}});if(_helpers.isResponsiveMenuVisible(elem)){return} 148let $container=$item.closest('.vc_column-inner'),container_width,container_padding_left,container_padding_right,parent_width;if(containerWidthCallback!==undefined){container_width=containerWidthCallback()}else if(isMenuVertical){container_width=window.gemOptions.clientWidth-$('#site-header-wrapper').outerWidth()}else if(isMenuPerspective){container_width=window.gemOptions.clientWidth-$('#primary-navigation').outerWidth()}else if(isMenuHamburger){container_width=window.gemOptions.clientWidth-$('.thegem-te-menu .nav-menu').outerWidth()}else{container_width=$container.width();container_padding_left=parseInt($container.css('padding-left'));container_padding_right=parseInt($container.css('padding-right'));parent_width=$item.parent().outerWidth()} 149let megamenu_width=$item.outerWidth();if(megamenu_width>container_width){megamenu_width=container_width;let new_megamenu_width=container_width-parseInt($item.css('padding-left'))-parseInt($item.css('padding-right'))-parseInt($item.css('border-left'))-parseInt($item.css('border-right'));let columns=$item.data('megamenu-columns')||4;let margin=0;$(' >
149 li.menu-item',$item).each(function(index){if(index<columns){margin+=parseInt($(this).css('margin-left'))}});let column_width=parseFloat(new_megamenu_width-margin)/columns;let column_width_int=parseInt(column_width);$(' > li',$item).each(function(){$(this).data('old-width',$(this).width()).css('width',column_width_int)});let columns_dif=(column_width-column_width_int)*columns;$(' > li.megamenu-first-element',$item).css('width',column_width_int+columns_dif);$item.addClass('megamenu-fullwidth').width(new_megamenu_width)} 150if(!isMenuVertical&&!isMenuHamburger&&!isMenuPerspective&&containerWidthCallback===undefined){let left=0;if(megamenu_width>parent_width){left=-(megamenu_width-parent_width)/2} 151let container_offset=_helpers.getOffset($container[0]);let megamenu_offset=_helpers.getOffset(self);if((megamenu_offset.x-container_offset.x-container_padding_left+left)<0){left=-(megamenu_offset.x-container_offset.x-container_padding_left)} 152if((megamenu_offset.x+megamenu_width+left)>(container_offset.x+$container.outerWidth()-container_padding_right)){left-=(megamenu_offset.x+megamenu_width+left)-(container_offset.x+$container.outerWidth()-container_padding_right)} 153$item.css('left',left).css('left')} 154if($item.hasClass('megamenu-masonry')){let positions={},max_bottom=0;if(!$item.hasClass('megamenu-fullwidth')){$item.width($item.width()-1)} 155let new_row_height=$('.megamenu-new-row',$item).outerHeight()+parseInt($('.megamenu-new-row',$item).css('margin-bottom'));$('> li.menu-item',$item).each(function(){let pos=$(this).position(),top_position;if(positions[pos.left]!=null&&positions[pos.left]!=undefined){top_position=positions[pos.left]}else{top_position=pos.top} 156positions[pos.left]=top_position+$(this).outerHeight()+new_row_height+parseInt($(this).css('margin-bottom'));if(positions[pos.left]>max_bottom) 157max_bottom=positions[pos.left];$(this).css({left:pos.left,top:top_position})});$item.height(max_bottom-new_row_height-parseInt($item.css('padding-top')));$item.addClass('megamenu-masonry-inited')} 158if($item.hasClass('megamenu-empty-right')){let mega_width=$item.width();let max_rights={columns:[],position:-1};$('> li.menu-item',$item).removeClass('megamenu-no-right-border').each(function(){let pos=$(this).position();let column_right_position=pos.left+$(this).width();if(column_right_position>max_rights.position){max_rights.position=column_right_position;max_rights.columns=[]} 159if(column_right_position==max_rights.position){max_rights.columns.push($(this))}});if(max_rights.columns.length&&max_rights.position>=(mega_width-7)){max_rights.columns.forEach(function($li){$li.addClass('megamenu-no-right-border')})}} 160if(isMenuVertical||isMenuHamburger||isMenuPerspective){let clientHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,itemOffset=$item.offset(),itemHeight=$item.outerHeight(),scrollTop=$(window).scrollTop();if(itemOffset.top-scrollTop+itemHeight>clientHeight){$item.css({top:clientHeight-itemOffset.top+scrollTop-itemHeight-20})}} 161$item.addClass('megamenu-inited')},menuMegaMenuTemplate:()=>{let $megaMenuItems=$('.thegem-te-menu .nav-menu > li.megamenu-template-enable');$megaMenuItems.each(function(){if($(this).parents('.thegem-te-menu > nav').hasClass("thegem-te-menu__overlay")){$(this).removeClass('megamenu-template-enable');$(this).find('.megamenu-template').remove();return} 162let $item=$('.megamenu-template',$(this));if($item.length==0)return;menuScripts.fixMegaMenuTemplatePosition($(this));if($item.data('template')){let templateID=$item.data('template');$.ajax({url:thegem_menu_data.ajax_url,data:{'action':'get_megamenu_template','id':templateID},dataType:'json',method:'POST',success:function(response){if(response.status==='success'){$item.html(response.data)}},error:function(){console.log('loading megamenu template ajax error')}})} 163$item.addClass('megamenu-template-item-inited');$(this).hover(function(){menuScripts.fixMegaMenuTemplatePosition($(this))},function(){})})},fixMegaMenuTemplatePosition:(elem,containerWidthCallback)=>{let isMenuVertical=!1;let isMenuPerspective=!1;let isMenuHamburger=elem.parents('.thegem-te-menu > nav').hasClass("thegem-te-menu__hamburger");if(!$('.megamenu-template-inited',elem).length&&_helpers.isResponsiveMenuVisible(elem)){return!1} 164let $item=$('.megamenu-template',elem);if($item.length==0)return;let self=$item.get(0);$item.addClass('megamenu-template-item-inited');let isWidth100=$item.hasClass("template-width-fullwidth");let default_item_css={};if(!isMenuVertical&&!isMenuHamburger&&!isMenuPerspective){default_item_css.left=0} 165$item.css(default_item_css);if(_helpers.isResponsiveMenuVisible(elem)){return} 166let $container=$item.closest('.vc_column-inner'),container_width,container_padding_left,container_padding_right,parent_width;if(containerWidthCallback!==undefined){container_width=containerWidthCallback()}else if(isMenuVertical){container_width=window.gemOptions.clientWidth-$('#site-header-wrapper').outerWidth()}else if(isMenuPerspective){container_width=window.gemOptions.clientWidth-$('#primary-navigation').outerWidth()}else if(isMenuHamburger){container_width=window.gemOptions.clientWidth-$('.thegem-te-menu .nav-menu').outerWidth()}else{container_width=$container.width();container_padding_left=parseFloat($container.css('padding-left'));container_padding_right=parseFloat($container.css('padding-right'));parent_width=$item.parent().outerWidth()} 167let megamenu_width=$item.outerWidth();if(isWidth100||megamenu_width>document.body.clientWidth){$item.css('width',document.body.clientWidth)}else if($item.hasClass("template-width-boxed")&&!isMenuVertical&&!isMenuHamburger&&!isMenuPerspective){$item.css('width',container_width)} 168megamenu_width=$item.outerWidth();if(!isMenuVertical&&!isMenuHamburger&&!isMenuPerspective&&containerWidthCallback===undefined){let left=0;let container_offset=_helpers.getOffset($container[0]);let megamenu_offset=_helpers.getOffset(self);
168if(isWidth100){left=-megamenu_offset.x}else{if(megamenu_width>container_width){left=container_offset.x-megamenu_offset.x-(megamenu_width-container_width)/2}else if(megamenu_width===container_width){left=container_offset.x-megamenu_offset.x+container_padding_left}else{if(megamenu_width>parent_width){left=-(megamenu_width-parent_width)/2} 169if((megamenu_offset.x-container_offset.x-container_padding_left+left)<0){left=-(megamenu_offset.x-container_offset.x-container_padding_left)} 170if((megamenu_offset.x+megamenu_width+left)>(container_offset.x+$container.outerWidth()-container_padding_right)){left-=(megamenu_offset.x+megamenu_width+left)-(container_offset.x+$container.outerWidth()-container_padding_right)}}} 171$item.css('left',left).css('left')} 172if(isMenuVertical||isMenuHamburger||isMenuPerspective){if(megamenu_width>container_width){$item.css('width',container_width)} 173let clientHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,itemOffset=$item.offset(),itemHeight=$item.outerHeight(),scrollTop=$(window).scrollTop();if(itemOffset.top-scrollTop+itemHeight>clientHeight){$item.css({top:clientHeight-itemOffset.top+scrollTop-itemHeight-20})}} 174$item.addClass('megamenu-template-inited')},menuAbsoluteTranslate:()=>{$navigate.each(function(i,el){let $menuWidget=$(this).parents('.elementor-widget');_helpers.setTranslateValues($menuWidget)})},};$(function(){menuScripts.init()})})(jQuery) 175;(function($,window,undefined){'use strict';var $body=$('body');$.DLMenu=function(options,element){this.$el=$(element);this._init(options)};$.DLMenu.defaults={animationClasses:{classin:'dl-animate-in-1',classout:'dl-animate-out-1'},onLevelClick:function(el,name){return!1},onLinkClick:function(el,ev){return!1},backLabel:'Back',showCurrentLabel:'Show this page',useActiveItemAsBackLabel:!1,useActiveItemAsLink:!0};$.DLMenu.prototype={_init:function(options){this.options=$.extend(!0,{},$.DLMenu.defaults,options);this._config();var animEndEventNames={'WebkitAnimation':'webkitAnimationEnd','OAnimation':'oAnimationEnd','msAnimation':'MSAnimationEnd','animation':'animationend',"MozAnimation":"animationend"},transEndEventNames={'WebkitTransition':'webkitTransitionEnd','MozTransition':'transitionend','OTransition':'oTransitionEnd','msTransition':'MSTransitionEnd','transition':'transitionend'};if(animEndEventNames[window.supportedAnimation]!=undefined){this.animEndEventName=animEndEventNames[window.supportedAnimation]+'.dlmenu'}else{this.animEndEventName=animEndEventNames.animation+'.dlmenu'} 176if(transEndEventNames[window.supportedTransition]!=undefined){this.transEndEventName=transEndEventNames[window.supportedTransition]+'.dlmenu'}else{this.transEndEventName=transEndEventNames.transition+'.dlmenu'} 177this.supportAnimations=window.supportsAnimations;this.supportTransitions=window.supportsTransitions;this._initEvents()},_config:function(){var self=this;this.open=!1;this.$trigger=this.$el.hasClass('primary-navigation')&&$('#perspective-menu-buttons').length>0?$('#perspective-menu-buttons .dl-trigger'):this.$el.find('.dl-trigger:first');this.$menu=this.$el.find('ul.dl-menu:first');this.$menuitems=this.$menu.find('li:not(.dl-back):not(.not-dlmenu)');this.$el.find('ul.dl-submenu').prepend('<li class="dl-back"><a href="#">'+this.options.backLabel+'</a></li>');this.$back=this.$menu.find('li.dl-back');if(this.options.useActiveItemAsBackLabel){this.$back.each(function(){var $this=$(this),parentLabel=$this.parents('li:first').find('a:first').text();$this.find('a').html(parentLabel)})} 178if(this.options.useActiveItemAsLink){this.$el.find('ul.dl-submenu').prepend(function(){var activeLi=$(this).parents('li:not(.dl-back):first');var parentli=activeLi.find('a:first');if(activeLi.hasClass('mobile-clickable')) 179return'<li class="dl-parent"><a href="'+parentli.attr('href')+'">'+self.options.showCurrentLabel+'</a></li>';else return''})}},_initEvents:function(){var self=this;this.$trigger.on('click.dlmenu',function(){if(self.open){self._closeMenu()}else{self._openMenu();$body.off('click').children().on('click.dlmenu',function(){self._closeMenu()})} 180return!1});this.$menuitems.on('click.dlmenu',function(event){if(!self.$menu.hasClass('dl-menuopen'))return;event.stopPropagation();var $item=$(this),$submenu=$item.children('ul.dl-submenu'),level=1;if(!self.$menu.hasClass('dl-menuopen')){self.options.onLinkClick($item,event);return} 181var $itemList=$item.parent();while($itemList.attr('id')!='primary-menu'){if($itemList[0].nodeName.toUpperCase()=='UL'){level++} 182$itemList=$itemList.parent();if(!$itemList.length){break}} 183if(level>3){level=3} 184if(($submenu.length>0)&&!($(event.currentTarget).hasClass('dl-subviewopen'))){var $flyin=$submenu.clone().addClass('level'+(level+1)).css('opacity',0).insertAfter(self.$menu),onAnimationEndFn=function(){self.$menu.off(self.animEndEventName).removeClass(self.options.animationClasses.classout).addClass('dl-subview');$item.addClass('dl-subviewopen').parents('.dl-subviewopen:first').removeClass('dl-subviewopen').addClass('dl-subview');$flyin.remove()};setTimeout(function(){$flyin.addClass(self.options.animationClasses.classin);self.$menu.addClass(self.options.animationClasses.classout);if(self.supportAnimations){self.$menu.on(self.animEndEventName,onAnimationEndFn)}else{onAnimationEndFn.call()} 185self.options.onLevelClick($item,$item.children('a:first').text())});return!1}else{self.options.onLinkClick($item,event)}});this.$back.on('click.dlmenu',function(event){var $this=$(this),$submenu=$this.parents('ul.dl-submenu:first'),$item=$submenu.parent(),level=1;var $itemList=$this.parent();while($itemList.attr('id')!='primary-menu'){if($itemList[0].nodeName.toUpperCase()=='UL'){level++} 186$itemList=$itemList.parent();if(!$itemList.length){break}} 187if(level>3){level=3} 188var $flyin=$submenu.clone().addClass('level'+level).insertAfter(self.$menu);var onAnimationEndFn=function(){self.$menu.off(self.animEndEventName).removeClass(self.options.animationClasses.classin);$flyin.remove()};setTimeout(function(){$flyin.addClass(self.options.animationClasses.classout);self.$menu.addClass(self.options.animationClasses.classin);if(self.supportAnimations){self.$menu.on(self.animEndEventName,onAnimationEndFn)}else{onAnimationEndFn.call()} 189$item.removeClass('dl-subviewopen');var $subview=$this.parents('.dl-subview:first');if($subview.is('li')){$subview.addClass('dl-subviewopen')} 190$subview.removeClass('dl-subview')});return!1})},closeMenu:function(){if(this.open){this._closeMenu()}},_closeMenu:function(){var self=this,onTransitionEndFn=function(){self.$menu.off(self.transEndEventName);self._resetMenu()};this.$menu.removeClass('dl-menuopen');
190this.$menu.addClass('dl-menu-toggle');this.$trigger.removeClass('dl-active');if(this.supportTransitions){this.$menu.on(this.transEndEventName,onTransitionEndFn)}else{onTransitionEndFn.call()} 191this.open=!1},openMenu:function(){if(!this.open){this._openMenu()}},_openMenu:function(){var self=this;$body.off('click').on('click.dlmenu',function(){self._closeMenu()});this.$menu.addClass('dl-menuopen dl-menu-toggle').on(this.transEndEventName,function(){$(this).removeClass('dl-menu-toggle')});this.$trigger.addClass('dl-active');this.open=!0},_resetMenu:function(){this.$menu.removeClass('dl-subview');this.$menuitems.removeClass('dl-subview dl-subviewopen')}};var logError=function(message){if(window.console){window.console.error(message)}};$.fn.dlmenu=function(options){if(typeof options==='string'){var args=Array.prototype.slice.call(arguments,1);this.each(function(){var instance=$.data(this,'dlmenu');if(!instance){logError("cannot call methods on dlmenu prior to initialization; "+"attempted to call method '"+options+"'");return} 192if(!$.isFunction(instance[options])||options.charAt(0)==="_"){logError("no such method '"+options+"' for dlmenu instance");return} 193instance[options].apply(instance,args)})}else{this.each(function(){var instance=$.data(this,'dlmenu');if(instance){instance._init()}else{instance=$.data(this,'dlmenu',new $.DLMenu(options,this))}})} 194return this}})(jQuery,window) 195;(function($){$.fn.thegemPreloader=function(callback){$(this).each(function(){var $el=$(this),hasSrc=['img','iframe'].indexOf($el[0].nodeName.toLowerCase())!=-1;$el.data('thegemPreloader',$('img, iframe',$el).add($el.filter('img, iframe')).length);if($el.data('thegemPreloader')==0||(hasSrc&&!$el.attr('src'))){$el.prev('.preloader').remove();callback();$el.trigger('thegem-preloader-loaded');return} 196if(!$el.prev('.preloader').length){$('<div class="preloader">').insertBefore($el)} 197$('img, iframe',$el).add($el.filter('img, iframe')).each(function(){function preloaderItemLoaded(){$el.data('thegemPreloader',$el.data('thegemPreloader')-1);if($el.data('thegemPreloader')==0){$el.prev('.preloader').remove();callback();$el.trigger('thegem-preloader-loaded')}} 198if(!$(this).attr('src')){preloaderItemLoaded();return} 199var $obj=$('<img>');if($(this).prop('tagName').toLowerCase()=='iframe'){$obj=$(this)} 200$obj.attr('src',$(this).attr('src'));$obj.on('load error',preloaderItemLoaded)})})}})(jQuery);(function($){var oWidth=$.fn.width;$.fn.width=function(argument){if(arguments.length==0&&this.length==1&&this[0]===window){if(window.gemOptions.innerWidth!=-1){return window.gemOptions.innerWidth} 201var width=oWidth.apply(this,arguments);window.updateGemInnerSize(width);return width} 202return oWidth.apply(this,arguments)};var $page=$('#page');$(window).on('load',function(){var $preloader=$('#page-preloader');if($preloader.length&&!$preloader.hasClass('preloader-loaded')){$preloader.addClass('preloader-loaded')}});$.fn.updateTabs=function(){jQuery('.gem-tabs',this).each(function(index){var $tabs=$(this);$tabs.thegemPreloader(function(){$tabs.easyResponsiveTabs({type:'default',width:'auto',fit:!1,activate:function(currentTab,e){var $tab=$(currentTab.target);var controls=$tab.attr('aria-controls');$tab.closest('.ui-tabs').find('.gem_tab[aria-labelledby="'+controls+'"]').trigger('tab-update')}})})});jQuery('.gem-tour',this).each(function(index){var $tabs=$(this);$tabs.thegemPreloader(function(){$tabs.easyResponsiveTabs({type:'vertical',width:'auto',fit:!1,activate:function(currentTab,e){var $tab=$(currentTab.target);var controls=$tab.attr('aria-controls');$tab.closest('.ui-tabs').find('.gem_tab[aria-labelledby="'+controls+'"]').trigger('tab-update')}})})})};function fullwidth_block_after_update($item){$item.trigger('updateTestimonialsCarousel');$item.trigger('updateClientsCarousel');$item.trigger('fullwidthUpdate')} 203function fullwidth_block_update($item,pageOffset,pagePaddingLeft,pageWidth,skipTrigger){var $prevElement=$item.prev(),extra_padding=0;extra_margin=parseInt($prevElement.css('margin-left'));if($prevElement.length==0||$prevElement.hasClass('fullwidth-block')||$prevElement.is('style')){$prevElement=$item.parent();extra_padding=parseInt($prevElement.css('padding-left'));extra_margin=0} 204var offsetKey=window.gemSettings.isRTL?'right':'left';var cssData={width:pageWidth};cssData[offsetKey]=pageOffset.left-($prevElement.length?$prevElement.offset().left-extra_margin:0)+parseInt(pagePaddingLeft)-extra_padding;$item.css(cssData);if(!skipTrigger){fullwidth_block_after_update($item)}} 205var inlineFullwidths=[],notInlineFullwidths=[];$('.fullwidth-block').each(function(){var $item=$(this),$parents=$item.parents('.vc_row'),fullw={isInline:!1};$parents.each(function(){if(this.hasAttribute('data-vc-full-width')){fullw.isInline=!0;return!1}});if(fullw.isInline){inlineFullwidths.push(this)}else{notInlineFullwidths.push(this)}});function update_fullwidths(inline,init){var $needUpdate=[];
205(inline?inlineFullwidths:notInlineFullwidths).forEach(function(item){$needUpdate.push(item)});if($needUpdate.length>0){var pageOffset=$page.offset(),pagePaddingLeft=$page.css('padding-left'),pageWidth=$page.width();$needUpdate.forEach(function(item){fullwidth_block_update($(item),pageOffset,pagePaddingLeft,pageWidth)})}} 206if(!window.disableGemSlideshowPreloaderHandle){jQuery('.gem-slideshow-with-preloader:not(.gem-slideshow-rs)').each(function(){var $slideshow=$(this);$slideshow.thegemPreloader(function(){})})} 207var revapi=jQuery(document).ready(function(){});revapi.one('revolution.slide.onloaded',function(){jQuery('.gem-slideshow').prev('.slideshow-preloader').remove()});$(function(){$('#gem-icons-loading-hide').remove();if(window.tgpLazyItems===undefined){$('#thegem-preloader-inline-css').remove()} 208jQuery('.gem-video-background').each(function(){var $videoBG=$(this);var $videoContainer=$('.gem-video-background-inner',this);var ratio=$videoBG.data('aspect-ratio')?$videoBG.data('aspect-ratio'):'16:9';var regexp=/(\d+):(\d+)/;var $fullwidth=$videoBG.closest('.fullwidth-block');ratio=regexp.exec(ratio);if(!ratio||parseInt(ratio[1])==0||parseInt(ratio[2])==0){ratio=16/9}else{ratio=parseInt(ratio[1])/parseInt(ratio[2])} 209function gemVideoUpdate(){$videoContainer.removeAttr('style');if($videoContainer.width()/$videoContainer.height()>ratio){$videoContainer.css({height:($videoContainer.width()/ratio)+'px',marginTop:-($videoContainer.width()/ratio-$videoBG.height())/2+'px'})}else{$videoContainer.css({width:($videoContainer.height()*ratio)+'px',marginLeft:-($videoContainer.height()*ratio-$videoBG.width())/2+'px'})}} 210if($videoBG.closest('.vc_row_custom_video_background').length>0){gemVideoUpdate()} 211if($videoBG.closest('.page-title-block').length>0){gemVideoUpdate()} 212if($fullwidth.length){$fullwidth.on('fullwidthUpdate',gemVideoUpdate)}else{$(window).resize(gemVideoUpdate)}});update_fullwidths(!1,!0);$('.fullwidth-block').each(function(){var $item=$(this),mobile_enabled=$item.data('mobile-parallax-enable')||'0',is_custom_title=$item.hasClass('custom-title-background');if(!window.gemSettings.isTouch||mobile_enabled=='1'){if($item.hasClass('fullwidth-block-parallax-vertical')){var parallaxOptions={};if(is_custom_title){parallaxOptions.position='top'} 213$('.fullwidth-block-background',$item).each(function(){var backgroundImageCss=$(this).css('background-image')||'';if(backgroundImageCss=='none'||backgroundImageCss==''){$(this).on('tgpliVisible',function(){$(this).parallaxVertical('50%',parallaxOptions)});return} 214$(this).parallaxVertical('50%',parallaxOptions)})}else if($item.hasClass('fullwidth-block-parallax-horizontal')){$('.fullwidth-block-background',$item).each(function(){if(!window.gemSettings.parallaxDisabled){var backgroundImageCss=$(this).css('background-image')||'';if(backgroundImageCss=='none'||backgroundImageCss==''){$(this).on('tgpliVisible',function(){$(this).parallaxHorizontal()});return} 215$(this).parallaxHorizontal()}})}}else{$('.fullwidth-block-background',$item).css({backgroundAttachment:'scroll'})}});if(!window.gemSettings.isTouch){$('.page-title-parallax-background').each(function(){var backgroundImageCss=$(this).css('background-image')||'';if(backgroundImageCss=='none'||backgroundImageCss==''){$(this).on('tgpliVisible',function(){$(this).parallaxVertical('50%',{position:'top'})});return} 216$(this).parallaxVertical('50%',{position:'top'})})}else{$('.page-title-parallax-background').css({backgroundAttachment:'scroll'})} 217$(window).resize(function(){update_fullwidths(!1,!1)});$(window).on('load',function(){update_fullwidths(!1,!1)});jQuery('select.gem-combobox, .gem-combobox select, .widget_archive select').each(function(index){$(this).combobox()});jQuery('.widget_categories select').each(function(){this.onchange=null;$(this).on('change',function(){if($(this).val()!=-1){$(this).closest('form').submit()}})});jQuery('input.gem-checkbox, .gem-checkbox input').each(function(index){$(this).checkbox()});if(typeof($.fn.ReStable)=="function"){jQuery('.gem-table-responsive').each(function(index){$('> table',this).ReStable({maxWidth:768,rowHeaders:$(this).hasClass('row-headers')})})} 218jQuery('.fancybox').each(function(){$(this).fancybox()});if(typeof jQuery.fn.scSticky==='function'){jQuery('.panel-sidebar-sticky > .sidebar').scSticky()} 219$('.primary-navigation a.mega-no-link').closest('li').removeClass('menu-item-active current-menu-item');function getElementPagePosition(element){var width=element.offsetWidth,height=element.offsetHeight,left=0,top=0;
219while(element&&element.id!='page'){left+=element.offsetLeft;top+=element.offsetTop;element=element.offsetParent} 220return{"left":left,"top":top,"width":width,"height":height}} 221var $anhorsElements=[];$('a[href*="#"]').not('[data-vc-accordion], [data-vc-tabs], .scroll-to-content, .disable-scroll-to-anchor, .disable-scroll-to-anchor a').each(function(e){var $anhor=$(this);var link=$anhor.attr('href');if(!link)return;link=link.split('#');var currentUrl=window.location.href.split('#')[0].replace(/\/$/,'');if(link[0]==='/')link[0]=window.location.origin;if(link[0]!==''&&link[0].replace(/\/$/,'')!==currentUrl)return;try{if($('#'+link[1]).hasClass('vc_tta-panel'))return;if($('#'+link[1]).length){$anhor.closest('li').removeClass('menu-item-active current-menu-item');$anhor.closest('li').parents('li').removeClass('menu-item-current');$(document).on('update-page-scroller',function(e,elem){var $elem=$(elem);if(!$anhor.closest('li.menu-item').length)return;if($elem.is($('#'+link[1]))||$elem.find($('#'+link[1])).length){$anhor.closest('li').addClass('menu-item-active');$anhor.closest('li').parents('li').addClass('menu-item-current')}else{$anhor.closest('li').removeClass('menu-item-active');$anhor.closest('li').parents('li.menu-item-current').each(function(){if(!$('.menu-item-active',this).length){$(this).removeClass('menu-item-current')}})}});$anhor.click(function(e){e.preventDefault();history.replaceState('data to be passed',$anhor.text(),$anhor.attr('href'));var correction=0;var isPerspectiveMenu=$('#thegem-perspective.modalview').length;if($('#site-header.animated-header').length){var shrink=$('#site-header').hasClass('shrink');$('#site-header').addClass('scroll-counting');$('#site-header').addClass('fixed shrink');correction=$('#site-header').outerHeight();if(!isPerspectiveMenu){var siteHeaderTop=$('#site-header').position().top;if($('#site-header').hasClass('shrink')){siteHeaderTop=0} 222correction+=siteHeaderTop} 223if(!shrink){$('#site-header').removeClass('fixed shrink')} 224setTimeout(function(){$('#site-header').removeClass('scroll-counting')},50)} 225if($('#site-header.header-sticky').length&&$('.header-sticky-template').length){correction=$('.header-sticky-template').outerHeight()} 226var target_top=getElementPagePosition($('#'+link[1])[0]).top-correction+1;if(getElementPagePosition($('#'+link[1])[0]).top==0){target_top=0} 227if($('body').hasClass('page-scroller')&&$('.page-scroller-nav-pane').is(':visible')){var $block=$('#'+link[1]+'.scroller-block').add($('#'+link[1]).closest('.scroller-block')).eq(0);if($block.length){$('.page-scroller-nav-pane .page-scroller-nav-item').eq($('.scroller-block').index($block)).trigger('click')} 228if($anhor.closest('.overlay-menu-wrapper').length&&$anhor.closest('.overlay-menu-wrapper').hasClass('active')){if($anhor.closest('#primary-navigation').length&&$anhor.closest('#primary-navigation').hasClass('responsive')){$anhor.closest('.thegem-te-menu').find('.menu-toggle').trigger('click');$anhor.closest('#primary-navigation').find('.menu-toggle').trigger('click')}else{$anhor.closest('.thegem-te-menu').find('.overlay-toggle').trigger('click');$anhor.closest('#primary-navigation').find('.overlay-toggle').trigger('click')}}}else{if(isPerspectiveMenu){$('#page').stop(!0,!0).animate({scrollTop:target_top},1500,'easeInOutCubic',function(){if($anhor.closest('#thegem-perspective').length&&$anhor.closest('#thegem-perspective').hasClass('modalview')){$anhor.closest('.thegem-te-menu').find('.perspective-menu-close').trigger('click');$anhor.closest('#primary-navigation').find('.perspective-menu-close').trigger('click')}})}else{$('html, body').stop(!0,!0).animate({scrollTop:target_top},1500,'easeInOutCubic')} 229if($anhor.closest('#primary-menu').length&&$anhor.closest('#primary-menu').hasClass('dl-menuopen')){$anhor.closest('.thegem-te-menu').find('.menu-toggle').trigger('click');$anhor.closest('#primary-navigation').find('.menu-toggle').trigger('click')} 230if($anhor.closest('.mobile-menu-slide-wrapper').length&&$anhor.closest('.mobile-menu-slide-wrapper').hasClass('opened')){$anhor.closest('.thegem-te-menu').find('.mobile-menu-slide-close').trigger('click');$anhor.closest('#primary-navigation').find('.mobile-menu-slide-close').trigger('click')} 231if($anhor.closest('.overlay-menu-wrapper').length&&$anhor.closest('.overlay-menu-wrapper').hasClass('active')){if($anhor.closest('#primary-navigation').length&&$anhor.closest('#primary-navigation').hasClass('responsive')){$anhor.closest('.thegem-te-menu').find('.menu-toggle').trigger('click');$anhor.closest('#primary-navigation').find('.menu-toggle').trigger('click')}else{$anhor.closest('.thegem-te-menu').find('.overlay-toggle-close').trigger('click');$anhor.closest('#primary-navigation').find('.overlay-toggle-close').trigger('click')}} 232if($anhor.closest('#primary-navigation').length&&$anhor.closest('#primary-navigation').hasClass('hamburger-active')){$anhor.closest('.thegem-te-menu').find('.hamburger-toggle').trigger('click');$anhor.closest('#primary-navigation').find('.hamburger-toggle').trigger('click')}}});$anhorsElements.push($anhor[0])}}catch(e){return}});if($anhorsElements.length){function anchorLinksScroll(){var isPerspectiveMenu=$('#thegem-perspective.modalview').length;var correction=0;if(!$page.hasClass('vertical-header')){correction=$('#site-header').outerHeight();if(!isPerspectiveMenu){var siteHeaderTop=$('#site-header').length?$('#site-header').position().top:0;if($('#site-header').hasClass('shrink')){siteHeaderTop=0} 233correction+=siteHeaderTop}} 234if($('#site-header.header-sticky').length&&$('.header-sticky-template').length){correction=$('.header-sticky-template').outerHeight()} 235for(var i=0;i<$anhorsElements.length;i++){var $anhor=$($anhorsElements[i]);var link=$anhor.attr('href');if(!link)continue;link=link.split('#');var scrollY=getScrollY()+$page.scrollTop();if(!$anhor.closest('li.menu-item').length)continue;var target_top=getElementPagePosition($('#'+link[1])[0]).top-correction;if(scrollY>=target_top&&scrollY<=target_top+$('#'+link[1]).outerHeight()){$anhor.closest('li').addClass('menu-item-active');$anhor.closest('li').parents('li').addClass('menu-item-current')}else{$anhor.closest('li').removeClass('menu-item-active');$anhor.closest('li').parents('li.menu-item-current').each(function(){if(!$('.menu-item-active',this).length){$(this).removeClass('menu-item-current')}})}}} 236$(window).scroll(anchorLinksScroll);if($('#thegem-perspective').length){$page.scroll(anchorLinksScroll)} 237$(window).on('load',function(){for(var i=0;i<$anhorsElements.length;i++){var anhor=$anhorsElements[i];if(anhor.href!=undefined&&anhor.href&&window.location.href==anhor.href){anhor.click();break}}})} 238$('body').on('click','.post-footer-sharing .gem-button',function(e){e.preventDefault();e.stopPropagation();$(this).closest('.post-footer-sharing').find('.sharing-popup').addClass('active')});
238$('body').on('click',function(){$('.sharing-popup').removeClass('active')});var scrollTimer,body=document.body;$(window).scroll(function(){clearTimeout(scrollTimer);if(!body.classList.contains('disable-hover')){} 239scrollTimer=setTimeout(function(){},300);if(getScrollY()>0){$('.scroll-top-button').addClass('visible')}else{$('.scroll-top-button').removeClass('visible')}}).scroll();function getScrollY(elem){return window.pageYOffset||document.documentElement.scrollTop} 240$('a.hidden-email').each(function(){$(this).attr('href','mailto:'+$(this).data('name')+'@'+$(this).data('domain'))});var initFooterWidgetArea=function(){if(window.tgpLazyItems!==undefined){var isShowed=window.tgpLazyItems.checkGroupShowed(this,function(node){initFooterWidgetArea.call(node)});if(!isShowed){return}} 241var self=this;$(self).thegemPreloader(function(){$(self).thegem_isotope({itemSelector:'.widget',layoutMode:'masonry'})})};$('#colophon .footer-widget-area').each(initFooterWidgetArea);$('body').updateTabs()});$(document).on('show.vc.accordion','[data-vc-accordion]',function(){var $target=$(this).data('vc.accordion').getContainer();var correction=0;if(!$target.find('.vc_tta-tabs').length||!$(this).is(':visible')||$target.data('vc-tta-autoplay'))return;if($('#site-header.animated-header').length&&$('#site-header').hasClass('fixed')){var shrink=$('#site-header').hasClass('shrink');$('#site-header').addClass('scroll-counting');$('#site-header').addClass('fixed shrink');correction=$('#site-header').outerHeight()+$('#site-header').position().top;if(!shrink){$('#site-header').removeClass('fixed shrink')} 242$('#site-header').removeClass('scroll-counting')} 243var target_top=$target.offset().top-correction-100+1;$('html, body').stop(!0,!0).animate({scrollTop:target_top},500,'easeInOutCubic')});var vc_update_fullwidth_init=!0;$(document).on('vc-full-width-row',function(e){if(window.gemOptions.clientWidth-$page.width()>25||window.gemSettings.isRTL){for(var i=1;i<arguments.length;i++){var $el=$(arguments[i]);$el.addClass("vc_hidden");var $el_full=$el.next(".vc_row-full-width");$el_full.length||($el_full=$el.parent().next(".vc_row-full-width"));var 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+$('#page').offset().left+parseInt($('#page').css('padding-left')),width=$('#page').width();var offsetKey=window.gemSettings.isRTL?'right':'left';var cssData={position:"relative",left:offset,"box-sizing":"border-box",width:$("#page").width()};cssData[offsetKey]=offset;if($el.css(cssData),!$el.data("vcStretchContent")){var padding=-1*offset;0>padding&&(padding=0);var paddingRight=width-padding-$el_full.width()+el_margin_left+el_margin_right;0>paddingRight&&(paddingRight=0),$el.css({"padding-left":padding+"px","padding-right":paddingRight+"px"})} 244$el.attr("data-vc-full-width-init","true"),$el.removeClass("vc_hidden");$el.trigger('VCRowFullwidthUpdate')}} 245update_fullwidths(!0,vc_update_fullwidth_init);vc_update_fullwidth_init=!1});$('body').on('click','.gem-button[href^="#give-form-"]',function(e){var form_id=$(this).attr('href').replace('#give-form-','');form_id=parseInt(form_id);if(!isNaN(form_id)){$('#give-form-'+form_id+' .give-btn-modal').click()} 246e.preventDefault();return!1});$('body').on('click','.close-fancybox',function(e){if(parent.jQuery.fancybox.getInstance()){e.preventDefault();parent.jQuery.fancybox.getInstance().close()}})})(jQuery);(function($){$('body.notification-hidden-sidebar').on('added_to_cart',function(){$('.thegem-popup-notification-wrap > .thegem-popup-notification.cart').remove();$('body').addClass('notification-locked');$('.thegem-popup-notification-sidebar').addClass('active');setTimeout(()=>{$.fancybox.close()},200)});$('body.notification-hidden-sidebar').on('click touchend','.thegem-popup-notification-sidebar .close',function(e){$('.thegem-popup-notification-sidebar').removeClass('active');$('body').removeClass('notification-locked')});$('body.notification-hidden-sidebar').on('click touchend','.thegem-popup-notification-sidebar',function(e){const wrap=$('.thegem-popup-notification-sidebar .notification-sidebar');if(!wrap.is(e.target)&&wrap.has(e.target).length===0){$('.thegem-popup-notification-sidebar').removeClass('active');$('body').removeClass('notification-locked')}});$('body.notification-hidden-sidebar').on('click touchend','a.minicart-menu-link',function(e){e.preventDefault();$('body').addClass('notification-locked');$('.thegem-popup-notification-sidebar').addClass('active')});$('body.notification-hidden-sidebar').on('click','.woocommerce-mini-cart-item__qty > .plus, .woocommerce-mini-cart-item__qty > .minus',function(){var $qty=$(this).closest('.woocommerce-mini-cart-item__qty').find('.qty'),currentVal=parseFloat($qty.val()),max=parseFloat($qty.attr('max')),min=parseFloat($qty.attr('min')),step=$qty.attr('step');if(!currentVal||currentVal===''||currentVal==='NaN')currentVal=0;if(max===''||max==='NaN')max='';if(min===''||min==='NaN')min=0;if(step==='any'||step===''||step===undefined||parseFloat(step)==='NaN')step=1;if($(this).is('.plus')){if(max&&(max==currentVal||currentVal>max)){$qty.val(max)}else{$qty.val(currentVal+parseFloat(step))}}else{if(min&&(min==currentVal||currentVal<min)){$qty.val(min)}else if(currentVal>0){$qty.val(currentVal-parseFloat(step))}} 247$qty.trigger('change')});$('body.notification-hidden-sidebar').on('change input','.woocommerce-mini-cart .quantity .qty',function(){var input=$(this);var qtyVal=input.val();var itemID=input.parents('.woocommerce-mini-cart-item').data('key');clearTimeout(window.thegem_cart_update);window.thegem_cart_update=setTimeout(function(){$.ajax({url:woocommerce_params.ajax_url,data:{action:'thegem_notification_sidebar_update_cart_item',item_id:itemID,qty:qtyVal},success:function(data){if(data&&data.fragments){$.each(data.fragments,function(key,value){if($(key).hasClass('widget_shopping_cart_content')){const dataItemValue=$(value).find('.woocommerce-mini-cart-item[data-key="'+itemID+'"]');const dataFooterValue=$(value).find('.woocommerce-mini-cart__subtotal');const $itemSelector=$(key).find('.woocommerce-mini-cart-item[data-key="'+itemID+'"]');if(!data.cart_hash){$(key).replaceWith(value)}else{$itemSelector.replaceWith(dataItemValue);$('.woocommerce-mini-cart__subtotal').replaceWith(dataFooterValue)}}else{$(key).replaceWith(value)}})}},dataType:'json',method:'GET'})},500)})})(jQuery) 248;/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net) 249 * Licensed under the MIT License (LICENSE.txt). 250 * 251 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. 252 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. 253 * Thanks to: Seamus Leahy for adding deltaX and deltaY 254 * 255 * Version: 3.0.6 256 * 257 * Requires: 1.2.2+ 258 */ 259(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1
259),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void 0&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void 0&&(g=b.wheelDeltaY/120);b.wheelDeltaX!==void 0&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,!1);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery) 260;
vendor: 62,933 bytes, line 260
260!function(t,e,n,o){"use strict";function i(t,e){var o,i,a,s=[],r=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=h(t.data.options,e)),o=e.$target||n(t.currentTarget).trigger("blur"),(a=n.fancybox.getInstance())&&a.$trigger&&a.$trigger.is(o)||(e.selector?s=n(e.selector):(i=o.attr("data-fancybox")||"",i?(s=t.data?t.data.items:[],s=s.length?s.filter('[data-fancybox="'+i+'"]'):n('[data-fancybox="'+i+'"]')):s=[o]),r=n(s).index(o),r<0&&(r=0),a=n.fancybox.open(s,e,r),a.$trigger=o))}if(t.console=t.console||{info:function(t){}},n){if(n.fn.fancybox)return void console.info("fancyBox already initialized");var a={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},s=n(t),r=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},d=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),u=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),f=function(){var t,n=e.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in o)if(void 0!==n.style[t])return o[t];return"transitionend"}(),p=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,e){var o=n.extend(!0,{},t,e);return n.each(e,function(t,e){n.isArray(e)&&(o[t]=e)}),o},g=function(t){var o,i;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),o={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},i=e.elementFromPoint(o.x,o.y)===t,n(".fancybox-container").css("pointer-events",""),i)},b=function(t,e,o){var i=this;i.opts=h({index:o},n.fancybox.defaults),n.isPlainObject(e)&&(i.opts=h(i.opts,e)),n.fancybox.isMobile&&(i.opts=h(i.opts,i.opts.mobile)),i.id=i.opts.id||++c,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&i.init()};n.extend(b.prototype,{init:function(){var o,i,a=this,s=a.group[a.currIndex],r=s.opts;r.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==r.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),i="",n.each(r.buttons,function(t,e){i+=r.btnTpl[e]||""}),o=n(a.translate(a,r.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",r.btnTpl.arrowLeft+r.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(r.baseClass).data("FancyBox",a).appendTo(r.parentEl),a.$refs={container:o},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){a.$refs[t]=o.find(".fancybox-"+t)}),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return void 0===n[e]?t:n[e]})},addContent:function(t){var e,o=this,i=n.makeArray(t);n.each(i,function(t,e){var i,a,s,r,c,l={},d={};n.isPlainObject(e)?(l=e,d=e.opts||e):"object"===n.type(e)&&n(e).length?(i=n(e),d=i.data()||{},d=n.extend(!0,{},d,d.options),d.$orig=i,l.src=o.opts.src||d.src||i.attr("href"),l.type||l.src||(l.type="inline",l.src=e)):l={type:"html",src:e+""},l.opts=n.extend(!0,{},o.opts,d),n.isArray(d.buttons)&&(l.opts.buttons=d.buttons),n.fancybox.isMobile&&l.opts.mobile&&(l.opts=h(l.opts,l.opts.mobile)),a=l.type||l.opts.type,r=l.src||"",!a&&r&&((s=r.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",l.opts.video.format||(l.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":r.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",l=n.extend(!0,l,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===r.charAt(0)&&(a="inline")),a?l.type=a:o.trigger("objectNeedsType",l),l.contentType||(l.contentType=n.inArray(l.type,["html","inline","ajax"])>-1?"html":l.type),l.index=o.group.length,"auto"==l.opts.smallBtn&&(l.opts.smallBtn=n.inArray(l.type,["html","inline","ajax"])>-1),"auto"===l.opts.toolbar&&(l.opts.toolbar=!l.opts.smallBtn),l.$thumb=l.opts.$thumb||null,l.opts.$trigger&&l.index===o.opts.index&&(l.$thumb=l.opts.$trigger.find("img:first"),l.$thumb.length&&(l.opts.$orig=l.opts.$trigger)),l.$thumb&&l.$thumb.length||!l.opts.$orig||(l.$thumb=l.opts.$orig.find("img:first")),l.$thumb&&!l.$thumb.length&&(l.$thumb=null),l.thumb=l.opts.thumb||(l.$thumb?l.$thumb[0].src:null),"function"===n.type(l.opts.caption)&&(l.opts.caption=l.opts.caption.apply(e,[o,l])),"function"===n.type(o.opts.caption)&&(l.opts.caption=o.opts.caption.apply(e,[o,l])),l.opts.caption instanceof n||(l.opts.caption=void 0===l.opts.caption?"":l.opts.caption+""),"ajax"===l.type&&(c=r.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.filter=c.shift())),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),o.group.push(l)}),Object.keys(o.slides).length&&(o.updateControls(),(e=o.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),e.next()}).on("click.fb","[data-fancybox-zoom]",function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&u(e.requestId),e.requestId=d(function(){e.update(t)})):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout(function(){e.$refs.stage.show(),e.update(t)},n.fancybox.isMobile?600:250))}),r.on("keydown.fb",function(t){var o=n.fancybox?n.fancybox.getInstance():null,i=o.current,a=t.keyCode||t.which;if(9==a)return void(i.opts.trapFocus&&e.focus(t));if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio,select")))return 8===a||27===a?(t.preventDefault(),void e.close(t)):37===a||38===a?(t.preventDefault(),void e.previous()):39===a||40===a?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,a)}),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1}),e.idleInterval=t.setInterval(function(){++e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())},1e3))},removeEvents:function(){var e=this;s.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var o,i,a,s,r,c,l,d,u,f=this,h=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(t=parseInt(t,10),!(a=f.current?f.current.opts.loop:f.opts.loop)&&(t<0||t>=h))return!1;if(o=f.firstRun=!Object.keys(f.slides).length,r=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,s=f.createSlide(t),h>1&&((a||s.index<h-1)&&f.createSlide(t+1),(a||s.index>0)&&f.createSlide(t-1)),f.current=s,f.currIndex=s.index,f.currPos=s.pos,f.trigger("beforeShow",o),f.updateControls(),s.forcedDuration=void 0,n.isNumeric(e)?s.forcedDuration=e:e=s.opts[o?"animationDuration":"transitionDuration"],e=parseInt(e,10),i=f.isMoved(s),s.$slide.addClass("fancybox-slide--current"),o)return s.opts.animationEffect&&e&&f.$refs.container.css("transition-duration",e+"ms"),f.$refs.container.addClass("fancybox-is-open").trigger("focus"),f.loadSlide(s),void f.preload("image");c=n.fancybox.getTranslate(r.$slide),l=n.fancybox.getTranslate(f.$refs.stage),n.each(f.slides,function(t,e){n.fancybox.stop(e.$slide,!0)}),r.pos!==s.pos&&(r.isComplete=!1),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),i?(u=c.left-(r.pos*c.width+r.pos*r.opts.gutter),n.each(f.slides,function(t,o){o.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var i=o.pos*c.width+o.pos*o.opts.gutter;n.fancybox.setTranslate(o.$slide,{top:0,left:i-l.left+u}),o.pos!==s.pos&&o.$slide.addClass("fancybox-slide--"+(o.pos>s.pos?"next":"previous")),p(o.$slide),n.fancybox.animate(o.$slide,{top:0,left:(o.pos-s.pos)*c.width+(o.pos-s.pos)*o.opts.gutter},e,function(){o.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),o.pos===f.currPos&&f.complete()})})):e&&s.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,r.$slide.addClass("fancybox-slide--"+(r.pos>s.pos?"next":"previous")),n.fancybox.animate(r.$slide,d,e,function(){r.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?f.revealContent(s):f.loadSlide(s),f.preload("image")}},createSlide:function(t){var e,o,i=this;return o=t%i.group.length,o=o<0?i.group.length+o:o,!i.slides[t]&&i.group[o]&&(e=n('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,o){var i,a,s,r,c,l=this,d=l.current,u=d.$content,f=n.fancybox.getTranslate(d.$slide).width,p=n.fancybox.getTranslate(d.$slide).height,h=d.width,g=d.height;l.isAnimating||l.isMoved()||!u||"image"!=d.type||!d.isLoaded||d.hasError||(l.isAnimating=!0,n.fancybox.stop(u),t=void 0===t?.5*f:t,e=void 0===e?.5*p:e,i=n.fancybox.getTranslate(u),i.top-=n.fancybox.getTranslate(d.$slide).top,i.left-=n.fancybox.getTranslate(d.$slide).left,r=h/i.width,c=g/i.height,a=.5*f-.5*h,s=.5*p-.5*g,h>f&&(a=i.left*r-(t*r-t),a>0&&(a=0),a<f-h&&(a=f-h)),g>p&&(s=i.top*c-(e*c-e),s>0&&(s=0),s<p-g&&(s=p-g)),l.updateCursor(h,g),n.fancybox.animate(u,{top:s,left:a,scaleX:r,scaleY:c},o||366,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,o=this,i=o.current,a=i.$content;o.isAnimating||o.isMoved()||!a||"image"!=i.type||!i.isLoaded||i.hasError||(o.isAnimating=!0,n.fancybox.stop(a),e=o.getFitPos(i),o.updateCursor(e.width,e.height),n.fancybox.animate(a,{top:e.top,left:e.left,scaleX:e.width/a.width(),scaleY:e.height/a.height()},t||366,function(){o.isAnimating=!1}))},getFitPos:function(t){var e,o,i,a,s=this,r=t.$content,c=t.$slide,l=t.width||t.opts.width,d=t.height||t.opts.height,u={};return!!(t.isLoaded&&r&&r.length)&&(e=n.fancybox.getTranslate(s.$refs.stage).width,o=n.fancybox.getTranslate(s.$refs.stage).height,e-=parseFloat(c.css("paddingLeft"))+parseFloat(c.css("paddingRight"))+parseFloat(r.css("marginLeft"))+parseFloat(r.css("marginRight")),o-=parseFloat(c.css("paddingTop"))+parseFloat(c.css("paddingBottom"))+parseFloat(r.css("marginTop"))+parseFloat(r.css("marginBottom")),l&&d||(l=e,d=o),i=Math.min(1,e/l,o/d),l*=i,d*=i,l>e-.5&&(l=e),d>o-.5&&(d=o),"image"===t.type?(u.top=Math.floor(.5*(o-d))+parseFloat(c.css("paddingTop")),u.left=Math.floor(.5*(e-l))+parseFloat(c.css("paddingLeft"))):"video"===t.contentType&&(a=t.opts.width&&t.opts.height?l/d:t.opts.ratio||16/9,d>l/a?d=l/a:l>d*a&&(l=d*a)),u.width=l,u.height=d,u)},update:function(t){var e=this;n.each(e.slides,function(n,o){e.updateSlide(o,t)})},updateSlide:function(t,e){var o=this,i=t&&t.$content,a=t.width||t.opts.width,s=t.height||t.opts.height,r=t.$slide;o.adjustCaption(t),i&&(a||s||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,o.getFitPos(t)),t.pos===o.currPos&&(o.isAnimating=!1,o.updateCursor())),o.adjustLayout(t),r.length&&(r.trigger("refresh"),t.pos===o.currPos&&o.$refs.toolbar.add(o.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),o.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,o=e.current,i=o.$slide;!e.isClosing&&o&&(i.siblings().css({transform:"",opacity:""}),i.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(i,{top:0,left:0,opacity:1},void 0===t?0:t,function(){i.css({transform:"",opacity:""}),o.isComplete||e.complete()},!1))},isMoved:function(t){var e,o,i=t||this.current;return!!i&&(o=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-o.top)>.5||Math.abs(e.left-o.left)>.5))},updateCursor:function(t,e){var o,i,a=this,s=a.current,r=a.$refs.container;s&&!a.isClosing&&a.Guestures&&(r.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=a.canPan(t,e),i=!!o||a.isZoomable(),r.toggleClass("fancybox-is-zoomable",i),n("[data-fancybox-zoom]").prop("disabled",!i),o?r.addClass("fancybox-can-pan"):i&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?r.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||a.group.length>1)&&"video"!==s.contentType&&r.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((t=e.getFitPos(n))&&(n.width>t.width||n.height>t.height))return!0}return!1},isScaledDown:function(t,e){var o=this,i=!1,a=o.current,s=a.$content;return void 0!==t&&void 0!==e?i=t<a.width&&e<a.height:s&&(i=n.fancybox.getTranslate(s),i=i.width<a.width&&i.height<a.height),i},canPan:function(t,e){var o=this,i=o.current,a=null,s=!1;return"image"===i.type&&(i.isComplete||t&&e)&&!i.hasError&&(s=o.getFitPos(i),void 0!==t&&void 0!==e?a={width:t,height:e}:i.isComplete&&(a=n.fancybox.getTranslate(i.$content)),a&&s&&(s=Math.abs(a.width-s.width)>1.5||Math.abs(a.height-s.height)>1.5)),s},loadSlide:function(t){var e,o,i,a=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===a.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,o=t.$slide,o.off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"video":a.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),i=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),o.one("onReset",function(){i.abort()});break;default:a.setError(t)}return!0}},setImage:function(t){var o,i=this;setTimeout(function(){var e=t.$image;i.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||i.showLoading(t)},50),i.checkSrcset(t),t.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,o=e.createElement("img"),o.onerror=function(){n(this).remove(),t.$ghost=null},o.onload=function(){i.afterLoad(t)},t.$ghost=n(o).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),i.setBigImage(t)},checkSrcset:function(e){var n,o,i,a,s=e.opts.srcset||e.opts.image.srcset;if(s){i=t.devicePixelRatio||1,a=t.innerWidth*i,o=s.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var o=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;o&&(e.value=o,e.postfix=t[t.length-1])}),e}),o.sort(function(t,e){return t.value-e.value});for(var r=0;r<o.length;r++){var c=o[r];if("w"===c.postfix&&c.value>=a||"x"===c.postfix&&c.value>=i){n=c;break}}!n&&o.length&&(n=o[o.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var o=this,i=e.createElement("img"),a=n(i);t.$image=a.one("error",function(){o.setError(t)}).one("load",function(){var e;t.$ghost||(o.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),o.afterLoad(t)),o.isClosing||(t.opts.srcset&&(e=t.opts.sizes,e&&"auto"!==e||(e=(t.width/t.height>1&&s.width()/s.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),a.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!o.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),o.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(i.complete||"complete"==i.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):i.error&&a.trigger("error")},resolveImageSlideSize:function(t,e,n){var o=parseInt(t.opts.width,10),i=parseInt(t.opts.height,10);t.width=e,t.height=n,o>0&&(t.width=o,t.height=Math.floor(o*n/e)),i>0&&(t.width=Math.floor(i*e/n),t.height=i)},setIframe:function(t){var e,o=this,i=t.opts.iframe,a=t.$slide;t.$content=n('<div class="fancybox-content'+(i.preload?" fancybox-is-hidden":"")+'"></div>').css(i.css).appendTo(a),a.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(i.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(i.attr).appendTo(t.$content),i.preload?(o.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),o.afterLoad(t)}),a.on("refresh.fb",function(){var n,o,s=t.$content,r=i.css.width,c=i.css.height;if(1===e[0].isReady){try{n=e.contents(),o=n.find("body")}catch(t){}o&&o.length&&o.children().length&&(a.css("overflow","visible"),s.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===r&&(r=Math.ceil(Math.max(o[0].clientWidth,o.outerWidth(!0)))),s.css("width",r||"").css("max-width",""),void 0===c&&(c=Math.ceil(Math.max(o[0].clientHeight,o.outerHeight(!0)))),s.css("height",c||""),a.css("overflow","auto")),s.removeClass("fancybox-is-hidden")}})):o.afterLoad(t),e.attr("src",t.src),a.one("onReset",function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1})},setContent:function(t,e){var o=this;o.isClosing||(o.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),l(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents()),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),o.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){var e=this;(t=t||e.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,o=t||n.current,i=o.opts.caption,a=o.opts.preventCaptionOverlap,s=n.$refs.caption,r=!1;s.toggleClass("fancybox-caption--separate",a),a&&i&&i.length&&(o.pos!==n.currPos?(e=s.clone().appendTo(s.parent()),e.children().eq(0).empty().html(i),r=e.outerHeight(!0),e.empty().remove()):n.$caption&&(r=n.$caption.outerHeight(!0)),o.$slide.css("padding-bottom",r||""))},adjustLayout:function(t){var e,n,o,i,a=this,s=t||a.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(o=s.$slide[0].style["padding-bottom"],i=s.$slide.css("padding-bottom"),parseFloat(i)>0&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(n=i),s.$slide.css("padding-bottom",o))),s.$content.css("margin-bottom",n))},revealContent:function(t){var e,o,i,a,s=this,r=t.$slide,c=!1,l=!1,d=s.isMoved(t),u=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],i=t.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(void 0===t.forcedDuration?i:t.forcedDuration,10),!d&&t.pos===s.currPos&&i||(e=!1),"zoom"===e&&(t.pos===s.currPos&&i&&"image"===t.type&&!t.hasError&&(l=s.getThumbPos(t))?c=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,c.scaleX=c.width/l.width,c.scaleY=c.height/l.height,a=t.opts.zoomOpacity,"auto"==a&&(a=Math.abs(t.width/t.height-l.width/l.height)>.1),a&&(l.opacity=.1,c.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),l),p(t.$content),void n.fancybox.animate(t.$content,c,i,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(t),e?(n.fancybox.stop(r),o="fancybox-slide--"+(t.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,r.addClass(o).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),p(r),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(r,"fancybox-slide--current",i,function(){r.removeClass(o).css({transform:"",opacity:""}),t.pos===s.currPos&&s.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),u||!d||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,o,i,a,s,r=!1,c=t.$thumb;return!(!c||!g(c[0]))&&(e=n.fancybox.getTranslate(c),o=parseFloat(c.css("border-top-width")||0),i=parseFloat(c.css("border-right-width")||0),a=parseFloat(c.css("border-bottom-width")||0),s=parseFloat(c.css("border-left-width")||0),r={top:e.top+o,left:e.left+s,width:e.width-i-s,height:e.height-o-a,scaleX:1,scaleY:1},e.width>0&&e.height>0&&r)},complete:function(){var t,e=this,o=e.current,i={};!e.isMoved()&&o.isLoaded&&(o.isComplete||(o.isComplete=!0,o.$slide.siblings().trigger("onReset"),e.preload("inline"),p(o.$slide),o.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,function(t,o){o.pos>=e.currPos-1&&o.pos<=e.currPos+1?i[o.pos]=o:o&&(n.fancybox.stop(o.$slide),o.$slide.off().remove())}),e.slides=i),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),o.opts.video.autoStart&&o.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()}),o.opts.autoFocus&&"html"===o.contentType&&(t=o.$content.find("input[autofocus]:enabled:visible:first"),t.length?t.trigger("focus"):e.focus(null,!0)),o.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,o=this;o.group.length<2||(n=o.slides[o.currPos+1],e=o.slides[o.currPos-1],e&&e.type===t&&o.loadSlide(e),n&&n.type===t&&o.loadSlide(n))},focus:function(t,o){var i,a,s=this,r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");s.isClosing||(i=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(o?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible"),i=i.filter(r).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}),i.length?(a=i.index(e.activeElement),t&&t.shiftKey?(a<0||0==a)&&(t.preventDefault(),i.eq(i.length-1).trigger("focus")):(a<0||a==i.length-1)&&(t&&t.preventDefault(),i.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var o,i,a,s,r,c,l,u=this,f=u.current,h=function(){u.cleanUp(t)};return!u.isClosing&&(u.isClosing=!0,!1===u.trigger("beforeClose",t)?(u.isClosing=!1,d(function(){u.update()}),!1):(u.removeEvents(),a=f.$content,o=f.opts.animationEffect,i=n.isNumeric(e)?e:o?f.opts.animationDuration:0,f.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(f.$slide):o=!1,f.$slide.siblings().trigger("onReset").remove(),i&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",i+"ms"),u.hideLoading(f),u.hideControls(!0),u.updateCursor(),"zoom"!==o||a&&i&&"image"===f.type&&!u.isMoved()&&!f.hasError&&(l=u.getThumbPos(f))||(o="fade"),"zoom"===o?(n.fancybox.stop(a),s=n.fancybox.getTranslate(a),c={top:s.top,left:s.left,scaleX:s.width/l.width,scaleY:s.height/l.height,width:l.width,height:l.height},r=f.opts.zoomOpacity,"auto"==r&&(r=Math.abs(f.width/f.height-l.width/l.height)>.1),r&&(l.opacity=0),n.fancybox.setTranslate(a,c),p(a),n.fancybox.animate(a,l,i,h),!0):(o&&i?n.fancybox.animate(f.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+o,i,h):!0===t?setTimeout(h,i):h(),!0)))},cleanUp:function(e){var o,i,a,s=this,r=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",e),s.current.opts.backFocus&&(r&&r.length&&r.is(":visible")||(r=s.$trigger),r&&r.length&&(i=t.scrollX,a=t.scrollY,r.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(i))),s.current=null,o=n.fancybox.getInstance(),o?o.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;if(s?i.unshift(s):s=a,i.unshift(a),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),!1===o)return o;"afterClose"!==t&&a.$refs?a.$refs.container.trigger(t+".fb",i):r.trigger(t+".fb",i)},updateControls:function(){var t=this,o=t.current,i=o.index,a=t.$refs.container,s=t.$refs.caption,r=o.opts.caption;o.$slide.trigger("refresh"),r&&r.length?(t.$caption=s,s.children().eq(0).html(r)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),a.find("[data-fancybox-count]").html(t.group.length),a.find("[data-fancybox-index]").html(i+1),a.find("[data-fancybox-prev]").prop("disabled",!o.opts.loop&&i<=0),a.find("[data-fancybox-next]").prop("disabled",!o.opts.loop&&i>=t.group.length-1),"image"===o.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",o.opts.image.src||o.src).show():o.opts.toolbar&&a.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=this,n=["infobar","toolbar","nav"];!t&&e.current.opts.preventCaptionOverlap||n.push("caption"),this.$refs.container.removeClass(n.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:a,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return e instanceof b&&("string"===n.type(t)?e[t].apply(e,o):"function"===n.type(t)&&t.apply(e,o),e)},open:function(t,e,n){return new b(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n)&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&(e=t[0].getBoundingClientRect(),{top:e.top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))})},setTranslate:function(t,e){var n="",o={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY?n+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(n+=" scaleX("+e.scaleX+")"),n.length&&(o.transform=n),void 0!==e.opacity&&(o.opacity=e.opacity),void 0!==e.width&&(o.width=e.width),void 0!==e.height&&(o.height=e.height),t.css(o)},animate:function(t,e,o,i,a){var s,r=this;n.isFunction(o)&&(i=o,o=null),r.stop(t),s=r.getTranslate(t),t.on(f,function(c){(!c||!c.originalEvent||t.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(r.stop(t),n.isNumeric(o)&&t.css("transition-duration",""),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&r.setTranslate(t,{top:e.top,left:e.left,width:s.width*e.scaleX,height:s.height*e.scaleY,scaleX:1,scaleY:1}):!0!==a&&t.removeClass(e),n.isFunction(i)&&i(c))}),n.isNumeric(o)&&t.css("transition-duration",o+"ms"),n.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger(f)},o+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(f),t.off(f).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i),r.on("click.fb-start","[data-fancybox-trigger]",function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),function(){var t=null;r.on("mousedown mouseup focus blur",".fancybox-button",function(e){switch(e.type){case"mousedown":t=n(this);break;case"mouseup":t=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(t)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}})}()}}(window,document,jQuery),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,o){if(e)return o=o||"","object"===t.type(o)&&(o=t.param(o,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),o.length&&(e+=(e.indexOf("?")>0?"&":"?")+o),e};t(document).on("objectNeedsType.fb",function(o,i,a){var s,r,c,l,d,u,f,p=a.src||"",h=!1;s=t.extend(!0,{},e,a.opts.media),t.each(s,function(e,o){if(c=p.match(o.matcher)){if(h=o.type,f=e,u={},o.paramPlace&&c[o.paramPlace]){d=c[o.paramPlace],"?"==d[0]&&(d=d.substring(1)),d=d.split("&");for(var i=0;i<d.length;++i){var s=d[i].split("=",2);2==s.length&&(u[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return l=t.extend(!0,{},o.params,a.opts[e],u),p="function"===t.type(o.url)?o.url.call(this,c,l,a):n(o.url,c,l),r="function"===t.type(o.thumb)?o.thumb.call(this,c,l,a):n(o.thumb,c),"youtube"===e?p=p.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,n,o){return"&start="+((n?60*parseInt(n,10):0)+parseInt(o,10))}):"vimeo"===e&&(p=p.replace("&%23","#")),!1}}),h?(a.opts.thumb||a.opts.$thumb&&a.opts.$thumb.length||(a.opts.thumb=r),"iframe"===h&&(a.opts=t.extend(!0,a.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(a,{type:h,src:p,origSrc:a.src,contentSource:f,contentType:"image"===h?"image":"gmap_place"==f||"gmap_search"==f?"map":"video"})):p&&(a.type=a.opts.defaultType)});var o={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,n=this;if(this[t].loaded)return void setTimeout(function(){n.done(t)});this[t].loading||(this[t].loading=!0,e=document.createElement("script"),e.type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){n[t].loaded=!0,n.done(t)}:e.onload=function(){n[t].loaded=!0,n.done(t)},document.body.appendChild(e))},done:function(e){var n,o,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(n=t.fancybox.getInstance())&&(o=n.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?i=new YT.Player(o.attr("id"),{events:{onStateChange:function(t){0==t.data&&n.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&(i=new Vimeo.Player(o),i.on("ended",function(){n.next()})))}};t(document).on({"afterShow.fb":function(t,e,n){e.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&o.load(n.contentSource)}})}(jQuery),function(t,e,n){"use strict";var o=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),i=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),a=function(e){var n=[];e=e.originalEvent||e||t.e,e=e.touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var o in e)e[o].pageX?n.push({x:e[o].pageX,y:e[o].pageY}):e[o].clientX&&n.push({x:e[o].clientX,y:e[o].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,o=t[0].attributes,i=o.length;e<i;e++)if("data-fancybox-"===o[e].nodeName.substr(0,14))return!0;return!1},c=function(e){var n=t.getComputedStyle(e)["overflow-y"],o=t.getComputedStyle(e)["overflow-x"],i=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,a=("scroll"===o||"auto"===o)&&e.scrollWidth>e.clientWidth;return i||a},l=function(t){for(var e=!1;;){if(e=c(t.get(0)))break;if(t=t.parent(),!t.length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},d=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};d.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),n(e).off(".fb.touch"),t.requestId&&(i(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},d.prototype.ontouchstart=function(o){var i=this,c=n(o.target),d=i.instance,u=d.current,f=u.$slide,p=u.$content,h="touchstart"==o.type;if(h&&i.$container.off("mousedown.fb.touch"),(!o.originalEvent||2!=o.originalEvent.button)&&f.length&&c.length&&!r(c)&&!r(c.parent())&&(c.is("img")||!(o.originalEvent.clientX>c[0].clientWidth+c.offset().left))){if(!u||d.isAnimating||u.$slide.hasClass("fancybox-animated"))return o.stopPropagation(),void o.preventDefault();i.realPoints=i.startPoints=a(o),i.startPoints.length&&(u.touch&&o.stopPropagation(),i.startEvent=o,i.canTap=!0,i.$target=c,i.$content=p,i.opts=u.opts.touch,i.isPanning=!1,i.isSwiping=!1,i.isZooming=!1,i.isScrolling=!1,i.canPan=d.canPan(),i.startTime=(new Date).getTime(),i.distanceX=i.distanceY=i.distance=0,i.canvasWidth=Math.round(f[0].clientWidth),i.canvasHeight=Math.round(f[0].clientHeight),i.contentLastPos=null,i.contentStartPos=n.fancybox.getTranslate(i.$content)||{top:0,left:0},i.sliderStartPos=n.fancybox.getTranslate(f),i.stagePos=n.fancybox.getTranslate(d.$refs.stage),i.sliderStartPos.top-=i.stagePos.top,i.sliderStartPos.left-=i.stagePos.left,i.contentStartPos.top-=i.stagePos.top,i.contentStartPos.left-=i.stagePos.left,n(e).off(".fb.touch").on(h?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(i,"ontouchend")).on(h?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(i,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",i.onscroll,!0),((i.opts||i.canPan)&&(c.is(i.$stage)||i.$stage.find(c).length)||(c.is(".fancybox-image")&&o.preventDefault(),n.fancybox.isMobile&&c.parents(".fancybox-caption").length))&&(i.isScrollable=l(c)||l(c.parent()),n.fancybox.isMobile&&i.isScrollable||o.preventDefault(),(1===i.startPoints.length||u.hasError)&&(i.canPan?(n.fancybox.stop(i.$content),i.isPanning=!0):i.isSwiping=!0,i.$container.addClass("fancybox-is-grabbing")),2===i.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(i.canTap=!1,i.isSwiping=!1,i.isPanning=!1,i.isZooming=!0,n.fancybox.stop(i.$content),i.centerPointStartX=.5*(i.startPoints[0].x+i.startPoints[1].x)-n(t).scrollLeft(),i.centerPointStartY=.5*(i.startPoints[0].y+i.startPoints[1].y)-n(t).scrollTop(),i.percentageOfImageAtPinchPointX=(i.centerPointStartX-i.contentStartPos.left)/i.contentStartPos.width,i.percentageOfImageAtPinchPointY=(i.centerPointStartY-i.contentStartPos.top)/i.contentStartPos.height,i.startDistanceBetweenFingers=s(i.startPoints[0],i.startPoints[1]))))}},d.prototype.onscroll=function(t){var n=this;n.isScrolling=!0,e.removeEventListener("scroll",n.onscroll,!0)},d.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=a(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},d.prototype.onSwipe=function(e){var a,s=this,r=s.instance,c=s.isSwiping,l=s.sliderStartPos.left||0;if(!0!==c)"x"==c&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?l+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?l-=Math.pow(-s.distanceX,.8):l+=s.distanceX),s.sliderLastPos={top:"x"==c?0:s.sliderStartPos.top+s.distanceY,left:l},s.requestId&&(i(s.requestId),s.requestId=null),s.requestId=o(function(){s.sliderLastPos&&(n.each(s.instance.slides,function(t,e){var o=e.pos-s.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+o*s.canvasWidth+o*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(s.distance)>10){if(s.canTap=!1,r.group.length<2&&s.opts.vertical?s.isSwiping="y":r.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&n(t).width()>800?s.isSwiping="x":(a=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=a>45&&a<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);r.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(r.slides,function(t,e){var o,i;n.fancybox.stop(e.$slide),o=n.fancybox.getTranslate(e.$slide),i=n.fancybox.getTranslate(r.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===r.current.pos&&(s.sliderStartPos.top=o.top-i.top,s.sliderStartPos.left=o.left-i.left),n.fancybox.setTranslate(e.$slide,{top:o.top-i.top,left:o.left-i.left})}),r.SlideShow&&r.SlideShow.isActive&&r.SlideShow.stop()}},d.prototype.onPan=function(){var t=this;if(s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5))return void(t.startPoints=t.newPoints);t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&i(t.requestId),t.requestId=o(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})},d.prototype.limitMovement=function(){var t,e,n,o,i,a,s=this,r=s.canvasWidth,c=s.canvasHeight,l=s.distanceX,d=s.distanceY,u=s.contentStartPos,f=u.left,p=u.top,h=u.width,g=u.height;return i=h>r?f+l:f,a=p+d,t=Math.max(0,.5*r-.5*h),e=Math.max(0,.5*c-.5*g),n=Math.min(r-h,.5*r-.5*h),o=Math.min(c-g,.5*c-.5*g),l>0&&i>t&&(i=t-1+Math.pow(-t+f+l,.8)||0),l<0&&i<n&&(i=n+1-Math.pow(n-f-l,.8)||0),d>0&&a>e&&(a=e-1+Math.pow(-e+p+d,.8)||0),d<0&&a<o&&(a=o+1-Math.pow(o-p-d,.8)||0),{top:a,left:i}},d.prototype.limitPosition=function(t,e,n,o){var i=this,a=i.canvasWidth,s=i.canvasHeight;return n>a?(t=t>0?0:t,t=t<a-n?a-n:t):t=Math.max(0,a/2-n/2),o>s?(e=e>0?0:e,e=e<s-o?s-o:e):e=Math.max(0,s/2-o/2),{top:e,left:t}},d.prototype.onZoom=function(){var e=this,a=e.contentStartPos,r=a.width,c=a.height,l=a.left,d=a.top,u=s(e.newPoints[0],e.newPoints[1]),f=u/e.startDistanceBetweenFingers,p=Math.floor(r*f),h=Math.floor(c*f),g=(r-p)*e.percentageOfImageAtPinchPointX,b=(c-h)*e.percentageOfImageAtPinchPointY,m=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),y=m-e.centerPointStartX,x=v-e.centerPointStartY,w=l+(g+y),$=d+(b+x),S={top:$,left:w,scaleX:f,scaleY:f};e.canTap=!1,e.newWidth=p,e.newHeight=h,e.contentLastPos=S,e.requestId&&i(e.requestId),e.requestId=o(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},d.prototype.ontouchend=function(t){var o=this,s=o.isSwiping,r=o.isPanning,c=o.isZooming,l=o.isScrolling;if(o.endPoints=a(t),o.dMs=Math.max((new Date).getTime()-o.startTime,1),o.$container.removeClass("fancybox-is-grabbing"),n(e).off(".fb.touch"),e.removeEventListener("scroll",o.onscroll,!0),o.requestId&&(i(o.requestId),o.requestId=null),o.isSwiping=!1,o.isPanning=!1,o.isZooming=!1,o.isScrolling=!1,o.instance.isDragging=!1,o.canTap)return o.onTap(t);o.speed=100,o.velocityX=o.distanceX/o.dMs*.5,o.velocityY=o.distanceY/o.dMs*.5,r?o.endPanning():c?o.endZooming():o.endSwiping(s,l)},d.prototype.endSwiping=function(t,e){var o=this,i=!1,a=o.instance.group.length,s=Math.abs(o.distanceX),r="x"==t&&a>1&&(o.dMs>130&&s>10||s>50);o.sliderLastPos=null,"y"==t&&!e&&Math.abs(o.distanceY)>50?(n.fancybox.animate(o.instance.current.$slide,{top:o.sliderStartPos.top+o.distanceY+150*o.velocityY,opacity:0},200),i=o.instance.close(!0,250)):r&&o.distanceX>0?i=o.instance.previous(300):r&&o.distanceX<0&&(i=o.instance.next(300)),!1!==i||"x"!=t&&"y"!=t||o.instance.centerSlide(200),o.$container.removeClass("fancybox-is-sliding")},d.prototype.endPanning=function(){var t,e,o,i=this;i.contentLastPos&&(!1===i.opts.momentum||i.dMs>350?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,e=i.contentLastPos.top+500*i.velocityY),o=i.limitPosition(t,e,i.contentStartPos.width,i.contentStartPos.height),o.width=i.contentStartPos.width,o.height=i.contentStartPos.height,n.fancybox.animate(i.$content,o,366))},d.prototype.endZooming=function(){var t,e,o,i,a=this,s=a.instance.current,r=a.newWidth,c=a.newHeight;a.contentLastPos&&(t=a.contentLastPos.left,e=a.contentLastPos.top,i={top:e,left:t,width:r,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,i),r<a.canvasWidth&&c<a.canvasHeight?a.instance.scaleToFit(150):r>s.width||c>s.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(o=a.limitPosition(t,e,r,c),n.fancybox.animate(a.$content,o,150)))},d.prototype.onTap=function(e){var o,i=this,s=n(e.target),r=i.instance,c=r.current,l=e&&a(e)||i.startPoints,d=l[0]?l[0].x-n(t).scrollLeft()-i.stagePos.left:0,u=l[0]?l[0].y-n(t).scrollTop()-i.stagePos.top:0,f=function(t){var o=c.opts[t];if(n.isFunction(o)&&(o=o.apply(r,[c,e])),o)switch(o){case"close":r.close(i.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":r.group.length>1?r.next():r.close(i.startEvent);break;case"zoom":"image"==c.type&&(c.isLoaded||c.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(d,u):r.group.length<2&&r.close(i.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(d>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))o="Outside";else if(s.is(".fancybox-slide"))o="Slide";else{if(!r.current.$content||!r.current.$content.find(s).addBack().filter(s).length)return;o="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,Math.abs(d-i.tapX)>50||Math.abs(u-i.tapY)>50)return this;f("dblclick"+o)}else i.tapX=d,i.tapY=u,c.opts["dblclick"+o]&&c.opts["dblclick"+o]!==c.opts["click"+o]?i.tapped=setTimeout(function(){i.tapped=null,r.isAnimating||f("click"+o)},500):f("click"+o);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new d(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,o=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),n.group.length<2||!o?t.$button.hide():o.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(t){var n=this,o=n.instance,i=o.current;i&&(!0===t||i.opts.loop||o.currIndex<o.group.length-1)?n.isActive&&"video"!==i.contentType&&(n.$progress&&e.fancybox.animate(n.$progress.show(),{scaleX:1},i.opts.slideShow.speed),n.timer=setTimeout(function(){o.current.opts.loop||o.current.index!=o.group.length-1?o.next():o.jumpTo(0)},i.opts.slideShow.speed)):(n.stop(),o.idleSecondsCounter=0,o.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,o){var i=e&&e.SlideShow;o?i&&n.opts.slideShow.autoStart&&i.start():i&&i.isActive&&i.clear()},"afterShow.fb":function(t,e,n){var o=e&&e.SlideShow;o&&o.isActive&&o.set()},"afterKeydown.fb":function(n,o,i,a,s){var r=o&&o.SlideShow;!r||!i.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(a.preventDefault(),r.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),o=n&&n.SlideShow;o&&o.isActive&&(t.hidden?o.clear():o.set())})}(document,jQuery),function(t,e){"use strict";var n=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},o=0;o<e.length;o++){var i=e[o];if(i&&i[1]in t){for(var a=0;a<i.length;a++)n[e[0][a]]=i[a];return n}}return!1}();if(n){var o={request:function(e){e=e||t.documentElement,e[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on(n.fullscreenchange,function(){var t=o.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})}e(t).on({"onInit.fb":function(t,e){var i;if(!n)return void e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove();e&&e.group[e.currIndex].opts.fullScreen?(i=e.$refs.container,i.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),o.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&o.request(),e.FullScreen=o):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(t,e,n,o,i){e&&e.FullScreen&&70===i&&(o.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&o.exit()}})}(document,jQuery),function(t,e){"use strict";var n="fancybox-thumbs";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var o=function(t){this.init(t)};e.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,o=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var i=0,a=n.length;i<a&&(n[i].thumb&&o++,!(o>1));i++);o>1&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var t,o=this,i=o.instance,a=o.opts.parentEl,s=[];o.$grid||(o.$grid=e('<div class="'+n+" "+n+"-"+o.opts.axis+'"></div>').appendTo(i.$refs.container.find(a).addBack().filter(a)),o.$grid.on("click","a",function(){i.jumpTo(e(this).attr("data-index"))})),o.$list||(o.$list=e('<div class="'+n+'__list">').appendTo(o.$grid)),e.each(i.group,function(e,n){t=n.thumb,t||"image"!==n.type||(t=n.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")}),o.$list[0].innerHTML=s.join(""),"x"===o.opts.axis&&o.$list.width(parseInt(o.$grid.css("padding-right"),10)+i.group.length*o.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,o=this,i=o.$list,a=o.$grid;o.instance.current&&(e=i.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+o.instance.current.index+'"]').addClass("fancybox-thumbs-active"),n=e.position(),"y"===o.opts.axis&&(n.top<0||n.top>i.height()-e.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},t):"x"===o.opts.axis&&(n.left<a.scrollLeft()||n.left>a.scrollLeft()+(a.width()-e.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new o(e),n.isActive&&!0===n.opts.autoStart&&n.show())},"beforeShow.fb":function(t,e,n,o){var i=e&&e.Thumbs;i&&i.isVisible&&i.focus(o?0:250)},"afterKeydown.fb":function(t,e,n,o,i){var a=e&&e.Thumbs;a&&a.isActive&&71===i&&(o.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(t,e){"use strict";function n(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})}e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},
vendor: 2,328 bytes, line 260
260tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",function(){var t,o,i=e.fancybox.getInstance(),a=i.current||null;a&&("function"===e.type(a.opts.share.url)&&(t=a.opts.share.url.apply(a,[i,a])),o=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,n(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),e.fancybox.open({src:i.translate(i,o),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}
260,mobile:{autoFocus:!1}}}))})}(document,jQuery),function(t,e,n){"use strict";function o(){var e=t.location.hash.substr(1),n=e.split("-"),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return{hash:e,index:o<1?1:o,gallery:i}}function i(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){var e,n;return!!t&&(e=t.current?t.current.opts:t.opts,""!==(n=e.hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,i;!1!==e.group[e.currIndex].opts.hash&&(n=o(),(i=a(e))&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,o,i,s){var r;i&&!1!==i.opts.hash&&(r=a(o))&&(o.currentHash=r+(o.group.length>1?"-"+(i.index+1):""),t.location.hash!=="#"+o.currentHash&&(s&&!o.origHash&&(o.origHash=t.location.hash),o.hashTimer&&clearTimeout(o.hashTimer),o.hashTimer=setTimeout(function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+o.currentHash),s&&(o.hasCreatedHistory=!0)):t.location.hash=o.currentHash,o.hashTimer=null},300)))},"beforeClose.fb":function(n,o,i){i&&!1!==i.opts.hash&&(clearTimeout(o.hashTimer),o.currentHash&&o.hasCreatedHistory?t.history.back():o.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(o.origHash||"")):t.location.hash=o.origHash),o.currentHash=null)}}),n(t).on("hashchange.fb",function(){var t=o(),e=null;n.each(n(".fancybox-container").get().reverse(),function(t,o){var i=n(o).data("FancyBox");if(i&&i.currentHash)return e=i,!1}),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&i(t)}),setTimeout(function(){n.fancybox.getInstance()||i(o())},50))})}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,o){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var o=e.current,i=(new Date).getTime();e.group.length<2||!1===o.opts.wheel||"auto"===o.opts.wheel&&"image"!==o.type||(t.preventDefault(),t.stopPropagation(),o.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-n<250||(n=i,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery) 261;(function($){$.fn.initGalleryFancybox=function(){$('a.fancy-gallery',this).fancybox({backFocus:!1,caption:function(instance,item){var slideInfo=$('.slide-info',this);if($('> *',slideInfo).length){return slideInfo.clone().html()}},onInit:function(instance){instance.$refs.caption.addClass('fancybox-title');instance.$refs.caption.parent().addClass('slideinfo')}})};$.fn.initPortfolioFancybox=function(){$('[data-fancybox="thegem-portfolio"]',this).fancybox()};$.fn.initBlogFancybox=function(){$('a.fancy, .fancy-link-inner a',this).fancybox();$('.blog article a.youtube, .blog article a.vimeo',this).fancybox({type:'iframe'})};$.fn.initProductFancybox=function(){let isTouch=window.gemSettings.isTouch;$('a.fancy-product-gallery',this).fancybox({arrows:isTouch?!1:!0,infobar:!0,clickOutside:'close',buttons:['zoom','fullScreen','thumbs','close',],touch:{vertical:!1,momentum:!1},loop:!0,animationDuration:300,backFocus:!1,mobile:{fullScreen:!1,arrows:!1,animationEffect:'fade',buttons:['zoom','fullScreen','close',],clickContent:function(current,event){return current.type==="image"?"zoom":!1},clickSlide:function(current,event){return"close"},},})};$(document).initGalleryFancybox();$(document).initPortfolioFancybox();$(document).initBlogFancybox();$(document).initProductFancybox();$('a.fancy, .fancy-link-inner a').fancybox()})(jQuery) 262;(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
262),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>m,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>d,maxdate:()=>z,maxfilesize:()=>j,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>y,mindate:()=>A,minfilesize:()=>$,minitems:()=>w,minlength:()=>g,minnumber:()=>b,number:()=>c,required:()=>n,requiredfile:()=>a,stepnumber:()=>I,tel:()=>l,time:()=>f,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(t.length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));if(!e.every((t=>{try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}})))throw new o(this)},l=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>(((t=(t=t.replace(/[#*].*$/,"")).replaceAll(/[()/.*#\s-]+/g,"")).startsWith("+")||t.startsWith("00"))&&(t=`+${t.replace(/^[+0]+/,"")}`),!!/^[+]?[0-9]+$/.test(t)&&5<t.length&&t.length<16))))throw new o(this)},c=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t))))throw new o(this)},m=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{if(!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},f=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=t.match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>this.accept?.some((e=>
262t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).length<parseInt(this.threshold))throw new o(this)},v=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));if(parseInt(this.threshold)<e.length)throw new o(this)},g=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&i<parseInt(this.threshold))throw new o(this)},x=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t));let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)<i)throw new o(this)},b=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(t)<parseFloat(this.threshold)))))throw new o(this)},y=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(parseFloat(this.threshold)<parseFloat(t)))))throw new o(this)},A=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold))))throw new o(this)},z=function(t){if(!t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)).every((t=>!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t))))throw new o(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),i<parseInt(this.threshold))throw new o(this)},j=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)<i)throw new o(this)},I=function(t){const e=t.getAll(this.field).map((t=>t.trim())).filter((t=>""!==t)),i=parseFloat(this.base),s=parseFloat(this.interval);if(!(0<s))return!0;if(!e.every((t=>{const e=(parseFloat(t)-i)%s;return"0.000000"===Math.abs(e).toFixed(6)||"0.000000"===Math.abs(e-s).toFixed(6)})))throw new o(this)},O=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},E=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},k=[],F=t=>[...k].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>O({ruleObj:t,options:e}))),s=F(E);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var L;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>O({ruleObj:t,options:i})));if(!n.length)return new Map;const a=F(E),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{k.push(t)},...null!==(L=window.swv)&&void 0!==L?L:{}}})() 263;(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,
263status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return c.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:c,path:o,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),o=r?n+"/"+r:n),"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),c=t+o),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||o||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},c=[];function o(e,t={}){const{target:a,scope:r=e,...c}=t;if(void 0===e.wpcf7?.schema)return;const o={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>
263(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(o,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const c=t.dataset.name;if(n.has(c)){const{error:t,validInputs:a}=n.get(c);i(e,c),void 0!==t&&s(e,c,t,{scope:r}),l(e,c,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{c.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...c}=null!=n?n:{},o=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",o),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",o),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const c=new FormData(e);t.submitter&&t.submitter.name&&c.append(t.submitter.name,t.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:c};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((t=>{const r=n(e,t.status);return o.status=t.status,o.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,o):["sent","failed"].includes(r)&&a(e,`mail${r}`,o),a(e,"submit",o),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>
263{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),c.apiResponse=t,a(e,"reset",c)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),c=t(e.getAttribute("data-minimum-value")),o=e.classList.contains("down")?n-a.value.trim().length:a.value.trim().length;e.setAttribute("data-current-value",o),e.innerText=o,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),c&&a.value.length<c?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),c=e.querySelector(`[name="${r}"]`);c&&(c.value=c.defaultValue,a(n,c),t.init&&c.addEventListener("keyup",(e=>{a(n,c)}
263)))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:o,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7[data-wpcf7-id]").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})() 264;window.addEventListener("DOMContentLoaded",function(){const docs=document.querySelectorAll(".eov_doc");Object.values(docs).map((doc)=>{loadFrameIfNotLoaded(doc)});function loadFrameIfNotLoaded(doc){if(!doc)return!1;const iframe=doc.querySelector("iframe");if(iframe&&!iframe.contentWindow.length){const source=iframe.src;iframe.src=source;setTimeout(()=>{loadFrameIfNotLoaded(doc)},1500)}} 265loadFrameIfNotLoaded()}) 266;/*! This file is auto-generated */ 267/*! 268 * imagesLoaded PACKAGED v5.0.0 269 * JavaScript is all like "You images are done yet or what?" 270 * MIT License 271 */ 272!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})), 273/*! 274 * imagesLoaded v5.0.0 275 * JavaScript is all like "You images are done yet or what?" 276 * MIT License 277 */ 278function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;
278function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n})) 279;!function(jQuery){jQuery.fn.supercarousel=function(customOptions){var $this=this,$$=jQuery(this),$wrap,navlockid=null,autoplayid=null,locknav=!1,oldWindowWidth,superWrapXPos,superWrapYPos,ishidden=0,swipeid=!1,perPage=0,totalPages=1,currentPage=0,sucar=jQuery.fn.supercarousel,df=sucar.defaults,slides=[],currentSlide=0,totalSlides=0,sliderWidth=0,cssObj={},cssImgObj={},options,resetOptions=function(){if(options=jQuery.extend({},df,customOptions),$wrap){if(options.slideGap=parseInt(options.slideGap),$wrap.width()>=options.desktopMinWidth?"visible"==options.respDesktop?(options.visible=options.desktopVisible,options.visibleHeight=options.desktopVisibleHeight):"fixwidth"==options.respDesktop?(options.itemWidth=options.desktopWidth,options.itemWidthHeight=options.desktopWidthHeight):"fixheight"==options.respDesktop&&(options.itemHeight=options.desktopHeight):$wrap.width()>=options.laptopMinWidth?"visible"==options.respLaptop?(options.visible=options.laptopVisible,options.visibleHeight=options.laptopVisibleHeight):"fixwidth"==options.respLaptop?(options.itemWidth=options.laptopWidth,options.itemWidthHeight=options.laptopWidthHeight):"fixheight"==options.respLaptop&&(options.itemHeight=options.laptopHeight):$wrap.width()>=options.tabletMinWidth?"visible"==options.respTablet?(options.visible=options.tabletVisible,options.visibleHeight=options.tabletVisibleHeight):"fixwidth"==options.respTablet?(options.itemWidth=options.tabletWidth,options.itemWidthHeight=options.tabletWidthHeight):"fixheight"==options.respTablet&&(options.itemHeight=options.tabletHeight):$wrap.width()<options.tabletMinWidth&&("visible"==options.respMobile?(options.visible=options.mobileVisible,options.visibleHeight=options.mobileVisibleHeight):"fixwidth"==options.respMobile?(options.itemWidth=options.mobileWidth,options.itemWidthHeight=options.mobileWidthHeight):"fixheight"==options.respMobile&&(options.itemHeight=options.mobileHeight)),0<options.customrespby.length)for(var e=0;e<options.customrespby.length;e++)if(""!=options.customrespmin[e]&&""!=options.customrespmax[e]&&!isNaN(options.customrespmin[e])&&!isNaN(options.customrespmax[e])&&$wrap.width()>Number(options.customrespmin[e])&&$wrap.width()<Number(options.customrespmax[e])){"visible"!=options.customrespby[e]||isNaN(options.customrespvisible[e])?"fixwidth"!=options.customrespby[e]||isNaN(options.customrespwidth[e])?"fixheight"!=options.customrespby[e]||isNaN(options.customrespheight[e])||(options.itemHeight=Number(options.customrespheight[e])):(options.itemWidth=Number(options.customrespwidth[e]),options.itemWidthHeight=options.customrespwidthheight[e]||"100%"):(options.visible=Number(options.customrespvisible[e]),options.visibleHeight=options.customrespvisibleheight[e]||"100%");break}$$.find(">div img.super_image").length&&(options.type="image")}},createSuperCarousel=function(){var e;$$.wrap('<div class="supercarousel_wrapper"></div>').css({display:"block",visibility:"visible"}),($wrap=$$.parent())&&(e=$$.html(),$$.prepend(e),$$.append(e),removeUnwantedTags(),totalSlides=$$.children().length/3,resetOptions(),checkLightBox(),disableLinks(),options.onload($$),$wrap.height(800),checkNavigation(),resetSlides(),setTimeout(function(){resetSlides()},500))},removeUnwantedTags=function(){$$.find(">").not("div").remove()},setLockNavTimeout=function(){null!=navlockid&&clearTimeout(navlockid),maybeDisableAutoScrollCSS(),locknav=!0},clearLockNavTimeout=function(){clearTimeout(navlockid),maybeEnableAutoScrollCSS(),navlockid=setTimeout(function(){clearInterval(autoplayid),locknav=!1,checkAutoPlay()},100)},disableLinks=function(){if(options.onslideclick&&""!=options.onslideclick)return $$.f
279ind(">div a").click(function(e){e.preventDefault()}),void $$.find(">div").click(function(event){event.preventDefault(),eval(options.onslideclick+"(this);")});$$.find(">div a").click(function(e){jQuery(e.target).hasClass("superswipe")&&e.preventDefault()})},checkLightBox=function(){$wrap&&(options.onslideclick&&""!=options.onslideclick||(getRandomInt(1e5,999999),$$.find(">div").length,$$.find(">div a.superlight").superLightBox({mediaCaption:"data-caption"})))},getRandomInt=function(e,t){return Math.floor(Math.random()*(t-e))+e},resetSlides=function(){$wrap&&(resetOptions(),checkParams(),resetStyleObj(),resetSlidePositions(),calculateTotalPages(),resetPagination(),resetWrapHeight(),gotoPage(currentPage),$$.stop(!0,!0))},checkNavigation=function(){1==options.nextPrev&&($wrap.parent().find(".supernext").click(function(e){e.preventDefault(),(currentPage<totalPages-1||options.circular)&&gotoPage(currentPage+1)}).css({display:"block"}),$wrap.parent().find(".superprev").click(function(e){e.preventDefault(),(0<currentPage||options.circular)&&gotoPage(currentPage-1)}).css({display:"block"}),options.arrowsOut&&$wrap.parent().addClass("supercarousel_arrowsout")),options.swipe&&$this.registerSwipe(),options.keys&&jQuery("body").keyup(function(e){49==e.keyCode?gotoPage(0):50==e.keyCode?gotoPage(1):51==e.keyCode?gotoPage(2):52==e.keyCode?gotoPage(3):53==e.keyCode?gotoPage(4):54==e.keyCode?gotoPage(5):55==e.keyCode?gotoPage(6):56==e.keyCode?gotoPage(7):57==e.keyCode?gotoPage(8):58==e.keyCode?gotoPage(9):37==e.keyCode?gotoPage(currentPage-1):39==e.keyCode?gotoPage(currentPage+1):38==e.keyCode?gotoPage(currentPage-1):40==e.keyCode&&gotoPage(currentPage+1)}),options.mouseWheel&&$wrap.bind("mousewheel",function(e,t){$wrap.ismouseover()&&(gotoPage(0<t?currentPage-1:currentPage+1),e.preventDefault())})},getPageByDistance=function(e){var t=currentPage,i=-calculateNewLeft(t)-e;if(0<e){for(;-calculateNewLeft(t)>i&&(!(totalPages<=t)||options.circular);)t++;if(totalPages<=t&&!options.circular)return totalPages-1}else{for(;-calculateNewLeft(t)<i&&(!(t<=0)||options.circular);)t--;if(t<=0&&!options.circular)return 0}return t},superCarouselSwipe=function(e,t){var i=jQuery.extend({},{swipe:function(e){},swipeLeft:function(e){},swipeRight:function(e){},swipeUp:function(e){},swipeDown:function(e){},swipeStart:function(e){},swipeEnd:function(e,t){}},t),o=new Object;o.sX=0,o.sY=0,o.eX=0,o.eY=0;var s="";e.on("touchstart",function(e){e=e.originalEvent.touches[0];o.sX=e.screenX,o.sY=e.screenY,i.swipeStart(o)}),e.on("touchmove",function(e){e=e.originalEvent.touches[0];o.eX=e.screenX,o.eY=e.screenY,i.swipe(o)}),e.on("touchend",function(e){jQuery(window).width(),jQuery(window).height();""!=(s=o.eX>o.sX?"r":"l")&&("l"==s?i.swipeLeft(o):"r"==s?i.swipeRight(o):"u"==s?i.swipeUp(o):"d"==s&&i.swipeDown(o)),i.swipeEnd(o,s),s=""})};$this.registerSwipe=function(){options.swipe&&superCarouselSwipe($wrap,{swipeStart:function(e){superWrapXPos=$$.position().left,superWrapYPos=jQuery(window).scrollTop(),maybeDisableAutoScrollCSS()},swipe:function(e){var t=-sliderWidth,i=-2*sliderWidth+$wrap.width(),o=e.eX-e.sX+superWrapXPos;e.sY,e.eY;t<o&&!options.circular?o=t:o<i&&!options.circular&&(o=i),$$.stop(!0,!0).css({left:o})},swipeEnd:function(e,t){var i,e=Math.abs(e.eX-e.sX);.2*$wrap.width()<e?"r"==t?(i=getPageByDistance(-e),0<currentPage||options.circular?gotoPage(i):gotoPage(currentPage)):"l"==t&&(i=getPageByDistance(e),currentPage<totalPages-1||options.circular?gotoPage(i):gotoPage(currentPage)):$$.animate({left:-calculateNewLeft(currentPage)},{complete:function(){maybeEnableAutoScrollCSS()}})}})};var removeSuperSwipeClass=function(e){swipeid=setTimeout(function(){jQuery(e.target).removeClass("superswipe")},500)},checkAutoScroll=function(){$wrap&&("1"==options.autoscroll?autoScrollJS():"2"==options.autoscroll&&autoScrollCSS())},autoScrollJS=function(){options.effect="slide","up"!=options.direction&&"down"!=options.direction||(options.direction="left");var e,t=calculateNewLeft(0),i=!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),o=-1!=navigator.appVersion.indexOf("Win"),o=i&&o?4:1,o="left"==options.direction?(e=-2*t,"-="+options.scrollspeed*o+"px"):(e=-t,t*=2,$$.css({left:-t}),"+="+options.scrollspeed*o+"px");checkSuperTimeout(t,o,e)},autoScrollCSS=function(){options.effect="slide","up"!=options.direction&&"down"!=options.direction||(options.direction="left");calculateNewLeft(0);var e=3*sliderWidth;options.scrollspeed<=0&&(options.scrollspeed=1);var t,i,o=e/options.scrollspeed;$$.addClass("supercarousel_autoscroll"),options.pauseOver&&$$.addClass("supercarousel_pauseover"),"right"==options.direction&&(t=-e/3,i=-.66667*e,$$.get(0).style.setProperty("--supercarousel_x1",i+"px"),$$.get(0).style.setProperty("--supercarousel_x2",t+"px")),$$.get(0).style.setProperty("--supercarousel_width",-e+"px"),$$.get(0).style.setProperty("--supercarousel_duration",o+"s")},maybeDisableAutoScrollCSS=function(){var e;$wrap&&"2"==options.autoscroll&&(e=window.getComputedStyle($$[0]).getPropertyValue("left"),$$.removeClass("supercarousel_autoscroll"),$$.css("left",e))},maybeEnableAutoScrollCSS=function(){var e;$wrap&&"2"==options.autoscroll&&(e=calculateAnimationDelay(),$$.get(0).style.setProperty("--supercarousel_delay",e+"s"),$$.addClass("supercarousel_autoscroll"))},calculateAnimationDelay=function(){options.scrollspeed<=0&&(options.scrollspeed=1);calculateNewLeft(0);var e=3*sliderWidth,t=-e/3,i=-.66667*e;"right"==options.direction&&(t=-.66667*e,i=-e/3);e/=options.scrollspeed;return-($$.position().left-t)/(i-t)*e},checkSuperTimeout=function(e,t,i){setTimeout(function(){locknav||options.pauseOver&&$wrap.ismouseover()||($$.css({left:t}),Math.abs(i)-Math.abs(e)<$wrap.width()&&(e=calculateNewLeft(0),"left"==options.direction?i=-2*e:(i=-e,e*=2)),"left"==options.direction?$$.position().left<i&&$$.css({left:-e}):$$.position().left>i&&$$.css({left:-e})),checkSuperTimeout(e,t,i)},options.scrollinterval)},checkAutoPlay=function(){$wrap&&options.auto&&!options.autoscroll&&(autoplayid=setInterval(function(){locknav||options.pauseOver&&$wrap.ismouseover()||autoPlay()},options.pauseTime))},autoPlay=function(){"left"==options.direction||"down"==options.direction?gotoPage(currentPage+1):"right"!=options.direction&&"up"!=options.direction||gotoPage(currentPage-1)},resetPagination=function(){if(options.paging)for($wrap.parent().find(".super_pagination").html(""),m=0;m<totalPages;m++){var e=jQuery('<a href="#"><span>'+(m+1)+"</span></a>").click(function(e){e.preventDefault(),gotoPage(jQuery(this).index())});$wrap.parent().find(".super_pagination").append(e)}},gotoPage=function(e){locknav||(totalPages<=e&&!options.circular?gotoPage(0):e<0&&!options.circular?gotoPage(totalPages-1):(console.log(options.prev),options.onchange($$,currentPage,totalPages),e!=totalPages-1||options.circular||""==options.next?""!=options.next&&jQuery(options.next).hasClass("disabled")&&jQuery(options.next).removeClass("disabled"):jQuery(options.next).addClass("disabled"),0!=e||options.circular||""==options.prev?""!=options.prev&&jQuery(options.prev).hasClass("disabled")&&jQuery(options.prev).removeClass("disabled"):jQuery(options.prev).addClass("disabled"),currentPage=e,adjustCurrentLeft(),"slide"==options.effect?"left"==options.direction||"right"==options.direction?slideHorizontal():"up"!=options.direction&&"down"!=options.direction||slideVertical():"focus"==options.effect?slideFocusHorizontal():"fade"==options.effect&&slideFadeIn(),options.paging&&0<$wrap.parent().find(".super_pagination").find(">a:eq("+currentPage+")").length&&($wrap.parent().find(".super_pagination").find(">a").removeClass("super_selected"),$wrap.parent().find(".super_pagination").find(">a:eq("+currentPage+")").addClass("super_selected"))))},adjustCurrentLeft=function(){var e=-1*calculateNewLeft(currentPage),t=$$.position().left,i=xDistance(e,t),o=x
279Distance(e,t+sliderWidth),e=xDistance(e,t-sliderWidth),i=Math.min(i,o,e);i==o?$$.css("left",t+sliderWidth+"px"):i==e&&$$.css("left",t-sliderWidth+"px")},xDistance=function(e,t){return Math.sqrt(Math.pow(e-t,2))},calculateNewLeft=function(e){var t,i;return $wrap?(0<options.step?((t=e*options.step+totalSlides)<0?t=0:t>$$.find(">div").length-1&&(t=totalSlides),t=$$.find(">div:eq("+t+")").position().left):(t=e*$wrap.outerWidth(!1),t+=sliderWidth),options.circular?(i=-2*sliderWidth,e=-1*sliderWidth+$wrap.outerWidth(!1),-t<=i&&0<currentPage?t=-i:e<=-t&¤tPage<0&&(currentPage=totalPages-2,t+=+sliderWidth)):-t<(i=-2*sliderWidth+$wrap.outerWidth(!1))&&(t=-i),t):0},slideFadeIn=function(){var e=calculateNewLeft(currentPage);setLockNavTimeout();var t=$$.clone().css({position:"absolute",display:"none",zIndex:0,left:-e,top:$$.position().top}).appendTo($wrap);t.fadeIn(options.easingTime,options.easing,function(){$$.css({left:-e}),t.remove(),pageAnimationCompleted()})},slideVertical=function(){var e,t=calculateNewLeft(currentPage);setLockNavTimeout(),"up"==options.direction?e=-t<$$.position().left?1:-1:"down"==options.direction&&(e=-t<$$.position().left?-1:1);var i=$$.clone().css({position:"absolute",zIndex:0,left:-t,top:$$.position().top+$wrap.outerHeight(!0)*e}).appendTo($wrap);i.stop(!0,!0).animate({top:$$.position().top},options.easingTime,options.easing,function(){$$.css({left:-t}),i.remove(),pageAnimationCompleted()})},slideFocusHorizontal=function(){var e=calculateNewLeft(currentPage),t=currentPage*options.step+totalSlides;$$.find(">div").removeClass("focus"),$$.find(">div:eq("+t+")").addClass("focus"),$$.find(">div:eq("+(t+totalSlides)+")").addClass("focus"),$$.find(">div:eq("+(t-totalSlides)+")").addClass("focus"),e+=$$.find(">div:eq("+t+")").width()/2-$wrap.width()/2,setLockNavTimeout(),$$.stop(!0,!0).animate({left:-e},options.easingTime,options.easing,pageAnimationCompleted),resetWrapHeight()},slideHorizontal=function(){var e=calculateNewLeft(currentPage);setLockNavTimeout(),$$.stop(!0,!0).animate({left:-e},options.easingTime,options.easing,pageAnimationCompleted),resetWrapHeight()},pageAnimationCompleted=function(){clearLockNavTimeout();var e=-2*sliderWidth,t=-1*sliderWidth+$wrap.outerWidth(!1);0<t&&(t=0);var i=calculateNewLeft(currentPage);-i<=e&&0<currentPage?(currentPage=0,i-=sliderWidth,$$.css({left:-i})):t<=-i&¤tPage<0&&(currentPage=totalPages-2,i+=2*sliderWidth,$$.css({left:-i}))},checkParams=function(){options.step>totalSlides&&(options.step=totalSlides),options.visible&&(options.step>options.visible||0==options.step)&&(options.step=options.visible)},resetStyleObj=function(){var e,t;$$.removeClass("superfixheight"),$$.removeClass("superfitimage"),options.visible?(e=getVisibleSlideWidth(),t=parseImageHeightByWidth(e,options.visibleHeight),cssObj={width:e,height:"auto"},cssImgObj={width:"100%",height:t},"auto"!=t&&$$.addClass("superfitimage")):""!=options.itemWidth?(t=parseImageHeightByWidth(options.itemWidth,options.itemWidthHeight),cssObj={width:options.itemWidth,height:"auto"},cssImgObj={width:"100%",height:t},"auto"!=t&&$$.addClass("superfitimage")):""!=options.itemHeight&&(cssObj={width:"auto",height:"auto"},cssImgObj={width:"auto",height:options.itemHeight},$$.addClass("superfixheight")),$$.find(">div").css(cssObj),checkImageCarousel()},parseImageHeightByWidth=function(e,t){return"auto"==t.toLowerCase()?"auto":"%"==t.slice(-1)?e*Number(t.slice(0,-1))/100:t},calculateTotalPages=function(){var e=$$.find(">div:last");if(sliderWidth=(e.position().left+e.outerWidth(!1))/3,!$wrap)return 0;if(0<options.step)if(options.visible&&1==options.visible)totalPages=totalSlides;else if(options.visible&&1<options.visible)(totalPages=(totalSlides-(options.visible-options.step))/options.step)<1&&(totalPages=1);else for(var t=-(totalPages=1)*calculateNewLeft(totalPages-1),i=-2*sliderWidth+$wrap.outerWidth(!1);i<t;)t=-1*calculateNewLeft(++totalPages-1);else totalPages=Math.ceil(sliderWidth/$wrap.outerWidth(!1))},resetSlidePositions=function(){$$.find(">div").each(function(){$ele=jQuery(this),""!=options.itemHeight&&"image"==options.type&&$ele.width($ele.find(".super_image").width()),0<$ele.prev().length?$ele.css({left:$ele.prev().position().left+$ele.prev().outerWidth(!1)+options.slideGap}):$ele.css({left:0})})},resetWrapHeight=function(){if(options.autoHeight&&0<options.step){var e,t=currentPage*options.step+totalSlides;return e=options.visible?$$.find(">div").slice(t,t+options.visible).superMaxHeightElement().outerHeight(!0):options.itemWidth?(e=Math.ceil($wrap.width()/options.itemWidth),$$.find(">div").slice(t,t+e).superMaxHeightElement().outerHeight(!0)):$$.find(">div:eq("+t+")").outerHeight(!0),void $wrap.stop(!0,!0).animate({height:e+1},700,"swing",function(){})}var i=0;for(k=totalSlides;k<2*totalSlides;k++)(t=$$.children(":eq("+k+")")).outerHeight(!0)>i&&(i=t.outerHeight(!0));$wrap&&$wrap.height(i+1)},checkImageCarousel=function(){"image"==options.type&&$$.find("img").css(cssImgObj)},getVisibleSlides=function(){return options.visible||(""!=options.itemWidth?Math.ceil($wrap.width()/options.itemWidth):0)},getVisibleSlideWidth=function(){return $wrap?Math.ceil(($wrap.width()-(options.visible-1)*options.slideGap)/options.visible):0},delayReset=function(){setTimeout(function(){resetSlides()},500)}
279,registerHiddenCarousel=function(){setInterval(function(){$wrap.parent().is(":visible")?1==ishidden&&(delayReset(),ishidden=0):ishidden=1},500)},isIE=function(e,t){var i=jQuery('<div style="display:none;"/>').appendTo(jQuery("body"));i.html("\x3c!--[if "+(t||"")+" IE "+(e||"")+"]><a> </a><![endif]--\x3e");e=i.find("a").length;return i.remove(),e},checkIsHidden=function(){options.superhidden&®isterHiddenCarousel()},oldWindowWidth=jQuery(window).width();if(jQuery(window).on("resize",function(){jQuery(window).width()!=oldWindowWidth&&(resetSlides(),oldWindowWidth=jQuery(window).width())}),$$.find("img").length)try{$$.imagesLoaded(function(){createSuperCarousel(),checkAutoPlay(),checkAutoScroll(),checkIsHidden()})}catch(error){console.log("An error occurred: "+error),createSuperCarousel(),checkAutoPlay(),checkAutoScroll(),checkIsHidden()}else createSuperCarousel(),checkAutoPlay(),checkAutoScroll(),checkIsHidden();return $this};var opts=jQuery.fn.supercarousel;opts.defaults={source:"Image",visibleHeight:"auto",itemWidth:"",itemWidthHeight:"auto",itemHeight:"",desktopMinWidth:1200,laptopMinWidth:992,tabletMinWidth:450,mobileMinWidth:0,direction:"left",effect:"slide",respDesktop:"visible",desktopVisible:"5",desktopVisibleHeight:"auto",desktopWidth:"400",desktopWidthHeight:"auto",desktopHeight:"400",respLaptop:"visible",laptopVisible:"3",laptopVisibleHeight:"auto",laptopWidth:"300",laptopWidthHeight:"auto",laptopHeight:"300",respTablet:"visible",tabletVisible:"2",tabletVisibleHeight:"auto",tabletWidth:"200",tabletWidthHeight:"auto",tabletHeight:"200",respMobile:"visible",mobileVisible:"1",mobileVisibleHeight:"auto",mobileWidth:"200",mobileWidthHeight:"auto",mobileHeight:"200",customrespmin:[],customrespmax:[],customrespby:[],customrespvisible:[],customrespwidth:[],customrespheight:[],arrowsOut:!1,slideGap:5,step:1,type:"content",auto:!1,autoscroll:!1,scrollspeed:1,scrollinterval:10,autoHeight:!1,easing:"swing",easingTime:700,pauseTime:1e3,pauseOver:!0,next:".supernext",prev:".superprev",paging:!1,circular:!1,mouseWheel:!1,swipe:!1,keys:!1,superhidden:!1,carouselid:0,onchange:function(e,t,i){},onload:function(e){}}}(jQuery),jQuery.fn.superMaxHeightElement=function(){var t=null,i=0;return this.each(function(){var e=jQuery(this).height();i<e&&(i=e,t=jQuery(this))}),t},jQuery(window).on("load",function(){jQuery(".supercrsl").each(function(){var e=jQuery.parseJSON(atob(jQuery(this).data("carouseloptions")));if(e){var t,i=["desktopVisible","desktopWidth","desktopHeight","laptopVisible","laptopWidth","laptopHeight","tabletVisible","tabletWidth","tabletHeight","mobileVisible","mobileWidth","mobileHeight","autoscroll","easingTime","step","pauseTime","scrollspeed","slideGap"],o=["auto","pauseOver","autoHeight","nextPrev","arrowsOut","circular","mouseWheel","swipe","keys","superhidden","paging"];for(t in i)e[i[t]]=parseInt(e[i[t]]);for(t in o)e[o[t]]=1==parseInt(e[o[t]]);jQuery(this).find(".supercarousel").supercarousel(e)}})}),jQuery.expr[":"].hiddenByParent=function(e){return jQuery(e).parents("*:not(:visible)").length};!function(n){"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){function e(n){var e=7.5625,t=2.75;return n<1/t?e*n*n:n<2/t?e*(n-=1.5/t)*n+.75:n<2.5/t?e*(n-=2.25/t)*n+.9375:e*(n-=2.625/t)*n+.984375}void 0!==n.easing&&(n.easing.jswing=n.easing.swing);var t=Math.pow,u=Math.sqrt,r=Math.sin,i=Math.cos,a=Math.PI,o=1.70158,c=1.525*o,s=2*a/3,f=2*a/4.5;return n.extend(n.easing,{def:"easeOutQuad",swing:function(e){return n.easing[n.easing.def](e)},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return 1-(1-n)*(1-n)},easeInOutQuad:function(n){return n<.5?2*n*n:1-t(-2*n+2,2)/2},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return 1-t(1-n,3)},easeInOutCubic:function(n){return n<.5?4*n*n*n:1-t(-2*n+2,3)/2},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1-t(1-n,4)},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-t(-2*n+2,4)/2},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1-t(1-n,5)},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1-t(-2*n+2,5)/2},easeInSine:function(n){return 1-i(n*a/2)},easeOutSine:function(n){return r(n*a/2)},easeInOutSine:function(n){return-(i(a*n)-1)/2},easeInExpo:function(n){return 0===n?0:t(2,10*n-10)},easeOutExpo:function(n){return 1===n?1:1-t(2,-10*n)},easeInOutExpo:function(n){return 0===n?0:1===n?1:n<.5?t(2,20*n-10)/2:(2-t(2,-20*n+10))/2},easeInCirc:function(n){return 1-u(1-t(n,2))},easeOutCirc:function(n){return u(1-t(n-1,2))},easeInOutCirc:function(n){return n<.5?(1-u(1-t(2*n,2)))/2:(u(1-t(-2*n+2,2))+1)/2}
279,easeInElastic:function(n){return 0===n?0:1===n?1:-t(2,10*n-10)*r((10*n-10.75)*s)},easeOutElastic:function(n){return 0===n?0:1===n?1:t(2,-10*n)*r((10*n-.75)*s)+1},easeInOutElastic:function(n){return 0===n?0:1===n?1:n<.5?-t(2,20*n-10)*r((20*n-11.125)*f)/2:t(2,-20*n+10)*r((20*n-11.125)*f)/2+1},easeInBack:function(n){return 2.70158*n*n*n-o*n*n},easeOutBack:function(n){return 1+2.70158*t(n-1,3)+o*t(n-1,2)},easeInOutBack:function(n){return n<.5?t(2*n,2)*(7.189819*n-c)/2:(t(2*n-2,2)*((c+1)*(2*n-2)+c)+2)/2},easeInBounce:function(n){return 1-e(1-n)},easeOutBounce:e,easeInOutBounce:function(n){return n<.5?(1-e(1-2*n))/2:(1+e(2*n-1))/2}}),n});!function(i){i.extend(i.easing,{easeIn:function(n,e,u,t,a){return i.easing.easeInQuad(n,e,u,t,a)},easeOut:function(n,e,u,t,a){return i.easing.easeOutQuad(n,e,u,t,a)},easeInOut:function(n,e,u,t,a){return i.easing.easeInOutQuad(n,e,u,t,a)},expoin:function(n,e,u,t,a){return i.easing.easeInExpo(n,e,u,t,a)},expoout:function(n,e,u,t,a){return i.easing.easeOutExpo(n,e,u,t,a)},expoinout:function(n,e,u,t,a){return i.easing.easeInOutExpo(n,e,u,t,a)},bouncein:function(n,e,u,t,a){return i.easing.easeInBounce(n,e,u,t,a)},bounceout:function(n,e,u,t,a){return i.easing.easeOutBounce(n,e,u,t,a)},bounceinout:function(n,e,u,t,a){return i.easing.easeInOutBounce(n,e,u,t,a)},elasin:function(n,e,u,t,a){return i.easing.easeInElastic(n,e,u,t,a)},elasout:function(n,e,u,t,a){return i.easing.easeOutElastic(n,e,u,t,a)},elasinout:function(n,e,u,t,a){return i.easing.easeInOutElastic(n,e,u,t,a)},backin:function(n,e,u,t,a){return i.easing.easeInBack(n,e,u,t,a)},backout:function(n,e,u,t,a){return i.easing.easeOutBack(n,e,u,t,a)},backinout:function(n,e,u,t,a){return i.easing.easeInOutBack(n,e,u,t,a)}})}(jQuery);(function(e){e.extend({feedify:function(t,n){var r={lt:{regex:/(<)/g,template:"<"},gt:{regex:/(>)/g,template:">"},dq:{regex:/(")/g,template:"""},sq:{regex:/(')/g,template:"'"},link:{regex:/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,template:'<a href="$1">$1</a>'},user:{regex:/((?:^|[^a-zA-Z0-9_!#$%&*@ï¼ ]|RT:?))([@ï¼ ])([a-zA-Z0-9_]{1,20})(\/[a-zA-Z][a-zA-Z0-9_-]{0,24})?/g,template:'$1<a href="http://twitter.com/#!/$3$4">@$3$4</a>'},hash:{regex:/(^|\s)#(\w+)/g,template:'$1<a href="http://twitter.com/#!/search?q=%23$2">#$2</a>'},email:{regex:/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi,template:'<a href="mailto:$1">$1</a>'}};var i=e.extend(r,n);e.each(i,function(e,n){t=t.replace(n.regex,n.template)});return t}})})(jQuery);jQuery.fn.framerate=function(e){var t=jQuery.extend({framerate:30,logframes:!1},e),r=Math.floor(1e3/t.framerate);jQuery.extend(jQuery.fx.prototype,{custom:function(e,t,i){function n(e){return s.step(e)}this.startTime=(new Date).getTime(),this.start=e,this.end=t,this.unit=i||this.unit||"px",this.now=this.start,this.pos=this.state=0;var s=this;n.elem=this.elem,void 0===jQuery.timerId&&(jQuery.timerId=!1),n()&&jQuery.timers.push(n)&&!jQuery.timerId&&(jQuery.timerId=setInterval(jQuery.fx.tick,r))}});var i=(new Date).getTime();jQuery.extend(jQuery.fx,{tick:function(){if(t.logframes){var e=(new Date).getTime();console.log(Math.floor(1e3/(e-i))),i=e}for(var r=jQuery.timers,n=0;n<r.length;n++)r[n]()||r.splice(n--,1);r.length||jQuery.fx.stop()},stop:function(){clearInterval(jQuery.timerId),jQuery.timerId=null}})};!function(t){t.mlp={x:0,y:0},t(function(){t(this).mousemove(function(t){jQuery.mlp={x:t.pageX,y:t.pageY}})}),t.fn.ismouseover=function(e){var o=!1;return this.eq(0).each(function(){var e=t(this),n=e.offset();o=n.left<=t.mlp.x&&n.left+e.outerWidth()>t.mlp.x&&n.top<=t.mlp.y&&n.top+e.outerHeight()>t.mlp.y}),o}}(jQuery);!function(e){function t(t){var n=t||window.event,i=[].slice.call(arguments,1),l=0,s=0,o=0;return t=e.event.fix(n),t.type="mousewheel",n.wheelDelta&&(l=n.wheelDelta/120),n.detail&&(l=-n.detail/3),o=l,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*l),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),i.unshift(t,l,s,o),(e.event.dispatch||e.event.handle).apply(this,i)}var n=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var i=n.length;i;)e.event.fixHooks[n[--i]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery);jQuery.fn.superLightBox=function(e){var o,s,u,n=[],l=[],a=[],h=[],p=[],i=0,O=0,L=0,g=jQuery.extend({},{gallery:!0,swipe:!0,keyboard:!0,closeOutClick:!0,videopreviewurl:"images/video-preview.jpg",galleryThumbnailWidth:100,galleryThumbanilGa
279p:1,maxZoom:3,mediaAttribute:"href",mediaCaption:"data-superlightcaption"},e);g.keyboard&&jQuery(document).keyup(function(e){jQuery(".superlightboxcontainer").length&&jQuery(".superlightboxcontainer").hasClass(z)&&(e.preventDefault(),27==e.keyCode?y():37==e.keyCode||38==e.keyCode?x(o-1):39!=e.keyCode&&40!=e.keyCode||x(o+1))}),jQuery(window).resize(function(){jQuery(".superlightboxcontainer").length&&jQuery(".superlightboxcontainer").hasClass(z)&&(v(),d())});function r(e){var i;jQuery(".superlightboxcontainer").length&&(i=jQuery(window).width(),jQuery(".superlightbox_gallery_wrapper").width()>i&&((e=parseInt(jQuery(".superlightbox_gallery_wrapper").position().left)-e*i)<(i=-jQuery(".superlightbox_gallery_wrapper").width()+i)?e=i:0<e&&(e=0),jQuery(".superlightbox_gallery_wrapper").animate({left:e},g.easingTime,function(){})))}var t=function(){var e,i="";for(e in n)i+=c(n[e],e);jQuery(".superlightbox_gallery_wrapper").append(i);var r=0;jQuery(".superlightbox_gallery_wrapper > div").each(function(e){e=e*g.galleryThumbnailWidth+e*g.galleryThumbanilGap;r=e,jQuery(this).css({left:e})}),r+=g.galleryThumbnailWidth,jQuery(".superlightbox_gallery_wrapper").width(r)},d=function(){var e;jQuery(".superlightboxcontainer").length&&g.gallery&&(jQuery(window).width()>jQuery(".superlightbox_gallery_wrapper").width()?(e=(jQuery(window).width()-jQuery(".superlightbox_gallery_wrapper").width())/2,jQuery(".superlightbox_gallery_wrapper").css({left:e})):jQuery(".superlightbox_gallery_wrapper").css({left:0}),jQuery(".superlightbox_gallery_wrapper").is(":visible")?jQuery(".superlightbox_gallery_nav").show():jQuery(".superlightbox_gallery_nav").hide())},c=function(e,i){if(jQuery.isFunction(e))return"";var r=X(e),t="",l="";return"image"==r?t=e:"youtube"==r?(t=I(e),l=" superlightbox_video"+Z(e)):"vimeo"==r&&(t=g.videopreviewurl,M(e),l=" superlightbox_video"+S(e)),'<div class="superlightbox_thumb'+i+l+'" style="background-image: url(\''+t+"')\"></div>"},y=function(){var e;jQuery(".superlightboxcontainer").length&&((e=jQuery(".superlightbox_slide"+o)).length&&e.addClass("superlightbox_remove"),jQuery(".superlightboxcontainer").fadeOut("slow",function(){jQuery(this).remove()}))},b=function(){jQuery(".superlightboxcontainer").length&&(jQuery(".superlightbox_close").click(function(){y()}),g.closeOutClick&&jQuery(".superlightbox_slider").click(function(e){"IMG"!=e.target.nodeName&&y()}),W()||(jQuery(document).off("click",".superlightbox_slider>div:eq(1)"),jQuery(document).on("click",".superlightbox_slider>div:eq(1)",function(){jQuery(this).toggleClass("superlightbox_fullwidth")})),jQuery(".superlightbox_prev").click(function(){x(o-1)}),jQuery(".superlightbox_next").click(function(){x(o+1)}),g.gallery&&(jQuery(".superlightbox_gallery_button").click(function(){jQuery(this).hasClass("superlightbox_gallery_open")?(jQuery(this).removeClass("superlightbox_gallery_open"),jQuery(this).addClass("superlightbox_gallery_close"),jQuery(".superlightbox_gallery_wrapper").slideDown(),jQuery(".superlightbox_slider").addClass("superlightbox_gallery_visible"),d()):(jQuery(this).removeClass("superlightbox_gallery_close"),jQuery(this).addClass("superlightbox_gallery_open"),jQuery(".superlightbox_gallery_wrapper").slideUp(),jQuery(".superlightbox_gallery_nav").hide(),jQuery(".superlightbox_slider").removeClass("superlightbox_gallery_visible"))}),jQuery(".superlightbox_gallery_prev").click(function(){r(-1)}),jQuery(".superlightbox_gallery_next").click(function(){r(1)}),jQuery(".superlightbox_gallery_wrapper > div").click(function(){x(jQuery(this).index())}),g.swipe&&D(".superlightbox_gallery_wrapper",{swipeStart:function(e){i=jQuery(".superlightbox_gallery_wrapper").position().left},swipe:function(e){jQuery(window).width();jQuery(".superlightbox_gallery_wrapper").css({left:e.eX-e.sX+i})},swipeEnd:function(e,i){Math.abs(e.sX),Math.abs(e.eX);var r=jQuery(window).width(),t=jQuery(".superlightbox_gallery_wrapper").width();t<r?(e=(r-t)/2,jQuery(".superlightbox_gallery_wrapper").animate({left:e},g.easingTime)):0<jQuery(".superlightbox_gallery_wrapper").position().left?jQuery(".superlightbox_gallery_wrapper").animate({left:0},g.easingTime):jQuery(".superlightbox_gallery_wrapper").position().left<-t+r&&jQuery(".superlightbox_gallery_wrapper").animate({left:-t+r},g.easingTime)}})),g.swipe&&D(".superlightbox_wrapper",{pinchImage:".superlightbox_slider > div:eq(1) img",maxZoom:g.maxZoom,pinchZoom:function(e){jQuery(".superlightbox_slider > div:eq(1) img").css(e)},pinchZoomStart:function(e){jQuery(".superlightbox_slider").addClass("superlightbox_sliding")},pinchZoomEnd:function(e){jQuery(".superlightbox_slider").removeClass("superlightbox_sliding"),f()},swipeStart:function(e){jQuery(".superlightbox_slider").addClass("superlightbox_sliding")},swipe:function(e){var i=jQuery(window).width();jQuery(".superlightbox_slider").css({left:-i+e.eX-e.sX})},swipeEnd:function(e,i){var r=Math.abs(e.sX)-Math.abs(e.eX),t=jQuery(window).width(),e=.2*t;Math.abs(r)>e?x(0<r?o+1:o-1):(t=jQuery(window).width(),jQuery(".superlightbox_slider").animate({left:-t},g.easingTime,function(){jQuery(".superlightbox_slider").removeClass("superlightbox_sliding")}))}}))},x=function(e){var i=e<o?"left":"right";u=1==n.length?s=e=0:e<0||e==n.length-1?(e=n.length-1,s=e-1,0):e>=n.length||0==e?(e=0,s=n.length-1,1):(s=e-1,e+1);var r,t=Q(e),l=1;
279e!=o?("left"==i?(r=jQuery(".superlightbox_slider > div:first"),l=-1):r=jQuery(".superlightbox_slider > div:last"),r.hasClass("superlightbox_slide"+e)||(r.replaceWith(t),m(e),f()),_(l),o=e):0==jQuery(".superlightbox_slider > div.superlightbox_slide"+e).length&&(jQuery(".superlightbox_slider > div:first").replaceWith(Q(s)),jQuery(".superlightbox_slider > div:eq(1)").replaceWith(t),jQuery(".superlightbox_slider > div:last").replaceWith(Q(u)),m(s),m(e),m(u),f())},_=function(e){var i;jQuery(".superlightboxcontainer").length&&3==jQuery(".superlightbox_slider > div").length&&(i=jQuery(window).width(),i=0<e?-2*i:0,jQuery(".superlightbox_slider").addClass("superlightbox_sliding"),jQuery(".superlightbox_slider").animate({left:i},g.easingTime,j))},j=function(){console.log(s+" = "+o+" = "+u);var e=".superlightbox_slider > .superlightbox_slide"+o,i=".superlightbox_slider > .superlightbox_slide"+u,r=".superlightbox_slider > .superlightbox_slide"+s;jQuery(".superlightbox_slider > div").not(e+","+i+","+r).remove(),1<jQuery(e).length&&(0==jQuery(".superlightbox_slider").position().left?jQuery(e+":last"):jQuery(e+":first")).remove(),1<jQuery(r).length&&jQuery(r+":last").remove(),1<jQuery(i).length&&jQuery(i+":first").remove(),s!=u?(jQuery(".superlightbox_slider > div:first").hasClass("superlightbox_slide"+s)||(jQuery(r).remove(),jQuery(".superlightbox_slider").prepend(Q(s)),m(s)),jQuery(".superlightbox_slider > div:last").hasClass("superlightbox_slide"+u)||(jQuery(i).remove(),jQuery(".superlightbox_slider").append(Q(u)),m(u))):0==jQuery(".superlightbox_slider").position().left?(jQuery(".superlightbox_slider").prepend(Q(s)),m(s)):(jQuery(".superlightbox_slider").append(Q(u)),m(u)),jQuery(".superlightbox_slider").removeClass("superlightbox_sliding"),f(),w(o)},v=function(){w(s),w(o),w(u),f()},w=function(e){var i,r,t,l,s;jQuery(".superlightboxcontainer").length&&(i=jQuery(window).height(),r=jQuery(window).width(),a[e]?(e==o&&(O=L=0),t=jQuery(".superlightbox_slide"+e),l=a[e],s=h[e],l=parseInt(l*r),s=parseInt(s*i),0<l?(t.addClass("superlightbox_fullheight"),t.find("img").css({left:"50%",top:"50%"}),p[e].height>i&&t.find("img").css({height:i,width:s}),jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").length&&jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").css({"max-width":s})):(t.addClass("superlightbox_fullwidth"),t.find("img").css({left:"50%",top:"50%"}),p[e].width>r&&t.find("img").css({width:r,height:l}),jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").length&&jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").css({"max-width":r}))):jQuery(".superlightbox_slide"+e).find(".superlightbox_embed_wrapper").length&&(jQuery(".superlightbox_slide"+e).find(".superlightbox_embed_wrapper").css({"max-width":parseInt(1.77*i)}),jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").length&&jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").css({"max-width":parseInt(1.77*i)})))},f=function(){var i=jQuery(window).width();jQuery(".superlightbox_slider > div").each(function(e){jQuery(this).css({left:e*i,width:i})}),jQuery(".superlightbox_slider").css({left:-i,width:3*i})},Q=function(e){if(!n[e])return"";var i,r=n[e],t=X(r);return"image"==t?i='<div class="superlightbox_slide superlightbox_slide'+e+' superloading">':"youtube"==t?(i='<div class="superlightbox_slide superlightbox_slide_video superlightbox_slide'+e+'">',i+=E(r)):"vimeo"==t?(i='<div class="superlightbox_slide superlightbox_slide_video superlightbox_slide'+e+'">',i+=T(r)):i='<div class="superlightbox_slide superlightbox_slide'+e+' superloading">',""!=l[e]&&(i+='<div class="superlightbox_caption">'+l[e]+"</div>"),i+="</div>"},m=function(e){var i,r=n[e];"image"==X(r)?((i=new Image).superindex=e,i.onload=C,i.src=r):w(e)},C=function(){var e,i;void 0!==this.superindex&&jQuery(".superlightbox_slide"+this.superindex).length&&(e=jQuery(".superlightbox_slide"+this.superindex),(i="")!=l[this.superindex]&&(i='<div class="superlightbox_caption">'+l[this.superindex]+"</div>"),e.html('<img src="'+this.src+'" />
279'+i),a[this.superindex]=this.naturalHeight/this.naturalWidth,h[this.superindex]=this.naturalWidth/this.naturalHeight,p[this.superindex]={width:this.naturalWidth,height:this.naturalHeight},w(this.superindex),setTimeout(function(){e.removeClass("superloading")},800))},X=function(e){if(jQuery.isFunction(e))return"";var i=e.split("/").pop().split("#").shift().split("?").shift().split(".").reverse()[0].toLowerCase();return-1<jQuery.inArray(i,["jpg","jpeg","png","gif","webp"])?"image":Y(e)?"youtube":k(e)?"vimeo":"image"},k=function(e){e=/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i.exec(e);return e&&e[1]},Y=function(e){e=/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9_\-]+)/i.exec(e);return e&&e[1]},E=function(e){return'<div class="superlightbox_embed_wrapper"><div class="superlightbox_embed"><iframe width="560" height="315" src="//www.youtube.com/embed/'+Z(e)+'" frameborder="0" allowfullscreen></iframe></div></div>'},Z=function(e){e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!=e?e[1]:""},I=function(e){return"https://img.youtube.com/vi/"+Z(e)+"/0.jpg"},T=function(e){var i=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(\S+)/g;return i.test(e)&&(e=e.replace(i,'<div class="superlightbox_embed_wrapper"><div class="superlightbox_embed"><iframe width="420" height="345" src="//player.vimeo.com/video/$1" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></div>')),e},M=function(e){e=S(e);jQuery.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+e+".json",jsonp:"callback",dataType:"jsonp",success:function(e){var i;jQuery(".superlightbox_video"+e[0].id).length&&(i=e[0].thumbnail_large,jQuery(".superlightbox_video"+e[0].id).css({"background-image":"url('"+i+"')"}))}})},W=function(){return"ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints},S=function(e){e=e.match(/^.+vimeo.com\/(.*\/)?([^#\?]*)/);return e?e[2]||e[1]:null},q=function(){return'<div class="superlightboxcontainer '+z+'" style="display:none;"><a href="javascript: void(0);" class="superlightbox_close"></a><div class="superlightbox_wrapper"><div class="superlightbox_slider"></div></div><div class="superlightbox_gallery"><a href="javascript: void(0);" class="superlightbox_gallery_button superlightbox_gallery_open"></a><a href="javascript: void(0);" class="superlightbox_gallery_nav superlightbox_gallery_prev" style="display: none;"></a><a href="javascript: void(0);" class="superlightbox_gallery_nav superlightbox_gallery_next" style="display: none;"></a><div class="superlightbox_gallery_wrapper" style="display: none;"></div></div><a href="javascript: void(0);" class="superlightbox_prev"></a><a href="javascript: void(0);" class="superlightbox_next"></a></div>'},D=function(e,i){var l=jQuery.extend({},{pinchImage:"",pinchZoom:function(e){},pinchZoomStart:function(){},pinchZoomEnd:function(){},swipe:function(e){},swipeLeft:function(e){},swipeRight:function(e){},swipeUp:function(e){},swipeDown:function(e){},swipeStart:function(e){},swipeEnd:function(e,i){},maxZoom:3},i),s=new Object,o=!1,u=!1;s.sX=0,s.sY=0,s.eX=0,s.eY=0;var n,a,t,h,p,g,d,c,y,b,x,_,j,v,w,f,Q,m,C,X,k,Y,E,Z,I,T="",M=1,W=0,S=0,q=O,D=L,e=jQuery(e);e.on("touchstart",function(e){var i,r;1==e.originalEvent.touches.length?(u=!(o=!0),r=e.originalEvent.touches[0],s.sX=r.screenX,s.sY=r.clientY,1==M?l.swipeStart(s):l.pinchZoomStart()):2==e.originalEvent.touches.length&&(u=!(o=!1),i=jQuery(window).width()/2,r=jQuery(window).height()/2,0==O&&0==O&&(O=jQuery(l.pinchImage).width(),L=jQuery(l.pinchImage).height(),M=1,W=i-(q=O),S=r-(D=L)),t=e.originalEvent.touches[0].clientX,h=e.originalEvent.touches[0].clientY,p=e.originalEvent.touches[1].clientX,g=e.originalEvent.touches[1].clientY,Z=((m=(t+p)/2)-W)/q,I=((C=(h+g)/2)-S)/D,x=Math.sqrt(Math.pow(p-t,2)+Math.pow(g-h,2)),l.pinchZoomStart())}),e.on("touchmove",function(e){var i,r;e.preventDefault(),o?(i=e.originalEvent.touches[0],s.eX=i.screenX,s.eY=i.clientY,1<M?((r={}).left=W+q+(s.eX-s.sX),r.top=S+D+(s.eY-s.sY),l.pinchZoom(r)):l.swipe(s)):u&&(d=e.originalEvent.touches[0].clientX,c=e.originalEvent.touches[0].clientY,y=e.originalEvent.touches[1].clientX,b=e.originalEvent.touches[1].clientY,_=Math.sqrt(Math.pow(y-d,2)+Math.pow(b-c,2)),Y=(q-(w=O*(j=_/x*M)))*Z+(-m+(X=(d+y)/2)),E=(D-(v=L*j))*I+(-C+(k=(c+b)/2)),f=parseInt(W+Y),Q=parseInt(S+E),(r={}
279).left=f+w,r.top=Q+v,r.width=w,r.height=v,l.pinchZoom(r))}),e.on("touchend",function(e){if(o){if(1<M)return W+=s.eX-s.sX,void(S+=s.eY-s.sY);var i=jQuery(window).width(),r=jQuery(window).height();n=.1*i,a=.1*r,(s.eX-n>s.sX||s.eX+n<s.sX)&&s.eY<s.sY+50&&s.sY>s.eY-50&&(T=s.eX>s.sX?"l":"r"),(s.eY-a>s.sY||s.eY+a<s.sY)&&s.eX<s.sX+40&&s.sX>s.eX-40&&(T=s.eY>s.sY?"d":"u"),""!=T&&("l"==T?l.swipeLeft(s):"r"==T?l.swipeRight(s):"u"==T?l.swipeUp(s):"d"==T&&l.swipeDown(s)),l.swipeEnd(s,T),T=""}else{var t;u&&(i=jQuery(window).width()/2,r=jQuery(window).height()/2,j<1?(j=1,(t={left:"50%",top:"50%"}).width=O,t.height=L,l.pinchZoom(t),f=i-O,Q=r-L,w=O,v=L):j>l.maxZoom&&(j=l.maxZoom,Y=(q-(w=O*j))*Z+(-m+X),E=(D-(v=L*j))*I+(-C+k),f=parseInt(W+Y),Q=parseInt(S+E),(t={}).left=f+w,t.top=Q+v,t.width=w,t.height=v,l.pinchZoom(t)),W=f,S=Q,q=w,D=v,M=j,l.pinchZoomEnd())}u=o=!1}),e.on("touchcancel",function(e){u=o=!1})},z=function(e,i){i=i||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(var r="",t=0;t<e;t++){var l=Math.floor(Math.random()*i.length);r+=i.substring(l,l+1)}return r}(10);return this.each(function(){var e=jQuery(this),i=e.attr(g.mediaAttribute);jQuery.inArray(i,n)<0&&(n.push(i),i=void 0!==e.attr(g.mediaCaption)?e.attr(g.mediaCaption):"",l.push(i)),e.click(function(e){e.preventDefault(),e=(e=jQuery(this)).attr("href"),-1<n.indexOf(e)&&(o=n.indexOf(e),jQuery(".superlightboxcontainer").length&&jQuery(".superlightboxcontainer").remove(),jQuery("body").append(q()),e='<div class="superlightbox_slide"></div>',jQuery(".superlightbox_slider").append(e),jQuery(".superlightbox_slider").append(e),jQuery(".superlightbox_slider").append(e),g.gallery&&1<n.length?t():(jQuery(".superlightbox_gallery").hide(),jQuery(".superlightbox_prev").hide(),jQuery(".superlightbox_next").hide()),jQuery(".superlightboxcontainer").fadeIn(),b(),x(o))})})},jQuery(document).ready(function(){jQuery(".supergallery").length&&jQuery(".supergallery").superLightBox({mediaCaption:"data-caption"})}) 280;(()=>{"use strict";var wpcf7_redirect;(function($){function Wpcf7_redirect(){this.init=function(){this.wpcf7_redirect_mailsent_handler()},this.wpcf7_redirect_mailsent_handler=function(){document.addEventListener("wpcf7mailsent",(function(e){if($(document.body).trigger("wpcf7r-mailsent",[e]),void 0!==e.detail.apiResponse&&e.detail.apiResponse){const i=e.detail.apiResponse;let t=0;void 0!==i.api_url_request&&i.api_url_request&&wpcf7_redirect.handle_api_action(i.api_url_request),void 0!==i.api_json_xml_request&&i.api_json_xml_request&&wpcf7_redirect.handle_api_action(i.api_json_xml_request),void 0!==i.FireScript&&i.FireScript&&(t=void 0!==i.FireScript.delay_redirect?i.FireScript.delay_redirect:t,window.setTimeout((function(){wpcf7_redirect.handle_javascript_action(i.FireScript)}),t)),void 0!==i.popup&&i.popup&&wpcf7_redirect.handle_popups(i.popup,e),void 0!==i.redirect_to_paypal&&i.redirect_to_paypal&&(t=void 0!==i.redirect_to_paypal.delay_redirect?i.redirect_to_paypal.delay_redirect:t,window.setTimeout((function(){wpcf7_redirect.handle_redirect_action(i.redirect_to_paypal)}),t)),void 0!==i.redirect&&i.redirect&&(t=void 0!==i.redirect.delay_redirect?i.redirect.delay_redirect:t,window.setTimeout((function(){wpcf7_redirect.handle_redirect_action(i.redirect)}),t))}}),!1),document.addEventListener("wpcf7invalid",(function(e){if($(document.body).trigger("wpcf7r-invalid",[e]),void 0!==e.detail.apiResponse&&e.detail.apiResponse){const i=e.detail.apiResponse;i.invalidFields&&wpcf7_redirect.ninja_multistep_mov_to_invalid_tab(e,i)}}))},this.handle_popups=function(e,i){$(document.body).trigger("wpcf7r-before-open-popup",[i]),$.each(e,(function(e,i){var t=$(i["popup-template"]);$(document.body).append(t),$(document.body).addClass(i["template-name"]),window.setTimeout((function(){$(document.body).addClass("modal-popup-open"),t.addClass("is-open")}),1e3),t.find(".close-button").on("click",(function(){t.removeClass("is-open").addClass("fade"),$(document.body).removeClass("modal-popup-open"),window.setTimeout((function(){$(".wpcf7r-modal").remove(),$(document.body).trigger("wpcf7r-popup-removed",[t])}),4e3)})),$(document.body).trigger("wpcf7r-popup-appended",[t])}))},this.handle_api_action=function(send_to_api_result){$.each(send_to_api_result,(function(k,v){try{if(!v.result_javascript||"string"!=typeof v.result_javascript)return;v.api_response&&"string"==typeof v.api_response&&""!==v.api_response.trim()&&(window.rcf7_response=JSON.parse(v.api_response)),eval(v.result_javascript)}catch(e){console.error("Error handling API action:",e)}}))}
280,this.ninja_multistep_mov_to_invalid_tab=function(e,i){if($(".fieldset-cf7mls-wrapper").length){const t=$(e.target),r=i.invalidFields[0],n=$(r.into).parents("fieldset"),o=t.find(".cf7mls_current_fs"),d=n;t.find(".fieldset-cf7mls").removeClass("cf7mls_current_fs"),n.addClass("cf7mls_current_fs").removeClass("cf7mls_back_fs"),t.find(".cf7mls_progress_bar").length&&(t.find(".cf7mls_progress_bar li").eq(t.find("fieldset.fieldset-cf7mls").index(d)).addClass("current"),t.find(".cf7mls_progress_bar li").eq(t.find("fieldset.fieldset-cf7mls").index(o)).removeClass("active current"))}},this.handle_redirect_action=function(e){$(document.body).trigger("wpcf7r-handle_redirect_action",[e]),$.each(e,(function(e,i){const t=1e3*(i.delay||0);window.setTimeout((function(e){const i=e.redirect_url||"",t=e.type||"";void 0!==e.form&&e.form?($("body").append(e.form),$("#cf7r-result-form").submit()):i&&"redirect"==t?window.location=i:i&&"new_tab"==t&&window.open(i)}),t,i)}))},this.handle_javascript_action=function(scripts){$(document.body).trigger("wpcf7r-handle_javascript_action",[scripts]),$.each(scripts,(function(k,script){eval(script)}))},this.htmlspecialchars_decode=function(e){var i={"&":"&","&":"&","<":"<",">":">",""":'"',"'":"'","’":"â","‘":"â","–":"â","—":"â","…":"â¦","”":"â"};return e.replace(/\&[\w\d\#]{2,5}\;/g,(function(e){return i[e]}))},this.init()}wpcf7_redirect=new Wpcf7_redirect})(jQuery)})() 281;if(document.readyState!=='loading'){tnp_ajax_init()}else{document.addEventListener("DOMContentLoaded",function(){tnp_ajax_init()})} 282function tnp_ajax_init(){document.querySelectorAll('form.tnp-ajax').forEach(el=>{el.addEventListener('submit',async function(ev){ev.preventDefault();ev.stopPropagation();const response=await fetch(newsletter_data.action_url+'?action=tnp&na=sa',{method:"POST",body:new FormData(this)});this.innerHTML=await response.text()})})} 283;!function(r){"use strict";var t,e,n;t=[function(r,t,e){e(1),e(71),e(72),e(85),e(109),r.exports=e(111)},function(t,e,n){var o=n(2),a=n(3),c=n(67),i=n(68),u=n(69),s=n(29),f=n(70),p=a.Promise,l=!1;o({target:"Promise",stat:!0,forced:!p||!p.try||f(function(){p.try(function(r){l=8===r},8)}).error||!l},{try:function(t){var e=arguments.length>1?i(arguments,1):[],n=u.f(this),o=f(function(){return c(s(t),r,e)});return(o.error?n.reject:n.resolve)(o.value),n.promise}})},function(t,e,n){var o=n(3),a=n(4).f,c=n(42),i=n(46),u=n(36),s=n(54),f=n(66);t.exports=function(t,e){var n,p,l,y,v,h=t.target,b=t.global,g=t.stat;if(n=b?o:g?o[h]||u(h,{}):o[h]&&o[h].prototype)for(p in e){if(y=e[p],l=t.dontCallGetSet?(v=a(n,p))&&v.value:n[p],!f(b?p:h+(g?".":"#")+p,t.forced)&&l!==r){if(typeof y==typeof l)continue;s(y,l)}(t.sham||l&&l.sham)&&c(y,"sham",!0),i(n,p,y,t)}}},function(r,t,e){var n=function(r){return r&&r.Math===Math&&r};r.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},function(r,t,e){var n=e(5),o=e(7),a=e(9),c=e(10),i=e(11),u=e(17),s=e(37),f=e(40),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(r,t){if(r=i(r),t=u(t),f)try{return p(r,t)}catch(r){}if(s(r,t))return c(!o(a.f,r,t),r[t])}},function(r,t,e){var n=e(6);r.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(r,t,e){r.exports=function(r){try{return!!r()}catch(r){return!0}}},function(r,t,e){var n=e(8),o=Function.prototype.call;r.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(r,t,e){var n=e(6);r.exports=!n(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})},function(r,t,e){var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);t.f=a?function(r){var t=o(this,r);return!!t&&t.enumerable}:n},function(r,t,e){r.exports=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}}},function(r,t,e){var n=e(12),o=e(15);r.exports=function(r){return n(o(r))}},function(r,t,e){var n=e(13),o=e(6),a=e(14),c=Object,i=n("".split);r.exports=o(function(){return!c("z").propertyIsEnumerable(0)})?function(r){return"String"===a(r)?i(r,""):c(r)}:c},function(r,t,e){var n=e(8),o=Function.prototype,a=o.call,c=n&&o.bind.bind(a,a);r.exports=n?c:function(r){return function(){return a.apply(r,arguments)}}},function(r,t,e){var n=e(13),o=n({}.toString),a=n("".slice);r.exports=function(r){return a(o(r),8,-1)}},function(r,t,e){var n=e(16),o=TypeError;r.exports=function(r){if(n(r))throw new o("Can't call method on "+r);return r}},function(t,e,n){t.exports=function(t){return null===t||t===r}},function(r,t,e){var n=e(18),o=e(21);
283r.exports=function(r){var t=n(r,"string");return o(t)?t:t+""}},function(t,e,n){var o=n(7),a=n(19),c=n(21),i=n(28),u=n(31),s=n(32),f=TypeError,p=s("toPrimitive");t.exports=function(t,e){if(!a(t)||c(t))return t;var n,s=i(t,p);if(s){if(e===r&&(e="default"),n=o(s,t,e),!a(n)||c(n))return n;throw new f("Can't convert object to primitive value")}return e===r&&(e="number"),u(t,e)}},function(r,t,e){var n=e(20);r.exports=function(r){return"object"==typeof r?null!==r:n(r)}},function(t,e,n){var o="object"==typeof document&&document.all;t.exports=void 0===o&&o!==r?function(r){return"function"==typeof r||r===o}:function(r){return"function"==typeof r}},function(r,t,e){var n=e(22),o=e(20),a=e(23),c=e(24),i=Object;r.exports=c?function(r){return"symbol"==typeof r}:function(r){var t=n("Symbol");return o(t)&&a(t.prototype,i(r))}},function(t,e,n){var o=n(3),a=n(20);t.exports=function(t,e){return arguments.length<2?(n=o[t],a(n)?n:r):o[t]&&o[t][e];var n}},function(r,t,e){var n=e(13);r.exports=n({}.isPrototypeOf)},function(r,t,e){var n=e(25);r.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(r,t,e){var n=e(26),o=e(6),a=e(3).String;r.exports=!!Object.getOwnPropertySymbols&&!o(function(){var r=Symbol("symbol detection");return!a(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&n&&n<41})},function(r,t,e){var n,o,a=e(3),c=e(27),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>
vendor: 6,353 bytes, line 283
2830&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=+n[1]),r.exports=o},function(r,t,e){var n=e(3).navigator,o=n&&n.userAgent;r.exports=o?String(o):""},function(t,e,n){var o=n(29),a=n(16);t.exports=function(t,e){var n=t[e];return a(n)?r:o(n)}},function(r,t,e){var n=e(20),o=e(30),a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not a function")}},function(r,t,e){var n=String;r.exports=function(r){try{return n(r)}catch(r){return"Object"}}},function(r,t,e){var n=e(7),o=e(20),a=e(19),c=TypeError;r.exports=function(r,t){var e,i;if("string"===t&&o(e=r.toString)&&!a(i=n(e,r)))return i;if(o(e=r.valueOf)&&!a(i=n(e,r)))return i;if("string"!==t&&o(e=r.toString)&&!a(i=n(e,r)))return i;throw new c("Can't convert object to primitive value")}},function(r,t,e){var n=e(3),o=e(33),a=e(37),c=e(39),i=e(25),u=e(24),s=n.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||c;r.exports=function(r){return a(f,r)||(f[r]=i&&a(s,r)?s[r]:p("Symbol."+r)),f[r]}},function(r,t,e){var n=e(34);r.exports=function(r,t){return n[r]||(n[r]=t||{})}},function(r,t,e){var n=e(35),o=e(3),a=e(36),c="__core-js_shared__",i=r.exports=o[c]||a(c,{});(i.versions||(i.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(r,t,e){r.exports=!1},function(r,t,e){var n=e(3),o=Object.defineProperty;r.exports=function(r,t){try{o(n,r,{value:t,configurable:!0,writable:!0})}catch(e){n[r]=t}return t}},function(r,t,e){var n=e(13),o=e(38),a=n({}.hasOwnProperty);r.exports=Object.hasOwn||function(r,t){return a(o(r),t)}},function(r,t,e){var n=e(15),o=Object;r.exports=function(r){return o(n(r))}},function(t,e,n){var o=n(13),a=0,c=Math.random(),i=o(1..toString);t.exports=function(t){return"Symbol("+(t===r?"":t)+")_"+i(++a+c,36)}},function(r,t,e){var n=e(5),o=e(6),a=e(41);r.exports=!n&&!o(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},function(r,t,e){var n=e(3),o=e(19),a=n.document,c=o(a)&&o(a.createElement);r.exports=function(r){return c?a.createElement(r):{}}},function(r,t,e){var n=e(5),o=e(43),a=e(10);r.exports=n?function(r,t,e){return o.f(r,t,a(1,e))}:function(r,t,e){return r[t]=e,r}},function(r,t,e){var n=e(5),o=e(40),a=e(44),c=e(45),i=e(17),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",y="writable";t.f=n?a?function(r,t,e){if(c(r),t=i(t),c(e),"function"==typeof r&&"prototype"===t&&"value"in e&&y in e&&!e[y]){var n=f(r,t);n&&n[y]&&(r[t]=e.value,e={configurable:l in e?e[l]:n[l],enumerable:p in e?e[p]:n[p],writable:!1})}return s(r,t,e)}:s:function(r,t,e){if(c(r),t=i(t),c(e),o)try{return s(r,t,e)}catch(r){}if("get"in e||"set"in e)throw new u("Accessors not supported");return"value"in e&&(r[t]=e.value),r}},function(r,t,e){var n=e(5),o=e(6);r.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},function(r,t,e){var n=e(19),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not an object")}},function(t,e,n){var o=n(20),a=n(43),c=n(47),i=n(36);t.exports=function(t,e,n,u){u||(u={});var s=u.enumerable,f=u.name!==r?u.name:e;if(o(n)&&c(n,f,u),u.global)s?t[e]=n:i(e,n);else{try{u.unsafe?t[e]&&(s=!0):delete t[e]}catch(r){}s?t[e]=n:a.f(t,e,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},function(t,e,n){var o=n(13),a=n(6),c=n(20),i=n(37),u=n(5),s=n(48).CONFIGURABLE,f=n(49),p=n(50),l=p.enforce,y=p.get,v=String,h=Object.defineProperty,b=o("".slice),g=o("".replace),m=o([].join),E=u&&!a(function(){return 8!==h(function(){},"length",{value:8}).length}),d=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===b(v(e),0,7)&&(e="["+g(v(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(u?h(t,"name",{value:e,configurable:!0}):t.name=e),E&&n&&i(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?u&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=r)}catch(r){}var o=l(t);return i(o,"source")||(o.source=m(d,"string"==typeof e?e:"")),t};Function.prototype.toString=w(function(){return c(this)&&y(this).source||f(this)},"toString")},function(r,t,e){var n=e(5),o=e(37),a=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=o(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!n||n&&c(a,"name").configurable);r.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}},function(r,t,e){var n=e(13),o=e(20),a=e(34),c=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(r){return c(r)}),r.exports=a.inspectSource},function(r,t,e){var n,o,a,c=e(51),i=e(3),u=e(19),s=e(42),f=e(37),p=e(34),l=e(52),y=e(53),v="Object already initialized",h=i.TypeError,b=i.WeakMap;if(c||p.state){var g=p.state||(p.state=new b);g.get=g.get,g.has=g.has,g.set=g.set,n=function(r,t){if(g.has(r))throw new h(v);return t.facade=r,g.set(r,t),t},o=function(r){return g.get(r)||{}},a=function(r){return g.has(r)}}else{var m=l("state");y[m]=!0,n=function(r,t){if(f(r,m))throw new h(v);return t.facade=r,s(r,m,t),t},o=function(r){return f(r,m)?r[m]:{}},a=function(r){return f(r,m)}}r.exports={set:n,get:o,has:a,enforce:function(r){return a(r)?o(r):n(r,{})},getterFor:function(r){return function(t){var e;if(!u(t)||(e=o(t)).type!==r)throw new h("Incompatible receiver, "+r+" required");return e}}}},function(r,t,e){var n=e(3),o=e(20),a=n.WeakMap;r.exports=o(a)&&/native code/.test(String(a))},function(r,t,e){var n=e(33),o=e(39),a=n("keys");r.exports=function(r){return a[r]||(a[r]=o(r))}},function(r,t,e){r.exports={}},function(r,t,e){var n=e(37),o=e(55),a=e(4),c=e(43);r.exports=function(r,t,e){for(var i=o(t),u=c.f,s=a.f,f=0;f<i.length;f++){var p=i[f];n(r,p)||e&&n(e,p)||u(r,p,s(t,p))}}},function(r,t,e){var n=e(22),o=e(13),a=e(56),c=e(65),i=e(45),u=o([].concat);r.exports=n("Reflect","ownKeys")||function(r){var t=a.f(i(r)),e=c.f;return e?u(t,e(r)):t}},function(r,t,e){var n=e(57),o=e(64).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(r){return n(r,o)}},function(r,t,e){var n=e(13),o=e(37),a=e(11),c=e(58).indexOf,i=e(53),u=n([].push);
283r.exports=function(r,t){var e,n=a(r),s=0,f=[];for(e in n)!o(i,e)&&o(n,e)&&u(f,e);for(;t.length>s;)o(n,e=t[s++])&&(~c(f,e)||u(f,e));return f}},function(r,t,e){var n=e(11),o=e(59),a=e(62),c=function(r){return function(t,e,c){var i=n(t),u=a(i);if(0===u)return!r&&-1;var s,f=o(c,u);if(r&&e!=e){for(;u>f;)if((s=i[f++])!=s)return!0}else for(;u>f;f++)if((r||f in i)&&i[f]===e)return r||f||0;return!r&&-1}};r.exports={includes:c(!0),indexOf:c(!1)}},function(r,t,e){var n=e(60),o=Math.max,a=Math.min;r.exports=function(r,t){var e=n(r);return e<0?o(e+t,0):a(e,t)}},function(r,t,e){var n=e(61);r.exports=function(r){var t=+r;return t!=t||0===t?0:n(t)}},function(r,t,e){var n=Math.ceil,o=Math.floor;r.exports=Math.trunc||function(r){var t=+r;return(t>0?o:n)(t)}},function(r,t,e){var n=e(63);r.exports=function(r){return n(r.length)}},function(r,t,e){var n=e(60),o=Math.min;r.exports=function(r){var t=n(r);return t>0?o(t,9007199254740991):0}},function(r,t,e){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(r,t,e){t.f=Object.getOwnPropertySymbols},function(r,t,e){var n=e(6),o=e(20),a=/#|\.prototype\./,c=function(r,t){var e=u[i(r)];return e===f||e!==s&&(o(t)?n(t):!!t)},i=c.normalize=function(r){return String(r).replace(a,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";r.exports=c},function(r,t,e){var n=e(8),o=Function.prototype,a=o.apply,c=o.call;r.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(a):function(){return c.apply(a,arguments)})},function(r,t,e){var n=e(13);r.exports=n([].slice)},function(t,e,n){var o=n(29),a=TypeError,c=function(t){var e,n;this.promise=new t(function(t,o){if(e!==r||n!==r)throw new a("Bad Promise constructor");e=t,n=o}),this.resolve=o(e),this.reject=o(n)};t.exports.f=function(r){return new c(r)}},function(r,t,e){r.exports=function(r){try{return{error:!1,value:r()}}catch(r){return{error:!0,value:r}}}},function(r,t,e){var n=e(2),o=e(69);n({target:"Promise",stat:!0},{withResolvers:function(){var r=o.f(this);return{promise:r.promise,resolve:r.resolve,reject:r.reject}}})},function(t,e,n){var o=n(2),a=n(3),c=n(22),i=n(10),u=n(43).f,s=n(37),f=n(73),p=n(74),l=n(79),y=n(83),v=n(84),h=n(5),b=n(35),g="DOMException",m=c("Error"),E=c(g),d=function(){f(this,w);var t=arguments.length,e=l(t<1?r:arguments[0]),n=l(t<2?r:arguments[1],"Error"),o=new E(e,n),a=new m(e);return a.name=g,u(o,"stack",i(1,v(a.stack,1))),p(o,this,d),o},w=d.prototype=E.prototype,x="stack"in new m(g),O="stack"in new E(1,2),R=E&&h&&Object.getOwnPropertyDescriptor(a,g),S=!(!R||R.writable&&R.configurable),A=x&&!S&&!O;o({global:!0,constructor:!0,forced:b||A},{DOMException:A?d:E});var D=c(g),T=D.prototype;if(T.constructor!==D)for(var _ in b||u(T,"constructor",i(1,D)),y)if(s(y,_)){var I=y[_],j=I.s;s(D,j)||u(D,j,i(6,I.c))}},function(r,t,e){var n=e(23),o=TypeError;r.exports=function(r,t){if(n(t,r))return r;throw new o("Incorrect invocation")}},function(r,t,e){var n=e(20),o=e(19),a=e(75);r.exports=function(r,t,e){var c,i;return a&&n(c=t.constructor)&&c!==e&&o(i=c.prototype)&&i!==e.prototype&&a(r,i),r}},function(t,e,n){var o=n(76),a=n(19),c=n(15),i=n(77);
vendor: 2,427 bytes, line 283
283t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=o(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(r){}return function(e,n){return c(e),i(n),a(e)?(t?r(e,n):e.__proto__=n,e):e}}():r)},function(r,t,e){var n=e(13),o=e(29);r.exports=function(r,t,e){try{return n(o(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(r){}}},function(r,t,e){var n=e(78),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a("Can't set "+o(r)+" as a prototype")}},function(r,t,e){var n=e(19);r.exports=function(r){return n(r)||null===r}},function(t,e,n){var o=n(80);t.exports=function(t,e){return t===r?arguments.length<2?"":e:o(t)}},function(r,t,e){var n=e(81),o=String;r.exports=function(r){if("Symbol"===n(r))throw new TypeError("Cannot convert a Symbol value to a string");return o(r)}},function(t,e,n){var o=n(82),a=n(20),c=n(14),i=n(32)("toStringTag"),u=Object,s="Arguments"===c(function(){return arguments}());t.exports=o?c:function(t){var e,n,o;return t===r?"Undefined":null===t?"Null":"string"==typeof(n=function(r,t){try{return r[t]}catch(r){}}(e=u(t),i))?n:s?c(e):"Object"===(o=c(e))&&a(e.callee)?"Arguments":o}},function(r,t,e){var n={};n[e(32)("toStringTag")]="z",r.exports="[object z]"===String(n)},function(r,t,e){r.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1}
vendor: 8,053 bytes, line 283
283,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(r,t,e){var n=e(13),o=Error,a=n("".replace),c=String(new o("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,u=i.test(c);r.exports=function(r,t){if(u&&"string"==typeof r&&!o.prepareStackTrace)for(;t--;)r=a(r,i,"");return r}},function(t,e,n){var o,a=n(35),c=n(2),i=n(3),u=n(22),s=n(13),f=n(6),p=n(39),l=n(20),y=n(86),v=n(16),h=n(19),b=n(21),g=n(87),m=n(45),E=n(81),d=n(37),w=n(95),x=n(42),O=n(62),R=n(96),S=n(97),A=n(99),D=n(100),T=n(101),_=n(103),I=n(108),j=n(107),M=i.Object,k=i.Array,P=i.Date,C=i.Error,N=i.TypeError,L=i.PerformanceMark,U=u("DOMException"),B=A.Map,F=A.has,W=A.get,z=A.set,V=D.Set,H=D.add,G=D.has,Y=u("Object","keys"),Q=s([].push),q=s((!0).valueOf),X=s(1..valueOf),K=s("".valueOf),Z=s(P.prototype.getTime),$=p("structuredClone"),J="DataCloneError",rr="Transferring",tr=function(r){return!f(function(){var t=new i.Set([7]),e=r(t),n=r(M(7));return e===t||!e.has(7)||!h(n)||7!==+n})&&r},er=function(r,t){return!f(function(){var e=new t,n=r({a:e,b:e});return!(n&&n.a===n.b&&n.a instanceof t&&n.a.stack===e.stack)})},nr=i.structuredClone,or=a||!er(nr,C)||!er(nr,U)||(o=nr,!!f(function(){var r=o(new i.AggregateError([1],$,{cause:3}));return"AggregateError"!==r.name||1!==r.errors[0]||r.message!==$||3!==r.cause})),ar=!nr&&tr(function(r){return new L($,{detail:r}).detail}),cr=tr(nr)||ar,ir=function(r){throw new U("Uncloneable type: "+r,J)},ur=function(r,t){throw new U((t||"Cloning")+" of "+r+" cannot be properly polyfilled in this engine",J)},sr=function(r,t){return cr||ur(t),cr(r)},fr=function(t,e,n){if(F(e,t))return W(e,t);var o,a,c,u,s,f;if("SharedArrayBuffer"===(n||E(t)))o=cr?cr(t):t;else{var p=i.DataView;p||l(t.slice)||ur("ArrayBuffer");try{if(l(t.slice)&&!t.resizable)o=t.slice(0);else{a=t.byteLength,c="maxByteLength"in t?{maxByteLength:t.maxByteLength}:r,o=new ArrayBuffer(a,c),u=new p(t),s=new p(o);for(f=0;f<a;f++)s.setUint8(f,u.getUint8(f))}}catch(r){throw new U("ArrayBuffer is detached",J)}}return z(e,t,o),o},pr=function(t,e){if(b(t)&&ir("Symbol"),!h(t))return t;if(e){if(F(e,t))return W(e,t)}else e=new B;var n,o,a,c,s,f,p,y,v=E(t);switch(v){case"Array":a=k(O(t));break;case"Object":a={};break;case"Map":a=new B;break;case"Set":a=new V;break;case"RegExp":a=new RegExp(t.source,S(t));break;case"Error":switch(o=t.name){case"AggregateError":a=new(u(o))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":a=new(u(o));break;case"CompileError":case"LinkError":case"RuntimeError":a=new(u("WebAssembly",o));break;default:a=new C}break;case"DOMException":a=new U(t.message,t.name);break;case"ArrayBuffer":case"SharedArrayBuffer":a=fr(t,e,v);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":f="DataView"===v?t.byteLength:t.length,a=function(r,t,e,n,o){var a=i[t];return h(a)||ur(t),new a(fr(r.buffer,o),e,n)}(t,v,t.byteOffset,f,e);break;case"DOMQuad":try{a=new DOMQuad(pr(t.p1,e),pr(t.p2,e),pr(t.p3,e),pr(t.p4,e))}catch(r){a=sr(t,v)}break;case"File":if(cr)try{a=cr(t),E(a)!==v&&(a=r)}catch(r){}if(!a)try{a=new File([t],t.name,t)}catch(r){}a||ur(v);break;case"FileList":if(c=function(){var r;try{r=new i.DataTransfer}catch(t){try{r=new i.ClipboardEvent("").clipboardData}catch(r){}}return r&&r.items&&r.files?r:null}()){for(s=0,f=O(t);s<f;s++)c.items.add(pr(t[s],e));a=c.files}else a=sr(t,v);break;case"ImageData":try{a=new ImageData(pr(t.data,e),t.width,t.height,{colorSpace:t.colorSpace})}catch(r){a=sr(t,v)}break;default:if(cr)a=cr(t);else switch(v){case"BigInt":a=M(t.valueOf());break;case"Boolean":a=M(q(t));break;case"Number":a=M(X(t));break;case"String":a=M(K(t));break;case"Date":a=new P(Z(t));break;case"Blob":try{a=t.slice(0,t.size,t.type)}catch(r){ur(v)}break;case"DOMPoint":case"DOMPointReadOnly":n=i[v];try{a=n.fromPoint?n.fromPoint(t):new n(t.x,t.y,t.z,t.w)}catch(r){ur(v)}break;case"DOMRect":case"DOMRectReadOnly":n=i[v];try{a=n.fromRect?n.fromRect(t):new n(t.x,t.y,t.width,t.height)}catch(r){ur(v)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=i[v];try{a=n.fromMatrix?n.fromMatrix(t):new n(t)}catch(r){ur(v)}break;case"AudioData":case"VideoFrame":l(t.clone)||ur(v);try{a=t.clone()}catch(r){ir(v)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":ur(v);default:ir(v)}}switch(z(e,t,a),v){case"Array":case"Object":for(p=Y(t),s=0,f=O(p);s<f;s++)y=p[s],w(a,y,pr(t[y],e));break;case"Map":t.forEach(function(r,t){z(a,pr(t,e),pr(r,e))});break;case"Set":t.forEach(function(r){H(a,pr(r,e))});break;case"Error":x(a,"message",pr(t.message,e)),d(t,"cause")&&x(a,"cause",pr(t.cause,e)),"AggregateError"===o?a.errors=pr(t.errors,e):"SuppressedError"===o&&(a.error=pr(t.error,e),a.suppressed=pr(t.suppressed,e));case"DOMException":I&&x(a,"stack",pr(t.stack,e))}return a};c({global:!0,enumerable:!0,sham:!j,forced:or},{structuredClone:function(t){var e,n,o=R(arguments.length,1)>1&&!v(arguments[1])?m(arguments[1]):r,a=o?o.transfer:r;a!==r&&(n=function(t,e){if(!h(t))throw new N("Transfer option cannot be converted to a sequence");var n=[];g(t,function(r){Q(n,m(r))});for(var o,a,c,u,s,f=0,p=O(n),v=new V;f<p;){if(o=n[f++],"ArrayBuffer"===(a=E(o))?G(v,o):F(e,o))throw new U("Duplicate transferable",J);if("ArrayBuffer"!==a){if(j)u=nr(o,{transfer:[o]});else switch(a){case"ImageBitmap":c=i.OffscreenCanvas,y(c)||ur(a,rr);try{(s=new c(o.width,o.height)).getContext("bitmaprenderer").transferFromImageBitmap(o),u=s.transferToImageBitmap()}catch(r){}break;case"AudioData":case"VideoFrame":l(o.clone)&&l(o.close)||ur(a,rr);try{u=o.clone(),o.close()}catch(r){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":ur(a,rr)}if(u===r)throw new U("This object cannot be transferred: "+a,J);z(e,o,u)}else H(v,o)}return v}(a,e=new B));var c=pr(t,e);return n&&function(r){T(r,function(r){j?cr(r,{transfer:[r]}):l(r.transfer)?r.transfer():_?_(r):ur("ArrayBuffer",rr)})}(n),c}})},function(r,t,e){var n=e(13),o=e(6),a=e(20),c=e(81),i=e(22),u=e(49),s=function(){},f=i("Reflect","construct"),p=/^\s*(?:class|function)\b/,l=n(p.exec),y=!p.test(s),v=function(r){if(!a(r))return!1;try{return f(s,[],r),!0}catch(r){return!1}},h=function(r){if(!a(r))return!1;switch(c(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!l(p,u(r))}catch(r){return!0}};h.sham=!0,r.exports=!f||o(function(){var r;return v(v.call)||!v(Object)||!v(function(){r=!0})||r})?h:v},function(r,t,e){var n=e(88),o=e(7),a=e(45),c=e(30),i=e(90),u=e(62),s=e(23),f=e(92),p=e(93),l=e(94),y=TypeError,v=function(r,t){this.stopped=r,this.result=t},h=v.prototype;r.exports=function(r,t,e){var b,g,m,E,d,w,x,O=e&&e.that,R=!(!e||!e.AS_ENTRIES),S=!(!e||!e.IS_RECORD),A=!(!e||!e.IS_ITERATOR),D=!(!e||!e.INTERRUPTED),T=n(t,O),_=function(r){return b&&l(b,"normal",r),new v(!0,r)},I=function(r){return R?(a(r),D?T(r[0],r[1],_):T(r[0],r[1])):D?T(r,_):T(r)};if(S)b=r.iterator;else if(A)b=r;else{if(!(g=p(r)))throw new y(c(r)+" is not iterable");if(i(g)){for(m=0,E=u(r);E>m;m++)if((d=I(r[m]))&&s(h,d))return d;return new v(!1)}b=f(r,g)}for(w=S?r.next:b.next;!(x=o(w,b)).done;){try{d=I(x.value)}catch(r){l(b,"throw",r)}if("object"==typeof d&&d&&s(h,d))return d}return new v(!1)}},function(t,e,n){var o=n(89),a=n(29),c=n(8),i=o(o.bind);t.exports=function(t,e){return a(t),e===r?t:c?i(t,e):function(){return t.apply(e,arguments)}}},function(r,t,e){var n=e(14),o=e(13);r.exports=function(r){if("Function"===n(r))return o(r)}},function(t,e,n){var o=n(32),a=n(91),c=o("iterator"),i=Array.prototype;
vendor: 4,885 bytes, line 283
283t.exports=function(t){return t!==r&&(a.Array===t||i[c]===t)}},function(r,t,e){r.exports={}},function(r,t,e){var n=e(7),o=e(29),a=e(45),c=e(30),i=e(93),u=TypeError;r.exports=function(r,t){var e=arguments.length<2?i(r):t;if(o(e))return a(n(e,r));throw new u(c(r)+" is not iterable")}},function(r,t,e){var n=e(81),o=e(28),a=e(16),c=e(91),i=e(32)("iterator");r.exports=function(r){if(!a(r))return o(r,i)||o(r,"@@iterator")||c[n(r)]}},function(r,t,e){var n=e(7),o=e(45),a=e(28);r.exports=function(r,t,e){var c,i;o(r);try{if(!(c=a(r,"return"))){if("throw"===t)throw e;return e}c=n(c,r)}catch(r){i=!0,c=r}if("throw"===t)throw e;if(i)throw c;return o(c),e}},function(r,t,e){var n=e(5),o=e(43),a=e(10);r.exports=function(r,t,e){n?o.f(r,t,a(0,e)):r[t]=e}},function(r,t,e){var n=TypeError;r.exports=function(r,t){if(r<t)throw new n("Not enough arguments");return r}},function(t,e,n){var o=n(7),a=n(37),c=n(23),i=n(98),u=RegExp.prototype;t.exports=function(t){var e=t.flags;return e!==r||"flags"in u||a(t,"flags")||!c(u,t)?e:o(i,t)}},function(r,t,e){var n=e(45);r.exports=function(){var r=n(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t}},function(r,t,e){var n=e(13),o=Map.prototype;r.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},function(r,t,e){var n=e(13),o=Set.prototype;r.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},function(r,t,e){var n=e(13),o=e(102),a=e(100),c=a.Set,i=a.proto,u=n(i.forEach),s=n(i.keys),f=s(new c).next;r.exports=function(r,t,e){return e?o({iterator:s(r),next:f},t):u(r,t)}},function(t,e,n){var o=n(7);t.exports=function(t,e,n){for(var a,c,i=n?t:t.iterator,u=t.next;!(a=o(u,i)).done;)if((c=e(a.value))!==r)return c}},function(r,t,e){var n,o,a,c,i=e(3),u=e(104),s=e(107),f=i.structuredClone,p=i.ArrayBuffer,l=i.MessageChannel,y=!1;if(s)y=function(r){f(r,{transfer:[r]})};else if(p)try{l||(n=u("worker_threads"))&&(l=n.MessageChannel),l&&(o=new l,a=new p(2),c=function(r){o.port1.postMessage(null,[r])},2===a.byteLength&&(c(a),0===a.byteLength&&(y=c)))}catch(r){}r.exports=y},function(r,t,e){var n=e(3),o=e(105);r.exports=function(r){if(o){try{return n.process.getBuiltinModule(r)}catch(r){}try{return Function('return require("'+r+'")')()}catch(r){}}}},function(r,t,e){var n=e(106);r.exports="NODE"===n},function(r,t,e){var n=e(3),o=e(27),a=e(14),c=function(r){return o.slice(0,r.length)===r};r.exports=c("Bun/")?"BUN":c("Cloudflare-Workers")?"CLOUDFLARE":c("Deno/")?"DENO":c("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},function(r,t,e){var n=e(3),o=e(6),a=e(26),c=e(106),i=n.structuredClone;r.exports=!!i&&!o(function(){if("DENO"===c&&a>92||"NODE"===c&&a>94||"BROWSER"===c&&a>97)return!1;var r=new ArrayBuffer(8),t=i(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})},function(r,t,e){var n=e(6),o=e(10);r.exports=!n(function(){var r=new Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",o(1,7)),7!==r.stack)})},function(t,e,n){var o=n(2),a=n(22),c=n(6),i=n(96),u=n(80),s=n(110),f=a("URL"),p=s&&c(function(){f.canParse()}),l=c(function(){return 1!==f.canParse.length});o({target:"URL",stat:!0,forced:!p||l},{canParse:function(t){var e=i(arguments.length,1),n=u(t),o=e<2||arguments[1]===r?r:u(arguments[1]);try{return!!new f(n,o)}catch(r){return!1}}})},function(t,e,n){var o=n(6),a=n(32),c=n(5),i=n(35),u=a("iterator");t.exports=!o(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),o="";return t.pathname="c%20d",e.forEach(function(r,t){e.delete("b"),o+=t+r}),n.delete("a",2),n.delete("b",r),i&&(!t.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",r)||n.has("b"))||!e.size&&(i||!c)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://ÑеÑÑ").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==o||"x"!==new URL("https://x",r).host})},function(t,e,n){var o=n(2),a=n(22),c=n(96),i=n(80),u=n(110),s=a("URL");o({target:"URL",stat:!0,forced:!u},{parse:function(t){var e=c(arguments.length,1),n=i(t),o=e<2||arguments[1]===r?r:i(arguments[1]);try{return new s(n,o)}catch(r){return null}}})}],e={},(n=function(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}).m=t,n.c=e,n.d=function(r,t,e){n.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:e})},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}
283),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,t){if(1&t&&(r=n(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var o in r)n.d(e,o,function(t){return r[t]}.bind(null,o));return e},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},n.p="",n(n.s=0)}() 284;document.addEventListener("DOMContentLoaded",(e=>{var t;wpcf7_recaptcha={...null!==(t=wpcf7_recaptcha)&&void 0!==t?t:{}};const c=wpcf7_recaptcha.sitekey,{homepage:n,contactform:a}=wpcf7_recaptcha.actions,o=e=>{const{action:t,func:n,params:a}=e;grecaptcha.execute(c,{action:t}).then((e=>{const c=new CustomEvent("wpcf7grecaptchaexecuted",{detail:{action:t,token:e}});document.dispatchEvent(c)})).then((()=>{"function"==typeof n&&n(...a)})).catch((e=>console.error(e)))};if(grecaptcha.ready((()=>{o({action:n})})),document.addEventListener("change",(e=>{o({action:a})})),"undefined"!=typeof wpcf7&&"function"==typeof wpcf7.submit){const e=wpcf7.submit;wpcf7.submit=(t,c={})=>{o({action:a,func:e,params:[t,c]})}}document.addEventListener("wpcf7grecaptchaexecuted",(e=>{const t=document.querySelectorAll('form.wpcf7-form input[name="_wpcf7_recaptcha_response"]');for(let c=0;c<t.length;c++)t[c].setAttribute("value",e.detail.token)}))})); 285;'use strict';var epdofitvids=epdofitvids||function(b){b.fn.fitVidsEP=function(h){_EPYT_.epresponsiveselector.constructor!==Array&&(_EPYT_.epresponsiveselector=JSON.parse(_EPYT_.epresponsiveselector));var d={customSelector:null};if(!document.getElementById("fit-vids-style")){var f=document.createElement("style"),l=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];f.className="fit-vids-style";f.id="fit-vids-style";f.textContent=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}";l.parentNode.insertBefore(f,l)}h&&b.extend(d,h);return this.each(function(){var e=_EPYT_.epresponsiveselector;d.customSelector&&e.push(d.customSelector);e=b(this).find(e.join(","));e=e.not("object object");e.each(function(){var a=b(this);if(!("embed"===this.tagName.toLowerCase()&&a.parent("object").length||a.parent(".fluid-width-video-wrapper").length||"absolute"===a.css("position"))){a.is("[data-origwidth]:not([width])")&&a.attr("width",a.data("origwidth"));a.is("[data-origheight]:not([height])")&&a.attr("height",a.data("origheight"));var k="object"===this.tagName.toLowerCase()||a.attr("height")&&!isNaN(parseInt(a.attr("height"),10))?parseInt(a.attr("height"),10):a.height(),g=isNaN(parseInt(a.attr("width"),10))?a.width():parseInt(a.attr("width"),10);k/=g;a.attr("id")||a.attr("id","fitvid"+Math.floor(999999*Math.random()));var m=a.attr("width"),n=a.attr("height");if(a.parent().hasClass("epyt-video-wrapper"))try{a.parent().addClass("fluid-width-video-wrapper").attr("style","padding-top: "+100*k+"% !important;"),a.removeAttr("height").removeAttr("width"),setTimeout(function(){if("function"===typeof Event)var c=new Event("resize");else c=document.createEvent("Event"),c.initEvent("resize",!0,!0);window.dispatchEvent(c)},10),setTimeout(function(){parseInt(a.parent().css("padding-top"),10)>a.height()+20&&(a.parent().removeClass("fluid-width-video-wrapper").css("padding-top",""),a.attr("width",m),a.attr("height",n))},100)}catch(c){}else{g=document.createElement("div");g.className="fluid-width-video-wrapper";try{a.wrap(g).parent(".fluid-width-video-wrapper").attr("style","padding-top: "+100*k+"% !important;"),a.removeAttr("height").removeAttr("width"),setTimeout(function(){if("function"===typeof Event)var c=new Event("resize");else c=document.createEvent("Event"),c.initEvent("resize",!0,!0);window.dispatchEvent(c)},10),setTimeout(function(){parseInt(a.parent().css("padding-top"),10)>a.height()+20&&(a.parent().removeClass("fluid-width-video-wrapper").css("padding-top",""),a.attr("width",m),a.attr("height",n))},100)}catch(c){}}}})})};b(document).ready(function(){b("body").fitVidsEP();b(document).ajaxSuccess(function(h,d,f){d&&d.responseText&&-1!==d.responseText.indexOf("<iframe ")&&b("body").fitVidsEP()})});return!0};try{epdofitvids(window.jQuery)}catch(b){} 286;document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t<e.length;t++)e[t]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")})(),(c=>{"function"!=typeof window.vc_js&&(window.vc_js=function(){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_prepareHoverBo
286x(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),i=e.attr("data-flex_fx"),o=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:i,slideshow:o,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0<jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){var e,t;0<jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://assets.pinterest.com/js/pinit.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.find(".vc_single_bar").each(function(e){var t=jQuery(this).find(".vc_bar"),i=t.data("percentage-value");setTimeout(function(){t.css({width:i+"%"})},200*e)})},{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 e=jQuery(this);e.vcwaypoint(function(){e.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){function t(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).closest(".vc_toggle"),e=t.find(".vc_toggle_content");t.hasClass("vc_toggle_active")?e.slideUp({duration:300,complete:function(){t.removeClass("vc_toggle_active")}}):e.slideDown({duration:300,complete:function(){t.addClass("vc_toggle_active")}})}(e?e.hasClass("vc_toggle_title")?e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",t)}),"function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){function t(){var e=jQuery(this);e.toggleClass("wpb-tta-toggle-active"),e.parent().parent().parent().find(".vc_pagination-item").each(function(){if(!c(this).hasClass("vc_active"))return c(this).find("a").click(),!1})}(e?e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click",t),setTimeout(function(){jQuery(".wpb-tta-toggle").each(function(){var e=jQuery(this);e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")})},1e3)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){var t,o;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",o=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(){var e=jQuery(this).attr("data-interval"),t=[],i=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(e&&0<e)try{i.tabs("rotate",1e3*e)}catch(e){window.console&&window.console.warn&&console.warn("tabs behaviours error",e)}jQuery(this).find(".wpb_tab").each(function(){t.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),o?i.tabs("select",jQuery("a",this).attr("href")):i.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var t;e&&e.preventDefault&&e.preventDefault(),o?(t=i.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=i.tabs("length")-1:t>=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,i.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(e.data("active-tab"),10)&&parseInt(e.data("active-tab"),10)-1),i=!1===t||"yes"===e.data("collapsible"),t=e.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:i,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".
286isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var o={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 e=jQuery(this),t=e.find(".wpb_thumbnails"),i=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===o[i]?"fitRows":o[i]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(t=1e3*i.attr("data-interval"))&&(t=9999999999),jQuery.fn.nivoSlider&&!i.data("nivo-initialized")&&(i.data("nivo-initialized",!0),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"}))):i.hasClass("wpb_image_grid")&&i.find(".wpb_image_grid_ul")&&i.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=i.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0}))})}),"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(e){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",e)}}),"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 s=window.jQuery;function e(){var e;void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=s('[data-vc-full-width="true"]'),s.each(e,function(){var e,t,i,o,n,a,r,c=s(this),d=(c.addClass("vc_hidden"),c.next(".vc_row-full-width"));(d=d.length?d:c.parent().next(".vc_row-full-width")).length&&(c.removeAttr("data-vc-full-width-temp"),e=parseInt(c.css("margin-left"),10),t=parseInt(c.css("margin-right"),10),i=0-d.offset().left-e,o=s(window).width(),n={position:"relative",left:i="rtl"===c.css("direction")?(i=i-d.width()+o)+e+t:i,"box-sizing":"border-box",width:o,"max-width":o},c.css(n),c.data("vcStretchContent")||("rtl"===c.css("direction")?((a=i)<0&&(a=0),(r=i)<0&&(r=0)):(r=o-(a=(a=-1*i)<0?0:a)-d.width()+e+t)<0&&(r=0),c.css({"padding-left":a+"px","padding-right":r+"px"})),c.attr("data-vc-full-width-init","true"),c.removeClass("vc_hidden"),s(document).trigger("vc-full-width-row-single",{el:c,offset:i,marginLeft:e,marginRight:t,elFull:d,width:o,maxWidth:o}))}),s(document).trigger("vc-full-width-row",e))}function t(){var e,t,i=s(".vc_row-o-full-height:first");i.length&&(e=s(window).height(),(t=i.offset().top)<e)&&i.css("min-height",100-t/(e/100)+"vh"),s(document).trigger("vc-full-height-row",i)}s(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",e).on("resize.vcRowBehaviour",t),e(),t(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&s(".vc_row-o-full-height").each(function(){"flex"===s(this).css("display")&&s(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}
286),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,i,o;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("<div />").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),i=s(this).data("vcParallaxImage"),(o=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(t,o):void 0!==i&&t.css("background-image","url("+i+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&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(e){for(var t=!1,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var i=t.panel||t.newPanel,o=i.find(".vc_pie_chart:not(.vc_ready)"),n=i.find(".vc_round-chart"),a=i.find(".vc_line-chart"),r=i.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(i),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&i.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.length&&jQuery.fn.vcChat&&o.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=i.find(".isotope, .wpb_image_grid_ul"),o=i.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),o.length&&!o.is(".map_ready")&&((n=o.find("iframe")).attr("src",n.attr("src")),o.addClass("map_ready")),i.parents(".isotope").length&&i.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",i)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,i={};i.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,i)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var i,o,n,a;t.newPanel.length&&t.newHeader.length&&(i=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),o=t.newPanel.find(".vc_round-chart"),n=t.newPanel.find(".vc_line-chart"),a=t.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),vc_carouselBehaviour(t.newPanel),vc_plugin_flexslider(t.newPanel),i.length&&jQuery.fn.vcChat&&i.vcChat(),o.length&&jQuery.fn.vcRoundChart&&o.vcRoundChart({reload:!1}),n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({reload:!1}),a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"),t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgroun
286ds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){c(".vc_video-bg").remove(),c("[data-vc-video-bg]").each(function(){var e,i=jQuery(this);i.data("vcVideoBg")?(e=i.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(i.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(i,e)),jQuery(window).on("grid:items:added",function(e,t){i.has(t).length&&vcResizeVideoBackground(i)})):i.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,i){if("undefined"==typeof YT||void 0===YT.Player)return 100<(i=void 0===i?0:i)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,i++)},100);var o=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(o[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,i,o,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),i=r,o=-Math.round((t-a)/2)+"px",n=-Math.round((i-r)/2)+"px"):(i=(t=a)*(9/16),n=-Math.round((i-r)/2)+"px",o=-Math.round((t-a)/2)+"px"),t+="px",i+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:o,marginTop:n,width:t,height:i})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),i=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),i=e<i?i:e;t.css("min-height",(i=i<250?250:i)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var e=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(e),vc_setHoverBoxPerspective(e)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function(){window.vc_js()})})(window.jQuery) 287;document.addEventListener("lazybeforesizes",function(e){if(e.detail&&e.detail.width&&e.target){var t=e.target.closest(":not(picture)");t&&(e.detail.width=t.clientWidth||e.detail.width)}}),document.addEventListener("lazybeforeunveil",function(e){var t=e.target.previousElementSibling;t&&t.matches("noscript")&&t.remove()}) 288;(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function r(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function o(e,r,o){return(r=function(e){var r=function(e){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}window.lazySizesConfig=window.lazySizesConfig||{},window.lazySizesConfig=r(r({},window.lazySizesConfig),{},{lazyClass:"vp-lazyload",loadedClass:"vp-lazyloaded",preloadClass:"vp-lazypreload",loadingClass:"vp-lazyloading",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes"})})() 289;(()=>{"use strict";!function(e,n){var t=function(){n(e.lazySizes),e.removeEventListener("lazyunveilread",t,!0)};n=n.bind(null,e,e.document),e.lazySizes?t():e.addEventListener("lazyunveilread",t,!0)}(window,function(e,n,t){if(e.addEventListener){var i=t.loader.unveil,o=new WeakMap,a={observeClassChanges:function(t){var a,r,s,c,d=this;if(!o.has(t)){var v=(a=50,r=function(){n.contains(t)?t.classList.contains("vp-lazyloaded")||i(t):d.disconnectObserver(t)},c=(s||{}).atBegin,function(e,n,t){var i,o=t||{},a=o.noTrailing,r=void 0!==a&&a,s=o.noLeading,c=void 0!==s&&s,d=o.debounceMode,v=void 0===d?void 0:d,u=!1,l=0;function f(){i&&clearTimeout(i)}function b(){for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];var s=this,d=Date.now()-l;function b(){l=Date.now(),n.apply(s,o)}function g(){i=void 0}u||(c||!v||i||b(),f(),void 0===v&&d>e?c?(l=Date.now(),r||(i=setTimeout(v?g:b,e))):b():!0!==r&&(i=setTimeout(v?g:b,void 0===v?e-d:e)))}return b.cancel=function(e){var n=(e||{}).upcomingOnly,t=void 0!==n&&n;f(),u=!t},b}(a,r,{debounceMode:!1!==(void 0!==c&&c)})),u=new e.MutationObserver(function(e){e.forEach(function(e){"attributes"===e.type&&"class"===e.attributeName&&v()})});u.observe(t,{attributes:!0,attributeFilter:["class"]}),o.set(t,u);var l=new e.IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting||n.contains(t)||(d.disconnectObserver(t),l.disconnect())})},{threshold:0});l.observe(t)}},disconnectObserver:function(e){var n=o.get(e);n&&(n.disconnect(),o.delete(e))}};t.wpLightboxResolve=a,n.addEventListener("lazyloaded",function(e){var n;!e.defaultPrevented&&e.detail&&e.target&&e.detail.instance===t&&null!==(n=e.target.parentNode)&&void 0!==n&&n.classList.contains("wp-lightbox-container")&&a.observeClassChanges(e.target)})}})})() 290;!function(e,t){var i=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",i,!0)};t=t.bind(null,e,e.document),e.lazySizes?i():e.addEventListener("lazyunveilread",i,!0)}(window,function(e,t,i){if(e.addEventListener){var n={calculateSize:function(t,i){var n,a=(n=t,e.getComputedStyle(n,null)||{});if(a&&a.objectFit&&"cover"===a.objectFit){var l=parseInt(t.getAttribute("height"),10),r=parseInt(t.getAttribute("width"),10);l&&r/l>t.clientWidth/t.clientHeight&&(i=parseInt(t.clientHeight*r/l,10))}return i}};i.objectFitCover=n,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail&&e.detail.width&&e.target&&e.detail.instance===i){var t=e.target;e.detail.width=n.calculateSize(t,e.detail.width)}})}}) 291;(()=>{function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}!function(e,t){var n=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",n,!0)};t=t.bind(null,e,e.document),e.lazySizes?n():e.addEventListener("lazyunveilread",n,!0)}(window,function(t,n,r){if(t.addEventListener){var i=r.loader.unveil,a={getSlideData:function(e){var t=e.closest(".swiper-slide"),n=!!t&&t.getAttribute("data-swiper-slide-index");return{$el:t,slideIndex:n}},run:function(t){var n,r,a,l=this.getSlideData(t);return l.slideIndex&&(n=l.$el,r='[data-swiper-slide-index="'.concat(l.slideIndex,'"]'),(a=n.parentNode.children,function(t){if(Array.isArray(t))return e(t)}(a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).filter(function(e){return 1===e.nodeType&&e!==n&&(!r||e.matches(r))}
vendor: 4,431 bytes, lines 291-293
291)).forEach(function(e){var t=e.querySelectorAll("img.vp-lazyload, img.vp-lazyloading");t&&t.forEach(function(e){i(e)})}),!0}};r.swiperDuplicatesLoad=a,n.addEventListener("lazyloaded",function(e){if(!e.defaultPrevented&&e.detail&&!e.detail.swiperDuplicatesChecked&&e.target&&e.detail.instance===r){var t=e.target;e.detail.swiperDuplicatesChecked=a.run(t)}})}})})() 292;/*! lazysizes - v5.3.2 */ 293!function(e){var t=function(u,D,f){"use strict";var k,H;if(function(){var e;var t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};H=u.lazySizesConfig||u.lazysizesConfig||{};for(e in t){if(!(e in H)){H[e]=t[e]}}}(),!D||!D.getElementsByClassName){return{init:function(){},cfg:H,noSupport:!0}}var O=D.documentElement,i=u.HTMLPictureElement,P="addEventListener",$="getAttribute",q=u[P].bind(u),I=u.setTimeout,U=u.requestAnimationFrame||I,o=u.requestIdleCallback,j=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],a={},G=Array.prototype.forEach,J=function(e,t){if(!a[t]){a[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")}return a[t].test(e[$]("class")||"")&&a[t]},K=function(e,t){if(!J(e,t)){e.setAttribute("class",(e[$]("class")||"").trim()+" "+t)}},Q=function(e,t){var a;if(a=J(e,t)){e.setAttribute("class",(e[$]("class")||"").replace(a," "))}},V=function(t,a,e){var i=e?P:"removeEventListener";if(e){V(t,a)}r.forEach(function(e){t[i](e,a)})},X=function(e,t,a,i,r){var n=D.createEvent("Event");if(!a){a={}}a.instance=k;n.initEvent(t,!i,!r);n.detail=a;e.dispatchEvent(n);return n},Y=function(e,t){var a;if(!i&&(a=u.picturefill||H.pf)){if(t&&t.src&&!e[$]("srcset")){e.setAttribute("srcset",t.src)}a({reevaluate:!0,elements:[e]})}else if(t&&t.src){e.src=t.src}},Z=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,a){a=a||e.offsetWidth;while(a<H.minSize&&t&&!e._lazysizesWidth){a=t.offsetWidth;t=t.parentNode}return a},ee=function(){var a,i;var t=[];var r=[];var n=t;var s=function(){var e=n;n=t.length?r:t;a=!0;i=!1;while(e.length){e.shift()()}a=!1};var e=function(e,t){if(a&&!t){e.apply(this,arguments)}else{n.push(e);if(!i){i=!0;(D.hidden?I:U)(s)}}};e._lsFlush=s;return e}(),te=function(a,e){return e?function(){ee(a)}:function(){var e=this;var t=arguments;ee(function(){a.apply(e,t)})}},ae=function(e){var a;var i=0;var r=H.throttleDelay;var n=H.ricTimeout;var t=function(){a=!1;i=f.now();e()};var s=o&&n>49?function(){o(t,{timeout:n});if(n!==H.ricTimeout){n=H.ricTimeout}}:te(function(){I(t)},!0);return function(e){var t;if(e=e===!0){n=33}if(a){return}a=!0;t=r-(f.now()-i);if(t<0){t=0}if(e||t<9){s()}else{I(s,t)}}},ie=function(e){var t,a;var i=99;var r=function(){t=null;e()};var n=function(){var e=f.now()-a;if(e<i){I(n,i-e)}else{(o||r)(r)}};return function(){a=f.now();if(!t){t=I(n,i)}}},e=function(){var v,m,c,h,e;var y,z,g,p,C,b,A;var n=/^img$/i;var d=/^iframe$/i;var E="onscroll"in u&&!/(gle|ing)bot/.test(navigator.userAgent);var _=0;var w=0;var M=0;var N=-1;var L=function(e){M--;if(!e||M<0||!e.target){M=0}};var x=function(e){if(A==null){A=Z(D.body,"visibility")=="hidden"}return A||!(Z(e.parentNode,"visibility")=="hidden"&&Z(e,"visibility")=="hidden")};var W=function(e,t){var a;var i=e;var r=x(e);g-=t;b+=t;p-=t;C+=t;while(r&&(i=i.offsetParent)&&i!=D.body&&i!=O){r=(Z(i,"opacity")||1)>0;if(r&&Z(i,"overflow")!="visible"){a=i.getBoundingClientRect();r=C>a.left&&p<a.right&&b>a.top-1&&g<a.bottom+1}}return r};var t=function(){var e,t,a,i,r,n,s,o,l,u,f,c;var d=k.elements;if((h=H.loadMode)&&M<8&&(e=d.length)){t=0;N++;for(;t<e;t++){if(!d[t]||d[t]._lazyRace){continue}if(!E||k.prematureUnveil&&k.prematureUnveil(d[t])){R(d[t]);continue}if(!(o=d[t][$]("data-expand"))||!(n=o*1)){n=w}if(!u){u=!H.expand||H.expand<1?O.clientHeight>500&&O.clientWidth>500?500:370:H.expand;k._defEx=u;f=u*H.expFactor;c=H.hFac;A=null;if(w<f&&M<1&&N>2&&h>2&&!D.hidden){w=f;N=0}else if(h>1&&N>1&&M<6){w=u}else{w=_}}if(l!==n){y=innerWidth+n*c;z=innerHeight+n;s=n*-1;l=n}a=d[t].getBoundingClientRect();if((b=a.bottom)>=s&&(g=a.top)<=z&&(C=a.right)>=s*c&&(p=a.left)<=y&&(b||C||p||g)&&(H.loadHidden||x(d[t]))&&(m&&M<3&&!o&&(h<3||N<4)||W(d[t],n))){R(d[t]);r=!0;if(M>9){break}}else if(!r&&m&&!i&&M<4&&N<4&&h>
vendor: 3,760 bytes, lines 293-294
2932&&(v[0]||H.preloadAfterLoad)&&(v[0]||!o&&(b||C||p||g||d[t][$](H.sizesAttr)!="auto"))){i=v[0]||d[t]}}if(i&&!r){R(i)}}};var a=ae(t);var S=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}L(e);K(t,H.loadedClass);Q(t,H.loadingClass);V(t,B);X(t,"lazyloaded")};var i=te(S);var B=function(e){i({target:e.target})};var T=function(e,t){var a=e.getAttribute("data-load-mode")||H.iframeLoadMode;if(a==0){e.contentWindow.location.replace(t)}else if(a==1){e.src=t}};var F=function(e){var t;var a=e[$](H.srcsetAttr);if(t=H.customMedia[e[$]("data-media")||e[$]("media")]){e.setAttribute("media",t)}if(a){e.setAttribute("srcset",a)}};var s=te(function(t,e,a,i,r){var n,s,o,l,u,f;if(!(u=X(t,"lazybeforeunveil",e)).defaultPrevented){if(i){if(a){K(t,H.autosizesClass)}else{t.setAttribute("sizes",i)}}s=t[$](H.srcsetAttr);n=t[$](H.srcAttr);if(r){o=t.parentNode;l=o&&j.test(o.nodeName||"")}f=e.firesLoad||"src"in t&&(s||n||l);u={target:t};K(t,H.loadingClass);if(f){clearTimeout(c);c=I(L,2500);V(t,B,!0)}if(l){G.call(o.getElementsByTagName("source"),F)}if(s){t.setAttribute("srcset",s)}else if(n&&!l){if(d.test(t.nodeName)){T(t,n)}else{t.src=n}}if(r&&(s||l)){Y(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}Q(t,H.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!f||e){if(e){K(t,H.fastLoadedClass)}S(u);t._lazyCache=!0;I(function(){if("_lazyCache"in t){delete t._lazyCache}},9)}if(t.loading=="lazy"){M--}},!0)});var R=function(e){if(e._lazyRace){return}var t;var a=n.test(e.nodeName);var i=a&&(e[$](H.sizesAttr)||e[$]("sizes"));var r=i=="auto";if((r||!m)&&a&&(e[$]("src")||e.srcset)&&!e.complete&&!J(e,H.errorClass)&&J(e,H.lazyClass)){return}t=X(e,"lazyunveilread").detail;if(r){re.updateElem(e,!0,e.offsetWidth)}e._lazyRace=!0;M++;s(e,t,r,i,a)};var r=ie(function(){H.loadMode=3;a()});var o=function(){if(H.loadMode==3){H.loadMode=2}r()};var l=function(){if(m){return}if(f.now()-e<999){I(l,999);return}m=!0;H.loadMode=3;a();q("scroll",o,!0)};return{_:function(){e=f.now();k.elements=D.getElementsByClassName(H.lazyClass);v=D.getElementsByClassName(H.lazyClass+" "+H.preloadClass);q("scroll",a,!0);q("resize",a,!0);q("pageshow",function(e){if(e.persisted){var t=D.querySelectorAll("."+H.loadingClass);if(t.length&&t.forEach){U(function(){t.forEach(function(e){if(e.complete){R(e)}})})}}});if(u.MutationObserver){new MutationObserver(a).observe(O,{childList:!0,subtree:!0,attributes:!0})}else{O[P]("DOMNodeInserted",a,!0);O[P]("DOMAttrModified",a,!0);setInterval(a,999)}q("hashchange",a,!0);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){D[P](e,a,!0)});if(/d$|^c/.test(D.readyState)){l()}else{q("load",l);D[P]("DOMContentLoaded",a);I(l,2e4)}if(k.elements.length){t();ee._lsFlush()}else{a()}},checkElems:a,unveil:R,_aLSL:o}}(),re=function(){var a;var n=te(function(e,t,a,i){var r,n,s;e._lazysizesWidth=i;i+="px";e.setAttribute("sizes",i);if(j.test(t.nodeName||"")){r=t.getElementsByTagName("source");for(n=0,s=r.length;n<s;n++){r[n].setAttribute("sizes",i)}}if(!a.detail.dataAttr){Y(e,a.detail)}});var i=function(e,t,a){var i;var r=e.parentNode;if(r){a=s(e,r,a);i=X(e,"lazybeforesizes",{width:a,dataAttr:!!t});if(!i.defaultPrevented){a=i.detail.width;if(a&&a!==e._lazysizesWidth){n(e,r,i,a)}}}};var e=function(){var e;var t=a.length;if(t){e=0;for(;e<t;e++){i(a[e])}}};var t=ie(e);return{_:function(){a=D.getElementsByClassName(H.autosizesClass);q("resize",t)},checkElems:t,updateElem:i}}(),t=function(){if(!t.i&&D.getElementsByClassName){t.i=!0;re._();e._()}};return I(function(){H.init&&t()}),k={cfg:H,autoSizer:re,loader:e,init:t,uP:Y,aC:K,rC:Q,hC:J,fire:X,gW:s,rAF:ee}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{}) 294;
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.