1import{Q as U,o as e,c as o,e as l,F as h,y as m,a as s,t as r,u as R,n as F,d as O,f as T,b as f,p as j,h as E}from"./app-f3144645.js";import{_ as M}from"./CTABtn-76abcc04.js";import{_ as Q}from"./_plugin-vue_export-helper-c27b6911.js";const V=i=>(j("data-v-8926591a"),i=i(),E(),i),$={class:"profile-page"},q={key:0,class:"alert multiline outlined danger"},A=V(()=>s("div",{class:"title"},[s("i",{class:"material-symbols-rounded notranslate"},"info"),s("span",null,"Notice")],-1)),G=V(()=>s("div",{class:"content"},[f(" This post is currently "),s("strong",{class:"danger-color-text"},"Unpublished"),f(". Only you and other administrators can see this post. ")],-1)),H=[A,G],J={class:"section","data-aos":"fade-up"},K={class:"primary-gradient-text"},W={class:"desc"},X={class:"profiles staggered-cards s1 l2 xl3"},Y={class:"profile-card card-panel outlined","data-aos":"fade-up"},Z={class:"head"},tt={class:"photo","data-aos":"zoom-out"},st=["src"],et={class:"name","data-aos":"fade-right"},ot={class:"notranslate"},at={class:"primary-gradient-text"},nt={key:0,"data-aos-delay":"50"},rt={key:0,class:"creds"},it={class:"cred"},lt={class:"cred-sec"},dt={key:0},ct={key:1,class:"browser-default"},_t={key:1,class:"link"},ut={__name:"Profiles",props:{post:{type:Object,default:null}},setup(i){var y,v,b,k,x;const p=i,d=w=>{var g,c;return(c=(g=p==null?void 0:p.post)==null?void 0:g.profiles)==null?void 0:c.find(u=>u.assignment==w)},z=((b=(v=(y=U().props.homeData)==null?void 0:y.global)==null?void 0:v.logo)==null?void 0:b.trim())!=""?(x=(k=U().props.homeData)==null?void 0:k.global)==null?void 0:x.logo:"/img/res/logo_default.webp";return(w,g)=>{var c,u;return e(),o("div",$,[((c=i.post)==null?void 0:c.status)=="Unpublished"?(e(),o("div",q,H)):l("",!0),(e(!0),o(h,null,m((u=i.post)==null?void 0:u.structured_content,n=>(e(),o("div",J,[s("h2",null,[s("span",K,r(n==null?void 0:n.section),1)]),s("p",W,r(n==null?void 0:n.description),1),s("div",X,[(e(!0),o(h,null,m(n==null?void 0:n.profiles,t=>{var B,C,N,I,L,P,S;return e(),o("div",Y,[s("div",Z,[s("div",tt,[s("img",{src:((C=(B=d(t.assignment))==null?void 0:B.photo)==null?void 0:C.trim())??R(z),class:F({"no-profile":!((N=d(t.assignment))!=null&&N.photo)}),alt:"Profile",loading:"lazy"},null,10,st)]),s("div",et,[s("h3",ot,[s("span",at,r((I=d(t.assignment))==null?void 0:I.name),1)]),t.title?(e(),o("p",nt,r(t.title),1)):l("",!0)])]),t.show_credentials&&((P=(L=d(t.assignment))==null?void 0:L.credentials)!=null&&P.length)?(e(),o("div",rt,[(e(!0),o(h,null,m((S=d(t.assignment))==null?void 0:S.credentials,a=>{var _;return e(),o("div",it,[s("h4",lt,r(a.section),1),a.description?(e(),o("p",dt,r(a.description),1)):l("",!0),(_=a==null?void 0:a.items)!=null&&_.length?(e(),o("ul",ct,[(e(!0),o(h,null,m(a==null?void 0:a.items,D=>(e(),o("li",null,r(D),1))),256))])):l("",!0)])}),256))])):l("",!0),t.link?(e(),o("div",_t,[O(M,{href:t.link.link,useBaseURL:t.link.use_base_url,target:t.link.target,bgColor:"var(--transparent-primary-gradient-anim)",color:"var(--primary-color)",borderColor:"var(--primary-color)",isResponsive:""},{default:T(()=>{var a,_;return[f(r((a=t.label)!=null&&a.trim()&&((_=t==null?void 0:t.label)==null?void 0:_.trim())!=""?t.label:"Learn More"),1)]}),_:2},1032,["href","useBaseURL","target"])])):l("",!0)])}),256))])]))),256))])}}},gt=Q(ut,[["__scopeId","data-v-8926591a"]]);export{gt 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.