{"version":3,"file":"Custom_Back.CLfMRvIQ.mjs","names":["Feather","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/KogPg3J4N8JAEOQKB8Ii/JKFo9ntETRhiB7rob1N7/ZQnn8WB8R.js","https:/framerusercontent.com/modules/BlFAgzy2mZqsROtXLgZk/zLcyB4BEBh9jZvG0KEeJ/Custom_Back.js"],"sourcesContent":["// Generated by Framer (4d662f6)\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-uAOzY\";const variantClassNames={w5uRsiPDI:\"framer-v-1z0smtm\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const BryU_KttM=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 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},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,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7Q29tbWlzc2lvbmVyIEV4dHJhQm9sZA==\",\"--framer-font-family\":'\"Commissioner ExtraBold\", \"Commissioner ExtraBold Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"800\",\"--framer-letter-spacing\":\"0px\"},children:\"Referenzen\"})}),className:\"framer-4sihly\",fonts:[\"CUSTOMV2;Commissioner ExtraBold\"],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,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7Q29tbWlzc2lvbmVyIEV4dHJhQm9sZA==\",\"--framer-font-family\":'\"Commissioner ExtraBold\", \"Commissioner ExtraBold Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"800\",\"--framer-letter-spacing\":\"0px\",\"--framer-text-decoration\":\"underline\"},children:\"Referenzen\"})})}},baseVariant,gestureVariant)})]})})})});});const css=[\".framer-uAOzY.framer-1r24od5, .framer-uAOzY .framer-1r24od5 { display: block; }\",\".framer-uAOzY.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-uAOzY .framer-1o0bjh1-container { aspect-ratio: 1 / 1; flex: none; height: auto; position: relative; width: 30px; }\",\".framer-uAOzY .framer-4sihly { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-uAOzY.framer-v-1z0smtm.hover.framer-1z0smtm { gap: 16px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 41\n * @framerIntrinsicWidth 151\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 * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerZQnn8WB8R=withCSS(Component,css,\"framer-uAOzY\");export default FramerZQnn8WB8R;FramerZQnn8WB8R.displayName=\"Buttons/NavBack\";FramerZQnn8WB8R.defaultProps={height:41,width:151};addPropertyControls(FramerZQnn8WB8R,{BryU_KttM:{defaultValue:\"Referenzen\",displayTextArea:false,title:\"Title\",type:ControlType.String},onBryU_KttMChange:{changes:\"BryU_KttM\",type:ControlType.ChangeHandler}});addFonts(FramerZQnn8WB8R,[{explicitInter:true,fonts:[{cssFamilyName:\"Commissioner ExtraBold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Commissioner\",url:\"https://framerusercontent.com/assets/bE1Oqt0RlDJFEJb2ffrZQVkpn0.woff2\",weight:\"800\"}]},...FeatherFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerZQnn8WB8R\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"BryU_KttM\\\":\\\"title\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HhinhOP8R\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"41\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"151\"}},\"__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":"kdACgqB,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,IAAkJ,EAAO,EAAa,EAASA,CAAO,EAAQ,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAAyN,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAo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