PageSourceSearch

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

js aat.org.uk collected 2026-10-03 21:39:20 UTC 10,411 bytes, 2 lines download raw bytes

1import{b as k,d as W,j as H,n as J}from"./chunk-RXTHBJNJ.js";import"./chunk-OZC5JFZK.js";import"./chunk-JEL6HJ7P.js";import{lc as $,nc as U,sa as Y}from"./chunk-YQOD7X2Z.js";import"./chunk-563YFTIG.js";import"./chunk-36JN3LZY.js";import"./chunk-WPHW6CRH.js";import{H as O,b as P,c as L,h as A,i as z,j as R,m as h,p as j,r as I,t as G,w as Q}from"./chunk-76O7YCWW.js";import{e as N}from"./chunk-YYIIKC2W.js";import{e as M}from"./chunk-3WYGUSDH.js";import"./chunk-LU7SZU5X.js";import{q as B}from"./chunk-PO2RDVKE.js";import{E as D,Pb as v,Rb as y,Tc as F,Uc as q,Wb as d,Xb as o,Yb as r,Zb as b,db as l,ec as C,jc as g,lc as p,n as w,o as T,oa as f,pa as _,pb as m,s as V,ub as E,zc as a}from"./chunk-3URBZWPM.js";import"./chunk-ODN5LVDJ.js";function X(e){return e instanceof R&&"studyMethod"in e.controls&&"location"in e.controls}var K=e=>{if(!X(e))return null;let s=e.controls.studyMethod.value,c=e.controls.location.value;return s==="Classroom"&&!c?{locationRequired:!0}:null};function Z(e,s){if(e&1){let c=C();o(0,"label",16)(1,"input",24),g("change",function(n){f(c);let i=p();return _(i.clearBlended(n))}),r(),o(2,"label",25),a(3," Blended learning filter: You would get access to structured, tutor-led, face-to-face and/or virtual classroom sessions, supported by a local training provider. Filter your results to show only blended learning providers. "),r()()}if(e&2){let c=p();l(),d("checked",c.form.value.blendedLearning)}}function ee(e,s){if(e&1){let c=C();o(0,"div",9)(1,"section")(2,"app-location-search-bar",26),g("locationChange",function(n){f(c);let i=p();return _(i.updateLocation(n))})("maxDistanceChange",function(n){f(c);let i=p();return _(i.updateMaxDistance(n))}),r()()()}if(e&2){let c=p();l(2),d("hasSubmitted",c.hasFormBeenSubmitted)}}function te(e,s){if(e&1){let c=C();o(0,"div",21)(1,"fab-qualification-picker",27),g("selected",function(n){f(c);let i=p();return _(i.onSelect(n))}),r()()}e&2&&(l(),d("nodes",s))}var xe=(()=>{let s=class s{constructor(t,n,i,u,S){this.qualificationsProvider=t,this.formBuilder=n,this.formDataRouterService=i,this.titleService=u,this.router=S,this.hasFormBeenSubmitted=!1,this.qualsPickerData$=this.qualificationsProvider.getQualData().pipe(V(x=>U(x)),D(x=>x.status===404?(console.log("Not found: No data for findingATrainingProvider === true"),w([])):T(()=>x))),this.searchButton={text:"Find providers",action:{type:"callback",callback:()=>this.performSearch()},aria:"Find providers",type:"primary",gtmData:{event:"providerSearch"}},this.form=this.formBuilder.group({location:new h("",{nonNullable:!1}),qualifications:new h([],{nonNullable:!1}),studyMethod:new h("Classroom",{nonNullable:!0}),maxDistance:new h(null),blendedLearning:new h(null)},{validators:K}),this.titleService.setTitle("Training Provider Search")}ngOnInit(){this.form.valueChanges.subscribe(t=>{console.log("Form changes",t)})}onSelect(t){this.form.controls.qualifications.patchValue(t.programmeComponentId)}clearBlended(t){t.target.checked||this.form.controls.blendedLearning.patchValue(null)}performSearch(){if(this.hasFormBeenSubmitted=!0,this.form?.value?.studyMethod!=="Classroom"&&this.form.controls.blendedLearning.patchValue(null),this.form?.valid){let t=k.mapForQueryParams(this.form.value);this.formDataRouterService.redirectWithFormValue("training-providers/search/results",t)}}searchByRegion(){this.router.navigateByUrl("/training-providers/region")}updateLocation(t){this.form.controls.location.patchValue(t)}updateMaxDistance(t){this.form.controls.maxDistance.patchValue(t)}};s.\u0275fac=function(n){return new(n||s)(m(W),m(O),m(k),m(M),m(N))},s.\u0275cmp=E({type:s,selectors:[["app-tp-search"]],decls:46,vars:9,consts:[[1,"tp-search","container"],["novalidate","",3,"formGroup"],[1,"tp-search__header"],[1,"row"],[1,"col-md-12","quals-picker"],[1,"tp-search__header--title"],[1,"tp-search__header--gray"],["href","/qualifications-and-courses","target","_blank"],["href","/qualifications-and-courses/how-to-study","target","_blank"],[1,"tp-search__filters","row"],[1,"tp-search__filters--title"],[1,"method-of-study"],[1,"tp-search__container"],["type","radio","formControlName","studyMethod","value","Classroom",1,"tp-search__radio",3,"change","checked"],[1,"tp-search__selected"],[1,"distance-text"],[1,"tp-search__checkbox_container"],["type","radio","formControlName","studyMethod","value","Distance",1,"tp-search__radio",3,"checked"],["href","/assessment-venues/search","target","_blank"],[1,"quals-picker"],[1,"step-1-page__box--qual"],[1,"col-sm-12"],[1,"tp-search__submit","row","
1justify-content-md-center"],[3,"button"],["type","checkbox","formControlName","blendedLearning","id","blendedLearning",1,"tp-search__checkbox",3,"change","checked"],["for","blendedLearning"],[1,"tp-search__location",3,"locationChange","maxDistanceChange","hasSubmitted"],[3,"selected","nodes"]],template:function(n,i){if(n&1&&(o(0,"div",0)(1,"form",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1",5),a(6,"Find a training provider"),r(),o(7,"p",6),a(8," Find an AAT Approved training provider that's right for you. Before you start, you'll need to decide "),o(9,"a",7),a(10,"which qualification is right for you"),r(),a(11," and "),o(12,"a",8),a(13,"how you want to study"),r(),a(14,". "),r()()()(),b(15,"br"),o(16,"div",9)(17,"section")(18,"p",10),a(19,"Method of Study"),r(),o(20,"div",11)(21,"label",12),a(22,"Classroom "),o(23,"input",13),g("change",function(S){return i.clearBlended(S)}),r(),b(24,"span",14),r(),o(25,"span",15),a(26,"Classroom study is ideal for you if you prefer a shared learning experience by attending lessons in person. Some classroom-based training providers also offer blended learning, combining both classroom and online study."),r(),v(27,Z,4,1,"label",16),o(28,"label",12),a(29,"Distance / Online "),b(30,"input",17)(31,"span",14),r(),o(32,"div",15),a(33," Distance/online learning can be a great option if you need to fit studies around other commitments or you don't live near a college or study centre. You'll need to sit your assessments at an AAT approved assessment venue or via remote invigilation. Please use our "),o(34,"a",18),a(35,"Find an Assessment Venue"),r(),a(36," service to locate a venue near you, or to find a venue offering remote invigilation scheduling. "),r()()()(),v(37,ee,3,1,"div",9),o(38,"div",9)(39,"section",19)(40,"div",20)(41,"div",3),v(42,te,2,1,"div",21),F(43,"async"),r()()()(),o(44,"div",22),b(45,"fab-button",23),r()()()),n&2){let u;l(),d("formGroup",i.form),l(22),d("checked",i.form.value.studyMethod==="Classroom"),l(4),y(i.form.value.studyMethod==="Classroom"?27:-1),l(3),d("checked",i.form.value.studyMethod==="Distance"),l(7),y(i.form.value.studyMethod==="Classroom"?37:-1),l(5),y((u=q(43,7,i.qualsPickerData$))?42:-1,u),l(3),d("button",i.searchButton)}},dependencies:[J,j,L,P,I,A,z,G,Q,$,H,Y,B],styles:[`:root{--aat-ui-grey-25: #bfbfbf;--aat-ui-grey-55: #737373;--aat-slate: #3a5066;--aat-ui-grey-05: #f2f2f2}.tp-search{max-width:90%;padding-top:30px;margin:0 auto}.tp-search .quals-picker{margin-bottom:3em}.tp-search section{width:100%}.tp-search__header{display:inline-block;margin-bottom:30px;margin-top:60px}.tp-search__header--title{font-size:35;font-weight:100}.tp-search__header--gray{color:#31373e}@media (min-width: 992px){.tp-search__header--gray{margin-right:15px}}@media (min-width: 992px){.tp-search__header{margin-bottom:-40px}}.tp-search__header fab-video .video{padding-top:0}.tp-search__radio{position:absolute;opacity:0;cursor:pointer}.tp-search__radio:checked~.tp-search__selected{background-color:#00ab4e;border:solid #00ab4e 2px}.tp-search__radio:checked~.tp-search__selected:after{display:block;top:0;left:0}.tp-search__checkbox{position:absolute;opacity:0;z-index:999}.tp-search__checkbox+label{position:relative;cursor:pointer;padding:0;font-weight:500}.tp-search__checkbox+label:before{content:"";margin-right:10px;display:inline-block;vertical-align:text-top;width:20px;height:20px;background:#fff;border:2px solid rgb(229.5,229.5,229.5);margin-left:0;margin-top:-3px}.tp-search__checkbox:focus+label:before{box-shadow:0 0 #0000001f}.tp-search__checkbox:checked+label:before{background:#00ab4e;border:2px solid #00ab4e;margin-left:0}.tp-search__checkbox:disabled+label:before{box-shadow:none;background:#dfdfdf}.tp-search__checkbox:checked+label:after{content:"";position:absolute;left:7px;top:8px;background:#fff;width:2px;height:2px;box-shadow:2px 0 #fff,4px 0 #fff,4px -2px #fff,4px -4px #fff,4px -6px #fff,4px -8px #fff;transform:rotate(45deg)}.tp-search__checkbox_container{font-size:small;position:relative;padding:25px 10px 10px;display:block}.tp-search__container{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}.tp-search__container:last-of-type{margin-top:15px}.tp-search__selected{position:absolute;top:3px;left:0;height:16px;width:16px;border:solid #4a4a4a 2px;background-color:#fff;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.tp-search__selected:after{content:"";position:absolute;display:none;left:0;top:0;width:12px;height:12px;border:solid white 2px;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%}.tp-search__selected: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}.tp-search fab-accordion{display:block;margin-bottom:15px}.tp-search fab-accordion:last-child{margin-bottom:30px}.tp-search .method-of-study{border:1px solid rgb(238.425,238.425,238.425);border-bottom-width:2px;border-radius:5px;margin-bottom:30px;padding:15px}.tp-search .method-of-study__option{border-bottom:1px solid rgb(238.425,238.425,238.425);display:block;margin-bottom:15px;padding-bottom:15px}.tp-search .method-of-study__option:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}.tp-search__filters--title{font-weight:700;margin-bottom:15px}.tp-search__filters--clarification-text{font-size:15px;margin-bottom:15px;margin-top:-20px}.tp-search__submit{display:flex;justify-content:center}.tp-search .distance-text{font-size:14px;color:#4a4a4a}.tp-search .distance-text a{font-size:14px}.tp-search .text-right{text-align:right}.alert-danger{color:#e22b25}
2`],encapsulation:2});let e=s;return e})();export{xe as TpSearchComponent};

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.