1(()=>{window.TL_Front=window.TL_Front||{},window.ThriveGlobal=window.ThriveGlobal||{$j:jQuery.noConflict()};var t=!1;TL_Front.add_page_css=function(t2){ThriveGlobal.$j.each(t2,(function(t3,e){if(t3+="-css",(e=e.replace(/^http(s)?:\/\//,"//")).indexOf("thrive_flat")!==-1){var o=document.createElement("div");if(o.classList.add("tve-cb"),document.body.append(o),getComputedStyle(o).clear==="both")return void o.remove();o.remove()}ThriveGlobal.$j("#"+t3).length||ThriveGlobal.$j('link[href="http:'+e+'"]').length||ThriveGlobal.$j('link[href="https:'+e+'"]').length||ThriveGlobal.$j('<link rel="stylesheet" id="'+t3+'" type="text/css" href="'+e+'"/>').prependTo("head")}))},TL_Front.lightspeed_assets=function(e){var o=function(){return ThriveGlobal.$j('link[href*="thrive_flat.css"]').length>0},r=[];if(e.css){if(e.css.files)for(var n in e.css.files){var a=n==="flat";(!o()&&a||!a)&&ThriveGlobal.$j('<link rel="stylesheet" href="'+e.css.files[n]+'"/>').prependTo("head")}e.css.inline&&e.css.inline.length&&e.css.inline.forEach((function(t2){o()||ThriveGlobal.$j(t2).prependTo("head")}))}if(e.js)for(var i in e.js)TCB_Front&&!TCB_Front.isModuleLoaded(i)&&r.push(i);(function o2(){if(r.length){var n2=r.shift();TL_Front.add_head_script(e.js[n2],"tl-lightspeed-"+n2,o2)}else t=!0})()},TL_Front.conditional_display=function(t2){t2!==void 0&&t2.lazy_load_conditional_preview&&tcb_condition_sets&&t2.lazy_load_conditional_preview.forEach((function(t3){tcb_condition_sets.findIndex((function(e){return e.key===t3.key}))===-1&&tcb_condition_sets.push(t3)}))},TL_Front.$document=ThriveGlobal.$j(document),TL_Front.extendConst=function(t2){TL_Const.current_screen&&delete t2.current_screen,ThriveGlobal.$j.extend(!0,TL_Const,t2)},TL_Front.document_write=function(t2){ThriveGlobal.$j("body").append(t2)},TL_Front.add_head_script=function(t2,e,o){var r=document.createElement("script"),n=ThriveGlobal.$j("head")[0];r.async=!0,typeof o=="function"&&(r.onload=r.onreadystatechange=o),e!==void 0&&(r.id=e),r.src=t2,n.insertBefore(r,n.firstChild)},TL_Front.add_page_js=function(t2,e){typeof e!="function"&&(e=function(){});var o=0;ThriveGlobal.$j.each(t2,(function(t3,e2){if(t3==="tve_frontend"&&typeof TCB_Front!="undefined")return!0;if(t3+="-js",e2&&!ThriveGlobal.$j("#"+t3).length&&!ThriveGlobal.$j('script[src="'+e2+'"]').length){if(o++,e2.indexOf("connect.facebook.net")!==-1)return TL_Front.add_head_script(e2,t3,(function(){o--})),!0;ThriveGlobal.$j.getScript(e2,(function(){o--}))}})),(function t3(){o!==0?setTimeout(t3,50):e()})()},TL_Front.do_impression=function(){var t2=TL_Front.impressions_data;if(t2!==void 0){var e={security:TL_Const.security,action:TL_Const.action_impression,tl_data:t2,current_screen:TL_Const.current_screen};ThriveGlobal.$j.each(TL_Const.custom_post_data,(function(t3,o){e[t3]=o})),window.TVE_Dash&&!TVE_Dash.ajax_sent?TVE_Dash.add_load_item("tl_impression",e):ThriveGlobal.$j.post(TL_Const.ajax_url,e)}else console.log("No form to register impression for !")},ThriveGlobal.$j((function(){if(typeof TL_Const!="undefined"){if(ThriveGlobal.$j(".tve-leads-screen-filler iframe, .tve-leads-ribbon iframe").not(".thrv_social_default iframe").not(".tcb-dr-done").each((function(){var t2=ThriveGlobal.$j(this).addClass("tcb-dr-done");t2.attr("src")&&t2.attr("data-src",t2.attr("src")),t2.attr("src","")})),typeof TCB_Front!="undefined"&&ThriveGlobal.$j(TCB_Front).on("content_loaded.thrive",(function(t2,e2){e2.find(".tve-tl-anim").each((function(){var t3=ThriveGlobal.$j(this);ThriveGlobal.$j(TL_Front).trigger("showform.thriveleads",{$target:t3})}))})),ThriveGlobal.$j(window).on("tcb_after_dom_ready",(function(){if(!tve_frontend_options.is_editor_page){var t2=TCB_Front.queryString.get("post_type");t2&&t2==="tve_lead_2s_lightbox"&&setTimeout((function(){TCB_Front.handleIframes(ThriveGlobal.$j(".tve_p_lb_content"))}),100)}})),ThriveGlobal.$j(TL_Front).on("showform.thriveleads",(function(t2,e2){var o2,r2=e2.$target?e2.$target:ThriveGlobal.$j("."+e2.form_id);r2.length&&(e2.TargetEvent&&e2.TargetEvent.tve_trigger==="exit"&&r2.data("shown-on-exit")||(e2.first&&(r2=r2.first()),r2.attr("data-s-state")&&(r2=r2.closest(".tl-states-root").find('[data-state="'+r2.attr("data-s-state")+'"] .tl-lb-target')),e2&&e2.$parentStateEl&&r2.closest(".tl-style").first().data("parentStateEl",e2.$parentStateEl),o2=r2.hasClass("tve-tl-anim")?r2:r2.find(".tve-tl-anim"),r2.css("display",""),setTimeout((function(){o2.addClass("tve-leads-triggered"),TL_Front.handle_typefocus(o2,"start"),ThriveGlobal.$j(".tve_post_grid_masonry").length&&TCB_Front.postGridLayout()}),0),typeof TL_Front["open_"+e2.form_type]=="function"?TL_Front["open_"+e2.form_type](r2,e2.TargetEvent):r2.show(),TCB_Front.resizePageSection(),r2.on("switchstate",(function(t3,e3){e3.offset().top-ThriveGlobal.$j(window).scrollTop()+e3.outerHeight()<0&&ThriveGlobal.$j("html, body").animate({scrollTop:e3.offset().top+"px"},50),TCB_Front.resizePageSection()})),setTimeout((function(){r2.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe").each((function(){var t3=ThriveGlobal.$j(this);t3.attr("data-src")&&t3.attr("src",t3.attr("data-src"))}))}),200)))})),ThriveGlobal.$j("body").on("click",".tve-ribbon-close",(function(){var t2=ThriveGlobal.$j(this).closest(".tve-leads-ribbon"),e2=t2.data("position");t2.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=ThriveGlobal.$j(this);t3.attr("data-src",t3.attr("src")),t3.attr("src","")})),t2.removeClass("tve-leads-triggered"),e2==="top"?ThriveGlobal.$j("body").animate({marginTop:0},200,(function(){document.body.style.removeProperty("margin-top"),TCB_Front&&TCB_Front.$
1window&&TCB_Front.$window.trigger("scroll")})):e2==="bottom"&&ThriveGlobal.$j("body").animate({marginBottom:"0px"},200,(function(){document.body.style.removeProperty("margin-bottom")})),TL_Front.handle_typefocus(t2,"pause"),setTimeout((function(){t2.css(e2,"")}),400),ThriveGlobal.$j("#tve-lg-error-container").hide()})),ThriveGlobal.$j(window).on("conditional_display_loaded",(function(){var t2=Object.keys(TL_Front.contentHtml||{});t2.length&&t2.forEach((function(t3){var e2=ThriveGlobal.$j(".tl-placeholder-f-type-".concat(t3));if(e2.length){var o2=ThriveGlobal.$j(TL_Front.contentHtml[t3]);e2.replaceWith(o2),setTimeout((function(){ThriveGlobal.$j(TL_Front).trigger("showform.thriveleads",{$target:o2})}))}}))})),TL_Const.ajax_load||TL_Front.do_impression(),TL_Front.ajax_load_callback=function(o2,n){if(n&&TL_Front.conditional_display(n),o2&&o2.res&&o2.js&&o2.html){var a,i;if(TL_Front.lightspeed_assets(o2.lightspeed||{}),TL_Front.add_page_css(o2.res.css),TL_Front.add_page_css(o2.res.fonts),o2.html&&(o2.html.widget||ThriveGlobal.$j(".tl-widget-container").remove(),ThriveGlobal.$j.each(o2.html,(function(t2,e2){if(!e2)return!0;if(TL_Front.contentHtml=TL_Front.contentHtml||{},TL_Front.contentHtml[t2]=e2,t2==="in_content"){var r2=parseInt(o2.in_content_pos),n2="after",a2=ThriveGlobal.$j(".tve-tl-cnt-wrap");a2.length||(a2=ThriveGlobal.$j("#tve_editor.tar-main-content")),a2.length||(a2=ThriveGlobal.$j("#post_content"));var i2=a2.find("p").filter(":visible").not(".thrv_table p, form p, .tcb-post-list p, .thrv_text_element div p, p.wp-caption-text, .thrv_responsive_video p, .thrv_header p");i2.length===0&&r2===0?a2.prepend(e2):(r2===0&&(r2=1,n2="before"),i2.eq(r2-1)[n2](e2))}else{var s2=ThriveGlobal.$j(".tl-placeholder-f-type-"+t2);if(o2.js[t2]&&o2.js[t2].content_locking){var l=s2.parents(".tve_content_lock").first();if(o2.js[t2].has_conversion)return s2.remove(),l.removeClass("tve_lock_hide"),!0;o2.js[t2].lock==="tve_lock_blur"&&l.removeClass("tve_lock_hide").addClass(o2.js[t2].lock)}t2==="widget"?s2.hasClass("tl-preload-form")?s2.first().replaceWith(ThriveGlobal.$j(e2).addClass("tve-leads-triggered")):(s2.replaceWith(e2),ThriveGlobal.$j(".tl-widget-container").children().unwrap()):s2.replaceWith(e2),t2.indexOf("two_step")===0&&(c=t2,ThriveGlobal.$j(".tl-2step-trigger-".concat(c.replace("two_step_",""))).show())}var c})),i=-1,navigator.appName=="Microsoft Internet Explorer"?(a=navigator.userAgent,new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(a)!==null&&(i=parseFloat(RegExp.$1))):navigator.appName=="Netscape"&&(a=navigator.userAgent,new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})").exec(a)!==null&&(i=parseFloat(RegExp.$1))),i>0&&setTimeout((function(){var t2="";ThriveGlobal.$j("body style.tve_custom_style").each((function(){t2=this.innerText,this.innerText=t2}))}))),o2.body_end){var s=ThriveGlobal.$j(o2.body_end);s.find(".tve_wistia_popover").each((function(){ThriveGlobal.$j("#"+this.id).length&&this.parentNode.removeChild(this)})),s.filter("link[href]").each((function(){ThriveGlobal.$j('link[href="'+this.getAttribute("href")+'"]').length&&(s=s.not(this))})),s.filter("script[src]").each((function(){ThriveGlobal.$j('script[src="'+this.getAttribute("src")+'"]').length&&(s=s.not(this))}));try{ThriveGlobal.$j("body").append(s)}catch(t2){console.log("Body append: "+t2)}}o2.js.TVO_Form!==void 0&&(TVO_Form=o2.js.TVO_Form),TL_Front.add_page_js(o2.res.js,(function(){e=!0})),setTimeout((function o3(){e&&t?(TCB_Front.event_triggers(ThriveGlobal.$j("body")),TCB_Front.onDOMReady(),r(),ThriveGlobal.$j(TCB_Front).trigger("tl-ajax-loaded"),TCB_Front.add_scroll_callback((function(){var t2=ThriveGlobal.$j('.tve-leads-ribbon[data-position="top"]'),e2=t2.find(".tve_shortcode_editor"),o4=t2.is(":visible")&&Number(t2.css("opacity"))?Math.max(t2.outerHeight(),e2.outerHeight()):0,r2=ThriveGlobal.$j('[data-elementor-type="header"] .elementor-top-section.elementor-sticky.elementor-sticky--active');r2.length||(r2=ThriveGlobal.$j(".she-header")),r2.length&&r2[0].style.setProperty("margin-top",o4+"px","important")}))):setTimeout(o3,50)}),50),TL_Const.forms=o2.js,setTimeout((function(){ThriveGlobal.$j(".tl-preload-form").remove()}),1e3)}},TL_Const.ajax_load){var e=!1,o=(ThriveGlobal.$j(".tve-leads-two-step-trigger").hide(),{tcb_js:typeof TCB_Front!="undefined"?1:0,main_group_id:TL_Const.main_group_id,shortcode_ids:TL_Const.shortcode_ids,two_step_ids:TL_Const.two_step_ids,action:"tve_leads_ajax_load_forms",security:TL_Const.security,display_options:TL_Const.display_options,current_screen:TL_Const.current_screen});return ThriveGlobal.$j.each(TL_Const.custom_post_data,(function(t2,e2){o[t2]=e2})),void(window.TVE_Dash&&!TVE_Dash.ajax_sent?ThriveGlobal.$j(document).on("tve-dash.load",(function(t2){TVE_Dash.add_load_item("tl_lazy_load",o,TL_Front.ajax_load_callback)})):ThriveGlobal.$j.ajax({url:TL_Const.ajax_url,type:"post",dataType:"json",data:o,xhrFields:{withCredentials:!0}}).done(TL_Front.ajax_load_callback))}r()}function r(){if(!TL_Const.forms)return!1;function t2(t3){if(t3.find('[data-validation="email"]').length)return t3.find('[data-validation="email"]').val();var e2="";return t3.find("input").each((function(){if(this.name&&this.name.match(/email/i))return e2=this.value,!1})),e2}ThriveGlobal.$j("body").on("submit",".tve-leads-conversion-object form",(function(e2){var o2=ThriveGlobal.$j(this),r2=o2.parents(".tve-leads-conversion-object").first().attr("data-tl-type"),n={};if(o2.data("tve-force-submit")||o2.closest(".thrv_custom_html_shortcode").length||o2.data("tl-d
1o-submit")||!r2||!TL_Const.forms[r2]||(function(t3){var e3=t3.attr("id"),o3=window.fluentFormVars,r3=!1;return o3&&o3.forms&&(r3=o3.forms.some((function(t4){return t4.form_id_selector===e3}))),r3})(o2)||(function(t3){var e3=t3.attr("id");return e3&&e3.includes("happyforms")&&window.HappyForms})(o2))return!0;o2.tve_form_loading(),o2.find("input").each((function(){var t3=ThriveGlobal.$j(this),e3=t3.attr("name");e3!==void 0&&TL_Const.ignored_fields.indexOf(e3)===-1&&(n[t3.attr("name")]=t3.val())}));var a={security:TL_Const.security,action:TL_Const.action_conversion,type:r2,tl_data:TL_Const.forms[r2],custom_fields:n,email:t2(o2),current_screen:TL_Const.current_screen};return ThriveGlobal.$j.each(TL_Const.custom_post_data,(function(t3,e3){a[t3]=e3})),ThriveGlobal.$j.ajax({url:TL_Const.ajax_url,data:a,type:"post",xhrFields:{withCredentials:!0}}).always((function(){o2.attr("action")===void 0?location.reload():o2.data("tve-force-submit",!0).submit()})),!1})),ThriveGlobal.$j("body").on("form_conversion.tcb",".tve-leads-conversion-object form",(function(t3){var e2=ThriveGlobal.$j(this).parents(".tve-leads-conversion-object").first().attr("data-tl-type");if(!e2||!TL_Const.hasOwnProperty("forms")||!TL_Const.forms[e2])return!0;var o2={type:e2,tl_data:TL_Const.forms[e2],current_screen:TL_Const.current_screen};ThriveGlobal.$j.each(TL_Const.custom_post_data,(function(t4,e3){o2[t4]=e3})),t3.post_data=t3.post_data||{},t3.post_data.thrive_leads=o2})).on("lead_conversion_success.tcb",".tve_lead_lock_shortcode form, .tve_post_lightbox form",(function(t3){var e2=ThriveGlobal.$j(this),o2=e2.parents(".tve_content_lock");if(e2.closest(".tve_post_lightbox").length){var r2=e2.closest(".tve-leads-conversion-object").attr("data-tl-type");TL_Front.parent_state&&TL_Front.parent_state.parent().hasClass("tve-leads-track-"+r2)&&(o2=TL_Front.parent_state.closest(".tve_content_lock"))}o2.length&&o2.hasClass("tve_content_lock")&&(o2.removeClass("tve_lead_lock").find(".tve_lead_lock_shortcode").remove(),o2.find(".tve_lead_locked_overlay").remove(),t3.content_unlocked=!0)})).on("leads_states.tcb",".tve-leads-conversion-object form",(function(t3,e2){var o2=ThriveGlobal.$j(this);switch(o2.find("#_form_type").val()){case"ribbon":var r2=o2.parents(".tve-leads-ribbon");o2.parents(".tve_shortcode_editor").empty().html(e2),TL_Front.open_ribbon(r2);break;case"lightbox":case"tve_lead_2s_lightbox":o2.parents(".tve_p_lb_control").empty().html(e2);break;case"widget":case"in-content":case"post-footer":case"php-insert":o2.parents(".tve_shortcode_editor").empty().html(e2);break;case"slide-in":var n=o2.parents(".tve-leads-slide-in");o2.parents(".tve_shortcode_editor").empty().html(e2),TL_Front.open_slide_in(n);break;case"screen-filler-lightbox":var a=o2.parents(".tve-leads-screen-filler");o2.parents(".tve_shortcode_editor").empty().html(e2),TL_Front.open_screen_filler(a);break;case"scroll-mat":r2=o2.parents(".tve-leads-greedy_ribbon"),o2.parents(".tve_shortcode_editor").empty().html(e2),TL_Front.open_ribbon(r2);break;case"tve_lead_shortcode":o2.parents(".tve-leads-shortcode").empty().html(e2);break;default:t3.change_states=!1}t3.change_states=!0})).on("leads_messages.tcb",".tve-leads-conversion-object form",(function(t3){var e2=ThriveGlobal.$j(this);switch(e2.find("#_form_type").val()){case"tve_lead_shortcode":t3.lightbox_state&&e2.parents(".tve-leads-shortcode").hide();break;case"ribbon":e2.parents(".thrv-ribbon").find(".tve-ribbon-close").click();break;case"lightbox":case"tve_lead_2s_lightbox":e2.parents(".tve_p_lb_content").find(".tve_p_lb_close").click(),e2.parents(".tve-leads-screen-filler").find(".tve-screen-filler-close").click();break;case"slide-in":e2.parents(".thrv-leads-slide-in").find(".tve-leads-close").click();break;case"screen-filler-lightbox":e2.parents(".tve-leads-screen-filler").find(".tve-screen-filler-close").click();break;case"scroll-mat":e2.parents(".thrv-greedy-ribbon").find(".tve_et_click").click();break;default:e2.find('input:not(:hidden):not([type="checkbox"]):not([type="radio"])').val("")}e2.parents(".tve-leads-conversion-object").find(".tve_ea_thrive_leads_form_close").click(),TL_Front.parent_state&&TL_Front.close_form(TL_Front.parent_state)})),TL_Front.$document.on("switchstate",(function(t3,e2){e2.find("script.tcb-lazyload-template").each((function(){ThriveGlobal.$j(this).replaceWith(this.innerHTML)}))}))}})),TL_Front.switch_lightbox_state=function(t2,e){return t2.find(".tve_p_lb_overlay").css("opacity","0.8"),t2.find(".tve_p_lb_content").css("top",e.find(".tve_p_lb_content").css("top")).addClass("tve-leads-triggered"),window.tve_lb_switch_state=!0,TL_Front.open_lightbox(t2.find(".tl-lb-target"))},TL_Front.close_lightbox=function(){var t2=ThriveGlobal.$j("body"),e=ThriveGlobal.$j("html"),o="tve-o-hidden tve-l-open tve-hide-overflow",r=arguments[0]||t2.data("tl-open-lightbox");r&&r.length&&(r.find(".tve-tl-anim").removeClass("tve-leads-triggered"),window.tve_lb_switch_state||(ThriveGlobal.$j(".tve_lb_open").length===1&&(t2.removeClass(o).css("padding-right",""),e.removeClass(o),r.data("doc-scroll-top")?(document.documentElement.scrollTop=r.data("doc-scroll-top"),r.data("doc-scroll-top","")):r.data("bdy-scroll-top")&&(document.body.scrollTop=r.data("bdy-scroll-top"),r.data("bdy-scroll-top",""))),e.removeClass(e.data("tl-anim-class"))),window.tve_lb_switch_state=!1,setTimeout((function(){r.addClass("tve_lb_closing"),r.removeClass("tve_lb_open tve_lb_opening tve_lb_closing tve_p_lb_background").css("display","none").find("tve_p_lb_content").trigger("tve.lightbox-close")}),200),r.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=ThriveGlobal.$j(this);t3.attr("data-src",t3.attr("src")),t3.attr("src","")})),TL_Front.handle_typefocus(r,"pause"),ThriveGlobal.$j("#tve-lg-error-container").hide())},TL_Front.open_lightbox=function(t2,e){if(!t2.hasClass("tve_lb_open")&&!t2.hasClass("tve_lb_opening")){var o=window.tve_lb_switch_state;ThriveGlobal.$j.fn.thrive_iphone_placeholder&&t2.find("input[placeholder]").thrive_iphone_placeholder(),TL_Front.close_lightbox(ThriveGlobal.$j(".tve_p_lb_background.tve_lb_open")),t2.css({visibility:"",position:"",left:"",display:""}).parents(".tl-style").css({visibility:"",position:"",left:"",display:""});var r,n,a,i,s,l=ThriveGlobal.$j("body"),c=ThriveGlobal.$j("html"),d="tve-o-hidden tve-l-open tve-hide-overflow",_=(r=ThriveGlobal.$j,n={border:"none",height:"200px",margin:"0",padding:"0",width:"200px"},a=r("<div>").css(r.extend({},n)),i=r("<div>").css(r.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},n)).append(a).appendTo("body").scrollLeft(1e3).scrollTop(1e3),s={height:i.offset().top-a.offset().top||0,width:i.offset().left-a.offset().left||0},i.remove(),s).width,v=parseInt(l.css("paddingRight")),h=ThriveGlobal.$j(".tve_p_lb_background.tve_lb_open").length;isNaN(v)&&(v=0),t2.find(".tve_p_lb_close").off().on("click",(function(){return TL_Front.close_lightbox(),!1})),l.off("keyup.tve_lb_close").on("keyup.tve_lb_close",(function(t3){if(t3.which==27)return TL_Front.close_lightbox(),!1}
1)),t2.find(".tve_p_lb_overlay").off("click.tve_lb_close").on("click.tve_lb_close",(function(){return TL_Front.close_lightbox(),!1})),l.data("tl-open-lightbox",t2),t2.addClass("tve_p_lb_background"),t2.data("doc-scroll-top",document.documentElement.scrollTop),t2.data("bdy-scroll-top",document.body.scrollTop),l.addClass(d),c.addClass(d);var p=ThriveGlobal.$j(window).height()<ThriveGlobal.$j(document).height();!o&&p&&l.css("padding-right",v+_+"px"),t2.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=jQuery(this);t3.attr("data-src")&&t3.attr("src",t3.attr("data-src"))})),t2.find(".thrv_responsive_video").each((function(){var t3=ThriveGlobal.$j(this);TCB_Front.makeAutoplayVideo(t3)}));var f="";ThriveGlobal.$j.each(t2.parents(".tl-states-root").attr("class").split(" "),(function(t3,e2){if(e2.indexOf("tl-anim")===0)return f=e2,!1})),c.addClass(f).data("tl-anim-class",f),setTimeout((function(){function e2(){var e3=t2.find(".tve_p_lb_content").outerHeight(!0)+2*parseInt(t2.css("padding-top")),o2=t2.find(".tve_p_lb_content"),r2=ThriveGlobal.$j(window).height(),n2=(r2-e3)/2;t2.find(".tve_p_lb_overlay").css({height:e3+80+"px","min-height":r2+"px"}),h?o2.animate({top:n2<40?40:n2},100):o2.css("top",(n2<40?40:n2)+"px"),e3+40>r2&&t2.addClass("tve-scroll")}setTimeout((function(){t2.addClass("tve_lb_opening")}),0),t2.find("iframe").not(".thrv_social_default iframe").each((function(){var t3=ThriveGlobal.$j(this);!t3.data("tve_ifr_loaded")&&t3.attr("data-src")&&t3.data("tve_ifr_loaded",1).attr("src",t3.attr("data-src"))})),TCB_Front.resizePageSection(),e2(),ThriveGlobal.$j(window).on("resize",e2)}),20),setTimeout((function(){t2.removeClass("tve_lb_opening").addClass("tve_lb_open").find(".tve_p_lb_content").trigger("tve.lightbox-open"),ThriveGlobal.$j(window).trigger("scroll")}),300),e&&e.preventDefault&&(e.preventDefault(),e.stopPropagation()),t2.parents(".tl-states-root").off("switchstate").on("switchstate",(function(t3,e2){var o2=Array.prototype.slice.call(arguments,1);TL_Front.switch_lightbox_state.apply(TL_Front,o2)})),e&&e.tve_trigger==="exit"&&t2.data("shown-on-exit",!0),TCB_Front.$window.trigger("tl_after_lightbox_open",t2),setTimeout((function(){TCB_Front.$window.trigger("tve_after_content_toggle",[t2])}),500)}},TL_Front.open_two_step_lightbox=TL_Front.open_lightbox,TL_Front.open_ribbon=function(t2){function e(){t2.addClass("tve-leads-triggered");var e2=t2.find(".tve_shortcode_editor"),o=e2.length?e2.outerHeight():0,r=t2.attr("data-position")||"top";switch(r){case"above":t2.css("bottom","auto");case"top":t2.css("top",ThriveGlobal.$j("#wpadminbar").length?"32px":"0px");break;case"bottom":t2.css("bottom","0px"),t2.css("top","auto")}var n=0,a=Math.max(t2.outerHeight(),o),i=setInterval((function(){n++;var e3=Math.max(t2.outerHeight(),o);e3==a&&n!=10||clearInterval(i),r==="top"?(ThriveGlobal.$j("body").animate({"margin-top":e3+"px"},200,(function(){document.body.style.setProperty("margin-top",e3+"px","important")})),TCB_Front&&TCB_Front.$window&&TCB_Front.$window.trigger("scroll")):r==="bottom"&&ThriveGlobal.$j("body").animate({"margin-bottom":e3+"px"},200)}),100),s=ThriveGlobal.$j("body").find(".thrv_header.tve-scroll-sticky");if(s.length&&r==="top"){var l=parseFloat(TCB_Front.inlineCssVariable(s,"--tcb-header-extra-offset"))||0;TCB_Front.inlineCssVariable(s,"--tcb-header-extra-offset",l+a+"px")}t2.off("switchstate").on("switchstate",(function(t3,e3){var o2=Array.prototype.slice.call(arguments,1);TL_Front.switch_ribbon_state.apply(TL_Front,o2)}))}TL_Const.forms.greedy_ribbon?(TL_Const.close_callbacks=TL_Const.close_callbacks||{},TL_Const.close_callbacks.greedy_ribbon=[e]):e()},TL_Front.switch_ribbon_state=function(t2){var e=t2.outerHeight(!0),o={};o[t2.parent().attr("data-position")==="top"?"margin-top":"margin-bottom"]=e+"px",t2.find(".tve-tl-anim").removeClass((function(t3,e2){return(e2.match(/(^|\s)tl-anim-\S+/g)||[]).join(" ")})).removeClass("tve-tl-anim"),ThriveGlobal.$j("body").animate(o,200)},TL_Front.open_greedy_ribbon=function(t2){var e=ThriveGlobal.$j("body"),o=ThriveGlobal.$j(window),r=e.css("position");o.scrollTop(0),e.css("position","static"),e.addClass("tve-tl-gr-anim"),TCB_Front.$
1window.trigger("scroll"),t2.css("top",ThriveGlobal.$j("#wpadminbar").length?"32px":"0px");var n=t2.outerHeight();e[0].style.setProperty("margin-top",n+"px","important");var a=1;setTimeout((function(){ThriveGlobal.$j('.tve-leads-ribbon[data-position="top"]').removeClass("tve-leads-triggered")}),50),o.scroll((function(){var i=e.hasClass("tve-tl-gr-anim");if(a&&i){var s=o.scrollTop();if(s>n){(t2.find(".tve_ea_thrive_wistia").length||t2.find(".tve_with_wistia_popover"))&&ThriveGlobal.$j(".wistia_placebo_close_button").trigger("click"),e.removeClass("tve-tl-gr-anim"),t2.addClass("tve-no-animation");var l=s-n;t2.removeClass("tve-leads-triggered"),t2.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=ThriveGlobal.$j(this);t3.attr("data-src",t3.attr("src")),t3.attr("src","")})),e.css("margin-top",""),e.css("position",r),o.scrollTop(l),t2.removeClass("tve-no-animation"),a=0,TL_Front.form_closed("greedy_ribbon"),TL_Const.forms.greedy_ribbon.allow_callbacks=!1}}})),t2.off("switchstate").on("switchstate",(function(t3,e2){}))},TL_Front.open_screen_filler=function(t2,e){var o="tve-so-hidden tve-sl-open tve-s-hide-overflow",r=ThriveGlobal.$j("html,body"),n=ThriveGlobal.$j("html");if(ThriveGlobal.$j.fn.thrive_iphone_placeholder&&t2.find("input[placeholder]").thrive_iphone_placeholder(),t2.css("top",ThriveGlobal.$j("#wpadminbar").length?"32px":"0px").css("visibility",""),t2.hasClass("stl-anim-slip_from_top")===!0){var a=ThriveGlobal.$j(window).scrollTop();t2.css("top",a).css("visibility","")}t2.find(".tve-screen-filler-close").on("click",(function(){s(t2)})),t2.data("doc-scroll-top",document.documentElement.scrollTop),t2.data("bdy-scroll-top",document.body.scrollTop),t2.find(".thrv-leads-screen-filler.thrv_wrapper ").css("display")!=="none"&&r.addClass(o);var i="";function s(t3){t3.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t4=ThriveGlobal.$j(this);t4.attr("data-src",t4.attr("src")),t4.attr("src","")})),t3.removeClass("tve-leads-triggered"),TL_Front.handle_typefocus(t3,"pause"),ThriveGlobal.$j(document).off("keyup.close-screenfiller"),ThriveGlobal.$j.find(".tve-leads-ribbon").length==0&&ThriveGlobal.$j("body").animate({"margin-top":"0px"},200),r.removeClass(o),n.removeClass(n.data("tl-s-anim-class")),setTimeout((function(){t3.css("top","").hide(),t3.css("display")==="none"&&(r.removeClass(o),t3.removeClass("tve-leads-triggered"))}),400),t3.data("doc-scroll-top")?(document.documentElement.scrollTop=t3.data("doc-scroll-top"),t3.data("doc-scroll-top","")):t3.data("bdy-scroll-top")&&(document.body.scrollTop=t3.data("bdy-scroll-top"),t3.data("bdy-scroll-top","")),ThriveGlobal.$j("#tve-lg-error-container").hide()}ThriveGlobal.$j.each(t2.attr("class").split(" "),(function(t3,e2){if(e2.indexOf("stl-anim")===0)return i=e2,!1})),n.addClass(i).data("tl-s-anim-class",i);var l=t2.find("> .tl-style").hide(),c=t2.find('> .tl-style[data-form-state="already_subscribed"]');c.length?c.show():l.first().show(),TL_Front.close_screen_filler=s,e&&e.preventDefault&&(e.preventDefault(),e.stopPropagation()),ThriveGlobal.$j(document).off("keyup.close-screenfiller").on("keyup.close-screenfiller",(function(e2){e2.which==27&&s(t2)})),t2.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=jQuery(this);t3.attr("data-src")&&t3.attr("src",t3.attr("data-src"))})),setTimeout((function(){TCB_Front.resizePageSection()}),500)},TL_Front.switch_slide_in_state=function(t2){t2.find(".tve-tl-anim").removeClass((function(t3,e){return(e.match(/(^|\s)tl-anim-\S+/g)||[]).join(" ")})).removeClass("tve-tl-anim"),TL_Front.slide_in_position(t2.find(".thrv-leads-slide-in"))},TL_Front.slide_in_position=function(t2){var e=ThriveGlobal.$j(window),o=t2.outerHeight();if(e.width()<=782||e.height()<o){t2.parents(".tve-leads-slide-in").addClass("tve-lb");var r=e.height();setTimeout((function(){var e2;e2=t2.parents(".tve-leads-slide-in").is('[class*="bot"]')?r-o:0,t2.closest(".tve-leads-slide-in").data("doc-scroll-top",document.documentElement.scrollTop).data("bdy-scroll-top",document.body.scrollTop),t2.parents(".tve-leads-conversion-object").first().css({height:o+80+"px","min-height":r+"px"}),t2.css("top",(e2<40?40:e2)+"px"),o+40>r&&t2.parents(".tve-leads-slide-in").css("overflow-y","scroll")}),0)}},TL_Front.open_slide_in=function(t2,e){var o="tve-o-hidden tve-l-open tve-hide-overflow",r=ThriveGlobal.$j("body"),n=ThriveGlobal.$j("html");function a(e2){e2.removeClass("tve-leads-triggered"),TL_Front.handle_typefocus(e2,"pause"),ThriveGlobal.$j(document).off("keyup.close-slidein"),ThriveGlobal.$j(".tve_lb_open").length||(r.removeClass(o),n.removeClass(o)),e2.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=ThriveGlobal.$j(this);t3.attr("data-src",t3.attr("src")),t3.attr("src","")})),ThriveGlobal.$j("#tve-lg-error-container").hide(),t2.data("doc-scroll-top")?(document.documentElement.scrollTop=t2.data("doc-scroll-top"),t2.data("doc-scroll-top","")):t2.data("bdy-scroll-top")&&(document.body.scrollTop=t2.data("bdy-scroll-top"),t2.data("bdy-scroll-top",""))}ThriveGlobal.$j.fn.thrive_iphone_placeholder&&t2.find("input[placeholder]").thrive_iphone_placeholder(),TL_Front.slide_in_position(t2.find(".thrv-leads-slide-in").filter(":visible")),t2.off().on("click",".tve-leads-close",(function(){a(t2)})),t2.find(".tve_ea_thrive_leads_form_close").on("click",(function(){a(t2)})),t2.on("switchstate",(function(t3,e2){var o2=Array.prototype.slice.call(arguments,1
1);TL_Front.switch_slide_in_state.apply(TL_Front,o2)})),ThriveGlobal.$j(document).off("keyup.close-slidein").on("keyup.close-slidein",(function(e2){e2.which==27&&a(t2)})),e&&e.preventDefault&&(e.preventDefault(),e.stopPropagation())},TL_Front.close_form=function(t2,e,o,r){var n=ThriveGlobal.$j(t2).parents(".tve-leads-triggered"),a=n.attr("data-tl-type");if(a===void 0&&n.hasClass("tve-leads-widget"))a="widget";else if(a===void 0&&n.hasClass("tve-leads-post-footer"))a="post-footer";else if(a===void 0&&n.hasClass("tve-leads-slide-in"))a="slide-in";else if(a===void 0&&n.hasClass("tve-leads-in-content"))a="in-content";else if(a===void 0&&n.hasClass("tve-leads-shortcode"))a="shortcode";else if(a===void 0&&n.hasClass("tve-leads-greedy_ribbon"))a="greedy_ribbon";else{if(a===void 0&&n.hasClass("tve_p_lb_content"))return TL_Front.close_lightbox(),!1;if(a===void 0&&n.hasClass("tve-leads-screen-filler"))return TL_Front.close_screen_filler(n),!1}switch(n.removeClass("tve-leads-triggered"),TL_Front.handle_typefocus(n,"pause"),a){case"ribbon":var i=n.find(".tve-ribbon-close");i.length||(i=jQuery('<span class="tve-ribbon-close" style="display: none"></span>').appendTo(n)),i.trigger("click");var s=ThriveGlobal.$j("body").find(".thrv_header.tve-scroll-sticky");if(s.length&&n.attr("data-position")==="top"){var l=parseFloat(TCB_Front.inlineCssVariable(s,"--tcb-header-extra-offset"))-n.outerHeight(!0)+"px";TCB_Front.inlineCssVariable(s,"--tcb-header-extra-offset",l)}break;case"slide-in":n.find(".tve_ea_thrive_leads_form_close").trigger("click"),n.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=ThriveGlobal.$j(this);t3.attr("data-src",t3.attr("src")),t3.attr("src","")}));break;case"post-footer":case"in-content":case"shortcode":n.fadeOut(200,(function(){TL_Front.form_closed(a)}));break;case"widget":n.parent().slideUp(200);break;case"greedy_ribbon":var c=ThriveGlobal.$j("body"),d=ThriveGlobal.$j(window),_=c.css("margin-top");c[0].style.removeProperty("margin-top"),n.find(".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe, .thrv_responsive_video video").each((function(){var t3=ThriveGlobal.$j(this);t3.attr("data-src",t3.attr("src")),t3.attr("src","")})),c.css("margin-top",_),d.scrollTop(0),c.animate({"margin-top":"0px"},300,"linear",(function(){TL_Front.form_closed(a)})).removeClass("tve-tl-gr-anim")}},TL_Front.form_closed=function(t2){TL_Const.close_callbacks&&TL_Const.close_callbacks[t2]&&ThriveGlobal.$j.each(TL_Const.close_callbacks[t2],(function(t3,e){ThriveGlobal.$j.isFunction(e)&&e()}))},TL_Front.handle_typefocus=function(t2,e){t2.find(".tve_typefocus").each((function(){jQuery(this).attr("data-typefocus",e)}))}})();
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.