PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/tiktechtok.org/wp-content/plugins/coming-soon/public/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/tiktechtok.org/wp-content/plugins/coming-soon/public/js/sp-scripts.min.js |
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e,t){var s,r;"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,s=e.Cookies,(r=e.Cookies=t()).noConflict=function(){return e.Cookies=s,r})}(void 0,function(){function n(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)e[r]=s[r]}return e}var p={read:function(e){return e.replace(/%3B/g,";")},write:function(e){return e.replace(/;/g,"%3B")}};return function t(i,o){function s(e,t,s){if("undefined"!=typeof document){"number"==typeof(s=n({},o,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),e=p.write(e).replace(/=/g,"%3D"),t=i.write(String(t),e);var r="";for(var a in s)s[a]&&(r+="; "+a,!0!==s[a]&&(r+="="+s[a].split(";")[0]));return document.cookie=e+"="+t+r}}return Object.create({set:s,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],s={},r=0;r<t.length;r++){var a=t[r].split("="),o=a.slice(1).join("="),n=p.read(a[0]).replace(/%3D/g,"=");if(s[n]=i.read(o,n),e===n)break}return e?s[e]:s}},remove:function(e,t){s(e,"",n({},t,{expires:-1}))},withAttributes:function(e){return t(this.converter,n({},this.attributes,e))},withConverter:function(e){return t(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(i)}})}(p,{path:"/"})});var seedprodCookies=Cookies.noConflict(),sp_emplacementRecaptcha=[],sp_option_id="";jQuery("form[id^=sp-optin-form]").submit(function(e){e.preventDefault();var t=jQuery(this).attr("id").replace("sp-optin-form-","");if(1===seeprod_enable_recaptcha)grecaptcha.execute(sp_emplacementRecaptcha[t]);else{sp_send_request("",t)}});var sp_CaptchaCallback=function(){jQuery("div[id^=recaptcha-]").each(function(e,t){sp_option_id=t.id.replace("recaptcha-",""),sp_emplacementRecaptcha[sp_option_id]=grecaptcha.render(t,{sitekey:"6LdfOukUAAAAAMCOEFEZ9WOSKyoYrxJcgXsf66Xr",badge:"bottomright",type:"image",size:"invisible",callback:function(e){sp_send_request(e,sp_option_id)}})})};function sp_send_request(e,a){var t=jQuery("#sp-optin-form-"+a).serialize(),s=jQuery.ajax({url:seedprod_api_url+"subscribers",type:"post",dataType:"json",timeout:5e3,data:t});jQuery("#sp-optin-form-"+a+" .sp-optin-submit").addClass("sp-ajax-striped sp-ajax-animated");var r=jQuery.ajax({url:sp_subscriber_callback_url,type:"post",timeout:3e4,data:t});jQuery.when(s,r).done(function(e,t){var s=jQuery("#sp-optin-form-"+a+" input[name^='seedprod_action']").val();if("1"==s&&(jQuery("#sp-optin-form-"+a).hide(),jQuery("#sp-optin-success-"+a).show()),"2"===s){var r=jQuery("#sp-optin-form-"+a+" input[name^='redirect_url']").val();window.location.href=r}jQuery("#sp-optin-form-"+a+" .sp-optin-submit").removeClass("sp-ajax-striped sp-ajax-animated")}).fail(function(e,t,s){jQuery("#sp-optin-form-"+a+" .sp-optin-submit").removeClass("sp-ajax-striped sp-ajax-animated"),1===seeprod_enable_recaptcha&&grecaptcha.reset(sp_emplacementRecaptcha[a])})}var x=[];function countdown(e,n,i,p,c){var t=(new Date).getTime();if("vt"==e){n+=t;var s=seedprodCookies.get("seedprod_enddate_"+i);null!=s?n=s:seedprodCookies.set("seedprod_enddate_"+i,n,{expires:360})}x[i]=setInterval(function(){var e=(new Date).getTime(),t=n-e,s=Math.floor(t/864e5),r=Math.floor(t%864e5/36e5),a=Math.floor(t%36e5/6e4),o=Math.floor(t%6e4/1e3);-1==o&&(s=r=a=o=0),0==s?jQuery("#sp-cd-days-"+i).hide():jQuery("#sp-cd-days-"+i+" .sp-cd-amount").html(pad(s,2)),jQuery("#sp-cd-hours-"+i+" .sp-cd-amount").html(pad(r,2)),jQuery("#sp-cd-minutes-"+i+" .sp-cd-amount").html(pad(a,2)),jQuery("#sp-cd-seconds-"+i+" .sp-cd-amount").html(pad(o,2)),t<0&&(clearInterval(x[i]),"1"==p&&(jQuery("#sp-countdown-"+i+" .sp-countdown-group").hide(),jQuery("#sp-countdown-expired-"+i).show()),"2"==p&&(jQuery("#sp-countdown-"+i+" .sp-countdown-group").hide(),window.location.href=c),"3"==p&&seedprodCookies.remove("seedprod_enddate_"+i))},1e3)}function seedprod_animatedheadline(e,t,s,r){"true"==t&&window.setInterval(function(){jQuery("#sp-animated-head-"+e+" .sp-title-highlight .sp-title--headline.sp-animated").addClass("sp-hide-highlight"),setTimeout(function(){jQuery("#sp-animated-head-"+e+" .sp-title-highlight .sp-title--headline.sp-animated").removeClass("sp-hide-highlight")},200)},r)}function seedprod_rotateheadline(e,t,s){jQuery("#sp-animated-head-"+e+" .preview-sp-title").seedprod_responsive_title_shortcode()}function pad(e,t,s){return s=s||"0",(e+="").length>=t?e:new Array(t-e.length+1).join(s)+e}function seedprod_escapeHtml(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function seedprod_tabbedlayout(t){jQuery("#sp-"+t+" ul.sp-tabbedlayout-wrapper li a").click(function(){jQuery("#sp-"+t+" ul.sp-tabbedlayout-wrapper li a").removeClass("sp-active-tab");var e=jQuery(this).attr("data-tab");jQuery("#sp-"+t+" ul.sp-tabbedlayout-wrapper li a.sp-tab-section-"+e).addClass("sp-active-tab"),jQuery("#sp-"+t+" div.tab-content-box").addClass("sp-hidden"),jQuery("#sp-"+t+" div.sp-tab-content-section-"+e).removeClass("sp-hidden")})}function seedprod_bg_slideshow(e,t){var s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:5e3,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"ease-in",a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:500;document.querySelector(e).style.backgroundSize="cover",document.querySelector(e).style.backgroundRepeat="no-repeat",document.querySelector(e).style.backgroundPosition="center center";var o="all "+a+"ms "+r;document.querySelector(e).style.WebkitTransition=o,document.querySelector(e).style.MozTransition=o,document.querySelector(e).style.MsTransition=o,document.querySelector(e).style.OTransition=o,document.querySelector(e).style.transition=o;var n=0;document.querySelector(e).style.backgroundImage="url('"+t[n]+"')",n++,setInterval(function(){document.querySelector(e).style.backgroundImage="url('"+t[n]+"')",++n>=t.length&&(n=0)},s);var i=new Array;t.forEach(function(e,t){i[t]=new Image,i[t].src=e})}jQuery(document).ready(function(e){e('link[href*="/wp-content/themes/"]').remove()}),jQuery(document).ready(function(e){for(var t="{MM}/{dd}/{yyyy}",s=e("body").html().split("[#"),r=1;r<s.length;r++){var a=t,o=s[r].split("]")[0],n=o.split(":");a=1<n.length?n[1]:t;var i=Date.create(n[0]),p=new RegExp("\\[#"+o+"]","g");e("body *").replaceText(p,i.format(a))}e(".sp-dynamic-text").contents().unwrap()}),jQuery(document).ready(function(e){for(var t=e("body").html().split("[q:"),s=1;s<t.length;s++){var r="",a=t[s].split("]")[0],o=a.split("=");r=1<o.length?o[1]:"";var n=o[0],i=new RegExp("\\[q:"+a+"]","g"),p=new URLSearchParams(window.location.search).get(n);null!=p&&(r=p);var c=e("body").html().replace(i,seedprod_escapeHtml(r));e("body").html(c)}e(".sp-dynamic-text").contents().unwrap()}),jQuery(".sp-testimonial-nav button").click(function(){var e="#"+jQuery(this).parents(".sp-testimonials-wrapper").attr("id"),t=jQuery(e+" .sp-testimonial-nav button").index(this),s=0,r=jQuery(".sp-testimonial-wrapper",jQuery(this).parents(e)),a=jQuery(this).parents(".sp-testimonials-wrapper").attr("data-slidetoshow");null==a&&(a=1);for(var o=Math.ceil(r.length/parseInt(a)),n=0;n<o;n++){.5<=jQuery(e+' .sp-testimonial-nav button[data-index="'+n+'"]').css("opacity")&&(s=n)}var i=jQuery(e+" .sp-testimonial-nav button").length-1,p=jQuery(e+" .sp-testimonial-nav button").eq(t).attr("data-index");0==t&&(0==s?s=Math.ceil(r.length/parseInt(a))-1:s--),t==i&&(Math.ceil(r.length/parseInt(a))-1==s?s=0:s++),r.css({opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-testimonial-nav button[data-index]").css({opacity:.25});var c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));if(void 0!==p){s=p,c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var l=c;l<u;l++)jQuery(r).eq(l).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-testimonial-nav button").eq(t).css({opacity:1})}else{c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var d=c;d<u;d++)jQuery(r).eq(d).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-testimonial-nav button").eq(s+1).css({opacity:1})}});var testimonial_timers={};function seedprod_twitterembedtimeline(t,s,r,a,o,n,i,p,c,u){twttr.ready(function(e){window.twttr.widgets.createTimeline({sourceType:"profile",screenName:s},document.getElementById("sp-twitterembedtimeline-preview-"+t),{showReplies:r,width:a,height:o,chrome:n,align:i,borderColor:p,theme:c,lang:u}).then(function(e){})})}function seedprod_twittertweetbutton(t,s,r,a,o,n,i,p){twttr.ready(function(e){window.twttr.widgets.createShareButton(s,document.getElementById("sp-twittertweetbutton-preview-"+t),{size:r,text:a,hashtags:o,via:n,related:i,lang:p})})}jQuery(".sp-testimonials-wrapper").each(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=jQuery(this).attr("data-speed");s=""===s?5e3:1e3*parseInt(s),void 0!==e&&(testimonial_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-testimonial-nav button:last-child").triggerHandler(e)},s))}),jQuery(".sp-testimonials-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(testimonial_timers[e])}),jQuery(".sp-testimonials-wrapper").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=jQuery(this).attr("data-speed");s=""===s?5e3:1e3*parseInt(s),void 0!==e&&(testimonial_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-testimonial-nav button:last-child").triggerHandler(e)},s))}),jQuery(".sp-imagecarousel-nav button").click(function(){var e="#"+jQuery(this).parents(".sp-imagecarousels-wrapper").attr("id"),t=jQuery(e+" .sp-imagecarousel-nav button").index(this),s=0,r=jQuery(".sp-imagecarousel-wrapper",jQuery(this).parents(e)),a=jQuery(this).parents(".sp-imagecarousels-wrapper").attr("data-slidetoshow");null==a&&(a=1);for(var o=Math.ceil(r.length/parseInt(a)),n=0;n<o;n++){.5<=jQuery(e+' .sp-imagecarousel-nav button[data-index="'+n+'"]').css("opacity")&&(s=n)}var i=jQuery(e+" .sp-imagecarousel-nav button").length-1,p=jQuery(e+" .sp-imagecarousel-nav button").eq(t).attr("data-index");0==t&&(0==s?s=Math.ceil(r.length/parseInt(a))-1:s--),t==i&&(Math.ceil(r.length/parseInt(a))-1==s?s=0:s++);var c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));if(r.css({opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-imagecarousel-nav button[data-index]").css({opacity:.25}),void 0!==p){s=p,c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var l=c;l<u;l++)jQuery(r).eq(l).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-imagecarousel-nav button").eq(t).css({opacity:1})}else{c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var d=c;d<u;d++)jQuery(r).eq(d).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-imagecarousel-nav button").eq(s+1).css({opacity:1})}});var imagecarousel_timers={};function PureDropdown(e){var t="seedprod-menu-active",s="role",r="aria-hidden",a=".menu-item a",o=window.hasOwnProperty&&window.hasOwnProperty("ontouchstart")?"touchstart":"mousedown",n=this;this._state=1,this.show=function(){0!==this._state&&(this._dropdownParent.classList.add(t),this._menu.setAttribute(r,!1),this._state=0)},this.hide=function(){1!==this._state&&(this._dropdownParent.classList.remove(t),this._menu.setAttribute(r,!0),this._link.focus(),this._state=1)},this.toggle=function(){this[1===this._state?"show":"hide"]()},this.halt=function(e){e.stopPropagation(),e.preventDefault()},this._dropdownParent=e,this._link=this._dropdownParent.querySelector(a),this._menu=this._dropdownParent.querySelector(".sub-menu"),this._firstMenuLink=this._menu.querySelector(a),this._link.setAttribute("aria-haspopup","true"),this._menu.setAttribute(s,"menu"),this._menu.setAttribute("aria-labelledby",this._link.getAttribute("id")),this._menu.setAttribute("aria-hidden","true"),[].forEach.call(this._menu.querySelectorAll("li"),function(e){e.setAttribute(s,"presentation")}),[].forEach.call(this._menu.querySelectorAll("a"),function(e){e.setAttribute(s,"menuitem")}),this._link.addEventListener("click",function(e){0!==n._state&&(e.stopPropagation(),e.preventDefault(),n.show())}),this._link.addEventListener("mouseover",function(e){e.stopPropagation(),e.preventDefault(),window.matchMedia("only screen and (min-width: 768px)").matches&&n.toggle()}),this._link.addEventListener("mouseout",function(e){e.stopPropagation(),e.preventDefault(),window.matchMedia("only screen and (min-width: 768px)").matches&&(n.hide(),n._link.blur())}),document.addEventListener("keydown",function(e){var t,s,r,a,o;if(0===n._state&&!n._menu.querySelector(".menu-item-active"))if(t=n._menu.querySelector(":focus"),27===e.keyCode)n.halt(e),n.hide();else if(40===e.keyCode){for(n.halt(e),r=t?t.parentNode.nextSibling:null;r&&1!==r.nodeType;)r=r.nextSibling;o=r?r.querySelector(".menu-item a"):null,t?o&&o.focus():n._menu.querySelector(".menu-item a").focus()}else if(38===e.keyCode){for(n.halt(e),s=t?t.parentNode.previousSibling:null;s&&1!==s.nodeType;)s=s.previousSibling;a=s?s.querySelector(".menu-item a"):null,t?a&&a.focus():n._menu.querySelector(".menu-item:last-child .menu-item a").focus()}}),document.addEventListener(o,function(e){var t=e.target;t===n._link||n._menu.contains(t)||(n.hide(),n._link.blur())})}function initDropdowns(){for(var e=document.querySelectorAll(".menu-item-has-children"),t=0;t<e.length;t++)new PureDropdown(e[t])}function seedprod_add_basic_lightbox(e){jQuery("#sp-"+e+" a").click(function(){return!1}),new ImgPreviewer("#sp-"+e,{scrollbar:!0,dataUrlKey:"href"}).update()}function seedprod_add_gallery_lightbox(e){jQuery("#sp-"+e+" a.sp-gallery-items").click(function(){return!1});var t=new ImgPreviewer("#sp-"+e+" .sp-gallery-block",{scrollbar:!0,dataUrlKey:"href"});t.update(),jQuery("#sp-"+e+" .sp-gallery-tabs a.sp-gallery-tab-title").click(function(){var s=jQuery(this).attr("data-gallery-index");jQuery("#sp-"+e+" .sp-gallery-tab-title").removeClass("sp-tab-active"),jQuery(this).addClass("sp-tab-active"),jQuery.each(jQuery("#sp-"+e+" .sp-gallery-items"),function(e,t){(jQuery(this).removeClass("sp-hidden-items"),jQuery(this).removeClass("zoom-in"),"all"!=s)&&(-1<jQuery(t).data("tags").indexOf(s)||jQuery(this).addClass("sp-hidden-items"))}),t.update()})}function seedprod_add_gallery_js(e){jQuery("#sp-"+e+" .sp-gallery-tabs a.sp-gallery-tab-title").click(function(){var s=jQuery(this).attr("data-gallery-index");jQuery("#sp-"+e+" .sp-gallery-tab-title").removeClass("sp-tab-active"),jQuery(this).addClass("sp-tab-active"),jQuery.each(jQuery("#sp-"+e+" .sp-gallery-items"),function(e,t){(jQuery(this).removeClass("sp-hidden-items"),jQuery(this).removeClass("zoom-in"),"all"!=s)&&(-1<jQuery(t).data("tags").indexOf(s)||jQuery(this).addClass("sp-hidden-items"))})})}function counter(e){var t=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-duration"),s=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-start-number"),r=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-end-number"),a=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-thousands-separator"),o=jQuery("#sp-counter-".concat(e," .sp-counter-text-wrapper .sp-counter-number")).attr("data-separator"),n={};n.duration=t,n.delimiter=a?{default:",",space:" ",dot:"."}[o]:"",n.toValue=r,jQuery("#sp-counter-number-".concat(e)).html(s),jQuery("#sp-counter-number-".concat(e)).numerator(n)}function postcomments(e){var t="#sp-".concat(e," .sp-postcomments-content-policy-").concat(e),s=jQuery(t).html(),r=jQuery('<p class="commentpolicy"></p>').html(s),a="#sp-".concat(e," #commentform");document.querySelector(a)&&jQuery(a).prepend(r)}function beforeafterslider(e,t){jQuery("#sp-toggle-".concat(e," .twentytwenty-container")).twentytwenty(t)}function hotspotTooltips(r,e){var a=jQuery("#sp-".concat(r," .sp-hotspot-image")).attr("data-tooltip-trigger"),o=jQuery("#sp-".concat(r," .sp-hotspot-image")).attr("data-tooltip-animation"),n=jQuery("#sp-".concat(r," .sp-hotspot-image")).attr("data-tooltip-duration"),i=jQuery("#sp-".concat(r," .sp-hotspot-image")).attr("data-tooltip-position"),p=jQuery("#sp-".concat(r," .sp-hotspot-image")).attr("data-tooltip-show-arrow"),c=jQuery("#sp-".concat(r," .sp-hotspot-image")).attr("data-tooltip-max-width");(e=JSON.parse(e)).map(function(e,t){var s="#sp-".concat(r," #hotspot-").concat(r,"-").concat(t);jQuery(s).tooltipster({animation:o,delay:n,trigger:a,side:i,arrow:"true"===p,maxWidth:c,content:e.tooltipContent,contentCloning:!0,contentAsHTML:!0})})}function seedprod_add_content_toggle_js(e){0==jQuery(this).is(":checked")?(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").removeClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").addClass("sp-hidden")):(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").addClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").removeClass("sp-hidden")),jQuery("#sp-contenttoggle-"+e+" .sp-content-toggle-area .sp-toggle-switch").change(function(){0==jQuery(this).is(":checked")?(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").removeClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").addClass("sp-hidden")):(jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections1").addClass("sp-hidden"),jQuery("#sp-contenttoggle-"+e+" .sp-toggle-sections .sp-toggle-sections2").removeClass("sp-hidden"))})}jQuery(".sp-imagecarousels-wrapper").each(function(e){var t="#"+jQuery(this).attr("id"),s=jQuery(this).attr("data-autoplay"),r=jQuery(this).attr("data-speed");r=""===r?5e3:1e3*parseInt(r),void 0!==s&&(imagecarousel_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-imagecarousel-nav button:last-child").triggerHandler(e)},r))}),jQuery(".sp-imagecarousels-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(imagecarousel_timers[e])}),jQuery(".sp-imagecarousels-wrapper").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=jQuery(this).attr("data-speed");s=""===s?5e3:1e3*parseInt(s),void 0!==e&&(imagecarousel_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-imagecarousel-nav button:last-child").triggerHandler(e)},s))}),jQuery(".hamburger").click(function(){jQuery(this).toggleClass("active"),jQuery(this).next(".nav-menu").toggleClass("active")}),jQuery.fn.isInViewport=function(){var e=jQuery(this).offset().top,t=e+jQuery(this).outerHeight(),s=jQuery(window).scrollTop(),r=s+jQuery(window).height();return s<t&&e<r},jQuery(".sp-type-alert button.sp-alert-close").click(function(){jQuery(this).parents(".sp-type-alert").hide()}),jQuery(".sp-businessreview-nav button").click(function(){var e="#"+jQuery(this).parents(".sp-businessreview-wrapper").attr("id"),t=jQuery(e+" .sp-businessreview-nav button").index(this),s=0,r=jQuery(".seedprod-business-review-wrapper",jQuery(this).parents(e)),a=jQuery(this).parents(".sp-businessreview-wrapper").attr("data-slidetoshow");null==a&&(a=1);for(var o=Math.ceil(r.length/parseInt(a)),n=0;n<o;n++){.5<=jQuery(e+' .sp-businessreview-nav button[data-index="'+n+'"]').css("opacity")&&(s=n)}var i=jQuery(e+" .sp-businessreview-nav button").length-1,p=jQuery(e+" .sp-businessreview-nav button").eq(t).attr("data-index");0==t&&(0==s?s=Math.ceil(r.length/parseInt(a))-1:s--),t==i&&(Math.ceil(r.length/parseInt(a))-1==s?s=0:s++),r.css({"z-index":999,opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-businessreview-nav button[data-index]").css({opacity:.25});var c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));if(void 0!==p){s=p,c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var l=c;l<u;l++)jQuery(r).eq(l).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-businessreview-nav button").eq(t).css({opacity:1})}else{c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var d=c;d<u;d++)jQuery(r).eq(d).css({opacity:1,height:"auto",position:"initial"});jQuery(e+" .sp-businessreview-nav button").eq(s+1).css({opacity:1})}});var businessreview_timers={};function seedprod_particlessectionjs(e,t){particlesJS("tsparticles-preview-sp-"+e,t)}function seedprod_pro_video_pop_up_trigger_video(t,s,e){var r=JSON.parse(e),a="custom"===r.source?"sp-video-responsive-video":"sp-video-responsive";r.enable_image_overlay&&(r.enable_lightbox?(jQuery("#sp-".concat(t," .sp-video-pop-up-image-overlay-container")).click(function(){jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t," .modal-content")).html('<div id="sp-video-responsive-'.concat(t,'" class="').concat(a,' sp-video-pop-up-video">').concat(s,"</div>")),jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t)).css("display","block")}),jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t," span.close")).click(function(){jQuery("#sp-".concat(t," #video-pop-up-lightbox-modal-").concat(t)).css("display","none")})):jQuery("#sp-".concat(t," .sp-video-pop-up-image-overlay-container")).click(function(){jQuery("#sp-".concat(t," .sp-video-pop-up-image-overlay-container")).remove(),jQuery("#sp-".concat(t," .sp-video-wrapper")).append('<div id="sp-video-responsive-'.concat(t,'" class="').concat(a,' sp-video-pop-up-video">').concat(s,"</div>")),jQuery("#sp-".concat(t," #sp-video-responsive-").concat(t)).css("aspect-ratio",r.aspect_ratio)})),r.enable_sticky_video&&!r.enable_lightbox&&jQuery(window).on("resize scroll",function(){window.matchMedia("only screen and (min-width: 960px)").matches&&(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).isInViewport()?(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).removeClass("sp-video-wrapper-sticky").addClass("sp-video-wrapper"),jQuery("#sp-".concat(t," #sp-video-responsive-").concat(t)).removeClass("sp-video-responsive-sticky").addClass(a),r.enable_banner&&("custom"===r.source?jQuery("#sp-".concat(t," #sp-video-pop-up-banner-").concat(t)).removeClass("sp-video-pop-up-banner-custom-sticky").addClass("sp-video-pop-up-banner"):"vimeo"===r.source?jQuery("#sp-".concat(t," #sp-video-pop-up-banner-").concat(t)).removeClass("sp-video-pop-up-banner-vimeo-sticky").addClass("sp-video-pop-up-banner"):jQuery("#sp-".concat(t," #sp-video-pop-up-banner-").concat(t)).removeClass("sp-video-pop-up-banner-sticky").addClass("sp-video-pop-up-banner"))):(jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).removeClass("sp-video-wrapper").addClass("sp-video-wrapper-sticky"),jQuery("#sp-".concat(t," #sp-video-responsive-").concat(t)).removeClass(a).addClass("sp-video-responsive-sticky"),r.enable_banner&&("custom"===r.source?jQuery("#sp-".concat(t," #sp-video-pop-up-banner-").concat(t)).removeClass("sp-video-pop-up-banner").addClass("sp-video-pop-up-banner-custom-sticky"):"vimeo"===r.source?jQuery("#sp-".concat(t," #sp-video-pop-up-banner-").concat(t)).removeClass("sp-video-pop-up-banner").addClass("sp-video-pop-up-banner-vimeo-sticky"):jQuery("#sp-".concat(t," #sp-video-pop-up-banner-").concat(t)).removeClass("sp-video-pop-up-banner").addClass("sp-video-pop-up-banner-sticky"))))}),r.enable_teaser_video&&jQuery("#sp-".concat(t," .sp-video-pop-up-teaser-video-play-icon-display, #sp-").concat(t," .sp-video-pop-up-teaser-video-play-icon-display i")).click(function(){var e="";r.enable_sticky_video?window.matchMedia("only screen and (min-width: 960px)").matches&&(e=jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).isInViewport()?"sp-video-wrapper ".concat(a):"sp-video-wrapper-sticky sp-video-responsive-sticky"):e="sp-video-wrapper ".concat(a),"custom"===r.source&&(s=s.replace("muted","controls")),"youtube"===r.source&&(s=(s=s.replace("mute=1","mute=0")).replace("controls=0","controls=1")),"vimeo"===r.source&&(s=(s=s.replace("muted=1","muted=0")).replace("controls=0","controls=1")),jQuery("#sp-".concat(t," .sp-video-pop-up-teaser-video-play-icon-display")).remove(),jQuery("#sp-".concat(t," .sp-video-pop-up-teaser-video")).remove(),jQuery("#sp-".concat(t," #sp-video-wrapper-").concat(t)).append('<div id="sp-video-responsive-'.concat(t,'" class="').concat(e,' sp-video-pop-up-video">').concat(s,"</div>")),jQuery("#sp-".concat(t," #sp-video-responsive-").concat(t)).css("aspect-ratio",r.aspect_ratio)})}jQuery(".sp-businessreview-wrapper").each(function(e){var t="#"+jQuery(this).attr("id"),s=jQuery(this).attr("data-autoplay"),r=jQuery(this).attr("data-speed");r=""===r?5e3:1e3*parseInt(r),void 0!==s&&(businessreview_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-businessreview-nav button:last-child").triggerHandler(e)},r))}),jQuery(".sp-businessreview-wrapper").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(businessreview_timers[e])}),jQuery(".sp-businessreview-wrapper").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=jQuery(this).attr("data-speed");s=""===s?5e3:1e3*parseInt(s),void 0!==e&&(businessreview_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-businessreview-nav button:last-child").triggerHandler(e)},s))}),jQuery(".sp-postblock-nav button").click(function(){var e="#"+jQuery(this).parents(".sp-posts-block-wrapper").attr("id"),t=jQuery(e+" .sp-postblock-nav button").index(this),s=0,r=jQuery(".sp-posts-single-block",jQuery(this).parents(e)),a=jQuery(this).parents(".sp-posts-block-wrapper").attr("data-slidetoshow");null==a&&(a=1);for(var o=Math.ceil(r.length/parseInt(a)),n=0;n<o;n++){.5<=jQuery(e+' .sp-postblock-nav button[data-index="'+n+'"]').css("opacity")&&(s=n)}var i=jQuery(e+" .sp-postblock-nav button").length-1,p=jQuery(e+" .sp-postblock-nav button").eq(t).attr("data-index");0==t&&(0==s?s=Math.ceil(r.length/parseInt(a))-1:s--),t==i&&(Math.ceil(r.length/parseInt(a))-1==s?s=0:s++),r.css({"z-index":999,opacity:0,height:"0",position:"absolute"}),jQuery(e+" .sp-postblock-nav button[data-index]").css({opacity:.25});var c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));if(void 0!==p){s=p,c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var l=c;l<u;l++)jQuery(r).eq(l).css({opacity:1,height:"auto",position:""});jQuery(e+" .sp-postblock-nav button").eq(t).css({opacity:1})}else{c=parseInt(s*parseInt(a)),u=parseInt(c+parseInt(a));for(var d=c;d<u;d++)jQuery(r).eq(d).css({opacity:1,height:"auto",position:""});jQuery(e+" .sp-postblock-nav button").eq(s+1).css({opacity:1})}});var postblock_timers={};jQuery(".sp-posts-block-wrapper.sp-posts-skinlayout-carousel").each(function(e){var t="#"+jQuery(this).attr("id"),s=jQuery(this).attr("data-autoplay"),r=jQuery(this).attr("data-speed");r=""===r?5e3:1e3*parseInt(r),void 0!==s&&(postblock_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-postblock-nav button:last-child").triggerHandler(e)},r))}),jQuery(".sp-posts-block-wrapper.sp-posts-skinlayout-carousel").hover(function(){var e="#"+jQuery(this).attr("id");clearInterval(postblock_timers[e])}),jQuery(".sp-posts-block-wrapper.sp-posts-skinlayout-carousel").mouseleave(function(){var t="#"+jQuery(this).attr("id"),e=jQuery(this).attr("data-autoplay"),s=jQuery(this).attr("data-speed");s=""===s?5e3:1e3*parseInt(s),void 0!==e&&(postblock_timers[t]=setInterval(function(){var e=jQuery.Event("click");e.preventDefault(),jQuery(t+" .sp-postblock-nav button:last-child").triggerHandler(e)},s))}),0<jQuery(".sp-skin-block.sp-layout-masonary .seedprod-masonary-post-block").length&&jQuery(".sp-skin-block.sp-layout-masonary .seedprod-masonary-post-block").imagesLoaded(function(e){jQuery(" .sp-skin-block.sp-layout-masonary .seedprod-masonary-post-block").isotope({layoutMode:"masonry",itemSelector:".sp-posts-single-block"})});