{"version":3,"file":"BouncingHeaderFavicon.qFLWGR2_.mjs","names":["React.useId"],"sources":["https:/framerusercontent.com/modules/wscqXuBIemreJZNmy1Xf/jdOTAEl03Hv9YMOUVtj8/BouncingHeaderFavicon.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function BouncingHeaderFavicon(props){const{color=\"#FFC017\",duration=2.2,textSize=110,offsetAdjust=0}=props;const scale=textSize/110;const isSmallHeading=textSize<90;const restingY=(isSmallHeading?0:Math.round(-34*scale))+offsetAdjust;const bounce=Math.max(2,Math.round(5*scale));const animId=React.useId().replace(/:/g,\"\");return /*#__PURE__*/_jsxs(\"a\",{href:\"/\",\"aria-label\":\"Evoke home\",style:{display:\"block\",width:\"100%\",height:\"100%\",textDecoration:\"none\",color:\"inherit\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes favBounce${animId} {\n                    0%, 100% { transform: translateY(${restingY-2}px); }\n                    50% { transform: translateY(${restingY+bounce}px); }\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"visible\",display:\"block\",animation:`favBounce${animId} ${duration}s ease-in-out infinite`,willChange:\"transform\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,transform:\"rotate(-90deg)\",transformOrigin:\"50% 50%\",overflow:\"visible\"},children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 90 106\",width:\"100%\",height:\"100%\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{display:\"block\",overflow:\"visible\"},children:[/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:\"31\",height:\"106\",rx:\"4\",fill:color}),/*#__PURE__*/_jsx(\"path\",{d:\"M31 48L86 0C88.5 -2.2 90 0.7 90 5V101C90 105.3 88.5 108.2 86 106L31 58V48Z\",fill:color})]})})})]});}addPropertyControls(BouncingHeaderFavicon,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFC017\"},textSize:{type:ControlType.Number,title:\"Text Size\",defaultValue:110,min:24,max:160,step:1,description:\"Match the heading font size\"},offsetAdjust:{type:ControlType.Number,title:\"Offset Adjust\",defaultValue:0,min:-20,max:20,step:1,description:\"Nudge vertical position (negative = higher)\"},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:2.2,min:.8,max:6,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BouncingHeaderFavicon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BouncingHeaderFavicon.map"],"mappings":"iLAGG,SAAwB,EAAsB,EAAM,CAAC,GAAK,CAAC,QAAM,UAAU,WAAS,IAAI,WAAS,IAAI,eAAa,GAAG,EAAY,EAAM,EAAS,IAA2C,GAAlB,EAAS,GAAkC,EAAE,KAAK,MAAM,IAAI,CAAK,GAAG,EAAmB,EAAO,KAAK,IAAI,EAAE,KAAK,MAAM,EAAE,CAAK,CAAC,EAAQ,EAAOA,EAAY,CAAC,CAAC,QAAQ,KAAK,EAAE,EAAE,OAAoB,EAAM,IAAI,CAAC,KAAK,IAAI,aAAa,aAAa,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,eAAe,OAAO,MAAM,SAAS,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;sCACzf,EAAO;uDACU,EAAS,EAAE;kDAChB,EAAS,EAAO;;aAErD,CAAC,EAAe,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,UAAU,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