{"version":3,"file":"FormEffects.9atwADNp.mjs","names":[],"sources":["https:/framerusercontent.com/modules/I3ge4zKWzWc6UDusQZ4Q/mUVIshxejAooHWY8GYvg/EnBFEd1fP.js","https:/framerusercontent.com/modules/1PFxQr71yMJR8zXRKKxo/TuYgVehts7Cs5yHkhzjI/FormEffects.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 5.999 11.223 C 5.999 7.495 9.021 4.473 12.749 4.473 C 12.872 4.473 12.995 4.473 13.118 4.483 L 13.118 4.483 C 12.269 2.102 10.16 0.394 7.654 0.06 C 5.148 -0.275 2.665 0.818 1.221 2.893 C -0.224 4.968 -0.388 7.676 0.795 9.91 L 0.03 12.513 C -0.047 12.776 0.026 13.06 0.22 13.254 C 0.414 13.448 0.698 13.521 0.961 13.444 L 3.561 12.676 C 4.429 13.141 5.39 13.41 6.374 13.462 L 6.374 13.462 C 6.123 12.742 5.996 11.985 5.999 11.223 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"13.473964841712082px\" id=\"jy1nTKRcn\" transform=\"translate(2.251 3.027)\" width=\"13.117906472763037px\"/><path d=\"M 0 1.125 C 0 0.504 0.504 0 1.125 0 C 1.746 0 2.25 0.504 2.25 1.125 C 2.25 1.746 1.746 2.25 1.125 2.25 C 0.504 2.25 0 1.746 0 1.125 Z\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"2.25px\" id=\"CPfHM6Ulw\" transform=\"translate(11.25 12)\" width=\"2.25px\"/><path d=\"M 0 1.125 C 0 0.504 0.504 0 1.125 0 C 1.746 0 2.25 0.504 2.25 1.125 C 2.25 1.746 1.746 2.25 1.125 2.25 C 0.504 2.25 0 1.746 0 1.125 Z\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"2.25px\" id=\"yU77oWDVG\" transform=\"translate(16.5 12)\" width=\"2.25px\"/><path d=\"M 6.747 13.5 C 3.713 13.499 1.052 11.472 0.244 8.547 C -0.564 5.621 0.68 2.516 3.284 0.958 C 5.889 -0.6 9.213 -0.229 11.409 1.865 C 13.605 3.96 14.134 7.262 12.701 9.938 L 13.466 12.54 C 13.543 12.803 13.47 13.088 13.276 13.282 C 13.082 13.476 12.798 13.548 12.535 13.471 L 9.935 12.703 C 8.955 13.228 7.859 13.502 6.747 13.5 Z\" fill=\"transparent\" height=\"13.501457030009604px\" id=\"ewgvWJmdX\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(8.253 7.5)\" width=\"13.50080809235591px\"/><path d=\"M 6.376 13.462 C 5.392 13.41 4.432 13.141 3.564 12.676 L 0.961 13.441 C 0.698 13.518 0.414 13.445 0.22 13.251 C 0.026 13.057 -0.047 12.773 0.03 12.51 L 0.793 9.91 C -0.391 7.676 -0.227 4.968 1.218 2.893 C 2.662 0.818 5.145 -0.275 7.651 0.06 C 10.157 0.394 12.266 2.102 13.115 4.483\" fill=\"transparent\" height=\"13.471152341712086px\" id=\"yZBD4GnoP\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(2.254 3.027)\" width=\"13.115093972763036px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"1167808242\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-rrp7J\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-rrp7J { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Wechat Logo\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-rrp7J\");Icon.displayName=\"Wechat Logo\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Wechat Logo\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"24\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"true\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";// ==========================================\n// 👇 EDIT YOUR SETTINGS HERE\n// ==========================================\n// 1. STARTING POSITION (Offset from where he is on canvas)\n// 0 = Stay exactly where I placed him\n// -50 = Start 50px to the Left\n// 50 = Start 50px to the Right\nconst DOG_START_X=40;const DOG_START_Y=0;// 2. MOVEMENT DISTANCE (How far he moves from the start)\n// -20 = Move 20px Left then back\n// 20 = Move 20px Right then back\nconst DOG_MOVE_X=-20;const DOG_MOVE_Y=0;// 3. SPEED\n// How many seconds for one full loop? (Higher = Slower)\nconst DOG_SPEED=4;// ==========================================\n// ⛔️ DO NOT EDIT BELOW THIS LINE\n// ==========================================\nexport function withSwayingDog(Component){return props=>{return /*#__PURE__*/_jsx(motion.div,{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"flex-end\"},animate:{// We add the Start position to the Movement\nx:[DOG_START_X,DOG_START_X+DOG_MOVE_X,DOG_START_X],y:[DOG_START_Y,DOG_START_Y+DOG_MOVE_Y,DOG_START_Y]},transition:{duration:DOG_SPEED,repeat:Infinity,ease:\"easeInOut\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withLightningButton(Component){return props=>{return /*#__PURE__*/_jsxs(motion.div,{initial:\"idle\",whileHover:\"active\",whileTap:\"active\",style:{position:\"relative\",display:\"inline-block\",width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(Component,{...props}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,borderRadius:100,overflow:\"hidden\",pointerEvents:\"none\",zIndex:2},children:/*#__PURE__*/_jsx(motion.div,{animate:{x:[\"-100%\",\"200%\"]},transition:{repeat:Infinity,duration:2.5,ease:\"linear\",repeatDelay:3},style:{width:\"50%\",height:\"100%\",background:\"linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent)\",transform:\"skewX(-20deg)\"}})}),/*#__PURE__*/_jsx(motion.div,{variants:{idle:{opacity:0,y:10,scale:.5},active:{opacity:[0,1,0],y:-50,scale:1.5,transition:{duration:.8,repeat:Infinity,repeatDelay:.1}}},style:{position:\"absolute\",top:0,left:\"50%\",x:\"-50%\",fontSize:24,pointerEvents:\"none\",zIndex:10,filter:\"drop-shadow(0 0 8px #FDE047)\"},children:\"⚡\"})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withLightningButton\":{\"type\":\"reactHoc\",\"name\":\"withLightningButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSwayingDog\":{\"type\":\"reactHoc\",\"name\":\"withSwayingDog\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingUR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