{"version":3,"file":"TestimonialSlider.DzO2iGPk.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","Image1","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useCallback","__esmMin","window","x","pe","init_ssg_sandbox_shims","init_npm_react_18_3_1","ce","init_jsx_runtime","oe","ne","J","c","p","ie","de","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","addPropertyControls","useVariantState","cx","withCSS","RichText","getFontsFromSharedStyle","init_framer_DxfB3JJo","addFonts","Image$1","useComponentViewport","ControlType","useLocaleInfo","css$2","fonts$1","init_gDZB9ObqP","init_k_o7s5Hwe","css$1","className$1","fonts","className","addPropertyOverrides","variants","nextOverrides","variant","overrides","cycleOrder","serializationHash","variantClassNames","transition1","isSet","toResponsiveImage","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","Component","css","FramerRlgAigOQ5","init_RlgAigOQ5","value","config","transition","contextValue","props","colour","logo","company","fullName","avatar","heroImage","role","testimonial","fallbackRef","refBinding","ref","defaultLayoutId","componentViewport","className$2","restProps","layoutDependency","scopingClassNames","visible","Gh90RuIGX","visible1","pDk78M7R0","visible2","lkstxJA23","layoutId","gestureHandlers","classNames","G11ELHsqT","style","baseVariant","gestureVariant","Y_0jFkwWF","NDa45EDk0","sFSOYW5NN","R0YEti2ac","readActive","raw","track","ACTIVE_KEY","readSlot","card","SLOT_KEY","boxOf","node","element","depth","next","childCards","found","child","padLoop","children","real","CLONE_KEY","clones","sets","MIN_LOOP_CARDS","wanted","source","CLONE_SOURCE_KEY","clone","index","GEN_KEY","image","cardsIn","shortestStep","forward","to","from","count","slotFor","active","leftForSlot","slot","scaled","cardWidth","INACTIVE_SCALE","firstStep","SIDE_GAP","laterSteps","paintDots","container","DOTS_ELEMENT_ID","highlighted","realCount","dot","INACTIVE_OPACITY","layout","cards","origin","reducedMotion","plans","prior","seamCrossing","step","instant","seamOnScreen","plan","DURATION","EASE","generation","half","transform","target","getTrack","VIEWPORT_ELEMENT_ID","goTo","REAL_KEY","current","currentIndex","needsLayout","first","bind","run","observer","swipe","onPointerDown","event","DRAGGED_KEY","onPointerMove","dx","dy","AXIS_LOCK","endSwipe","travelled","commit","threshold","SWIPE_MINIMUM","SWIPE_FRACTION","onPointerUp","onPointerCancel","wheel","rearm","onWheel","magnitude","WHEEL_DECAYED_FRACTION","WHEEL_REARM_RATIO","WHEEL_REARM_FLOOR","WHEEL_IDLE_MS","WHEEL_THRESHOLD","withTestimonialSlider","bound","unbind","pending","sync","schedule","watcher","onClick","swiped","withTestimonialDot","jump","parent","onKeyDown","init_TestimonialSlider"],"sources":["https:/framerusercontent.com/modules/R5FVqrHY55ZYmk8s3t5F/yxYDUZK0WBDuyre5dPkz/RlgAigOQ5.js","https:/framerusercontent.com/modules/iMiSCqvL06l6G2696fCV/kFFsLDCVqKkIfNNE3Owp/TestimonialSlider.js"],"sourcesContent":["// Generated by Framer (be2c554)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Image as Image1,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/pEpMHftpZtgNKqgaoci8/mYchYS2rZBsYxXtnH39c/gDZB9ObqP.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/INTy1WnHTWkHT5Bv3zLG/xhO55cNrgulQ1lgzu3PO/k_o7s5Hwe.js\";const cycleOrder=[\"ky0DXKQV2\",\"GZYihRKi0\",\"mfkSQ1RPL\"];const serializationHash=\"framer-8zsdS\";const variantClassNames={GZYihRKi0:\"framer-v-1rqr8d1\",ky0DXKQV2:\"framer-v-1j8kxcr\",mfkSQ1RPL:\"framer-v-sxsljy\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const G11ELHsqT=undefined;const Gh90RuIGX=undefined;const Y_0jFkwWF=undefined;const pDk78M7R0=undefined;const NDa45EDk0=undefined;const sFSOYW5NN=undefined;const lkstxJA23=undefined;const R0YEti2ac=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const isSet=value=>{if(Array.isArray(value))return value.length>0;return value!==undefined&&value!==null&&value!==\"\";};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Desktop:\"ky0DXKQV2\",Phone:\"mfkSQ1RPL\",Tablet:\"GZYihRKi0\"};const Variants=motion.create(React.Fragment);const getProps=({avatar,colour,company,fullName,height,heroImage,id,logo,role,testimonial,width,...props})=>{return{...props,G11ELHsqT:colour??props.G11ELHsqT??\"rgb(255, 255, 255)\",Gh90RuIGX:logo??props.Gh90RuIGX,lkstxJA23:company??props.lkstxJA23??\"Company\",NDa45EDk0:fullName??props.NDa45EDk0??\"Full Name\",pDk78M7R0:avatar??props.pDk78M7R0,R0YEti2ac:heroImage??props.R0YEti2ac,sFSOYW5NN:role??props.sFSOYW5NN??\"Job title goes here\",variant:humanReadableVariantMap[props.variant]??props.variant??\"ky0DXKQV2\",Y_0jFkwWF:testimonial??props.Y_0jFkwWF??'“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"'};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,Gh90RuIGX,Y_0jFkwWF,NDa45EDk0,lkstxJA23,G11ELHsqT,R0YEti2ac,pDk78M7R0,sFSOYW5NN,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ky0DXKQV2\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=isSet(Gh90RuIGX);const visible1=isSet(pDk78M7R0);const visible2=isSet(lkstxJA23);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1j8kxcr\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"ky0DXKQV2\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-72c1b633-4340-4f2b-9a8a-4a564b6cc1f3, rgb(244, 242, 238))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:G11ELHsqT,borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,boxShadow:\"0px 0.7961918735236395px 0.7961918735236395px 0px rgba(0, 0, 0, 0), 0px 2.414506143104518px 2.414506143104518px 0px rgba(0, 0, 0, 0), 0px 6.382653521484461px 6.382653521484461px 0px rgba(0, 0, 0, 0.01), 0px 20px 20px 0px rgba(0, 0, 0, 0.03)\",...style},...addPropertyOverrides({GZYihRKi0:{\"data-framer-name\":\"Tablet\"},mfkSQ1RPL:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-ncv3rp\",\"data-framer-name\":\"Content\",layoutDependency:layoutDependency,layoutId:\"Usk8R3Z6u\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-rftxd1\",layoutDependency:layoutDependency,layoutId:\"rGeUJANxc\",children:[visible!==false&&/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",sizes:\"100px\",...toResponsiveImage(Gh90RuIGX)},className:\"framer-m2v9v3\",\"data-framer-name\":\"Logo\",fitImageDimension:\"height\",layoutDependency:layoutDependency,layoutId:\"W5X7beZz2\",...addPropertyOverrides({GZYihRKi0:{background:{alt:\"\",fit:\"fill\",sizes:\"60px\",...toResponsiveImage(Gh90RuIGX)}},mfkSQ1RPL:{background:{alt:\"\",fit:\"fill\",sizes:\"80px\",...toResponsiveImage(Gh90RuIGX)}}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-iaq6i9\",\"data-styles-preset\":\"k_o7s5Hwe\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\"},children:'“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"'})}),className:\"framer-12kzeos\",\"data-framer-name\":\"“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.”\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"nL09IiJ9K\",style:{\"--framer-paragraph-spacing\":\"0px\"},text:Y_0jFkwWF,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1vxkuz\",\"data-framer-name\":\"Attributions\",layoutDependency:layoutDependency,layoutId:\"UUDZe3vSx\",children:[visible1!==false&&/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",sizes:\"63px\",...toResponsiveImage(pDk78M7R0)},className:\"framer-lsa217\",\"data-framer-name\":\"Avatar\",layoutDependency:layoutDependency,layoutId:\"fgawALp9G\",style:{borderBottomLeftRadius:\"50%\",borderBottomRightRadius:\"50%\",borderTopLeftRadius:\"50%\",borderTopRightRadius:\"50%\"},...addPropertyOverrides({GZYihRKi0:{background:{alt:\"\",fit:\"fill\",sizes:\"60px\",...toResponsiveImage(pDk78M7R0)}},mfkSQ1RPL:{background:{alt:\"\",fit:\"fill\",sizes:\"56px\",...toResponsiveImage(pDk78M7R0)}}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-f1rg94\",\"data-framer-name\":\"Text\",layoutDependency:layoutDependency,layoutId:\"yaWTI56eN\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1589bba\",\"data-styles-preset\":\"gDZB9ObqP\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\"},children:\"Full Name\"})}),className:\"framer-1jux27m\",\"data-framer-name\":\"First name\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"h8jdPqC1b\",style:{\"--framer-paragraph-spacing\":\"0px\"},text:NDa45EDk0,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1iioj1z\",layoutDependency:layoutDependency,layoutId:\"PvKpQLLcz\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1589bba\",\"data-styles-preset\":\"gDZB9ObqP\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(0, 0, 0, 0.5))\"},children:\"Job title goes here\"})}),className:\"framer-1phqhxv\",\"data-framer-name\":\"Company\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"C343yE76O\",style:{\"--extracted-r6o4lv\":\"rgba(0, 0, 0, 0.5)\",\"--framer-paragraph-spacing\":\"0px\"},text:sFSOYW5NN,verticalAlignment:\"top\",withExternalLayout:true}),visible2!==false&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1kpqkhd\",layoutDependency:layoutDependency,layoutId:\"hM0Pcikgk\",style:{backgroundColor:\"rgba(0, 0, 0, 0.5)\"}}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1589bba\",\"data-styles-preset\":\"gDZB9ObqP\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(0, 0, 0, 0.5))\"},children:\"Job title goes here\"})}),className:\"framer-1m4r9ez\",\"data-framer-name\":\"Company\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"sYxfkSCRX\",style:{\"--extracted-r6o4lv\":\"rgba(0, 0, 0, 0.5)\",\"--framer-paragraph-spacing\":\"0px\"},text:lkstxJA23,verticalAlignment:\"top\",withExternalLayout:true})]})]})]})]}),/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",sizes:\"476px\",...toResponsiveImage(R0YEti2ac)},className:\"framer-1iyyza8\",layoutDependency:layoutDependency,layoutId:\"FZk5KHwnl\",style:{borderBottomLeftRadius:12,borderBottomRightRadius:12,borderTopLeftRadius:12,borderTopRightRadius:12},...addPropertyOverrides({GZYihRKi0:{background:{alt:\"\",fit:\"fill\",sizes:\"300px\",...toResponsiveImage(R0YEti2ac)}},mfkSQ1RPL:{background:{alt:\"\",fit:\"fill\",sizes:`max(${componentViewport?.width||\"100vw\"} - 40px, 310px)`,...toResponsiveImage(R0YEti2ac)}}},baseVariant,gestureVariant)})]})})})})});});const css=[\".framer-8zsdS.framer-136poj2, .framer-8zsdS .framer-136poj2 { display: block; }\",\".framer-8zsdS.framer-1j8kxcr { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: wrap; gap: 0px; height: min-content; justify-content: flex-start; min-width: 350px; overflow: var(--overflow-clip-fallback, clip); padding: 20px 20px 20px 35px; position: relative; width: 1000px; will-change: var(--framer-will-change-override, transform); }\",\".framer-8zsdS .framer-ncv3rp { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: wrap; gap: 24px 44px; height: min-content; justify-content: flex-start; min-width: 310px; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-8zsdS .framer-rftxd1 { align-content: flex-start; align-items: flex-start; align-self: stretch; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; height: auto; justify-content: space-between; overflow: visible; padding: 15px 0px 15px 0px; position: relative; width: 1px; }\",\".framer-8zsdS .framer-m2v9v3 { flex: none; height: auto; position: relative; width: 100px; }\",\".framer-8zsdS .framer-12kzeos, .framer-8zsdS .framer-1jux27m { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-8zsdS .framer-1vxkuz { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-8zsdS .framer-lsa217 { aspect-ratio: 1 / 1; flex: none; height: auto; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 63px; will-change: var(--framer-will-change-override, transform); }\",\".framer-8zsdS .framer-f1rg94 { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 2px; height: min-content; justify-content: center; padding: 0px; position: relative; width: 1px; }\",\".framer-8zsdS .framer-1iioj1z { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: wrap; gap: 0px 6px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-8zsdS .framer-1phqhxv, .framer-8zsdS .framer-1m4r9ez { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-8zsdS .framer-1kpqkhd { flex: none; height: 15px; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 1px; }\",\".framer-8zsdS .framer-1iyyza8 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 505px; justify-content: flex-start; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 476px; will-change: var(--framer-will-change-override, transform); }\",\".framer-8zsdS.framer-v-1rqr8d1.framer-1j8kxcr { padding: 20px 20px 20px 25px; width: 710px; }\",\".framer-8zsdS.framer-v-1rqr8d1 .framer-ncv3rp { min-height: 340px; }\",\".framer-8zsdS.framer-v-1rqr8d1 .framer-rftxd1 { align-self: unset; height: min-content; min-height: 340px; }\",\".framer-8zsdS.framer-v-1rqr8d1 .framer-m2v9v3, .framer-8zsdS.framer-v-1rqr8d1 .framer-lsa217 { width: 60px; }\",\".framer-8zsdS.framer-v-1rqr8d1 .framer-1iyyza8 { align-self: stretch; height: auto; width: 300px; }\",\".framer-8zsdS.framer-v-sxsljy.framer-1j8kxcr { padding: 30px 20px 20px 20px; width: 350px; }\",\".framer-8zsdS.framer-v-sxsljy .framer-ncv3rp { align-content: flex-start; align-items: flex-start; flex-direction: column; gap: 30px 20px; }\",\".framer-8zsdS.framer-v-sxsljy .framer-rftxd1 { align-self: unset; flex: none; gap: 60px; height: min-content; justify-content: flex-start; padding: 0px; width: 100%; }\",\".framer-8zsdS.framer-v-sxsljy .framer-m2v9v3 { width: 80px; }\",\".framer-8zsdS.framer-v-sxsljy .framer-lsa217 { width: 56px; }\",\".framer-8zsdS.framer-v-sxsljy .framer-1iyyza8 { aspect-ratio: 0.950920245398773 / 1; height: auto; width: 100%; }\",...sharedStyle.css,...sharedStyle1.css,'.framer-8zsdS[data-border=\"true\"]::after, .framer-8zsdS [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 545\n * @framerIntrinsicWidth 1000\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[\"350px\",null,null,null]},\"GZYihRKi0\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[\"350px\",null,null,null]},\"mfkSQ1RPL\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[\"350px\",null,null,null]}}}\n * @framerVariables {\"Gh90RuIGX\":\"logo\",\"Y_0jFkwWF\":\"testimonial\",\"NDa45EDk0\":\"fullName\",\"lkstxJA23\":\"company\",\"G11ELHsqT\":\"colour\",\"R0YEti2ac\":\"heroImage\",\"pDk78M7R0\":\"avatar\",\"sFSOYW5NN\":\"role\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerRlgAigOQ5=withCSS(Component,css,\"framer-8zsdS\");export default FramerRlgAigOQ5;FramerRlgAigOQ5.displayName=\"Testimonial Card\";FramerRlgAigOQ5.defaultProps={height:545,width:1e3};addPropertyControls(FramerRlgAigOQ5,{variant:{options:[\"ky0DXKQV2\",\"GZYihRKi0\",\"mfkSQ1RPL\"],optionTitles:[\"Desktop\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},Gh90RuIGX:{title:\"Logo\",type:ControlType.ResponsiveImage},Y_0jFkwWF:{defaultValue:'“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"',displayTextArea:false,title:\"Testimonial\",type:ControlType.String},onY_0jFkwWFChange:{changes:\"Y_0jFkwWF\",type:ControlType.ChangeHandler},NDa45EDk0:{defaultValue:\"Full Name\",displayTextArea:false,title:\"Full Name\",type:ControlType.String},onNDa45EDk0Change:{changes:\"NDa45EDk0\",type:ControlType.ChangeHandler},lkstxJA23:{defaultValue:\"Company\",displayTextArea:false,title:\"Company\",type:ControlType.String},onlkstxJA23Change:{changes:\"lkstxJA23\",type:ControlType.ChangeHandler},G11ELHsqT:{defaultValue:\"rgb(255, 255, 255)\",title:\"Colour\",type:ControlType.Color},R0YEti2ac:{title:\"Hero Image\",type:ControlType.ResponsiveImage},pDk78M7R0:{title:\"Avatar\",type:ControlType.ResponsiveImage},sFSOYW5NN:{defaultValue:\"Job title goes here\",title:\"Role\",type:ControlType.String},onsFSOYW5NNChange:{changes:\"sFSOYW5NN\",type:ControlType.ChangeHandler}});addFonts(FramerRlgAigOQ5,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerRlgAigOQ5\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"1000\",\"framerIntrinsicHeight\":\"545\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"Gh90RuIGX\\\":\\\"logo\\\",\\\"Y_0jFkwWF\\\":\\\"testimonial\\\",\\\"NDa45EDk0\\\":\\\"fullName\\\",\\\"lkstxJA23\\\":\\\"company\\\",\\\"G11ELHsqT\\\":\\\"colour\\\",\\\"R0YEti2ac\\\":\\\"heroImage\\\",\\\"pDk78M7R0\\\":\\\"avatar\\\",\\\"sFSOYW5NN\\\":\\\"role\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[\\\"350px\\\",null,null,null]},\\\"GZYihRKi0\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[\\\"350px\\\",null,null,null]},\\\"mfkSQ1RPL\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[\\\"350px\\\",null,null,null]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RlgAigOQ5.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useCallback,useEffect}from\"react\";// \"Element ID\" values set on the Viewport frame and the Dots list in the section.\n// Collection-list nodes silently refuse elementId, hence the id living on the\n// Viewport with the track read off it as firstElementChild.\nconst VIEWPORT_ELEMENT_ID=\"testimonial-viewport\";const DOTS_ELEMENT_ID=\"testimonial-dots\";const INACTIVE_SCALE=.82;const INACTIVE_OPACITY=\"0.4\";const SIDE_GAP=35;const EASE=\"cubic-bezier(0.22, 1, 0.36, 1)\";const DURATION=.6;// The active index and each card's last slot are kept ON THE ELEMENTS, not in\n// module state. The two overrides in this file may not share a module instance,\n// and if they don't, module state leaves the dots permanently thinking they are\n// on their first paint — which places every card instantly and is exactly how the\n// animation goes missing. The DOM is shared by definition.\nconst ACTIVE_KEY=\"sliderActive\";const SLOT_KEY=\"sliderSlot\";const GEN_KEY=\"sliderGen\";const CLONE_KEY=\"sliderClone\";const REAL_KEY=\"sliderReal\";// Fingerprint of the real cards the current clones were copied from.\nconst CLONE_SOURCE_KEY=\"sliderCloneSource\";// Only slots -1, 0 and +1 are on screen; the section clips the rest. A loop needs\n// enough cards that the one wrapping round does so out of sight, which takes at\n// least five. Below that the cards are duplicated to pad the loop out — in WHOLE\n// sets, so the running order stays consistent as it cycles.\nconst MIN_LOOP_CARDS=5;const DRAGGED_KEY=\"sliderDragged\";// Movement before we commit to calling a gesture horizontal or vertical. Keeps a\n// vertical page scroll that starts on the slider from being hijacked.\nconst AXIS_LOCK=8;// How far a swipe has to travel to move on, as a fraction of a card, with a\n// floor for narrow screens. Lower than a drag would need, since there is no\n// visual follow to show how far you have got.\nconst SWIPE_FRACTION=.08;const SWIPE_MINIMUM=40;// Trackpad swipes arrive as wheel events with a horizontal delta, dozens per\n// gesture. Accumulate them, move once, then stay locked until the deltas go\n// quiet so one flick advances one testimonial.\nconst WHEEL_THRESHOLD=60;const WHEEL_IDLE_MS=140;// After a move we lock out the rest of the gesture, so one swipe moves one\n// testimonial. Trackpad momentum keeps firing decaying events long after the\n// fingers lift, though, so waiting for silence to re-arm leaves the slider stuck\n// for a second or more.\n//\n// Re-arming on any rising delta is not enough either: a flick ACCELERATES at the\n// start, so a fast one rises again just after the move fires and would count as a\n// second swipe. So a gesture must first be seen to pass its peak and decay, and\n// only then does a rising delta mean fingers are back on.\nconst WHEEL_DECAYED_FRACTION=.5;const WHEEL_REARM_RATIO=1.4;const WHEEL_REARM_FLOOR=5;function readActive(track){const raw=track.dataset[ACTIVE_KEY];if(raw===undefined)return null;const value=Number(raw);return Number.isFinite(value)?value:null;}function readSlot(card){const raw=card.dataset[SLOT_KEY];if(raw===undefined)return null;const value=Number(raw);return Number.isFinite(value)?value:null;}// Pads the track out with duplicate cards so the wrap happens off screen, and\n// reports how many of the cards are real (which is what the dots count).\n// Rebuilds only when the real count has actually changed — otherwise the\n// ResizeObserver that calls this would retrigger itself forever.\n// Framer renders each repeated collection item inside a wrapper div with\n// `display: contents`. Such an element generates no box at all, so every\n// direct child of the track measures offsetWidth 0 — which made the card\n// collection come back empty and left the slider laid out but never positioned.\n// Descend through any boxless wrapper to the element that actually has a box.\nfunction boxOf(element){let node=element;for(let depth=0;node&&depth<4;depth+=1){if(node.offsetWidth>0)return node;const next=node.firstElementChild;node=next instanceof HTMLElement?next:null;}return null;}// The track's cards, unwrapped. Clones appended by padLoop sit directly on the\n// track and come back as themselves.\nfunction childCards(track){const found=[];for(const child of Array.from(track.children)){if(!(child instanceof HTMLElement))continue;const card=boxOf(child);if(card)found.push(card);}return found;}function padLoop(track){const children=childCards(track);const real=children.filter(child=>child.dataset[CLONE_KEY]===undefined&&child.offsetWidth>0);const clones=children.filter(child=>child.dataset[CLONE_KEY]!==undefined);// A single testimonial has nothing to loop through.\nif(real.length<2)return real.length;const sets=Math.ceil(MIN_LOOP_CARDS/real.length);const wanted=real.length*(sets-1);// Clones are static copies, so they must be rebuilt whenever the real cards\n// change layout. Crossing a breakpoint swaps the real cards to another\n// variant (Tablet -> Desktop) but leaves the copies behind, which showed up\n// as two different card sizes in the same loop.\nconst source=real.map(card=>`${card.dataset.framerName??\"\"}:${card.offsetWidth}x${card.offsetHeight}`).join(\"|\");if(clones.length===wanted&&track.dataset[CLONE_SOURCE_KEY]===source)return real.length;track.dataset[CLONE_SOURCE_KEY]=source;for(const clone of clones)clone.remove();for(let index=0;index<wanted;index+=1){const clone=real[index%real.length].cloneNode(true);clone.dataset[CLONE_KEY]=\"1\";// Never inherit the original's animation bookkeeping.\ndelete clone.dataset[SLOT_KEY];delete clone.dataset[GEN_KEY];// The duplicates say the same thing as the originals.\nclone.setAttribute(\"aria-hidden\",\"true\");for(const image of Array.from(clone.querySelectorAll(\"img\"))){image.draggable=false;// Framer ships its images lazy. A clone starts life off screen, so a\n// lazy one defers loading and then visibly pops in as it slides into\n// view — which is why the loop only looked wrong once it needed\n// padding. Load them up front instead.\nimage.loading=\"eager\";image.decoding=\"sync\";}track.appendChild(clone);}return real.length;}function cardsIn(track){return childCards(track);}// Shortest signed distance from `a` to `b` around a loop of `count`, so jumping\n// from the first dot to the last travels one step back rather than count-1 steps\n// forward.\nfunction shortestStep(from,to,count){const forward=((to-from)%count+count)%count;return forward>count/2?forward-count:forward;}// Where a card sits relative to the centre: 0 is centre, -1 one to the left, +1\n// one to the right. Wrapping the distance around the item count is what makes the\n// loop endless — cards leaving one side reappear on the other.\nfunction slotFor(index,active,count){return shortestStep(active,index,count);}// Left edge of a card's layout box for a given slot. Scaling about the centre\n// leaves the box centre where it is, so spacing is worked out between centres and\n// the scale only changes the visible size.\nfunction leftForSlot(slot,cardWidth){if(slot===0)return 0;const scaled=cardWidth*INACTIVE_SCALE;const firstStep=cardWidth/2+SIDE_GAP+scaled/2;const laterSteps=(Math.abs(slot)-1)*(scaled+SIDE_GAP);return Math.sign(slot)*(firstStep+laterSteps);}function paintDots(active,realCount){const container=document.getElementById(DOTS_ELEMENT_ID);if(!container)return;// With the loop padded out, several cards map to the same testimonial.\nconst highlighted=realCount>0?active%realCount:active;Array.from(container.children).forEach((dot,index)=>{if(!(dot instanceof HTMLElement))return;dot.style.transition=\"opacity 0.3s ease\";dot.style.opacity=index===highlighted?\"1\":INACTIVE_OPACITY;});}/**\n * Places every card from its own distance to the centre.\n *\n * `step` is how far the slider just moved, and is what decides which cards\n * animate. Every card is expected to shift by `-step` slots; the ones that don't\n * are the ones crossing the seam of the loop, and those have to move with no\n * transition or they visibly fly across the whole section. Checking each card\n * against `step` — rather than just asking whether it moved more than one slot —\n * is what keeps a multi-step jump animated: on a two-step move most cards travel\n * two slots quite legitimately.\n *\n * `step` of null (first paint) or 0 (a re-layout, not a navigation) places\n * everything instantly.\n *\n * The transitions are set, the style flushed, and only then the transforms\n * written. Setting both in one go on a card that is currently at\n * `transition: none` — which every card is after the first paint, and which the\n * seam cards are after every move — can drop the animation entirely, because the\n * browser may still be holding the old \"none\" when it sees the transform change.\n */function layout(track,active,step){const cards=cardsIn(track);if(cards.length===0)return;const cardWidth=cards[0].offsetWidth;const origin=cards[0].offsetLeft;const reducedMotion=typeof window!==\"undefined\"&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const plans=cards.map((card,index)=>{const slot=slotFor(index,active,cards.length);const prior=readSlot(card);const seamCrossing=prior===null||step===null||step===0||slot-prior!==-step;const instant=reducedMotion||seamCrossing;// A card wrapping round the loop as part of an actual move. With five or\n// more testimonials this happens two slots out, off screen behind the\n// section's clip, so nobody sees it. With three or four it is an\n// immediate neighbour and fully visible, so it gets faded in at its new\n// position rather than simply appearing there.\n// Only worth cross-fading if the jump would actually be seen: slots\n// beyond the immediate neighbours sit outside the section's clip. Once\n// the loop is padded this is false for every wrap, so the asynchronous\n// fade below — and the risk of a stranded card that comes with it — stays\n// out of the normal path entirely.\nconst seamOnScreen=Math.abs(slot)<=1||prior!==null&&Math.abs(prior)<=1;const wrapping=!reducedMotion&&prior!==null&&step!==null&&step!==0&&slot-prior!==-step&&seamOnScreen;return{card,slot,instant,wrapping,isCentre:slot===0,shift:leftForSlot(slot,cardWidth)-(card.offsetLeft-origin)};});for(const plan of plans){plan.card.style.transformOrigin=\"center center\";plan.card.style.willChange=\"transform, opacity\";plan.card.style.transition=plan.wrapping?`opacity ${DURATION/2}s ${EASE}`:plan.instant?\"none\":`transform ${DURATION}s ${EASE}, opacity ${DURATION}s ${EASE}`;}// Force the transitions above to take effect before the transforms below.\nvoid track.getBoundingClientRect();// Stamped on every card that starts a cross-fade, so a later move can tell a\n// stale fade to abandon itself rather than fighting the new one.\nconst generation=String((Number(track.dataset[GEN_KEY]??\"0\")+1)%1e6);track.dataset[GEN_KEY]=generation;const half=DURATION/2;for(const plan of plans){const transform=`translateX(${plan.shift}px) scale(${plan.isCentre?1:INACTIVE_SCALE})`;const target=plan.isCentre?\"1\":INACTIVE_OPACITY;plan.card.style.zIndex=plan.isCentre?\"2\":\"1\";// Only the neighbours go anywhere when clicked.\nplan.card.style.cursor=plan.isCentre?\"default\":\"pointer\";plan.card.dataset[SLOT_KEY]=String(plan.slot);// EVERY card is stamped, not just the ones cross-fading. A pending fade\n// from an earlier move checks this stamp before touching anything, so\n// stamping only the fading cards would let a stale timeout fire against a\n// card this move had already placed — dragging it back to an old position\n// and opacity, and stranding it (an empty centre slot, most visibly).\nplan.card.dataset[GEN_KEY]=generation;if(!plan.wrapping){plan.card.style.transform=transform;plan.card.style.opacity=target;continue;}// Cross-fade the wrap: fade out where it stands, move while invisible,\n// fade back up at the far end. With five or more testimonials this all\n// happens off screen anyway; with three or four both ends are in view, so\n// without this the card visibly pops from one side to the other.\nconst card=plan.card;card.style.opacity=\"0\";window.setTimeout(()=>{if(card.dataset[GEN_KEY]!==generation)return;card.style.transition=\"none\";card.style.transform=transform;window.requestAnimationFrame(()=>{if(card.dataset[GEN_KEY]!==generation)return;card.style.transition=`opacity ${half}s ${EASE}`;card.style.opacity=target;});},half*1e3);}track.dataset[ACTIVE_KEY]=String(active);}function getTrack(){const viewport=document.getElementById(VIEWPORT_ELEMENT_ID);const track=viewport?.firstElementChild;return track instanceof HTMLElement?track:null;}function goTo(index,track){const element=track??getTrack();if(!element)return;const realCount=padLoop(element);element.dataset[REAL_KEY]=String(realCount);const count=cardsIn(element).length;if(count===0)return;const current=readActive(element);const next=(index%count+count)%count;const step=current===null?null:shortestStep(current,next,count);layout(element,next,step);paintDots(next,realCount);}function currentIndex(track){return readActive(track)??0;}// True when cards or dots have been re-rendered since the last layout, which\n// wipes the inline styles and bookkeeping this file writes onto them.\nfunction needsLayout(track){if(cardsIn(track).some(card=>readSlot(card)===null))return true;const dots=document.getElementById(DOTS_ELEMENT_ID);const first=dots?.firstElementChild;return first instanceof HTMLElement&&first.style.opacity===\"\";}/**\n * Wires one track up: initial layout, resize handling, swipe and trackpad.\n * Returns the teardown, so the slider can move to a replacement track.\n */function bind(track){// A new track, so start from the first testimonial again.\ndelete track.dataset[ACTIVE_KEY];for(const card of cardsIn(track))delete card.dataset[SLOT_KEY];// Also covers the CMS cards arriving after first paint, and the card\n// width changing at a breakpoint.\nconst run=()=>{// Belt to the preventDefault below: stops the browser starting\n// an image drag mid-swipe. Re-applied here because the CMS\n// images can arrive after first paint.\nfor(const image of Array.from(track.querySelectorAll(\"img\"))){image.draggable=false;}goTo(currentIndex(track),track);};run();const observer=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(run):null;observer?.observe(track);window.addEventListener(\"resize\",run);// Let a vertical scroll that begins on the slider still scroll the\n// page; we only claim horizontal movement.\ntrack.style.touchAction=\"pan-y\";const swipe={active:false,startX:0,startY:0,lastX:0,axis:null};const onPointerDown=event=>{// Touch only. A trackpad swipe comes through as a wheel event\n// (handled below), and click-and-drag with a mouse is not wanted\n// — a plain click already advances.\nif(event.pointerType===\"mouse\")return;// Card portraits are natively draggable, and a browser image\n// drag fires pointercancel, killing the swipe before release.\nevent.preventDefault();swipe.active=true;swipe.startX=event.clientX;swipe.startY=event.clientY;swipe.lastX=event.clientX;swipe.axis=null;delete track.dataset[DRAGGED_KEY];};const onPointerMove=event=>{if(!swipe.active)return;const dx=event.clientX-swipe.startX;const dy=event.clientY-swipe.startY;swipe.lastX=event.clientX;if(swipe.axis===null){if(Math.abs(dx)<AXIS_LOCK&&Math.abs(dy)<AXIS_LOCK){return;}swipe.axis=Math.abs(dx)>Math.abs(dy)?\"x\":\"y\";}};const endSwipe=commit=>{if(!swipe.active)return;swipe.active=false;if(swipe.axis!==\"x\")return;const travelled=swipe.lastX-swipe.startX;// Tell the click handler to stand down: a swipe should not also\n// register as a tap on the card.\ntrack.dataset[DRAGGED_KEY]=Math.abs(travelled)>AXIS_LOCK?\"true\":\"false\";if(!commit)return;const cardWidth=cardsIn(track)[0]?.offsetWidth??0;const threshold=Math.max(SWIPE_MINIMUM,cardWidth*SWIPE_FRACTION);if(Math.abs(travelled)>threshold){goTo(currentIndex(track)+(travelled<0?1:-1),track);}};const onPointerUp=()=>endSwipe(true);const onPointerCancel=()=>endSwipe(false);const wheel={travelled:0,locked:false,lastMagnitude:0,peak:0,decayed:false,idle:0};const rearm=()=>{wheel.locked=false;wheel.travelled=0;wheel.peak=0;wheel.decayed=false;};const onWheel=event=>{// Vertical intent: leave it alone so the page keeps scrolling.\nif(Math.abs(event.deltaX)<=Math.abs(event.deltaY))return;// Ours now — also stops the browser treating a horizontal swipe\n// as page scroll or a back-navigation gesture.\nevent.preventDefault();const magnitude=Math.abs(event.deltaX);wheel.peak=Math.max(wheel.peak,magnitude);if(magnitude<wheel.peak*WHEEL_DECAYED_FRACTION){wheel.decayed=true;}// Past its peak and now climbing again: fingers are back on the\n// trackpad, so let the next swipe through immediately instead of\n// waiting for the momentum tail to die down.\nif(wheel.locked&&wheel.decayed&&magnitude>wheel.lastMagnitude*WHEEL_REARM_RATIO&&magnitude>WHEEL_REARM_FLOOR){rearm();wheel.peak=magnitude;}wheel.lastMagnitude=magnitude;window.clearTimeout(wheel.idle);wheel.idle=window.setTimeout(()=>{rearm();wheel.lastMagnitude=0;},WHEEL_IDLE_MS);if(wheel.locked)return;wheel.travelled+=event.deltaX;if(Math.abs(wheel.travelled)<WHEEL_THRESHOLD)return;// One move per gesture, however long the momentum runs on.\nwheel.locked=true;goTo(currentIndex(track)+(wheel.travelled>0?1:-1),track);wheel.travelled=0;};track.addEventListener(\"pointerdown\",onPointerDown);window.addEventListener(\"pointermove\",onPointerMove);window.addEventListener(\"pointerup\",onPointerUp);window.addEventListener(\"pointercancel\",onPointerCancel);// Not passive: we need to be able to preventDefault.\ntrack.addEventListener(\"wheel\",onWheel,{passive:false});return()=>{observer?.disconnect();window.removeEventListener(\"resize\",run);track.removeEventListener(\"pointerdown\",onPointerDown);window.removeEventListener(\"pointermove\",onPointerMove);window.removeEventListener(\"pointerup\",onPointerUp);window.removeEventListener(\"pointercancel\",onPointerCancel);track.removeEventListener(\"wheel\",onWheel);window.clearTimeout(wheel.idle);};}/**\n * Apply to the \"Track\" collection list in the testimonial slider.\n *\n * Clicking anywhere on the slider advances one testimonial, and dragging or\n * a horizontal trackpad swipe or a touch swipe moves to the next or previous one.\n * Every card is placed\n * from its own distance to the centre rather than by moving the track, which\n * gives an endless loop in both directions — there is always a card either side,\n * and the one that falls off an edge reappears on the other — with the centre\n * card at full size and opacity and its neighbours scaled back and faded.\n *\n * Positioning each card individually is the only route here: the slider is one\n * CMS instance repeated, so Framer itself cannot style a card differently based\n * on which one is active.\n *\n * Sizes are measured from the rendered cards, so the layout holds at every\n * breakpoint and follows any change to the card width or the item count.\n */export function withTestimonialSlider(Component){return function TestimonialSlider(props){useEffect(()=>{if(typeof window===\"undefined\")return;// Framer can throw the track away and render a fresh one after this\n// effect has run (seen live on /about/careers: the Viewport gets a\n// new Track a moment after hydration). Anything bound to the old\n// element then goes nowhere, and the new cards sit in plain flow\n// with no dot lit until a click happens to re-run the layout. So\n// bind to whichever track is current, and rebind when it changes.\nlet bound=null;let unbind=null;let pending=0;const sync=()=>{pending=0;const track=getTrack();if(!track)return;if(track!==bound){unbind?.();bound=track;unbind=bind(track);}else if(needsLayout(track)){goTo(currentIndex(track),track);}};const schedule=()=>{if(!pending)pending=window.setTimeout(sync,50);};sync();const watcher=typeof MutationObserver!==\"undefined\"?new MutationObserver(schedule):null;watcher?.observe(document.body,{childList:true,subtree:true});return()=>{watcher?.disconnect();window.clearTimeout(pending);unbind?.();};},[]);const onClick=useCallback(event=>{const track=event?.currentTarget;const target=event?.target;if(track instanceof HTMLElement){const swiped=track.dataset[DRAGGED_KEY]===\"true\";delete track.dataset[DRAGGED_KEY];if(!swiped&&target instanceof Node){// Go to whichever card was clicked. Cards are hit-tested\n// where they appear, and DOM containment gives the card\n// that owns the clicked element, so a click on the left\n// neighbour steps back and the right one steps forward.\n// The centre card resolves to itself, so it does nothing.\nconst index=cardsIn(track).findIndex(card=>card.contains(target));if(index>=0)goTo(index,track);}}props.onClick?.(event);},[props.onClick]);return /*#__PURE__*/_jsx(Component,{...props,onClick:onClick});};}/**\n * Apply to the \"Dot Button\" repeated item in the testimonial slider's Dots list.\n *\n * Jumps straight to the testimonial this dot stands for, animating the whole way\n * however far it has to travel. Each dot is the same repeated CMS item, so it\n * works out which one it is from its position among its siblings — the dots and\n * the cards repeat over the same collection in the same order, so that position\n * is the card index.\n */export function withTestimonialDot(Component){return function TestimonialDot(props){const jump=useCallback(event=>{const dot=event?.currentTarget;const parent=dot instanceof HTMLElement?dot.parentElement:null;if(parent){const index=Array.from(parent.children).indexOf(dot);if(index>=0)goTo(index);}props.onClick?.(event);},[props.onClick]);const onKeyDown=useCallback(event=>{if(event?.key===\"Enter\"||event?.key===\" \"){event.preventDefault?.();jump(event);}props.onKeyDown?.(event);},[jump,props.onKeyDown]);return /*#__PURE__*/_jsx(Component,{...props,role:\"button\",onClick:jump,onKeyDown:onKeyDown});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTestimonialDot\":{\"type\":\"reactHoc\",\"name\":\"withTestimonialDot\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTestimonialSlider\":{\"type\":\"reactHoc\",\"name\":\"withTestimonialSlider\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TestimonialSlider.map"],"mappings":"A,meAC8xB,SAASqD,EAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAc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