PageSourceSearch

https://www.aat.org.uk/csr/chunk-MIG2OIIL.js

js aat.org.uk collected 2026-10-03 21:41:13 UTC 11,516 bytes, 3 lines download raw bytes

1import{a as D}from"./chunk-QZ2HMMMO.js";import{c as j}from"./chunk-RJLHLO5O.js";import{a as A}from"./chunk-JEL6HJ7P.js";import{L as T,c as S,q as E,sa as I}from"./chunk-YQOD7X2Z.js";import"./chunk-563YFTIG.js";import"./chunk-36JN3LZY.js";import"./chunk-WPHW6CRH.js";import"./chunk-76O7YCWW.js";import{c as w,e as k}from"./chunk-YYIIKC2W.js";import{e as v}from"./chunk-3WYGUSDH.js";import{a as M,c as O}from"./chunk-LU7SZU5X.js";import"./chunk-PO2RDVKE.js";import{Ac as y,Pb as g,Rb as m,Wb as b,Xb as r,Yb as o,Zb as _,ca as C,db as c,ga as u,lc as x,o as h,pb as p,s as f,ub as P,zc as a}from"./chunk-3URBZWPM.js";import"./chunk-ODN5LVDJ.js";var L=(()=>{let n=class n{constructor(e,t,s){this.http=e,this.authService=t,this.ssrCookieService=s,this.authService.getCurrentUser().subscribe({next:d=>{this.contactId=d["custom:contact_id"]}})}createHeaders(){return{headers:new M({"Content-Type":"application/json",Authorization:this.ssrCookieService.get("access_token")})}}getPaymentData(e){return this.http.get(A.API_URL+"/payment/"+e,this.createHeaders()).pipe(f(t=>t))}handleError(e){return h(()=>e.status?`${e.status} - ${e.statusText}`:"Server Error")}};n.\u0275fac=function(t){return new(t||n)(u(O),u(E),u(S))},n.\u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"});let i=n;return i})();function F(i,n){i&1&&(r(0,"div")(1,"div"),_(2,"fab-loader"),o()())}function H(i,n){if(i&1&&(r(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2")(4,"strong"),a(5,"Your application has been submitted"),o()()(),r(6,"div",3)(7,"p"),a(8,"Thank you for submitting your application for a reduced fee."),o(),r(9,"p"),a(10," Your payment reference is "),r(11,"strong"),a(12),o(),a(13,". You'll receive a payment confirmation email and an email confirming the progress of your application within 24 hours. "),o(),r(14,"p"),a(15," If you have any queries, please "),r(16,"a",4),a(17,"email us"),o(),a(18," or call us on "),r(19,"a",5),a(20,"+44 (0)20 3735 2468"),o(),a(21,". Lines are open Monday to Friday, 09.00\u201317.00 (UK time). "),o()(),r(22,"div",6),_(23,"div")(24,"fab-button",7),o()()()),i&2){let l=x();c(12),y(l.paymentData.reference),c(12),b("button",l.dashboardButton)}}function q(i,n){if(i&1&&(r(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2")(4,"strong"),a(5,"Sorry, there seems to be an error with your payment"),o()()(),r(6,"div",3)(7,"p"),a(8,"This may be because:"),o(),r(9,"ul")(10,"li"),a(11,"there was a miscalculation in the totals"),o(),r(12,"li"),a(13,"the transaction was cancelled"),o()(),_(14,"fab-button",7),o()()()),i&2){let l=x();c(14),b("button",l.rsubButton)}}var Z=(()=>{let n=class n{constructor(e,t,s,d){this.router=s,this.titleService=d,this.isLoading=!1,this.hasError=!1,this.printButton={text:"Print this page",action:{type:"callback",callback:this.print.bind(this)},type:"primary",glyph:{icon:T.PRINT},aria:"Print this page"},this.dashboardButton={text:"Go to your MyAAT account",action:{type:"callback",callback:this.navigateToMyAAT.bind(this)},type:"primary",aria:"Go to you MyAAT account"},this.rsubButton={text:"Return to application",action:{type:"link",link:"/payments/reduced-fee",useRouterLink:!1},type:"primary",aria:"Return to appliation"},this.landingNotification={type:"ghost",fullWidth:!0,message:`If you are a current Direct Debit payer and you wish to make any changes or amendments to your Direct
2      Debit we must receive this no later than 12 working days before you fee is due. Contact the Membership
3      Support team <a>+44 (0)20 3735 2468</a> or <a>[email protected].</a>`,isOpened:!0,leftAlign:!1},this.titleService.setTitle("Confirmation | OCMP"),e.data.subscribe(z=>{this.contact=z.contact}),this.route=e,this.payment=t}getPaymentDetails(e){this.isLoading=!0,this.payment.getPaymentData(e).subscribe(t=>{(t.message==="Forbidden"||t.state!=="ok")&&(this.hasError=!0,this.titleService.setTitle("Payment Failed | OCMP")),this.paymentData={reference:t.aatPaymentReference},this.isLoading=!1},t=>{this.isLoading=!1,this.hasError=!0,console.log(t)})}print(){this.runGaEvent("cta","Print"),window.print()}ngOnInit(){this.state=this.route.snapshot.queryParamMap.get("state"),this.paymentId=this.route.
3snapshot.queryParamMap.get("paymentId"),this.getPaymentDetails(this.paymentId),this.runGaEvent("funnel_step","reduced subs","payment summary")}runGaEvent(e,t,s,d){e==="funnel_step"?dataLayer.push({event:e,funnel_name:t,funnel_step_name:s,funnel_step_detail:d||""}):e==="cta"&&dataLayer.push({event:"customClick",clickType:"cta",clickPath:"/payments/reduced-fee/payment",clickText:t,clickDetail:null})}navigateToMyAAT(){this.runGaEvent("cta","Go to your MyAAT account"),this.navigateTo("/myaat/dashboards")}navigateTo(e){this.router.navigate([e])}};n.\u0275fac=function(t){return new(t||n)(p(w),p(L),p(k),p(v))},n.\u0275cmp=P({type:n,selectors:[["rsubs-payment-page"]],decls:3,vars:3,consts:[[1,"reduce-subs-page"],[1,"reduce-subs-page__box"],[1,"reduce-subs-page__box--header"],[1,"reduce-subs-page__box--element"],["href","mailto:[email protected]"],["href","tel:+442037352468"],[1,"reduce-subs-page__box--element","reduce-subs-page__button-block"],[3,"button"]],template:function(t,s){t&1&&(g(0,F,3,0,"div"),g(1,H,25,2,"div",0),g(2,q,15,1,"div",0)),t&2&&(m(s.isLoading?0:-1),c(),m(!s.isLoading&&!s.hasError?1:-1),c(),m(!s.isLoading&&s.hasError?2:-1))},dependencies:[D,j,I],styles:['[_ngcontent-%COMP%]:root{--aat-ui-grey-25: #bfbfbf;--aat-ui-grey-55: #737373;--aat-slate: #3a5066;--aat-ui-grey-05: #f2f2f2}.completion.container[_ngcontent-%COMP%]{padding-top:40px;width:auto!important}@media (min-width: 768px){.completion.container[_ngcontent-%COMP%]{min-height:500px}}.completion__header[_ngcontent-%COMP%]{background:#a0ebd7;margin-bottom:24px;padding:20px}.completion__header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#fff;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;justify-content:space-between;align-items:flex-start}.completion__header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{width:65%}.completion__header[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block}.completion__reg-no[_ngcontent-%COMP%]{font-size:22px}.completion__content[_ngcontent-%COMP%]{margin-bottom:30px}.completion__content--last[_ngcontent-%COMP%]{margin-bottom:74px}.completion__cta[_ngcontent-%COMP%]{color:#fff}.completion[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{float:none}@page{size:A4;margin:0}@media print{html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:210mm;height:297mm}.completion__cta[_ngcontent-%COMP%]{display:none}.completion__header[_ngcontent-%COMP%]{padding:0}.completion__header[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:none}}.reduce-subs-page__box[_ngcontent-%COMP%]{background-color:#fff;margin:100px 15px 20px;padding:0 10px;border-style:solid;border-width:thin;border-color:#e6e6e6}@media (min-width: 768px){.reduce-subs-page__box[_ngcontent-%COMP%]{margin:100px 0 20px}}.reduce-subs-page[_ngcontent-%COMP%]   .fa.fa-check-circled[_ngcontent-%COMP%]:before{box-sizing:border-box;content:"\\e805";float:left;height:1.2em;line-height:1.2em;width:1.2em;font-size:1em;margin-top:0;color:#a0ebd7;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%;background-color:#fff}@media (min-width: 992px){.reduce-subs-page[_ngcontent-%COMP%]   .fa.fa-check-circled[_ngcontent-%COMP%]:before{margin-top:4px}}',"[_ngcontent-%COMP%]:root{--aat-ui-grey-25: #bfbfbf;--aat-ui-grey-55: #737373;--aat-slate: #3a5066;--aat-ui-grey-05: #f2f2f2}.reduce-subs[_ngcontent-%COMP%]   .standard-hero[_ngcontent-%COMP%]{background-color:#000}.reduce-subs__box[_ngcontent-%COMP%]{background-color:#fff;margin:0 15px 20px;border-style:solid;border-width:thin;border-color:#e6e6e6;padding:0 10px}@media (min-width: 768px){.reduce-subs__box[_ngcontent-%COMP%]{margin:0 0 20px}}.reduce-subs__box.no-padding[_ngcontent-%COMP%]{padding:0}.reduce-subs__box--header[_ngcontent-%COMP%]{padding:20px 15px}.reduce-subs__box--detail-row[_ngcontent-%COMP%]{display:flex;padding:10px 20px;border-top:thin;border-top-style:solid;border-color:#e6e6e6}.reduce-subs__box--detail-row[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{flex:1}.reduce-subs__box--detail-row[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .reduce-subs__box--detail-row[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{flex:2}.reduce-subs__box--edit-row[_ngcontent-%COMP%]{padding:20px;margin:0}.reduce-subs__box--notification[_ngcontent-%COMP%]{padding:5px 15px}.reduce-subs__box--element[_ngcontent-%COMP%]{padding:20px 15px}.reduce-subs__box--element[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:initial;margin-left:20px}.reduce-subs__box--element.no-padding-top[_ngcontent-%COMP%]{padding-top:0}.reduce-subs__box--element.select[_ngcontent-%COMP%]{padding:5px 15px}.reduce-subs__box--element[_ngcontent-%COMP%]   .form_icon[_ngcontent-%COMP%]{padding-top:8px;padding-left:5px!important}@media (min-width: 1200px){.reduce-subs__box--element[_ngcontent-%COMP%]   .form_icon[_ngcontent-%COMP%]{padding-top:10px}}.reduce-subs__box--buttons[_ngcontent-%COMP%]{padding:20px 25px;display:flex;justify-content:space-between}.reduce-subs__box--buttons-existing-dd[_ngcontent-%COMP%]{padding:30px 20px 0}@media (min-width: 768px){.reduce-subs__box--buttons-existing-dd[_ngcontent-%COMP%]{display:flex;justify-content:space-between}}@media (min-width: 768px){.reduce-subs__box[_ngcontent-%COMP%]{margin-bottom:20px;margin-top:55px}}.reduce-subs__back-link[_ngcontent-%COMP%]{color:#00ab4e;font-weight:600;margin-top:30px}.reduce-subs__back-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{position:relative;top:2px}.reduce-subs-page__box[_ngcontent-%COMP%]{background-color:#fff;margin:0 15px 20px;padding:0 10px;border-style:solid;border-width:thin;border-color:#e6e6e6}@media (min-width: 768px){.reduce-subs-page__box[_ngcontent-%COMP%]{margin:0 0 20px}}
3.reduce-subs-page__box--header[_ngcontent-%COMP%]{padding:20px 15px 0}.reduce-subs-page__box--detail-row[_ngcontent-%COMP%]{display:flex;padding:20px 15px;border-top:thin;border-top-style:solid;border-color:#b4aeae}.reduce-subs-page__box--detail-row[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{flex:1}.reduce-subs-page__box--detail-row[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex:2}.reduce-subs-page__box--detail-row[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{margin-top:0}.reduce-subs-page__box--notification[_ngcontent-%COMP%]{padding:5px 15px}.reduce-subs-page__box--element-icon-list[_ngcontent-%COMP%]{padding:20px 15px}.reduce-subs-page__box--element-icon-list[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:15px}.reduce-subs-page__box--element-icon-list[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}.reduce-subs-page__box--element[_ngcontent-%COMP%]{padding:20px 15px}.reduce-subs-page__box--element[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:initial;margin-left:20px}@media (min-width: 768px){.reduce-subs-page__box[_ngcontent-%COMP%]{margin-bottom:20px}}.reduce-subs-page__button-block[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.reduce-subs-page__back-link[_ngcontent-%COMP%]{color:#00ab4e;font-weight:600;cursor:pointer}.reduce-subs-page__back-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{position:relative;top:2px}.langin-page-notification[_ngcontent-%COMP%]{padding:0 10px}.icon-success[_ngcontent-%COMP%]{color:#008048;font-size:20px}"]});let i=n;return i})();export{Z as PaymentPageComponent};

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.