PageSourceSearch

https://myaccount.southeastwater.co.uk/chunk-AHWBEUA6.js

js southeastwater.co.uk collected 2026-10-03 21:19:58 UTC 46,886 bytes, 3 lines download raw bytes

1import{a as Ke}from"./chunk-EMNRMHET.js";import{a as J}from"./chunk-A5EUQQC7.js";import{$ as p,$d as Oe,$e as st,Ab as fe,Ba as o,Ca as t,Cd as X,Ce as Qe,Da as h,Dd as ke,Eb as _e,Ed as Le,Fd as Te,Ha as b,He as Xe,Ia as f,Id as Ie,Ie as Je,Ja as c,Jb as ye,Jd as Ne,Kd as Me,Ma as ne,Nd as Ve,Ne as Ze,Oa as K,Od as De,Oe as et,Pe as tt,Qa as oe,Qe as it,R as ie,Ra as se,Rd as Re,S as A,Sa as ae,Sd as Pe,Ta as le,Te as ft,U as j,Ua as l,Ue as rt,Ve as nt,W as re,Wa as L,X as B,Xc as ve,Xe as ot,Zc as xe,_b as w,aa as d,ba as z,be as g,bf as at,ce as Ye,de as $e,eb as v,g as ht,ge as He,hb as S,ia as Q,jb as C,je,kd as be,ld as Ee,ma as a,mb as me,me as qe,na as _,nd as we,ne as Ae,oe as Be,pb as pe,pd as Fe,pe as Ue,qb as de,rb as ce,rd as Se,sb as ue,se as We,ta as y,tb as he,te as Ge,v as ee,va as s,ve as ze,z as te,zc as ge,zd as Ce}from"./chunk-UKO5M5N4.js";var k=ht(ft());var U=class{constructor(m,e,r,n,u,E,F,T,I,N,M,V,D,R,P,O,Y,$,H,W,q,G){this.uid=m,this.method=e,this.customerReference=r,this.propertyReference=n,this.title=u,this.firstName=E,this.lastName=F,this.mobileNumber=T,this.homeNumber=I,this.email=N,this.addressLineOne=M,this.addressLineTwo=V,this.addressLineThree=D,this.addressLineFour=R,this.addressLineFive=P,this.postcode=O,this.whyIsThePropertyEmpty=Y,this.otherReason=$,this.supplyEndDate=H,this.supplyStartDate=W,this.guest=q,this.token=G}};var lt=(()=>{let m=class m{constructor(r,n,u,E){this.http=r,this.globalSettingsService=n,this.functions=u,this.functionsInstances=E,this.baseUrl=w.baseUrl,this.exemptionURL=this.baseUrl+"exemption",this.globalSettings=this.globalSettingsService.getGlobalSettings(),this.globalSettingsService.globalSettingsChange.subscribe(F=>{this.globalSettings=F})}sendExemptionRequest(r,n,u,E,F,T,I,N,M,V,D,R,P,O,Y,$,H,W,q,G){let dt=new U(this.globalSettings?.uid,"UPDATE",r,n,u,E,F,T,I,N,M,V,D,R,P,O,Y,$,H,W,q,G);w.useEmulator&&we(this.functions,w.emulatorFunction[0],+w.emulatorFunction[1]);let ct=q==="YES"?"guestExemptionCF":"exemptionCF",ut=Fe(this.functionsInstances[0],ct);return this.exemptionCF$=ee(ut(dt)),this.exemptionCF$}};m.\u0275fac=function(n){return new(n||m)(j(ye),j(Ie),j(be),j(Ee))},m.\u0275prov=ie({token:m,factory:m.\u0275fac,providedIn:"root"});let i=m;return i})();var yt=["template"],x=i=>({"is-invalid":i});function gt(i,m){if(i&1&&h(0,"app-page-head",8),i&2){let e=c();s("alerts",e.alerts)("showWelcome",!1)("pageHeader","Exemption form")}}function vt(i,m){i&1&&h(0,"app-page-head-logged-out",9),i&2&&s("pageHeader","Exemption form")}function xt(i,m){if(i&1){let e=b();o(0,"div",10)(1,"h2",11),l(2,"Before you get started"),t(),o(3,"p"),l(4," Please use this form to let us know if you no longer require the water supply to your property and you would like to be exempt from charges. "),t(),o(5,"p"),l(6," Just so you know, we may send occasional letters to the property to check if the situation has changed, if we do detect usage from the meter then we would look to raise charges for the water which has been used. "),t(),o(7,"p"),l(8," Whilst the property is exempt we may turn off the water supply externally to safeguard the supply so please let us know when the supply is required again. "),t(),o(9,"div",12)(10,"button",13),f("click",function(){p(e);let n=c();return d(n.startForm())}),l(11," Start "),t()()()}}function bt(i,m){if(i&1){let e=b();o(0,"div")(1,"div",18)(2,"h2",43)(3,"label",58),l(4,"Account number (if known)"),t()(),h(5,"hr"),o(6,"small",59),l(7,"Your account number has 9 digits and you can usually find this at the top of your bill"),t(),o(8,"div",31)(9,"div",60)(10,"input",61),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t()()(),h(11,"app-input-error-message",62),t(),o(12,"h2",43),l(13,"Your name"),t(),h(14,"hr"),o(15,"div",63)(16,"div",64)(17,"div",18)(18,"label",65),l(19,"Title"),t(),o(20,"input",66),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t(),h(21,"app-input-error-message",67),t()(),o(22,"div",60)(23,"div",18)(24,"label",68),l(25,"First Name"),t(),o(26,"input",69),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t(),h(27,"app-input-error-message",70),t()(),o(28,"div",60)(29,"div",18)(30,"label",71),l(31,"Last Name"),t(),o(32,"input",72),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t(),h(33,"app-input-error-message",73),t()()(),o(34,"h2",43),l(35,"Your contact information"),t(),h(36,"hr"),o(37,"div",18)(38,"label",74),l(39,"Email address"),t(),o(40,"div",31)(41,"div",75)(42,"input",76),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t(),h(43,"app-input-error-message",77),t()()(),o(44,"div",63)(45,"div",75)(46,"div",18)(47,"label",78),l(48,"Mobile phone number"),t(),o(49,"input",79),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("onChange",function(){p(e);let n=c(2);return d(n.checkPhoneNumber())}),t()()(),o(50,"div",75)(51,"div",18)(52,"label",80),l(53,"Home phone number"),t(),o(54,"input",81),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("onChange",function(){p(e);let n=c(2);return d(n.checkPhoneNumber())}),t()()(),h(55,"app-input-error-message",82),t()()}if(i&2){let e=c(2);a(10),s("ngClass",v(13,x,e.submitted&&e.exemptionForm.get("customerReference").errors)),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("customerReference").errors),a(9),s("ngClass",v(15,x,e.submitted&&e.exemptionForm.get("title").errors)),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("title").errors),a(5),s("ngClass",v(17,x,e.submitted&&e.exemptionForm.get("firstName").errors)),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("firstName").errors),a(5),s("ngClass",v(19,x,e.submitted&&e.exemptionForm.get("lastName").errors)),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("lastName").errors),a(9),s("ngClass",v(21,x,e.submitted&&e.exemptionForm.get("email").errors)),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("email").errors),a(6),s("ngClass",v(23,x,e.submitted&&(e.mobileNumberError||e.exemptionForm.get("mobileNumber").errors))),a(5),s("ngClass",v(25,x,e.submitted&&e.homeNumberError)),a(),s("displayErrorIf",e.submitted&&(e.homeNumberError||e.mobileNumberError))}}function Et(i,m){i&1&&(o(0,"small",95),l(1,"First 2 lines of address are required"),t())}function wt(i,m){if(i&1){let e=b();o(0,"div")(1,"div",96)(2,"div",97)(3,"label",98),l(4,"House name or number"),t(),o(5,"input",99),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t()()(),o(6,"div",96)(7,"div",97)(8,"label",100),l(9,"Address line 2"),t(),o(10,"input",101),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t(),h(11,"app-input-error-message",102),t()(),o(12,"div",96)(13,"div",97)(14,"label",103),l(15,"Address line 3"),t(),o(16,"input",104),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t()()(),o(17,"div",96)(18,"div",97)(19,"label",105),l(20,"Address line 4"),t(),o(21,"input",106),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t()()(),o(22,"div",96)(23,"div",97)(24,"label",107),l(25,"Address line 5"),t(),o(26,"input",108),f("keydown.enter",function(n){return p(e),d(n.preventDefault())}),t()()()()}if(i&2){let e=c(3);a(5),s("ngClass",v(3,x,e.submitted&&e.exemptionForm.get("addressLineOne").errors)),a(5),s("ngClass",v(5,x,e.submitted&&e.exemptionForm.get("addressLineTwo").errors)),a(),s("displayErrorIf",e.submitted&&(e.exemptionForm.get("addressLineOne").errors||e.exemptionForm.get("addressLineTwo").errors))}}function Ft(i,m){if(i&1&&h(0,"fa-icon",113),i&2){let e=c(4);s("icon",e.faSearch)}}function St(i,m){i&1&&h(0,"i",114)}function Ct(i,m){if(i&1){let e=b();o(0,"div",109)(1,"button",110),f("click",function(){p(e);let n=c(3);return d(n.propertyLookup())}),l(2," Find address "),y(3,Ft,1,1,"fa-icon",111)(4,St,1,0,"i",112),t()()}if(i&2){let e=c(3);a(),s("disabled",e.exemptionForm.get("postcode").errors),a(2),s("ngIf",!e.lookupLoading),a(),s("ngIf",e.lookupLoading)}}function kt(i,m){if(i&1){let e=b();o(0,"button",115),f("click",function(){p(e);let n=c(3);return d(n.usePostcodeLookup())}),l(1," Return to postcode search "),t()}}function Lt(i,m){i&1&&(o(0,"option",120),l(1," Loading... "),t()),i&2&&s("ngValue",null)}function Tt(i,m){i&1&&(o(0,"option",120),l(1," No results found "),t()),i&2&&s("ngValue",null)}function It(i,m){i&1&&(o(0,"option",120),l(1," 1 address found "),t()),i&2&&s("ngValue",null)}function Nt(i,m){if(i&1&&(o(0,"option",120),l(1),t()),i&2){let e=c(5);s("ngValue",null),a(),L(" ",e.propertyLookups==null?null:e.propertyLookups.length," addresses found ")}}function Mt(i,m){if(i&1&&(o(0,"option",121),l(1),t()),i&2){let e=m.$implicit;s("ngValue",e),a(),L(" ",e.fullAddressNoPostcode," ")}}function Vt(i,m){if(i&1){let e=b();o(0,"button",122),f("click",function(){p(e);let n=c(5);return d(n.manuallyEnterPropertyGo())}),l(1," I can't find my address on the list "),t()}if(i&2){let e=c(5);s("hidden",e.propertyReference==null?null:e.propertyReference.startsWith("GB"))}}function Dt(i,m){if(i&1){let e=b();o(0,"div")(1,"div",22)(2,"select",116),f("ngModelChange",function(n){p(e);let u=c(4);return d(u.addressUpdate(n))}),y(3,Lt,2,1,"option",117)(4,Tt,2,1,"option",117)(5,It,2,1,"option",117)(6,Nt,2,2,"option",117)(7,Mt,2,2,"option",118),t()(),o(8,"div",12),y(9,Vt,2,1,"button",119),t()()}if(i&2){let e=c(4);a(3),s("ngIf",e.lookupLoading),a(),s("ngIf",(e.propertyLookups==null?null:e.propertyLookups.length)==0),a(),s("ngIf",(e.propertyLookups==null?null:e.propertyLookups.length)==1),a(),s("ngIf",(e.propertyLookups==null?null:e.propertyLookups.length)>1),a(),s("ngForOf",e.propertyLookups),a(2),s("ngIf",!(!e.manuallyEnterProperty&&e.postcodeDistrictMatch==="no"))}}function Rt(i,m){if(i&1&&(o(0,"div"),y(1,Dt,10,6,"div",16),t()),i&2){let e=c(3);a(),s("ngIf",e.propertyLookupSearch&&!(!e.manuallyEnterProperty&&e.postcodeDistrictMatch==="no"))}}function Pt(i,m){i&1&&(o(0,"div")(1,"p",123),l(2," Sorry we believe that this postcode is outside of our area, you can "),o(3,"a",124)(4,"u"),l(5,"check here"),t()(),l(6," to see who is listed as your correct water company. If you are sure that the property is supplied by South East Water then get in touch with us via Live Chat or "),o(7,"a",125)(8,"u"),l(9,"0333 000 0001"),t()(),l(10,". "),t()())}function Ot(i,m){i&1&&(o(0,"div")(1,"p",123),l(2," We don't have a match for this property, you can "),o(3,"a",124)(4,"u"),l(5,"check here"),t()(),l(6," to see who is listed as your correct water company. If you are sure that the property is supplied by South East Water then get in touch with us via Live Chat or "),o(7,"a",125)(8,"u"),l(9,"0333 000 0001"),t()(),l(10,". "),t()())}function Yt(i,m){if(i&1){let e=b();o(0,"fieldset")(1,"legend",83)(2,"h2")(3,"label",84),l(4,"Address"),t()(),h(5,"hr"),t(),y(6,Et,2,0,"small",85)(7,wt,27,7,"div",16),o(8,"div",86)(9,"label",87),l(10,"Postc
1ode"),t(),o(11,"div",31)(12,"div",88)(13,"input",89),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("change",function(n){p(e);let u=c(2);return d(u.exemptionForm.patchValue({postcode:n.target.value.toUpperCase()}))}),t()(),y(14,Ct,5,3,"div",90),t(),h(15,"app-input-error-message",91)(16,"app-input-error-message",92)(17,"app-input-error-message",93),t(),o(18,"div",12),y(19,kt,2,0,"button",94),t(),y(20,Rt,2,1,"div",16)(21,Pt,11,0,"div",16)(22,Ot,11,0,"div",16),t()}if(i&2){let e=c(2);a(6),s("ngIf",e.manuallyEnterProperty),a(),s("ngIf",e.manuallyEnterProperty),a(6),s("ngClass",v(11,x,e.submitted&&e.exemptionForm.get("postcode").errors)),a(),s("ngIf",!e.manuallyEnterProperty),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("postcode").errors),a(),s("displayErrorIf",e.submitted&&!e.exemptionForm.get("postcode").errors&&e.showNoLookupTriedError),a(),s("displayErrorIf",e.submitted&&!e.exemptionForm.get("postcode").errors&&!e.showNoLookupTriedError&&!e.addressSelected&&!e.manuallyEnterProperty&&e.postcodeDistrictMatch==="yes"),a(2),s("ngIf",e.manuallyEnterProperty),a(),s("ngIf",!e.manuallyEnterProperty),a(),s("ngIf",!e.manuallyEnterProperty&&e.postcodeDistrictMatch==="no"),a(),s("ngIf",!e.manuallyEnterProperty&&e.postcodeDistrictMatch==="yes"&&(e.propertyReference==null?null:e.propertyReference.startsWith("GB")))}}function $t(i,m){if(i&1&&(o(0,"option",126),l(1),t()),i&2){let e=m.$implicit;s("ngValue",e),a(),L(" ",e," ")}}function Ht(i,m){if(i&1&&(o(0,"div",20)(1,"label",127),l(2,"Other reason"),t(),h(3,"input",128),t()),i&2){let e=c(2);a(3),s("ngClass",v(1,x,e.submitted&&e.exemptionForm.get("otherReason").errors))}}function jt(i,m){i&1&&(o(0,"p"),l(1," For more information as to how we protect and use your personal data please see "),o(2,"a",129),l(3,"www.southeastwater.co.uk/privacy"),t(),l(4,". "),t())}function qt(i,m){i&1&&(o(0,"p"),l(1," For more information as to how we protect and use your personal data please see "),o(2,"a",130),l(3,"www.lmwater.co.uk/privacy-policy/"),t(),l(4,". "),t())}function At(i,m){i&1&&(o(0,"p"),l(1," For more information as to how we protect and use your personal data please see "),o(2,"a",131),l(3,"https://espwater.co.uk/privacy-policy/"),t(),l(4,". "),t())}function Bt(i,m){i&1&&(o(0,"p"),l(1," For more information as to how we protect and use your personal data please see "),o(2,"a",132),l(3,"https://matrixwater.co.uk/privacy-policy/"),t(),l(4,". "),t())}function Ut(i,m){i&1&&(o(0,"p"),l(1," For more information as to how we protect and use your personal data please see "),o(2,"a",133),l(3,"https://www.muagroup.co.uk/privacy-policy"),t(),l(4,". "),t())}function Wt(i,m){i&1&&(o(0,"p"),l(1," For more information as to how we protect and use your personal data please see "),o(2,"a",134),l(3,"https://www.leafwater.co.uk/privacy-policy"),t(),l(4,". "),t())}function Gt(i,m){if(i&1){let e=b();o(0,"div",14)(1,"form",15),y(2,bt,56,27,"div",16)(3,Yt,23,13,"fieldset",16),o(4,"div",17)(5,"div",18)(6,"div",19)(7,"div",20)(8,"label",21),l(9,"Why is the property empty?"),t(),o(10,"div",22)(11,"select",23),f("change",function(){p(e);let n=c();return d(n.emptyPropertyReason())}),o(12,"option",24),l(13,"Choose"),t(),y(14,$t,2,2,"option",25),t()()(),y(15,Ht,4,3,"div",26),t(),h(16,"app-input-error-message",27)(17,"app-input-error-message",28),t(),o(18,"div",18)(19,"fieldset")(20,"legend")(21,"label",29),l(22,"What date is the supply no longer required from?"),t()(),o(23,"small",30),l(24),S(25,"date"),t(),o(26,"div",31)(27,"div",32)(28,"label",33),l(29,"Day"),t(),o(30,"input",34),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("change",function(){p(e);let n=c();return d(n.checkDate("End"))}),t()(),o(31,"div",32)(32,"label",35),l(33,"Month"),t(),o(34,"input",36),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("change",function(){p(e);let n=c();return d(n.checkDate("End"))}),t()(),o(35,"div",37)(36,"label",38),l(37,"Year"),t(),o(38,"input",39),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("change",function(){p(e);let n=c();return d(n.checkDate("End"))}),t()()()(),h(39,"app-input-error-message",40),S(40,"date"),S(41,"date"),h(42,"app-input-error-message",41)(43,"app-input-error-message",42),t(),o(44,"div",18)(45,"fieldset")(46,"legend")(47,"label",43),l(48,"If known, what date will the supply be needed again from?"),t()(),o(49,"small",44),l(50),S(51,"date"),t(),o(52,"div",31)(53,"div",32)(54,"label",45),l(55,"Day"),t(),o(56,"input",46),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("change",function(){p(e);let n=c();return d(n.checkDate("Start"))}),t()(),o(57,"div",32)(58,"label",47),l(59,"Month"),t(),o(60,"input",48),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("change",function(){p(e);let n=c();return d(n.checkDate("Start"))}),t()(),o(61,"div",37)(62,"label",49),l(63,"Year"),t(),o(64,"input",50),f("keydown.enter",function(n){return p(e),d(n.preventDefault())})("change",function(){p(e);let n=c();return d(n.checkDate("Start"))}),t()()()(),h(65,"app-input-error-message",51),S(66,"date"),S(67,"date"),h(68,"app-input-error-message",52)(69,"app-input-error-message",53),t(),h(70,"hr"),y(71,jt,5,0,"p",16)(72,qt,5,0,"p",16)(73,At,5,0,"p",16)(74,Bt,5,0,"p",16)(75,Ut,5,0,"p",16)(76,Wt,5,0,"p",16),o(77,"div",12)(78,"div",54)(79,"button",55),f("click",function(){p(e);let n=c();return d(n.onCancel())}),l(80," Cancel "),t(),o(81,"button",56),f("click",function(){p(e);let n=le(84);return d(n.execute())}),l(82," Submit "),t(),o(83,"re-captcha",57,1),f("resolved",function(n){p(e);let u=c();return d(n&&u.onSubmit(n))}),t()()()()()()}if(i&2){let e=c();a(),s("formGroup",e.exemptionForm),a(),s("ngIf",!e.loggedIn),a(),s("ngIf",!e.loggedIn),a(),s("hidden",!e.manuallyEnterProperty&&e.postcodeDistrictMatch==="no"||(e.propertyReference==null?null:e.propertyReference.startsWith("GB"))),a(7),s("ngClass",v(49,x,e.submitted&&e.exemptionForm.get("whyIsThePropertyEmpty").errors)),a(),s("ngValue",null),a(2),s("ngForOf",e.emptyReason),a(),s("ngIf",e.exemptionForm.get("whyIsThePropertyEmpty").value==="Other"),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("whyIsThePropertyEmpty").errors),a(),s("displayErrorIf",e.submitted&&e.exemptionForm.get("otherReason").errors),a(7),L("For example, ",C(25,31,e.today,"dd MM yyyy"),""),a(15),K("errorMsg","This doesn't appear to be within the allowed date range of ",C(40,34,e.minDateCheck,"dd MMMM yyyy"),` and
2            `,C(41,37,e.maxDateCheck,"dd MMMM yyyy"),""),s("displayErrorIf",e.dateEndErrorReason=="outOfRange"),a(3),s("displayErrorIf",e.dateEndErrorReason=="overflow"),a(),s("displayErrorIf",e.submitted&&(e.exemptionForm.get("supplyEndDay").errors||e.exemptionForm.get("supplyEndMonth").errors||e.exemptionForm.get("supplyEndYear").errors)),a(7
2),L("For example, ",C(51,40,e.today,"dd MM yyyy"),""),a(15),K("errorMsg","This doesn't appear to be within the allowed date range of ",C(66,43,e.minDateCheck,"dd MMMM yyyy"),` and
3            `,C(67,46,e.maxDateCheck,"dd MMMM yyyy"),""),s("displayErrorIf",e.dateStartErrorReason=="outOfRange"),a(3),s("displayErrorIf",e.dateStartErrorReason=="overflow"||e.dateStartErrorReason=="partial"),a(),s("displayErrorIf",e.submitted&&(e.exemptionForm.get("supplyStartDay").errors||e.exemptionForm.get("supplyStartMonth").errors||e.exemptionForm.get("supplyStartYear").errors)),a(2),s("ngIf",e.company==="SEW"),a(),s("ngIf",e.company==="ICOSA"),a(),s("ngIf",e.company==="ESP"),a(),s("ngIf",e.company==="MTX"),a(),s("ngIf",e.company==="MUA"),a(),s("ngIf",e.company==="LEF"),a(7),ne("siteKey",e.recaptchakey)}}function zt(i,m){if(i&1&&(o(0,"div"),h(1,"i",142),t()),i&2){let e=c(2);a(),s("ngClass",e.success?"bg-secondary fal fa-check":"bg-danger shadow fal fa-times")}}function Qt(i,m){i&1&&(o(0,"div")(1,"div",143),z(),o(2,"svg",144),h(3,"path",145),t(),o(4,"svg",146),h(5,"path",147),t()()())}function Kt(i,m){i&1&&(o(0,"div")(1,"div",148),z(),o(2,"svg",144),h(3,"path",145),t(),o(4,"svg",149),h(5,"path",150),t()()())}function Xt(i,m){if(i&1&&(o(0,"div"),y(1,Qt,6,0,"div",16)(2,Kt,6,0,"div",16),t()),i&2){let e=c(2);a(),s("ngIf",e.success),a(),s("ngIf",!e.success)}}function Jt(i,m){if(i&1){let e=b();o(0,"div",135),y(1,zt,2,1,"div",16)(2,Xt,3,2,"div",16),t(),o(3,"div",136),h(4,"h4",137),t(),o(5,"div",138),h(6,"p",139),t(),o(7,"div",140)(8,"button",141),f("click",function(){p(e);let n=c();return d(n.closeModal())}),l(9," Close "),t()()}if(i&2){let e=c();a(),s("ngIf",e.company==="SEW"||e.company==="ESP"),a(),s("ngIf",e.company==="ICOSA"||e.company==="MTX"||e.company==="MUA"||e.company==="LEF"),a(2),s("innerHTML",e.modalTitle,Q),a(2),s("innerHTML",e.modalBody,Q)}}var mt=(()=>{let m=class m{constructor(r,n,u,E,F,T,I,N,M,V,D,R,P,O,Y,$){this.analyticsService=r,this.authService=n,this.customerService=u,this.fb=E,this.location=F,this.pageScrollService=T,this.propertyLookupService=I,this.userService=N,this.router=M,this.exemptionService=V,this.propertyService=D,this.auth=R,this.spinner=P,this.spinnerService=O,this.modalService=Y,this.document=$,this.loggedIn=!1,this.company=w.company,this.recaptchakey=w.recaptcha.siteKey,this.alerts=[],this.campaigns=[],this.start=!0,this.submitted=!1,this.showNoLookupTriedError=!0,this.lookupLoading=!1,this.addressSelected=!1,this.propertyLookupSearch=!1,this.manuallyEnterProperty=!1,this.addressLineOne=null,this.addressLineTwo=null,this.addressLineThree=null,this.addressLineFour=null,this.addressLineFive=null,this.postcode=null,this.propertyReference=null,this.emptyReason=["Occupant is in a care home/hospital/hospice","Empty pending sale","Empty pending tenants","Occupant in prison","Supply not in use","Uninhabitable from fire/flood etc","Other"],this.today=new Date,this.minDateCheck=null,this.maxDateCheck=null,this.dateEnd=null,this.dateStart=null,this.minDateChange=365,this.maxDateChange=365,this.dateEndPass=!1,this.dateStartPass=!1,this.subscriptions=[],this.config={animated:!0,keyboard:!0,backdrop:!0,ignoreBackdropClick:!1,class:""},this.debug=!1,this.faSearch=ge,this.isLoggedIn$=this.authService.isLoggedIn.subscribe(H=>this.loggedIn=H),this.minDateCheck=new Date,this.minDateCheck.setDate(this.minDateCheck.getDate()-this.minDateChange),this.minDateCheck=(0,k.default)(this.minDateCheck).format("YYYY-MM-DD"),this.maxDateCheck=new Date,this.maxDateCheck.setDate(this.maxDateCheck.getDate()+this.maxDateChange),this.maxDateCheck=(0,k.default)(this.maxDateCheck).format("YYYY-MM-DD")}ngOnInit(){this.analyticsService.pageView("exemption-form","./exemption-form","exemption-form"),this.customerSubscription=this.customerService.customerChange.subscribe(r=>{this.customer=r,this.alerts=this.customerService.getAlerts("exemptionform"),this.campaigns=this.customerService.getCampaigns("exemptionform")}),this.customer=this.customerService.getCustomer(),this.userSubscription=this.userService.userChange.subscribe(r=>{this.user=r}),this.propertySubscription=this.propertyService.propertyChange.subscribe(r=>{this.property=r}),this.authState$=xe(this.auth),this.authState$.subscribe(r=>{this.afUser=r}),this.property=this.propertyService.getProperty(),this.user=this.userService.getUser(),this.alerts=this.customerService.getAlerts("exemptionform"),this.campaigns=this.customerService.getCampaigns("exemptionform"),this.exemptionForm=this.fb.group({customerReference:[{disabled:!0,value:null}],title:[{disabled:!0,value:""},g.required],firstName:[{disabled:!0,value:""},g.required],lastName:[{disabled:!0,value:""},g.required],mobileNumber:[{disabled:!0,value:""},g.required],homeNumber:[{disabled:!0,value:""}],email:[{disabled:!0,value:""},[g.required,g.email]],propertySearchResult:[{disabled:!0,value:null}],postcode:[{disabled:!0,value:null},[g.required,g.minLength(5)]],addressLineOne:[{disabled:!0,value:null},g.required],addressLineTwo:[{disabled:!0,value:null},g.required],addressLineThree:[{disabled:!0,value:null}],addressLineFour:[{disabled:!0,value:null}],addressLineFive:[{disabled:!0,value:null}],whyIsThePropertyEmpty:[null,g.required],otherReason:[{disabled:!0,value:null},g.required],supplyEndDay:[null,g.required],supplyEndMonth:[null,g.required],supplyEndYear:[null,g.required],supplyStartDay:null,supplyStartMonth:null,supplyStartYear:null})}startForm(){this.start=!1,this.loggedIn||(this.exemptionForm.get("customerReference").enable(),this.exemptionForm.get("title").enable(),this.exemptionForm.get("firstName").enable(),this.exemptionForm.get("lastName").enable(),this.exemptionForm.get("mobileNumber").enable(),this.exemptionForm.get("homeNumber").enable(),this.exemptionForm.get("email").enable(),this.exemptionForm.get("propertySearchResult").enable(),this.exemptionForm.get("postcode").enable()),this.scrollToTop()}scrollToTop(){this.pageScrollService.scroll({document:this.document,scrollTarget:"#topnav",duration:0})}
3focusOnError(r){r.focus()}onSubmit(r){this.submitted=!0,this.debug&&console.log("Form data: ",this.exemptionForm.value);let n=document.querySelector(".ng-invalid[formControlName]");this.exemptionForm.invalid?this.focusOnError(n):!this.dateEndPass||!this.dateStartPass||(this.showNoLookupTriedError||!this.addressSelected)&&!this.manuallyEnterProperty&&!this.loggedIn||this.homeNumberError||this.mobileNumberError||(this.createAddress(),this.loggedIn?(this.guest="NO",this.customer=this.customerService.getCustomer(),this.customerReference=this.customer.customerReference,this.title=this.customer.customerTitle,this.firstName=this.customer.customerInitials,this.lastName=this.customer.customerName,this.mobileNumber=this.customer.mainTelephoneNumber,this.homeNumber="",this.email=this.afUser.email):(this.customerReference=this.exemptionForm.get("customerReference").value,this.customerReference!==null&&this.customerReference.substr(0,8),this.guest="YES",this.title=this.exemptionForm.get("title").value,this.firstName=this.exemptionForm.get("firstName").value,this.lastName=this.exemptionForm.get("lastName").value,this.mobileNumber=this.exemptionForm.get("mobileNumber").value,this.homeNumber=this.exemptionForm.get("homeNumber").value,this.email=this.exemptionForm.get("email").value),this.dateEnd=(0,k.default)(new Date(this.exemptionForm.get("supplyEndYear").value,this.exemptionForm.get("supplyEndMonth").value-1,this.exemptionForm.get("supplyEndDay").value)).format("YYYY-MM-DD"),this.dateStartErrorReason==="dateOk"&&(this.dateStart=(0,k.default)(new Date(this.exemptionForm.get("supplyStartYear").value,this.exemptionForm.get("supplyStartMonth").value-1,this.exemptionForm.get("supplyStartDay").value)).format("YYYY-MM-DD")),this.spinnerService.setSpinnerDescription("Please wait..."),this.spinner.show(),this.exemptionService.sendExemptionRequest(this.customerReference,this.propertyReference,this.title,this.firstName,this.lastName,this.mobileNumber,this.homeNumber,this.email,this.addressLineOne,this.addressLineTwo,this.addressLineThree,this.addressLineFour,this.addressLineFive,this.postcode,this.exemptionForm.get("whyIsThePropertyEmpty").value,this.exemptionForm.get("otherReason").value,this.dateEnd,this.dateStart,this.guest,r).subscribe(u=>{this.debug&&console.log("result: ",u),this.spinner.hide(),this.returnMessage=u.data.returnMessage,this.success=this.returnMessage==="GREEN"||this.returnMessage==="AMBER",this.config.class=this.success?"success-modal":"warning-modal",this.modalTitle=this.success?"All complete":"Sorry we've hit a problem",this.modalBody=this.success?"Thank you we have received your Exemption form.":"Oh no, I am so sorry but that didn't seem to work, could you please try again.",this.returnMessage==="GREEN"&&nt.includes(this.company)&&(this.modalBody+=rt),this.openModal(this.templateRef)},u=>{this.spinner.hide(),this.success=!1,this.config.class=this.success?"success-modal":"danger-modal",this.modalTitle=this.success?"All complete":"Sorry we've hit a problem",this.modalBody=this.success?"Thank you we have received your Exemption form.":"Oh no, I am so sorry but that didn't seem to work, could you please try again.",this.openModal(this.templateRef),this.debug&&console.log("error: ",u)}))}onCancel(){this.loggedIn?(this.location.back(),this.pageScrollService.scroll({document:this.document,scrollTarget:"#topnav",duration:100})):(this.router.navigate(["/auth/login"]),this.pageScrollService.scroll({document:this.document,scrollTarget:"#topnav",duration:100}))}openModal(r){this.modalRef=this.modalService.show(r,Object.assign({},this.config)),this.subscriptions.push(this.modalService.onHide.subscribe(n=>{n==="backdrop-click"&&this.success&&this.onCancel()}))}closeModal(){if(this.modalRef)this.success?this.onCancel():this.submitted=!1;else return;this.modalRef.hide(),this.modalRef=null}checkPhoneNumber(){let r=this.exemptionForm.get("homeNumber").value?.replace(/\s/g,""),n=this.exemptionForm.get("mobileNumber").value?.replace(/\s/g,""),u=RegExp("^(((\\+44\\s?\\d{4}|\\(?0\\d{4}\\)?)\\s?\\d{3}\\s?\\d{3})|((\\+44\\s?\\d{3}|\\(?0\\d{3}\\)?)\\s?\\d{3}\\s?\\d{4})|((\\+44\\s?\\d{2}|\\(?0\\d{2}\\)?)\\s?\\d{4}\\s?\\d{4}))(\\s?\\#(\\d{4}|\\d{3}))?$");this.homeNumberWithoutSpaces=+r,this.mobileNumberWithoutSpaces=+n,this.exemptionForm.get("homeNumber").value!==""&&u.test(r)===!1?this.homeNumberError=!0:this.homeNumberError=!1,this.exemptionForm.get("mobileNumber").value!==""&&u.test(n)===!1?this.mobileNumberError=!0:this.mobileNumberError=!1}propertyLookup(){this.showNoLookupTriedError=!1,this.addressSelected=!1,this.lookupLoading=!0,this.exemptionForm.get("addressLineOne").disable(),this.exemptionForm.get("addressLineTwo").disable(),this.exemptionForm.get("addressLineThree").disable(),this.exemptionForm.get("addressLineFour").disable(),this.exemptionForm.get("addressLineFive").disable(),this.propertyLookupSearch&&(this.propertyLookupSearch=!1,this.addressSelected=!1,this.lookupLoading=!0,this.addressLineOne=null,this.addressLineTwo=null,this.addressLineThree=null,this.addressLineFour=null,this.addressLineFive=null,this.postcode=null,this.propertyReference=null,this.exemptionForm.get("propertySearchResult").reset(),this.propertyLookups=null,this.postcodeDistrictMatch=""),this.propertyLookupSearch=!0;
3let r=this.exemptionForm.get("postcode").value,n=this.exemptionForm.get("addressLineOne").value;this.propertyLookupService.getProperties(r,n).subscribe(u=>{this.propertyLookups=u.data.propertyLookups,this.postcodeDistrictMatch=u.data.postcodeDistrictMatch,this.lookupLoading=!1},u=>{this.lookupLoading=!1})}addressUpdate(r){this.propertyLookupSearch&&(this.addressSelected=!0,this.addressLineOne=r.addressLine1,this.addressLineTwo=r.addressLine2,this.addressLineThree=r.addressLine3,this.addressLineFour=r.addressLine4,this.addressLineFive=r.addressLine5,this.postcode=r.postCode,this.propertyReference=r.propertyReference)}manuallyEnterPropertyGo(){this.manuallyEnterProperty=!0,this.exemptionForm.get("postcode").disable(),this.exemptionForm.get("addressLineOne").enable(),this.exemptionForm.get("addressLineTwo").enable(),this.exemptionForm.get("addressLineThree").enable(),this.exemptionForm.get("addressLineFour").enable(),this.exemptionForm.get("addressLineFive").enable(),this.addressLineOne=this.exemptionForm.get("addressLineOne"),this.addressLineTwo=this.exemptionForm.get("addressLineTwo"),this.addressLineThree=this.exemptionForm.get("addressLineThree"),this.addressLineFour=this.exemptionForm.get("addressLineFour"),this.addressLineFive=this.exemptionForm.get("addressLineFive"),this.propertyReference=""}usePostcodeLookup(){this.exemptionForm.get("postcode").enable(),this.manuallyEnterProperty=!1,this.showNoLookupTriedError=!0,this.postcodeDistrictMatch="",this.propertyLookupSearch&&(this.propertyLookupSearch=!1,this.addressLineOne=null,this.addressLineTwo=null,this.addressLineThree=null,this.addressLineFour=null,this.addressLineFive=null,this.postcode=null,this.propertyReference=null,this.exemptionForm.get("propertySearchResult").reset()),this.exemptionForm.get("addressLineOne").reset(),this.exemptionForm.get("addressLineTwo").reset(),this.exemptionForm.get("addressLineThree").reset(),this.exemptionForm.get("addressLineFour").reset(),this.exemptionForm.get("addressLineFive").reset(),this.exemptionForm.get("addressLineOne").disable(),this.exemptionForm.get("addressLineTwo").disable(),this.exemptionForm.get("addressLineThree").disable(),this.exemptionForm.get("addressLineFour").disable(),this.exemptionForm.get("addressLineFive").disable()}createAddress(){this.loggedIn?this.propertyReference=this.propertyService.getProperty().propertyReference:this.manuallyEnterProperty?(this.addressLineOne=this.exemptionForm.get("addressLineOne").value,this.addressLineTwo=this.exemptionForm.get("addressLineTwo").value,this.addressLineThree=this.exemptionForm.get("addressLineThree").value,this.addressLineFour=this.exemptionForm.get("addressLineFour").value,this.addressLineFive=this.exemptionForm.get("addressLineFive").value,this.postcode=this.exemptionForm.get("postcode").value,this.propertyReference=null):(this.addressLineOne=this.addressLineOne,this.addressLineTwo=this.addressLineTwo,this.addressLineThree=this.addressLineThree,this.addressLineFour=this.addressLineFour,this.addressLineFive=this.addressLineFive,this.postcode=this.postcode,this.propertyReference=this.propertyReference)}emptyPropertyReason(){this.exemptionForm.get("whyIsThePropertyEmpty").value==="Other"?this.exemptionForm.get("otherReason").enable():(this.exemptionForm.get("otherReason").reset(),this.exemptionForm.get("otherReason").disable())}checkDate(r){this.exemptionForm.get(`supply${r}Year`).value!=null&&this.exemptionForm.get(`supply${r}Month`).value!=null&&this.exemptionForm.get(`supply${r}Day`).value!=null&&this.exemptionForm.get(`supply${r}Year`).value!==""&&this.exemptionForm.get(`supply${r}Month`).value!==""&&this.exemptionForm.get(`supply${r}Day`).value!==""?(this[`date${r}`]=(0,k.default)({year:this.exemptionForm.get(`supply${r}Year`).value,month:this.exemptionForm.get(`supply${r}Month`).value-1,day:this.exemptionForm.get(`supply${r}Day`).value}),(0,k.default)(this[`date${r}`]).isValid()?this[`date${r}`]?.isBefore(this.minDateCheck)||this[`date${r}`]?.isAfter(this.maxDateCheck)?(this[`date${r}Pass`]=!1,this[`date${r}ErrorReason`]="outOfRange"):(this[`date${r}Pass`]=!0,this[`date${r}ErrorReason`]="dateOk"):(this[`date${r}Pass`]=!1,this[`date${r}ErrorReason`]="overflow")):this.exemptionForm.get(`supply${r}Year`).value!=null&&this.exemptionForm.get(`supply${r}Year`).value!==""||this.exemptionForm.get(`supply${r}Month`).value!=null&&this.exemptionForm.get(`supply${r}Month`).value!==""||this.exemptionForm.get(`supply${r}Day`).value!=null&&this.exemptionForm.get(`supply${r}Day`).value!==""?(this[`date${r}Pass`]=!1,this[`date${r}`]=null,this[`date${r}ErrorReason`]="partial"):(this[`date${r}ErrorReason`]="empty",this[`date${r}Pass`]=!0),this.dateStartErrorReason===void 0&&(this.dateStartPass=!0)}ngOnDestroy(){this.customerSubscription.unsubscribe(),this.propertySubscription.unsubscribe(),this.userSubscription.unsubscribe()}};m.\u0275fac=function(n){return new(n||m)(_(Ve),_(Te),_(Ne),_(ze),_(de),_(Re),_(st),_(Me),_(Ce),_(lt),_(De),_(ve),_(ke),_(Le),_(Qe),_(pe))},m.\u0275cmp=re({type:m,selectors:[["app-exemption-form"]],viewQuery:function(n,u){if(n&1&&oe(yt,5),n&2){let E;se(E=ae())&&(u.templateRef=E.first)}},decls:8,vars:4,consts:[["template",""],["captchaRef","reCaptcha"],[3,"alerts","showWelcome","pageHeader",4,"ngIf"],[3,"pageHeader",4,"ngIf"],[1,"bg-primary-light"],[1,"container","px-3","py-8","mx-auto"],["class","jumbotron bg-light",4,"ngIf"],["class","form-wrap",4,"ngIf"],[3,"alerts","showWelcome","pageHeader"],[3,"pageHeader"],[1,"jumbotron","bg-light"],[1,"text-center"],[1,"clearfix"],["type","button",1,"btn","btn-primary","float-right","my-4",3,"click"],[1,"form-wrap"],[3,"formGroup"],[4,"ngIf"],[3,"hidden"],[1,"form-group"],[1,"form-row","align-items-end"],[1,"col-lg-6"],["for","whyIsThePropertyEmpty",1,"label","required"],[1,"select-wrap"],["aria-describedby","whyIsThePropertyEmptyError","formControlName","whyIsThePropertyEmpty","name","whyIsThePropertyEmpty","id","whyIsThePropertyEmpty",1,"custom-select","font-weight-bold",3,"change","ngClass"],["disabled","",3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],["class","col-lg-6",4,"ngIf"],["errorMsg","Please tell us why the property is empty","id","whyIsThePropertyEmptyError",3,"displayErrorIf"],["errorMsg","Please specify your reason","id","otherReasonError",3,"displayErrorIf"],[1,"label","mb-0","required"],["id","dateEndHint",1,"hint"],[1,"form-row"],[1,"col-4","col-md-1"],["for","supplyEndDay",1,"sr-only"],["type","text","formControlName","supplyEndDay","placeholder","DD","maxlength","2","digitOnly","","inputmode","numeric","pattern","[0-9]*","aria-describedby","dateEndHint dateEndError",1,"form-control","p-0","text-center","font-weight-bold",3,"keydown.enter","change"],["for","supplyEndMonth",1,"sr-only"],["type","text","formControlName","supplyEndMonth","placeholder","MM","maxlength","2","digitOnly","","inputmode","numeric","pattern","[0-9]*","aria-describedby","dateEndHint dateEndError",1,"form-control","p-0","text-center","font-weight-bold",3,"keydown.enter","change"],[1,"col-4","col-md-2"],["for","supplyEndYear",1,"sr-only"],["type","text","formControlName","supplyEndYear","placeholder","YYYY","maxlength","4","digitOnly","","inputmode","numeric","pattern","[0-9]*","aria-describedby","dateEndHint dateEndError",1,"form-control","p-0","text-center","font-weight-bold",3,"keydown.enter","change"],["id","dateEndError",3,"displayErrorIf","errorMsg"],["errorMsg","Please ensure you enter a valid date","id","dateEndError",3,"displayErrorIf"],["errorMsg","Please enter a date","id","dateEndError",3,"displayErrorIf"],[1,"mb-0"],["
3id","dateStartHint",1,"hint"],["for","supplyStartDay",1,"sr-only"],["type","text","formControlName","supplyStartDay","placeholder","DD","maxlength","2","digitOnly","","inputmode","numeric","pattern","[0-9]*","aria-describedby","dateStartHint dateStartError",1,"form-control","p-0","text-center","font-weight-bold",3,"keydown.enter","change"],["for","supplyStartMonth",1,"sr-only"],["type","text","formControlName","supplyStartMonth","placeholder","MM","maxlength","2","digitOnly","","inputmode","numeric","pattern","[0-9]*","aria-describedby","dateStartHint dateStartError",1,"form-control","p-0","text-center","font-weight-bold",3,"keydown.enter","change"],["for","supplyStartYear",1,"sr-only"],["type","text","formControlName","supplyStartYear","placeholder","YYYY","maxlength","4","digitOnly","","inputmode","numeric","pattern","[0-9]*","aria-describedby","dateStartHint dateStartError",1,"form-control","p-0","text-center","font-weight-bold",3,"keydown.enter","change"],["id","dateStartError",3,"displayErrorIf","errorMsg"],["errorMsg","Please ensure you enter a valid date","id","dateStartError",3,"displayErrorIf"],["errorMsg","Please enter a date","id","dateStartError",3,"displayErrorIf"],[1,"btn-group","float-right","pt-5"],["type","button",1,"btn","btn-outline-danger","font-weight-bold",3,"click"],["type","button",1,"btn","btn-primary","font-weight-bold",3,"click"],["size","invisible",3,"resolved","siteKey"],["for","customerReference"],["id","customerReferenceHint",1,"hint"],[1,"col-md-5"],["formControlName","customerReference","name","customerReference","id","customerReference","mask","00000000-A","placeholder","12345678-0","type","text","aria-describedby","customerReferenceHint customerReferenceError",1,"form-control","font-weight-bold",3,"keydown.enter","ngClass"],["errorMsg","Your account number is incorrect, it should be 9 digits long","id","customerReferenceError",3,"displayErrorIf"],[1,"form-row","mb-5"],[1,"col-md-2"],["for","title",1,"label","required","mb-0"],["type","text","name","title","id","title","formControlName","title","maxlength","14","aria-describedby","titleError","autocomplete","honorific-prefix",1,"form-control","font-weight-bold",3,"keydown.enter","ngClass"],["errorMsg","Please enter your title","id","titleError",3,"displayErrorIf"],["for","firstName",1,"label","required","mb-0"],["type","text","formControlName","firstName","name","firstName","id","firstName","maxlength","30","aria-describedby","firstNameError","autocomplete","given-name",1,"form-control","font-weight-bold",3,"keydown.enter","ngClass"],["errorMsg","Please enter your first name","
3id","firstNameError",3,"displayErrorIf"],["for","lastName",1,"label","required","mb-0"],["type","text","formControlName","lastName","name","lastName","id","lastName","maxlength","30","autocomplete","family-name","aria-describedby","lastNameError",1,"form-control","font-weight-bold",3,"keydown.enter","ngClass"],["errorMsg","Please enter your last name","id","lastNameError",3,"displayErrorIf"],["for","email",1,"label","mb-0","required"],[1,"col-md-6"],["type","text","formControlName","email","name","email","id","email","type","email","autocomplete","email","aria-describedby","emailError",1,"form-control","font-weight-bold",3,"keydown.enter","ngClass"],["errorMsg","Please enter a valid email address","id","emailError",3,"displayErrorIf"],["for","mobileNumber",1,"label","required","mb-0"],["type","text","formControlName","mobileNumber","name","mobileNumber","id","mobileNumber","type","tel","autocomplete","tel","aria-describedby","phoneNumberError","inputmode","numeric",1,"form-control","font-weight-bold",3,"keydown.enter","onChange","ngClass"],["for","homeNumber",1,"label","mb-0"],["type","text","formControlName","homeNumber","name","homeNumber","id","homeNumber","type","tel","autocomplete","tel","aria-describedby","phoneNumberError","inputmode","numeric",1,"form-control","font-weight-bold",3,"keydown.enter","onChange","ngClass"],["errorMsg","Please make sure that you have entered a valid phone number","id","phoneNumberError",3,"displayErrorIf"],[1,"pt-5","mb-0"],["for","address"],["id","addressHint","class","hint",4,"ngIf"],[1,"form-group","mb-3"],["for","postcode",1,"label","required"],[1,"col-sm-4"],["formControlName","postcode","name","postcode","id","postcode","type","text","autocomplete","postal-code","aria-describedby","postcodeError",1,"form-control","font-weight-bold","text-uppercase",3,"keydown.enter","change","ngClass"],["class","col-auto",4,"ngIf"],["errorMsg","Please enter a valid postcode","id","postcodeError",3,"displayErrorIf"],["errorMsg","Please search for an address","id","postcodeError",3,"displayErrorIf"],["errorMsg","Please choose an address from the list","id","postcodeError",3,"displayErrorIf"],["class","btn btn-sm btn-info mb-3 font-weight-bold","type","button",3,"click",4,"ngIf"],["id","addressHint",1,"hint"],[1,"row","mb-3"],[1,"form-group","col-lg-10"],["for","addressLineOne",1,"sr-only"],["formControlName","addressLineOne","autocomplete","addressline1","name","addressLineOne","id","addressLineOne","type","text","aria-describedby","addressHint addressLineError",1,"form-control","font-weight-bold",3,"keydown.enter","ngClass"],["for","addressLineTwo",1,"sr-only"],["formControlName","addressLineTwo","name","addressLineTwo","id","addressLineTwo","aria-describedby","addresshint addressLineError","autocomplete","addressline2","type","text",1,"form-control","font-weight-bold",3,"keydown.enter","ngClass"],["errorMsg","Please provide at least the first 2 lines of your address","id","addressLineError",3,"displayErrorIf"],["for","addressLineThree",1,"sr-only"],["formControlName","addressLineThree","name","addressLineThree","id","addressLineThree","autocomplete","addresslevel2","type","text",1,"form-control","font-weight-bold",3,"keydown.enter"],["for","addressLineFour",1,"sr-only"],["formControlName","addressLineFour","name","addressLineFour","id","addressLineFour","type","text",1,"form-control","font-weight-bold",3,"keydown.enter"],["for","addressLineFive",1,"sr-only"],["formControlName","addressLineFive","name","addressLineFive","id","addressLineFive","type","text",1,"form-control","font-weight-bold",3,"keydown.enter"],[1,"col-auto"],["type","button",1,"btn","btn-primary","font-weight-bold",3,"click","disabled"],[3,"icon",4,"ngIf"],["class","fas fa-spinner-third fa-spin",4,"ngIf"],[3,"icon"],[1,"fas","fa-spinner-third","fa-spin"],["type","button",1,"btn","btn-sm","btn-info","mb-3","font-weight-bold",3,"click"],["formControlName","propertySearchResult",1,"custom-select","font-weight-bold","mb-3",3,"ngModelChange"],["class","font-weight-bold","disabled","",3,"ngValue",4,"ngIf"],["class","font-weight-bold",3,"ngValue",4,"ngFor","ngForOf"],["class","btn btn-sm btn-info mb-3 font-weight-bold","type","button",3,"hidden","click",4,"ngIf"],["disabled","",1,"font-weight-bold",3,"ngValue"],[1,"font-weight-bold",3,"ngValue"],["type","button",1,"btn","btn-sm","btn-info","mb-3","font-weight-bold",3,"click","hidden"],[1,"callout","bg-warning","callout-warning","text-black","font-weight-bold"],["href","https://www.water.org.uk/advice-for-customers/find-your-supplier/",1,"text-dark"],["href","tel:0333 000 0001",1,"text-dark"],[3,"ngValue"],["for","otherReason",1,"label","required"],["formControlName","otherReason","aria-describedby","otherReasonError","type","text","name","otherReason","id","otherReason",1,"form-control","font-weight-bold",3,"ngClass"],["href","https://www.southeastwater.co.uk/privacy","target","_blank"],["href","https://www.lmwater.co.uk/privacy-policy/","target","_blank"],["href","https://espwater.co.uk/privacy-policy/","target","_blank"],["href","https://matrixwater.co.uk/privacy-policy/","target","_blank"],["href","https://www.muagroup.co.uk/privacy-policy","target","_blank"],["href","https://www.leafwater.co.uk/privacy-policy","target","_blank"],[1,"icon-circle"],[1,"modal-header","justify-content-center"],[1,"modal-title",3,"innerHTML"],[1,"modal-body"],[1,"text-center",3,"innerHTML"],[1,"modal-footer","justify-content-center"],["type","button",1,"btn","btn-dark",3,"click"],[3,"ngClass"],[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 
362.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"]],template:function(n,u){n&1&&(y(0,gt,1,3,"app-page-head",2)(1,vt,1,1,"app-page-head-logged-out",3),o(2,"section",4)(3,"div",5),y(4,xt,12,0,"div",6)(5,Gt,85,51,"div",7)(6,Jt,10,4,"ng-template",null,0,me),t()()),n&2&&(s("ngIf",u.loggedIn),a(),s("ngIf",!u.loggedIn),a(3),s("ngIf",u.start),a(),s("ngIf",!u.start))},dependencies:[ce,ue,he,Pe,ot,Xe,He,Be,Ue,Oe,Ae,Ye,$e,We,Ge,je,qe,Se,Ze,Je,et,fe]});let i=m;return i})();var Zt=()=>te(i=>i?!0:["auth/login"]),ei=[{path:"",component:mt,data:{authGuardPipe:Zt},canActivate:[Ke],resolve:{settings:J}}],pt=(()=>{let m=class m{};m.\u0275fac=function(n){return new(n||m)},m.\u0275mod=B({type:m}),m.\u0275inj=A({providers:[J],imports:[X.forChild(ei),X]});let i=m;return i})();var Qi=(()=>{let m=class m{};m.\u0275fac=function(n){return new(n||m)},m.\u0275mod=B({type:m}),m.\u0275inj=A({imports:[_e,pt,at,tt,it]});let i=m;return i})();export{Qi as ExemptionFormModule};

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.