{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/UGA9L3AHjilsXHVJhwyT/Cart.js", "ssg:https://framerusercontent.com/modules/1kPVCHEEg0BrtObiM14s/xNKFRgtuwKHtOHN5lF5R/Frameship.js"],
  "sourcesContent": ["import create from\"zustand\";import{persist}from\"zustand/middleware\";import{useState,useEffect}from\"react\";import{parseShopifyData}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/0LoogzhD5NepnGDaL2Il/Shared.js\";const CART_ID_STORAGE_ID=\"frameship-shopify-cart-id\";async function fetchShopifyData(query,variables={}){const{shopUrl,accessToken}=getFrameshipInfo();if(!shopUrl||!accessToken){console.log(\"Missing shop URL or access token\");return null;}try{const response=await fetch(`https://${shopUrl}/api/2024-10/graphql.json`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":accessToken},body:JSON.stringify({query,variables})});const value=await response.json();return value?value.data:null;}catch(error){console.error(error);return null;}}// Add this shared fragment for cart fields\nconst CART_FRAGMENT=`\n  fragment CartFields on Cart {\n    id\n    checkoutUrl\n    cost {\n      subtotalAmount {\n        amount\n        currencyCode\n      }\n    }\n    lines(first: 10) {\n      edges {\n        node {\n          id\n          quantity\n          cost {\n            subtotalAmount {\n              amount\n              currencyCode\n            }\n            compareAtAmountPerQuantity {\n              amount\n              currencyCode\n            }\n          }\n          merchandise {\n            ... on ProductVariant {\n              id\n              title\n              price {\n                amount\n                currencyCode\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n`;export const useCartStore=create(persist((set,get)=>({cartId:null,items:[],loading:false,error:null,checkoutUrl:null,subtotal:null,initializeCart:async(createNewCart=false)=>{if(get().items.length>0){return;}set({loading:true});try{const cartId=get().cartId;if(cartId){const cart=await fetchCart(cartId);set({items:cart.lines.edges.map(edge=>edge.node),checkoutUrl:cart.checkoutUrl,subtotal:cart.cost.subtotalAmount,loading:false});}else if(createNewCart){const newCart=await createCart();set({cartId:newCart.id,items:[],checkoutUrl:newCart.checkoutUrl,subtotal:newCart.cost.subtotalAmount,loading:false});}}catch(error){set({error:error.message,loading:false});}},addToCart:async(variantId,quantity)=>{set({loading:true});try{// Initialize cart if needed\n    if(!get().cartId){await get().initializeCart(true);}const cartId=get().cartId;const updatedCart=await addToCart(cartId,variantId,quantity);set({items:updatedCart.lines.edges.map(edge=>edge.node),subtotal:updatedCart.cost.subtotalAmount,loading:false});}catch(error){set({error:error.message,loading:false});}},removeFromCart:async lineId=>{set({loading:true});try{const cartId=get().cartId;const updatedCart=await removeFromCart(cartId,lineId);set({items:updatedCart.lines.edges.map(edge=>edge.node),subtotal:updatedCart.cost.subtotalAmount,loading:false});}catch(error){set({error:error.message,loading:false});}},setCartItemQuantity:async(lineId,quantity)=>{set({loading:true});try{const cartId=get().cartId;const updatedCart=await updateCartLineQuantity(cartId,lineId,quantity);set({items:updatedCart.lines.edges.map(edge=>edge.node),subtotal:updatedCart.cost.subtotalAmount,loading:false});}catch(error){set({error:error.message,loading:false});}},getCheckoutUrl:()=>{return get().checkoutUrl||\"\";},clearError:()=>set({error:null})}),{name:CART_ID_STORAGE_ID,partialize:state=>({cartId:state.cartId})}));async function createCart(){const mutation=`\n    ${CART_FRAGMENT}\n    mutation {\n      cartCreate {\n        cart {\n          ...CartFields\n        }\n      }\n    }\n  `;const data=await fetchShopifyData(mutation);return data?data.cartCreate.cart:null;}async function fetchCart(cartId){const query=`\n    ${CART_FRAGMENT}\n    query($cartId: ID!) {\n      cart(id: $cartId) {\n        ...CartFields\n      }\n    }\n  `;const variables={cartId};const data=await fetchShopifyData(query,variables);return data?data.cart:null;}async function addToCart(cartId,variantId,quantity){const mutation=`\n    ${CART_FRAGMENT}\n    mutation($cartId: ID!, $lines: [CartLineInput!]!) {\n      cartLinesAdd(cartId: $cartId, lines: $lines) {\n        cart {\n          ...CartFields\n        }\n        userErrors {\n          field\n          message\n        }\n      }\n    }\n  `;const variables={cartId,lines:[{quantity:quantity,merchandiseId:variantId}]};try{const data=await fetchShopifyData(mutation,variables);if(data&&data.cartLinesAdd.userErrors.length>0){const cartNotFoundError=data.cartLinesAdd.userErrors.find(e=>e.message===\"The specified cart does not exist.\");if(cartNotFoundError){// Create new cart and retry adding the item\nconst newCart=await createCart();const retryVariables={cartId:newCart.id,lines:[{quantity:quantity,merchandiseId:variantId}]};const retryData=await fetchShopifyData(mutation,retryVariables);if(retryData&&retryData.cartLinesAdd.userErrors.length>0){throw new Error(retryData.cartLinesAdd.userErrors.map(e=>e.message).join(\", \"));}return retryData.cartLinesAdd.cart;}throw new Error(data.cartLinesAdd.userErrors.map(e=>e.message).join(\", \"));}return data?data.cartLinesAdd.cart:null;}catch(error){throw error;}}async function removeFromCart(cartId,lineId){const mutation=`\n    ${CART_FRAGMENT}\n    mutation($cartId: ID!, $lineIds: [ID!]!) {\n      cartLinesRemove(cartId: $cartId, lineIds: $lineIds) {\n        cart {\n          ...CartFields\n        }\n      }\n    }\n  `;const variables={cartId,lineIds:[lineId]};const data=await fetchShopifyData(mutation,variables);return data?data.cartLinesRemove.cart:null;}export async function getAmountInStock(productId){const query=`\n\t\tquery getInventory($id: ID!) {\n\t\t\tproduct(id: $id) {\n\t\t\t\tvariants(first: 100) {\n\t\t\t\t\tedges {\n\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tquantityAvailable\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t`;const variables={id:productId};try{const data=await fetchShopifyData(query,variables);const inventoryByVariant={};if(data){for(const edge of data.product.variants.edges){inventoryByVariant[edge.node.id]=edge.node.quantityAvailable;}}return inventoryByVariant;}catch(error){console.error(\"Error fetching inventory:\",error);throw error;}}export function useAmountInStock(shopifyData){const{shopifyId}=parseShopifyData(shopifyData);const[inventory,setInventory]=useState({});const[isLoading,setIsLoading]=useState(true);useEffect(()=>{setIsLoading(true);getAmountInStock(shopifyId).then(value=>{setInventory(value);setIsLoading(false);});},[shopifyId]);return[inventory,isLoading];}async function updateCartLineQuantity(cartId,lineId,quantity){const mutation=`\n    ${CART_FRAGMENT}\n    mutation($cartId: ID!, $lines: [CartLineUpdateInput!]!) {\n      cartLinesUpdate(cartId: $cartId, lines: $lines) {\n        cart {\n          ...CartFields\n        }\n        userErrors {\n          field\n          message\n        }\n      }\n    }\n  `;const variables={cartId,lines:[{id:lineId,quantity:quantity}]};const data=await fetchShopifyData(mutation,variables);if(data&&data.cartLinesUpdate.userErrors.length>0){throw new Error(data.cartLinesUpdate.userErrors.map(e=>e.message).join(\", \"));}return data?data.cartLinesUpdate.cart:null;}export async function generateBuyNowCheckoutUrl(variantId,quantity=1){const mutation=`\n\t\tmutation($input: CartInput!) {\n\t\t\tcartCreate(input: $input) {\n\t\t\t\tcart {\n\t\t\t\t\tcheckoutUrl\n\t\t\t\t}\n\t\t\t\tuserErrors {\n\t\t\t\t\tfield\n\t\t\t\t\tmessage\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t`;const variables={input:{lines:[{quantity:quantity,merchandiseId:variantId}]}};try{const data=await fetchShopifyData(mutation,variables);if(data&&data.cartCreate.userErrors.length>0){throw new Error(data.cartCreate.userErrors.map(e=>e.message).join(\", \"));}return data?data.cartCreate.cart.checkoutUrl:null;}catch(error){console.error(\"Error creating buy now cart:\",error);throw error;}}export function getFrameshipInfo(){let shopUrl=\"\";let accessToken=\"\";let stagingDomain=\"\";let productionDomain=\"\";let hasAccess=false;if(typeof document!==\"undefined\"&&typeof window!==\"undefined\"){const hostname=window.location.hostname;const isPreview=hostname.endsWith(\".framercanvas.com\");if(isPreview){hasAccess=true;}const frameshipComponent=document.querySelector(\"div[data-frameship-component]\");if(frameshipComponent){const{stagingDomain:newStagingDomain,productionDomain:newProductionDomain,hasAccess:newHasAccess}=parseFrameshipInfo(frameshipComponent.getAttribute(\"data-staging-domain\"),frameshipComponent.getAttribute(\"data-production-domain\"));if(newHasAccess){shopUrl=frameshipComponent.getAttribute(\"data-shop-url\")||\"\";accessToken=frameshipComponent.getAttribute(\"data-shopify-access-token\")||\"\";stagingDomain=newStagingDomain;productionDomain=newProductionDomain;hasAccess=true;}}}else{hasAccess=true// Show as having access in optimized version of site\n;}return{shopUrl,accessToken,stagingDomain,productionDomain,hasAccess};}export function parseFrameshipInfo(stagingDomain,productionDomain){if(typeof document===\"undefined\"||typeof window===\"undefined\"){return{stagingDomain:\"\",productionDomain:\"\",hasAccess:true};}const hostname=window.location.hostname;const isPreview=hostname.endsWith(\".framercanvas.com\");const stagingDomainValue=(stagingDomain||\"\").replace(\"https://\",\"\");const productionDomainValue=(productionDomain||\"\").replace(\"https://\",\"\");if(isPreview||hostname==stagingDomainValue||hostname==productionDomainValue){return{stagingDomain:stagingDomainValue,productionDomain:productionDomainValue,hasAccess:true};}else{return{stagingDomain:\"\",productionDomain:\"\",hasAccess:false};}}\nexport const __FramerMetadata__ = {\"exports\":{\"generateBuyNowCheckoutUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCartStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAmountInStock\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getAmountInStock\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFrameshipInfo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseFrameshipInfo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{createPortal}from\"react-dom\";import{useEffect,useState}from\"react\";import{parseFrameshipInfo,useCartStore}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/UGA9L3AHjilsXHVJhwyT/Cart.js\";import{UPGRADE_LINK}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/0LoogzhD5NepnGDaL2Il/Shared.js\";import FrameshipUpgradeBanner from\"https://framerusercontent.com/modules/b6p2QQlcwhhLAA5Operm/q9t93k88yG1i00iu3f0n/LOQtD1uPa.js\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function Frameship(props){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[portalContainer,setPortalContainer]=useState(null);const initializeCart=useCartStore(state=>state.initializeCart);useEffect(()=>{initializeCart===null||initializeCart===void 0?void 0:initializeCart();},[]);const attributes={};if(props.shopUrl){attributes[\"data-shop-url\"]=props.shopUrl;}if(props.shopifyAccessToken){attributes[\"data-shopify-access-token\"]=props.shopifyAccessToken;}if(props.projectId){attributes[\"data-project-id\"]=props.projectId;}if(props.productionDomain){attributes[\"data-production-domain\"]=props.productionDomain;}if(props.stagingDomain){attributes[\"data-staging-domain\"]=props.stagingDomain;}const{hasAccess}=parseFrameshipInfo(props.stagingDomain,props.productionDomain);useEffect(()=>{if(!isCanvas){const container=document.createElement(\"div\");document.body.appendChild(container);setPortalContainer(container);return()=>{document.body.removeChild(container);};}},[]);return /*#__PURE__*/_jsx(\"div\",{\"data-frameship-component\":true,...attributes,children:!isCanvas&&portalContainer&&!hasAccess&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(\"div\",{\"data-hello\":true,style:{position:\"fixed\",left:20,bottom:20},children:/*#__PURE__*/_jsx(FrameshipUpgradeBanner,{link:UPGRADE_LINK})}),portalContainer)});}Frameship.displayName=\"Frameship (Shopify)\";addPropertyControls(Frameship,{shopUrl:{type:ControlType.String,title:\"Shop URL\",preventLocalization:true,hidden:()=>true},shopifyAccessToken:{type:ControlType.String,preventLocalization:true,hidden:()=>true},projectId:{type:ControlType.String,preventLocalization:true,hidden:()=>true},productionDomain:{type:ControlType.String,preventLocalization:true,hidden:()=>true},stagingDomain:{type:ControlType.String,preventLocalization:true,hidden:()=>true},note:{type:ControlType.Enum,options:[\"IMPORTANT\"],displaySegmentedControl:true,description:\"*Do not delete this component.*\\n\\nThis component is managed by the [Frameship plugin](https://www.framer.com/marketplace/plugins/frameship--5sty6o8n22smpbcb4oypsggk6/)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Frameship\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "gSAAkO,IAAMA,EAAmB,4BAA4B,eAAeC,EAAiBC,EAAMC,EAAU,CAAC,EAAE,CAAC,GAAK,CAAC,QAAAC,EAAQ,YAAAC,CAAW,EAAEC,EAAiB,EAAE,GAAG,CAACF,GAAS,CAACC,EAAa,eAAQ,IAAI,kCAAkC,EAAS,KAAM,GAAG,CAA8N,IAAME,EAAM,MAA1N,MAAM,MAAM,WAAWH,CAAO,4BAA4B,CAAC,OAAO,OAAO,QAAQ,CAAC,eAAe,mBAAmB,oCAAoCC,CAAW,EAAE,KAAK,KAAK,UAAU,CAAC,MAAAH,EAAM,UAAAC,CAAS,CAAC,CAAC,CAAC,GAA6B,KAAK,EAAE,OAAOI,EAAMA,EAAM,KAAK,IAAK,OAAOC,EAAM,CAAC,eAAQ,MAAMA,CAAK,EAAS,IAAK,CAAC,CACjyB,IAAMC,EAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuCLC,EAAaC,EAAOC,EAAQ,CAACC,EAAIC,KAAO,CAAC,OAAO,KAAK,MAAM,CAAC,EAAE,QAAQ,GAAM,MAA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AAE,EAAE,SAAsBA,EAAKE,EAAuB,CAAC,KAAKC,CAAY,CAAC,CAAC,CAAC,EAAEd,CAAe,CAAC,CAAC,CAAE,CAACJ,EAAU,YAAY,sBAAsBmB,EAAoBnB,EAAU,CAAC,QAAQ,CAAC,KAAKoB,EAAY,OAAO,MAAM,WAAW,oBAAoB,GAAK,OAAO,IAAI,EAAI,EAAE,mBAAmB,CAAC,KAAKA,EAAY,OAAO,oBAAoB,GAAK,OAAO,IAAI,EAAI,EAAE,UAAU,CAAC,KAAKA,EAAY,OAAO,oBAAoB,GAAK,OAAO,IAAI,EAAI,EAAE,iBAAiB,CAAC,KAAKA,EAAY,OAAO,oBAAoB,GAAK,OAAO,IAAI,EAAI,EAAE,cAAc,CAAC,KAAKA,EAAY,OAAO,oBAAoB,GAAK,OAAO,IAAI,EAAI,EAAE,KAAK,CAAC,KAAKA,EAAY,KAAK,QAAQ,CAAC,WAAW,EAAE,wBAAwB,GAAK,YAAY;AAAA;AAAA,sIAA0K,CAAC,CAAC",
  "names": ["CART_ID_STORAGE_ID", "fetchShopifyData", "query", "variables", "shopUrl", "accessToken", "getFrameshipInfo", "value", "error", "CART_FRAGMENT", "useCartStore", "create", "persist", "set", "get", "createNewCart", "cartId", "cart", "fetchCart", "edge", "newCart", "createCart", "variantId", "quantity", "updatedCart", "addToCart", "lineId", "removeFromCart", "updateCartLineQuantity", "state", "mutation", "data", "e", "retryVariables", "retryData", "updateCartLineQuantity", "cartId", "lineId", "quantity", "mutation", "CART_FRAGMENT", "data", "fetchShopifyData", "e", "getFrameshipInfo", "shopUrl", "accessToken", "stagingDomain", "productionDomain", "hasAccess", "window", "frameshipComponent", "newStagingDomain", "newProductionDomain", "newHasAccess", "parseFrameshipInfo", "hostname", "isPreview", "stagingDomainValue", "productionDomainValue", "Frameship", "props", "isCanvas", "RenderTarget", "portalContainer", "setPortalContainer", "ye", "initializeCart", "useCartStore", "state", "ue", "attributes", "hasAccess", "parseFrameshipInfo", "container", "p", "Ga", "LOQtD1uPa_default", "UPGRADE_LINK", "addPropertyControls", "ControlType"]
}
