{"version":3,"file":"Back.sNvv12Lf.mjs","names":["Phosphor","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/tIVAbNmcS6wpoM5sBWTK/TCWJv0320BQG18vQncoG/SJ0RBRwr0.js","https:/framerusercontent.com/modules/96nnSG4V2b2ybUApZf6f/dKeyJF242oG8NR0Yoyuk/Back.js"],"sourcesContent":["// Generated by Framer (c99c261)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,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 Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const cycleOrder=[\"PeJeqeVPM\",\"SbklxsVVG\"];const serializationHash=\"framer-c5arV\";const variantClassNames={PeJeqeVPM:\"framer-v-1nay6ex\",SbklxsVVG:\"framer-v-124nfmc\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,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 humanReadableVariantMap={\"Variant 1\":\"PeJeqeVPM\",\"Variant 2\":\"SbklxsVVG\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"PeJeqeVPM\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"PeJeqeVPM\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter1wy47ai=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"SbklxsVVG\");});const onMouseLeavemvpzbf=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"PeJeqeVPM\");});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-1nay6ex\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"PeJeqeVPM\",onMouseEnter:onMouseEnter1wy47ai,ref:refBinding,style:{backgroundColor:\"var(--token-0ffa27f3-3606-4e81-9a6a-c4f3ff9072d2, rgb(235, 235, 235))\",borderBottomLeftRadius:386,borderBottomRightRadius:386,borderTopLeftRadius:386,borderTopRightRadius:386,...style},variants:{SbklxsVVG:{borderBottomLeftRadius:209,borderBottomRightRadius:209,borderTopLeftRadius:209,borderTopRightRadius:209}},...addPropertyOverrides({SbklxsVVG:{\"data-framer-name\":\"Variant 2\",onMouseLeave:onMouseLeavemvpzbf}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-vwdi8-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"xA7_4UqRY-container\",nodeId:\"xA7_4UqRY\",rendersWithMotion:true,scopeId:\"SJ0RBRwr0\",style:{rotate:-135},children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-48f93691-ec1d-49de-8422-a86d9edf8060, rgb(80, 80, 80))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"ArrowUpRight\",id:\"xA7_4UqRY\",layoutId:\"xA7_4UqRY\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"regular\",width:\"100%\",...addPropertyOverrides({SbklxsVVG:{color:\"var(--token-4370be0a-4b0c-4d43-949a-fbc782792983, rgb(38, 38, 38))\"}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-c5arV.framer-fzc3gh, .framer-c5arV .framer-fzc3gh { display: block; }\",\".framer-c5arV.framer-1nay6ex { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 7px; position: relative; width: min-content; }\",\".framer-c5arV .framer-vwdi8-container { flex: none; height: 25px; position: relative; width: 25px; z-index: 1; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 39\n * @framerIntrinsicWidth 39\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"SbklxsVVG\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerSJ0RBRwr0=withCSS(Component,css,\"framer-c5arV\");export default FramerSJ0RBRwr0;FramerSJ0RBRwr0.displayName=\"Elements/Back\";FramerSJ0RBRwr0.defaultProps={height:39,width:39};addPropertyControls(FramerSJ0RBRwr0,{variant:{options:[\"PeJeqeVPM\",\"SbklxsVVG\"],optionTitles:[\"Variant 1\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerSJ0RBRwr0,[{explicitInter:true,fonts:[]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerSJ0RBRwr0\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"39\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"SbklxsVVG\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"39\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SJ0RBRwr0.map","import{jsx as _jsx}from\"react/jsx-runtime\";export const GoBack=()=>{return{onTap(){// Check if the history length is greater than 1\nif(window.history.length>1){window.history.back();}else{// Navigate to the UI kit page if there's no history to go back to\nwindow.location.href=`${window.location.origin}/uikit`;}}};};import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withGoBack(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...GoBack(props)});};}withGoBack.displayName=\"GoBack\";\nexport const __FramerMetadata__ = {\"exports\":{\"withGoBack\":{\"type\":\"reactHoc\",\"name\":\"withGoBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GoBack\":{\"type\":\"override\",\"name\":\"GoBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Back.map"],"mappings":"yzBAC+rB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAA5zB,IAAqN,IAAkE,IAA4B,IAAoJ,CAAM,EAAc,EAASA,EAAS,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,CAA8L,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,EAAwB,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,QAAQ,EAAwB,EAAM,UAAU,EAAM,SAAS,YAAY,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAC,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAUnpD,EAAgB,EAVmqD,EAAiB,SAAS,EAAM,EAAI,CAAC,IAAM,EAAYC,EAAO,KAAK,CAAO,EAAW,GAAK,EAAkB,EAAgBC,GAAa,CAAM,CAAC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