{"version":3,"file":"WaterLevelAnimation.DtJr0mnP.mjs","names":[],"sources":["https:/framerusercontent.com/modules/mxMiMSrJiYa6l15xihMJ/mTiaHaK6fLOKXbWxj7M0/WaterLevelAnimation.js"],"sourcesContent":["// Animated water level frame with adjustable linear gradient that moves up and down\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function WaterLevelAnimation(props){const{topColor,bottomColor,gradientAngle,animationDuration,animationIntensity,animationDelay}=props;const isStatic=useIsStaticRenderer();const baseGradient=`linear-gradient(${gradientAngle}deg, ${bottomColor} 0%, ${topColor} 100%)`;if(isStatic){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",background:baseGradient,position:\"relative\"}});}return /*#__PURE__*/_jsx(motion.div,{style:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\"},animate:{background:[`linear-gradient(${gradientAngle}deg, ${bottomColor} 0%, ${topColor} ${50+animationIntensity}%)`,`linear-gradient(${gradientAngle}deg, ${bottomColor} 0%, ${topColor} ${50-animationIntensity}%)`,`linear-gradient(${gradientAngle}deg, ${bottomColor} 0%, ${topColor} ${50+animationIntensity}%)`]},transition:{duration:animationDuration,repeat:Infinity,ease:\"easeInOut\",delay:animationDelay}});}addPropertyControls(WaterLevelAnimation,{topColor:{type:ControlType.Color,title:\"Top Color\",defaultValue:\"#0099FF\"},bottomColor:{type:ControlType.Color,title:\"Bottom Color\",defaultValue:\"#004080\"},gradientAngle:{type:ControlType.Number,title:\"Gradient Angle\",defaultValue:0,min:0,max:360,step:1,unit:\"deg\"},animationDuration:{type:ControlType.Number,title:\"Animation Duration\",defaultValue:3,min:.5,max:10,step:.1,unit:\"s\"},animationIntensity:{type:ControlType.Number,title:\"Animation Intensity\",defaultValue:25,min:5,max:45,step:1,unit:\"%\"},animationDelay:{type:ControlType.Number,title:\"Animation Delay\",defaultValue:0,min:0,max:5,step:.1,unit:\"s\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WaterLevelAnimation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WaterLevelAnimation.map"],"mappings":"0UAIG,SAAwB,EAAoB,EAAM,CAAC,GAAK,CAAC,WAAS,cAAY,gBAAc,oBAAkB,qBAAmB,iBAAe,CAAC,EAAY,EAAS,IAA4B,EAAa,mBAAmB,EAAc,OAAO,EAAY,OAAO,EAAS,QAAuI,OAA5H,EAA8B,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,WAAW,EAAa,SAAS,WAAW,CAAC,EAAuB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,SAAS,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,mBAAmB,EAAc,OAAO,EAAY,OAAO,EAAS,GAAG,GAAG,EAAmB,IAAI,mBAAmB,EAAc,OAAO,EAAY,OAAO,EAAS,GAAG,GAAG,EAAmB,IAAI,mBAAmB,EAAc,OAAO,EAAY,OAAO,EAAS,GAAG,GAAG,EAAmB,IAAI,CAAC,CAAC,WAAW,CAAC,SAAS,EAAkB,OAAO,IAAS,KAAK,YAAY,MAAM,EAAe,CAAC,CAAG,6BAAoB,EAAoB,CAAC,SAAS,CAAC,KAAK,EAAY,MAAM,MAAM,YAAY,aAAa,UAAU,CAAC,YAAY,CAAC,KAAK,EAAY,MAAM,MAAM,eAAe,aAAa,UAAU,CAAC,cAAc,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,KAAK,MAAM,CAAC,kBAAkB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