1function toggleMobileSubMenu(){991<=$(window).width()?$(".mobile-sub-menu-show").remove():$(".mobile-sub-menu-show").show()}(()=>{var f="757575",g="20b573",o="data:image/svg+xml;charset=UTF-8,"+escape('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 40" width="32px" height="40px"><defs><clipPath id="clip-path"><path d="M19.393,0H19.227A12.331,12.331,0,0,0,6.786,12.222q0,0.078,0,.156c0,4.8,1.908,7.116,6.137,13.014A37.355,37.355,0,0,1,19,39.16a0.36,0.36,0,0,0,.4.365,0.431,0.431,0,0,0,.29-0.365,33.634,33.634,0,0,1,5.958-13.768c2.428-3.528,6.137-8.214,6.137-13.014A12.467,12.467,0,0,0,19.393,0Z" fill="none"/></clipPath></defs><path id="google-icon-pin-shadow" d="M0.36,17.882a11.754,11.754,0,0,0,2.488,4.1A37.68,37.68,0,0,0,6.7,25.728a81.174,81.174,0,0,1,8.128,7.552A31.2,31.2,0,0,1,18.683,38.6a1.543,1.543,0,0,0,.713.929c0.352,0.043.315-.272,0.3-0.5-0.02-.31-0.023-0.624-0.017-0.936a21.132,21.132,0,0,1,2.236-8.9c1.36-2.773,3.827-5.474,3.855-8.72a10.981,10.981,0,0,0-3.862-7.8,18.014,18.014,0,0,0-9.032-4.4,13.66,13.66,0,0,0-9.322,1.31A6.983,6.983,0,0,0,0,15.89a8.1,8.1,0,0,0,.365,1.974Z" opacity="0.2" style="isolation: isolate"/><g clip-path="url(#clip-path)"><path id="pin-background" d="M5.642-1.078H33.057V40.5H5.638Z" fill="#COLORREPLACE"/><path d="M5.642-1.078H19.348V40.5H5.642V-1.078Z" fill="#231f20" opacity="0.1" style="isolation: isolate"/><text transform="translate(19.25 17.75)" class="st3 st4 st5" fill="#fff" style="font-family: Montserrat,Helvetica,Arial,sans-serif; font-weight:500; text-align:center;" font-size="14" text-anchor="middle">NUMBERREPLACE</text></g></svg>'),h=[{featureType:"all",elementType:"all",stylers:[{hue:"#00b9ff"},{saturation:"75"},{lightness:"0"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{hue:"#00b9ff"},{saturation:"-65"},{lightness:"36"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{lightness:"14"}]},{featureType:"water",elementType:"all",stylers:[{hue:"#00b9ff"},{lightness:"57"}]}];function _(e,t){return o.replace("COLORREPLACE",e).replace("NUMBERREPLACE",t)}function v(e,t,o){0===o?(e.setCenter(new google.maps.LatLng(39.8283,-98.5795)),e.setZoom(4)):1===o?(e.setCenter(t.getCenter()),e.setZoom(11)):e.fitBounds(t)}document.addEventListener("DOMContentLoaded",function(){var u,p,m=document.getElementById("ss-state-map-v2-data");m&&(u=0,p=setInterval(function(){if(u+=1,window.google&&window.google.maps){clearInterval(p);var e=m,t=document.getElementById("locations-map");if(t){for(var e=JSON.parse(e.textContent),o=e.locations||[],e=e.state||"",a=new google.maps.Map(t,{zoom:7,styles:h,streetViewControl:!1,mapTypeControl:!1,fullscreenControl:!1,scrollwheel:!1}),n=new google.maps.InfoWindow,i=new google.maps.LatLngBounds,l=0,r=0;r<o.length;r++){var s=o[r],d=parseFloat(s.latitude),c=parseFloat(s.longitude);isNaN(d)||isNaN(c)||((e,o,t,a,n,i,l)=>{var n=new google.maps.LatLng(n,i),r=(t.extend(n),_(f,l)),s=_(g,l),d=new google.maps.Point(18.75,39),c=new google.maps.Marker({position:n,map:e,title:a.name,icon:{url:r,anchor:d}});c.addListener("mouseover",function(){c.setIcon({url:s,anchor:d})}),c.addListener("mouseout",function(){c.setIcon({url:r,anchor:d})}),c.addListener("click",function(){var t;o.setContent((e=>{var t="";return e.street_2&&(t="<br>"+e.street_2),'<div class="info_window"><button class="info-window-close" style="position: absolute; top: 5px; right: 5px; background: none; border: none; font-size: 16px; cursor: pointer;">×</button><span><a href="'+e.permalink+'" class="store-link">'+e.name+'</a></span><address class="location_address">'+e.street+t+"<br>"+e.city+", "+e.state+" "+e.zip+'</address><a href="'+e.permalink+'" class="avia-button install">Install Here</a></div>'})(a)),o.open(e,c),t=o,google.maps.event.addListenerOnce(t,"domready",function(){var e=document.querySelector(".info-window-close");e&&e.addEventListener("click",function(){t.close()})})})})(a,n,i,s,d,c,l+=1)}((o,e,a,n)=>{e?(new google.maps.Geocoder).geocode({address:e+", USA"},function(e,t){"OK"===t&&e[0]&&e[0].geometry?o.fitBounds(e[0].geometry.viewport):v(o,a,n)}):v(o,a,n)})(a,e,i,l),(e=>
1{google.maps.event.addListenerOnce(e,"tilesloaded",function(){var e=document.getElementById("map-spinner");e&&(e.style.display="none")})})(a)}}else 60<=u&&clearInterval(p)},250))})})(),(()=>{var t=[42997,39229],o=!1;function a(e){return e=parseInt(e,10),-1!==t.indexOf(e)}function n(e){return e&&e.id&&(e=e.id.match(/^popmake-(\d+)$/))?parseInt(e[1],10):null}function i(){[document.documentElement,document.body,document.getElementById("header"),document.getElementById("wrap_all")].forEach(function(e){e&&(e.style.paddingRight="",e.style.overflow="",e.classList.remove("pum-open","pum-open-overlay"))})}document.addEventListener("focusin",function(e){var t;e.target.closest&&e.target.closest(".gform_wrapper")&&(o||(o=!0,document.documentElement.classList.add("pum-blocking"),window.PUM&&"function"==typeof PUM.open&&!PUM._origOpen&&(PUM._origOpen=PUM.open,PUM.open=function(e){return(!o||!a(e))&&PUM._origOpen.apply(this,arguments)}),window.jQuery&&jQuery.fn&&jQuery.fn.popmake&&!jQuery.fn.popmake._orig&&(t=jQuery.fn.popmake,jQuery.fn.popmake=function(e){if(o&&"open"===e){e=n(this[0]);if(e&&a(e))return this}return t.apply(this,arguments)},jQuery.fn.popmake._orig=t),i()))},!0),document.addEventListener("pumBeforeOpen",function(e){var t;o&&(t=n(e.target))&&a(t)&&(e.preventDefault(),e.stopImmediatePropagation(),i())},!0),document.addEventListener("pumOpen",function(e){if(o){e=n(e.target);if(e&&a(e)){try{window.PUM&&"function"==typeof PUM.close&&PUM.close(e)}catch(e){}i()}}},!0)})(),document.addEventListener("focusin",function(e){var t=e.target;t.matches&&t.matches('input[type="text"], input[type="tel"], input[type="email"], input[type="number"], textarea')&&""===t.value&&setTimeout(function(){try{"number"==typeof t.selectionStart&&t.setSelectionRange(0,0)}catch(e){}},50)}),document.addEventListener("DOMContentLoaded",function(){var e;document.body.className.includes("term-cost-")&&(e=document.querySelector("#state-cost-cat"))&&e.querySelectorAll("ul").forEach(function(e){e.closest("#locations_list")||(e.style.listStyleType="disc",e.style.paddingLeft="20px")})}),"function"==typeof window.wprRemoveDelays?window.wprRemoveDelays():console.warn("WP Rocket's wprRemoveDelays is not available."),jQuery(document).ready(function(){jQuery("a[data-target]").on("click",function(e){e.preventDefault();var t,e=jQuery(this).data("target"),o=jQuery("#"+e.toString());o.length?(t="gform_2"===e||"gform_7"===e?300:0,jQuery("html, body").animate({scrollTop:o.offset().top-t},100)):console.error("Target element not found:",e)})}),jQuery(document).ready(function(a){function e(){var e=a("#header").outerHeight(),t=a("#wrap_all").hasClass("banner-geo-class")?a("#header_banner_mobile").outerHeight():0,o=a("#wpadminbar").length?a("#wpadminbar").outerHeight():0,e=e+t;a("#header").css({position:"fixed",top:o+"px",width:"100%","z-index":"1000"}),a("#main").css("margin-top",e+"px")}e(),a(window).resize(e)}
1),jQuery(document).ready(function(){$('a[href="#hero_get-a-quote-form"]').on("click",function(e){e.preventDefault(),$("html, body").animate({scrollTop:$("#hero_get-a-quote-form").offset().top-800},100)})}),jQuery(document).ready(function(){toggleMobileSubMenu(),$(window).resize(toggleMobileSubMenu)}),document.addEventListener("click",function(e){var t=document.getElementById("collapseLoc"),o=document.querySelector('[data-bs-target="#collapseLoc"]');t&&o&&!t.contains(e.target)&&!o.contains(e.target)&&(o=bootstrap.Collapse.getInstance(t))&&o._isShown()&&o.hide()});for(var links=document.querySelectorAll("body.tax-location_categories a"),i=0;i<links.length;i++)"Ignition Interlock Device"===links[i].textContent.trim()&&links[i].setAttribute("href","/ignition-interlock-devices/");jQuery(document).ready(function(e){e('.pagination a:contains("â¹")').attr("rel","prev"),e('.pagination a:contains("âº")').attr("rel","next")});var mqs,curmqs,$=jQuery.noConflict(),isAndroid=-1<navigator.userAgent.toLowerCase().indexOf("android");function getURLParameter(e){for(var t=window.location.search.substring(1).split("&"),o=0;o<t.length;o++){var a=t[o].split("=");if(a[0]==e)return a[1]}}function removeParameterFromUrl(e,t){return e.replace(new RegExp("^([^#]*?)(([^#]*)&)?"+t+"(=[^&#]*)?(&|#|$)"),"$1$3$5").replace(/^([^#]*)((\?)&|\?(#|$))/,"$1$3$4")}function arrayLoop(e,t){for(var o=0;o<e.length;o++)if(e[o][t])return e[o][t]}function colorBrightness(e,t,o){e=(e=void 0!==e?e:"#aaaaaa").replace("#","");var a=parseInt(e.substr(0,2),16),n=parseInt(e.substr(2,2),16),e=parseInt(e.substr(4,2),16);return 175<=Math.pow(.22475*Math.pow(a,2.235)+.7154*Math.pow(n,2.235)+.05575*Math.pow(e,2.235),1/2.235)?t:o}window.toTitleCase=function(e){return e.replace(/\b([a-z])/g,function(e,t){return t.toUpperCase()})},window.isEmpty=function(e){for(var t,o=[void 0,null,!1,0,"","0"],a=0,n=o.length;a<n;a++)if(e===o[a])return!0;if("object"!=typeof e)return!1;for(t in e)if(e.hasOwnProperty(t))return!1;return!0},window.setGfButtonLabel=function(e,t){e.each(function(){"BUTTON"===this.tagName?$(this).text(t):$(this).val(t)})},window.formatState=function(e,t,o){if(e){e=e.toLowerCase().replace(/[ |\.|,]/gi,"");var a=[["--","Home"],["AZ","Arizona"],["AL","Alabama"],["AK","Alaska"],["AZ","Arizona"],["AR","Arkansas"],["CA","California"],["CO","Colorado"],["CT","Connecticut"],["DC","Washington, DC"],["DC","Washington, D.C."],["DC","Washington D.C."],["DC","District of Columbia"],["DC","D.C."],["DE","Delaware"],["FL","Florida"],["GA","Georgia"],["HI","Hawaii"],["ID","Idaho"],["IL","Illinois"],["IN","Indiana"],["IA","Iowa"],["KS","Kansas"],["KY","Kentucky"],["LA","Louisiana"],["ME","Maine"],["MD","Maryland"],["MA","Massachusetts"],["MI","Michigan"],["MN","Minnesota"],["MS","Mississippi"],["MO","Missouri"],["MT","Montana"],["NE","Nebraska"],["NV","Nevada"],["NH","New Hampshire"],["NJ","New Jersey"],["NM","New Mexico"],["NY","New York"],["NC","North Carolina"],["ND","North Dakota"],["OH","Ohio"],["OK","Oklahoma"],["OR","Oregon"],["PA","Pennsylvania"],["RI","Rhode Island"],["SC","South Carolina"],["SD","South Dakota"],["TN","Tennessee"],["TX","Texas"],["UT","Utah"],["VT","Vermont"],["VA","Virginia"],["WA","Washington"],["WV","West Virginia"],["WI","Wisconsin"],["WY","Wyoming"],["VI","Virgin Islands"],["NB","Nebraska"]];for(i=0;i<a.length;i++){if(a[i][0].toLowerCase()===e)return void 0===o||!1===o?"abbr"===t?a[i][0]:a[i][1]:("abbr"===t?a[i][0]:a[i][1]).replace(/[ |\.|,]/gi,"").toLowerCase();if(a[i][1].replace(/[ |\.|,]/gi,"").toLowerCase()===e)return void 0===o||!1===o?"name"===t?a[i][1]:a[i][0]:("name"===t?a[i][1]:a[i][0]).replace(/[ |\.|,]/gi,"").toLowerCase()}return e.length<3?"abbr"===t?"--":"Home":2<e.length?"name"===t?"Home":"--":void 0}},window.formatPhone=function(e){var t="",o="",e=e.replace(/[^0-9]/g,""),a="(800) 831-3299";return 10<e.length?(1==e.charAt(0)&&11<e.length?(o=e.substr(1,10),t=t.concat(" ext. ",e.substr(11))):1==e.charAt(0)&&11==e.length?o=e.substr(1,10):1!=e.charAt(0)&&(o=e.substr(0,10),t=t.concat(" ext. ",e.substr(10))),"".concat(o.replace(/([0-9]{3})([0-9]{3})([0-9]{4})/g,"($1) $2-$3"),t)):e.length<10||10!=e.length||1==e.charAt(0)?a:e.replace(/([0-9]{3})([0-9]{3})([0-9]{4})/g,"($1) $2-$3")},window.dayOfWeekAsString=function(e){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"][e]},window.locationOpenStatus=function(e){arrayHours=Object.entries(e),arrayHoursDup=arrayHours,arrayFinal=arrayHoursDup.concat(arrayHours);var t,o,a,n,i,l,r,s,d=new Date,c=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(d),u={Su:"Sunday",Mo:"Monday",Tu:"Tuesday",We:"Wednesday",Th:"Thursday",Fr:"Friday",Sa:"Saturday"},p="",m="",e="";if(""!==arrayFinal){for(var f=0;f<arrayFinal.length;f++){var g=arrayFinal[f][0],h=arrayFinal[f][1];-1!==c.indexOf(g)&&(null!==h[0]?(t=h[0].split(" - "),(o=new Date(d.getTime())).setHours(t[0].split(":")[0]),o.setMinutes(t[0].split(":")[1]),o.setSeconds("00"),(a=new Date(d.getTime())).setHours(t[1].split(":")[0]),a.setMinutes(t[1].split(":")[1]),a.setSeconds("00"),n=o.toLocaleTimeString("en-US",{hour12:!0,hour:"numeric",minute:"2-digit"}).replace(/^0/g,"").replace(/\s/g,"").toLowerCase(),r=a.toLocaleTimeString("en-US",{hour12:!0,hour:"numeric",minute:"2-digit"}).replace(/^0/g,"").replace(/\s/g,"").toLowerCase(),d<o?(p="Closed",m="Opens at "+n):o<d&&d<a?(p="Open Now",m=null===h[1]?"Closes at "+r:"Closes at "+r+" (break)"):null!==h[1]?(r=h[1].split(" - "),(i=new Date(d.getTime())).setHours(r[0].split(":")[0]),i.setMinutes(r[0].split(":")[1]),i.setSeconds("00"),(l=new Date(d.getTime())).setHours(r[1].split(":")[0]),l.setMinutes(r[1].split(":")[1]),l.setSeconds("00"),r=i.toLocaleTimeString("en-US",{hour12:!0,hour:"numeric",minute:"2-digit"}).replace(/\s/g,"").toLowerCase(),s=l.toLocaleTimeString("en-US",{hour12:!0,hour:"numeric",minute:"2-digit"}).replace(/^0/g,"").replace(/\s/g,"").toLowerCase(),a<d&&d<i?(p="Closed (on break)",m="Opens at "+r):i<d&&d<l?(p="Open Now",m="Closes at "+s):p="Closed"):p="Closed"):p="Closed"),-1===c.indexOf(g)&&0===p.indexOf("Closed")&&""===m&&null!==h[0]&&(t=h[0].split(" - "),(o=new Date(d.getTime())).setHours(t[0].split(":")[0]),o.setMinutes(t[0].split(":")[1]),o.setSeconds("00"),n=o.toLocaleTimeString("en-US",{hour12:!0,hour:"numeric",minute:"2-digit"}).replace(/^0/g,"").replace(/\s/g,"").toLowerCase(),m="Opens "+u[g]+" at "+n)}e="<span>"+p+"</span> - <span>"+(m=""===m?"Until further notice":m)+"</span>"}else e="";return e},window.scrollTo=function(e,t){void 0!==$(e).offset()&&(e=$(e).offset().top(),$("html,body").animate({scrollTop:e+"px"},1e3,"easeInOutCubic"))},window.addRule=function(e,t,o){return t=(e=>{if("string"==typeof e)return e;var t,o,a="";for(o in e)e.hasOwnProperty(o)&&(t=e[o],a+=(o=o.replace(/([A-Z])/g,"-$1").toLowerCase())+":"+("content"===o?'"'+t+'"':t)+"; ");return a})(t),(o=o||document.styleSheets[document.styleSheets.length-1]).insertRule?o.insertRule(e+" {"+t+"}",o.cssRules.length):o.addRule&&o.addRule(e,t),this},$.fn.addRule=function(e,t){return addRule(this.selector,e,t),this},$.fn.exists=function(){return 0!==this.length},jQuery(document).ready(function(e){var t,o="Massachusetts"==window.location.search.substring(1).split("?")[0]?(t=10,"ten"):(t=7,"seven");e(".state_number").text(t),e(".state_number_string").text(o)}),jQuery(document).ready(function(){$('a[href="#full-blog-disclaimer"]').on("click",function(e){e.preventDefault();e=$("#full-blog-disclaimer").offset().top-400;$("html, body").animate({scrollTop:e},500)})}),window.checkSize=function(){mqs=(mqs=window.getComputedStyle(document.body,":after").getPropertyValue("content")).replace(/'|''|"|""/g,""),curmqs!=mqs&&(curmqs=mqs)};var callNowPopupTimer,callNowPopup,observer,fullName,timeoutInMiliseconds=1e4,multipleSupport=($(function(){checkSize(),$("div.gf_disabled input, div.gf_disabled select, div.gf_disabled textarea").each(function(){$(this).is("#input_7_25")||$(this).is("#input_7_26")||$(this).attr("disabled","disabled").trigger("chosen:updated")});var e=$(".file-upload-button").outerWidth()+14,a=($(".file-upload-input").css({width:"calc(100% - "+e+"px)"}),0);function t(){var e;$("#call_now_popup").length&&$.magnificPopup.open({items:{src:"#call_now_popup"},type:"inline",mainClass:"mfp-zoom-in",removalDelay:160,callbacks:{close:(document.removeEventListener("mousemove",n,!1),document.removeEventListener("mousedown",n,!1),document.removeEventListener("keypress",n,!1),document.removeEventListener("touchmove",n,!1),document.removeEventListener("scroll",n,!0),window.clearTimeout(callNowPopupTimer),(e=new Date).setTime(e.getTime()+864e5),void $.cookie("ccnpu","1",{expires:e,path:"/"}))}})}function o(){callNowPopupTimer=window.setTimeout(t,timeoutInMiliseconds)}function n(){window.clearTimeout(callNowPopupTimer),o()}jQuery("span.gf-icon").hover(function(){a&&(clearTimeout(a),a=0);
1var e=$(this)[0],t=$(this).offset().left,e=parseInt(window.getComputedStyle(e,":after").width,10),o=window.innerWidth;o<e+t?(newLeft=(t+e-o)/2-15,$('<style id="tooltip-window-collision-fix">.hint--top:after { left: -'+newLeft+"px; }</style>").appendTo("head")):t-e/2<0&&(newLeft=15-(t-e/2),$('<style class=".tooltip-window-collision-fix">.hint--top:after { left: '+newLeft+"px; }</style>").appendTo("head"))},function(){a=setTimeout(function(){$("style.tooltip-window-collision-fix").remove()},300)}),$.fn.resizeselect=function(e){return this.each(function(){$(this).on("change",function(){var e=$(this),t=e.find("option:selected").text(),t=$("<span>").html(t).css({"font-size":e.css("font-size"),visibility:"hidden",display:"inline-block","white-space":"normal"}),o=(t.appendTo(e.parent()),t.width());t.remove(),e.width(o+20)}).trigger("change")})},$("#state_locations_selector select").resizeselect(),$("#state_locations_selector button").on("click",function(e){var t=formatState($("#state_locations_selector select.location_state").val(),"name",!0);"--"!==t&&"home"!==t&&(window.location.href="/locations/"+t+"/")}),$("#state_information_selector select").resizeselect(),$("#state_information_selector button").on("click",function(e){var t=$("#state_information_selector select.info_type").val(),o=formatState($("#state_information_selector select.location_state").val(),"name",!0);"--"!==o&&"home"!==o&&(window.location.href="/"+o+"/"+t+"/")}),$("#state_partners_selector select").resizeselect(),$("#state_partners_selector button").on("click",function(e){var t=$("#state_partners_selector select.partner_type").val(),o=formatState($("#state_partners_selector select.partner_state").val(),"name",!0);"--"!==o&&"home"!==o&&(window.location.href="/partners/directory/"+o+"/?partner_type="+t)}),$(".page-get-a-quote .location_postal_code, .page-locations\\/search .location_entry_field").prepend('<div class="validation_error custom" style="text-align: center; display: none;"></div>'),$("div.gfield.location_entry_field").append('<div class="use_geolocation"><div class="geo_container"><div class="icon_arrow" title="Click to automatically find your zip code."></div>Use my Location</div></div>'),"undefined"!=typeof google&&$("div.gfield.location_entry_field > div.ginput_container > input").on("focus",function(){addressAutocompleteInitialize()}),"true"===getURLParameter("resolve")&&$(".page-locations\\/search fieldset.warning_validation_box").addClass("active"),$("body").hasClass("single-location")&&singleLocationMoveElements(),$("#menu-item-search .menu-search-input").on("focus",function(){"base"!=mqs&&"481up"!=mqs||$(".right-menu-get-a-quote").addClass("hidden")}),$("#menu-item-search .menu-search-input").on("blur",function(){setTimeout(function(){$(".right-menu-get-a-quote").removeClass("hidden")},400)}),$("#search-filter-toggle").on("click",function(){$("#search-filters").slideToggle("slow")}),$(".popup").each(function(){$(this).magnificPopup({delegate:"a",type:"iframe",mainClass:"mfp-zoom-in",removalDelay:160,preloader:!1,gallery:{enabled:!0},fixedContentPos:!1})}),$(".open-short-form-modal").each(function(){$(this).magnificPopup({delegate:"a",src:"#short_form_modal",type:"inline",mainClass:"mfp-zoom-in",removalDelay:160})}),"1"!=$.cookie("ccnpu")&&("/"==location.pathname||-1<window.location.href.indexOf("/locations/")||-1<window.location.href.indexOf("/blog"))&&(document.addEventListener("mousemove",n,!1),document.addEventListener("mousedown",n,!1),document.addEventListener("keypress",n,!1),document.addEventListener("touchmove",n,!1),document.addEventListener("scroll",n,!0),o()),$("#refer_again a").each(function(e,t){var o=$(this);o.attr({href:o.attr("href")+window.location.search})})}),$(window).on("load",function(){$(locationFieldInput).attr({autocomplete:"off_"+Date.now(),autocorrect:"off",autocapitalize:"none",spellcheck:"false"}),($("body").hasClass("state-site")&&$("body").hasClass("page-cost")||$("body").hasClass("page-ignition-interlock-devices/cost"))&&("768up"===mqs||"1030up"===mqs||"1240up"===mqs?$("#hero").css("margin-bottom",140-($("#hero").height()-$("#hero_header").height())):$("#hero").css("margin-bottom",0))}),$(window).on("resize",function(){checkSize(),$("body").hasClass("single-location")&&singleLocationMoveElements(),($("body").hasClass("state-site")&&$("body").hasClass("page-cost")||$("body").hasClass("page-ignition-interlock-devices/cost"))&&("768up"===mqs||"1030up"===mqs||"1240up"===mqs?$("#hero").css("margin-bottom",140-($("#hero").height()-$("#hero_header").height())):$("#hero").css("margin-bottom",0))}),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&(observer=new IntersectionObserver(function(e){e[0].boundingClientRect.y<=-61?(document.querySelector("#header_main").classList.add("fixed"),document.querySelector("#breadcrumbs").classList.add("scrollout")):(document.querySelector("#header_main").classList.remove("fixed"),document.querySelector("#breadcrumbs").classList.remove("scrollout"))}),null!==document.querySelector("#header_banner"))&&observer.observe(document.querySelector("#header_banner")),$(function(){$("#input_2_24, #input_5_24, #input_5_26, #input_7_24, #input_10_27, #input_58_24").val((e=>{for(var t=window.location.search.substring(1).split("&"),o=0;o<t.length;o++){var a=t[o].split("=");if(a[0]==e)return a[1]}})("gclid"))}),$(document).on("click","#state_subsite_selector form#gform_34 ul.chosen-results li",function(){document.forms.gform_34.submit(),$("#field_34_1").addClass("loading")}),$("#state_subsite_selector form#gform_34 #input_34_1").change(function(){document.forms.gform_34.submit(),$("#field_34_1").addClass("loading")}),void 0!==$("<input/>")[0].multiple),isIE=/msie/i.test(navigator.userAgent),apiurl=($.fn.customFile=function(){return this.each(function(){var i=$(this).addClass("custom-file-upload-hidden"),e=$('<div class="file-upload-wrapper">'),l=$('<input type="text" class="file-upload-input" />'),t=$('<button type="button" class="file-upload-button">Select a File</button>'),o=$('<label class="file-upload-button" for="'+i[0].id+'">Select a File</label>');i.css({position:"absolute",left:"-9999px"}),e.insertAfter(i).append(i,l,isIE?o:t),i.attr("tabIndex",-1),t.attr("tabIndex",-1),t.click(function(){i.focus().click()}),i.change(function(){var e,t=[];if(multipleSupport){for(var o,a=0,n=(o=i[0].files).length;a<n;a++)t.push(o[a].name);e=t.join(", ")}else e=i.val().split("\\").pop();l.val(e).attr("title",e).focus()}),l.on({blur:function(){i.trigger("blur")},keydown:function(e){if(13===e.which)isIE||i.trigger("click");else if(8===e.which||46===e.which)i.replaceWith(i=i.clone(!0)),i.trigger("change"),l.val("");else if(9!==e.which)return!1}})})},multipleSupport||$(document).on("change","input.customfile",function(){var e=$
1(this),t="customfile_"+(new Date).getTime(),o=e.parent(),a=o.siblings().find(".file-upload-input").filter(function(){return!this.value});$file=$('<input type="file" id="'+t+'" name="'+e.attr("name")+'"/>'),setTimeout(function(){e.val()?a.length||(o.after($file),$file.customFile()):(a.parent().remove(),o.appendTo(o.parent()),o.find("input").focus())},1)}),$('.gform_wrapper input[type="file"]').customFile(),$(".btn-number").click(function(e){e.preventDefault(),fieldName=$(this).attr("data-field"),type=$(this).attr("data-type");var e=$("input[name='"+fieldName+"']"),t=parseInt(e.val());isNaN(t)?e.val(0):"minus"==type?(t>e.attr("min")&&e.val(t-1).change(),parseInt(e.val())==e.attr("min")&&$(this).attr("disabled",!0)):"plus"==type&&(t<e.attr("max")&&e.val(t+1).change(),parseInt(e.val())==e.attr("max"))&&$(this).attr("disabled",!0)}),$(".input-number").focusin(function(){$(this).data("oldValue",$(this).val())}),$(".input-number").change(function(){minValue=parseInt($(this).attr("min")),maxValue=parseInt($(this).attr("max")),valueCurrent=parseInt($(this).val()),name=$(this).attr("name"),valueCurrent>=minValue?$(".btn-number[data-type='minus'][data-field='"+name+"']").removeAttr("disabled"):(alert("Sorry, the minimum value was reached"),$(this).val($(this).data("oldValue"))),valueCurrent<=maxValue?$(".btn-number[data-type='plus'][data-field='"+name+"']").removeAttr("disabled"):(alert("Sorry, the maximum value was reached"),$(this).val($(this).data("oldValue")))}),$(".input-number").keydown(function(e){-1!==$.inArray(e.keyCode,[46,8,9,27,13,190])||65==e.keyCode&&!0===e.ctrlKey||35<=e.keyCode&&e.keyCode<=39||(e.shiftKey||e.keyCode<48||57<e.keyCode)&&(e.keyCode<96||105<e.keyCode)&&e.preventDefault()}
1),$("input.datepicker").on("focus",function(){var e=$(this).outerWidth();setTimeout(function(){$(".ui-datepicker").css({width:e})},50)}),$("input.datepicker").on("keypress",function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}),$("div.gfield_time_ampm select").click(function(){"am"==$(this).children("option:selected").val()?($("div.gfield_time_ampm select option:selected").removeAttr("selected"),$(this).val("pm").trigger("change").blur()):"pm"==$(this).children("option:selected").val()&&($("div.gfield_time_ampm select option:selected").removeAttr("selected"),$(this).val("am").trigger("change").blur())}),$('.gfield input[type="email"]').after('<div class="suggestion"></div>'),$('.gfield input[type="email"]').on("blur",function(){var o=$(this),a=$(this).siblings("div.suggestion");$(this).mailcheck({suggested:function(e,t){o.addClass("has_sugg"),a.html("<span class='query_check'>Did you mean: <span class='change_email'>"+t.full+"</span>"),a.find("span.change_email").on("click",function(){o.removeClass("has_sugg").val(t.full),a.html(""),$(document).off("click.mailcheckDismiss")}),document.addEventListener("click",function e(t){o.is(t.target)||0!==a.has(t.target).length||(o.removeClass("has_sugg"),a.html(""),document.removeEventListener("click",e))},!0)},empty:function(e){o.removeClass("has_sugg"),a.html(""),$(document).off("click.mailcheckDismiss")}})}),document.querySelectorAll(".user_full_name input")[0]&&(fullName=document.querySelectorAll(".user_full_name input")[0]).addEventListener("keyup",function(){document.querySelectorAll(".user_first_name input")&&(document.querySelectorAll(".user_first_name input")[0].value=fullName.value.trim().split(/\s{1}(.+)/)[0].replace(/\s+$/,"")),document.querySelectorAll(".user_last_name input")[0]&&(document.querySelectorAll(".user_last_name input")[0].value=fullName.value.trim().split(/\s{1}(.+)/)[1]?fullName.value.trim().split(/\s{1}(.+)/)[1].trim():"")}),"//maps.googleapis.com/maps/api/"),locationFieldInput="div.gfield.location_entry_field > div.ginput_container > input",locationFieldInput_streetDetails="div.gfield.location_street_details > div.ginput_container > input",locationFieldInput_city="div.gfield.location_locality > div.ginput_container > input",locationFieldInput_state="div.gfield.location_administrative_area_level_1 > div.ginput_container > input",locationFieldInput_country="div.gfield.location_country > div.ginput_container > input",locationFieldInput_postalCode="div.gfield.location_postal_code > div.ginput_container > input",locationFieldInput_latitude="div.gfield.location_latitude > div.ginput_container > input",locationFieldInput_longitude="div.gfield.location_longitude > div.ginput_container > input";function locationAutocompleteValidationMessage(e,t,o){e=void 0!==e?e:"Validation Message.",t=void 0!==t?t:5e3,o=void 0!==o?o:"#6c6c6c",$(".validation_error.custom").css({"background-color":o}).html(e).slideDown(),setTimeout(function(){$(".validation_error.custom").slideUp()},t)}var geolocation_el_event,use_geolocation_el="div.gfield.location_entry_field > div.use_geolocation",options={types:["(regions)"],componentRestrictions:{country:"us"}},componentForm={street_number:"short_name",route:"short_name",locality:"long_name",administrative_area_level_1:"long_name",country:"short_name",postal_code:"short_name"};function addressAutocompleteInitialize(){var e=document.querySelectorAll(locationFieldInput),t=(console.log("allLocationFieldInputs"),console.log(e.length),console.log(e),[]);function o(){populateHiddenLocationFields(this.getPlace())}function a(e){"Tab"==e.code&&e.preventDefault(),"Delete"!=e.code&&"Backspace"!=e.code||(this.classList.remove("valid"),clearLocationFields()),this.parentElement.nextSibling.classList.remove("active")}function n(e){"hovered"!==geolocation_el_event&&this.parentElement.nextSibling.classList.remove("active")}for(var i=0;i<e.length;i++){var l=new google.maps.places.Autocomplete(e[i],options);l.inputId=e[i].id,l.addListener("place_changed",o),e[i].addEventListener("keydown",a),e[i].addEventListener("blur",n),t.push(l)}$(document).on("keydown","#input_1_1",function(e){var t=$(".pac-container").first().find(".pac-item").first();loadAndRedirectTosearch(e,address=t.find("span:last").text())}),$(document).on("click","#gform_submit_button_1",function(e){firstContainerFirstItem=$(".pac-container").first().find(".pac-item").first(),address=firstContainerFirstItem.find("span:last").text();var t=$("#input_1_1").val();t.length<=5?(e.key="Enter",loadAndRedirectTosearch(e,address)):(e.preventDefault(),""!=address?locationAutocompleteValidationMessage("Could not get place details for the address: "+t,5e3,"#F
1F0000"):$("#gform_1").submit())}),$(document).on("keydown","#input_36_42",function(e){secondContainerFirstItem=$(".pac-container").eq(1).find(".pac-item").first(),loadAndRedirectTosearch(e,address=secondContainerFirstItem.find("span:last").text())})}function loadAndRedirectTosearch(e,t){"Enter"===e.key&&(e.preventDefault(),""!=t?(setTimeout(function(){$(this).val(t)},5),setTimeout(function(){(new google.maps.Geocoder).geocode({address:t},function(e,t){t===google.maps.GeocoderStatus.OK?(populateHiddenLocationFields(e[0]),window.location.pathname.includes("/locations/search/")||setTimeout(function(){$("#gform_1").submit()},100)):locationAutocompleteValidationMessage("Could not get place details for the address: "+address,5e3,"#FF0000")})},200)):locationAutocompleteValidationMessage("No address found. Please enter a valid location.",5e3,"#FF0000"))}function clearLocationFields(){$([locationFieldInput_streetDetails,locationFieldInput_city,locationFieldInput_state,locationFieldInput_country,locationFieldInput_postalCode,locationFieldInput_latitude,locationFieldInput_longitude].join(", ")).val("")}function populateHiddenLocationFields(e){if(window.lat=void 0,window.lng=void 0,this.street_number=this.route=this.street_details=this.locality=this.administrative_area_level_1=this.country=this.postal_code=null,void 0!==e.address_components){$(locationFieldInput).addClass("valid").val(e.formatted_address).closest(".gfield").removeClass("gfield_error"),clearLocationFields();for(var t,o=0;o<e.address_components.length;o++){var a,n=e.address_components[o].types[0];componentForm[n]&&(a=e.address_components[o][componentForm[n]],this[n]=a,"administrative_area_level_1"!=n?$("div.gfield.location_"+n+" > div.ginput_container > input").val(a):$("div.gfield.location_"+n+" > div.ginput_container > input").val(window.formatState(a,"abbr")))}null!=this.street_number&&null!=this.route&&(this.street_details=this.street_number+" "+this.route,$(locationFieldInput_streetDetails).val(this.street_details)),"number"==typeof e.geometry.location.lat&&"number"==typeof e.geometry.location.lng?($(locationFieldInput_latitude).val(e.geometry.location.lat),$(locationFieldInput_longitude).val(e.geometry.location.lng)):"function"==typeof e.geometry.location.lat&&"function"==typeof e.geometry.location.lng&&($(locationFieldInput_latitude).val(parseFloat(e.geometry.location.lat())),$(locationFieldInput_longitude).val(parseFloat(e.geometry.location.lng()))),null==this.postal_code&&(i=new google.maps.Geocoder,t={lat:parseFloat(e.geometry.location.lat()),lng:parseFloat(e.geometry.location.lng())},i.geocode({location:t},function(e,t){if("OK"===t)for(var o,a=0;a<e[0].address_components.length;a++)"postal_code"==e[0].address_components[a].types[0]&&(o=e[0].address_components[a][
1componentForm[n]],$(locationFieldInput_postalCode).val(o),"function"==typeof initShopLocations)&&$("body").hasClass("page-locations/search")&&initShopLocations(o);else console.error("Could not get location postal code from geocode due to the following result status: "+t)}));var i=removeParameterFromUrl(window.location.href,"locn");i=removeParameterFromUrl(i,"street_details"),i=removeParameterFromUrl(i,"city"),i=removeParameterFromUrl(i,"state"),i=removeParameterFromUrl(i,"postal_code"),i=removeParameterFromUrl(i,"zip_code"),i=removeParameterFromUrl(i,"lat"),removeParameterFromUrl(i,"lng"),"function"==typeof initShopLocations&&null!=this.postal_code&&$("body").hasClass("page-locations/search")&&initShopLocations(this.postal_code)}}function getAgentGeolocation(){navigator.geolocation?navigator.geolocation.getCurrentPosition(geocodeAddress,function(e){console.error(e),e.code==e.PERMISSION_DENIED?locationAutocompleteValidationMessage("Your browser has declined geolocation. Check your system settings and allow your browser to geolocate your position.",1e4,"#F16C61"):locationAutocompleteValidationMessage("Either your device cannot reliably acquire a position or the request for your position timed out. Please try again, or enter your address manually.",1e4,"#F16C61"),$("div.icon_arrow").removeClass("spinning")},{maximumAge:0,timeout:1e4}):locationAutocompleteValidationMessage("Unfortunately geolocation is not supported by this browser. Please enter your address manually.",1e4,"#F16C61")}function createSearchURL(e){return"locations/search/?"+("loc="+encodeURIComponent(e.loc).replace(/%20/g,"+").replace(/%2C/g,"%2C")+"&street_details=&city="+encodeURIComponent(e.city).replace(/%20/g,"+")+"&state="+encodeURIComponent(e.state).replace(/%20/g,"+")+"&postal_code="+encodeURIComponent(e.postal_code).replace(/%20/g,"+")+"&lat="+e.lat+"&lng="+e.lng)}function geocodeAddress(e){var t=e.coords.latitude,e=e.coords.longitude,t=apiurl+"geocode/json?latlng="+t+","+e+"&key="+google_maps_api_key;$.getJSON(t,function(e){if(0<e.results.length){for(var t,o,a,n=0;n<e.results[0].address_components.length;n++){var i=e.results[0].address_components[n].types[0],l=e.results[0].address_components[n].short_name,r=e.results[0].address_components[n].long_name;"country"==i&&"United States"!==r?t=r:"postal_code"!=i||/(^\d{5}$)/.test(l)||(o=l),"administrative_area_level_1"==i&&(a=l)}void 0!==t||void 0!==o?locationAutocompleteValidationMessage("Canada"==t?"AB"==a||"BC"==a||"MB"==a||"ON"==a||"QC"==a||"SK"==a?"Your browser says you're located in Canada. Please enter your address manually, or visit our <a href=\"https://www.smartstartcanada.ca/locations-2/?state="+a+'" title="Link to the Smart Start Canada Locations webpage.">Canadian Website Locations</a> page for your Ignition Interlock requirements.':'Your browser says you\'re located in Canada. Please enter your address manually, or visit our <a href="https://www.smartstartcanada.ca/" title="Link to the Smart Start Canada website.">Canadian Website</a> for your Ignition Interlock requirements.':'Unfortunately this website only serves customers within the United States. Please enter your address manually, or visit our <a href="/locations/international/" title="Link to the Smart Start International Locations webpage.">International Locations</a> page to locate the correct international website for your Ignition Interlock requirements.',25e3):(populateHiddenLocationFields(e.results[0]),formFieldsValidated($(index).closest("form")))}else locationAutocompleteValidationMessage("The browser could not determine your location. Please enter your address manually.",5e3);$("div.icon_arrow").removeClass("spinning"),$(use_geolocation_el).removeClass("active")})}$(document).on("mouseenter",use_geolocation_el,function(){geolocation_el_event="hovered"}).on("mouseleave",use_geolocation_el,function(){geolocation_el_event=null}).on("click",use_geolocation_el,function(){geolocation_el_event="hovered",$(locationFieldInput).val(""),$("div.icon_arrow").addClass("spinning"),getAgentGeolocation()}),$(document).on("change keydown","form.locations-finder "+locationFieldInput,function(e){("Enter"===e.key&&"keydown"===e.type||"change"===e.type)&&(dragged=!1),""!==$(this).val()?$(this).addClass("val
1id"):$(this).removeClass("valid")});var vehicleMakesJSON,vehicleModelsJSON,vehicleSelectEventType,yearFieldType,makeFieldType,singleLocationMoveElements=function(){"768up"!==mqs&&"1030up"!==mqs&&"1240up"!==mqs||$(".av_two_fifth section.get_a_quote_block").insertAfter(".av_three_fifth section.store_info_driving_directions"),"base"!==mqs&&"481up"!==mqs||$(".av_three_fifth section.get_a_quote_block").insertAfter(".av_two_fifth section.shop_details_block")},en_required_field='<span class="gfield_required"><span class="gfield_required gfield_required_custom">* (required)</span></span>',es_required_field='<span class="gfield_required"><span class="gfield_required gfield_required_custom">* (obligatorio)</span></span>',changeFormLang=($(function(){$("#choice_7_220_1, #choice_2_220_1").is(":checked")&&changeFormLang("es")}),$("#choice_7_220_1, #choice_2_220_1").change(function(){$(this).is(":checked")?changeFormLang("es"):changeFormLang()}),function(e){"es"===e?($("html").attr("lang","es-US"),$("label[for='input_7_7'], label[for='input_2_7']").text("Nombre").append(es_required_field),$("input[id='input_7_7'], input[id='input_2_7']").attr("placeholder","Nombre *"),$("label[for='input_7_96'], label[for='input_2_96']").text("Apellido").append(es_required_field),$("input[id='input_7_96'], input[id='input_2_96']").attr("placeholder","Apellido *"),$("label[for='input_7_2'], label[for='input_2_2']").text("Correo electrónico"),$("input[id='input_7_2'], input[id='input_2_2']").attr("placeholder","Correo electrónico *"),$("label[for='input_7_4'], label[for='input_2_4']").text("Teléfono").append(es_required_field),$("input[id='input_7_4'], input[id='input_2_4']").attr("placeholder","Teléfono *"),$("label[for='input_7_8'], label[for='input_2_8']").text("Código postal").append(es_required_field),$("input[id='input_7_8'], input[id='input_2_8']").attr("placeholder","Código postal *"),$("label[for='choice_7_226_1']").text('Doy mi consentimiento para que 1A Smart Start LLC y/o sus franquiciados se pongan en contacto conmigo varias veces de forma continuada por teléfono, mensaje de texto y/o correo electrónico, incluidas llamadas automáticas y pregrabadas y mensajes de texto, para informarme sobre nuestros productos, servicios, promociones y otras ofertas. Este consentimiento no es necesario para adquirir productos o servicios. Para darse de baja de los mensajes de texto, responda "STOP", y para darse de baja de los correos electrónicos, haga clic en el enlace para darse de baja del correo electrónico. Para los mensajes de texto, escriba "AYUDA".'),$("label[for='input_7_81'], label[for='input_2_81']").text("Condado de convicción"),$("label[for='input_7_49'], label[for='input_2_49']").text("Estado de convicción"),$("label[for='input_7_57'], label[for='input_2_57']").text("Año del vehÃculo"),$("label[for='input_7_25'], label[for='input_2_25']").text("Marca de vehÃculos"),$("label[for='input_7_26'], label[for='input_2_26']").text("Modelo de vehÃculo"),$("label[for='input_7_80'], label[for='input_2_80']").text("Tipo de arranque del vehÃculo"),$("#label_7_89_1, #label_2_89_1").text("Estoy interesado en Seguro SR-22"),$("label[for='input_7_102'], label[for='input_2_102']").text("¿Cómo nos encontraste?"),setGfButtonLabel($("#gform_submit_button_7, #gform_submit_button_2"),"Reserve ya su instalación")):($("html").attr("lang","en-US"),$("label[for='input_7_7'], label[for='input_2_7']").text("First Name").append(en_required_field),$("input[id='input_7_7'], input[id='input_2_7']").attr("placeholder","First Name *"),$("label[for='input_7_96'], label[for='input_2_96']").text("Last Name").append(en_required_field),$("input[id='input_7_96'], input[id='input_2_96']").attr("placeholder","Last Name *"),$("label[for='input_7_2'], label[for='input_2_2']").text("Email"),$("input[id='input_7_2'], input[id='input_2_2']").attr("placeholder","Email *"),$("label[for='input_7_4'], label[for='input_2_4']").text("Phone").append(en_required_field),$("input[id='input_7_4'], input[id='input_2_4']").attr("placeholder","Phone *"),$("label[for='input_7_8'], label[for='input_2_8']").text("Zip Code").append(en_required_field),$("input[id='input_7_8'], input[id='input_2_8']").attr("placeholder","Zip Code *"),$("label[for='choice_7_226_1']").text('I consent to 1A Smart Start LLC and/
1or its franchisees\' reaching out to me multiple times on an ongoing basis using telephone, text and/or email, including autodialed and prerecorded calls and texts, about our products, services, promotions, and other offers. This consent is not required to purchase goods or services. To opt-out of text messages reply "STOP", and to opt-out of emails click the unsubscribe link in the email. For texts, text "HELP" for help.'),$("label[for='input_7_81'], label[for='input_2_81']").text("County of Conviction"),$("label[for='input_7_49'], label[for='input_2_49']").text("State of Conviction"),$("label[for='input_7_57'], label[for='input_2_57']").text("Vehicle Year"),$("label[for='input_7_25'], label[for='input_2_25']").text("Vehicle Make"),$("label[for='input_7_26'], label[for='input_2_26']").text("Vehicle Model"),$("label[for='input_7_80'], label[for='input_2_80']").text("Vehicle Start Type"),$("#label_7_89_1, #label_2_89_1").text("I am interested in SR-22 Insurance"),$("label[for='input_7_102'], label[for='input_2_102']").text("How did you find us?"),setGfButtonLabel($("#gform_submit_button_7, #gform_submit_button_2"),"Book Your Install Now"))}),yearField=".vehicle_year>div>select",yearContainer=$(yearField).parent().parent(),yearResultsLi=".vehicle_year ul.chosen-results li",yearSearchInput=".vehicle_year .chosen-search>input",makeField=".vehicle_make>div>select",makeContainer=$(makeField).parent().parent(),makeResultsLi=".vehicle_make ul.chosen-results li",makeSearchInput=".vehicle_make .chosen-search>input",modelField=".vehicle_model>div>select",modelContainer=$(modelField).parent().parent(),modelResultsLi=".vehicle_model ul.chosen-results li",modelSearchInput=".vehicle_model .chosen-search>input";function getVehicleMakes(e){"--"===e&&""===$(yearField).val()?($(makeField).empty(),$(modelField).empty(),$(makeField).attr("disabled","disabled").trigger("chosen:updated").parent().parent().addClass("gf_disabled").removeClass("loading"),"change"===vehicleSelectEventType?$(makeField).empty().append('<option value selection="selected" class="gf_placeholder">SELECT A VEHICLE YEAR</option>').append("<option value disabled></option>"):($(makeField).children("option.gf_placeholder").text("Select a vehicle year"),$(makeContainer).find(".chosen-single span").text("Select a vehicle year")),$(modelField).attr("disabled","disabled").trigger("chosen:updated").parent().parent().addClass("gf_disabled").removeClass("loading"),"change"===vehicleSelectEventType?$(modelField).empty().append('<option value selection="selected" class="gf_placeholder">SELECT A VEHICLE YEAR</option>').append("<option value disabled></option>"):($(modelField).children("option.gf_placeholder").text("Select a vehicle year"),$(modelContainer).find(".chosen-single span").text("Select a vehicle year"))):($(makeField).empty(),$(modelField).empty(),$.ajax({tyoe:"GET",url:ss_webapi_url+"/Vehicle/Makes?year="+e,headers:{Authorization:"Bearer "+ss_webapi_bearer},success:function(e,t){vehicleMakesJSON=e,$(makeField).empty().append('<option value selection="selected" class="gf_placeholder">--</option>'),$(modelField).attr("disabled","disabled").trigger("chosen:updated").parent().parent().addClass("gf_disabled").removeClass("loading"),"change"===vehicleSelectEventType?$(modelField).empty().append('<option value selection="selected" class="gf_placeholder">SELECT A VEHICLE MAKE</option>').append("<option value disabled></option>"):($(modelField).children("option.gf_placeholder").text("Select a vehicle make"),$(modelContainer).find(".chosen-single span").text("Select a vehicle make")),$.each(vehicleMakesJSON.Data,function(e,t){$(makeField).append('<option value="'+t.Name+'" data-value="'+t.Id+'">'+t.Name+"</option>")}),$(makeField).trigger("chosen:updated"),$(makeField).removeAttr("disabled").trigger("chosen:updated").parent().parent().removeClass("loading gf_disabled"),$(makeField).children("option.gf_placeholder").text("--"),$(makeContainer).find(".chosen-single span").text("--")}}))}function getVehicleModels(o,a){function n(e){$(modelField).empty().append('<option value selection="selected" class="gf_placeholder">--</option>'),$.each(e.Data,function(e,t){$(modelField).append('<option value="'+t.Name+'">'+t.Name+"</option>")}),$(modelField).trigger("chosen:updated")}void 0===a||-1===a?($(modelField).empty(),$(modelField).attr("disabled","disabled").trigger("chosen:updated").parent().parent().addClass("gf_disabled").removeClass("loading"),$(modelField).children("option.gf_placeholder").text("Select a vehicle make"),$(modelContainer).find(".chosen-single span").text("Select a vehicle make")):($(modelField).trigger("chosen:updated").parent().parent().removeClass("loading"),$(modelField).children("option.gf_placeholder").text("--"),$(modelContainer).find(".chosen-single span").text("--"),void 0===vehicleMakesJSON&&"--"!==o?$.ajax({type:"GET",url:ss_webapi_url+"/Vehicle/Makes?year="+o,headers:{Authorization:"Bearer "+ss_webapi_bearer},success:function(e,t){vehicleMakesJSON=e,$.ajax({type:"GET",url:ss_webapi_url+"/Vehicle/Models?year="+o+"&makeId="+vehicleMakesJSON.Data[a-1].Id,headers:{Authorization:"Bearer "+ss_webapi_bearer},success:function(e,t){n(e),$(modelField).removeAttr("disabled").trigger("chosen:updated").parent().parent().removeClass("loading gf_disabled")}})}}):void 0!==vehicleMakesJSON&&0<a&&$.ajax({type:"GET",url:ss_webapi_url+"/Vehicle/Models?year="+o+"&makeId="+vehicleMakesJSON.Data[a-1].Id,headers:{Authorization:"Bearer "+ss_webapi_bearer},success:function(e,t){n(e),$(modelField).removeAttr("disabled").trigger("chosen:updated").parent().parent().removeClass("loading gf_disabled")}}))}makeFieldType=/iP(od|ad|hone)/.test(window.navigator.userAgent)||/Android/i.test(window.navigator.userAgent)&&/Mobile/.test(window.navigator.userAgent)?(vehicleSelectEventType="change",yearFieldType=yearField,makeField):(vehicleSelectEventType="click",yearFieldType=yearResultsLi,makeResultsLi),$(function(){var e;$(".gf_disabled input, .gf_disabled select, .gf_disabled textarea").each(function(){$(this).is(makeField)&&"--"===$(".vehicle_year select option:selected").html()&&($(makeField).attr("disabled","disabled").trigger("chosen:updated"),setTimeout(function(){"change"===vehicleSelectEventType?$(makeField).empty().append('<option value selection="selected" class="gf_placeholder">SELECT A VEHICLE YEAR</option>').append("<option value disabled></option>"):$(makeContainer).find(".chosen-single span").text("Select a vehicle year")},10)),$(this).is(makeField)&&"--"!==$(".vehicle_year select option:selected").html()&&$(makeContainer).removeClass("gf_disabled"),$(this).is(modelField)&&"disabled"===$(".vehicle_make select").attr("disabled")&&($(modelField).attr("disabled","disabled").trigger("chosen:updated"),setTimeout(function(){"change"===vehicleSelectEventType?$(modelField).empty().append('<option value selection="selected" class="gf_placeholder">SELECT A VEHICLE YEAR</option>').append("<option value disabled></option>"):$(modelContainer).find(".chosen-single span").text("Select a vehicle year")},10)),$(this).is(modelField)&&"disabled"!==$(".vehicle_make select").attr("disabled")&&"--"===$(".vehicle_make select option:selected").html()?setTimeout(function(){"change"===vehicleSelectEventType?$(modelField).empty().append('<option value selection="selected" class="gf_placeholder">SELECT A VEHICLE YEAR</option>').append("<option value disabled></option>"):$(modelContainer).find(".chosen-single span").text("Select a vehicle year")},10):$(this).is(modelField)&&"disabled"!==$(".vehicle_make select").attr("disabled")&&"--"!==$(".vehicle_make select option:selected").html()&&$(modelContainer).removeClass("gf_disabled")}),"--"!==$(yearField).find("option:selected").text()&&""!==$(yearField).find("option:selected").text()&&getVehicleMakes($(yearField).find("option:selected").text()),"--"!==$(modelField).find("option:selected").text()&&void 0!==$(makeField)[0]&&(e=/iP(od|ad|hone)/.test(window.navigator.userAgent)||/Android/i.test(window.navigator.userAgent)&&/Mobile/.test(window.navigator.userAgent)?$(makeField)[0].selectedIndex:$(makeFieldType).data("option-array-index"),getVehicleModels($(yearField).find("option:selected").text(),e))}),$(document).on(vehicleSelectEventType,yearFieldType,function(){"change"===vehicleSelectEventType?$(yearField).find("option:selected").text():$(this).html();getVehicleMakes($(yearField).find("option:selected").text())}),$(document).on("blur",yearSearchInput,function(){getVehicleMakes($(yearContainer).find(".chosen-single span").text())}),$(document).on(vehicleSelectEventType,makeFieldType,function(){var e="change"===vehicleSelectEventType?$(makeField)[0].selectedIndex:$(this).data("option-array-index");getVehicleModels($(yearField).find("option:selected").text(),e)}),$(document).on("blur",makeSearchInput,function(){0!==$(makeResultsLi).data("option-array-index")&&getVehicleModels($(yearField).find("option:selected").text(),$(makeResultsLi).data("option-array-index"))});var input_user_first_name="div.gfield.user_first_name > div.ginput_container > input",input_user_last_name="div.gfield.user_last_name > div.ginput_container > input",input_user_email="div.gfield.user_email > div.ginput_container > input",input_user_phone="div.gfield.user_phone > div.ginput_container > input";function validateNameField(e){/^[a-zA-Z\u00F0-\u02AF]{2,}
1.*/.test(e.val())?e.addClass("valid").closest(".gfield").removeClass("gfield_error"):e.removeClass("valid"),formFieldsValidated(e.closest("form"))}function validateEmailField(e){/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(e.val())?e.addClass("valid").closest(".gfield").removeClass("gfield_error"):e.removeClass("valid"),formFieldsValidated(e.closest("form"))}function validatePhoneField(e){/^(\()?[2-9]{1}\d{2}(\))?(-|\s)?\d{3}(-|\s)\d{4}$/g.test(e.val())||/^\d{10,11}$/.test(e.val())?e.addClass("valid").closest(".gfield").removeClass("gfield_error"):e.removeClass("valid"),formFieldsValidated(e.closest("form"))}function validateLocationField(e){""!=e.val()&&""!=e.closest("form").find(locationFieldInput_postalCode).val()?e.addClass("valid").closest(".gfield").removeClass("gfield_error"):e.removeClass("valid"),formFieldsValidated(e.closest("form"))}function validateZipCodeField(e){""!=e.val()&&/^\d{5}$/g.test(e.val())?e.addClass("valid").closest(".gfield").removeClass("gfield_error"):e.removeClass("valid"),formFieldsValidated(e.closest("form"))}function formFieldsValidated(e){return!!(e.find(input_user_first_name).hasClass("val
1id")&&e.find(input_user_last_name).hasClass("valid")&&e.find(input_user_phone).hasClass("valid")&&e.find(locationFieldInput_postalCode).hasClass("valid"))&&(setGfButtonLabel(e.find("#gform_submit_button_7"),"Book Your Install Now"),e.find("#gform_submit_button_7").removeClass("gfield_error"),!0)}$(function(){var a=!1;$(document).on("click","#gform_submit_button_7",function(t){function e(e){return $(t.target).closest("form").find(e)}var o;t.preventDefault(),validateNameField(e([input_user_first_name,input_user_last_name].join(", "))),validatePhoneField(e(input_user_phone)),validateZipCodeField(e(locationFieldInput_postalCode)),!1===a&&!0===formFieldsValidated($(t.target).closest("form"))?(a=!0,$(t.target).closest("form").trigger("submit")):(e(input_user_first_name).hasClass("valid")||$(".gfield.user_first_name").addClass("gfield_error"),e(input_user_last_name).hasClass("valid")||$(".gfield.user_last_name").addClass("gfield_error"),e(input_user_phone).hasClass("valid")||$(".gfield.user_phone").addClass("gfield_error"),e(locationFieldInput_postalCode).hasClass("val
1id")||$(".gfield.location_postal_code").addClass("gfield_error"),$(this).parent().hasClass("gfield_error")&&(o="base"!==mqs&&"481up"!==mqs?0:$(".gfield_error").first().offset().top-60,$("html,body").animate({scrollTop:o+"px"},1e3,"easeInOutCubic")),setGfButtonLabel($(this),"Please Fix Errors Above"),$(this).addClass("gfield_error"))})}),$(document).on("gform_post_render",function(e,t,o){$([input_user_first_name,input_user_last_name].join(", ")).on("change input keyup focus blur",function(){validateNameField($(this))}),$(input_user_email).on("change input keyup focus blur",function(){validateEmailField($(this))}),$(input_user_phone).on("change input keyup focus blur",function(){validatePhoneField($(this))}),$(locationFieldInput_postalCode).on("change input keyup focus blur",validateZipCodeField($(this))).on("keydown",function(e){8!=e.which&&46!=e.which||$(this).removeClass("valid"),validateZipCodeField($(this))})}),$(document).on("keypress","body.page-get-a-quote form#gform_7, body.page-thank-you form#gform_7",function(e){return 13!=e.keyCode}),$("button#add_to_request").one("click",function(e){validateNameField($([input_user_first_name,input_user_last_name].join(", "))),validatePhoneField($(input_user_phone)),validateZipCodeField($(locationFieldInput_postalCode)),formFieldsValidated($(e.target).closest("form"))?($("form.gfdp").off("change keyup load"),$("#input_7_67").val("false"),$(this).addClass("waiting"),$(this).hasClass("waiting")&&$(this).hasClass("success")||((response=$.post("/get-a-quote/thank-you/",$("body.page-thank-you form#gform_7").serialize())).done(function(){$("button#add_to_request").removeClass("waiting").addClass("success").children("span.buttontext").text("Fast Track Information Added!"),setTimeout(function(){$(".fast-track-fields, p.consent").slideUp(1e3,"easeInOutCubic")},2500)}),response.fail(function(){$("button#add_to_request").removeClass("waiting").addClass("error").children("span.buttontext").text("Server Error"),setTimeout(function(){$("button#add_to_request").removeClass("error")},2500)}))):($("button#add_to_request").removeClass("waiting").addClass("error").children("span.buttontext").text("Error: Please Start Over"),setTimeout(function(){$(".gform_wrapper").slideUp(1e3,"easeInOutCubic")},500),setTimeout(function(){window.location.replace("/get-a-quote/")},2500))});var playerIID,playerFLEX,playerSMI,playerSM,playerBC,playerPAMOVERVIEW,playerPAMSETUP,playerPAMRETURNDEVICE,playerPAMTROUBLESHOOTING,playerPAMCLIENTHELP,tag=document.createElement("script"),firstScriptTag=(tag.src="https://www.youtube.com/iframe_api",document.getElementsByTagName("script")[0]);function onYouTubeIframeAPIReady(){var e={rel:0,playsinline:1,iv_load_policy:3,enablejsapi:1},t=800,o=450;document.getElementById("youtube-player-ignitioninterlock")&&(playerIID=new YT.Player("youtube-player-ignitioninterlock",{width:t,height:o,playerVars:e,videoId:"n6qi6rhrXTY"})),document.getElementById("youtube-player-flex")&&(playerFLEX=new YT.Player("youtube-player-flex",{width:t,height:o,playerVars:e,videoId:"08kGp2cHw9o"})),document.getElementById("youtube-player-smartmobileinsight")&&(playerSMI=new YT.Player("youtube-player-smartmobileinsight",{width:t,height:o,playerVars:e,videoId:"tw0F6dIVB7k"})),document.getElementById("youtube-player-smartmobile")&&(playerSM=new YT.Player("youtube-player-smartmobile",{width:t,height:o,playerVars:e,videoId:"4jCtg8ZFEOw"})),document.getElementById("youtube-player-breathcheck")&&(playerBC=new YT.Player("youtube-player-breathcheck",{width:t,height:o,playerVars:e,videoId:"NJPFB0cm7n0"})),document.getElementById("youtube-player-pam-overview")&&(playerPAMOVERVIEW=new YT.Player("youtube-player-pam-overview",{width:t,height:o,playerVars:e,videoId:"0X1PLl5-VSQ"})),document.getElementById("youtube-player-pam-setup")&&(playerPAMSETUP=new YT.Player("youtube-player-pam-setup",{width:t,height:o,playerVars:e,videoId:"C026GAc7mNk"})),document.getElementById("youtube-player-pam-return-device")&&(playerPAMRETURNDEVICE=new YT.Player("youtube-player-pam-return-device",{width:t,height:o,playerVars:e,videoId:"CR_dOfG6oGY"}
1)),document.getElementById("youtube-player-pam-troubleshooting")&&(playerPAMTROUBLESHOOTING=new YT.Player("youtube-player-pam-troubleshooting",{width:t,height:o,playerVars:e,videoId:"0vbhNleDxVU"})),document.getElementById("youtube-player-pam-client-help")&&(playerPAMCLIENTHELP=new YT.Player("youtube-player-pam-client-help",{width:t,height:o,playerVars:e,videoId:"QBe854dyC4c"}))}firstScriptTag.parentNode.insertBefore(tag,firstScriptTag),$("body.page-clients\\/videos a[data-videoname], body.page-breathcheck a[data-videoname], body.page-devices\\/portable-alcohol-monitoring\\/videos a[data-videoname]").on("click",function(e){e.preventDefault(),seekToAndPlay($(this).data("videotime"),$(this).data("videoname"),$(this).data("lang"))});var language="en";function seekToAndPlay(e,t,o){if("IID"==t){if("en"==o&&"es"==language)return playerIID.loadVideoById({videoId:"n6qi6rhrXTY",startSeconds:e}),void(language="en");if("es"==o&&"en"==language)return playerIID.loadVideoById({videoId:"ZaqxOa7-Jls",startSeconds:e}),void(language="es");playerIID.seekTo(e),playerIID.playVideo()}if("FLEX"==t){if("en"==o&&"es"==language)return playerFLEX.loadVideoById({videoId:"08kGp2cHw9o",startSeconds:e}),void(language="en");playerFLEX.seekTo(e),playerFLEX.playVideo()}if("SMI"==t){if("en"==o&&"es"==language)return playerSMI.loadVideoById({videoId:"tw0F6dIVB7k",startSeconds:e}),void(language="en");if("es"==o&&"en"==language)return playerSMI.loadVideoById({videoId:"pfY9bgCuYwc",startSeconds:e}),void(language="es");playerSMI.seekTo(e),playerSMI.playVideo()}if("SM"==t){if("en"==o&&"es"==language)return playerSM.loadVideoById({videoId:"4jCtg8ZFEOw",startSeconds:e}),void(language="en");if("es"==o&&"en"==language)return playerSM.loadVideoById({videoId:"-X0bskJNyII",startSeconds:e}),void(language="es");playerSM.seekTo(e),playerSM.playVideo()}if("BC"==t&&(playerBC.seekTo(e),playerBC.playVideo()),"PAMOVERVIEW"==t){if("en"==o&&"es"==language)return playerPAMOVERVIEW.loadVideoById({videoId:"0X1PLl5-VSQ",startSeconds:e}),void(language="en");if("es"==o&&"en"==language)return playerPAMOVERVIEW.loadVideoById({videoId:"fglHS7qcV9c",startSeconds:e}),void(language="es");playerPAMOVERVIEW.seekTo(e),playerPAMOVERVIEW.playVideo()}if("PAMSETUP"==t){if("en"==o&&"es"==language)return playerPAMSETUP.loadVideoById({videoId:"C026GAc7mNk",startSeconds:e}),void(language="en");if("es"==o&&"en"==language)return playerPAMSETUP.loadVideoById({videoId:"ejbjc0ac2YU",startSeconds:e}),void(language="es");playerPAMSETUP.seekTo(e),playerPAMSETUP.playVideo()}if("PAMRETURNDEVICE"==t){if("en"==o&&"es"==language)return playerPAMRETURNDEVICE.loadVideoById({videoId:"CR_dOfG6oGY",startSeconds:e}),void(language="en");if("es"==o&&"en"==language)return playerPAMRETURNDEVICE.loadVideoById({videoId:"vHhMhrv0YHY",startSeconds:e}),void(language="es");playerPAMRETURNDEVICE.seekTo(e),playerPAMRETURNDEVICE.playVideo()}if("PAMTROUBLESHOOTING"==t){if("en"==o&&"es"==language)return playerPAMTROUBLESHOOTING.loadVideoById({videoId:"0vbhNleDxVU",startSeconds:e}),void(language="en");if("es"==o&&"en"==language)return playerPAMTROUBLESHOOTING.loadVideoById({videoId:"_cB9-NzfMUQ",startSeconds:e}),void(language="es");playerPAMTROUBLESHOOTING.seekTo(e),playerPAMTROUBLESHOOTING.playVideo()}"PAMCLIENTHELP"==t&&("en"==o&&"es"==language?(playerPAMCLIENTHELP.loadVideoById({videoId:"QBe854dyC4c",startSeconds:e}),language="en"):"es"==o&&"en"==language?(playerPAMCLIENTHELP.loadVideoById({videoId:"iRuv3iUcTuk",startSeconds:e}),language="es"):(playerPAMCLIENTHELP.seekTo(e),playerPAMCLIENTHELP.playVideo()))}
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.