{"version":3,"file":"shared-lib.C5JvvP9e.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/4gyE2W1P1NiVqxv2Ccle/iWsw6UN23nXk7B58z70N/a_UcXYDfY.js","https:/framerusercontent.com/modules/uJ7QKA6hSE8TkkQr6epK/k4YJZnKZFfNN8NvRzFMk/siteMetadata.js"],"sourcesContent":["// Generated by Framer (c9b3949)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"jjTgoGOLv\",\"WVllRbcaT\",\"Fp57xITov\"];const serializationHash=\"framer-PL36t\";const variantClassNames={Fp57xITov:\"framer-v-670vjs\",jjTgoGOLv:\"framer-v-aqxxhf\",WVllRbcaT:\"framer-v-dpq3cn\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const ZoCS4kabw=undefined;const AOfnrWo4P=undefined;const DgGvqKWC2=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Desktop:\"jjTgoGOLv\",Mobile:\"Fp57xITov\",Tablet:\"WVllRbcaT\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,link,newTab,smoothScroll,width,...props})=>{return{...props,AOfnrWo4P:newTab??props.AOfnrWo4P??false,DgGvqKWC2:smoothScroll??props.DgGvqKWC2??true,variant:humanReadableVariantMap[props.variant]??props.variant??\"jjTgoGOLv\",ZoCS4kabw:link??props.ZoCS4kabw};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,ZoCS4kabw,AOfnrWo4P,DgGvqKWC2,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"jjTgoGOLv\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-aqxxhf\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"jjTgoGOLv\",ref:refBinding,style:{...style},...addPropertyOverrides({Fp57xITov:{\"data-framer-name\":\"Mobile\"},WVllRbcaT:{\"data-framer-name\":\"Tablet\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-v3h87g\",\"data-framer-name\":\"Wrapper\",layoutDependency:layoutDependency,layoutId:\"qqbn6GZ1h\",children:/*#__PURE__*/_jsx(Link,{href:ZoCS4kabw,motionChild:true,nodeId:\"oh6IO7x0a\",openInNewTab:AOfnrWo4P,scopeId:\"a_UcXYDfY\",smoothScroll:DgGvqKWC2,children:/*#__PURE__*/_jsx(motion.a,{\"aria-label\":\"Scroll to top\",className:\"framer-y9kdxg framer-ewfkdp\",\"data-framer-name\":\"ScrollButton\",layoutDependency:layoutDependency,layoutId:\"oh6IO7x0a\"})})})})})})});});const css=[\".framer-PL36t.framer-ewfkdp, .framer-PL36t .framer-ewfkdp { display: block; }\",\".framer-PL36t.framer-aqxxhf { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 40px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 1280px; }\",\".framer-PL36t .framer-v3h87g { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: flex-end; overflow: visible; padding: 0px; position: relative; width: 1110px; }\",\".framer-PL36t .framer-y9kdxg { aspect-ratio: 1 / 1; flex: none; height: auto; overflow: var(--overflow-clip-fallback, clip); position: relative; text-decoration: none; width: 40px; z-index: 1; }\",\".framer-PL36t.framer-v-dpq3cn.framer-aqxxhf { width: 810px; }\",\".framer-PL36t.framer-v-dpq3cn .framer-v3h87g { width: 730px; }\",\".framer-PL36t.framer-v-670vjs.framer-aqxxhf { width: 390px; }\",\".framer-PL36t.framer-v-670vjs .framer-v3h87g { width: 350px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 1280\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"WVllRbcaT\":{\"layout\":[\"fixed\",\"fixed\"]},\"Fp57xITov\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"ZoCS4kabw\":\"link\",\"AOfnrWo4P\":\"newTab\",\"DgGvqKWC2\":\"smoothScroll\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framera_UcXYDfY=withCSS(Component,css,\"framer-PL36t\");export default Framera_UcXYDfY;Framera_UcXYDfY.displayName=\"ScrollToTop\";Framera_UcXYDfY.defaultProps={height:40,width:1280};addPropertyControls(Framera_UcXYDfY,{variant:{options:[\"jjTgoGOLv\",\"WVllRbcaT\",\"Fp57xITov\"],optionTitles:[\"Desktop\",\"Tablet\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum},ZoCS4kabw:{title:\"Link\",type:ControlType.Link},AOfnrWo4P:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean},onAOfnrWo4PChange:{changes:\"AOfnrWo4P\",type:ControlType.ChangeHandler},DgGvqKWC2:{defaultValue:true,title:\"Smooth Scroll\",type:ControlType.Boolean},onDgGvqKWC2Change:{changes:\"DgGvqKWC2\",type:ControlType.ChangeHandler}});addFonts(Framera_UcXYDfY,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framera_UcXYDfY\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"1280\",\"framerIntrinsicHeight\":\"40\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"WVllRbcaT\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Fp57xITov\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"ZoCS4kabw\\\":\\\"link\\\",\\\"AOfnrWo4P\\\":\\\"newTab\\\",\\\"DgGvqKWC2\\\":\\\"smoothScroll\\\"}\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./a_UcXYDfY.map","// Generated by Framer (c9b3949)\nexport default function metadata(params,activeLocale){return{description:\"Enki is a clean, modern Italian restaurant template for websites. Showcase menus, photos, special offers, reservations, and contact details with a warm, authentic dining experience.\\n\",favicon:\"https://framerusercontent.com/assets/VlCCutyrzAiNw6FJ1jEmzF7o8Y.svg\",robots:\"max-image-preview:large\",title:\"Enki - Italian Landing Page\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"iUAC+e,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,qCAA3nB,IAAgI,IAAkE,IAA4B,EAAiC,EAAW,CAAC,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,UAAU,iBAAiB,EAA6Q,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAwB,CAAC,QAAQ,YAAY,OAAO,YAAY,OAAO,WAAW,EAAQ,EAAS,EAAO,OAAOC,CAAc,EAAQ,GAAU,CAAC,SAAO,KAAG,OAAK,SAAO,eAAa,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAQ,EAAM,WAAW,GAAM,UAAU,GAAc,EAAM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