PageSourceSearch

https://www.culturepulse.ai/assets/ImageSlider-B2fkdFfa.js

js culturepulse.ai collected 2026-10-03 21:01:52 UTC 1,982 bytes, 1 lines download raw bytes

1import{r as n,j as a,L as i}from"./chunk-4WY6JWTD-DoFnijRJ.js";import{T as l}from"./Typography-CTmNgK65.js";import{c as s,B as r}from"./Button-YErYcH1Q.js";import{m}from"./RevealItem-dZ-Nr-lK.js";import{A as d}from"./arrow-right-tEiTFG_I.js";import{A as c}from"./index-CRZFzdAp.js";const x=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],u=s("arrow-left",x),g=({slides:e})=>{const[t,o]=n.useState(0);return a.jsx(a.Fragment,{children:a.jsxs("div",{className:"w-full h-full relative overflow-hidden",children:[a.jsx(c,{children:a.jsxs(m.div,{className:"absolute transition-transform duration-700 ease-in-out w-full h-[calc(100%-56px)] md:h-full",initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},exit:{opacity:0},children:[a.jsx("img",{src:e[t].imgSrc,alt:"Video",className:"w-full h-full object-cover rounded-2xl md:rounded-4xl"}),a.jsx("div",{className:"absolute top-0 left-0 bg-black opacity-40 h-full w-full rounded-2xl md:rounded-4xl"}),a.jsx("div",{className:"absolute left-0 bottom-0 mx-4 mb-4 md:mx-10 md:mb-10",children:a.jsxs("div",{className:"max-w-[370px] flex flex-col gap-y-2",children:[a.jsx(l,{variant:"bodyStrong",mobileVariant:"bodySmallStrong",children:e[t].title}),a.jsx(l,{variant:"bodyBase",mobileVariant:"bodySmall",children:e[t].text}),a.jsx(i,{to:e[t].btnLink,target:"_blank",children:a.jsx(l,{variant:"bodyLink",mobileVariant:"bodySmall",className:"underline",children:e[t].btnText})})]})})]},e[t].imgSrc)}),a.jsxs("div",{className:"absolute md:static bottom-0 right-0 flex md:block gap-x-4",style:{display:e.length<2?"none":""},children:[a.jsx(r,{variant:"secondary",prefixIcon:a.jsx(u,{}),iconOnly:!0,disabled:t===0,onClick:()=>{o(t-1)},className:"md:absolute md:left-6 md:top-1/2 md:-translate-y-1/2"}),a.jsx(r,{variant:"secondary",prefixIcon:a.jsx(d,{}),iconOnly:!0,disabled:t===e.length-1,onClick:()=>{o(t+1)},className:"md:absolute md:right-6 md:top-1/2 md:-translate-y-1/2"})]})]})})};export{g as I};

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.