1import{b as qe,d as We}from"./chunk-6OW2AJJH.js";import{a as Je}from"./chunk-ARFANV43.js";import{a as $e}from"./chunk-K23PEXYD.js";import{a as ze,b as Qe}from"./chunk-ZOU7JU4I.js";import{a as Ae}from"./chunk-EMNRMHET.js";import{a as L}from"./chunk-A5EUQQC7.js";import{$ as f,$d as Ee,Ab as te,Ad as ue,Ba as r,Bb as ie,Ca as n,Cc as se,Cd as N,Ce as Oe,Da as u,Dd as he,Ed as fe,Fc as le,Ha as y,He as Pe,Ia as b,Id as ve,Ja as p,Jd as _e,Na as I,Nd as be,Ne as Ue,Od as ye,Qa as q,R as Y,Ra as W,Rd as xe,S as C,Sa as z,Sd as Se,Td as Re,Te as mt,U as M,Ua as s,Ud as we,Ue as Ye,Va as B,Vd as Ce,Ve as Ge,W as G,Wa as S,Wd as Me,X as E,_b as x,aa as v,ba as V,be as De,bf as He,ce as Ie,db as Q,dc as ne,de as Fe,g as lt,ge as Te,hb as R,ia as D,jb as j,je as ke,ka as H,kb as F,kd as me,ke as Ve,ld as ce,ma as l,mb as $,me as Be,na as g,nd as de,pb as J,pd as pe,qb as X,rb as K,rc as re,rd as ge,sb as Z,se as je,ta as h,tb as ee,tc as ae,te as Ne,v as P,va as m,ve as Le,z as U,zc as oe}from"./chunk-UKO5M5N4.js";var A=lt(mt());var T=class{constructor(a,e,i,o,d,c,_){this.customerReference=a,this.propertyReference=e,this.meterKey=i,this.method=o,this.uid=d,this.meterReading=c,this.meterReadDate=_}};var Xe=(()=>{let a=class a{constructor(i,o,d){this.functions=i,this.functionsInstances=o,this.globalSettingsService=d,this.baseUrl=x.baseUrl,this.meterReadingUrl=this.baseUrl+"meterreadingupdate",this.globalSettings=this.globalSettingsService.getGlobalSettings(),this.globalSettingsService.globalSettingsChange.subscribe(c=>{this.globalSettings=c})}getMeterReadingUpdateResponse(i,o,d){let c=new T(i,"","","UPDATE",this.globalSettings?.uid,o,d);return x.useEmulator&&de(this.functions,x.emulatorFunction[0],+x.emulatorFunction[1]),this.meterReadingUpdateCF$=P(pe(this.functionsInstances[0],"meterReadingUpdateCF",{timeout:24e4})(c).then(_=>_).catch(_=>(console.error(_),_))),this.meterReadingUpdateCF$}displayMeterEstimation(i){this.meterReadingUpdateResponse=i}getResults(){return this.meterReadingUpdateResponse}};a.\u0275fac=function(o){return new(o||a)(M(me),M(ce),M(ve))},a.\u0275prov=Y({token:a,factory:a.\u0275fac,providedIn:"root"});let t=a;return t})();var dt=["template"],pt=()=>["/payment-options-form"];function gt(t,a){t&1&&(r(0,"li"),s(1," We will check the read you give us and make sure it\u2019s in-line with your previous readings. If we need to do some additional checks then someone from our team will c
1ontact you, otherwise you will see the reading added to your water usage page. "),n())}function ut(t,a){t&1&&(r(0,"li"),s(1," We will check the read you give us and make sure it\u2019s in-line with your previous readings. If we need to do some additional checks then someone from our team will contact you, otherwise you will see the reading added to your usage page. "),n())}function ht(t,a){if(t&1&&(r(0,"li",14)(1,"p",15)(2,"strong"),s(3,"Meter location: "),n(),s(4),n()()),t&2){let e=p(2);l(4),S(" ",e.meters[e.selectedMeterIndex]==null?null:e.meters[e.selectedMeterIndex].meterLocation," ")}}function ft(t,a){t&1&&(r(0,"li"),s(1," Jot down the figures in the black boxes only (we don't need the ones in red). These show the amount of cubic metres of water you've used "),n())}function vt(t,a){t&1&&(r(0,"li"),s(1," Jot down the figures in the black boxes only (we don't need the ones in red). These show the amount of kilowatt hours you've used "),n())}function _t(t,a){t&1&&(r(0,"div")(1,"div",20),u(2,"iframe",21),n()())}function bt(t,a){if(t&1){let e=y();r(0,"div",7)(1,"h2",8),s(2,"Before you get started"),n(),r(3,"ul",9)(4,"li"),s(5,"This service is for giving us a new meter read."),n(),h(6,gt,2,0,"li",10)(7,ut,2,0,"li",10),r(8,"li"),s(9," If you have just received your bill and want to supply us with a different reading then please do and we will issue you with a replacement bill if necessary. "),n()(),r(10,"ul",11)(11,"li",12)(12,"h3",13),s(13,"Meter information"),n()(),r(14,"li",14)(15,"p",15)(16,"strong"),s(17,"Address: "),n(),s(18),n()(),r(19,"li",14)(20,"p",15)(21,"strong"),s(22,"Meter serial number: "),n(),s(23),n()(),h(24,ht,5,1,"li",16),n(),r(25,"div",17)(26,"button",18),b("click",function(){f(e);let o=p();return v(o.startForm())}),s(27," Start "),n()(),r(28,"h3",19),s(29,"How to read your meter"),n(),r(30,"ul",9)(31,"li"),s(32,"Make sure the meter serial number matches the one listed above"),n(),h(33,ft,2,0,"li",10)(34,vt,2,0,"li",10),r(35,"li"),s(36," Enter the reading on the next screen and we'll take care of the rest "),n()(),h(37,_t,3,0,"div",10),n()}if(t&2){let e=p();l(6),m("ngIf",e.sector!=="ENERGY"),l(),m("ngIf",e.sector==="ENERGY"),l(11),S("",e.property==null||e.property.propertyAddress==null?null:e.property.propertyAddress.combinedAddress," "),l(5),S("",e.meters[e.selectedMeterIndex]==null?null:e.meters[e.selectedMeterIndex].meterSerial," "),l(),m("ngIf",e.company==="SEW"&&(e.meters[e.selectedMeterIndex]==null?null:e.meters[e.selectedMeterIndex].meterLocation.length)>1),l(9),m("ngIf",e.sector!=="ENERGY"),l(),m("ngIf",e.sector==="ENERGY"),l(3),m("ngIf",e.company==="SEW")}}function yt(t,a){t&1&&(r(0,"span",43),s(1,"Estimate"),n())}function xt(t,a){if(t&1){let e=y();r(0,"input",44),b("input",function(o){let d=f(e).index,c=p(2);return v(c.onDialChange(o,"meterReadingDigit"+(d+1).toString(),d))})("focus",function(o){f(e);let d=p(2);return v(d.onDialFocus(o))}),n()}if(t&2){let e=a.index;I("id","meterReadingDigit",e,""),I("formControlName","meterReadingDigit",e,""),I("name","meterReadingDigit",e,"")}}function St(t,a){if(t&1){let e=y();r(0,"div",22)(1,"div",23)(2,"div",24)(3,"form",25),b("ngSubmit",function(){f(e);let o=p();return v(o.onSubmit())}),r(4,"div",26)(5,"label",27),s(6,"When did you take your meter reading?"),n(),r(7,"div")(8,"bs-datepicker-inline",28),b("bsValueChange",function(o){f(e);let d=p();return v(d.onChange(o))}),n()(),r(9,"small",29),s(10,"We only accept readings from the last 15 days."),n()(),r(11,"div",30)(12,"fieldset")(13,"legend",15)(14,"label",31),s(15,"Meter reading"),n()(),r(16,"p",32)(17,"strong"),s(18,"Last meter reading date: "),n(),s(19),R(20,"orderBy"),R(21,"date"),n(),r(22,"p",32)(23,"strong"),s(24,"Last meter reading: "),n(),s(25),R(26,"orderBy"),h(27,yt,2,0,"span",33),R(28,"orderBy"),n(),r(29,"p"),s(30," As a guide we would expect your meter reading to be between "),r(31,"span",34),s(32),n(),s(33," and "),r(34,"span",34),s(35),n()(),r(36,"div")(37,"div",35),h(38,xt,1,6,"input",36),u(39,"input",37)(40,"input",37)(41,"input",37),n(),r(42,"small",38),s(43,"The red digits from your meter aren't required."),n(),u(44,"a
1pp-input-error-message",39),n()(),r(45,"div",40)(46,"button",41),b("click",function(){f(e);let o=p();return v(o.onCancel())}),s(47," Cancel "),n(),r(48,"button",42),s(49," Submit "),n()()()()()()()}if(t&2){let e=p();l(3),m("formGroup",e.meterReadingForm),l(5),m("bsValue",e.bsInlineValue)("minDate",e.minDate)("maxDate",e.today)("bsConfig",e.bsConfig),l(11),S(" ",j(21,17,F(20,13,e.lastMeterReadingInfo,"readingSequence",!0)[0].readingDate,"dd MMM yyyy")," "),l(6),S(" ",F(26,20,e.lastMeterReadingInfo,"readingSequence",!0)[0].reading,""),l(2),m("ngIf",F(28,24,e.lastMeterReadingInfo,"readingSequence",!0)[0].readingMethod==="Automatic Estimate"),l(5),B(e.lowerTolerance),l(3),B(e.upperTolerance),l(3),m("ngForOf",e.dials),l(6),m("displayErrorIf",e.submitted&&e.filtered===""),l(4),m("disabled",e.submittedForm)}}function Rt(t,a){if(t&1&&(r(0,"div"),u(1,"i",2),n()),t&2){let e=p(2);l(),m("ngClass",e.success?"bg-secondary fal fa-check":"bg-danger shadow fal fa-times")}}function wt(t,a){t&1&&(r(0,"div")(1,"div",52),V(),r(2,"svg",53),u(3,"path",54),n(),r(4,"svg",55),u(5,"path",56),n()()())}function Ct(t,a){t&1&&(r(0,"div")(1,"div",57),V(),r(2,"svg",53),u(3,"path",54),n(),r(4,"svg",58),u(5,"path",59),n()()())}function Mt(t,a){if(t&1&&(r(0,"div"),h(1,wt,6,0,"div",10)(2,Ct,6,0,"div",10),n()),t&2){let e=p(2);l(),m("ngIf",e.success),l(),m("ngIf",!e.success)}}
1function Et(t,a){t&1&&(r(0,"p"),s(1," Thank you we have received your meter reading and it is in line with your normal usage. You can view your read in the Water Usage section. "),n())}function Dt(t,a){t&1&&(r(0,"p"),s(1," Thank you for providing a meter reading. We will check your reading and get back to you as quickly as we can. "),n())}function It(t,a){if(t&1){let e=y();r(0,"button",51),b("click",function(){f(e);let o=p(3);return v(o.onGetBillPDF(o.customer==null?null:o.customer.lastBillNumber))}),u(1,"fa-icon",64),s(2," Download bill "),n()}if(t&2){let e=p(3);l(),m("icon",e.faDownload)}}function Ft(t,a){if(t&1){let e=y();r(0,"div")(1,"p"),s(2," Thank you for providing a meter reading. Your new bill amount is "),r(3,"span"),s(4,"\xA3"),n(),u(5,"span",60),R(6,"moneyPipe"),s(7,". "),n(),r(8,"div",61),h(9,It,3,1,"button",62),r(10,"button",63),b("click",function(){f(e);let o=p(2);return v(o.goToFaq())}),s(11," Change payment plan "),n()()()}if(t&2){let e=p(2);l(5),m("innerHTML",j(6,4,e.rebillAmount,!0),D),l(4),m("ngIf",e.lastBillNo<(e.customer==null?null:e.customer.lastBillNumber)),l(),m("routerLink",Q(7,pt))("pageScrollDuration",100)}}function Tt(t,a){if(t&1){let e=y();r(0,"div")(1,"p"),s(2," Thank you for providing your first reading, your bill has been updated. You can view your read in the Water Usage section. Your Opening bill amount will remain the same, you can view more info on this underneath the balance section "),r(3,"a",65),b("click",function(){f(e);let o=p(2);return v(o.goToFaq())}),r(4,"u"),s(5,"here"),n()(),s(6,". "),n()()}}function kt(t,a){if(t&1){let e=y();r(0,"div",45),h(1,Rt,2,1,"div",10)(2,Mt,3,2,"div",10),n(),r(3,"div",46),u(4,"h4",47),n(),r(5,"div",48),h(6,Et,2,0,"p",10)(7,Dt,2,0,"p",10)(8,Ft,12,8,"div",10)(9,Tt,7,0,"div",10),u(10,"p",49),n(),r(11,"div",50)(12,"button",51),b("click",function(){f(e);let o=p();return v(o.closeModal())}),s(13," Close "),n()()}if(t&2){let e=p();l(),m("ngIf",e.company==="SEW"||e.company==="ESP"),l(),m("ngIf",e.company==="ICOSA"||e.company==="MTX"||e.company==="MUA"||e.company==="LEF"),l(2),m("innerHTML",e.modalTitle,D),l(2),m("ngIf",e.infoReadCreated),l(),m("ngIf",e.jobCreated),l(),m("ngIf",e.rebillCreated&&e.newBalance!==e.currentBalance),l(),m("ngIf",e.rebillCreated&&e.newBalance===e.currentBalance),l(),m("innerHTML",e.modalBody,D)}}function Vt(t,a){if(t&1&&u(0,"app-campaign",66),t&2){let e=a.$implicit;m("campaign",e)}}var Ke=(()=>{let a=class a{constructor(i,o,d,c,_,k,w,et,tt,it,nt,rt,at,ot,st){this.customerService=i,this.meterEstimationService=o,this.fb=d,this.billService=c,this.meterService=_,this.meterReadingUpdateService=k,this.spinnerSevice=w,this.spinner=et,this.location=tt,this.document=it,this.pageScrollService=nt,this.propertyService=rt,this.modalService=at,this.decimalPipe=ot,this.analyticsService=st,this.faAngleLeft=se,this.faAngleRight=ne,this.faSearch=oe,this.faInfoCircle=re,this.faCalendarDay=le,this.faDownload=ae,this.bsInlineValue=new Date,this.dateChange=15,this.estimateArray=null,this.selectedMeterIndex=0,this.dials=[],this.lowerTolerance=null,this.upperTolerance=null,this.today=new Date,this.start=!0,this.dateSubmitted=!1,this.submitted=!1,this.submittedForm=!1,this.subscriptions=[],this.config={animated:!0,keyboard:!0,backdrop:!0,ignoreBackdropClick:!1,class:""},this.alerts=[],this.campaigns=[],this.meterReadingVideoUrl="https://vimeo.com/429954189",this.company=x.company,this.sector=x.sector,this.colorTheme="theme-default",this.bsConfig=Object.assign({},{containerClass:this.colorTheme,dateInputFormat:"DD/MM/YYYY"}),this.today=new Date,this.minDate=new Date,this.minDate.setDate(this.minDate.getDate()-this.dateChange)}ngOnInit(){this.analyticsService.pageView("meter-reading-form","./meter-reading-form","meter reading form"),this.customerSubscription=this.customerService.customerChange.subscribe(i=>{this.customer=i,this.alerts=this.customerService.getAlerts("meterreading"),this.campaigns=this.customerService.getCampaigns("meterreading")}),this.customer=this.customerService.getCustomer(),this.propertySubscription=this.propertyService.propertyChange.subscribe(i=>{this.property=i}),this.property=this.propertyService.getProperty(),this.alerts=this.customerService.getAlerts("meterreading"),this.campaigns=this.customerService.getCampaigns("meterreading"),this.meterReadingForm=this.fb.group({meterReadingDate:[null,De.required],meterReading:this.fb.group({meterReadingDigit0:[null],meterReadingDigit1:[null],meterReadingDigit2:[null],meterReadingDigit3:[null],meterReadingDigit4:[null],meterReadingDigit5:[null],meterReadingDigit6:[null],meterReadingDigit7:[null],meterReadingDigit8:[null]})}),this.meterReadingForm.patchValue({meterReadingDate:null}),this.getMeter()}getMeter(){this.meterSubscription=this.meterService.metersChange.subscribe(i=>{this.meters=i},i=>{console.error(i)}),this.meters=this.meterService.getMeters(),this.dials=[].constructor(this.meters[this.selectedMeterIndex]?.numberOfDials)}initForm(){this.dials=[].constructor(this.meters[this.selectedMeterIndex]?.numberOfDials),this.currentBalance=this.customer.balance,this.lastMeterReadingInfo=this.meters[this.selectedMeterIndex]?.readings;let i=this.customer.customerReference,o="",d=new Date;this.estimateDate=(0,A.default)(new Date(d.getFullYear(),d.getMonth(),d.getDate())).format("YYYY-MM-DD"),this.meterEstimationService.getMeterEstimation(i,o,this.estimateDate).subscribe(c=>{this.meters&&this.meters.length>0?(this.lowerTolerance=this.decimalPipe.transform(c.data.lowerTolerance,this.meters[this.selectedMeterIndex]?.numberOfDials.toString()+".0").toString().replace(/,/g,""),this.upperTolerance=this.decimalPipe.transform(c.data.upperTolerance,this.meters[this.selectedMeterIndex]?.numberOfDials.toString()+".0").toString().replace(/,/g,"")):(this.lowerTolerance=c.data.lowerTolerance,this.up
1perTolerance=c.data.upperTolerance),this.estimate=c.data.estimatedRead},c=>{console.error(c)})}onDialChange(i,o,d){let c=i.target,_=c.value.length,k=c.attributes.maxlength.value;if(_>=k&&d<this.dials.length){let w=document.getElementById(o);w&&w.focus()}}onDialFocus(i){i.target.select()}onChange(i){this.estimateDate=(0,A.default)(new Date(i.getFullYear(),i.getMonth(),i.getDate())).format("YYYY-MM-DD");let o=this.customer.customerReference;this.meterEstimationService.getMeterEstimation(o,"",this.estimateDate).subscribe(c=>{this.meters&&this.meters.length>0?(this.lowerTolerance=this.decimalPipe.transform(c.data.lowerTolerance,this.meters[this.selectedMeterIndex]?.numberOfDials.toString()+".0").toString().replace(/,/g,""),this.upperTolerance=this.decimalPipe.transform(c.data.upperTolerance,this.meters[this.selectedMeterIndex]?.numberOfDials.toString()+".0").toString().replace(/,/g,"")):(this.lowerTolerance=c.data.lowerTolerance,this.upperTolerance=c.data.upperTolerance)},c=>{console.error(c)})}createMeterReading(){let i=[this.getMeterReadingValue.meterReadingDigit0,this.getMeterReadingValue.meterReadingDigit1,this.getMeterReadingValue.meterReadingDigit2,this.getMeterReadingValue.meterReadingDigit3,this.getMeterReadingValue.meterReadingDigit4,this.getMeterReadingValue.meterReadingDigit5,this.getMeterReadingValue.meterReadingDigit6,this.getMeterReadingValue.meterReadingDigit7,this.getMeterReadingValue.meterReadingDigit8];this.filtered=i.filter(o=>o!=null).join(""),this.meterReadingTotal=+this.filtered}get getMeterReadingValue(){return this.meterReadingForm.get("meterReading").value}focusOnError(i){i.focus()}startForm(){this.start=!1,this.pageScrollService.scroll({document:this.document,scrollTarget:"#topnav",duration:0}),this.initForm()}onCancel(){this.location.back(),this.pageScrollService.scroll({document:this.document,scrollTarget:"#topnav",duration:300})}onSubmit(){this.createMeterReading(),this.submitted=!0,this.filtered!==""&&(this.spinnerSevice.setSpinnerDescription("Submitting your meter reading ..."),this.spinner.show(),this.submittedForm=!0,this.lastBillNo=this.customer?.lastBillNumber,this.meterReadingUpdateService.getMeterReadingUpdateResponse(this.customer.customerReference,this.meterReadingTotal,this.estimateDate).subscribe(i=>{this.spinner.hide(),this.submittedForm=!1,this.returnMessage=i.data.returnMessage,this.infoReadCreated=i.data.infoReadCreated,this.jobCreated=i.data.jobCreated,this.newBalance=i.data.newBalance,this.rebillAmount=i.data.rebillAmount,this.rebillCreated=i.data.rebillCreated,this.success=this.returnMessage==="GREEN"||this.returnMessage==="AMBER",this.config.class=this.success?"success-modal":"warning-modal",this.modalTitle=this.success?"Got it, thanks!":"Sorry we've hit a problem",this.modalBody=this.success?"Click on the button below to go back to the homepage.":"Oh no, I am so sorry but that didn't seem to work, could you please try again.",this.returnMessage==="GREEN"&&Ge.includes(this.company)&&(this.modalBody+=Ye),this.openModal(this.templateRef)},i=>{this.submittedForm=!1,this.spinner.hide(),this.success=!1,this.config.class=this.success?"success-modal":"danger-modal",this.modalTitle=this.success?"Got it, thanks!":"Sorry we've hit a problem",this.modalBody=this.success?"Click on the button below to go back to the homepage.":"Oh no, I am so sorry but that didn't seem to work, could you please try again.",this.openModal(this.templateRef)}))}openModal(i){this.modalRef=this.modalService.show(i,Object.assign({},this.config)),this.subscriptions.push(this.modalService.onHide.subscribe(o=>{o==="backdrop-click"&&this.success&&this.onCancel()}))}closeModal(){if(this.modalRef)this.success&&this.onCancel();else return;this.modalRef.hide(),this.modalRef=null}goToFaq(){this.modalRef.hide(),this.modalRef=null}onGetBillPDF(i){this.billService.getbillpdf(i.toString())}ngOnDestroy(){this.customerSubscription.unsubscribe(),this.meterSubscription.unsubscribe()}};a.\u0275fac=function(o){return new(o||a)(g(_e),g(Je),g(Le),g(Ce),g($e),g(Xe),g(fe),g(he),g(X),g(J),g(xe),g(ye),g(Oe),g(ie),g(be))},a.\u0275cmp=G({type:a,selectors:[["app-meter-reading-form"]],viewQuery:function(o,d){if(o&1&&q(dt,5),o&2){let c;W(c=z())&&(d.templateRef=c.first)}},decls:9,vars:7,consts:[["template",""],[3,"alerts","showWelcome","pageHeader"],[3,"ngClass"],[1,"container","px-3","py-8","mx-auto"],["class","jumbotron bg-light",4,"ngIf"],["class","form-wrap",4,"ngIf"],[3,"campaign",4,"ngFor","ngForOf"],[1,"jumbotron","bg-light"],[1,"text-center"],[1,"mb-5"],[4,"ngIf"],[1,"list-group","mb-5"],[1,"list-group-item","bg-light"],[1,"text-dark","text-center","mb-0"],[1,"list-group-item","bg-light","py-0"],[1,"mb-0"],["class","list-group-item bg-light py-0",4,"ngIf"],[1,"clearfix"],["type","button",1,"btn","btn-primary","float-right","my-4",3,"click"],[1,"text-dark","text-center"],[1,"my-4","embed-responsive","embed-responsive-16by9"],["src",H`https://player.vimeo.com/video/429954189?h=203a931203`,"title","vimeo video","allowfullscreen",""],[1,"form-wrap"],[1,"row"],[1,"col-sm-12"],[3,"ngSubmit","formGroup"],[1,"form-group"],["for","meterReadingDate",1,"label"],["formControlName","meterReadingDate","id","meterReadingDate","name","meterReadingDate","ngDefaultControl","","aria-describedby","date-hint",3,"bsValueChange","bsValue","minDate","maxDate","bsConfig"],["id","date-hint",1,"hint"],["formGroupName","meterReading",1,"form-group","mt-6","mt-md-10"],["for","meterReading",1,"label"],[1,"mb-1"],["class","badge badge-dark badge-pill",4,"ngIf"],[1,"badge","badge-secondary","badge-pill"],[1,"d-flex","flex-row","dial"],["type","text","class","form-control form-control-lg text-center dial-digit","digitOnly","","inputmode","numeric","pattern","[0-9]*","maxlength","1","aria-describedby","meter-hint meter-error",3,"id","formControlName","name","input","focus",4,"ngFor","ngForOf"],["disabled","","placeholder","-","aria-describedby","meter-hint",1,"form-control","form-control-lg","text-center","dial-digit","dial-digit-red","d-none","d-sm-block"],["id","meter-hint",1,"hint"],["errorMsg","Please enter a meter reading","id","outMeterError",3,"displayErrorIf"],[1,"btn-group","float-right","mt-5"],["type","button",1,"btn","btn-outline-danger",3,"click"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"badge","badge-dark","badge-pill"],["type","text","digitOnly","","inputmode","numeric","pattern","[0-9]*","maxlength","1","aria-describedby","meter-hint meter-error",1,"form-control","form-control-lg","text-center","dial-digit",3,"input","focus","id","formControlName","name"],[1,"icon-circle"],[1,"modal-header","justify-content-center"],[1,"modal-title",3,"innerHTML"],[1,"modal-body","text-center"],[1,"text-center",3,"innerHTML"],[1,"modal-footer","justify-content-center"],["type","button",1,"btn","btn-dark",3,"click"],[1,"icon-circle-inner","bg-active"],["xmlns","http://www.w3.org/2000/svg","width","279.5","height","268.79","viewBox","0 0 279.5 268.79",1,"pentagon"],["d","M856.134,1644.16a30,30,0,0,1-35.268,0L711.1,1564.41a30.009,30.009,0,0,1-10.9-33.55l41.926-129.04a30,30,0,0,1,28.532-20.73H906.338a30,30,0,0,1,28.532,20.73L976.8,1530.86a30.009,30.009,0,0,1-10.9,33.55Z","transform","translate(-698.75 -1381.09)"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512","fill","white"],["d","M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"],[1,"icon-circle-inner","bg-danger"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2
162.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"],[3,"innerHTML"],[1,"btn-group"],["class","btn btn-dark","type","button",3,"click",4,"ngIf"],["type","button","href","#topnav","pageScroll","",1,"btn","btn-dark",3,"click","routerLink","pageScrollDuration"],[3,"icon"],["routerLink","/faq",1,"text-black",3,"click"],[3,"campaign"]],template:function(o,d){o&1&&(u(0,"app-page-head",1),r(1,"section",2)(2,"div",3),h(3,bt,38,8,"div",4)(4,St,50,28,"div",5),n()(),h(5,kt,14,8,"ng-template",null,0,$),r(7,"section"),h(8,Vt,1,1,"app-campaign",6),n()),o&2&&(m("alerts",d.alerts)("showWelcome",!1)("pageHeader","Provide a meter reading"),l(),m("ngClass",d.company==="LMH"?"bg-primary":"bg-primary-light"),l(2),m("ngIf",d.start),l(),m("ngIf",!d.start),l(4),m("ngForOf",d.campaigns))},dependencies:[ue,Se,we,K,Z,ee,Pe,Te,Ee,Ie,Fe,je,Ne,ke,Be,Ve,ge,Re,Ue,qe,te,Me,ze]});let t=a;return t})();var Bt=()=>U(t=>t?!0:["auth/login"]),jt=[{path:"",component:Ke,data:{authGuardPipe:Bt},canActivate:[Ae],resolve:{settings:L}}],Ze
1=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=E({type:a}),a.\u0275inj=C({providers:[L],imports:[N.forChild(jt),N]});let t=a;return t})();var Ii=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=E({type:a}),a.\u0275inj=C({imports:[Ze,He,Qe,We.forRoot()]});let t=a;return t})();export{Ii as SubmitMeterReaadingModule};
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.