(()=>{var t={65910:(t,e,o)=>{const i=o(77129);var n,r;n=ThriveGlobal.$j,r=TCB_Front,n.fn.tcbToggle=function(t){return this.each((function(){const e=n(this),o=e.closest(".thrv_toggle_title"),s=e.closest(".thrv_toggle"),a=o.next(),c=s.attr("data-animation-speed"),l=s.attr("data-animation"),g=e.hasClass("tve-state-expanded");void 0===t&&(t=g?"hide":"show");const d=i.getAnimationFunctions(l),h=s.data("tcbToggleInit");e.toggleClass("tve-state-expanded","show"===t),r.$window.trigger(`tve-toggle-${t}`,a),d[t](a,c).promise().done((()=>{h&&e.hasClass("tve-state-expanded")&&!TCB_Front.isInViewport(e)&&n("html, body").scrollTop(e.offset().top),TCB_Front.Utils.handleContent(a,"show"===t),r.$window.trigger("resize")}))}))}},77129:t=>{ThriveGlobal.$j,TCB_Front,t.exports=class{static getAnimationFunctions(t,e){let o,i;switch(t){case"appear":o=function(t){return t.children(".tve-cb").removeAttr("style"),t.show()},i=function(t){return t.hide()};break;case"fade":o=function(t,e){return t.removeAttr("style").fadeIn(e)},i=function(t,e){return t.fadeOut(e)};break;case"slide-up":o=function(t){return t.children(".tve-cb").removeAttr("style").css({bottom:"100%",opacity:"0"}).animate({bottom:"0",opacity:"1"}).show(),t.show()},i=function(t){return t.children(".tve-cb").css({bottom:"0",opacity:"1"}).animate({bottom:"100%",opacity:"0"}).hide(),t.hide()};break;case"slide-down":o=function(t){return t.children(".tve-cb").removeAttr("style").css({top:"100%",opacity:"0"}).animate({top:"0",opacity:"1"}).show(),t.show()},i=function(t){return t.children(".tve-cb").css({top:"0",opacity:"1"}).animate({top:"100%",opacity:"0"}).hide(),t.hide()};break;case"slide":o=function(t,e){return t.removeAttr("style").slideDown(e)},i=function(t,e){return t.slideUp(e)};break;case"slide-right":o=function(t){return t.children(".tve-cb").removeAttr("style").css({opacity:"0",left:"100%"}).animate({left:"0",opacity:"1"}).show(),t.show()},i=function(t){return t.children(".tve-cb").css({opacity:"1",left:"0"}).animate({left:"100%",opacity:"0"}).hide(),t.hide()};break;case"slide-left":o=function(t){return t.children(".tve-cb").removeAttr("style").css({opacity:"0",right:"100%"}).animate({right:"0",opacity:"1"}).show(),t.show()},i=function(t){return t.children(".tve-cb").css({opacity:"1",right:"100%"}).animate({right:"0",opacity:"0"}).hide(),t.hide()};break;case"smooth-resize":o=function(t){const o=t.children(),i=t.data("contentHeight")||t.height();return o.css({height:e}).animate({height:i},500).promise().done((()=>{o.css("height","100%")})),t.show()},i=function(t){return t.data("contentHeight",t.height()),t.hide()};break;case"swing-up":o=function(t){return t.css({transform:"rotateX(-20deg)",opacity:0}).animate({transform:"rotateX(0)",opacity:1},300).promise().done((()=>{t.css({transform:"rotateX(0)",opacity:1})})),t.show()},i=function(t){return t.hide()};break;case"slide-fade":o=function(t,e){return t.animate({opacity:"toggle",height:"toggle"},e)},i=function(t,e){return t.animate({opacity:"hide",height:"hide"},e)};break;default:o=function(t){return t.show()},i=function(t){return t.hide()}}return{show:o,hide:i}}}}},e={};function o(i){var n=e[i];if(void 0!==n)return n.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,o),r.exports}void 0===TCB_Front.js_modules.toggle&&TCB_Front.setModuleLoadedStatus("toggle",!1),(t=>{if(TCB_Front.isModuleLoaded("toggle"))return;o(65910);const e={init(){const o=t(TCB_Front.Utils.isEditorPage()?"#tve_editor":"body");if(e.initOnClick(o),e.initToggleCompat(o),t(".thrv_toggle_shortcode").each(((e,o)=>{TCB_Front.$window.trigger("tve_after_content_toggle",[t(o)])})),t(".thrv_toggle").each(((e,o)=>{const i=t(o);if(!i.data("tcbToggleInit")){let t=i.find(".thrv_toggle_item.tve-default-state-expanded");i.hasClass("tve-toggle-auto-collapse")&&(t=t.first()),t.find("> .tve_faqI > .thrv_toggle_title").tcbToggle("show"),i.data("tcbToggleInit",1)}})),!TCB_Front.Utils.isEditorPage()&&location.hash)try{const e=t(location.hash);e.closest(".thrv_toggle").length&&!e.hasClass("tve-state-expanded")&&e.trigger("click")}catch(t){}},initOnClick(e){e.off("click.tvetoggleelemold").on("click.tvetoggleelemold",".thrv_toggle_shortcode .tve_faqB",(function(){const e=t(this).closest(".tve_faq"),o=t(this),i=t(o).siblings(".tve_faqC");i.is(":visible")?(TCB_Front.$window.trigger("tve_after_content_toggle",[i,!1]),t(window).trigger("tcb_toggle_close",i),i.slideUp("fast",(function(){i.trigger("lbresize")})),e.removeClass("tve_oFaq"),e.find(".tve_toggle").first().removeClass("tve_toggle_open"),e.find("h4").first().removeClass("tve_toggle_open_text")):(i.slideDown("fast",(function(){i.trigger("lbresize")})),t(window).trigger("tcb_toggle_open",i),TCB_Front.$window.trigger("tve_after_content_toggle",[i]),e.addClass("tve_oFaq"),e.find(".tve_toggle").first().addClass("tve_toggle_open"),e.find("h4").first().addClass("tve_toggle_open_text"))}))},initToggleCompat(e){e.off("click.tvetoggleelem").on("click.tvetoggleelem",".thrv_toggle:not(.toggle-edit-mode) .thrv_toggle_title",(function(){const e=t(this),o=e.closest(".thrv_toggle");!e.hasClass("tve-state-expanded")&&o.hasClass("tve-toggle-auto-collapse")&&o.find(".thrv_toggle_title").tcbToggle("hide"),e.tcbToggle()}))}};t(window).on("tcb_after_dom_ready",(()=>e.init())),TCB_Front.setModuleLoadedStatus("toggle",!0)})(ThriveGlobal.$j)})();