1import{a as pe,b as Ie}from"./chunk-3HI2O7CP.js";import{a as ae,b as Le}from"./chunk-YZDPC6CF.js";import{a as b,b as Ne,c as re,d as Re}from"./chunk-AQ5E4K3H.js";import{c as ne,d as Me}from"./chunk-ERM6HKKE.js";import"./chunk-AAT4S4MF.js";import"./chunk-6W52NLSV.js";import"./chunk-UTMQI7RT.js";import{a as ie,b as ye}from"./chunk-FARSWLXK.js";import"./chunk-5WVZTYEP.js";import"./chunk-JYH4CYRV.js";import"./chunk-YRK7EAYF.js";import"./chunk-7WVJHC2I.js";import"./chunk-Z6MUJC5I.js";import"./chunk-6YXAXCT2.js";import"./chunk-2EUUB2FF.js";import"./chunk-M5U7TBQY.js";import"./chunk-QHDGFVN6.js";import"./chunk-J63DLOQE.js";import"./chunk-REFE73BF.js";import"./chunk-DGMAVLIK.js";import"./chunk-WSKQ526P.js";import"./chunk-ZPJRKSKZ.js";import{a as te,c as xe}from"./chunk-2DBWLJHR.js";import"./chunk-UKIK4OEG.js";import"./chunk-CCCVMNJV.js";import"./chunk-6EOB2HPA.js";import{d as le,e as ke,f as se,h as Te}from"./chunk-7UPSB2BJ.js";import"./chunk-LCPMNB2O.js";import"./chunk-H5K33TYI.js";import"./chunk-LJNNO77I.js";import"./chunk-LHOBQYYP.js";import"./chunk-4MHAJQLG.js";import"./chunk-QDPJZRGL.js";import{a as oe,c as Se}from"./chunk-V54KNOGT.js";import"./chunk-IEMEVY5Y.js";import"./chunk-6W466ENG.js";import"./chunk-T4BY2JUZ.js";import"./chunk-7HCYKN5H.js";import"./chunk-I5B7QD4B.js";import"./chunk-TE7VC3R7.js";import"./chunk-ISPPHUIZ.js";import"./chunk-MILODGTE.js";import"./chunk-SD646YB5.js";import"./chunk-3BWZVUJL.js";import{p as ee,q as he}from"./chunk-IWKBXVIY.js";import{wa as Pe}from"./chunk-WIGKG7EH.js";import"./chunk-PR3URSUW.js";import"./chunk-C6I7KDV5.js";import"./chunk-OHXJHRFB.js";import"./chunk-S3VKEDML.js";import"./chunk-UY7JRKWY.js";import"./chunk-3B3W6R6K.js";import"./chunk-XEXWZOGE.js";import{x as W,y as be}from"./chunk-AWM5Z66J.js";import{b as K,f as _e}from"./chunk-GYJ2GKNC.js";import"./chunk-3VZP7BFF.js";import"./chunk-FZJDKUXZ.js";import"./chunk-ODQGHEHW.js";import"./chunk-GLFOMSDH.js";import"./chunk-RKWB3VPQ.js";import"./chunk-HITMRI24.js";import{$ as Y,V as X}from"./chunk-CJE2JCLT.js";import{a as Z,b as ve}from"./chunk-WOXBFI2L.js";import{a as Q}from"./chunk-LUCNCVZW.js";import"./chunk-2MHT3KBS.js";import"./chunk-PMOKQO75.js";import{R as fe,y as J}from"./chunk-SEOSB6FY.js";import"./chunk-6JJ3XKGQ.js";import{a as q,d as ge}from"./chunk-FAHDQ5X2.js";import"./chunk-7XZPU7YX.js";import{n as H,x as we}from"./chunk-QZ6V5NY3.js";import{h as j,u as z,v as Ce}from"./chunk-R2M3QBBK.js";import"./chunk-KGGOHSQO.js";import"./chunk-R2RDTO7T.js";import{Aa as x,Ac as S,Cc as r,Fd as P,Hb as A,I as f,Lb as E,Oc as M,Pa as ue,Qc as O,Ra as G,Rc as V,Tc as $,Zd as N,ba as B,da as v,ec as l,gc as p,ia as de,lc as s,ma as U,mb as D,mc as u,n as _,nc as c,oc as m,ra as g,sb as n,ud as C,vc as y,vd as w,w as I,wd as F,z as T,za as h}from"./chunk-NKYWAUTV.js";import{d as k}from"./chunk-YZFYTRZT.js";function Ue(e,d){if(e&1&&(u(0,"div"),C(1,"pwrbreakpoint"),m(2,"pwr-navigation-menu",9),c()),e&2){let t=r(2),i=r();M("container",w(1,5,"gt-sm")),n(2),s("navItems",i.subNavItems())("mainNavItem",i.mainNavItem())("mainNavItemLogo",t.subNavigation==null?null:t.subNavigation.mainNavigationMediaUrl)}}function Ge(e,d){if(e&1&&m(0,"pwr-ribbon-main-new",2),e&2){let t=r(2);s("modelConfig",t.aboveGrid)}}function De(e,d){if(e&1){let t=y();u(0,"div",8)(1,"pwr-lib-button",10),C(2,"transloco"),S("buttonClick",function(){h(t);let a=r(3);return x(a.startNewCase())}),c()()}e&2&&(n(),s("text",w(2,1,"RePower.Calculator.Button")))}function Ae(e,d){if(e&1&&m(0,"pwr-ribbon-main-new",2),e&2){let t=r(2);s("modelConfig",t.belowGrid)}}function Ee(e,d){if(e&1&&(l(0,Ue,3,7,"div",1),l(1,Ge,1,1,"pwr-ribbon-main-new",2),u(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6),m(6,"div",7),C(7,"safe"),c(),l(8,De,3,3,"div",8),c()()(),l(9,Ae,1,1,"pwr-ribbon-main-new",2)),e&2){let t=r(),i=r();p(i.subNavItems().length>0?0:-1),n(),p(t.aboveGrid?1:-1),n(5),s("innerHTML",F(7,5,t.rePowerRte??"","html"),D),n(2),p(i.enableBuybackCalculator?8:-1),n(),p(t.belowGrid?9:-1)}}function Oe(e,d){if(e&1&&m(0,"pwr-ribbon-main-new",11),e&2){let t=r(2);s("modelConfig",t.aboveGridContent)("ribbonContainerLayout","narrow")}}function Ve(e,d){if(e&1){let t=y();u(0,"button",16),S("click",function(){h(t);let a=r(3);return x(a.goBack())}),m(1,"pwr-lib-icon",17),u(2,"span",18),V(3),C(4,"transloco"),c()()}e&2&&(n(),s("icon","pwr-icon-arrow-back"),n(2),$(" ",w(4,2,"General.Back")," "))}function $e(e,d){if(e&1&&m(0,"pwr-ribbon-main-new",11),e&2){let t=r(2);s("modelConfig",t.belowGridContent)("ribbonContainerLayout","narrow")}}function Fe(e,d){if(e&1&&(u(0,"div",0),l(1,Oe,1,2,"pwr-ribbon-main-new",11),u(2,"div",3)(3,"div",4)(4,"div",12),l(5,Ve,5,4,"button",13),c(),u(6,"div",14),m(7,"img",15),C(8,"pwrbreakpoint"),C(9,"transloco"),c(),m(10,"pwr-re-power-new-case-v2"),c()(),l(11,$e,1,2,"pwr-ribbon-main-new",11),c()),e&2){let t=r(),i=r();n(),p(t.aboveGridContent?1:-1),n(),M("pt-spacer-none",!(!(t.aboveGridContent==null||t.aboveGridContent.model==null||t.aboveGridContent.model.sections==null)&&t.aboveGridContent.model.sections.length)),n(3),p(i.step()===i.RePowerNewCaseStep.CaseSummary?5:-1),n(2),O(w(8,9,"lt-md")?"h-56":"h-64"),s("ngSrc",i.rePowerLogo)("alt",w(9,11,"RePower.Logo.AltText")),n(4),p(t.belowGridContent?11:-1)}}function je(e,d){if(e&1&&l(0,Ee,10,8)(1,Fe,12,13,"div",0),e&2){let t=r();p(t.showNewCaseTemplate()?1:0)}}var ce,me=k(()=>{"use strict";Ce();N();we();fe();Pe();ve();de();ue();ye();Te();Se();Le();Ne();Re();be();he();Ie();Me();ge();_e();N();ce=(()=>{class e extends ie{constructor(){let t=g(ee),i=g(H);super(se.repower),this.rePowerCaseService=g(re),this.confService=g(W),this.window=g(q),this.sourceComponent="RePowerPageComponent",this.showNewCaseTemplate=oe(this.rePowerCaseService.getState$().pipe(_(o=>o.step!==b.Intro)),{initialValue:!1}),this.rePowerLogo=this.confService.RePowerLogo,this.RePowerNewCaseStep=b,this.step=P(()=>this.rePowerCaseService.state().step),this.subNavItems=P(()=>this.pageModel()?.Model?.subNavigation?.childNavigation??[]),this.mainNavItem=P(()=>this.pageModel()?.Model?.subNavigation?.mainNavigation);let a=this.rePowerCaseService;this.pageModel$=this.getPageModel$().pipe(_(o=>o.Model),K()),this.isLoggedIn$=t.getCustomer$().pipe(_(o=>!!o)),this.enableBuybackCalculator=this.confService.appSettings.rePowerCalculatorEnabled,this.enableBuybackCalculator&&I(1500).pipe(B(()=>a.getCategories$()),f(1),v(this._unsubscribeAllSubject)).subscribe(()=>{}),this.pageModel$.pipe(f(1),v(this._unsubscribeAllSubject)).subscribe(o=>{let R;if(o.rePowerInstructionsLinkUrl){let L=new URL(o.rePowerInstructionsLinkUrl);R=L.pathname+L.search}a.updateState({rePowerInstructionsLinkUrl:R,rePowerTermsLinkUrl:o.rePowerTermsLinkUrl,rePowerFrontPageLinkUrl:o.rePowerFrontPageLinkUrl}),a.state().sourceComponent||a.updateState({sourceComponent:this.sourceComponent})}),i.queryParams.pipe(_(o=>o.open),T(o=>!!o&&this.enableBuybackCalculator),f(1),v(this._unsubscribeAllSubject)).subscribe(()=>this.startNewCase())}startNewCase(){this.showNewCaseTemplate()||this.rePowerCaseService.updateState({step:b.Category}),this.window.scrollTo(0,0)}ngOnDestroy(){super.ngOnDestroy(),queueMicrotask(()=>this.rePowerCaseService.resetState())}goBack(){this.rePowerCaseService.updateState({step:b.Questions})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=A({type:e,selectors:[["pwr-re-power-page"]],features:[E],decls:2,vars:3,consts:[[1,"container-narrow"],[3,"container"],[3,"modelConfig"],[1,"section","section-white"],[1,"container"],["fxLayout","column",1,"m-spacer-basic"],[1,"w-100-p","mb-spacer-mini"],[1,"text-body-1",3,"innerHTML"],["fxLayoutAlign","center center"],[3,"navItems","mainNavItem","mainNavItemLogo"],["data-testid","repower-calculator-button","color","secondary","size","large",3,"buttonClick","text"],[3,"modelConfig","ribbonContainerLayout"],[1,"h-48"],["type","button","fxLayout","row","fxLayoutAlign","start center",1,"no-style","power-primary-900-fg","power-primary-600-fg-hover","cursor-pointer","pwr-body-2","pwr-font-medium"],["fxLayoutAlign","center center",1,"mb-spacer-basic","p-spacer-mini","w-100-
1p","h-64"],["width","300","height","71","disableOptimizedSrcset","",1,"logo",3,"ngSrc","alt"],["type","button","fxLayout","row","fxLayoutAlign","start center",1,"no-style","power-primary-900-fg","power-primary-600-fg-hover","cursor-pointer","pwr-body-2","pwr-font-medium",3,"click"],[3,"icon"],[1,"underline"]],template:function(i,a){if(i&1&&(l(0,je,2,1),C(1,"async")),i&2){let o;p((o=w(1,1,a.pageModel$))?0:-1,o)}},dependencies:[pe,ne,Z,ae,z,Q,j,J,X,Y],styles:[`.logo[_ngcontent-%COMP%]{width:auto}.underline[_ngcontent-%COMP%]{text-decoration:underline} 2/*# sourceMappingURL=re-power-page.component-OUKZ2JMM.css.map */`],changeDetection:0})}}return e})()});var _t,bt,ze=k(()=>{xe();ke();me();N();_t=(()=>{class e extends te{getBaseRoute(){return le.RePower}static{this.\u0275fac=(()=>{let t;return function(a){return(t||(t=G(e)))(a||e)}})()}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})(),bt=[{path:"",component:ce}]});ze();export{_t as RePowerNewCaseV2RootPathProvider,bt as default}; 3//# sourceMappingURL=chunk-FU7XBB4E.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.