PageSourceSearch

https://dramelieganesh.com/wp-content/plugins/thrive-leads/js/frontend.min.js?ver=11.0.1

js dramelieganesh.com collected 2026-09-25 03:06:13 UTC 37,946 bytes, 1 lines download raw bytes

1window.TL_Front=window.TL_Front||{},window.ThriveGlobal=window.ThriveGlobal||{$j:jQuery.noConflict()};const videoIframeSelector=".thrv_responsive_video iframe, .thrv_custom_html_shortcode iframe",videoSourceSelector=".thrv_responsive_video video source";let modulesFinishedLoading=!1;const VIEWPORT_BASED_FORM_PREFIXES=["shortcode_","post_footer","in_content","php_insert","widget"],VIEWPORT_IMPRESSION_RATIO=.5,VIEWPORT_UNMEASURED_THRESHOLDS=[0,.01,.05,.1,.15,.2,.25,.3,.35,.4,.45,.5];function matchTrackToken(e){for(var t,o=[/tve-leads-track-(shortcode_\d+)(\s|$)/,/tve-leads-track-(\S+?)-\d+(\s|$)/],r=0;r<o.length;r++)if(t=e.match(o[r]))return t[1];return""}function tlViewportSeenHeight(e){var t=window.innerHeight||document.documentElement.clientHeight||0,o=e.offsetHeight||e.getBoundingClientRect().height||0;return t&&o?.5*Math.min(o,t):0}function tlViewportThreshold(e){var t=e.offsetHeight||e.getBoundingClientRect().height||0,o=tlViewportSeenHeight(e);return t&&o?Math.min(.5,o/t):VIEWPORT_UNMEASURED_THRESHOLDS}TL_Front.dismissed_forms={},TL_Front.revealed_forms={},TL_Front.PASSIVE_TRIGGER_SOURCES=["page_load","time","scroll_percent","scroll_element","page_bottom","exit_intent","viewport"],TL_Front.record_dismissal=function(e){if(e&&e.length){var t=(e.attr("class")||"").match(/tve-leads-track-\S+/);t||(t=(e.find('[class*="tve-leads-track-"]').first().attr("class")||"").match(/tve-leads-track-\S+/)),t&&(TL_Front.dismissed_forms[t[0]]=!0)}},TL_Front.add_page_css=function(e){ThriveGlobal.$j.each(e,function(e,t){if(e+="-css",-1!==(t=t.replace(/^http(s)?:\/\//,"//")).indexOf("thrive_flat")){var o=document.createElement("div");if(o.classList.add("tve-cb"),document.body.append(o),"both"===getComputedStyle(o).clear)return void o.remove();o.remove()}ThriveGlobal.$j("#"+e).length||ThriveGlobal.$j('link[href="http:'+t+'"]').length||ThriveGlobal.$j('link[href="https:'+t+'"]').length||ThriveGlobal.$j('<link rel="stylesheet" id="'+e+'" type="text/css" href="'+t+'"/>').prependTo("head")})},TL_Front.lightspeed_assets=function(e){var t=function(){return ThriveGlobal.$j('link[href*="thrive_flat.css"]').length>0},o=[];if(e.css){if(e.css.files)for(var r in e.css.files){var n="flat"===r;(!t()&&n||!n)&&ThriveGlobal.$j('<link rel="stylesheet" href="'+e.css.files[r]+'"/>').prependTo("head")}e.css.inline&&e.css.inline.length&&e.css.inline.forEach(function(e){t()||ThriveGlobal.$j(e).prependTo("head")})}if(e.js)for(var i in e.js)TCB_Front&&!TCB_Front.isModuleLoaded(i)&&o.push(i);!function t(){if(o.length){var r=o.shift();TL_Front.add_head_script(e.js[r],"tl-lightspeed-"+r,t)}else modulesFinishedLoading=!0}()},TL_Front.conditional_display=function(e){void 0!==e&&e.lazy_load_conditional_preview&&tcb_condition_sets&&e.lazy_load_conditional_preview.forEach(function(e){-1===tcb_condition_sets.findIndex(function(t){return t.key===e.key})&&tcb_condition_sets.push(e)})},TL_Front.$document=ThriveGlobal.$j(document),TL_Front.extendConst=function(e){TL_Const.current_screen&&delete e.current_screen,ThriveGlobal.$j.extend(!0,TL_Const,e)},TL_Front.document_write=function(e){ThriveGlobal.$j("body").append(e)},TL_Front.add_head_script=function(e,t,o){var r=document.createElement("script"),n=ThriveGlobal.$j("head")[0];r.async=!0,"function"==typeof o&&(r.onload=r.onreadystatechange=o),void 0!==t&&(r.id=t),r.src=e,n.insertBefore(r,n.firstChild)},TL_Front.add_page_js=function(e,t){"function"!=typeof t&&(t=function(){});var o=0;ThriveGlobal.$j.each(e,function(e,t){if("tve_frontend"===e&&"undefined"!=typeof TCB_Front)return!0;if(e+="-js",t&&!ThriveGlobal.$j("#"+e).length&&!ThriveGlobal.$j('script[src="'+t+'"]').length){if(o++,-1!==t.indexOf("connect.facebook.net"))return TL_Front.add_head_script(t,e,function(){o--}),!0;ThriveGlobal.$j.getScript(t,function(){o--})}}),function e(){0!==o?setTimeout(e,50):t()}()},TL_Front.send_impression=function(e,t){if(e){t=t||{};var o={security:TL_Const.security,action:TL_Const.action_impression,tl_data:e,current_screen:TL_Const.current_screen};ThriveGlobal.$j.each(TL_Const.custom_post_data,function(e,t){o[e]=t}),t.useBatching&&window.TVE_Dash&&!TVE_Dash.ajax_sent?TVE_Dash.add_load_item("tl_impression",o):ThriveGlobal.$j.post(TL_Const.ajax_url,o)}},TL_Front.isViewportBasedForm=function(e){return VIEWPORT_BASED_FORM_PREFIXES.some(function(t){return 0===e.indexOf(t)})},TL_Front.setupViewportImpressions=function(e){if(e&&0!==Object.keys(e).length){TL_Front.viewport_impressions=TL_Front.viewport_impressions||{};var t={};Object.keys(e).forEach(function(o){TL_Front.isViewportBasedForm(o)?TL_Front.viewport_impressions[o]=e[o]:t[o]=e[o]}),Object.keys(t).length>0&&TL_Front.send_impression(t,{useBatching:!0})}},TL_Front.setupTriggerImpressions=function(e){e&&0!==Object.keys(e).length&&(TL_Front.trigger_impressions=TL_Front.trigger_impressions||{},Object.keys(e).forEach(function(t){TL_Front.trigger_impressions[t]=e[t],TL_Front.revealed_forms[t]&&TL_Front.trackTriggerImpression(t)}))},TL_Front.trackTriggerImpression=function(e){if(e&&TL_Front.trigger_impressions&&TL_Front.trigger_impressions[e]&&!TL_Front.trigger_impressions[e]._tracked){TL_Front.trigger_impressions[e]._tracked=!0;var t={},o=ThriveGlobal.$j.extend({},TL_Front.trigger_impressions[e]);delete o._tracked,delete o.trigger_deferred,t[e]=o,TL_Front.send_impression(t)}},TL_Front.maybe_track_trigger_impression=function(e,t){if(e&&(!e.form_id||-1===e.form_id.indexOf("2step-"))){var o=[];e.form_id&&o.push(e.form_id.replace(/^tve-leads-track-/,"")),o.push(e.form_type||TL_Front.resolveRevealedFormType(t||e.$target)),o.forEach(function(e){e&&(TL_Front.revealed_forms[e]=!0,TL_Front.trackTriggerImpression(e))})}},TL_Front.resolveRevealedFormType=function(e){if(!e||!e.length)return"";var t=matchTrackToken(e.attr("class")||"");return t||matchTrackToken(e.closest('[class*="tve-leads-track-"]').attr("class")||"")},TL_Front.do_impression=function(){if(TL_Front.impressions_data){var e={},t={},o={};
1Object.keys(TL_Front.impressions_data).forEach(function(r){TL_Front.impressions_data[r].trigger_deferred?o[r]=TL_Front.impressions_data[r]:TL_Front.isViewportBasedForm(r)?t[r]=TL_Front.impressions_data[r]:e[r]=TL_Front.impressions_data[r]}),Object.keys(t).length>0&&(TL_Front.setupViewportImpressions(t),TL_Front.initViewportObservers()),Object.keys(o).length>0&&TL_Front.setupTriggerImpressions(o),Object.keys(e).length>0&&TL_Front.send_impression(e,{useBatching:!0})}},TL_Front.observeViewportElement=function(e,t){if(!TL_Front.viewportObservedElements.has(e)){TL_Front.viewportObservedElements.add(e);var o=new IntersectionObserver(function(e){e.forEach(function(e){var r=tlViewportSeenHeight(e.target);!e.isIntersecting||!r||e.intersectionRect.height+1<r||(TL_Front.trackViewportImpression(t),o.unobserve(e.target))})},{threshold:tlViewportThreshold(e)});o.observe(e)}},TL_Front.initViewportObservers=function(){TL_Front.viewport_impressions&&0!==Object.keys(TL_Front.viewport_impressions).length&&("IntersectionObserver"in window?(TL_Front.viewportObservedElements=TL_Front.viewportObservedElements||new WeakSet,Object.keys(TL_Front.viewport_impressions).forEac
1h(function(e){TL_Front.viewport_impressions[e]._tracked||ThriveGlobal.$j('.tve-leads-conversion-object[data-tl-type="'+e+'"]').each(function(){TL_Front.observeViewportElement(this,e)})})):Object.keys(TL_Front.viewport_impressions).forEach(function(e){TL_Front.trackViewportImpression(e)}))},TL_Front.refreshViewportObservers=function(){TL_Front.viewport_impressions&&0!==Object.keys(TL_Front.viewport_impressions).length&&(window.requestAnimationFrame?requestAnimationFrame(function(){TL_Front.initViewportObservers()}):TL_Front.initViewportObservers())},TL_Front.trackViewportImpression=function(e){if(e&&TL_Front.viewport_impressions&&TL_Front.viewport_impressions[e]&&!TL_Front.viewport_impressions[e]._tracked){TL_Front.viewport_impressions[e]._tracked=!0;var t={},o=ThriveGlobal.$j.extend({},TL_Front.viewport_impressions[e]);delete o._tracked,t[e]=o,TL_Front.send_impression(t)}},TL_Front.do_two_step_impression=function(e){if(TL_Const&&TL_Const.forms&&TL_Const.forms[e]){var t=TL_Const.forms[e],o={};o[e]={group_id:t.main_group_id,form_type_id:t.form_type_id,variation_key:t._key,active_test_id:t.active_test_id||null},TL_Front.send_impression(o)}},TL_Front.maybe_track_two_step_impression=function(e){if(e&&-1!==e.indexOf("2step-")&&TL_Const&&TL_Const.forms){var t=e.replace("tve-leads-track-2step-",""),o=Object.keys(TL_Const.forms).find(function(e){return 0===e.indexOf("two_step_")&&TL_Const.forms[e]._key===t});o&&TL_Front.do_two_step_impression(o)}},ThriveGlobal.$j(function(){if("undefined"!=typeof TL_Const){if(ThriveGlobal.$j(".tve-leads-screen-filler iframe, .tve-leads-ribbon iframe").not(".thrv_social_default iframe").not(".tcb-dr-done").each(function(){var e=ThriveGlobal.$j(this).addClass("tcb-dr-done");e.attr("src")&&e.attr("data-src",e.attr("src")),e.attr("src","")}),"undefined"!=typeof TCB_Front&&ThriveGlobal.$j(TCB_Front).on("content_loaded.thrive",function(e,t){t.find(".tve-tl-anim").each(function(){var e=ThriveGlobal.$j(this);ThriveGlobal.$j(TL_Front).trigger("showform.thriveleads",{$target:e})})}),ThriveGlobal.$j(window).on("tcb_after_dom_ready",function(){if(!tve_frontend_options.is_editor_page){var e=TCB_Front.queryString.get("post_type");e&&"tve_lead_2s_lightbox"===e&&setTimeout(function(){TCB_Front.handleIframes(ThriveGlobal.$j(".tve_p_lb_content"))},100)}}),ThriveGlobal.$j(TL_Front).on("showform.thriveleads",function(e,t){if(!(t.source&&t.form_id&&-1!==TL_Front.PASSIVE_TRIGGER_SOURCES.indexOf(t.source)&&TL_Front.dismissed_forms[t.form_id])){var o,r=t.$target?t.$target:ThriveGlobal.$j("."+t.form_id);r.length&&(t.TargetEvent&&"exit"===t.TargetEvent.tve_trigger&&r.data("shown-on-exit")||(t.first&&(r=r.first()),r.attr("data-s-state")&&(r=r.closest(".tl-states-root").find('[data-state="'+r.attr("data-s-state")+'"] .tl-lb-target')),t&&t.$parentStateEl&&r.closest(".tl-style").first().data("parentStateEl",t.$parentStateEl),o=r.hasClass("tve-tl-anim")?r:r.find(".tve-tl-anim"),r.css("display",""),setTimeout(function(){o.addClass("tve-leads-triggered"),TL_Front.handle_typefocus(o,"start"),ThriveGlobal.$j(".tve_post_grid_masonry").length&&TCB_Front.postGridLayout()},0),TL_Front.maybe_track_two_step_impression(t.form_id),TL_Front.maybe_track_trigger_impression(t,r),"function"==typeof TL_Front["open_"+t.form_type]?TL_Front["open_"+t.form_type](r,t.TargetEvent):r.show(),TCB_Front.resizePageSection(),r.on("switchstate",function(e,t){t.offset().top-ThriveGlobal.$j(window).scrollTop()+t.outerHeight()<0&&ThriveGlobal.$j("html, body").animate({scrollTop:t.offset().top+"px"},50),TCB_Front.resizePageSection()}),setTimeout(function(){r.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=ThriveGlobal.$j(this);e.attr("data-src")&&e.attr("src",e.attr("data-src"))})},200)))}}),ThriveGlobal.$j("body").on("click",".tve-ribbon-close",function(){var e=ThriveGlobal.$j(this).closest(".tve-leads-ribbon"),t=e.data("position");TL_Front.record_dismissal(e),e.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=ThriveGlobal.$j(this);e.attr("data-src",e.attr("src")),e.attr("src","")}),e.removeClass("tve-leads-triggered"),"top"===t?ThriveGlobal.$j("body").animate({marginTop:0},200,function(){document.body.style.removeProperty("margin-top"),TCB_Front&&TCB_Front.$
1window&&TCB_Front.$window.trigger("scroll")}):"bottom"===t&&ThriveGlobal.$j("body").animate({marginBottom:"0px"},200,function(){document.body.style.removeProperty("margin-bottom")}),TL_Front.handle_typefocus(e,"pause"),setTimeout(function(){e.css(t,"")},400),ThriveGlobal.$j("#tve-lg-error-container").hide()}),ThriveGlobal.$j(window).on("conditional_display_loaded",()=>{const e=Object.keys(TL_Front.contentHtml||{});e.length&&(e.forEach(e=>{const t=ThriveGlobal.$j(`.tl-placeholder-f-type-${e}`);if(t.length){const o=ThriveGlobal.$j(TL_Front.contentHtml[e]);t.replaceWith(o),setTimeout(()=>{ThriveGlobal.$j(TL_Front).trigger("showform.thriveleads",{$target:o})})}}),TL_Front.refreshViewportObservers())}),ThriveGlobal.$j(TCB_Front).on("tl-ajax-loaded",function(){TL_Front.refreshViewportObservers()}),TL_Const.ajax_load||TL_Front.do_impression(),TL_Front.ajax_load_callback=function(t,r){if(r&&TL_Front.conditional_display(r),t&&t.res&&t.js&&t.html){if(t.trigger_impressions&&TL_Front.setupTriggerImpressions(t.trigger_impressions),TL_Front.lightspeed_assets(t.lightspeed||{}),TL_Front.add_page_css(t.res.css),TL_Front.add_page_css(t.res.fonts),t.html){t.html.widget||ThriveGlobal.$j(".tl-widget-container").remove(),ThriveGlobal.$j.each(t.html,function(e,o){if(!o)return!0;if(TL_Front.contentHtml=TL_Front.contentHtml||{},TL_Front.contentHtml[e]=o,"in_content"===e){let e=parseInt(t.in_content_pos),r="after",n=ThriveGlobal.$j(".tve-tl-cnt-wrap");n.length||(n=ThriveGlobal.$j("#tve_editor.tar-main-content")),n.length||(n=ThriveGlobal.$j("#post_content"));const i=n.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");0===i.length&&0===e?n.prepend(o):(0===e&&(e=1,r="before"),i.eq(e-1)[r](o))}else{const n=ThriveGlobal.$j(".tl-placeholder-f-type-"+e);if(t.js[e]&&t.js[e].content_locking){const o=n.parents(".tve_content_lock").first();if(t.js[e].has_conversion)return n.remove(),o.removeClass("tve_lock_hide"),!0;"tve_lock_blur"===t.js[e].lock&&o.removeClass("tve_lock_hide").addClass(t.js[e].lock)}"widget"===e?n.hasClass("tl-preload-form")?n.first().replaceWith(ThriveGlobal.$j(o).addClass("tve-leads-triggered")):(n.replaceWith(o),ThriveGlobal.$j(".tl-widget-container").children().unwrap()):n.replaceWith(o),0===e.indexOf("two_step")&&(r=e,ThriveGlobal.$j(`.tl-2step-trigger-${r.replace("two_step_","")}`).show())}var r}),i=-1,"Microsoft Internet Explorer"==navigator.appName?(n=navigator.userAgent,null!==new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(n)&&(i=parseFloat(RegExp.$1))):"Netscape"==navigator.appName&&(n=navigator.userAgent,null!==new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})").exec(n)&&(i=parseFloat(RegExp.$1))),i>0&&setTimeout(function(){var e="";ThriveGlobal.$j("body style.tve_custom_style").each(function(){e=this.innerText,this.innerText=e})})}var n,i;if(t.body_end){var s=ThriveGlobal.$j(t.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(e){}}void 0!==t.js.TVO_Form&&(TVO_Form=t.js.TVO_Form),TL_Front.add_page_js(t.res.js,function(){e=!0}),setTimeout(function t(){e&&modulesFinishedLoading?(TCB_Front.event_triggers(ThriveGlobal.$j("body")),TCB_Front.onDOMReady(),o(),ThriveGlobal.$j(TCB_Front).trigger("tl-ajax-loaded"),TCB_Front.add_scroll_callback(function(){var e=ThriveGlobal.$j('.tve-leads-ribbon[data-position="top"]'),t=e.find(".tve_shortcode_editor"),o=e.is(":visible")&&Number(e.css("opacity"))?Math.max(e.outerHeight(),t.outerHeight()):0,r=ThriveGlobal.$j('[data-elementor-type="header"] .elementor-top-section.elementor-sticky.elementor-sticky--active');r.length||(r=ThriveGlobal.$j(".she-header")),r.length&&r[0].style.setProperty("margin-top",o+"px","important")})):setTimeout(t,50)},50),TL_Const.forms=t.js,t.deferred_impressions&&TL_Front.setupViewportImpressions(t.deferred_impressions),setTimeout(()=>{ThriveGlobal.$j(".tl-preload-form").remove()},1e3)}},TL_Const.ajax_load){var e=!1,t=(ThriveGlobal.$j(".tve-leads-two-step-trigger").hide(),{tcb_js:"undefined"!=typeof TCB_Front?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(e,o){t[e]=o}),void(window.TVE_Dash&&!TVE_Dash.ajax_sent?ThriveGlobal.$j(document).on("tve-dash.load",function(e){TVE_Dash.add_load_item("tl_lazy_load",t,TL_Front.ajax_load_callback)}):ThriveGlobal.$j.ajax({url:TL_Const.ajax_url,type:"post",dataType:"json",data:t,xhrFields:{withCredentials:!0}}).done(TL_Front.ajax_load_callback))}o()}function o(){if(!TL_Const.forms)return!1;function e(e){if(e.find('[data-validation="email"]').length)return e.find('[data-validation="email"]').val();var t="";return e.find("input").each(function(){if(this.name&&this.name.match(/email/i))return t=this.value,!1}),t}ThriveGlobal.$j("body").on("submit",".tve-leads-conversion-object form",function(t){var o=ThriveGlobal.$j(this),r=o.parents(".tve-leads-conversion-object").first().attr("data-tl-type"),n={},i=o.closest(".thrv_lead_generation");if(i.length&&"0"===i.attr("data-tl-track-conversion"))return!0;
1if(o.data("tve-force-submit")||o.closest(".thrv_custom_html_shortcode").length||o.data("tl-do-submit")||!r||!TL_Const.forms[r]||function(e){var t=e.attr("id"),o=window.fluentFormVars,r=!1;return o&&o.forms&&(r=o.forms.some(function(e){return e.form_id_selector===t})),r}(o)||function(e){var t=e.attr("id");return t&&t.includes("happyforms")&&window.HappyForms}(o))return!0;o.tve_form_loading(),o.find("input").each(function(){var e=ThriveGlobal.$j(this),t=e.attr("name");void 0!==t&&-1===TL_Const.ignored_fields.indexOf(t)&&(n[e.attr("name")]=e.val())});var s={security:TL_Const.security,action:TL_Const.action_conversion,type:r,tl_data:TL_Const.forms[r],custom_fields:n,email:e(o),current_screen:TL_Const.current_screen};return ThriveGlobal.$j.each(TL_Const.custom_post_data,function(e,t){s[e]=t}),ThriveGlobal.$j.ajax({url:TL_Const.ajax_url,data:s,type:"post",xhrFields:{withCredentials:!0}}).always(function(){void 0===o.attr("action")?location.reload():o.data("tve-force-submit",!0).submit()}),!1}),ThriveGlobal.$j("body").on("click",".tve-leads-conversion-object a",function(){var e=ThriveGlobal.$j(this).closest(".thrv-button, .thrv_button_shortcode");if(e.length&&"1"===e.attr("data-tl-track-conversion")){var t=e.closest(".tve-leads-conversion-object").first().attr("data-tl-type");if(t&&TL_Const.forms&&TL_Const.forms[t]){var o={security:TL_Const.security,action:TL_Const.action_button_conversion,type:t,tl_data:TL_Const.forms[t],current_screen:TL_Const.current_screen};ThriveGlobal.$j.each(TL_Const.custom_post_data||{},function(e,t){o[e]=t});var r=ThriveGlobal.$j.param(o);if(!(navigator.sendBeacon&&navigator.sendBeacon(TL_Const.ajax_url,new Blob([r],{type:"application/x-www-form-urlencoded"}))))try{var n=new XMLHttpRequest;n.open("POST",TL_Const.ajax_url,!1),n.withCredentials=!0,n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.send(r)}catch(e){}}}}),ThriveGlobal.$j("body").on("form_conversion.tcb",".tve-leads-conversion-object form",function(e){var t=ThriveGlobal.$j(this),o=t.parents(".tve-leads-conversion-object").first().attr("data-tl-type"),r=t.closest(".thrv_lead_generation");if(r.length&&"0"===r.attr("data-tl-track-conversion"))return!0;if(!o||!TL_Const.hasOwnProperty("forms")||!TL_Const.forms[o])return!0;var n={type:o,tl_data:TL_Const.forms[o],current_screen:TL_Const.current_screen};ThriveGlobal.$j.each(TL_Const.custom_post_data,function(e,t){n[e]=t}),e.post_data=e.post_data||{},e.post_data.thrive_leads=n}).on("lead_conversion_success.tcb",".tve_lead_lock_shortcode form, .tve_post_lightbox form",function(e){var t=ThriveGlobal.$j(this),o=t.parents(".tve_content_lock");if(t.closest(".tve_post_lightbox").length){var r=t.closest(".tve-leads-conversion-object").attr("data-tl-type");TL_Front.parent_state&&TL_Front.parent_state.parent().hasClass("tve-leads-track-"+r)&&(o=TL_Front.parent_state.closest(".tve_content_lock"))}o.length&&o.hasClass("tve_content_lock")&&(o.removeClass("tve_lead_lock").find(".tve_lead_lock_shortcode").remove(),o.find(".tve_lead_locked_overlay").remove(),e.content_unlocked=!0)}).on("leads_states.tcb",".tve-leads-conversion-object form",function(e,t){var o=ThriveGlobal.$j(this);switch(o.find("#_form_type").val()){case"ribbon":var r=o.parents(".tve-leads-ribbon");o.parents(".tve_shortcode_editor").empty().html(t),TL_Front.open_ribbon(r);break;case"lightbox":case"tve_lead_2s_lightbox":o.parents(".tve_p_lb_control").empty().html(t);break;case"widget":case"in-content":case"post-footer":case"php-insert":o.parents(".tve_shortcode_editor").empty().html(t);break;case"slide-in":var n=o.parents(".tve-leads-slide-in");o.parents(".tve_shortcode_editor").empty().html(t),TL_Front.open_slide_in(n);break;case"screen-filler-lightbox":var i=o.parents(".tve-leads-screen-filler");o.parents(".tve_shortcode_editor").empty().html(t),TL_Front.open_screen_filler(i);break;case"scroll-mat":r=o.parents(".tve-leads-greedy_ribbon");o.parents(".tve_shortcode_editor").empty().html(t),TL_Front.open_ribbon(r);break;case"tve_lead_shortcode":o.parents(".tve-leads-shortcode").empty().html(t);break;default:e.change_states=!1}e.change_states=!0}).on("leads_messages.tcb",".tve-leads-conversion-object form",function(e){var t=ThriveGlobal.$j(this);switch(t.find("#_form_type").val()){case"tve_lead_shortcode":e.lightbox_state&&t.parents(".tve-leads-shortcode").hide();break;case"ribbon":t.parents(".thrv-ribbon").find(".tve-ribbon-close").click();break;case"lightbox":case"tve_lead_2s_lightbox":t.parents(".tve_p_lb_content").find(".tve_p_lb_close").click(),t.parents(".tve-leads-screen-filler").find(".tve-screen-filler-close").click();break;case"slide-in":t.parents(".thrv-leads-slide-in").find(".tve-leads-close").click();break;case"screen-filler-lightbox":t.parents(".tve-leads-screen-filler").find(".tve-screen-filler-close").click();break;case"scroll-mat":t.parents(".thrv-greedy-ribbon").find(".tve_et_click").click();break;
1default:t.find('input:not(:hidden):not([type="checkbox"]):not([type="radio"])').val("")}t.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(e,t){t.find("script.tcb-lazyload-template").each(function(){ThriveGlobal.$j(this).replaceWith(this.innerHTML)})})}}),TL_Front.switch_lightbox_state=function(e,t){return e.find(".tve_p_lb_overlay").css("opacity","0.8"),e.find(".tve_p_lb_content").css("top",t.find(".tve_p_lb_content").css("top")).addClass("tve-leads-triggered"),window.tve_lb_switch_state=!0,TL_Front.open_lightbox(e.find(".tl-lb-target"))},TL_Front.close_lightbox=function(){var e=ThriveGlobal.$j("body"),t=ThriveGlobal.$j("html"),o="tve-o-hidden tve-l-open tve-hide-overflow",r=arguments[0]||e.data("tl-open-lightbox"),n=!1!==arguments[1];if(r&&r.length){if(n&&!window.tve_lb_switch_state){var i=r.closest(".tl-states-root");i.length||(i=r.find(".tl-states-root").first()),TL_Front.record_dismissal(i.length?i.find(".tl-lb-target").first():r)}r.find(".tve-tl-anim").removeClass("tve-leads-triggered"),window.tve_lb_switch_state||(1===ThriveGlobal.$j(".tve_lb_open").length&&(e.removeClass(o).css("padding-right",""),t.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",""))),t.removeClass(t.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(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=ThriveGlobal.$j(this);"SOURCE"===this.tagName&&e.parent("video").trigger("pause"),e.attr("data-src",e.attr("src")),e.attr("src","")}),TL_Front.handle_typefocus(r,"pause"),ThriveGlobal.$j("#tve-lg-error-container").hide()}},TL_Front.open_lightbox=function(e,t){if(!e.hasClass("tve_lb_open")&&!e.hasClass("tve_lb_opening")){var o=window.tve_lb_switch_state;ThriveGlobal.$j.fn.thrive_iphone_placeholder&&e.find("input[placeholder]").thrive_iphone_placeholder(),TL_Front.close_lightbox(ThriveGlobal.$j(".tve_p_lb_background.tve_lb_open"),!1),e.css({visibility:"",position:"",left:"",display:""}).parents(".tl-style").css({visibility:"",position:"",left:"",display:""});var r,n,i,s,a,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"},i=r("<div>").css(r.extend({},n)),s=r("<div>").css(r.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},n)).append(i).appendTo("body").scrollLeft(1e3).scrollTop(1e3),a={height:s.offset().top-i.offset().top||0,width:s.offset().left-i.offset().left||0},s.remove(),a).width,v=parseInt(l.css("paddingRight")),p=ThriveGlobal.$j(".tve_p_lb_background.tve_lb_open").length;isNaN(v)&&(v=0),e.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(e){if(27==e.which)return TL_Front.close_lightbox(),!1}),e.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",e),e.addClass("tve_p_lb_background"),e.data("doc-scroll-top",document.documentElement.scrollTop),e.data("bdy-scroll-top",document.body.scrollTop),l.addClass(d),c.addClass(d);var h=window.innerHeight<ThriveGlobal.$j(document).height();!o&&h&&l.css("padding-right",v+_+"px"),e.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=jQuery(this);e.attr("data-src")&&e.attr("src",e.attr("data-src"))}),e.find(".thrv_responsive_video").each(function(){var e=ThriveGlobal.$j(this);TCB_Front.makeAutoplayVideo(e)});var f="",T=e.parents(".tl-states-root").attr("class")||"";ThriveGlobal.$j.each(T.split(" "),function(e,t){if(0===t.indexOf("tl-anim"))return f=t,!1}),c.addClass(f).data("tl-anim-class",f),setTimeout(function(){function t(){var t=e.find(".tve_p_lb_content").outerHeight(!0)+2*parseInt(e.css("padding-top")),o=e.find(".tve_p_lb_content"),r=window.innerHeight,n=(r-t)/2;e.find(".tve_p_lb_overlay").css({height:t+80+"px","min-height":r+"px"}),p?o.animate({top:n<40?40:n},100):o.css("top",(n<40?40:n)+"px"),t+40>r&&e.addClass("tve-scroll")}setTimeout(function(){e.addClass("tve_lb_opening")},0),e.find("iframe").not(".thrv_social_default iframe").each(function(){var e=ThriveGlobal.$j(this);!e.data("tve_ifr_loaded")&&e.attr("data-src")&&e.data("tve_ifr_loaded",1).attr("src",e.attr("data-src"))}),TCB_Front.resizePageSection(),t(),ThriveGlobal.$j(window).on("resize",t)},20),setTimeout(function(){e.removeClass("tve_lb_opening").addClass("tve_lb_open").find(".tve_p_lb_content").trigger("tve.lightbox-open");e.find("form").each(function(){ThriveGlobal.$j(this).find('input[required], textarea[required], select[required], input[data-required="true"], textarea[data-required="true"], select[data-required="true"]').each(function(){const e=ThriveGlobal.$j(this);"none"===e.css("display")&&e.show(),"hidden"===e.css("visibility")&&e.css("visibility","visible");e.parentsUntil(".tve_p_lb_content").filter(function(){return"none"===ThriveGlobal.$j(this).css("display")||"hidden"===ThriveGlobal.$j(this).css("visibility")}).show().css("visibility","visible");const t=e.attr("tabindex");t&&parseInt(t)<0&&e.removeAttr("tabindex")})}),ThriveGlobal.$j(window).trigger("scroll")},300),t&&t.preventDefault&&(t.preventDefault(),t.stopPropagation()),e.parents(".tl-states-root").off("switchstate").on("switchstate",function(e,t){var o=Array.prototype.slice.call(arguments,1
1);TL_Front.switch_lightbox_state.apply(TL_Front,o)}),t&&"exit"===t.tve_trigger&&e.data("shown-on-exit",!0),TCB_Front.$window.trigger("tl_after_lightbox_open",e),setTimeout(()=>{TCB_Front.$window.trigger("tve_after_content_toggle",[e])},500)}},TL_Front.open_two_step_lightbox=TL_Front.open_lightbox,TL_Front.open_ribbon=function(e){function t(){e.addClass("tve-leads-triggered");const t=e.find(".tve_shortcode_editor"),o=t.length?t.outerHeight():0,r=e.attr("data-position")||"top";switch(r){case"above":e.css("bottom","auto");case"top":e.css("top",ThriveGlobal.$j("#wpadminbar").length?"32px":"0px");break;case"bottom":e.css("bottom","0px"),e.css("top","auto")}let n=0,i=Math.max(e.outerHeight(),o),s=setInterval(function(){n++;const t=Math.max(e.outerHeight(),o);t==i&&10!=n||clearInterval(s),"top"===r?(ThriveGlobal.$j("body").animate({"margin-top":t+"px"},200,function(){document.body.style.setProperty("margin-top",t+"px","important")}),TCB_Front&&TCB_Front.$window&&TCB_Front.$window.trigger("scroll")):"bottom"===r&&ThriveGlobal.$j("body").animate({"margin-bottom":t+"px"},200)},100);const a=ThriveGlobal.$j("body").find(".thrv_header.tve-scroll-sticky");if(a.length&&"top"===r){const e=parseFloat(TCB_Front.inlineCssVariable(a,"--tcb-header-extra-offset"))||0;TCB_Front.inlineCssVariable(a,"--tcb-header-extra-offset",e+i+"px")}e.off("switchstate").on("switchstate",function(e,t){const o=Array.prototype.slice.call(arguments,1);TL_Front.switch_ribbon_state.apply(TL_Front,o)})}TL_Const.forms.greedy_ribbon?(TL_Const.close_callbacks=TL_Const.close_callbacks||{},TL_Const.close_callbacks.greedy_ribbon=[t]):t()},TL_Front.switch_ribbon_state=function(e){var t=e.outerHeight(!0),o={};o["top"===e.parent().attr("data-position")?"margin-top":"margin-bottom"]=t+"px",e.find(".tve-tl-anim").removeClass(function(e,t){return(t.match(/(^|\s)tl-anim-\S+/g)||[]).join(" ")}).removeClass("tve-tl-anim"),ThriveGlobal.$j("body").animate(o,200)},TL_Front.open_greedy_ribbon=function(e){const t=ThriveGlobal.$j("body"),o=ThriveGlobal.$j(window),r=t.css("position");o.scrollTop(0),t.css("position","static"),t.addClass("tve-tl-gr-anim"),TCB_Front.$window.trigger("scroll"),e.css("top",ThriveGlobal.$j("#wpadminbar").length?"32px":"0px");const n=e.outerHeight();t[0].style.setProperty("margin-top",n+"px","important");let i=1;setTimeout(function(){ThriveGlobal.$j('.tve-leads-ribbon[data-position="top"]').removeClass("tve-leads-triggered")},50),o.scroll(function(){const s=t.hasClass("tve-tl-gr-anim");if(i&&s){const s=o.scrollTop();if(s>n){(e.find(".tve_ea_thrive_wistia").length||e.find(".tve_with_wistia_popover"))&&ThriveGlobal.$j(".wistia_placebo_close_button").trigger("click"),t.removeClass("tve-tl-gr-anim"),e.addClass("tve-no-animation");const a=s-n;e.removeClass("tve-leads-triggered"),e.find(videoIframeSelector+", "+videoSourceSelector).each(function(){const e=ThriveGlobal.$j(this);e.attr("data-src",e.attr("src")),e.attr("src","")}),t.css("margin-top",""),t.css("position",r),o.scrollTop(a),e.removeClass("tve-no-animation"),i=0,TL_Front.record_dismissal(e),TL_Front.form_closed("greedy_ribbon"),TL_Const.forms.greedy_ribbon.allow_callbacks=!1}}}),e.off("switchstate").on("switchstate",function(e,t){})},TL_Front.open_screen_filler=function(e,t){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&&e.find("input[placeholder]").thrive_iphone_placeholder(),e.css("top",ThriveGlobal.$j("#wpadminbar").length?"32px":"0px").css("visibility",""),!0===e.hasClass("stl-anim-slip_from_top")){var i=ThriveGlobal.$j(window).scrollTop();e.css("top",i).css("visibility","")}e.find(".tve-screen-filler-close").on("click",function(){a(e)}),e.data("doc-scroll-top",document.documentElement.scrollTop),e.data("bdy-scroll-top",document.body.scrollTop),"none"!==e.find(".thrv-leads-screen-filler.thrv_wrapper ").css("display")&&r.addClass(o);var s="";function a(e){e.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=ThriveGlobal.$j(this);e.attr("data-src",e.attr("src")),e.attr("src","")}),TL_Front.record_dismissal(e),e.removeClass("tve-leads-triggered"),TL_Front.handle_typefocus(e,"pause"),ThriveGlobal.$j(document).off("keyup.close-screenfiller"),0==ThriveGlobal.$j.find(".tve-leads-ribbon").length&&ThriveGlobal.$j("body").animate({"margin-top":"0px"},200),r.removeClass(o),n.removeClass(n.data("tl-s-anim-class")),setTimeout(function(){e.css("top","").hide(),"none"===e.css("display")&&(r.removeClass(o),e.removeClass("tve-leads-triggered"))},400),e.data("doc-scroll-top")?(document.documentElement.scrollTop=e.data("doc-scroll-top"),e.data("doc-scroll-top","")):e.data("bdy-scroll-top")&&(document.body.scrollTop=e.data("bdy-scroll-top"),e.data("bdy-scroll-top","")),ThriveGlobal.$j("#tve-lg-error-container").hide()}ThriveGlobal.$j.each(e.attr("class").split(" "),function(e,t){if(0===t.indexOf("stl-anim"))return s=t,!1}),n.addClass(s).data("tl-s-anim-class",s);var l=e.find("> .tl-style").hide(),c=e.find('> .tl-style[data-form-state="already_subscribed"]');c.length?c.show():l.first().show(),TL_Front.close_screen_filler=a,t&&t.preventDefault&&(t.preventDefault(),t.stopPropagation()),ThriveGlobal.$j(document).off("keyup.close-screenfiller").on("keyup.close-screenfiller",function(t){27==t.which&&a(e)}),e.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=jQuery(this);e.attr("data-src")&&e.attr("src",e.attr("data-src"))}),setTimeout(()=>{TCB_Front.resizePageSection()},500)},TL_Front.switch_slide_in_state=function(e){e.find(".tve-tl-anim").removeClass(function(e,t){return(t.match(/(^|\s)tl-anim-\S+/g)||[]).join(" ")}).removeClass("tve-tl-anim"),TL_Front.slide_in_position(e.find(".thrv-leads-slide-in"))},TL_Front.slide_in_position=function(e){var t=ThriveGlobal.$j(window),o=e.outerHeight();if(t.width()<=782||t.height()<o){e.parents(".tve-leads-slide-in").addClass("tve-lb");var r=t.height();setTimeout(function(){let t;t=e.parents(".tve-leads-slide-in").is('[class*="bot"]')?r-o:0,e.closest(".tve-leads-slide-in").data("doc-scroll-top",document.documentElement.scrollTop).data("bdy-scroll-top",document.body.scrollTop),e.parents(".tve-leads-conversion-object").first().css({height:o+80+"px","min-height":r+"px"}),e.css("top",(t<40?40:t)+"px"),o+40>r&&e.parents(".tve-leads-slide-in").css("overflow-y","scroll")},0)}},TL_Front.open_slide_in=function(e,t){var o="tve-o-hidden tve-l-open tve-hide-overflow",r=ThriveGlobal.$j("body"),n=ThriveGlobal.$j("html");function i(t){TL_Front.record_dismissal(t),t.removeClass("tve-leads-triggered"),TL_Front.handle_typefocus(t,"pause"),ThriveGlobal.$j(document).off("keyup.close-slidein"),ThriveGlobal.$j(".tve_lb_open").length||(r.removeClass(o),n.removeClass(o)),t.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=ThriveGlobal.$j(this);e.attr("data-src",e.attr("src")),e.attr("src","")}),ThriveGlobal.$j("#tve-lg-error-container").hide(),e.data("doc-scroll-top")?(document.documentElement.scrollTop=e.data("doc-scroll-top"),e.data("doc-scroll-top","")):e.data("bdy-scroll-top")&&(document.body.scrollTop=e.data("bdy-scroll-top"),e.data("bdy-scroll-top",""))}ThriveGlobal.$j.fn.thrive_iphone_placeholder&&e.find("input[placeholder]").thrive_iphone_placeholder(),TL_Front.slide_in_position(e.find(".thrv-leads-slide-in").filter(":visible")),e.off().on("click",".tve-leads-close",function(){i(e)}),e.find(".tve_ea_thrive_leads_form_close").on("click",function(){i(e)}),e.on("switchstate",function(e,t){var o=Array.prototype.slice.call(arguments,1
1);TL_Front.switch_slide_in_state.apply(TL_Front,o)}),ThriveGlobal.$j(document).off("keyup.close-slidein").on("keyup.close-slidein",function(t){27==t.which&&i(e)}),t&&t.preventDefault&&(t.preventDefault(),t.stopPropagation())},TL_Front.close_form=function(e,t,o,r){var n=ThriveGlobal.$j(e).parents(".tve-leads-triggered"),i=n.attr("data-tl-type");if(void 0===i&&n.hasClass("tve-leads-widget"))i="widget";else if(void 0===i&&n.hasClass("tve-leads-post-footer"))i="post-footer";else if(void 0===i&&n.hasClass("tve-leads-slide-in"))i="slide-in";else if(void 0===i&&n.hasClass("tve-leads-in-content"))i="in-content";else if(void 0===i&&n.hasClass("tve-leads-shortcode"))i="shortcode";else if(void 0===i&&n.hasClass("tve-leads-greedy_ribbon"))i="greedy_ribbon";else{if(void 0===i&&n.hasClass("tve_p_lb_content"))return TL_Front.close_lightbox(),!1;if(void 0===i&&n.hasClass("tve-leads-screen-filler"))return TL_Front.close_screen_filler(n),!1}switch(TL_Front.record_dismissal(n),n.removeClass("tve-leads-triggered"),TL_Front.handle_typefocus(n,"pause"),i){case"ribbon":let e=n.find(".tve-ribbon-close");e.length||(e=jQuery('<span class="tve-ribbon-close" style="display: none"></span>').appendTo(n)),e.trigger("click");const t=ThriveGlobal.$j("body").find(".thrv_header.tve-scroll-sticky");if(t.length&&"top"===n.attr("data-position")){const e=parseFloat(TCB_Front.inlineCssVariable(t,"--tcb-header-extra-offset"))-n.outerHeight(!0)+"px";TCB_Front.inlineCssVariable(t,"--tcb-header-extra-offset",e)}break;case"slide-in":n.find(".tve_ea_thrive_leads_form_close").trigger("click"),n.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=ThriveGlobal.$j(this);e.attr("data-src",e.attr("src")),e.attr("src","")});break;case"post-footer":case"in-content":case"shortcode":n.fadeOut(200,function(){TL_Front.form_closed(i)});break;case"widget":n.parent().slideUp(200);break;case"greedy_ribbon":var s=ThriveGlobal.$j("body"),a=ThriveGlobal.$j(window),l=s.css("margin-top");s[0].style.removeProperty("margin-top"),n.find(videoIframeSelector+", "+videoSourceSelector).each(function(){var e=ThriveGlobal.$j(this);e.attr("data-src",e.attr("src")),e.attr("src","")}),s.css("margin-top",l),a.scrollTop(0),s.animate({"margin-top":"0px"},300,"linear",function(){TL_Front.form_closed(i)}).removeClass("tve-tl-gr-anim")}},TL_Front.form_closed=function(e){TL_Const.close_callbacks&&TL_Const.close_callbacks[e]&&ThriveGlobal.$j.each(TL_Const.close_callbacks[e],function(e,t){ThriveGlobal.$j.isFunction(t)&&t()})},TL_Front.handle_typefocus=function(e,t){e.find(".tve_typefocus").each(function(){jQuery(this).attr("data-typefocus",t)})};

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.