PageSourceSearch

https://www.auffenbergvolkswagen.com/resources/personalizedOfferCo…&h=0a92aee563771fce1223

js auffenbergvolkswagen.com collected 2026-09-26 19:00:28 UTC 3,785 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksite_client_side=self.webpackChunksite_client_side||[]).push([[41],{349:(e,t,i)=>{i.r(t),i.d(t,{default:()=>n});class n{constructor(e){this._buttonElement=e,this.initialize()}initialize(){this._buttonElement.addEventListener("click",(e=>this._whenButtonClicked(e))),this._vin=this._buttonElement.getAttribute("vin"),this._src=this._buttonElement.getAttribute("source"),this._modal=null,this._thankYou=null,this._offerNumber=Math.random().toString(36).substring(2,8).toUpperCase(),this._leadData={VehicleYear:this._buttonElement.getAttribute("year"),VehicleMake:this._buttonElement.getAttribute("make"),VehicleModel:this._buttonElement.getAttribute("model"),VehicleTrim:this._buttonElement.getAttribute("trim"),VehiclePrice:this._buttonElement.getAttribute("offer-price"),StockNum:this._buttonElement.getAttribute("stock"),Vin:this._buttonElement.getAttribute("vin"),Comments:`Offer Number: ${this._offerNumber}; Offer Price: ${this._buttonElement.getAttribute("offer-price")};`,VehicleModelCode:this._buttonElement.getAttribute("vehicle-model-code")},this._leadId=null,void 0!==window.DGDataHub&&window.DealeronLead.thirdPartyJsonAdapter.setData({dg_dgid:window.DGDataHub.getDgid()})}_whenButtonClicked(e){if(null===this._modal){if(!document.querySelector('link[rel="stylesheet"][href="/resources/components/personalizedOffer/css/personalizedOffer.css"]')){const e=window.AssetsPath||"https://cdn.dlron.us/",t=document.createElement("LINK");t.rel="stylesheet",t.href=`${e}resources/components/personalizedOffer/css/personalizedOffer.css`,document.head.appendChild(t)}this._modal=document.createElement("div"),this._modal.className="modal fade",this._modal.innerHTML='<div class="modal-dialog">\n          <div class="modal-content">\n            <div class="modal-body text-center margin-top-2x margin-bottom-2x">\n              <i class="fa fa-refresh fa-spin fa-3x fa-fwn"></i>\n            </div>\n          </div>\n        </div>',document.body.appendChild(this._modal),$(this._modal).modal("show").find(".modal-content").load(`/getpersonalizedoffer.aspx?vin=${this._vin}&src=${this._src}`,(()=>this._whenModalLoaded()))}else $(this._modal).modal("show")}_whenModalLoaded(){const e=`personalizedOffer-${this._vin}`,t=$(this._modal).find("form"),i=`#po-contact-form-${this._vin}`;window.DealeronLead.addSubmissionMethod(e,{leadSource:DoUtility.isMobile?273:272,leadType:1,additionalData:e=>(this._leadData.Comments+=" Comments: "+e.elements.Comments.value,document.getElementById("optOut")&&(this._leadData.Comments+="; Do Not Sell Personal Info: "+document.getElementById("optOut").checked),this._leadData),successCallback:e=>{const t=JSON.parse(e);this._leadId=t.leadId,this._whenLeadSubmitted()},errorCallback:(e,t,n)=>{alert("There was a problem creating your offer. Please try again."),$(`${i} [type=submit]`).prop("disabled",!1)}}),window.DealeronLead.initialize(t,e),$(`${i} input`).on("focusout",(()=>window.DealeronLead.begin()))}_whenLeadSubmitted(){const e=$(this._modal);e.find(".po-number").text(this._offerNumber),e.find("#po-close-btn").text("close"),e.find("#po-page-1").removeClass("po-page-active"),e.find("#po-page-2").addClass("po-page-active"),e.find("#po-next-btn").hide(),e.find("#po-print-btn").attr("href",`/getpersonalizedoffer.aspx?vin=${this._vin}&src=${this._src}&offer=${this._offerNumber}`).show(),this._createHiddenThankYou(),window.DealeronLead.thirdPartyJsonAdapter.reset()}_createHiddenThankYou(){this._thankYou=document.createElement("iframe"),document.body.appendChild(this._thankYou),$(this._thankYou).attr("src",`/thankyou.aspx?&lid=${this._leadId}`).hide()}}}}]);
2//# sourceMappingURL=personalizedOfferControllerChunk.js.map?v=23.116.0+20260924.10.cf1de5f1f4d4b9684c3a72f57e64cdbc99f7122f&h=0a92aee563771fce1223

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.