1import B from"./3Nyb0v5a.js";import{I as S,m as h,t as T,L as U,b as r,o as t,d as i,x as n,f as s,i as d,K as I,g as a,_ as M,h as p,z as y,aY as N,F as w,r as k,e as f,O as $}from"./DYJFTb6D.js";import j from"./D13SboKA.js";import"./DU7wa4KZ.js";import"./BHEH7-GF.js";import"./Cpj98o6Y.js";import"./Cou75RCb.js";const z={class:"flex flex-col w-full h-max desktop:h-screen desktop:mb-16 desktop:basis-1/5 desktop:shrink-0 desktop:max-w-[241px] print:hidden","data-cy":"article-left-rail"},V={key:0},E=["src","alt"],O={key:0,"data-cy":"case-details",class:"pb-4 mt-4 border-b border-solid border-neutral-20"},R={class:"flex items-center justify-between"},A={key:1,"data-cy":"case-details",class:"pb-4 mt-4 border-b border-solid border-neutral-20"},K={class:"ml-4"},P={key:2,"data-cy":"case-details",class:"pb-4 mt-4 border-b border-solid border-neutral-20"},W={class:"ml-4"},Y={key:3,"data-cy":"case-details",class:"pb-4 mt-4"},q={class:"ml-4"},te={__name:"ArticleLeftRail",props:{content:{type:Object,default:()=>{}}},setup(l){const c=S(),u=h(!1),v=h(0),g=h("/ldc2.0/brands/lawcom.png"),x=_=>/^https?:\/\//.test(_),L=async()=>{c.params.site!==""&&(g.value=`/ldc2.0/brands/${c.params.site}.png `)},C=()=>{u.value=!u.value};return T(()=>{L(),v.value=window.innerWidth}),(_,o)=>{const F=B,m=M,b=j,D=U("cloudflare");return t(),r("div",z,[i(F,{expanded:s(u),onToggleSection:C},null,8,["expanded"]),s(u)||s(v)>1024?(t(),r("section",V,[i(m,{to:`/${s(c).params.site}`,"aria-label":`Link for ${s(c).params.site?.toUpperCase()||"Law.com"}`,class:"inline-block mx-auto mt-4 mb-4 desktop:mt-0"},{default:d(()=>[I(a("img",{src:s(g),alt:`Brand Logo For ${s(c).params.site?.toUpperCase()||"Law.com"}`,class:"mobile:h-[80px] mr-auto w-3/4"},null,8,E),[[D]])]),_:1},8,["to","aria-label"]),l.content?.relatedCaseDetailLink&&l.content?.relatedCaseDetail?(t(),r("article",O,[o[0]||(o[0]=a("span",{"data-cy":"article-left-rail-title",class:"block mb-1 font-bold text-neutral-100"},"Documents",-1)),a("div",R,[a("article",null,[i(m,{to:l.content?.relatedCaseDetailLink,target:"_blank",class:"text-sm font-medium text-primary-100"},{default:d(()=>[p(y(l.content?.relatedCaseDetail),1)]),_:1},8,["to"])]),i(m,{to:l.content?.relatedCaseDetailLink,target:"_blank"},{default:d(()=>[i(s(N),{class:"scale-75 text-primary"})]),_:1},8,["to"])])])):n("",!0),l.content?.companiesMentioned?.length>0?(t(),r("article",A,[o[1]||(o[1]=a("span",{"data-cy":"article-left-rail-title",class:"block mb-1 font-bold text-neutral-100"},"Companies/Organizations",-1)),a("div",null,[(t(!0),r(w,null,k(l.content?.companiesMentioned,e=>(t(),r("article",{key:e.name,"data-cy":"article-left-rail-itemset",class:"flex justify-between mb-1"},[i(m,{to:e.searchUrl,class:"text-sm font-medium text-primary-100 hover:underline hover:text-primary-140"},{default:d(()=>[p(y(e.company),1)]),_:2},1032,["to"]),a("div",K,[e?.id?.length>0?(t(),f(b,{key:0,id:e.id,followType:"Company",name:e.company,buttonStyles:"inline-flex flex-row items-center text-xs font-medium border-none rounded bg-neutral-00-white focus transition-default hover:shadow text-primary-blue-100 hover:bg-primary-20 hover:text-primary-80 hover:border-primary-80",size:"small",followedButtonStyles:"text-primary-100 rounded text-xs font-medium px-1.5 py-0.5 bg-primary-10 h-max",onlyIcon:!0},null,8,["id","name"])):n("",!0)])]))),128))])])):n("",!0),l.content?.lawFirmsMentioned?.length>0?(t(),r("article",P,[o[2]||(o[2]=a("span",{"data-cy":"article-left-rail-title",class:"block mb-1 font-bold text-neutral-100"},"Law Firms/Representation",-1)),a("div",null,[(t(!0),r(w,null,k(l.content?.lawFirmsMentioned,e=>(t(),r("article",{key:e.lawFirm,"data-cy":"article-left-rail-itemset",class:"flex justify-between mb-1"},[(t(),f($(x(e.searchUrl)?"a":"NuxtLink"),{to:x(e.searchUrl)?null:e.searchUrl,href:x(e.searchUrl)?e.searchUrl:null,target:"_blank",rel:"noopener noreferrer",class:"text-sm font-medium text-primary-100 hover:underline hover:text-primary-140"},{default:d(()=>[p(y(e.lawFirm),1)]),_:2},1032,["to","href"])),a("div",W,[e?.id?.length>0?(t(),f(b,{key:0,id:e.id,followType:"LawFirm",name:e.lawFirm,buttonStyles:"inline-flex flex-row items-center text-xs font-medium border-none rounded bg-neutral-00-white focus transition-default hover:shadow text-primary-blue-100 hover:bg-primary-20 hover:text-primary-80 hover:border-primary-80",followedButtonStyles:"text-primary-100 rounded text-xs font-medium px-1.5 py-0.5 bg-primary-10 h-max",size:"small",onlyIcon:!0},null,8,["id","name"])):n("",!0)])]))),128))])])):n("",!0),l.content?.displayTo
1pics?.length>0?(t(),r("article",Y,[o[3]||(o[3]=a("span",{"data-cy":"article-left-rail-title",class:"block mb-1 font-bold text-neutral-100"},"Topics",-1)),a("div",null,[(t(!0),r(w,null,k(l.content?.displayTopics,e=>(t(),r("article",{key:e.name,"data-cy":"article-left-rail-itemset",class:"flex justify-between mb-1"},[i(m,{to:e.topicsUrl,class:"text-sm font-medium text-primary-100 hover:underline hover:text-primary-140"},{default:d(()=>[p(y(e.name),1)]),_:2},1032,["to"]),a("div",q,[e.myLawId?.length>0?(t(),f(b,{key:0,id:e.myLawId,followType:"Topic",name:e.name,buttonStyles:"inline-flex flex-row items-center text-xs font-medium border-none rounded bg-neutral-00-white focus transition-default hover:shadow text-primary-blue-100 hover:bg-primary-20 hover:text-primary-80 hover:border-primary-80",followedButtonStyles:"text-primary-100 rounded text-xs font-medium px-1.5 py-0.5 bg-primary-10 h-max",size:"small",onlyIcon:!0},null,8,["id","name"])):n("",!0)])]))),128))])])):n("",!0)])):n("",!0)])}}};export{te 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.