{"version":3,"file":"pK7Ik4NIT.Al2AtAnJ.mjs","names":["ButtonLarge","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/ClXDI0FbfyeGrim4WMVZ/TUT3T69i6ARXx2JSLNqd/pK7Ik4NIT.js"],"sourcesContent":["// Generated by Framer (269977d)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,ComponentViewportProvider,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import FC_CatalogFilterResetButton from\"https://framerusercontent.com/modules/CffU1sgP5EvM90y1W3Yw/J1q8GpCpSfgPclWW960r/FC_CatalogFilterResetButton.js\";import ButtonLarge from\"https://framerusercontent.com/modules/3kFjE7uLRnhQpHvIxPCX/G4IRODs0826TaR61r7wF/D_QyA3sy4.js\";const ButtonLargeFonts=getFonts(ButtonLarge);const FC_CatalogFilterResetButtonFonts=getFonts(FC_CatalogFilterResetButton);const serializationHash=\"framer-egAMx\";const variantClassNames={XffhnGpFC:\"framer-v-xvn3bj\"};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,width,...props})=>{return{...props};};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({defaultVariant:\"XffhnGpFC\",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-xvn3bj\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"XffhnGpFC\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1qw1wpb-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"FtA91VONQ-container\",nodeId:\"FtA91VONQ\",rendersWithMotion:true,scopeId:\"pK7Ik4NIT\",children:/*#__PURE__*/_jsx(FC_CatalogFilterResetButton,{Default:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:54,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-17jgwvz-container\",inComponentSlot:true,layoutDependency:layoutDependency,layoutId:\"first-item-N4rTVkFEL-0-container\",nodeId:\"N4rTVkFEL\",rendersWithMotion:true,scopeId:\"pK7Ik4NIT\",children:/*#__PURE__*/_jsx(ButtonLarge,{height:\"100%\",id:\"N4rTVkFEL\",jmJ9uTxxm:\"Clear Filters\",layoutId:\"first-item-N4rTVkFEL-0\",width:\"100%\"})})})],height:\"100%\",id:\"FtA91VONQ\",layoutId:\"FtA91VONQ\",showWhenNoFilters:true,width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-egAMx.framer-157ej2k, .framer-egAMx .framer-157ej2k { display: block; }\",\".framer-egAMx.framer-xvn3bj { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-egAMx .framer-1qw1wpb-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-egAMx .framer-17jgwvz-container { height: auto; position: relative; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 48\n * @framerIntrinsicWidth 189\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerpK7Ik4NIT=withCSS(Component,css,\"framer-egAMx\");export default FramerpK7Ik4NIT;FramerpK7Ik4NIT.displayName=\"FC Catalog Filter Reset Button\";FramerpK7Ik4NIT.defaultProps={height:48,width:189};addFonts(FramerpK7Ik4NIT,[{explicitInter:true,fonts:[]},...ButtonLargeFonts,...FC_CatalogFilterResetButtonFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerpK7Ik4NIT\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"189\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"48\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout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