PageSourceSearch

https://analyticsindiamag.com/assets/Videos-B2YPq2kF.js

js analyticsindiamag.com collected 2026-09-24 08:26:32 UTC 9,741 bytes, 1 lines download raw bytes

1import{r as g,j as e,H as b,m as a,E as f,D as d,o as j,M as w}from"./index-KSWbwNeY.js";import{u as v}from"./useYouTubeVideos-LrDuswta.js";import y from"./Footer-DPSMpmUX.js";import{S as c,g as r,a as N}from"./seoDefaults-DHsbBPCr.js";import{Y as n}from"./youtube-CwivUiPT.js";import{C as m}from"./calendar-Cdsbx2VF.js";import{M as I}from"./megaphone-9smGzN1L.js";import"./twitter-yEUqfNJX.js";import"./linkedin-B1bA0DJP.js";import"./facebook-DahhNxAJ.js";const D=()=>{const{data:t,isLoading:i}=v(),[o,h]=g.useState(null),x=()=>!t||t.length===0?null:{"@context":"https://schema.org","@type":"ItemList",name:"Tech and AI Videos - AIM Video Gallery",description:"Video content covering AI, technology, and business insights",numberOfItems:t.length,itemListElement:t.map((s,l)=>({"@type":"ListItem",position:l+1,item:{"@type":"VideoObject","@id":`https://www.youtube.com/watch?v=${s.id}`,name:s.title,thumbnailUrl:s.thumbnail,uploadDate:s.publishedAt,contentUrl:`https://www.youtube.com/watch?v=${s.id}`,embedUrl:`https://www.youtube.com/embed/${s.id}`,publisher:{"@type":"NewsMediaOrganization","@id":`${r()}/#organization`,name:"AIM"}}}))},u={hidden:{},visible:{transition:{staggerChildren:.08}}},p={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.45}}};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs(b,{children:[e.jsxs("title",{children:["AIM Videos - ",c]}),e.jsx("meta",{name:"description",content:"Watch the latest video content and multimedia stories from AIM covering AI, technology, and business."}),e.jsx("link",{rel:"canonical",href:`${r()}/videos`}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:`${r()}/videos`}),e.jsx("meta",{property:"og:title",content:`Video Gallery - ${c}`}),e.jsx("meta",{property:"og:description",content:"Watch the latest video content from AIM."}),e.jsx("meta",{property:"og:image",content:N(null,r())}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),t&&t.length>0&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(x())})]}),e.jsxs("main",{className:"page-container py-10 md:py-16",children:[e.jsx(a.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"mb-10 md:mb-14",children:e.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-6",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2.5 bg-[hsl(0,70%,50%)] rounded-lg",children:e.jsx(n,{className:"h-5 w-5 text-white"})}),e.jsx("span",{className:"text-xs font-normal tracking-widest uppercase text-muted-foreground",children:"AIM TV"})]}),e.jsx("h1",{className:"font-sans text-4xl md:text-5xl lg:text-6xl font-normal text-foreground mb-3 leading-tight tracking-tight",children:"Video Gallery"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-xl",children:"Watch our latest coverage on AI, deep tech, startups, and the people shaping India's technology future."})]}),e.jsxs("a",{href:"https://www.youtube.com/@aimmediahouse",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2.5 px-6 py-3 bg-[hsl(0,70%,50%)] text-white text-sm font-normal hover:bg-[hsl(0,70%,45%)] transition-colors rounded-lg shrink-0",children:[e.jsx(n,{className:"h-4 w-4"}),e.jsx("span",{children:"Subscribe on YouTube"}),e.jsx(f,{className:"h-3.5 w-3.5 opacity-70"})]})]})}),!i&&t&&t.length>0&&e.jsx(a.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.15},className:"mb-12 md:mb-16",children:e.jsx("div",{className:"group cursor-pointer",onClick:()=>h(o===t[0].id?null:t[0].id),children:o===t[0].id?e.jsx("div",{className:"aspect-video bg-black rounded-xl overflow-hidden",children:e.jsx("iframe",{src:`https://www.youtube.com/embed/${t[0].id}?autoplay=1&rel=0&modestbranding=1`,title:t[0].title,className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}):e.jsxs("div",{className:"relative aspect-video rounded-xl overflow-hidden",children:[e.jsx("img",{src:t[0].thumbnail,alt:t[0].title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-[1.03]"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(a.div,{whileHover:{scale:1.1},whileTap:{scale:.95},className:"bg-[hsl(0,70%,50%)] p-5 rounded-full shadow-2xl",children:e.jsx(d,{className:"h-10 w-10 text-white",f
1ill:"white"})})}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 md:p-8",children:[e.jsx("span",{className:"inline-block px-3 py-1 bg-[hsl(0,70%,50%)] text-white text-[11px] font-normal uppercase tracking-wider rounded mb-3",children:"Latest"}),e.jsx("h2",{className:"font-sans text-xl md:text-3xl font-normal text-white leading-tight mb-2",children:t[0].title}),e.jsxs("p",{className:"text-white/70 text-sm flex items-center gap-1.5",children:[e.jsx(m,{className:"h-3.5 w-3.5"}),new Date(t[0].publishedAt).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})]})]})]})})}),i?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(6)].map((s,l)=>e.jsxs("div",{className:"animate-pulse",children:[e.jsx("div",{className:"aspect-video bg-muted rounded-lg mb-3"}),e.jsx("div",{className:"h-5 bg-muted rounded w-3/4 mb-2"}),e.jsx("div",{className:"h-3 bg-muted rounded w-1/3"})]},l))}):t&&t.length>1?e.jsx(a.div,{variants:u,initial:"hidden",animate:"visible",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:t.slice(1).map(s=>e.jsx(a.div,{variants:p,children:e.jsxs("a",{href:`https://www.youtube.com/watch?v=${s.id}`,target:"_blank",rel:"noopener noreferrer",className:"group block",children:[e.jsxs("div",{className:"relative overflow-hidden rounded-lg mb-3",children:[e.jsx("img",{src:s.thumbnail,alt:s.title,loading:"lazy",className:"w-full aspect-video object-cover transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/30 transition-colors duration-300 flex items-center justify-center",children:e.jsx("div",{className:"opacity-0 group-hover:opacity-100 transition-all duration-300 scale-75 group-hover:scale-100 bg-white/90 p-3 rounded-full",children:e.jsx(d,{className:"h-6 w-6 text-[hsl(0,70%,50%)]",fill:"currentColor"})})})]}),e.jsx("h3",{className:"font-sans text-base md:text-lg font-normal text-foreground leading-snug mb-1.5 group-hover:text-accent transition-colors line-clamp-2",children:s.title}),e.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[e.jsx(m,{className:"h-3 w-3"}),new Date(s.publishedAt).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})]})]})},s.id))}):!i&&e.jsx("div",{className:"text-center py-12",children:e.jsx("p",{className:"text-muted-foreground",children:"No videos available at the moment"})}),e.jsxs(a.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5},className:"mt-16 md:mt-20 border-t border-border pt-12",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"font-sans text-2xl md:text-3xl font-normal text-foreground mb-3",children:"Collaborate with AIM"}),e.jsx("p",{className:"text-muted-foreground max-w-lg mx-auto",children:"Partner with India's leading AI media platform for video content, sponsored features, and brand storytelling."})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 max-w-3xl mx-auto",children:[e.jsx(a.div,{whileHover:{y:-4},whileTap:{scale:.98},children:e.jsxs("a",{href:"https://www.youtube.com/@aimmediahouse",target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center gap-3 p-6 rounded-xl border border-border bg-muted/30 hover:bg-muted/60 hover:border-foreground
1/10 transition-all duration-300 text-center",children:[e.jsx("div",{className:"p-3 rounded-full bg-[hsl(0,70%,50%)]/10",children:e.jsx(n,{className:"h-5 w-5 text-[hsl(0,70%,50%)]"})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-normal text-sm text-foreground",children:"AIM YouTube"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Subscribe & watch"})]})]})}),e.jsx(a.div,{whileHover:{y:-4},whileTap:{scale:.98},children:e.jsxs(j,{to:"/advertise",className:"flex flex-col items-center gap-3 p-6 rounded-xl border border-border bg-muted/30 hover:bg-muted/60 hover:border-foreground/10 transition-all duration-300 text-center",children:[e.jsx("div",{className:"p-3 rounded-full bg-accent/10",children:e.jsx(I,{className:"h-5 w-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-normal text-sm text-foreground",children:"Advertise with Us"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Reach AI leaders & CDOs"})]})]})}),e.jsx(a.div,{whileHover:{y:-4},whileTap:{scale:.98},children:e.jsxs("a",{href:"mailto:[email protected]",className:"flex flex-col items-center gap-3 p-6 rounded-xl border border-border bg-muted/30 hover:bg-muted/60 hover:border-foreground
1/10 transition-all duration-300 text-center",children:[e.jsx("div",{className:"p-3 rounded-full bg-primary/10",children:e.jsx(w,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-normal text-sm text-foreground",children:"Get in Touch"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"[email protected]"})]})]})})]})]})]}),e.jsx(y,{})]})};export{D 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.