1"use strict";(self.webpackChunkrecipient_portal=self.webpackChunkrecipient_portal||[]).push([[18783],{18783:(X,l,c)=>{c.d(l,{m:()=>B});var _=c(94527),d=c(60177),t=c(54438),a=c(46941),p=c(2885);const m=(n,i)=>i.uuid,g=(n,i)=>i.endorser_course_id,C=(n,i)=>i.credit_level,P=(n,i)=>i.framework;function f(n,i){if(1&n&&(t.j41(0,"div",13),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI("Student ID ",e.transcript().student_id,"")}}function M(n,i){if(1&n&&(t.j41(0,"div",14),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" Application Number ",e.transcript().application_number," ")}}function v(n,i){if(1&n&&(t.j41(0,"div",15),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" Date of birth ",t.i5U(2,1,e.transcript().sender_dob,"MMMM d, yyyy")," ")}}function x(n,i){1&n&&t.nrm(0,"col",22)}function F(n,i){1&n&&(t.j41(0,"th"),t.EFF(1,"Endorsement"),t.k0s())}function h(n,i){if(1&n&&(t.j41(0,"div",30)(1,"span"),t.EFF(2,"Recipient"),t.k0s(),t.EFF(3),t.k0s()),2&n){const e=t.XpG(),r=e.$implicit;t.BMQ("data-cy","credential-recipient-name-"+e.$index),t.R7$(3),t.SpI(" ",r.recipient.name," ")}}function u(n,i){if(1&n&&(t.j41(0,"div",30)(1,"span"),t.EFF(2,"Grade"),t.k0s(),t.EFF(3),t.k0s()),2&n){const e=t.XpG(),r=e.$implicit;t.BMQ("data-cy","credential-grade-"+e.$index),t.R7$(3),t.SpI(" ",r.grade," ")}}function O(n,i){1&n&&(t.j41(0,"span",36),t.EFF(1,"Expired"),t.k0s())}function b(n,i){1&n&&t.EFF(0," Expires ")}function $(n,i){if(1&n&&(t.j41(0,"div",33),t.DNE(1,O,2,0,"span",36)(2,b,1,0),t.k0s(),t.j41(3,"div",34),t.EFF(4),t.nI1(5,"date"),t.k0s()),2&n){const e=t.XpG(),r=e.$implicit,o=e.$index,s=t.XpG(2);t.BMQ("data-cy","credential-expired-date-"+o),t.R7$(),t.vxM(s.isExpired(r.expired_on)?1:2),t.R7$(2),t.AVh("expired-text",s.isExpired(r.expired_on)),t.BMQ("data-cy","credential-expired-date-value-"+o),t.R7$(),t.SpI(" ",t.i5U(5,6,r.expired_on,"dd/MM/yyyy")," ")}}function E(n,i){if(1&n&&(t.EFF(0),t.j41(1,"sup"),t.EFF(2,"1"),t.k0s()),2&n){const e=t.XpG().$implicit;t.SpI(" (",e.version,")")}}function k(n,i){if(1&n&&(t.j41(0,"tr")(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s(),t.j41(5,"td"),t.EFF(6),t.k0s()()),2&n){const e=i.$implicit;t.R7$(2),t.JRh(e.credit_level),t.R7$(2),t.JRh(e.credits),t.R7$(2),t.JRh(e.credit_subject_area)}}function R(n,i){if(1&n&&(t.j41(0,"div",37)(1,"div",41),t.EFF(2,"Credit Recommendations"),t.k0s(),t.j41(3,"table",42)(4,"thead")(5,"tr")(6,"th"),t.EFF(7,"Level"),t.k0s(),t.j41(8,"th"),t.EFF(9,"Credits"),t.k0s(),t.j41(10,"th"),t.EFF(11,"Area/Subject"),t.k0s()()(),t.j41(12,"tbody"),t.Z7z(13,k,7,3,"tr",null,C),t.k0s()()()),2&n){const e=t.XpG().$implicit;t.R7$(13),t.Dyx(e.credit_recommendations)}}function w(n,i){if(1&n&&(t.j41(0,"tr")(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s()()),2&n){const e=i.$implicit;t.R7$(2),t.JRh(e.framework),t.R7$(2),t.JRh(e.statement)}}function j(n,i){if(1&n&&(t.j41(0,"div",37)(1,"div",41),t.EFF(2,"Competencies"),t.k0s(),t.j41(3,"table",43)(4,"thead")(5,"tr")(6,"th"),t.EFF(7,"Competency Framework"),t.k0s(),t.j41(8,"th"),t.EFF(9,"Statement"),t.k0s()()(),t.j41(10,"tbody"),t.Z7z(11,w,5,2,"tr",null,P),t.k0s()()()),2&n){const e=t.XpG().$implicit;t.R7$(11),t.Dyx(e.competencies)}}function y(n,i){if(1&n&&(t.j41(0,"div",40)(1,"span"),t.EFF(2,"Minimum passing percentage"),t.k0s(),t.EFF(3),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.SpI(" ",e.minimum_passing_percentage," % ")}}function T(n,i){if(1&n&&(t.j41(0,"div",40)(1,"span"),t.EFF(2,"CTID"),t.k0s(),t.EFF(3),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.SpI(" ",e.credit_transfer_id," ")}}function I(n,i){if(1&n&&(t.j41(0,"div",40)(1,"span"),t.EFF(2,"Note"),t.k0s(),t.EFF(3),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.SpI(" ",e.notes,"")}}function D(n,i){if(1&n&&(t.j41(0,"div",37)(1,"div",38)(2,"span",39),t.EFF(3),t.nI1(4,"endorserName"),t.k0s(),t.nrm(5,"br"),t.j41(6,"a",27),t.EFF(7),t.k0s(),t.DNE(8,E,3,1,"sup"),t.k0s(),t.DNE(9,R,15,0,"div",37)(10,j,13,0,"div",37)(11,y,4,1,"div",40)(12,T,4,1,"div",40)(13,I,4,1,"div",40),t.k0s()),2&n){const e=i.$implicit;t.R7$(3),t.JRh(t.i5U(4,9,e,"full_name")),t.R7$(3),t.Y8G("href",e.endorser_course_link,t.B4B),t.R7$(),t.SpI(" ",e.endorser_course_id,""),t.R7$(),t.vxM(e.version?8:-1),t.R7$(),t.vxM(null!=e.credit_recommendations&&e.credit_recommendations.length?9:-1),t.R7$(),t.vxM(null!=e.competencies&&e.competencies.length?10:-1),t.R7$(),t.vxM(e.minimum_passing_percentage?11:-1),t.R7$(),t.vxM(e.credit_transfer_id?12:-1),t.R7$(),t.vxM(e.n
1otes?13:-1)}}function z(n,i){1&n&&t.EFF(0," -- ")}function G(n,i){if(1&n&&(t.j41(0,"td",35),t.Z7z(1,D,14,12,"div",37,g,!1,z,1,0),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Dyx(e.endorsements)}}function S(n,i){if(1&n&&(t.j41(0,"tr")(1,"td")(2,"div",26)(3,"a",27),t.EFF(4),t.k0s()(),t.nrm(5,"div",28),t.j41(6,"div",29),t.DNE(7,h,4,2,"div",30),t.j41(8,"div",30)(9,"span"),t.EFF(10,"UUID"),t.k0s(),t.EFF(11),t.k0s(),t.DNE(12,u,4,2,"div",30),t.k0s()(),t.j41(13,"td",31),t.EFF(14),t.k0s(),t.j41(15,"td")(16,"div",32)(17,"div",33),t.EFF(18,"Issued"),t.k0s(),t.j41(19,"div",34),t.EFF(20),t.nI1(21,"date"),t.k0s(),t.DNE(22,$,6,9),t.k0s()(),t.DNE(23,G,4,1,"td",35),t.k0s()),2&n){const e=i.$implicit,r=i.$index,o=t.XpG(2);t.R7$(3),t.Y8G("href",e.url,t.B4B),t.BMQ("data-cy","credential-name-"+r),t.R7$(),t.SpI("",e.name," "),t.R7$(),t.Y8G("innerHTML",e.description,t.npT),t.BMQ("data-cy","credential-description-"+r),t.R7$(2),t.vxM(null!=e&&null!=e.recipient&&e.recipient.name?7:-1),t.R7$(),t.BMQ("data-cy","credential-uuid-"+r),t.R7$(3),t.SpI(" ",e.uuid," "),t.R7$(),t.vxM(e.grade?12:-1),t.R7$(),t.BMQ("data-cy","credential-issuer-"+r),t.R7$(),t.SpI(" ",e.issuer.name," "),t.R7$(3),t.BMQ("data-cy","credential-issued-date-"+r),t.R7$(2),t.BMQ("data-cy","credential-issued-date-value-"+r),t.R7$(),t.SpI(" ",t.i5U(21,16,e.issued_on,"dd/MM/yyyy")," "),t.R7$(2),t.vxM(e.expired_on?22:-1),t.R7$(),t.vxM(o.hasEndorsements()?23:-1)}}
1function N(n,i){if(1&n&&(t.j41(0,"div",1)(1,"div",2)(2,"div"),t.nrm(3,"img",3),t.k0s(),t.j41(4,"div")(5,"div",4),t.EFF(6),t.j41(7,"b"),t.EFF(8),t.nI1(9,"date"),t.k0s()(),t.j41(10,"div",5),t.EFF(11),t.k0s()()(),t.j41(12,"div",6)(13,"div",7)(14,"div",8)(15,"div",9),t.EFF(16,"Issued for"),t.k0s()(),t.j41(17,"div")(18,"div",10),t.EFF(19),t.k0s(),t.j41(20,"div",11)(21,"div",12),t.EFF(22),t.k0s(),t.DNE(23,f,2,1,"div",13)(24,M,2,1,"div",14)(25,v,3,4,"div",15),t.k0s()()(),t.j41(26,"div",16)(27,"div",8)(28,"div",9),t.EFF(29,"Issued to"),t.k0s()(),t.j41(30,"div")(31,"div",10),t.EFF(32),t.k0s(),t.j41(33,"div",11)(34,"div",17),t.EFF(35),t.k0s()()()()(),t.j41(36,"div")(37,"table",18)(38,"colgroup"),t.nrm(39,"col",19)(40,"col",20)(41,"col",21),t.DNE(42,x,1,0,"col",22),t.k0s(),t.j41(43,"thead",23)(44,"tr")(45,"th"),t.EFF(46,"Credential details"),t.k0s(),t.j41(47,"th"),t.EFF(48,"Issuer"),t.k0s(),t.j41(49,"th"),t.EFF(50,"Date"),t.k0s(),t.DNE(51,F,2,0,"th"),t.k0s()(),t.j41(52,"tbody",24),t.Z7z(53,S,24,19,"tr",null,m),t.k0s()()(),t.j41(55,"div",25),t.EFF(56,"END OF TRANSCRIPT"),t.k0s()()),2&n){let e;const r=i.$implicit,o=t.XpG();t.R7$(3),t.Y8G("alt",r("accredible_logo")),t.R7$(3),t.SpI(" ",o.transcript().receiver_kind===o.transcriptKind.UNIVERSITY?"Official Transcript":"Unofficial Transcript"," Issued on "),t.R7$(2),t.JRh(t.i5U(9,13,o.today,"MMMM d, yyyy")),t.R7$(3),t.SpI(" Transcript ID: ",null!==(e=null==(e=o.transcript())?null:e.id)&&void 0!==e?e:"Not available yet"," "),t.R7$(8),t.JRh(o.transcript().sender_name),t.R7$(3),t.JRh(o.transcript().sender_email),t.R7$(),t.vxM(o.transcript().student_id?23:-1),t.R7$(),t.vxM(o.transcript().application_number?24:-1),t.R7$(),t.vxM(o.transcript().sender_dob?25:-1),t.R7$(7),t.JRh(o.transcript().receiver_name),t.R7$(3),t.JRh(o.transcript().receiver_email),t.R7$(7),t.vxM(o.hasEndorsements()?42:-1),t.R7$(9),t.vxM(o.hasEndorsements()?51:-1),t.R7$(2),t.Dyx(o.transcript().content.credentials)}}let B=(()=>{class n{constructor(){this.transcript=(0,t.hFB)(),this.today=new Date,this.transcriptKind=p.rB,this.hasEndorsements=(0,t.EWP)(()=>this.transcript().content.credentials.some(e=>e.endorsements?.length>0))}isExpired(e){return new Date(e)<new Date}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["rp-preview-pdf"]],inputs:{transcript:[1,"transcript"]},standalone:!0,features:[t.aNF],decls:1,vars:1,consts:[["class","transcript-container",4,"transloco","translocoPrefix"],[1,"transcript-container"],[1,"transcript-header"],["width","175","src","/assets/images/accredible-new-logo.svg",3,"alt"],["data-cy","issued-on",1,"official-label"],["data-cy","transcript-id",1,"transcript-id"],[1,"transcript-parties"],[1,"issued-for"],[1,"section-header"],[1,"section-header-text"],[1,"name"],[1,"issued-for-details"],["data-cy","sender-email",1,"email"],["data-cy","student-id",1,"id"],["data-cy","application-number",1,"app-number"],["data-cy","sender-dob",1,"date"],[1,"issued-to"],["data-cy","receiver-email",1,"email"],[1,"credentials-table"],[1,"col-credential-details"],[1,"col-issuer"],[1,"col-date"],[1,"col-endorsement"],[1,"table-header"],[1,"table-body"],[1,"transcript-footer"],[1,"credential-name"],["target","_blank",3,"href"],[1,"accredible-rich-text-wrapper","credential-description",3,"innerHTML"],[1,"credential-meta"],[1,"credential-meta-item"],[1,"credential-issuer"],[1,"credential-date"],[1,"date-label"],[1,"date-value"],[1,"endorsements-column"],[1,"expired-text"],[1,"endorsement-section"],[1,"section-title"],[1,"endorser-name"],[1,"endorsement-extra"],[1,"section-subtitle"],[1,"endorsement-table","credit-recommendations"],[1,"endorsement-table","competencies"]],template:function(r,o){1&r&&t.DNE(0,N,57,16,"div",0),2&r&&t.Y8G("translocoPrefix","preview-pdf")},dependencies:[d.MD,d.vh,a.Q8,a.bA,_.oX],styles:['.transcript-container[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto;position:relative;overflow:hidden}.transcript-container[_ngcontent-%COMP%]:before{content:"PREVIEW";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-45deg);font-size:120px;color:#80808026;white-space:nowrap;pointer-events:none;width:100%;text-align:center}.transcript-header[_ngcontent-%COMP%]{background-color:#f6f6fa;display:flex;justify-content:space-between;align-items:center;padding:20px;text-align:right}.transcript-header[_ngcontent-%COMP%] .official-label[_ngcontent-%COMP%]{font-size:11px;color:#141418;text-transform:uppercase}.transcript-header[_ngcontent-%COMP%] .transcript-id[_ngcontent-%COMP%]{font-size:11px;color:#141418}.transcript-parties[_ngcontent-%COMP%]{display:flex;flex-direction:row;padding:20px;border-bottom:1px solid #e0e0e4}
1.transcript-parties[_ngcontent-%COMP%] .issued-for[_ngcontent-%COMP%], .transcript-parties[_ngcontent-%COMP%] .issued-to[_ngcontent-%COMP%]{display:flex;font-size:11px;width:50%;box-sizing:border-box}.transcript-parties[_ngcontent-%COMP%] .issued-for-details[_ngcontent-%COMP%]{display:flex;flex-direction:column;line-height:1.5;margin-top:5px;margin-left:16px}.transcript-parties[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-weight:600;font-size:14px;line-height:1;margin-left:16px}.transcript-parties[_ngcontent-%COMP%] .id[_ngcontent-%COMP%], .transcript-parties[_ngcontent-%COMP%] .email[_ngcontent-%COMP%], .transcript-parties[_ngcontent-%COMP%] .app-number[_ngcontent-%COMP%], .transcript-parties[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{font-size:12px;color:#666}.section-header[_ngcontent-%COMP%]{position:relative;color:#63647a;border-right:1px solid #e0e0e4;padding-right:15px;line-height:1}.credentials-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.credentials-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#3b3c49}.credentials-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .credentials-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:top;text-align:left}.credentials-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(1), .credentials-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(1){width:35%}.credentials-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2), .credentials-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(3), .credentials-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2), .credentials-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:15%}.credentials-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(4), .credentials-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(4){width:35%}.credentials-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:4px 16px}.credentials-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:16px;font-size:11px}.credentials-table[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{background-color:#f6f6fa;text-align:left;color:#3b3c49;font-size:12px}.credentials-table[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:400}.credentials-table[_ngcontent-%COMP%] .credential-issuer[_ngcontent-%COMP%]{line-height:1.2}.credentials-table[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{background-color:#fff}.credentials-table[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #e0e0e4}.credentials-table[_ngcontent-%COMP%] .credential-name[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#22257c;font-weight:600;font-size:13px;text-decoration:underline}.credentials-table[_ngcontent-%COMP%] .credential-description[_ngcontent-%COMP%]{max-width:400px;font-size:10px;line-height:1.4}.credentials-table[_ngcontent-%COMP%] .credential-date[_ngcontent-%COMP%]{line-height:1.4}.credentials-table[_ngcontent-%COMP%] .credential-meta[_ngcontent-%COMP%]{line-height:1.4;margin-top:10px}.credentials-table[_ngcontent-%COMP%] .credential-meta[_ngcontent-%COMP%] .credential-meta-item[_ngcontent-%COMP%]{font-size:11px;color:#141418}.credentials-table[_ngcontent-%COMP%] .credential-meta[_ngcontent-%COMP%] .credential-meta-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:600}.endorsements-column[_ngcontent-%COMP%] .endorsement-section[_ngcontent-%COMP%]{padding-bottom:16px}.endorsements-column[_ngcontent-%COMP%] .endorsement-section[_ngcontent-%COMP%]:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.endorsements-column[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-weight:400;margin-bottom:10px;color:#141418;font-size:13px;line-height:1.2}.endorsements-column[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%] .endorser-name[_ngcontent-%COMP%]{font-weight:600}.endorsements-column[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#22257c;text-decoration:underline}.endorsements-column[_ngcontent-%COMP%] .endorsement-extra[_ngcontent-%COMP%]{font-size:11px;color:#141418;font-weight:400;line-height:1.4}.endorsements-column[_ngcontent-%COMP%] .endorsement-extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-decoration:underline}.endorsements-column[_ngcontent-%COMP%] .section-subtitle[_ngcontent-%COMP%]{font-weight:600;margin:0;color:#141418;font-size:11px}.endorsements-column[_ngcontent-%COMP%] .endorsement-table[_ngcontent-%COMP%]{width:100%;border:none;padding:0!important}.endorsements-column[_ngcontent-%COMP%] .endorsement-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .endorsements-column[_ngcontent-%COMP%] .endorsement-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0;font-size:11px;text-align:left}.endorsements-column[_ngcontent-%COMP%] .endorsement-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#63647a;font-weight:400;line-height:1.2;padding:5px 0}.endorsements-column[_ngcontent-%COMP%] .endorsement-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:11px;color:#141418;line-height:1.2}.transcript-footer[_ngcontent-%COMP%]{font-size:16px;color:#63647a;text-align:center;padding:20px;border-bottom:1px solid #e0e0e4}.expired-text[_ngcontent-%COMP%]{color:#b6230d}']})}}return n})()}}]);
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.