{"version":3,"file":"shared-lib.BcaSKWkv.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/mBXFScuJW53rDkEN2OWo/LoV2FOzJEC7wxIrZVLVh/HamburgerMenu.js","https:/framerusercontent.com/modules/Ibg64jukkeBFOE4xKgLU/GVfgQz62YAhbzKhQ4n45/j5Jyok3Xr.js","https:/framerusercontent.com/modules/hGWQ6DoocusTRlKjXbzF/itczqvbEqpED3jEVlLGI/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function HamburgerMenu(props){const{strokeColor=\"#FFFFFF\",strokeWidth=3,size=48,defaultChecked=false,onToggle}=props;const[isChecked,setIsChecked]=useState(defaultChecked);const handleChange=()=>{const newChecked=!isChecked;startTransition(()=>{setIsChecked(newChecked);});if(onToggle){onToggle(newChecked);}};return /*#__PURE__*/_jsxs(\"label\",{style:{cursor:\"pointer\",display:\"inline-block\",width:size,height:size},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:isChecked,onChange:handleChange,style:{display:\"none\"},\"aria-label\":\"Toggle menu\"}),/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 32 32\",style:{width:\"100%\",height:\"100%\",transform:isChecked?\"rotate(-45deg)\":\"rotate(0deg)\",transition:\"transform 600ms cubic-bezier(0.4, 0, 0.2, 1)\"},children:[/*#__PURE__*/_jsx(\"path\",{className:\"line line-top-bottom\",d:\"M27 10 13 10C10.8 10 9 8.2 9 6 9 3.5 10.8 2 13 2 15.2 2 17 3.8 17 6L17 26C17 28.2 18.8 30 21 30 23.2 30 25 28.2 25 26 25 23.8 23.2 22 21 22L7 22\",fill:\"none\",stroke:strokeColor,strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:strokeWidth,strokeDasharray:isChecked?\"20 300\":\"12 63\",strokeDashoffset:isChecked?-32.42:0,style:{transition:\"stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1)\"}}),/*#__PURE__*/_jsx(\"path\",{className:\"line\",d:\"M7 16 27 16\",fill:\"none\",stroke:strokeColor,strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:strokeWidth,style:{transition:\"stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1)\"}})]}),isChecked&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:72,right:0,display:\"flex\",flexDirection:\"column\",gap:\"20px\",textAlign:\"right\"},children:[/*#__PURE__*/_jsx(\"a\",{href:\"/\",style:{color:\"#FFFFFF\",textDecoration:\"none\",fontSize:\"18px\",fontFamily:\"Montserrat\"},children:\"Home\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/about\",style:{color:\"#FFFFFF\",textDecoration:\"none\",fontSize:\"18px\",fontFamily:\"Montserrat\"},children:\"About\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/services\",style:{color:\"#FFFFFF\",textDecoration:\"none\",fontSize:\"18px\",fontFamily:\"Montserrat\"},children:\"Services\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/contact\",style:{color:\"#FFFFFF\",textDecoration:\"none\",fontSize:\"18px\",fontFamily:\"Montserrat\"},children:\"Contact\"})]})]});}addPropertyControls(HamburgerMenu,{strokeColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:3,min:1,max:6,step:.5},size:{type:ControlType.Number,title:\"Size\",defaultValue:48,min:24,max:500,step:4,unit:\"px\"},defaultChecked:{type:ControlType.Boolean,title:\"Default State\",defaultValue:false,enabledTitle:\"Open\",disabledTitle:\"Closed\",description:\"Made with ❤️ by [Pixelcot](https://www.pixelcot.com)\"},onToggle:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HamburgerMenu\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HamburgerMenu.map","// Generated by Framer (8bbc62e)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-XQbo0 .framer-styles-preset-1ihd44u:not(.rich-text-wrapper), .framer-XQbo0 .framer-styles-preset-1ihd44u.rich-text-wrapper a { --framer-link-text-color: #ffffff; }\"];export const className=\"framer-XQbo0\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (3ad0d99)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"My Framer Site\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"0LAGG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,cAAY,UAAU,cAAY,EAAE,OAAK,GAAG,iBAAe,GAAM,YAAU,EAAW,CAAC,EAAU,GAAcA,EAAS,EAAe,CAA2I,OAAoB,EAAM,QAAQ,CAAC,MAAM,CAAC,OAAO,UAAU,QAAQ,eAAe,MAAM,EAAK,OAAO,EAAK,CAAC,SAAS,C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