{"version":3,"file":"Variant_Swap.6VbjsVPa.mjs","names":["fonts","css","className","useState"],"sources":["https:/framerusercontent.com/modules/1nyeYHMCVshj7VJFNcd8/GaajMSJ20mjWRDjjHFlK/s2s3jgApW.js","https:/framerusercontent.com/modules/A7exWFwI9BqFxqX0rRSk/CAqgrKRKo0LyqpaKnPaU/RSL2sQQaF.js","https:/framerusercontent.com/modules/T2XLyLAHtNBVeiyE4rRW/u3OybeywHFkk1c5OVlEp/Variant_Swap.js"],"sourcesContent":["// Generated by Framer (569b461)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Riforma LL Regular\",\"CUSTOMV2;Riforma LL Medium\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Riforma LL Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Riforma LL\",url:\"https://framerusercontent.com/assets/lTAkGXW6FDe96IFi1UHObmPAmEA.woff2\",weight:\"400\"},{cssFamilyName:\"Riforma LL Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Riforma LL\",url:\"https://framerusercontent.com/assets/P3W09rjKFhehqhdQMrW3hLcewU.woff2\",weight:\"500\"}]}];export const css=[\".framer-V133p .framer-styles-preset-m3mape:not(.rich-text-wrapper), .framer-V133p .framer-styles-preset-m3mape.rich-text-wrapper h2 { --framer-font-family: \\\"Riforma LL Regular\\\", \\\"Riforma LL Regular Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Riforma LL Medium\\\", \\\"Riforma LL Medium Placeholder\\\", sans-serif; --framer-font-open-type-features: 'cv01' on, 'cv09' on, 'cv11' on, 'cv05' on; --framer-font-size: 32px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-background-padding: 0px; --framer-text-color: var(--token-b358dc79-acf8-4289-8a1c-2772f6ee7933, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }\",\"@media (max-width: 1199px) and (min-width: 810px) { .framer-V133p .framer-styles-preset-m3mape:not(.rich-text-wrapper), .framer-V133p .framer-styles-preset-m3mape.rich-text-wrapper h2 { --framer-font-family: \\\"Riforma LL Regular\\\", \\\"Riforma LL Regular Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Riforma LL Medium\\\", \\\"Riforma LL Medium Placeholder\\\", sans-serif; --framer-font-open-type-features: 'cv01' on, 'cv09' on, 'cv11' on, 'cv05' on; --framer-font-size: 26px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-background-padding: 0px; --framer-text-color: var(--token-b358dc79-acf8-4289-8a1c-2772f6ee7933, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }\",\"@media (max-width: 809px) and (min-width: 0px) { .framer-V133p .framer-styles-preset-m3mape:not(.rich-text-wrapper), .framer-V133p .framer-styles-preset-m3mape.rich-text-wrapper h2 { --framer-font-family: \\\"Riforma LL Regular\\\", \\\"Riforma LL Regular Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Riforma LL Medium\\\", \\\"Riforma LL Medium Placeholder\\\", sans-serif; --framer-font-open-type-features: 'cv01' on, 'cv09' on, 'cv11' on, 'cv05' on; --framer-font-size: 26px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-background-padding: 0px; --framer-text-color: var(--token-b358dc79-acf8-4289-8a1c-2772f6ee7933, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }\"];export const className=\"framer-V133p\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (9a43cf4)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Riforma LL Regular\",\"CUSTOMV2;Riforma LL Medium\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Riforma LL Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Riforma LL\",url:\"https://framerusercontent.com/assets/lTAkGXW6FDe96IFi1UHObmPAmEA.woff2\",weight:\"400\"},{cssFamilyName:\"Riforma LL Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Riforma LL\",url:\"https://framerusercontent.com/assets/P3W09rjKFhehqhdQMrW3hLcewU.woff2\",weight:\"500\"}]}];export const css=[\".framer-IxuTq .framer-styles-preset-sz1hlp:not(.rich-text-wrapper), .framer-IxuTq .framer-styles-preset-sz1hlp.rich-text-wrapper p { --framer-font-family: \\\"Riforma LL Regular\\\", \\\"Riforma LL Regular Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Riforma LL Medium\\\", \\\"Riforma LL Medium Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-163aa5e2-2218-4f6e-88b9-04b47abdd517, rgba(255, 255, 255, 0.7)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }\"];export const className=\"framer-IxuTq\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({mode:\"light\"});export function withAgentTrigger(Component){return props=>{const[,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>setStore({mode:\"dark\"})});};}export function withHumanTrigger(Component){return props=>{const[,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>setStore({mode:\"light\"})});};}// Default <-> Dark\nexport function withDefaultDarkSwitch(Component){return props=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:store.mode===\"dark\"?\"Dark\":\"Default\"});};}// Light <-> Dark\nexport function withLightDarkSwitch(Component){return props=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:store.mode===\"dark\"?\"Dark\":\"Light\"});};}// Human <-> Agent\nexport function withHumanAgentSwitch(Component){return props=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:store.mode===\"dark\"?\"Agent\":\"Human\"});};}function getBreakpoint(){const width=window.innerWidth;if(width>=1280)return\"Desktop\";if(width>=810)return\"Tablet\";return\"Mobile\";}// Navbar — handles scroll + mode + breakpoint in hero, hands off to Framer below\nexport function withNavbarSwitch(Component){return props=>{const[store]=useStore();const[mounted,setMounted]=useState(false);const[scrollState,setScrollState]=useState(\"initial\");const[inHero,setInHero]=useState(true);const[breakpoint,setBreakpoint]=useState(\"Desktop\");useEffect(()=>{setBreakpoint(getBreakpoint());setMounted(true);const handleScroll=()=>{const hero=document.querySelector('[data-framer-name=\"Hero Section\"]');if(!hero)return;const heroBottom=hero.getBoundingClientRect().bottom;const scrollY=window.scrollY;setInHero(heroBottom>0);setScrollState(scrollY>5?\"scrolled\":\"initial\");};const handleResize=()=>{setBreakpoint(getBreakpoint());};handleScroll();window.addEventListener(\"scroll\",handleScroll);window.addEventListener(\"resize\",handleResize);return()=>{window.removeEventListener(\"scroll\",handleScroll);window.removeEventListener(\"resize\",handleResize);};},[]);// Don't render until client-side\nif(!mounted){return null;}if(!inHero){return /*#__PURE__*/_jsx(Component,{...props});}const scroll=scrollState===\"initial\"?\"Initial\":\"Scrolled\";const theme=store.mode===\"dark\"?\"Dark\":\"Light\";const newVariant=`${breakpoint} ${scroll} - ${theme}`;return /*#__PURE__*/_jsx(Component,{...props,variant:newVariant});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withDefaultDarkSwitch\":{\"type\":\"reactHoc\",\"name\":\"withDefaultDarkSwitch\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLightDarkSwitch\":{\"type\":\"reactHoc\",\"name\":\"withLightDarkSwitch\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHumanTrigger\":{\"type\":\"reactHoc\",\"name\":\"withHumanTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavbarSwitch\":{\"type\":\"reactHoc\",\"name\":\"withNavbarSwitch\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHumanAgentSwitch\":{\"type\":\"reactHoc\",\"name\":\"withHumanAgentSwitch\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAgentTrigger\":{\"type\":\"reactHoc\",\"name\":\"withAgentTrigger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Variant_Swap.map"],"mappings":"uQAC8B,GAAU,UAAU,CAAC,8BAA8B,6BAA6B,CAAC,CAAcA,EAAM,CAAC,CAAC,cAAc,GAAK,M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