1import G from"./FoUlerXK.js";import{cf as Q,bZ as a,a$ as l,aY as o,cl as M,b4 as n,d5 as $,aC as z,as as H,aZ as N,d6 as I,a_ as m,cH as O,d4 as K,bV as Z,bL as Y,cs as e,p as T,cb as E,ct as J,c9 as X,aA as ee,cx as te,aB as ne,aW as i}from"./DZr2DkG2.js";import se from"./Dv1MADFg.js";import ae from"./Dboeh2X0.js";import oe from"./SDlqn01f.js";import le from"./D74cKkXy.js";import re from"./BeUKAONY.js";import ce from"./DV3qTamW.js";import{b as ie}from"./BY-3qi5y.js";import{c as ue}from"./CBDeuRt-.js";import"./C3HjIqK8.js";import"./HlV04Zlw.js";import"./DaXSKre-.js";import"./AmwRqiyh.js";import"./BHEH7-GF.js";import"./Cpj98o6Y.js";const me={class:"flex flex-row gap-4"},de={class:"flex flex-col gap-4 w-full h-full"},pe=["textContent"],ge=["textContent"],_e=["src"],he={__name:"GllCard",props:{title:{type:String,default:""},summary:{type:String,default:""},buttonText:{type:String,default:""},url:{type:String,default:""},image:{type:String,default:""}},setup(c){return(d,y)=>{const s=z,u=H,_=Q("cloudflare");return a(),l("div",me,[o("div",de,[o("h3",{textContent:M(c.title)},null,8,pe),o("p",{textContent:M(c.summary)},null,8,ge),n(u,{to:c.url,class:"w-32"},{default:$(()=>[n(s,{text:c.buttonText,class:"w-32"},null,8,["text"])]),_:1},8,["to"])]),c.image?(a(),N(u,{key:0,to:c.url},{default:$(()=>[I(o("img",{src:c.image,alt:"Featured Member",class:"tablet:max-w-44 aspect-square max-w-36 tablet:min-w-44 rounded-sm"},null,8,_e),[[_]])]),_:1},8,["to"])):m("",!0)])}}},fe={class:"w-full"},ye={key:0,"aria-live":"assertive",class:"error-message"},be={key:1,"aria-busy":"true","aria-live":"polite"},we={key:2,class:"flex flex-col gap-8 pb-8 tablet:gap-8"},xe={key:0,"aria-labelledby":"primary-card-title",class:"w-full"},Se={class:"grid grid-cols-1 gap-4 pb-12 border-b tablet:grid-cols-3 border-neutral-10"},ve={key:1},ke={key:2,class:"w-full"},Ce={class:"overflow-x-hidden"},Le={class:"flex flex-col w-full"},Ne={class:"grid w-full gap-8 py-6 tablet:grid-cols-2 border-y border-neutral-10"},Re={class:"flex flex-col w-full py-6 border-b border-neutral-10"},De={class:"grid w-full gap-8 tablet:grid-cols-3"},Ae={class:"overflow-x-hidden"},Me={class:"overflow-x-hidden"},Oe={__name:"index",async setup(c){let d,y;const s=O(),u=X(!0),_=`${s.meta.siteName}-home`,{data:r,pending:F,error:R}=([d,y]=K(async()=>J(_,async()=>{const t=te();return t.clearQueries(),[{type:"flexible-latest-stories",label:"latestStories",cache:!1,pageSize:5,page:1,queryString:s.meta.queryString==="null"?"":s.meta.queryString||"*",source:s.meta.source||"falcon",publication:s.meta.siteName||"law.com/global-leaders-in-law",startDate:"",stopDate:"",excludeFields:["bookSearchResults","contentSearchResults.contents.tags","contentSearchResults.contents.type","contentSearchResults.contents.timeToRead","contentSearchResults.contents.pubDate","contentSearchResults.contents.kickerNo
1de","contentSearchResults.contents.judges","contentSearchResults.contents.attorneydefendant","contentSearchResults.contents.attorneyplaintiff","contentSearchResults.contents.casenumber","contentSearchResults.contents.court","contentSearchResults.contents.practiceAreas","contentSearchResults.contents.industries","contentSearchResults.contents.readtime"]},{type:"future-events",label:"futureEvents",publication:"Global Leaders in Law",audience:"",types:[],tags:[],pageSize:5,page:1},{type:"package",label:"package",slug:s.meta?.packageName||"home-featured-gll",page:1,pageSize:10,siteName:s.meta.siteName||"law.com/global-leaders-in-law"},{type:"flexible-stream",label:"theMonth",slug:"the-month",siteName:s.meta.siteName||"law.com/global-leaders-in-law",includeQueryWrap:!1,page:1,pageSize:1,excludeFields:["contents.presentedBy","contents.publication","contents.primaryCategory","contents.pubDate","contents.prettyDate","contents.kicker","contents.byline","contents.readtime","contents.altLangHeadline","contents.authors","contents.kickerNo
1de","contents.body"]},{type:"flexible-stream",label:"corpCounselLatestStories",slug:"news",siteName:"law.com/corpcounsel",includeQueryWrap:!1,excludeFields:["contents.presentedBy","contents.byline","contents.prettyDate","contents.pubDate","contents.readtime","contents.altLangHeadline","contents.authors"]},{type:"flexible-stream",label:"lawComLatestStories",slug:"news",siteName:s.meta.siteName||"law.com",includeQueryWrap:!1,excludeFields:["contents.presentedBy","contents.prettyDate","contents.pubDate","contents.readtime","contents.altLangHeadline"]},{type:"featured-member",label:"featuredMember",siteName:s.meta.siteName||"law.com/global-leaders-in-law"}].forEach(v=>{t.addQuery(v)}),await t.execute({name:_})},"$kMhf85UKyE")),d=await d,y(),d),D=i(()=>(r.value?.futureEvents?.events||[]).map(t=>({title:t.eventTitle,summary:t.description,prettyDate:t.eventStartDate,kicker:t.audience.join(", "),primaryCategory:{sectionName:t.practiceArea.join(", ")},imageUri:t.imageUri,eventStartDate:t.eventStartDate,eventEndDate:t.eventEndDate,venueName:t.venueName,city:t.city,registrationURL:t.registrationURL,learnMoreLinkFile:t.learnMoreLinkFile}))),b=i(()=>r.value?.package||{}),h=i(()=>r.value?.theMonth?.contents?.[0]||[]),p=i(()=>r.value?.featuredMember?.profiles?.[0]||[]),w=i(()=>{const t=r.value?.corpCounselLatestStories?.contents||[];return{name:r.value?.corpCounselLatestStories?.name||"Loading...",description:r.value?.corpCounselLatestStories?.description||"Loading...",showAll:"Link",searchContents:t}}),x=i(()=>{const t=r.value?.lawComLatestStories?.contents||[];return{name:"Law.com Stories",description:r.value?.lawComLatestStories?.description||"Loading...",showAll:"Link",searchContents:t}}),A=i(()=>r.value?.package?.navigations.find(t=>t.name.includes("Intelligence"))||{});Z(()=>{Y(()=>{u.value=!1,ie({trackRoute:s,trackObj:{}})})});const V=i(()=>ue({title:s.meta?.metaTitle,summary:s.meta?.metaDescription,page:s.query.page?.toString()||"1"}));return(t,S)=>{const v=G,B=ee,U=ne,q=se,W=ae,f=oe,j=le,k=re,g=he,P=ce;return a(),l("div",fe,[n(v,{seoData:e(V)},null,8,["seoData"]),e(R)?(a(),l("section",ye,[n(B,{error:e(R)},null,8,["error"])])):e(F)?(a(),l("section",be,[n(U)])):(a(),l("div",we,[e(b)?.navigations?.[0]?.searchContents?.[0]?(a(),l("section",xe,[S[0]||(S[0]=o("h2",{id:"primary-card-title",class:"sr-only"},"Primary Article",-1)),n(q,{class:"w-full",content:e(b)?.navigations?.[0].searchContents?.[0]},null,8,["content"])])):m("",!0),o("div",Se,[(a(!0),l(T,null,E(e(b)?.navigations?.[0]?.searchContents.slice(1,4),(C,L)=>(a(),N(W,{key:L,content:C,"show-summary":!1,"show-author":!1},null,8,["content"]))),128))]),e(D)?.length?(a(),l("div",ve,[n(f,{title:"Upcoming Events",url:"/global-leaders-in-law/events"}),(a(!0),l(T,null,E(e(D),(C,L)=>(a(),N(j,{key:L,content:C,"show-button":!0,class:"w-full"},null,8,["content"]))),128))])):m("",!0),e(A)?.searchContents?.length?(a(),l("section",ke,[o("div",Ce,[n(k,{"is-loading":e(u),content:e(A)},null,8,["is-loading","content"])])])):m("",!0),o("div",Le,[o("section",Ne,[o("div",null,[n(f,{title:"Featured Member",url:"membership-directory/"+e(p)?.docName},null,8,["url"]),n(g,{class:"mt-4",title:e(p)?.proName,summary:e(p)?.title,buttonText:"View Profile",url:"membership-directory/"+e(p)?.docName,image:e(p)?.proPhoto},null,8,["title","summary","url","image"])]),o("div",null,[n(f,{title:"The Month",url:"/global-leaders-in-law/the-month"}),n(g,{class:"mt-4",title:e(h)?.title,summary:e(h)?.summary,buttonText:"Read Report",url:e(h)?.uri,image:e(h)?.image?.uri},null,8,["title","summary","url","image"])])]),o("section",Re,[n(f,{title:"Resources for GLL Members"}),o("div",De,[n(g,{class:"mt-4",title:"Law.com",summary:"All users have access to complete content to all of our US National and Regional publications.",buttonText:"Visit Website",url:"https://www.law.com/",image:""}),n(g,{class:"mt-4",title:"Law.com Compass",summary:"All users have access to complete content to all of our US National and Regional publications.",buttonText:"Visit Website",url:"https://www.law.com/",image:""}),n(g,{class:"mt-4",title:"Law.com International",summary:"All users have access to complete content to all of our US National and Regional publications.",buttonText:"Visit Website",url:"https://www.law.com/",image:""})]),n(P)])]),e(w)?.searchContents?.length?(a(),l("section",{key:`corp-stories-${e(w)?.length}`,class:"w-full"},[o("div",Ae,[n(k,{"is-loading":e(u),content:e(w)},null,8,["is-loading","content"])])])):m("",!0),e(x)?.searchContents?.length?(a(),l("section",{key:`law-stories-${e(x)?.length}`,class:"w-full"},[o("div",Me,[n(k,{"is-loading":e(u),content:e(x)},null,8,["is-loading","content"])])])):m("",!0)]))])}}};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.