{"version":3,"file":"Custom_Back.YCopkrSP.mjs","names":["Feather","React.useContext","React.useMemo","React.Fragment","React.forwardRef","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":"sdACgqB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,uCAA9xB,IAAqM,IAAkE,IAA4B,IA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