{"version":3,"file":"Generic.D4MSWJBf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Py7JyboVR4iNc5pwlXKU/mnEimKavFgwCrsgh0uKL/DynamicElements.js","https:/framerusercontent.com/modules/xkrmkshNtkhtpCRQzHYg/8krJd26nr2CXPnypfAsq/Generic.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{setStyle,setStyleChild,useStore}from\"https://framerusercontent.com/modules/7iPMbTDnPmpl6DRgCm3P/0SdcNRkbcLLoq75nEHAI/utils.js\";export function with_Test(Component){return props=>{// console.log(\"with_Test\", Component)\nreturn /*#__PURE__*/_jsx(Component,{...props,style:{...props?.style}});};}export function with_Lenis_Scroll_To_Workshops(Component){return props=>{const handleScroll=()=>{const target=document.querySelector(\"#workshops-sign-up\");if(target&&window.lenis){const offset=80;// Calculate target position relative to the document\nconst targetPosition=target.getBoundingClientRect().top+window.lenis.scroll-offset;window.lenis.scrollTo(targetPosition,{duration:1,easing:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,lock:true});}};return /*#__PURE__*/_jsx(Component,{...props,style:{...props?.style},onClick:handleScroll,onTouchEnd:handleScroll});};}export function with_Todays_Date(Component){return props=>{// console.log(\"with_Todays_Date\")\nconst today=new Date().toISOString().split(\"T\")[0]// YYYY-MM-DD format\n;return /*#__PURE__*/_jsx(Component,{...props,today:today});};}export function with_Dynamic_Variant_Form_Button_Text(Component){return props=>{// console.log(\"with_Dynamic_Variant_Form_Button_Text\")\nprops.className+=\" dynamic-font-size-caps\"// Remember to add a space\n;const[store]=useStore();return /*#__PURE__*/_jsx(Component,{...props,text:store.formButton.text});};}export function with_Dynamic_Variant_Form_Button(Component){return props=>{// console.log(\"with_Dynamic_Variant_Form_Button\")\nconst[store]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:store.formButton.variant});};}export function with_Dynamic_Padding_Bottom_Hero_Tagline(Component){// console.log(\"with_Dynamic_Padding_Bottom_Hero_Tagline\")\nreturn setStyle({paddingBottom:\"1.5rem\"},Component);}export function with_Dynamic_Style_Textarea_Field(Component){// console.log(\"with_Dynamic_Style_Textarea_Field\")\nreturn props=>{props.className+=\" dynamic-font-size-body\"// Remember to add a space\n;return setStyleChild({padding:\"1.5rem 0\",minHeight:\"15rem\"},Component,props);};}export function with_Dynamic_Style_Input_Field(Component){// console.log(\"with_Dynamic_Style_Input_Field\")\nreturn props=>{props.className+=\" dynamic-font-size-body\"// Remember to add a space\n;return setStyleChild({padding:\"1.5rem 0\"},Component,props);};}export function with_Dynamic_Style_Newsletter_Popup(Component){// console.log(\"with_Dynamic_Style_Newsletter_Popup\")\n// console.log(Component)\nreturn setStyle({padding:\"1.5rem\"},Component);}export function with_Dynamic_Style_Number_Box_Small(Component){// console.log(\"with_Dynamic_Style_Number_Box_Small\")\nreturn setStyle({paddingTop:\"5%\"},Component);}export function with_Dynamic_Style_Number_Box_Big(Component){// console.log(\"with_Dynamic_Style_Number_Box_Big\")\nreturn setStyle({paddingTop:\"5%\"},Component);}export function with_Dynamic_Style_Button_Small(Component){// console.log(\"with_Dynamic_Style_Button_Small\")\nreturn setStyle({padding:\"1.5rem 3rem\"},Component);}export function with_Dynamic_Style_Button_Big(Component){// console.log(\"with_Dynamic_Style_Button_Big\")\nreturn setStyle({padding:\"3rem 6rem calc(3rem - 3rem * 0.08)\"},Component);}export function with_Dynamic_Padding_Tag(Component){// console.log(\"with_Dynamic_Padding_Tag\")\nreturn setStyle({padding:\"0.75rem 1.5rem\"},Component);}export function with_Dynamic_Style_Link_Container(Component){// console.log(\"with_Dynamic_Style_Link_Container\")\nreturn setStyle({padding:\"0.75rem 0\"},Component);}export function with_Dynamic_Style_Navbar(Component){// console.log(\"with_Dynamic_Style_Navbar\")\nreturn setStyle({padding:\"1.5rem\",width:\"100%\"},Component);}export function with_Dynamic_Style_Navbar_Underline(Component){// console.log(\"with_Dynamic_Style_Navbar_Underline\")\nreturn setStyle({padding:\"0 1.5rem\"},Component);}export function with_Dynamic_Style_Footer(Component){// console.log(\"with_Dynamic_Style_Footer\")\nreturn setStyle({padding:\"calc(1.3rem * 1.0 + 3rem + 1.5rem) 1.5rem 1.5rem\",width:\"100%\",gap:\"4.5rem\"},Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"with_Dynamic_Style_Button_Small\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Button_Small\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Number_Box_Small\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Number_Box_Small\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Todays_Date\":{\"type\":\"reactHoc\",\"name\":\"with_Todays_Date\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Navbar\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Navbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Number_Box_Big\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Number_Box_Big\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Lenis_Scroll_To_Workshops\":{\"type\":\"reactHoc\",\"name\":\"with_Lenis_Scroll_To_Workshops\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Padding_Tag\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Padding_Tag\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Variant_Form_Button\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Variant_Form_Button\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Link_Container\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Link_Container\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Newsletter_Popup\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Newsletter_Popup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Padding_Bottom_Hero_Tagline\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Padding_Bottom_Hero_Tagline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Button_Big\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Button_Big\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Textarea_Field\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Textarea_Field\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Input_Field\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Input_Field\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Navbar_Underline\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Navbar_Underline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Test\":{\"type\":\"reactHoc\",\"name\":\"with_Test\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Style_Footer\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Style_Footer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Dynamic_Variant_Form_Button_Text\":{\"type\":\"reactHoc\",\"name\":\"with_Dynamic_Variant_Form_Button_Text\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DynamicElements.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useLayoutEffect}from\"react\";import{RenderTarget}from\"framer\";import{setStyle}from\"https://framerusercontent.com/modules/7iPMbTDnPmpl6DRgCm3P/0SdcNRkbcLLoq75nEHAI/utils.js\";export function with_Width_Full(Component){// console.log(\"with_Width_Full\")\nreturn setStyle({width:\"100%\"},Component);}export function with_Height_Min_Content(Component){// console.log(\"with_Height_Min_Content\")\nreturn setStyle({height:\"min-content\"},Component);}export function with_Font_Size(Component){return props=>{/* Checks */const currentTarget=RenderTarget.current();const isCanvas=currentTarget===RenderTarget.canvas||currentTarget===RenderTarget.export;useLayoutEffect(()=>{if(isCanvas){// Set base font size\ndocument.documentElement.style.fontSize=\"10px\";document.body.style.fontSize=\"10px\";}},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"with_Height_Min_Content\":{\"type\":\"reactHoc\",\"name\":\"with_Height_Min_Content\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Width_Full\":{\"type\":\"reactHoc\",\"name\":\"with_Width_Full\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with_Font_Size\":{\"type\":\"reactHoc\",\"name\":\"with_Font_Size\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Generic.map"],"mappings":"kVAEsT,SAAgB,EAAiB,EAAU,CAAC,MAAO,IAAO,CAChX,IAAM,EAAM,IAAI,OAAO,cAAc,MAAM,KAAK,GAC/C,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAY,QAAM,CAAG,CAAE,UAAgB,EAAsC,EAAU,CAAC,MAAO,IAAO,CAC9I,EAAM,WAAW,0BAChB,GAAK,CAAC,EAAM,CAAC,IAAW,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,EAAM,WAAW,KAAK,CAAG,CAAE,UAAgB,EAAiC,EAAU,CAAC,MAAO,IAAO,CAChL,GAAK,CAAC,EAAM,CAAC,IAAW,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAM,WAAW,QAAQ,CAAG,CAAE,UAAgB,EAAyC,EAAU,CAC9K,OAAO,EAAS,CAAC,cAAc,SAAS,CAAC,EAAY,UAAgB,EAAkC,EAAU,CACjH,MAAO,KAAQ,EAAM,WAAW,0BACxB,EAAc,CAAC,QAAQ,WAAW,UAAU,QAAQ,CAAC,EAAU,GAAU,UAAgB,EAA+B,EAAU,CAC1I,MAAO,KAAQ,EAAM,WAAW,0BACxB,EAAc,CAAC,QAAQ,WAAW,CAAC,EAAU,GAAU,UAAgB,EAAoC,EAAU,CAE7H,OAAO,EAAS,CAAC,QAAQ,SAAS,CAAC,EAAY,UAAgB,EAAoC,EAAU,CAC7G,OAAO,EAAS,CAAC,WAAW,KAAK,CAAC,EAAY,UAAgB,EAAkC,EAAU,CAC1G,OAAO,EAAS,CAAC,WAAW,KAAK,CAAC,EAAY,UAAgB,EAAgC,EAAU,CACxG,OAAO,EAAS,CAAC,QAAQ,cAAc,CAAC,EAAY,UAAgB,EAA8B,EAAU,CAC5G,OAAO,EAAS,CAAC,QAAQ,qCAAqC,CAAC,EAAY,UAAgB,EAAyB,EAAU,CAC9H,OAAO,EAAS,CAAC,QAAQ,iBAAiB,CAAC,EAAY,CACL,SAAgB,EAA0B,EAAU,CACtG,OAAO,EAAS,CAAC,QAAQ,SAAS,MAAM,OAAO,CAAC,EAAY,8BCrBkK,SAAgB,EAAgB,EAAU,CACxQ,OAAO,EAAS,CAAC,MAAM,OAAO,CAAC,EAAY,UAAgB,EAAwB,EAAU,CAC7F,OAAO,EAAS,CAAC,OAAO,cAAc,CAAC,EAAY"}