{"version":3,"file":"liCTldsUW.Cix01s2V.mjs","names":["React.useState","React.useId"],"sources":["https:/framerusercontent.com/modules/lV8AX1yAgMYkTvXzKgQK/HdKVocMOGAGNA4qpG8GQ/CompactSiteMenu.js","https:/framerusercontent.com/modules/P5OfqbLllo5tsoGfbPhA/MrHW1U011tugTuP0zysF/liCTldsUW.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const siteLinks=[{label:\"Home\",href:\"/\",key:\"home\"},{label:\"Speaking\",href:\"/speaking\",key:\"speaking\"},{label:\"Research\",href:\"/the-3-percent-trap\",key:\"research\"},{label:\"Podcast\",href:\"/podcast\",key:\"podcast\"},{label:\"Contact\",href:\"/#contact-mobile\",key:\"contact\"}];const contextLinks={home:[],podcast:[{label:\"Overview\",href:\"/podcast\",key:\"podcast-overview\"},{label:\"The show\",href:\"/podcast#podcast-show-mobile\",key:\"podcast-show\"},{label:\"Recordings\",href:\"/podcast#podcast-recordings-mobile\",key:\"podcast-recordings\"},{label:\"Operators\",href:\"/podcast#podcast-operators-mobile\",key:\"podcast-operators\"}],speaking:[{label:\"Overview\",href:\"/speaking#speaking-overview-mobile\",key:\"speaking-overview\"},{label:\"Proof\",href:\"/speaking#speaking-proof-mobile\",key:\"speaking-proof\"},{label:\"Themes\",href:\"/speaking#speaking-themes-mobile\",key:\"speaking-themes\"},{label:\"Enquire\",href:\"/speaking#speaking-enquiry-mobile\",key:\"speaking-enquire\"}],research:[{label:\"Overview\",href:\"/the-3-percent-trap#report-overview-mobile\",key:\"research-overview\"},{label:\"Evidence\",href:\"/the-3-percent-trap#report-evidence-mobile\",key:\"research-evidence\"},{label:\"Method\",href:\"/the-3-percent-trap#report-methodology-mobile\",key:\"research-method\"},{label:\"Invite\",href:\"/the-3-percent-trap#report-invitation-mobile\",key:\"research-invite\"}]};const rootStyle={position:\"relative\",width:\"100%\",height:\"auto\",color:\"#FFFDF8\",background:\"#070709\",borderBottom:\"1px solid #2B2D35\",boxSizing:\"border-box\",fontFamily:'\"Instrument Sans\", sans-serif'};const buttonStyle={width:\"100%\",minHeight:52,padding:\"0 16px\",border:0,borderRadius:0,color:\"#FFFDF8\",background:\"#070709\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,font:'700 13px/1.2 \"Instrument Sans\", sans-serif',letterSpacing:\"0.08em\",textTransform:\"uppercase\",cursor:\"pointer\"};const groupStyle={display:\"flex\",flexDirection:\"column\",width:\"100%\"};const groupLabelStyle={padding:\"12px 16px 6px\",color:\"#8D909A\",fontSize:10,fontWeight:700,lineHeight:1.2,letterSpacing:\"0.1em\",textTransform:\"uppercase\"};const linkBaseStyle={minHeight:44,padding:\"0 16px\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,color:\"#FFFDF8\",borderTop:\"1px solid rgba(255,253,248,0.10)\",fontSize:15,fontWeight:600,lineHeight:1.2,letterSpacing:\"0.01em\",textDecoration:\"none\",boxSizing:\"border-box\"};/**\n * Compact, accessible navigation for narrow mobile viewports.\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 52\n */export default function CompactSiteMenu({context=\"home\"}){const[open,setOpen]=React.useState(false);const reactId=React.useId();const panelId=`compact-site-menu-${reactId.replace(/[^a-zA-Z0-9_-]/g,\"\")}`;const localLinks=contextLinks[context]??[];React.useEffect(()=>{if(!open||typeof window===\"undefined\")return;const onKeyDown=event=>{if(event.key===\"Escape\")setOpen(false);};window.addEventListener(\"keydown\",onKeyDown);return()=>window.removeEventListener(\"keydown\",onKeyDown);},[open]);const renderLink=(item,current=false)=>/*#__PURE__*/_jsxs(\"a\",{href:item.href,onClick:()=>setOpen(false),\"aria-current\":current?\"page\":undefined,style:{...linkBaseStyle,color:current?\"#FF2D8D\":\"#FFFDF8\"},children:[/*#__PURE__*/_jsx(\"span\",{children:item.label}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{color:current?\"#FF2D8D\":\"#8D909A\"},children:\"→\"})]},item.key);return /*#__PURE__*/_jsxs(\"nav\",{className:\"ts-compact-site-menu\",\"aria-label\":\"Compact site navigation\",style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @media (max-width: 420px) {\n                    [data-framer-name=\"Mobile site navigation\"],\n                    [data-framer-name=\"Global Site Navigation\"],\n                    [data-framer-name=\"Podcast Context Navigation\"],\n                    [data-framer-name=\"Speaking Context Navigation\"],\n                    [data-framer-name=\"Research Context Navigation\"] {\n                        display: none !important;\n                    }\n                }\n\n                @media (min-width: 421px) {\n                    .ts-compact-site-menu {\n                        display: none !important;\n                    }\n                }\n\n                .ts-compact-site-menu button:focus-visible,\n                .ts-compact-site-menu a:focus-visible {\n                    outline: 2px solid #FF2D8D;\n                    outline-offset: -3px;\n                }\n\n                .ts-compact-site-menu a:hover {\n                    background: rgba(255,253,248,0.06);\n                }\n            `}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",style:buttonStyle,\"aria-expanded\":open,\"aria-controls\":panelId,onClick:()=>setOpen(value=>!value),children:[/*#__PURE__*/_jsx(\"span\",{children:\"Menu\"}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{fontSize:20,fontWeight:400,lineHeight:1},children:open?\"\\xd7\":\"+\"})]}),open&&/*#__PURE__*/_jsxs(\"div\",{id:panelId,style:{paddingBottom:12},children:[/*#__PURE__*/_jsxs(\"div\",{style:groupStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:groupLabelStyle,children:\"Explore\"}),siteLinks.map(item=>renderLink(item,item.key===context))]}),localLinks.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{...groupStyle,marginTop:10},children:[/*#__PURE__*/_jsx(\"div\",{style:groupLabelStyle,children:\"On this page\"}),localLinks.map(item=>renderLink(item))]})]})]});}addPropertyControls(CompactSiteMenu,{context:{type:ControlType.Enum,title:\"Page\",options:[\"home\",\"podcast\",\"speaking\",\"research\"],optionTitles:[\"Home\",\"Podcast\",\"Speaking\",\"Research\"],defaultValue:\"home\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CompactSiteMenu\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"320\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"52\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CompactSiteMenu.map","// Generated by Framer (80f113d)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-9v8Ik .framer-styles-preset-1dqrmld:not(.rich-text-wrapper), .framer-9v8Ik .framer-styles-preset-1dqrmld.rich-text-wrapper a { --framer-link-hover-text-color: #ff2d8d; --framer-link-text-color: #c7c9d1; --framer-link-text-decoration: none; }\"];export const className=\"framer-9v8Ik\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oNAMG,SAAwB,EAAgB,CAAC,UAAQ,QAAQ,CAAC,GAAK,CAAC,EAAK,GAASA,EAAe,EAAK,EAAoC,EAAQ,qBAA5BC,EAAuD,CAAC,CAAC,QAAQ,kBAAkB,EAAE,IAAU,EAAW,EAAa,IAAU,CAAC,EAAE,MAAoB,CAAC,GAAG,CAAC,GAAa,IAAS,OAAY,OAAO,IAAM,EAAU,GAAO,CAAI,EAAM,MAAM,UAAS,EAAQ,EAAK,CAAE,EAA+C,OAA7C,EAAO,iBAAiB,UAAU,CAAS,MAAY,EAAO,oBAAoB,UAA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