1import{C as e,L as t}from"./BgpMv25q.js";import{W as n,n as r}from"./CG2-8420.js";import{t as i}from"./BM3Qhnbf2.js";var a={computed:{...n(r,[`topicProgressByTopic`,`certificateTestProgressByTopic`])},methods:{getTopicData(n){let r=this.topicProgressByTopic(n?.fields.globalId)?.total_progress||0,a=t()({name:e,params:{topic:n?.fields.slug}}),o=this.certificateTestProgressByTopic(n),s=o?.completed_at,c=new Date(s),l=c.setFullYear(c.getFullYear()+1),u=null;s&&(u=new Date(l).toISOString());let d=o?.expired_at,f=d&&i(d)>=0;return{topic:n,topicPath:a,topicCompleted:r===1,completedAt:s,expiresAt:u,expiredAt:d,isExpired:f}}}};export{a as t};
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.