{"version":3,"file":"Variant_selector.Cy7KHB7F.mjs","names":["EXAMPLE_DATA","sanitizeQuantity","create","LoadingSkeleton","useProductSelectionStore","create","parseShopifyData","parseShopifyData","useProductSelectionStore","PresetButton","OutOfStockStyleControls","CustomButtonControls","overrideControlDefaults","PresetPrimaryButtonStyleControls","PresetButtonContentControls","extractImageNumbersForVariant","parseShopifyData","useMemo","useProductSelectionStore","extractImageNumbersForVariant","useState","getBorderColor","adjustBorderRadius","useState","useState","useRef","useState","useState","useMemo","Input","useMemo","maxParts","getBorderWidth","getBorderStyle","getBorderColor","adjustBorderRadius","useMemo"],"sources":["https:/framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/Uam6NjjQgBdbM2uxwvNZ/Parse_shopify_data.js","https:/framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/yNIABzdTP3fu4mWtyAdp/Product_selection_store.js","https:/framerusercontent.com/modules/DVekzR4Sf5b9vz5aNZl6/7TkUjog2l0gLWTslezhC/Variant_info_label.js","https:/framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/7lKMJPqBiw0YZrxpJACh/Product_selection_store.js","https:/framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/rIQkvmwRwXuf9UdI67ZU/Parse_shopify_data.js","https:/framerusercontent.com/modules/iUgN6EtVE5IGf92CQax3/ZZGAZVqsXUJJSS0aB5FS/Add_to_cart_button.js","https:/framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js","https:/framerusercontent.com/modules/l1z5Z7HKu7jw66Txaa5F/7aL6JiqExNvheuIFD72s/State_empty_canvas.js","https:/framerusercontent.com/modules/3Um7Da0PioNPYdqeX5Ez/zrXbPheMmqE6W2yULZdI/Hooks.js","https:/framerusercontent.com/modules/7wU9mRDjXO6UTdjgi9UD/yuxQwKE8YV0i5zSDg7eT/Swatch.js","https:/framerusercontent.com/modules/bbjyVb2V57Nhjs1gu9rH/GK97OdzakPPjxQfUUuyS/Use_is_mobile.js","https:/framerusercontent.com/modules/EAtAInyNWWh0slvVOxX5/pJmXVbV0Z2aGDUgGtoMa/Lightbox.js","https:/framerusercontent.com/modules/E8uvFgVk9lf9dvq1WmMl/HsfI3mZpqPD0s34wqkoG/Zoom_image.js","https:/framerusercontent.com/modules/IUxqF8JlmtZMvOa0ETXF/FVdGFTzpr62DN9zALiuH/Gallery.js","https:/framerusercontent.com/modules/jSzgfFOp8vV7JiKIMM1a/v3OEw29gw3h4dfbsV2S5/Shared_button_props.js","https:/framerusercontent.com/modules/a6C1Qq7kxeKULOsvIpdv/tPAd3RAGxQdbicMYlPZq/Preset_button.js","https:/framerusercontent.com/modules/SxGVBI9k7bU23KYa4lkZ/okxLXt8friWJKktC5aCr/Quantity_input.js","https:/framerusercontent.com/modules/YJSlZPJ3OtkgZ7JnMbkR/qItcTMFagKkirpMkCQFE/Utils.js","https:/framerusercontent.com/modules/9b4zJBr97cGoCaUw99YG/mYMxNWnPnF79VFqp28ni/Hooks.js","https:/framerusercontent.com/modules/W4tqGjcLIoIG56X9KCvh/6wkLFVa7zpWzB6rHAGSk/Placeholder_state.js","https:/framerusercontent.com/modules/8tz291z0qufTiAyO29YU/Kr5vJ3Xv73XfEHvqRwAS/Variant_button.js","https:/framerusercontent.com/modules/iesOg5jXxMF9FWC1YGiR/9CoNgiGWRqpk9zxq4mQQ/Variant_image.js","https:/framerusercontent.com/modules/Meh2p99DzON6Pbyel14V/zbp8ctBe3ir0LOvQlk1s/Variant_color.js","https:/framerusercontent.com/modules/2trYS2Zee5YYYduPj7X7/pfVaUtL6iHwlSY7zupaE/Filtered_group_view.js","https:/framerusercontent.com/modules/O4SyIrImO0lFCBVnjE4R/xCT8RlCyQ7s7WqxnMCZD/Default_variant_view.js","https:/framerusercontent.com/modules/ZZZL9FqToObg8GkOUY1O/ICXv21qIF0a8KIg1LKyE/Variant_selector.js"],"sourcesContent":["export const parseShopifyData=shopifyData=>{const parsedShopifyData=shopifyData?JSON.parse(shopifyData):EXAMPLE_DATA;return parsedShopifyData;};const EXAMPLE_DATA={id:\"15176683880773\",variants:[{id:\"55218501157189\",title:\"Variant Title\",price:{amount:\"99\",currencyCode:\"USD\"},priceByMarket:{US:{amount:\"99\",currencyCode:\"USD\"},GB:{amount:\"79\",currencyCode:\"GBP\"},CA:{amount:\"129\",currencyCode:\"CAD\"},EU:{amount:\"89\",currencyCode:\"EUR\"},AU:{amount:\"139\",currencyCode:\"AUD\"}},compareAtPriceByMarket:{US:{amount:\"120\",currencyCode:\"USD\"},GB:{amount:\"95\",currencyCode:\"GBP\"},CA:{amount:\"155\",currencyCode:\"CAD\"},EU:{amount:\"109\",currencyCode:\"EUR\"},AU:{amount:\"169\",currencyCode:\"AUD\"}},weight:0,weightUnit:\"KILOGRAMS\",availableForSale:true,sku:\"sku-untracked-1\",image:{id:\"gid://shopify/ProductImage/77445152801093\",url:\"https://cdn.shopify.com/s/files/1/0967/3896/7877/files/snowboard_purple_hydrogen.png?v=1753365380\",altText:\"Top and bottom view of a snowboard. The top view shows a centred hexagonal logo for Hydrogen that\\n          appears to radiate outwards, as well as some overlapping hexagons at the bottom. The bottom view shows an\\n          abstract angular grid in purples.\",width:3097,height:3908}}]};\nexport const __FramerMetadata__ = {\"exports\":{\"parseShopifyData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Parse_shopify_data.map","import{create}from\"https://framerusercontent.com/modules/ieMSnIJVCiFKJmsg1OmM/KWFJj6n258MVreTmJoNk/Zustand.js\";const sanitizeQuantity=value=>{if(!Number.isFinite(value))return 1;const rounded=Math.floor(value);return Math.max(1,rounded);};export const useProductSelectionStore=create((set,get)=>({quantitiesByVariantId:{},selectedVariantByProductId:{},getQuantity:variantId=>{const value=get().quantitiesByVariantId[variantId];return typeof value===\"number\"?value:1;},setQuantity:(variantId,quantity)=>{const next=sanitizeQuantity(quantity);set(state=>({quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}}));},increment:(variantId,step=1)=>{set(state=>{const current=state.quantitiesByVariantId[variantId]??1;const next=sanitizeQuantity(current+step);return{quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}};});},decrement:(variantId,step=1)=>{set(state=>{const current=state.quantitiesByVariantId[variantId]??1;const next=sanitizeQuantity(current-step);return{quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}};});},resetQuantity:variantId=>{set(state=>({quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:1}}));},getSelectedVariant:(productId,variants)=>{const selectedVariantId=get().selectedVariantByProductId[productId];if(selectedVariantId&&variants.some(v=>v.id===selectedVariantId)){return selectedVariantId;}// Default to first variant if no selection or invalid selection\n    return variants[0]?.id||\"\";},setSelectedVariant:(productId,variantId)=>{set(state=>({selectedVariantByProductId:{...state.selectedVariantByProductId,[productId]:variantId}}));},clearAll:()=>set({quantitiesByVariantId:{},selectedVariantByProductId:{}})}));\nexport const __FramerMetadata__ = {\"exports\":{\"useProductSelectionStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Product_selection_store.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{parseShopifyData}from\"https://framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/Uam6NjjQgBdbM2uxwvNZ/Parse_shopify_data.js\";import{useProductSelectionStore}from\"https://framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/yNIABzdTP3fu4mWtyAdp/Product_selection_store.js\";import{useLivePricingStore}from\"https://framerusercontent.com/modules/3C9wF5reOoO0EZmRXDu0/U0F0IYbzpYj27k6whgBv/Live_pricing_store.js\";import{SHARED_COLORS}from\"https://framerusercontent.com/modules/Nrs4jz2AAEOfEZRQEQij/7Ao2SBt1Ssf683HHXgzl/Shared_styles.js\";import{renderWithTag,TagPropertyControls}from\"https://framerusercontent.com/modules/cmJdj1YCmFSsS6n95OKk/9t9XeEHurZ6w5fbXeCsJ/Shared_tag_props.js\";import{CurrencyFormatControls,formatCurrency}from\"https://framerusercontent.com/modules/mHaK3bedwyJwyNxfaowX/r1Q3D8lLCMVdN6bFU9bz/Shared_currency_props.js\";import{TextDecorationControls}from\"https://framerusercontent.com/modules/br9bXgadWgfJaD0swwuT/jUc9YNpAtX8KUoSpiBD2/Shared_text_decoration_props.js\";import LoadingSkeleton from\"https://framerusercontent.com/modules/N0h2Mv73o8xtz2My1yiB/RR9fj2DVzBXn0Wwu7ijL/Loading_skeleton.js\";import{SHOPIFY_DATA_DESCRIPTION,SUPPORT_CONTROL}from\"https://framerusercontent.com/modules/G9UZNzEc4NZQrMJzPvWx/tl22i1lNtmmpBOq8EDe4/Shared_props.js\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function VariantInfoLabel(props){const shopifyData=parseShopifyData(props.shopifyData);const{getSelectedVariant}=useProductSelectionStore();const{getLivePrice,isLoading,isFetching}=useLivePricingStore();const selectedVariantId=getSelectedVariant(shopifyData.id,shopifyData.variants);const selectedVariant=shopifyData.variants.find(variant=>variant.id===selectedVariantId);const renderVariantInfo=()=>{if(!selectedVariant)return null;switch(props.type){case\"price\":{// Priority: live > cms default\nconst livePrice=getLivePrice(selectedVariant.id);let priceData=selectedVariant.price;// Default fallback\n// Override with live pricing if available\nif(livePrice?.price){priceData=livePrice.price;}return formatCurrency({amount:Number(priceData.amount),currencyCode:priceData.currencyCode,options:props.currencyFormat});}case\"compareAtPrice\":{// Priority: live > cms market > cms default\nconst livePrice=getLivePrice(selectedVariant.id);let compareAtPriceData=selectedVariant.compareAtPrice;// Default fallback\n// Override with live pricing if available\nif(livePrice?.compareAtPrice){compareAtPriceData=livePrice.compareAtPrice;}if(!compareAtPriceData)return\"\";return formatCurrency({amount:Number(compareAtPriceData.amount),currencyCode:compareAtPriceData.currencyCode,options:props.currencyFormat});}case\"variantName\":return selectedVariant.title===\"Default Title\"?\"\":selectedVariant.title;case\"sku\":return selectedVariant.sku;case\"barcode\":return selectedVariant.barcode;}};// Show loading skeleton for price/compareAtPrice during initial load\nconst isPriceType=props.type===\"price\"||props.type===\"compareAtPrice\";if(isLoading&&isPriceType){return /*#__PURE__*/_jsx(LoadingSkeleton,{style:{width:\"60px\",height:\"20px\"}});}const content=renderVariantInfo();const style={...props.font,color:props.color,textDecoration:props.decoration===\"none\"?\"none\":props.decoration};// Hide component when empty and whenZero is \"hide\"\nconst isEmptyValue=!content||content===\"\";if(props.whenZero===\"hide\"&&isEmptyValue){return null;}// Show specified text if whenZero is \"text\" and empty\nif(props.whenZero===\"text\"&&isEmptyValue){return /*#__PURE__*/_jsx(\"div\",{style:{opacity:isFetching&&isPriceType?.6:1,transition:\"opacity 0.3s ease\"},children:renderWithTag(props.tag,props.text,style)});}// Show empty content if whenZero is \"show\"\nif(isEmptyValue){return /*#__PURE__*/_jsx(\"div\",{style:{opacity:isFetching&&isPriceType?.6:1,transition:\"opacity 0.3s ease\"},children:renderWithTag(props.tag,\"0\",style)});}// Wrap content in fade transition container for price types\nreturn /*#__PURE__*/_jsx(\"div\",{style:{opacity:isFetching&&isPriceType?.6:1,transition:\"opacity 0.3s ease\"},children:renderWithTag(props.tag,content,style)});}// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\naddPropertyControls(VariantInfoLabel,{shopifyData:{type:ControlType.String,description:SHOPIFY_DATA_DESCRIPTION},type:{type:ControlType.Enum,options:[\"price\",\"compareAtPrice\",\"variantName\",\"sku\",\"barcode\"],optionTitles:[\"Price\",\"Compare At Price\",\"Variant Name\",\"SKU\",\"Barcode\"],defaultValue:\"price\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:SHARED_COLORS.foreground},whenZero:{type:ControlType.Enum,title:\"When Zero\",options:[\"show\",\"hide\",\"text\"],optionTitles:[\"Show\",\"Hide\",\"Text\"],defaultValue:\"hide\",displaySegmentedControl:true},text:{type:ControlType.String,title:\"Text\",defaultValue:\"Free\",hidden:props=>props.whenZero!==\"text\"},currencyFormat:{...CurrencyFormatControls.currencyFormat,hidden:props=>props.type!==\"price\"&&props.type!==\"compareAtPrice\"},...TagPropertyControls,...TextDecorationControls,...SUPPORT_CONTROL});VariantInfoLabel.displayName=\"Variant Info Label\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VariantInfoLabel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{create}from\"https://framerusercontent.com/modules/ieMSnIJVCiFKJmsg1OmM/KWFJj6n258MVreTmJoNk/Zustand.js\";const sanitizeQuantity=value=>{if(!Number.isFinite(value))return 1;const rounded=Math.floor(value);return Math.max(1,rounded);};export const useProductSelectionStore=create((set,get)=>({quantitiesByVariantId:{},selectedVariantByProductId:{},getQuantity:variantId=>{const value=get().quantitiesByVariantId[variantId];return typeof value===\"number\"?value:1;},setQuantity:(variantId,quantity)=>{const next=sanitizeQuantity(quantity);set(state=>({quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}}));},increment:(variantId,step=1)=>{set(state=>{const current=state.quantitiesByVariantId[variantId]??1;const next=sanitizeQuantity(current+step);return{quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}};});},decrement:(variantId,step=1)=>{set(state=>{const current=state.quantitiesByVariantId[variantId]??1;const next=sanitizeQuantity(current-step);return{quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}};});},resetQuantity:variantId=>{set(state=>({quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:1}}));},getSelectedVariant:(productId,variants)=>{const selectedVariantId=get().selectedVariantByProductId[productId];if(selectedVariantId&&variants.some(v=>v.id===selectedVariantId)){return selectedVariantId;}// Default to first variant if no selection or invalid selection\n    return variants[0]?.id||\"\";},setSelectedVariant:(productId,variantId)=>{set(state=>({selectedVariantByProductId:{...state.selectedVariantByProductId,[productId]:variantId}}));},clearAll:()=>set({quantitiesByVariantId:{},selectedVariantByProductId:{}})}));\nexport const __FramerMetadata__ = {\"exports\":{\"useProductSelectionStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Product_selection_store.map","export const parseShopifyData=shopifyData=>{const parsedShopifyData=shopifyData?JSON.parse(shopifyData):EXAMPLE_DATA;return parsedShopifyData;};const EXAMPLE_DATA={id:\"15176683880773\",variants:[{id:\"55218501157189\",title:\"Variant Title\",price:{amount:\"99\",currencyCode:\"USD\"},priceByMarket:{US:{amount:\"99\",currencyCode:\"USD\"},GB:{amount:\"79\",currencyCode:\"GBP\"},CA:{amount:\"129\",currencyCode:\"CAD\"},EU:{amount:\"89\",currencyCode:\"EUR\"},AU:{amount:\"139\",currencyCode:\"AUD\"}},compareAtPriceByMarket:{US:{amount:\"120\",currencyCode:\"USD\"},GB:{amount:\"95\",currencyCode:\"GBP\"},CA:{amount:\"155\",currencyCode:\"CAD\"},EU:{amount:\"109\",currencyCode:\"EUR\"},AU:{amount:\"169\",currencyCode:\"AUD\"}},weight:0,weightUnit:\"KILOGRAMS\",availableForSale:true,sku:\"sku-untracked-1\",image:{id:\"gid://shopify/ProductImage/77445152801093\",url:\"https://cdn.shopify.com/s/files/1/0967/3896/7877/files/snowboard_purple_hydrogen.png?v=1753365380\",altText:\"Top and bottom view of a snowboard. The top view shows a centred hexagonal logo for Hydrogen that\\n          appears to radiate outwards, as well as some overlapping hexagons at the bottom. The bottom view shows an\\n          abstract angular grid in purples.\",width:3097,height:3908}}]};\nexport const __FramerMetadata__ = {\"exports\":{\"parseShopifyData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Parse_shopify_data.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useCart}from\"https://framerusercontent.com/modules/qNwuWLbXbcYKugmCfVBu/XkUzkMoErqTIYyDKdIbG/Use_cart.js\";import{useProductSelectionStore}from\"https://framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/7lKMJPqBiw0YZrxpJACh/Product_selection_store.js\";import{parseShopifyData}from\"https://framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/rIQkvmwRwXuf9UdI67ZU/Parse_shopify_data.js\";import{createVariantGid}from\"https://framerusercontent.com/modules/tzN8qHzrVYThnxhKObeP/oWpbtfeZjvritjXviKiH/Shopify_utils.js\";import{QueryClientWrapper}from\"https://framerusercontent.com/modules/zParpRuqXNNcrHNZHUCA/qIi3gTU5Kf3ikBUxIit5/Query_client_wrapper.js\";import{OPEN_CART_EVENT}from\"https://framerusercontent.com/modules/ULfRcpFPm40RheG8xy3S/Pfxgjc633U68bx2ecZz0/Shared_config.js\";import PresetButton from\"https://framerusercontent.com/modules/a6C1Qq7kxeKULOsvIpdv/EXWRVRbrz8jUk7QspAhR/Preset_button.js\";import CustomButtonWrapper from\"https://framerusercontent.com/modules/KkMHEXBTzNGLCAGsRLrm/6SkMdiv3T9lXNoUXujQ9/Custom_button_wrapper.js\";import CartSvg from\"https://framerusercontent.com/modules/qGSs7SULtHSo8Msf1WUy/vraFd5f3jmKFoHJ9xWa7/Cart.js\";import{PresetPrimaryButtonStyleControls,PresetButtonContentControls,CustomButtonControls,overrideControlDefaults,useInventoryDisabled,OutOfStockStyleControls}from\"https://framerusercontent.com/modules/jSzgfFOp8vV7JiKIMM1a/p64YSWJTfFgSyrzhIrVN/Shared_button_props.js\";import{SHOPIFY_DATA_DESCRIPTION,SUPPORT_CONTROL}from\"https://framerusercontent.com/modules/G9UZNzEc4NZQrMJzPvWx/tl22i1lNtmmpBOq8EDe4/Shared_props.js\";import{isOnFramerCanvasFn}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";import{useCurrentLocation}from\"https://framer.com/m/UseCurrentLocation-oZyA.js@1l8XdClJld0xwptzsD73\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\nfunction AddToCartButtonContent(props){const isOnFramerCanvas=isOnFramerCanvasFn();const{addToCart,isLoading:isCartLoading}=useCart();const shopifyData=parseShopifyData(props.shopifyData);const selectedVariantId=useProductSelectionStore(state=>state.getSelectedVariant(shopifyData.id,shopifyData.variants));const[,setCurrentLocation]=useCurrentLocation();const{isDisabled}=useInventoryDisabled(shopifyData.id,selectedVariantId,props.disableWhenOutOfStock);const handleAddToCart=async()=>{if(isDisabled||isCartLoading)return;const finalVariantIdString=createVariantGid(selectedVariantId);const qty=useProductSelectionStore.getState().getQuantity(selectedVariantId);try{// Using the sync version\naddToCart(finalVariantIdString,qty);if(props.openCartOnAddToCart===\"cartOverlay\"){// delau\nsetTimeout(()=>{document.dispatchEvent(new Event(OPEN_CART_EVENT));},300);}else if(props.openCartOnAddToCart===\"cartPage\"){setCurrentLocation(props.cartPage);}}catch(error){console.error(\"Error adding to cart:\",error);}};// Determine if button should be disabled\nconst isButtonDisabled=isDisabled;const finalDisabled=isOnFramerCanvas?props.previewType===\"disabled\":isButtonDisabled;// Update button text if cart is loading\nconst displayText=props.text;// ---------------- BUTTON STYLES ---------------- //\nconst buttonText=finalDisabled?props.outOfStockStyle.text:displayText;const buttonOpacity=finalDisabled?props.outOfStockStyle.opacity:undefined;const disabledStyle={alignItems:props.presetButtonStyle.alignItems,justifyContent:props.presetButtonStyle.justifyContent,gap:props.presetButtonStyle.gap,padding:props.presetButtonStyle.padding,border:props.outOfStockStyle.border,borderRadius:props.presetButtonStyle.borderRadius,textColor:props.outOfStockStyle.textColor,backgroundColor:props.outOfStockStyle.backgroundColor,shadow:props.outOfStockStyle.shadow,tapScale:props.presetButtonStyle.tapScale,font:props.presetButtonStyle.font};if(props.buttonType===\"custom\"){return /*#__PURE__*/_jsx(CustomButtonWrapper,{onClick:handleAddToCart,customButtonSize:props.customButtonSize,disabled:finalDisabled,children:props.customButton});}return /*#__PURE__*/_jsx(PresetButton,{onClick:handleAddToCart,leftIcon:props.leftIcon?.[0]??/*#__PURE__*/_jsx(CartSvg,{}),rightIcon:props.rightIcon?.[0],text:buttonText,font:props.presetButtonStyle.font,presetButtonStyle:props.presetButtonStyle,disabledStyle:disabledStyle,disabled:finalDisabled,style:{opacity:buttonOpacity}});}// ------------------------------------------------------------ //\n// EXPORT WITH QUERY CLIENT\n// ------------------------------------------------------------ //\n/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 40\n * @framerDisableUnlink\n */export default function AddToCartButton(props){return /*#__PURE__*/_jsx(QueryClientWrapper,{children:/*#__PURE__*/_jsx(AddToCartButtonContent,{...props})});}// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\naddPropertyControls(AddToCartButton,{shopifyData:{type:ControlType.String,description:SHOPIFY_DATA_DESCRIPTION},openCartOnAddToCart:{type:ControlType.Enum,title:\"Open Cart\",options:[\"cartOverlay\",\"cartPage\",\"none\"],optionTitles:[\"Cart Overlay\",\"Cart Page\",\"None\"],defaultValue:\"cartOverlay\",description:\"Action to take when adding to cart.\"},cartPage:{type:ControlType.Link,title:\"Cart Page\",defaultValue:\"/cart\",hidden:props=>props.openCartOnAddToCart!==\"cartPage\"},disableWhenOutOfStock:{type:ControlType.Boolean,title:\"Disable Out-of-Stock\",defaultValue:true,description:\"Disable if selected variant is out-of-stock\"},...OutOfStockStyleControls,...CustomButtonControls,...overrideControlDefaults(PresetPrimaryButtonStyleControls,{\"presetButtonStyle.tapScale\":.995}),...overrideControlDefaults(PresetButtonContentControls,{text:\"Add to Cart\"}),previewType:{type:ControlType.Enum,title:\"Preview\",options:[\"default\",\"disabled\"],optionTitles:[\"Default\",\"Out of Stock\"],defaultValue:\"default\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},...SUPPORT_CONTROL});AddToCartButton.displayName=\"Add To Cart Button\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AddToCartButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"\",\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Add_to_cart_button.map","export const DEFAULT_PRODUCT_IMAGE=\"https://framerusercontent.com/images/oqyYSLXhERdfkDY5XMVyprSYO0.webp\";export const DEFAULT_PRODUCT_IMAGE_2=\"https://framerusercontent.com/images/ub17BCl84mP9KkiTTOme1UDyvk.webp\";export const DEFAULT_PRODUCT_IMAGE_3=\"https://framerusercontent.com/images/ORfm700yP1zckvftzPEQOe006k.webp\";export function extractImageNumbersForVariant(mappingString,variantId){if(!mappingString||!variantId)return[];const result=[];const regex=/\\[img (\\d+) ~ (\\d+)\\]/g;let match;while((match=regex.exec(mappingString))!==null){const imageNum=match[1];const mappedVariantId=match[2];if(String(mappedVariantId)===String(variantId)){result.push(imageNum);}}return result;}export function getVariantIdForImageNumber(mappingString,imageNumber){if(!mappingString||!imageNumber)return null;const regex=/\\[img (\\d+) ~ (\\d+)\\]/g;let match;while((match=regex.exec(mappingString))!==null){const imageNum=Number(match[1]);const variantId=match[2];if(imageNum===imageNumber)return variantId;}return null;}export function getObjectFit(objectFit){if(objectFit===\"fill\")return\"cover\";if(objectFit===\"fit\")return\"contain\";if(objectFit===\"stretch\")return\"fill\";return\"cover\";}\nexport const __FramerMetadata__ = {\"exports\":{\"getVariantIdForImageNumber\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_PRODUCT_IMAGE_3\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_PRODUCT_IMAGE_2\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getObjectFit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_PRODUCT_IMAGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"extractImageNumbersForVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Helpers.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{DEFAULT_PRODUCT_IMAGE,DEFAULT_PRODUCT_IMAGE_2,DEFAULT_PRODUCT_IMAGE_3,getObjectFit}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";export default function GalleryEmptyCanvasState(props){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,height:\"100%\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",overflow:\"hidden\",height:\"100%\"},children:/*#__PURE__*/_jsx(\"img\",{src:DEFAULT_PRODUCT_IMAGE,alt:\"Default product image\",style:{width:\"100%\",height:\"100%\",display:\"block\",objectFit:getObjectFit(props.imageFit),objectPosition:props.imageFit===\"fill\"?`${props.focalPoint.x}% ${props.focalPoint.y}%`:undefined}})}),props.showSwatches&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:6},children:[1,2,3].map(i=>/*#__PURE__*/_jsx(\"img\",{src:i===1?DEFAULT_PRODUCT_IMAGE:i===2?DEFAULT_PRODUCT_IMAGE_2:DEFAULT_PRODUCT_IMAGE_3,alt:`Default swatch ${i}`,style:{width:64,height:64,objectFit:\"cover\",borderRadius:6,border:\"2px solid transparent\",cursor:\"pointer\"}},i))})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GalleryEmptyCanvasState\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./State_empty_canvas.map","import{useEffect,useMemo,useState}from\"react\";import{parseShopifyData}from\"https://framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/rIQkvmwRwXuf9UdI67ZU/Parse_shopify_data.js\";import{useProductSelectionStore}from\"https://framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/7lKMJPqBiw0YZrxpJACh/Product_selection_store.js\";import{isBrowserFn}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";import{extractImageNumbersForVariant,getVariantIdForImageNumber}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";/**\n * Hook to parse Shopify data and extract product information\n */export function useShopifyProductData(shopifyData){const data=parseShopifyData(shopifyData);const productId=data?.id||\"\";const variants=data?.variants||[];return{data,productId,variants};}/**\n * Hook to compute images array from component props\n */export function useGalleryImages(props){const images=useMemo(()=>{const arr=[];for(let i=1;i<=props.numberOfImages;i++){const imageProp=props[`image${i}`];if(imageProp?.src){arr.push(imageProp.src);}}return arr;},[props]);return images;}/**\n * Hook to get the currently selected variant ID\n */export function useSelectedVariant(productId,variants){const selectedVariantId=useProductSelectionStore(state=>state.getSelectedVariant(productId,variants));return selectedVariantId;}/**\n * Hook to handle variant-image mapping logic\n */export function useVariantImageMapping(variantImageMapping,selectedVariantId,images){// Get initial image index based on variant from Zustand storage\nconst getInitialImageIndex=()=>{if(!variantImageMapping||!selectedVariantId){return 0;// Default to first image if no variant selected\n}const nums=extractImageNumbersForVariant(variantImageMapping,selectedVariantId);if(nums[0]){const idx=Number(nums[0])-1;if(idx>=0&&idx<images.length){return idx;}}// If variant not found in mapping, default to first image\nreturn 0;};// Compute which image indices belong to the currently selected variant\nconst variantImageIndices=useMemo(()=>{if(!variantImageMapping||!selectedVariantId){return images.map((_,i)=>i);}const nums=extractImageNumbersForVariant(variantImageMapping,selectedVariantId);const idxs=nums.map(n=>Number(n)-1).filter(i=>Number.isFinite(i)&&i>=0&&i<images.length);return idxs.length>0?idxs:images.map((_,i)=>i);},[variantImageMapping,selectedVariantId,images,images.length]);return{getInitialImageIndex,variantImageIndices};}/**\n * Hook to handle global variant image sync events\n */export function useVariantImageSync(productId,images,setCurrentImageIndex){const isBrowser=isBrowserFn();useEffect(()=>{if(!isBrowser)return;function handleVariantImageMatch(e){if(!e?.detail?.imageNumber)return;if(e.detail?.shopifyProductID!==`gid://shopify/Product/${productId}`){return;}const imgNum=Number(e.detail.imageNumber);if(!Number.isFinite(imgNum))return;const idx=imgNum-1;if(idx>=0&&idx<images.length)setCurrentImageIndex(idx);}document.addEventListener(\"frameship_variant_image_selected\",handleVariantImageMatch);return()=>{document.removeEventListener(\"frameship_variant_image_selected\",handleVariantImageMatch);};},[productId,images.length,setCurrentImageIndex,isBrowser]);}/**\n * Hook to manage gallery state and auto-sync effects\n */export function useGalleryState(variantImageMapping,selectedVariantId,images,getInitialImageIndex,productId){const[currentImageIndex,setCurrentImageIndex]=useState(getInitialImageIndex);// Auto-sync to first mapped image when selection changes (initial mount and changes)\nuseEffect(()=>{if(!variantImageMapping||!selectedVariantId)return;const nums=extractImageNumbersForVariant(variantImageMapping,selectedVariantId);if(nums[0]){const idx=Number(nums[0])-1;if(idx>=0&&idx<images.length)setCurrentImageIndex(idx);}},[variantImageMapping,selectedVariantId,images.length]);// Set up global sync listener\nuseVariantImageSync(productId,images,setCurrentImageIndex);return{currentImageIndex,setCurrentImageIndex};}/**\n * Hook to handle variant selection when clicking swatches\n */export function useSwatchClick(variantImageMapping,variants,fullIdx){const handleSwatchClick=()=>{if(!variantImageMapping)return;const variantId=getVariantIdForImageNumber(variantImageMapping,fullIdx+1);if(!variantId)return;const variant=variants.find(v=>String(v.id)===String(variantId));if(!variant)return;// Note: Variant selection logic would go here if needed\n// Currently just prevents the click if no variant found\n};return handleSwatchClick;}\nexport const __FramerMetadata__ = {\"exports\":{\"useVariantImageSync\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useGalleryImages\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSwatchClick\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useShopifyProductData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSelectedVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useVariantImageMapping\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useGalleryState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{getObjectFit}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";import{useSwatchClick}from\"https://framerusercontent.com/modules/3Um7Da0PioNPYdqeX5Ez/zrXbPheMmqE6W2yULZdI/Hooks.js\";// ------------------------------------------------------------ //\n// SUB-COMPONENTS\n// ------------------------------------------------------------ //\nexport default function Swatch(props){const{swatchConfig,isSelected}=props;const handleSwatchClick=useSwatchClick(props.variantImageMapping,props.variants,props.imageIndex);const defaultBorderColor=getBorderColor(swatchConfig.border.default);const selectedBorderColor=getBorderColor(swatchConfig.border.selected);const borderStyle=swatchConfig.border.default.borderStyle||\"solid\";const wrapperStyles={display:\"inline-flex\",borderRadius:swatchConfig.borderRadius,borderWidth:1,borderStyle:borderStyle,cursor:\"pointer\"};const imageStyles={width:swatchConfig.width,height:swatchConfig.height,objectFit:getObjectFit(swatchConfig.imageFit),objectPosition:swatchConfig.imageFit===\"fill\"?`${swatchConfig.focalPoint.x}% ${swatchConfig.focalPoint.y}%`:undefined,borderRadius:adjustBorderRadius(swatchConfig.borderRadius,1),borderWidth:1,borderStyle:borderStyle,background:swatchConfig.background||\"transparent\",display:\"block\"};const borderTransition={duration:.2,ease:\"easeOut\"};function handleClick(){props.onClick();handleSwatchClick();}return /*#__PURE__*/_jsx(motion.div,{style:wrapperStyles,animate:{borderColor:isSelected?selectedBorderColor:\"rgba(0, 0, 0, 0)\"},initial:false,transition:borderTransition,onClick:handleClick,children:/*#__PURE__*/_jsx(motion.img,{src:props.src,alt:\"\",style:imageStyles,initial:false,animate:{borderColor:isSelected?selectedBorderColor:defaultBorderColor},transition:borderTransition})});}// ------------------------------------------------------------ //\n// UTILITY FUNCTIONS\n// ------------------------------------------------------------ //\n/**\n * Extracts border color from BorderProps\n */function getBorderColor(borderProps){if(borderProps.borderColor){return borderProps.borderColor;}if(borderProps.border){const parts=borderProps.border.split(\" \");if(parts.length>=3){return parts.slice(2).join(\" \");}}return\"transparent\";}/**\n * Adjusts border radius to account for nested border\n */function adjustBorderRadius(borderRadius,offset){const match=borderRadius.match(/^(\\d+(?:\\.\\d+)?)(px|%|em|rem)?$/);if(match){const value=parseFloat(match[1]);const unit=match[2]||\"px\";const adjusted=Math.max(0,value-offset);return`${adjusted}${unit}`;}return borderRadius;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Swatch\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SwatchConfigProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Swatch.map","import{useEffect,useState}from\"react\";export function useIsMobile(){const[isMobile,setIsMobile]=useState(()=>{if(typeof window===\"undefined\")return false;return window.innerWidth<768;});useEffect(()=>{let timeoutId;const handleResize=()=>{clearTimeout(timeoutId);timeoutId=setTimeout(()=>{setIsMobile(window.innerWidth<768);},100);};window.addEventListener(\"resize\",handleResize);return()=>{window.removeEventListener(\"resize\",handleResize);clearTimeout(timeoutId);};},[]);return isMobile;}\nexport const __FramerMetadata__ = {\"exports\":{\"useIsMobile\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Use_is_mobile.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{motion,AnimatePresence}from\"framer-motion\";import{useIsMobile}from\"https://framerusercontent.com/modules/bbjyVb2V57Nhjs1gu9rH/GK97OdzakPPjxQfUUuyS/Use_is_mobile.js\";export default function Lightbox(props){const{images,currentIndex,onClose,onNext,onPrev,alt,lightboxConfig}=props;const isMobile=useIsMobile();// Keyboard navigation\nuseEffect(()=>{const handleKeyDown=e=>{if(e.key===\"Escape\"){onClose();}else if(e.key===\"ArrowLeft\"){onPrev();}else if(e.key===\"ArrowRight\"){onNext();}};document.addEventListener(\"keydown\",handleKeyDown);// Prevent body scroll when lightbox is open\ndocument.body.style.overflow=\"hidden\";return()=>{document.removeEventListener(\"keydown\",handleKeyDown);document.body.style.overflow=\"\";};},[onClose,onNext,onPrev]);const handleBackdropClick=e=>{if(e.target===e.currentTarget){onClose();}};const handleNext=()=>{if(currentIndex<images.length-1){onNext();}};const handlePrev=()=>{if(currentIndex>0){onPrev();}};return /*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:handleBackdropClick,style:{position:\"fixed\",top:0,left:0,right:0,bottom:0,backgroundColor:lightboxConfig.overlayBackground,zIndex:9999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"zoom-out\"},children:[/*#__PURE__*/_jsx(motion.button,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:onClose,style:{position:\"absolute\",top:\"20px\",right:\"20px\",width:\"40px\",height:\"40px\",borderRadius:\"50%\",border:\"none\",backgroundColor:\"rgba(255, 255, 255, 0.1)\",color:\"white\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"24px\",fontWeight:\"bold\",transition:\"background-color 0.2s\"},whileHover:{backgroundColor:\"rgba(255, 255, 255, 0.2)\"},whileTap:{scale:.95},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 5L5 15M5 5L15 15\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.button,{initial:{opacity:currentIndex===0?.5:1},animate:{opacity:currentIndex===0?.5:1},exit:{opacity:currentIndex===0?.5:1},onClick:handlePrev,style:{position:\"absolute\",left:isMobile?\"calc(50% - 60px)\":\"20px\",bottom:isMobile?\"40px\":\"auto\",width:`${lightboxConfig.prevButtonStyles.size}px`,height:`${lightboxConfig.prevButtonStyles.size}px`,borderRadius:lightboxConfig.prevButtonStyles.borderRadius,border:\"none\",backgroundColor:lightboxConfig.prevButtonStyles.backgroundColor,color:lightboxConfig.prevButtonStyles.svgColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"background-color 0.2s\"},whileHover:{backgroundColor:lightboxConfig.prevButtonStyles.hoverBackgroundColor},whileTap:{scale:lightboxConfig.prevButtonStyles.tapScale},disabled:currentIndex===0,children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 18L9 12L15 6\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.button,{initial:{opacity:currentIndex===images.length-1?.5:1},animate:{opacity:currentIndex===images.length-1?.5:1},exit:{opacity:currentIndex===images.length-1?.5:1},onClick:handleNext,style:{position:\"absolute\",left:isMobile?\"calc(50%)\":\"auto\",right:isMobile?\"auto\":\"20px\",bottom:isMobile?\"40px\":\"auto\",width:`${lightboxConfig.nextButtonStyles.size}px`,height:`${lightboxConfig.nextButtonStyles.size}px`,borderRadius:lightboxConfig.nextButtonStyles.borderRadius,border:\"none\",backgroundColor:lightboxConfig.nextButtonStyles.backgroundColor,color:lightboxConfig.nextButtonStyles.svgColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"background-color 0.2s\"},whileHover:{backgroundColor:lightboxConfig.nextButtonStyles.hoverBackgroundColor},whileTap:{scale:lightboxConfig.nextButtonStyles.tapScale},disabled:currentIndex===images.length-1,children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 18L15 12L9 6\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(AnimatePresence,{mode:\"popLayout\",initial:false,children:/*#__PURE__*/_jsx(motion.img,{initial:{opacity:.7},animate:{opacity:1},exit:{opacity:.7},src:images[currentIndex],alt:alt||\"\",style:{maxWidth:\"90vw\",maxHeight:\"90vh\",objectFit:\"contain\",cursor:\"zoom-out\",// position relative helps with layout animations\nposition:\"relative\"},transition:{duration:.3,ease:\"easeInOut\",// Separate opacity transition for smoother crossfade\nopacity:{duration:.2}}},currentIndex)})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Lightbox\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lightbox.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useRef}from\"react\";import{getObjectFit}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";export default function ZoomImage(props){const{src,alt,imageFit,focalPoint,zoomConfig,onClick,cursor}=props;const[isHovering,setIsHovering]=useState(false);const[transformOrigin,setTransformOrigin]=useState(\"50% 50%\");const containerRef=useRef(null);const handleMouseMove=e=>{if(!zoomConfig.enabled||!containerRef.current)return;const container=containerRef.current;const rect=container.getBoundingClientRect();const x=(e.clientX-rect.left)/rect.width*100;const y=(e.clientY-rect.top)/rect.height*100;setTransformOrigin(`${x}% ${y}%`);};const handleMouseEnter=()=>{if(zoomConfig.enabled){setIsHovering(true);}};const handleMouseLeave=()=>{setIsHovering(false);// Don't reset transformOrigin - let the image zoom out from the last cursor position\n// Since scale goes to 1, the transform origin doesn't affect the final visual\n};const scale=isHovering&&zoomConfig.enabled?zoomConfig.zoomLevel/100:1;return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,onMouseMove:handleMouseMove,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,onClick:onClick,style:{width:\"100%\",height:\"100%\",overflow:\"hidden\",cursor:cursor||\"default\"},children:/*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:{width:\"100%\",height:\"100%\",display:\"block\",objectFit:getObjectFit(imageFit),objectPosition:imageFit===\"fill\"?`${focalPoint.x}% ${focalPoint.y}%`:undefined,transform:`scale(${scale})`,transformOrigin:transformOrigin,transition:\"transform 0.3s ease-out\"}})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ZoomImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Zoom_image.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{AnimatePresence}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";import{isOnFramerCanvasFn}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";import GalleryEmptyCanvasState from\"https://framerusercontent.com/modules/l1z5Z7HKu7jw66Txaa5F/7aL6JiqExNvheuIFD72s/State_empty_canvas.js\";import{useShopifyProductData,useGalleryImages,useSelectedVariant,useVariantImageMapping,useGalleryState}from\"https://framerusercontent.com/modules/3Um7Da0PioNPYdqeX5Ez/zrXbPheMmqE6W2yULZdI/Hooks.js\";import Swatch from\"https://framerusercontent.com/modules/7wU9mRDjXO6UTdjgi9UD/yuxQwKE8YV0i5zSDg7eT/Swatch.js\";import{SHARED_COLORS}from\"https://framerusercontent.com/modules/Nrs4jz2AAEOfEZRQEQij/7Ao2SBt1Ssf683HHXgzl/Shared_styles.js\";import{SHOPIFY_DATA_DESCRIPTION,SUPPORT_CONTROL,VARIANT_IMAGE_MAPPING_DESCRIPTION}from\"https://framerusercontent.com/modules/G9UZNzEc4NZQrMJzPvWx/tl22i1lNtmmpBOq8EDe4/Shared_props.js\";import Lightbox from\"https://framerusercontent.com/modules/EAtAInyNWWh0slvVOxX5/pJmXVbV0Z2aGDUgGtoMa/Lightbox.js\";import ZoomImage from\"https://framerusercontent.com/modules/E8uvFgVk9lf9dvq1WmMl/HsfI3mZpqPD0s34wqkoG/Zoom_image.js\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\n/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 800\n * @framerDisableUnlink\n */export default function Gallery(props){const isOnFramerCanvas=isOnFramerCanvasFn();// Parse Shopify product data\nconst{productId,variants}=useShopifyProductData(props.shopifyData);// Get selected variant\nconst selectedVariantId=useSelectedVariant(productId,variants);// Get images array from props\nconst images=useGalleryImages(props);// Get variant-image mapping utilities\nconst{getInitialImageIndex,variantImageIndices}=useVariantImageMapping(props.variantImageMapping,selectedVariantId,images);// Manage gallery state\nconst{currentImageIndex,setCurrentImageIndex}=useGalleryState(props.variantImageMapping,selectedVariantId,images,getInitialImageIndex,productId);// Lightbox state\nconst[isLightboxOpen,setIsLightboxOpen]=useState(false);const[lightboxImageIndex,setLightboxImageIndex]=useState(0);// When on Framer canvas, show light content with default images\nif(isOnFramerCanvas&&!props.image1?.src){return /*#__PURE__*/_jsx(GalleryEmptyCanvasState,{imageFit:props.imageFit,focalPoint:props.focalPoint,showSwatches:props.showSwatches});}if(!productId||!images.length)return null;const isLeftPosition=props.swatchConfig.position===\"left\";// Get lightbox images (only variant images)\nconst lightboxImages=variantImageIndices.map(idx=>images[idx]);const initialLightboxIndex=variantImageIndices.indexOf(currentImageIndex);// Lightbox navigation handlers\nconst handleLightboxOpen=()=>{setLightboxImageIndex(initialLightboxIndex);setIsLightboxOpen(true);};const handleLightboxClose=()=>{setIsLightboxOpen(false);};const handleLightboxNext=()=>{if(lightboxImageIndex<lightboxImages.length-1){const nextIndex=lightboxImageIndex+1;setLightboxImageIndex(nextIndex);// Update gallery index immediately to keep it in sync for close animation\nconst newGalleryIndex=variantImageIndices[nextIndex];if(newGalleryIndex!==undefined){setCurrentImageIndex(newGalleryIndex);}}};const handleLightboxPrev=()=>{if(lightboxImageIndex>0){const prevIndex=lightboxImageIndex-1;setLightboxImageIndex(prevIndex);// Update gallery index immediately to keep it in sync for close animation\nconst newGalleryIndex=variantImageIndices[prevIndex];if(newGalleryIndex!==undefined){setCurrentImageIndex(newGalleryIndex);}}};return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:isLeftPosition?\"row\":\"column\",gap:props.gap,height:\"100%\",width:\"100%\"},children:[props.showSwatches&&isLeftPosition&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:props.swatchConfig.gap,alignItems:\"center\",overflowY:props.swatchConfig.allowWrap?\"visible\":\"auto\",maxHeight:props.swatchConfig.allowWrap?\"none\":\"100%\"},children:variantImageIndices.map(fullIdx=>/*#__PURE__*/_jsx(Swatch,{src:images[fullIdx],isSelected:fullIdx===currentImageIndex,onClick:()=>setCurrentImageIndex(fullIdx),variantImageMapping:props.variantImageMapping,variants:variants,imageIndex:fullIdx,swatchConfig:props.swatchConfig},images[fullIdx]+String(fullIdx)))}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,overflow:\"hidden\",height:\"100%\",width:isLeftPosition?\"auto\":\"100%\"},children:/*#__PURE__*/_jsx(ZoomImage,{src:images[currentImageIndex],alt:(variants.find(v=>v.id===selectedVariantId)?.title)||\"\",imageFit:props.imageFit,focalPoint:props.focalPoint,zoomConfig:props.zoomConfig,onClick:props.lightboxConfig.enabled?handleLightboxOpen:undefined,cursor:props.lightboxConfig.enabled?\"zoom-in\":\"default\"})}),props.showSwatches&&!isLeftPosition&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:props.swatchConfig.allowWrap?\"wrap\":\"nowrap\",gap:props.swatchConfig.gap,overflowX:props.swatchConfig.allowWrap?\"visible\":\"auto\"},children:variantImageIndices.map(fullIdx=>/*#__PURE__*/_jsx(Swatch,{src:images[fullIdx],isSelected:fullIdx===currentImageIndex,onClick:()=>setCurrentImageIndex(fullIdx),variantImageMapping:props.variantImageMapping,variants:variants,imageIndex:fullIdx,swatchConfig:props.swatchConfig},images[fullIdx]+String(fullIdx)))}),props.lightboxConfig.enabled&&/*#__PURE__*/_jsx(AnimatePresence,{children:isLightboxOpen&&/*#__PURE__*/_jsx(Lightbox,{images:lightboxImages,currentIndex:lightboxImageIndex,onClose:handleLightboxClose,onNext:handleLightboxNext,onPrev:handleLightboxPrev,layoutId:`gallery-main-image-${productId}-${variantImageIndices[lightboxImageIndex]}`,alt:(variants.find(v=>v.id===selectedVariantId)?.title)||\"\",lightboxConfig:props.lightboxConfig})})]});}// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\nconst generateGalleryPropertyControls=()=>{const controls={shopifyData:{type:ControlType.String,description:SHOPIFY_DATA_DESCRIPTION},variantImageMapping:{type:ControlType.String,title:\"Variant Image Mapping\",description:VARIANT_IMAGE_MAPPING_DESCRIPTION},imageFit:{title:\"Image Fit\",type:ControlType.Enum,options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],defaultValue:\"fill\"},focalPoint:{type:ControlType.Object,title:\"Focal Point\",buttonTitle:\"X, Y Position\",controls:{x:{type:ControlType.Number,title:\"X Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Horizontal focal point (0% = left, 100% = right)\"},y:{type:ControlType.Number,title:\"Y Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Vertical focal point (0% = top, 100% = bottom)\"}},hidden:props=>props.imageFit!==\"fill\",defaultValue:{x:50,y:50}},showSwatches:{type:ControlType.Boolean,title:\"Show Swatches\",defaultValue:true},swatchConfig:{type:ControlType.Object,title:\"Swatch Config\",controls:{position:{type:ControlType.Enum,title:\"Position\",options:[\"bottom\",\"left\"],optionTitles:[\"Bottom\",\"Left\"],defaultValue:\"bottom\",displaySegmentedControl:true},width:{type:ControlType.Number,title:\"Width\",defaultValue:64,unit:\"px\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:64,unit:\"px\"},imageFit:{title:\"Image Fit\",type:ControlType.Enum,options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],defaultValue:\"fit\"},focalPoint:{type:ControlType.Object,title:\"Focal Point\",buttonTitle:\"X, Y Position\",controls:{x:{type:ControlType.Number,title:\"X Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Horizontal focal point (0% = left, 100% = right)\"},y:{type:ControlType.Number,title:\"Y Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Vertical focal point (0% = top, 100% = bottom)\"}},hidden:props=>props.imageFit!==\"fill\",defaultValue:{x:50,y:50}},border:{type:ControlType.Object,title:\"Border\",buttonTitle:\"Style\",controls:{default:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Default\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"}},selected:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Selected\",defaultValue:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}}},defaultValue:{default:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"},selected:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}}},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"6px\"},background:{type:ControlType.Color,title:\"Background\",optional:true},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:6,min:0,step:1,displayStepper:true,unit:\"px\",description:\"Space between swatches\"},allowWrap:{type:ControlType.Boolean,title:\"Allow Wrap\",defaultValue:true,description:\"Allow swatches to wrap to new lines. When disabled, swatches will be scrollable.\"}},hidden:props=>!props.showSwatches,defaultValue:{position:\"bottom\",width:64,height:64,imageFit:\"fit\",border:{default:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"},selected:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}},borderRadius:\"6px\",gap:6,allowWrap:true}},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,step:1,displayStepper:true,unit:\"px\",description:\"Space between swatches and main image\"},lightboxConfig:{type:ControlType.Object,title:\"Lightbox Config\",buttonTitle:\"Enabled, Styles, etc.\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true},overlayBackground:{type:ControlType.Color,title:\"Overlay Background\",defaultValue:\"rgba(0, 0, 0, 0.9)\",hidden:props=>!props.enabled},prevButtonStyles:{type:ControlType.Object,title:\"Previous Button\",buttonTitle:\"Size, Radius, Background, Icon\",controls:{size:{type:ControlType.Number,title:\"Size\",defaultValue:50,min:20,max:100,step:1,displayStepper:true,unit:\"px\"},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"50%\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(255, 255, 255, 0.1)\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"rgba(255, 255, 255, 0.2)\"},svgColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#ffffff\"},tapScale:{type:ControlType.Number,title:\"Tap Scale\",defaultValue:.95,min:0,max:1,step:.01}},defaultValue:{size:50,borderRadius:\"50%\",backgroundColor:\"rgba(255, 255, 255, 0.1)\",svgColor:\"#ffffff\",tapScale:.95,hoverBackgroundColor:\"rgba(255, 255, 255, 0.2)\"},hidden:props=>!props.enabled},nextButtonStyles:{type:ControlType.Object,title:\"Next Button\",buttonTitle:\"Size, Radius, Background, Icon\",controls:{size:{type:ControlType.Number,title:\"Size\",defaultValue:50,min:20,max:100,step:1,displayStepper:true,unit:\"px\"},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"50%\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(255, 255, 255, 0.1)\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"rgba(255, 255, 255, 0.2)\"},svgColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#ffffff\"},tapScale:{type:ControlType.Number,title:\"Tap Scale\",defaultValue:.95,min:0,max:1,step:.01}},defaultValue:{size:50,borderRadius:\"50%\",backgroundColor:\"rgba(255, 255, 255, 0.1)\",svgColor:\"#ffffff\",tapScale:.95,hoverBackgroundColor:\"rgba(255, 255, 255, 0.2)\"},hidden:props=>!props.enabled}}},zoomConfig:{type:ControlType.Object,title:\"Zoom Config\",buttonTitle:\"Enabled, Zoom Level\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:false,description:\"Enable zoom functionality when hovering over the main image.\"},zoomLevel:{type:ControlType.Number,title:\"Zoom Level\",defaultValue:150,min:100,max:500,step:1,unit:\"%\",hidden:props=>!props.enabled}},defaultValue:{enabled:true,zoomLevel:150}},// this need to be the last one\nnumberOfImages:{type:ControlType.Number,title:\"# of Images\",defaultValue:10,min:1,max:30,step:1,displayStepper:true}};// Dynamically generate image controls based on numberOfImages\nfor(let i=1;i<=30;i++){controls[`image${i}`]={type:ControlType.ResponsiveImage,title:`Image ${i}`,hidden:props=>props.numberOfImages<i};}return{...controls,...SUPPORT_CONTROL};};addPropertyControls(Gallery,generateGalleryPropertyControls());Gallery.displayName=\"Smart Gallery\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Gallery\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"800\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"600\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Gallery.map","import{ControlType}from\"framer\";import{SHARED_COLORS,SHARED_STYLES}from\"https://framerusercontent.com/modules/Nrs4jz2AAEOfEZRQEQij/7Ao2SBt1Ssf683HHXgzl/Shared_styles.js\";import{useInventory}from\"https://framerusercontent.com/modules/DW1wzS65glja20YJJb0w/MsyWzNucLewxymKH7z0r/Use_inventory.js\";import{extractVariantId}from\"https://framerusercontent.com/modules/tzN8qHzrVYThnxhKObeP/oWpbtfeZjvritjXviKiH/Shopify_utils.js\";import{isOnFramerCanvasFn,useIsInFramerPreview}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";// ------------------------------------------------------------ //\n// DEFAULT VALUES\n// ------------------------------------------------------------ //\nexport const PresetPrimaryButtonStyleDefaultValues={presetButtonStyle:{alignItems:\"center\",justifyContent:\"center\",gap:8,padding:SHARED_STYLES.buttonPadding,border:{borderWidth:0,borderStyle:\"solid\",borderColor:SHARED_COLORS.foregroundMuted},borderRadius:SHARED_STYLES.borderRadius,textColor:SHARED_COLORS.background,backgroundColor:SHARED_COLORS.foreground,shadow:undefined,hover:{textColor:SHARED_COLORS.backgroundHover,backgroundColor:SHARED_COLORS.foregroundHover,shadow:undefined,border:{borderWidth:0,borderStyle:\"solid\",borderColor:SHARED_COLORS.foregroundMuted}},tapScale:.98}};export const PresetSecondaryButtonStyleDefaultValues={presetButtonStyle:{...PresetPrimaryButtonStyleDefaultValues.presetButtonStyle,backgroundColor:SHARED_COLORS.background,textColor:SHARED_COLORS.foreground,hover:{...PresetPrimaryButtonStyleDefaultValues.presetButtonStyle.hover,backgroundColor:SHARED_COLORS.backgroundHover,textColor:SHARED_COLORS.foreground}}};export const OUT_OF_STOCK_STYLE_DEFAULT_VALUES={text:\"Out of Stock\",textColor:SHARED_COLORS.background,backgroundColor:SHARED_COLORS.foregroundMuted,border:{borderWidth:0,borderStyle:\"solid\",borderColor:SHARED_COLORS.foregroundMuted},opacity:.7};export const PresetPrimaryButtonDisabledStyleDefaultValues={disabledStyle:{alignItems:\"center\",justifyContent:\"center\",gap:8,padding:SHARED_STYLES.buttonPadding,border:{borderWidth:0,borderStyle:\"solid\",borderColor:SHARED_COLORS.foregroundMuted},borderRadius:SHARED_STYLES.borderRadius,textColor:SHARED_COLORS.foregroundMuted,backgroundColor:SHARED_COLORS.backgroundMuted,shadow:undefined,tapScale:1}};// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\nexport const PresetPrimaryButtonStyleControls={presetButtonStyle:{title:\"🎨 Styling\",type:ControlType.Object,controls:{alignItems:{title:\"Align\",type:ControlType.Enum,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.alignItems,options:[\"start\",\"center\",\"end\"],optionTitles:[\"Start\",\"Center\",\"End\"],optionIcons:[\"align-bottom\",\"align-middle\",\"align-top\"],displaySegmentedControl:true},justifyContent:{title:\"Distribute\",type:ControlType.Enum,options:[\"center\",\"start\",\"end\",\"space-between\"],optionTitles:[\"Center\",\"Start\",\"End\",\"Space Between\"],defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.justifyContent},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.gap,unit:\"px\"},padding:{// @ts-expect-error - Padding is not a valid control type in this Framer npm version\ntype:ControlType.Padding,title:\"Padding\",defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.padding},border:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:(PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.border).borderWidth,borderStyle:(PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.border).borderStyle,borderColor:(PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.border).borderColor}},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.borderRadius},textColor:{title:\"Text Color\",type:ControlType.Color,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.textColor},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.backgroundColor},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.shadow},hover:{title:\"Hover\",type:ControlType.Object,controls:{textColor:{title:\"Text\",type:ControlType.Color,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.hover?.textColor},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.hover?.backgroundColor},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.hover?.shadow},border:{title:\"Border\",// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.hover?.border}},buttonTitle:\"Style\"},tapScale:{title:\"Tap Scale\",type:ControlType.Number,defaultValue:PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.tapScale,min:0,max:1,step:.01},font:{title:\"Font\",type:ControlType.Font,defaultFontType:\"sans-serif\",controls:\"extended\",hidden:props=>props.buttonType===\"custom\"}},hidden:props=>props.buttonType===\"custom\"}};export const PresetPrimaryButtonDisabledStyleControls={disabledStyle:{title:\"🎨 Disabled Styling\",type:ControlType.Object,controls:{alignItems:{title:\"Align\",type:ControlType.Enum,defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.alignItems,options:[\"start\",\"center\",\"end\"],optionTitles:[\"Start\",\"Center\",\"End\"],optionIcons:[\"align-bottom\",\"align-middle\",\"align-top\"],displaySegmentedControl:true},justifyContent:{title:\"Distribute\",type:ControlType.Enum,options:[\"center\",\"start\",\"end\",\"space-between\"],optionTitles:[\"Center\",\"Start\",\"End\",\"Space Between\"],defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.justifyContent},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.gap,unit:\"px\"},padding:{// @ts-expect-error - Padding is not a valid control type in this Framer npm version\ntype:ControlType.Padding,title:\"Padding\",defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.padding},border:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:(PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.border).borderWidth,borderStyle:(PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.border).borderStyle,borderColor:(PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.border).borderColor}},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.borderRadius},textColor:{title:\"Text Color\",type:ControlType.Color,defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.textColor},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.backgroundColor},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.shadow},tapScale:{title:\"Tap Scale\",type:ControlType.Number,defaultValue:PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle?.tapScale,min:0,max:1,step:.01},font:{title:\"Font\",type:ControlType.Font,defaultFontType:\"sans-serif\",controls:\"extended\",hidden:props=>props.buttonType===\"custom\"}},hidden:props=>props.buttonType===\"custom\"}};export const PresetSecondaryButtonStyleControls={presetButtonStyle:{title:\"🎨 Styling\",type:ControlType.Object,controls:{alignItems:{title:\"Align\",type:ControlType.Enum,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.alignItems,options:[\"start\",\"center\",\"end\"],optionTitles:[\"Start\",\"Center\",\"End\"],optionIcons:[\"align-bottom\",\"align-middle\",\"align-top\"],displaySegmentedControl:true},justifyContent:{title:\"Distribute\",type:ControlType.Enum,options:[\"center\",\"start\",\"end\",\"space-between\"],optionTitles:[\"Center\",\"Start\",\"End\",\"Space Between\"],defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.justifyContent},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.gap,unit:\"px\"},padding:{// @ts-expect-error - Padding is not a valid control type in this Framer npm version\ntype:ControlType.Padding,title:\"Padding\",defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.padding},border:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:(PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.border).borderWidth,borderStyle:(PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.border).borderStyle,borderColor:(PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.border).borderColor}},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.borderRadius},textColor:{title:\"Text Color\",type:ControlType.Color,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.textColor},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.backgroundColor},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.shadow},hover:{title:\"Hover\",type:ControlType.Object,controls:{textColor:{title:\"Text\",type:ControlType.Color,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.hover?.textColor},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.hover?.backgroundColor},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.hover?.shadow},border:{title:\"Border\",// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.hover?.border}},buttonTitle:\"Style\"},tapScale:{title:\"Tap Scale\",type:ControlType.Number,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.tapScale,min:0,max:1,step:.01},font:{title:\"Font\",type:ControlType.Font,defaultFontType:\"sans-serif\",controls:\"extended\",hidden:props=>props.buttonType===\"custom\"}},hidden:props=>props.buttonType===\"custom\"}};export const PresetButtonContentControls={showDefaultIcon:{title:\"Default Icon\",type:ControlType.Boolean,defaultValue:true,hidden:()=>true,// hidden: (props: any) => props.buttonType === \"custom\", // shown only on add to cart button\nenabledTitle:\"Show\",disabledTitle:\"Hide\"},text:{title:\"Text\",type:ControlType.String,defaultValue:\"Button\",hidden:props=>props.buttonType===\"custom\"},leftIcon:{title:\"Left Icon\",type:ControlType.ComponentInstance,hidden:props=>props.buttonType===\"custom\"},rightIcon:{title:\"Right Icon\",type:ControlType.ComponentInstance,hidden:props=>props.buttonType===\"custom\"}};export const CustomButtonControls={buttonType:{title:\"Button Type\",type:ControlType.Enum,options:[\"preset\",\"custom\"],optionTitles:[\"Preset\",\"Custom\"],displaySegmentedControl:true,defaultValue:\"preset\"},customButton:{title:\"Button\",type:ControlType.ComponentInstance,hidden:props=>props.buttonType===\"preset\"},customButtonSize:{title:\"Button Size\",type:ControlType.Object,controls:{width:{type:ControlType.Enum,title:\"Width\",options:[\"default\",\"fill\"],optionTitles:[\"Default\",\"Fill\"],defaultValue:\"default\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},height:{type:ControlType.Enum,title:\"Height\",options:[\"default\",\"fill\"],optionTitles:[\"Default\",\"Fill\"],defaultValue:\"default\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"}},hidden:props=>props.buttonType===\"preset\"}};export const OutOfStockStyleControls={outOfStockStyle:{title:\"Out of Stock Style\",type:ControlType.Object,controls:{text:{title:\"Text\",type:ControlType.String,defaultValue:OUT_OF_STOCK_STYLE_DEFAULT_VALUES.text},textColor:{title:\"Text Color\",type:ControlType.Color,defaultValue:OUT_OF_STOCK_STYLE_DEFAULT_VALUES.textColor},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:OUT_OF_STOCK_STYLE_DEFAULT_VALUES.backgroundColor},border:{title:\"Border\",// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,defaultValue:OUT_OF_STOCK_STYLE_DEFAULT_VALUES.border},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:OUT_OF_STOCK_STYLE_DEFAULT_VALUES.shadow},opacity:{title:\"Opacity\",type:ControlType.Number,defaultValue:OUT_OF_STOCK_STYLE_DEFAULT_VALUES.opacity,min:0,max:1,step:.01}},hidden:props=>props.buttonType===\"custom\"}};export const MarketButtonStylingActiveControls={stylingActive:{title:\"🎨 Styling Selected\",type:ControlType.Object,controls:{alignItems:{title:\"Align\",type:ControlType.Enum,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.alignItems,options:[\"start\",\"center\",\"end\"],optionTitles:[\"Start\",\"Center\",\"End\"],optionIcons:[\"align-bottom\",\"align-middle\",\"align-top\"],displaySegmentedControl:true},justifyContent:{title:\"Distribute\",type:ControlType.Enum,options:[\"center\",\"start\",\"end\",\"space-between\"],optionTitles:[\"Center\",\"Start\",\"End\",\"Space Between\"],defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.justifyContent},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.gap,unit:\"px\"},padding:{// @ts-expect-error - Padding is not a valid control type in this Framer npm version\ntype:ControlType.Padding,title:\"Padding\",defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.padding},border:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:(PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.border).borderWidth,borderStyle:(PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.border).borderStyle,borderColor:(PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.border).borderColor}},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.borderRadius},textColor:{title:\"Text Color\",type:ControlType.Color,defaultValue:SHARED_COLORS.background},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:SHARED_COLORS.primary},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.shadow},hover:{title:\"Hover\",type:ControlType.Object,controls:{textColor:{title:\"Text\",type:ControlType.Color,defaultValue:SHARED_COLORS.background},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:SHARED_COLORS.primary},shadow:{title:\"Shadow\",// @ts-expect-error - BoxShadow is not a valid control type in this Framer npm version\ntype:ControlType.BoxShadow,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.hover?.shadow},border:{title:\"Border\",// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.hover?.border}},buttonTitle:\"Style\"},tapScale:{title:\"Tap Scale\",type:ControlType.Number,defaultValue:PresetSecondaryButtonStyleDefaultValues.presetButtonStyle?.tapScale,min:0,max:1,step:.01},font:{title:\"Font\",type:ControlType.Font,defaultFontType:\"sans-serif\",controls:\"extended\",hidden:props=>props.buttonType===\"custom\"}},hidden:props=>props.buttonType===\"custom\"||!props.showWhenActive,description:\"Styling when the market is currently selected\"}};// ------------------------------------------------------------ //\n// UTILITY FUNCTION FOR OVERRIDING DEFAULTS\n// ------------------------------------------------------------ //\n/**\n * Deep clones property controls and overrides default values, hidden properties, and titles at specified paths\n * @param baseControls - The base property controls to clone\n * @param overrides - Object with dot-notation paths to override (e.g., 'presetButtonStyle.backgroundColor', 'controlName.hidden', 'controlName.title')\n * @returns New property controls with overridden defaults, hidden properties, and titles\n */export function overrideControlDefaults(baseControls,overrides){// Deep clone the controls (preserving functions)\nconst deepClone=obj=>{if(obj===null||typeof obj!==\"object\")return obj;if(typeof obj===\"function\")return obj;if(Array.isArray(obj))return obj.map(deepClone);const cloned={};for(const key in obj){if(obj.hasOwnProperty(key)){cloned[key]=deepClone(obj[key]);}}return cloned;};const clonedControls=deepClone(baseControls);// Apply overrides\nObject.entries(overrides).forEach(([path,value])=>{const pathParts=path.split(\".\");let current=clonedControls;let controlLevel=null;let lastControlKey=null;// Navigate to the target control\nfor(let i=0;i<pathParts.length;i++){const part=pathParts[i];if(i===pathParts.length-1){// We've reached the final property\nif(part===\"defaultValue\"&&controlLevel&&lastControlKey){// Override defaultValue on a control (e.g., \"text.defaultValue\")\nconst control=controlLevel[lastControlKey];if(control&&typeof control===\"object\"&&control.defaultValue!==undefined){control.defaultValue=value;}}else if(part===\"hidden\"){// Override the hidden property of a control\nif(current[part]&&typeof current[part]===\"object\"&&current[part].controls){// This is an object control with nested controls - set hidden on the object control itself\ncurrent[part].hidden=value;}else if(controlLevel&&lastControlKey){// This is a property of a parent control (e.g., \"inputStyle.hidden\")\n// controlLevel should be the parent level containing the object control\nconst control=controlLevel[lastControlKey];if(control){control.hidden=value;}}else if(current[part]&&typeof current[part]===\"object\"){// Direct control\ncurrent[part].hidden=value;}}else if(part===\"title\"){// Override the title property of a control\nif(current[part]&&typeof current[part]===\"object\"&&current[part].controls){// This is an object control with nested controls - set title on the object control itself\ncurrent[part].title=value;}else if(controlLevel&&lastControlKey){// This is a property of a parent control (e.g., \"inputStyle.title\")\n// controlLevel should be the parent level containing the object control\nconst control=controlLevel[lastControlKey];if(control){control.title=value;}}else if(current[part]&&typeof current[part]===\"object\"){// Direct control\ncurrent[part].title=value;}}else if(current[part]&&typeof current[part]===\"object\"){// If it's a control with controls (nested), we shouldn't override it directly\nif(current[part].controls){console.warn(`Cannot override ${path} - it's a parent control with nested controls`);}else if(current[part].defaultValue!==undefined){// This is a direct control - update its defaultValue\ncurrent[part].defaultValue=value;}else if(controlLevel&&lastControlKey){// This might be a property within a control's defaultValue object\n// (e.g., \"border.borderWidth\" where border is the control)\nconst control=controlLevel[lastControlKey];if(control?.defaultValue&&typeof control.defaultValue===\"object\"){control.defaultValue[part]=value;}}}else if(controlLevel&&lastControlKey){// Property doesn't exist in current, but we have a control to modify\nconst control=controlLevel[lastControlKey];if(control?.defaultValue&&typeof control.defaultValue===\"object\"){control.defaultValue[part]=value;}}}else{// Navigate deeper\nif(current[part]?.controls){// This is a parent control with nested controls\n// Set controlLevel to current level so we can access this control later for properties like 'hidden'\ncontrolLevel=current;lastControlKey=part;current=current[part].controls;}else if(current[part]&&typeof current[part]===\"object\"){// This might be a control or a defaultValue object\nif(current[part].defaultValue!==undefined){// This is a control - check if we're trying to access its defaultValue properties\ncontrolLevel=current;lastControlKey=part;// If defaultValue is an object, navigate into it; otherwise stay at control level\nif(typeof current[part].defaultValue===\"object\"&&current[part].defaultValue!==null){current=current[part].defaultValue;}else{// defaultValue is a primitive - we need to set it directly later\ncurrent=current[part];}}else{// This is a direct control (like ComponentInstance) - set up for property access\ncontrolLevel=current;lastControlKey=part;current=current[part];}}else{console.warn(`Path ${path} not found in controls`);return;}}}});return clonedControls;}// ------------------------------------------------------------ //\n// CUSTOM HOOKS\n// ------------------------------------------------------------ //\nexport function useInventoryDisabled(shopifyDataId,selectedVariantId,disableWhenOutOfStock){const isOnFramerCanvas=isOnFramerCanvasFn();const isInFramerPreview=useIsInFramerPreview();const{data:inventoryData,isLoading,error}=useInventory(shopifyDataId);if(isOnFramerCanvas||isInFramerPreview)return{isDisabled:false};const variants=inventoryData?.data?.product?.variants?.edges||[];const selectedVariant=variants.find(variant=>extractVariantId(variant.node.id)===selectedVariantId);if(isLoading||error)return{isDisabled:false};const isInStock=selectedVariant?selectedVariant.node.quantityAvailable>0:false;const isNotTrackedStock=selectedVariant?selectedVariant.node.quantityAvailable===null||selectedVariant.node.quantityAvailable===-1:false;const isDisabled=disableWhenOutOfStock&&!isNotTrackedStock&&!isInStock;return{isDisabled};}\nexport const __FramerMetadata__ = {\"exports\":{\"CustomButtonProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MarketButtonStylingActiveControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetPrimaryButtonStyleDefaultValues\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OutOfStockStyleControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MarketButtonStylingActiveProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetPrimaryButtonStyleControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetSecondaryButtonStyleControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetSecondaryButtonStyleDefaultValues\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"overrideControlDefaults\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetButtonContentControlsProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetButtonStyleControlsProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetPrimaryButtonDisabledStyleControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetButtonDisabledStyleControlsProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OutOfStockStyleProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetButtonContentControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CustomButtonControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PresetPrimaryButtonDisabledStyleDefaultValues\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OUT_OF_STOCK_STYLE_DEFAULT_VALUES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInventoryDisabled\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Shared_button_props.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{PresetPrimaryButtonStyleDefaultValues,PresetPrimaryButtonDisabledStyleDefaultValues}from\"https://framerusercontent.com/modules/jSzgfFOp8vV7JiKIMM1a/v3OEw29gw3h4dfbsV2S5/Shared_button_props.js\";import LoadingSpinner from\"https://framerusercontent.com/modules/J14wQOiI0O01kyXMgenS/ODFPbfbc3Lw68NQPcyta/Loading_spinner.js\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\nexport default function PresetButton(props){const{leftIcon,rightIcon,font,text,onClick,presetButtonStyle,disabledStyle,style,disabled,isLoading,...restProps}=props;// Deep merge the presetButtonStyle with defaults\nconst mergedPresetButtonStyle={...PresetPrimaryButtonStyleDefaultValues.presetButtonStyle,...presetButtonStyle||{},hover:{...PresetPrimaryButtonStyleDefaultValues.presetButtonStyle?.hover,...presetButtonStyle?.hover||{}}};// Deep merge the disabledStyle with defaults\nconst mergedDisabledStyle={...PresetPrimaryButtonDisabledStyleDefaultValues.disabledStyle,...disabledStyle||{}};// Use disabled style when disabled, otherwise use normal style\nconst activeStyle=disabled?mergedDisabledStyle:mergedPresetButtonStyle;const handleClick=e=>{onClick(e);};return /*#__PURE__*/_jsxs(motion.button,{onClick:handleClick,style:{width:\"100%\",height:\"100%\",display:\"flex\",cursor:disabled?\"not-allowed\":\"pointer\",alignItems:activeStyle?.alignItems,justifyContent:activeStyle?.justifyContent,gap:activeStyle?.gap,padding:activeStyle?.padding,border:typeof activeStyle?.border===\"string\"?activeStyle.border:activeStyle?.border?`${activeStyle.border.borderWidth||0}px ${activeStyle.border.borderStyle||\"solid\"} ${activeStyle.border.borderColor||\"transparent\"}`:undefined,borderRadius:activeStyle?.borderRadius,backgroundColor:activeStyle?.backgroundColor,color:activeStyle?.textColor,boxShadow:activeStyle?.shadow,...disabled&&disabledStyle?.font?disabledStyle.font:font,...style},animate:{backgroundColor:activeStyle?.backgroundColor,color:activeStyle?.textColor,boxShadow:activeStyle?.shadow,border:typeof activeStyle?.border===\"string\"?activeStyle.border:activeStyle?.border?`${activeStyle.border.borderWidth||0}px ${activeStyle.border.borderStyle||\"solid\"} ${activeStyle.border.borderColor||\"transparent\"}`:undefined},whileHover:disabled?undefined:{backgroundColor:mergedPresetButtonStyle?.hover?.backgroundColor,color:mergedPresetButtonStyle?.hover?.textColor,boxShadow:mergedPresetButtonStyle?.hover?.shadow,border:typeof mergedPresetButtonStyle?.hover?.border===\"string\"?mergedPresetButtonStyle.hover.border:mergedPresetButtonStyle?.hover?.border?`${mergedPresetButtonStyle.hover.border.borderWidth||0}px ${mergedPresetButtonStyle.hover.border.borderStyle||\"solid\"} ${mergedPresetButtonStyle.hover.border.borderColor||\"transparent\"}`:undefined,transition:{duration:.3,ease:\"easeOut\"}},whileTap:{scale:activeStyle?.tapScale,transition:{duration:.1,ease:\"easeOut\"}},disabled:disabled||isLoading,...restProps,children:[isLoading&&/*#__PURE__*/_jsx(LoadingSpinner,{style:{width:restProps.loadingSpinnerSize||24,height:restProps.loadingSpinnerSize||24}}),leftIcon&&!isLoading&&/*#__PURE__*/_jsx(\"span\",{children:leftIcon}),text&&!isLoading&&/*#__PURE__*/_jsx(\"span\",{children:text}),rightIcon&&!isLoading&&/*#__PURE__*/_jsx(\"span\",{children:rightIcon})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"PresetButtonProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"PresetButton\",\"slots\":[\"leftIcon\",\"rightIcon\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo,useState,useEffect}from\"react\";import{useProductSelectionStore}from\"https://framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/yNIABzdTP3fu4mWtyAdp/Product_selection_store.js\";import{parseShopifyData}from\"https://framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/Uam6NjjQgBdbM2uxwvNZ/Parse_shopify_data.js\";import PlusSvg from\"https://framerusercontent.com/modules/CgNesoEVhclZxcf3DGoV/KiFqdjKmxFukmUMhyMDX/Plus.js\";import MinusSvg from\"https://framerusercontent.com/modules/rg6FA2ZzLed1GXAPqbZS/mzbz3S2bGl9kzIhDyRAM/Minus.js\";import{PresetSecondaryButtonStyleControls,PresetButtonContentControls,CustomButtonControls,overrideControlDefaults}from\"https://framerusercontent.com/modules/jSzgfFOp8vV7JiKIMM1a/v3OEw29gw3h4dfbsV2S5/Shared_button_props.js\";import PresetButton from\"https://framerusercontent.com/modules/a6C1Qq7kxeKULOsvIpdv/tPAd3RAGxQdbicMYlPZq/Preset_button.js\";import CustomButtonWrapper from\"https://framerusercontent.com/modules/KkMHEXBTzNGLCAGsRLrm/6SkMdiv3T9lXNoUXujQ9/Custom_button_wrapper.js\";import Input,{InputStyleControls,InputContentControls}from\"https://framerusercontent.com/modules/8tTWwqu9i87Vk9zESDn0/vehB1T2Qdrt3aYp0UHnW/Input.js\";import{SHOPIFY_DATA_DESCRIPTION,SUPPORT_CONTROL}from\"https://framerusercontent.com/modules/G9UZNzEc4NZQrMJzPvWx/tl22i1lNtmmpBOq8EDe4/Shared_props.js\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\nfunction QuantityInputInner(props){const shopifyData=parseShopifyData(props.shopifyData);const selectedVariantId=useProductSelectionStore(s=>s.getSelectedVariant(shopifyData.id,shopifyData.variants));const quantity=useProductSelectionStore(s=>s.getQuantity(selectedVariantId));const increment=useProductSelectionStore(s=>s.increment);const decrement=useProductSelectionStore(s=>s.decrement);const setQuantity=useProductSelectionStore(s=>s.setQuantity);// Local state for input value to allow empty string\nconst[inputValue,setInputValue]=useState(String(quantity));// Sync local state with store quantity changes\nuseEffect(()=>{setInputValue(String(quantity));},[quantity]);const ariaLabel=useMemo(()=>{if(props.type===\"add\")return\"Increase quantity\";if(props.type===\"subtract\")return\"Decrease quantity\";return\"Quantity\";},[props.type]);const handleClickAdd=()=>{increment(selectedVariantId,props.step);};const handleClickSubtract=()=>{if(quantity<=1)return;decrement(selectedVariantId,props.step);};const handleChangeInput=e=>{const value=e.target.value;// Update local state immediately to allow deletion\nsetInputValue(value);// If empty, don't update store yet\nif(value===\"\"){return;}const numValue=Number(value);if(!Number.isFinite(numValue))return;if(numValue<1){// Allow partial input like typing \"1\" then \"0\" for \"10\"\nreturn;}// Update store with valid value\nsetQuantity(selectedVariantId,Math.floor(numValue));};const handleBlurInput=e=>{const value=e.target.value;const numValue=Number(value);// If empty or invalid, reset to 1\nif(value===\"\"||!Number.isFinite(numValue)||numValue<1){setQuantity(selectedVariantId,1);setInputValue(\"1\");}};if(props.type===\"add\"&&props.buttonType===\"custom\"){return /*#__PURE__*/_jsx(CustomButtonWrapper,{onClick:handleClickAdd,customButtonSize:props.customButtonSize,children:props.customButton});}if(props.type===\"add\"&&props.buttonType===\"preset\"){return /*#__PURE__*/_jsx(PresetButton,{onClick:handleClickAdd,font:props.presetButtonStyle.font,leftIcon:props.leftIcon?.[0]??/*#__PURE__*/_jsx(PlusSvg,{style:{width:\"16px\",height:\"16px\"}}),rightIcon:props.rightIcon?.[0],presetButtonStyle:props.presetButtonStyle});}if(props.type===\"subtract\"&&props.buttonType===\"custom\"){return /*#__PURE__*/_jsx(CustomButtonWrapper,{onClick:handleClickSubtract,customButtonSize:props.customButtonSize,children:props.customButton});}if(props.type===\"subtract\"&&props.buttonType===\"preset\"){return /*#__PURE__*/_jsx(PresetButton,{onClick:handleClickSubtract,font:props.presetButtonStyle.font,leftIcon:props.leftIcon?.[0]??/*#__PURE__*/_jsx(MinusSvg,{style:{width:\"16px\",height:\"16px\"}}),rightIcon:props.rightIcon?.[0],presetButtonStyle:props.presetButtonStyle});}return /*#__PURE__*/_jsx(Input,{\"aria-label\":ariaLabel,type:props.inputType,min:props.min,max:props.max,step:props.step,value:inputValue,onChange:handleChangeInput,onBlur:handleBlurInput,onFocus:e=>e.currentTarget.select(),inputStyle:props.inputStyle});}// ------------------------------------------------------------ //\n// MAIN EXPORT\n// ------------------------------------------------------------ //\n/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 40\n * @framerIntrinsicHeight 40\n * @framerDisableUnlink\n */export default function QuantityInput(props){return /*#__PURE__*/_jsx(QuantityInputInner,{...props});}// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\naddPropertyControls(QuantityInput,{type:{type:ControlType.Enum,options:[\"subtract\",\"input\",\"add\"],optionTitles:[\"-\",\"123\",\"+\"],defaultValue:\"input\",displaySegmentedControl:true},shopifyData:{type:ControlType.String,defaultValue:\"\",description:SHOPIFY_DATA_DESCRIPTION},step:{type:ControlType.Number,defaultValue:1,min:1,step:1,displayStepper:true},min:{type:ControlType.Number,defaultValue:1,min:1,step:1,displayStepper:true},max:{type:ControlType.Number,defaultValue:99,min:1,step:1,displayStepper:true},...overrideControlDefaults(CustomButtonControls,{\"buttonType.hidden\":props=>props.type===\"input\",\"customButton.hidden\":props=>props.buttonType===\"preset\"||props.type===\"input\",\"customButtonSize.hidden\":props=>props.buttonType===\"preset\"||props.type===\"input\"}),...overrideControlDefaults(PresetSecondaryButtonStyleControls,{\"presetButtonStyle.hidden\":props=>props.buttonType===\"custom\"||props.type===\"input\"}),...overrideControlDefaults(PresetButtonContentControls,{\"leftIcon.hidden\":props=>props.buttonType===\"custom\"||props.type===\"input\",\"leftIcon.title\":\"Icon\",\"rightIcon.hidden\":true,\"text.hidden\":true,\"font.hidden\":true}),...overrideControlDefaults(InputStyleControls,{\"inputStyle.hidden\":props=>props.type!==\"input\"}),...overrideControlDefaults(InputContentControls,{\"placeholder.hidden\":props=>props.type!==\"input\",\"disabled.hidden\":props=>props.type!==\"input\",\"inputType.hidden\":true}),...SUPPORT_CONTROL});QuantityInput.displayName=\"Quantity Input\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"QuantityInput\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"40\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// ------------------------------------------------------------ //\n// UTILITY FUNCTIONS\n// ------------------------------------------------------------ //\n/**\n * Split a variant title into option values by index\n */export function getOptionValuesFromTitle(title){if(!title)return[];return title.split(\" / \").map(s=>s.trim());}/**\n * Find the variant that matches a set of option values at all indices\n */export function findVariantByOptionValues(variants,optionValues){for(const v of variants){const parts=getOptionValuesFromTitle(v.title||\"\");let allMatch=true;for(let i=0;i<optionValues.length;i++){const desired=optionValues[i];if(!desired)continue;// skip unspecified\nif(String(parts[i]||\"\")!==String(desired)){allMatch=false;break;}}if(allMatch)return v;}return null;}/**\n * Extract image numbers for a given variant from the mapping string\n * Format: [img 1 ~ 123][img 2 ~ 456]\n */export function extractImageNumbersForVariant(mappingString,variantId){if(!mappingString||!variantId)return[];const result=[];const regex=/\\[img (\\d+) ~ (\\d+)\\]/g;let match;while((match=regex.exec(mappingString))!==null){const imageNum=match[1];const mappedVariantId=match[2];if(String(mappedVariantId)===String(variantId)){result.push(imageNum);}}return result;}/**\n * Dispatch gallery sync event for variant image selection\n */export function dispatchGallerySyncEvent(shopifyProductId,imageNumber){if(typeof window===\"undefined\")return;const evt=new CustomEvent(\"frameship_variant_image_selected\",{detail:{imageNumber,shopifyProductID:`gid://shopify/Product/${shopifyProductId}`}});document.dispatchEvent(evt);}\nexport const __FramerMetadata__ = {\"exports\":{\"extractImageNumbersForVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOptionValuesFromTitle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"dispatchGallerySyncEvent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"findVariantByOptionValues\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utils.map","import{useMemo,useEffect}from\"react\";import{extractImageNumbersForVariant,dispatchGallerySyncEvent}from\"https://framerusercontent.com/modules/YJSlZPJ3OtkgZ7JnMbkR/qItcTMFagKkirpMkCQFE/Utils.js\";import{isBrowserFn}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";// ------------------------------------------------------------ //\n// CUSTOM HOOKS\n// ------------------------------------------------------------ //\n/**\n * Parse CMS Variant Options from JSON string\n */export function useParsedVariantOptions(variantOptions){return useMemo(()=>{if(!variantOptions)return null;try{const parsed=JSON.parse(variantOptions);// transfrom the ID to the format gid://shopify/ProductOption/10535841136801\nconst transformed=parsed.map(option=>({...option,id:`gid://shopify/ProductOption/${option.id}`}));if(Array.isArray(transformed))return transformed;return null;}catch{return null;}},[variantOptions]);}/**\n * Infer option groups from variants or use CMS options\n */export function useInferredOptionGroups(variants,cmsVariantOptions){return useMemo(()=>{if(!variants.length)return[];// If CMS Variant Options are provided, trust their names and values\nif(cmsVariantOptions&&cmsVariantOptions.length>0){const maxParts=variants.reduce((m,v)=>{const parts=(v.title||\"\").split(\" / \");return Math.max(m,parts.length);},0);const limited=cmsVariantOptions.slice(0,maxParts);return limited.map((opt,idx)=>({index:idx,name:opt.name,values:Array.from(new Set(opt.values.map(v=>String(v)))).filter(Boolean)}));}// Fallback: infer groups as Option 1, Option 2, ... based on variant title parts\nconst maxParts=variants.reduce((m,v)=>{const parts=(v.title||\"\").split(\" / \");return Math.max(m,parts.length);},0);const groups=[];for(let i=0;i<maxParts;i++){groups.push({index:i,name:`Option ${i+1}`,values:new Set});}for(const v of variants){const parts=(v.title||\"\").split(\" / \");for(let i=0;i<maxParts;i++){const value=String(parts[i]||\"\").trim();if(value)groups[i].values.add(value);}}return groups.map(g=>({index:g.index,name:g.name,values:Array.from(g.values)}));},[variants,cmsVariantOptions]);}/**\n * Determine effective filter settings from props\n */export function useEffectiveFilter(filterGroups,filterGroupTitles,filterType){return useMemo(()=>{if(filterGroups)return filterGroups;const titles=(filterGroupTitles||\"\").split(\",\").map(t=>t.trim()).filter(Boolean);const type=filterType||\"all\";return{filterType:type,variantGroupTitles:titles};},[filterGroups,filterGroupTitles,filterType]);}/**\n * Find the target group based on filter settings\n */export function useTargetGroup(effectiveFilter,inferredOptionGroups){return useMemo(()=>{if(effectiveFilter.filterType!==\"contains\")return null;if(!effectiveFilter.variantGroupTitles?.length)return null;const wantedNames=effectiveFilter.variantGroupTitles.map(n=>n.toLowerCase());// Match by name (case-insensitive)\nconst byName=inferredOptionGroups.find(g=>wantedNames.includes(g.name.toLowerCase()));if(byName)return byName;// If no names match (e.g., inferred names like Option 1), allow using positional keywords \"Option 1\"\nconst byFallback=inferredOptionGroups.find(g=>wantedNames.includes(`option ${g.index+1}`));return byFallback||null;},[effectiveFilter,inferredOptionGroups]);}/**\n * Keep gallery in sync when selection changes\n */export function useGallerySync(variantImageMapping,selectedVariantId,shopifyProductId){const isBrowser=isBrowserFn();useEffect(()=>{if(!isBrowser)return;if(!variantImageMapping||!selectedVariantId||!shopifyProductId)return;const imageNumbersForVariant=extractImageNumbersForVariant(variantImageMapping,selectedVariantId);const firstImageNumber=imageNumbersForVariant[0];if(!firstImageNumber)return;dispatchGallerySyncEvent(shopifyProductId,Number(firstImageNumber));},[variantImageMapping,selectedVariantId,shopifyProductId,isBrowser]);}/**\n * Check if component should be hidden based on filter rules\n */export function useFilterVisibility(effectiveFilter,groupNamesLower){return useMemo(()=>{if(effectiveFilter.filterType===\"contains\"&&effectiveFilter.variantGroupTitles?.length){const wanted=effectiveFilter.variantGroupTitles.map(t=>t.toLowerCase());const hasMatch=groupNamesLower.some(n=>wanted.includes(n));if(!hasMatch)return false;}if(effectiveFilter.filterType===\"doesn't contain\"&&effectiveFilter.variantGroupTitles?.length){const blocked=effectiveFilter.variantGroupTitles.map(t=>t.toLowerCase());const hasBlocked=groupNamesLower.some(n=>blocked.includes(n));if(hasBlocked)return false;}return true;},[effectiveFilter,groupNamesLower]);}\nexport const __FramerMetadata__ = {\"exports\":{\"useTargetGroup\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useGallerySync\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFilterVisibility\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useParsedVariantOptions\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useEffectiveFilter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInferredOptionGroups\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Hooks.map","import{jsx as _jsx}from\"react/jsx-runtime\";export function PlaceholderState(props){if(props.type===\"button\"&&props.buttonConfig){const{buttonConfig}=props;const font=buttonConfig.font||{};const defaultStyles=buttonConfig.defaultStyles||{};const gap=buttonConfig.gap||4;const buttonStyles={height:buttonConfig.height,width:buttonConfig.width,padding:buttonConfig.padding,borderRadius:buttonConfig.borderRadius,backgroundColor:defaultStyles.backgroundColor||\"#fff\",color:defaultStyles.textColor||\"#000\",border:defaultStyles.border?`${defaultStyles.border.borderWidth||1}px ${defaultStyles.border.borderStyle||\"solid\"} ${defaultStyles.border.borderColor||\"#ccc\"}`:\"1px solid #ccc\",fontFamily:font.fontFamily||\"inherit\",fontSize:font.fontSize?`${font.fontSize}px`:\"14px\",fontWeight:font.fontWeight||\"normal\",cursor:\"pointer\",transition:\"all 0.2s ease\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap},children:[\"S\",\"M\",\"L\"].map(size=>/*#__PURE__*/_jsx(\"button\",{style:buttonStyles,\"aria-label\":`Select ${size} size`,children:size},size))});}if(props.type===\"image\"&&props.imageConfig){const{imageConfig}=props;const gap=imageConfig.gap||4;const border=imageConfig.border?.default||{};const imagePlaceholderStyles={width:imageConfig.width,height:imageConfig.height,borderRadius:imageConfig.borderRadius||\"6px\",backgroundColor:imageConfig.background||\"#f0f0f0\",border:border?`${border.borderWidth||1}px ${border.borderStyle||\"solid\"} ${border.borderColor||\"#ccc\"}`:\"1px solid #ccc\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#999\",fontSize:\"12px\",fontWeight:\"500\",cursor:\"pointer\",transition:\"all 0.2s ease\"};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap},children:[1,2,3].map(i=>/*#__PURE__*/_jsx(\"div\",{style:imagePlaceholderStyles,\"aria-label\":`Placeholder variant ${i}`,children:i},i))});}if(props.type===\"color\"&&props.colorConfig){const{colorConfig}=props;const gap=colorConfig.gap||4;const border=colorConfig.border?.default||{};const colorPlaceholderStyles={width:colorConfig.size,height:colorConfig.size,borderRadius:colorConfig.borderRadius||\"50%\",border:border?`${border.borderWidth||1}px ${border.borderStyle||\"solid\"} ${border.borderColor||\"#ccc\"}`:\"1px solid #ccc\",display:\"block\",cursor:\"pointer\",transition:\"all 0.2s ease\"};const sampleColors=[\"#ff0000\",\"#00ff00\",\"#0000ff\"];return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap},children:sampleColors.map((color,i)=>/*#__PURE__*/_jsx(\"div\",{style:{...colorPlaceholderStyles,backgroundColor:color},\"aria-label\":`Placeholder color swatch ${i+1}`},i))});}return null;}\nexport const __FramerMetadata__ = {\"exports\":{\"PlaceholderState\":{\"type\":\"reactComponent\",\"name\":\"PlaceholderState\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Placeholder_state.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\nexport function VariantButton(props){const baseStyles=buildBaseButtonStyles(props.config);const animateStyles=props.isSelected?buildSelectedButtonStyles(props.config):buildDefaultButtonStyles(props.config);const hoverStyles=props.isSelected?{}:buildHoverButtonStyles(props.config);return /*#__PURE__*/_jsx(motion.button,{style:baseStyles,animate:animateStyles,onClick:props.onClick,\"aria-label\":props.ariaLabel,\"aria-pressed\":props.isSelected,whileHover:hoverStyles,whileTap:{scale:props.config.tapScale},transition:{duration:.15,ease:\"easeOut\"},children:props.label});}// ------------------------------------------------------------ //\n// UTILITY FUNCTIONS\n// ------------------------------------------------------------ //\n/**\n * Converts a BorderProps object to a CSS border string\n */function borderPropsToCss(borderProps){// If shorthand border is provided, use it\nif(borderProps.border){return borderProps.border;}// Otherwise, build from individual properties\nconst width=borderProps.borderWidth||0;const style=borderProps.borderStyle||\"solid\";const color=borderProps.borderColor||\"transparent\";return`${width}px ${style} ${color}`;}/**\n * Builds base CSSProperties that don't animate\n */function buildBaseButtonStyles(config){return{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",height:config.height,width:config.widthType===\"fit\"?\"fit-content\":config.widthType===\"fill\"?\"100%\":config.width,padding:config.padding,borderRadius:config.borderRadius,border:borderPropsToCss(config.defaultStyles.border),cursor:\"pointer\",...config.font};}/**\n * Builds animatable CSSProperties for default state\n */function buildDefaultButtonStyles(config){return{border:borderPropsToCss(config.defaultStyles.border),backgroundColor:config.defaultStyles.backgroundColor,color:config.defaultStyles.textColor};}/**\n * Builds animatable CSSProperties for selected state\n */function buildSelectedButtonStyles(config){return{border:borderPropsToCss(config.selectedStyles.border),backgroundColor:config.selectedStyles.backgroundColor,color:config.selectedStyles.textColor};}/**\n * Builds hover styles for animation\n */function buildHoverButtonStyles(config){return{border:borderPropsToCss(config.hoverStyles.border),backgroundColor:config.hoverStyles.backgroundColor,color:config.hoverStyles.textColor};}\nexport const __FramerMetadata__ = {\"exports\":{\"VariantButtonConfigProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VariantButton\":{\"type\":\"reactComponent\",\"name\":\"VariantButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Variant_button.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{getObjectFit}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";export function VariantImage(props){const{config,isSelected}=props;// Extract border properties\nconst defaultBorderWidth=getBorderWidth(config.border.default);const selectedBorderWidth=getBorderWidth(config.border.selected);const defaultBorderStyle=getBorderStyle(config.border.default);const selectedBorderStyle=getBorderStyle(config.border.selected);const defaultBorderColor=getBorderColor(config.border.default);const selectedBorderColor=getBorderColor(config.border.selected);// Calculate border widths to prevent layout shifts:\n// - Inner element always has the default border width (always visible)\n// - Wrapper has the \"extra\" width for selected state (transparent when not selected)\n// - Total border slot = max(defaultWidth, selectedWidth) — constant, no layout shift!\nconst innerWidth=defaultBorderWidth;const wrapperWidth=Math.max(0,selectedBorderWidth-defaultBorderWidth);// Total border slot for border radius calculation\nconst totalBorderSlot=innerWidth+wrapperWidth;// Wrapper div handles the \"extra\" border that appears when selected\n// Width is constant to prevent layout shifts, only color animates\nconst wrapperStyles={display:\"inline-flex\",borderRadius:config.borderRadius,borderWidth:wrapperWidth,borderStyle:selectedBorderStyle,cursor:\"pointer\"};// Inner element always shows the default border width\n// Color changes between default and selected\nconst imageStyles={width:config.width,height:config.height,objectFit:getObjectFit(config.imageFit),objectPosition:config.imageFit===\"fill\"?`${config?.focalPoint?.x??50}% ${config?.focalPoint?.y??50}%`:undefined,borderRadius:adjustBorderRadius(config.borderRadius,totalBorderSlot),borderWidth:innerWidth,borderStyle:isSelected?selectedBorderStyle:defaultBorderStyle,background:config.background||\"transparent\",display:\"block\",cursor:\"pointer\"};const borderTransition={duration:.2,ease:\"easeOut\"};function handleKeyDown(e){if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();props.onClick();}}return /*#__PURE__*/_jsx(motion.div,{style:wrapperStyles,animate:{// Wrapper border is transparent when not selected, colored when selected\n// Width stays constant (wrapperWidth) to prevent layout shifts\nborderColor:isSelected?selectedBorderColor:\"rgba(0, 0, 0, 0)\"},initial:false,whileTap:{scale:config.tapScale},transition:borderTransition,onClick:props.onClick,role:\"button\",tabIndex:0,\"aria-label\":props.ariaLabel,\"aria-pressed\":isSelected,onKeyDown:handleKeyDown,children:/*#__PURE__*/_jsx(motion.img,{src:props.src,alt:props.alt,style:imageStyles,initial:false,animate:{// Inner border color transitions between default and selected\n// Width stays constant (innerWidth = defaultBorderWidth)\nborderColor:isSelected?selectedBorderColor:defaultBorderColor},transition:borderTransition})});}// ------------------------------------------------------------ //\n// UTILITY FUNCTIONS\n// ------------------------------------------------------------ //\n/**\n * Extracts border width from BorderProps\n */function getBorderWidth(borderProps){if(borderProps.borderWidth!==undefined){return borderProps.borderWidth;}// Try to parse from shorthand border string\nif(borderProps.border){const match=borderProps.border.match(/^(\\d+(?:\\.\\d+)?)/);if(match){return parseFloat(match[1]);}}return 1;// fallback\n}/**\n * Extracts border style from BorderProps\n */function getBorderStyle(borderProps){if(borderProps.borderStyle){return borderProps.borderStyle;}// Try to parse from shorthand border string\nif(borderProps.border){const parts=borderProps.border.split(\" \");// Border shorthand is typically \"width style color\"\nif(parts.length>=2){return parts[1];}}return\"solid\";// fallback\n}/**\n * Extracts border color from BorderProps\n */function getBorderColor(borderProps){if(borderProps.borderColor){return borderProps.borderColor;}// Try to parse from shorthand border string\nif(borderProps.border){const parts=borderProps.border.split(\" \");// Border shorthand is typically \"width style color\"\nif(parts.length>=3){return parts.slice(2).join(\" \");}}return\"transparent\";}/**\n * Adjusts border radius to account for nested border\n * Subtracts the offset from numeric values to keep corners aligned\n */function adjustBorderRadius(borderRadius,offset){// Handle simple numeric values like \"8px\" or \"8\"\nconst match=borderRadius.match(/^(\\d+(?:\\.\\d+)?)(px|%|em|rem)?$/);if(match){const value=parseFloat(match[1]);const unit=match[2]||\"px\";const adjusted=Math.max(0,value-offset);return`${adjusted}${unit}`;}// For complex values, return as-is\nreturn borderRadius;}\nexport const __FramerMetadata__ = {\"exports\":{\"VariantImage\":{\"type\":\"reactComponent\",\"name\":\"VariantImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"VariantImageConfigProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Variant_image.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";// ------------------------------------------------------------ //\n// VARIANT COLOR COMPONENT\n// ------------------------------------------------------------ //\nexport function VariantColor(props){const{config,isSelected,colorValue}=props;// Extract border properties\nconst defaultBorderWidth=getBorderWidth(config.border.default);const selectedBorderWidth=getBorderWidth(config.border.selected);const defaultBorderStyle=getBorderStyle(config.border.default);const selectedBorderStyle=getBorderStyle(config.border.selected);const defaultBorderColor=getBorderColor(config.border.default);const selectedBorderColor=getBorderColor(config.border.selected);// Calculate border widths to prevent layout shifts:\n// - Inner element always has the default border width (always visible)\n// - Wrapper has the \"extra\" width for selected state (transparent when not selected)\n// - Total border slot = max(defaultWidth, selectedWidth) — constant, no layout shift!\nconst innerWidth=defaultBorderWidth;const wrapperWidth=Math.max(0,selectedBorderWidth-defaultBorderWidth);// Total border slot for border radius calculation\nconst totalBorderSlot=innerWidth+wrapperWidth;// Wrapper div handles the \"extra\" border that appears when selected\n// Width is constant to prevent layout shifts, only color animates\nconst wrapperStyles={display:\"inline-flex\",borderRadius:config.borderRadius,borderWidth:wrapperWidth,borderStyle:selectedBorderStyle,cursor:\"pointer\"};// Inner element always shows the default border width\n// Color changes between default and selected\nconst swatchStyles={width:config.size,height:config.size,borderRadius:adjustBorderRadius(config.borderRadius,totalBorderSlot),backgroundColor:colorValue||\"#cccccc\",borderWidth:innerWidth,borderStyle:isSelected?selectedBorderStyle:defaultBorderStyle,display:\"block\",padding:0,margin:0,cursor:\"pointer\"};const borderTransition={duration:.2,ease:\"easeOut\"};function handleKeyDown(e){if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();props.onClick();}}return /*#__PURE__*/_jsx(motion.div,{style:wrapperStyles,animate:{// Wrapper border is transparent when not selected, colored when selected\n// Width stays constant (wrapperWidth) to prevent layout shifts\nborderColor:isSelected?selectedBorderColor:\"rgba(0, 0, 0, 0)\"},initial:false,whileTap:{scale:config.tapScale},transition:borderTransition,onClick:props.onClick,role:\"button\",tabIndex:0,\"aria-label\":props.ariaLabel,\"aria-pressed\":isSelected,onKeyDown:handleKeyDown,children:/*#__PURE__*/_jsx(motion.button,{style:swatchStyles,initial:false,animate:{// Inner border color transitions between default and selected\n// Width stays constant (innerWidth = defaultBorderWidth)\nborderColor:isSelected?selectedBorderColor:defaultBorderColor},transition:borderTransition})});}// ------------------------------------------------------------ //\n// UTILITY FUNCTIONS\n// ------------------------------------------------------------ //\n/**\n * Extracts border width from BorderProps\n */function getBorderWidth(borderProps){if(borderProps.borderWidth!==undefined){return borderProps.borderWidth;}// Try to parse from shorthand border string\nif(borderProps.border){const match=borderProps.border.match(/^(\\d+(?:\\.\\d+)?)/);if(match){return parseFloat(match[1]);}}return 1;// fallback\n}/**\n * Extracts border style from BorderProps\n */function getBorderStyle(borderProps){if(borderProps.borderStyle){return borderProps.borderStyle;}// Try to parse from shorthand border string\nif(borderProps.border){const parts=borderProps.border.split(\" \");// Border shorthand is typically \"width style color\"\nif(parts.length>=2){return parts[1];}}return\"solid\";// fallback\n}/**\n * Extracts border color from BorderProps\n */function getBorderColor(borderProps){if(borderProps.borderColor){return borderProps.borderColor;}// Try to parse from shorthand border string\nif(borderProps.border){const parts=borderProps.border.split(\" \");// Border shorthand is typically \"width style color\"\nif(parts.length>=3){return parts.slice(2).join(\" \");}}return\"transparent\";}/**\n * Adjusts border radius to account for nested border\n * Subtracts the offset from numeric values to keep corners aligned\n */function adjustBorderRadius(borderRadius,offset){// Handle simple numeric values like \"8px\" or \"8\"\nconst match=borderRadius.match(/^(\\d+(?:\\.\\d+)?)(px|%|em|rem)?$/);if(match){const value=parseFloat(match[1]);const unit=match[2]||\"px\";const adjusted=Math.max(0,value-offset);return`${adjusted}${unit}`;}// For complex values like \"50%\", return as-is\nreturn borderRadius;}\nexport const __FramerMetadata__ = {\"exports\":{\"VariantColor\":{\"type\":\"reactComponent\",\"name\":\"VariantColor\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"VariantColorConfigProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Variant_color.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{getOptionValuesFromTitle,findVariantByOptionValues}from\"https://framerusercontent.com/modules/YJSlZPJ3OtkgZ7JnMbkR/qItcTMFagKkirpMkCQFE/Utils.js\";import{VariantButton}from\"https://framerusercontent.com/modules/8tz291z0qufTiAyO29YU/Kr5vJ3Xv73XfEHvqRwAS/Variant_button.js\";import{VariantImage}from\"https://framerusercontent.com/modules/iesOg5jXxMF9FWC1YGiR/9CoNgiGWRqpk9zxq4mQQ/Variant_image.js\";import{VariantColor}from\"https://framerusercontent.com/modules/Meh2p99DzON6Pbyel14V/zbp8ctBe3ir0LOvQlk1s/Variant_color.js\";export function FilteredGroupView(props){const{targetGroup,variants,selectedVariantId,onVariantSelect,type,effectiveFilter,gap,buttonConfig,imageConfig,colorConfig,colorMapping,wrap}=props;function getColorValueForOptionValue(optionValue){if(!colorMapping||colorMapping.length===0){return\"#cccccc\";}const mapping=colorMapping.find(m=>m.colorName===optionValue);return mapping?.colorValue||\"#cccccc\";}// Check if we should hide when only one option is available\nconst whenSingleImage=effectiveFilter.whenSingleImage||\"hide\";if(whenSingleImage===\"hide\"&&targetGroup.values.length===1){return null;}const selectedVariant=variants.find(v=>v.id===selectedVariantId);const selectedParts=getOptionValuesFromTitle(selectedVariant?.title||\"\");// For each value in the target group, pick a representative variant\nconst items=targetGroup.values.map(value=>{// Determine if this value is selected\nconst isSelectedValue=String(selectedParts[targetGroup.index]||\"\")===String(value);// Choose representative variant: keep other option values from selected variant when possible\nlet representative=null;if(selectedParts.length){const desired=[...selectedParts];desired[targetGroup.index]=value;representative=findVariantByOptionValues(variants,desired);}if(!representative){// Fallback to first variant matching just this group's value\nrepresentative=variants.find(v=>{const parts=getOptionValuesFromTitle(v.title||\"\");return String(parts[targetGroup.index]||\"\")===String(value);})||null;}const handleSelect=()=>{if(!representative)return;onVariantSelect(representative.id);};const key=`${targetGroup.name}-${value}`;const ariaLabel=`Select ${String(value)} ${targetGroup.name}`;if(type===\"image\"){return /*#__PURE__*/_jsx(VariantImage,{src:representative?.image?.url,alt:representative?.image?.altText||String(value),isSelected:isSelectedValue,onClick:handleSelect,ariaLabel:ariaLabel,config:imageConfig},key);}if(type===\"color\"){const colorValue=getColorValueForOptionValue(String(value));return /*#__PURE__*/_jsx(VariantColor,{colorValue:colorValue,colorName:String(value),isSelected:isSelectedValue,onClick:handleSelect,ariaLabel:ariaLabel,config:colorConfig},key);}return /*#__PURE__*/_jsx(VariantButton,{label:String(value),isSelected:isSelectedValue,onClick:handleSelect,ariaLabel:ariaLabel,config:buttonConfig},key);});return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:wrap?\"wrap\":\"nowrap\",gap:gap},children:items});}\nexport const __FramerMetadata__ = {\"exports\":{\"FilteredGroupView\":{\"type\":\"reactComponent\",\"name\":\"FilteredGroupView\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{VariantButton}from\"https://framerusercontent.com/modules/8tz291z0qufTiAyO29YU/Kr5vJ3Xv73XfEHvqRwAS/Variant_button.js\";import{VariantImage}from\"https://framerusercontent.com/modules/iesOg5jXxMF9FWC1YGiR/9CoNgiGWRqpk9zxq4mQQ/Variant_image.js\";import{VariantColor}from\"https://framerusercontent.com/modules/Meh2p99DzON6Pbyel14V/zbp8ctBe3ir0LOvQlk1s/Variant_color.js\";import{getOptionValuesFromTitle}from\"https://framerusercontent.com/modules/YJSlZPJ3OtkgZ7JnMbkR/qItcTMFagKkirpMkCQFE/Utils.js\";export function DefaultVariantView(props){const{variants,selectedVariantId,onVariantSelect,type,gap,buttonConfig,imageConfig,colorConfig,colorMapping,wrap}=props;function getColorValueForVariant(variant){if(!colorMapping||colorMapping.length===0){return\"#cccccc\";}// Get the first option value from the variant title\n// For color variants, we assume the first option is the color\nconst optionValues=getOptionValuesFromTitle(variant.title||\"\");const colorName=optionValues[0]||\"\";// Find matching color mapping\nconst mapping=colorMapping.find(m=>m.colorName===colorName);return mapping?.colorValue||\"#cccccc\";}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:wrap?\"wrap\":\"nowrap\",gap:gap},children:variants.map(variant=>{const isSelected=selectedVariantId===variant.id;const ariaLabel=`Select ${variant.title} variant`;if(type===\"image\"){return /*#__PURE__*/_jsx(VariantImage,{src:variant.image?.url,alt:variant.image?.altText||variant.title,isSelected:isSelected,onClick:()=>onVariantSelect(variant.id),ariaLabel:ariaLabel,config:imageConfig},variant.id);}if(type===\"color\"){const optionValues=getOptionValuesFromTitle(variant.title||\"\");const colorName=optionValues[0]||variant.title;const colorValue=getColorValueForVariant(variant);return /*#__PURE__*/_jsx(VariantColor,{colorValue:colorValue,colorName:colorName,isSelected:isSelected,onClick:()=>onVariantSelect(variant.id),ariaLabel:ariaLabel,config:colorConfig},variant.id);}return /*#__PURE__*/_jsx(VariantButton,{label:variant.title,isSelected:isSelected,onClick:()=>onVariantSelect(variant.id),ariaLabel:ariaLabel,config:buttonConfig},variant.id);})});}\nexport const __FramerMetadata__ = {\"exports\":{\"DefaultVariantView\":{\"type\":\"reactComponent\",\"name\":\"DefaultVariantView\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useProductSelectionStore}from\"https://framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/yNIABzdTP3fu4mWtyAdp/Product_selection_store.js\";import{parseShopifyData}from\"https://framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/Uam6NjjQgBdbM2uxwvNZ/Parse_shopify_data.js\";import{isOnFramerCanvasFn}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";import{useParsedVariantOptions,useInferredOptionGroups,useEffectiveFilter,useTargetGroup,useGallerySync,useFilterVisibility}from\"https://framerusercontent.com/modules/9b4zJBr97cGoCaUw99YG/mYMxNWnPnF79VFqp28ni/Hooks.js\";import{extractImageNumbersForVariant,dispatchGallerySyncEvent}from\"https://framerusercontent.com/modules/YJSlZPJ3OtkgZ7JnMbkR/qItcTMFagKkirpMkCQFE/Utils.js\";import{PlaceholderState}from\"https://framerusercontent.com/modules/W4tqGjcLIoIG56X9KCvh/6wkLFVa7zpWzB6rHAGSk/Placeholder_state.js\";import{FilteredGroupView}from\"https://framerusercontent.com/modules/2trYS2Zee5YYYduPj7X7/pfVaUtL6iHwlSY7zupaE/Filtered_group_view.js\";import{DefaultVariantView}from\"https://framerusercontent.com/modules/O4SyIrImO0lFCBVnjE4R/xCT8RlCyQ7s7WqxnMCZD/Default_variant_view.js\";import{SHARED_COLORS}from\"https://framerusercontent.com/modules/Nrs4jz2AAEOfEZRQEQij/7Ao2SBt1Ssf683HHXgzl/Shared_styles.js\";import{SHOPIFY_DATA_DESCRIPTION,SUPPORT_CONTROL,VARIANT_IMAGE_MAPPING_DESCRIPTION,VARIANT_OPTIONS_DESCRIPTION}from\"https://framerusercontent.com/modules/G9UZNzEc4NZQrMJzPvWx/tl22i1lNtmmpBOq8EDe4/Shared_props.js\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function VariantSelector(props){// Parse and prepare data (must happen before any early returns for hooks)\nconst shopifyData=parseShopifyData(props.shopifyData||\"\");const hasMultipleVariants=(shopifyData?.variants?.length||0)>1;const variants=shopifyData?.variants||[];// Get selection state (all hooks must be called unconditionally)\nconst selectedVariantId=useProductSelectionStore(state=>state.getSelectedVariant(shopifyData?.id,variants));const setSelectedVariant=useProductSelectionStore(state=>state.setSelectedVariant);// Parse CMS variant options and infer groups\nconst cmsVariantOptions=useParsedVariantOptions(props.variantOptions);const inferredOptionGroups=useInferredOptionGroups(variants,cmsVariantOptions);// Determine filter settings and target group\nconst effectiveFilter=useEffectiveFilter(props.filterGroups,props.filterGroupTitles,props.filterType);const targetGroup=useTargetGroup(effectiveFilter,inferredOptionGroups);// Check filter visibility rules\nconst groupNamesLower=useMemo(()=>inferredOptionGroups.map(g=>g.name.toLowerCase()),[inferredOptionGroups]);const isVisible=useFilterVisibility(effectiveFilter,groupNamesLower);// Keep gallery in sync with variant selection\nuseGallerySync(props.variantImageMapping,selectedVariantId,shopifyData?.id);// Now we can do conditional rendering (after all hooks)\nconst isOnFramerCanvas=isOnFramerCanvasFn();// Show placeholder when on Framer canvas without data\nif(isOnFramerCanvas&&!props.shopifyData){return /*#__PURE__*/_jsx(PlaceholderState,{type:props.type,buttonConfig:props.buttonConfig,imageConfig:props.imageConfig,colorConfig:props.colorConfig});}// Handle variant selection\nfunction handleVariantSelect(variantId){setSelectedVariant(shopifyData?.id,variantId);// Dispatch gallery sync event if mapping exists\nif(typeof window===\"undefined\")return;if(!props.variantImageMapping||!shopifyData?.id)return;const imageNumbersForVariant=extractImageNumbersForVariant(props.variantImageMapping,variantId);const firstImageNumber=imageNumbersForVariant[0];if(firstImageNumber){dispatchGallerySyncEvent(shopifyData.id,Number(firstImageNumber));}}// Early returns for edge cases\nif(!isVisible)return null;if(!hasMultipleVariants)return null;const gap=props.type===\"button\"?props.buttonConfig.gap:props.type===\"image\"?props.imageConfig.gap:props.colorConfig.gap;// Render filtered group view when filter is active\nif(effectiveFilter.filterType===\"contains\"&&targetGroup){return /*#__PURE__*/_jsx(FilteredGroupView,{targetGroup:targetGroup,variants:variants,selectedVariantId:selectedVariantId,onVariantSelect:handleVariantSelect,type:props.type,effectiveFilter:effectiveFilter,gap:gap,wrap:props.buttonConfig.wrap,buttonConfig:props.buttonConfig,imageConfig:props.imageConfig,colorConfig:props.colorConfig,colorMapping:props.colorMapping});}// Render default view (all variants)\nreturn /*#__PURE__*/_jsx(DefaultVariantView,{variants:variants,selectedVariantId:selectedVariantId,onVariantSelect:handleVariantSelect,type:props.type,gap:gap,wrap:props.buttonConfig.wrap,buttonConfig:props.buttonConfig,imageConfig:props.imageConfig,colorConfig:props.colorConfig,colorMapping:props.colorMapping});}// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\naddPropertyControls(VariantSelector,{shopifyData:{type:ControlType.String,description:SHOPIFY_DATA_DESCRIPTION},variantImageMapping:{type:ControlType.String,title:\"Variant Image Mapping\",description:VARIANT_IMAGE_MAPPING_DESCRIPTION},variantOptions:{type:ControlType.String,title:\"Variant Options\",description:VARIANT_OPTIONS_DESCRIPTION},type:{type:ControlType.Enum,options:[\"button\",\"image\",\"color\"],optionTitles:[\"Button\",\"Image\",\"Color\"],defaultValue:\"button\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},buttonConfig:{type:ControlType.Object,title:\"🎨 Styling\",buttonTitle:\"Colors, Padding, etc.\",controls:{widthType:{type:ControlType.Enum,title:\"Width Type\",options:[\"fit\",\"fill\",\"fixed\"],optionTitles:[\"Fit\",\"Fill\",\"Fixed\"],defaultValue:\"fixed\",displaySegmentedControl:true},width:{type:ControlType.Number,title:\"Width\",defaultValue:40,min:1,step:1,unit:\"px\",hidden:props=>props.widthType!==\"fixed\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:30,min:1,step:1,unit:\"px\"},padding:{// @ts-expect-error - Padding is not a valid control type in this Framer npm version\ntype:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"6px\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},defaultStyles:{type:ControlType.Object,title:\"🎨 Default Styles\",buttonTitle:\"Colors, Border\",controls:{backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:SHARED_COLORS.background},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:SHARED_COLORS.foreground},border:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover}}}},selectedStyles:{type:ControlType.Object,title:\"🎨 Selected Styles\",buttonTitle:\"Colors, Border\",controls:{backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:SHARED_COLORS.foreground},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:SHARED_COLORS.background},border:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}}}},hoverStyles:{type:ControlType.Object,title:\"🎨 Hover Styles\",buttonTitle:\"Colors, Border\",controls:{backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:SHARED_COLORS.backgroundHover},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:SHARED_COLORS.foreground},border:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover}}},description:\"Only applies when the button is not selected\"},tapScale:{type:ControlType.Number,title:\"Tap Scale\",defaultValue:.98,min:0,max:1,step:.01},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:4,min:0,max:100,step:1,unit:\"px\"},wrap:{type:ControlType.Boolean,title:\"Wrap Layout\",defaultValue:true}},defaultValue:{padding:\"8px 16px 8px 16px\",borderRadius:6,defaultStyles:{backgroundColor:SHARED_COLORS.background,textColor:SHARED_COLORS.foreground,border:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover}},selectedStyles:{backgroundColor:SHARED_COLORS.foreground,textColor:SHARED_COLORS.background,border:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}},hoverStyles:{backgroundColor:SHARED_COLORS.backgroundHover,textColor:SHARED_COLORS.foreground,border:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover}},gap:4,wrap:true},hidden:props=>props.type!==\"button\"},imageConfig:{type:ControlType.Object,title:\"🎨 Styling\",buttonTitle:\"Size, Fit, Border, etc.\",controls:{width:{type:ControlType.Number,title:\"Width\",defaultValue:60,min:20,max:200,step:1},height:{type:ControlType.Number,title:\"Height\",defaultValue:60,min:20,max:200,step:1},imageFit:{type:ControlType.Enum,title:\"Image Fit\",options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],defaultValue:\"fill\"},focalPoint:{type:ControlType.Object,title:\"Focal Point\",buttonTitle:\"X, Y Position\",controls:{x:{type:ControlType.Number,title:\"X Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Horizontal focal point (0% = left, 100% = right)\"},y:{type:ControlType.Number,title:\"Y Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Vertical focal point (0% = top, 100% = bottom)\"}},hidden:props=>props.imageFit!==\"fill\",defaultValue:{x:50,y:50}},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"6px\"},background:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"transparent\"},border:{type:ControlType.Object,title:\"Border\",controls:{default:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Default Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover}},selected:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Selected Border\",defaultValue:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}}}},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:4,min:0,max:100,step:1,unit:\"px\"},wrap:{type:ControlType.Boolean,title:\"Wrap Layout\",defaultValue:true},tapScale:{type:ControlType.Number,title:\"Tap Scale\",defaultValue:.98,min:0,max:1,step:.01}},defaultValue:{width:60,height:60,imageFit:\"fill\",focalPoint:{x:50,y:50},borderRadius:\"6px\",background:\"transparent\",border:{default:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover},selected:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}},gap:4,wrap:true},hidden:props=>props.type!==\"image\"},colorMapping:{type:ControlType.Array,title:\"Color Mapping\",description:\"Map all Shopify variant option color names to color values\",control:{type:ControlType.Object,controls:{colorName:{type:ControlType.String,title:\"Color Name\",description:\"Must match exactly the Shopify option value\"},colorValue:{type:ControlType.Color,title:\"Color\"}}},hidden:props=>props.type!==\"color\"},colorConfig:{type:ControlType.Object,title:\"🎨 Styling\",buttonTitle:\"Size, Border, etc.\",controls:{size:{type:ControlType.Number,title:\"Size\",defaultValue:32,min:20,max:100,step:1,unit:\"px\"},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"50%\"},border:{type:ControlType.Object,title:\"Border\",controls:{default:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Default Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover}},selected:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Selected Border\",defaultValue:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}}}},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:4,min:0,max:100,step:1,unit:\"px\"},tapScale:{type:ControlType.Number,title:\"Tap Scale\",defaultValue:.98,min:0,max:1,step:.01}},defaultValue:{size:40,borderRadius:\"50%\",border:{default:{borderWidth:1,borderStyle:\"solid\",borderColor:SHARED_COLORS.backgroundHover},selected:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}},gap:4,tapScale:.98},hidden:props=>props.type!==\"color\"},filterType:{type:ControlType.Enum,options:[\"all\",\"contains\",\"doesn't contain\"],optionTitles:[\"All\",\"Contains\",\"Doesn't contain\"],defaultValue:\"all\"},filterGroupTitles:{type:ControlType.String,title:\"Filter Group Titles\",description:\"e.g. Color, Size, etc. Must match the title of the Shopify variant group exactly.\",hidden:props=>props.filterType===\"all\"},...SUPPORT_CONTROL});VariantSelector.displayName=\"Variant Selector\";\nexport const __FramerMetadata__ = {\"exports\":{\"VariantSelectorProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"VariantSelector\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\"}},\"ColorMapping\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"02BAAa,EAAiB,GAAsC,EAAY,KAAK,MAAM,EAAY,CAACA,GAA8CA,GAAa,CAAC,GAAG,iBAAiB,SAAS,CAAC,CAAC,GAAG,iBAAiB,MAAM,gBAAgB,MAAM,CAAC,OAAO,KAAK,aAAa,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,KAAK,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,KAAK,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,MAAM,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,KAAK,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,MAAM,aAAa,MAAM,CAAC,CAAC,uBAAuB,CAAC,GAAG,CAAC,OAAO,MAAM,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,KAAK,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,MAAM,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,MAAM,aAAa,MAAM,CAAC,GAAG,CAAC,OAAO,MAAM,aAAa,MAAM,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