{"version":3,"file":"Logo.WMo2siYu.mjs","names":["React.useMemo","p"],"sources":["https:/framerusercontent.com/modules/eXMfQSixqEtVGgODEuWN/VrYwmZxb0mihWDZUSw8W/Logo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PulsatingLogo(props){const{color,animationType,speed,pulseScale,minOpacity}=props;const logoPaths=[\"M115.511 77.3257C119.172 73.5582 119.172 67.4498 115.511 63.6823C111.85 59.9148 105.915 59.9148 102.255 63.6823C98.594 67.4498 98.594 73.5582 102.255 77.3257C105.915 81.0933 111.85 81.0933 115.511 77.3257Z\",\"M115.511 118.884C119.172 115.117 119.172 109.008 115.511 105.241C111.85 101.473 105.915 101.473 102.255 105.241C98.594 109.008 98.594 115.117 102.255 118.884C105.915 122.652 111.85 122.652 115.511 118.884Z\",\"M115.511 35.7545C119.172 31.9869 119.172 25.8785 115.511 22.111C111.85 18.3435 105.915 18.3435 102.255 22.111C98.594 25.8785 98.594 31.9869 102.255 35.7545C105.915 39.522 111.85 39.522 115.511 35.7545Z\",\"M34.7488 35.7545C38.4095 31.9869 38.4095 25.8785 34.7488 22.111C31.0882 18.3435 25.1531 18.3435 21.4924 22.111C17.8318 25.8785 17.8318 31.9869 21.4924 35.7545C25.1531 39.522 31.0882 39.522 34.7488 35.7545Z\",\"M34.7488 118.884C38.4095 115.117 38.4095 109.008 34.7488 105.241C31.0882 101.473 25.1531 101.473 21.4924 105.241C17.8318 109.008 17.8318 115.117 21.4924 118.884C25.1531 122.652 31.0882 122.652 34.7488 118.884Z\",\"M75.1233 118.776C78.7839 114.863 78.7839 108.52 75.1233 104.607C71.4626 100.695 65.5275 100.695 61.8669 104.607C58.2062 108.52 58.2062 114.863 61.8669 118.776C65.5275 122.688 71.4626 122.688 75.1233 118.776Z\",\"M53.4122 138.826C56.2281 135.928 56.2281 131.23 53.4122 128.331C50.5963 125.433 46.0309 125.433 43.215 128.331C40.3991 131.23 40.3991 135.928 43.215 138.826C46.0309 141.725 50.5963 141.725 53.4122 138.826Z\",\"M93.7867 138.826C96.6026 135.928 96.6026 131.23 93.7867 128.331C90.9708 125.433 86.4053 125.433 83.5894 128.331C80.7736 131.23 80.7736 135.928 83.5894 138.826C86.4053 141.725 90.9708 141.725 93.7867 138.826Z\",\"M75.1233 35.7545C78.7839 31.9869 78.7839 25.8785 75.1233 22.111C71.4626 18.3435 65.5275 18.3435 61.8669 22.111C58.2062 25.8785 58.2062 31.9869 61.8669 35.7545C65.5275 39.522 71.4626 39.522 75.1233 35.7545Z\",\"M35.3643 77.3257C39.1657 73.5582 39.1657 67.4498 35.3643 63.6823C31.5628 59.9148 25.3995 59.9148 21.598 63.6823C17.7966 67.4498 17.7966 73.5582 21.598 77.3257C25.3995 81.0933 31.5628 81.0933 35.3643 77.3257Z\",\"M53.8239 2.11924C56.5694 4.94489 56.5694 9.52617 53.8239 12.3518C51.0784 15.1775 46.6271 15.1775 43.8816 12.3518C41.1361 9.52617 41.1361 4.94489 43.8816 2.11924C46.6271 -0.706412 51.0784 -0.706412 53.8239 2.11924Z\",\"M134.888 54.9685C132.072 57.8666 127.507 57.8666 124.691 54.9685C121.875 52.0704 121.875 47.3717 124.691 44.4736C127.507 41.5755 132.072 41.5755 134.888 44.4736C137.704 47.3717 137.704 52.0704 134.888 54.9685Z\",\"M2.11191 86.0315C4.9278 83.1334 9.49325 83.1334 12.3091 86.0315C15.125 88.9296 15.125 93.6283 12.3091 96.5264C9.49325 99.4245 4.9278 99.4245 2.11191 96.5264C-0.703971 93.6283 -0.703971 88.9296 2.11191 86.0315Z\",\"M93.7867 2.17358C96.6026 5.07168 96.6026 9.77043 93.7867 12.6685C90.9708 15.5666 86.4053 15.5666 83.5894 12.6685C80.7736 9.77043 80.7736 5.07168 83.5894 2.17358C86.4053 -0.724525 90.9708 -0.724525 93.7867 2.17358Z\",\"M134.888 96.5228C132.072 99.4209 127.507 99.4209 124.691 96.5228C121.875 93.6247 121.875 88.926 124.691 86.0279C127.507 83.1298 132.072 83.1298 134.888 86.0279C137.704 88.926 137.704 93.6247 134.888 96.5228Z\",\"M2.11191 44.4771C4.9278 41.579 9.49325 41.579 12.3091 44.4771C15.125 47.3752 15.125 52.074 12.3091 54.9721C9.49325 57.8702 4.9278 57.8702 2.11191 54.9721C-0.703971 52.074 -0.703971 47.3752 2.11191 44.4771Z\"];// Pre-calculate positions (rough centers) for diagonal logic\n// We assume the first Move command (M x y) is close enough to the dot's center\nconst positions=React.useMemo(()=>{return logoPaths.map(d=>{const match=/M\\s*([\\d\\.]+)\\s+([\\d\\.]+)/.exec(d);if(match){return{x:parseFloat(match[1]),y:parseFloat(match[2])};}return{x:0,y:0};});},[]);// Find min and max diagonal distances (x + y) to normalize delays\nconst{minSum,maxSum}=React.useMemo(()=>{let min=Infinity;let max=-Infinity;positions.forEach(p=>{const sum=p.x+p.y;if(sum<min)min=sum;if(sum>max)max=sum;});return{minSum:min,maxSum:max};},[positions]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",overflow:\"visible\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"100%\",height:\"100%\",viewBox:\"0 0 137 141\",fill:\"none\",overflow:\"visible\",xmlns:\"http://www.w3.org/2000/svg\",children:logoPaths.map((d,i)=>{let delay=0;if(animationType===\"Diagonal\"){// Calculate score: top-left (low x+y) to bottom-right (high x+y)\nconst score=positions[i].x+positions[i].y;// Normalize 0 to 1\nconst normalized=(score-minSum)/(maxSum-minSum);delay=normalized*speed;}else if(animationType===\"Wave\"){delay=i/logoPaths.length*speed;}else if(animationType===\"Random\"){delay=i*13%10/10*speed;}return /*#__PURE__*/_jsx(motion.path,{d:d,fill:color,style:{transformBox:\"fill-box\",transformOrigin:\"center\"},initial:{scale:1,opacity:1},animate:{scale:[1,pulseScale,1],opacity:[1,minOpacity,1]},transition:{duration:speed,ease:\"easeInOut\",repeat:Infinity,repeatType:\"mirror\",delay:delay}},i);})})});}addPropertyControls(PulsatingLogo,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\"},animationType:{type:ControlType.Enum,title:\"Type\",options:[\"Diagonal\",\"Wave\",\"Sync\",\"Random\"],optionTitles:[\"Diagonal Wave\",\"Index Wave\",\"Synchronous\",\"Random Sparkle\"],defaultValue:\"Diagonal\"},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:2,min:.1,max:5,step:.1},pulseScale:{type:ControlType.Number,title:\"Scale\",defaultValue:1.5,min:0,max:3,step:.1,description:\"Set > 1 to increase size, < 1 to decrease.\"},minOpacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:.5,min:0,max:1,step:.1,description:\"Lowest opacity during pulse.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PulsatingLogo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Logo.map"],"mappings":"2NAGG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,QAAM,gBAAc,QAAM,aAAW,cAAY,EAAY,EAAU,CAAC,gNAAgN,gNAAgN,4MAA4M,gNAAgN,oNAAoN,kNAAkN,gNAAgN,kNAAkN,gNAAgN,kNAAkN,wNAAwN,oNAAoN,oNAAoN,wNAAwN,kNAAkN,gNAAgN,CAEx5G,EAAUA,MAA0B,EAAU,IAAI,GAAG,CAAC,IAAM,EAAM,4BAA4B,KAAK,EAAE,CAAkE,OAA9D,EAAa,CAAC,EAAE,WAAW,EAAM,GAAG,CAAC,EAAE,WAAW,EAAM,GAAG,CAAC,CAAQ,CAAC,EAAE,EAAE,EAAE,EAAE,EAAG,CAAG,EAAE,CAAC,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