{"version":3,"file":"MainButton.BAVfsg-U.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/i8QlGGH3DroZAm9ByTzF/JDVecSLD6TcmtYeDZqmP/MainButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function AnimatedButton(props){const{text,link,variant}=props;const isPrimary=variant===\"Primary\";const hasLink=!!link&&link.trim()!==\"\"&&link!==\"#\";const Tag=hasLink?\"a\":\"button\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .button {\n                    --ease-elastic: linear(\n                        0, 0.42 8%, 0.72 14%, 0.9 20%, 1.02 26%,\n                        1.08 32%, 1.1 36%, 1.08 42%, 1.04 50%,\n                        1.01 62%, 0.995 74%, 1\n                    );\n                    display: inline-flex;\n                    align-items: center;\n                    justify-content: center;\n                    padding: 14px 28px;\n                    border-radius: 999px;\n                    border: none;\n                    cursor: pointer;\n                    text-decoration: none;\n                    color: white;\n                    font-size: 16px;\n                    font-weight: 600;\n                    letter-spacing: -0.3px;\n                    overflow: hidden;\n                    transition: transform 0.65s var(--ease-elastic);\n                }\n                .button-text-wrap {\n                    display: block;\n                    height: 1.2em;\n                    overflow: hidden;\n                    transition: transform 0.65s var(--ease-elastic);\n                }\n                .button-text {\n                    --text-distance: 1.2em;\n                    display: block;\n                    line-height: 1.2em;\n                    text-shadow: 0 var(--text-distance) currentColor;\n                    transition: transform 0.65s var(--ease-elastic);\n                }\n                .button:hover {\n                    transform: scale(0.92) rotate(-3deg);\n                }\n                .button:hover .button-text-wrap {\n                    transform: rotate(4deg);\n                }\n                .button:hover .button-text {\n                    transform: translateY(calc(-1 * var(--text-distance)));\n                }\n            `}),/*#__PURE__*/_jsx(Tag,{className:\"button\",style:{background:isPrimary?\"#f65600\":\"#020108\"},...hasLink?{href:link}:{},children:/*#__PURE__*/_jsx(\"span\",{className:\"button-text-wrap\",children:/*#__PURE__*/_jsx(\"span\",{className:\"button-text\",children:text})})})]});}AnimatedButton.defaultProps={text:\"Get Started\",variant:\"Primary\",link:\"\"};addPropertyControls(AnimatedButton,{text:{type:ControlType.String,title:\"Label\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"\"},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"Primary\",\"Dark\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AnimatedButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MainButton.map"],"mappings":"0KAAmI,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,OAAK,OAAK,WAAS,EAAY,EAAU,IAAU,UAAgB,EAAQ,CAAC,CAAC,GAAM,EAAK,KAAK,IAAI,IAAI,IAAO,IAAmC,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA4C5Y,CAAC,EAAe,EA5CoR,EAAQ,IAAI,SA4CvR,CAAC,UAAU,SAAS,MAAM,CAAC,WAAW,EAAU,UAAU,SAAS,EAAE,GAAG,EAAQ,CAAC,KAAK,CAAI,EAAE,CAAC,EAAE,SAAsB,EAAK,OAAO,CAAC,UAAU,mBAAmB,SAAsB,EAAK,OAAO,CAAC,UAAU,cAAc,SAAS,CAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBA5CzM,IAAoD,EA4CsJ,EAAe,aAAa,CAAC,KAAK,cAAc,QAAQ,UAAU,KAAK,EAAE,EAAE,EAAoB,EAAe,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,EAAE,EAAE,QAAQ,CAAC,KAAK,EAAY,KAAK,MAAM,UAAU,QAAQ,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC"}