(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"4fB0":function(n,e,t){"use strict";t.r(e),t.d(e,"BundledDtmMainPageModule",function(){return zt}),t.d(e,"BundledDtmPrivacyPolicyModule",function(){return Lt}),t.d(e,"BundledDtmAffiliatesModule",function(){return Dt}),t.d(e,"BundledDtmCaDisclaimerModule",function(){return Ut}),t.d(e,"BundledDtmTermsOfUseModule",function(){return Ht}),t.d(e,"BundledDtmDownpaymentComparisonModule",function(){return Wt}),t.d(e,"BundledDtmSiteMapModule",function(){return Rt}),t.d(e,"BundledDtmErrorPageModule",function(){return jt}),t.d(e,"BundledDtmError404PageModule",function(){return Nt}),t.d(e,"BundledDtmPpcModule",function(){return Xt}),t.d(e,"BundledDtmLeadlessModule",function(){return qt}),t.d(e,"BundledDtmLeadlessConfirmationModule",function(){return Et}),t.d(e,"BundledDtmReviewsModule",function(){return $t}),t.d(e,"BundledDtmCookiePolicyModule",function(){return Gt}),t.d(e,"BundledDtmFinanceCalculatorModule",function(){return Bt}),t.d(e,"BundeledDtmTradeInPageModule",function(){return Vt});var c=t("tyNb"),o=t("ofXK"),i=t("5Uro"),r=t("mrSG"),a=t("fXoL"),s=t("XNiG"),l=t("2Vo4"),d=t("mFRi"),g=t("1G5W"),h=t("SxV6"),p=t("4jNK"),m=t("ETCl"),u=t("bsGR"),b=t("CZ5O"),C=t("ZUIv"),_=t("DYyh"),f=t("cc45"),P=t("11vF"),O=t("trQB"),M=t("wzLO");const y=function(n,e){return{"standard-height":n,"iphone-x-height":e}},w=function(n,e){return{"ios-container":n,"hero-vsr-cta-container":e}},v=function(n){return{"cta-container":n}},Y=function(){return{category:"Home",label:"GA1CTA"}},k=function(n,e,t){return{"ios-image":n,"soft-pull-android-hero-image":e,"soft-pull-ios-hero-image":t}};let x=(()=>{class n{constructor(n,e,t,c){this._linkHelper=n,this._deviceInteractionService=e,this._cdRef=t,this._appConfigService=c,this.gaLink=this._linkHelper.getApproved1GenericPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.isIOS=!1,this.isIPhoneX=!1,this._componentUnsubscribe=new s.a,this.hasVSR_CTA=!1}ngOnInit(){this.isIOS=this._appConfigService.isIosApp}ngAfterViewChecked(){this.isIPhoneX=this._deviceInteractionService.isIPhoneX,this._cdRef.detectChanges(),this._deviceInteractionService.hideSplashScreen()}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a),a.Wb(P.a),a.Wb(a.i),a.Wb(_.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-home-hero-mobile-app"]],decls:26,vars:19,consts:[[1,"hero-wrapper","inApp",3,"ngClass"],[1,"hero-container",3,"ngClass"],[1,"hero-message-text"],[1,"cta-control",3,"ngClass"],["qaid","home-ga1-cta","buttonClass","rounded-button-green-large","ariaLabel","Apply for Financing",1,"down-payment-button",3,"buttonAnalytic","buttonLink"],[1,"text-before"],["includeSVG","dt-glyph-caret",1,"icon-after"],["alt","Home Page Image","src","/assets/img/experiments/soft-pull/no-credit-drawn-on-phone.png",1,"hero-image",3,"ngClass"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n Get your personalized "),a.Xb(6,"br"),a.Yc(7," down payment and monthly "),a.Xb(8,"br"),a.Yc(9," payment before you shop.\n "),a.bc(),a.Yc(10,"\n "),a.cc(11,"div",3),a.Yc(12,"\n "),a.cc(13,"dtm-button",4),a.Yc(14,"\n "),a.cc(15,"span",5),a.Yc(16,"Get Your Personalized Terms"),a.bc(),a.Yc(17,"\n "),a.Xb(18,"span",6),a.Yc(19,"\n "),a.bc(),a.Yc(20,"\n "),a.bc(),a.Yc(21,"\n "),a.bc(),a.Yc(22,"\n "),a.Xb(23,"img",7),a.Yc(24,"\n"),a.bc(),a.Yc(25,"\n")),2&n&&(a.uc("ngClass",a.Cc(6,y,!e.isIPhoneX,e.isIPhoneX)),a.Ib(2),a.uc("ngClass",a.Cc(9,w,e.isIOS,e.hasVSR_CTA)),a.Ib(9),a.uc("ngClass",a.Bc(12,v,e.hasVSR_CTA)),a.Ib(2),a.uc("buttonAnalytic",a.Ac(14,Y))("buttonLink",e.gaLink),a.Ib(10),a.uc("ngClass",a.Dc(15,k,e.isIOS,!e.isIOS,e.isIOS)))},directives:[o.n,O.a,M.g],styles:["[_nghost-%COMP%]{display:block;overflow:hidden;background-color:#fff}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{background:linear-gradient(204deg,#e5fff4,#c4eafa 77%) no-repeat 50%;position:relative}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;width:90%;height:100%;overflow:visible;margin:0 auto;padding:1.7rem 0 2.66rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-message-text[_ngcontent-%COMP%]{font-size:6.4vw;font-weight:800;line-height:1.3;text-align:center;z-index:10}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .down-payment-button[_ngcontent-%COMP%]{z-index:10}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .cta-control[_ngcontent-%COMP%]{z-index:10}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .cta-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:MIN(4vw,.89rem);z-index:10}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .cta-container[_ngcontent-%COMP%] .inline-block-link{font-size:MIN(4vw,.89rem)}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-vsr-cta-container[_ngcontent-%COMP%]{padding:1.7rem 0 1.8rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-image[_ngcontent-%COMP%]{max-width:414px;position:absolute;width:85%;right:0;top:24%;left:53%;transform:translateX(-50%)}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .soft-pull-android-hero-image[_ngcontent-%COMP%]{width:94%;top:22.5%;left:51.5%}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .soft-pull-ios-hero-image[_ngcontent-%COMP%]{width:90%;top:26.5%;left:49%}@media screen and (max-width:413px){[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .ios-container[_ngcontent-%COMP%]{padding-bottom:1.67rem}}@media screen and (min-width:414px){[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%]{max-width:414px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-message-text[_ngcontent-%COMP%]{font-size:1.45rem}}[_nghost-%COMP%] .standard-height[_ngcontent-%COMP%]{height:calc(100vh - 6.3rem)}[_nghost-%COMP%] .iphone-x-height[_ngcontent-%COMP%]{height:calc(100vh - 7.8rem)}"]}),n})();var I=t("PHIO"),S=t("j+0H"),A=t("AcyG"),T=t("8+rz"),z=t("8ipa"),L=t("ja8f"),D=t("pIwZ"),U=t("FPsB"),H=t("M9Vd"),W=t("mVzd");const R=["downPaymentModal"],j=function(){return{category:"Home",label:"DPGA1CTA",optimizelyEvent:!0}},N=function(){return{category:"Home",label:"Save1000OnAverageDownPaymentModal",optimizelyEvent:!0}},X=function(){return{category:"Home",label:"Save1000OnAverageGA1CTA",optimizelyEvent:!0}},q=function(){return{category:"Home",label:"DownPaymentComparisonModalClose"}};let E=(()=>{class n{constructor(n,e){this._linkHelper=n,this.appConfig=e,this.vsrLink=this._linkHelper.vehicleSearchPage(),this.gaLink=this._linkHelper.getApproved1GenericPage(),this.vehicleCount$=new l.a(null),this.dealershipCount$=new l.a(null),this.fmpEvent=new a.p,this.downPmntCompButtonId=I.a.generateShortUuid(),this.heroContent="Get your personalized<br/>down payment and monthly<br/>payment with <span class='text-underline'>no credit hit!</span>",this.headerText="Get your personalized down payment and monthly payment before you shop.",this.headerSubText="",this.ctaLink=this._linkHelper.getApproved1GenericPage(),this.LinkButtonTypes=S.c,this.heroImage="/assets/img/personalized-graphic-hero.webp"}ngAfterViewInit(){this.fmpEvent.emit()}openDownPaymentModal(){this._downPaymentModal.openModal()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a),a.Wb(_.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-home-hero-desktop"]],viewQuery:function(n,e){if(1&n&&a.fd(R,1),2&n){let n;a.Jc(n=a.kc())&&(e._downPaymentModal=n.first)}},inputs:{vehicleCount$:"vehicleCount$",dealershipCount$:"dealershipCount$",heroContent:"heroContent",headerText:"headerText",headerSubText:"headerSubText",heroImage:"heroImage"},outputs:{fmpEvent:"fmpEvent"},decls:86,vars:27,consts:[[1,"hero-wrapper"],[1,"hero-inner-container"],[1,"hero-content"],["data-cy","desktop-header-hero",3,"innerHTML"],[1,"cta-control"],["qaid","home-ga1-cta","buttonClass","rounded-button-green-large","ariaLabel","Apply for Financing",1,"down-payment-button",3,"buttonAnalytic","buttonLink"],[1,"text-before"],["includeSVG","dt-glyph-caret",1,"icon-after"],[1,"inner-stats-container"],[1,"inventory-container"],["src","/assets/svg/home-car.svg","role","img","alt","Moving car icon","aria-label","Moving Vehicle Icon"],[1,"description-text"],[1,"bold"],[1,"dealership-container"],["src","/assets/svg/home-map.svg","role","img","alt","Open map showing two DriveTime logos","aria-label","Dealership Icon"],["qaid","qa-home-hero-dealership-count","data-cy","qa-home-hero-dealership-count",1,"bold"],[1,"nowrap"],[1,"hero-image"],["alt","Approval for Crossover SUV and multiple pop ups of down payment and monthly payments",1,"approval-phone-blob",3,"src"],[1,"bottom-banner"],[1,"text-description"],["qaid","save-downpayment-modal-btn","className","frameless-button down-payment-comparison-button","ariaLabel","View Down Payment $1,000 Savings Disclaimer",3,"analytic","linkButtonType","elementId","click"],["includeSVG","dt-glyph-info",1,"icon-after"],["linkClass","inline-block-link","icon","dt-glyph-caret","iconPosition","right","text","Get Terms","ariaLabel","Apply for Financing","qaid","home-get-term",1,"ga-link",3,"linkUrl","internalRoute","analytic"],["qaid","down-payment-modal","title","Down Payment Comparison","modalSize","small",1,"down-payment-modal",3,"analyticDataClose","focusToElementId"],["downPaymentModal",""],[1,"modal-content"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.cc(6,"h2",3),a.Yc(7,"\n "),a.bc(),a.Yc(8,"\n "),a.cc(9,"div",4),a.Yc(10,"\n "),a.cc(11,"dtm-button",5),a.Yc(12,"\n "),a.cc(13,"span",6),a.Yc(14),a.nc(15,"async"),a.bc(),a.Yc(16,"\n "),a.Xb(17,"span",7),a.Yc(18,"\n "),a.bc(),a.Yc(19,"\n "),a.bc(),a.Yc(20,"\n\n "),a.cc(21,"div",8),a.Yc(22,"\n "),a.cc(23,"div",9),a.Yc(24,"\n "),a.Xb(25,"img",10),a.Yc(26,"\n "),a.cc(27,"p",11),a.Yc(28,"We have \n "),a.cc(29,"span",12),a.Yc(30),a.nc(31,"async"),a.nc(32,"async"),a.bc(),a.Yc(33,"\n cars available online now, all backed by our 5-day return guarantee."),a.bc(),a.Yc(34,"\n "),a.bc(),a.Yc(35,"\n "),a.cc(36,"div",13),a.Yc(37,"\n "),a.Xb(38,"img",14),a.Yc(39,"\n "),a.cc(40,"p",11),a.Yc(41,"\n We have "),a.cc(42,"span",15),a.Yc(43),a.nc(44,"async"),a.bc(),a.Yc(45,"dealerships across the country with knowledgeable finance\n experts "),a.cc(46,"span",16),a.Yc(47,"on-site."),a.bc(),a.Yc(48,"\n "),a.bc(),a.Yc(49,"\n "),a.bc(),a.Yc(50,"\n "),a.bc(),a.Yc(51,"\n "),a.bc(),a.Yc(52,"\n "),a.cc(53,"div",17),a.Yc(54,"\n "),a.Xb(55,"img",18),a.Yc(56,"\n "),a.bc(),a.Yc(57,"\n "),a.bc(),a.Yc(58,"\n"),a.bc(),a.Yc(59,"\n"),a.cc(60,"div",19),a.Yc(61,"\n "),a.cc(62,"p",20),a.Yc(63,"\n It's worth two minutes to get your down payment online.\n Our customers\n "),a.cc(64,"dtm-link-button",21),a.jc("click",function(){return e.openDownPaymentModal()}),a.Yc(65,"\n "),a.cc(66,"span",6),a.Yc(67,"save $1,000 on average!"),a.bc(),a.Yc(68,"\n "),a.Xb(69,"span",22),a.Yc(70,"\n "),a.bc(),a.Yc(71,"\n "),a.bc(),a.Yc(72,"\n "),a.cc(73,"dtm-link",23),a.Yc(74,"\n "),a.bc(),a.Yc(75,"\n"),a.bc(),a.Yc(76,"\n"),a.cc(77,"dtm-stylized-modal",24,25),a.Yc(79,"\n "),a.cc(80,"div",26),a.Yc(81,"\n "),a.Xb(82,"dtm-downpayment-content"),a.Yc(83,"\n "),a.bc(),a.Yc(84,"\n"),a.bc(),a.Yc(85,"\n")),2&n&&(a.Ib(6),a.uc("innerHTML",e.heroContent,a.Oc),a.Ib(5),a.uc("buttonAnalytic",a.Ac(23,j))("buttonLink",e.ctaLink),a.Ib(3),a.Zc(a.oc(15,15,e.ga1CTA$)||"Get Your Personalized Terms"),a.Ib(16),a.ad("",a.oc(31,17,e.vehicleCount$)?a.oc(32,19,e.vehicleCount$):"\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0"," "),a.Ib(13),a.ad("",a.oc(44,21,e.dealershipCount$)," "),a.Ib(12),a.uc("src",e.heroImage,a.Qc),a.Ib(9),a.uc("analytic",a.Ac(24,N))("linkButtonType",e.LinkButtonTypes.Button)("elementId",e.downPmntCompButtonId),a.Ib(9),a.uc("linkUrl",e.gaLink)("internalRoute",!0)("analytic",a.Ac(25,X)),a.Ib(4),a.uc("analyticDataClose",a.Ac(26,q))("focusToElementId",e.downPmntCompButtonId))},directives:[O.a,M.g,L.a,D.a,U.a,H.a,W.a],pipes:[o.b],styles:["[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{display:block;overflow:hidden;background-image:linear-gradient(263deg,#e5fff4 46%,#c4eafa 95%);background-size:100% 530px;background-repeat:no-repeat;padding-bottom:3.335rem}[_nghost-%COMP%] .hero-inner-container[_ngcontent-%COMP%]{display:flex;max-width:1020px;width:95%;margin:0 auto;padding-top:2.67rem}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%]{width:82%;display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] dtm-button[_ngcontent-%COMP%]{margin-top:2rem}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] dtm-button[_ngcontent-%COMP%] a{padding:0 2.57rem;font-weight:600}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{width:24rem;line-height:44px;margin:2.38rem 0 0;color:#0c2340;font-size:2rem;font-weight:800}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] h4{color:#4e575e;font-size:1.45rem;font-weight:400}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .cta-control[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:MIN(4vw,.5rem);z-index:10}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .cta-control[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{position:relative;z-index:10;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.45;letter-spacing:normal;text-align:center;color:#075078}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .cta-container[_ngcontent-%COMP%] dtm-button[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .text-underline{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .inner-stats-container[_ngcontent-%COMP%]{margin-top:3.335rem;display:flex;justify-content:space-between}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .inner-stats-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:45.09%;font-size:.89rem;border-radius:14px;box-shadow:0 16px 24px 0 rgba(7,80,120,.16);background-color:#fff;color:#00abe8;padding:.65rem 1.33rem 2rem}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .inner-stats-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:800}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .inner-stats-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .nowrap[_ngcontent-%COMP%]{white-space:nowrap}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .inner-stats-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .description-text[_ngcontent-%COMP%]{margin:.35rem 0 0}[_nghost-%COMP%] .hero-image[_ngcontent-%COMP%]{position:relative;width:44.11%}[_nghost-%COMP%] .hero-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:678px;max-width:none;position:absolute;top:0;left:-7.5%}[_nghost-%COMP%] .bottom-banner[_ngcontent-%COMP%]{display:flex;max-width:1020px;width:95%;margin:0 auto .835rem;background-color:#f7f7f7;padding:1.28rem 2.17rem 1.05rem;border-radius:4rem;color:#0c2340;justify-content:space-between;font-size:.89rem}[_nghost-%COMP%] .bottom-banner[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0;color:#0c2340;font-weight:800;margin:0 .5rem 0 0}[_nghost-%COMP%] .bottom-banner[_ngcontent-%COMP%] .text-before[_ngcontent-%COMP%]{font-weight:800;border-bottom:2px solid #0c2340}[_nghost-%COMP%] .bottom-banner[_ngcontent-%COMP%] .icon-after[_ngcontent-%COMP%]{height:.8rem;display:inline-block;vertical-align:sub}@media (min-width:1020px){[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%]{width:50.58%}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .inner-stats-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:46.12%}[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .inner-stats-container[_ngcontent-%COMP%]{width:28.667rem}[_nghost-%COMP%] .hero-image[_ngcontent-%COMP%]{width:49.42%}[_nghost-%COMP%] .hero-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{left:-2.5%}[_nghost-%COMP%] .bottom-banner[_ngcontent-%COMP%]{padding-bottom:1.17rem}}[_nghost-%COMP%] .down-payment-modal[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{text-align:center;padding:2rem 1rem}@media screen and (min-width:768px) and (max-width:1020px){[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .spacing[_ngcontent-%COMP%]{margin-top:1.28rem;margin-bottom:1.1111rem}}@media screen and (min-width:1020px){[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] .spacing[_ngcontent-%COMP%]{margin-top:.72rem;margin-bottom:1.66667rem}[_nghost-%COMP%] .hero-inner-container[_ngcontent-%COMP%]{padding-left:1rem}}@media screen and (min-width:1100px){[_nghost-%COMP%] .hero-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{width:28rem}}"]}),Object(r.b)([Object(A.e)(T.a.getVariableValue(z.a.Home.ID,z.a.Home.HeroCTA)),Object(r.d)("design:type",s.a)],n.prototype,"ga1CTA$",void 0),n})();var $=t("HDdC"),G=t("0ZbV");function B(n,e){1&n&&a.Xb(0,"span",9)}const V=function(n){return{"vsr-cta-hero-image":n}},F=function(n){return{"cta-container":n}},Q=function(){return{category:"Home",label:"DPGA1CTA",optimizelyEvent:!0}};let Z=(()=>{class n{constructor(n,e,t){this._linkHelper=n,this._cdRef=e,this.appConfig=t,this.vsrLink=this._linkHelper.vehicleSearchPage(),this.gaLink=this._linkHelper.getApproved1GenericPage(),this.vehicleCount$=new l.a(""),this.dealershipCount$=new l.a(0),this.fmpEvent=new a.p,this.heroContent="Get your personalized<br/>down payment and monthly<br/>payment with <span class='text-underline'>no credit hit!</span>",this.downPmntCompButtonId=I.a.generateShortUuid(),this.ctaLink=this._linkHelper.getApproved1GenericPage(),this._componentUnsubscribe=new s.a,this.hasVSR_CTA=!1,this.heroImage="/assets/img/experiments/personalized-ui.webp"}ngAfterViewInit(){this.fmpEvent.emit()}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a),a.Wb(a.i),a.Wb(_.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-home-hero-mobile"]],inputs:{vehicleCount$:"vehicleCount$",dealershipCount$:"dealershipCount$",qaid:"qaid",heroContent:"heroContent",heroImage:"heroImage"},outputs:{fmpEvent:"fmpEvent"},decls:31,vars:25,consts:[[1,"hero-wrapper",2,"position","relative"],[1,"hero-container"],[1,"inner-hero-container"],["data-cy","mobile-header-hero",3,"innerHTML"],["alt","Approval for Crossover SUV and multiple pop ups of down payments and monthly payments",1,"hero-image",3,"src","ngClass"],[1,"cta-control",3,"ngClass"],["qaid","home-ga1-cta","buttonClass","rounded-button-green-large","ariaLabel","Apply for Financing",1,"down-payment-button",3,"buttonAnalytic","buttonLink"],[1,"text-before"],["class","icon-after","includeSVG","dt-glyph-caret",4,"ngIf"],["includeSVG","dt-glyph-caret",1,"icon-after"]],template:function(n,e){if(1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.cc(6,"div"),a.nc(7,"async"),a.Yc(8,"\n "),a.cc(9,"div",3),a.nc(10,"async"),a.Yc(11,"\n "),a.bc(),a.Yc(12,"\n "),a.Xb(13,"img",4),a.Yc(14,"\n "),a.cc(15,"div",5),a.Yc(16,"\n "),a.cc(17,"dtm-button",6),a.Yc(18,"\n "),a.cc(19,"span",7),a.Yc(20),a.nc(21,"async"),a.bc(),a.Yc(22,"\n "),a.Wc(23,B,1,0,"span",8),a.Yc(24,"\n "),a.bc(),a.Yc(25,"\n "),a.bc(),a.Yc(26,"\n "),a.bc(),a.Yc(27,"\n "),a.bc(),a.Yc(28,"\n "),a.bc(),a.Yc(29,"\n"),a.bc(),a.Yc(30,"\n")),2&n){let n=null,t=null;a.Ib(6),a.Mb("hero-message ",null==(n=a.oc(7,14,e.message$))?null:n.heroMessageClass,""),a.Ib(3),a.Mb("hero-message-text ",null==(t=a.oc(10,16,e.message$))?null:t.heroMessageTextClass,""),a.uc("innerHTML",e.heroContent,a.Oc),a.Ib(4),a.uc("src",e.heroImage,a.Qc)("ngClass",a.Bc(20,V,e.hasVSR_CTA)),a.Ib(2),a.uc("ngClass",a.Bc(22,F,e.hasVSR_CTA)),a.Ib(2),a.uc("buttonAnalytic",a.Ac(24,Q))("buttonLink",e.ctaLink),a.Ib(3),a.Zc(a.oc(21,18,e.ga1CTA$)||"Get Your Personalized Terms"),a.Ib(3),a.uc("ngIf",!e.hasVSR_CTA)}},directives:[o.n,O.a,o.p,M.g],pipes:[o.b],styles:["[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{background:linear-gradient(204deg,#e5fff4,#c4eafa 77%);background-repeat:no-repeat;background-position:50%}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-image[_ngcontent-%COMP%]{width:200%;margin-bottom:-20px;height:388px;-o-object-fit:cover;object-fit:cover;overflow:visible}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .vsr-cta-hero-image[_ngcontent-%COMP%]{max-width:26.9rem;top:MIN(18.2%,6.2rem);left:53.3%}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%]{width:100%;margin:0 auto}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%]{margin:0 auto;position:relative;overflow:visible}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;padding:2rem 0 2.65rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(img){margin:0 18px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .hero-message-text[_ngcontent-%COMP%]{position:relative;z-index:10;font-weight:800;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal;text-align:center}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .down-payment-button[_ngcontent-%COMP%]{z-index:10}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .cta-control[_ngcontent-%COMP%]{z-index:10}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .text-underline{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message-var-1[_ngcontent-%COMP%]{height:MAX(174vw,35rem);padding:1.2rem 0 1.45rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message-var-1[_ngcontent-%COMP%] .hero-message-text-var-1[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message-var-2[_ngcontent-%COMP%]{height:MAX(33rem,165vw);padding:1.2rem 0 1.45rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message-var-2[_ngcontent-%COMP%] .hero-message-text-var-2[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message[_ngcontent-%COMP%]{padding:1.2rem 0 1.45rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message[_ngcontent-%COMP%] .soft-pull-hero-message-text[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message-sub-message-link-vsr[_ngcontent-%COMP%]{height:MAX(35.5rem,166vw);padding-bottom:1.484rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message-link-vsr[_ngcontent-%COMP%]{height:MAX(31.78rem,162.4vw);padding-bottom:.817rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message-sub-message-button-vsr[_ngcontent-%COMP%]{height:MAX(37.15rem,166vw);padding-bottom:1.1rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message-button-vsr[_ngcontent-%COMP%]{height:MAX(35.923rem,166vw);padding-bottom:1.22rem}@media screen and (max-width:414px){[_nghost-%COMP%] .hero-message-text{margin:.77vw 0 6.28vw;font-size:6.4vw}[_nghost-%COMP%] .sub-header{font-size:4.4vw}}@media screen and (max-width:768px){[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{overflow-x:hidden}}@media screen and (min-width:414px){[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%]{max-width:414px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%]{height:37rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .hero-message-text[_ngcontent-%COMP%]{margin:-.164rem 0 1.328rem;font-size:1.45rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message-has-vsr-cta[_ngcontent-%COMP%]{height:38rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .soft-pull-hero-message-link-vsr[_ngcontent-%COMP%]{height:MIN(38rem,162.4vw)}}@media screen and (min-width:768px){[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{width:100%;background-color:#f7f7f7;height:26rem;padding-top:2rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:46rem;background-position:100%;overflow:visible;margin:0 auto;position:relative;max-width:1200px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%]{width:95%;max-width:1020px;margin:1rem auto 0}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%]{height:23rem;margin-right:20.7rem;padding:0;justify-content:flex-start}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .down-payment-button[_ngcontent-%COMP%]{bottom:5.5rem;width:19rem}}"]}),Object(r.b)([Object(A.e)(T.a.getVariableValue(z.a.Home.ID,z.a.Home.HeroCTA)),Object(r.d)("design:type",s.a)],n.prototype,"ga1CTA$",void 0),Object(r.b)([Object(A.e)(G.b.get(z.a.Home.MobileMessage)),Object(r.d)("design:type",$.a)],n.prototype,"message$",void 0),n})();function J(n,e){1&n&&(a.Yc(0,"\n "),a.Xb(1,"dtm-home-hero-mobile-app",2),a.Yc(2,"\n"))}function K(n,e){if(1&n){const n=a.dc();a.cc(0,"dtm-home-hero-desktop",5),a.jc("fmpEvent",function(){return a.Nc(n),a.mc(2).fmpEvent.emit()}),a.Yc(1,"\n "),a.bc()}if(2&n){const n=a.mc(2);a.uc("heroContent",n.heroContent)("vehicleCount$",n.vehicleCount$)("dealershipCount$",n.dealershipCount$)("heroImage",n.heroDesktopImage)}}function nn(n,e){if(1&n){const n=a.dc();a.cc(0,"dtm-home-hero-mobile",6),a.jc("fmpEvent",function(){return a.Nc(n),a.mc(2).fmpEvent.emit()}),a.Yc(1,"\n "),a.bc()}if(2&n){const n=a.mc(2);a.uc("heroContent",n.heroContent)("vehicleCount$",n.vehicleCount$)("dealershipCount$",n.dealershipCount$)("heroImage",n.heroMobileImage)}}function en(n,e){if(1&n&&(a.Yc(0,"\n "),a.cc(1,"div"),a.Yc(2,"\n "),a.Wc(3,K,2,4,"dtm-home-hero-desktop",3),a.Yc(4,"\n\n "),a.Wc(5,nn,2,4,"dtm-home-hero-mobile",4),a.Yc(6,"\n "),a.bc(),a.Yc(7,"\n")),2&n){const n=a.mc();a.Ib(3),a.uc("ngIf",n.isDesktop),a.Ib(2),a.uc("ngIf",!n.isDesktop)}}let tn=(()=>{class n{constructor(n,e,t,c){this._cdRef=n,this._appStateService=e,this._appConfigService=t,this._screenSizeService=c,this.heroType=d.a.Default,this.vehicleCount$=new l.a(""),this.dealershipCount$=new l.a(0),this.showHomePageExp=!1,this.fmpEvent=new a.p,this._customerType=this._appStateService.getCustomerType(),this._componentUnsubscribe=new s.a,this.isDesktop=this._screenSizeService.isDesktop.getValue(),this.heroContent="Get your personalized<br/>down payment and monthly payment with <span class='text-underline'>no credit hit!</span>",this.heroDesktopImage="/assets/img/personalized-graphic-hero.webp",this.heroMobileImage="/assets/img/experiments/personalized-ui.webp"}ngOnInit(){this._appConfigService.isMobileApp&&(this._customerType=d.a.App,this._cdRef.detectChanges()),this._screenSizeService.isDesktop.pipe(Object(g.a)(this._componentUnsubscribe)).subscribe(n=>{this.isDesktop=n,this._cdRef.detectChanges()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}heroIsApp(){return this._customerType===d.a.App}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(a.i),a.Wb(C.a),a.Wb(_.a),a.Wb(m.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-home-hero"]],inputs:{heroType:"heroType",vehicleCount$:"vehicleCount$",dealershipCount$:"dealershipCount$",showHomePageExp:"showHomePageExp"},outputs:{fmpEvent:"fmpEvent"},decls:5,vars:2,consts:[[3,"ngIf","ngIfElse"],["webView",""],["qaid","app-hero"],["qaid","desktop-hero",3,"heroContent","vehicleCount$","dealershipCount$","heroImage","fmpEvent",4,"ngIf"],["qaid","mobile-hero",3,"heroContent","vehicleCount$","dealershipCount$","heroImage","fmpEvent",4,"ngIf"],["qaid","desktop-hero",3,"heroContent","vehicleCount$","dealershipCount$","heroImage","fmpEvent"],["qaid","mobile-hero",3,"heroContent","vehicleCount$","dealershipCount$","heroImage","fmpEvent"]],template:function(n,e){if(1&n&&(a.Wc(0,J,3,0,"ng-template",0),a.Yc(1,"\n\n"),a.Wc(2,en,8,2,"ng-template",null,1,a.Xc),a.Yc(4,"\n")),2&n){const n=a.Kc(3);a.uc("ngIf",e.heroIsApp())("ngIfElse",n)}},directives:[o.p,x,E,Z],styles:[""]}),n})();var cn=t("W96t");const on=["zipmodal"],rn=function(){return{category:"Home",action:"click",label:"TradeInOfferCTA"}},an=function(){return{category:"Home",label:"ExitModal"}},sn=function(){return{category:"Home",action:"error",label:"ZipCode"}},ln=function(){return{category:"Home",label:"SubmitZip"}};let dn=(()=>{class n{constructor(n,e){this._linkHelper=n,this._cdRef=e,this.kbbUrl=this._linkHelper.kbbIcoUrl(),this.focusToElementId=I.a.generateShortUuid(),this.LinkButtonTypes=S.c}ngOnInit(){this._cdRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a),a.Wb(a.i))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-home-trade-in"]],viewQuery:function(n,e){if(1&n&&a.fd(on,1),2&n){let n;a.Jc(n=a.kc())&&(e.tradeInModal=n.first)}},decls:26,vars:11,consts:[[1,"trade-in-homepage-container"],[1,"trade-in-homepage-content-container"],[1,"trade-in-homepage-header"],[1,"trade-in-homepage-content"],[1,"trade-in-homepage-button-container"],["trade-in-link","","className","rounded-button-blue-large","ariaLabel","Get Your Trade-in Offer","qaid","get-your-instant-cash-offer-btn",1,"trade-in-homepage-button",3,"analytic","elementId","linkButtonType","promptForLocation"],[1,"text-before"],[3,"focusToElementId","closeAnalytic","zipErrorAnalytic","submitAnalytic"],["zipmodal",""]],template:function(n,e){1&n&&(a.Yc(0,"\n"),a.cc(1,"div",0),a.Yc(2,"\n "),a.cc(3,"div",1),a.Yc(4,"\n "),a.cc(5,"span",2),a.Yc(6,"Want to trade in your car? Get a real trade-in offer online."),a.bc(),a.Yc(7,"\n "),a.cc(8,"div",3),a.Yc(9,"Get your trade-in offer online and save time at the dealership."),a.bc(),a.Yc(10,"\n "),a.bc(),a.Yc(11,"\n "),a.cc(12,"div",4),a.Yc(13,"\n "),a.cc(14,"dtm-link-button",5),a.jc("promptForLocation",function(){return e.tradeInModal.openModal(!1)}),a.Yc(15,"\n "),a.cc(16,"span",6),a.Yc(17,"Get Your Trade-in Offer"),a.bc(),a.Yc(18,"\n "),a.bc(),a.Yc(19,"\n "),a.bc(),a.Yc(20,"\n "),a.bc(),a.Yc(21,"\n "),a.cc(22,"dtm-trade-in-zip-modal",7,8),a.Yc(24,"\n"),a.bc(),a.Yc(25,"\n\n")),2&n&&(a.Ib(14),a.uc("analytic",a.Ac(7,rn))("elementId",e.focusToElementId)("linkButtonType",e.LinkButtonTypes.Button),a.Ib(8),a.uc("focusToElementId",e.focusToElementId)("closeAnalytic",a.Ac(8,an))("zipErrorAnalytic",a.Ac(9,sn))("submitAnalytic",a.Ac(10,ln)))},directives:[L.a,M.i,D.a,cn.a],styles:["[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%]{display:flex;align-items:center;max-width:950px;margin:0 auto;padding:2.5rem 0 3rem;width:95%}[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%] .trade-in-homepage-content-container[_ngcontent-%COMP%]{margin-right:4rem;max-width:29rem;flex:1}[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%] .trade-in-homepage-content-container[_ngcontent-%COMP%] .trade-in-homepage-header[_ngcontent-%COMP%]{font-size:1.45rem;color:#0c2340;font-weight:800;line-height:1.9rem}[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%] .trade-in-homepage-content-container[_ngcontent-%COMP%] .trade-in-homepage-header[_ngcontent-%COMP%] .trade-in-homepage-tiny-header[_ngcontent-%COMP%]{font-size:.625rem;line-height:0}[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%] .trade-in-homepage-content-container[_ngcontent-%COMP%] .trade-in-homepage-content[_ngcontent-%COMP%]{margin-top:.2rem;font-size:.89rem;max-width:27rem;color:#4e575e;font-weight:300}[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%] .trade-in-homepage-content-container[_ngcontent-%COMP%] .trade-in-homepage-content[_ngcontent-%COMP%] .trade-in-homepage-tiny-content[_ngcontent-%COMP%]{font-size:.5rem}[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%] .trade-in-homepage-button-container[_ngcontent-%COMP%]{flex:1;max-width:19rem}[_nghost-%COMP%] .trade-in-homepage-container[_ngcontent-%COMP%] .trade-in-homepage-button-container[_ngcontent-%COMP%] .trade-in-homepage-button[_ngcontent-%COMP%]{font-size:.89rem;font-weight:600}"]}),n})();var gn=t("VTq7");const hn=function(){return{category:"Home",label:"StartShoppingVSRCTA",action:"click"}};let pn=(()=>{class n{constructor(n,e){this._linkHelper=n,this._cdRef=e,this.vsrLink=this._linkHelper.vehicleSearchPage()}ngOnInit(){this._cdRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a),a.Wb(a.i))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-personalized-car-buying-callout"]],decls:26,vars:4,consts:[[1,"pcbc-outer-container"],[1,"pcbc-container"],[1,"pcbc-image-container"],["lazyLoad","/assets/img/personalized-car-buying-callout.svg","alt","Illustration of a car driving on a neighborhood street.",1,"pcbc-image",3,"offset"],[1,"pcbc-content-container"],[1,"pcbc-header"],[1,"pcbc-content"],["qaid","start-shopping-vsr-cta","linkClass","inline-block-link","icon","dt-glyph-caret","iconPosition","right","text","Start Shopping","ariaLabel","Search Vehicles",1,"pcbc-cta",3,"linkUrl","analytic"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.Xb(6,"img",3),a.Yc(7,"\n "),a.bc(),a.Yc(8,"\n "),a.cc(9,"div",4),a.Yc(10,"\n "),a.cc(11,"div",5),a.Yc(12,"Welcome to your personalized car-buying experience"),a.bc(),a.Yc(13,"\n "),a.cc(14,"div",6),a.Yc(15,"\n With millions of people approved across the country, our flexible financing makes it easy to find terms that fit your budget \u2013 no matter your credit background.\n "),a.Xb(16,"br"),a.Xb(17,"br"),a.Yc(18,"\n Our financing model, paired with our large inventory, allows you to shop for the right used car, truck, van or SUV for you.\n "),a.bc(),a.Yc(19,"\n "),a.cc(20,"dtm-link",7),a.Yc(21,"\n "),a.bc(),a.Yc(22,"\n "),a.bc(),a.Yc(23,"\n "),a.bc(),a.Yc(24,"\n"),a.bc(),a.Yc(25,"\n")),2&n&&(a.Ib(6),a.uc("offset",800),a.Ib(14),a.uc("linkUrl",e.vsrLink)("analytic",a.Ac(3,hn)))},directives:[gn.a,U.a,D.a],styles:["[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#c4eafa,#e5fff4)}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%]{width:95%;display:flex;margin:0 auto;max-width:55.556rem;justify-content:center}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-image-container[_ngcontent-%COMP%]{flex:1;position:relative}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-image-container[_ngcontent-%COMP%] .pcbc-image[_ngcontent-%COMP%]{position:absolute;height:100%;bottom:0;right:-2rem;max-height:16.334rem;max-width:none}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-content-container[_ngcontent-%COMP%]{flex:1;max-width:27rem;padding:3.25rem 0}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-content-container[_ngcontent-%COMP%] .pcbc-header[_ngcontent-%COMP%]{font-size:1.45rem;font-weight:800;color:#0c2340;line-height:1.9rem}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-content-container[_ngcontent-%COMP%] .pcbc-content[_ngcontent-%COMP%]{font-size:.89rem;font-weight:300;color:#4e575e;margin:.5rem 0 1rem}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-content-container[_ngcontent-%COMP%] .pcbc-cta[_ngcontent-%COMP%]{font-size:.89rem;font-weight:600}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-content-container[_ngcontent-%COMP%] .pcbc-cta[_ngcontent-%COMP%] .inline-block-link:hover .text{color:#075078}[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-content-container[_ngcontent-%COMP%] .pcbc-cta[_ngcontent-%COMP%] .inline-block-link:hover .icon{fill:#075078!important}@media screen and (max-width:870px){[_nghost-%COMP%] .pcbc-outer-container[_ngcontent-%COMP%] .pcbc-container[_ngcontent-%COMP%] .pcbc-content-container[_ngcontent-%COMP%]{flex:0.75}}"]}),n})();const mn=function(){return{category:"Home",label:"RealDownPaymentGA1CTA",action:"click"}};let un=(()=>{class n{constructor(n){this._linkHelper=n,this.ga1Link=this._linkHelper.getApproved1GenericPage()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-real-down-payment"]],decls:20,vars:4,consts:[[1,"real-down-payment-container"],[1,"real-down-payment-content"],[1,"real-down-payment-header"],["data-cy","real-down-payment-text",1,"real-down-payment-text"],["qaid","real-down-payment-cta","linkClass","inline-block-link","icon","dt-glyph-caret","iconPosition","right","text","Get Your Down Payment","ariaLabel","Apply for Financing",1,"real-down-payment-cta",3,"linkUrl","analytic"],[1,"real-down-payment-image-container"],["lazyLoad","/assets/img/homepage-phone-float.webp","alt","Approved on a Mobile Device Icon",1,"real-down-payment-image",3,"offset"]],template:function(n,e){1&n&&(a.Yc(0,"\n"),a.cc(1,"div",0),a.Yc(2,"\n "),a.cc(3,"div",1),a.Yc(4,"\n "),a.cc(5,"div",2),a.Yc(6,"\n Get a real down payment without ever leaving your home\n "),a.bc(),a.Yc(7,"\n "),a.cc(8,"div",3),a.Yc(9,"\n Our online financing application gives you the information you need to make a decision on your next used car purchase. The terms you see are 100% personalized to you and your credit, including required down payment for an enhanced car-shopping experience.\n "),a.bc(),a.Yc(10,"\n "),a.cc(11,"dtm-link",4),a.Yc(12,"\n "),a.bc(),a.Yc(13,"\n "),a.bc(),a.Yc(14,"\n "),a.cc(15,"div",5),a.Yc(16,"\n "),a.Xb(17,"img",6),a.Yc(18,"\n "),a.bc(),a.Yc(19,"\n"),a.bc()),2&n&&(a.Ib(11),a.uc("linkUrl",e.ga1Link)("analytic",a.Ac(3,mn)),a.Ib(6),a.uc("offset",800))},directives:[U.a,D.a,gn.a],styles:["@media screen and (min-width:768px){[_nghost-%COMP%] .real-down-payment-container[_ngcontent-%COMP%]{background-color:#fff;margin:4rem auto;padding-bottom:2rem;display:flex;max-width:950px;width:95%}[_nghost-%COMP%] .real-down-payment-container[_ngcontent-%COMP%] .real-down-payment-content[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .real-down-payment-container[_ngcontent-%COMP%] .real-down-payment-content[_ngcontent-%COMP%] .real-down-payment-header[_ngcontent-%COMP%]{font-size:1.45rem;font-weight:800;color:#0c2340;line-height:1.9rem}[_nghost-%COMP%] .real-down-payment-container[_ngcontent-%COMP%] .real-down-payment-content[_ngcontent-%COMP%] .real-down-payment-text[_ngcontent-%COMP%]{font-size:.89rem;font-weight:300;color:#4e575e;margin:.5rem 0 1rem}[_nghost-%COMP%] .real-down-payment-container[_ngcontent-%COMP%] .real-down-payment-content[_ngcontent-%COMP%] .real-down-payment-cta[_ngcontent-%COMP%]{font-size:.89rem;font-weight:600}[_nghost-%COMP%] .real-down-payment-container[_ngcontent-%COMP%] .real-down-payment-content[_ngcontent-%COMP%] .real-down-payment-cta[_ngcontent-%COMP%] .inline-block-link:hover .text{color:#075078}[_nghost-%COMP%] .real-down-payment-container[_ngcontent-%COMP%] .real-down-payment-content[_ngcontent-%COMP%] .real-down-payment-cta[_ngcontent-%COMP%] .inline-block-link:hover .icon{fill:#075078!important}[_nghost-%COMP%] .real-down-payment-image-container[_ngcontent-%COMP%]{flex:1;position:relative}[_nghost-%COMP%] .real-down-payment-image-container[_ngcontent-%COMP%] .real-down-payment-image[_ngcontent-%COMP%]{width:100%;max-width:21rem;position:absolute;top:50%;left:59%;transform:translate(-50%,-50%)}}"]}),n})(),bn=(()=>{class n{constructor(){this.dealershipCount$=new l.a(0),this.vehicleCount$=new l.a("")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-home-vehicle-dealer"]],inputs:{dealershipCount$:"dealershipCount$",vehicleCount$:"vehicleCount$"},decls:97,vars:10,consts:[[1,"home-info-outer-container"],[1,"home-info-title"],[1,"home-info-container"],[1,"home-info-wrappers"],["alt","Rear Vehicle Image",3,"lazyLoad","offset"],[1,"home-info-subtitle"],[1,"home-info-list"],[1,"home-info-check"],["includeSVG","dt-glyph-checkmark"],[1,"home-info-text"],["alt","Dealership Store Image",3,"lazyLoad","offset"],["data-cy","vehicle-dealer-count",1,"home-info-check"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"We are the car-buying and financing revolution"),a.bc(),a.Yc(4,"\n "),a.cc(5,"div",2),a.Yc(6,"\n "),a.cc(7,"div",3),a.Yc(8,"\n "),a.Xb(9,"img",4),a.Yc(10,"\n "),a.cc(11,"div",5),a.Yc(12,"Owning a used car has its benefits when you purchase with us"),a.bc(),a.Yc(13,"\n "),a.cc(14,"div",6),a.Yc(15,"\n "),a.cc(16,"div",7),a.Yc(17,"\n "),a.Xb(18,"span",8),a.Yc(19,"\n "),a.cc(20,"span",9),a.Yc(21,"5-Day Return Guarantee"),a.bc(),a.Yc(22,"\n "),a.bc(),a.Yc(23,"\n "),a.cc(24,"div",7),a.Yc(25,"\n "),a.Xb(26,"span",8),a.Yc(27,"\n "),a.cc(28,"span",9),a.Yc(29,"30-Day/1,500 Mile Limited Warranty"),a.bc(),a.Yc(30,"\n "),a.bc(),a.Yc(31,"\n "),a.cc(32,"div",7),a.Yc(33,"\n "),a.Xb(34,"span",8),a.Yc(35,"\n "),a.cc(36,"span",9),a.Yc(37,"Free AutoCheck History Report"),a.bc(),a.Yc(38,"\n "),a.bc(),a.Yc(39,"\n "),a.cc(40,"div",7),a.Yc(41,"\n "),a.Xb(42,"span",8),a.Yc(43,"\n "),a.cc(44,"span",9),a.Yc(45,"No-Haggle Pricing"),a.bc(),a.Yc(46,"\n "),a.bc(),a.Yc(47,"\n "),a.bc(),a.Yc(48,"\n "),a.bc(),a.Yc(49,"\n "),a.cc(50,"div",3),a.Yc(51,"\n "),a.Xb(52,"img",10),a.Yc(53,"\n "),a.cc(54,"div",5),a.Yc(55,"We guarantee you a dealership experience like no other"),a.bc(),a.Yc(56,"\n "),a.cc(57,"div",6),a.Yc(58,"\n "),a.cc(59,"div",11),a.Yc(60,"\n "),a.Xb(61,"span",8),a.Yc(62,"\n "),a.cc(63,"span",9),a.Yc(64),a.nc(65,"async"),a.bc(),a.Yc(66,"\n "),a.bc(),a.Yc(67,"\n "),a.cc(68,"div",7),a.Yc(69,"\n "),a.Xb(70,"span",8),a.Yc(71,"\n "),a.cc(72,"span",9),a.Yc(73,"No-Pressure Sales Advisors"),a.bc(),a.Yc(74,"\n "),a.bc(),a.Yc(75,"\n "),a.cc(76,"div",7),a.Yc(77,"\n "),a.Xb(78,"span",8),a.Yc(79,"\n "),a.cc(80,"span",9),a.Yc(81,"Personalized Financing Options"),a.bc(),a.Yc(82,"\n "),a.bc(),a.Yc(83,"\n "),a.cc(84,"div",7),a.Yc(85,"\n "),a.Xb(86,"span",8),a.Yc(87,"\n "),a.cc(88,"span",9),a.Yc(89),a.nc(90,"async"),a.bc(),a.Yc(91,"\n "),a.bc(),a.Yc(92,"\n "),a.bc(),a.Yc(93,"\n "),a.bc(),a.Yc(94,"\n "),a.bc(),a.Yc(95,"\n"),a.bc(),a.Yc(96,"\n")),2&n&&(a.Ib(9),a.uc("lazyLoad","../../../assets/img/blue-car-circle.jpg")("offset",400),a.Ib(43),a.uc("lazyLoad","../../../assets/img/dealership-circle.jpg")("offset",400),a.Ib(12),a.ad("\n ",a.oc(65,6,e.vehicleCount$)," Cars Available \n "),a.Ib(25),a.ad("",a.oc(90,8,e.dealershipCount$)," Dealerships Across the Country"))},directives:[gn.a,M.g],pipes:[o.b],styles:["@media screen and (min-width:768px){[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%]{max-width:1020px;margin:0 auto;text-align:center}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-title[_ngcontent-%COMP%]{font-size:1.45rem;font-weight:800;margin:5rem 0 2rem}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-container[_ngcontent-%COMP%]{display:flex;justify-content:center;font-size:1rem}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-container[_ngcontent-%COMP%] .home-info-wrappers[_ngcontent-%COMP%]{border:1px solid #ececec;margin:0 .6rem;padding:1.3rem 0 1rem;width:45%;max-width:23rem}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-container[_ngcontent-%COMP%] .home-info-wrappers[_ngcontent-%COMP%] .home-info-subtitle[_ngcontent-%COMP%]{width:18rem;font-weight:800;margin:1.1rem auto;line-height:1.4}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-container[_ngcontent-%COMP%] .home-info-wrappers[_ngcontent-%COMP%] .home-info-list[_ngcontent-%COMP%]{color:#00af66;font-weight:400;line-height:1.2;margin:1rem auto;text-align:left;width:90%;max-width:18.5rem}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-container[_ngcontent-%COMP%] .home-info-wrappers[_ngcontent-%COMP%] .home-info-check[_ngcontent-%COMP%]{display:flex;align-items:flex-start;margin:.1rem 0}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-container[_ngcontent-%COMP%] .home-info-wrappers[_ngcontent-%COMP%] .home-info-check[_ngcontent-%COMP%] .svg-checkmark{fill:#00af66;width:1.1rem;height:1.1rem;margin-right:.4rem;display:inline-block;vertical-align:middle}[_nghost-%COMP%] .home-info-outer-container[_ngcontent-%COMP%] .home-info-container[_ngcontent-%COMP%] .home-info-wrappers[_ngcontent-%COMP%] .home-info-check[_ngcontent-%COMP%] .home-info-text[_ngcontent-%COMP%]{line-height:1.6}}"]}),n})();var Cn=t("9Cpk");const _n=function(){return{category:"Home",label:"ShopOurCarsVSRCTA"}},fn=function(){return{category:"Home",label:"SeeAllLocations"}};let Pn=(()=>{class n{constructor(n,e,t){this._linkHelper=n,this._cdRef=e,this._store=t,this.currentLocationLink=this._linkHelper.vehicleSearchPage(),this.editLocationLink=this._linkHelper.vsrLinkSwampByLocation(),this.currentCity="",this.currentState="",this._componentUnsubscribe=new s.a}ngOnInit(){this._store.select(n=>n.app.location.currentLocation).pipe(Object(g.a)(this._componentUnsubscribe)).subscribe(n=>{this.currentState=n.state.shortName,this.currentCity=n.city,this._cdRef.detectChanges()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a),a.Wb(a.i),a.Wb(Cn.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-home-location-cta"]],inputs:{currentCity:"currentCity",currentState:"currentState"},decls:26,vars:8,consts:[[1,"home-location-cta"],[1,"home-location-cta-inner-container"],[1,"home-location-cta-button"],["buttonClass","rounded-button-blue-large","qaid","shop-our-cars-cta","ariaLabel","Search Vehicles",3,"buttonAnalytic","buttonLink"],[1,"text-before"],[1,"home-location-bottom-message"],[1,"location-text"],["includeSVG","dt-glyph-map-pin",1,"cta-icon","cta-icon-front"],["linkClass","inline-block-link","text","See All Locations","ariaLabel","Search Vehicles by Location",3,"linkUrl","analytic"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.cc(6,"dtm-button",3),a.Yc(7,"\n "),a.cc(8,"span",4),a.Yc(9,"Shop Our Cars"),a.bc(),a.Yc(10,"\n "),a.bc(),a.Yc(11,"\n "),a.bc(),a.Yc(12,"\n "),a.cc(13,"div",5),a.Yc(14,"\n You're shopping in\n "),a.cc(15,"span",6),a.Yc(16,"\n "),a.Xb(17,"span",7),a.Yc(18),a.bc(),a.Yc(19,"\n "),a.cc(20,"dtm-link",8),a.Yc(21,"\n "),a.bc(),a.Yc(22,"\n "),a.bc(),a.Yc(23,"\n "),a.bc(),a.Yc(24,"\n"),a.bc(),a.Yc(25,"\n")),2&n&&(a.Ib(6),a.uc("buttonAnalytic",a.Ac(6,_n))("buttonLink",e.currentLocationLink),a.Ib(12),a.bd("",e.currentCity,", ",e.currentState,""),a.Ib(2),a.uc("linkUrl",e.editLocationLink)("analytic",a.Ac(7,fn)))},directives:[O.a,M.g,U.a,D.a],styles:["@media screen and (min-width:768px){[_nghost-%COMP%] .home-location-cta-inner-container[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;margin-bottom:3rem}[_nghost-%COMP%] .home-location-cta-inner-container[_ngcontent-%COMP%] .home-location-cta-button[_ngcontent-%COMP%]{align-self:center;width:13rem;padding:1.5rem 0}[_nghost-%COMP%] .home-location-cta-inner-container[_ngcontent-%COMP%] .home-location-bottom-message[_ngcontent-%COMP%]{text-align:center;font-size:.77rem;font-weight:600;color:#4e575e}[_nghost-%COMP%] .home-location-cta-inner-container[_ngcontent-%COMP%] .home-location-bottom-message[_ngcontent-%COMP%] .cta-icon[_ngcontent-%COMP%]{display:inline-block;vertical-align:text-bottom;width:.875rem;height:.875rem;fill:#4e575e}[_nghost-%COMP%] .home-location-cta-inner-container[_ngcontent-%COMP%] .home-location-bottom-message[_ngcontent-%COMP%] .location-text[_ngcontent-%COMP%]{margin-right:.625rem}}"]}),n})();const On=function(n){return{"hidden-display":n}};let Mn=(()=>{class n{constructor(n,e,t,c,o,i,r){this.screenSizeService=n,this.router=e,this.cdRef=t,this._analyticService=c,this._decimalPipe=o,this._vehicleSearchService=i,this._dealershipService=r,this.isReturnUser=!1,this.customerType=d.a.Default,this._componentUnsubscribe=new s.a,this.homeHeroFmpEvent=new a.p,this.vehicleCount$=new l.a(null),this.dealershipCount$=new l.a(148)}ngOnInit(){this.screenSizeService.isDesktop.pipe(Object(g.a)(this._componentUnsubscribe)).subscribe(n=>{n&&(this.getVehicleCount(),this.getDealershipCount())}),this.homeHeroFmpEvent.pipe(Object(h.a)()).subscribe(()=>{this._analyticService.logFirstMeaningfulPaint()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}getVehicleCount(){return Object(r.a)(this,void 0,void 0,function*(){try{let n=yield this._vehicleSearchService.getVehicleCountsForNationwide();this.vehicleCount$.next(this._decimalPipe.transform(n))}catch(n){this._analyticService.logException(n,"getVehicleCount() vehicle count failed.")}})}getDealershipCount(){return Object(r.a)(this,void 0,void 0,function*(){try{this.dealershipCount$.next(yield this._dealershipService.getDealershipCountForNationwide())}catch(n){this._analyticService.logException(n,"getDealershipCount() dealership count failed.")}})}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(m.a),a.Wb(c.d),a.Wb(a.i),a.Wb(p.a),a.Wb(o.g),a.Wb(u.a),a.Wb(b.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-main-page"]],decls:21,vars:36,consts:[["responsiveCell","1",3,"vehicleCount$","dealershipCount$","fullWidth","heroType","fmpEvent"],["responsiveCell","3",3,"fullWidth","ngClass"],["responsiveCell","4",3,"fullWidth","ngClass"],["responsiveCell","5",3,"fullWidth","ngClass"],["responsiveCell","6",3,"fullWidth","ngClass","dealershipCount$","vehicleCount$"],["responsiveCell","7",3,"fullWidth","ngClass"]],template:function(n,e){1&n&&(a.cc(0,"dtm-home-hero",0),a.jc("fmpEvent",function(){return e.homeHeroFmpEvent.emit()}),a.Yc(1,"\n"),a.bc(),a.Yc(2,"\n"),a.cc(3,"dtm-home-trade-in",1),a.nc(4,"async"),a.Yc(5,"\n"),a.bc(),a.Yc(6,"\n"),a.cc(7,"dtm-personalized-car-buying-callout",2),a.nc(8,"async"),a.Yc(9,"\n"),a.bc(),a.Yc(10,"\n"),a.Xb(11,"dtm-real-down-payment",3),a.nc(12,"async"),a.Yc(13,"\n"),a.cc(14,"dtm-home-vehicle-dealer",4),a.nc(15,"async"),a.Yc(16,"\n"),a.bc(),a.Yc(17,"\n"),a.Xb(18,"dtm-home-location-cta",5),a.nc(19,"async"),a.Yc(20,"\n")),2&n&&(a.uc("vehicleCount$",e.vehicleCount$)("dealershipCount$",e.dealershipCount$)("fullWidth",!0)("heroType",e.customerType),a.Ib(3),a.uc("fullWidth",!0)("ngClass",a.Bc(26,On,!a.oc(4,16,e.screenSizeService.isDesktop))),a.Ib(4),a.uc("fullWidth",!0)("ngClass",a.Bc(28,On,!a.oc(8,18,e.screenSizeService.isDesktop))),a.Ib(4),a.uc("fullWidth",!0)("ngClass",a.Bc(30,On,!a.oc(12,20,e.screenSizeService.isDesktop))),a.Ib(3),a.uc("fullWidth",!1)("ngClass",a.Bc(32,On,!a.oc(15,22,e.screenSizeService.isDesktop)))("dealershipCount$",e.dealershipCount$)("vehicleCount$",e.vehicleCount$),a.Ib(4),a.uc("fullWidth",!0)("ngClass",a.Bc(34,On,!a.oc(19,24,e.screenSizeService.isDesktop))))},directives:[tn,M.f,dn,o.n,pn,un,bn,Pn],pipes:[o.b],styles:["[_nghost-%COMP%] .loader[_ngcontent-%COMP%]{height:100%;width:100%;background:#fff;position:absolute}"],changeDetection:0}),n})(),yn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[i.a,o.c,c.e.forChild([{path:"",pathMatch:"full",component:Mn}])]]}),n})();var wn=t("1Yn8");let vn=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-privacy-policy"]],decls:8,vars:2,consts:[[3,"responsiveCell"],[1,"privacy-legal-container"],[3,"internalRoute"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.Xb(4,"dtm-legal-privacy-policy",2),a.Yc(5,"\n "),a.bc(),a.Yc(6,"\n"),a.bc(),a.Yc(7,"\n")),2&n&&(a.uc("responsiveCell",1),a.Ib(4),a.uc("internalRoute",!0))},directives:[M.f,wn.a],styles:[".privacy-legal-container[_ngcontent-%COMP%]{padding:1rem 5vw}.privacy-legal-container[_ngcontent-%COMP%] .privacy-header{margin-top:0}@media screen and (min-width:414px){.privacy-legal-container[_ngcontent-%COMP%]{padding:1rem}}@media screen and (min-width:768px){.privacy-legal-container[_ngcontent-%COMP%]{margin:1rem auto}}"],changeDetection:0}),n})(),Yn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({providers:[],imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:vn}])]]}),n})();const kn=function(){return{category:"CADisclaimer",action:"click",label:"FinancialPrivacyNotice"}},xn=function(){return{category:"CADisclaimer",action:"click",label:"PrivacyPolicy"}},In=function(){return{category:"CADisclaimer",action:"click",label:"RequestMoreInfo"}},Sn=function(){return{category:"CADisclaimer",action:"click",label:"RequestAccess"}},An=function(){return{category:"CADisclaimer",action:"click",label:"RequestDeletion"}},Tn=function(){return{category:"CADisclaimer",action:"click",label:"CookiePolicy"}};let zn=(()=>{class n{constructor(n){this._linkHelper=n,this._contentUnsubscribe=new s.a,this.privacyPolicyFlyer=this._linkHelper.privacyPolicyFlyer(),this.privacyPolicyLink=this._linkHelper.privacyPolicyLink(),this.infoRequestFormLink=this._linkHelper.infoRequestFormLink(),this.accessRequestFormLink=this._linkHelper.accessRequestFormLink(),this.cookiePolicyLink=this._linkHelper.cookiePolicyLink(),this.infoDeleteLink=this._linkHelper.infoDeleteLink()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-ca-disclaimer"]],decls:160,vars:26,consts:[["responsiveCell","1",1,"disclaimer-container"],[1,"disclaimer-inner-container"],[1,"ca-disclaimer-header","header"],[1,"ca-disclaimer-sub-header","header"],[1,"disclaimer-text"],["text","Financial Privacy Notice",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","Privacy Policy",3,"linkUrl","analytic"],[1,"ca-disclaimer-section-header","header"],["text","here",3,"linkUrl","internalRoute","openNewTab","analytic"],["text","Cookie Policy",3,"linkUrl","analytic"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"h1",2),a.Yc(5,"Important California Rights and Disclosures"),a.bc(),a.Yc(6,"\n "),a.cc(7,"h2",3),a.Yc(8,"Rights Over Your Non-Financial Personal Information"),a.bc(),a.Yc(9,"\n "),a.cc(10,"div",4),a.Yc(11,"\n "),a.cc(12,"p"),a.Yc(13,"\n The majority of information that DriveTime, our affiliates, and our subsidiaries collect, process, or\n disclose is in connection with you obtaining financing (for example, a loan or credit from DriveTime,\n Bridgecrest, or its affiliates) (\u201cFinancial Information\u201d). Our collection, processing, use, and disclosure\n of Financial Information is done pursuant to the Gramm-Leach-Bliley Act, California Financial Information\n Privacy Act, and other applicable financial protection laws. You can learn more about your rights contained\n within those laws by visiting our\n "),a.Xb(14,"dtm-link",5),a.Yc(15,".\n "),a.bc(),a.Yc(16,"\n "),a.cc(17,"p"),a.Yc(18,"In limited circumstances, California residents may have the following additional rights over non-financial\n information that is collected, used, and shared pursuant to DriveTime\u2019s\n "),a.cc(19,"dtm-link",6),a.Yc(20,"\n "),a.bc(),a.Yc(21,".\n The non-financial information we collect from you may include personal identifiers, geolocation data, and internet or network\n activity data that are is not collected or used for the purpose of offering or providing financial services.\n We use this information to analyze site traffic, optimize site performance, improve our services, and identify\n new products and services of interest to our users. We may also use this information to provide certain services\n to you, including allowing you to make an appointment at our dealership, view trade-in information, or otherwise\n use our services and explore our site.\n "),a.bc(),a.Yc(22,"\n "),a.cc(23,"p"),a.Yc(24,"California residents may have the following rights over non-financial information:"),a.bc(),a.Yc(25,"\n "),a.cc(26,"h3",7),a.Yc(27,"The Right to Request More Information"),a.bc(),a.Yc(28,"\n "),a.cc(29,"p"),a.Yc(30,"\n As a California resident, you have the right to request more information about how we treat your\n non-financial personal information including:\n "),a.bc(),a.Yc(31,"\n "),a.cc(32,"ul"),a.Yc(33,"\n "),a.cc(34,"li"),a.Yc(35,"The categories of personal information we collected about you;"),a.bc(),a.Yc(36,"\n "),a.cc(37,"li"),a.Yc(38,"The categories of sources from which we collected that information;"),a.bc(),a.Yc(39,"\n "),a.cc(40,"li"),a.Yc(41,"Our business or commercial purpose for collecting or selling that information;"),a.bc(),a.Yc(42,"\n "),a.cc(43,"ul"),a.Yc(44,"\n "),a.cc(45,"li"),a.Yc(46,"The categories of service providers or third parties with whom we shared that information;"),a.bc(),a.Yc(47,"\n "),a.cc(48,"li"),a.Yc(49,"The categories of third parties to whom we sold your non-financial information, if any; and"),a.bc(),a.Yc(50,"\n "),a.cc(51,"li"),a.Yc(52,"The specific pieces of personal information we collected about you."),a.bc(),a.Yc(53,"\n "),a.bc(),a.Yc(54,"\n "),a.bc(),a.Yc(55,"\n "),a.cc(56,"p"),a.Yc(57,"\n To submit a request to exercise your right to request more information, you may contact us either by phone\n at (877) 560-9159 or by going\n "),a.Xb(58,"dtm-link",8),a.Yc(59,".\n "),a.bc(),a.Yc(60,"\n "),a.cc(61,"h3",7),a.Yc(62,"The Right to Request Access"),a.bc(),a.Yc(63,"\n "),a.cc(64,"p"),a.Yc(65,"For non-financial information, you also may have the right to request access to your personal information."),a.bc(),a.Yc(66,"\n "),a.cc(67,"p"),a.Yc(68,"\n To submit a request to exercise your right to request access to your information, you may contact us either\n by phone at (877) 560-9159 or by going\n "),a.Xb(69,"dtm-link",8),a.Yc(70,".\n "),a.bc(),a.Yc(71,"\n "),a.cc(72,"h3",7),a.Yc(73,"The Right to Request Deletion"),a.bc(),a.Yc(74,"\n "),a.cc(75,"p"),a.Yc(76,"For non-financial information, you may have the right to request that we delete your personal information."),a.bc(),a.Yc(77,"\n "),a.cc(78,"p"),a.Yc(79,"\n To submit a request to exercise your right have your non-financial information deleted, you may contact us either by\n phone at (877) 560-9159 or by going\n "),a.Xb(80,"dtm-link",8),a.Yc(81,".\n "),a.bc(),a.Yc(82,"\n "),a.cc(83,"h3",7),a.Yc(84,"How to Exercise these Rights"),a.bc(),a.Yc(85,"\n "),a.cc(86,"p"),a.Yc(87,"\n To submit a request to exercise rights over your non-financial information, you may contact us either by phone at\n (877) 560-9159 or by going to the links above.\n "),a.bc(),a.Yc(88,"\n "),a.cc(89,"p"),a.Yc(90,"\n For all requests, please clearly state that the request is related to \u201cYour California Privacy Rights\u201d and provide\n your name, street address, city, state, zip code, and an e-mail address or phone number where you may be contacted.\n "),a.bc(),a.Yc(91,"\n\n "),a.cc(92,"p"),a.Yc(93,"\n You can always opt-out or unsubscribe from marketing emails by contacting Bridgecrest Customer Relations\n at (800) 967-8854:\n "),a.bc(),a.Yc(94,"\n "),a.cc(95,"h3",7),a.Yc(96,"Verification"),a.bc(),a.Yc(97,"\n "),a.cc(98,"p"),a.Yc(99,"\n Before we can respond to your request, we first must verify your identity using your personal information. If\n we are not able to verify your request, we will contact you for more information. If we are unable to verify\n your identity after a good faith attempt, we may deny the request and, if so, will explain the basis for\n the denial.\n "),a.bc(),a.Yc(100,"\n "),a.cc(101,"h3",7),a.Yc(102,"Designating an Authorized Agent"),a.bc(),a.Yc(103,"\n "),a.cc(104,"p"),a.Yc(105,"\n You may designate someone to submit requests and act on your behalf (an \u201cAuthorized Agent\u201d). To do so, you\n must provide us with written permission to allow your Authorized Agent to act on your behalf and, where appropriate,\n accept information about you. Either way, you and/or your Authorized Agent must provide sufficient information to us\n that would allow us to verify your identity.\n "),a.bc(),a.Yc(106,"\n "),a.cc(107,"h3",7),a.Yc(108,"Do Not Track Requests"),a.bc(),a.Yc(109,"\n "),a.cc(110,"p"),a.Yc(111,"\n As set out in our\n "),a.Xb(112,"dtm-link",9),a.Yc(113,"\n , we use cookies to collect information about your internet activity to help us provide\n you with relevant advertisements, incentives or offers. Some web browsers or smartphones have the ability set\n \u201cDo Not Track\u201d requests to block user activity from being tracked across web pages or devices. Our website does not\n recognize \u201cDo Not Track\u201d signals.\n "),a.bc(),a.Yc(114,"\n "),a.cc(115,"h3",7),a.Yc(116,"Third-Party Sharing and Selling \u2013 Do Not Sell My Information"),a.bc(),a.Yc(117,"\n "),a.cc(118,"p"),a.Yc(119,"\n DriveTime does not sell non-financial information. However, we may share non-financial information with our third party\n business partners and service providers to give you a better user experience and for our own marketing purposes. We may\n also share it with third parties for their direct marketing purposes. To opt-out of any sharing of your Personal\n Information with third parties for their direct marketing purposes, please contact us at (877) 560-9159 or email us\n at CustomerRelations@Bridgecrest.com.\n "),a.bc(),a.Yc(120,"\n "),a.cc(121,"h3",7),a.Yc(122,"No Discrimination"),a.bc(),a.Yc(123,"\n "),a.cc(124,"p"),a.Yc(125,"We will not unlawfully discriminate against you for exercising any of these rights."),a.bc(),a.Yc(126,"\n\n "),a.cc(127,"h2",3),a.Yc(128,"California Transparency in Supply Chains Act"),a.bc(),a.Yc(129,"\n "),a.cc(130,"p"),a.Yc(131,"\n DriveTime detests the practice of human trafficking and slavery and supports the efforts to eradicate it. Because DriveTime\n is in the business of selling and financing used motor vehicles, DriveTime\u2019s vehicle supply chain consists of motor vehicle\n dealerships, motor vehicle auction facilities and consumers who purchased the vehicles from the manufacturer. DriveTime checks\n the vehicle titles and works with reputable vendors. DriveTime also purchases replacement parts from manufacturers and\n suppliers to recondition the vehicles that it sells.\n "),a.bc(),a.Yc(132,"\n "),a.cc(133,"p"),a.Yc(134,"\n DriveTime obtains most of its replacement parts from the O\u2019Reilly Auto Parts. O\u2019Reilly represents that it sources its raw\n materials and other inputs with reputable companies that maintain high standards, and requires its suppliers, when signing a\n purchase order or contract, to certify that the supplier conducts business pursuant to the laws that prohibit slavery\n and human trafficking.\n "),a.bc(),a.Yc(135,"\n "),a.cc(136,"p"),a.Yc(137,"\n Because of the limited nature of DriveTime\u2019s vehicle supply chain, its efforts to check titles and work with reputable vendors,\n and reliance on O\u2019Reilly, DriveTime believes that it takes reasonable steps to verify the origin of the vehicles, and that its\n vehicle supply chain is free of products that are tainted by human trafficking and slavery.\n "),a.bc(),a.Yc(138,"\n "),a.cc(139,"h2",3),a.Yc(140,"Changes to this Notice"),a.bc(),a.Yc(141,"\n "),a.cc(142,"p"),a.Yc(143,"\n This Notice is reviewed and updated annually to ensure it accurately captures our practices and procedures. The effective date\n is identified below. If we make material changes to this Notice, we will use reasonable means to inform you and, where\n necessary, obtain your consent.\n "),a.bc(),a.Yc(144,"\n "),a.cc(145,"h2",3),a.Yc(146,"Resolving Concerns and How to Contact Us"),a.bc(),a.Yc(147,"\n "),a.cc(148,"p"),a.Yc(149,"\n If you have questions or concerns regarding this Notice, please contact us at (877) 560-9159 or email us\n at CustomerRelations@Bridgecrest.com.\n "),a.bc(),a.Yc(150,"\n "),a.cc(151,"p"),a.Yc(152,"\n "),a.cc(153,"strong"),a.Yc(154,"Date last updated:"),a.bc(),a.Yc(155," January 1, 2020\n "),a.bc(),a.Yc(156,"\n "),a.bc(),a.Yc(157,"\n "),a.bc(),a.Yc(158,"\n "),a.bc(),a.Yc(159,"\n")),2&n&&(a.Ib(14),a.uc("linkUrl",e.privacyPolicyFlyer)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(20,kn)),a.Ib(5),a.uc("linkUrl",e.privacyPolicyLink)("analytic",a.Ac(21,xn)),a.Ib(39),a.uc("linkUrl",e.infoRequestFormLink)("internalRoute",!1)("openNewTab",!0)("analytic",a.Ac(22,In)),a.Ib(11),a.uc("linkUrl",e.accessRequestFormLink)("internalRoute",!1)("openNewTab",!0)("analytic",a.Ac(23,Sn)),a.Ib(11),a.uc("linkUrl",e.infoDeleteLink)("internalRoute",!1)("openNewTab",!0)("analytic",a.Ac(24,An)),a.Ib(32),a.uc("linkUrl",e.cookiePolicyLink)("analytic",a.Ac(25,Tn)))},directives:[M.f,U.a,D.a],styles:[".disclaimer-inner-container[_ngcontent-%COMP%]{padding:1rem 5vw;color:#4e575e;text-align:justify;margin-bottom:1rem;width:100%;max-width:50rem}.disclaimer-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{color:#4e575e;text-align:center;font-weight:800;margin:0 auto .5rem}.disclaimer-inner-container[_ngcontent-%COMP%] .ca-disclaimer-header[_ngcontent-%COMP%]{font-size:6.4vw}.disclaimer-inner-container[_ngcontent-%COMP%] .ca-disclaimer-sub-header[_ngcontent-%COMP%]{font-size:4.8vw}.disclaimer-inner-container[_ngcontent-%COMP%] .ca-disclaimer-section-header[_ngcontent-%COMP%]{font-size:4.4vw}.disclaimer-inner-container[_ngcontent-%COMP%] .disclaimer-text[_ngcontent-%COMP%]{color:#8f9aa3;font-size:4vw;line-height:1.4}.disclaimer-inner-container[_ngcontent-%COMP%] .header-split[_ngcontent-%COMP%]{white-space:nowrap}@media screen and (min-width:414px){.disclaimer-inner-container[_ngcontent-%COMP%]{padding:1rem}.disclaimer-inner-container[_ngcontent-%COMP%] .ca-disclaimer-header[_ngcontent-%COMP%]{font-size:1.45rem}.disclaimer-inner-container[_ngcontent-%COMP%] .ca-disclaimer-sub-header[_ngcontent-%COMP%]{font-size:1.1rem}.disclaimer-inner-container[_ngcontent-%COMP%] .ca-disclaimer-section-header[_ngcontent-%COMP%]{font-size:1rem}.disclaimer-inner-container[_ngcontent-%COMP%] .disclaimer-text[_ngcontent-%COMP%]{font-size:.89rem}}@media screen and (min-width:768px){.disclaimer-inner-container[_ngcontent-%COMP%]{margin:1rem auto}}"],changeDetection:0}),n})(),Ln=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({providers:[],imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:zn}])]]}),n})();var Dn=t("KZJE");let Un=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-terms-of-use"]],decls:8,vars:2,consts:[[3,"responsiveCell"],[1,"terms-legal-container"],[3,"internalRoute"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.Xb(4,"dtm-legal-terms-of-use",2),a.Yc(5,"\n "),a.bc(),a.Yc(6,"\n"),a.bc(),a.Yc(7,"\n")),2&n&&(a.uc("responsiveCell",1),a.Ib(4),a.uc("internalRoute",!0))},directives:[M.f,Dn.a],styles:[".terms-legal-container[_ngcontent-%COMP%]{padding:1rem 5vw}.terms-legal-container[_ngcontent-%COMP%] .tou-header{margin-top:0}@media screen and (min-width:414px){.terms-legal-container[_ngcontent-%COMP%]{padding:1rem}}@media screen and (min-width:768px){.terms-legal-container[_ngcontent-%COMP%]{margin:1rem auto}}"],changeDetection:0}),n})(),Hn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({providers:[],imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:Un}])]]}),n})(),Wn=(()=>{class n{constructor(){this.circleIcon="dt-glyph-heart-icon"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-genius-car"]],inputs:{circleIcon:"circleIcon"},decls:12,vars:2,consts:[[1,"genius-car-container"],[1,"circle-container"],[1,"circle-icon",3,"includeSVG"],["src","/assets/img/genius-car.png","alt","Car Image",1,"genius-image"],["includeSVG","dt-glyph-animated-genius-line"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.Xb(4,"span",2),a.Yc(5,"\n "),a.bc(),a.Yc(6,"\n "),a.Xb(7,"img",3),a.Yc(8,"\n "),a.Xb(9,"span",4),a.Yc(10,"\n"),a.bc(),a.Yc(11,"\n")),2&n&&(a.Ib(4),a.uc("includeSVG",e.circleIcon),a.Ib(3),a.Jb("qaid","genius-image"))},directives:[M.g],styles:["[_nghost-%COMP%] .circle-container[_ngcontent-%COMP%]{width:23vw;height:23vw;padding:6.5vw;background-color:rgba(12,35,64,.85);position:absolute;right:15%;z-index:5;border-radius:50%;top:-1rem}[_nghost-%COMP%] .circle-container[_ngcontent-%COMP%] .circle-icon[_ngcontent-%COMP%]{fill:#fff;animation:beat 1s .5s 2;display:inline-block;transform-origin:center;line-height:0;width:100%;height:100%}[_nghost-%COMP%] .genius-image[_ngcontent-%COMP%]{width:90%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0)}[_nghost-%COMP%] .genius-car-container[_ngcontent-%COMP%]{position:relative;margin:2rem auto;width:100%;max-width:28rem}@media screen and (min-width:414px){[_nghost-%COMP%] .circle-container[_ngcontent-%COMP%]{width:5.2rem;height:5.2rem;padding:1.5rem}}@media screen and (min-width:768px){[_nghost-%COMP%] .circle-container[_ngcontent-%COMP%]{width:4.2rem;height:4.2rem;padding:1.2rem}}"]}),n})();var Rn=t("otwq");let jn=(()=>{class n{constructor(n){this._linkHelper=n,this.ga1Link=this._linkHelper.getApproved1GenericPage(),this.vsrLink=this._linkHelper.vehicleSearchPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.savLink=this._linkHelper.savDealerSelectPage(),this.bridgeCrestLink=this._linkHelper.bridgecrestLink()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-site-map"]],decls:62,vars:10,consts:[[1,"error-description"],[1,"accent-line"],[1,"link-container"],[1,"link-list"],["iconSrc","dt-glyph-checkmark","qaid","error-ga-link",3,"linkUrl","className"],["iconSrc","dt-glyph-search","qaid","error-vsr-link",3,"linkUrl","className"],["iconSrc","dt-glyph-map-pin","qaid","error-dsr-link",3,"linkUrl","className"],["iconSrc","dt-glyph-calendar","qaid","error-sav-link",3,"linkUrl","className"],["qaid","qa-error-payment",1,"error-link",3,"href","targetedLink"],["includeSVG","dt-glyph-dollar-sign",1,"error-icon"]],template:function(n,e){1&n&&(a.Xb(0,"dtm-genius-car"),a.Yc(1,"\n"),a.cc(2,"div",0),a.Yc(3,"\n "),a.cc(4,"span"),a.Yc(5,"Welcome to DriveTime!"),a.bc(),a.Yc(6,"\n"),a.bc(),a.Yc(7,"\n"),a.Xb(8,"div",1),a.Yc(9,"\n\n"),a.cc(10,"div",2),a.Yc(11,"\n "),a.cc(12,"ul",3),a.Yc(13,"\n "),a.cc(14,"li"),a.Yc(15,"\n "),a.cc(16,"dtm-icon-link",4),a.Yc(17,"\n "),a.cc(18,"span"),a.Yc(19,"Get Your Approval"),a.bc(),a.Yc(20,"\n "),a.bc(),a.Yc(21,"\n "),a.bc(),a.Yc(22,"\n "),a.cc(23,"li"),a.Yc(24,"\n "),a.cc(25,"dtm-icon-link",5),a.Yc(26,"\n "),a.cc(27,"span"),a.Yc(28,"Search Vehicles"),a.bc(),a.Yc(29,"\n "),a.bc(),a.Yc(30,"\n "),a.bc(),a.Yc(31,"\n "),a.cc(32,"li"),a.Yc(33,"\n "),a.cc(34,"dtm-icon-link",6),a.Yc(35,"\n "),a.cc(36,"span"),a.Yc(37,"Find a Dealership"),a.bc(),a.Yc(38,"\n "),a.bc(),a.Yc(39,"\n "),a.bc(),a.Yc(40,"\n "),a.cc(41,"li"),a.Yc(42,"\n "),a.cc(43,"dtm-icon-link",7),a.Yc(44,"\n "),a.cc(45,"span"),a.Yc(46,"Schedule a Visit"),a.bc(),a.Yc(47,"\n "),a.bc(),a.Yc(48,"\n "),a.bc(),a.Yc(49,"\n "),a.cc(50,"li"),a.Yc(51,"\n "),a.cc(52,"a",8),a.Yc(53,"\n "),a.Xb(54,"span",9),a.Yc(55,"\n "),a.cc(56,"span"),a.Yc(57,"Make a Payment"),a.bc(),a.bc(),a.Yc(58,"\n "),a.bc(),a.Yc(59,"\n "),a.bc(),a.Yc(60,"\n"),a.bc(),a.Yc(61,"\n")),2&n&&(a.Ib(16),a.uc("linkUrl",e.ga1Link)("className","error-link"),a.Ib(9),a.uc("linkUrl",e.vsrLink)("className","error-link"),a.Ib(9),a.uc("linkUrl",e.dsrLink)("className","error-link"),a.Ib(9),a.uc("linkUrl",e.savLink)("className","error-link"),a.Ib(9),a.uc("href",e.bridgeCrestLink,a.Qc)("targetedLink",e.bridgeCrestLink))},directives:[Wn,Rn.a,M.h,M.g],styles:["[_nghost-%COMP%] .error-description[_ngcontent-%COMP%]{margin:1.5rem auto 1rem;max-width:350px;text-align:center;width:80%}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%]{color:#0c2340;margin:.8rem auto 2rem;width:41%;padding:0;max-width:9rem}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link-img{fill:#00abe8}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link{color:#00abe8;font-size:4vw}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;padding:.4rem 0}[_nghost-%COMP%] .lower-container[_ngcontent-%COMP%]{background-color:#f7f7f7}[_nghost-%COMP%] .error-link[_ngcontent-%COMP%]{color:#00abe8;font-size:4vw;text-decoration:none}[_nghost-%COMP%] .error-icon[_ngcontent-%COMP%]{width:5vw;display:inline-block;vertical-align:middle;fill:#00abe8;margin-right:1vw}@media screen and (min-width:414px){[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link{color:#00abe8;font-size:.9rem}[_nghost-%COMP%] .error-icon[_ngcontent-%COMP%]{width:1rem;margin-right:.2rem}[_nghost-%COMP%] .error-link[_ngcontent-%COMP%]{font-size:.9rem}}"],changeDetection:0}),n})(),Nn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[i.a,o.c,c.e.forChild([{path:"",pathMatch:"full",component:jn}])]]}),n})();var Xn=t("DcSm");let qn=(()=>{class n{constructor(n){this._linkHelper=n,this.ga1Link=this._linkHelper.getApproved1GenericPage(),this.vsrLink=this._linkHelper.vehicleSearchPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.savLink=this._linkHelper.savDealerSelectPage(),this.bridgeCrestLink=this._linkHelper.bridgecrestLink()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-error"]],decls:61,vars:28,consts:[[1,"error-description"],[3,"innerHTML"],[1,"accent-line"],[1,"link-container"],[1,"link-list"],["iconSrc","dt-glyph-checkmark","qaid","error-ga-link",3,"linkUrl","className"],["iconSrc","dt-glyph-search","qaid","error-vsr-link",3,"linkUrl","className"],["iconSrc","dt-glyph-map-pin","qaid","error-dsr-link",3,"linkUrl","className"],["iconSrc","dt-glyph-calendar","qaid","error-sav-link",3,"linkUrl","className"],["qaid","qa-error-payment",1,"error-link",3,"href","targetedLink"],["includeSVG","dt-glyph-make-payment",1,"error-icon"]],template:function(n,e){1&n&&(a.Yc(0," "),a.cc(1,"div",0),a.Yc(2,"\n "),a.Xb(3,"span",1),a.nc(4,"contentReplace"),a.Yc(5,"\n "),a.bc(),a.Yc(6,"\n "),a.Xb(7,"div",2),a.Yc(8,"\n\n "),a.cc(9,"div",3),a.Yc(10,"\n "),a.cc(11,"ul",4),a.Yc(12,"\n "),a.cc(13,"li"),a.Yc(14,"\n "),a.cc(15,"dtm-icon-link",5),a.Yc(16,"\n "),a.Xb(17,"span",1),a.nc(18,"contentReplace"),a.Yc(19,"\n "),a.bc(),a.Yc(20,"\n "),a.bc(),a.Yc(21,"\n "),a.cc(22,"li"),a.Yc(23,"\n "),a.cc(24,"dtm-icon-link",6),a.Yc(25,"\n "),a.Xb(26,"span",1),a.nc(27,"contentReplace"),a.Yc(28,"\n "),a.bc(),a.Yc(29,"\n "),a.bc(),a.Yc(30,"\n "),a.cc(31,"li"),a.Yc(32,"\n "),a.cc(33,"dtm-icon-link",7),a.Yc(34,"\n "),a.Xb(35,"span",1),a.nc(36,"contentReplace"),a.Yc(37,"\n "),a.bc(),a.Yc(38,"\n "),a.bc(),a.Yc(39,"\n "),a.cc(40,"li"),a.Yc(41,"\n "),a.cc(42,"dtm-icon-link",8),a.Yc(43,"\n "),a.Xb(44,"span",1),a.nc(45,"contentReplace"),a.Yc(46,"\n "),a.bc(),a.Yc(47,"\n "),a.bc(),a.Yc(48,"\n\n "),a.cc(49,"li"),a.Yc(50,"\n "),a.cc(51,"a",9),a.Yc(52,"\n "),a.Xb(53,"span",10),a.Yc(54,"\n "),a.Xb(55,"span",1),a.nc(56,"contentReplace"),a.bc(),a.Yc(57,"\n "),a.bc(),a.Yc(58,"\n "),a.bc(),a.Yc(59,"\n "),a.bc(),a.Yc(60,"\n")),2&n&&(a.Ib(3),a.vc("innerHTML",a.oc(4,16,"error-message.error-text"),a.Oc),a.Ib(12),a.uc("linkUrl",e.ga1Link)("className","error-link"),a.Ib(2),a.vc("innerHTML",a.oc(18,18,"link-list.get-approved"),a.Oc),a.Ib(7),a.uc("linkUrl",e.vsrLink)("className","error-link"),a.Ib(2),a.vc("innerHTML",a.oc(27,20,"link-list.vehicle-search"),a.Oc),a.Ib(7),a.uc("linkUrl",e.dsrLink)("className","error-link"),a.Ib(2),a.vc("innerHTML",a.oc(36,22,"link-list.dealership-search"),a.Oc),a.Ib(7),a.uc("linkUrl",e.savLink)("className","error-link"),a.Ib(2),a.vc("innerHTML",a.oc(45,24,"link-list.schedule-a-visit"),a.Oc),a.Ib(7),a.uc("href",e.bridgeCrestLink,a.Qc)("targetedLink",e.bridgeCrestLink),a.Ib(4),a.vc("innerHTML",a.oc(56,26,"link-list.make-a-payment"),a.Oc))},directives:[Rn.a,M.h,M.g],pipes:[Xn.c],styles:["[_nghost-%COMP%] .error-description[_ngcontent-%COMP%]{margin:1.5rem auto 1rem;max-width:350px;text-align:center;width:80%}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%]{color:#0c2340;margin:.8rem auto 2rem;width:40%;padding:0;max-width:9rem}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link-img{fill:#00abe8}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link{color:#00abe8;font-size:4vw}[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;padding:.4rem 0}[_nghost-%COMP%] .flashing-light[_ngcontent-%COMP%]{animation:pulse 1s ease-out infinite;background-color:#c4eafa;border-radius:50%;height:1.3rem;opacity:0;position:absolute;width:1.3rem;z-index:100}[_nghost-%COMP%] .flashing-left[_ngcontent-%COMP%]{left:6.1rem;top:1.6rem}[_nghost-%COMP%] .flashing-right[_ngcontent-%COMP%]{animation-delay:.3s;left:8.8rem;top:2.1rem}[_nghost-%COMP%] .lower-container[_ngcontent-%COMP%]{background-color:#f7f7f7}[_nghost-%COMP%] .error-link[_ngcontent-%COMP%]{color:#00abe8;font-size:4vw;text-decoration:none}[_nghost-%COMP%] .error-icon[_ngcontent-%COMP%]{width:5vw;display:inline-block;vertical-align:middle;fill:#00abe8;margin-right:1vw}@media screen and (min-width:414px){[_nghost-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link{color:#00abe8;font-size:.9rem}[_nghost-%COMP%] .error-icon[_ngcontent-%COMP%]{width:1rem;margin-right:.2rem}[_nghost-%COMP%] .error-link[_ngcontent-%COMP%]{font-size:.9rem}}"],changeDetection:0}),n})(),En=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[i.a,o.c,c.e.forChild([{path:"",pathMatch:"full",component:qn}])]]}),n})();const $n=function(){return{category:"Error404",label:"GA1CTA"}},Gn=function(){return{category:"Error404",label:"VSRCTA"}},Bn=function(){return{category:"Error404",label:"DSRCTA"}},Vn=function(){return{category:"Error404",label:"SAVCTA"}},Fn=function(){return{category:"Error404",label:"MakePayment"}};let Qn=(()=>{class n{constructor(n){this._linkHelper=n,this.ga1Link=this._linkHelper.getApproved1GenericPage(),this.vsrLink=this._linkHelper.vehicleSearchPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.savLink=this._linkHelper.savDealerSelectPage(),this.bridgeCrestLink=this._linkHelper.bridgecrestLink()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-error-404"]],decls:49,vars:17,consts:[[1,"error-container"],["responsiveCell","1","circleIcon","dt-glyph-alert",1,"genius-car"],["responsiveCell","2",1,"inner-link-container"],[1,"error-description"],[1,"error-divider"],[1,"link-list"],[1,"error-list-cta"],["icon","dt-glyph-checkmark","linkClass","inline-block-link","text","Get Your Approval","qaid","error-ga-link",3,"linkUrl","analytic"],["icon","dt-glyph-search","linkClass","inline-block-link","text","Search Vehicles","qaid","error-vsr-link",3,"linkUrl","analytic"],["icon","dt-glyph-map-pin","linkClass","inline-block-link","text","Find a Dealership","qaid","error-dsr-link",3,"linkUrl","analytic"],["icon","dt-glyph-calendar","linkClass","inline-block-link","text","Schedule a Visit","qaid","error-sav-link",3,"linkUrl","analytic"],["icon","dt-glyph-dollar-sign","linkClass","inline-block-link","text","Make a Payment","qaid","qa-pmt-link",3,"linkUrl","openNewTab","internalRoute","analytic"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.Xb(2,"dtm-genius-car",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.cc(6,"div",3),a.Yc(7,"\n "),a.cc(8,"span"),a.Yc(9,"Looks like you took a wrong turn. No problem, we\u2019ll get you back on the road!\n "),a.bc(),a.Yc(10,"\n "),a.bc(),a.Yc(11,"\n "),a.Xb(12,"div",4),a.Yc(13,"\n "),a.cc(14,"ul",5),a.Yc(15,"\n "),a.cc(16,"li",6),a.Yc(17,"\n "),a.cc(18,"dtm-link",7),a.Yc(19,"\n "),a.bc(),a.Yc(20,"\n "),a.bc(),a.Yc(21,"\n "),a.cc(22,"li",6),a.Yc(23,"\n "),a.cc(24,"dtm-link",8),a.Yc(25,"\n "),a.bc(),a.Yc(26,"\n "),a.bc(),a.Yc(27,"\n "),a.cc(28,"li",6),a.Yc(29,"\n "),a.cc(30,"dtm-link",9),a.Yc(31,"\n "),a.bc(),a.Yc(32,"\n "),a.bc(),a.Yc(33,"\n "),a.cc(34,"li",6),a.Yc(35,"\n "),a.cc(36,"dtm-link",10),a.Yc(37,"\n "),a.bc(),a.Yc(38,"\n "),a.bc(),a.Yc(39,"\n "),a.cc(40,"li",6),a.Yc(41,"\n "),a.cc(42,"dtm-link",11),a.Yc(43,"\n "),a.bc(),a.Yc(44,"\n "),a.bc(),a.Yc(45,"\n "),a.bc(),a.Yc(46,"\n "),a.bc(),a.Yc(47,"\n"),a.bc(),a.Yc(48,"\n")),2&n&&(a.Ib(18),a.uc("linkUrl",e.ga1Link)("analytic",a.Ac(12,$n)),a.Ib(6),a.uc("linkUrl",e.vsrLink)("analytic",a.Ac(13,Gn)),a.Ib(6),a.uc("linkUrl",e.dsrLink)("analytic",a.Ac(14,Bn)),a.Ib(6),a.uc("linkUrl",e.savLink)("analytic",a.Ac(15,Vn)),a.Ib(6),a.uc("linkUrl",e.bridgeCrestLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(16,Fn)))},directives:[Wn,M.f,U.a,D.a],styles:[".error-container[_ngcontent-%COMP%]{margin:0 auto;padding:3rem 0}.error-container[_ngcontent-%COMP%] .inner-link-container[_ngcontent-%COMP%] .error-description[_ngcontent-%COMP%]{margin:0 auto;text-align:center;width:80%;font-size:4.4vw;padding:1rem 0;color:#075078}.error-container[_ngcontent-%COMP%] .inner-link-container[_ngcontent-%COMP%] .error-divider[_ngcontent-%COMP%]{margin:0 auto;background-color:#075078;display:block;height:4px;width:17%;max-width:3.5rem}.error-container[_ngcontent-%COMP%] .inner-link-container[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .error-list-cta[_ngcontent-%COMP%]{margin:0 auto;list-style:none;padding:.4rem 0;width:50%}.error-container[_ngcontent-%COMP%] .inner-link-container[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .error-list-cta[_ngcontent-%COMP%] .inline-block-link{font-size:3.6vw}@media screen and (min-width:414px){.error-container[_ngcontent-%COMP%] .inner-link-container[_ngcontent-%COMP%] .error-description[_ngcontent-%COMP%]{font-size:1rem}.error-container[_ngcontent-%COMP%] .inner-link-container[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .error-list-cta[_ngcontent-%COMP%] .inline-block-link{font-size:.77rem}}@media screen and (min-width:768px){.error-container[_ngcontent-%COMP%]{max-width:950px;display:flex;flex-wrap:wrap;align-items:center}.error-container[_ngcontent-%COMP%] .genius-car[_ngcontent-%COMP%]{flex:4}.error-container[_ngcontent-%COMP%] .genius-car[_ngcontent-%COMP%] .genius-car-container{width:90%;margin-right:0}.error-container[_ngcontent-%COMP%] .inner-link-container[_ngcontent-%COMP%]{flex:3}}"],changeDetection:0}),n})(),Zn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[i.a,o.c,c.e.forChild([{path:"",pathMatch:"full",component:Qn}])]]}),n})();var Jn=t("l1Qu");let Kn=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-affiliates"]],decls:11,vars:1,consts:[[3,"responsiveCell"],[1,"affiliates-legal-container"],[1,"affiliates-legal-title"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"span",2),a.Yc(5,"DriveTime's Affiliates"),a.bc(),a.Yc(6,"\n "),a.Xb(7,"dtm-legal-affiliates"),a.Yc(8,"\n "),a.bc(),a.Yc(9,"\n"),a.bc(),a.Yc(10,"\n")),2&n&&a.uc("responsiveCell",1)},directives:[M.f,Jn.a],styles:[".affiliates-legal-container[_ngcontent-%COMP%]{padding:1rem 5vw}.affiliates-legal-container[_ngcontent-%COMP%] .affiliates-legal-title[_ngcontent-%COMP%]{display:block;line-height:1.4;font-size:4.4vw;text-align:center;font-weight:800;color:#4e575e;margin-bottom:.5rem}@media screen and (min-width:414px){.affiliates-legal-container[_ngcontent-%COMP%]{padding:1rem;max-width:414px}.affiliates-legal-container[_ngcontent-%COMP%] .affiliates-legal-title[_ngcontent-%COMP%]{font-size:1rem}}@media screen and (min-width:768px){.affiliates-legal-container[_ngcontent-%COMP%]{margin:1rem auto}}"],changeDetection:0}),n})(),ne=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({providers:[],imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:Kn}])]]}),n})();var ee=t("3Pt+"),te=t("bKua"),ce=t("5Pp9"),oe=t("crWK"),ie=t("i52Z"),re=t("iuuo"),ae=t("Z7tb"),se=t("/OrV"),le=t("yMqk"),de=t("XoWx");function ge(n,e){1&n&&(a.cc(0,"span"),a.Yc(1,"Get a real trade-in"),a.Xb(2,"br"),a.Yc(3,"offer online"),a.bc())}function he(n,e){1&n&&(a.cc(0,"span"),a.Yc(1,"Get a real trade-in offer online"),a.bc())}function pe(n,e){1&n&&(a.cc(0,"span",26),a.Yc(1,"Tell us about your car and get your trade-in offer online."),a.bc())}function me(n,e){1&n&&(a.cc(0,"span",26),a.Yc(1,"Tell us about your car and get your"),a.Xb(2,"br"),a.Yc(3,"trade-in offer online."),a.bc())}function ue(n,e){1&n&&(a.cc(0,"span",26),a.Yc(1,"Bring your offer to the dealership listed on your confirmation!"),a.bc())}function be(n,e){1&n&&(a.cc(0,"span",26),a.Yc(1,"Bring your offer to the dealership listed"),a.Xb(2,"br"),a.Yc(3,"on your confirmation!"),a.bc())}function Ce(n,e){if(1&n&&(a.cc(0,"span",27),a.Yc(1),a.bc()),2&n){const n=a.mc();a.Ib(1),a.ad("Only available in ",n.region,"")}}const _e=function(n){return{category:n,action:"error",label:"ZipCode"}},fe=function(n){return{category:n,label:"TradeInOfferCTA"}},Pe=function(n){return{"is-trade":n}},Oe=function(n){return{category:n,label:"VSRWhoWeAreCTA"}},Me=function(n){return{category:n,label:"DSRWhoWeAreCTA"}};let ye=(()=>{class n{constructor(n,e,t,c,o,i,r,a,s,d,g,h,p){this._formBuilder=n,this._linkHelper=e,this._locationService=t,this._deviceInteractionService=c,this._router=o,this._activatedRoute=i,this._promiseService=r,this._cdRef=a,this._analyticService=s,this._dealershipService=d,this._appConfig=g,this.screenSizeService=h,this._tradeInService=p,this.region="",this.dealerCount$=new l.a(+this._dealershipService.getDefaultDealershipCountForNationwide()),this.salesCount=this._appConfig.appSettings.contentReplacers.vehiclesSold,this.isTrade=!0,this.isGenericSell=!1,this.analyticCategory="TradeUsACar",this.kbbUrl=this._linkHelper.kbbIcoUrl(),this.vsrLink=this._linkHelper.vehicleSearchPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.group=this._formBuilder.group({zipCode:new ee.e("")})}ngOnInit(){let n=oe.a.getDeepestFirstChild(this._activatedRoute.snapshot);this._parseRouteData(n),this.getDealershipCount()}submitZip(){this._analyticService.logDmpEvent({label:"KbbInsOff"}),this._analyticService.facebookPixelTrackStandardEvent(ae.a.Lead),this._analyticService.trackAdwordsSearchConversion(),this._analyticService.trackAdwordsDisplayConversion(),this._tradeInService.navigateToTradeInByZip(this.group.value.zipCode)}_parseRouteData(n){return Object(r.a)(this,void 0,void 0,function*(){this.isTrade=n.data.subname===ie.e.Trade,this.analyticCategory=this.isTrade||this.isGenericSell?"TradeUsACar":"SellUsACar";let e=ce.ArrayUtils.convertToArray(n.queryParams.reg)[0];if(this.isTrade);else if(ce.cmp.isDefinedAndNotNull(e)){let n=yield this._getRegionData(e);this.isGenericSell=ce.cmp.isUndefinedOrNull(n),this.isGenericSell||(this.region=n.RegionDescription)}else this.isGenericSell=!0;this._cdRef.detectChanges()})}getZip(){return Object(r.a)(this,void 0,void 0,function*(){let n;try{n=yield this._locationService.getApiZipcodeByZip(this.group.value.zipCode)}catch(e){this._analyticService.logException(e,"PPC ZIP lookup failed")}ce.cmp.isDefinedAndNotNull(n)&&(this.kbbUrl=this._linkHelper.kbbIcoUrl(n.KBBDealershipID),this._cdRef.detectChanges())})}_getRegionData(n){return Object(r.a)(this,void 0,void 0,function*(){let e,t=n.toLowerCase();try{e=(yield this._promiseService.getRegionsPromise()).Regions.find(n=>n.RegionShortName.toLowerCase()===t)}catch(c){this._analyticService.logException(c,"PPC region lookup failed")}return e})}getDealershipCount(){return Object(r.a)(this,void 0,void 0,function*(){try{this.dealerCount$.next(yield this._dealershipService.getDealershipCountForNationwide())}catch(n){this._analyticService.logException(n,"DtmSuacTuacPage->getDealershipCount() dealership count failed.")}})}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(ee.d),a.Wb(f.a),a.Wb(te.a),a.Wb(P.a),a.Wb(c.d),a.Wb(c.a),a.Wb(re.a),a.Wb(a.i),a.Wb(p.a),a.Wb(b.a),a.Wb(_.a),a.Wb(m.a),a.Wb(se.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-ppc-landing"]],decls:100,vars:43,consts:[[1,"header-card","trade-in-tuac-header"],[1,"trade-in-header-text"],[4,"ngIf"],[1,"header-subtext"],[1,"zip-form",3,"group","allowSubmitWhenInvalid","onSubmit","onValid"],[1,"form-contents"],["qaid","tuac-zip-input","ariaLabel","Enter Zip Code",3,"controlName","analytic-data"],["type","submit","qaid","tuac-ico-button","buttonClass","rounded-button-blue-large","ariaLabel","Get Your Trade-in Offer",1,"trade-in-cta-button",3,"buttonAnalytic"],[1,"text-after"],[1,"steps-container",3,"ngClass"],[1,"steps"],[1,"step"],[1,"step-icon-container"],["includeSVG","dt-glyph-kbb-step-one",1,"step-icon"],["class","step-text",4,"ngIf"],["includeSVG","dt-glyph-kbb-step-two",1,"step-icon"],["class","disclaimer-text",4,"ngIf"],[1,"who-we-are"],[1,"wwa-img-container"],["src","../../../assets/img/dealership-vignette.jpg","alt","DriveTime Dealership",1,"wwa-image"],[1,"who-we-are-content"],[1,"wwa-header"],[1,"wwa-header-subtext"],["buttonClass","rounded-button-blue-small","qaid","tuac-search-vehicles-button","ariaLabel","Search Vehicles",1,"wwa-button",3,"buttonLink","buttonAnalytic"],[1,"text-before"],["qaid","tuac-find-dealer-button","linkClass","inline-block-link","text","Find a Dealership","ariaLabel","Find a Dealership",1,"wwa-link",3,"linkUrl","analytic"],[1,"step-text"],[1,"disclaimer-text"]],template:function(n,e){1&n&&(a.Yc(0," "),a.cc(1,"div",0),a.Yc(2,"\n "),a.cc(3,"span",1),a.Yc(4,"\n "),a.Wc(5,ge,4,0,"span",2),a.nc(6,"async"),a.Yc(7,"\n "),a.Wc(8,he,2,0,"span",2),a.nc(9,"async"),a.Yc(10,"\n "),a.bc(),a.Yc(11,"\n "),a.cc(12,"span",3),a.Yc(13,"Enter your ZIP code so we can get your trade-in started at your closest dealership."),a.bc(),a.Yc(14,"\n "),a.cc(15,"dtm-form",4),a.jc("onSubmit",function(){return e.submitZip()})("onValid",function(){return e.getZip()}),a.Yc(16,"\n "),a.cc(17,"div",5),a.Yc(18,"\n "),a.cc(19,"dtm-input-zip-code",6),a.Yc(20,"\n "),a.bc(),a.Yc(21,"\n "),a.cc(22,"dtm-button",7),a.Yc(23,"\n "),a.cc(24,"span",8),a.Yc(25,"Get Your Trade-in Offer"),a.bc(),a.Yc(26,"\n "),a.bc(),a.Yc(27,"\n "),a.bc(),a.Yc(28,"\n "),a.bc(),a.Yc(29,"\n "),a.bc(),a.Yc(30,"\n "),a.cc(31,"div",9),a.Yc(32,"\n "),a.cc(33,"div"),a.Yc(34,"\n "),a.cc(35,"span"),a.Yc(36,"Your real trade-in offer is closer than you think:"),a.bc(),a.Yc(37,"\n "),a.bc(),a.Yc(38,"\n "),a.cc(39,"div",10),a.Yc(40,"\n "),a.cc(41,"div",11),a.Yc(42,"\n "),a.cc(43,"div",12),a.Yc(44,"\n "),a.Xb(45,"span",13),a.Yc(46,"\n "),a.bc(),a.Yc(47,"\n "),a.Wc(48,pe,2,0,"span",14),a.nc(49,"async"),a.Yc(50,"\n "),a.Wc(51,me,4,0,"span",14),a.nc(52,"async"),a.Yc(53,"\n "),a.bc(),a.Yc(54,"\n "),a.cc(55,"div",11),a.Yc(56,"\n "),a.cc(57,"div",12),a.Yc(58,"\n "),a.Xb(59,"span",15),a.Yc(60,"\n "),a.bc(),a.Yc(61,"\n "),a.Wc(62,ue,2,0,"span",14),a.nc(63,"async"),a.Yc(64,"\n "),a.Wc(65,be,4,0,"span",14),a.nc(66,"async"),a.Yc(67,"\n "),a.bc(),a.Yc(68,"\n "),a.bc(),a.Yc(69,"\n "),a.bc(),a.Yc(70,"\n "),a.Wc(71,Ce,2,1,"span",16),a.Yc(72,"\n "),a.cc(73,"div",17),a.Yc(74,"\n "),a.cc(75,"div",18),a.Yc(76,"\n "),a.Xb(77,"img",19),a.Yc(78,"\n "),a.bc(),a.Yc(79,"\n "),a.cc(80,"div",20),a.Yc(81,"\n "),a.cc(82,"span",21),a.Yc(83,"Who We Are"),a.bc(),a.Yc(84,"\n "),a.cc(85,"span",22),a.Yc(86),a.nc(87,"async"),a.bc(),a.Yc(88,"\n "),a.cc(89,"dtm-button",23),a.Yc(90,"\n "),a.cc(91,"span",24),a.Yc(92,"Search Vehicles"),a.bc(),a.Yc(93,"\n "),a.bc(),a.Yc(94,"\n "),a.cc(95,"dtm-link",25),a.Yc(96,"\n "),a.bc(),a.Yc(97,"\n "),a.bc(),a.Yc(98,"\n "),a.bc(),a.Yc(99,"\n ")),2&n&&(a.Ib(5),a.uc("ngIf",!a.oc(6,19,e.screenSizeService.isDesktop)),a.Ib(3),a.uc("ngIf",a.oc(9,21,e.screenSizeService.isDesktop)),a.Ib(7),a.uc("group",e.group)("allowSubmitWhenInvalid",!1),a.Ib(4),a.uc("controlName",e.group.controls.zipCode)("analytic-data",a.Bc(33,_e,e.analyticCategory)),a.Ib(3),a.uc("buttonAnalytic",a.Bc(35,fe,e.analyticCategory)),a.Ib(9),a.uc("ngClass",a.Bc(37,Pe,e.isTrade||e.isGenericSell)),a.Ib(17),a.uc("ngIf",!a.oc(49,23,e.screenSizeService.isDesktop)),a.Ib(3),a.uc("ngIf",a.oc(52,25,e.screenSizeService.isDesktop)),a.Ib(11),a.uc("ngIf",!a.oc(63,27,e.screenSizeService.isDesktop)),a.Ib(3),a.uc("ngIf",a.oc(66,29,e.screenSizeService.isDesktop)),a.Ib(6),a.uc("ngIf",!e.isTrade&&!e.isGenericSell),a.Ib(15),a.bd("Based in Tempe, Arizona, DriveTime is the nation's second largest vehicle retailer focused solely on used vehicles. We operate ",a.oc(87,31,e.dealerCount$)," dealerships across the nation and we've helped more than ",e.salesCount," people become a car buying genius. From searching to signing, we're dedicated to reimagining and redefining what it means to visit a dealership."),a.Ib(3),a.vc("buttonLink",e.vsrLink),a.uc("buttonAnalytic",a.Bc(39,Oe,e.analyticCategory)),a.Ib(6),a.vc("linkUrl",e.dsrLink),a.uc("analytic",a.Bc(41,Me,e.analyticCategory)))},directives:[o.p,le.a,de.a,O.a,o.n,M.g,U.a,D.a],pipes:[o.b],styles:["[_nghost-%COMP%] .header-card[_ngcontent-%COMP%]{background:linear-gradient(135deg,#c4eafa,#fff);width:100%;padding:1rem 5.5vw 1.5rem;display:flex;flex-direction:column}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{font-size:8.5vw;font-weight:800;text-align:center;line-height:2rem;padding:1rem 0}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .trade-in-header-text[_ngcontent-%COMP%]{font-size:6.4vw;font-weight:800;text-align:center;line-height:2rem;padding:1rem 0}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .header-subtext[_ngcontent-%COMP%]{font-size:4vw;font-weight:300;color:#4e575e;line-height:1.25rem;text-align:center}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .form-contents[_ngcontent-%COMP%]{max-width:21rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .form-contents[_ngcontent-%COMP%] .trade-in-cta-button[_ngcontent-%COMP%]{margin:.5rem auto;display:block}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%]{width:88%;margin:2rem auto 0;font-size:4vw;color:#4e575e}[_nghost-%COMP%] .steps-container.is-trade[_ngcontent-%COMP%]{margin-bottom:2rem}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .bold-text[_ngcontent-%COMP%]{font-weight:800}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%]{display:flex;max-width:40rem;margin:.75rem auto 2rem;flex-wrap:wrap;width:100%;flex-direction:column}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:1rem;align-items:center;width:90%}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-icon-container[_ngcontent-%COMP%] .step-icon[_ngcontent-%COMP%]{display:inline-block;margin-right:1rem;width:12vw;height:12vw}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-icon-container[_ngcontent-%COMP%] .step-icon[_ngcontent-%COMP%] {fill:#8f9aa3}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-icon-container[_ngcontent-%COMP%] .step-icon[_ngcontent-%COMP%] .number-badge{fill:#00abe8}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-text[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .disclaimer-text[_ngcontent-%COMP%]{color:#8f9aa3;display:block;font-size:3.6vw;text-align:center;margin:1rem 0 1.7rem}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%]{position:relative;width:100%}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%]{margin:0 auto;padding:1rem 5vw 1.8rem;font-size:4vw;color:#0c2340;text-align:left}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%] .wwa-header[_ngcontent-%COMP%]{font-size:6.4vw;font-weight:800;display:block;text-align:left;line-height:2rem;position:relative}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%] .wwa-header-subtext[_ngcontent-%COMP%]{display:block;text-align:left;color:#4e575e;font-weight:300;position:relative;margin:.25rem auto}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%] .wwa-button[_ngcontent-%COMP%]{display:block;margin:1rem auto 1rem 0;max-width:21rem}[_nghost-%COMP%] .trade-in-tuac-header[_ngcontent-%COMP%]{background:linear-gradient(132deg,#c4eafa -1%,#e5fff4 99%)!important}@media screen and (min-width:414px){[_nghost-%COMP%] .header-card[_ngcontent-%COMP%]{padding:1rem 1.6rem 1.5rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{font-size:2rem;line-height:2.2rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .header-subtext[_ngcontent-%COMP%]{font-size:.89rem;line-height:1.35rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .trade-in-header-text[_ngcontent-%COMP%]{font-size:2rem;line-height:2.75rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .form-contents[_ngcontent-%COMP%]{margin:1rem auto}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .form-contents[_ngcontent-%COMP%] .trade-in-cta-button[_ngcontent-%COMP%]{margin:.3rem auto;display:block}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%]{font-size:.89rem}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-icon-container[_ngcontent-%COMP%] .step-icon[_ngcontent-%COMP%]{width:3rem;height:3rem}[_nghost-%COMP%] .disclaimer-text[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%]{padding:1rem 1rem 1.8rem;font-size:.89rem}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%] .wwa-header[_ngcontent-%COMP%]{font-size:1.45rem}}@media screen and (min-width:768px){[_nghost-%COMP%] .header-card[_ngcontent-%COMP%]{padding:1.8rem 1rem 1.5rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{line-height:1.8rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .trade-in-header-text[_ngcontent-%COMP%]{font-size:2rem;line-height:2.75rem}[_nghost-%COMP%] .header-card[_ngcontent-%COMP%] .form-contents[_ngcontent-%COMP%]{max-width:18rem}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%]{justify-content:space-around;flex-direction:row}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{width:50%;flex-direction:column}[_nghost-%COMP%] .steps-container[_ngcontent-%COMP%] .steps[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-icon-container[_ngcontent-%COMP%] .step-icon[_ngcontent-%COMP%]{width:3.5rem;height:3.5rem}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;max-width:1020px;margin:0 auto}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .wwa-img-container[_ngcontent-%COMP%]{order:2;width:55%}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .wwa-img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:32rem}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%]{width:45%;padding:2.7rem 0 2.7rem 1rem}[_nghost-%COMP%] .who-we-are[_ngcontent-%COMP%] .who-we-are-content[_ngcontent-%COMP%] .wwa-button[_ngcontent-%COMP%]{width:18rem;margin:1rem 0 .7rem}}"],changeDetection:0}),n})(),we=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[o.c,i.a,ee.i,c.e.forChild([{path:"",pathMatch:"full",component:ye}])]]}),n})();var ve=t("+uIb"),Ye=t("NtIE");let ke=(()=>{class n{constructor(n,e,t,c,o,i){this._activatedRoute=n,this._analyticService=e,this._windowService=t,this._renderer=c,this._document=o,this._linkHelper=i}ngOnInit(){let n={};n[ve.c.LEADLESS]=this._activatedRoute.snapshot.queryParams.lid,this._analyticService.logCustomPageView(n);let e=this._renderer.createElement("script");this._renderer.setAttribute(e,"type","text/javascript"),this._renderer.setAttribute(e,"async","true");let t=encodeURI(document.location.origin+document.location.pathname),c=this._linkHelper.getApplicationSurveyUrl("4368798",t,this._document.location.protocol);this._renderer.setAttribute(e,"src",c);let o=this._renderer.createElement("div");this._renderer.setAttribute(o,"id","survey-wrapper-4368798"),this._renderer.setAttribute(o,"class","sg-survey");let i=document.write;document.write=()=>{};let r=this._document.getElementById("survey-container");e.onload=()=>{setTimeout(()=>{const n=Array.from(this._document.getElementsByClassName("sg-question-options"));if(n.length)for(let e=0;e<n.length;e++)n[e].classList.add("fs-exclude");else this._analyticService.logException('Something went wrong. Fullstory Mask did not apply to "application-survey"\n because survey questions were not loaded before we apply the "fs-exclude" class.')},1e3)},this._renderer.appendChild(r,o),this._renderer.appendChild(r,e),document.write=i}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(c.a),a.Wb(p.a),a.Wb(Ye.a),a.Wb(a.K),a.Wb(o.e),a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-leadless-landing"]],decls:2,vars:0,consts:[["id","survey-container"]],template:function(n,e){1&n&&(a.Xb(0,"div",0),a.Yc(1,"\n"))},styles:[".sg-question-set{height:auto!important;min-height:25rem}"],changeDetection:0}),n})(),xe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:ke}])]]}),n})();const Ie=function(){return{category:"SurveyLeadlessApp",label:"ReviewsCTA"}},Se=function(){return{category:"SurveyLeadlessApp",label:"VSRCTA"}},Ae=function(){return{category:"SurveyLeadlessApp",label:"HomePageCTA"}};let Te=(()=>{class n{constructor(n){this._linkHelper=n,this.vsrLink=this._linkHelper.vehicleSearchPage(),this.homeLink=this._linkHelper.homePage(),this.reviewLink$=this._linkHelper.trustPilotWithoutLogin()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-leadless-confirmation"]],decls:45,vars:11,consts:[[1,"confirmation-wrapper"],["includeSVG","dt-glyph-checkmark",1,"success-icon"],[1,"sucess-message"],[1,"title"],[1,"message"],[1,"cta-button",3,"analytic","targetedLink"],[1,"link-container"],[1,"link-list"],["iconSrc","dt-glyph-search","qaid","qa-landing-link-vehicles",3,"linkUrl","analytic"],["iconSrc","dt-glyph-home","qaid","qa-landing-link-vehicles",3,"linkUrl","analytic"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.Xb(2,"span",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.cc(6,"span",3),a.Yc(7,"Thank You!"),a.bc(),a.Yc(8,"\n "),a.cc(9,"span",4),a.Yc(10,"Your information has been submitted."),a.bc(),a.Yc(11,"\n "),a.bc(),a.Yc(12,"\n "),a.cc(13,"div",5),a.nc(14,"async"),a.Yc(15,"\n "),a.cc(16,"span"),a.Yc(17,"Review Us"),a.bc(),a.Yc(18,"\n "),a.bc(),a.Yc(19,"\n "),a.cc(20,"div",6),a.Yc(21,"\n "),a.cc(22,"ul",7),a.Yc(23,"\n "),a.cc(24,"li"),a.Yc(25,"\n "),a.cc(26,"dtm-icon-link",8),a.Yc(27,"\n "),a.cc(28,"span"),a.Yc(29,"Search Cars"),a.bc(),a.Yc(30,"\n "),a.bc(),a.Yc(31,"\n "),a.bc(),a.Yc(32,"\n "),a.cc(33,"li"),a.Yc(34,"\n "),a.cc(35,"dtm-icon-link",9),a.Yc(36,"\n "),a.cc(37,"span"),a.Yc(38,"Home"),a.bc(),a.Yc(39,"\n "),a.bc(),a.Yc(40,"\n "),a.bc(),a.Yc(41,"\n "),a.bc(),a.Yc(42,"\n "),a.bc(),a.Yc(43,"\n"),a.bc(),a.Yc(44,"\n")),2&n&&(a.Ib(13),a.uc("analytic",a.Ac(8,Ie))("targetedLink",a.oc(14,6,e.reviewLink$)),a.Ib(13),a.uc("linkUrl",e.vsrLink)("analytic",a.Ac(9,Se)),a.Ib(9),a.uc("linkUrl",e.homeLink)("analytic",a.Ac(10,Ae)))},directives:[M.g,D.a,M.h,Rn.a],pipes:[o.b],styles:["[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%]{margin-top:10rem 0}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .success-icon[_ngcontent-%COMP%]{width:15vw;height:15vw;margin:2rem auto 1rem;display:block;fill:#00af66}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{width:80%;max-width:18rem;color:#fff;background:#00abe8;border-radius:6px;text-align:center;margin:0 auto;padding:.5rem 0}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .sucess-message[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .sucess-message[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:800;font-size:6.5vw;display:block;padding-bottom:.5rem;color:#4e575e}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .sucess-message[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{display:block;color:#4e575e;font-size:4.5vw;margin-bottom:1rem}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .link-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .link-container[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%]{margin-bottom:2rem;padding:0}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .link-container[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link-img{fill:#00abe8}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .link-container[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link{color:#00abe8;font-size:4vw}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;padding:.2rem 0}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .external-link-link[_ngcontent-%COMP%]{color:#00abe8;font-size:4vw;text-decoration:none}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .external-link-icon[_ngcontent-%COMP%]{width:5vw;display:inline-block;vertical-align:middle;fill:#00abe8;margin-right:1vw}@media screen and (min-width:414px){[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .success-icon[_ngcontent-%COMP%]{width:3rem;height:3rem}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .sucess-message[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.5rem}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .sucess-message[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .link-container[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .icon-link{color:#00abe8;font-size:.9rem}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .external-link-icon[_ngcontent-%COMP%]{width:1rem;margin-right:.2rem}[_nghost-%COMP%] .confirmation-wrapper[_ngcontent-%COMP%] .external-link-link[_ngcontent-%COMP%]{font-size:.9rem}}"],changeDetection:0}),n})(),ze=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:Te}])]]}),n})();const Le=function(){return{category:"DPComparison",label:"GA1CTA"}};let De=(()=>{class n{constructor(n){this._linkHelper=n,this.ga1Url=this._linkHelper.getApproved1GenericPage()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-downpayment-comparision"]],decls:16,vars:4,consts:[[1,"downpayment-container",3,"responsiveCell"],[1,"downpayment-container-inner"],[1,"cta-button"],["buttonClass","rounded-button-green-small",3,"buttonLink","buttonAnalytic"],[1,"text-before"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n\t"),a.cc(2,"div",1),a.Yc(3,"\n\t\t"),a.Xb(4,"dtm-downpayment-content"),a.Yc(5,"\n\t\t"),a.cc(6,"div",2),a.Yc(7,"\n\t\t\t"),a.cc(8,"dtm-button",3),a.Yc(9,"\n\t\t\t\t"),a.cc(10,"span",4),a.Yc(11,"Get Your Down Payment Now"),a.bc(),a.Yc(12,"\n\t\t\t"),a.bc(),a.Yc(13,"\n\t\t"),a.bc(),a.Yc(14,"\n\t"),a.bc(),a.Yc(15,"\n"),a.bc()),2&n&&(a.uc("responsiveCell",1),a.Ib(8),a.uc("buttonLink",e.ga1Url)("buttonAnalytic",a.Ac(3,Le)))},directives:[M.f,W.a,O.a],styles:[".downpayment-container[_ngcontent-%COMP%] .downpayment-container-inner[_ngcontent-%COMP%]{line-height:1.4;padding:1rem 5vw;text-align:center}.downpayment-container[_ngcontent-%COMP%] .downpayment-container-inner[_ngcontent-%COMP%] .title{padding-bottom:.7rem}.downpayment-container[_ngcontent-%COMP%] .downpayment-container-inner[_ngcontent-%COMP%] .body-content{padding-bottom:.7rem}.downpayment-container[_ngcontent-%COMP%] .downpayment-container-inner[_ngcontent-%COMP%] .disclaimer-content{padding-bottom:.7rem;line-height:inherit}.downpayment-container[_ngcontent-%COMP%] .downpayment-container-inner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{margin:1rem}@media screen and (min-width:414px){.downpayment-container[_ngcontent-%COMP%] .downpayment-container-inner[_ngcontent-%COMP%]{max-width:768px;padding:1rem auto}.downpayment-container[_ngcontent-%COMP%] .downpayment-container-inner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{margin:1rem}}@media screen and (min-width:768px){.downpayment-container-inner[_ngcontent-%COMP%]{margin:1rem auto}}"]}),n})(),Ue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({providers:[],imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:De}])]]}),n})();var He=t("xBv6");const We=function(){return{category:"Reviews",label:"GA1CTA"}};let Re=(()=>{class n{constructor(n,e){this.screenSizeService=n,this.linkHelper=e,this.desktopBgImage="assets/img/desktop_hero-bg.jpg",this.mobileBgImage="assets/img/mobile_hero-bg.jpg"}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(m.a),a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-reviews-hero"]],decls:23,vars:6,consts:[[1,"hero-container",3,"lazyLoad"],[1,"hero-wrapper"],[1,"hero-text-container"],[1,"hero-text"],["qaid","reviews-topic-ga1-button","data-cy","reviews-topic-ga1-button","buttonClass","rounded-button-green-large",1,"hero-button",3,"buttonAnalytic","buttonLink"],[1,"text-before"],["src","/assets/img/phone-hand.png","alt","Your Approved Certificate on phone.",1,"approval-hand"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.nc(1,"async"),a.Yc(2,"\n "),a.cc(3,"div",1),a.Yc(4,"\n "),a.cc(5,"div",2),a.Yc(6,"\n "),a.cc(7,"h1",3),a.Yc(8,"See What Our Customers Are Saying"),a.bc(),a.Yc(9,"\n "),a.cc(10,"dtm-button",4),a.Yc(11,"\n "),a.cc(12,"span",5),a.Yc(13,"Start Your Approval Now"),a.bc(),a.Yc(14,"\n "),a.bc(),a.Yc(15,"\n "),a.cc(16,"div"),a.Yc(17,"\n "),a.Xb(18,"img",6),a.Yc(19,"\n "),a.bc(),a.Yc(20,"\n "),a.bc(),a.Yc(21,"\n "),a.bc(),a.Yc(22,"\n"),a.bc()),2&n&&(a.uc("lazyLoad",a.oc(1,3,e.screenSizeService.isDesktop)?e.desktopBgImage:e.mobileBgImage),a.Ib(10),a.uc("buttonAnalytic",a.Ac(5,We))("buttonLink",e.linkHelper.getApproved1GenericPage()))},directives:[gn.a,O.a],pipes:[o.b],styles:["[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%]{background-size:cover;background-position:50%;width:100%;overflow:hidden}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{max-width:414px;margin:0 auto;position:relative}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%]{min-height:15rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%] .hero-text[_ngcontent-%COMP%]{font-weight:800;width:60%;color:#fff;margin:0 5vw;font-size:8.5vw;padding:1.5rem 0 5.7rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%] .hero-button[_ngcontent-%COMP%]{width:90%;color:#fff;bottom:1.3rem;position:absolute;left:50%;transform:translate(-50%) rotate(0);z-index:10}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .approval-hand[_ngcontent-%COMP%]{width:43%;max-width:9rem;position:absolute;bottom:0;left:63.5%}@media screen and (min-width:414px){[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%]{min-height:20rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%] .hero-text[_ngcontent-%COMP%]{width:61%;margin-left:1.1rem;font-size:2rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%] .hero-button[_ngcontent-%COMP%]{max-width:21rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .approval-hand[_ngcontent-%COMP%]{width:40%;max-width:12rem;bottom:0}}@media screen and (min-width:768px){[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%]{padding:0 1rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{max-width:1020px}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%]{padding:1.5rem 0;display:flex;flex-direction:column;justify-content:center}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%] .hero-text[_ngcontent-%COMP%]{margin:0;width:49%;padding:0;line-height:2.5rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%] .hero-button[_ngcontent-%COMP%]{position:static;transform:none;left:0;align-self:flex-start;width:50%;padding-top:2rem}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-text-container[_ngcontent-%COMP%] .hero-button[_ngcontent-%COMP%] .rounded-button-green-large{margin:0}[_nghost-%COMP%] .hero-container[_ngcontent-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .approval-hand[_ngcontent-%COMP%]{max-width:12rem;bottom:0}}"]}),n})();var je=t("GZDR");const Ne=function(){return{category:"Reviews",label:"ViewAllReviewsLink"}},Xe=function(){return{category:"Reviews",label:"ViewAllReviewsButton"}},qe=function(){return{category:"Reviews",label:"ReadMore"}};let Ee=(()=>{class n{constructor(n){this._linkHelper=n,this.breadcrumbs$=new l.a([])}ngOnInit(){this.breadcrumbs$.next(this.buildBreadcrumbs())}buildBreadcrumbs(){return[{text:"Home",link:this._linkHelper.homePage()},{text:"Reviews"}]}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-reviews"]],decls:10,vars:13,consts:[[1,"reviews-container"],[1,"breadcrumbs",3,"breadcrumbs$","responsiveCell","fullWidth"],[3,"responsiveCell","fullWidth"],[1,"reviews-section-container",3,"responsiveCell","fullWidth","reviewSectionLinkAnalytic","reviewSectionButtonAnalytic","reviewCardLinkAnalytic"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.Xb(2,"dtm-breadcrumbs",1),a.Yc(3,"\n "),a.cc(4,"dtm-reviews-hero",2),a.Yc(5,"\n "),a.bc(),a.Yc(6,"\n "),a.Xb(7,"dtm-reviews-section",3),a.Yc(8,"\n"),a.bc(),a.Yc(9,"\n")),2&n&&(a.Ib(2),a.uc("breadcrumbs$",e.breadcrumbs$)("responsiveCell",1)("fullWidth",!0),a.Ib(2),a.uc("responsiveCell",2)("fullWidth",!0),a.Ib(3),a.uc("responsiveCell",3)("fullWidth",!0)("reviewSectionLinkAnalytic",a.Ac(10,Ne))("reviewSectionButtonAnalytic",a.Ac(11,Xe))("reviewCardLinkAnalytic",a.Ac(12,qe)))},directives:[He.a,M.f,Re,je.a],styles:["[_nghost-%COMP%] .reviews-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .reviews-container[_ngcontent-%COMP%] .breadcrumbs[_ngcontent-%COMP%]{order:1}[_nghost-%COMP%] .reviews-container[_ngcontent-%COMP%] .reviews-section-container[_ngcontent-%COMP%] .reviews-container{padding-top:1.5rem}"]}),n})(),$e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[i.a,o.c,c.e.forChild([{path:"",pathMatch:"full",component:Ee}])]]}),n})();const Ge=function(){return{category:"CookiePolicy",action:"click",label:"CookiesChrome"}},Be=function(){return{category:"CookiePolicy",action:"click",label:"CookiesGoogle"}},Ve=function(){return{category:"CookiePolicy",action:"click",label:"CookiesSafari"}},Fe=function(){return{category:"CookiePolicy",action:"click",label:"CookiesIE"}},Qe=function(){return{category:"CookiePolicy",action:"click",label:"CookiesMozilla"}},Ze=function(){return{category:"CookiePolicy",action:"click",label:"CookiesDigitalAdAlliance"}},Je=function(){return{category:"CookiePolicy",action:"click",label:"CookiesNetworkAdInitiative"}};let Ke=(()=>{class n{constructor(n){this._linkHelper=n,this.chromeCookieManagementLink=this._linkHelper.chromeCookieManagementLink(),this.googleCookieManagementLink=this._linkHelper.googleCookieManagementLink(),this.safariCookieManagementLink=this._linkHelper.safariCookieManagementLink(),this.internetExplorerCookieManagementLink=this._linkHelper.internetExplorerCookieManagementLink(),this.mozillaCookieManagementLink=this._linkHelper.mozillaCookieManagementLink(),this.digitalAdvertisingAllianceOptOutLink=this._linkHelper.digitalAdvertisingAllianceOptOutLink(),this.networkAdvertisingInitiativeOptOutLink=this._linkHelper.networkAdvertisingInitiativeOptOutLink()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(f.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-cookie-policy-page"]],decls:102,vars:35,consts:[["responsiveCell","1",1,"disclaimer-container"],[1,"disclaimer-inner-container"],[1,"cookie-header","header"],[1,"disclaimer-text"],[1,"cookie-section-header"],["qaid","chrome-cookie-link","text","Chrome",3,"linkUrl","openNewTab","internalRoute","analytic"],["qaid","google-cookie-link","text","Google",3,"linkUrl","openNewTab","internalRoute","analytic"],["qaid","safari-cookie-link","text","Safari",3,"linkUrl","openNewTab","internalRoute","analytic"],["qaid","ie-cookie-link","text","Internet Explorer",3,"linkUrl","openNewTab","internalRoute","analytic"],["qaid","mozilla-cookie-link","text","Mozilla",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","Digital Advertising Alliance\u2019s",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","Network Advertising Initiative\u2019s",3,"linkUrl","openNewTab","internalRoute","analytic"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"h1",2),a.Yc(5,"DriveTime Cookie Policy"),a.bc(),a.Yc(6,"\n "),a.cc(7,"div",3),a.Yc(8,"\n "),a.cc(9,"p"),a.Yc(10,"This Cookie Policy describes how DriveTime uses cookies and similar technologies to provide, customize, evaluate, improve and protect our customers and the services we provide to you."),a.bc(),a.Yc(11,"\n "),a.cc(12,"p"),a.cc(13,"span",4),a.Yc(14,"Cookies."),a.bc(),a.Yc(15," A cookie is a small piece of text shared on your website browser when you visit a site or use an application. We use cookies for the following purposes:"),a.bc(),a.Yc(16,"\n "),a.cc(17,"ul"),a.Yc(18,"\n "),a.cc(19,"li"),a.cc(20,"span",4),a.Yc(21,"Website Operation."),a.bc(),a.Yc(22," Cookies help us run our site securely and enable basic functions like page navigation."),a.bc(),a.Yc(23,"\n "),a.cc(24,"li"),a.cc(25,"span",4),a.Yc(26,"Authentication, Security, and Functional Cookies."),a.bc(),a.Yc(27," Cookies help us identify trusted web traffic and control data collection when there is high traffic on our site. We also use cookies to remember your preferences, such as your preferred dealership so you don\u2019t have to enter your location every time you return to our site. Cookies also allow you to chat live with us from our website."),a.bc(),a.Yc(28,"\n "),a.cc(29,"li"),a.cc(30,"span",4),a.Yc(31,"Performance and Analytics."),a.bc(),a.Yc(32," Cookies help us analyze how you interact with our site. This enables us to monitor and improve our site performance, services and enhance our customers\u2019 overall experience."),a.bc(),a.Yc(33,"\n "),a.cc(34,"li"),a.cc(35,"span",4),a.Yc(36,"Advertisements."),a.bc(),a.Yc(37," Cookies allow us to deliver advertisements meaningful to you. Our third party advertising partners may use these cookies to highlight areas of interest, deliver relevant advertising on other sites, and measure the efficiency of the advertisements."),a.bc(),a.Yc(38,"\n "),a.bc(),a.Yc(39,"\n "),a.cc(40,"p"),a.cc(41,"span",4),a.Yc(42,"How to Manage Cookies."),a.bc(),a.Yc(43," If you wish to prevent cookies from tracking your activity online you can set your website browser preferences to block certain cookies or notify you when a cookie is set. If you block cookies, certain features on our website may not work. For more information on how you can customize your browser\u2019s cookie setting please visit the link to your web browser below:"),a.bc(),a.Yc(44,"\n "),a.cc(45,"ul"),a.Yc(46,"\n "),a.cc(47,"li"),a.Yc(48,"\n "),a.cc(49,"dtm-link",5),a.Yc(50,"\n "),a.bc(),a.Yc(51,"\n "),a.bc(),a.Yc(52,"\n "),a.cc(53,"li"),a.Yc(54,"\n "),a.cc(55,"dtm-link",6),a.Yc(56,"\n "),a.bc(),a.Yc(57,"\n "),a.bc(),a.Yc(58,"\n "),a.cc(59,"li"),a.Yc(60,"\n "),a.cc(61,"dtm-link",7),a.Yc(62,"\n "),a.bc(),a.Yc(63,"\n "),a.bc(),a.Yc(64,"\n "),a.cc(65,"li"),a.Yc(66,"\n "),a.cc(67,"dtm-link",8),a.Yc(68,"\n "),a.bc(),a.Yc(69,"\n "),a.bc(),a.Yc(70,"\n "),a.cc(71,"li"),a.Yc(72,"\n "),a.cc(73,"dtm-link",9),a.Yc(74,"\n "),a.bc(),a.Yc(75,"\n "),a.bc(),a.Yc(76,"\n "),a.bc(),a.Yc(77,"\n "),a.cc(78,"p"),a.Yc(79,"\n You may opt-out of interest-based advertising in general by visiting the\n "),a.cc(80,"dtm-link",10),a.Yc(81,"\n "),a.bc(),a.Yc(82,"\n or\n "),a.cc(83,"dtm-link",11),a.Yc(84,"\n "),a.bc(),a.Yc(85,"\n websites. We are not responsible for the completeness, effectiveness, or accuracy of any third party opt-out options or programs.\n "),a.bc(),a.Yc(86,"\n "),a.cc(87,"p"),a.Yc(88,"\n "),a.cc(89,"span",4),a.Yc(90,"We May Update this Policy."),a.bc(),a.Yc(91," When we make changes, we\u2019ll update the \u201cEffective Date\u201d at the bottom of this Policy and post it on our website. We encourage you to check back periodically to review this Policy for any changes since your last visit.\n "),a.bc(),a.Yc(92,"\n "),a.cc(93,"p"),a.Yc(94,"\n "),a.cc(95,"span",4),a.Yc(96,"Effective Date:"),a.bc(),a.Yc(97," January 1, 2020\n "),a.bc(),a.Yc(98,"\n "),a.bc(),a.Yc(99,"\n "),a.bc(),a.Yc(100,"\n"),a.bc(),a.Yc(101,"\n")),2&n&&(a.Ib(49),a.uc("linkUrl",e.chromeCookieManagementLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(28,Ge)),a.Ib(6),a.uc("linkUrl",e.googleCookieManagementLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(29,Be)),a.Ib(6),a.uc("linkUrl",e.safariCookieManagementLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(30,Ve)),a.Ib(6),a.uc("linkUrl",e.internetExplorerCookieManagementLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(31,Fe)),a.Ib(6),a.uc("linkUrl",e.mozillaCookieManagementLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(32,Qe)),a.Ib(7),a.uc("linkUrl",e.digitalAdvertisingAllianceOptOutLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(33,Ze)),a.Ib(3),a.uc("linkUrl",e.networkAdvertisingInitiativeOptOutLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.Ac(34,Je)))},directives:[M.f,U.a,D.a],styles:[".disclaimer-inner-container[_ngcontent-%COMP%]{padding:1rem 5vw;color:#4e575e;text-align:justify;margin-bottom:1rem;width:100%;max-width:50rem}.disclaimer-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{color:#4e575e;text-align:center;font-weight:800;margin:0 auto .5rem}.disclaimer-inner-container[_ngcontent-%COMP%] .cookie-header[_ngcontent-%COMP%]{font-size:6.4vw}.disclaimer-inner-container[_ngcontent-%COMP%] .cookie-section-header[_ngcontent-%COMP%]{font-size:4vw;color:#4e575e;font-weight:600}.disclaimer-inner-container[_ngcontent-%COMP%] .disclaimer-text[_ngcontent-%COMP%]{color:#8f9aa3;font-size:4vw;line-height:1.4}.disclaimer-inner-container[_ngcontent-%COMP%] .header-split[_ngcontent-%COMP%]{white-space:nowrap}@media screen and (min-width:414px){.disclaimer-inner-container[_ngcontent-%COMP%]{padding:1rem}.disclaimer-inner-container[_ngcontent-%COMP%] .cookie-header[_ngcontent-%COMP%]{font-size:1.45rem}.disclaimer-inner-container[_ngcontent-%COMP%] .cookie-section-header[_ngcontent-%COMP%], .disclaimer-inner-container[_ngcontent-%COMP%] .disclaimer-text[_ngcontent-%COMP%]{font-size:.89rem}}@media screen and (min-width:768px){.disclaimer-inner-container[_ngcontent-%COMP%]{margin:1rem auto}}"]}),n})(),nt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:Ke}])]]}),n})();var et=t("nqGn"),tt=t("Kj3r"),ct=t("pLZG"),ot=t("bGYb");const it=["calculator"],rt=function(){return{ariaLabel:"Car Price Slider"}},at=function(){return{ariaLabel:"Down Payment Slider"}};let st=(()=>{class n{constructor(n,e,t){this.analyticService=n,this._linkHelper=e,this._cdRef=t,this.ga1Url=this._linkHelper.getApproved1GenericPage(),this._componentUnsubscribe=new s.a}ngOnInit(){this._financeCalculator.onCalculatorLoad.pipe(Object(h.a)()).subscribe(()=>{this.analyticService.logFirstMeaningfulPaint(),this.logAnalyticOnCalcDisplay()})}ngAfterViewInit(){this.avgTerm=this._financeCalculator.term,this.avgRate=this._financeCalculator.avgRate,this.bestRate=this._financeCalculator.bestRate,this._cdRef.detectChanges(),this._financeCalculator.onSliderChanged.pipe(Object(g.a)(this._componentUnsubscribe),Object(tt.a)(500),Object(ct.a)(Boolean)).subscribe(n=>{this.logAnalyticOnSliderChange(n.key),this._dtmAnalyticDirective.resetAnalyticValueProperty(Object(ot.a)(this._financeCalculator))})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}getGa1CtaClickAnalyticObj(){return{category:"FinanceCalculator",label:"GA1CTA",value:Object(ot.a)(this._financeCalculator)}}logAnalyticOnSliderChange(n){this.analyticService.logAnalytic({category:"FinanceCalculator",action:"selection",label:"price"===n?"CarPriceStop":"DownPaymentStop",value:Object(ot.a)(this._financeCalculator)})}logAnalyticOnCalcDisplay(){this.analyticService.logAnalytic({category:"FinanceCalculator",action:"display",label:"DefaultFinanceTerms",value:Object(ot.a)(this._financeCalculator)})}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(p.a),a.Wb(f.a),a.Wb(a.i))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-finance-calculator-page"]],viewQuery:function(n,e){if(1&n&&(a.fd(it,3),a.fd(D.a,1)),2&n){let n;a.Jc(n=a.kc())&&(e._financeCalculator=n.first),a.Jc(n=a.kc())&&(e._dtmAnalyticDirective=n.first)}},decls:47,vars:14,consts:[[1,"hero-wrapper"],[1,"hero-container"],[1,"inner-hero-container"],[1,"hero-message"],[1,"hero-message-text"],[1,"header-text"],[1,"subheader-text"],[1,"calculator-container"],[1,"calculator",3,"priceAccessibilityAttributes","downPaymentAccessibilityAttributes"],["calculator",""],[1,"calculator-subtext"],[1,"button-container"],["buttonClass","rounded-button-green-large",3,"analytic","buttonLink"],[1,"text-before"],[1,"disclaimer-container"],[1,"disclaimer-text"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.cc(6,"div",3),a.Yc(7,"\n "),a.cc(8,"div",4),a.Yc(9,"\n "),a.cc(10,"div",5),a.Yc(11,"A car for every budget."),a.bc(),a.Yc(12,"\n "),a.cc(13,"div",6),a.Yc(14,"Use this calculator to estimate"),a.Xb(15,"br"),a.Yc(16," payment terms before you shop."),a.bc(),a.Yc(17,"\n "),a.bc(),a.Yc(18,"\n "),a.bc(),a.Yc(19,"\n "),a.cc(20,"div",7),a.Yc(21,"\n "),a.Xb(22,"dtm-finance-calculator",8,9),a.Yc(24,"\n "),a.cc(25,"div",10),a.Yc(26,"\n Ready to see your real terms?\n "),a.bc(),a.Yc(27,"\n "),a.cc(28,"div",11),a.Yc(29,"\n "),a.cc(30,"dtm-button",12),a.cc(31,"span",13),a.Yc(32,"Get Your Personalized Financing"),a.bc(),a.bc(),a.Yc(33,"\n "),a.bc(),a.Yc(34,"\n "),a.bc(),a.Yc(35,"\n "),a.cc(36,"div",14),a.Yc(37,"\n "),a.cc(38,"div",15),a.Yc(39),a.nc(40,"percent"),a.nc(41,"percent"),a.bc(),a.Yc(42,"\n "),a.bc(),a.Yc(43,"\n "),a.bc(),a.Yc(44,"\n "),a.bc(),a.Yc(45,"\n"),a.bc(),a.Yc(46,"\n")),2&n&&(a.Ib(22),a.uc("priceAccessibilityAttributes",a.Ac(12,rt))("downPaymentAccessibilityAttributes",a.Ac(13,at)),a.Ib(8),a.uc("analytic",e.getGa1CtaClickAnalyticObj())("buttonLink",e.ga1Url),a.Ib(9),a.cd("\n These estimated deals are intended for general educational purposes only and are not offers for vehicle sale or finance. Estimated monthly payments shown assume that a customer is purchasing a vehicle for personal use with DriveTime\u2019s average term of ",e.avgTerm," monthly payments and an APR (interest rate) of either ",a.oc(40,7,e.bestRate)," (best deal) or ",a.pc(41,9,e.avgRate,"2.1")," (average deal), based upon DriveTime transactions January 2023-September 2023. Actual amounts may vary based on vehicle availability, vehicle selection, and the verification of customer information, including customer income. Additional down required to obtain best deal. Vehicle prices on DriveTime.com exclude amounts for optional ancillary products, taxes and finance charges and, subject to state law, exclude doc fees up to $599 and other applicable fees.\n "))},directives:[et.a,O.a,D.a],pipes:[o.y],styles:["[_nghost-%COMP%]{background:linear-gradient(270deg,#c4eafa,#e5fff4 96%);background-repeat:no-repeat;background-size:cover;display:block;overflow:hidden}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%]{width:100%;overflow:hidden;margin:0 auto}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%]{margin:0 auto;position:relative;overflow:visible}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;padding:2rem 0 1.8rem;text-align:center}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{font-size:MIN(6.4vw,1.45rem);font-weight:800}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .hero-message-text[_ngcontent-%COMP%]{position:relative;z-index:10}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .hero-message[_ngcontent-%COMP%] .hero-message-text[_ngcontent-%COMP%] .subheader-text[_ngcontent-%COMP%]{font-size:MIN(1rem,4.4vw);font-weight:400;margin-top:5px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%]{margin:0 auto;background-color:#fff;width:93%;max-width:370px;border-radius:8px;box-shadow:0 3px 6px 0 rgba(0,0,0,.16)}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%] .calculator-subtext[_ngcontent-%COMP%]{font-size:MIN(4vw,.89rem);font-weight:400;line-height:1.53;text-align:center;color:#8f9aa3}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%] .finance-caluculator .slider-content{margin-bottom:1.1rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%] .finance-caluculator .slider-content .scale-filter-title{font-size:MIN(4.4vw,1rem);margin-left:4px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%] .finance-caluculator .slider-content .number-range{margin-bottom:0;font-size:MIN(4.4vw,1rem)}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%] .finance-caluculator .monthly-payment-content .monthly-payment-title{font-size:MIN(4.4vw,1.1rem);margin-bottom:5px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%] .finance-caluculator .monthly-payment-content .payment{font-size:53px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .calculator-container[_ngcontent-%COMP%] .finance-caluculator .monthly-payment-content .payment .currency{font-size:25px;bottom:20px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] .inner-hero-container[_ngcontent-%COMP%] .disclaimer-container[_ngcontent-%COMP%]{width:90%;max-width:370px;font-size:MIN(.625rem,2.8vw);color:#4e575e}@media screen and (max-width:767px){[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .finance-caluculator{padding:2rem 1.5rem 0}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .finance-caluculator .slider-content .number-range{padding:0 4px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .calculator-subtext[_ngcontent-%COMP%]{margin:1.3rem 0 .3rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{margin:0 0 0 .5px;padding:0 4% 6%}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .disclaimer-container[_ngcontent-%COMP%]{margin:1.5rem auto;line-height:.77rem}}@media screen and (min-width:768px){[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .finance-caluculator{padding:2rem 1.8rem 0}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .finance-caluculator .slider-content .number-range{padding:0 8px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .finance-caluculator .slider-content .slider-area{width:97%}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .finance-caluculator .monthly-payment-title{margin-top:30px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .calculator-subtext[_ngcontent-%COMP%]{margin:1.1rem 0 .3rem}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{padding:0 24px 24px}[_nghost-%COMP%] .hero-wrapper[_ngcontent-%COMP%] .hero-container[_ngcontent-%COMP%] > .inner-hero-container[_ngcontent-%COMP%] .disclaimer-container[_ngcontent-%COMP%]{margin:1.8rem auto;line-height:.89rem}}"],changeDetection:0}),n})(),lt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({providers:[],imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:st,data:{name:ie.f.FinanceCalculator,locateStrategy:ie.d.None,pageContent:{seo:{title:"Finance Calculator | DriveTime",description:"Personalize your payment terms on our simple financing calculator. Adjust your estimated car price, down payment and monthly payment to fit your budget. Get approved today!","og:description":"Personalize your payment terms on our simple financing calculator. Adjust your estimated car price, down payment and monthly payment to fit your budget. Get approved today!"}}}}])]]}),n})();var dt=t("itXk"),gt=t("Gu44"),ht=t("mQ5C");let pt=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-trade-in-header"]],inputs:{headerText:"headerText",subHeaderText:"subHeaderText"},decls:9,vars:2,consts:[[1,"header-container"],[1,"header-inner-container"],[1,"header",3,"innerHTML"],[1,"sub-header",3,"innerHTML"]],template:function(n,e){1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.Xb(4,"div",2),a.Yc(5,"\n "),a.Xb(6,"div",3),a.Yc(7,"\n "),a.bc(),a.Yc(8,"\n"),a.bc()),2&n&&(a.Ib(4),a.uc("innerHTML",e.headerText,a.Oc),a.Ib(2),a.uc("innerHTML",e.subHeaderText,a.Oc))},styles:[".header-container[_ngcontent-%COMP%]{margin:.5px 0 18px 16px;background:url(trade-in.c850f34be105044319a7.svg) no-repeat,url(bloop.7ba61476e6da1eeb9b1f.svg) no-repeat;background-position:right .8rem bottom 1rem,right -9.6rem bottom -.9rem}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:6.4vw;font-weight:800;line-height:1.33;max-width:10rem;margin:0 135px 10px 0;padding-top:36.5px;color:#0c2340}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{font-weight:400;font-size:4.4vw;line-height:1.45;max-width:14rem;margin:10px 106px 7.6px 0;color:#0c2340}@media screen and (min-width:414px){.header-container[_ngcontent-%COMP%]{margin-left:calc((100vw - min(350px, 90vw)) / 2)}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%]{width:83.5%}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:1.45rem}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{font-size:.89rem}}@media screen and (min-width:768px){.header-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;margin:0 0 18px 46px;padding-top:36px;border-top-right-radius:14px}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%]{width:100%;margin:0}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:2rem;line-height:1.22;padding-top:0;max-width:none}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{font-size:1rem;line-height:1.44;max-width:none;margin-bottom:0}}"]}),n})();var mt=t("5wzH"),ut=t("x+j5");const bt=function(){return{category:"TradeIn",label:"CallDealership"}};function Ct(n,e){if(1&n&&(a.cc(0,"div",1),a.Yc(1,"\n\t"),a.cc(2,"div",2),a.Yc(3,"\n\t\t"),a.cc(4,"div",3),a.Yc(5,"\n\t\t\t"),a.cc(6,"div",4),a.Yc(7,"\n\t\t\t\t"),a.Xb(8,"span",5),a.Yc(9,"\n\t\t\t\t"),a.cc(10,"div",6),a.Yc(11,"\n\t\t\t\t\t"),a.cc(12,"div",7),a.Yc(13),a.nc(14,"capitalizeAddress"),a.bc(),a.Yc(15,"\n\t\t\t\t\t"),a.cc(16,"div",8),a.Yc(17),a.nc(18,"capitalizeAddress"),a.bc(),a.Yc(19,"\n\t\t\t\t\t"),a.cc(20,"div",9),a.Yc(21,"\n\t\t\t\t\t\t"),a.cc(22,"span",10),a.Yc(23),a.nc(24,"capitalizeAddress"),a.bc(),a.Yc(25,",\n\t\t\t\t\t\t"),a.cc(26,"span",11),a.Yc(27),a.nc(28,"uppercase"),a.bc(),a.Yc(29,"\n\t\t\t\t\t\t"),a.cc(30,"span",12),a.Yc(31),a.bc(),a.Yc(32,"\n\t\t\t\t\t"),a.bc(),a.Yc(33,"\n\t\t\t\t"),a.bc(),a.Yc(34,"\n\t\t\t"),a.bc(),a.Yc(35,"\n\t\t"),a.bc(),a.Yc(36,"\n\t\t"),a.cc(37,"dtm-link",13),a.nc(38,"phoneNumber"),a.Yc(39,"\n\t\t"),a.bc(),a.Yc(40,"\n\t"),a.bc(),a.Yc(41,"\n"),a.bc()),2&n){const n=a.mc();a.Ib(13),a.Zc(a.oc(14,9,n.dealership.DealershipName)),a.Ib(4),a.ad("",a.oc(18,11,n.dealership.AddressLine1),"\n\t\t\t\t\t"),a.Ib(6),a.Zc(a.oc(24,13,n.dealership.City)),a.Ib(4),a.Zc(a.oc(28,15,n.dealership.StateAbbreviation)),a.Ib(4),a.Zc(n.dealership.Zip5),a.Ib(6),a.wc("linkUrl","tel:",n.dealership.PhoneNumber,""),a.vc("text",a.oc(38,17,n.dealership.PhoneNumber.toString())),a.uc("analytic",a.Ac(19,bt))("internalRoute",!1)}}let _t=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-trade-in-dealership"]],inputs:{dealership:"dealership"},decls:1,vars:1,consts:[["class","address",4,"ngIf"],[1,"address"],[1,"address-inner-container"],[1,"location-address"],[1,"address-left-container"],["includeSVG","dt-glyph-map-pin",1,"dealership-icon"],[1,"address-details"],[1,"dealership-name"],["itemprop","streetAddress",1,"address-values1"],[1,"address-values2"],["itemprop","addressLocality"],["itemprop","addressRegion"],["itemprop","postalCode"],["ariaLabel","Contact Dealership","linkClass","inline-block-link","tabIndex","-1",1,"address-contact",3,"analytic","internalRoute","linkUrl","text"]],template:function(n,e){1&n&&a.Wc(0,Ct,42,20,"div",0),2&n&&a.uc("ngIf",e.dealership.DealershipName)},directives:[o.p,M.g,U.a,D.a],pipes:[mt.a,o.B,ut.a],styles:[".address[_ngcontent-%COMP%]{padding:12px 14px 12px 10px;margin:0 16px;border-radius:8px;background-color:#f7f7f7}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .dealership-icon[_ngcontent-%COMP%]{fill:#00af66;width:22px;height:22px;margin:3px 4px 34px 0}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .dealership-name[_ngcontent-%COMP%]{font-size:4vw;font-weight:600;line-height:1.53;text-align:left;color:#00af66}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .address-values1[_ngcontent-%COMP%], .address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .address-values2[_ngcontent-%COMP%]{font-size:3.6vw;font-weight:300;line-height:1.26;text-align:left;color:#4e575e}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .address-contact[_ngcontent-%COMP%]{font-size:4.4vw;font-weight:600;line-height:1.5;text-align:left;color:#00abe8}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .address-contact[_ngcontent-%COMP%] a{border-bottom:none!important}@media screen and (min-width:414px){.address[_ngcontent-%COMP%]{margin-left:calc((100vw - min(350px, 90vw)) / 2);max-width:350px}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%]{margin:0 auto}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .dealership-name[_ngcontent-%COMP%]{font-size:.93rem}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .address-values1[_ngcontent-%COMP%], .address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .address-values2[_ngcontent-%COMP%]{font-size:.84rem}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .address-contact[_ngcontent-%COMP%]{font-size:.89rem}}@media screen and (min-width:768px){.address[_ngcontent-%COMP%]{margin:0 46px}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .dealership-name[_ngcontent-%COMP%]{font-size:.89rem;line-height:1.5}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .address-values1[_ngcontent-%COMP%], .address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .location-address[_ngcontent-%COMP%] .address-left-container[_ngcontent-%COMP%] .address-details[_ngcontent-%COMP%] .address-values2[_ngcontent-%COMP%]{font-size:.77rem;line-height:1.3}.address[_ngcontent-%COMP%] .address-inner-container[_ngcontent-%COMP%] .address-contact[_ngcontent-%COMP%]{font-size:1rem;line-height:1.44;pointer-events:none}}"]}),n})();var ft=t("PIN6"),Pt=t("dlph"),Ot=t("JkSJ"),Mt=t("3i/f"),yt=t("jhN1");const wt=["accutradeIframe"];function vt(n,e){if(1&n){const n=a.dc();a.cc(0,"iframe",1,2),a.jc("load",function(){return a.Nc(n),a.mc().iframeLoad()}),a.Yc(2," \n"),a.bc()}if(2&n){const n=a.mc();a.uc("src",n.urlSafe,a.Pc)("height",n.iframeHeight)}}let Yt=(()=>{class n{constructor(n,e,t,c,o,i,r){this.sanitizer=n,this._appConfig=e,this._analyticsService=t,this._scrollService=c,this._linkHelper=o,this._store=i,this._leadService=r,this.iframeHeight=300,this.isBrowser=!1,this.hasIframeReady=!1,this.accutradeConfig=ft.a.configuration.accutrade,this.accuTradeAnalyticLabel="AccuTradeEvent",this.isBrowser=this._appConfig.isBrowser}ngOnChanges(n){let e=this._analyticsService.getAnalyticsSessionId(),t=I.a.generateUuid(),c=Object(Ot.c)({marketingParams:this._leadService.MarketingQueryParams(),customMarketingParams:this._leadService.CustomMarketingQueryParams(),formName:"trade-in/ga1",siteReferrer:this._appConfig.siteReferrer,webLandingPage:this._store.leadSnapshot().webLandingPage,analyticsUserId:this._analyticsService.analyticsUserId,analyticsSessionId:e,devicePlatform:this._analyticsService.platform,leadSubmissionId:t,chosenDealershipZip:this.dealership.Zip5});this._marketingParam=btoa(JSON.stringify(c));let o=n.dealership?n.dealership.currentValue.AccuTradeDealershipId:null;o&&(this.url=`${this.accutradeConfig.url}/?dlr=${this.accutradeConfig.dlr}&uuid=${o}&tc_v=${e}&pt1=${this._marketingParam}`,this.urlSafe=this.sanitizer.bypassSecurityTrustResourceUrl(this.url))}onMessageHandler(n){if(n.origin&&n.origin===this.accutradeConfig.url){let t;try{t=JSON.parse(n.data)}catch(e){n.data&&(t=n.data)}((t||{}).atOutbound||{}).initComplete&&(this.hasIframeReady=!0,ce.cmp.isNotEmpty(this.zip)&&this.passDataToIFrame({atInbound:{consumer:{postalCode:this.zip}}})),((t||{}).atOutbound||{}).event?this._analyticsService.logAnalytic(this.convertToAnalytics(t.atOutbound.event)):((t||{}).atOutbound||{}).newHeight?this.iframeHeight=t.atOutbound.newHeight+50:((t||{}).atOutbound||{}).scrollTop&&"pageChange"===((t||{}).atOutbound||{}).type&&this.scrollToTop(),t.atOutbound&&t.atOutbound.pageView&&"Error"===t.atOutbound.pageView.title&&(this._analyticsService.logAnalytic({category:"Iframe Error",label:"accu-trade iframe load error"}),this._linkHelper.navigate(this._linkHelper.errorPage500({asUrlObject:!0})))}}iframeLoad(){this._analyticsService.logFirstMeaningfulPaint()}passDataToIFrame(n){this.hasIframeReady&&this.accutradeIframe.nativeElement.contentWindow.postMessage(n,"*")}scrollToTop(){const n=this._scrollService.getElementScrollYAxisPosition(this.accutradeIframe.nativeElement);this._scrollService.smoothScroll(n)}convertToAnalytics(n){try{return{category:n.eventCategory,label:this.accuTradeAnalyticLabel,action:n.eventAction,value:JSON.stringify(n.fieldValue),additionalData:n}}catch(e){return{category:"",label:""}}}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(yt.c),a.Wb(_.a),a.Wb(p.a),a.Wb(Pt.a),a.Wb(f.a),a.Wb(Cn.a),a.Wb(Mt.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-accutrade"]],viewQuery:function(n,e){if(1&n&&a.fd(wt,1),2&n){let n;a.Jc(n=a.kc())&&(e.accutradeIframe=n.first)}},hostBindings:function(n,e){1&n&&a.jc("message",function(n){return e.onMessageHandler(n)},!1,a.Mc)},inputs:{dealership:"dealership",zip:"zip"},features:[a.Gb],decls:1,vars:1,consts:[["frameborder","0","width","375","allowfullscreen","false","webkitallowfullscreen","false","mozallowfullscreen","false","scrolling","no","class","iframe-accutrade","data-cy","accutrade-iframe","title","Accutrade",3,"src","height","load",4,"ngIf"],["frameborder","0","width","375","allowfullscreen","false","webkitallowfullscreen","false","mozallowfullscreen","false","scrolling","no","data-cy","accutrade-iframe","title","Accutrade",1,"iframe-accutrade",3,"src","height","load"],["accutradeIframe",""]],template:function(n,e){1&n&&a.Wc(0,vt,3,2,"iframe",0),2&n&&a.uc("ngIf",e.isBrowser&&e.url)},directives:[o.p],styles:[".iframe-accutrade[_ngcontent-%COMP%]{width:100%;margin-top:18px;border:0 #fff}@media screen and (min-width:768px){.iframe-accutrade[_ngcontent-%COMP%]{width:400px;margin-left:21px;margin-right:21px;margin-bottom:40px}}"]}),n})(),kt=(()=>{class n{constructor(){this.headerText="Get your real trade-in offer!",this.subHeaderText="Save time in the dealership by getting your trade-in offer online."}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-trade-in-page"]],inputs:{dealership:"dealership",zip:"zip"},decls:14,vars:5,consts:[["role","contentinfo","aria-label","AccuTrade page",1,"trade-in-page"],[1,"trade-in-header-outer-container"],[1,"trade-in-header-inner-container"],[3,"headerText","subHeaderText"],[3,"dealership"],[3,"dealership","zip"]],template:function(n,e){1&n&&(a.cc(0,"section",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.cc(4,"div",2),a.Yc(5,"\n "),a.Xb(6,"dtm-trade-in-header",3),a.Yc(7,"\n "),a.bc(),a.Yc(8,"\n "),a.bc(),a.Yc(9,"\n "),a.Xb(10,"dtm-trade-in-dealership",4),a.Yc(11,"\n "),a.Xb(12,"dtm-accutrade",5),a.Yc(13,"\n\n"),a.bc()),2&n&&(a.Ib(6),a.uc("headerText",e.headerText)("subHeaderText",e.subHeaderText),a.Ib(4),a.uc("dealership",e.dealership),a.Ib(2),a.uc("dealership",e.dealership)("zip",e.zip))},directives:[pt,_t,Yt],styles:["[_nghost-%COMP%] .trade-in-page[_ngcontent-%COMP%]{background-color:#fff;padding-bottom:10px}[_nghost-%COMP%] .trade-in-page[_ngcontent-%COMP%] .trade-in-header-outer-container[_ngcontent-%COMP%]{margin:0 auto;width:100%}[_nghost-%COMP%] .trade-in-page[_ngcontent-%COMP%] .trade-in-header-inner-container[_ngcontent-%COMP%]{margin-bottom:.5rem}@media screen and (min-width:768px){[_nghost-%COMP%] .trade-in-page[_ngcontent-%COMP%]{flex:1;max-width:442px;background-color:#fff;box-shadow:3px 3px 7px rgba(143,154,163,.3);z-index:2;border-radius:14px;margin:3.334rem auto 2rem}[_nghost-%COMP%] .trade-in-page[_ngcontent-%COMP%] .trade-in-header-outer-container[_ngcontent-%COMP%]{max-width:442px}}"],changeDetection:0}),n})();var xt=t("j7un");function It(n,e){if(1&n&&a.Xb(0,"dtm-trade-in-page",6),2&n){const n=a.mc();a.uc("dealership",n.dealership)("zip",n.zip)}}function St(n,e){1&n&&(a.Yc(0,"\n "),a.Xb(1,"dtm-dot-loader",null,3),a.Yc(3,"\n "))}let At=(()=>{class n{constructor(n,e,t,c,o,i,r,a,l){this._locationService=n,this._linkHelper=e,this._deviceInteractionService=t,this._router=c,this._memoryStoreService=o,this._dealershipService=i,this._analyticService=r,this._tradeInService=a,this._store=l,this._componentUnsubscribe=new s.a,this.showIframe=!1}ngOnInit(){Object(dt.a)(this._zipCode$,this._memoryStoreService.activeDealershipMemory().dealership$).pipe(Object(g.a)(this._componentUnsubscribe)).subscribe(([n,e])=>Object(r.a)(this,void 0,void 0,function*(){this.zip=n,ce.cmp.isDefinedAndNotNull(e)?(this.dealership=e,(yield this._tradeInService.isDealershipEligibleForAccutrade(e.DealershipNumber))?this.showIframe=!0:this.redirectToKbb(e)):ce.cmp.isNotEmpty(n)?yield this.fetchDealershipDetails(this.zip):this._linkHelper.navigate(this._linkHelper.ppcTradePage({asUrlObject:!0}))}))}fetchDealershipDetails(n){return Object(r.a)(this,void 0,void 0,function*(){try{let e=yield this._locationService.getDealershipFromZipCode(n);yield this._dealershipService.updateActiveDealership(e.DealershipNumber)}catch(e){this._analyticService.logException(e,"trade in page -> fetchDealershipDetails failed"),this._linkHelper.navigate(this._linkHelper.errorPage500({asUrlObject:!0}))}})}redirectToKbb(n){const e=this._linkHelper.kbbIcoUrl(n.KBBDealershipID),t=this._linkHelper.dealershipDetailsPage(n.City.toLowerCase(),n.StateAbbreviation.toLowerCase(),n.DealershipNumber,n.DealershipName);this._deviceInteractionService.openWithTarget(e),this._router.navigateByUrl(t)}ngOnDestroy(){this._store.dispatch(new gt.c(!1)),this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(a.Wb(te.a),a.Wb(f.a),a.Wb(P.a),a.Wb(c.d),a.Wb(ht.a),a.Wb(b.a),a.Wb(p.a),a.Wb(se.a),a.Wb(Cn.a))},n.\u0275cmp=a.Qb({type:n,selectors:[["dtm-trade-in"]],decls:15,vars:2,consts:[[1,"trade-in-outer-container"],[1,"trade-in-inner-container"],[3,"dealership","zip",4,"ngIf","ngIfElse"],["loader",""],[1,"drive-home-illustration"],["src","./../../assets/svg/drive-home-illustration.svg","alt","Car driving up the road with greenery on each side and clouds"],[3,"dealership","zip"]],template:function(n,e){if(1&n&&(a.cc(0,"div",0),a.Yc(1,"\n "),a.cc(2,"div",1),a.Yc(3,"\n "),a.Wc(4,It,1,2,"dtm-trade-in-page",2),a.Yc(5,"\n "),a.Wc(6,St,4,0,"ng-template",null,3,a.Xc),a.Yc(8,"\n "),a.bc(),a.Yc(9,"\n "),a.cc(10,"div",4),a.Yc(11,"\n "),a.Xb(12,"img",5),a.Yc(13,"\n "),a.bc(),a.Yc(14,"\n"),a.bc()),2&n){const n=a.Kc(7);a.Ib(4),a.uc("ngIf",e.showIframe)("ngIfElse",n)}},directives:[o.p,kt,xt.a],styles:["[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;background:linear-gradient(270deg,#c4eafa 2%,#e5fff4 99%)}[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%] .drive-home-illustration[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%] .trade-in-inner-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media screen and (min-width:768px){[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%]{width:100%;position:relative;padding-bottom:325px;justify-content:center;align-items:center}[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%] .drive-home-illustration[_ngcontent-%COMP%]{display:block;position:absolute;bottom:-8px;width:1750px}[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%] .trade-in-inner-container[_ngcontent-%COMP%]{margin:0 auto;max-width:950px;z-index:149}[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%] .trade-in-inner-container[_ngcontent-%COMP%] .trade-in-page[_ngcontent-%COMP%]{flex:1;max-width:442px;background-color:#fff;box-shadow:3px 3px 7px rgba(143,154,163,.3);z-index:2;border-radius:14px;margin:2.25rem auto 2rem}[_nghost-%COMP%] .trade-in-outer-container[_ngcontent-%COMP%] .trade-in-inner-container[_ngcontent-%COMP%] .trade-in-page[_ngcontent-%COMP%] .trade-in-header-outer-container[_ngcontent-%COMP%]{max-width:442px}}"]}),Object(r.b)([Object(A.e)(n=>n.app.location.currentLocation.zipCode),Object(r.d)("design:type",l.a)],n.prototype,"_zipCode$",void 0),n})(),Tt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[o.c,i.a,c.e.forChild([{path:"",pathMatch:"full",component:At}])]]}),n})(),zt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[yn],yn]}),n})(),Lt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[Yn],Yn]}),n})(),Dt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[ne],ne]}),n})(),Ut=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[Ln],Ln]}),n})(),Ht=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[Hn],Hn]}),n})(),Wt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[Ue],Ue]}),n})(),Rt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[Nn],Nn]}),n})(),jt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[En],En]}),n})(),Nt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[Zn],Zn]}),n})(),Xt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[we],we]}),n})(),qt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[xe],xe]}),n})(),Et=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[ze],ze]}),n})(),$t=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[$e],$e]}),n})(),Gt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[nt],nt]}),n})(),Bt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[lt],lt]}),n})(),Vt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=a.Ub({type:n}),n.\u0275inj=a.Tb({imports:[[Tt],Tt]}),n})()}}]);