1((n,t)=>{function e(){n.SetServiceOptions();t(i.location1Date).on("change",function(){var n=this.value;t(i.location2Date).datepicker("option","minDate",n);i.serviceChoiceBoth&&i.serviceChoiceBoth.checked&&(i.location2Date.value=n)});t(i.preferredTime1).on("change",function(){i.serviceChoiceBoth&&i.serviceChoiceBoth.checked&&i.location2.value!==""&&(i.preferredTime2.value=i.preferredTime1.value)});t(i.location2).on("blur",function(){if(this.value!=""&&i.serviceChoiceBoth&&i.serviceChoiceBoth.checked){var n=i.location1Date.value;i.location2Date.value=n;t(i.location2Date).datepicker("option","minDate",n);i.preferredTime2.value=i.preferredTime1.value}});const r=document.querySelector("#movingHelpSubNav");if(r){const n=r.getBoundingClientRect().left,t=r.querySelector("a.sn-active"),i=t.getBoundingClientRect().left,u=Math.floor(i-n);r.scrollTo({left:u,behavior:"smooth"})}}const u="mhLocation1",r={active:"is-active",validation:"input-validation-error",hide:"hide"};let i={serviceListInputs:null,serviceDetailInputs:null,activeTab:null,serviceChoiceBoth:document.querySelector("#combinedService"),location1Date:document.querySelector("#Location1Date"),location2Date:document.querySelector("#Location2Date"),location2:document.querySelector("#mhLocation2"),preferredTime1:document.querySelector("#PreferredTime1"),preferredTime2:document.querySelector("#PreferredTime2"),serviceGroups:{loading:null,unloading:null}};n.SetServiceOptions=function(){const t=document.querySelector("#movingHelpSearchServices"),n=document.querySelector("#serviceDetails");if(t&&n){i.serviceListInputs=t.querySelectorAll("input");i.serviceDetailInputs=n.querySelectorAll("input, select");i.serviceGroups.loading=n.querySelector("#loadingGroup");i.serviceGroups.unloading=n.querySelector("#unloadingGroup");for(let n of i.serviceListInputs)n.addEventListener("change",f),n.checked&&(i.activeTab=document.querySelector("#"+n.dataset.serviceTab))}};const f=n=>{const u=n.currentTarget,f=u.dataset,e=document.querySelector("#"+f.serviceTab),t=f.serviceType;i.activeTab.classList.remove(r.active);u.checked&&(e.classList.add(r.active),i.activeTab=e);i.serviceDetailInputs.forEach(n=>{const u=n.dataset.serviceType,f=i.serviceGroups[u];u===t||t==="combo"?n.removeAttribute("disabled"):n.setAttribute("disabled",!0);f.classList.toggle(r.hide,u!==t&&t!=="combo")});const o=document.querySelector(".validation-summary-errors");o&&(o.innerHTML="",i.serviceDetailInputs.forEach(n=>n.classList.remove(r.validation)))};window.LayoutJs&&(LayoutJs.setCurrentLocationGetter("useDeviceLocation_loc1",u),LayoutJs.setCurrentLocationGetter("useDeviceLocation_loc2","mhLocation2"));window.LayoutJs&&LayoutJs.isNative&&(UhaulNative.GeoFieldId=u,HybridLocation.getLocationCallback(UhaulNative.GeoCallback));t(document).ready(e).on("bingAutoSuggestInit",()=>{if(window.BingAutoSuggest)BingAutoSuggest.settings.autoSuggestElements.push({inputId:"mhLocation1",containerId:"mhLocation1AutoSuggest"}),BingAutoSuggest.settings.autoSuggestElements.push({inputId:"mhLocation2",containerId:"mhLocation2AutoSuggest"})}).on("click","a.save-search",function(){var n=JSON.stringify({ServiceNeeded:t('input[name="ServiceNeeded"]:checked').val(),Location1:t('input[name="Location1"]').val(),Location1Date:t("#Location1Date").val(),PreferredTime1:t("#PreferredTime1").val(),Location2:t('input[name="Location2"]').val(),Location2Date:t("#Location2Date").val(),PreferredTime2:t("#PreferredTime2").val()});t.ajax({type:"POST",url:searchSessionUrl,data:n,contentType:"application/json"}).done(function(n){console.log(n)})})})(window.MovingHelpSearchNS=window.MovingHelpSearchNS||{},jQuery);
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.