{"version":3,"file":"mAz7UXQhx.CWCg6ThO.mjs","names":["React.useRef","React.useState","Phosphor","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","useRef","React.useId","FavoriteButtonIcon","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/826gVc58am9OJ0CWzeuA/HEGlKhM2O5uKepIHz1Hk/FC_CatalogFavoriteButton.js","https:/framerusercontent.com/modules/wK0kRTYQR6ktB74uLCPV/83SQ4eIOJfLhgp8aghJa/ohDsDAMNT.js","https:/framerusercontent.com/modules/z39RNTrXqSlwZ20fgbjr/HU8EXZSFOLppcgioI5ce/mAz7UXQhx.js"],"sourcesContent":["/*\n * Framer Commerce\n * Confidential and Proprietary - All Rights Reserved\n * Unauthorized use, reproduction, distribution, or disclosure of this\n * source code or any related information is strictly prohibited.\n *\n * This software is the exclusive property of Framer Commerce (\"Company\").\n * It is considered highly confidential and proprietary information.\n *\n * Any use, copying, modification, distribution, or sharing of this software,\n * in whole or in part, without the express written permission of the Company\n * is strictly prohibited and may result in legal action.\n *\n * DISCLAIMER: This software does not provide any express or\n * implied warranties, including, but not limited to, the implied warranties\n * of merchantability and fitness for a particular purpose. In no event shall\n * Framer Commerce be liable for any direct, indirect, incidental, special,\n * exemplary, or consequential damages (including, but not limited to, procurement\n * of substitute goods or services; loss of use, data, or profits; or business\n * interruption) however caused and on any theory of liability, whether in\n * contract, strict liability, or tort (including negligence or otherwise)\n * arising in any way out of the use of this software, even if advised of\n * the possibility of such damage.\n *\n * Any unauthorized possession, use, copying, distribution, or dissemination\n * of this software will be considered a breach of confidentiality and may\n * result in legal action.\n *\n * For inquiries, contact:\n * Framer Commerce\n * Email: hello@framercommerce.com\n *\n * © 2025 Butter Supply Inc. All Rights Reserved.\n */import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{cloneElement}from\"react\";// Use DOM element to store state without React re-renders\nconst favoriteStore={element:typeof document!==\"undefined\"?document.createElement(\"div\"):null,getState(productId){if(!this.element)return false;try{const favorites=JSON.parse(localStorage.getItem(\"favorites\")||\"[]\");return favorites.includes(productId);}catch{return false;}},toggle(productId){if(!this.element)return;try{const favorites=JSON.parse(localStorage.getItem(\"favorites\")||\"[]\");const isCurrentlyActive=favorites.includes(productId);const newFavorites=isCurrentlyActive?favorites.filter(id=>id!==productId):[...favorites,productId];// Update localStorage first\nlocalStorage.setItem(\"favorites\",JSON.stringify(newFavorites));// Immediately notify subscribers of state change\nconst event=new CustomEvent(\"favorite-changed\",{detail:{productId,isActive:!isCurrentlyActive}});this.element.dispatchEvent(event);// Then dispatch the collection event\nconst collectionEvent=new CustomEvent(\"favorites-updated\",{detail:{favorites:newFavorites,productId,action:isCurrentlyActive?\"remove\":\"add\"}});document.dispatchEvent(collectionEvent);}catch(error){console.error(\"Error updating favorites:\",error);}},subscribe(productId,callback){if(!this.element)return()=>{};const handler=e=>{if(e.detail.productId===productId){callback(e.detail.isActive);}};this.element.addEventListener(\"favorite-changed\",handler);return()=>{this.element.removeEventListener(\"favorite-changed\",handler);};}};/**\n * @framerDisableUnlink\n */export default function FC_CatalogFavoriteButton(props){const{DefaultState,ActiveState,productId}=props;const buttonRef=React.useRef(null);const[isActive,setIsActive]=React.useState(()=>favoriteStore.getState(productId));const isInitialMount=React.useRef(true);React.useEffect(()=>{const button=buttonRef.current;if(!button)return;// Handle click directly on the DOM element\nconst handleClick=e=>{e.preventDefault();e.stopPropagation();// Update state optimistically\nsetIsActive(!isActive);favoriteStore.toggle(productId);};// Add click listener directly to DOM\nbutton.addEventListener(\"click\",handleClick,{capture:true});// Subscribe to state changes for sync\nconst unsubscribe=favoriteStore.subscribe(productId,newIsActive=>{if(isInitialMount.current){isInitialMount.current=false;return;}if(isActive!==newIsActive){setIsActive(newIsActive);}});return()=>{button.removeEventListener(\"click\",handleClick,{capture:true});unsubscribe();};},[productId,isActive]);const componentInstance=isActive?ActiveState:DefaultState;const content=Array.isArray(componentInstance)?componentInstance[0]:componentInstance;if(!content||!/*#__PURE__*/React.isValidElement(content)){return /*#__PURE__*/_jsx(\"div\",{ref:buttonRef,style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#666\",fontSize:\"14px\",transform:\"none\"},children:\"Connect Instance\"});}const renderedContent=/*#__PURE__*/cloneElement(content,{style:{...content.props?.style||{},width:\"100%\",height:\"100%\",transform:\"none\"}});if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{ref:buttonRef,style:{height:\"100%\",width:\"100%\",transform:\"none\"},children:renderedContent});}return /*#__PURE__*/_jsx(\"div\",{ref:buttonRef,style:{height:\"100%\",width:\"100%\",transform:\"none\",cursor:\"pointer\"},children:renderedContent});}addPropertyControls(FC_CatalogFavoriteButton,{productId:{type:ControlType.String,title:\"Product ID\",description:\"Connect to CMS\"},DefaultState:{type:ControlType.ComponentInstance,title:\"Default State\"},ActiveState:{type:ControlType.ComponentInstance,title:\"Active State\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FC_CatalogFavoriteButton\",\"slots\":[\"DefaultState\",\"ActiveState\"],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FC_CatalogFavoriteButton.map","// Generated by Framer (cbc36cd)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,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{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const enabledGestures={a1rRar0iB:{hover:true},hNkp6DeLL:{hover:true},U6uvrMBGT:{hover:true},Up2mNmRlF:{hover:true}};const cycleOrder=[\"U6uvrMBGT\",\"a1rRar0iB\",\"Up2mNmRlF\",\"hNkp6DeLL\"];const serializationHash=\"framer-YZmnK\";const variantClassNames={a1rRar0iB:\"framer-v-nd4czw\",hNkp6DeLL:\"framer-v-x79ivi\",U6uvrMBGT:\"framer-v-1hu0u4m\",Up2mNmRlF:\"framer-v-zprzwl\"};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={\"Default - Active\":\"a1rRar0iB\",\"Default - Inactive\":\"U6uvrMBGT\",\"Muted - Active\":\"hNkp6DeLL\",\"Muted - Inactive\":\"Up2mNmRlF\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"U6uvrMBGT\"};};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:\"U6uvrMBGT\",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__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1hu0u4m\",className,classNames),\"data-framer-name\":\"Default - Inactive\",layoutDependency:layoutDependency,layoutId:\"U6uvrMBGT\",ref:refBinding,style:{backgroundColor:\"var(--token-5087bb56-e67b-4acc-afc9-0cb2e336d0c2, rgb(242, 242, 239))\",borderBottomLeftRadius:80,borderBottomRightRadius:80,borderTopLeftRadius:80,borderTopRightRadius:80,...style},variants:{\"a1rRar0iB-hover\":{backgroundColor:\"var(--token-81373393-334b-43ee-9fca-c7cf7b1a60e8, rgb(232, 232, 225))\"},hNkp6DeLL:{backgroundColor:\"var(--token-81373393-334b-43ee-9fca-c7cf7b1a60e8, rgb(232, 232, 225))\"},Up2mNmRlF:{backgroundColor:\"var(--token-81373393-334b-43ee-9fca-c7cf7b1a60e8, rgb(232, 232, 225))\"}},...addPropertyOverrides({\"a1rRar0iB-hover\":{\"data-framer-name\":undefined},\"hNkp6DeLL-hover\":{\"data-framer-name\":undefined},\"U6uvrMBGT-hover\":{\"data-framer-name\":undefined},\"Up2mNmRlF-hover\":{\"data-framer-name\":undefined},a1rRar0iB:{\"data-framer-name\":\"Default - Active\"},hNkp6DeLL:{\"data-framer-name\":\"Muted - Active\"},Up2mNmRlF:{\"data-framer-name\":\"Muted - Inactive\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1on9yq-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"R__VR63j8-container\",nodeId:\"R__VR63j8\",rendersWithMotion:true,scopeId:\"ohDsDAMNT\",children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-18679979-6448-4bbc-b126-08912c9b73ae, rgb(187, 139, 139))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"Heart\",id:\"R__VR63j8\",layoutId:\"R__VR63j8\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"bold\",width:\"100%\",...addPropertyOverrides({\"a1rRar0iB-hover\":{weight:\"bold\"},\"hNkp6DeLL-hover\":{weight:\"bold\"},\"U6uvrMBGT-hover\":{weight:\"fill\"},\"Up2mNmRlF-hover\":{weight:\"fill\"},a1rRar0iB:{weight:\"fill\"},hNkp6DeLL:{weight:\"fill\"}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-YZmnK.framer-f9eo6m, .framer-YZmnK .framer-f9eo6m { display: block; }\",\".framer-YZmnK.framer-1hu0u4m { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 4px; height: 32px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 32px; will-change: var(--framer-will-change-override, transform); }\",\".framer-YZmnK .framer-1on9yq-container { flex: none; height: 16px; position: relative; width: 16px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 32\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"a1rRar0iB\":{\"layout\":[\"fixed\",\"fixed\"]},\"Up2mNmRlF\":{\"layout\":[\"fixed\",\"fixed\"]},\"hNkp6DeLL\":{\"layout\":[\"fixed\",\"fixed\"]},\"jfXHTaPHU\":{\"layout\":[\"fixed\",\"fixed\"]},\"HfRrSDfm_\":{\"layout\":[\"fixed\",\"fixed\"]},\"SkQaizTG_\":{\"layout\":[\"fixed\",\"fixed\"]},\"cmKfbvR43\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerohDsDAMNT=withCSS(Component,css,\"framer-YZmnK\");export default FramerohDsDAMNT;FramerohDsDAMNT.displayName=\"Favorite Button Icon\";FramerohDsDAMNT.defaultProps={height:32,width:32};addPropertyControls(FramerohDsDAMNT,{variant:{options:[\"U6uvrMBGT\",\"a1rRar0iB\",\"Up2mNmRlF\",\"hNkp6DeLL\"],optionTitles:[\"Default - Inactive\",\"Default - Active\",\"Muted - Inactive\",\"Muted - Active\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerohDsDAMNT,[{explicitInter:true,fonts:[]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerohDsDAMNT\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"32\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"32\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"a1rRar0iB\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Up2mNmRlF\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"hNkp6DeLL\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"jfXHTaPHU\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"HfRrSDfm_\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"SkQaizTG_\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"cmKfbvR43\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ohDsDAMNT.map","// Generated by Framer (f73129a)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,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_CatalogFavoriteButton from\"https://framerusercontent.com/modules/826gVc58am9OJ0CWzeuA/HEGlKhM2O5uKepIHz1Hk/FC_CatalogFavoriteButton.js\";import FavoriteButtonIcon from\"https://framerusercontent.com/modules/wK0kRTYQR6ktB74uLCPV/83SQ4eIOJfLhgp8aghJa/ohDsDAMNT.js\";const FavoriteButtonIconFonts=getFonts(FavoriteButtonIcon);const FC_CatalogFavoriteButtonFonts=getFonts(FC_CatalogFavoriteButton);const FavoriteButtonIconControls=getPropertyControls(FavoriteButtonIcon);const serializationHash=\"framer-mKicy\";const variantClassNames={aGSUMZWS8:\"framer-v-geuwj0\"};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 humanReadableEnumMap={\"Button Active\":\"a1rRar0iB\",\"Button Inactive\":\"U6uvrMBGT\"};const getProps=({active,height,id,inactive,productID,width,...props})=>{return{...props,hpTCa5Ntv:productID??props.hpTCa5Ntv,NvoG3IeOL:humanReadableEnumMap[inactive]??inactive??props.NvoG3IeOL??\"U6uvrMBGT\",pL59_IQit:humanReadableEnumMap[active]??active??props.pL59_IQit??\"a1rRar0iB\"};};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,hpTCa5Ntv,NvoG3IeOL,pL59_IQit,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"aGSUMZWS8\",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-geuwj0\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"aGSUMZWS8\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-4yzsw1-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"Tx5sFbM1s-container\",nodeId:\"Tx5sFbM1s\",rendersWithMotion:true,scopeId:\"mAz7UXQhx\",children:/*#__PURE__*/_jsx(FC_CatalogFavoriteButton,{ActiveState:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:32,width:\"32px\",children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-7wnwxa-container\",inComponentSlot:true,layoutDependency:layoutDependency,layoutId:\"C_Cpg8Pin-container\",nodeId:\"C_Cpg8Pin\",rendersWithMotion:true,scopeId:\"mAz7UXQhx\",children:/*#__PURE__*/_jsx(FavoriteButtonIcon,{height:\"100%\",id:\"C_Cpg8Pin\",layoutId:\"C_Cpg8Pin\",variant:pL59_IQit,width:\"100%\"})})})],DefaultState:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:32,width:\"32px\",children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1hc2cdl-container\",inComponentSlot:true,layoutDependency:layoutDependency,layoutId:\"Z1WMJeyjC-container\",nodeId:\"Z1WMJeyjC\",rendersWithMotion:true,scopeId:\"mAz7UXQhx\",children:/*#__PURE__*/_jsx(FavoriteButtonIcon,{height:\"100%\",id:\"Z1WMJeyjC\",layoutId:\"Z1WMJeyjC\",variant:NvoG3IeOL,width:\"100%\"})})})],height:\"100%\",id:\"Tx5sFbM1s\",layoutId:\"Tx5sFbM1s\",productId:hpTCa5Ntv,width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-mKicy.framer-1nrzf9w, .framer-mKicy .framer-1nrzf9w { display: block; }\",\".framer-mKicy.framer-geuwj0 { 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: 0px; position: relative; width: min-content; }\",\".framer-mKicy .framer-4yzsw1-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-mKicy .framer-1hc2cdl-container, .framer-mKicy .framer-7wnwxa-container { height: auto; position: relative; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 32\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"hpTCa5Ntv\":\"productID\",\"NvoG3IeOL\":\"inactive\",\"pL59_IQit\":\"active\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramermAz7UXQhx=withCSS(Component,css,\"framer-mKicy\");export default FramermAz7UXQhx;FramermAz7UXQhx.displayName=\"Favorite Button\";FramermAz7UXQhx.defaultProps={height:32,width:32};addPropertyControls(FramermAz7UXQhx,{hpTCa5Ntv:{defaultValue:\"\",title:\"Product ID\",type:ControlType.String},NvoG3IeOL:FavoriteButtonIconControls?.[\"variant\"]&&{...FavoriteButtonIconControls[\"variant\"],defaultValue:\"U6uvrMBGT\",description:undefined,hidden:undefined,title:\"Inactive\"},pL59_IQit:FavoriteButtonIconControls?.[\"variant\"]&&{...FavoriteButtonIconControls[\"variant\"],defaultValue:\"a1rRar0iB\",description:undefined,hidden:undefined,title:\"Active\"}});addFonts(FramermAz7UXQhx,[{explicitInter:true,fonts:[]},...FavoriteButtonIconFonts,...FC_CatalogFavoriteButtonFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramermAz7UXQhx\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"hpTCa5Ntv\\\":\\\"productID\\\",\\\"NvoG3IeOL\\\":\\\"inactive\\\",\\\"pL59_IQit\\\":\\\"active\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"32\",\"framerIntrinsicHeight\":\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