{"version":3,"file":"Custom_Back.POU9VFFo.mjs","names":["Feather","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/KogPg3J4N8JAEOQKB8Ii/2CPoBYp6vbdVhdYQdETv/ZQnn8WB8R.js","https:/framerusercontent.com/modules/BlFAgzy2mZqsROtXLgZk/zLcyB4BEBh9jZvG0KEeJ/Custom_Back.js"],"sourcesContent":["// Generated by Framer (06534cb)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Feather}from\"https://framerusercontent.com/modules/f0DboytQenYh21kfme7W/zb1zVBMZJKgPMiedOi0y/Feather.js\";const FeatherFonts=getFonts(Feather);const enabledGestures={w5uRsiPDI:{hover:true}};const serializationHash=\"framer-kOecL\";const variantClassNames={w5uRsiPDI:\"framer-v-1z0smtm\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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 Variants=motion.create(React.Fragment);const getProps=({height,id,title,width,...props})=>{return{...props,BryU_KttM:title??props.BryU_KttM??\"Referenzen\"};};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,BryU_KttM,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"w5uRsiPDI\",enabledGestures,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__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1z0smtm\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"w5uRsiPDI\",ref:refBinding,style:{...style},...addPropertyOverrides({\"w5uRsiPDI-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1o0bjh1-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"OejcltA7O-container\",nodeId:\"OejcltA7O\",rendersWithMotion:true,scopeId:\"ZQnn8WB8R\",children:/*#__PURE__*/_jsx(Feather,{color:\"var(--token-bcea74e2-9c6f-465c-b88f-60639872cd3d, rgb(13, 38, 35))\",height:\"100%\",iconSearch:\"Home\",iconSelection:\"arrow-left\",id:\"OejcltA7O\",layoutId:\"OejcltA7O\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1NhcnVuIFBybyBOYXJyb3cgQmxhY2s=\",\"--framer-font-family\":'\"Sarun Pro Narrow Black\", \"Sarun Pro Narrow Black Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"0px\"},children:\"Referenzen\"})}),className:\"framer-4sihly\",fonts:[\"CUSTOM;Sarun Pro Narrow Black\"],layoutDependency:layoutDependency,layoutId:\"ATh6qG3AW\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:BryU_KttM,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"w5uRsiPDI-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1NhcnVuIFBybyBOYXJyb3cgQmxhY2s=\",\"--framer-font-family\":'\"Sarun Pro Narrow Black\", \"Sarun Pro Narrow Black Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"0px\",\"--framer-text-decoration\":\"underline\"},children:\"Referenzen\"})})}},baseVariant,gestureVariant)})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-kOecL.framer-1r24od5, .framer-kOecL .framer-1r24od5 { display: block; }\",\".framer-kOecL.framer-1z0smtm { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 4px 16px 4px 0px; position: relative; width: min-content; }\",\".framer-kOecL .framer-1o0bjh1-container { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 33px); position: relative; width: 30px; }\",\".framer-kOecL .framer-4sihly { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-kOecL.framer-1z0smtm { gap: 0px; } .framer-kOecL.framer-1z0smtm > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-kOecL.framer-1z0smtm > :first-child { margin-left: 0px; } .framer-kOecL.framer-1z0smtm > :last-child { margin-right: 0px; } }\",\".framer-kOecL.framer-v-1z0smtm.hover.framer-1z0smtm { gap: 16px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-kOecL.framer-v-1z0smtm.hover.framer-1z0smtm { gap: 0px; } .framer-kOecL.framer-v-1z0smtm.hover.framer-1z0smtm > * { margin: 0px; margin-left: calc(16px / 2); margin-right: calc(16px / 2); } .framer-kOecL.framer-v-1z0smtm.hover.framer-1z0smtm > :first-child { margin-left: 0px; } .framer-kOecL.framer-v-1z0smtm.hover.framer-1z0smtm > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 41\n * @framerIntrinsicWidth 146\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"HhinhOP8R\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"BryU_KttM\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerZQnn8WB8R=withCSS(Component,css,\"framer-kOecL\");export default FramerZQnn8WB8R;FramerZQnn8WB8R.displayName=\"Buttons/NavBack\";FramerZQnn8WB8R.defaultProps={height:41,width:146};addPropertyControls(FramerZQnn8WB8R,{BryU_KttM:{defaultValue:\"Referenzen\",displayTextArea:false,title:\"Title\",type:ControlType.String}});addFonts(FramerZQnn8WB8R,[{explicitInter:true,fonts:[{family:\"Sarun Pro Narrow Black\",source:\"custom\",url:\"https://framerusercontent.com/assets/ukK3VClJbEQJqB7tuS3KGXOI.woff2\"}]},...FeatherFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerZQnn8WB8R\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"146\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HhinhOP8R\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"41\",\"framerVariables\":\"{\\\"BryU_KttM\\\":\\\"title\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ZQnn8WB8R.map","// A custom Framer code override by Chris Kellett - Framerverse\n// Get more components at www.framerverse.com\n// Previous Page Overide\n// Version 1.0\nimport{jsx as _jsx}from\"react/jsx-runtime\";/**\n * This override adds a click handler to go back in browser history\n * @param Component - The component to apply the override to\n * @returns A component with the history back functionality\n */export function withHistoryBack(Component){// This part runs once when creating the override\nreturn props=>{// This function handles the actual navigation\nconst handleGoBack=()=>{// Check if we can go back in history\nif(window.history.length>1){window.history.back();}else{// If no history exists, log a message\nconsole.log(\"No previous page in history\");window.location.href=\"/\";}};// Return the component with our click handler\nreturn /*#__PURE__*/_jsx(Component,{...props,onClick:handleGoBack});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHistoryBack\":{\"type\":\"reactHoc\",\"name\":\"withHistoryBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom_Back.map"],"mappings":"udACgqB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAA/wB,IAAqM,IAAkE,IAA4B,IAAkJ,CAAM,EAAa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