{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/oyjDHXIfpnf049zAAy3S/Rvlvc8KcICC9ZQblglHc/Overrides.js", "ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framer.com/m/framer/utils.js@^0.9.0"],
  "sourcesContent": ["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export function withCopyOnClick(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onPointerUp:()=>navigator.clipboard.writeText(props.text)});};}export function withGoTopButton(Component){return props=>{const ref=useRef(null);useEffect(()=>{if(!ref.current)return;const handler=()=>{if(pageYOffset>800){ref.current.style.translate=\"0 0\";}else{ref.current.style.translate=\"0 100px\";}};addEventListener(\"scroll\",handler);return()=>removeEventListener(\"scroll\",handler);},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onPointerUp:()=>scrollTo({left:0,top:0,behavior:\"smooth\"}),whileHover:{opacity:1},style:{translate:\"0 100px\",transition:\"all 0.6s cubic-bezier(0.16, 1, 0.3, 1)\",...props.style}});};}export function withCalculateViewportHeight(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{// ...props.style,\nheight:\"calc(100vh-160px-32px)\"}});};}export function withNavbar(Component){return props=>{const ref=useRef(null);let lastScrollY=0;const scrollHandler=()=>{if(!ref.current)return;const el=ref.current;// Check if open by checking the height of navbar\nif(el.clientHeight>160)return;const scrollDir=window.scrollY-lastScrollY>0?\"down\":\"up\";if(scrollY>160&&scrollDir===\"down\"){el.style.translate=\"0 -200px\";}else{el.style.translate=\"0 0\";}lastScrollY=window.scrollY;};useEffect(()=>{if(!ref.current)return;const el=ref.current;el.id=\"navbar\";el.style.transition=\"translate 0.6s cubic-bezier(0.16, 1, 0.3, 1)\";addEventListener(\"scroll\",scrollHandler);return()=>removeEventListener(\"scoll\",scrollHandler);},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,onPointerEnter:()=>{removeEventListener(\"scroll\",scrollHandler);},onPointerLeave:()=>{addEventListener(\"scroll\",scrollHandler);},onTransitionEnd:e=>{if(e.currentTarget.style.translate===\"0px -200px\"){e.currentTarget.parentElement.style.pointerEvents=\"none\";}else{e.currentTarget.parentElement.style.pointerEvents=\"auto\";}},...props});};}export function withPreloader(Component){return props=>{const ref=useRef(null);useEffect(()=>{ref.current.style.transition=\"opacity 0.5s ease-out\";document.body.style.overflow=\"hidden\";setTimeout(()=>{document.body.style.overflow=\"auto\";ref.current.style.opacity=\"0\";},2500);},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onTransitionEnd:e=>e.currentTarget.destroy()});};}export function withHeroSectionHeight(Component){return props=>{const ref=useRef(null);useEffect(()=>{if(!ref.current)return;const el=ref.current;el.id=\"hero-section\";},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});};}export function withNoTapHighlight(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{WebkitTapHighlightColor:\"transparent\"}});};}export function withScrollToSection(Component){return props=>{useEffect(()=>{if(!document||!location.hash)return;else{console.log(location.hash);const el=document.querySelector(`${location.hash}-container`);if(el){scrollTo({top:scrollY+el.getBoundingClientRect().top-document.getElementById(\"navbar\").clientHeight-32,behavior:\"smooth\"});setTimeout(()=>{addEventListener(\"scrollend\",()=>scrollBy({top:-1,behavior:\"smooth\"}),{once:true});},100);}}},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withGetLeftHeight(Component){return props=>{const[leftHeight,setLeftHeight]=useState(0);useEffect(()=>{if(!document)return;const resizeHandler=()=>{setTimeout(()=>{setLeftHeight(document.getElementById(\"left\")?.clientHeight);},50);};resizeHandler();addEventListener(\"resize\",resizeHandler);return()=>{removeEventListener(\"resize\",resizeHandler);};},[]);useEffect(()=>{console.log(leftHeight);},[leftHeight]);return /*#__PURE__*/_jsx(Component,{...props,style:{height:leftHeight}});};}export function withVideoOverlay(Component){return props=>{useEffect(()=>{const handler=()=>{const hash=window.location.hash;if(hash&&hash===\"#videos\"){document.getElementById(\"president-overlay\").style.display=\"flex\";}};addEventListener(\"scroll\",handler,{once:true});return()=>removeEventListener(\"scroll\",handler);},[]);return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withPresidentOverlay(Component){return props=>{return /*#__PURE__*/_jsx(\"div\",{id:\"president-overlay\",onClick:e=>e.currentTarget.remove(),style:{display:\"none\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withOverscrollContain(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,overscrollBehavior:\"contain\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGetLeftHeight\":{\"type\":\"reactHoc\",\"name\":\"withGetLeftHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPresidentOverlay\":{\"type\":\"reactHoc\",\"name\":\"withPresidentOverlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavbar\":{\"type\":\"reactHoc\",\"name\":\"withNavbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyOnClick\":{\"type\":\"reactHoc\",\"name\":\"withCopyOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withVideoOverlay\":{\"type\":\"reactHoc\",\"name\":\"withVideoOverlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCalculateViewportHeight\":{\"type\":\"reactHoc\",\"name\":\"withCalculateViewportHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroSectionHeight\":{\"type\":\"reactHoc\",\"name\":\"withHeroSectionHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollToSection\":{\"type\":\"reactHoc\",\"name\":\"withScrollToSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNoTapHighlight\":{\"type\":\"reactHoc\",\"name\":\"withNoTapHighlight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPreloader\":{\"type\":\"reactHoc\",\"name\":\"withPreloader\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGoTopButton\":{\"type\":\"reactHoc\",\"name\":\"withGoTopButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOverscrollContain\":{\"type\":\"reactHoc\",\"name\":\"withOverscrollContain\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Overrides.map", "import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map", "export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map"],
  "mappings": "yJAAAA,ICA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AAU,CAAE,EAAE,CAACA,CAAU,CAAC,EAAsBL,EAAKF,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,OAAOM,CAAU,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASI,EAAiBX,EAAU,CAAC,OAAOC,IAAQG,EAAU,IAAI,CAAC,IAAMQ,EAAQ,IAAI,CAAC,IAAMC,EAAK,OAAO,SAAS,KAAQA,GAAMA,IAAO,YAAW,SAAS,eAAe,mBAAmB,EAAE,MAAM,QAAQ,OAAQ,EAAE,wBAAiB,SAASD,EAAQ,CAAC,KAAK,EAAI,CAAC,EAAQ,IAAI,oBAAoB,SAASA,CAAO,CAAE,EAAE,CAAC,CAAC,EAAsBV,EAAKY,EAAU,CAAC,SAAsBZ,EAAKF,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAC,CAAC,EAAI,CAAQ,SAASc,EAAqBf,EAAU,CAAC,OAAOC,GAA4BC,EAAK,MAAM,CAAC,GAAG,oBAAoB,QAAQ,GAAG,EAAE,cAAc,OAAO,EAAE,MAAM,CAAC,QAAQ,MAAM,EAAE,SAAsBA,EAAKF,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAC,CAAC,CAAI,CAAQ,SAASe,EAAsBhB,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,mBAAmB,SAAS,CAAC,CAAC,CAAI",
  "names": ["init_ssg_sandbox_shims", "init_ssg_sandbox_shims", "createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "init_ssg_sandbox_shims", "centerContent", "defaultContainerStyles", "centerContent", "useStore", "createStore", "withCopyOnClick", "Component", "props", "p", "withGoTopButton", "ref", "pe", "ue", "handler", "withNavbar", "Component", "props", "ref", "pe", "lastScrollY", "scrollHandler", "el", "scrollDir", "ue", "p", "e", "withNoTapHighlight", "Component", "props", "p", "withScrollToSection", "ue", "el", "withGetLeftHeight", "leftHeight", "setLeftHeight", "ye", "resizeHandler", "withVideoOverlay", "handler", "hash", "l", "withPresidentOverlay", "withOverscrollContain"]
}
