PageSourceSearch

https://www.culturepulse.ai/assets/Testimonials-CYytcp6R.js

js culturepulse.ai collected 2026-10-03 21:01:43 UTC 2,592 bytes, 1 lines download raw bytes

1import{r as n,j as e}from"./chunk-4WY6JWTD-DoFnijRJ.js";import{c as h,B as c}from"./Button-YErYcH1Q.js";import{T as d}from"./Typography-CTmNgK65.js";const x=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],f=h("chevron-left",x);const g=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],p=h("chevron-right",g),y=[{text:"The breadth and speed with which insights into culturally determined drivers of conflict were uncovered by CulturePulse's technology reshaped my thinking on how to conduct cross-cultural research. This powerful digital twin technology has the capacity to revolutionise cultural research by merging the ability to process huge amounts of data with the processes underpinning human social behaviour.",flag:"/UK.svg",name:"Dr. Katherine O'Lone",position:"Behavioural Science Fellow at The University of Manchester"}],o={testimonials:y},w=()=>{const[t,r]=n.useState(0),[u,l]=n.useState(0),i=n.useRef([]);return n.useLayoutEffect(()=>{const s=i.current[t];s&&l(s.offsetHeight)},[i.current,t]),n.useLayoutEffect(()=>{const s=new ResizeObserver(a=>{l(a[0].contentRect.height)});return s.observe(i.current[t]),()=>s.disconnect()},[]),e.jsx(e.Fragment,{children:e.jsxs("div",{className:"bg-gray-500 rounded-2xl md:rounded-4xl p-4 md:p-10 flex flex-col justify-between gap-y-6 md:gap-y-12",children:[e.jsx("div",{className:"h-[25px] md:h-[61px]",children:e.jsx("img",{src:"/quote.svg",alt:"Quote",className:"h-full animate-[subtle-pulsing_3s_ease-in-out_infinite]"})}),e.jsx("div",{className:"relative overflow-hidden transition-[height]",style:{height:u},children:o.testimonials.map((s,a)=>e.jsx("div",{className:"w-full absolute transition-transform duration-700 ease-in-out",style:{transform:`translateX(${(a-t)*100}%)`},ref:m=>{i.current[a]=m},children:e.jsxs("div",{className:"flex flex-col gap-y-6 md:gap-y-12 md:h-full",children:[e.jsx(d,{variant:"subtitle",mobileVariant:"bodyBase",children:s.text}),e.jsxs("div",{className:"flex gap-x-2",children:[e.jsx("img",{src:"/UK.svg",alt:"UK",className:"h-[25px]"}),e.jsxs(d,{variant:"bodyBase",mobileVariant:"bodySmall",children:[e.jsxs("span",{children:["– ",s.name,","]})," ",e.jsx("span",{className:"text-gray-300",children:s.position})]})]})]})},s.name))}),e.jsxs("div",{className:"flex gap-x-4 justify-end md:justify-start",style:{display:o.testimonials.length<2?"none":""},children:[e.jsx(c,{variant:"secondary",prefixIcon:e.jsx(f,{}),iconOnly:!0,disabled:t===0,onClick:()=>{r(t-1)}}),e.jsx(c,{variant:"secondary",prefixIcon:e.jsx(p,{}),iconOnly:!0,disabled:t===o.testimonials.length-1,onClick:()=>{r(t+1)}})]})]})})};export{w as T};

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.