{"version":3,"file":"Preset_button.CyKHe0Q3.mjs","names":["create","useQuery","useQueryClient","useMutation","useRef","useQuery"],"sources":["https:/framerusercontent.com/modules/NBp7ctFhtxfP8UPi4nze/CEYFob9UebBGMJEPOFBi/Market_store.js","https:/framerusercontent.com/modules/HRm4FfVJHrd62RjWhV4c/KlS9vN1CGZiFLMO9FLM5/Cart_service.js","https:/framerusercontent.com/modules/qNwuWLbXbcYKugmCfVBu/lJRSRZl0egQQcZWwbvLC/Use_cart.js","https:/framerusercontent.com/modules/sX6hfMwzhWlvBxIp2fG2/zy3Khr7KowmLBSa7UdGs/Inventory_service.js","https:/framerusercontent.com/modules/DW1wzS65glja20YJJb0w/MsyWzNucLewxymKH7z0r/Use_inventory.js","https:/framerusercontent.com/modules/jSzgfFOp8vV7JiKIMM1a/v3OEw29gw3h4dfbsV2S5/Shared_button_props.js","https:/framerusercontent.com/modules/a6C1Qq7kxeKULOsvIpdv/tPAd3RAGxQdbicMYlPZq/Preset_button.js"],"sourcesContent":["import{create}from\"https://framerusercontent.com/modules/ieMSnIJVCiFKJmsg1OmM/KWFJj6n258MVreTmJoNk/Zustand.js\";import{getMarketFromStorage}from\"https://framerusercontent.com/modules/LC4yzgmOxZwXoP8NKAM5/kNhgpNsSAYdlHQ1fRhxQ/Market_local_storage.js\";export const useMarketStore=create((set,get)=>({selectedMarket:getMarketFromStorage(),defaultMarket:null,setMarket:market=>{console.log(\"[Market Store] Setting market to:\",market);set({selectedMarket:market});// Trigger live pricing fetch if needed\n    // Dynamically import to avoid circular dependencies\n    import(\"https://framerusercontent.com/modules/3C9wF5reOoO0EZmRXDu0/U0F0IYbzpYj27k6whgBv/Live_pricing_store.js\").then(({useLivePricingStore})=>{console.log(\"[Market Store] Triggering live pricing fetch for market:\",market.countryCode);const livePricingStore=useLivePricingStore.getState();livePricingStore.fetchLivePricingData(market.countryCode);}).catch(error=>{console.error(\"[Market Store] Error importing live pricing store:\",error);});},getMarket:()=>{return get().selectedMarket||get().defaultMarket;},setDefaultMarket:market=>{set({defaultMarket:market});// If no market is selected, use default\n    if(!get().selectedMarket){set({selectedMarket:market});}},clearMarket:()=>{set({selectedMarket:null});}}));\nexport const __FramerMetadata__ = {\"exports\":{\"useMarketStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{shopifyClient}from\"https://framerusercontent.com/modules/c5gtsBimYk7u4sSXwOlt/CM2cTm98pCUipAHQyaQn/Shopify_client.js\";import{getCartIdFromStorage,saveCartIdToStorage}from\"https://framerusercontent.com/modules/OnWAqZZNYQ9JhDoMpqGD/ky0aqyH28XdVmVjx9fGI/Cart_local_storage.js\";export const getShopifyCart=async country=>{const existingCartId=getCartIdFromStorage();const getCartQuery=`#graphql\n          query getCart($cartId: ID!, $country: CountryCode)\n          @inContext(country: $country) {\n            cart(id: $cartId) {\n              id\n              createdAt\n              updatedAt\n              checkoutUrl\n              lines(first: 100) {\n                edges {\n                  node {\n                    id\n                    quantity\n                    merchandise {\n                      ... on ProductVariant {\n                        id\n                        title\n                        product {\n                          id\n                          title\n                          handle\n                        }\n                        image {\n                          url\n                          altText\n                        }\n                        price {\n                          amount\n                          currencyCode\n                        }\n                      }\n                    }\n                  }\n                }\n                pageInfo {\n                  hasNextPage\n                  hasPreviousPage\n                }\n              }\n              cost {\n                totalAmount {\n                  amount\n                  currencyCode\n                }\n                subtotalAmount {\n                  amount\n                  currencyCode\n                }\n                totalTaxAmount {\n                  amount\n                  currencyCode\n                }\n              }\n            }\n          }\n  `;const result=await shopifyClient({query:getCartQuery,variables:{cartId:existingCartId,...country&&{country}}});return result;};export const createShopifyCart=async country=>{const cartCreateQuery=`#graphql\n  mutation cartCreate($country: CountryCode)\n  @inContext(country: $country) {\n    cartCreate {\n      cart {\n        id\n        createdAt\n        updatedAt\n        checkoutUrl\n        lines(first: 100) {\n          edges {\n            node {\n              id\n              quantity\n              merchandise {\n                ... on ProductVariant {\n                  id\n                  title\n                  product {\n                    id\n                    title\n                    handle\n                  }\n                  image {\n                    url\n                    altText\n                  }\n                  price {\n                    amount\n                    currencyCode\n                  }\n                }\n              }\n            }\n          }\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n          }\n        }\n        cost {\n          totalAmount {\n            amount\n            currencyCode\n          }\n          subtotalAmount {\n            amount\n            currencyCode\n          }\n          totalTaxAmount {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n  }\n  `;const result=await shopifyClient({query:cartCreateQuery,variables:{...country&&{country}}});if(result.data?.cartCreate?.cart?.id){saveCartIdToStorage(result.data.cartCreate.cart.id);}return result;};export const addToShopifyCart=async({cartId,variantId,quantity=1,country})=>{const addToCartMutation=`#graphql\n  mutation cartLinesAdd($cartId: ID!, $lines: [CartLineInput!]!, $country: CountryCode)\n  @inContext(country: $country) {\n    cartLinesAdd(cartId: $cartId, lines: $lines) {\n      cart {\n        id\n        createdAt\n        updatedAt\n        checkoutUrl\n        lines(first: 100) {\n          edges {\n            node {\n              id\n              quantity\n              merchandise {\n                ... on ProductVariant {\n                  id\n                  title\n                  product {\n                    id\n                    title\n                    handle\n                  }\n                  image {\n                    url\n                    altText\n                  }\n                  price {\n                    amount\n                    currencyCode\n                  }\n                }\n              }\n            }\n          }\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n          }\n        }\n        cost {\n          totalAmount {\n            amount\n            currencyCode\n          }\n          subtotalAmount {\n            amount\n            currencyCode\n          }\n          totalTaxAmount {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n  }\n  `;const result=await shopifyClient({query:addToCartMutation,variables:{cartId,lines:[{merchandiseId:variantId,quantity}],...country&&{country}}});return result;};export const updateQuantityShopifyCart=async({cartId,lineId,quantity,country})=>{const updateQuantityMutation=`#graphql\n  mutation cartLinesUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!, $country: CountryCode)\n  @inContext(country: $country) {\n    cartLinesUpdate(cartId: $cartId, lines: $lines) {\n      cart {\n        id\n        createdAt\n        updatedAt\n        checkoutUrl\n        lines(first: 100) {\n          edges {\n            node {\n              id\n              quantity\n              merchandise {\n                ... on ProductVariant {\n                  id\n                  title\n                  product {\n                    id\n                    title\n                    handle\n                  }\n                  image {\n                    url\n                    altText\n                  }\n                  price {\n                    amount\n                    currencyCode\n                  }\n                }\n              }\n            }\n          }\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n          }\n        }\n        cost {\n          totalAmount {\n            amount\n            currencyCode\n          }\n          subtotalAmount {\n            amount\n            currencyCode\n          }\n          totalTaxAmount {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n  }\n`;const result=await shopifyClient({query:updateQuantityMutation,variables:{cartId,lines:[{id:lineId,quantity}],...country&&{country}}});return result;};export const removeLineShopifyCart=async({cartId,lineId,country})=>{const removeLineMutation=`#graphql\n  mutation cartLinesRemove($cartId: ID!, $lineIds: [ID!]!, $country: CountryCode)\n  @inContext(country: $country) {\n    cartLinesRemove(cartId: $cartId, lineIds: $lineIds) {\n      cart {\n        id\n        createdAt\n        updatedAt\n        checkoutUrl\n        lines(first: 100) {\n          edges {\n            node {\n              id\n              quantity\n              merchandise {\n                ... on ProductVariant {\n                  id\n                  title\n                  product {\n                    id\n                    title\n                    handle\n                  }\n                  price {\n                    amount\n                    currencyCode\n                  }\n                  image {\n                    url\n                    altText\n                  }\n                }\n              }\n            }\n          }\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n          }\n        }\n        cost {\n          totalAmount {\n            amount\n            currencyCode\n          }\n          subtotalAmount {\n            amount\n            currencyCode\n          }\n          totalTaxAmount {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n  }\n`;const result=await shopifyClient({query:removeLineMutation,variables:{cartId,lineIds:[lineId],...country&&{country}}});return result;};/**\n * Update cart buyer identity to change market/currency\n * This is required to change an existing cart's currency\n */export const updateCartBuyerIdentity=async({cartId,countryCode})=>{const updateBuyerIdentityMutation=`#graphql\n  mutation cartBuyerIdentityUpdate($cartId: ID!, $buyerIdentity: CartBuyerIdentityInput!) {\n    cartBuyerIdentityUpdate(cartId: $cartId, buyerIdentity: $buyerIdentity) {\n      cart {\n        id\n        createdAt\n        updatedAt\n        checkoutUrl\n        lines(first: 100) {\n          edges {\n            node {\n              id\n              quantity\n              merchandise {\n                ... on ProductVariant {\n                  id\n                  title\n                  product {\n                    id\n                    title\n                    handle\n                  }\n                  image {\n                    url\n                    altText\n                  }\n                  price {\n                    amount\n                    currencyCode\n                  }\n                }\n              }\n            }\n          }\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n          }\n        }\n        cost {\n          totalAmount {\n            amount\n            currencyCode\n          }\n          subtotalAmount {\n            amount\n            currencyCode\n          }\n          totalTaxAmount {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n  }\n  `;const result=await shopifyClient({query:updateBuyerIdentityMutation,variables:{cartId,buyerIdentity:{countryCode}}});return result;};\nexport const __FramerMetadata__ = {\"exports\":{\"getShopifyCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addToShopifyCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createShopifyCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateCartBuyerIdentity\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateQuantityShopifyCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartResponse\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"removeLineShopifyCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartItem\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartData\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{useQuery,useMutation,useQueryClient}from\"https://framerusercontent.com/modules/EsOvuK0xi7z7RIQRkokm/bRiQrUY3yTYaOk3nVVOr/Tanstack_query.js\";import{useEffect,useRef}from\"react\";import{getCartIdFromStorage}from\"https://framerusercontent.com/modules/OnWAqZZNYQ9JhDoMpqGD/ky0aqyH28XdVmVjx9fGI/Cart_local_storage.js\";import{useMarketStore}from\"https://framerusercontent.com/modules/NBp7ctFhtxfP8UPi4nze/CEYFob9UebBGMJEPOFBi/Market_store.js\";import{addToShopifyCart,createShopifyCart,getShopifyCart,removeLineShopifyCart,updateQuantityShopifyCart,updateCartBuyerIdentity}from\"https://framerusercontent.com/modules/HRm4FfVJHrd62RjWhV4c/KlS9vN1CGZiFLMO9FLM5/Cart_service.js\";export const CART_QUERY_KEYS={all:[\"cart\"],byId:cartId=>[\"cart\",cartId]};// Track the latest desired quantity per cart line to avoid stale responses overriding optimistic state\nconst lastDesiredQuantityByLine=new Map;export const useCreateCart=()=>{const{getMarket}=useMarketStore();const currentMarket=getMarket();const country=currentMarket?.countryCode;const{data,isLoading,error}=useQuery({queryKey:[\"cart\",country],queryFn:async()=>{// Check if we already have a cart ID in local storage\nconst existingCartId=getCartIdFromStorage();if(existingCartId){const result=await getShopifyCart(country);// If cart doesn't exist (likely expired), create a new one\nif(result.data?.cart===null){const createResult=await createShopifyCart(country);return createResult;}return result;}else{// No cart ID in storage, create a new cart\nconst result=await createShopifyCart(country);// Log if the cart creation failed\nif(!result.data?.cartCreate?.cart?.id){console.error(\"[useCreateCart] Failed to create cart. Response:\",result);}return result;}},staleTime:5*60*1e3});return{data,isLoading,error};};export const useAddToCart=()=>{const queryClient=useQueryClient();const{getMarket}=useMarketStore();const currentMarket=getMarket();const country=currentMarket?.countryCode;const mutation=useMutation({mutationFn:async({cartId,variantId,quantity=1})=>{return addToShopifyCart({cartId,variantId,quantity,country});},onSuccess:()=>{// Invalidate and refetch cart queries using the correct key\nconst cartQueryKey=[\"cart\",country];queryClient.invalidateQueries({queryKey:cartQueryKey});}});return{addToCart:mutation.mutate,addToCartAsync:mutation.mutateAsync,isAdding:mutation.isPending,error:mutation.error};};export const useGetCart=cartId=>{const{data,isLoading,error}=useQuery({queryKey:CART_QUERY_KEYS.byId(cartId),queryFn:async()=>await getShopifyCart(),enabled:!!cartId,staleTime:2*60*1e3,refetchOnWindowFocus:true});return{data,isLoading,error};};export const useCartMutations=()=>{const queryClient=useQueryClient();const{getMarket}=useMarketStore();const currentMarket=getMarket();const country=currentMarket?.countryCode;const updateQuantity=useMutation({mutationFn:async({cartId,lineId,quantity})=>{return updateQuantityShopifyCart({cartId,lineId,quantity,country});},onMutate:async({lineId,quantity})=>{// Record latest desired quantity for this line\nlastDesiredQuantityByLine.set(lineId,quantity);// Use the correct query key that includes country\nconst cartQueryKey=[\"cart\",country];await Promise.all([queryClient.cancelQueries({queryKey:cartQueryKey})]);const previousCart=queryClient.getQueryData(cartQueryKey);const applyOptimisticQuantity=response=>{if(!response||!response.data)return response;const updateCart=cart=>{if(!cart)return cart;const updatedLines=cart.lines.edges.map(edge=>{if(edge.node.id!==lineId)return edge;return{...edge,node:{...edge.node,quantity}};});const subtotal=updatedLines.reduce((acc,edge)=>{const unit=parseFloat(edge.node.merchandise.price.amount||\"0\");return acc+unit*edge.node.quantity;},0);const currencyCode=cart.cost.subtotalAmount.currencyCode||(updatedLines[0]?.node.merchandise.price.currencyCode)||\"USD\";const updatedCart={...cart,lines:{...cart.lines,edges:updatedLines},cost:{...cart.cost,subtotalAmount:{amount:subtotal.toFixed(2),currencyCode},totalAmount:{amount:subtotal.toFixed(2),currencyCode}}};return updatedCart;};if(response.data.cart){return{...response,data:{...response.data,cart:updateCart(response.data.cart)}};}if(response.data.cartLinesUpdate?.cart){return{...response,data:{...response.data,cartLinesUpdate:{cart:updateCart(response.data.cartLinesUpdate.cart)}}};}if(response.data.cartCreate?.cart){return{...response,data:{...response.data,cartCreate:{cart:updateCart(response.data.cartCreate.cart)}}};}return response;};queryClient.setQueryData(cartQueryKey,old=>applyOptimisticQuantity(old||null));return{previousCart};},onError:(_err,variables,context)=>{// Only rollback if this failed mutation corresponds to the latest desired quantity\nconst latest=lastDesiredQuantityByLine.get(variables.lineId);if(latest!==variables.quantity){return;}if(!context)return;const{previousCart}=context;if(previousCart){const cartQueryKey=[\"cart\",country];queryClient.setQueryData(cartQueryKey,previousCart);}},onSettled:(_data,_error,variables)=>{// Invalidate only if this mutation represents the latest desired quantity for the line\nconst latest=lastDesiredQuantityByLine.get(variables.lineId);if(latest!==variables.quantity){return;}lastDesiredQuantityByLine.delete(variables.lineId);const cartQueryKey=[\"cart\",country];queryClient.invalidateQueries({queryKey:cartQueryKey});}});const removeLine=useMutation({mutationFn:async({cartId,lineId})=>{return await removeLineShopifyCart({cartId,lineId,country});},onMutate:async({lineId})=>{// Use the correct query key that includes country\nconst cartQueryKey=[\"cart\",country];await Promise.all([queryClient.cancelQueries({queryKey:cartQueryKey})]);const previousCart=queryClient.getQueryData(cartQueryKey);const applyOptimisticRemove=response=>{if(!response||!response.data)return response;const updateCart=cart=>{if(!cart)return cart;const updatedLines=cart.lines.edges.filter(edge=>edge.node.id!==lineId);const subtotal=updatedLines.reduce((acc,edge)=>{const unit=parseFloat(edge.node.merchandise.price.amount||\"0\");return acc+unit*edge.node.quantity;},0);const currencyCode=cart.cost.subtotalAmount.currencyCode||(updatedLines[0]?.node.merchandise.price.currencyCode)||\"USD\";const updatedCart={...cart,lines:{...cart.lines,edges:updatedLines},cost:{...cart.cost,subtotalAmount:{amount:subtotal.toFixed(2),currencyCode},totalAmount:{amount:subtotal.toFixed(2),currencyCode}}};return updatedCart;};if(response.data.cart){return{...response,data:{...response.data,cart:updateCart(response.data.cart)}};}if(response.data.cartLinesRemove?.cart){return{...response,data:{...response.data,cartLinesRemove:{cart:updateCart(response.data.cartLinesRemove.cart)}}};}if(response.data.cartCreate?.cart){return{...response,data:{...response.data,cartCreate:{cart:updateCart(response.data.cartCreate.cart)}}};}return response;};queryClient.setQueryData(cartQueryKey,old=>applyOptimisticRemove(old||null));return{previousCart};},onError:(_err,_variables,context)=>{if(!context)return;const{previousCart}=context;if(previousCart){const cartQueryKey=[\"cart\",country];queryClient.setQueryData(cartQueryKey,previousCart);}},onSettled:()=>{const cartQueryKey=[\"cart\",country];queryClient.invalidateQueries({queryKey:cartQueryKey});}});return{updateQuantity:{mutate:updateQuantity.mutate,mutateAsync:updateQuantity.mutateAsync,isPending:updateQuantity.isPending,error:updateQuantity.error},removeLine:{mutate:removeLine.mutate,mutateAsync:removeLine.mutateAsync,isPending:removeLine.isPending,error:removeLine.error}};};/**\n * Utility hook that combines cart creation and management\n */export const useCart=()=>{const queryClient=useQueryClient();const{getMarket}=useMarketStore();const currentMarket=getMarket();const previousMarketRef=useRef();const{data:cartData,isLoading:isCreatingCart,error:cartError}=useCreateCart();const cart=cartData?.data?.cart||cartData?.data?.cartCreate?.cart||null;const cartId=cart?.id||getCartIdFromStorage();// Update cart buyer identity when market changes\nuseEffect(()=>{const updateCartMarket=async()=>{const currentCountry=currentMarket?.countryCode;const previousCountry=previousMarketRef.current;// Only update if:\n// 1. Market actually changed\n// 2. We have a cart ID\n// 3. Current country exists\nif(previousCountry&&currentCountry&&previousCountry!==currentCountry&&cartId){try{// Update the cart's buyer identity to change currency\nawait updateCartBuyerIdentity({cartId,countryCode:currentCountry});// Invalidate queries to refetch with new currency\nconst cartQueryKey=[\"cart\",currentCountry];queryClient.invalidateQueries({queryKey:cartQueryKey});}catch(error){console.error(\"[Cart] Failed to update cart market:\",error);}}previousMarketRef.current=currentCountry;};updateCartMarket();},[currentMarket?.countryCode,cartId,queryClient]);// Log for debugging - comprehensive error information\nif(!cartId&&!isCreatingCart&&cartError){console.error(\"[useCart] Cart initialization failed:\",cartError,\"Response data:\",cartData);}else if(!cartId&&!isCreatingCart&&!cartError){console.warn(\"[useCart] Cart ID is missing and loading finished, but no error. Response:\",cartData);}const{addToCart:addToCartMutate,addToCartAsync:addToCartAsyncFn,isAdding,error:addError}=useAddToCart();const{updateQuantity,removeLine}=useCartMutations();return{cart,cartId,isLoading:isCreatingCart,isAdding,error:cartError||addError,addToCart:(variantId,quantity=1)=>{if(!cartId){console.warn(\"[useCart] Cannot add to cart: cartId is not available.\",\"isLoading:\",isCreatingCart,\"error:\",cartError);return;}addToCartMutate({cartId,variantId,quantity});},addToCartAsync:(variantId,quantity=1)=>{if(!cartId){console.warn(\"[useCart] Cannot add to cart async: cartId is not available.\",\"isLoading:\",isCreatingCart,\"error:\",cartError);return Promise.reject(new Error(\"Cart ID not available. Please wait for cart to initialize.\"));}return addToCartAsyncFn({cartId,variantId,quantity});},updateQuantity:(lineId,quantity)=>{if(!cartId){console.warn(\"[useCart] Cannot update quantity: cartId is not available.\");return;}updateQuantity.mutate({cartId,lineId,quantity});},removeLine:lineId=>{if(!cartId){console.warn(\"[useCart] Cannot remove line: cartId is not available.\");return;}removeLine.mutate({cartId,lineId});}};};\nexport const __FramerMetadata__ = {\"exports\":{\"useGetCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CART_QUERY_KEYS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAddToCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCreateCart\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCartMutations\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Use_cart.map","import{shopifyClient}from\"https://framerusercontent.com/modules/c5gtsBimYk7u4sSXwOlt/CM2cTm98pCUipAHQyaQn/Shopify_client.js\";import{createProductGid}from\"https://framerusercontent.com/modules/tzN8qHzrVYThnxhKObeP/oWpbtfeZjvritjXviKiH/Shopify_utils.js\";export const getInventory=async productId=>{const productGid=createProductGid(productId);const getInventoryQuery=`#graphql\n    query getInventory($productId: ID!) {\n      product(id: $productId) {\n        variants(first: 100) {\n          edges {\n            node {\n              id\n\t\t\t\t\t\t\tquantityAvailable\n            }\n          }\n        }\n      }\n    }\n  `;const result=await shopifyClient({query:getInventoryQuery,variables:{productId:productGid}});return result;};\nexport const __FramerMetadata__ = {\"exports\":{\"InventoryResponse\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getInventory\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{useQuery}from\"https://framerusercontent.com/modules/EsOvuK0xi7z7RIQRkokm/bRiQrUY3yTYaOk3nVVOr/Tanstack_query.js\";import{getInventory}from\"https://framerusercontent.com/modules/sX6hfMwzhWlvBxIp2fG2/zy3Khr7KowmLBSa7UdGs/Inventory_service.js\";export const INVENTORY_QUERY_KEYS={all:[\"inventory\"],byId:productId=>[\"inventory\",productId]};export const useInventory=productId=>{const{data,isLoading,error}=useQuery({queryKey:INVENTORY_QUERY_KEYS.byId(productId),queryFn:()=>getInventory(productId),enabled:!!productId});return{data,isLoading,error};};\nexport const __FramerMetadata__ = {\"exports\":{\"INVENTORY_QUERY_KEYS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInventory\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","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\"}}}"],"mappings":"2iBAA+G,IAA0I,CAAa,EAAeA,IAAQ,EAAI,KAAO,CAAC,eAAe,IAAsB,CAAC,cAAc,KAAK,UAAU,GAAQ,CAAC,QAAQ,IAAI,oCAAoC,EAAO,CAAC,EAAI,CAAC,eAAe,EAAO,CAAC,CAErc,OAAO,qCAAyG,MAAM,CAAC,yBAAuB,CAAC,QAAQ,IAAI,2DAA2D,EAAO,YAAY,CAAwB,EAAoB,UAAU,CAAkB,qBAAqB,EAAO,YAAY,EAAG,CAAC,MAAM,GAAO,CAAC,QAAQ,MAAM,qDAAqD,EAAM,EAAG,EAAG,cAAsB,GAAK,CAAC,gBAAgB,GAAK,CAAC,cAAgB,iBAAiB,GAAQ,CAAC,EAAI,CAAC,cAAc,EAAO,CAAC,CAC7iB,GAAK,CAAC,gBAAgB,EAAI,CAAC,eAAe,EAAO,CAAC,EAAI,gBAAgB,CAAC,EAAI,CAAC,eAAe,KAAK,CAAC,EAAG,EAAE,8BCHe,IAA4J,CAAa,EAAe,KAAM,IAuD1S,MAAM,EAAc,CAAC,MAvD8V;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuD3U,UAAU,CAAC,OAvDsR,GAAsB,CAuDtR,GAAG,GAAS,CAAC,UAAQ,CAAC,CAAC,CAAC,CAA8B,EAAkB,KAAM,IAAS,CAyD7K,IAAM,EAAO,MAAM,EAAc,CAAC,MAzDkK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyD5I,UAAU,CAAC,GAAG,GAAS,CAAC,UAAQ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