PageSourceSearch

https://goseeoc.com/js/remora.min.js?v=12.1.249

js goseeoc.com collected 2026-09-26 11:59:13 UTC 36,157 bytes, 2 lines download raw bytes

1function e(e){return window.location.href.indexOf("remoradev.com")&&console&&console.log&&console.log(e)}window._rem=function(t,o,n){t.jQuery=jQuery.noConflict(!0),void 0===t.store&&(t.store={files:[],callbacks:[],fileCallbacks:[],loaded:0,retryCount:0}),t.const={COOKIE_VEHICLE_VIEW:"cookie_vehicle_view"},window.onbeforeunload=function(){t.handleSrpView(!1)&&e("Sent SRP Views synchronously")},t.processTrdpAsyncFiles=function(){const e=t.store.files.length;for(let o=0;o<e;o++){const e=n.createElement("script");e.setAttribute("src",t.store.files[o]),e.readyState?e.onreadystatechange=function(){"loaded"!=this.readyState&&"complete"!=this.readyState||(this.onreadystatechange=null,t.fileLoadedCallback())}:e.onload=function(){t.fileLoadedCallback()},n.body.appendChild(e)}0==e&&t.fileLoadedCallback()},t.processReadyComplete=!1,t.processReady=function(){if(t.store.callbacks.length){t.jQuery(".js-load").fadeOut(250),t.jQuery(".js-load-hide").fadeIn(250);const o=t.store.callbacks.length;for(let n=0;n<o;n++)try{t.store.callbacks[n](t.jQuery)}catch(e){console.error("Exception thrown by _rem.ready(). Caught to avoid errors on the page",e),"undefined"!=typeof Sentry&&Sentry.captureException(e)}t.store.callbacks=[],t.processReadyComplete=!0}t.ready=function(e){return e(t.jQuery)}},t.fileLoadedCallback=function(){if(++t.store.loaded>=t.store.files.length){const e=t.store.fileCallbacks.length;for(let o=0;o<e;o++)t.store.fileCallbacks[o](t.jQuery);t.store.fileCallbacks=[],t.store.files=[]}},t.initLazyLoad=function(){const e=document.querySelectorAll("img.lazy-load");if(!("IntersectionObserver"in window))return console.log("IntersectionObserver not supported, using fallback"),void e.forEach(e=>{e.dataset.src&&(console.log("Loading fallback:",e.dataset.src),e.src=e.dataset.src)});const t=new IntersectionObserver((e,t)=>{e.forEach(e=>{if(e.isIntersecting){const o=e.target;o.dataset.src&&(o.src=o.dataset.src),t.unobserve(o)}})},{rootMargin:"200px"});0!==e.length&&e.forEach(e=>{t.observe(e)})},window.addEventListener("pageshow",function(e){setTimeout(function(){t.initLazyLoad()},100)}),t.fileEnd=function(){t.jQuery.ajaxSetup({headers:{"X-CSRF-TOKEN":t.jQuery('meta[name="csrf-token"]').attr("content")}}),t.jQuery(n).ready(function(){t.processReady(),t.srpImagesAndAnalytics(t.jQuery),t.headerAjaxEvents(t.jQuery),t.jQuery("body").hasClass("logged-in")&&t.replayAccountStorage(),t.formButtonsInit(),t.initLazyLoad(),t.initOverlayLauncherGuard(),t.processTrdpAsyncFiles(),t.finalInit(t.jQuery)})},t.openAccountSidebar=function(){t.jQuery("#acct-oc").sidebar("show")},t.initOverlayLauncherGuard=function(){if("undefined"==typeof MutationObserver)return;const e=document.querySelectorAll(".ui.sidebar");if(!e.length)return;const t=function(){const e=null!==document.querySelector(".ui.sidebar.visible");document.body.classList.toggle("rmr-overlay-open",e)},o=new MutationObserver(t);e.forEach(function(e){o.observe(e,{attributes:!0,attributeFilter:["class"]})}),t()},t.replayAccountStorage=function(){const e=t.getCookie("accountStorage");if(!e)return;const o=JSON.parse(e);t.jQuery('.veh-actions[data-vin="'+o.vin+'"] *[data-key="'+o.key+'"]:not(.active)').click(),t.removeCookie("accountStorage")},t.headerAjaxEvents=function(o){o(".ajax-api-cont").on("click","i.remove",function(n){const i=o(this),a=i.closest(".ajax-api-cont");a.parent().addClass("cursor-wait");const r=i.data("vin");e("Remove icon clicked: "+r),t.ajax({method:"DELETE",url:a.data("url"),data:{vin:r}},function(t){if(e("Request to remove price drop alert for "+r+". Response: "+t.success),t.success){i.closest("div.item").slideUp(400,function(){i.closest("div.item").remove()});const e=parseInt(o("#user-"+a.data("key")+"-count").text())-1;o("#user-"+a.data("key")+"-count").text(e),0==e&&(a.find(".empty-msg").show(),a.parent().find(".not-empty-msg").hide()),o('.veh-actions[data-vin="'+r+'"]').find('i[data-key="'+a.data("key")+'"]').removeClass("active"),o('.veh-actions[data-vin="'+r+'"]').find('.action-item[data-key="'+a.data("key")+'"]').removeClass("active")}a.parent().removeClass("cursor-wait")})}),o("#inv-list, .detail-side").on("click","div.action-item > i.icon, .action-item",function(e){if(e.preventDefault(),o("body").hasClass("logged-out")&&"comparedVehicles"!=o(this).data("key"))return t.openAccountSidebar(),t.setCookie("accountStorage",JSON.stringify({key:o(this).data("key"),vin:o(this).closest(".veh-actions").data("vin")})),!1;const n=!o(this).hasClass("active"),i=o(this).data("url"),a=o(this).closest(".veh-actions").data("vin"),r=o("#"+o(this).data("key")+"-item .ajax-api-cont");let s=parseInt(o("#user-"+o(this).data("key")+"-count").text());if("comparedVehicles"==o(this).data("key")&&s>=8&&n)return alert("You can only compare up to 8 vehicles at a time");o(this).toggleClass("active"),o("#user-"+o(this).data("key")+"-count").parent().transition("tada"),n?s++:s--,o("#user-"+o(this).data("key")+"-count").text(s),n||r.find('div[data-vin="'+a+'"]').remove(),t.ajax({method:n?"POST":"DELETE",url:i,data:{vin:a}},function(e){n?(r.append(e.html),r.find(".empty-msg").hide(),r.parent().find(".not-empty-msg").show()):(r.find('div[data-vin="'+a+'"]').remove(),0==s&&(r.find(".empty-msg").show(),r.parent().find(".not-empty-msg").hide()))})}),o("#accountDropdown a.logout").on("click",function(e){e.preventDefault(),o("#accountDropdown").append('<div class="ui inverted dimmer active"><div class="ui loader"></div></div>'),t.jQuery.ajax({url:o(this).attr("href"),method:"GET"}
1).always(function(e){o("body").removeClass("logged-in").addClass("logged-out"),o(".veh-actions i.active, .veh-actions .action-item.active").removeClass("active"),o("#accountDropdown div.ui.dimmer.active").remove()})})},t.srpViews=[],t.srpImagesAndAnalytics=function(){const e=document.getElementById("inv-list");if(!e)return;const o=e=>{const o=e.getAttribute("data-id");o&&!e.dataset.seen&&-1===t.srpViews.indexOf(+o)&&(t.srpViews.push(+o),e.dataset.seen="1")};t.srpViewObserver&&t.srpViewObserver.disconnect(),"IntersectionObserver"in window?(t.srpViewObserver=new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting&&(o(e.target),t.unobserve(e.target))})},{rootMargin:"200px"}),e.querySelectorAll("li[data-id]").forEach(e=>{e.dataset.seen||t.srpViewObserver.observe(e)})):e.querySelectorAll("li[data-id]").forEach(o),t.srpViewSender||(t.srpViewSender=setInterval(t.handleSrpView,1e3))},t.handleSrpView=function(o){return!!t.srpViews.length&&(null===o&&(o=!0),e("Sent request for vehicle views. Count: "+t.srpViews.length),t.ajax({method:"POST",url:"/ajax/tracking/vehicles",data:{ids:t.srpViews},async:o},function(t){e("Request to log vehicle views response: "+t.success)}),t.srpViews=[],!0)},t.ajax=function(o,n){return t.jQuery.ajax(o).done(n).error(function(o){401==o.status?t.openAccountSidebar():e(o)})},t.loadFormContent=function(e,o,n){null==t.formOffCanvas&&(t.formOffCanvas=t.jQuery("#form-oc")),t.formOffCanvas||alert("We are unable to load the form at this time.");const i=o.data("vehicleId");e+=i?"/"+i:"",o.parent().addClass("cursor-wait"),t.jQuery("#formModalSendBtn").hide().removeClass("disabled"),t.jQuery.ajax({method:"GET",url:e}).done(function(e){let i=null,a=e;-1!==["specialOffer","premiumSpecialOffer","coupon"].indexOf(n)?i=o.data("formTitle"):"agent"===n?i="Send "+o.data("agentName")+" A Message":"review"===n?i="Please contact us with your review!":"phone"===n?(i=e.title||"Send This Vehicle To My Phone",a=e.content):"email"===n?i="Send To My Email":"share"===n?i="Send This Vehicle To A Friend":"incentivesRequestMoreInfo"===n?i="Request More Info":(i=e.title,a=e.content),t.formOffCanvas.find(".js-content").html(a);const r='<h2 class="rmr_sidebar-header_heading">'+i+'</h2><i class="close icon" onclick="_rem.formOffCanvas.sidebar(\'toggle\');"></i>';function s(e,o){t.jQuery("<input>").attr({type:"hidden",value:o,name:e}).appendTo(t.formOffCanvas.find("form"))}if(t.formOffCanvas.find(".js-header").html(r),"incentivesRequestMoreInfo"===n){let e=o.data("offerType");e.lastIndexOf("s")==e.length-1&&(e=e.substr(0,e.length-1));const n=o.parentsUntil("div.ui.segment").parent().find("h3.offerName").text().trim();let i=t.formOffCanvas.context.querySelector("textArea").value;i=i.substring(0,i.length-11),i+=e+" - "+n+".",t.formOffCanvas.context.querySelector("textArea").value=i}"review"===n?(t.formOffCanvas.sidebar("toggle"),s("user_rating",parseInt(t.jQuery("#add-review-stars").val()))):(t.formOffCanvas.sidebar("toggle"),"agent"===n?s("agentEmail",o.data("agentEmail")):"specialOffer"===n?s("special_id",o.data("specialId")):"premiumSpecialOffer"===n&&s("premium_special_id",o.data("premiumSpecialId")),t.formOffCanvas.trigger("form-loaded"))}).fail(function(e){}).always(function(){o.parent().removeClass("cursor-wait")})},t.formButtonsInit=function(){t.jQuery("[data-oc-form-id]").click(function(){const e=t.jQuery(this),o="/form-content/"+e.data("ocFormId");t.loadFormContent(o,e)})},t.RemoraForm=function(e){this.MIN_STEP_HEIGHT=e.stepHeight?e.stepHeight:450,this.FORM_DIV_SUFFIX=e.divSuffix?e.divSuffix:"_div_",this.$=e.jquery,this.formName=e.formName,this.formId=e.formId,this.multiStep=!!e.multiStep&&e.multiStep,this.stepCount=e.stepCount?e.stepCount:0,this.validationObj=e.validationObj,this.messageContainerId=e.messageContainerId,this.submitURL=e.submitURL?e.submitURL:"/form-submission",this.submitText=e.submitText?e.submitText:"Send Now",this.uniqueId=e.uniqueId},t.RemoraForm.prototype.scrollToFormTop=function(){const e=this.$,t=this;setTimeout(function(){e(".ui.modals.page.visible.active").length>0?e(".ui.modals.page.visible.active").animate({scrollTop:0},100):e("html, body").animate({scrollTop:e("#"+t.formName).offset().top-80},100),e(".ui.sticky").sticky("refresh")},50)},t.RemoraForm.prototype.initMultiStep=function(){const e=this,o=this.$;o("#btnFormSubmit_"+e.formName).remove();!function(e,o,n){function i(){let t=e("#"+n.formName+" > .wizard > .content > .body.current").outerHeight();t=t>n.MIN_STEP_HEIGHT?t:n.MIN_STEP_HEIGHT,e("#"+n.formName+" > .wizard > .content").height(t)}e(window).on("resize",function(){i()});const a=e("#"+n.formName);a.children("div").steps({labels:{finish:n.submitText},headerTag:"h3",bodyTag:"section",transitionEffect:"fade",onStepChanging:function(o,a,r){if(r<a)return!0;const s="#"+n.formName+n.FORM_DIV_SUFFIX+a.toString(),c=e(s).form("validate form");if(i(),c){let o="Form";try{if(t.formOffCanvas&&t.formOffCanvas.length>0){const e=t.formOffCanvas.find(".rmr_sidebar-header_heading").text().trim();e&&(o=e)}}catch(l){}if("Form"===o)try{const t=e("#"+n.formName).closest("form").find("h2").first().text().trim();t&&(o=t)}catch(l){}t.ascEvent("asc_form_engagement",{comm_status:"engage",element_text:"Step "+(a+1)+" Complete",form_name:o,department:"sales",form_type:"consumer_contact"})}else n.scrollToFormTop();return c},onStepChanged:function(e,t,o){i()},onInit:function(t,o){const a="#"+n.formName;for(let i=0;i<n.stepCount;i++){const t=a+n.FORM_DIV_SUFFIX+i.toString();e(t).form(n.validationObj)}e(a+" .ui.normal.dropdown").dropdown({}),e(a+" .icon.link").popup({}),e(a+" .ui.checkbox").checkbox(),n.initCheckBox(e),e(a+" .ui.calendar").
1calendar({type:"date"}),e(a+" .ui.calendar.datetime").calendar(),i()},onFinished:function(o,r){if(i(),e("#"+n.formName+n.FORM_DIV_SUFFIX+r.toString()).form("validate form")){a.find(".actions a[href$='#finish']").parent().addClass("disabled"),t.jQuery("#formModalSendBtn").addClass("disabled"),n.submitForm(n.formName,e,n.messageContainerId,n.formId,n.submitURL,!0)}else n.scrollToFormTop(),i()}})}(o,e.formName,e)},t.RemoraForm.prototype.initBasic=function(){const e=t.jQuery("#"+this.formName);e.form(this.validationObj),e.find(".ui.normal.dropdown").dropdown({}),e.find(".icon.link").popup({}),e.find(".ui.calendar").calendar({type:"date"}),e.find(".ui.calendar.datetime").calendar(),this.initCheckBox(t.jQuery)},t.RemoraForm.prototype.init=function(){const e=this,o=this.$;t.ensureRecaptcha();const n=this.formName,i=this.messageContainerId,a=document.getElementById(this.formName),r=this.submitForm,s=this.formId,c=this.submitURL;this.uniqueId,a.onsubmit=function(t){t.preventDefault();return o("#"+n).form("validate form")?(o("#formModalSendBtn, #btnFormSubmit_"+n).addClass("disabled"),r(n,o,i,s,c),!0):(e.scrollToFormTop(),!1)},this.initValidationRules(),setTimeout(function(){this.multiStep?this.initMultiStep():this.initBasic()}.bind(this),0)},t.RemoraForm.prototype.initValidationRules=function(){const e=this.$;e.fn.form.settings.rules.checkboxGroupRequired=function(t,o){const n=o.split(","),i=n[0],a=n[1],r=e("#"+a).find("#"+i+"_list").find(".checkbox");let s=!1;return r.each(function(){e(this).checkbox("is checked")&&(s=!0)}),s},e.fn.form.settings.rules.creditCardInfo=function(t,o){const n=e("#"+o+"_ccid"),i=e("#"+o+"_expire"),a=n.val()||!1,r=i.val()||!1;return a&&r},e.fn.form.settings.rules.phoneNumber=function(e){if(!e||"string"!=typeof e)return!1;e.trim().charAt(0);const t=e.replace(/\D/g,"").length;return t>=7&&t<=17}},t.RemoraForm.prototype.submitForm=function(e,o,n,i,a,r,s){if(window.grecaptcha&&"function"==typeof grecaptcha.ready&&"function"==typeof grecaptcha.execute&&t.gcSiteKey&&void 0===s)return grecaptcha.ready(function(){grecaptcha.execute(t.gcSiteKey,{action:"submit"}).then(function(s){t.RemoraForm.prototype.submitForm(e,o,n,i,a,r,s)})}),!1;s=s||"",o("#"+e).parent().addClass("cursor-wait"),o("#"+e).append('<input type="hidden" name="pageUrl" value="'+window.location.href+'" />');let c={};const l=t.trackingPermitted();let d="";if(l){const e=document.cookie.match(/_ga=GA1\.\d+\.(\d+\.\d+)/);if(e)d=e[1];else if("undefined"!=typeof ga&&void 0!==ga.getAll){const e=ga.getAll();void 0!==e[0]&&(d=e[0].get("clientId"))}}o("#"+e).find("input[type='file']").length>0?(c={url:a,data:new FormData(document.getElementById(e)),cache:!1,contentType:!1,processData:!1},l&&c.data.append("ga_client_id",d),c.data.append("gc_token",s)):(c={url:a,data:o("#"+e).serialize()},l&&(c.data+="&ga_client_id="+d),c.data+="&gc_token="+s),o.post(c).error(function(e){if(422===e.status){if(void 0===e.responseJSON&&(e.responseJSON=e),e.responseJSON&&e.responseJSON.errors){const t=e.responseJSON.errors;let i="<div class='ui error message'><ui class='list'>";for(const e in t)i+="<li>"+t[e]+"</li>";i+="</ui></div>",o("#"+n).html(i)}}else m();u()}).always(function(i){void 0===i.responseJSON&&(i.responseJSON=i),o("#"+e).parent().removeClass("cursor-wait"),i.responseJSON&&(i.responseJSON.successMessage||i.responseJSON.successRedirect)?(i.responseJSON.formTitle&&(t.gaEvent("Forms","Submit",i.responseJSON.formTitle),t.ascEvent("asc_form_submission",{element_text:"",form_name:i.responseJSON.formTitle,submission_id:i.responseJSON.form_submission_id,form_type:i.responseJSON.form_type,department:i.responseJSON.form_department}),"sales"==i.responseJSON.form_department?t.ascEvent("asc_form_submission_sales",{element_text:"",form_name:i.responseJSON.formTitle,submission_id:i.responseJSON.form_submission_id,form_type:i.responseJSON.form_type,department:i.responseJSON.form_department}):t.ascEvent("asc_form_submission_other",{element_text:"",form_name:i.responseJSON.formTitle,submission_id:i.responseJSON.form_submission_id,form_type:i.responseJSON.form_type,department:i.responseJSON.form_department}),i.responseJSON.purchase_intent&&t.ascEvent("asc_retail_process",{flow_name:i.responseJSON.form_type,element_title:i.responseJSON.formTitle,flow_outcome:"added",flow_stage:i.responseJSON.form_submission_id})),i.responseJSON.successMessage?(o("#"+n).html("<div class='ui ignored confirm message'>"+i.responseJSON.successMessage+"</div>"),o("#formModalSendBtn, #"+e).hide(),i.responseJSON.trackingPixelSubmit&&o("#"+n).append(i.responseJSON.trackingPixelSubmit)):i.responseJSON.successRedirect&&(window.location.href=i.responseJSON.successRedirect)):422!==i.status&&(m(),u())});const m=function(){o("#"+n).html("<div class='ui error message'><ui class='list'><li>There was a problem sending your request. Please try again later.</li></ui></div>")},u=function(){r?(o("#"+e).find('a[href="#finish"]').parent().removeClass("disabled"),o("#formModalSendBtn").removeClass("disabled")):o("#formModalSendBtn, #btnFormSubmit_"+e).removeClass("disabled")}},t.RemoraForm.prototype.initCheckBox=function(e){const t=this.formName;e("#"+t+" .ui.master.checkbox").checkbox({onChecked:function(){e(this).closest(".checkbox").siblings(".list").find(".checkbox").checkbox("check")},onUnchecked:function(){e(this).closest(".checkbox").siblings(".list").find(".checkbox").checkbox("uncheck")}}),e("#"+t+" .list .child.checkbox").checkbox({fireOnInit:!0,onChange:function(){const t=e(this).closest(".list"),o=t.closest(".item").children(".checkbox"),n=t.find(".checkbox");let i=!0,a=!0;n.each(function(){e(this).checkbox("is checked")?a=!1:i=!1}
1),i?o.checkbox("set checked"):a?o.checkbox("set unchecked"):o.checkbox("set indeterminate")}})},t.createObjFromURI=function(e){const t=e.replace("#","").split("&"),o=Object();for(let n=0;n<t.length;n++){const e=t[n].split("=");e[0]&&-1!==e[0].search("\\[\\]")?(e[0]=e[0].replace(/\[\]$/,""),void 0===o[e[0]]?e[1]&&(o[e[0]]=[e[1]]):e[1]&&o[e[0]].push(e[1])):e&&e[0]&&e[1]&&(o[e[0]]=e[1])}return o},t.googleMaps=[],t.googleApiKey=null,t.initializeMap=function(e){t.googleApiKey||(t.googleApiKey=e.googleApiKey),t.googleMaps.push(e)},t.googleMapsLoaded=function(){t.googleMaps.forEach(function(e){t.createMapFromObject(e)})},t.createMapFromObject=function(e){const t={zoom:Number(e.zoom_level),center:new google.maps.LatLng(e.centerLat,e.centerLng),mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControlOptions:{mapTypeIds:["aerial",google.maps.MapTypeId.ROADMAP],style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},zoomControl:!0};let o=null;({markers:[],initialize:function(){const n=this;o=new google.maps.Map(document.getElementById("map-canvas-"+e.mapId),t),e.locations.forEach(function(e){n.create_marker(e.lat,e.lng,"<b>"+e.name+"</b><br />"+e.address+"<br />"+e.address2,e.img_path)})},infoWindow:function(e,t){const n=new google.maps.InfoWindow({content:t});google.maps.event.addListener(e,"mouseup",function(){n.open(o,e)})},create_marker:function(e,t,n,i){const a={position:{lat:e,lng:t},map:o};i&&""!==i.trim()&&(a.icon={url:i,scaledSize:new google.maps.Size(25,25)});const r=new google.maps.Marker(a);this.infoWindow(r,n)}}).initialize()};let i=!1;return t.loadGoogleMaps=function(){if(!i&&t.googleMaps.length>0&&("undefined"==typeof google||void 0===google.maps)){const e=document.createElement("script");e.setAttribute("src","https://maps.googleapis.com/maps/api/js?key="+t.googleApiKey+"&callback=_rem.googleMapsLoaded&loading=async"),e.setAttribute("type","text/javascript"),e.setAttribute("async","async"),document.getElementsByTagName("script")[0].parentNode.appendChild(e),i=!0}},t.handleEnhancedPaymentsButtonClick=function(e,o){const n=e.getAttribute("data-vehicle"),i=n?JSON.parse(n):window._rem.currentVehicle||{},a=e.textContent.replace(/\s+/g," ").trim(),r=o?"Value Your Trade":"Calculate Your Payment",s=o?"trade":i&&i.vehicle_id?"payment":"buying-power";t.gaEvent("button","click",`cta ${(a||r).toLowerCase()}`),t.ascEvent("asc_cta_interaction",{element_type:"button",element_subtype:"cta_button",element_text:a||r,event_action:"click",form_name:"trade"===s?"Value Your Trade":"payment"===s?"Calculate Your Payment":"Calculate Your Buying Power",form_type:"quote",department:o?"trade":"sales",event_owner:"remora",product_name:"Remora"}),t.loadPaymentCalculator?t.loadPaymentCalculator(s,i):console.warn("Enhanced Payment Calculator widget not initialized")},t}(window._rem||{},window,document),function(e){if(!e||"function"!=typeof e.fn.barrating)return;const t=e.fn.barrating;e.fn.barrating=function(o){const n=t.apply(this,arguments);return"string"==typeof o||this.each(function(){const t=e(this),o=t.closest(".br-wrapper").find(".br-widget");if(o.length)if(o.hasClass("br-readonly")){const n=o.find("a"),i=t.data("barrating")||{},a=parseInt(i.ratingValue,10)||0;n.each(function(){const t=e(this);t.replaceWith(e("<span></span>").attr("class",t.attr("class")||""))}),o.attr({role:"img","aria-label":`Rated ${a} out of ${n.length} stars`})}else o.find("a").each(function(){const t=e(this).attr("data-rating-value");e(this).attr("aria-label","1"===t?"1 star":`${t} stars`)})}),n}}(_rem.jQuery),_rem.gallery={computeScrollEvents:function(e,t,o,n,i){const a=[],r={scrollFired:!!e.scrollFired,fiftyPercentFired:!!e.fiftyPercentFired,hundredPercentFired:!!e.hundredPercentFired},s=o-n,c=s<=0?0:t/s*100;function l(e){return{name:"asc_media_interaction",params:{page_type:"item",event_action:"scroll",event_action_result:e,media_type:"gallery",link_url:i,product_name:"Remora"}}}return!r.scrollFired&&t>0&&(a.push(l("started")),r.scrollFired=!0),!r.fiftyPercentFired&&c>=50&&(a.push(l("progress")),r.fiftyPercentFired=!0),!r.hundredPercentFired&&c>=100&&(a.push(l("complete")),r.hundredPercentFired=!0),{events:a,newState:r}}},_rem.finalInit=function(e){if(e(".ui.accordion").accordion(),e(".ui.radio.checkbox").checkbox(),e(".ui.modal.review-full").modal("attach events",".review-trigger","show"),e("#user-search").modal({closable:!1}).modal("attach events",".search.trigger","show"),e(".ui.menu a.item").on("click",function(){e(this).addClass("active").siblings().removeClass("active")}),e("body").on("click",".nav-menu .menu-link",function(){const t=e(this).text().trim(),o=e(this).closest(".menu-item").hasClass("has-dropdown")?"mega_menu":"nav_button";_rem.ascEvent("asc_menu_interaction",{element_text:t,element_subtype:o,element_type:"menu",event_action:"click",product_name:"Remora"})}),e("body").on("click",".ui.tabular.menu .item",function(){const t=e(this).text().trim();_rem.ascEvent("asc_menu_interaction",{element_text:t,element_subtype:"nav_tab",element_type:"menu",event_action:"click",product_name:"Remora"})}),e("body").on("input focus",'.ui.website-search input, .search-widget input[type="text"], .search-form input[type="text"]',function(t){const o=e(this),n=o.attr("placeholder")||o.attr("aria-label")||"",i=o.val()||"",a="focus"===t.type?"field_input":"keystroke";
1_rem.ascEvent("asc_element_configuration",{element_text:n,element_value:i,element_type:"search_tool",element_subtype:"input_field",element_title:n,event_action:a,event_action_result:"start",element_state:"active",element_position:"inline",product_name:"Remora"})}),e("body").on("change click",'input[type="checkbox"][data-filter-key], select.search-condition-select, select.search-make-select, select.search-model-select, select.min-price-select, select.max-price-select, .ui.selection.dropdown',function(t){const o=e(this);let n="dropdown",i="click",a="",r="",s="";o.is('input[type="checkbox"]')?(n="toggle",a=o.is(":checked")?o.val():"",r=o.closest("label").find("span").text().trim()||o.val(),s=o.closest(".filter_container").find(".title .text").text().trim()||"Filter",i=o.is(":checked")?"check":"uncheck"):o.is("select")?(n="dropdown",a=o.val()||"",r=o.find("option:selected").text().trim()||o.attr("placeholder")||"",s=o.closest(".search-field").find("label").text().trim()||o.attr("name")||"Filter"):o.hasClass("ui.selection.dropdown")&&(n="dropdown",a=o.find('input[type="hidden"]').val()||"",r=o.find(".text").text().trim()||"",s=o.closest(".header.item").find(".left-label").text().trim()||"Sort"),_rem.ascEvent("asc_element_configuration",{element_text:r,element_value:a,element_type:"search_tool",element_subtype:n,element_title:s,event_action:i,event_action_result:"start",element_state:"active",element_position:"inline",product_name:"Remora"})}),e("body").on("click",".footer-nav a, .footer-nav.sub",function(t){const o=e(this).text().trim();_rem.ascEvent("asc_menu_interaction",{element_text:o,element_subtype:"footer_link",element_type:"menu",event_action:"click",product_name:"Remora"})}),e("img.img-ll").lazyload({threshold:200,placeholder:"//r.remorainc.com/3/images/shared/ll-loader.svg"}),e("body").on("click",".ga-t[data-label]",function(){const t=e(this).data("category")?e(this).data("category"):"button",o=e(this).data("action")?e(this).data("action"):"click",n=e(this).data("label"),i=e(this).text().trim()||"",a=e(this).attr("href")||"";_rem.gaEvent(t,o,n),_rem.ascEvent("asc_cta_interaction",{element_text:i,link_url:a})}),e("body").on("click",'a[href^="tel:"]',function(){const t=e(this).attr("href").replace("tel:",""),o=e(this).data("department")||"unknown";_rem.ascEvent("asc_click_to_call",{comm_phone_number:t,department:o})}),e("body").on("click",".ga-td[data-label]",function(){if(!_rem.trackingPermitted())return;const t=e(this).data("category")?e(this).data("category"):"button",o=e(this).data("action")?e(this).data("action"):"click",n=e(this).data("label"),i=e(this).text().trim()||"",a=e(this).attr("href")||"";_rem.setCookie("ga-td",encodeURIComponent(t)+"!"+encodeURIComponent(o)+"!"+encodeURIComponent(n)+"!"+encodeURIComponent(window.location.pathname)+"!"+encodeURIComponent(window.location.href)+"!"+encodeURIComponent(document.title)+"!"+encodeURIComponent(i)+"!"+encodeURIComponent(a),1)}),_rem.trackingPermitted()&&_rem.getCookie("ga-td")){const e=_rem.getCookie("ga-td").split("!"),t=decodeURIComponent(e[0]),o=decodeURIComponent(e[1]),n=decodeURIComponent(e[2]);decodeURIComponent(e[3]);const i=decodeURIComponent(e[4]),a=decodeURIComponent(e[5]),r=decodeURIComponent(e[6]),s=decodeURIComponent(e[7]);_rem.gaEvent(t,o,n,i,a),_rem.ascEvent("asc_cta_interaction",{element_text:r,link_url:s}),_rem.removeCookie("ga-td")}e("select.dropdown, div.dropdown").dropdown({forceSelection:!1}),_rem.initTooltips(e),e(".blurring.dimmable.image").dimmer({on:"hover"}),e(".drop-trigger").popup({inline:!0,hoverable:!0,position:"bottom right"}),e(".drop-trigger-left").popup({inline:!0,hoverable:!0,position:"bottom left"}),e(".side-drop-trigger").popup({inline:!0,hoverable:!0,position:"left center"}),e(".pulse-ani").transition({animation:"pulse"}),e(".pulse-ani").hover(function(){e(this).transition("pulse")}),e("#header-prop .trigger").on("click",function(){e("#header-prop .content").slideToggle("fast"),e("i",this).toggleClass("up down")}),e("a.blank").click(function(e){e.preventDefault()}),e(".tabs .item").tab({context:"parent"}),_rem.initSrpTabbedPopups(e),e.fn.search.settings.templates.category=function(t,o){let n="";return e.fn.search.settings.templates.escape,void 0!==t[o.categoryResults]&&(e.each(t[o.categoryResults],function(t,i){void 0!==i[o.results]&&i.results.length>0&&(n+='<div class="category '+i[o.categoryName].replace(" ","-").toLowerCase()+'">',void 0!==i[o.categoryName]&&(n+='<div class="name">'+i[o.categoryName]+"</div>"),e.each(i.results,function(e,t){t[o.url]?n+='<a class="result" href="'+t[o.url]+'">':n+='<a class="result">',void 0!==t[o.image]&&(n+='<div class="image"> <img src="'+t[o.image]+'"></div>'),n+='<div class="content">',void 0!==t[o.price]&&(n+='<div class="price">'+t[o.price]+"</div>"),void 0!==t[o.title]&&(n+='<div class="title">'+t[o.title]+"</div>"),void 0!==t[o.description]&&(n+='<div class="description">'+t[o.description]+"</div>"),n+="</div>",n+="</a>"}
1),n+="</div>")}),t[o.action]&&(n+='<a href="'+t[o.action][o.actionURL]+'" class="action">'+t[o.action][o.actionText]+"</a>"),n)},e(".ui.website.search").search({apiSettings:{url:"/search.json?q={query}&type={type}",beforeSend:function(t){const o=e(this).parent().find("input[name=type]:checked");return t.urlData.type=o.length?o.val():"",t}},type:"category",cache:!1,selectFirstResult:!0,searchDelay:250}),e(".counter").each(function(){const t=e(this),o=t.attr("data-count");e({countNum:t.text()}).animate({countNum:o},{duration:4e3,easing:"linear",step:function(){t.text(Math.floor(this.countNum))},complete:function(){t.text(this.countNum)}})}),"function"==typeof e().succinct&&e(".truncate_75").succinct({size:75}),"function"==typeof e().calendar&&e(".ui.calendar").calendar(),"function"==typeof e().tab&&e(".tabular.menu .item").tab(),e('a[href*="#"]').not('[href="#"]').not('[href="#0"]').click(function(t){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){let o=e(this.hash);o=o.length?o:e("[name="+this.hash.slice(1)+"]"),o.length?(t.preventDefault(),e("html, body").animate({scrollTop:o.offset().top},1e3)):t.preventDefault()}});let t=!1;e("body").on("click",".image-container, #vehicleImagesBox",function(e){t||(_rem.ascEvent("asc_media_interaction",{page_type:"item",event_action:"click",event_action_result:"open",media_type:"gallery",link_url:window.location.href,product_name:"Remora"}),t=!0)});let o=null;const n={scrollFired:!1,fiftyPercentFired:!1,hundredPercentFired:!1};function i(t){if(n.scrollFired=!1,n.fiftyPercentFired=!1,n.hundredPercentFired=!1,o){e(".ui.dimmer.modals.page, .ui.dimmer.modals, .ui.modals.dimmer").off("scroll",o),e(window).off("scroll",o)}setTimeout(function(){o=function(t){let o,i,a;const r=e(".ui.dimmer.modals.page, .ui.dimmer.modals, .ui.modals.dimmer").filter(":visible");r.length&&r[0].scrollHeight>r[0].clientHeight?(o=r.scrollTop(),i=r[0].scrollHeight,a=r[0].clientHeight):(o=e(window).scrollTop(),i=e(document).height(),a=e(window).height());const s=_rem.gallery.computeScrollEvents(n,o,i,a,window.location.href);for(let e=0;e<s.events.length;e++)_rem.ascEvent(s.events[e].name,s.events[e].params);n.scrollFired=s.newState.scrollFired,n.fiftyPercentFired=s.newState.fiftyPercentFired,n.hundredPercentFired=s.newState.hundredPercentFired};const t=e(".ui.dimmer.modals.page, .ui.dimmer.modals, .ui.modals.dimmer").filter(":visible");t.length&&t.on("scroll",o),e(window).on("scroll",o)},100)}e("body").on("modal:show","#galleryModal",function(t){i(e(this))});const a=setInterval(function(){const t=e("#galleryModal");t.length&&t.hasClass("visible")&&t.hasClass("active")&&!o&&i()},500);e(window).on("beforeunload",function(){clearInterval(a)}),e("body").on("modal:hide","#galleryModal",function(n){if(o){e(".ui.dimmer.modals.page, .ui.dimmer.modals, .ui.modals.dimmer").off("scroll",o),e(window).off("scroll",o),o=null}t=!1}),e("body").on("click",".inv-carousel .img-cont-wrapper a",function(t){const o=e(this),n=o.find("img"),i=o.attr("href")||"",a=n.attr("alt")||"";_rem.ascEvent("asc_media_interaction",{event_action:"click",event_action_result:"redirect",media_type:"image",creative_name:a,link_url:i,product_name:"Remora"})}),e("body").on("click",".video-btn",function(t){const o=e(this),n=o.attr("href")||"",i=o.find("img").attr("alt")||"Play Video";_rem.ascEvent("asc_media_interaction",{event_action:"click",event_action_result:"play",media_type:"video",creative_name:i,link_url:n,product_name:"Remora"})}),e("body").on("click",".carousel-controls button, .home-prev, .home-next",function(t){const o=e(this),n=o.hasClass("next")||o.find(".angle.right").length>0,i=o.hasClass("prev")||o.find(".angle.left").length>0,a=n?"next":i?"prev":"click";_rem.ascEvent("asc_media_interaction",{event_action:"click",event_action_result:a,media_type:"slider",creative_name:"Carousel Navigation",product_name:"Remora"})}),e("body").on("click",".articles .card .image a",function(t){const o=e(this),n=o.find("img"),i=o.attr("href")||"",a=n.attr("alt")||"",r=o.closest(".card").find(".title").text().trim()||"";_rem.ascEvent("asc_media_interaction",{event_action:"click",event_action_result:"redirect",media_type:"image",creative_name:r||a,link_url:i,product_name:"Remora"})}),e("body").on("click",".keen-slider__slide img",function(t){const o=e(this).attr("alt")||"";_rem.ascEvent("asc_media_interaction",{event_action:"click",event_action_result:"view",media_type:"image",creative_name:o,product_name:"Remora"})}),e("body").on("modal:show",".ui.pop-up.modal",function(t){const o=e(this),n=o.attr("data-popup_name")||o.find(".header").text().trim()||"Special Offer";_rem.ascEvent("asc_special_offer",{promotion_name:n,department:"sales",element_position:"floating",flow_outcome:"viewed",product_name:"Remora"})});const r=document.getElementById("cookie-consent-banner");r&&"none"!==r.style.display&&_rem.ascEvent("asc_special_offer",{promotion_name:"Cookie Consent",department:"admin",element_position:"bottom_center",flow_outcome:"viewed",product_name:"Remora"}),e("body").on("click","#info_cls",function(t){e("#info_bar_open").is(":visible")&&_rem.ascEvent("asc_special_offer",{promotion_name:"Information Toolbar",department:"admin",element_position:"bottom_center",flow_outcome:"viewed",product_name:"Remora"})}),e("body").on("click",".launch-dept-oc, .launch-nav-oc, .launch-acct-oc, .launch-search-oc, .launch-form-oc, .launch-vehicle-quickview-oc",function(t){const o=e(this).attr("class").match(/launch-(\w+)-oc/),n=o?o[1].replace("_"," ").toUpperCase()+" Sidebar":"Sidebar";_rem.ascEvent("asc_special_offer",{promotion_name:n,department:"admin",element_position:"center_right",flow_outcome:"viewed",product_name:"Remora"})}),e("body").on("click",".popup-trigger.popup-side-button",function(t){const o=e(this),n=o.text().trim()||"Special Offer Button",i=o.hasClass("popup-side-button-left")?"center_left":o.hasClass("popup-side-button-right")?"center_right":"floating";_rem.ascEvent("asc_special_offer",{promotion_name:n,department:"sales",element_position:i,flow_outcome:"viewed",product_name:"Remora"})}),document.addEventListener("click",function(e){const t=e.target.closest(".button--payment-calculator, .button--value-your-trade");if(t){e.preventDefault();const o=t.classList.contains("button--value-your-trade");_rem.handleEnhancedPaymentsButtonClick(t,o)}}),document.addEventListener("mouseover",function(e){e.target.closest(".button--payment-calculator, .button--value-your-trade")&&_rem.preloadPaymentCalculator()},{passive:!0})},_rem.initSrpTabbedPopups=function(e){e(".list-item-incentive-popup-trigger").each(function(){var t=e(this);if(!t.data("popupBound")){t.data("popupBound",!0);var o=t.data("vehicle-id"),n=e("#list-item-incentive-popup-"+o),i=!1,a=null,r=function(){clearTimeout(a),a=setTimeout(function(){i||t.popup("hide")},120)};t.popup({on:"manual",html:n.html(),position:"top center",lastResort:"top center",hoverable:!0,onShow:function(){var o=e(this);o.find(".tooltip").removeAttr("data-position").popup({inline:!0,position:"bottom left",lastResort:"bottom left",maxSearchDepth:0,boundary:o,hoverable:!0,className:{popup:"ui popup pricing-disclaimer-tooltip"}}),o.find(".list-item-incentive-popup-close").off("click.rePopupClose").on("click.rePopupClose",function(e){e.stopPropagation(),i=!1,t.popup("hide")}),o.off("mouseenter.rePopup mouseleave.rePopup").on("mouseenter.rePopup",function(){clearTimeout(a)}).on("mouseleave.rePopup",r)},onHide:function(){i=!1}}),t.on("mouseenter.rePopup",function(){clearTimeout(a),t.popup("show")}),t.on("mouseleave.rePopup",r),t.on("click.rePopup",function(e){e.preventDefault(),e.stopPropagation(),i=!0,clearTimeout(a),t.popup("show")})}}),e(document).data("rePopupOutsideBound")||(e(document).data("rePopupOutsideBound",!0),e(document).on("click.rePopupOutside",function(t){e(t.target).closest(".list-item-incentive-popup-trigger, .ui.popup").length||e(".list-item-incentive-popup-trigger").each(function(){e(this).popup("hide")})}))}
1,_rem.initPricingDetailPopups=function(e){e(".pricing-detail-trigger").each(function(){var t=e(this);if(!t.data("pricingDetailBound")){t.data("pricingDetailBound",!0);var o=t.data("vehicle-id"),n=e("#pricing-detail-modal-"+o);n.length&&(n.modal({closable:!0,blurring:!1,observeChanges:!1,onVisible:function(){n.find(".tooltip").removeAttr("data-position").popup({inline:!0,position:"bottom left",lastResort:"bottom left",maxSearchDepth:0,boundary:n,hoverable:!0,className:{popup:"ui popup pricing-disclaimer-tooltip"}})}}),t.on("click",function(e){e.preventDefault(),n.modal("show")}))}})},_rem.initSitewideTooltips=function(e,t){e(".tooltip",t).popup({lastResort:"bottom left"})},_rem.initPricingDisclaimerTooltips=function(e,t){var o=e(".srp-detailed-pricing-block .tooltip, .srp-tabs .ui.tab .tooltip, .veh-price-block .tooltip",t);o.length&&o.popup({lastResort:"bottom left",hoverable:!0,className:{popup:"ui popup pricing-disclaimer-tooltip"}})},_rem.initTooltips=function(e,t){_rem.initSitewideTooltips(e,t),_rem.initPricingDisclaimerTooltips(e,t)},_rem.fileEnd();
2//# sourceMappingURL=remora.min.js.map

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.