1import{v as s,ac as n,m as i,x as l,C as a,z as c,O as u,M as f}from"./index.ccd35ebd.js";const d=3,m={name:"InstructorProfileLinkButton",mixins:[n],props:{tagIds:{type:Array,default:()=>[]}},emits:["close"],computed:{...i(["eJSON"]),includeInstructorProfileLink(){var t,e,r;return!!((r=(e=(t=this.eJSON)==null?void 0:t.globalProps)==null?void 0:e.contentPreview)!=null&&r.includeInstructorProfileLink)},instructorProfileTag(){var t;if(!((t=this.tagIds)!=null&&t.length))return null;for(const e of this.tagIds){const r=this.$store.getters.getTagObjectByTagId(e);if(r&&Number(r.tagHeadingID)===d)return r}return null},instructorProfileHandle(){var t,e;return(e=(t=this.instructorProfileTag)==null?void 0:t.tagName)==null?void 0:e.trim()},visible(){return!!(this.includeInstructorProfileLink&&this.instructorProfileHandle)}},methods:{openInstructorProfile(){const t=this.instructorProfileHandle;!t||(this.$emit("close"),this.goToUserProfile(t))}}};function g(t,e,r,I,p,o){return o.visible?(l(),a(u,{key:0,"no-caps":"",unelevated:"",class:"q-mt-sm",style:c(`background: ${t.$store.getters.brandColor}; color: #fff;`),label:"See all of this instructor's lessons",onClick:o.openInstructorProfile},null,8,["style","onClick"])):f("",!0)}var h=s(m,[["render",g]]);export{h 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.