{"version":3,"file":"PhotoFlowGraph.BxLDOxku.mjs","names":[],"sources":["https:/framerusercontent.com/modules/JYn8IZLGS4R3hRQMqfQQ/rF0lbjrrzAWNRskuHMty/PhotoFlowGraph.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useReducedMotion}from\"framer-motion\";const imageProps=image=>{if(!image)return null;return typeof image===\"string\"?{src:image,alt:\"\"}:image;};function Logo({image,width,height}){const logo=imageProps(image);return /*#__PURE__*/_jsx(\"div\",{style:{width,height,flex:`0 1 ${width}px`,minWidth:42,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"transparent\",border:\"none\",boxShadow:\"none\",overflow:\"visible\"},children:logo?.src&&/*#__PURE__*/_jsx(\"img\",{src:logo.src,srcSet:logo.srcSet,alt:logo.alt||\"\",draggable:false,style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"contain\",objectPosition:\"center\",background:\"transparent\",border:\"none\",boxShadow:\"none\"}})});}function Connector({lineColor,highlightColor,lineWidth,laneGap,arrowSize,duration,delay,reduceMotion}){const arrowHalf=arrowSize*.52;const glowWidth=Math.max(2,lineWidth*1.5);const baseLine={position:\"absolute\",height:lineWidth,borderRadius:999,background:lineColor,transform:\"translateY(-50%)\"};const glow={position:\"absolute\",width:\"18%\",minWidth:16,maxWidth:42,height:glowWidth,borderRadius:999,background:highlightColor,boxShadow:`0 0 8px ${highlightColor}`,transform:\"translateY(-50%)\",pointerEvents:\"none\"};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",minWidth:42,position:\"relative\",overflow:\"visible\"},\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"div\",{style:{...baseLine,left:0,right:arrowSize-1,top:`calc(50% - ${laneGap/2}px)`}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",right:0,top:`calc(50% - ${laneGap/2}px)`,width:0,height:0,borderTop:`${arrowHalf}px solid transparent`,borderBottom:`${arrowHalf}px solid transparent`,borderLeft:`${arrowSize}px solid ${lineColor}`,transform:\"translateY(-50%)\"}}),/*#__PURE__*/_jsx(motion.div,{style:{...glow,left:0,top:`calc(50% - ${laneGap/2}px)`},initial:{left:\"0%\",opacity:0},animate:reduceMotion?{left:\"41%\",opacity:.55}:{left:[\"0%\",\"78%\"],opacity:[0,.9,.9,0]},transition:reduceMotion?undefined:{duration,repeat:Infinity,ease:\"easeInOut\",delay,times:[0,.14,.82,1]}}),/*#__PURE__*/_jsx(\"div\",{style:{...baseLine,left:arrowSize-1,right:0,top:`calc(50% + ${laneGap/2}px)`}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:`calc(50% + ${laneGap/2}px)`,width:0,height:0,borderTop:`${arrowHalf}px solid transparent`,borderBottom:`${arrowHalf}px solid transparent`,borderRight:`${arrowSize}px solid ${lineColor}`,transform:\"translateY(-50%)\"}}),/*#__PURE__*/_jsx(motion.div,{style:{...glow,left:\"78%\",top:`calc(50% + ${laneGap/2}px)`},initial:{left:\"78%\",opacity:0},animate:reduceMotion?{left:\"41%\",opacity:.55}:{left:[\"78%\",\"0%\"],opacity:[0,.9,.9,0]},transition:reduceMotion?undefined:{duration,repeat:Infinity,ease:\"easeInOut\",delay:delay+duration*.18,times:[0,.14,.82,1]}})]});}/**\n * Physiflow three-logo bidirectional sync animation.\n * Transparent logos. No cards, circles, fills, borders, or shadows.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function PhysiflowTwoWaySync(props){const{leftLogo,centerLogo,rightLogo,leftLogoWidth=112,centerLogoWidth=154,rightLogoWidth=112,logoHeight=72,logoGap=18,lineColor=\"rgba(26, 58, 91, 0.34)\",highlightColor=\"#55CFD8\",lineWidth=1.5,laneGap=14,arrowSize=8,flowSpeed=\"Slow\"}=props;const reduceMotion=Boolean(useReducedMotion());const duration=flowSpeed===\"Fast\"?2.8:flowSpeed===\"Normal\"?3.8:5.2;const safeHeight=Math.max(38,logoHeight);const safeGap=Math.max(0,logoGap);const connectorProps={lineColor,highlightColor,lineWidth:Math.max(1,lineWidth),laneGap:Math.max(8,laneGap),arrowSize:Math.max(5,arrowSize),duration,reduceMotion};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",minWidth:280,minHeight:safeHeight+24,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"12px 4px\",boxSizing:\"border-box\",background:\"transparent\",overflow:\"visible\"},children:[/*#__PURE__*/_jsx(Logo,{image:leftLogo,width:Math.max(48,leftLogoWidth),height:safeHeight}),/*#__PURE__*/_jsx(\"div\",{style:{flex:\"1 1 90px\",minWidth:42,height:safeHeight,marginInline:safeGap},children:/*#__PURE__*/_jsx(Connector,{...connectorProps,delay:0})}),/*#__PURE__*/_jsx(Logo,{image:centerLogo,width:Math.max(60,centerLogoWidth),height:safeHeight}),/*#__PURE__*/_jsx(\"div\",{style:{flex:\"1 1 90px\",minWidth:42,height:safeHeight,marginInline:safeGap},children:/*#__PURE__*/_jsx(Connector,{...connectorProps,delay:duration*.12})}),/*#__PURE__*/_jsx(Logo,{image:rightLogo,width:Math.max(48,rightLogoWidth),height:safeHeight})]});}addPropertyControls(PhysiflowTwoWaySync,{leftLogo:{type:ControlType.ResponsiveImage,title:\"Left Logo\"},centerLogo:{type:ControlType.ResponsiveImage,title:\"Centre Logo\"},rightLogo:{type:ControlType.ResponsiveImage,title:\"Right Logo\"},leftLogoWidth:{type:ControlType.Number,title:\"Left Width\",defaultValue:112,min:48,max:240,step:2,unit:\"px\"},centerLogoWidth:{type:ControlType.Number,title:\"Centre Width\",defaultValue:154,min:60,max:280,step:2,unit:\"px\"},rightLogoWidth:{type:ControlType.Number,title:\"Right Width\",defaultValue:112,min:48,max:240,step:2,unit:\"px\"},logoHeight:{type:ControlType.Number,title:\"Logo Height\",defaultValue:72,min:38,max:160,step:2,unit:\"px\"},logoGap:{type:ControlType.Number,title:\"Logo Gap\",defaultValue:18,min:4,max:60,step:1,unit:\"px\"},lineColor:{type:ControlType.Color,title:\"Line\",defaultValue:\"rgba(26, 58, 91, 0.34)\"},highlightColor:{type:ControlType.Color,title:\"Sync Highlight\",defaultValue:\"#55CFD8\"},lineWidth:{type:ControlType.Number,title:\"Line Width\",defaultValue:1.5,min:1,max:4,step:.25},laneGap:{type:ControlType.Number,title:\"Lane Gap\",defaultValue:14,min:8,max:28,step:1,unit:\"px\"},arrowSize:{type:ControlType.Number,title:\"Arrow Size\",defaultValue:8,min:5,max:14,step:1,unit:\"px\"},flowSpeed:{type:ControlType.Enum,title:\"Sync Speed\",options:[\"Slow\",\"Normal\",\"Fast\"],defaultValue:\"Slow\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PhysiflowTwoWaySync\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PhotoFlowGraph.map"],"mappings":"2NAAyQ,SAAS,EAAK,CAAC,QAAM,QAAM,UAAQ,CAAC,IAAM,EAAK,EAAW,CAAK,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAM,SAAO,KAAK,OAAO,EAAM,IAAI,SAAS,GAAG,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,WAAW,cAAc,OAAO,OAAO,UAAU,OAAO,SAAS,SAAS,EAAE,SAAS,GAAM,KAAkB,EAAK,MAAM,CAAC,IAAI,EAAK,IAAI,OAAO,EAAK,OAAO,IAAI,EAAK,KAAK,GAAG,UAAU,GAAM,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,UAAU,UAAU,eAAe,SAAS,WAAW,cAAc,OAAO,OAAO,UAAU,MAAM,CAAC,CAAC,CAA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