1function contactUsPageLoad(){var e=window.location.href.split("/");if(e.length>4){for(var t=e[4].split("?")[0].split("-").join(" ").split(" "),a=0;a<t.length;a++)t[a]=t[a].charAt(0).toUpperCase()+t[a].slice(1);if(str1=t.join(" "),str1){let e={event:"form_change",cd_form_name:`${str1}`};dataLayer.push(e)}}}function addSpeakWithSalesFormDataToDataLayer(e){let t={event:"form_navigation",cd_event_action:"Form Page: Step 1",cd_event_label:"Connect with an Expert",cd_form_name:"speak-with-sales",cd_form_step:"1"};var a=document.querySelector('form.contact-form select[data-sc-field-name="Im Interested In"]'),o=a&&a.options&&a.options.length>a.selectedIndex&&a.options[a.selectedIndex]?a.options[a.selectedIndex].value:null;2===e?(t.cd_event_action="Form Page: Step 2",t.cd_areaofinterest=o,t.cd_owner_inquiry=o,t.cd_form_step="2"):3===e&&(t.event="form_submit",t.cd_event_action="Form Page: Thank You",t.cd_form_step="thank-you-page",t.cd_areaofinterest=o,t.cd_owner_inquiry=o),dataLayer.push(t)}function saveCurrentStepFields(e){const t=document.querySelector(".speak-with-sales-multistep-form");if(t){if(1===e){const e=t.querySelector("div.first-name input"),a=t.querySelector("div.last-name input"),o=t.querySelector("div.email-address input");window.speakWithSalesFormData.firstName=e?e.value:"",window.speakWithSalesFormData.lastName=a?a.value:"",window.speakWithSalesFormData.email=o?o.value:""}if(2===e){const e=t.querySelector("div.interestedinField select"),a=document.querySelector('form.speak-with-sales-multistep-form [data-sc-field-name="Checkbox"]');window.speakWithSalesFormData.consentGiven=!!a&&a.checked,window.speakWithSalesFormData.interestedIn=e&&e.options.length>e.selectedIndex?e.options[e.selectedIndex].text:""}}}function addSpeakWithSalesFormDataToEmarsys(e){const t=e||window.speakWithSalesFormData||{};if(!(t.email&&t.firstName&&t.lastName&&t.consentGiven))return;setTimeout(()=>{window.ScarabQueue=window.ScarabQueue||[],window.ScarabQueue.push(["setEmail",t.email]),window.ScarabQueue.push(["tag","Speakwithsalesformsubmission",{timestamp:(new Date).toISOString(),page_url:t.page_url||window.location.href,first_name:t.firstName,last_name:t.lastName,category:t.interestedIn||""}]),window.ScarabQueue.push(["go"])},1e3)}function queuePendingEmarsysSubmission(){try{sessionStorage.setItem("pendingEmarsysSpeakWithSales",JSON.stringify({...window.speakWithSalesFormData,queuedAt:Date.now(),page_url:window.location.href}))}catch(e){console.error("Unable to queue Emarsys payload:",e)}}function processPendingEmarsysSubmission(){try{const e=sessionStorage.getItem("pendingEmarsysSpeakWithSales");if(!e)return;const t=JSON.parse(e);setTimeout(function(){addSpeakWithSalesFormDataToEmarsys(t),sessionStorage.removeItem("pendingEmarsysSpeakWithSales")},3e3)}catch(e){console.error("Unable to process Emarsys payload:",e)}}function addSelectPlaceholder(e,t){if(!e)return;if(!Array.from(e.options).some(e=>e.selected&&""!==e.value)&&!e.querySelector("option[disabled]")){const a=document.createElement("option");a.textContent=t,a.value="",a.disabled=!0,a.selected=!0,a.hidden=!0,e.insertBefore(a,e.firstChild),e.selectedIndex=0}}function addCustomValidationMessages(){const e=$(".speak-with-sales-multistep-form");if(0===e.length)return;let t=document.querySelector("form.speak-with-sales-multistep-form div.first-name input");t&&t.setAttribute("data-val-required","Enter your first name");let a=document.querySelector("form.speak-with-sales-multistep-form div.last-name input");a&&a.setAttribute("data-val-required","Enter your last name");let o=document.querySelector("form.speak-with-sales-multistep-form div.email-address input");o&&o.setAttribute("data-val-required","Enter a valid business email address");let n=document.querySelector("form.speak-with-sales-multistep-form div.interestedinField select");n&&(n.setAttribute("data-val-required","Select a category"),addSelectPlaceholder(n,"Choose category"),n.addEventListener("change",function(e){saveCurrentStepFields(2)}));let i=document.querySelector('form.speak-with-sales-multistep-form [data-sc-field-name="Checkbox"]');i&&i.addEventListener("change",function(e){saveCurrentStepFields(2)});let s=document.querySelector("form.speak-with-sales-multistep-form div.country-select-list select");s&&(s.setAttribute("data-val-required","Select country"),addSelectPlaceholder(s,"Choose country"));let r=document.querySelector("form.speak-with-sales-multistep-form div.comments textarea");r&&r.setAttribute("data-val-required","Provide a description of your industry challenge"),e.data("validator")&&(e.removeData("validator"),e.removeData("unobtrusiveValidation")),$.validator.unobtrusive.parse(e)}function setupFieldHeightBalancer(){const e=document.querySelector("form.speak-with-sales-multistep-form");if(!e)return;function t(t){const a=e.querySelector(`[data-sc-field-name="${t}"]`);return a?a.closest(".field-wrapper"):null}const a=[[t("FirstName"),t("LastName")],[t("BusinessEmail"),t("Phone Number")],[t("Company"),t("JobTitle")]];
1function o(){a.forEach(e=>{if(!e[0]||!e[1])return;if(!(window.innerWidth>=1024))return e[0].style.minHeight="auto",void(e[1].style.minHeight="auto");e[0].style.minHeight="auto",e[1].style.minHeight="auto";const t=e[0].getBoundingClientRect().height||e[0].scrollHeight||0,a=e[1].getBoundingClientRect().height||e[1].scrollHeight||0,o=Math.max(t,a);e.forEach(e=>{e&&(e.style.minHeight=o+"px")})})}new MutationObserver(()=>{o()}).observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]}),o()}window.dataLayer=window.dataLayer||[],window.speakWithSalesFormData=window.speakWithSalesFormData||{},window.addEventListener?window.addEventListener("load",contactUsPageLoad,!1):window.attachEvent&&window.attachEvent("onload",contactUsPageLoad),function(e){if(!e)return;e(document).on("submit","form[id^='fxb_']",function(t){e(this);e("#form-loader").css("display","flex");var a=function(t,o,n){if(n.url.includes("api/slb/formbuilder")){try{const t=o.responseText,a=document.querySelector(".btn-back"),n=document.getElementById("progress-bar"),i=document.querySelector(".next-btn");i&&n&&(n.style.width="33%"),a&&n&&(n.style.width="66%"),addCustomValidationMessages();const s=t.match(/jQuery\(\s*"\[name\$='\.IsSessionExpired'\]"\s*\)\.val\((\d+)\)/);if(s){const t=s[1];e("[name$='.IsSessionExpired']").val(t)}const r=t.match(/window\.location\s*=\s*['"]([^'"]+)['"]/);if(r&&r[1]){addSpeakWithSalesFormDataToDataLayer(3),queuePendingEmarsysSubmission();const e=r[1].replace(/^https?:\/([^/])/,"https://$1");window.location.href=e}else i&&(addSpeakWithSalesFormDataToDataLayer(1),saveCurrentStepFields(1)),a&&(addSpeakWithSalesFormDataToDataLayer(2),saveCurrentStepFields(2),setupFieldHeightBalancer())}catch(e){console.error("Form redirect error:",e)}finally{e("#form-loader").css("display","none")}e(document).off("ajaxComplete",a)}};e(document).on("ajaxComplete",a)});document.querySelector(".next-btn")&&addSpeakWithSalesFormDataToDataLayer(1)}(window.jQuery),document.addEventListener("DOMContentLoaded",function(){addCustomValidationMessages(),setupFieldHeightBalancer(),processPendingEmarsysSubmission(),window.addEventListener("resize",setupFieldHeightBalancer);const e=document.querySelector(".next-btn");e&&e.addEventListener("click",function(){saveCurrentStepFields(1)})}),document.querySelector(".speak-with-sales-multistep-form")&&function(){const e=document.querySelector(".speak-with-sales-multistep-form");let t={x:0,y:0};let a=!1;const o=HTMLElement.prototype.focus;function n(){a=!0,t={x:window.scrollX,y:window.scrollY},window._origScrollTo||(window._origScrollTo=window.scrollTo),window.scrollTo=function(){window._origScrollTo(t.x,t.y)},window._origScrollTo(t.x,t.y)}function i(){a=!1,window._origScrollTo&&(window.scrollTo=window._origScrollTo)}HTMLElement.prototype.focus=function(e){if(a)try{return o.call(this,{preventScroll:!0})}catch(e){try{this.blur()}catch(e){}return}return o.apply(this,arguments)},function(){if(!window.jQuery)return;const e=jQuery.fn.animate;jQuery.fn.animate=function(t){return t&&"object"==typeof t&&void 0!==t.scrollTop?this:e.apply(this,arguments)}}(),$(e).on("ajaxBegin",function(){n()}),$(e).on("ajaxComplete",function(){setTimeout(()=>{i()},200)})}();
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.