1"use strict";(self.webpackChunksite_client_side=self.webpackChunksite_client_side||[]).push([[580],{8092:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});class s{constructor(t){this.element=t,this.initialize()}initialize(){this.adjustVisibility(),this.element.addEventListener("adjust-pricing-visibility",(t=>this.adjustVisibility())),document.addEventListener("trigger-adjust-pricing-visibility",(t=>{const e=new CustomEvent("adjust-pricing-visibility");this.element.dispatchEvent(e)}))}checkPrintButton(){const t=document.getElementById("PrintBtnDesktop");if(t){const e=t.getAttribute("href");if(null==e?void 0:e.includes("&po=false")){const i=e.replace("&po=false","&po=true");t.setAttribute("href",i)}}}adjustVisibility(){if(!this.element.closest("[data-pricestak-tab-pane], .vehicleDetailsColumn, #price-stack"))return;const t=this.element.closest("[data-pricestak-tab-pane], .vehicleDetailsColumn, #price-stack").querySelectorAll(".afterLeadSubmission"),e=this.element.closest("[data-pricestak-tab-pane], .vehicleDetailsColumn, #price-stack").querySelectorAll(".beforeLeadSubmission");"?v=7HWvMx0ytdM"===window.DealeronCookie.getItem(window.DlronGlobal_PriceUnlocked)||Object.prototype.hasOwnProperty.call(window,"toyotaDigitalGarageScript")&&(null===toyotaDigitalGarageScript||void 0===toyotaDigitalGarageScript?void 0:toyotaDigitalGarageScript.globalPriceUnlocked)?(this.checkPrintButton(),this.hideElements(e),this.showElements(t)):(this.hideElements(t),this.showElements(e))}hideElements(t){for(let e=0;e<t.length;e++){const i=t[e];i.style.setProperty("display","none","important"),i.classList.add("hidden")}}showElements(t){for(let e=0;e<t.length;e++){const i=t[e];i.style.display="",i.classList.remove("hidden")}}}}}]); 2//# sourceMappingURL=pricingStakControllerChunk.js.map?v=23.119.0+20261001.9.24a26a87f4c3be850232f857cc149210db453171&h=02dfe1bee7a0abbf817e
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.