{"version":3,"file":"AddToCartButton.a0w59EGT.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/bMeXQWw45BFLB6temvfH/ABmyJ5yto2MPHWNfHlZC/AddToCartButton.js"],"sourcesContent":["// Store component with Add to Cart and Cart functionality\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,startTransition,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,Data}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";// Shared cart state using Framer's Data API\nconst cartData=Data({items:[]});// Add a global event system for cart updates\nconst cartUpdateListeners=new Set;const notifyCartUpdate=()=>{cartUpdateListeners.forEach(listener=>listener());};const addCartUpdateListener=listener=>{cartUpdateListeners.add(listener);return()=>cartUpdateListeners.delete(listener);};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function StoreComponent(props){const{component}=props;if(component===\"addToCart\"){return /*#__PURE__*/_jsx(AddToCartComponent,{...props});}else if(component===\"cart\"){return /*#__PURE__*/_jsx(CartComponent,{...props});}else if(component===\"openCartIcon\"){return /*#__PURE__*/_jsx(OpenCartIconComponent,{...props});}else{return /*#__PURE__*/_jsx(CheckoutFormComponent,{...props});}}function AddToCartComponent(props){const{text,loadingText,successText,backgroundColor,textColor,hoverColor,successColor,borderRadius,font,disabled,padding,productName,productPrice,productImage,vendorId,inventoryId}=props;const[state,setState]=useState(\"idle\");const[inventory,setInventory]=useState(null);const[inventoryLoading,setInventoryLoading]=useState(true);// Fetch inventory data\nuseEffect(()=>{if(!inventoryId||typeof window===\"undefined\"){startTransition(()=>{setInventoryLoading(false);setInventory(null);});return;}const checkSupabase=()=>{const supabase=window.supabaseClient;if(!supabase){setTimeout(checkSupabase,100);return;}fetchInventory(supabase);// Set up realtime subscription for inventory\nconst subscription=supabase.channel(\"inventory_changes\").on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"product_inventory\",filter:`id=eq.${inventoryId}`},payload=>{if(payload.new&&payload.new.inventory!==undefined){startTransition(()=>{setInventory(payload.new.inventory);});}}).subscribe();return()=>{subscription.unsubscribe();};};const fetchInventory=async supabase=>{try{startTransition(()=>setInventoryLoading(true));const{data,error:fetchError}=await supabase.from(\"product_inventory\").select(\"inventory\").eq(\"id\",inventoryId).single();if(fetchError){throw fetchError;}startTransition(()=>{setInventory(data?.inventory??0);setInventoryLoading(false);});}catch(err){console.error(\"Error fetching inventory:\",err);startTransition(()=>{setInventory(0);setInventoryLoading(false);});}};const cleanup=checkSupabase();return cleanup;},[inventoryId]);// Check current quantity in cart for this product\nconst currentCartQuantity=cartData.items.find(item=>item.inventoryId===inventoryId)?.quantity||0;// Calculate available quantity (inventory minus what's already in cart)\nconst availableQuantity=inventory!==null?Math.max(0,inventory-currentCartQuantity):0;// Determine if button should be disabled\nconst isDisabled=disabled||state!==\"idle\"||inventoryLoading||availableQuantity<=0;const handleClick=()=>{if(isDisabled)return;startTransition(()=>setState(\"loading\"));// Simulate API call\nsetTimeout(()=>{// Add item to cart\nconst newItem={name:productName,price:productPrice,quantity:1,image:productImage||{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Product\"},inventoryId:inventoryId,artistId:vendorId};// Check if item already exists in cart\nconst existingItemIndex=cartData.items.findIndex(item=>item.inventoryId===inventoryId);if(existingItemIndex>=0){// Update quantity if item exists and inventory allows\nconst currentItem=cartData.items[existingItemIndex];if(inventory!==null&&currentItem.quantity<inventory){cartData.items[existingItemIndex].quantity+=1;}}else{// Add new item if it doesn't exist and inventory allows\nif(inventory!==null&&inventory>0){cartData.items.push(newItem);}}startTransition(()=>setState(\"success\"));// Reset after success animation\nsetTimeout(()=>{startTransition(()=>setState(\"idle\"));},2e3);},1500);};const getButtonColor=()=>{if(state===\"success\")return successColor;return backgroundColor;};const getButtonText=()=>{if(inventoryLoading)return\"Loading...\";if(inventory===0)return\"Out of Stock\";if(availableQuantity===0)return\"Max in Cart\";switch(state){case\"loading\":return loadingText;case\"success\":return successText;default:return text;}};const isFixedWidth=props?.style&&props.style.width===\"100%\";return /*#__PURE__*/_jsxs(motion.button,{style:{...props.style,...isFixedWidth?{}:{minWidth:\"max-content\"},position:\"relative\",padding:padding,border:\"none\",borderRadius,backgroundColor:getButtonColor(),color:textColor,cursor:isDisabled?\"not-allowed\":\"pointer\",opacity:isDisabled?.6:1,overflow:\"hidden\",...font,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"8px\",filter:state===\"success\"?\"invert(100%)\":\"none\"},onClick:handleClick,disabled:isDisabled,whileHover:isDisabled?{}:{backgroundColor:hoverColor},whileTap:isDisabled?{}:{scale:.98},animate:{backgroundColor:getButtonColor()},transition:{duration:.2},children:[/*#__PURE__*/_jsxs(AnimatePresence,{mode:\"wait\",children:[state===\"loading\"&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1,rotate:360},exit:{opacity:0,scale:.8},transition:{rotate:{duration:1,repeat:Infinity,ease:\"linear\"},opacity:{duration:.2},scale:{duration:.2}},style:{width:\"16px\",height:\"16px\",border:`2px solid ${textColor}`,borderTop:\"2px solid transparent\",borderRadius:\"50%\"}},\"loading\"),state===\"success\"&&/*#__PURE__*/_jsx(motion.svg,{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:textColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2},children:/*#__PURE__*/_jsx(motion.path,{d:\"M20 6L9 17l-5-5\",initial:{pathLength:0},animate:{pathLength:1},transition:{duration:.5,delay:.1}})},\"success\")]}),/*#__PURE__*/_jsx(motion.span,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},children:getButtonText()},state)]});}function CartComponent(props){const{cartBackgroundColor,cartTextColor,cartBorderRadius,cartFont,showImages,cartPadding}=props;// Use shared cart data instead of local state\nconst items=cartData.items;const[inventoryData,setInventoryData]=useState({});// Fetch inventory for all items in cart\nuseEffect(()=>{if(items.length===0||typeof window===\"undefined\")return;const checkSupabase=()=>{const supabase=window.supabaseClient;if(!supabase){setTimeout(checkSupabase,100);return;}fetchAllInventory(supabase);// Set up realtime subscription for all inventory items\nconst inventoryIds=items.map(item=>item.inventoryId).filter(Boolean);if(inventoryIds.length===0)return;const subscription=supabase.channel(\"cart_inventory_changes\").on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"product_inventory\"},payload=>{if(payload.new&&payload.new.inventory!==undefined){startTransition(()=>{setInventoryData(prev=>({...prev,[payload.new.id]:payload.new.inventory}));});}}).subscribe();return()=>{subscription.unsubscribe();};};const fetchAllInventory=async supabase=>{try{const inventoryIds=items.map(item=>item.inventoryId).filter(Boolean);if(inventoryIds.length===0)return;const{data,error:fetchError}=await supabase.from(\"product_inventory\").select(\"id, inventory\").in(\"id\",inventoryIds);if(fetchError){throw fetchError;}const inventoryMap={};data?.forEach(item=>{inventoryMap[item.id]=item.inventory;});startTransition(()=>{setInventoryData(inventoryMap);});}catch(err){console.error(\"Error fetching cart inventory:\",err);}};const cleanup=checkSupabase();return cleanup;},[items.length]);const updateQuantity=(index,newQuantity)=>{const item=items[index];const maxInventory=inventoryData[item.inventoryId]||0;if(newQuantity<=0){startTransition(()=>{cartData.items.splice(index,1);});}else if(newQuantity<=maxInventory){startTransition(()=>{cartData.items[index].quantity=newQuantity;});}};const total=items.reduce((sum,item)=>sum+item.price*item.quantity,0);const isFixedWidth=props?.style&&props.style.width===\"100%\";return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,...isFixedWidth?{}:{minWidth:\"max-content\"},backgroundColor:cartBackgroundColor,color:cartTextColor,borderRadius:cartBorderRadius,padding:cartPadding,...cartFont,display:\"flex\",flexDirection:\"column\",gap:\"12px\"},children:items.length===0?/*#__PURE__*/_jsx(\"p\",{style:{margin:0,opacity:.7},children:\"Your cart is empty\"}):/*#__PURE__*/_jsxs(_Fragment,{children:[items.map((item,index)=>{const maxInventory=inventoryData[item.inventoryId]||0;const canIncrease=item.quantity<maxInventory;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"12px\",padding:\"8px\",backgroundColor:\"rgba(255, 255, 255, 0.1)\",borderRadius:\"4px\"},children:[showImages&&item.image&&item.image.src&&/*#__PURE__*/_jsx(\"img\",{src:item.image.src,alt:item.image.alt||\"Product\",style:{width:\"40px\",height:\"40px\",objectFit:\"cover\",borderRadius:\"4px\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:\"bold\"},children:item.name}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:\"0.9em\",opacity:.8},children:[\"KES \",item.price]}),maxInventory>0&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:\"0.8em\",opacity:.6},children:[maxInventory,\" available\"]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"8px\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>updateQuantity(index,item.quantity-1),style:{width:\"24px\",height:\"24px\",border:\"none\",borderRadius:\"4px\",backgroundColor:\"rgba(255, 255, 255, 0.2)\",color:cartTextColor,cursor:\"pointer\"},children:\"-\"}),/*#__PURE__*/_jsx(\"span\",{style:{minWidth:\"20px\",textAlign:\"center\"},children:item.quantity}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>updateQuantity(index,item.quantity+1),disabled:!canIncrease,style:{width:\"24px\",height:\"24px\",border:\"none\",borderRadius:\"4px\",backgroundColor:canIncrease?\"rgba(255, 255, 255, 0.2)\":\"rgba(255, 255, 255, 0.1)\",color:cartTextColor,cursor:canIncrease?\"pointer\":\"not-allowed\",opacity:canIncrease?1:.5},children:\"+\"}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>updateQuantity(index,0),style:{width:\"60px\",height:\"24px\",border:\"none\",borderRadius:\"4px\",backgroundColor:\"#FF5588\",color:\"#FFFFFF\",cursor:\"pointer\",fontSize:\"12px\",marginLeft:\"8px\"},children:\"Remove\"})]})]},index);}),/*#__PURE__*/_jsxs(\"div\",{style:{borderTop:\"1px solid rgba(255, 255, 255, 0.2)\",paddingTop:\"12px\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",fontWeight:\"bold\"},children:[/*#__PURE__*/_jsx(\"span\",{children:\"Total:\"}),/*#__PURE__*/_jsxs(\"span\",{children:[\"KES \",total]})]})]})});}function OpenCartIconComponent(props){const{iconSize,iconColor,counterColor,counterTextColor,font,iconPadding,openCartIconOption}=props;const items=cartData.items;const totalItems=items.reduce((sum,item)=>sum+item.quantity,0);return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,position:\"relative\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\"},children:openCartIconOption===\"cart\"?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{color:iconColor},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"3\",y1:\"6\",x2:\"21\",y2:\"6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m16 10a4 4 0 0 1-8 0\"})]}),totalItems>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"-8px\",right:\"-8px\",backgroundColor:counterColor,color:counterTextColor,borderRadius:\"50%\",width:\"20px\",height:\"20px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"12px\",fontWeight:\"bold\",minWidth:\"20px\",...font},children:totalItems>99?\"99+\":totalItems})]}):// Counter only\n/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:counterColor,color:counterTextColor,borderRadius:\"50%\",width:\"auto\",height:\"auto\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"12px\",fontWeight:\"bold\",minWidth:\"20px\",minHeight:\"20px\",padding:iconPadding,aspectRatio:\"1\",opacity:totalItems===0?0:1,...font},children:totalItems>99?\"99+\":totalItems})});}// Simple location autocomplete component\nfunction LocationAutocomplete(props){const{apiKey,placeholder,backgroundColor,textColor,placeholderColor,hoverBackgroundColor,borderColor,borderRadius,font,onLocationSelect,style}=props;const[value,setValue]=useState(\"\");const[suggestions,setSuggestions]=useState([]);const[showSuggestions,setShowSuggestions]=useState(false);const inputRef=useRef(null);// Mock suggestions for demo purposes\nconst mockSuggestions=[\"Nairobi, Kenya\",\"Mombasa, Kenya\",\"Kisumu, Kenya\",\"Nakuru, Kenya\",\"Eldoret, Kenya\"];const handleInputChange=e=>{const inputValue=e.target.value;setValue(inputValue);if(inputValue.length>2){const filtered=mockSuggestions.filter(suggestion=>suggestion.toLowerCase().includes(inputValue.toLowerCase()));setSuggestions(filtered);setShowSuggestions(true);}else{setShowSuggestions(false);}};const handleSuggestionClick=suggestion=>{setValue(suggestion);setShowSuggestions(false);onLocationSelect({address:suggestion});};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",...style},children:[/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"text\",value:value,onChange:handleInputChange,placeholder:placeholder,style:{width:\"100%\",padding:\"12px 16px\",border:`1px solid ${borderColor}`,borderRadius:`${borderRadius}px`,backgroundColor:backgroundColor,color:textColor,fontSize:\"16px\",outline:\"none\",...font,\"::placeholder\":{color:placeholderColor}},onFocus:()=>{if(suggestions.length>0){setShowSuggestions(true);}},onBlur:()=>{// Delay hiding to allow click on suggestions\nsetTimeout(()=>setShowSuggestions(false),200);}}),showSuggestions&&suggestions.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"100%\",left:0,right:0,backgroundColor:backgroundColor,border:`1px solid ${borderColor}`,borderTop:\"none\",borderRadius:`0 0 ${borderRadius}px ${borderRadius}px`,maxHeight:\"200px\",overflowY:\"auto\",zIndex:1e3,boxShadow:\"0 2px 8px rgba(0,0,0,0.1)\"},children:suggestions.map((suggestion,index)=>/*#__PURE__*/_jsx(\"div\",{onClick:()=>handleSuggestionClick(suggestion),style:{padding:\"12px 16px\",cursor:\"pointer\",borderBottom:index<suggestions.length-1?`1px solid ${borderColor}`:\"none\",...font},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=hoverBackgroundColor;},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=backgroundColor;},children:suggestion},index))})]});}function buildPaystackSplit(cart){const artistMap={};for(const item of cart.items){const artist=item.artistId;const itemTotal=item.price*item.quantity;if(!artistMap[artist]){artistMap[artist]={amount:0,quantity:0};}artistMap[artist].amount+=itemTotal;artistMap[artist].quantity+=item.quantity;}const totalTip=cart.tip||0;const totalQuantity=Object.values(artistMap).reduce((sum,a)=>sum+a.quantity,0);const subaccounts=[];let totalArtistShare=0;for(const[artistId,data]of Object.entries(artistMap)){const baseShare=Math.round(data.amount*.9);const tipShare=Math.round(data.quantity/totalQuantity*totalTip);const totalShare=baseShare+tipShare;totalArtistShare+=totalShare;subaccounts.push({subaccount:artistId,share:totalShare});}return{type:\"flat\",bearer_type:\"all\",subaccounts};}function CheckoutFormComponent(props){const{deliveryAddressFont,shippingPriceFont,tipFont,checkoutButtonFont,formBackgroundColor,formTextColor,formBorderRadius,checkoutButtonColor,checkoutButtonTextColor,checkoutButtonHoverColor,formPadding,// Location Autocomplete props\napiKey=\"YOUR_API_KEY\",placeholder=\"Enter a location...\",addressBackgroundColor=\"#FFFFFF\",addressTextColor=\"#000000\",addressPlaceholderColor=\"#999999\",addressHoverBackgroundColor=\"#F5F5F5\",addressBorderColor=\"#CCCCCC\",addressBorderRadius=8,addressFont,// Paystack credentials\npaystackPublicKey=\"YOUR_PUBLIC_KEY\",paystackSecretKey=\"YOUR_SECRET_KEY\"}=props;const items=cartData.items;const[deliveryAddress,setDeliveryAddress]=useState(\"\");const[shippingPrice,setShippingPrice]=useState(0);const[tip,setTip]=useState(0);const[selectedTipPercentage,setSelectedTipPercentage]=useState(null);const[customTip,setCustomTip]=useState(\"\");const[customerInfo,setCustomerInfo]=useState(null);const subtotal=items.reduce((sum,item)=>sum+item.price*item.quantity,0);const total=subtotal+shippingPrice+tip;// Fetch customer information from Supabase\nuseEffect(()=>{if(typeof window===\"undefined\")return;const checkSupabase=()=>{const supabase=window.supabaseClient;if(!supabase){setTimeout(checkSupabase,100);return;}fetchCustomerInfo(supabase);};const fetchCustomerInfo=async supabase=>{try{// Get current user\nconst{data:{user}}=await supabase.auth.getUser();if(user){// Fetch customer profile\nconst{data,error}=await supabase.from(\"profiles\").select(\"name, email\").eq(\"id\",user.id).single();if(error){console.error(\"Error fetching customer info:\",error);// Fallback to user email if profile not found\nsetCustomerInfo({name:user.user_metadata?.name||\"Customer\",email:user.email||\"customer@example.com\"});}else{setCustomerInfo({name:data.name||user.user_metadata?.name||\"Customer\",email:data.email||user.email||\"customer@example.com\"});}}else{// No user logged in, use default\nsetCustomerInfo({name:\"Customer\",email:\"customer@example.com\"});}}catch(err){console.error(\"Error fetching customer info:\",err);setCustomerInfo({name:\"Customer\",email:\"customer@example.com\"});}};checkSupabase();},[]);const handleTipPercentageSelect=percentage=>{const tipAmount=Math.round(subtotal*percentage/100);setTip(tipAmount);setSelectedTipPercentage(percentage);setCustomTip(\"\");};const handleCustomTipChange=value=>{setCustomTip(value);const tipAmount=Number(value)||0;setTip(tipAmount);setSelectedTipPercentage(null);};const initializePaystackTransaction=async cart=>{if(!customerInfo){console.error(\"Customer information not available\");return;}try{// Build Paystack split\nconst paystackSplit=buildPaystackSplit(cart);// Create Paystack payload\nconst payload={email:customerInfo.email,amount:cart.total,currency:\"KES\",callback_url:\"https://yourwebsite.com/verify\",split:paystackSplit,metadata:{customer_name:customerInfo.name,delivery_address:deliveryAddress,shipping_price:shippingPrice,tip:tip,items:cart.items}};console.log(\"Initializing Paystack transaction:\",payload);// Load Paystack Inline JS if not already loaded\nif(typeof window!==\"undefined\"&&!window.PaystackPop){const script=document.createElement(\"script\");script.src=\"https://js.paystack.co/v1/inline.js\";script.onload=()=>{initializePaystackPopup(payload);};document.head.appendChild(script);}else{initializePaystackPopup(payload);}}catch(error){console.error(\"Error initializing Paystack transaction:\",error);}};const initializePaystackPopup=payload=>{const handler=window.PaystackPop.setup({key:paystackPublicKey,email:payload.email,amount:payload.amount,currency:\"KES\",split:payload.split,metadata:payload.metadata,callback:function(response){console.log(\"Payment successful:\",response);// Handle successful payment\nalert(\"Payment successful! Reference: \"+response.reference);// Clear cart after successful payment\nstartTransition(()=>{cartData.items.length=0;});notifyCartUpdate();},onClose:function(){console.log(\"Payment popup closed\");}});handler.openIframe();};const handleCheckout=()=>{if(typeof window!==\"undefined\"){// Build cart object for Paystack split\nconst cart={items:items.map(item=>({name:item.name,price:item.price,quantity:item.quantity,inventoryId:item.inventoryId,artistId:item.artistId})),tip:tip,total:total};// Initialize Paystack transaction instead of downloading JSON\ninitializePaystackTransaction(cart);}};const isFixedWidth=props?.style&&props.style.width===\"100%\";return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,...isFixedWidth?{}:{minWidth:\"max-content\"},backgroundColor:formBackgroundColor,color:formTextColor,borderRadius:formBorderRadius,padding:formPadding,display:\"flex\",flexDirection:\"column\",gap:\"16px\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,...deliveryAddressFont},children:\"Checkout\"}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"label\",{style:{display:\"block\",marginBottom:\"8px\",...deliveryAddressFont},children:\"Delivery Address\"}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:deliveryAddress,onChange:e=>setDeliveryAddress(e.target.value),placeholder:placeholder,style:{width:\"100%\",padding:\"12px 16px\",border:`1px solid ${addressBorderColor}`,borderRadius:`${addressBorderRadius}px`,backgroundColor:addressBackgroundColor,color:addressTextColor,fontSize:\"16px\",outline:\"none\",...addressFont}})]}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"label\",{style:{display:\"block\",marginBottom:\"8px\",...shippingPriceFont},children:\"Shipping Price (KES)\"}),/*#__PURE__*/_jsx(\"input\",{type:\"number\",value:shippingPrice,onChange:e=>setShippingPrice(Number(e.target.value)||0),min:\"0\",step:\"1\",style:{width:\"100%\",padding:\"12px 16px\",border:`1px solid ${addressBorderColor}`,borderRadius:`${addressBorderRadius}px`,backgroundColor:addressBackgroundColor,color:addressTextColor,fontSize:\"16px\",outline:\"none\",...addressFont}})]}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"label\",{style:{display:\"block\",marginBottom:\"8px\",...tipFont},children:\"Tip\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:\"8px\",marginBottom:\"12px\",flexWrap:\"wrap\"},children:[[5,10,15].map(percentage=>{const tipAmount=Math.round(subtotal*percentage/100);const isSelected=selectedTipPercentage===percentage;return /*#__PURE__*/_jsxs(\"button\",{onClick:()=>handleTipPercentageSelect(percentage),style:{flex:1,minWidth:\"80px\",padding:\"12px 16px\",border:`2px solid ${isSelected?\"#0099FF\":addressBorderColor}`,borderRadius:`${addressBorderRadius}px`,backgroundColor:isSelected?\"#0099FF\":addressBackgroundColor,color:isSelected?\"#FFFFFF\":addressTextColor,cursor:\"pointer\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:\"4px\",...addressFont,fontSize:\"14px\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{fontWeight:\"bold\"},children:[percentage,\"%\"]}),/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:\"12px\",opacity:.8},children:[\"KES\",tipAmount]})]},percentage);}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>{setSelectedTipPercentage(null);setTip(0);setCustomTip(\"\");},style:{flex:1,minWidth:\"80px\",padding:\"12px 16px\",border:`2px solid ${selectedTipPercentage===null&&tip===0?\"#0099FF\":addressBorderColor}`,borderRadius:`${addressBorderRadius}px`,backgroundColor:selectedTipPercentage===null&&tip===0?\"#0099FF\":addressBackgroundColor,color:selectedTipPercentage===null&&tip===0?\"#FFFFFF\":addressTextColor,cursor:\"pointer\",...addressFont,fontSize:\"14px\"},children:\"None\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:\"8px\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:customTip,onChange:e=>handleCustomTipChange(e.target.value),placeholder:\"Custom tip\",style:{flex:1,padding:\"12px 16px\",border:`1px solid ${addressBorderColor}`,borderRadius:`${addressBorderRadius}px`,backgroundColor:addressBackgroundColor,color:addressTextColor,fontSize:\"16px\",outline:\"none\",...addressFont}}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>{const tipAmount=Number(customTip)||0;setTip(tipAmount);setSelectedTipPercentage(null);},disabled:!customTip.trim(),style:{padding:\"12px 16px\",border:\"none\",borderRadius:`${addressBorderRadius}px`,backgroundColor:customTip.trim()?\"#CCCCCC\":\"#F0F0F0\",color:customTip.trim()?\"#000000\":\"#999999\",cursor:customTip.trim()?\"pointer\":\"not-allowed\",...addressFont,fontSize:\"14px\"},children:\"Update tip\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{borderTop:\"1px solid rgba(0,0,0,0.1)\",paddingTop:\"16px\",display:\"flex\",flexDirection:\"column\",gap:\"8px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"span\",{children:\"Subtotal:\"}),/*#__PURE__*/_jsxs(\"span\",{children:[\"KES \",subtotal]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"span\",{children:\"Shipping:\"}),/*#__PURE__*/_jsxs(\"span\",{children:[\"KES \",shippingPrice]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"span\",{children:\"Tip:\"}),/*#__PURE__*/_jsxs(\"span\",{children:[\"KES \",tip]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",fontWeight:\"bold\",borderTop:\"1px solid rgba(0,0,0,0.1)\",paddingTop:\"8px\"},children:[/*#__PURE__*/_jsx(\"span\",{children:\"Total:\"}),/*#__PURE__*/_jsxs(\"span\",{children:[\"KES \",total]})]})]}),/*#__PURE__*/_jsx(motion.button,{onClick:handleCheckout,disabled:items.length===0||!deliveryAddress.trim(),style:{padding:\"12px 24px\",border:\"none\",borderRadius:\"8px\",backgroundColor:checkoutButtonColor,color:checkoutButtonTextColor,cursor:items.length===0||!deliveryAddress.trim()?\"not-allowed\":\"pointer\",opacity:items.length===0||!deliveryAddress.trim()?.6:1,...checkoutButtonFont},whileHover:items.length===0||!deliveryAddress.trim()?{}:{backgroundColor:checkoutButtonHoverColor},whileTap:items.length===0||!deliveryAddress.trim()?{}:{scale:.98},children:items.length===0?\"Cart is Empty\":!deliveryAddress.trim()?\"Enter Delivery Address\":\"Checkout\"})]});}addPropertyControls(StoreComponent,{component:{type:ControlType.Enum,title:\"Component\",options:[\"addToCart\",\"cart\",\"openCartIcon\",\"checkoutForm\"],optionTitles:[\"Add to Cart\",\"Items list\",\"Open Cart Icon\",\"Checkout form\"],defaultValue:\"addToCart\"},// Add to Cart props\ntext:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Add to Cart\",hidden:({component})=>component!==\"addToCart\"},loadingText:{type:ControlType.String,title:\"Loading Text\",defaultValue:\"Adding...\",hidden:({component})=>component!==\"addToCart\"},successText:{type:ControlType.String,title:\"Success Text\",defaultValue:\"Added!\",hidden:({component})=>component!==\"addToCart\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#000000\",hidden:({component})=>component!==\"addToCart\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\",hidden:({component})=>component!==\"addToCart\"},hoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#333333\",hidden:({component})=>component!==\"addToCart\"},successColor:{type:ControlType.Color,title:\"Success Color\",defaultValue:\"#22CC66\",hidden:({component})=>component!==\"addToCart\"},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"8px\",hidden:({component})=>component!==\"addToCart\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({component})=>component!==\"addToCart\"},disabled:{type:ControlType.Boolean,title:\"Disabled\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",hidden:({component})=>component!==\"addToCart\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"12px 24px\",hidden:({component})=>component!==\"addToCart\"},// Product info for Add to Cart\nproductName:{type:ControlType.String,title:\"Product Name\",defaultValue:\"Product\",hidden:({component})=>component!==\"addToCart\"},productPrice:{type:ControlType.Number,title:\"Product Price\",defaultValue:29.99,min:0,step:.01,hidden:({component})=>component!==\"addToCart\"},productImage:{type:ControlType.ResponsiveImage,title:\"Product Image\",hidden:({component})=>component!==\"addToCart\"},vendorId:{type:ControlType.String,title:\"Artist ID\",defaultValue:\"VENDOR001\",hidden:({component})=>component!==\"addToCart\"},inventoryId:{type:ControlType.String,title:\"Inventory ID\",defaultValue:\"\",placeholder:\"Enter inventory UUID\",hidden:({component})=>component!==\"addToCart\"},// Cart props\ncartBackgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#FFFFFF\",hidden:({component})=>component!==\"cart\"},cartTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\",hidden:({component})=>component!==\"cart\"},cartBorderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"8px\",hidden:({component})=>component!==\"cart\"},cartFont:{type:ControlType.Font,title:\"Counter Font\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({component})=>component!==\"cart\"},showImages:{type:ControlType.Boolean,title:\"Show Product Images\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",hidden:({component})=>component!==\"cart\"},cartPadding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"16px\",hidden:({component})=>component!==\"cart\"},// Open Cart Icon props\niconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:24,min:16,max:48,step:1,unit:\"px\",hidden:({component})=>component!==\"openCartIcon\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#000000\",hidden:({component})=>component!==\"openCartIcon\"},counterColor:{type:ControlType.Color,title:\"Counter Background\",defaultValue:\"#FF5588\",hidden:({component})=>component!==\"openCartIcon\"},counterTextColor:{type:ControlType.Color,title:\"Counter Text\",defaultValue:\"#FFFFFF\",hidden:({component})=>component!==\"openCartIcon\"},iconPadding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px\",hidden:({component})=>component!==\"openCartIcon\"},openCartIconOption:{type:ControlType.Enum,title:\"Open Cart Icon Option\",options:[\"cart\",\"counter\"],optionTitles:[\"Cart\",\"Counter\"],defaultValue:\"cart\",hidden:({component})=>component!==\"openCartIcon\"},// Checkout Form props\ndeliveryAddressFont:{type:ControlType.Font,title:\"Delivery Address Font\",defaultValue:{fontSize:\"16px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.5em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({component})=>component!==\"checkoutForm\"},shippingPriceFont:{type:ControlType.Font,title:\"Shipping Price Font\",defaultValue:{fontSize:\"14px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.5em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({component})=>component!==\"checkoutForm\"},tipFont:{type:ControlType.Font,title:\"Tip Font\",defaultValue:{fontSize:\"14px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.5em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({component})=>component!==\"checkoutForm\"},checkoutButtonFont:{type:ControlType.Font,title:\"Checkout Button Font\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({component})=>component!==\"checkoutForm\"},formBackgroundColor:{type:ControlType.Color,title:\"Form Background Color\",defaultValue:\"#FFFFFF\",hidden:({component})=>component!==\"checkoutForm\"},formTextColor:{type:ControlType.Color,title:\"Form Text Color\",defaultValue:\"#000000\",hidden:({component})=>component!==\"checkoutForm\"},formBorderRadius:{type:ControlType.BorderRadius,title:\"Form Border Radius\",defaultValue:\"8px\",hidden:({component})=>component!==\"checkoutForm\"},checkoutButtonColor:{type:ControlType.Color,title:\"Checkout Button Color\",defaultValue:\"#000000\",hidden:({component})=>component!==\"checkoutForm\"},checkoutButtonTextColor:{type:ControlType.Color,title:\"Checkout Button Text Color\",defaultValue:\"#FFFFFF\",hidden:({component})=>component!==\"checkoutForm\"},checkoutButtonHoverColor:{type:ControlType.Color,title:\"Checkout Button Hover Color\",defaultValue:\"#333333\",hidden:({component})=>component!==\"checkoutForm\"},formPadding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"20px\",hidden:({component})=>component!==\"checkoutForm\"},// Location Autocomplete props for Checkout Form\napiKey:{type:ControlType.String,title:\"Google Maps API Key\",defaultValue:\"YOUR_API_KEY\",placeholder:\"Enter your Google Maps API key...\",hidden:({component})=>component!==\"checkoutForm\"},placeholder:{type:ControlType.String,title:\"Address Placeholder\",defaultValue:\"Enter a location...\",hidden:({component})=>component!==\"checkoutForm\"},addressBackgroundColor:{type:ControlType.Color,title:\"Address Background\",defaultValue:\"#FFFFFF\",hidden:({component})=>component!==\"checkoutForm\"},addressTextColor:{type:ControlType.Color,title:\"Address Text Color\",defaultValue:\"#000000\",hidden:({component})=>component!==\"checkoutForm\"},addressPlaceholderColor:{type:ControlType.Color,title:\"Address Placeholder Color\",defaultValue:\"#999999\",hidden:({component})=>component!==\"checkoutForm\"},addressHoverBackgroundColor:{type:ControlType.Color,title:\"Address Hover Background\",defaultValue:\"#F5F5F5\",hidden:({component})=>component!==\"checkoutForm\"},addressBorderColor:{type:ControlType.Color,title:\"Address Border Color\",defaultValue:\"#CCCCCC\",hidden:({component})=>component!==\"checkoutForm\"},addressBorderRadius:{type:ControlType.Number,title:\"Address Border Radius\",defaultValue:8,min:0,max:32,step:1,unit:\"px\",hidden:({component})=>component!==\"checkoutForm\"},addressFont:{type:ControlType.Font,title:\"Address Font\",defaultValue:{fontSize:\"16px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({component})=>component!==\"checkoutForm\"},// Paystack credentials\npaystackPublicKey:{type:ControlType.String,title:\"Paystack Public Key\",defaultValue:\"YOUR_PUBLIC_KEY\",placeholder:\"Enter your Paystack public key...\",hidden:({component})=>component!==\"checkoutForm\"},paystackSecretKey:{type:ControlType.String,title:\"Paystack Secret Key\",defaultValue:\"YOUR_SECRET_KEY\",placeholder:\"Enter your Paystack secret key...\",hidden:({component})=>component!==\"checkoutForm\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StoreComponent\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AddToCartButton.map"],"mappings":"sbAMG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,YAAU,CAAC,EAAgR,MAA1Q,CAAgD,EAA7C,IAAY,YAA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