1setTimeout(function(){(function(jQuery2){console.log("POPUP TRACKING: BEFORE DOCUMENT READY"),jQuery2(document).ready(function(){console.log("POPUP TRACKING: DOCUMENT READY"),jQuery2(".tve-leads-two-step-trigger").click(function(e){console.log("POPUP TRACKING: POPUP CLICK");var location=jQuery2(this).data("location"),classes=this.className.split(/\s+/),data=jQuery2(this).data();for(var i2 in classes){var pos=classes[i2].search(/^tl-2step-trigger-\d{1,}/);if(pos>-1)var formId=classes[i2].match(/\d{1,}$/)}if(typeof formId!="undefined"){console.log("POPUP TRACKING: FORM ID DEFINED");var $form=jQuery2('[data-tl-type="two_step_'+formId[0]+'"]');for(var i2 in data)if(i2.search(/^change_/)>-1){var name=i2.replace(/^change_/,""),$el=$form.find("input").filter(function(){return jQuery2(this).attr("name")?jQuery2(this).attr("name").toLowerCase()==name:!1});$el.data("original")||$el.attr("data-original",$el.val()||""),$el.val(data[i2])}$inputs=$form.find("input");for(var i2=0;i2<$inputs.length;i2++){var $el=jQuery2($inputs[i2]);$el.attr("name")&&typeof data["change_"+$el.attr("name").toLowerCase()]=="undefined"&&$el.is("[data-original]")&&$el.val($el.data("original")||"")}}else console.log("POPUP TRACKING: FORM ID UNDEFINED")}),jQuery2(".tve-leads-shortcode .tve_btnLink").click(function(e){e.preventDefault();var data=jQuery2(this).closest(".tve-leads-shortcode .tve-leads-conversion-object").data();if(data.tlType){var $input=jQuery2("[data-tl-type='"+data.tlType+"'] input[name='inf_custom_LastSignupLocation']"),value=$input.attr("value");data.change_inf_custom_lastsignuplocation?($input.attr("data-original-value",value),$input.attr("value",data.change_inf_custom_lastsignuplocation)):$input.attr("data-original-value")&&$input.attr("value",$input.attr("data-original-value"))}}),jQuery2(document).on("load",function(event){}),jQuery2(".tve_et_click").click(function(e){if(e.preventDefault(),console.log("Popup opened..."),loc_val=jQuery2(this).attr("data-change_inf_custom_lastsignuplocation"),loc_val==null){console.log("Popup doesnt have custom signup location...");return}if(event_conf_str=jQuery2(this).attr("data-tcb-events").replace("__TCB_EVENT_[","").replace("]_TNEVE_BCT__",""),event_conf=JSON.parse(event_conf_str),event_conf.a!="tl_state_lightbox"){console.log("Popup is not popup...");return}data_state_id=event_conf.config.s,location_input=jQuery2(".tl-states-root").find('[data-state="'+data_state_id+`"] input[name='inf_custom_LastSignupLocation']`);var old_val=location_input.attr("value");location_input.attr("data-original-value",old_val),location_input.attr("value",loc_val),console.log("Changed popup input signup location to: "+loc_val)});function hookFunction(object,functionName,callback){(function(originalFunction){object[functionName]=function(){var returnValue=originalFunction.apply(this,arguments);return callback.apply(this,[returnValue,originalFunction,arguments]),returnValue}})(object[functionName])}if(hookFunction(TL_Front,"close_lightbox",function(){console.log("Close button pressed with arugments:",arguments);var a=ThriveGlobal.$j("body"),b=ThriveGlobal.$j("html"),c=arguments[0]||a.data("tl-open-lightbox");c!=null&&(loc_input=c.find("input[name='inf_custom_LastSignupLocation']"),orig_val=loc_input.attr("data-original-value"),orig_val!=null&&loc_input.attr("value",orig_val))}),console.log("POPUP TRACKING: BEFORE CONVERT DATA"),window.convert){console.log("POPUP TRACKING: CONVERT EXISTS");var experimentId,experimentData,count=0;for(var i in convert.currentData.experiments){if(count==0)experimentId=i,experimentData=convert.currentData.experiments[i];else{console.error("More than one convert experiment per page: Only using the first for lead tracking ("+experimentId+")");break}count++}if(typeof convertGoals.form=="object"&&Array.isArray(convertGoals.form)&&experimentId)if(console.log("POPUP TRACKING: CONVERT GOALS PRESENT"),!convertGoals.form[0]||!convertGoals.form[1])convertGoals.form[0]||console.error("You did not define the convert goal id for new subscribers"),convertGoals.form[1]||console.error("You did not define the goal id for existing subscribers");else{var convertData=encodeURIComponent(JSON.stringify({experiment_id:experimentId,variation_id:experimentData.variation_id,goal_id:convertGoals.form})),form_count=0;jQuery2("form").each(function(){if(console.log("Form found..."),this.inf_form_xid){console.log("Form is IS, adding input...");var input=document.createElement("input");
1input.setAttribute("type","hidden"),input.setAttribute("name","inf_custom_LastSignupConvertData"),input.setAttribute("value",convertData),this.appendChild(input),form_count++}else console.log("Form is not IS...")}),console.log("Added convert tracking data to "+form_count+" forms")}}else console.log("POPUP TRACKING: CONVERT IN NOT PRESENT")})})(jQuery)},3e3);
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.