HEX
Server: Apache
System: Linux karenjy.websitewelcome.com 5.14.0-611.47.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 8 20:00:39 EDT 2026 x86_64
User: codecapperu (2057)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home2/codecapperu/public_html/wp-content/uploads/theplus-addons/theplus-term-62.min.js
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(t="undefined"!=typeof globalThis?globalThis:t||self).LazyLoad=n()}(this,(function(){"use strict";function t(){return(t=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t}).apply(this,arguments)}var n="undefined"!=typeof window,e=n&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),i=n&&"IntersectionObserver"in window,o=n&&"classList"in document.createElement("p"),r=n&&window.devicePixelRatio>1,a={elements_selector:".lazy",container:e||n?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},c=function(n){return t({},a,n)},s=function(t,n){var e,i="LazyLoad::Initialized",o=new t(n);try{e=new CustomEvent(i,{detail:{instance:o}})}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:o})}window.dispatchEvent(e)},l="loading",u="loaded",d="applied",f="error",_="native",g="data-",v="ll-status",b=function(t,n){return t.getAttribute(g+n)},p=function(t){return b(t,v)},h=function(t,n){return function(t,n,e){var i="data-ll-status";null!==e?t.setAttribute(i,e):t.removeAttribute(i)}(t,0,n)},m=function(t){return h(t,null)},E=function(t){return null===p(t)},y=function(t){return p(t)===_},I=[l,u,d,f],A=function(t,n,e,i){t&&(void 0===i?void 0===e?t(n):t(n,e):t(n,e,i))},L=function(t,n){o?t.classList.add(n):t.className+=(t.className?" ":"")+n},w=function(t,n){o?t.classList.remove(n):t.className=t.className.replace(new RegExp("(^|\\s+)"+n+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},k=function(t){return t.llTempImage},O=function(t,n){if(n){var e=n._observer;e&&e.unobserve(t)}},x=function(t,n){t&&(t.loadingCount+=n)},z=function(t,n){t&&(t.toLoadCount=n)},C=function(t){for(var n,e=[],i=0;n=t.children[i];i+=1)"SOURCE"===n.tagName&&e.push(n);return e},N=function(t,n,e){e&&t.setAttribute(n,e)},M=function(t,n){t.removeAttribute(n)},R=function(t){return!!t.llOriginalAttrs},T=function(t){if(!R(t)){var n={};n.src=t.getAttribute("src"),n.srcset=t.getAttribute("srcset"),n.sizes=t.getAttribute("sizes"),t.llOriginalAttrs=n}},G=function(t){if(R(t)){var n=t.llOriginalAttrs;N(t,"src",n.src),N(t,"srcset",n.srcset),N(t,"sizes",n.sizes)}},D=function(t,n){N(t,"sizes",b(t,n.data_sizes)),N(t,"srcset",b(t,n.data_srcset)),N(t,"src",b(t,n.data_src))},V=function(t){M(t,"src"),M(t,"srcset"),M(t,"sizes")},j=function(t,n){var e=t.parentNode;e&&"PICTURE"===e.tagName&&C(e).forEach(n)},F={IMG:function(t,n){j(t,(function(t){T(t),D(t,n)})),T(t),D(t,n)},IFRAME:function(t,n){N(t,"src",b(t,n.data_src))},VIDEO:function(t,n){!function(t,e){C(t).forEach((function(t){N(t,"src",b(t,n.data_src))}))}(t),N(t,"poster",b(t,n.data_poster)),N(t,"src",b(t,n.data_src)),t.load()}},P=function(t,n){var e=F[t.tagName];e&&e(t,n)},S=function(t,n,e){x(e,1),L(t,n.class_loading),h(t,l),A(n.callback_loading,t,e)},U=["IMG","IFRAME","VIDEO"],$=function(t,n){!n||function(t){return t.loadingCount>0}(n)||function(t){return t.toLoadCount>0}(n)||A(t.callback_finish,n)},q=function(t,n,e){t.addEventListener(n,e),t.llEvLisnrs[n]=e},H=function(t,n,e){t.removeEventListener(n,e)},B=function(t){return!!t.llEvLisnrs},J=function(t){if(B(t)){var n=t.llEvLisnrs;for(var e in n){var i=n[e];H(t,e,i)}delete t.llEvLisnrs}},K=function(t,n,e){!function(t){delete t.llTempImage}(t),x(e,-1),function(t){t&&(t.toLoadCount-=1)}(e),w(t,n.class_loading),n.unobserve_completed&&O(t,e)},Q=function(t,n,e){var i=k(t)||t;B(i)||function(t,n,e){B(t)||(t.llEvLisnrs={});var i="VIDEO"===t.tagName?"loadeddata":"load";q(t,i,n),q(t,"error",e)}(i,(function(o){!function(t,n,e,i){var o=y(n);K(n,e,i),L(n,e.class_loaded),h(n,u),A(e.callback_loaded,n,i),o||$(e,i)}(0,t,n,e),J(i)}),(function(o){!function(t,n,e,i){var o=y(n);K(n,e,i),L(n,e.class_error),h(n,f),A(e.callback_error,n,i),o||$(e,i)}(0,t,n,e),J(i)}))},W=function(t,n,e){!function(t){t.llTempImage=document.createElement("IMG")}(t),Q(t,n,e),function(t,n,e){var i=b(t,n.data_bg),o=b(t,n.data_bg_hidpi),a=r&&o?o:i;a&&(t.style.backgroundImage='url("'.concat(a,'")'),k(t).setAttribute("src",a),S(t,n,e))}(t,n,e),function(t,n,e){var i=b(t,n.data_bg_multi),o=b(t,n.data_bg_multi_hidpi),a=r&&o?o:i;a&&(t.style.backgroundImage=a,function(t,n,e){L(t,n.class_applied),h(t,d),n.unobserve_completed&&O(t,n),A(n.callback_applied,t,e)}(t,n,e))}(t,n,e)},X=function(t,n,e){!function(t){return U.indexOf(t.tagName)>-1}(t)?W(t,n,e):function(t,n,e){Q(t,n,e),P(t,n),S(t,n,e)}(t,n,e)},Y=["IMG","IFRAME","VIDEO"],Z=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},tt=function(t,n,e){t.forEach((function(t){return function(t){return t.isIntersecting||t.intersectionRatio>0}(t)?function(t,n,e,i){var o=function(t){return I.indexOf(p(t))>=0}(t);h(t,"entered"),L(t,e.class_entered),w(t,e.class_exited),function(t,n,e){n.unobserve_entered&&O(t,e)}(t,e,i),A(e.callback_enter,t,n,i),o||X(t,e,i)}(t.target,t,n,e):function(t,n,e,i){E(t)||(L(t,e.class_exited),function(t,n,e,i){e.cancel_on_exit&&function(t){return p(t)===l}(t)&&"IMG"===t.tagName&&(J(t),function(t){j(t,(function(t){V(t)})),V(t)}(t),function(t){j(t,(function(t){G(t)})),G(t)}(t),w(t,e.class_loading),x(i,-1),m(t),A(e.callback_cancel,t,n,i))}(t,n,e,i),A(e.callback_exit,t,n,i))}(t.target,t,n,e)}))},nt=function(t){return Array.prototype.slice.call(t)},et=function(t){return t.container.querySelectorAll(t.elements_selector)},it=function(t){return function(t){return p(t)===f}(t)},ot=function(t,n){return function(t){return nt(t).filter(E)}(t||et(n))},rt=function(t,e){var o=c(t);this._settings=o,this.loadingCount=0,function(t,n){i&&!Z(t)&&(n._observer=new IntersectionObserver((function(e){tt(e,t,n)}),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(t)))}(o,this),function(t,e){n&&window.addEventListener("online",(function(){!function(t,n){var e;(e=et(t),nt(e).filter(it)).forEach((function(n){w(n,t.class_error),m(n)})),n.update()}(t,e)}))}(o,this),this.update(e)};return rt.prototype={update:function(t){var n,o,r=this._settings,a=ot(t,r);z(this,a.length),!e&&i?Z(r)?function(t,n,e){t.forEach((function(t){-1!==Y.indexOf(t.tagName)&&function(t,n,e){t.setAttribute("loading","lazy"),Q(t,n,e),P(t,n),h(t,_)}(t,n,e)})),z(e,0)}(a,r,this):(o=a,function(t){t.disconnect()}(n=this._observer),function(t,n){n.forEach((function(n){t.observe(n)}))}(n,o)):this.loadAll(a)},destroy:function(){this._observer&&this._observer.disconnect(),et(this._settings).forEach((function(t){delete t.llOriginalAttrs})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var n=this,e=this._settings;ot(t,e).forEach((function(t){O(t,n),X(t,e,n)}))}},rt.load=function(t,n){var e=c(n);X(t,e)},rt.resetStatus=function(t){m(t)},n&&function(t,n){if(n)if(n.length)for(var e,i=0;e=n[i];i+=1)s(t,e);else s(t,n)}(rt,window.lazyLoadOptions),rt}));"use strict";
function onDocumentLoaded(cb){
	if (/comp|inter|loaded/.test(document.readyState)) {
		cb()
	} else {
		document.addEventListener('DOMContentLoaded', cb, false)
	}
}

