PageSourceSearch

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

js aat.org.uk collected 2026-10-03 21:38:45 UTC 1,804 bytes, 1 lines download raw bytes

1import{a as s}from"./chunk-CGVZGVI5.js";import"./chunk-JEL6HJ7P.js";import{Rc as c,Wc as n,aa as d,ba as f}from"./chunk-YQOD7X2Z.js";import"./chunk-563YFTIG.js";import"./chunk-36JN3LZY.js";import"./chunk-WPHW6CRH.js";import"./chunk-76O7YCWW.js";import{e as u}from"./chunk-YYIIKC2W.js";import"./chunk-3WYGUSDH.js";import"./chunk-LU7SZU5X.js";import"./chunk-PO2RDVKE.js";import{J as l,W as p,ca as m,ha as o,n as a}from"./chunk-3URBZWPM.js";import"./chunk-ODN5LVDJ.js";var g=(()=>{let t=class t{constructor(){this._contactService=o(d),this._router=o(u)}canActivate(){return console.log("activating"),this._contactService.getContactRelationship(this._contactService.contactId()).pipe(l(1),p(r=>{if(r.subscriptions?.length>0&&this._contactService.contactGroups().includes("member")){if(this._renewalCompleted(r.subscriptions))return a(!0);{let i=this._contactService.contactMembershipTypes().includes("licensed")?"/registration/licence-renewal":"/registration/membership-renewal";this._router.navigate([i])}}else return a(!0)}))}_renewalCompleted(r){return r.sort((h,b)=>new Date(b.startDate).getTime()-new Date(h.startDate).getTime())[0].annualDeclarationCompleted}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"any"});let e=t;return e})(),v=(e,t)=>o(g).canActivate();var j=[{path:"direct-debit",loadComponent:()=>import("./chunk-D343KDEV.js").then(e=>e.DirectDebitComponent),canActivate:[c,n],resolve:{contact:s},data:{featureFlag:"DirectDebit",notificationLocation:"direct_debit_service"}},{path:"reduced-fee",loadChildren:()=>import("./chunk-EW67H56R.js"),canActivate:[c,n,v],resolve:{contact:s,relationships:f},data:{featureFlag:"ReducedFee",notificationLocation:"reduced_fee_application"}},{path:"**",redirectTo:"/error/404"}];
1export{j as default};

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.