1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["default-src_app_shared_components_bs-components_bs-home-savings-calculator_bs-home-savings-ca-514cc4"],{56487:function(e,t,n){n.d(t,{J:function(){return g}});var o=n(74788),i=n(48378),r=n(95825),a=n(92599),l=n(84913),s=n(12057);const c=["dHelpIc"];function d(e,t){if(1&e){const e=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",8),o.\u0275\u0275elementStart(1,"h2",9),o.\u0275\u0275elementStart(2,"span",10),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"button",11,12),o.\u0275\u0275listener("click",function(t){return o.\u0275\u0275restoreView(e),o.\u0275\u0275nextContext(2).toggleTitleHelp(t)})("mouseenter",function(){return o.\u0275\u0275restoreView(e),o.\u0275\u0275nextContext(2).openTitleHelp()})("mouseleave",function(){return o.\u0275\u0275restoreView(e),o.\u0275\u0275nextContext(2).closeTitleHelp()})("focus",function(){return o.\u0275\u0275restoreView(e),o.\u0275\u0275nextContext(2).openTitleHelp()})("blur",function(){return o.\u0275\u0275restoreView(e),o.\u0275\u0275nextContext(2).closeTitleHelp()}),o.\u0275\u0275namespaceSVG(),o.\u0275\u0275elementStart(6,"svg",13),o.\u0275\u0275element(7,"circle",14),o.\u0275\u0275element(8,"path",15),o.\u0275\u0275element(9,"circle",16),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275namespaceHTML(),o.\u0275\u0275elementStart(10,"div",17),o.\u0275\u0275listener("click",function(e){return e.stopPropagation()}),o.\u0275\u0275text(11),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()}if(2&e){const e=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(1),o.\u0275\u0275classProp("px-3","lower"==e.from||"outage"==e.from),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(e.title),o.\u0275\u0275advance(1),o.\u0275\u0275attribute("aria-expanded",e.titleHelpOpen),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("--arrow-x",e.titleHelpArrowX),o.\u0275\u0275property("hidden",!e.titleHelpOpen),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1(" ",e.titleHelp," ")}}function p(e,t){if(1&e&&(o.\u0275\u0275elementStart(0,"h2",18),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&e){const e=o.\u0275\u0275nextContext(2);o.\u0275\u0275classProp("px-3","lower"==e.from||"outage"==e.from),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1(" ",e.title," ")}}function m(e,t){if(1&e&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,d,12,8,"div",6),o.\u0275\u0275template(2,p,2,3,"ng-template",null,7,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275elementContainerEnd()),2&e){const e=o.\u0275\u0275reference(3),t=o.\u0275\u0275nextContext();o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",t.titleHelp)("ngIfElse",e)}}function u(e,t){if(1&e&&(o.\u0275\u0275elementStart(0,"p",18),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&e){const e=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("px-3","lower"==e.from||"outage"==e.from),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1(" ",e.title," ")}}let g=(()=>{class e{constructor(e,t,n){this._cartService=e,this._router=t,this._httpService=n,this.hideHeader=!1,this.hideRating=!1,this.btnEstimateText=null,this.queryParams=null,this.title="",this.titleTag="p",this.titleHelp="",this.providerVariant="select",this.populateQueryParams=!1,this.compactFeedbackPanel=!1,this.eventRemoveBillFromCheckout=new o.EventEmitter,this.promo="smbiz",this.titleHelpOpen=!1,this.titleHelpArrowX="24px"}ngOnInit(){"dashboard"===this.from&&(this._resetSub=this._cartService.dashboardCalculatorResetSubject.subscribe(()=>{var e;return null===(e=this.formEstimateSavingsComponent)||void 0===e?void 0:e.resetAfterHandoff()}))}ngOnDestroy(){var e;null===(e=this._resetSub)||void 0===e||e.unsubscribe()}toggleTitleHelp(e){e.stopPropagation(),this.titleHelpOpen?this.closeTitleHelp():this.openTitleHelp()}openTitleHelp(){!this.titleHelp||(this._positionTitleHelpArrow(),this.titleHelpOpen=!0)}closeTitleHelp(){this.titleHelpOpen=!1}_positionTitleHelpArrow(){var e;const t=null===(e=this.dHelpIc)||void 0===e?void 0:e.nativeElement;t&&(this.titleHelpArrowX=t.offsetLeft+t.offsetWidth/2-9.5+"px")}onDocumentClickForTitleHelp(){this.titleHelpOpen&&this.closeTitleHelp()}onEscapeForTitleHelp(){this.titleHelpOpen&&this.closeTitleHelp()}focusProvider(){this.formEstimateSavingsComponent&&this.formEstimateSavingsComponent.focusProvider()}addBillToCheckout(e,t=!1){this.queryParams&&Object.assign(this._cartService.user.queryParams,this.queryParams);const n=this.from&&"SMB"==this.from;e.business=n,this._cartService.addBillToCheckout(e,t),this._cartService.calculatorSubject.next(e),n?this._router.navigate(["/account"],{queryParams:{pc:this.promo},queryParamsHandling:"merge"}):"HOME"==this.calculator_type&&!this.from&&this._httpService.isUserLogged()?this._router.navigate(["/dashboard/summary"]):("HOME"==this.calculator_type||"LOWER"==this.calculator_type||"SERVICES"==this.calculator_type)&&this._router.navigate(["/account"],{queryParams:{pc:null}})}populateForm(e){this.formEstimateSavingsComponent.populateForm(e)}removeBillFromCheckout(){this.eventRemoveBillFromCheckout.emit()}}return e.\u0275fac=function(t){return new(t||e)(o.\u0275\u0275directiveInject(r.N
1),o.\u0275\u0275directiveInject(a.F0),o.\u0275\u0275directiveInject(l.O))},e.\u0275cmp=o.\u0275\u0275defineComponent({type:e,selectors:[["bs-home-savings-calculator"]],viewQuery:function(e,t){if(1&e&&(o.\u0275\u0275viewQuery(c,5),o.\u0275\u0275viewQuery(i.e,5)),2&e){let e;o.\u0275\u0275queryRefresh(e=o.\u0275\u0275loadQuery())&&(t.dHelpIc=e.first),o.\u0275\u0275queryRefresh(e=o.\u0275\u0275loadQuery())&&(t.formEstimateSavingsComponent=e.first)}},hostBindings:function(e,t){1&e&&o.\u0275\u0275listener("click",function(){return t.onDocumentClickForTitleHelp()},!1,o.\u0275\u0275resolveDocument)("keydown.escape",function(){return t.onEscapeForTitleHelp()},!1,o.\u0275\u0275resolveDocument)},inputs:{hideHeader:"hideHeader",hideRating:"hideRating",btnEstimateText:"btnEstimateText",billType:"billType",queryParams:"queryParams",title:"title",titleTag:"titleTag",titleHelp:"titleHelp",bill:"bill",calculator_type:"calculator_type",providerVariant:"providerVariant",variant:"variant",from:"from",populateQueryParams:"populateQueryParams",compactFeedbackPanel:"compactFeedbackPanel"},outputs:{eventRemoveBillFromCheckout:"eventRemoveBillFromCheckout"},decls:6,vars:19,consts:[[1,"card","h-100"],[1,"d-flex","flex-column","card-body","px-4","pt-4","px-md-4","pb-0"],[4,"ngIf"],["class","d-block Inter-Medium font-size-16 mb-4 pb-0 calculator-title",3,"px-3",4,"ngIf"],[1,"calculator-form-shell"],[3,"populateQueryParams","bill","hideRating","calculator_type","btnEstimateText","variant","from","compactFeedbackPanel","providerVariant","eventEstimateSavings"],["class","dhelp-title",4,"ngIf","ngIfElse"],["plainCalcTitle",""],[1,"dhelp-title"],[1,"Inter-Medium","font-size-16","mb-4","pb-0","calculator-title","calculator-title--help"],[1,"calculator-title-text"],["type","button","aria-label","How this works",1,"dhelp-ic",3,"click","mouseenter","mouseleave","focus","blur"],["dHelpIc",""],["width","16","height","16","viewBox","0 0 24 24"],["cx","12","cy","12","r","9"],["d","M12 16v-4"],["cx","12","cy","8","r","1","fill","currentColor","stroke","none"],["role","tooltip",1,"dhelp-pop",3,"hidden","click"],[1,"d-block","Inter-Medium","font-size-16","mb-4","pb-0","calculator-title"]],template:function(e,t){1&e&&(o.\u0275\u0275elementStart(0,"div",0),o.\u0275\u0275elementStart(1,"div",1),o.\u0275\u0275template(2,m,4,2,"ng-container",2),o.\u0275\u0275template(3,u,2,3,"p",3),o.\u0275\u0275elementStart(4,"div",4),o.\u0275\u0275elementStart(5,"form-estimate-savings-home",5),o.\u0275\u0275listener("eventEstimateSavings",function(e){return t.addBillToCheckout(e)}),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()),2&e&&(o.\u0275\u0275classProp("bg-calculator","HOME"!==t.calculator_type)("bg-home-calculator","HOME"==t.calculator_type)("bg-calculator-services","SERVICES"==t.calculator_type),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("calculator-body-with-header",!t.hideHeader),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf","h2"===t.titleTag&&t.title),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf","h2"!==t.titleTag&&t.title),o.\u0275\u0275advance(2),o.\u0275\u0275property("populateQueryParams",t.populateQueryParams)("bill",t.billType||t.bill)("hideRating",t.hideRating)("calculator_type",t.calculator_type)("btnEstimateText",t.btnEstimateText)("variant",t.variant)("from",t.from)("compactFeedbackPanel",t.compactFeedbackPanel)("providerVariant",t.providerVariant))},directives:[s.O5,i.e],styles:[".products-viewport[data-_ngcontent-%COMP%] .carousel[data-_ngcontent-%COMP%] .carousel-indicators[data-_ngcontent-%COMP%]{bottom:-40px}.products-viewport[data-_ngcontent-%COMP%] .carousel[data-_ngcontent-%COMP%] .carousel-indicators[data-_ngcontent-%COMP%] li[data-_ngcontent-%COMP%]{background-color:#000;width:8px;height:8px;border:unset;border-radius:8px;opacity:.3}.products-viewport[data-_ngcontent-%COMP%] .carousel[data-_ngcontent-%COMP%] .carousel-indicators[data-_ngcontent-%COMP%] .active[data-_ngcontent-%COMP%]{opacity:1}h2[data-_ngcontent-%COMP%]{line-height:23px}p[data-_ngcontent-%COMP%]{line-height:18px}.bg-calculator[data-_ngcontent-%COMP%], .bg-home-calculator[data-_ngcontent-%COMP%], .bg-calculator-services[data-_ngcontent-%COMP%]{background-color:#eef7ff;border-radius:6px;box-shadow:0 0 12px rgba(0,0,0,.227)}.bg-home-calculator[data-_ngcontent-%COMP%]{background-color:#fff;box-shadow:0 0 12px rgba(0,0,0,.102);border-radius:6px;border:unset!important}.bg-home-calculator[data-_ngcontent-%COMP%] > .card-body[data-_ngcontent-%COMP%]{padding:1.25rem;padding-bottom:14px!important}.bg-calculator-services[data-_ngcontent-%COMP%]{background-color:#fff}.calculator-body-with-header[data-_ngcontent-%COMP%]{padding-top:3.25rem}.calculator-title[data-_ngcontent-%COMP%]{color:#004181!important;font-weight:501!important;line-height:19.36px!important;letter-spacing:1.44px;display:block;margin-bottom:1.25rem}.calculator-form-shell[data-_ngcontent-%COMP%]{flex:auto}",'[data-_nghost-%COMP%]{display:block}[data-_nghost-%COMP%] .card{background:#fff;border-radius:18px;box-shadow:0 14px 40px rgba(20,45,85,.102);border:0;max-width:680px;margin:0 auto;text-align:center;transition:none!important}[data-_nghost-%COMP%] .card:hover{transform:none!important;box-shadow:0 14px 40px rgba(20,45,85,.102)!important}[data-_nghost-%COMP%] .card-body{padding:30px 32px!important;text-align:center}[data-_nghost-%COMP%] .calculator-title{text-transform:uppercase;letter-spacing:.12em;font-size:12.5px!important;font-weight:800!important;color:#1f5fae;margin:0 0 10px!important;padding:0!important;text-align:center}[data-_nghost-%COMP%] .estimate-savings-primary-fields .row{display:flex;grid-gap:12px;gap:12px;margin:18px 0 14px;flex-wrap:nowrap;align-items:stretch}[data-_nghost-%COMP%] .estimate-savings-primary-fields .row>[class*=col-]{flex:1 1 0;max-width:none;padding:0!important}[data-_nghost-%COMP%] .estimate-savings-primary-fields .form-group{position:relative;margin:0!important}[data-_nghost-%COMP%] input.form-control, [data-_nghost-%COMP%] input.form-control[readonly], [data-_nghost-%COMP%] input.form-control:disabled{height:48px!important;padding:0 16px!important;border:1px solid #cfdaea!important;border-radius:10px!important;border-bottom:1px solid #cfdaea!important;font-size:14.5px;font-family:inherit;color:#2b3a4d;background:#fff!important;box-shadow:none!important;width:100%;text-align:left;line-height:46px}[data-_nghost-%COMP%] label[for^=monthly_payment]{display:none!important}[data-_nghost-%COMP%] input.form-control::-webkit-input-placeholder{color:#667485;opacity:1}[data-_nghost-%COMP%] input.form-control::-moz-placeholder{color:#667485;opacity:1}[data-_nghost-%COMP%] input.form-control::placeholder{color:#667485;opacity:1}[data-_nghost-%COMP%] ng-select.form-control{padding:0;border:0!important}[data-_nghost-%COMP%] ng-select.form-control .ng-select-container{height:52px!important;min-height:52px!important;border:1px solid #cfdaea!important;border-radius:10px;background:#fff;padding:0 16px;align-items:center;box-shadow:none!important}[data-_nghost-%COMP%] ng-select.form-control.ng-select-focused .ng-select-container{border-color:#1f5fae!important;box-shadow:none!important}[data-_nghost-%COMP%] ng-select.form-control .ng-value-container{padding:0}[data-_nghost-%COMP%] ng-select.form-control .ng-value, [data-_nghost-%COMP%] ng-select.form-control .ng-input>input, [data-_nghost-%COMP%] ng-select.form-control .ng-placeholder{font-size:14.5px;color:#2b3a4d;font-family:inherit}[data-_nghost-%COMP%] ng-select.form-control .ng-placeholder{color:#667485}[data-_nghost-%COMP%] ng-select.form-control .ng-arrow-wrapper .ng-arrow{color:#556475}[data-_nghost-%COMP%] ng-select.form-control.ng-select-opened .ng-dropdown-panel, [data-_nghost-%COMP%] ng-select.form-control .ng-dropdown-panel{border:1px solid #e2e8f1;border-radius:12px;box-shadow:0 14px 40px rgba(20,45,85,.102);margin-top:6px;padding:6px;background:#fff;z-index:1100;max-height:320px}[data-_nghost-%COMP%] ng-select.form-control.ng-select-opened .ng-dropdown-panel .ng-dropdown-panel-items, [data-_nghost-%COMP%] ng-select.form-control .ng-dropdown-panel .ng-dropdown-panel-items{max-height:308px}[data-_nghost-%COMP%] ng-select.form-control.ng-select-opened .ng-dropdown-panel .ng-option, [data-_nghost-%COMP%] ng-select.form-control .ng-dropdown-panel .ng-option{font-size:14px;color:#173a6b;border-radius:8px;padding:9px 12px}[data-_nghost-%COMP%] ng-select.form-control.ng-select-opened .ng-dropdown-panel .ng-option.ng-option-marked, [data-_nghost-%COMP%] ng-select.form-control.ng-select-opened .ng-dropdown-panel .ng-option:hover, [data-_nghost-%COMP%] ng-select.form-control .ng-dropdown-panel .ng-option.ng-option-marked, [data-_nghost-%COMP%] ng-select.form-control .ng-dropdown-panel .ng-option:hover{background:#dcebfa;color:#173a6b}[data-_nghost-%COMP%] ng-select.form-control.ng-select-opened .ng-dropdown-panel .ng-option.ng-option-selected, [data-_nghost-%COMP%] ng-select.form-control .ng-dropdown-panel .ng-option.ng-option-selected{background:#eaf3fc;font-weight:600}[data-_nghost-%COMP%] .provider_label, [data-_nghost-%COMP%] label[for^=monthly_payment]{font-size:14.5px;color:#2b3a4d}[data-_nghost-%COMP%] .estimate-savings-feedback-row{margin:0}[data-_nghost-%COMP%] .estimate-savings-feedback-copy--default{font-size:13px!important;color:#556475!important;margin:8px 0!important;padding:0!important;line-height:1.5;letter-spacing:0px!important}[data-_nghost-%COMP%] .estimate-savings-feedback-surface:not(.estimate-savings-feedback-surface--default){background:linear-gradient(135deg,#eaf3fc,#dcebfa);border:1px solid #cfe0f5;border-radius:12px;padding:14px 16px;margin:4px 0 16px;text-align:center}[data-_nghost-%COMP%] .estimate-savings-feedback-copy-strong{color:#1f5fae;font-weight:900}[data-_nghost-%COMP%] .estimate-savings-submit-row .btn{width:100%;background-color:#6f86ad!important;color:#fff!important;font-weight:700!important;font-size:14.5px!important;border-radius:10px!important;border:0!important;height:auto!important;padding:13px 22px!important;line-height:1.2!important;transition:.15s}[data-_nghost-%COMP%] .estimate-savings-submit-row .btn:hover:not([disabled]){background-color:#5e739a!important}[data-_nghost-%COMP%] .estimate-savings-submit-row .btn[disabled]{opacity:.5;cursor:not-allowed}@media (max-width: 560px){[data-_nghost-%COMP%] .estimate-savings-primary-fields .row{flex-direction:column;grid-gap:14px;gap:14px}}.dhelp-title[data-_ngcontent-%COMP%]{position:relative}.calculator-title--help[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:9px;gap:9px}.dhelp-ic[data-_ngcontent-%COMP%]{flex:none;border:none;background:none;padding:0;cursor:pointer;color:#1f5fae;display:inline-flex;align-items:center;justify-content:center;line-height:0}.dhelp-ic[data-_ngcontent-%COMP%] svg[data-_ngcontent-%COMP%]{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;display:block}.dhelp-ic[data-_ngcontent-%COMP%]:hover{color:#173a6b}.dhelp-ic[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #2c74c9;outline-offset:2px}.dhelp-pop[data-_ngcontent-%COMP%]{position:absolute;bottom:100%;margin-bottom:10px;left:0;right:0;z-index:5;background:#fff;border:1px solid #e2e8f1;border-left:4px solid #1f5fae;color:#556475;font-size:13px;line-height:1.45;padding:13px 14px;border-radius:12px;box-shadow:0 14px 36px rgba(20,45,85,.18);text-align:left;-webkit-animation:dhelpIn .18s ease;animation:dhelpIn .18s ease}.dhelp-pop[data-_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-6px;left:24px;left:var(--arrow-x, 24px);width:11px;height:11px;background:#fff;border-right:1px solid #e2e8f1;border-bottom:1px solid #e2e8f1;transform:rotate(45deg)}@-webkit-keyframes dhelpIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes dhelpIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.dhelp-pop[data-_ngcontent-%COMP%]{-webkit-animation:none;animation:none}}']}),e})()},24940:function(e,t,n){n.d(t,{Y:function(){return a}});var o=n(12057),i=n(23885),r=n(74788);let a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=r.\u0275\u0275defineInjector({imports:[[o.ez,i.C]]}),e})()},49993:function(e,t,n){n.d(t,{o:function(){return r}});var o=n(12057),i=n(74788);let r=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=i.\u0275\u0275defineInjector({imports:[[o.ez]]}),e})()},48378:function(e,t,n){n.d(t,{e:function(){return he}});var o=n(64762),i=n(74788),r=n(97245),a=n(79599),l=n(31440);const s={adt:"Home Security","at&t wireless":"Wireless","at&t wireline":"Home Security","atlantic broadband":"Landline Phone","bright house networks":"Landline Phone","cable one":"Landline Phone",centurylink:"Landline Phone",charter:"Landline Phone","charter spectrum":"Pay TV",comcast:"Home Security","comcast (xfinity)":"Home Security",cox:"Home Security",directv:"Pay TV",dish:"Pay TV","frontier communications":"Landline Phone","grande communications":"Landline Phone",hughesnet:"Internet",mediacom:"Pay TV",optimum:"Landline Phone",other:"Other",rcn:"Pay TV","rise broadband":"Landline Phone",siriusxm:"Satellite Radio",sprint:"Wireless","suddenlink communications":"Pay TV","t-mobile":"Wireless",terminix:"Other","time warner cable":"Pay TV","u.s. cellular":"Wireless",verizon:"Landline Phone","verizon wireless":"Wireless",vivint:"Home Security","wave broadband":"Landline Phone",windstream:"Landline Phone",wow:"Landline Phone"};var c=n(98839),d=n(34689),p=n(74294),m=n(74703),u=n(92599),g=n(95825),f=n(84913),v=n(55198),h=n(12057),b=n(50270),x=n(65899);let _=(()=>{class e{constructor(e,t){this.elementRef=e,this.renderer=t,this.prefix="$ ",this.decimalLimit=2,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this._writeDisplayValue(this._formatValue(e,!0))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}handleInput(e){const t=this._formatValue(e,!1);this._writeDisplayValue(t),this.onChange(t),this._moveCaretToEnd()}handleBlur(){const e=this.elementRef.nativeElement.value,t=this._formatValue(e,!0);this._writeDisplayValue(t),(t||"")!==(e||"")&&this.onChange(t),this.onTouched()}_writeDisplayValue(e){this.renderer.setProperty(this.elementRef.nativeElement,"value",e||"")}_moveCaretToEnd(){const e=this.elementRef.nativeElement,t=e.value.length;document.activeElement===e&&requestAnimationFrame(()=>e.setSelectionRange(t,t))}_formatValue(e,t){const n=(null!=e?e:"").toString().replace(/[^\d.]/g,"").replace(/(\..*)\./g,"$1");if(!n)return null;const o=n.includes("."),[i="",r=""]=n.split(".");let a=i;
1a=a.replace(/^0+(?=\d)/,""),!a&&(o||r)&&(a="0");const l=r.slice(0,this.decimalLimit);if(!a&&!l&&!o)return null;let s=this._formatIntegerPart(a||"0");return t&&o?s+="."+l.padEnd(this.decimalLimit,"0"):!t&&o?s+="."+l:t&&(s+=".00"),`${this.prefix}${s}`}_formatIntegerPart(e){return e.replace(/\B(?=(\d{3})+(?!\d))/g,",")}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2))},e.\u0275dir=i.\u0275\u0275defineDirective({type:e,selectors:[["input","bsHomeAmountInput",""]],hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("input",function(e){return t.handleInput(e.target.value)})("blur",function(){return t.handleBlur()})},features:[i.\u0275\u0275ProvidersFeature([{provide:b.NG_VALUE_ACCESSOR,useExisting:(0,i.forwardRef)(()=>e),multi:!0}])]}),e})();var y=n(86846);function C(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",25),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).clearProviderSelection(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function P(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",21),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(3).toggleProviderDropdown()})("keydown.enter",function(t){i.\u0275\u0275restoreView(e);const n=i.\u0275\u0275nextContext(3);return t.preventDefault(),n.toggleProviderDropdown()})("keydown.space",function(t){i.\u0275\u0275restoreView(e);const n=i.\u0275\u0275nextContext(3);return t.preventDefault(),n.toggleProviderDropdown()}),i.\u0275\u0275elementStart(1,"span",22),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,C,2,0,"span",23),i.\u0275\u0275elementStart(4,"span",24),i.\u0275\u0275text(5,"\u25be"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(3);i.\u0275\u0275attribute("aria-controls","prov-menu-"+e.uuid)("aria-expanded",e.providerDropdownOpen),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.selectedProviderLabel||"Service provider*"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.selectedProviderLabel)}}function w(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",31),i.\u0275\u0275listener("mousedown",function(e){return e.preventDefault()})("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).clearProviderSelection(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function O(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",26),i.\u0275\u0275elementStart(1,"input",27,28),i.\u0275\u0275listener("focus",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(3).onProviderComboFocus()})("click",function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275nextContext(3);return t.providerDropdownOpen||t.onProviderComboFocus()})("input",function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275reference(2),n=i.\u0275\u0275nextContext(3);return n.onProviderSearch(t.value),n.providerDropdownOpen=!0})("keydown",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(3).onProviderKeydown(t)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,w,2,0,"span",29),i.\u0275\u0275elementStart(4,"span",30),i.\u0275\u0275listener("mousedown",function(e){return e.preventDefault()})("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(3).toggleProviderComboFromCaret(t)}),i.\u0275\u0275text(5,"\u25be"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(1),i.\u0275\u0275property("value",e.providerDropdownOpen?e.providerSearchTerm:e.selectedProviderLabel),i.\u0275\u0275attribute("aria-controls","prov-menu-"+e.uuid)("aria-expanded",e.providerDropdownOpen)("aria-activedescendant",e.providerDropdownOpen&&e.provHi>-1?"prov-opt-"+e.uuid+"-"+e.provHi:null),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",e.selectedProviderLabel&&!e.providerDropdownOpen)}}
1function M(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",38),i.\u0275\u0275elementStart(1,"input",39,40),i.\u0275\u0275listener("input",function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275reference(2);return i.\u0275\u0275nextContext(4).onProviderSearch(t.value)})("keydown",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).onProviderKeydown(t)})("click",function(e){return e.stopPropagation()}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(4);i.\u0275\u0275advance(1),i.\u0275\u0275property("value",e.providerSearchTerm)}}function S(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",41),i.\u0275\u0275text(1,"Loading providers\u2026"),i.\u0275\u0275elementEnd())}function k(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"span",45),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext().$implicit,t=i.\u0275\u0275nextContext(4);i.\u0275\u0275property("ngClass",t.categoryClass(e)),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(t.categoryLabel(e))}}function E(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",42),i.\u0275\u0275listener("mouseenter",function(){const t=i.\u0275\u0275restoreView(e).index;return i.\u0275\u0275nextContext(4).provHi=t})("click",function(){const t=i.\u0275\u0275restoreView(e).$implicit;return i.\u0275\u0275nextContext(4).selectProviderOption(t)}),i.\u0275\u0275elementStart(1,"span",43),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,k,2,2,"span",44),i.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit,n=t.index,o=i.\u0275\u0275nextContext(4);i.\u0275\u0275classProp("hl",o.provHi===n),i.\u0275\u0275attribute("id","prov-opt-"+o.uuid+"-"+n)("aria-selected",o.provHi===n),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.provider_name),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e._category_label)}}function I(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",46),i.\u0275\u0275text(1,"No providers match."),i.\u0275\u0275elementEnd())}function V(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",32),i.\u0275\u0275template(1,M,3,1,"div",33),i.\u0275\u0275elementStart(2,"div",34),i.\u0275\u0275template(3,S,2,0,"div",35),i.\u0275\u0275template(4,E,4,6,"div",36),i.\u0275\u0275template(5,I,2,0,"div",37),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(3);i.\u0275\u0275attribute("id","prov-menu-"+e.uuid),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","combobox"!==e.providerVariant),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",e.categoryList.loading&&!e.providerList.length),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",e.filteredProviderList),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",!e.categoryList.loading&&!e.filteredProviderList.length)}}function D(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",50),i.\u0275\u0275element(1,"i"),i.\u0275\u0275element(2,"i"),i.\u0275\u0275element(3,"i"),i.\u0275\u0275elementEnd())}function L(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",51),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"div",52),i.\u0275\u0275element(4,"span",53),i.\u0275\u0275text(5),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u0275\u0275nextContext(4);i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate1("",e.formatCompactSavings(e.bill.getTotalExpectedSavingsPerYear()/12),"/mo"),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",e.bill.success_rate||90,"% chance")}}function T(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",47),i.\u0275\u0275template(1,D,4,0,"div",48),i.\u0275\u0275template(2,L,6,2,"ng-container",49),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.flag_estimate),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",!e.flag_estimate&&e.bill.expected_savings>0)}}
1function H(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",54),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(3).clearAmount(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function R(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",10),i.\u0275\u0275elementStart(2,"div",11),i.\u0275\u0275elementStart(3,"div",12),i.\u0275\u0275template(4,P,6,4,"div",13),i.\u0275\u0275template(5,O,6,5,"div",14),i.\u0275\u0275template(6,V,6,5,"div",15),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(7,"div",16),i.\u0275\u0275element(8,"input",17,18),i.\u0275\u0275template(10,T,3,2,"div",19),i.\u0275\u0275template(11,H,2,0,"span",20),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u0275\u0275nextContext(2);let t;i.\u0275\u0275advance(1),i.\u0275\u0275classProp("calc-compact--provider-only",e.new_bill&&!e.hasProviderSelection),i.\u0275\u0275advance(2),i.\u0275\u0275classProp("open",e.providerDropdownOpen)("is-empty",!e.selectedProviderLabel),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","combobox"!==e.providerVariant),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","combobox"===e.providerVariant),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.providerDropdownOpen),i.\u0275\u0275advance(1),i.\u0275\u0275classProp("has-suffix",e.showFeedbackPanel&&(e.flag_estimate||e.bill.expected_savings>0)),i.\u0275\u0275property("hidden",e.new_bill&&!e.hasProviderSelection),i.\u0275\u0275advance(1),i.\u0275\u0275classProp("has-value",e.formGroup.get("monthly_payment").value||0===e.formGroup.get("monthly_payment").value),i.\u0275\u0275propertyInterpolate1("id","monthly_payment_",e.uuid,""),i.\u0275\u0275property("bsTooltipLight",!0)("bsTooltipError",e.formGroup.get("monthly_payment"))("formControlName","monthly_payment"),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",e.showFeedbackPanel&&(e.flag_estimate||e.bill.expected_savings>0)),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",(null==(t=e.formGroup.get("monthly_payment"))?null:t.value)||0===(null==(t=e.formGroup.get("monthly_payment"))?null:t.value))}}function F(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",25),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).clearProviderSelection(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function B(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",41),i.\u0275\u0275text(1,"Loading providers\u2026"),i.\u0275\u0275elementEnd())}function G(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"span",45),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext().$implicit,t=i.\u0275\u0275nextContext(5);i.\u0275\u0275property("ngClass",t.categoryClass(e)),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(t.categoryLabel(e))}}function N(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",42),i.\u0275\u0275listener("mouseenter",function(){const t=i.\u0275\u0275restoreView(e).index;return i.\u0275\u0275nextContext(5).provHi=t})("click",function(){const t=i.\u0275\u0275restoreView(e).$implicit;return i.\u0275\u0275nextContext(5).selectProviderOption(t)}),i.\u0275\u0275elementStart(1,"span",43),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,G,2,2,"span",44),i.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit,n=t.index,o=i.\u0275\u0275nextContext(5);i.\u0275\u0275classProp("hl",o.provHi===n),i.\u0275\u0275attribute("id","prov-opt-"+o.uuid+"-"+n)("aria-selected",o.provHi===n),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.provider_name),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e._category_label)}}function A(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",46),i.\u0275\u0275text(1,"No providers match."),i.\u0275\u0275elementEnd())}function z(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",32),i.\u0275\u0275elementStart(1,"div",38),i.\u0275\u0275elementStart(2,"input",39,59),i.\u0275\u0275listener("input",function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275reference(3);return i.\u0275\u0275nextContext(4).onProviderSearch(t.value)})("keydown",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).onProviderKeydown(t)})("click",function(e){return e.stopPropagation()}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(4,"div",34),i.\u0275\u0275template(5,B,2,0,"div",35),i.\u0275\u0275template(6,N,4,6,"div",36),i.\u0275\u0275template(7,A,2,0,"div",37),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}
1if(2&e){const e=i.\u0275\u0275nextContext(4);i.\u0275\u0275attribute("id","prov-menu-"+e.uuid),i.\u0275\u0275advance(2),i.\u0275\u0275property("value",e.providerSearchTerm),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",e.categoryList.loading&&!e.providerList.length),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",e.filteredProviderList),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",!e.categoryList.loading&&!e.filteredProviderList.length)}}function j(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",54),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).clearAmount(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function q(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",56),i.\u0275\u0275elementStart(2,"div",11),i.\u0275\u0275elementStart(3,"div",12),i.\u0275\u0275elementStart(4,"div",21),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(3).toggleProviderDropdown()})("keydown.enter",function(t){i.\u0275\u0275restoreView(e);const n=i.\u0275\u0275nextContext(3);return t.preventDefault(),n.toggleProviderDropdown()})("keydown.space",function(t){i.\u0275\u0275restoreView(e);const n=i.\u0275\u0275nextContext(3);return t.preventDefault(),n.toggleProviderDropdown()}),i.\u0275\u0275elementStart(5,"span",22),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(7,F,2,0,"span",23),i.\u0275\u0275elementStart(8,"span",24),i.\u0275\u0275text(9,"\u25be"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(10,z,8,5,"div",15),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(11,"div",57),i.\u0275\u0275element(12,"input",17,18),i.\u0275\u0275template(14,j,2,0,"span",20),i.\u0275\u0275elementStart(15,"label",58),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275reference(13).focus()}),i.\u0275\u0275text(16,"My monthly bill is about $\u2026"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()}if(2&e){const e=i.\u0275\u0275nextContext(3);let t;i.\u0275\u0275advance(3),i.\u0275\u0275classProp("open",e.providerDropdownOpen)("is-empty",!e.selectedProviderLabel),i.\u0275\u0275advance(1),i.\u0275\u0275attribute("aria-controls","prov-menu-"+e.uuid)("aria-expanded",e.providerDropdownOpen),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.selectedProviderLabel||"Service provider*"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.selectedProviderLabel),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",e.providerDropdownOpen),i.\u0275\u0275advance(2),i.\u0275\u0275classProp("has-value",e.formGroup.get("monthly_payment").value||0===e.formGroup.get("monthly_payment").value),i.\u0275\u0275propertyInterpolate1("id","monthly_payment_",e.uuid,""),i.\u0275\u0275property("bsTooltipLight",!0)("bsTooltipError",e.formGroup.get("monthly_payment"))("formControlName","monthly_payment"),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",(null==(t=e.formGroup.get("monthly_payment"))?null:t.value)||0===(null==(t=e.formGroup.get("monthly_payment"))?null:t.value)),i.\u0275\u0275advance(1),i.\u0275\u0275propertyInterpolate1("for","monthly_payment_",e.uuid,"")}}function Q(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",25),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(5).clearProviderSelection(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function $(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",21),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).toggleProviderDropdown()})("keydown.enter",function(t){i.\u0275\u0275restoreView(e);const n=i.\u0275\u0275nextContext(4);return t.preventDefault(),n.toggleProviderDropdown()})("keydown.space",function(t){i.\u0275\u0275restoreView(e);const n=i.\u0275\u0275nextContext(4);return t.preventDefault(),n.toggleProviderDropdown()}),i.\u0275\u0275elementStart(1,"span",22),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,Q,2,0,"span",23),i.\u0275\u0275elementStart(4,"span",24),i.\u0275\u0275text(5,"\u25be"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}
1if(2&e){const e=i.\u0275\u0275nextContext(4);i.\u0275\u0275attribute("aria-controls","prov-menu-"+e.uuid)("aria-expanded",e.providerDropdownOpen),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.selectedProviderLabel||"Service provider*"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.selectedProviderLabel)}}function Y(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",31),i.\u0275\u0275listener("mousedown",function(e){return e.preventDefault()})("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(5).clearProviderSelection(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function U(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",26),i.\u0275\u0275elementStart(1,"input",27,63),i.\u0275\u0275listener("focus",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).onProviderComboFocus()})("click",function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275nextContext(4);return t.providerDropdownOpen||t.onProviderComboFocus()})("input",function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275reference(2),n=i.\u0275\u0275nextContext(4);return n.onProviderSearch(t.value),n.providerDropdownOpen=!0})("keydown",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).onProviderKeydown(t)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,Y,2,0,"span",29),i.\u0275\u0275elementStart(4,"span",30),i.\u0275\u0275listener("mousedown",function(e){return e.preventDefault()})("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).toggleProviderComboFromCaret(t)}),i.\u0275\u0275text(5,"\u25be"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(4);i.\u0275\u0275advance(1),i.\u0275\u0275property("value",e.providerDropdownOpen?e.providerSearchTerm:e.selectedProviderLabel),i.\u0275\u0275attribute("aria-controls","prov-menu-"+e.uuid)("aria-expanded",e.providerDropdownOpen)("aria-activedescendant",e.providerDropdownOpen&&e.provHi>-1?"prov-opt-"+e.uuid+"-"+e.provHi:null),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",e.selectedProviderLabel&&!e.providerDropdownOpen)}}function W(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",38),i.\u0275\u0275elementStart(1,"input",39,59),i.\u0275\u0275listener("input",function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275reference(2);return i.\u0275\u0275nextContext(5).onProviderSearch(t.value)})("keydown",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(5).onProviderKeydown(t)})("click",function(e){return e.stopPropagation()}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(5);i.\u0275\u0275advance(1),i.\u0275\u0275property("value",e.providerSearchTerm)}}function X(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",41),i.\u0275\u0275text(1,"Loading providers\u2026 "),i.\u0275\u0275elementEnd())}function K(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"span",45),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext().$implicit,t=i.\u0275\u0275nextContext(5);i.\u0275\u0275property("ngClass",t.categoryClass(e)),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(t.categoryLabel(e))}}function J(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",42),i.\u0275\u0275listener("mouseenter",function(){const t=i.\u0275\u0275restoreView(e).index;return i.\u0275\u0275nextContext(5).provHi=t})("click",function(){const t=i.\u0275\u0275restoreView(e).$implicit;return i.\u0275\u0275nextContext(5).selectProviderOption(t)}),i.\u0275\u0275elementStart(1,"span",43),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,K,2,2,"span",44),i.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit,n=t.index,o=i.\u0275\u0275nextContext(5);i.\u0275\u0275classProp("hl",o.provHi===n),i.\u0275\u0275attribute("id","prov-opt-"+o.uuid+"-"+n)("aria-selected",o.provHi===n),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.provider_name),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e._category_label)}}function Z(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",46),i.\u0275\u0275text(1,"No providers match."),i.\u0275\u0275elementEnd())}function ee(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",32),i.\u0275\u0275template(1,W,3,1,"div",33),i.\u0275\u0275elementStart(2,"div",34),i.\u0275\u0275template(3,X,2,0,"div",35),i.\u0275\u0275template(4,J,4,6,"div",36),i.\u0275\u0275template(5,Z,2,0,"div",37),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e){const e=i.\u
10275\u0275nextContext(4);i.\u0275\u0275attribute("id","prov-menu-"+e.uuid),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","combobox"!==e.providerVariant),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",e.categoryList.loading&&!e.providerList.length),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",e.filteredProviderList),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",!e.categoryList.loading&&!e.filteredProviderList.length)}}function te(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"span",54),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).clearAmount(t)}),i.\u0275\u0275text(1,"\xd7"),i.\u0275\u0275elementEnd()}}function ne(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",60),i.\u0275\u0275elementStart(1,"div",61),i.\u0275\u0275elementStart(2,"div",11),i.\u0275\u0275elementStart(3,"div",12),i.\u0275\u0275template(4,$,6,4,"div",13),i.\u0275\u0275template(5,U,6,5,"div",14),i.\u0275\u0275template(6,ee,6,5,"div",15),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(7,"div",62),i.\u0275\u0275elementStart(8,"div",57),i.\u0275\u0275element(9,"input",17,18),i.\u0275\u0275template(11,te,2,0,"span",20),i.\u0275\u0275elementStart(12,"label",58),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275reference(10).focus()}),i.\u0275\u0275text(13,"My monthly bill is about $\u2026"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(3);let t;i.\u0275\u0275advance(3),i.\u0275\u0275classProp("open",e.providerDropdownOpen)("is-empty",!e.selectedProviderLabel),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","combobox"!==e.providerVariant),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","combobox"===e.providerVariant),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.providerDropdownOpen),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("has-value",e.formGroup.get("monthly_payment").value||0===e.formGroup.get("monthly_payment").value),i.\u0275\u0275propertyInterpolate1("id","monthly_payment_",e.uuid,""),i.\u0275\u0275property("bsTooltipLight",!0)("bsTooltipError",e.formGroup.get("monthly_payment"))("formControlName","monthly_payment"),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",(null==(t=e.formGroup.get("monthly_payment"))?null:t.value)||0===(null==(t=e.formGroup.get("monthly_payment"))?null:t.value)),i.\u0275\u0275advance(1),i.\u0275\u0275propertyInterpolate1("for","monthly_payment_",e.uuid,"")}}function oe(e,t){if(1&e&&(i.\u0275\u0275template(0,q,17,17,"ng-container",3),i.\u0275\u0275template(1,ne,14,15,"ng-template",null,55,i.\u0275\u0275templateRefExtractor)),2&e){const e=i.\u0275\u0275reference(2),t=i.\u0275\u0275nextContext(2);i.\u0275\u0275property("ngIf","portrait"==t.variant)("ngIfElse",e)}}function ie(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",72),i.\u0275\u0275elementStart(2,"div",73),i.\u0275\u0275text(3," Calculating your savings"),i.\u0275\u0275element(4,"i"),i.\u0275\u0275element(5,"i"),i.\u0275\u0275element(6,"i"),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(7,"div",74),i.\u0275\u0275element(8,"div",75),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd())}function re(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",76),i.\u0275\u0275elementStart(2,"div",77),i.\u0275\u0275element(3,"span",78),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"div",79),i.\u0275\u0275text(6," Estimated savings: "),i.\u0275\u0275elementStart(7,"b"),i.\u0275\u0275text(8),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"div",80),i.\u0275\u0275text(10," That\u2019s up to "),i.\u0275\u0275elementStart(11,"b"),i.\u0275\u0275text(12),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u
10275\u0275nextContext(5);i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1(" ",e.bill.success_rate||90,"% chance of savings"),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1("",e.formatCompactSavings(e.bill.getTotalExpectedSavingsPerYear()/12),"/mo"),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate(e.formatCompactSavings(e.bill.getTotalExpectedSavingsPerYear())),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" back over a year on your ",e.formatCompactSavings(e.monthlyPaymentValue)," bill. Create your account to confirm. ")}}function ae(e,t){if(1&e&&i.\u0275\u0275template(0,re,14,4,"ng-container",3),2&e){i.\u0275\u0275nextContext();const e=i.\u0275\u0275reference(7),t=i.\u0275\u0275nextContext(3);i.\u0275\u0275property("ngIf",t.bill.expected_savings>0)("ngIfElse",e)}}function le(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",83),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(1,"svg",84),i.\u0275\u0275element(2,"path",85),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(3,"span"),i.\u0275\u0275elementStart(4,"b"),i.\u0275\u0275text(5,"Already a great rate!"),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(6," We couldn\u2019t find savings on this bill right now \u2014 but provider rates change often. Add another bill and we\u2019ll keep an eye out for you."),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd())}function se(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",86),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(1,"svg",87),i.\u0275\u0275element(2,"circle",88),i.\u0275\u0275element(3,"path",89),i.\u0275\u0275element(4,"circle",90),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(5,"span"),i.\u0275\u0275text(6,"Enter a monthly bill greater than "),i.\u0275\u0275elementStart(7,"b"),i.\u0275\u0275text(8,"$0"),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(9," so we can estimate your savings."),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd())}function ce(e,t){if(1&e&&(i.\u0275\u0275template(0,le,7,0,"div",81),i.\u0275\u0275template(1,se,10,0,"ng-template",null,82,i.\u0275\u0275templateRefExtractor)),2&e){const e=i.\u0275\u0275reference(2),t=i.\u0275\u0275nextContext(4);i.\u0275\u0275property("ngIf",t.hasPositiveMonthlyPayment)("ngIfElse",e)}}function de(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",68),i.\u0275\u0275elementStart(2,"div",69),i.\u0275\u0275template(3,ie,9,0,"ng-container",3),i.\u0275\u0275template(4,ae,1,2,"ng-template",null,70,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275template(6,ce,3,2,"ng-template",null,71,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u0275\u0275reference(5),t=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(1),i.\u0275\u0275classProp("estimate-savings-feedback-panel--compact",t.compactFeedbackPanel||t._utilService.addBillModalOpen||t.partialEdition),i.\u0275\u0275advance(1),i.\u0275\u0275classProp("saving-with-background",!t._httpService.isUserLogged()||t.new_bill)("estimate-savings-feedback-surface--modal",t._utilService.addBillModalOpen),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",t.flag_estimate)("ngIfElse",e)}}function pe(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1,"Upload your bills and we'll estimate your potential monthly savings."),i.\u0275\u0275elementContainerEnd())}function me(e,t){1&e&&i.\u0275\u0275text(0,"Upload your current bills, and we'll automatically calculate your potential monthly savings on internet bills, wireless & cell phone plans, streaming subscriptions, and more.")}function ue(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",91),i.\u0275\u0275elementStart(1,"div",92),i.\u0275\u0275elementStart(2,"p",93),i.\u0275\u0275template(3,pe,2,0,"ng-container",3),i.\u0275\u0275template(4,me,1,0,"ng-template",null,94,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275reference(5),t=i.\u0275\u0275nextContext(3);i.\u0275\u0275classProp("estimate-savings-feedback-panel--compact",t.compactFeedbackPanel||t._utilService.addBillModalOpen||t.partialEdition),i.\u0275\u0275advance(2),i.\u0275\u0275classProp("px-md-5","dashboard"!==t.from)("text-left","dashboard"===t.from),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","dashboard"===t.from)("ngIfElse",e)}}function ge(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",64),i.\u0275\u0275elementStart(1,"div",65),i.\u0275\u0275elementStart(2,"div",66),i.\u0275\u0275template(3,de,8,8,"ng-container",3),i.\u0275\u0275template(4,ue,6,8,"ng-template",null,67,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e){const e=i.\u
10275\u0275reference(5),t=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",t.showFeedbackPanel)("ngIfElse",e)}}function fe(e,t){1&e&&i.\u0275\u0275element(0,"span",95)}function ve(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"form",1),i.\u0275\u0275elementStart(1,"div",2),i.\u0275\u0275template(2,R,12,20,"ng-container",3),i.\u0275\u0275template(3,oe,3,2,"ng-template",null,4,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(5,ge,6,2,"div",5),i.\u0275\u0275elementStart(6,"div",6),i.\u0275\u0275elementStart(7,"button",7,8),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext().saveNowClicked()}),i.\u0275\u0275template(9,fe,1,0,"span",9),i.\u0275\u0275text(10," Save Now "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275reference(4),t=i.\u0275\u0275nextContext();i.\u0275\u0275classProp("estimate-savings-form--compact",t.compactFeedbackPanel),i.\u0275\u0275property("overlay",t.flag_processing)("formGroup",t.formGroup),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf","compact"==t.variant)("ngIfElse",e),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf","compact"!==t.variant),i.\u0275\u0275advance(2),i.\u0275\u0275classProp("is-loading",t.flag_processing),i.\u0275\u0275property("disabled",t.disableSaveNow),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",t.flag_processing)}}let he=(()=>{class e{constructor(e,t,n,o,a,l,s){this._activatedRoute=e,this._cartService=t,this._httpService=n,this._storageService=o,this._utilService=a,this.cdr=l,this._elementRef=s,this.populateQueryParams=!1,this.partialEdition=!1,this.hideRating=!1,this.btnEstimateText=null,this.new_bill=!1,this.compactFeedbackPanel=!1,this.providerVariant="select",this.eventEstimateSavings=new i.EventEmitter,this.eventPartialEstimateSavings=new i.EventEmitter,this.eventRemoveBillFromCheckout=new i.EventEmitter,this.MESSAGES=r.X3,this.categoryList={loading:!1,data:[]},this.providerList=[],this.flag_processing=!1,this.main_route=!1,this.flag_estimate=!1,this.best_rate=!0,this.formSubscriptions=new c.w0,this.providerBootstrapIdleHandle=null,this.providerBootstrapTimer=null,this.providerDataReady=!1,this.providerDataPromise=null,this.providerQueryApplied=!1,this.providerDropdownOpen=!1,this.providerSearchTerm="",this.provHi=-1,this._menuRepositionHandler=null,this.uuid=this._utilService.generateUUID()}set setBill(e){this._bill=e}focusProvider(){this._ensureProviderDataLoaded().then(()=>{let e=0;const t=()=>{const n=this._elementRef&&this._elementRef.nativeElement,o=n&&(n.querySelector(".cselect-input")||n.querySelector(".provider_label"));if(o&&this.providerList.length){if(o.scrollIntoView({behavior:"smooth",block:"center"}),this.providerQueryApplied)return;return o.focus(),void(this.providerDropdownOpen||o.click())}e++<40&&setTimeout(t,100)};setTimeout(t,50)}).catch(()=>{})}get selectedProviderLabel(){var e,t,n;return(null===(n=null===(t=null===(e=this.formGroup)||void 0===e?void 0:e.get("provider"))||void 0===t?void 0:t.value)||void 0===n?void 0:n.provider_name)||""}get filteredProviderList(){const e=(this.providerSearchTerm||"").toLowerCase().trim();return e?this.providerList.filter(t=>((null==t?void 0:t.provider_name)||"").toLowerCase().includes(e)):this.providerList}toggleProviderDropdown(){this.partialEdition||(this.ensureProviderDataOnInteraction(),this.providerDropdownOpen=!this.providerDropdownOpen,this.provHi=-1,this.providerDropdownOpen&&(this.providerSearchTerm="",setTimeout(()=>{var e,t;const n=null===(t=null===(e=this._elementRef)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.querySelector(".cselect-search input");null==n||n.focus(),this._positionModalMenu()},0)))}_positionModalMenu(){var e;if(!this.new_bill)return;const t=null===(e=this._elementRef)||void 0===e?void 0:e.nativeElement,n=null==t?void 0:t.querySelector(".cselect-trigger"),o=null==t?void 0:t.querySelector(".cselect-menu");if(!n||!o)return;const i=n.getBoundingClientRect();o.style.position="fixed",o.style.top=Math.round(i.bottom+6)+"px",o.style.left=Math.round(i.left)+"px",o.style.width=Math.round(i.width)+"px",o.style.right="auto",o.style.margin="0";const r=Math.max(160,window.innerHeight-Math.round(i.bottom)-16);o.style.maxHeight=Math.min(320,r)+"px"}onProviderComboFocus(){this.partialEdition||(this.ensureProviderDataOnInteraction(),this.providerSearchTerm="",this.provHi=-1,this.providerDropdownOpen=!0,setTimeout(()=>this._positionModalMenu(),0))}onProviderSearch(e){this.providerSearchTerm=e||"",this.provHi=-1}toggleProviderComboFromCaret(e){var t,n;if(e.stopPropagation(),this.partialEdition)return;if(this.providerDropdownOpen)return void(this.providerDropdownOpen=!1);this.onProviderComboFocus();const o=null===(n=null===(t=this._elementRef)||void 0===t?void 0:t.nativeElement)||void 0===n?void 0:n.querySelector(".cselect-input");null==o||o.focus()}
1formatCompactSavings(t){t=Math.round(t||0);for(const n of e.SAVINGS_UNITS)if(t>=n.v)return"$"+(t/n.v).toFixed(1).replace(/\.0$/,"")+n.s;return"$"+t}selectProviderOption(e){var t;if(e&&(e._category_label=this.categoryLabel(e)),this.bill.provider=e,null===(t=this.formGroup.get("provider"))||void 0===t||t.setValue(e),this.providerDropdownOpen=!1,this.providerSearchTerm="",this.provHi=-1,this._syncAmountEnabledState(),this.new_bill&&this.eventEstimateSavings.emit(this.bill),this.new_bill&&"undefined"!=typeof document){const e=()=>{const e=document.querySelector(".rq-modal-content .calc-compact-field input:not([disabled]), .rq-modal-content .amt-field input:not([disabled])");e&&null!==e.offsetParent&&document.activeElement!==e&&e.focus()};[120,350,650].forEach(t=>setTimeout(e,t))}}serviceClass(e){const t=(e||"").toLowerCase();return t.includes("internet")?"cc-internet":t.includes("wireless")?"cc-wireless":t.includes("tv")?"cc-tv":t.includes("satellite")?"cc-satellite":t.includes("security")?"cc-security":t.includes("phone")||t.includes("landline")?"cc-phone":"cc-other"}categoryLabel(e){const t=e&&e._category_label||"";if("cc-other"!==this.serviceClass(t)||/other/i.test(t))return t;const n=(e&&(e.provider_name||e.name)||"").toLowerCase().trim();return s[n]||t}categoryClass(e){return this.serviceClass(this.categoryLabel(e))}onProviderKeydown(e){const t=this.filteredProviderList,n=t.length,o=e.key;"ArrowDown"===o?(e.preventDefault(),n&&(this.provHi=(this.provHi+1)%n,this._scrollProvHi())):"ArrowUp"===o?(e.preventDefault(),n&&(this.provHi=(this.provHi-1+n)%n,this._scrollProvHi())):"Enter"===o?(e.preventDefault(),this.provHi>-1&&this.provHi<n&&this.selectProviderOption(t[this.provHi])):"Home"===o?(e.preventDefault(),n&&(this.provHi=0,this._scrollProvHi())):"End"===o?(e.preventDefault(),n&&(this.provHi=n-1,this._scrollProvHi())):"Escape"===o||"Esc"===o?this.providerDropdownOpen&&(e.preventDefault(),e.stopPropagation(),this.providerDropdownOpen=!1):"Tab"===o&&(this.providerDropdownOpen=!1)}_scrollProvHi(){setTimeout(()=>{var e,t;const n=null===(t=null===(e=this._elementRef)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.querySelector(".cselect-opt.hl");n&&n.scrollIntoView({block:"nearest"})},0)}clearProviderSelection(e){var t,n;e&&e.stopPropagation(),this.bill.provider=null,null===(t=this.formGroup.get("provider"))||void 0===t||t.setValue(null),this.providerSearchTerm="",null===(n=this.formGroup.get("monthly_payment"))||void 0===n||n.setValue(""),this._syncAmountEnabledState(),this.new_bill&&this.eventRemoveBillFromCheckout.emit()}clearAmount(e){var t;e&&e.stopPropagation(),null===(t=this.formGroup.get("monthly_payment"))||void 0===t||t.setValue("")}onDocumentClickForProvider(e){var t;if(!this.providerDropdownOpen)return;const n=null===(t=this._elementRef)||void 0===t?void 0:t.nativeElement;n&&!n.contains(e.target)&&(this.providerDropdownOpen=!1)}onEscapeForProvider(){this.providerDropdownOpen&&(this.providerDropdownOpen=!1)}ngOnInit(){this.bill=new a.Y7(this._bill,{estimateOnly:"HOME"===this.calculator_type}),this.formGroup=this.bill.formEstimateSavings,this._configureHomeAmountControl(),this.main_route="/"==this._activatedRoute.snapshot._routerState.url,this.new_bill&&"undefined"!=typeof window&&(this._menuRepositionHandler=()=>{this.providerDropdownOpen&&this._positionModalMenu()},window.addEventListener("scroll",this._menuRepositionHandler,!0),window.addEventListener("resize",this._menuRepositionHandler))}ngAfterViewInit(){return(0,o.mG)(this,void 0,void 0,function*(){this.populateQueryParams&&(yield this._hydrateBillData(this._activatedRoute.snapshot.queryParams)),this._storageService.hasSeededNomCategories(this.bill.bill_type)?this._refreshView():this._scheduleProviderBootstrap(),this._onChanges(),this._focusProviderFromQuery()})}_focusProviderFromQuery(){var e,t;"HOME"!==this.calculator_type||"provider"!==((null===(t=null===(e=this._activatedRoute)||void 0===e?void 0:e.snapshot)||void 0===t?void 0:t.queryParams)||{}).calculator||setTimeout(()=>{var e,t;try{null===(t=null===(e=this._elementRef)||void 0===e?void 0:e.nativeElement)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"})}catch(n){}this.providerDropdownOpen||this.toggleProviderDropdown()},400)}ngOnDestroy(){this._resetFormSubscriptions(),this._cancelScheduledProviderBootstrap(),this._menuRepositionHandler&&"undefined"!=typeof window&&(window.removeEventListener("scroll",this._menuRepositionHandler,!0),window.removeEventListener("resize",this._menuRepositionHandler),this._menuRepositionHandler=null)}populateForm(e){return(0,o.mG)(this,void 0,void 0,function*(){e&&(yield this._hydrateBillData(e),this._refreshView(),this._onChanges(),this.cdr.markForCheck(),this._utilService.validateForm(this.formGroup,!1,!0))})}_hydrateBillData(e){return(0,o.mG)(this,void 0,void 0,function*(){if(!e)return;const t=Object.assign({},e);
1if(Object.keys(t).forEach(e=>{t[e]&&(t[e]=t[e].toString().trim().toLowerCase())}),"insurance"===t.type&&(t.type="switch"),t.type&&t.type!==this.bill.bill_type.toString().toLowerCase())return;const n=t.pro||t.provider,o=t.current_bill_amount;if(!n&&(!o||isNaN(o)))return;const i=yield this._getCategories();if(!(null==i?void 0:i.length))return;this.categoryList={loading:!1,data:i},this.providerList=this._loadProviders(i),this.providerDataReady=!0;const r={};if(n){const e=this.providerList.find(e=>e.provider_id.toString().toLowerCase()===n||e.provider_name.toString().toLowerCase()===n);e&&(r.provider=e)}o&&!isNaN(o)&&(r.monthly_payment=parseFloat(o)),Object.keys(r).length&&(this.bill.loadCustomerLeadData(r),this.formGroup=this.bill.formEstimateSavings)})}_getCategories(e=!1){return new Promise(t=>{this._storageService.getNomCategories(this.bill.bill_type,e).pipe((0,d.h)(e=>!e.loading),(0,p.q)(1)).subscribe(e=>{t(e.data||[])},()=>t([]))})}_refreshView(){this._ensureProviderDataLoaded().catch(()=>{})}_isMinimalHomeSeedProvider(e){return!!(null==e?void 0:e.home_seed_minimal)}_ensureSelectedProviderHydratedForCheckout(){var e,t,n,i;return(0,o.mG)(this,void 0,void 0,function*(){const o=null===(e=this.bill)||void 0===e?void 0:e.provider;if(!this._isMinimalHomeSeedProvider(o))return!0;const a=yield this._getCategories(!0);if(!(null==a?void 0:a.length))return this.bill.error_message=r.X3.ERR_SIGN_UP,this.cdr.markForCheck(),!1;this.categoryList={loading:!1,data:a},this.providerList=this._loadProviders(a),this.providerDataReady=!0;const l=(null===(t=o)||void 0===t?void 0:t.provider_id)||(null===(n=o)||void 0===n?void 0:n.id),s=this.providerList.find(e=>((null==e?void 0:e.provider_id)||(null==e?void 0:e.id))===l);return s?(this.bill.provider=s,null===(i=this.formGroup.get("provider"))||void 0===i||i.setValue(s,{emitEvent:!1}),this.cdr.markForCheck(),!0):(this.bill.error_message=r.X3.ERR_SIGN_UP,this.cdr.markForCheck(),!1)})}_onChanges(){var e,t,n,o;this._resetFormSubscriptions();const i=()=>{this.hasProviderSelection&&this.hasPositiveMonthlyPayment&&(this.flag_estimate=!0)};this.formSubscriptions.add((null===(e=this.formGroup.get("provider"))||void 0===e?void 0:e.valueChanges.subscribe(i))||new c.w0),this.formSubscriptions.add((null===(t=this.formGroup.get("monthly_payment"))||void 0===t?void 0:t.valueChanges.subscribe(i))||new c.w0),this.formSubscriptions.add((null===(n=this.formGroup.get("provider"))||void 0===n?void 0:n.valueChanges.pipe((0,m.b)(300)).subscribe(()=>this.estimateSavings(!!this.new_bill)))||new c.w0),this.formSubscriptions.add((null===(o=this.formGroup.get("monthly_payment"))||void 0===o?void 0:o.valueChanges.pipe((0,m.b)(300)).subscribe(()=>this.estimateSavings(!!this.new_bill,!0)))||new c.w0)}_resetFormSubscriptions(){this.formSubscriptions.unsubscribe(),this.formSubscriptions=new c.w0}ensureProviderDataOnInteraction(){this._cancelScheduledProviderBootstrap(),this._refreshView()}_loadProviders(e){const t=new Map;if(!Array.isArray(e))return[];e.forEach(e=>{if(!Array.isArray(null==e?void 0:e.providers))return;const n=(null==e?void 0:e.category_label)||(null==e?void 0:e.name)||(null==e?void 0:e.label)||"";e.providers.forEach(e=>{!(null==e?void 0:e.id)||(e&&!e._category_label&&n&&(e._category_label=n),t.set(e.id,e))})});const n=Array.from(t.values());return n.sort((e,t)=>((null==e?void 0:e.name)||"").localeCompare((null==t?void 0:t.name)||"")),n}getProvidersNotFoundText(){return this.categoryList.loading||this.providerDataPromise?r.X3.NG_SELECT_LOADING:this.providerDataReady||this.providerList.length?r.X3.NG_SELECT_ITEMS_NOTFOUND:r.X3.NG_SELECT_PENDING_SERVICE_TYPE}get hasProviderSelection(){var e,t;return!!(null===(t=null===(e=this.formGroup)||void 0===e?void 0:e.get("provider"))||void 0===t?void 0:t.value)}get hasAmountInput(){var e,t;const n=null===(t=null===(e=this.formGroup)||void 0===e?void 0:e.get("monthly_payment"))||void 0===t?void 0:t.value;return null!=n&&""!==n}get monthlyPaymentValue(){var e,t;return this._parseMonthlyPaymentValue(null===(t=null===(e=this.formGroup)||void 0===e?void 0:e.get("monthly_payment"))||void 0===t?void 0:t.value)}get hasPositiveMonthlyPayment(){return(this.monthlyPaymentValue||0)>0}get showFeedbackPanel(){return this.hasProviderSelection&&this.hasAmountInput}get disableSaveNow(){return!this.hasProviderSelection}saveNowClicked(){try{(window.dataLayer=window.dataLayer||[]).push({event:"savings_calculator_submit",provider:this.bill&&this.bill.provider&&this.bill.provider.provider_name||"",amount:String(Number(this.monthlyPaymentValue)||0)})}catch(e){}this.estimateSavings()}resetAfterHandoff(){this.new_bill||(this.ngOnInit(),this._onChanges(),this.cdr.markForCheck())}estimateSavings(e=!0,t=!1,n=(new Date).getTime(),i=1){if(this.bill.monthly_payment=this.monthlyPaymentValue,!this.hasPositiveMonthlyPayment||!this.hasProviderSelection)return this.flag_estimate=!1,this.flag_processing=!1,this.bill.expected_savings=0,this.best_rate=!0,void(e&&this.hasProviderSelection&&this.eventEstimateSavings.emit(this.bill));if((e||!this.flag_processing)&&this._utilService.validateForm(this.formGroup,!e,!e)&&!isNaN(this.bill.monthly_payment)&&this.hasPositiveMonthlyPayment){this.checksum=n,e?(this.flag_processing=!0,this.new_bill&&(this.flag_estimate=!0)):this.flag_estimate=!0;const a=r.bl.API_ENDPOINTS.PROBABILITY.replace("{biller_id}",this.bill.provider.provider_id);this._httpService.httpRequest(a,r.I5.GET,{original_monthly_amount:this.bill.monthly_payment}).then(i=>(0,o.mG)(this,void 0,void 0,function*(){const o=JSON.parse(JSON.stringify(i));if(this.checksum===n&&(parseFloat(o.biller.probability.expected_saving.toFixed(2))>0?(this.bill.expected_savings=parseFloat(o.biller.probability.expected_saving.toFixed(2)),this.bill.success_rate=Math.round(o.biller.probability.success_rate),this.best_rate=!1):(this.bill.expected_savings=0,this.best_rate=!0),e)){const e=yield this._ensureSelectedProviderHydratedFor
1Checkout();if(this.checksum!==n)return;if(!e)return this.flag_processing=!1,void(this.flag_estimate=!1);t?this.eventPartialEstimateSavings.emit(this.bill):this.eventEstimateSavings.emit(this.bill),this.best_rate=!0,this._autocompleteBillInfo(),this.ngOnInit(),this._onChanges()}this.cdr.markForCheck()})).catch(()=>{this.checksum===n&&(this.flag_processing=!1,this.flag_estimate=!1,i>0&&this.hasProviderSelection&&this.hasPositiveMonthlyPayment&&setTimeout(()=>{this.checksum===n&&this.estimateSavings(e,t,n,i-1)},900))}).finally(()=>{this.checksum===n&&(this.flag_processing=!1,this.flag_estimate=!1)})}}_configureHomeAmountControl(){var e;const t=null===(e=this.formGroup)||void 0===e?void 0:e.get("monthly_payment");!t||(t.clearValidators(),t.updateValueAndValidity({emitEvent:!1,onlySelf:!0}),this._syncAmountEnabledState())}_syncAmountEnabledState(){var e;const t=null===(e=this.formGroup)||void 0===e?void 0:e.get("monthly_payment");!t||(this.hasProviderSelection?t.disabled&&t.enable({emitEvent:!1}):t.enabled&&t.disable({emitEvent:!1}))}_parseMonthlyPaymentValue(e){if(null==e||""===e)return null;if("number"==typeof e)return isNaN(e)?null:e;const t=e.toString().replace(/[^\d.]/g,"").replace(/(\..*)\./g,"$1");if(!t)return null;const n=parseFloat(t);return isNaN(n)?null:n}_autocompleteBillInfo(){if(this._cartService.user){if(this._cartService.user.customer_contact_number){const e=this._cartService.user.customer_contact_number;["bill_service_number","secondary_phone"].forEach(t=>{var n;this.bill.bill_info.hasOwnProperty(t)&&this.bill.formBillInfo.form.get(t)&&!this.bill.touched_fields.includes(t)&&(this.bill.bill_info[t]=e,null===(n=this.bill.formBillInfo.form.get(t))||void 0===n||n.setValue(e,{onlySelf:!0,emitEvent:!1}))})}if(this._cartService.user.customer_email){const e=this._cartService.user.customer_email;["provider_account_user_email","secondary_email"].forEach(t=>{var n;this.bill.bill_info.hasOwnProperty(t)&&this.bill.formBillInfo.form.get(t)&&!this.bill.touched_fields.includes(t)&&(this.bill.bill_info[t]=e,null===(n=this.bill.formBillInfo.form.get(t))||void 0===n||n.setValue(e,{onlySelf:!0,emitEvent:!1}))})}}}_scheduleProviderBootstrap(){this.providerDataReady||this.providerList.length?this._applyProviderQuerySelection():l.f.afterWindowOnLoad(()=>{if(this.providerDataReady||this.providerList.length)return void this._applyProviderQuerySelection();const t=window,n=()=>{this.providerBootstrapIdleHandle=null,this.providerBootstrapTimer=null,this._refreshView()};"function"==typeof t.requestIdleCallback?this.providerBootstrapIdleHandle=t.requestIdleCallback(n,{timeout:e.PROVIDER_BOOTSTRAP_IDLE_TIMEOUT}):this.providerBootstrapTimer=t.setTimeout(n,e.PROVIDER_BOOTSTRAP_FALLBACK_DELAY)})}_cancelScheduledProviderBootstrap(){const e="undefined"!=typeof window?window:null;e&&"function"==typeof e.cancelIdleCallback&&null!==this.providerBootstrapIdleHandle&&e.cancelIdleCallback(this.providerBootstrapIdleHandle),e&&null!==this.providerBootstrapTimer&&e.clearTimeout(this.providerBootstrapTimer),this.providerBootstrapIdleHandle=null,this.providerBootstrapTimer=null}_ensureProviderDataLoaded(){return this.providerDataReady?(this._applyProviderQuerySelection(),Promise.resolve()):(this.providerDataPromise||(this.providerDataPromise=new Promise(e=>{this._storageService.getNomCategories(this.bill.bill_type).pipe((0,d.h)(e=>!e.loading),(0,p.q)(1)).subscribe(t=>{this.categoryList=t,this.providerList=this._loadProviders(this.categoryList.data),this.providerDataReady=!0,this.providerDataPromise=null,this._applyProviderQuerySelection(),e()},()=>{this.providerDataPromise=null,e()})})),this.providerDataPromise)}_applyProviderQuerySelection(){var e,t,n;if(this.providerQueryApplied||!this.providerList.length)return;const o=null===(n=null===(t=null===(e=this._activatedRoute)||void 0===e?void 0:e.snapshot)||void 0===t?void 0:t.queryParams)||void 0===n?void 0:n.provider;if(!o)return;const i=this._matchProviderByName(o);!i||(this.providerQueryApplied=!0,this.selectProviderOption(i))}_matchProviderByName(e){var t,n,o;const i=e=>(e||"").toString().toLowerCase().replace(/[^a-z0-9]/g,""),r=i(e);if(!r)return null;const a=this.providerList.map(e=>({provider:e,name:i(e.provider_name)}));return(null===(t=a.find(e=>e.name===r))||void 0===t?void 0:t.provider)||(null===(n=a.find(e=>e.name.startsWith(r)))||void 0===n?void 0:n.provider)||(null===(o=a.find(e=>e.name.includes(r)||r.includes(e.name)))||void 0===o?void 0:o.provider)||null}}return e.PROVIDER_BOOTSTRAP_IDLE_TIMEOUT=3e3,e.PROVIDER_BOOTSTRAP_FALLBACK_DELAY=1500,e.SAVINGS_UNITS=[{v:1e33,s:"Dc"},{v:1e30,s:"No"},{v:1e27,s:"Oc"},{v:1e24,s:"Sp"},{v:1e21,s:"Sx"},{v:1e18,s:"Qi"},{v:1e15,s:"Qa"},{v:1e12,s:"T"},{v:1e9,s:"B"},{v:1e6,s:"M"},{v:1e3,s:"k"}],e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(u.gz),i.\u0275\u0275directiveInject(g.N),i.\u0275\u0275directiveInject(f.O),i.\u0275\u0275directiveInject(v.V),i.\u0275\u0275directiveInject(l.f),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.ElementRef))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["form-estimate-savings-home"]],hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("click",function(e){return t.onDocumentClickForProvider(e)},!1,i.\u0275\u0275resolveDocument)("keydown.escape",function(){return t.onEscapeForProvider()},!1,i.\u0275\u0275resolveDocument)},inputs:{setBill:["bill","setBill"],populateQueryParams:"populateQueryParams",partialEdition:"partialEdition",hideRating:"hideRating",btnEstimateText:"btnEstimateText",new_bill:"new_bill",calculator_type:"calculator_type",variant:"variant",from:"from",compactFeedbackPanel:"compactFeedbackPanel",providerVariant:"providerVariant"},outputs:{eventEstimateSavings:"eventEstimateSavings",eventPartialEstimateSavings:"eventPartialEstimateSavings",eventRemoveBillFromCheckout:"eventRemoveBillFromCheckout"},decls:1,vars:1,consts:[["class","bs-form h-100 d-flex flex-wrap",3,"overlay","estimate-savings-form--compact","formGroup",4,"ngIf"],[1,"bs-form","h-100","d-flex","flex-wrap",3,"overlay","formGroup"],[1,"w-100","estimate-savings-primary-fields"],[4,"ngIf","ngIfElse"],["nonCompactCalc",""],["class","w-100 row justify-content-center align-items-center no-gutters estimate-savings-feedback-row",4,"ngIf"],[1,"w-100","align-self-end","no-gutters","estimate-savings-submit-row"],["type","submit",1,"btn","btn-block","px-0","text-white","mb-3","btn-sheen",2,"height","auto !important","font-size","14.5px !important","font-weight","700 !important","line-height","1.2 !important","border-radius","10px !important","padding","13px 22px !important","border","0 !important","background","linear-gradient(135deg, #173a6b, #1f5fae) !important",3,"disabled","click"],["button",""],["class","btn-spin",4,"ngIf"],[1,"calc-compact"],[1,"form-group","mb-0"],[1,"cselect"],["class","cselect-trigger provider_label","role","button","tabindex","0","aria-haspopup","listbox","aria-label","Service provider",3,"click","keydown.enter","keydown.space",4,"ngIf"],["class","cselect-trigger provider_label",4,"ngIf"],["class","cselect-menu",4,"ngIf"],[1,"form-group","mb-0","amt-field","calc-compact-field",3,"hidden"],["bsHomeAmountInput","","bsTooltip","","type","text","inputmode","decimal","placeholder","My monthly bill is about $\u2026",1,"form-control",3,"id","b
1sTooltipLight","bsTooltipError","formControlName"],["monthly_payment",""],["class","calc-suffix",4,"ngIf"],["class","amount-clear","role","button","aria-label","Clear amount",3,"click",4,"ngIf"],["role","button","tabindex","0","aria-haspopup","listbox","aria-label","Service provider",1,"cselect-trigger","provider_label",3,"click","keydown.enter","keydown.space"],[1,"cselect-val"],["class","cselect-clear","role","button","aria-label","Clear provider",3,"click",4,"ngIf"],["aria-hidden","true",1,"cselect-caret"],["role","button","aria-label","Clear provider",1,"cselect-clear",3,"click"],[1,"cselect-trigger","provider_label"],["type","text","autocomplete","off","role","combobox","aria-autocomplete","list","aria-haspopup","listbox","placeholder","Service provider*","aria-label","Service provider",1,"cselect-val","cselect-input",3,"value","focus","click","input","keydown"],["provComboC",""],["class","cselect-clear","role","button","aria-label","Clear provider",3,"mousedown","click",4,"ngIf"],["aria-hidden","true",1,"cselect-caret",3,"mousedown","click"],["role","button","aria-label","Clear provider",1,"cselect-clear",3,"mousedown","click"],[1,"cselect-menu"],["class","cselect-search",4,"ngIf"],["role","listbox","aria-label","Service providers",1,"cselect-opts"],["class","cselect-loading",4,"ngIf"],["class","cselect-opt","role","option",3,"hl","mouseenter","click",4,"ngFor","ngForOf"],["class","cselect-empty",4,"ngIf"],[1,"cselect-search"],["type","text","placeholder","Search provider\u2026","autocomplete","off","aria-label","Search providers",3,"value","input","keydown","click"],["provSearchC",""],[1,"cselect-loading"],["role","option",1,"cselect-opt",3,"mouseenter","click"],[1,"cselect-opt-name"],["class","cselect-opt-cat",3,"ngClass",4,"ngIf"],[1,"cselect-opt-cat",3,"ngClass"],[1,"cselect-empty"],[1,"calc-suffix"],["class","cs-load",4,"ngIf"],[4,"ngIf"],[1,"cs-load"],[1,"cs-amt"],[1,"cs-chance"],[1,"cs-dot"],["role","button","aria-label","Clear amount",1,"amount-clear",3,"click"],["homeLandscapeCalculator",""],[1,"portrait-fields"],[1,"form-group","mb-0","amt-field"],[3,"for","click"],["provSearch",""],[1,"row","justify-content-center","align-items-center","no-gutters"],[1,"col-12","col-md-6","pr-md-2","pb-4","pb-md-0"],[1,"col-12","col-md-6","pl-md-2"],["provCombo",""],[1,"w-100","row","justify-content-center","align-items-center","no-gutters","estimate-savings-feedback-row"],[1,"col-12","text-center","estimate-savings-feedback-slot"],[1,"row","justify-content-center","align-items-center","no-gutters","mt-0","px-0"],["default",""],[1,"col-12","text-center","px-0","mb-0","estimate-savings-feedback-panel"],[1,"estimate-savings-feedback-surface"],["estimateFeedback",""],["noSaving",""],["role","status","aria-live","polite","aria-atomic","true",1,"ce-loading"],[1,"ce-cap"],[1,"ce-skel","ce-s1"],[1,"ce-skel","ce-s2"],[1,"ce-estimate"],[1,"ce-prob"],[1,"ce-dot"],[1,"ce-amt"],[1,"ce-sub"],["class","ce-msg",4,"ngIf","ngIfElse"],["invalidBillAmount",""],[1,"ce-msg"],["viewBox","0 0 20 16","fill","none","xmlns","http://www.w3.org/2000/svg",1,"ce-msg-ic"],["d","M14.2191 15.8763H5.88574V5.58463L11.7191 0.0429688L12.7607 1.03255C12.858 1.12491 12.9378 1.25026 13.0003 1.40859C13.0628 1.56693 13.0941 1.71866 13.0941 1.8638V2.14089L12.1774 5.58463H16.7191C17.1635 5.58463 17.5524 5.74297 17.8857 6.05963C18.2191 6.3763 18.3857 6.74575 18.3857 7.16797V8.7513C18.3857 8.84366 18.3753 8.94262 18.3545 9.04818C18.3337 9.15373 18.3024 9.25269 18.2607 9.34505L15.7607 14.9263C15.6357 15.1902 15.4274 15.4145 15.1357 15.5992C14.8441 15.7839 14.5385 15.8763 14.2191 15.8763ZM4.21908 5.58463V15.8763H0.885742V5.58463H4.21908Z","fill","#1f5fae"],[1,"ce-msg","ce-msg--info"],["viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"ce-msg-ic","ce-msg-ic--info"],["cx","10","cy","10","r","8.4","stroke","#556475","stroke-width","1.6"],["d","M10 9v5","stroke","#556475","stroke-width","1.8","stroke-linecap","round"],["cx","10","cy","6.2","r","1.15","fill","#556475"],[1,"col-12","text-center","px-0","estimate-savings-feedback-panel"],[1,"estimate-savings-feedback-surface","estimate-savings-feedback-surface--default"],[1,"text","font-inter-regular","px-0","mb-0","estimate-savings-feedback-copy","estimate-savings-feedback-copy--default"],["defaultHomeCopy",""],[1,"btn-spin"]],template:function(e,t){1&e&&i.\u0275\u0275template(0,ve,11,11,"form",0),2&e&&i.\u0275\u0275property("ngIf",t.formGroup)},directives:[h.O5,b.\u0275NgNoValidate,b.NgControlStatusGroup,x.F,b.FormGroupDirective,_,b.DefaultValueAccessor,y.v,b.NgControlStatus,b.FormControlName,h.sg,h.mk],styles:['.saving-with-background[data-_ngcontent-%COMP%]{background:#EEF7FF!important;border-radius:8px!important;box-shadow:inset 0 0 0 1px rgba(0,65,129,.039)}.no-saving-products[data-_ngcontent-%COMP%]{position:relative;top:2px}.modal-probability[data-_ngcontent-%COMP%]{position:relative;top:7px}.modal-no-saving[data-_ngcontent-%COMP%]{position:relative;top:11px}.text[data-_ngcontent-%COMP%]{color:#595959;text-align:center;letter-spacing:.5px}.portrait-fields[data-_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:14px;gap:14px}.estimate-savings-form--compact[data-_ngcontent-%COMP%] .estimate-savings-primary-fields[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .estimate-savings-primary-fields[data-_ngcontent-%COMP%] > .row[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .estimate-savings-primary-fields[data-_ngcontent-%COMP%] .row[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .estimate-savings-primary-fields[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%]{background-color:#fff!important}.estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .ng-select.form-control[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .ng-select[data-_ngcontent-%COMP%] .ng-select-container[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-control[readonly][data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%]:disabled{background-color:#fff!important;background:#ffffff!important}.estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%]:not([type=checkbox]):focus ~ label[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%]:not([type=checkbox]):required:valid ~ label[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%]:not([type=checkbox]).has-value ~ label[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%] .ng-select.form-control.has-value[data-_ngcontent-%COMP%] ~ label[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%] .ng-select.ng-select-focused[data-_ngcontent-%COMP%] ~ label[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%] .stripe-control-focused[data-_ngcontent-%COMP%] ~ label[data-_ngcontent-%COMP%], .estimate-savings-form--compact[data-_ngcontent-%COMP%] .form-group[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%]:not([type=checkbox]):-webkit-autofill ~ label[data-_ngcontent-%COMP%]{background-color:#fff!important;background:#ffffff!important}.estimate-savings-feedback-panel[data-_ngcontent-%COMP%]{width:100%}.estimate-savings-feedback-panel.estimate-savings-feedback-panel--compact[data-_ngcontent-%COMP%]{padding-top:5px!important}.estimate-savings-feedback-surface[data-_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;border-radius:8px}.estimate-savings-feedback-surface--default[data-_ngcontent-%COMP%]{padding-left:0;padding-right:0}.estimate-savings-feedback-surface--modal[data-_ngcontent-%COMP%]{min-height:96px}.estimate-savings-feedback-copy[data-_ngcontent-%COMP%]{width:100%;color:#004181;font-style:normal;font-weight:600!important;font-size:16px;line-height:25px;text-align:center}.estimate-savings-feedback-copy-title[data-_ngcontent-%COMP%], .estimate-savings-feedback-copy-strong[data-_ngcontent-%COMP%]{font-weight:700}.estimate-savings-feedback-icon[data-_ngcontent-%COMP%]{width:24px;height:24px;position:relative;top:-2px;margin-right:6px;flex-shrink:0}.estimate-savings-loading[data-_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;grid-gap:12px;gap:12px}.estimate-savings-loading-badge[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;grid-gap:7px;gap:7px;min-width:58px;height:34px;padding:0 12px;border-radius:999px;background:linear-gradient(135deg,rgba(0,65,129,.1),rgba(99,214,255,.26))}.estimate-savings-loading-dot[data-_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;background:#004181;-webkit-animation:estimate-savings-bounce 1.25s infinite ease-in-out;animation:estimate-savings-bounce 1.25s infinite ease-in-out}.estimate-savings-loading-dot[data-_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.16s;animation-delay:.16s}.estimate-savings-loading-dot[data-_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.32s;animation-delay:.32s}.estimate-savings-loading-title[data-_ngcontent-%COMP%]{color:#004181;font-size:15px;line-height:21px;letter-spacing:.2px;text-align:center}.estimate-savings-loading-lines[data-_ngcontent-%COMP%]{width:100%;max-width:260px;display:flex;flex-direction:column;align-items:center;grid-gap:8px;gap:8px}.estimate-savings-loading-line[data-_ngcontent-%COMP%]{display:block;height:9px;border-radius:999px;background:linear-gradient(90deg,rgba(0,65,129,.08) 0%,rgba(99,214,255,.32) 50%,rgba(0,65,129,.08) 100%);background-size:200% 100%;-webkit-animation:estimate-savings-shimmer 1.5s linear infinite;animation:estimate-savings-shimmer 1.5s linear infinite}.estimate-savings-loading-line-primary[data-_ngcontent-%COMP%]{width:100%}.estimate-savings-loading-line-secondary[data-_ngcontent-%COMP%]{width:72%}.bs-images-icon-error[data-_ngcontent-%COMP%]{position:absolute;top:-8px;scale:.5}.btn[data-_ngcontent-%COMP%]{font-size:18px!important;line-height:21px!important;letter-spacing:.9px}button[data-_ngcontent-%COMP%]:not(:disabled):not(.disabled):hover{background-color:#183c5b;color:#fff!important}.btn[data-_ngcontent-%COMP%]:focus-visible{color:#fff!important}button[data-_ngcontent-%COMP%]:focus-visible{color:#000!important;background-color:transparent!important;outline:2px solid #1f5fae!important;outline-offset:2px;box-shadow:none!important}@media (max-width: 767.98px){.text[data-_ngcontent-%COMP%]{font-weight:700!important}.estimate-savings-feedback-surface--default[data-_ngcontent-%COMP%]{padding-left:0;padding-right:0}.estimate-savings-feedback-copy[data-_ngcontent-%COMP%]{font-size:15px;line-height:23px}.estimate-savings-loading[data-_ngcontent-%COMP%]{grid-gap:10px;gap:10px}.estimate-savings-loading-title[data-_ngcontent-%COMP%]{font-size:14px;line-height:20px}.estimate-savings-loading-lines[data-_ngcontent-%COMP%]{max-width:220px}}@-webkit-keyframes estimate-savings-bounce{0%,80%,to{transform:scale(.7);opacity:.55}40%{transform:scale(1);opacity:1}}@keyframes estimate-savings-bounce{0%,80%,to{transform:scale(.7);opacity:.55}40%{transform:scale(1);opacity:1}}@-webkit-keyframes estimate-savings-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes estimate-savings-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion: reduce){.estimate-savings-loading-dot[data-_ngcontent-%COMP%], .estimate-savings-loading-line[data-_ngcontent-%COMP%]{-webkit-animation:none;animation:none}}.cselect[data-_ngcontent-%COMP%]{position:relative;width:100%;text-align:left}.cselect.open[data-_ngcontent-%COMP%]{z-index:1100}@-webkit-keyframes provider-prefilled-pulse{0%{box-shadow:0 0 rgba(31,95,174,.451)}70%{box-shadow:0 0 0 8px rgba(31,95,174,0)}to{box-shadow:0 0 rgba(31,95,174,0)}}@keyframes provider-prefilled-pulse{0%{box-shadow:0 0 rgba(31,95,174,.451)}70%{box-shadow:0 0 0 8px rgba(31,95,174,0)}to{box-shadow:0 0 rgba(31,95,174,0)}}.cselect.provider-prefilled-flash[data-_ngcontent-%COMP%] .cselect-trigger[data-_ngcontent-%COMP%]{border-color:#1f5fae;-webkit-animation:provider-prefilled-pulse 1.1s ease-out 2;animation:provider-prefilled-pulse 1.1s ease-out 2}@media (prefers-reduced-motion: reduce){.cselect.provider-prefilled-flash[data-_ngcontent-%COMP%] .cselect-trigger[data-_ngcontent-%COMP%]{-webkit-animation:none;animation:none;border-color:#1f5fae}}.cselect-trigger[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:8px;gap:8px;width:100%;height:48px;padding:0 16px;border:1px solid #cfdaea;border-radius:10px;background:#fff;cursor:pointer;font-size:14.5px;color:#2b3a4d}.cselect.open[data-_ngcontent-%COMP%] .cselect-trigger[data-_ngcontent-%COMP%]{border-color:#1f5fae}.cselect-trigger[data-_ngcontent-%COMP%]:focus-visible{outline:none;border-color:#1f5fae;box-shadow:0 0 0 1px #1f5fae}.cselect.is-empty[data-_ngcontent-%COMP%] .cselect-val[data-_ngcontent-%COMP%]{color:#667485}.cselect-val[data-_ngcontent-%COMP%]{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cselect-input[data-_ngcontent-%COMP%]{flex:1;min-width:0;border:none;background:transparent;outline:none;padding:0;height:auto;font:inherit;color:inherit;cursor:pointer}.cselect-input[data-_ngcontent-%COMP%]:focus{cursor:text}.cselect-input[data-_ngcontent-%COMP%]::-webkit-input-placeholder{color:#667485;opacity:1}.cselect-input[data-_ngcontent-%COMP%]::-moz-placeholder{color:#667485;opacity:1}.cselect-input[data-_ngcontent-%COMP%]::placeholder{color:#667485;opacity:1}.cselect-trigger[data-_ngcontent-%COMP%]:focus-within{border-color:#1f5fae;box-shadow:0 0 0 1px #1f5fae}.cselect-clear[data-_ngcontent-%COMP%]{color:#556475;font-size:18px;line-height:1;padding:0 5px;border-radius:50%;cursor:pointer}.cselect-clear[data-_ngcontent-%COMP%]:hover{background:#eef1f5;color:#c0392b}.amt-field[data-_ngcontent-%COMP%]{position:relative}.amt-field[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%]{padding-right:34px!important}.amt-field[data-_ngcontent-%COMP%] .amount-clear[data-_ngcontent-%COMP%]{position:absolute;top:50%;right:10px;transform:translateY(-50%);color:#556475;font-size:18px;line-height:1;padding:0 5px;border-radius:50%;cursor:pointer;z-index:3}.amt-field[data-_ngcontent-%COMP%] .amount-clear[data-_ngcontent-%COMP%]:hover{background:#eef1f5;color:#c0392b}.cselect-caret[data-_ngcontent-%COMP%]{color:#556475;font-size:11px;transition:.15s;cursor:pointer}.cselect.open[data-_ngcontent-%COMP%] .cselect-caret[data-_ngcontent-%COMP%]{transform:rotate(180deg)}.cselect-menu[data-_ngcontent-%COMP%]{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e2e8f1;border-radius:12px;box-shadow:0 14px 40px rgba(20,45,85,.102);max-height:320px;overflow:auto;z-index:70;padding:6px;text-align:left}.cselect-search[data-_ngcontent-%COMP%]{position:sticky;top:0;background:#fff;padding:2px 2px 8px}.cselect-search[data-_ngcontent-%COMP%] input[data-_ngcontent-%COMP%]{width:100%;padding:9px 12px;border:1px solid #cfdaea;border-radius:8px;font-size:14px;font-family:inherit;color:#2b3a4d}.cselect-search[data-_ngcontent-%COMP%] input[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #1f5fae;outline-offset:1px}.cselect-opt[data-_ngcontent-%COMP%]{padding:9px 12px;border-radius:8px;
1cursor:pointer;font-size:14px;color:#173a6b;display:flex;justify-content:space-between;grid-gap:10px;gap:10px;align-items:center}.cselect-opt[data-_ngcontent-%COMP%]:hover, .cselect-opt.hl[data-_ngcontent-%COMP%]{background:#dcebfa}.cselect-opt-name[data-_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cselect-opt-cat[data-_ngcontent-%COMP%]{flex:0 0 auto;font-size:10.5px;color:#556475;font-weight:700;background:#f1f5fb;padding:2px 7px;border-radius:10px;white-space:nowrap}.cselect-opt-cat.cc-internet[data-_ngcontent-%COMP%]{background:#e7f0fb;color:#1b5596}.cselect-opt-cat.cc-wireless[data-_ngcontent-%COMP%]{background:#e1f3f0;color:#0c7361}.cselect-opt-cat.cc-tv[data-_ngcontent-%COMP%]{background:#fbf1d6;color:#946a09}.cselect-opt-cat.cc-satellite[data-_ngcontent-%COMP%]{background:#e8eefc;color:#33489a}.cselect-opt-cat.cc-security[data-_ngcontent-%COMP%]{background:#fdecea;color:#a83828}.cselect-opt-cat.cc-phone[data-_ngcontent-%COMP%]{background:#ece8fb;color:#5a44ad}.cselect-empty[data-_ngcontent-%COMP%], .cselect-loading[data-_ngcontent-%COMP%]{padding:14px 12px;color:#556475;font-size:13.5px;text-align:center}.ce-estimate[data-_ngcontent-%COMP%]{width:100%;text-align:center}.ce-prob[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-gap:7px;gap:7px;font-size:12.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#158048}
1.ce-dot[data-_ngcontent-%COMP%]{width:9px;height:9px;border-radius:50%;background:#18a558;box-shadow:0 0 0 4px rgba(24,165,88,.18)}.ce-amt[data-_ngcontent-%COMP%]{font-size:22px;font-weight:900;color:#173a6b;margin-top:6px;line-height:1.2}.ce-amt[data-_ngcontent-%COMP%] b[data-_ngcontent-%COMP%]{color:#1f5fae}.ce-sub[data-_ngcontent-%COMP%]{font-size:13px;color:#556475;margin-top:4px;line-height:1.5}.ce-msg[data-_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:center;grid-gap:9px;gap:9px;font-size:14px;color:#2b3a4d;line-height:1.55;text-align:left;max-width:430px;margin:0 auto;padding:2px 0}.ce-msg[data-_ngcontent-%COMP%] b[data-_ngcontent-%COMP%]{color:#173a6b;font-weight:800}.ce-msg-ic[data-_ngcontent-%COMP%]{width:20px;height:16px;flex:none;margin-top:3px}.ce-msg-ic--info[data-_ngcontent-%COMP%]{width:18px;height:18px}.ce-msg--info[data-_ngcontent-%COMP%]{color:#556475}.ce-msg--info[data-_ngcontent-%COMP%] b[data-_ngcontent-%COMP%]{color:#2b3a4d}.ce-loading[data-_ngcontent-%COMP%]{padding:2px 0;text-align:center;width:100%}.ce-cap[data-_ngcontent-%COMP%]{font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#1f5fae;opacity:.85;margin-bottom:12px;display:inline-flex;grid-gap:5px;gap:5px;align-items:center}.ce-cap[data-_ngcontent-%COMP%] i[data-_ngcontent-%COMP%]{width:5px;height:5px;border-radius:50%;background:#1f5fae;display:inline-block;-webkit-animation:ce-bounce 1s infinite ease-in-out;animation:ce-bounce 1s infinite ease-in-out}.ce-cap[data-_ngcontent-%COMP%] i[data-_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.15s;animation-delay:.15s}.ce-cap[data-_ngcontent-%COMP%] i[data-_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.3s;animation-delay:.3s}.ce-skel[data-_ngcontent-%COMP%]{border-radius:8px;background:linear-gradient(100deg,#dceafa 25%,#f4f9ff 50%,#dceafa 75%);background-size:200% 100%;-webkit-animation:ce-shimmer 1.2s linear infinite;animation:ce-shimmer 1.2s linear infinite;margin:0 auto}.ce-skel[data-_ngcontent-%COMP%] + .ce-skel[data-_ngcontent-%COMP%]{margin-top:9px}.ce-s1[data-_ngcontent-%COMP%]{height:24px;width:210px;max-width:80%}.ce-s2[data-_ngcontent-%COMP%]{height:12px;width:250px;max-width:92%}@-webkit-keyframes ce-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes ce-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@-webkit-keyframes ce-bounce{0%,80%,to{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}@keyframes ce-bounce{0%,80%,to{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}@media (prefers-reduced-motion: reduce){.ce-skel[data-_ngcontent-%COMP%], .ce-cap[data-_ngcontent-%COMP%] i[data-_ngcontent-%COMP%]{-webkit-animation:none;animation:none}}
1.calc-compact[data-_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:8px;gap:8px;margin-bottom:10px}.calc-compact--provider-only[data-_ngcontent-%COMP%]{margin-bottom:0}.calc-compact--provider-only[data-_ngcontent-%COMP%] > .form-group[data-_ngcontent-%COMP%]{margin-bottom:0!important}.calc-compact-field.has-suffix[data-_ngcontent-%COMP%] .form-control[data-_ngcontent-%COMP%]{padding-right:152px!important}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%]{position:absolute;top:50%;right:44px;transform:translateY(-50%);text-align:right;pointer-events:none;line-height:1}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%]:before{content:"";position:absolute;left:-13px;top:50%;transform:translateY(-50%);height:24px;width:1px;background:#e2e9f2}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%] .cs-amt[data-_ngcontent-%COMP%]{font-size:16px;font-weight:900;background:linear-gradient(90deg,#173a6b,#1f5fae);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%] .cs-chance[data-_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;grid-gap:5px;gap:5px;font-size:9px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#158048;margin-top:3px}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%] .cs-dot[data-_ngcontent-%COMP%]{width:6px;height:6px;border-radius:50%;background:#18a558;-webkit-animation:ciPulse 1.8s infinite;animation:ciPulse 1.8s infinite}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%] .cs-load[data-_ngcontent-%COMP%]{display:flex;grid-gap:5px;gap:5px;align-items:center;padding:4px 0}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%] .cs-load[data-_ngcontent-%COMP%] i[data-_ngcontent-%COMP%]{width:6px;height:6px;border-radius:50%;background:#9db6d4;-webkit-animation:ce-bounce 1s infinite ease-in-out;animation:ce-bounce 1s infinite ease-in-out}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%] .cs-load[data-_ngcontent-%COMP%] i[data-_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.15s;animation-delay:.15s}.calc-compact-field[data-_ngcontent-%COMP%] .calc-suffix[data-_ngcontent-%COMP%] .cs-load[data-_ngcontent-%COMP%] i[data-_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.3s;animation-delay:.3s}@-webkit-keyframes ciPulse{0%{box-shadow:0 0 rgba(24,165,88,.502)}70%{box-shadow:0 0 0 6px rgba(24,165,88,0)}to{box-shadow:0 0 rgba(24,165,88,0)}}@keyframes ciPulse{0%{box-shadow:0 0 rgba(24,165,88,.502)}70%{box-shadow:0 0 0 6px rgba(24,165,88,0)}to{box-shadow:0 0 rgba(24,165,88,0)}}.btn.is-loading[data-_ngcontent-%COMP%]{pointer-events:none;opacity:.94}.btn-spin[data-_ngcontent-%COMP%]{display:inline-block;width:17px;height:17px;border:2.5px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;vertical-align:-3px;margin-right:9px;-webkit-animation:csn-spin .7s linear infinite;animation:csn-spin .7s linear infinite}@-webkit-keyframes csn-spin{to{transform:rotate(360deg)}}@keyframes csn-spin{to{transform:rotate(360deg)}}']}),e})()},23885:function(e,t,n){n.d(t,{C:function(){return s}});var o=n(12057),i=n(50270),r=n(79461),a=n(56440),l=n(74788);let s=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=l.\u0275\u0275defineInjector({imports:[[o.ez,a.$,i.ReactiveFormsModule,r.A0]]}),e})()}}]);
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.