onDocumentLoaded(() => {
	if (document.querySelector('img.tp-lazyload')) {
		tp_lazy_load()
	}
	var lazyBackgrounds = [].slice.call(document.querySelectorAll(".lazy-background"));

	  if (lazyBackgrounds && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) {
		let lazyBackgroundObserver = new IntersectionObserver(function(entries, observer) {
		  entries.forEach(function(entry) {
			if (entry.isIntersecting) {
			  entry.target.classList.remove("lazy-background");
			  lazyBackgroundObserver.unobserve(entry.target);
			}
		  });
		});

		lazyBackgrounds.forEach(function(lazyBackground) {
		  lazyBackgroundObserver.observe(lazyBackground);
		});
	  }
});

let lz = null

function tp_lazy_load(){
	if (lz) {
		lz.update()
		return
	}
	var lazy_enter = function ( e ) {
		e.classList.add('tp-lazy-start');
	};
	var lazy_loading = function ( e ) {
		e.classList.remove('tp-lazy-start');
		e.classList.add('tp-lazy-loading');
	};
	var lazy_loaded = function ( e ) {
		e.classList.remove('tp-lazy-loading');
		e.classList.add('tp-lazy-loaded');
		delete e.dataset.srcset;
	};
	
	lz = new LazyLoad({
		elements_selector: "img.tp-lazyload",
		callback_enter: lazy_enter,
		callback_loading: lazy_loading,
		callback_loaded: lazy_loaded,
	});
	
};(function(){"use strict";var a=function(a,b){function c(){let a=o[0].querySelectorAll(".tp-tab-play-pause:nth-child(1)"),b=o[0].querySelectorAll(".tp-tab-play-pause:nth-child(2)");a[0].classList.contains("active")?(a[0].classList.remove("active"),b[0].classList.add("active"),this.classList.add("pausecls"),clearInterval(H)):b[0].classList.contains("active")&&(b[0].classList.remove("active"),a[0].classList.add("active"),this.classList.remove("pausecls"),f())}function d(){clearInterval(H);let a=o[0].querySelectorAll(".plus-tab-header.active");if(0<a.length&&(a[0].classList.remove("active"),g(a[0],"remove")),this.parentElement&&this.parentElement.classList.add("active"),o[0].classList.contains("tp-tab-playpause-button")){let a=o[0].querySelectorAll(".tp-tab-play-pause-wrap");if(0<a.length){a[0].classList.remove("pausecls");let b=o[0].querySelectorAll(".tp-tab-play-pause:nth-child(1)"),c=o[0].querySelectorAll(".tp-tab-play-pause:nth-child(2)");0<b.length&&b[0].classList.remove("active"),0<c.length&&c[0].classList.add("active")}}}function e(){let a=o[0].querySelectorAll(".theplus-accordion-item.plus-tab-header");0<a.length&&(a[0].classList.add("active"),H=setInterval(function(){let a=o[0].querySelectorAll(".plus-tab-header.active");0<a.length?(a[0].classList.remove("active"),g(a[0],"remove"),a[0].nextElementSibling.classList.contains("plus-tab-header")?(a[0].nextElementSibling.classList.add("active"),g(a[0].nextElementSibling,"add")):clearInterval(H)):clearInterval(H)},1e3*E)),window.removeEventListener("scroll",e)}function f(){let a=o[0].querySelectorAll(".plus-tab-header.active");0<a.length&&(a[0].classList.remove("active"),g(a[0],"remove"),a[0].nextElementSibling.classList.add("active"),g(a[0].nextElementSibling,"add")),H=setInterval(function(){let a=o[0].querySelectorAll(".plus-tab-header.active");a[0].classList.remove("active"),g(a[0],"remove"),a[0].nextElementSibling.classList.contains("plus-tab-header")?(a[0].nextElementSibling.classList.add("active"),g(a[0].nextElementSibling,"add")):clearInterval(H)},1e3*E)}function g(a,b){if("remove"==b){let b=a.children[0],c=a.children[1];b&&(b.classList.remove("active-default"),b.classList.remove("active")),c&&(c.classList.remove("active-default"),c.classList.remove("active"),c.style.display="none")}else if("add"==b){let b=a.children[0],c=a.children[1];b&&(l(b,300),b.classList.add("active-default"),b.classList.add("active")),c&&(l(c,300),c.classList.add("active-default"),c.classList.add("active"),c.style.display="block")}}function h(){let a=window.innerHeight,b=o[0].getBoundingClientRect().top;b<a-150&&(s.forEach(function(a,b){setTimeout(function(){l(a,B)},b*C)}),window.removeEventListener("scroll",h))}function i(){let a=o[0].querySelectorAll(".tp-accr-list-slider.tpaccractive"),b=a[0].previousElementSibling?a[0].previousElementSibling:"",c=0;0<a.length&&a[0].classList.contains("tpaccractive")&&a[0].classList.remove("tpaccractive"),0<a.length&&b&&(b.classList.add("tpaccractive"),l(b,200),c=b.dataset&&b.dataset.tabslide?b.dataset.tabslide:0);let d=o[0].querySelectorAll(".tp-aec-slide-page .tpasp-next");0<d.length&&d[0].classList.contains("tpas-disabled")&&d[0].classList.remove("tpas-disabled");let e=o[0].querySelectorAll(".tp-aec-slide-page .tpasp-active-slide");if(0<e.length&&(e[0].innerText=c,e[0].style.cssText=`opacity: 0`,l(e[0],220)),1==+c){let a=o[0].querySelectorAll(".tp-aec-slide-page .tpasp-prev");0<a.length&&a[0].classList.add("tpas-disabled")}}function j(){let a=o[0].querySelectorAll(".tp-accr-list-slider.tpaccractive"),b=a[0].nextElementSibling?a[0].nextElementSibling:"",c=0;0<a.length&&a[0].classList.contains("tpaccractive")&&a[0].classList.remove("tpaccractive"),0<a.length&&b&&(b.classList.add("tpaccractive"),l(b,200),c=b.dataset&&b.dataset.tabslide?b.dataset.tabslide:0);let d=o[0].querySelectorAll(".tp-aec-slide-page .tpasp-prev");0<d.length&&d[0].classList.contains("tpas-disabled")&&d[0].classList.remove("tpas-disabled");let e=o[0].querySelectorAll(".tp-aec-slide-page .tpasp-active-slide");0<e.length&&(e[0].innerText=c,l(e[0],220));let f=o[0].querySelector(".tpasp-total-slide").innerText;if(+c==+f){let a=o[0].querySelectorAll(".tp-aec-slide-page .tpasp-next");0<a.length&&a[0].classList.add("tpas-disabled")}}function k(){let a=this.value,b=o[0].querySelectorAll(".theplus-accordion-item .plus-accordion-content"),c=o[0].querySelectorAll(".theplus-accordion-item .plus-accordion-header");a.length>=u?(jQuery(".theplus-accordion-wrapper.tp-seachaccr .theplus-accordion-item .plus-accordion-header").each(function(){let b="#"+this.id,c="#"+this.nextElementSibling.id;this.style.cssText=`display: none`,this.classList.remove("active","active-default"),jQuery(b+":not(:containsCaseInsensitive("+a+"))").removeClass("active active-default").css("display","none"),jQuery(c+":not(:containsCaseInsensitive("+a+"))").removeClass("active active-default").css("display","none"),jQuery(b+":containsCaseInsensitive("+a+")").addClass("active").css("display","flex"),jQuery(c+":containsCaseInsensitive("+a+")").addClass("active").css("display","flex")}),jQuery(".theplus-accordion-wrapper.tp-seachaccr .theplus-accordion-item .plus-accordion-content").each(function(){let b="#"+this.id,c="#"+this.previousElementSibling.id;this.style.cssText=`display: none`,this.classList.remove("active","active-default"),jQuery(b+":not(:containsCaseInsensitive("+a+"))").removeClass("active active-default").css("display","none"),jQuery(c+":not(:containsCaseInsensitive("+a+"))").removeClass("active active-default").css("display","none"),jQuery(b+":containsCaseInsensitive("+a+")").addClass("active").css("display","flex"),jQuery(c+":containsCaseInsensitive("+a+")").addClass("active").css("display","flex")}),0<b.length&&b.forEach(function(a){a.classList.contains("active")&&(a.previousElementSibling.style.cssText=`display: flex`,a.previousElementSibling.classList.add("active"))}),0<c.length&&c.forEach(function(a){a.classList.contains("active")&&(a.nextElementSibling.style.cssText=`display: flex`,a.nextElementSibling.classList.add("active"))})):(0<b.length&&b.forEach(function(a){a.style.cssText=`display: none`,a.classList.remove("active","active-default")}),0<c.length&&c.forEach(function(a){a.style.cssText=`display: flex`,a.classList.remove("active","active-default")}))}function l(a,b=600){a.style.display="",a.style.opacity=0;var c=+new Date,d=function(){a.style.opacity=+a.style.opacity+(new Date-c)/b,c=+new Date,1>+a.style.opacity&&(window.requestAnimationFrame&&requestAnimationFrame(d)||setTimeout(d,16))};d()}function m(a,b=500){a.style.transitionProperty="height, margin, padding",a.style.transitionDuration=b+"ms",a.style.boxSizing="border-box",a.style.height=a.offsetHeight+"px",a.offsetHeight,a.style.overflow="hidden",a.style.height=0,a.style.paddingTop=0,a.style.paddingBottom=0,a.style.marginTop=0,a.style.marginBottom=0,window.setTimeout(()=>{a.style.display="none",a.style.removeProperty("height"),a.style.removeProperty("padding-top"),a.style.removeProperty("padding-bottom"),a.style.removeProperty("margin-top"),a.style.removeProperty("margin-bottom"),a.style.removeProperty("overflow"),a.style.removeProperty("transition-duration"),a.style.removeProperty("transition-property")},b)}function n(a,b=500){a.style.removeProperty("display");let c=window.getComputedStyle(a).display;"none"===c&&(c="block"),a.style.display=c;let d=a.offsetHeight;a.style.overflow="hidden",a.style.height=0,a.style.paddingTop=0,a.style.paddingBottom=0,a.style.marginTop=0,a.style.marginBottom=0,a.offsetHeight,a.style.boxSizing="border-box",a.style.transitionProperty="height, margin, padding",a.style.transitionDuration=b+"ms",a.style.height=d+"px",a.style.removeProperty("padding-top"),a.style.removeProperty("padding-bottom"),a.style.removeProperty("margin-top"),a.style.removeProperty("margin-bottom"),window.setTimeout(()=>{a.style.removeProperty("height"),a.style.removeProperty("overflow"),a.style.removeProperty("transition-duration"),a.style.removeProperty("transition-property")},b)}let o=a[0].querySelectorAll(".theplus-accordion-wrapper"),p=o[0].dataset.accordionType,q=o[0].dataset.connection,r=o[0].dataset.rowBgConn,s=o[0].querySelectorAll(".theplus-accordion-item"),t=o[0].querySelectorAll(".theplus-accordion-item .plus-accordion-header"),u=o[0].dataset.searchAttrLen,v=o[0].dataset.horiTitleWidth,w=o[0].dataset.horiOpenSpeed,x=o[0].dataset.horiCloseSpeed,y=o[0].dataset.accordionId,z=o[0].dataset.scrollTopSpeedAccr,A=o[0].dataset.scrollTopOffsetAccr,B=o[0].dataset.stagerVdAccr,C=o[0].dataset.stagerGapAccr,D=o[0].dataset.tabAutoplay,E=o[0].dataset.tabAutoplayDuration,F=window.location.hash;if(0<s.length&&s.forEach(function(a){let c=a.querySelector(".plus-accordion-header");if(c.classList.contains("active-default")){let d=a.querySelectorAll(".plus-accordion-content");if(c.classList.add("active"),0<d.length){d[0].classList.add("active"),d[0].style.cssText="display: block;",n(d[0],500);let c=a.querySelector(".plus-accordion-content.active").dataset.tab;if(q&&document.querySelectorAll("."+q).length&&setTimeout(function(){accordion_tabs_connection(c,q)},150),a&&a.nextElementSibling){let c=a.nextElementSibling.querySelectorAll(".list-carousel-slick > .post-inner-loop");0<c.length&&b(c[0]).slick("setPosition")}r&&document.querySelectorAll("#"+r).length&&background_accordion_tabs_conn(c,r)}}}),"accordion"==p){t.forEach(function(a){a.addEventListener("click",function(){let a=this;if(this.classList.contains("active"))this.classList.remove("active"),this.nextElementSibling&&(this.nextElementSibling.classList.remove("active"),m(this.nextElementSibling,500));else{if(s.forEach(function(a){a.children[0].classList.contains("active")&&a.children[0].classList.remove("active"),a.children[1]&&a.children[1].classList.contains("active")&&(a.children[1].classList.remove("active"),m(a.children[1],500))}),this.classList.toggle("active"),this.nextElementSibling){this.nextElementSibling.classList.toggle("active"),"block"!=this.nextElementSibling.style.display&&(n(this.nextElementSibling,500),o[0].classList.contains("tp-scrolltopacc")&&setTimeout(()=>{jQuery("body, html").animate({scrollTop:jQuery(this).offset().top-A-a.clientHeight},z)},400));let c=this.nextElementSibling.querySelectorAll(".list-carousel-slick > .post-inner-loop");0<c.length&&b(c[0]).slick("setPosition")}let c=this.dataset.tab;c&&q&&document.querySelectorAll("."+q).length&&accordion_tabs_connection(c,q);let d=document.querySelectorAll(".tp-carousel-dots"),e=document.querySelectorAll(".theplus-carousel-remote");if(0<d.length&&0<e.length&&e[0].dataset.connection===q){let a=d[0].querySelectorAll(".tp-carodots-item");a.forEach(function(a){a.classList.contains("active")&&(a.classList.remove("active"),a.classList.add("inactive")),a.classList.contains("default-active")&&(a.classList.remove("default-active"),a.classList.add("inactive"))}),a.forEach(function(a){c==+a.dataset.tab+1&&(a.classList.remove("inactive"),a.classList.add("active"))})}r&&document.querySelectorAll("#"+r).length&&background_accordion_tabs_conn(c,r)}})});let a=o[0].querySelectorAll(`${F}.plus-accordion-header`);F&&0<a.length&&a.forEach(function(a){a.classList.contains("active")||(document.querySelector("html, body").animate({scrollTop:b(F).offset().top},1500),a.click())})}else"hover"==p&&t.forEach(function(a){a.addEventListener("mouseover",function(){if(this.classList.contains("active"));else{let a=o[0].querySelectorAll(".plus-accordion-header.active"),c=this.dataset.tab;if(0<a.length&&(a[0].classList.remove("active"),a[0].nextElementSibling&&(a[0].nextElementSibling.classList.remove("active"),m(a[0].nextElementSibling,500))),this.classList.toggle("active"),this.nextElementSibling){this.nextElementSibling.classList.toggle("active"),"block"!=this.nextElementSibling.style.display&&(n(this.nextElementSibling,500),o[0].classList.contains("tp-scrolltopacc")&&setTimeout(()=>{jQuery("body, html").animate({scrollTop:jQuery(this).offset().top-A-$this.clientHeight},z)},400));let a=this.nextElementSibling.querySelectorAll(".list-carousel-slick > .post-inner-loop");0<a.length&&b(a[0]).slick("setPosition")}q&&document.querySelectorAll("."+q).length&&accordion_tabs_connection(c,q);let d=document.querySelectorAll(".tp-carousel-dots"),e=document.querySelectorAll(".theplus-carousel-remote");if(0<d.length&&0<e.length&&e[0].dataset.connection===q){let a=d[0].querySelectorAll(".tp-carodots-item");a.forEach(function(a){a.classList.contains("active")&&(a.classList.remove("active"),a.classList.add("inactive")),a.classList.contains("default-active")&&(a.classList.remove("default-active"),a.classList.add("inactive"))}),a.forEach(function(a){c==+a.dataset.tab+1&&(a.classList.remove("inactive"),a.classList.add("active"))})}r&&document.querySelectorAll("#"+r).length&&background_accordion_tabs_conn(c,r)}})});let G=o[0].querySelectorAll(".tp-aec-button");if(0<G.length&&G[0].querySelector(".tp-toggle-accordion").addEventListener("click",function(){var a=this,b=o[0].querySelectorAll(".elementor-tab-title"),c=o[0].querySelectorAll(".elementor-tab-content");a.classList.contains("active")?a.classList.remove("active"):a.classList.add("active"),b.forEach(function(b){a.classList.contains("active")?b.classList.add("active"):b.classList.remove("active")}),c.forEach(function(b){a.classList.contains("active")?(b.classList.add("active"),n(b,500)):(b.classList.remove("active"),m(b,500))})}),o[0].classList.contains("tp-acc-hori")){let c=o[0].offsetWidth,d=o[0].querySelector(".plus-accordion-header").offsetWidth,e=o[0].querySelectorAll(".theplus-accordion-item").length,f=+c-o[0].querySelector(".theplus-accordion-item").clientWidth*+e;o[0].querySelector(".plus-accordion-content").classList.contains("active")&&(o[0].querySelector(".plus-accordion-content").style.width=f+"px",o[0].querySelector(".plus-accordion-content .plus-content-editor").style.position="absolute",o[0].querySelector(".plus-accordion-content .plus-content-editor").style.left=d+"px",o[0].querySelector(".plus-accordion-content .plus-content-editor").style.opacity=1,o[0].querySelector(".plus-accordion-content .plus-content-editor").style.width=f+"px",o[0].querySelector(".theplus-accordion-item").classList.add("tp-acc-disable")),a.find(".theplus-accordion-item").on("click",function(){o[0].querySelector(".theplus-accordion-item.tp-acc-disable").classList.remove("tp-acc-disable");let a=b(this).siblings();a&&(this.classList.add("tp-acc-disable"),b(this).find(".plus-content-editor").css("position","absolute").css("width",f),b(this).find(".plus-accordion-content").animate({width:f,opacity:1},w),a.find(".plus-accordion-content").animate({width:0,opacity:0},x),a.find(".plus-content-editor").css("width",f))})}if(o[0].classList.contains("tp-stageraccr")){let a=window.innerHeight,b=o[0].getBoundingClientRect().top;b<a-150?h():window.addEventListener("scroll",h)}if(o[0].classList.contains("tp-accr-slider")){let a=o[0].querySelectorAll(".tp-accr-list-slider"),b=o[0].querySelectorAll(".tpasp-total-slide");0<b.length&&(b[0].innerText=+a.length);let c=o[0].querySelectorAll(".tpasp-prev");0<c.length&&c[0].addEventListener("click",i);let d=o[0].querySelectorAll(".tpasp-next");0<d.length&&d[0].addEventListener("click",j)}if(o[0].classList.contains("tp-seachaccr")){jQuery.expr[":"].containsCaseInsensitive=function(a,c,b){return 0<=jQuery(a).text().toUpperCase().indexOf(b[3].toUpperCase())};let a=o[0].querySelectorAll("#tpsb"+y);0<a.length&&(a[0].addEventListener("change",k),a[0].addEventListener("keyup",k),a[0].addEventListener("paste",k),a[0].addEventListener("click",k))}var H;if(o[0].classList.contains("tp-tab-playloop")&&"yes"==D){let a=o[0].querySelectorAll(".theplus-accordion-item");if(0<a.length){a.forEach(function(a){a.classList.add("plus-tab-header")});let b=window.innerHeight,c=o[0].getBoundingClientRect().top;c<b-150?e():window.addEventListener("scroll",e)}let b=o[0].querySelectorAll(".theplus-accordion-item .plus-accordion-header");0<b.length&&b.forEach(function(a){a.addEventListener("click",d)})}if(o[0].classList.contains("tp-tab-playpause-button")&&"yes"==D){let a=o[0].querySelectorAll(".tp-tab-play-pause-wrap");0<a.length&&a[0].addEventListener("click",c)}};window.addEventListener("elementor/frontend/init",()=>{elementorFrontend.hooks.addAction("frontend/element_ready/tp-accordion.default",a)})})(jQuery);