PageSourceSearch

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

js aat.org.uk collected 2026-10-03 21:39:25 UTC 6,750 bytes, 1 lines download raw bytes

1import{b as h,f as D,j as z,n as j}from"./chunk-RXTHBJNJ.js";import"./chunk-OZC5JFZK.js";import"./chunk-JEL6HJ7P.js";import{lc as B,oc as E,sa as F}from"./chunk-YQOD7X2Z.js";import"./chunk-563YFTIG.js";import"./chunk-36JN3LZY.js";import"./chunk-WPHW6CRH.js";import{J as T,e as u,i as S,p as w,t as k}from"./chunk-76O7YCWW.js";import"./chunk-YYIIKC2W.js";import{d as M,e as O}from"./chunk-3WYGUSDH.js";import"./chunk-LU7SZU5X.js";import{E as x}from"./chunk-PO2RDVKE.js";import{Ec as C,Fc as y,Gc as P,Pb as g,Rb as b,Wb as l,Xb as i,Yb as n,Zb as v,db as s,jc as _,pb as c,ub as f,zc as p}from"./chunk-3URBZWPM.js";import"./chunk-ODN5LVDJ.js";function A(d,a){d&1&&(i(0,"div")(1,"p",11),p(2,"Choose an assessment"),n()())}var K=(()=>{let a=class a{constructor(e,r,t,m,o){this.assessmentsService=e,this.formBuilder=r,this.formDataRouter=t,this.titleService=m,this.metaService=o,this.assessmentTypes=[],this.hasFormBeenSubmitted=!1,this.results=[],this.searchButton={text:"Find venues",action:{type:"callback",callback:()=>this.performSearch()},gtmData:{event:"venueSearch"},type:"primary",aria:"Find venues"},this.titleService.setTitle("External Assessment Venue Search"),this.metaService.addTag({name:"description",content:"Find an assessment venue near you to sit your AAT assessment. Contact the venue for detailed information on prices, dates, and availability."})}ngOnInit(){this.form=this.formBuilder.group({location:["",u.required],centre_assessments:["",u.required]}),this.assessmentsService.readAllAssessmentTypes().subscribe(e=>{this.assessmentTypes=E(e)},e=>console.log(e))}onSelect(e){this.form.get("centre_assessments").patchValue(e.keycode)}performSearch(){if(this.hasFormBeenSubmitted=!0,this.form.valid){let e=h.mapForQueryParams(this.form.value);this.formDataRouter.redirectWithFormValue("assessment-venues/search/results",e)}else x&&window.scrollTo(0,0)}updateLocation(e){this.form.patchValue({location:e})}};a.\u0275fac=function(r){return new(r||a)(c(D),c(T),c(h),c(O),c(M))},a.\u0275cmp=f({type:a,selectors:[["app-eav-search"]],decls:14,vars:7,consts:[[1,"eav-search","container"],["novalidate","",3,"formGroup"],[1,"eav-search__header"],[1,"eav-search__header--title"],[1,"eav-search__header--gray"],[1,"eav-search__location",3,"locationChange","location","hasSubmitted","showDistance"],[1,"eav-search__filters","row"],[1,"col-md-12"],["title","Choose an assessment",3,"selected","nodes"],[1,"eav-search__submit","row","justify-content-md-center"],[3,"button"],[1,"alert","alert-danger"]],template:function(r,t){r&1&&(i(0,"div",0)(1,"form",1)(2,"div",2)(3,"h1",3),p(4,"Find a venue to sit your AAT assessment"),n(),i(5,"p",4),p(6," Enter your location to find somewhere to sit your assessments. Prices are subject to change. Please contact the venue for detailed information on prices, dates and availability. "),n()(),i(7,"app-location-search-bar",5),P("locationChange",function(o){return y(t.locationSearch,o)||(t.locationSearch=o),o}),_("locationChange",function(o){return t.updateLocation(o)}),n(),i(8,"div",6)(9,"section",7)(10,"fab-qualification-picker",8),_("selected",function(o){return t.onSelect(o)}),n()(),g(11,A,3,0,"div"),n(),i(12,"div",9),v(13,"fab-button",10),n()()()),r&2&&(s(),l("formGroup",t.form),s(6),C("location",t.locationSearch),l("hasSubmitted",t.hasFormBeenSubmitted)("showDistance",!1),s(3),l("nodes",t.assessmentTypes),s(),b(t.hasFormBeenSubmitted&&t.form.controls.centre_assessments.errors?11:-1),s(2),l("button",t.searchButton))},dependencies:[j,w,S,k,B,z,F],styles:['[_ngcontent-%COMP%]:root{--aat-ui-grey-25: #bfbfbf;--aat-ui-grey-55: #737373;--aat-slate: #3a5066;--aat-ui-grey-05: #f2f2f2}.eav-search[_ngcontent-%COMP%]{max-width:90%;padding-top:30px;margin:0 auto}.eav-search[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{width:100%}.eav-search__header[_ngcontent-%COMP%]{display:inline-block;margin-bottom:30px;margin-top:60px}.eav-search__header--title[_ngcontent-%COMP%]{font-size:35;font-weight:100}.eav-search__header--gray[_ngcontent-%COMP%]{color:#31373e}.eav-search__radio[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer}.eav-search__radio[_ngcontent-%COMP%]:checked ~ .eav-search__selected[_ngcontent-%COMP%]{background-color:#00ab4e;border:solid #00ab4e 2px}.eav-search__radio[_ngcontent-%COMP%]:checked ~ .eav-search__selected[_ngcontent-%COMP%]:after, .eav-search__radio[_ngcontent-%COMP%]:checked ~ .eav-search__selected[_ngcontent-%COMP%]:before{display:block;top:0;left:0}.eav-search__container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:36px;margin-bottom:8px;
1cursor:pointer;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.eav-search__selected[_ngcontent-%COMP%]{position:absolute;top:3px;left:0;height:20px;width:20px;border:solid #4a4a4a 2px;background-color:#fff;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.eav-search__selected[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none;left:0;top:0;width:16px;height:16px;border:solid white 2px;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.eav-search__selected[_ngcontent-%COMP%]:before{content:"";position:absolute;display:none;top:-2px;left:-2px;width:20px;height:20px;border-radius:50%;background:transparent;outline:3px solid transparent;outline-offset:3px;-webkit-box-shadow:0 0 0 4px #ffd432;-moz-box-shadow:0 0 0 4px #ffd432;box-shadow:0 0 0 4px #ffd432}.eav-search[_ngcontent-%COMP%]   fab-accordion[_ngcontent-%COMP%]{display:block;margin-bottom:15px}.eav-search[_ngcontent-%COMP%]   fab-accordion[_ngcontent-%COMP%]:last-child{margin-bottom:30px}.eav-search[_ngcontent-%COMP%]   .method-of-study[_ngcontent-%COMP%]{border:1px solid rgb(238.425,238.425,238.425);border-bottom-width:2px;border-radius:5px;margin-bottom:30px;padding:15px}.eav-search[_ngcontent-%COMP%]   .method-of-study__option[_ngcontent-%COMP%]{border-bottom:1px solid rgb(238.425,238.425,238.425);display:block;margin-bottom:15px;padding-bottom:15px}.eav-search[_ngcontent-%COMP%]   .method-of-study__option[_ngcontent-%COMP%]:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}.eav-search__filters--title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:15px}.eav-search__filters--clarification-text[_ngcontent-%COMP%]{font-size:15px;margin-bottom:15px;margin-top:-20px}.eav-search__submit[_ngcontent-%COMP%]{display:flex;justify-content:center}.eav-search[_ngcontent-%COMP%]   .distance-text[_ngcontent-%COMP%]{font-size:14px;color:#4a4a4a}.eav-search[_ngcontent-%COMP%]   .distance-text[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.alert-danger[_ngcontent-%COMP%]{color:#e22b25}']});let d=a;return d})();export{K as EavSearchComponent};

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.