import{a as N,_ as V}from"./Footer.BXOBrJXq.js";import{_ as $}from"./AdsCard.CFGJP39m.js";import{_ as J}from"./PreLoaderB.BnFoXacx.js";import{_ as G}from"./CardHeader.CB4n2uNn.js";import{_ as O}from"./LeftContainer.ByaE3Ebf.js";import{_ as M}from"./Spotlight.oqP1PJdB.js";import{_ as U}from"./RightContainer.B6k1L9dN.js";import{_ as j}from"./Events.Cff08SCa.js";import{u as q}from"./vue.f36acd1f.pa4vhgq8.js";import{f as z,r as a,g as K,c as v,b as e,a as t,l as Q,F as X,o as x}from"./entry.C_sPRacn.js";import{l as r}from"./layoutGenerator.B2vGb5fu.js";import{g as u,r as h}from"./glossary.Byv2kPMJ.js";import{e as k}from"./events.Bqkip65y.js";import{s as Y}from"./spotlight.CoC0-Tkf.js";import{m as I}from"./MetaData.BRhlZQIi.js";import{c as Z}from"./logo.C_JXIqYZ.js";import"./nuxt-link.DuF9Cy8J.js";import"./VerticalCard.CRwG0JoD.js";import"./layout.C-U_7VKb.js";import"./dateFormat.B8EODN1w.js";import"./TextCardNoImg.Dm07nrif.js";import"./HorizontalCard.C4pfxJfp.js";const ee={class:"mx-auto mt-40"},te={class:"container mx-auto"},se={key:0},ae={key:1},oe={key:0,class:"flex flex-col lg:flex-row gap-4"},le={class:"flex flex-col gap-4 w-full lg:w-2/3"},ne={class:"flex flex-col gap-4 w-full lg:w-1/3"},ce={class:"my-2 lg:my-0"},re={class:"mt-14 w-full"},ie={class:"flex flex-col lg:flex-row gap-4"},_e={class:"flex flex-col gap-4 w-full lg:w-1/2"},pe={class:"flex flex-col gap-4 w-full lg:w-1/2"},ue={class:"mt-14 w-full"},de={class:"flex flex-col lg:flex-row gap-4"},me={class:"flex flex-col gap-4 w-full lg:w-1/2"},fe={class:"flex flex-col gap-4 w-full lg:w-1/2"},ge={class:"py-3 flex flex-col lg:flex-row gap-4"},ve={class:"flex flex-col gap-4 w-full lg:w-2/3"},xe={class:"flex flex-col gap-2 w-full lg:w-1/3"},he=!1,Me={__name:"index",setup(ye){var H;const B=z(),y=a(null),T=a(null),w=a(null),R=a(null),E=a(null),C=a(!0),L=a(null),b=a(null),A=a(null),D=a(null);if(K(async()=>{var d,m,n,f,g,s,o;try{if(!he){const c=u(h[1].items,6);T.value=r(c,1,2,3,0,0);const i=u((d=h[6])==null?void 0:d.items,5);E.value=r(i,0,2,3,0,0);const _=u((m=h[3])==null?void 0:m.items,5);R.value=r(_,0,2,3,0,0);const p=u((n=h[5])==null?void 0:n.items,8);w.value=r(p,1,2,3,0,0);let P=[...(g=(f=k)==null?void 0:f.liveWebinar)==null?void 0:g.items,...(o=(s=k)==null?void 0:s.onDemandWebinar)==null?void 0:o.items];const l=u(P,15),S=l==null?void 0:l.slice(0,7),W=l==null?void 0:l.slice(7,15);b.value=r(S,1,2,4,0,0),A.value=r(W,1,0,4,4,0);const F=[...c==null?void 0:c.slice(0,1),...i==null?void 0:i.slice(0,2),..._==null?void 0:_.slice(0,2),...p==null?void 0:p.slice(0,2),...l==null?void 0:l.slice(0,2)];y.value=r(F,1,0,8,0,0),D.value=u(Y,1)}}catch(c){L.value=c}finally{C.value=!1}}),(H=I)!=null&&H.resources){const{title:d,meta:m}=I.resources;q({link:[{rel:"canonical",href:`${Z.pubsBaseUrl}${B.path.replace("/","")}`}],title:d,meta:m.map(n=>({name:n.name||null,property:n.property||null,content:n.content}))})}return(d,m)=>{const n=N,f=$,g=J,s=G,o=O,c=M,i=U,_=j,p=V;return x(),v(X,null,[e(n),t("div",ee,[t("div",te,[e(f,{position:"center"}),C.value?(x(),v("div",se,[e(g)])):(x(),v("div",ae,[y.value?(x(),v("div",oe,[t("div",le,[e(s,{heading:"Top Resources"}),e(o,{data:y.value,EventType:"articles",displayResourcesTag:!0,displayCategoryTag:!1,imageHeight:"md:h-[320px]"},null,8,["data"])]),t("div",ne,[e(s,{heading:"company spotlight"}),e(c,{data:D.value},null,8,["data"]),t("div",ce,[e(f,{position:"left"})])])])):Q("",!0)])),t("div",re,[t("div",ie,[t("div",_e,[e(s,{heading:"ARTICLES",seeAllbtn:"true",EventType:"resources/articles"}),e(o,{data:T.value,EventType:"articles",displayResourcesTag:!1,displayCategoryTag:!0},null,8,["data"])]),t("div",pe,[e(s,{heading:"VIDEOS",seeAllbtn:"true",EventType:"resources/videos"}),e(o,{data:w.value,EventType:"videos",displayResourcesTag:!1,displayCategoryTag:!0},null,8,["data"])])])]),t("div",ue,[t("div",de,[t("div",me,[e(s,{heading:"INFOGRAPHICS",EventType:"resources/infographics",seeAllbtn:"true"}),e(o,{data:R.value,EventType:"infographics",displayResourcesTag:!1,displayCategoryTag:!0,imageHeight:"md:h-[320px]"},null,8,["data"])]),t("div",fe,[e(s,{heading:"WHITEPAPERS",seeAllbtn:"true",EventType:"resources/whitepapers"}),e(o,{data:E.value,EventType:"whitepapers",displayResourcesTag:!1,displayCategoryTag:!0,imageHeight:"md:h-[320px]"},null,8,["data"])])])]),e(s,{class:"mt-14",EventType:"/resources/webinars",heading:"webinars",seeAllbtn:"true"}),t("div",ge,[t("div",ve,[e(o,{EventType:"live-webinars",data:b.value,displayResourcesTag:!1,displayCategoryTag:!0},null,8,["data"])]),t("div",xe,[e(i,{EventType:"live-webinars",data:A.value,displayResourcesTag:!1,displayCategoryTag:!0},null,8,["data"])])])]),e(_,{class:"container mx-auto mt-14 mb-5"})]),e(p)],64)}}};export{Me as default};
