{"version":3,"file":"shared-lib.C_qbsmb_.mjs","names":["useEffect","useState","_jsx","__esmMin","init_ssg_sandbox_shims","window","_e","c","init_jsx_runtime","init_npm_react_18_3_1","ce","init_framer_ChujFWHC","fontStore","applyThemeTokens","theme","root","THEME_TOKENS","id","values","storedTheme","stored","STORAGE_KEY","adaptVeils","light","node","el","background","veil","navFade","ensureTheme","style","STYLE_ID","THEME_CSS","publishTheme","persist","useThemeEngine","onTheme","onStorage","event","tries","timer","ThemeToggle","setTheme","sync","nextTheme","ThemeBoot","init_ThemeToggle","\"VzZzgytqF\"","\"vXE4olI_Z\"","fonts","css","className","init_O5U8O8jyM","metadata","params","contentLocale","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/XdLUZRNMKmtgTyyOoNXt/RZ1KbqdVAdEJM20Y78G0/ThemeToggle.js","https:/framerusercontent.com/modules/neS5LIBZoLOm2o1jC5HP/8L60dXMqNRSpqz2vN39w/O5U8O8jyM.js","https:/framerusercontent.com/modules/xJRX3VjN7snHeKqPvx98/X9QCw3Qt5k4P57VgmcTK/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";const STORAGE_KEY=\"steph-theme\";const STYLE_ID=\"steph-theme-style\";// Keep the existing Framer colour styles as the single source of truth.\n// The custom toggle explicitly applies each style's existing light/dark value\n// because changing the body attribute alone does not reliably switch every\n// published Framer token instance.\nconst THEME_TOKENS={\"VzZzgytqF\":{light:\"rgb(248, 248, 248)\",dark:\"rgb(17, 17, 17)\"},\"7423f5aa-4816-4044-a2ae-fa7ff84c6f2e\":{light:\"rgb(240, 240, 240)\",dark:\"rgb(24, 24, 24)\"},\"846ad619-4fba-4348-aa9f-bf66095bad22\":{light:\"rgb(8, 8, 8)\",dark:\"rgb(245, 245, 245)\"},\"1aaa4429-2dc0-431f-97a7-60fda17c4654\":{light:\"rgb(102, 102, 102)\",dark:\"rgb(185, 185, 185)\"},\"vXE4olI_Z\":{light:\"rgb(51, 51, 51)\",dark:\"rgb(245, 245, 245)\"},\"b0d69aae-e338-47a2-a232-7f58a25f0f55\":{light:\"rgb(40, 40, 41)\",dark:\"rgb(255, 255, 255)\"},\"4a75ca1d-f058-467d-a14b-c0f7c026ccf1\":{light:\"rgb(61, 61, 61)\",dark:\"rgb(230, 230, 230)\"}};function applyThemeTokens(theme){if(typeof document===\"undefined\")return;const root=document.body;Object.entries(THEME_TOKENS).forEach(([id,values])=>{root.style.setProperty(`--token-${id}`,values[theme],\"important\");});}const THEME_CSS=`\nbody[data-framer-theme=\"light\"] { color-scheme: light; }\nbody[data-framer-theme=\"light\"] [data-framer-name=\"Dotted background\"], body[data-framer-theme=\"light\"] [data-framer-name=\"Navigation dotted fade\"] { --unused-dot-theme: #70747A; }\nbody[data-framer-theme=\"light\"] { --steph-dot-color: #999999; --steph-dot-fade-bg: #F7F7F7; }\nbody[data-framer-theme=\"dark\"] { --steph-dot-color: #383838; --steph-dot-fade-bg: #111111; }\nbody[data-framer-theme=\"dark\"] { color-scheme: dark; }\nbody[data-framer-theme=\"light\"] [data-framer-name=\"Theme moon\"] { opacity: 1 !important; }\nbody[data-framer-theme=\"light\"] [data-framer-name=\"Theme sun\"] { opacity: 0 !important; }\nbody[data-framer-theme=\"dark\"] [data-framer-name=\"Theme moon\"] { opacity: 0 !important; }\nbody[data-framer-theme=\"dark\"] [data-framer-name=\"Theme sun\"] { opacity: 1 !important; }\nbody[data-framer-theme=\"light\"] [data-framer-name=\"CTA atmosphere\"] { visibility: hidden !important; }\nbody[data-framer-theme=\"dark\"] [data-framer-name=\"CTA atmosphere\"] { visibility: visible !important; }\n\n/* Moonshot project CTA: theme-aware label and arrow. */\nbody[data-framer-theme=\"dark\"] [data-framer-name=\"Moonshot CTA\"] {\n    color: #F0F0F0 !important;\n}\nbody[data-framer-theme=\"light\"] [data-framer-name=\"Moonshot CTA\"] {\n    color: #3D3D3D !important;\n}\nbody[data-framer-theme] [data-framer-name=\"Moonshot CTA\"] [data-framer-name=\"CTA Label\"],\nbody[data-framer-theme] [data-framer-name=\"Moonshot CTA\"] [data-framer-name=\"CTA Label\"] * {\n    color: inherit !important;\n}\n/* The arrow is the final child in this horizontal stack. Filter its existing light stroke\n   in light mode; preserve the original stroke in dark mode. */\nbody[data-framer-theme=\"dark\"] [data-framer-name=\"Moonshot CTA\"] > :last-child {\n    filter: none !important;\n    opacity: 1 !important;\n}\nbody[data-framer-theme=\"light\"] [data-framer-name=\"Moonshot CTA\"] > :last-child {\n    filter: grayscale(1) brightness(0.25) !important;\n    opacity: 1 !important;\n}\nbody[data-framer-theme] [data-framer-name=\"Moonshot CTA\"]:hover [data-framer-name=\"CTA Label\"],\nbody[data-framer-theme] [data-framer-name=\"Moonshot CTA\"]:hover [data-framer-name=\"CTA Label\"] * {\n    color: #FF0090 !important;\n    text-decoration: underline !important;\n    text-decoration-color: #FF0090 !important;\n    text-underline-offset: 3px;\n}`;function storedTheme(){if(typeof window===\"undefined\")return\"dark\";try{const stored=window.localStorage.getItem(STORAGE_KEY);if(stored===\"light\"||stored===\"dark\")return stored;}catch{/* Storage can be blocked. Dark remains the default. */}return\"dark\";}function adaptVeils(){if(typeof document===\"undefined\")return;const light=document.body.getAttribute(\"data-framer-theme\")===\"light\";const nodes=document.querySelectorAll(\"div, section, header, nav, footer, a\");nodes.forEach(node=>{const el=node;let background=\"\";try{background=window.getComputedStyle(el).backgroundImage||\"\";}catch{background=\"\";}const veil=background.indexOf(\"28, 28, 28, 0.2\")!==-1||background.indexOf(\"28,28,28,0.2\")!==-1;const navFade=background.indexOf(\"70, 70, 70, 0.2\")!==-1||background.indexOf(\"70,70,70,0.2\")!==-1;if(!veil&&!navFade)return;if(light){el.setAttribute(\"data-steph-veil\",\"1\");el.style.setProperty(\"background-image\",\"none\",\"important\");el.style.setProperty(\"background-color\",veil?\"var(--token-7423f5aa-4816-4044-a2ae-fa7ff84c6f2e)\":\"transparent\",\"important\");}else if(el.getAttribute(\"data-steph-veil\")){el.style.removeProperty(\"background-image\");el.style.removeProperty(\"background-color\");el.removeAttribute(\"data-steph-veil\");}});}function ensureTheme(){if(typeof document===\"undefined\")return storedTheme();let style=document.getElementById(STYLE_ID);if(!style){style=document.createElement(\"style\");style.id=STYLE_ID;document.head.appendChild(style);}style.textContent=THEME_CSS;const theme=storedTheme();document.body.setAttribute(\"data-framer-theme\",theme);applyThemeTokens(theme);return theme;}function publishTheme(theme,persist){if(typeof document===\"undefined\")return;ensureTheme();document.body.setAttribute(\"data-framer-theme\",theme);applyThemeTokens(theme);if(persist){try{window.localStorage.setItem(STORAGE_KEY,theme);}catch{/* Ignore private-browsing storage failures. */}}adaptVeils();window.dispatchEvent(new Event(\"steph-theme\"));}function useThemeEngine(){useEffect(()=>{ensureTheme();adaptVeils();const onTheme=()=>adaptVeils();const onStorage=event=>{if(event.key!==null&&event.key!==STORAGE_KEY)return;const theme=storedTheme();document.body.setAttribute(\"data-framer-theme\",theme);applyThemeTokens(theme);adaptVeils();};window.addEventListener(\"steph-theme\",onTheme);window.addEventListener(\"storage\",onStorage);let tries=0;const timer=window.setInterval(()=>{adaptVeils();tries+=1;if(tries>=8)window.clearInterval(timer);},400);return()=>{window.removeEventListener(\"steph-theme\",onTheme);window.removeEventListener(\"storage\",onStorage);window.clearInterval(timer);};},[]);}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ThemeToggle({style}){const[theme,setTheme]=useState(\"dark\");useThemeEngine();useEffect(()=>{const sync=()=>setTheme(storedTheme());sync();window.addEventListener(\"steph-theme\",sync);window.addEventListener(\"storage\",sync);return()=>{window.removeEventListener(\"steph-theme\",sync);window.removeEventListener(\"storage\",sync);};},[]);const nextTheme=theme===\"dark\"?\"light\":\"dark\";return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":theme===\"dark\"?\"Switch to light mode\":\"Switch to dark mode\",\"aria-pressed\":theme===\"light\",onClick:()=>{publishTheme(nextTheme,true);setTheme(nextTheme);},style:{...style,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",margin:0,padding:0,border:\"none\",background:\"transparent\",color:\"inherit\",cursor:\"pointer\",appearance:\"none\",WebkitAppearance:\"none\"}});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export function ThemeBoot({style}){useThemeEngine();return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...style,display:\"block\",width:1,height:1,overflow:\"hidden\",opacity:0,pointerEvents:\"none\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"ThemeBoot\":{\"type\":\"reactComponent\",\"name\":\"ThemeBoot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ThemeToggle\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ThemeToggle.map","// Generated by Framer (cd31e1f)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=['.framer-0fGMw .framer-styles-preset-1hhds94:not(.rich-text-wrapper), .framer-0fGMw .framer-styles-preset-1hhds94.rich-text-wrapper a { --framer-link-hover-text-color: var(--token-CkTswrofI, #ff0090); --framer-link-hover-text-decoration: underline; --framer-link-text-color: var(--token-vXE4olI_Z, #333333); --framer-link-text-decoration: underline; --framer-link-text-decoration-color: var(--token-CkTswrofI, #ff0090) /* {\"name\":\"Hot Pink\"} */; transition-delay: 0s; transition-duration: 0.2s; transition-property: color,text-decoration-color,text-decoration-thickness,text-underline-offset; transition-timing-function: cubic-bezier(0.44, 0, 0.56, 1); }'];export const className=\"framer-0fGMw\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (8a054b2)\nexport default function metadata(params,contentLocale){return{description:\"I care about the details, the bigger picture, and everything in between. My work is driven by curiosity, intentional thinking, and a desire to make digital experiences better\",favicon:\"https://framerusercontent.com/assets/ziWcZvfRKB3ksnfFDTsSLrmLbP8.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/niL4aPpQMiteFxLf9GH6r4tYlg.png\",title:\"Stephanie Durugbor • Product Designer \"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,wLAI4lB,SAASa,EAAiBC,EAAM,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAMC,EAAK,SAAS,KAAK,OAAO,QAAQC,CAAY,CAAC,CAAC,SAAS,CAACC,EAAGC,KAAU,CAACH,EAAK,MAAM,YAAY,WAAWE,IAAKC,EAAOJ,GAAO,WAAW,CAAE,CAAC,CAAE,CAwCrzB,SAASK,GAAa,CAAC,GAAUd,IAAS,OAAY,MAAM,OAAO,GAAG,CAAC,IAAMe,EAAOf,EAAO,aAAa,QAAQgB,CAAW,EAAE,GAAGD,IAAS,SAASA,IAAS,OAAO,OAAOA,CAAO,MAAM,CAAwD,CAAC,MAAM,MAAO,CAAC,SAASE,GAAY,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAMC,EAAM,SAAS,KAAK,aAAa,mBAAmB,IAAI,QAAoB,SAAS,iBAAiB,sCAA4C,CAAC,CAAC,QAAQC,GAAM,CAAC,IAAMC,EAAGD,EAASE,EAAW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