PageSourceSearch

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

js aat.org.uk collected 2026-10-03 21:39:40 UTC 41,036 bytes, 9 lines download raw bytes

1import{a as Ne}from"./chunk-W3NEESNH.js";import{d as Ge}from"./chunk-OZC5JFZK.js";import{a as w}from"./chunk-JEL6HJ7P.js";import{Ea as qe,Nb as Qe,Pa as De,U as we,Ua as Le,V as Te,W as Se,c as U,gb as ke,ib as Be,la as Ie,lb as He,q as ye,sa as Ae,vb as Re,wa as Ee,ya as Fe}from"./chunk-YQOD7X2Z.js";import"./chunk-563YFTIG.js";import"./chunk-36JN3LZY.js";import"./chunk-WPHW6CRH.js";import{J as Pe,K as Me,L as Oe,h as Ce,i as he,p as fe,s as ve,t as be,w as xe}from"./chunk-76O7YCWW.js";import"./chunk-YYIIKC2W.js";import{d as me}from"./chunk-3WYGUSDH.js";import{a as W,c as B}from"./chunk-LU7SZU5X.js";import{A as _e,j as ge,x as pe}from"./chunk-PO2RDVKE.js";import{Ac as j,Bc as x,Ic as ce,J as L,Jc as ee,N as oe,Oc as se,Pb as m,Rb as C,Tb as Q,Tc as de,Ub as G,Vb as N,Vc as ue,Wb as P,Xb as o,Yb as a,Za as q,Zb as y,bb as le,ca as k,db as l,ec as Y,g as ne,ga as E,jc as $,lc as _,n as ie,o as ae,oa as z,pa as V,pb as S,pc as J,qc as K,rc as X,s as F,ub as re,yc as Z,zc as s}from"./chunk-3URBZWPM.js";import"./chunk-ODN5LVDJ.js";var A=(function(e){return e.AssistantAccountant_EPA="a096a181-64de-e611-80d3-00155d210d62",e.Level2CertificateInBookkeeping="f8580f58-203e-eb11-8114-0050569343fe",e.Level2CertificateInAccounting="2c85984f-9129-eb11-8114-00505693c1d6",e.Level3CertificateInBookkeeping="a5ac7144-0450-eb11-810f-00155d6e7033",e.Level3DiplomaInAccounting="f4229b9e-b834-eb11-810c-005056930a83",e.Q22_Level4DiplomaInProfessionalAccounting="4efd1649-ba34-eb11-810c-005056930a83",e.L4PAT_Level4DiplomaInProfessionalAccounting="ad952895-c6a2-f011-81de-00155d0a7e45",e})(A||{}),D=(function(e){return e.Q22_Level4DiplomaInProfessionalAccountingRoute1="b6a196c1-ba34-eb11-8114-0050569343fe",e.Q22_Level3DiplomaInAccountingRoute1="8ac3ee0c-b934-eb11-810c-005056930a83",e})(D||{}),H=(function(e){return e.Q16_Level4ProfessionalDiplomaInAccounting="30174f81-a055-e511-80c2-00155d220a0c",e})(H||{}),I=(function(e){return e.Q22_BotswanaTaxProcessesForBusinesses="51aae423-96e2-ed11-814b-00155d6e6460",e.Q22_TaxProcessesForBusinesses="7b1ebbe6-b934-eb11-810c-005056930a83",e})(I||{}),h=(function(e){return e.BusinessTax="81358",e.AuditAndAssurance="81360",e.CashAndFinancialManagement="81361",e.PersonalTax="81359",e.CreditAndDebtManagement="81362",e.TaxProcessesForBusinesses="81351",e.BotswanaTaxProcessesForBusinesses="81417",e})(h||{});(function(e){e.Level3DiplomaInAccounting="81346"})(H||(H={}));var R={[h.BusinessTax]:"Business Tax (L4DPL2022)",[h.AuditAndAssurance]:"Audit and Assurance (L4DPL2022)",[h.CashAndFinancialManagement]:"Cash and Financial Management (L4DPL2022)",[h.PersonalTax]:"Personal Tax (L4DPL2022)",[h.CreditAndDebtManagement]:"Credit and Debt Management (L4DPL2022)",[h.TaxProcessesForBusinesses]:"Tax Processes for Businesses (L3DPL2022)",[h.BotswanaTaxProcessesForBusinesses]:"Botswana Tax Processes for Businesses (L3DPL2022)"};var ze=(()=>{let r=class r{constructor(t){this.http=t}getQualificationTree(){return this.http.get(w.API_URL+"/qualification/tree")}calculatePredictedGrade(t,n){let c=null;return n?(t>=70&&(c="Pass"),t>=90&&(c="Distinction")):(t>=70&&(c="Pass"),t>=80&&(c="Merit"),t>=90&&(c="Distinction")),c}dynamicSort(t){let n=1;return t[0]==="-"&&(n=-1,t=t.substring(1)),(c,d)=>(c[t]<d[t]?-1:c[t]>d[t]?1:0)*n}};r.\u0275fac=function(n){return new(n||r)(E(B))},r.\u0275prov=k({token:r,factory:r.\u0275fac,providedIn:"root"});let e=r;return e})();var Ve=(()=>{let r=class r{constructor(t,n){this.http=t,this.ssrCookieService=n,this.selectedItem=new ne({id:null,label:"",data:null}),this.currentSelectedItem=this.selectedItem.asObservable()}createHeaders(){return{headers:new W({"Content-Type":"application/json",Authorization:this.ssrCookieService.get("access_token")})}}search(t){return t===""||t.length<3?ie([[]]):this.http.get(w.API_URL+"/contact/search/"+t,this.createHeaders()).pipe(F(n=>{let c=[];if(n instanceof Array)for(let d of n){let f={id:d.contactId,label:d.name.givenName+" "+d.name.familyName,data:d};c.push(f)}else{let d={id:n.contactId,label:n.name.givenName+" "+n.name.familyName,data:n};c.push(d)}return c}))}onSubmit(t){this.selectedItem.next(t)}getContactByMemberId(t){return this.http.get(w.API_URL+"/contact/member/"+t).pipe(F(n=>n))}getContact(t){return this.http.get(w.API_URL+"/contact/"+t,this.createHeaders()).pipe(F(n=>n))}getContactRelationship(t){return this.http.get(w.API_URL+"/contact-relationship/"+t,this.createHeaders()).pipe(F(n=>n))}};r.\u0275fac=function(n){return new(n||r)(E(B),E(U))},r.\u0275prov=k({token:r,factory:r.\u0275fac,providedIn:"root"});let e=r;return e})();var $e=(()=>
1{let r=class r{constructor(t,n){this.http=t,this.ssrCookieService=n}createHeaders(){return{headers:new W({"Content-Type":"application/json",Authorization:this.ssrCookieService.get("access_token")})}}getUnitProgresses(t,n){let c={contactId:t,assessments:n};return this.http.post(w.API_URL+"/unit-progress/statement-of-achievement/",c,this.createHeaders())}handleError(t){return ae(()=>t.status?`${t.status} - ${t.statusText}`:"Server Error")}};r.\u0275fac=function(n){return new(n||r)(E(B),E(U))},r.\u0275prov=k({token:r,factory:r.\u0275fac,providedIn:"root"});let e=r;return e})();var Ke=["qualBox"],Xe=["buttonRow"],Ze=e=>({"container-fluid form__container":e});function et(e,r){e&1&&(o(0,"p"),s(1," Select a qualification below to see how your grade is calculated. Any completed unit scores will be pre-filled, and you can adjust or add expected scores to view your predicted grade. "),a())}function tt(e,r){e&1&&(o(0,"p"),s(1," Select a qualification below to see how your grade is calculated. Any completed unit scores will be pre-filled, and you can adjust or add expected scores to view your predicted grade. "),a())}function nt(e,r){e&1&&y(0,"fab-loader")}function it(e,r){e&1&&(o(0,"p"),s(1," For AAT Level 3 Diploma in Accounting, if you've taken both versions of the Tax unit \u2013 i.e. both Tax Processes for Businesses and Botswana Tax Processes for Businesses, the version you've achieved the highest percentage score against will be displayed below and this score will contribute to your grade. "),a())}function at(e,r){if(e&1){let i=Y();o(0,"div",8)(1,"div",21)(2,"div",22)(3,"fab-dropdown-simple",23),$("outputReturnSelectedOptions",function(n){z(i);let c=_();return V(c.searchQual(n))}),a()(),m(4,it,2,0,"p"),a()()}if(e&2){let i=_();l(3),P("content",i.qualDropdownLabel),l(),C(i.showBotswanaCopy?4:-1)}}function ot(e,r){if(e&1&&(o(0,"h2",27),s(1),a()),e&2){let i=_(2);l(),x(" ",i.qual_label," ")}}function lt(e,r){if(e&1&&(o(0,"h5",27),s(1),a()),e&2){let i=_(2);l(),x(" ",i.qual_label," ")}}function rt(e,r){if(e&1&&(o(0,"span",38),y(1,"p",40),a()),e&2){let i=_().$implicit;l(),P("innerHTML",i.content,q)}}function ct(e,r){if(e&1&&(o(0,"div",39)(1,"div"),s(2),m(3,rt,2,1,"span",38),a()()),e&2){let i=r.$implicit,t=r.$index;l(),Z(ee("divMoTableHeading col",t)),l(),x(" ",i.title," "),l(),C(i.content?3:-1)}}function st(e,r){if(e&1&&(o(0,"div",29),G(1,ct,4,5,"div",39,Q),a()),e&2){let i=_(2);l(),N(i.qualData.gradeTable.items)}}function dt(e,r){if(e&1&&(o(0,"div",29),s(1),a()),e&2){let i=_(4);l(),x(" ",i.qualData.gradeTable.items[0].title," ")}}function ut(e,r){if(e&1&&(o(0,"div",43),s(1),a()),e&2){let i=_(4);l(),x(" ",i.qualData.gradeTable.items[1].title," ")}}function gt(e,r){if(e&1){let i=Y();o(0,"fab-input-text-2",48),$("click",function(n){z(i);let c=_(2).$index,d=_(2);return V(d.CalculateWeightedResults(c,n.target.value))})("keyup",function(n){z(i);let c=_(2).$index,d=_(2);return V(d.CalculateWeightedResults(c,n.target.value))}),a()}if(e&2){let i=_(2).$implicit,t=_(2);P("formControlName",ce(i.Id))("content",t.resultInput)("formControl",t.gradeCalculatorForm.controls[i.Id])}}function pt(e,r){if(e&1&&(o(0,"div",38),y(1,"p",40),a()),e&2){let i=_(5);l(),P("innerHTML",i.qualData.gradeTable.items[2].content,q)}}function _t(e,r){if(e&1&&(o(0,"div",43)(1,"div",49),s(2),a(),o(3,"div"),m(4,pt,2,1,"div",38),a()()),e&2){let i=_(4);l(2),x(" ",i.qualData.gradeTable.items[2].title," "),l(2),C(i.qualData.gradeTable.items[2].content?4:-1)}}function mt(e,r){if(e&1&&(o(0,"div",38),y(1,"p",40),a()),e&2){let i=_(5);l(),P("innerHTML",i.qualData.gradeTable.items[3].content,q)}}function Ct(e,r){if(e&1&&(o(0,"div",43)(1,"div",49),s(2),a(),m(3,mt,2,1,"div",38),a()),e&2){let i=_(4);l(2),x(" ",i.qualData.gradeTable.items[3].title," "),l(),C(i.qualData.gradeTable.items[3].content?3:-1)}}function ht(e,r){if(e&1&&(o(0,"div",46),s(1),a()),e&2){let i=_(4);l(),x(" ",i.qualData.PercentageTag," ")}}function ft(e,r){if(e&1&&(o(0,"div",46),s(1),de(2,"number"),a()),e&2){let i=_(2).$implicit;l(),x("",ue(2,1,i.score,"2.2"),"%")}}function vt(e,r){if(e&1&&(o(0,"div",41),m(1,dt,2,1,"div",29),o(2,"div"),s(3),a()(),o(4,"div",42),m(5,ut,2,1,"div",43),m(6,gt,1,4,"fab-input-text-2",44),a(),o(7,"div",45),m(8,_t,5,2,"div",43),o(9,"div",46),s(10),a()(),o(11,"div",47),m(12,Ct,4,2,"div",43),m(13,ht,2,1,"div",46),m(14,ft,3,4,"div",46),a()),e&2){let i=_().$implicit,t=_(2);l(),C(t.isMobile?1:-1),l(),Z(ee("assessment_title ",i.mandatory)),l(),x(" ",i.name," "),l(2),C(t.isMobile?5:-1),l(),C(i.disabled?6:-1),l(2),C(t.isMobile?8:-1),l(2),x("",i.assessmentWeighting,"%"),l(2),C(t.isMobile?12:-1),l(),C(i.score?-1:13),l(),C(i.score?14:-1)}}function bt(e,r){if(e&1&&(o(0,"div",31),m(1,vt,15,12),a()),e&2){let i=r.$implicit;l(),C(i.visible!==!1?1:-1)}}function xt(e,r){if(e&1&&(o(0,"div",38),y(1,"p",40),a()),e&2){let i=_(2);l(),P("innerHTML",i.qualData.CalculateTip.content,q)}}function Pt(e,r){if(e&1&&(o(0,"div",18,0)(2,"div",24)(3,"span",25)(4,"div",26),m(5,ot,2,1,"h2",27),m(6,lt,2,1,"h5",27),a()()(),o(7,"div",28,1),m(9,st,3,0,"div",29),o(10,"div",30),G(11,bt,2,1,"div",31,Q),a()(),o(13,"div",32,2)(15,"div",33)(16,"div",34),y(17,"fab-button",35),a(),o(18,"div",33)(19,"div",36),y(20,"fab-button",37),a(),m(21,xt,2,1,"div",38),a()()()()),e&2){let i=_();l(5),C(i.isMobile?-1:5),l(),C(i.isMobile?6:-1),l(3),C(i.isMobile?-1:9),l(2),N(i.qual
1ificationDetails),l(6),P("button",i.resetButton),l(3),P("enabled",i.enabled)("button",i.calculateButton),l(),C(i.enabled==!1?21:-1)}}function Mt(e,r){if(e&1&&(o(0,"div")(1,"fab-accordion",53),y(2,"div",54),a()()),e&2){let i=r.$implicit;l(),P("title",i.title),l(),P("innerHTML",i.content,q)}}function Ot(e,r){if(e&1&&(o(0,"div")(1,"p",50),s(2),a(),o(3,"p",51)(4,"strong",52),s(5),a(),y(6,"br"),a(),o(7,"p",50),s(8),a(),o(9,"p",51)(10,"strong",52),s(11),a()(),G(12,Mt,3,2,"div",null,Q),a()),e&2){let i=_(2);l(2),x(" ",i.qualData.gradeAccordion.epa.gradeResult," "),l(3),x("",i.predictedTotal,"%"),l(3),x(" ",i.qualData.gradeAccordion.epa.grade," "),l(3),j(i.predictedGrade),l(),N(i.qualData.gradeAccordion.epa.items)}}function yt(e,r){if(e&1&&(o(0,"div")(1,"fab-accordion",53),y(2,"div",54),a()()),e&2){let i=r.$implicit;l(),P("title",i.title),l(),P("innerHTML",i.content,q)}}function wt(e,r){if(e&1&&(o(0,"div")(1,"p",50),s(2),a(),o(3,"p",51)(4,"strong",52),s(5),a(),y(6,"br"),a(),o(7,"p",50),s(8),a(),o(9,"p",51)(10,"strong",52),s(11),a()(),G(12,yt,3,2,"div",null,Q),a()),e&2){let i=_(2);l(2),x(" ",i.qualData.gradeAccordion.nonepa.gradeResult," "),l(3),x("",i.predictedTotal,"%"),l(3),x(" ",i.qualData.gradeAccordion.nonepa.grade," "),l(3),j(i.predictedGrade),l(),N(i.qualData.gradeAccordion.nonepa.items)}}function Tt(e,r){if(e&1&&(o(0,"div",20)(1,"h3"),s(2),a(),m(3,Ot,14,4,"div"),m(4,wt,14,4,"div"),a()),e&2){let i=_();l(2),j(i.qualData.gradeAccordion.epa.header),l(),C(i.epa?3:-1),l(),C(i.epa?-1:4)}}var Ut=(()=>{let r=class r{constructor(t,n,c,d,f,u,g,p,v){this.gradeCalculatorService=t,this.metaService=n,this.fb=c,this.gtmService=d,this.contactService=f,this.authService=u,this.featureFlagService=g,this.resultsService=p,this.myQualificationsLayoutService=v,this.isFromBotswana=!1,this.hiddenLocalCodes=["AVSY1","AVSY2"],this.programmeRegistrations=[],this.isStudent=!1,this.results=new Map,this.contactId=null,this.gtmId=w.GTM_ID,this.items=[],this.items_child=[],this.epa=!1,this.epal4v12Enabled=!1,this.result=null,this.enabled=!1,this.qualsLoaded=!1,this.qualificationDetails=[],this.dropdown_block=!1,this.qual_label=null,this.minNum=70,this.maxNum=100,this.predicted_block=!1,this.predictedGrade=null,this.hasResults=!1,this.showBotswanaCopy=!1,this.resetButton={action:{type:"callback",callback:()=>this.reset()},text:"Reset scores",aria:"Reset scores",type:"text"},this.calculateButton={action:{type:"callback",callback:()=>this.ResultFunc(this.qualificationDetails)},text:"Calculate your grade",type:"primary",aria:"Calculate your grade"},this.resultInput={id:"number",required:!0,codeType:"Number",min:70,max:100,validationMessage:"Please enter a number between 70 and 100",placeholder:"0"},this.qualData={api_key:{ids:[{id:A.AssistantAccountant_EPA,epa:!0},{id:A.Level2CertificateInBookkeeping,epa:!1},{id:A.Level2CertificateInAccounting,epa:!1},{id:A.Level3CertificateInBookkeeping,epa:!1},{id:A.Level3DiplomaInAccounting,epa:!1},{id:A.Q22_Level4DiplomaInProfessionalAccounting,epa:!1}]},FollowingBoxMandatory:{[D.Q22_Level4DiplomaInProfessionalAccountingRoute1]:{Mandatory:2,id:[{no:3,id:h.BusinessTax,name:R[h.BusinessTax]},{no:4,id:h.AuditAndAssurance,name:R[h.AuditAndAssurance]},{no:5,id:h.CashAndFinancialManagement,name:R[h.CashAndFinancialManagement]},{no:6,id:h.PersonalTax,name:R[h.PersonalTax]},{no:7,id:h.CreditAndDebtManagement,name:R[h.CreditAndDebtManagement]}]}},changeQualName:{81185:{name:"AAT Professional Accounting Technician End Point Assessment"}},calculateNoteEnable:{items:[{id:H.Q16_Level4ProfessionalDiplomaInAccounting}]},pageTitle:"Grade calculator | AAT",pageTag:"Grade Calculator",GradeContent:{border:!1,alignment:"left",title:"Grade Calculator",introduction:null},viewLink:"aat.org.uk",viewLinkText:"",qualSelect:{placeholder:"Choose a qualification",validationMessage:"Please choose a qualification."},qualInput:{id:"number",placeholder:"0",required:!1,codeType:"Number",toolTip:"This is a tooltip and this input is not required",validationMessage:"Please enter a number between 70 and 100"},CalculateTip:{content:"First enter all your assessment percentage scores to calculate your grade."},PercentageTag:"0%",gradeTable:{border:!1,alignment:"left",title:"Predicted results:",items:[{id:"0",t
1itle:"Assessment"},{id:"1",title:"Percentage score"},{id:"2",title:"Weighting",icon:!0,ic:!1,type:"info",content:"This tells you the weighting of each assessment towards your final grade."},{id:"3",title:"Weighted result",icon:!0,ic:!1,type:"info",content:"This is the assessment weighting multiplied by your percentage achieved. For example, if the assessment is worth 20% and you achieved 70%, the weighted result would be 14%."}]},gradeAccordion:{border:!1,alignment:"left",epa:{header:"Predicted Calculated Results",title:"EPA Why choose AAT qualifications?",gradeResult:"Predicted final result:",grade:" Predicted grade:",items:[{title:"How your grade was calculated",tabShow:!0,isOpen:!0,content:`This is based on the information entered above and the weighting of each assessment to two decimal places.
2            The resulting weighted assessment percentages are then combined to arrive at a percentage achieved for the whole qualification.
3            This is rounded up or down to the nearest whole number, which determines the grade.`},{title:"Available grades",tabShow:!1,isOpen:!1,content:"<ul><li>Distinction: 90-100%</li><li>Pass: 70-89%</li></ul>"},{title:"Improving your grade",tabShow:!0,isOpen:!1,content:`Once you\u2019ve achieved the apprenticeship you will not be allowed to re-sit any of the units under the apprenticeship to
4            gain a higher grade. For Level 2, the grade is capped at a Pass if you re-sit either component.`}]},nonepa:{header:"Predicted Calculated Results",title:"NON Why choose AAT qualifications?",gradeResult:"Predicted final result:",grade:" Predicted grade:",items:[{title:"How your grade was calculated",tabShow:!0,isOpen:!0,content:`This is based on the information entered above and the weighting of each assessment to two decimal places.
5            The resulting weighted assessment percentages are then combined to arrive at a percentage achieved for the whole qualification.
6            This is rounded up or down to the nearest whole number, which determines the grade.`},{title:"Available grades",tabShow:!0,isOpen:!1,content:"<ul><li>Distinction: 90-100%</li><li>Merit: 80-89%</li><li>Pass: 70-79%</li></ul>"},{title:"Improving your grade",tabShow:!0,isOpen:!1,content:`You can attempt to raise your grade by re-sitting assessments which you feel you can do better on. Re-sits
7              to improve grades are subject to the same restrictions as re-sits to pass either a unit or synoptic assessment.
8              For details on the re-sit restrictions, please refer to the qualifications specifications available through
9              the <a href="/learning-portal">AAT Lifelong Learning Portal</a>.`}]}}},this.qualDropdownLabel={label:this.qualData.qualSelect.label,placeholder:this.qualData.qualSelect.placeholder,options:this.items,group:"qual-select",required:!0}}onResize(t){let n=window.innerWidth;return n<600?this.isMobile=!0:n<993?this.isMobile=!0:this.isMobile=!1,t}createForm(){this.gradeCalculatorForm=this.fb.group({QualDropdown:[""]})}buildFormForQualification(t){Object.keys(this.gradeCalculatorForm.controls).filter(n=>n!=="QualDropdown").forEach(n=>this.gradeCalculatorForm.removeControl(n));for(let n of t)this.gradeCalculatorForm.addControl(n.Id,this.fb.control(""))}ngOnInit(){this.featureFlagService.isFeatureEnabled("EPAL4V12").pipe(L(1)).subscribe(t=>{this.epal4v12Enabled=t}),this.featureFlagService.isFeatureEnabled("L4PATB").pipe(L(1)).subscribe(t=>{t&&this.qualData.api_key.ids.push({id:A.L4PAT_Level4DiplomaInProfessionalAccounting,epa:!1})}),this.authService.getCurrentUser().pipe(L(1)).subscribe({next:t=>{this.contactId=t["cognito:username"],this.isStudent=t["cognito:groups"].includes("student"),this.myQualificationsLayoutService.newContactSelected$.subscribe(n=>{n&&(this.contactId=n.contactId),this.init()}),this.metaService.addTag({name:"description",content:"Simple grade calculator tool to help you estimate your current study grades. Apply your achieved or estimated assessment percentage scores to calculate the qualification grade."}),this.gtmService.push({event:"openAccordion",accordionTitle:"How this grade was calculated?"}),this.gtmService.push({event:"customVisibility",visibilityElement:"weighted-results"}),this.createForm(),this.onResize(null)}})}init(){this.contactService.getContactRelationship(this.contactId).pipe(L(1)).subscribe(t=>{this.isFromBotswana=t.contact?.address.addressCountry==="BWA",t.programmeRegistrations&&(this.programmeRegistrations=this.getActiveProgrammeRegistrations(t.programmeRegistrations)),this.getPosts(this.qualData)})}getActiveProgrammeRegistrations(t){return t.filter(n=>!n.endDate||new Date(n.endDate)>new Date).map(n=>n.qualificationId)}getPosts(t){return this.gradeCalculatorService.getQualificationTree().pipe(oe()).subscribe(n=>{let c=n,d=!0;for(let u of t.api_key.ids)if(!(this.isStudent&&this.programmeRegistrations.indexOf(u.id)<0)&&c[u.id]){let g=c[u.id].children;if(g){for(let p in g){let v=g[p].Id?g[p].Id:null,M=t.changeQualName[v]?t.changeQualName[v].name:g[p].name,b=g[p].qualificationStandardName;this.items.push({id:v,label:`${M}${b?` (${b})`:""}`,value:g[p].localCode,children:g[p].children,displaySequence:g[p].displaySequence,selected:!1,epa:u.epa}),g[p].children.epa=u.epa,this.items_child.push(g[p].children),d&&(this.items=this.items.sort(this.gradeCalculatorService.dynamicSort("displaySequence")))}d=!1}}let f=new Map;for(let u in this.items_child)for(let g in this.items_child[u])for(let p in this.items_child[u][g].children){let v=this.items_child[u][g].children[p];f.set(p,v.Id)}this.resultsService.getUnitProgresses(this.contactId,[]).pipe(L(1),F(u
9=>!u||u.count===0?[]:(u.items.map(g=>(g.allUnitResults=[...g.unitResults,...g.optionalUnitResults],g)),u.items))).subscribe({next:u=>{if(u&&u.length>0){let g=(p,v,M)=>{let b=p.findIndex(O=>f.get(O.programmeComponentId)===v);if(b!=-1){let O=p.findIndex(T=>f.get(T.programmeComponentId)===M);O!=-1?p[b].percentage>p[O].percentage&&(p[O].percentage=p[b].percentage,p[O].competencyStatus=p[b].competencyStatus):p[b].Id=M}};u.forEach(p=>{let v=p.allUnitResults;p.programmeComponentId===D.Q22_Level3DiplomaInAccountingRoute1&&this.botswana(v,this.isFromBotswana),g(v,"80751","81373"),g(v,"81182","81374"),v.forEach(M=>{!M.competencyStatus||M.competencyStatus.toLowerCase()!=="competent"&&M.competencyStatus.toLowerCase()!=="achieved"||this.results.set(M.Id||f.get(M.programmeComponentId),M.percentage.replace("%",""))})}),this.hasResults=!0,this.qualsLoaded=!0}},error:u=>{this.hasResults=!1,this.qualsLoaded=!0}})}),t}searchQual(t){if(t=t[0],this.enabled=!1,typeof t<"u"){let n=[],c=[];this.epa=t.epa;let d=t.label;this.qual_label=d,this.qualBoxEl?.nativeElement.scrollIntoView({behavior:"smooth",block:"start"}),this.showBotswanaCopy=!1;for(let f in t.children){f===D.Q22_Level3DiplomaInAccountingRoute1&&this.isFromBotswana&&(this.showBotswanaCopy=!0);for(let u in t.children[f].children){let g=t.children[f].children[u];if(c.push(g.Id),g.assessmentWeighting){if(this.hiddenLocalCodes.includes(g.localCode))continue;n.push(Object.assign(g,{result:0,score:0,disabled:!0}))}}}this.qualificationDetails=n.sort(this.gradeCalculatorService.dynamicSort("displaySequence")),this.buildFormForQualification(this.qualificationDetails),this.dropdown_block=!0,this.predicted_block=!1}return this.applyResults(),t}applyResults(){if(this.qualificationDetails[0].parentComponentId===D.Q22_Level3DiplomaInAccountingRoute1&&!this.results.has(h.TaxProcessesForBusinesses)&&!this.results.has(h.BotswanaTaxProcessesForBusinesses))if(this.isFromBotswana){this.qualificationDetails.splice(this.qualificationDetails.findIndex(n=>n.Id===h.TaxProcessesForBusinesses),1);
9let t=this.qualificationDetails.find(n=>n.Id===h.BotswanaTaxProcessesForBusinesses);t&&(t.name="Botswana Tax Processes for Businesses")}else this.qualificationDetails.splice(this.qualificationDetails.findIndex(t=>t.Id===h.BotswanaTaxProcessesForBusinesses),1);this.qualificationDetails.forEach((t,n)=>{if(!this.results.has(t.Id))return;let c=this.gradeCalculatorForm.controls[t.Id],d=this.results.get(t.Id);c.setValue(d),c.markAsDirty({onlySelf:!0}),this.CalculateWeightedResults(n,+d)})}CalculateWeightedResults(t,n){let c=n,d=this.minNum,f=this.maxNum,u=this.qualificationDetails;if(Number(c))if(c>=d&&c<=f){let b=u[t].assessmentWeighting,O=b?b/100*c:null;u[t].score=O}else u[t].score=null;else u[t].score=null;this.enabled=!0;let g=this.qualData.FollowingBoxMandatory,p=u[t].parentComponentId,v=g[p],M=[];if(v){let b=0,O=!1;for(let T of v.id)u[T.no].score>=1&&Number(u[T.no].score)?(b+=1,b>=v.Mandatory?O=!0:O=!1):M.push(T.no);for(let T of M)O?u[T].disabled=!1:(u[T].disabled=!0,this.enabled=!1)}for(let b of u){let O=b.score,T=b.mandatory?b.mandatory:!1;if(O<=1&&T){this.enabled=!1,this.predicted_block=!1;break}}}ResultFunc(t){let n=this.enabled,c=this.epa;if(typeof t<"u"&&n===!0){let d=0,f=0;for(let g of t)g.score&&g.visible!==!1&&(d+=parseFloat(g.score),f+=parseFloat("1"));let u=Number(d.toFixed(0));this.predicted_block=!0,this.predictedGrade=this.gradeCalculatorService.calculatePredictedGrade(u,c),this.predictedTotal=u,this.buttonRowEl?.nativeElement.scrollIntoView({behavior:"smooth",block:"start"})}}reset(){Object.keys(this.gradeCalculatorForm.controls).filter(t=>t!=="QualDropdown").forEach(t=>this.gradeCalculatorForm.get(t)?.reset("",{emitEvent:!1})),this.gradeCalculatorForm.updateValueAndValidity(),this.enabled=!1,this.predicted_block=!1,this.applyResults(),this.qualBoxEl?.nativeElement.scrollIntoView({behavior:"smooth",block:"start"})}botswana(t,n){let c=t.find(f=>f.programmeComponentId===I.Q22_TaxProcessesForBusinesses)?.percentage,d=t.find(f=>f.programmeComponentId===I.Q22_BotswanaTaxProcessesForBusinesses)?.percentage;d&&c?d>=c?this.setCourseHiddenForAQLevel3(I.Q22_TaxProcessesForBusinesses):this.setCourseHiddenForAQLevel3(I.Q22_BotswanaTaxProcessesForBusinesses):d?this.setCourseHiddenForAQLevel3(I.Q22_TaxProcessesForBusinesses):c?this.setCourseHiddenForAQLevel3(I.Q22_BotswanaTaxProcessesForBusinesses):n?this.setCourseHiddenForAQLevel3(I.Q22_TaxProcessesForBusinesses):this.setCourseHiddenForAQLevel3(I.Q22_BotswanaTaxProcessesForBusinesses)}setCourseHiddenForAQLevel3(t){this.items.forEach(n=>{n.id===H.Level3DiplomaInAccounting&&Object.values(n.children[D.Q22_Level3DiplomaInAccountingRoute1].children).forEach(c=>{c.programmeComponentId===t?c.visible=!1:c.visible=!0})})}};r.\u0275fac=function(n){return new(n||r)(S(ze),S(me),S(Pe),S(we),S(Ve),S(ye),S(Ie),S($e),S(Ne))},r.\u0275cmp=re({type:r,selectors:[["app-grade-calculator"]],viewQuery:function(n,c){if(n&1&&(J(Ke,5),J(Xe,5)),n&2){let d;K(d=X())&&(c.qualBoxEl=d.first),K(d=X())&&(c.buttonRowEl=d.first)}},hostBindings:function(n,c){n&1&&$("resize",function(f){return c.onResize(f)},le)},inputs:{formControl:"formControl"},decls:67,vars:11,consts:[["qualBox",""],["gradeCalculatorTable",""],["buttonRow",""],[1,"grade_calculator"],[3,"ngClass"],[1,"grade-calculator","box","p-6"],[1,"text-3xl","p-5"],[1,"grade-calculator__course"],[1,"p-6"],[1,"mb-4"],[1,"mt-6"],[1,"text-xl"],[1,"ml-6","mt-4"],[1,"ml-6","mt-2"],[1,"mb-4","text-xl"],[1,"mb-4","mt-4"],[1,"mt-4"],[3,"formGroup"],[1,"qual_box"],[1,"gc_results"],[1,"grade-calculator","box"],[1,"qualdrop"],[1,"dropdown_line"],["formControlName","QualDropdown",3,"outputReturnSelectedOptions","content"],[1,"panel-heading"],[1,"panel-title"],[1,"qualification-picker-wrap","ng-scope"],[1,"qualification-picker-wrap__level"],[1,"divTable","QualTable"],[1,"divTableHeading"],[1,"divTableBody"],[1,"divTableRow"],[1,"button_row"],[1,"button_right"],[1,"button_right","reset"],[3,"button"],[1,"sub_box"],[3,"enabled","button"],[1,"help-tip"],[1,"divTableHead"],[3,"innerHTML"],[1,"divTableCell","cellbold","col1"],[1,"divTableCell","cellbold","col2"],[1,"divMoTableHeading"],[3,"content","formControlName","formControl"],[1,"divTableCell","cellbold","col3"],[1,"bold_text"],[1,"divTableCell","cellbold","col4"],[3,"click","keyup","content","formControlName","formControl"],[1,"mo_sub_box"],[1,"predicted"],[1,"predicted_result"],[1,"ng-binding"],[3,"title"],["body","",3,"innerHTML"]],template:function(n,c){n&1&&(o(0,"section",3)(1,"div",4)(2,"div",5)(3,"h2",6)(4,"strong"),s(5),a()(),o(6,"div",7)(7,"div",8)(8,"p",9),s(9,"Use this grade calculator to estimate your final qual
9ification grade."),a(),o(10,"div",10),m(11,et,2,0,"p"),m(12,tt,2,0,"p"),a()(),o(13,"div",8)(14,"h4",11)(15,"strong"),s(16,"How your grade is calculated"),a()(),o(17,"li",12),s(18,"Percentage scores are taken from your highest achieved results"),a(),o(19,"li",13),s(20,"You can find these on your statement of achievement"),a(),o(21,"li",13),s(22,"You can edit scores to reflect expected results for units not yet completed"),a(),o(23,"li",13),s(24,"You can amend pre-filled scores to see the impact of a resit."),a()(),o(25,"div",8)(26,"h4",14)(27,"strong"),s(28,"EPA Level 3 (v1.2) and Level 4 (v1.2)"),a()(),o(29,"p",15),s(30,"Your overall grade is based on the achieved grades for both units:"),a(),o(31,"li",13),s(32,"Pass and Pass = Overall "),o(33,"strong"),s(34,"Pass"),a()(),o(35,"li",13),s(36,"Pass and Distinction = Overall "),o(37,"strong"),s(38,"Merit"),a()(),o(39,"li",13),s(40,"Distinction and Distinction = Overall "),o(41,"strong"),s(42,"Distinction"),a()()(),o(43,"div",8)(44,"h4",14)(45,"strong"),s(46,"EPA Level 4"),a()(),o(47,"p",15),s(48,"Your overall grade is based on the achieved grade for the synoptic unit."),a()(),o(49,"div",8)(50,"h4",14)(51,"strong"),s(52,"EPA Level 2 and Level 2 (v1.4)"),a()(),o(53,"p",16),s(54,"Your overall grade is based on the achieved grade for the Structured Interview unit."),a(),o(55,"p",16)(56,"strong"),s(57,"Important:"),a(),s(58," If a unit is re-sat for EPA Level 2, the overall qualification grade is capped at "),o(59,"strong"),s(60,"Pass"),a()()()(),o(61,"form",17),m(62,nt,1,0,"fab-loader"),m(63,at,5,2,"div",8),m(64,Pt,22,7,"div",18),a()(),o(65,"div",19),m(66,Tt,5,3,"div",20),a()()()),n&2&&(l(),P("ngClass",se(9,Ze,!c.isMobile)),l(4),j(c.qualData.GradeContent.title),l(6),C(c.hasResults?-1:11),l(),C(c.hasResults?12:-1),l(49),P("formGroup",c.gradeCalculatorForm),l(),C(c.qualsLoaded?-1:62),l(),C(c.qualsLoaded?63:-1),l(),C(c.qual_label?64:-1),l(2),C(c.predicted_block?66:-1))},dependencies:[_e,ge,qe,Ae,Qe,Le,De,Re,Fe,Ee,He,Me,fe,Ce,he,Be,ke,Oe,ve,be,xe,Ge,Se,Te,pe],styles:['[_ngcontent-%COMP%]:root{--aat-ui-grey-25: #bfbfbf;--aat-ui-grey-55: #737373;--aat-slate: #3a5066;--aat-ui-grey-05: #f2f2f2}.grade_calculator[_ngcontent-%COMP%]{margin-top:20px}.grade_calculator[_ngcontent-%COMP%]   .container-fluid[_ngcontent-%COMP%]{width:100%!important}.grade_calculator[_ngcontent-%COMP%]   .qual_box[_ngcontent-%COMP%]{margin-top:30px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator-page[_ngcontent-%COMP%]{flex-direction:column;max-width:1050px;margin:0 auto}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator.box[_ngcontent-%COMP%]{position:relative}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]{font-weight:500;line-height:1.5;margin:0 auto;display:block}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .panel-title[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:40px;font-style:normal;font-weight:500;line-height:33.052px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .panel-title[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .panel-title[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:#fff}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .qualification-picker-wrap[_ngcontent-%COMP%]{margin-bottom:1em;margin:inherit;text-align:left;vertical-align:middle;background-color:#2f2f2f;padding:10px 0}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .qualification-picker-wrap[_ngcontent-%COMP%]   .qual-h2[_ngcontent-%COMP%]{font-family:acumin-pro-wide,Arial;font-weight:600;text-align:center}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   div.QualTable[_ngcontent-%COMP%]{border:1px solid lightgrey;background-color:#fff;width:100%;border-collapse:collapse}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   input#number[_ngcontent-%COMP%]{color:#000}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   input#number[_ngcontent-%COMP%]::-ms-clear{display:none!important;width:0px;height:0px}
9.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .tabcontent[_ngcontent-%COMP%]{display:none;padding:6px 12px;border:1px solid #ccc;border-top:none}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .predicted_result[_ngcontent-%COMP%]{font-size:50px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .dropdown_line[_ngcontent-%COMP%]{padding-bottom:15px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .reset[_ngcontent-%COMP%]   #btn[_ngcontent-%COMP%]{border:0;background-color:#fff}@media only screen and (max-width: 600px){.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .container-fluid[_ngcontent-%COMP%]{width:100%;padding:0!important;margin:0!important}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   fab-button[_ngcontent-%COMP%]{font-size:13px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .button_right.reset[_ngcontent-%COMP%]{text-align:center;margin-top:10px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .button_row[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]{top:-35px;right:25px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .sub_box[_ngcontent-%COMP%]{padding:10px 0 0}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .col3[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:before{right:153px;top:-12px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .col4[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:before{right:41px;top:-12px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .col3[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{right:-150px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .col4[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{right:-40px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell.help-tip[_ngcontent-%COMP%]{position:absolute;left:90px;top:-1px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell.cellbold[_ngcontent-%COMP%]{font-weight:400;font-size:11px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableRow[_ngcontent-%COMP%]{border-bottom:1px solid lightgrey!important}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableHeading[_ngcontent-%COMP%], .grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divMoTableHeading[_ngcontent-%COMP%]{padding-bottom:10px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .assessment_title[_ngcontent-%COMP%]{font-weight:600;font-size:12px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell[_ngcontent-%COMP%], .grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableHead[_ngcontent-%COMP%]{padding:10px;vertical-align:middle}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .qualification-picker-wrap__level[_ngcontent-%COMP%]{display:inline-block;margin:10px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .panel-title[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:#fff}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .bold_text[_ngcontent-%COMP%]{font-weight:600;font-size:12px;float:left;width:100%}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableRow[_ngcontent-%COMP%]{width:100%;display:inline-table}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .col3[_ngcontent-%COMP%], .grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ng
9content-%COMP%]   .col4[_ngcontent-%COMP%]{float:left;width:40%}}@media only screen and (min-width: 600px){.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .button_row[_ngcontent-%COMP%]{width:100%;text-align:right;display:inline-block}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .button_right[_ngcontent-%COMP%]{display:inline-block;padding-left:10px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .sub_box[_ngcontent-%COMP%]{padding:20px 0 0}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableHeading[_ngcontent-%COMP%]   .button_row[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]{top:40px;right:40px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:before{right:10px;top:-12px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTable[_ngcontent-%COMP%]{display:table}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTable[_ngcontent-%COMP%]   .divTableRow[_ngcontent-%COMP%]{display:table-row;border-bottom:1px solid lightgrey!important}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .qualification-picker-wrap__level[_ngcontent-%COMP%]{display:inline-block;margin:1em}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell[_ngcontent-%COMP%], .grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableHead[_ngcontent-%COMP%]{display:table-cell;padding:20px 0 20px 15px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableHead[_ngcontent-%COMP%]:last-of-type{padding-right:15px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableHeading[_ngcontent-%COMP%]{display:table-header-group}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableBody[_ngcontent-%COMP%]{display:table-row-group}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell.cellbold[_ngcontent-%COMP%]{font-weight:600;vertical-align:middle}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell.cellbold.col3[_ngcontent-%COMP%], .grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell.cellbold.col4[_ngcontent-%COMP%]{text-align:center}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell.cellbold.col4[_ngcontent-%COMP%]{padding-right:15px}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   .divTableCell[_ngcontent-%COMP%]   .divMoTableHeading[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]{white-space:normal}}.grade_calculator[_ngcontent-%COMP%]   .grade-calculator[_ngcontent-%COMP%]   fab-loader[_ngcontent-%COMP%]   .loading[_ngcontent-%COMP%]{min-height:auto}.grade_calculator[_ngcontent-%COMP%]   .sub_box[_ngcontent-%COMP%]{border-radius:4px;margin:0 auto;max-width:600px}.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]{position:relative;display:inline-block;text-align:center;background-color:#000;border-radius:50%;width:16px;height:16px;font-size:11px;cursor:default}.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:none;text-align:left;background-color:#1e2021;padding:20px;width:300px;position:absolute;border-radius:3px;box-shadow:1px 1px 1px #0003;right:-8px;color:#fff;font-size:13px;line-height:1.4;z-index:1}.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:before{position:absolute;content:"";width:0;height:0;border:6px solid transparent;border-bottom-color:#1e2021}.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:after{height:40px;content:"";top:-40px;left:0}.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]:before{content:"i";font-weight:600;color:#fff}
9.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]:hover   p[_ngcontent-%COMP%]{display:block;transform-origin:100% 0%;-webkit-animation:_ngcontent-%COMP%_fadeIn .3s ease-in-out;animation:_ngcontent-%COMP%_fadeIn .3s ease-in-out}@media only screen and (min-width: 600px){.grade_calculator[_ngcontent-%COMP%]   .sub_box[_ngcontent-%COMP%]{border-radius:4px;margin:0 auto;max-width:600px;position:relative}.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]{margin:6px}.grade_calculator[_ngcontent-%COMP%]   .divMoTableHeading[_ngcontent-%COMP%]{white-space:nowrap}.grade_calculator[_ngcontent-%COMP%]   .divMoTableHeading[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{white-space:normal}.grade_calculator[_ngcontent-%COMP%]   .divMoTableHeading.col1[_ngcontent-%COMP%]{min-width:120px}.grade_calculator[_ngcontent-%COMP%]   .divMoTableHeading.col2[_ngcontent-%COMP%]{min-width:100px}.grade_calculator[_ngcontent-%COMP%]   .divMoTableHeading.col3[_ngcontent-%COMP%]{min-width:150px}.grade_calculator[_ngcontent-%COMP%]   .button_row[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]{float:right;position:relative;margin-right:15px}}@media only screen and (max-width: 600px){.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]{float:right;position:relative;margin-right:15px}.grade_calculator[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:10px;right:-15px;width:200px;position:absolute}.grade_calculator[_ngcontent-%COMP%]   .button_row[_ngcontent-%COMP%]   .help-tip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:before{right:18px;top:-12px}.grade_calculator[_ngcontent-%COMP%]   .divMoTableHeading[_ngcontent-%COMP%]   div.help-tip[_ngcontent-%COMP%]{float:left}.grade_calculator[_ngcontent-%COMP%]   .mo_sub_box[_ngcontent-%COMP%]{float:left;padding-right:10px}}@-webkit-keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0;transform:scale(.6)}to{opacity:100%;transform:scale(1)}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:100%}}.grade_calculator[_ngcontent-%COMP%]   .bullet-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc;list-style-position:inside}']});let e=r;return e})();export{Ut as GradeCalculatorComponent};

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.