{"version":3,"file":"shared.Bvth7dPt.mjs","names":[],"sources":["https:/framerusercontent.com/modules/0QEsNSJuBye8eS9IjqVx/4pA8IdscOIfMRXF5KdyE/KeynoteNavigation.js","https:/framerusercontent.com/modules/odb2YvaUFCRGnpIwAkAG/2Rr49R8qhn6z5UouqsuA/sNGOsYG4m.js"],"sourcesContent":["// Keynote-style page navigation using keyboard arrows\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Keynote Navigation\n * \n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function KeynoteNavigation(props){const{nextPage=\"\",previousPage=\"\",enableSpaceBar=true,showInstructions=true,instructionText=\"Use arrow keys to navigate\",instructionPosition=\"bottom-right\",backgroundColor=\"#000000\",textColor=\"#FFFFFF\",font}=props;useEffect(()=>{if(typeof window===\"undefined\")return;const handleKeyDown=event=>{// Prevent navigation if user is typing in an input\nconst target=event.target;if(target.tagName===\"INPUT\"||target.tagName===\"TEXTAREA\"){return;}// Right arrow or Space (if enabled) -> Next page\nif((event.key===\"ArrowRight\"||enableSpaceBar&&event.key===\" \")&&nextPage){event.preventDefault();startTransition(()=>{window.location.href=nextPage;});}// Left arrow -> Previous page\nif(event.key===\"ArrowLeft\"&&previousPage){event.preventDefault();startTransition(()=>{window.location.href=previousPage;});}};window.addEventListener(\"keydown\",handleKeyDown);return()=>{window.removeEventListener(\"keydown\",handleKeyDown);};},[nextPage,previousPage,enableSpaceBar]);const positionStyles={\"top-left\":{top:20,left:20},\"top-right\":{top:20,right:20},\"bottom-left\":{bottom:20,left:20},\"bottom-right\":{bottom:20,right:20}};return /*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",top:0,left:0,width:\"100%\",height:\"100%\",pointerEvents:\"none\",zIndex:9999},children:showInstructions&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",...positionStyles[instructionPosition],backgroundColor,color:textColor,padding:\"12px 20px\",borderRadius:8,opacity:.8,...font},children:instructionText})});}addPropertyControls(KeynoteNavigation,{nextPage:{type:ControlType.Link,title:\"Next Page\"},previousPage:{type:ControlType.Link,title:\"Previous Page\"},enableSpaceBar:{type:ControlType.Boolean,title:\"Space Bar\",defaultValue:true,enabledTitle:\"Next\",disabledTitle:\"Off\"},showInstructions:{type:ControlType.Boolean,title:\"Instructions\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},instructionText:{type:ControlType.String,title:\"Text\",defaultValue:\"Use arrow keys to navigate\",hidden:({showInstructions})=>!showInstructions},instructionPosition:{type:ControlType.Enum,title:\"Position\",options:[\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"],optionTitles:[\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"bottom-right\",hidden:({showInstructions})=>!showInstructions},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\",hidden:({showInstructions})=>!showInstructions},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\",hidden:({showInstructions})=>!showInstructions},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},hidden:({showInstructions})=>!showInstructions}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KeynoteNavigation\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KeynoteNavigation.map","// Generated by Framer (569b461)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;GE SS Light\",\"CUSTOMV2;GE SS Medium\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"GE SS Light\",source:\"custom\",style:\"normal\",uiFamilyName:\"GE SS\",url:\"https://framerusercontent.com/assets/BZQAIDUKjYqX5nLJBAUfM9w.woff2\",weight:\"300\"},{cssFamilyName:\"GE SS Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"GE SS\",url:\"https://framerusercontent.com/assets/o7LPYVzEabUw2sSNfC6waAUOogs.woff2\",weight:\"500\"}]}];export const css=['.framer-7UDap .framer-styles-preset-1ue2klr:not(.rich-text-wrapper), .framer-7UDap .framer-styles-preset-1ue2klr.rich-text-wrapper h1 { --framer-font-family: \"GE SS Light\", \"GE SS Light Placeholder\", sans-serif; --framer-font-family-bold: \"GE SS Medium\", \"GE SS Medium Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 60px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 300; --framer-font-weight-bold: 500; --framer-letter-spacing: -0.03em; --framer-line-height: 100%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #ffffff; --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-7UDap .framer-styles-preset-1ue2klr:not(.rich-text-wrapper), .framer-7UDap .framer-styles-preset-1ue2klr.rich-text-wrapper h1 { --framer-font-family: \"GE SS Light\", \"GE SS Light Placeholder\", sans-serif; --framer-font-family-bold: \"GE SS Medium\", \"GE SS Medium Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 60px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 300; --framer-font-weight-bold: 500; --framer-letter-spacing: -0.03em; --framer-line-height: 100%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #ffffff; --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-7UDap .framer-styles-preset-1ue2klr:not(.rich-text-wrapper), .framer-7UDap .framer-styles-preset-1ue2klr.rich-text-wrapper h1 { --framer-font-family: \"GE SS Light\", \"GE SS Light Placeholder\", sans-serif; --framer-font-family-bold: \"GE SS Medium\", \"GE SS Medium Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 40px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 300; --framer-font-weight-bold: 500; --framer-letter-spacing: -0.03em; --framer-line-height: 100%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #ffffff; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-7UDap\";\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":"uMAMG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,WAAS,GAAG,eAAa,GAAG,iBAAe,GAAK,mBAAiB,GAAK,kBAAgB,6BAA6B,sBAAoB,eAAe,kBAAgB,UAAU,YAAU,UAAU,QAAM,EAG6K,OAHvK,MAAc,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,EAAc,GAAO,CAC1V,IAAM,EAAO,EAAM,OAAU,EAAO,UAAU,SAAS,EAAO,UAAU,cACpE,EAAM,MAAM,cAAc,GAAgB,EAAM,MAAM,MAAM,IAAU,EAAM,gBAAgB,CAAC,MAAoB,CAAC,EAAO,SAAS,KAAK,GAAW,EACnJ,EAAM,MAAM,aAAa,IAAc,EAAM,gBAAgB,CAAC,MAAoB,CAAC,EAAO,SAAS,KAAK,GAAe,IAAqD,OAAjD,EAAO,iBAAiB,UAAU,EAAc,KAAW,CAAC,EAAO,oBAAoB,UAAU,E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