PageSourceSearch

https://webeco.nait.ca/_nuxt/CjSiftjl.js

js nait.ca collected 2026-09-24 18:27:08 UTC 19,120 bytes, 23 lines download raw bytes

1import{_ as ye,o as p,c as g,a as f,F as C,b as w,f as I,s as S,P as he,T as ve,ag as be,M as ee,h as x,r as k,v as Y,d as e,C as H,ad as te,H as re,I as ae,e as A,D as ne,t as oe}from"./DA0omcS5.js";import{P as we}from"./Bfr2tT-T.js";import{S as ke}from"./DiTPAh0-.js";import{S as Ae,I as Te}from"./Bfzrtnh5.js";import{A as xe}from"./CVKHCvZR.js";import{A as _e}from"./DTFUjJcn.js";import Ie from"./D6X4l1qt.js";import{S as Se}from"./Br3cAJPd.js";import De from"./CN-SnPGY.js";import{C as Ne}from"./BIJzQMJI.js";import{b as Pe}from"./CzXNXHxa.js";import{f as Ce}from"./DOgXvz2e.js";import{u as Ee}from"./BIGs8ZIl.js";import{u as Re}from"./BgXvCMwa.js";import{u as qe}from"./G8yYvt4A.js";import{u as Le}from"./DcVAbHoP.js";import{u as Me}from"./CPwZKRhP.js";import"./B_U8AUva.js";import"./CsjUQtjC.js";import"./DceI1Gob.js";import"./DoDrT208.js";import"./fa2HzZCx.js";import"./1WtSxS0n.js";import"./Ef41s5r4.js";import"./DmCqqObE.js";import"./B4HdSWwM.js";import"./D0Rv7CNB.js";import"./_l2EmW96.js";import"./BVIzR_Dl.js";import"./DSAQeTGq.js";import"./DWxi-3xN.js";const Oe={components:{PageHeader:we,Section:ke,Icon:Te,CallToAction:Ie,SimpleButton:Ae,SimpleTable:Se,Accordion:_e,AccordionGroup:xe,Alert:De,ContentTypeView:Ne},data(){return{applicantType:"non-registered"}},setup(){const m=Y(()=>`/apprenticeship/${n}?apprtab=eligibility#ApprStructure`);Me({title:"Starting your Application & Enrolment | NAIT",meta:[{name:"description",content:"Prepare to begin your application to the program of your choice"},{name:"robots",content:"noindex, nofollow"}]});const t=ve();be();const{trackAnalyticsEvent:z}=Le(),a=t.query.program,n=typeof a=="string"?a.trim().toLowerCase():"",T=k(!0),q=k(!0),L=k(!1),E=k(null),D=k(null),h=k(null),_=k(null),R=k(null),{apprProgramData:v,fetchApprProgramData:Q}=Ee();(async()=>{if(!n){console.warn("[apprenticeship apply page] Missing program query parameter"),T.value=!1;return}try{await Q(n,n,t.query.preview==="true"),_.value=v.value?.programId||null,R.value=v.value?.programSelectorRaw||null,T.value=!1}catch(r){E.value=r,console.error("Error fetching Kontent data:",r),T.value=!1}})(),ee(()=>_.value,async(r,o,s)=>{if(!r)return;q.value=!0,L.value=!1,D.value=null;let i=!1;s(()=>{i=!0});try{const u=await Ce(String(r));if(i)return;if(!u){h.value=[],D.value=new Error(`Apprenticeship program not found for programId: ${r}`);return}h.value=[u]}catch(u){if(i)return;h.value=[],D.value=u}finally{i||(q.value=!1,L.value=!0)}},{immediate:!0});const b=Y(()=>E.value?"error":T.value?"loadingKontent":!_.value||D.value?"kontentOnly":q.value||!h.value?.length?"loadingGQL":"fullyLoaded"),M=Y(()=>!h.value||h.value.length===0?null:h.value[0]?.name||null),ie=Y(()=>{const r=h.value;if(!Array.isArray(r)||r.length===0)return console.warn("No data found in gqlprogramData"),[];const o=new Date,s=new Map,i=l=>{const c=typeof l=="number"?l:Number(String(l??"").trim());return Number.isFinite(c)?c:NaN};for(const l of r){const c=l?.periodDeliveries||[];for(const d of c){const B=d?.catalogNumber,P=i(B);if(!Number.isFinite(P))continue;const F=d?.terms||[];for(const W of F){const ge=W?.deliveries||[];for(const V of ge){const Z=V?.endDate?Date.parse(V.endDate):NaN;if(!Number.isFinite(Z)||Z<o.getTime())continue;const $=V?.classNumber;if($==null)continue;const G={...V,periodNumber:P,periodDescription:d?.description,termLabel:W?.admitTermLabel},j=`${P}:${$}`,U=s.get(j);if(!U){s.set(j,G);continue}const fe=U?.startDate?Date.parse(U.startDate):Number.POSITIVE_INFINITY;(G?.startDate?Date.parse(G.startDate):Number.POSITIVE_INFINITY)<fe&&s.set(j,G)}}}}const y=Array.from(s.values()).reduce((l,c)=>{const d=c.periodNumber;return l[d]||(l[d]={periodNumber:d,periodDescription:c.periodDescription,deliveries:[]}),l[d].deliveries.push(c),l},{});return Object.values(y).sort((l,c)=>l.periodNumber-c.periodNumber)}),se=Y(()=>{if(!v.value)return null;const r=v.value,o=M.value||r.Name||"",s=ie.value||[],i=r.notices.intakeNotices||{},u=r.linkedItemMap||{};return{programName:o,deliveries:s,notices:i,linkedItemMap:u}}),{ensureProfile:le,trackProgramApplyPageEngagement:pe,trackProfileCtaClick:ce}=Re(),ue={qualified:{activeSeconds:10},deep:{activeSeconds:20,maxScrollDepth:40}},K=k(null),O=k(null),N=qe({milestones:ue,onMilestone:async({name:r,activeSeconds:o,maxScrollDepth:s})=>{const i=O.value;return i&&await pe({programSlug:i.programSlug,programId:i.programId,programType:i.programType,areasOfInterest:i.areasOfInterest,activeSeconds:o,maxScrollDepth:s,metadata:{...i.metadata,engagementMilestone:r}}),!0}});function J(r){return Array.isArray(r)?[...new Set(r.map(o=>
1o?typeof o=="string"?o.trim():String(o.codename||o.codeName||o.value||"").trim():"").filter(Boolean))]:[]}function X(){N.isTracking.value&&N.stop(),K.value=null,O.value=null}function de({programSlug:r,programId:o,programType:s,areasOfInterest:i,metadata:u}){const y=`appr-apply:${r}`,l={programSlug:r,programId:o,programType:s,areasOfInterest:i,metadata:u};if(K.value===y){O.value=l,N.isTracking.value||N.start();return}N.isTracking.value&&N.stop(),K.value=y,O.value=l,le(),N.start()}function me(r){const o=String(r||"").trim(),s=o==="enrol-cta-appr",i=s?"registered":"non-registered",u=s?"enrol":"apply",y=O.value,l=v.value,c=String(y?.programSlug||l?.url||n||"").trim();if(!c){console.warn("[apprenticeship tracking] application CTA skipped: missing programSlug");return}const d=String(y?.programId||_.value||l?.programId||"").trim(),B=y?.areasOfInterest||J(l?.areasOfInterest),P=o||(s?"enrol-cta-appr":"apply-cta-appr"),F={eventType:"cta_click",ctaType:"application_start",ctaKey:P,programSlug:c,programId:d,programType:"APPR",areasOfInterest:B,metadata:{...y?.metadata||{},source:"apprenticeship_apply_page",applicantType:i,intentAction:u,destination:"mytradesecrets"}};z("application_start",{delivery:"beacon",program:{program:c,programType:"APPR",areas:B},params:{applicant_type:i,application_destination:"mytradesecrets",cta_key:P,intent_action:u},profileEvent:F})||ce({ctaType:"application_start",ctaKey:P,programSlug:c,programId:d,programType:"APPR",areasOfInterest:B,metadata:F.metadata})}return ee(()=>({slug:n,stage:b.value,program:v.value,programId:_.value,programCode:R.value,preview:t.query.preview==="true",applicantType:t.query.applicant}),({slug:r,stage:o,program:s,programId:i,programCode:u,preview:y,applicantType:l})=>{if(y||!(o==="fullyLoaded"||o==="kontentOnly")||!s){X();return}const d=String(s.url||r||"").trim();if(!d){X();return}de({programSlug:d,programId:String(i||s.programId||"").trim(),programType:"APPR",areasOfInterest:J(s.areasOfInterest),metadata:{source:"apprenticeship_apply_page",loadingStage:o,applicantType:l||"non-registered",programCode:String(u||"").trim()}})},{immediate:!0,deep:!1}),{loadingStage:b,finalData:se,urlSlug:n,eligibilityLink:m,trackApprApplicationStart:me}},watch:{"$route.query.applicant":{handler(m,t){m!==t&&(this.applicantType=m)},immediate:!0}},methods:{toggleAudience(m){this.$router.push({query:{...(this._.provides[he]||this.$route).query,applicant:m}})},formatIntakeRows(m=[]){return Pe(m)},openDialog(m){this.formDialog=m},closeDialog(){this.formDialog=""}}},Be={class:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-10"},Ye={class:"block md:hidden"},Fe={class:"text-medium-blue-700 mb-1 flex items-center"},Ve={class:"text-slate-700 overflow-hidden"},Ge={class:"block md:hidden"},He={class:"text-medium-blue-700 mb-1 flex items-center"},Qe={class:"text-slate-700 overflow-hidden"},Ke={class:"prose prose-nait-default mb-4 max-w-4xl mx-auto text-left"},We=["href"],je={class:"heading-two text-left md:text-center"},Ue={class:"max-w-4xl mx-auto text-left"},ze={key:1,class:"text-center prose h-[200px] sm:h-[500px] w-full flex items-center justify-center"},Je={class:"grid grid-cols-1 md:grid-cols-2 gap-8"},Xe={class:"prose prose-nait-default"},Ze={key:0},$e={key:1},et={class:"heading-two"},tt={class:"prose prose-nait-default"},rt={key:0},at={key:1};function nt(m,t,z,a,n,T){const q=x("PageHeader"),L=x("SimpleTable"),E=x("Accordion"),D=x("AccordionGroup"),h=x("ContentTypeView"),_=x("Alert"),R=x("Section"),v=x("CallToAction"),Q=x("Icon");return p(),g(C,null,[f(q,{title:"Starting Your Application & Enrolment",hierarchy:"L4",teaser:a.loadingStage==="fullyLoaded"?"Select below if you have or haven't been registered as an apprentice.":null,breadcrumbs:[{label:"Home",path:"https://www.nait.ca"},{label:"Schools & Programs",path:"https://www.nait.ca/nait/schools-programs"},{label:"Programs",path:"/programs"},{label:"Starting Your Application & Enrolment"}]},null,8,["teaser"]),a.loadingStage==="fullyLoaded"?(p(),g(C,{key:0},[f(R,{"background-color":"white"},{default:w(()=>[e("div",Be,[e("div",{onClick:t[0]||(t[0]=b=>T.toggleAudience("non-registered")),class:H(["cursor-pointer p-4 border rounded-lg shadow-sm transition",{"bg-medium-blue-50 border-medium-blue-400 ring-2 ring-medium-blue-500":n.applicantType==="non-registered","hover:bg-medium-blue-100 bg-slate-100 border-slate-300":n.applicantType!=="non-registered"}])},[t[3]||(t[3]=e("div",{class:"flex justify-between items-start"},[e("h3",{class:"text-2xl font-semibold mb-1"}," Non-Registered Apprentices ")],-1)),t[4]||(t[4]=e("div",{class:"hidden md:block"},[e("p",null," You are considered a Non-Registered Apprentice if you have not submitted an apprenticeship application to Apprenticeship Industry Training (AIT), or you have not yet received approval. ")],-1)),e("div",Ye,[e("p",Fe,[e("i",{class:H(["fa-regular",n.applicantType==="non-registered"?"fa-square-minus":"fa-square-plus"])},null,2),t[2]||(t[2]=e("span",{class:"ml-2"},"What is a Non-Registered Apprentice?",-1))]),f(te,{name:"fade-slide","enter-active-class":"transition-all duration-300 ease-in-out","leave-active-class":"transition-all duration-200 ease-in-out","enter-from-class":"opacity-0 max-h-0","enter-to-class":"opacity-100 max-h-[300px]","leave-from-class":"opacity-100 max-h-[300px]","leave-to-class":"opacity-0 max-h-0"},{default:w(()=>[re(e("p",Ve," You are considered a Non-Registered Apprentice if you have not submitted an apprenticeship application to Apprenticeship Industry Training (AIT), or you have not yet received approval. ",512),[[ae,n.applicantType==="non-registered"]])]),_:1})])],2),e("div",{onClick:t[1]||(t[1]=b=>T.toggleAudience("registered")),class:H(["cursor-pointer p-4 border rounded-lg shadow-sm transition",{"bg-medium-blue-50 border-medium-blue-400 ring-2 ring-medium-blue-500":n.applicantType==="registered","hover:bg-medium-blue-100 bg-slate-100 border-slate-300":n.applicantType!=="registered"}])},[t[6]||(t[6]=e("div",{class:"flex justify-between items-start"},[e("h3",{class:"text-2xl font-semibold mb-1"}
1," Registered Apprentices ")],-1)),t[7]||(t[7]=e("div",{class:"hidden md:block"},[e("p",{class:"text-slate-700"}," You are considered a Registered Apprentice if you have an approved apprenticeship application with Apprenticeship and Industry Training (AIT), with or without a signed contract with an employer. ")],-1)),e("div",Ge,[e("p",He,[e("i",{class:H(["fa-regular",n.applicantType==="registered"?"fa-square-minus":"fa-square-plus"])},null,2),t[5]||(t[5]=e("span",{class:"ml-2"},"What is a Registered Apprentice?",-1))]),f(te,{name:"fade-slide","enter-active-class":"transition-all duration-300 ease-in-out","leave-active-class":"transition-all duration-200 ease-in-out","enter-from-class":"opacity-0 max-h-0","enter-to-class":"opacity-100 max-h-[300px]","leave-from-class":"opacity-100 max-h-[300px]","leave-to-class":"opacity-0 max-h-0"},{default:w(()=>[re(e("p",Qe," You are considered a Registered Apprentice if you have an approved apprenticeship application with Apprenticeship and Industry Training (AIT), with or without a signed contract with an employer. ",512),[[ae,n.applicantType==="registered"]])]),_:1})])],2)]),n.applicantType==="non-registered"?(p(),g(C,{key:0},[t[13]||(t[13]=e("h2",{class:"heading-two text-left md:text-center"}," Before you apply ",-1)),e("div",Ke,[e("p",null,[t[8]||(t[8]=A(" To get started, make sure you meet all ",-1)),e("a",{href:a.eligibilityLink}," eligibility and entrance requirements ",8,We),t[9]||(t[9]=A(". ",-1))]),t[10]||(t[10]=e("p",null," You can register as an apprentice with Apprenticeship and Industry Training (AIT) in one of three ways: ",-1)),t[11]||(t[11]=e("ul",null,[e("li",null,"with an employer (sponsored)"),e("li",null,"without an employer (unsponsored)"),e("li",null,"through an approved alternate pathway")],-1)),t[12]||(t[12]=e("p",null," Once AIT approves your apprenticeship application, you'll be able to enrol in available in-class training. Most NAIT programs have limited seats, so we recommend enrolling as soon as you're approved. ",-1)),a.finalData?.deliveries&&a.finalData?.deliveries?.length?(p(),I(E,{key:0,heading:`View upcoming intakes for ${a.finalData?.programName}`,design:"borderless"},{default:w(()=>[f(D,{design:"white"},{default:w(()=>[(p(!0),g(C,null,ne(a.finalData?.deliveries,(b,M)=>(p(),I(E,{key:M,heading:"Period "+b.periodNumber,"open-label":"View Dates & Delivery"},{default:w(()=>[f(L,{theme:"borderless",headers:["Start Date","End Date","Delivery Mode"],rows:T.formatIntakeRows(b.deliveries)},null,8,["rows"])]),_:2},1032,["heading"]))),128))]),_:1})]),_:1},8,["heading"])):S("",!0)])],64)):S("",!0),n.applicantType==="registered"?(p(),g(C,{key:1},[e("h2",je," Upcoming Intakes for "+oe(a.finalData?.programName),1),e("div",Ue,[t[14]||(t[14]=e("p",{class:"prose prose-nait-default mb-6 text-center"},[e("b",null,"IMPORTANT:"),A(" Make sure you're registered as an apprentice and have met all entrance requirements."),e("br"),A("Enroll for in-class-training as early as possible as most NAIT programs have a limited number of seats available. ")],-1)),a.finalData?.notices?.upcoming_intakes_appr_notice&&a.finalData?.notices?.upcoming_intakes_appr_notice?.value?.length?(p(),I(h,{key:0,"provided-data":a.finalData?.linkedItemMap[a.finalData?.notices.upcoming_intakes_appr_notice?.value?.[0]],variant:"marketingtabs",preview:m.preview,"template-props":{class:"mb-6"}},null,8,["provided-data","preview"])):S("",!0),a.finalData?.deliveries&&a.finalData?.deliveries?.length?(p(),I(D,{key:1,design:"white"},{default:w(()=>[a.finalData?.deliveries&&a.finalData?.deliveries?.length?(p(!0),g(C,{key:0},ne(a.finalData?.deliveries,(b,M)=>(p(),I(E,{key:M,heading:"Period "+b.periodNumber,"open-label":"View Dates & Delivery"},{default:w(()=>[f(L,{theme:"borderless",headers:["Start Date","End Date","Delivery Mode"],rows:T.formatIntakeRows(b.deliveries)},null,8,["rows"])]),_:2},1032,["heading"]))),128)):S("",!0)]),_:1})):(p(),I(_,{key:2,theme:"warning",content:"<p>There are currently no scheduled classroom instruction intakes at NAIT for this program. More are expected soon.</p>","full-width":!0}))]),t[15]||(t[15]=e("div",{class:"max-w-4xl mx-auto text-center"},[e("p",{class:"mt-6 prose prose-nait-default"}
1,[A(" Looking for other options? Browse additional programs through "),e("a",{href:"/programs"}," Program Search"),A(". ")])],-1))],64)):S("",!0)]),_:1}),n.applicantType==="non-registered"?(p(),I(v,{key:0,theme:"purple",heading:"Apply with MyTradesecrets",content:`
2       <p>Here's the information you'll need to have ready to go before beginning the application process:</p>
3       <ul>
4        <li>Alberta Student Number - <a href='https://learnerregistry.ae.alberta.ca/home/startlookup' target='_blank'>Look up or request an ASN</a></li>
5        <li>Your sponsor's name and email address (if you have sponsor)</li>
6        <li>Social Insurance Number (required only if you want to be automatically considered for scholarships and awards)</li>
7        <li>Details of prior work experience (if applicable)</li>
8        <li>Details of out-of-province trade certifications or apprenticeship training (if applicable)</li>
9       </ul>
10  `,"button-text":"Apply now","button-id":"apply-cta-appr","button-icon":"fa-solid fa-circle-chevron-right",linkURL:"https://tradesecrets.alberta.ca/mytradesecrets/",linkTarget:"_blank",notch:!1,onButtonClick:a.trackApprApplicationStart},null,8,["onButtonClick"])):S("",!0),n.applicantType==="registered"?(p(),I(v,{key:1,theme:"purple",heading:"Enrol for In-Class Training with MyTradesecrets",content:`<p>Here's step by step on how to enrol:</p>
11    <ol class='marker:text-white'>
12      <li>Sign in to your MyTradesecrets account</li>
13      <li>Select 'Class Registration'</li>
14      <li>Review class catalogue and check the availability for your preferred class</li>
15      <li>Discuss class dates with your sponsor or employer to ensure they can approve time off</li>
16      <li>Register for your class</li>
17    </ol>
18  `,"button-text":"Enrol now",linkURL:"https://tradesecrets.alberta.ca/mytradesecrets/",linkTarget:"_blank","button-id":"enrol-cta-appr",buttonIcon:"fa-solid fa-circle-chevron-right",notch:!1,onButtonClick:a.trackApprApplicationStart},null,8,["onButtonClick"])):S("",!0)],64)):a.loadingStage==="loadingKontent"||a.loadingStage==="loadingGQL"?(p(),g("div",ze,[f(Q,{"icon-name":"fa-solid fa-spinner animate-spin text-3xl text-slate-500"})])):a.loadingStage==="kontentOnly"?(p(),g(C,{key:2},[f(R,{"background-color":"white"},{default:w(()=>[f(_,{theme:"warning",heading:"No program information available.","full-width":!0,content:`
19                    <p>If you arrived here directly, please return to a <a href="/programs" class="underline">program page</a> and click "Apply Now" to view the relevant details.</p>
20                    <p><i class="fa-solid fa-magnifying-glass mr-2 text-medium-blue-550 mt-2"></i><a href="/programs" class="underline">Browse all programs</a></p>
21                `})]),_:1}),f(v,{theme:"purple",heading:"Ready to Find Your Fit?",content:`
22       <p>Whether you’re passionate about tech, healthcare, trades, or business, we’ve got something for you.</p>
23  `,"button-text":"Explore programs","button-id":"explore-program-btn","button-icon":"fa-solid fa-circle-chevron-right",linkURL:"/programs",notch:!1})],64)):S("",!0),f(R,null,{default:w(()=>[e("div",Je,[e("div",null,[t[18]||(t[18]=e("h2",{class:"heading-two"},"Need help?",-1)),e("div",Xe,[n.applicantType==="registered"?(p(),g("p",Ze,[...t[16]||(t[16]=[A(" For questions about enrolment process, please reach out to ",-1),e("a",{href:"https://tradesecrets.alberta.ca/contact-us/contact-client-services/",target:"_blank"},"Apprenticeship and Industry Training (AIT)",-1),A(". ",-1)])])):(p(),g("p",$e,[...t[17]||(t[17]=[A(" For questions about the registration process, please reach out to ",-1),e("a",{href:"https://tradesecrets.alberta.ca/contact-us/contact-client-services/",target:"_blank"},"Apprenticeship and Industry Training (AIT)",-1),A(". ",-1)])]))])]),e("div",null,[e("h2",et,oe(n.applicantType==="registered"?"What to expect after you enrol":"What to expect after you apply"),1),e("div",tt,[n.applicantType==="registered"?(p(),g("p",rt," You’ll receive an email with instructions on what to do - including how to set up your MyNAIT account and pay for your class. ")):(p(),g("p",at," You'll receive a confirmation email from AIT once you are approved. "))])])])]),_:1})],64)}const Ot=ye(Oe,[["render",nt]]);export{Ot 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.