1import{r as e,j as t}from"./vendor.COlAE5sy.js";import{g as r}from"./animation.HZMNGFYl.js";import{a as n,b as s,c as a,S as i}from"../entries/index.BL-aHc4N.js";import"./Stories.DCkassDa.js";r.registerPlugin(i);const o=[{id:"member-1",name:"Rahil Mehdi",image:"Rahi.png",gifUrl:"/rahil_dance.gif",scale:.9,instagram:"https://www.instagram.com/raaheelm/",linkedin:"https://www.linkedin.com/in/rahilmehdi/",position:"Founder & Managing Director"},{id:"member-3",name:"Sabika",image:"sab.png",gifUrl:"/sabika_dance.gif",scale:.9,instagram:"https://www.instagram.com/sabikamirzaaa/",linkedin:"https://www.linkedin.com/in/sabikamirza/",position:"Chief Client Partner"},{id:"member-4",name:"Bhagvanth Prasad",image:"Bagv.png",gifUrl:"/bhagvanth_dance.gif",scale:.9,instagram:"https://www.instagram.com/xtasybugs/",linkedin:"https://www.linkedin.com/in/bhagvanth/",position:"National Creative Director"}],l=e.memo((({member:e,gifRef:r})=>t.jsx("div",{className:"relative w-full aspect-[3/4] opacity-0 overflow-visible flex items-center justify-center",children:t.jsx("img",{ref:r,src:e.gifUrl,alt:`${e.name} animated`,className:"w-full h-full object-contain z-20",style:{mixBlendMode:"screen",backgroundColor:"transparent",transform:`scale(${e.scale||1.5})`,transformOrigin:"center center",objectPosition:"center center"}})})));l.displayName="MemberGif";const c=e.memo((({member:r,nameRef:n,isLoaded:s})=>{const[a,i]=e.useState(!1),o=e.useRef(null);e.useEffect((()=>{s&&!a&&(o.current=new Audio("/hoversound.mp3"),i(!0))}),[s,a]);const l=()=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"18",height:"18",viewBox:"0 0 48 48",className:"fill-current",children:t.jsx("path",{d:"M 15 4 C 8.9365932 4 4 8.9365932 4 15 L 4 33 C 4 39.063407 8.9365932 44 15 44 L 33 44 C 39.063407 44 44 39.063407 44 33 L 44 15 C 44 8.9365932 39.063407 4 33 4 L 15 4 z M 15 6 L 33 6 C 37.982593 6 42 10.017407 42 15 L 42 33 C 42 37.982593 37.982593 42 33 42 L 15 42 C 10.017407 42 6 37.982593 6 33 L 6 15 C 6 10.017407 10.017407 6 15 6 z M 35 11 C 33.895 11 33 11.895 33 13 C 33 14.105 33.895 15 35 15 C 36.105 15 37 14.105 37 13 C 37 11.895 36.105 11 35 11 z M 24 14 C 18.488666 14 14 18.488666 14 24 C 14 29.511334 18.488666 34 24 34 C 29.511334 34 34 29.511334 34 24 C 34 18.488666 29.511334 14 24 14 z M 24 16 C 28.430666 16 32 19.569334 32 24 C 32 28.430666 28.430666 32 24 32 C 19.569334 32 16 28.430666 16 24 C 16 19.569334 19.569334 16 24 16 z"})}),c=()=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"18",height:"18",viewBox:"0 0 50 50",className:"fill-current",children:t.jsx("path",{d:"M41,4H9C6.24,4,4,6.24,4,9v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V9C46,6.24,43.76,4,41,4z M17,20v19h-6V20H17z M11,14.47c0-1.4,1.2-2.47,3-2.47s2.93,1.07,3,2.47c0,1.4-1.12,2.53-3,2.53C12.2,17,11,15.87,11,14.47z M39,39h-6c0,0,0-9.26,0-10 c0-2-1-4-3.5-4.04h-0.08C27,24.96,26,27.02,26,29c0,0.91,0,10,0,10h-6V20h6v2.56c0,0,1.93-2.56,5.81-2.56 c3.97,0,7.19,2.73,7.19,8.26V39z"})});return t.jsxs("div",{className:"flex flex-col items-center relative w-full",children:[t.jsx("div",{className:"font-anton uppercase w-full flex justify-center",children:t.jsx("h2",{ref:n,className:"text-white text-lg md:text-xl opacity-0 px-2 text-center leading-tight",children:r.name})}),t.jsx("div",{className:"member-info-container w-full flex flex-col items-center relative",children:t.jsxs("div",{className:"bg-transparent text-white mt-[6px] rounded-lg flex flex-col items-center",children:[t.jsx("div",{className:"w-full pr-2 text-base mb-[12px]",children:r.position}),t.jsxs("div",{className:"flex items-center space-x-3",children:[t.jsx("a",{href:r.linkedin,target:"_blank",rel:"noopener noreferrer","aria-label":`${r.name}'s LinkedIn (opens in a new tab)`,className:"hover:opacity-80 transition-opacity duration-300",children:t.jsx(c,{})}),t.jsx("a",{href:r.instagram,target:"_blank",rel:"noopener noreferrer","aria-label":`${r.name}'s Instagram (opens in a new tab)`,className:"hover:opacity-80 transition-opacity duration-300",children:t.jsx(l,{})})]})]})})]})}));c.displayName="MemberInfo";const m=({member:n,index:s,isLoaded:a})=>{const o=e.useRef(null),m=e.useRef(null),u=e.useRef(null);return e.useEffect((()=>
1{if(!a)return;r.set([m.current.parentNode,u.current],{opacity:0,y:30});return r.timeline({scrollTrigger:{trigger:o.current,start:"top 80%",end:"bottom bottom",toggleActions:"play none none reverse"}}).to(m.current.parentNode,{opacity:1,y:0,duration:.6,ease:"power2.out"}).to(u.current,{opacity:1,y:0,duration:.4,ease:"power2.out"},"-=0.3"),()=>{const e=i.getById(o.current);e&&e.kill()}}),[a]),t.jsxs("div",{ref:o,className:"w-full h-full",children:[t.jsx(l,{member:n,gifRef:m}),t.jsx(c,{member:n,nameRef:u,isLoaded:a})]})};m.displayName="TeamMember";const u=()=>{const l=e.useRef(null),c=e.useRef(null),u=e.useRef(null),[d,f]=e.useState(!1),p=n(),x=s();a(),e.useEffect((()=>{const e=setTimeout((()=>{f(!0)}),500);return()=>clearTimeout(e)}),[]),e.useEffect((()=>{if(!d)return;r.set(c.current,{opacity:0,y:50}),r.set(u.current.children,{opacity:0,y:30});return r.timeline({scrollTrigger:{trigger:l.current,start:"top center",toggleActions:"play none none reverse"}}).to(c.current,{opacity:1,y:0,duration:1,ease:"power2.out"}).to(u.current.children,{opacity:1,y:0,duration:.6,stagger:.1,ease:"power2.out"},"-=0.5"),()=>{i.getAll().forEach((e=>e.kill()))}}),[d]);return t.jsxs("section",{ref:l,className:"relative top-0 flex flex-col h-full px-4 pt-8 bg-customBlue",children:[t.jsx("h1",{ref:c,className:"text-center text-[45vw] w-full font-anton text-white -mb-5 tracking-[-.03em]",children:"TEAM"}),t.jsxs("div",{className:"flex flex-col items-center",children:[t.jsxs("div",{className:"w-full flex flex-row justify-between mb-12 px-[24px]",ref:u,children:[t.jsx("button",{className:"font-anton px-4 sm:px-6 py-2 sm:py-3 bg-white rounded-full text-customBlue hover:bg-customBlue hover:text-customWhite border-solid border-[2px] text-sm uppercase",onClick:()=>{const e="/aboutus",t="team-section";if(x.pathname!==e)p(e).then((()=>{setTimeout((()=>{const e=document.querySelector(`.${t}`);e?r.to(window,{scrollTo:{y:e,offsetY:0,autoKill:!1},duration:1,ease:"power2.inOut"}):r.to(window,{scrollTo:{y:0,autoKill:!1},duration:1,ease:"power2.inOut"})}),1e3)}));else{const e=document.querySelector(`.${t}`);e&&r.to(window,{scrollTo:{y:e,offsetY:0,autoKill:!1},duration:1,ease:"power2.inOut"})}},children:"All Members"}),t.jsx("button",{className:"font-anton px-4 sm:px-6 py-2 sm:py-3 bg-white rounded-full text-customBlue hover:bg-customBlue hover:text-customWhite border-solid border-[2px] text-sm uppercase",onClick:()=>{const e="/career";x.pathname!==e&&p(e).then((()=>{setTimeout((()=>{r.to(window,{scrollTo:{y:0,autoKill:!1},duration:.5,ease:"power4"})}),500)}))},children:"Join Us"})]}),d&&t.jsx("div",{className:"grid grid-cols-1 gap-6 w-full",children:o.map(((e,r)=>t.jsx(m,{member:e,index:r,isLoaded:d},e.id)))})]})]})};export{u 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.