PageSourceSearch

https://higheredrisk.com/assets/EditorialDetailPage-tzw9HFWS.js

js higheredrisk.com collected 2026-10-05 11:07:09 UTC 14,675 bytes, 8 lines download raw bytes

1import{b as v,t as f,r as c,j as e,L as l}from"./index-k6ZwqmcE.js";import{p as w,u as _,c as k,C,M as S,D as T}from"./contentReading-hIEA84LA.js";import{N as g,F as p}from"./Footer-D7fPOlmH.js";import{C as R,a as L,K as E,R as I}from"./ResponsiveShareTools-Dugd72RJ.js";import{S as m}from"./skeleton-DtmkOejw.js";import{r as H}from"./socialSharing-BW7SOvM2.js";import{P as b}from"./pen-line-DWbTxdJa.js";import{A as U}from"./arrow-left-D6TQg7Pd.js";import{C as P}from"./chevron-right-BM-Lowft.js";import{L as M}from"./linkedin-q4mlvCYv.js";import"./chevron-down-DfaxCOVF.js";import"./list-BzC8TtOY.js";import"./Combination-D06o3ldp.js";import"./shield-Cmir3lMa.js";import"./search-VGvEk4vg.js";import"./book-open-Bt_OKJrS.js";import"./check-Cr2Dl0fL.js";import"./link-2-sQs4v3zf.js";import"./facebook-9_4lx-o9.js";import"./mail-BaYF2u1G.js";const A="/manus-storage/authors/Tracey_Swift_cropped_6116aa8f.jpg",F="Tracey Swift is an expert in risk mitigation with a strong track record in promoting operational resilience. She previously served as Executive Director and Risk Manager at Arizona State University and has over 20 years of experience in both higher education and corporate risk management.";function $(){const[s,t]=c.useState(0);return c.useEffect(()=>{const r=()=>{const a=document.documentElement.scrollHeight-window.innerHeight;t(a>0?Math.min(100,Math.max(0,window.scrollY/a*100)):0)};return r(),window.addEventListener("scroll",r,{passive:!0}),()=>window.removeEventListener("scroll",r)},[]),e.jsx("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:31",className:"fixed inset-x-0 top-0 z-[70] h-1 bg-black/10","aria-hidden":"true",children:e.jsx("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:32",className:"h-full bg-primary transition-[width] duration-150",style:{width:`${s}%`}})})}function oe(){const s=v(),{data:t,isLoading:r}=f.linkedin.bySlug.useQuery({slug:s.slug||""},{enabled:!!s.slug}),{data:a}=f.linkedin.published.useQuery(),n=c.useMemo(()=>w(t?.content||""),[t?.content]),{handleShareAction:D,sharedRecently:j}=_("editorial",t?.id);if(c.useEffect(()=>{t?.title&&(document.title=`${t.title} | HigherEdRisk Editorials`)},[t?.title]),r)return e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:53",className:"flex min-h-screen flex-col",children:[e.jsx(g,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:54"}),e.jsxs("main",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:55",className:"container flex-1 py-12",children:[e.jsx(m,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:55",className:"mb-4 h-8 w-64"}),e.jsx(m,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:55",className:"mb-6 h-12 w-full max-w-2xl"}),e.jsx(m,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:55",className:"h-96 w-full"})]}),e.jsx(p,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:56"})]});if(!t)return e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:63",className:"flex min-h-screen flex-col",children:[e.jsx(g,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:64"}),e.jsxs("main",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:65",className:"container flex-1 py-12 text-center",children:[e.jsx(b,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:66",className:"mx-auto mb-4 h-16 w-16 text-muted-foreground/30"}),e.jsx("h1",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:67",className:"mb-2 font-headline text-2xl text-foreground",children:"Editorial Not Found"}),e.jsx("p",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:68",className:"mb-6 font-body text-muted-foreground",children:"This editorial may have been removed or the URL is incorrect."}),e.jsx(l,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:69",href:"/editorials",className:"font-body font-semibold text-primary hover:underline",children:"← Back to Editorials"})]}),e.jsx(p,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:71"})]});const N=t.linkedinUrl||"https://www.linkedin.com/company/higheredrisk/",o=a?.findIndex(i=>i.slug===s.slug)??-1,d=o>0?a?.[o-1]:null,x=o>=0&&a&&o<a.length-1?a[o+1]:null,y=k(t.content||t.excerpt),h=H({contentType:"editorial",overrides:t,pageTitle:t.title,de
1scriptionCandidates:[t.excerpt,t.content],imageCandidates:[t.ogImageUrl,t.accentImageUrl],defaultDescription:`HigherEdRisk Editorial: ${t.title}`}),u=t.publishedAt?new Date(t.publishedAt).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):"";return e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:94",className:"flex min-h-screen flex-col bg-white text-foreground",children:[e.jsx($,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:95"}),e.jsx(g,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:96"}),e.jsx("nav",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:98","aria-label":"Editorial context",className:"bg-[#0a1628] text-white",children:e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:99",className:"container flex min-h-11 items-center justify-between gap-3 py-2 font-body text-xs sm:text-sm",children:[e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:100",className:"flex min-w-0 items-center gap-2",children:[e.jsx(b,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:100",className:"h-4 w-4 shrink-0 text-[#c9a84c]"}),e.jsx("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:100",className:"truncate font-bold",children:"HigherEdRisk Editorial"})]}),e.jsx(l,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:101",href:"/editorials",className:"shrink-0 rounded-full border border-white/25 px-2.5 py-1.5 font-bold hover:bg-white/10",children:"View all"})]})}),e.jsxs("main",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:105",className:"flex-1 pb-24 lg:pb-16",children:[t.accentImageUrl&&e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:107",className:"relative h-[190px] w-full overflow-hidden sm:h-[250px] lg:h-[340px]",children:[e.jsx("img",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:108",src:t.accentImageUrl,alt:t.title,className:"h-full w-full object-cover",style:{objectPosition:`center ${t.imageFocalY??50}%`}}),e.jsx("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:109",className:"absolute inset-0 bg-gradient-to-t from-[#0a1628]/70 via-transparent to-transparent"}),e.jsx("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:110",className:"absolute inset-x-0 bottom-0 py-3",children:e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:111",className:"container flex items-center gap-2 font-body text-xs sm:text-sm",children:[e.jsxs(l,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:112",href:"/editorials",className:"flex items-center gap-1 text-white/75 hover:text-[#c9a84c]",children:[e.jsx(U,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:112",className:"h-3.5 w-3.5"})," Editorials"]}),e.jsx(P,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:113",className:"h-3 w-3 text-white/40"}),e.jsx("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:113",className:"max-w-[65vw] truncate text-[#e8ca72]",children:t.title})]})})]}),e.jsx("header",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:119",className:"border-b border-border/60 bg-[#fbfaf8]",children:e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:120",className:"mx-auto max-w-[1120px] px-4 py-5 pr-14 sm:px-6 sm:py-7 sm:pr-14 lg:px-8 lg:py-10 lg:pr-8",children:[!t.accentImageUrl&&e.jsxs("nav",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:122","aria-label":"Breadcrumb",className:"mb-4 flex items-center gap-1.5 overflow-hidden font-body text-xs text-muted-foreground sm:text-sm",children:[e.jsx(l,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:123",href:"/editorials",className:"shrink-0 hover:text-primary",children:"Editorials"}),e.jsx(P,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:123",className:"h-3 w-3 shrink-0"}),e.jsx("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:123",className:"truncate text-foreground/70",children:t.title})]}),e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:126",className:"mb-3 flex items-center gap-2 font-body text-[11px] font-extrabold uppercase tracking-[0.16em] text-[#9a7827]",children:[e.jsx("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:126",className:"h-2 w-2 rounded-full bg-[#c9a84c]"})," ",t.category||"From the Editor"]}),e.jsx("h1",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:127",className:"max-w-[920px] font-headline text-[2rem] leading-[1.02] text-foreground sm:text-4xl lg:text-[3.6rem] lg:leading-[0.98]",children:t.title}),t.excerpt&&e.jsx("p",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:128",className:"mt-3 max-w-3xl font-body text-[1.0625rem] leading-[1.45] text-foreground
1/70 sm:mt-4 sm:text-xl",children:t.excerpt}),e.jsx(C,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:130",contributors:[{id:"tracey-swift",name:"Tracey Swift",title:"Founder & Editor-in-Chief",organization:"HigherEdRisk",photoUrl:A,bio:F}]}),e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:132",className:"mt-4 flex flex-wrap items-center gap-x-3 gap-y-2 font-body text-xs text-muted-foreground sm:mt-5",children:[e.jsxs("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:133",className:"inline-flex items-center gap-1.5",children:[e.jsx(R,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:133",className:"h-3.5 w-3.5"})," ",y," min read"]}),u&&e.jsxs(e.Fragment,{children:[e.jsx("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:134",className:"hidden h-3 w-px bg-border sm:block"}),e.jsxs("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:134",className:"inline-flex items-center gap-1.5",children:[e.jsx(L,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:134",className:"h-3.5 w-3.5"})," ",u]})]}),e.jsxs("a",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:135",href:N,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 font-bold text-[#0a66c2] hover:underline",children:[e.jsx(M,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:135",className:"h-3.5 w-3.5"})," Original on LinkedIn"]})]}),e.jsx(E,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:137",contentId:t.id,contentType:"editorial",source:"public_content",variant:"compact",sharedRecently:j})]})}),e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:141",className:"mx-auto grid max-w-[1120px] gap-6 px-4 py-5 sm:px-6 sm:py-8 lg:grid-cols-[52px_minmax(0,720px)_260px] lg:gap-7 lg:px-8 lg:py-10",children:[e.jsx(I,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:142",title:h.title,text:h.description,canonicalPath:`/editorial/${t.slug||""}`,onShareAction:D}),e.jsxs("article",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:144",id:"article-reading-start",className:"min-w-0 scroll-mt-20 pr-14 lg:pr-0",children:[e.jsx(S,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:145",headings:n.headings}),t.content?e.jsx("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:148",className:`article-content font-body text-[17px] leading-[1.66] text-foreground/85
2                  [&_a]:font-semibold [&_a]:text-primary [&_a]:underline [&_a]:underline-offset-2
3                  [&_blockquote]:my-6 [&_blockquote]:border-l-[3px] [&_blockquote]:border-primary [&_blockquote]:bg-red-50/50 [&_blockquote]:px-4 [&_blockquote]:py-3 [&_blockquote]:italic
4                  [&_h2]:scroll-mt-24 [&_h2]:pt-3 [&_h2]:font-headline [&_h2]:text-2xl [&_h2]:leading-tight
5                  [&_h3]:scroll-mt-24 [&_h3]:pt-2 [&_h3]:font-headline [&_h3]:text-xl [&_h3]:leading-tight
6                  [&_img]:h-auto [&_img]:max-w-full [&_li]:mb-1 [&_ol]:my-4 [&_ol]:pl-5
7                  [&_p]:mb-4 [&_p]:mt-0 [&_ul]:my-4 [&_ul]:pl-5
8                  sm:text-[18px] sm:leading-[1.72] sm:[&_p]:mb-5`,dangerouslySetInnerHTML:{__html:n.html}}):t.excerpt?e.jsx("p",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:159",className:"font-body text-[17px] leading-[1.66] text-foreground/85 sm:text-[18px]",children:t.excerpt}):null,e.jsx(E,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:161",contentId:t.id,contentType:"editorial",source:"public_content",tone:"editorial"}),e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:163",className:"mt-8 grid grid-cols-1 gap-4 sm:grid-cols-2",children:[x?e.jsxs(l,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:164",href:`/editorial/${x.slug}`,className:"group rounded-lg border p-4 transition-all hover:border-[#c9a84c]/40",children:[e.jsx("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:164",className:"font-body text-xs text-muted-foreground",children:"← Older"}),e.jsx("p",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:164",className:"mt-1 line-clamp-2 font-headline text-sm group-hover:text-[#9a7827]",children:x.title})]}):e.jsx("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:164"}),d&&e.jsxs(l,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:165",href:`/editorial/${d.slug}`,className:"group rounded-lg border p-4 text-right transition-all hover:border-[#c9a84c]/40",children:[e.jsx("span",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:165",className:"font-body text-xs text-muted-foreground",children:"Newer →"}),e.jsx("p",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:165",className:"mt-1 line-clamp-2 font-headline text-sm group-hover:text-[#9a7827]",children:d.title})]})]})]}),e.jsx("aside",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:169",className:"hidden lg:block",children:e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:170",className:"sticky top-24 space-y-5",children:[e.jsx(T,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:171",headings:n.headings}),e.jsxs("div",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:172",className:"border-t border-border pt-4",children:[e.jsx("p",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:173",className:"mb-2 font-body text-[10px] font-black uppercase tracking-[0.16em] text-muted-foreground",children:"More Editorials"}),e.jsx("nav",{"data-loc":"client/src/pages/EditorialDetailPage.tsx:174","aria-label":"Other editorials",children:(a||[]).filter(i=>i.id!==t.id).slice(0,7).map(i=>e.jsx(l,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:176",href:`/editorial/${i.slug}`,className:"block border-b border-border/50 py-2 font-body text-xs leading-snug text-foreground
8/65 hover:text-[#9a7827]",children:i.title},i.id))})]})]})})]})]}),e.jsx(p,{"data-loc":"client/src/pages/EditorialDetailPage.tsx:185"})]})}export{oe 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.