{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/3P0nD8dEvL9kg8uPm8jL/hKPo65TmkIF7S2gpssRs/oeAB3R7XY.js", "ssg:https://framerusercontent.com/modules/pGMTUTHbRJQwcdmwPeZO/qMP7T2zybP2HVOhyJynb/Show.js"],
  "sourcesContent": ["// Generated by Framer (a9443c1)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,getLoadingLazyAtYPosition,Image,RichText,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Skeleton from\"https://framerusercontent.com/modules/wrEJ8oVMagKXTJJpuvZR/aCn6i9g6yo4ByshUBVvX/Skeleton.js\";import{withTruncate}from\"https://framerusercontent.com/modules/ZjDfM65HtumAZn8A62nG/A7T0G9fBrg7ymyC8d7Pv/TextTransform.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/SHCq0CufECmBwbkGZ3aP/PB4Dt4ESQWfCjtjw0L0V/D309YHljk.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/hMBEHH0lDhtejpZJX8oH/BicKcBjnttBOXaV1tVjP/GWz9Hi6EO.js\";import ButtonFill from\"https://framerusercontent.com/modules/uvDK6wsiSkmFuNYGDrkR/FWkB0WbbbQG1AF7jy4xT/UfsnGzIRl.js\";const SkeletonFonts=getFonts(Skeleton);const RichTextWithTruncateju6uep=withCodeBoundaryForOverrides(RichText,{nodeId:\"EyWfAbK2d\",override:withTruncate,scopeId:\"oeAB3R7XY\"});const ButtonFillFonts=getFonts(ButtonFill);const cycleOrder=[\"wC1sd5w2f\",\"x4O5YXF7S\"];const serializationHash=\"framer-0rkUP\";const variantClassNames={wC1sd5w2f:\"framer-v-phs27o\",x4O5YXF7S:\"framer-v-ntossn\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const isSet=value=>{if(Array.isArray(value))return value.length>0;return value!==undefined&&value!==null&&value!==\"\";};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Loading:\"x4O5YXF7S\",Primary:\"wC1sd5w2f\"};const getProps=({height,id,productImage,productName,productPrice,productQuantity,productRemove,productVariant,width,...props})=>{return{...props,bjbhv8XXP:productImage??props.bjbhv8XXP??{alt:\"\",pixelHeight:406,pixelWidth:330,src:\"https://framerusercontent.com/images/qghBDA6lRG8UgHY3UNGDL6wKXs.png\"},hSNLG5unC:productRemove??props.hSNLG5unC,IrTAwIM9P:productName??props.IrTAwIM9P??\"Product Name\",Pp61XoB6f:productQuantity??props.Pp61XoB6f??\"1\",variant:humanReadableVariantMap[props.variant]??props.variant??\"wC1sd5w2f\",xRMR0sWCx:productVariant??props.xRMR0sWCx,yFioAsz3Y:productPrice??props.yFioAsz3Y??\"$0\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,IrTAwIM9P,yFioAsz3Y,bjbhv8XXP,hSNLG5unC,Pp61XoB6f,xRMR0sWCx,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"wC1sd5w2f\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const umoPQtfUR299wng=activeVariantCallback(async(...args)=>{if(hSNLG5unC){const res=await hSNLG5unC(...args);if(res===false)return false;}});const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"x4O5YXF7S\")return true;return false;};const isDisplayed1=()=>{if(baseVariant===\"x4O5YXF7S\")return false;return true;};const visible=isSet(xRMR0sWCx);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-phs27o\",className,classNames),\"data-framer-name\":\"Primary\",layoutDependency:layoutDependency,layoutId:\"wC1sd5w2f\",ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",...style},...addPropertyOverrides({x4O5YXF7S:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1qvewtl-container\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"xDIsLGrrk-container\",nodeId:\"xDIsLGrrk\",rendersWithMotion:true,scopeId:\"oeAB3R7XY\",children:/*#__PURE__*/_jsx(Skeleton,{height:\"100%\",id:\"xDIsLGrrk\",layoutId:\"xDIsLGrrk\",width:\"100%\"})})}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-hfho62\",\"data-framer-name\":\"Img Content\",layoutDependency:layoutDependency,layoutId:\"DK82iv6Va\",style:{backgroundColor:\"var(--token-dba7c88f-2902-4d31-a55c-43f7e13b6f0f, rgb(240, 240, 240))\",borderBottomLeftRadius:6,borderBottomRightRadius:6,borderTopLeftRadius:6,borderTopRightRadius:6},children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(10+((componentViewport?.height||108)-20-88)/2)+0),pixelHeight:406,pixelWidth:330,sizes:\"114px\",...toResponsiveImage(bjbhv8XXP)},className:\"framer-kdse1e\",\"data-framer-name\":\"img\",layoutDependency:layoutDependency,layoutId:\"aetFi8dWg\"})}),isDisplayed1()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-kvswar\",layoutDependency:layoutDependency,layoutId:\"d1SU9m7JY\",children:[/*#__PURE__*/_jsx(RichTextWithTruncateju6uep,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-ggyy1t\",\"data-styles-preset\":\"D309YHljk\",children:\"Nike Men\u2019s Joyride Run Flyknit Shoes\"})}),className:\"framer-ju6uep\",\"data-framer-name\":\"title\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"EyWfAbK2d\",style:{\"--framer-paragraph-spacing\":\"0px\"},text:IrTAwIM9P,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1vdci8h\",layoutDependency:layoutDependency,layoutId:\"RGMs4equA\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-qw64rf\",\"data-styles-preset\":\"GWz9Hi6EO\",children:\"1\"})}),className:\"framer-xycgf1\",\"data-framer-name\":\"quantity\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"pQ8ES8Fh9\",style:{\"--framer-paragraph-spacing\":\"0px\"},text:Pp61XoB6f,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-qw64rf\",\"data-styles-preset\":\"GWz9Hi6EO\",children:\"x\"})}),className:\"framer-1gkxwty\",\"data-framer-name\":\"x\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"wSC3tBMWC\",style:{\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-qw64rf\",\"data-styles-preset\":\"GWz9Hi6EO\",children:\"$66.00\"})}),className:\"framer-1h3pwvb\",\"data-framer-name\":\"price\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"aLqLRItpx\",style:{\"--framer-paragraph-spacing\":\"0px\"},text:yFioAsz3Y,verticalAlignment:\"top\",withExternalLayout:true})]}),visible&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-qw64rf\",\"data-styles-preset\":\"GWz9Hi6EO\",children:\"x\"})}),className:\"framer-1639ui2\",\"data-framer-name\":\"variant\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"YWBUB3jws\",style:{\"--framer-paragraph-spacing\":\"0px\"},text:xRMR0sWCx,verticalAlignment:\"top\",withExternalLayout:true})]}),isDisplayed1()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:26,width:\"26px\",y:(componentViewport?.y||0)+-5,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1v6gvxq-container\",layoutDependency:layoutDependency,layoutId:\"PIwIMFANS-container\",nodeId:\"PIwIMFANS\",rendersWithMotion:true,scopeId:\"oeAB3R7XY\",children:/*#__PURE__*/_jsx(ButtonFill,{ciYA8z9sq:\"100px\",height:\"100%\",Ib5NOdRzj:\"\",id:\"PIwIMFANS\",K2kXRy0i5:\"Trash\",layoutId:\"PIwIMFANS\",qwETbrwWM:\"fill\",Rm6FkTkB9:\"OiVHN4v4r\",style:{height:\"100%\",width:\"100%\"},umoPQtfUR:umoPQtfUR299wng,variant:\"Hvd2ukWev\",width:\"100%\"})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-0rkUP.framer-1xlf9nw, .framer-0rkUP .framer-1xlf9nw { display: block; }\",\".framer-0rkUP.framer-phs27o { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; min-height: 108px; padding: 10px 20px 10px 20px; position: relative; width: 352px; }\",\".framer-0rkUP .framer-1qvewtl-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-0rkUP .framer-hfho62 { flex: none; height: 88px; position: relative; width: 114px; }\",\".framer-0rkUP .framer-kdse1e { flex: none; height: 100%; left: calc(50.00000000000002% - 100% / 2); position: absolute; top: calc(50.00000000000002% - 100% / 2); width: 100%; }\",\".framer-0rkUP .framer-kvswar { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 1px; }\",\".framer-0rkUP .framer-ju6uep { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-0rkUP .framer-1vdci8h { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-0rkUP .framer-xycgf1, .framer-0rkUP .framer-1gkxwty, .framer-0rkUP .framer-1h3pwvb, .framer-0rkUP .framer-1639ui2 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-0rkUP .framer-1v6gvxq-container { flex: none; height: 26px; position: absolute; right: -5px; top: -5px; width: 26px; z-index: 1; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 108\n * @framerIntrinsicWidth 352\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,null,\"108px\",null]},\"x4O5YXF7S\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,null,\"108px\",null]}}}\n * @framerVariables {\"IrTAwIM9P\":\"productName\",\"yFioAsz3Y\":\"productPrice\",\"bjbhv8XXP\":\"productImage\",\"hSNLG5unC\":\"productRemove\",\"Pp61XoB6f\":\"productQuantity\",\"xRMR0sWCx\":\"productVariant\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FrameroeAB3R7XY=withCSS(Component,css,\"framer-0rkUP\");export default FrameroeAB3R7XY;FrameroeAB3R7XY.displayName=\"Product Cart\";FrameroeAB3R7XY.defaultProps={height:108,width:352};addPropertyControls(FrameroeAB3R7XY,{variant:{options:[\"wC1sd5w2f\",\"x4O5YXF7S\"],optionTitles:[\"Primary\",\"Loading\"],title:\"Variant\",type:ControlType.Enum},IrTAwIM9P:{defaultValue:\"Product Name\",displayTextArea:false,title:\"productName\",type:ControlType.String},yFioAsz3Y:{defaultValue:\"$0\",description:\"\",displayTextArea:false,placeholder:\"\",title:\"productPrice\",type:ControlType.String},bjbhv8XXP:{__defaultAssetReference:\"data:framer/asset-reference,qghBDA6lRG8UgHY3UNGDL6wKXs.png?originalFilename=No-Image-Placeholder.png&preferredSize=auto\",__vekterDefault:{alt:\"\",assetReference:\"data:framer/asset-reference,qghBDA6lRG8UgHY3UNGDL6wKXs.png?originalFilename=No-Image-Placeholder.png&preferredSize=auto\"},title:\"productImage\",type:ControlType.ResponsiveImage},hSNLG5unC:{title:\"productRemove\",type:ControlType.EventHandler},Pp61XoB6f:{defaultValue:\"1\",displayTextArea:false,title:\"productQuantity\",type:ControlType.String},xRMR0sWCx:{defaultValue:\"\",displayTextArea:false,title:\"productVariant\",type:ControlType.String}});addFonts(FrameroeAB3R7XY,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...SkeletonFonts,...ButtonFillFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameroeAB3R7XY\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"IrTAwIM9P\\\":\\\"productName\\\",\\\"yFioAsz3Y\\\":\\\"productPrice\\\",\\\"bjbhv8XXP\\\":\\\"productImage\\\",\\\"hSNLG5unC\\\":\\\"productRemove\\\",\\\"Pp61XoB6f\\\":\\\"productQuantity\\\",\\\"xRMR0sWCx\\\":\\\"productVariant\\\"}\",\"framerIntrinsicHeight\":\"108\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"352\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,null,\\\"108px\\\",null]},\\\"x4O5YXF7S\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,null,\\\"108px\\\",null]}}}\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./oeAB3R7XY.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{toast}from\"sonner\";import{fetchData}from\"https://framerusercontent.com/modules/isEeIcye7ChOHOrloOwT/4U78RHslPagdPHW3urx7/Fetch.js\";import{formatCurrency}from\"https://framerusercontent.com/modules/a2JP9R6AiIxejljNSpF9/f5d8iRTLzMpWM2Fhqoof/Helper.js\";import{useEffect,useState}from\"react\";import{useCart,useAddress,useLoading,removeProductFromCart}from\"https://framerusercontent.com/modules/p12pUA3qWoexEzDLFD9n/5Kq40zXf8utz64Vh2EDS/Store.js\";// Components\nimport ProductCart from\"https://framerusercontent.com/modules/3P0nD8dEvL9kg8uPm8jL/hKPo65TmkIF7S2gpssRs/oeAB3R7XY.js\";export const initComponent=Component=>{return props=>{const[cart,setCart]=useCart();const[productCount,setProductCount]=useState(\"\");useEffect(()=>{let total=0;let subTotal=0;cart.items.forEach(item=>{subTotal+=item.price;});setProductCount(cart.items.length?`${cart.items.length}`:\"My Cart\");setCart({subTotal:subTotal,total:subTotal});},[cart.items]);return /*#__PURE__*/_jsx(Component,{...props,text:productCount});};};export const productsList=Component=>{return props=>{const[cart,setCart]=useCart();const removeProduct=productId=>{setCart({items:removeProductFromCart(productId,cart.items)});};return /*#__PURE__*/_jsx(Component,{...props,children:cart.items.map(product=>/*#__PURE__*/_jsx(ProductCart,{variant:\"Primary\",productName:product.name.trim(),productPrice:formatCurrency(product.price),productImage:product.image,productQuantity:product.quantity,productVariant:product.variant?product.variant.variant:undefined,productRemove:()=>removeProduct(product.id),style:{width:\"100%\"}},`product_cart_${product.id}`))});};};export const setTextCurrency=Component=>{return props=>{const[cart]=useCart();const value=cart[props[\"data-framer-name\"]];return /*#__PURE__*/_jsx(Component,{...props,text:`${formatCurrency(value)}`});};};export const setIsNotEmpty=Component=>{return props=>{const[cart]=useCart();if(cart.items.length==0)return null;return /*#__PURE__*/_jsx(Component,{...props});};};export const setIsEmpty=Component=>{return props=>{const[cart]=useCart();if(cart.items.length>0)return null;return /*#__PURE__*/_jsx(Component,{...props});};};export const generateOrder=Component=>{return props=>{const[cart,setCart]=useCart();const[address,setAddress]=useAddress();const[loading,setLoading]=useLoading();const handleOrder=async()=>{if(!address){toast.error(\"Address information is missing.\");return;}const requiredFields=[\"billingFirstName\",\"billingLastName\",\"billingEmail\",\"billingPhone\",\"billingAddress1\",\"billingCity\",\"billingPostalCode\"];const isFormValid=requiredFields.every(field=>address[field]?.trim()!==\"\");if(!isFormValid){toast.error(\"Complete all required fields.\");return;}const payload={products:cart.items,billingInfo:{billingFirstName:address.billingFirstName,billingLastName:address.billingLastName,billingEmail:address.billingEmail,billingPhone:address.billingPhone,billingAddress1:address.billingAddress1,billingAddress2:address.billingAddress2,billingCity:address.billingCity,billingState:address.billingState,billingPostalCode:address.billingPostalCode,billingCountry:address.billingCountry,billingCompany:address.billingCompany},shippingInfo:{shippingFirstName:address.shippingFirstName,shippingLastName:address.shippingLastName,shippingEmail:address.shippingEmail,shippingPhone:address.shippingPhone,shippingAddress1:address.shippingAddress1,shippingAddress2:address.shippingAddress2,shippingCity:address.shippingCity,shippingState:address.shippingState,shippingPostalCode:address.shippingPostalCode,shippingCountry:address.shippingCountry,shippingCompany:address.shippingCompany},notes:address.notes};try{setLoading({isLoadingCheckout:true});const response=await fetchData(`/web/orders/place-order/external`,{method:\"POST\",body:payload});if(response?.code===201){toast.success(\"Order Sent Successfully\");setCart({items:[]});window.location.href=\"/thank-you\";}else{toast.error(\"Order Not Sent\");}}catch(error){console.error(\"Order submission error:\",error);toast.error(\"An error occurred while submitting the order.\");}finally{setLoading({isLoadingCheckout:false});}};if(loading.isLoadingCheckout)return /*#__PURE__*/_jsx(Component,{...props,variant:\"L / Primary - Disabled\"});return /*#__PURE__*/_jsx(Component,{...props,onClick:handleOrder});};};\nexport const __FramerMetadata__ = {\"exports\":{\"initComponent\":{\"type\":\"reactHoc\",\"name\":\"initComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setIsNotEmpty\":{\"type\":\"reactHoc\",\"name\":\"setIsNotEmpty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setTextCurrency\":{\"type\":\"reactHoc\",\"name\":\"setTextCurrency\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setIsEmpty\":{\"type\":\"reactHoc\",\"name\":\"setIsEmpty\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"productsList\":{\"type\":\"reactHoc\",\"name\":\"productsList\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"generateOrder\":{\"type\":\"reactHoc\",\"name\":\"generateOrder\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "4oBACyjC,IAAMA,GAAcC,EAASC,CAAQ,EAAQC,GAA2BC,EAA6BC,EAAS,CAAC,OAAO,YAAY,SAASC,GAAa,QAAQ,WAAW,CAAC,EAAQC,GAAgBN,EAASO,CAAU,EAAQC,GAAW,CAAC,YAAY,WAAW,EAAQC,GAAkB,eAAqBC,GAAkB,CAAC,UAAU,kBAAkB,UAAU,iBAAiB,EAAE,SAASC,GAAqBC,KAAaC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAE,OAAAD,GAAU,QAAQE,GAASA,GAAS,OAAO,OAAOD,EAAcF,EAAUG,CAAO,CAAC,CAAC,EAASD,CAAc,CAAC,IAAME,GAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQC,GAAkBC,GAAW,OAAOA,GAAQ,UAAUA,IAAQ,MAAM,OAAOA,EAAM,KAAM,SAAiBA,EAAc,OAAOA,GAAQ,SAAS,CAAC,IAAIA,CAAK,EAAE,OAAkBC,GAAMD,GAAW,MAAM,QAAQA,CAAK,EAASA,EAAM,OAAO,EAA4BA,GAAQ,MAAMA,IAAQ,GAAWE,GAAW,CAAC,CAAC,MAAAF,EAAM,SAAAG,CAAQ,IAAI,CAAC,IAAMC,EAAaC,EAAWC,CAAmB,EAAQC,EAA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gB,gBAAgBA,EAAQ,eAAe,EAAE,MAAMA,EAAQ,KAAK,EAAE,GAAG,CAACI,EAAW,CAAC,kBAAkB,EAAI,CAAC,GAAiB,MAAMM,GAAU,mCAAmC,CAAC,OAAO,OAAO,KAAKD,CAAO,CAAC,IAAe,OAAO,KAAKF,EAAM,QAAQ,yBAAyB,EAAE7B,EAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAEiC,EAAO,SAAS,KAAK,cAAmBJ,EAAM,MAAM,gBAAgB,CAAG,OAAOK,EAAM,CAAC,QAAQ,MAAM,0BAA0BA,CAAK,EAAEL,EAAM,MAAM,+CAA+C,CAAE,QAAC,CAAQH,EAAW,CAAC,kBAAkB,EAAK,CAAC,CAAE,CAAC,EAAE,OAAGD,EAAQ,kBAAsChB,EAAKZ,EAAU,CAAC,GAAGC,EAAM,QAAQ,wBAAwB,CAAC,EAAsBW,EAAKZ,EAAU,CAAC,GAAGC,EAAM,QAAQ8B,CAAW,CAAC,CAAE",
  "names": ["SkeletonFonts", "getFonts", "Skeleton", "RichTextWithTruncateju6uep", "withCodeBoundaryForOverrides", "RichText", "withTruncate", "ButtonFillFonts", "UfsnGzIRl_default", "cycleOrder", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "transition1", "toResponsiveImage", "value", "isSet", "Transition", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "motion", "x", "humanReadableVariantMap", "getProps", "height", "id", "productImage", "productName", "productPrice", "productQuantity", "productRemove", "productVariant", "width", "props", "createLayoutDependency", "Component", "Y", "ref", "fallbackRef", "pe", "refBinding", "defaultLayoutId", "ae", "activeLocale", "setLocale", "useLocaleInfo", "componentViewport", "useComponentViewport", "style", "className", "layoutId", "IrTAwIM9P", "yFioAsz3Y", "bjbhv8XXP", "hSNLG5unC", "Pp61XoB6f", "xRMR0sWCx", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "activeVariantCallback", "delay", "useActiveVariantCallback", "umoPQtfUR299wng", "args", "scopingClassNames", "cx", "isDisplayed", "isDisplayed1", "visible", "LayoutGroup", "u", "ComponentViewportProvider", "SmartComponentScopedContainer", "Image2", "getLoadingLazyAtYPosition", "css", "FrameroeAB3R7XY", "withCSS", "oeAB3R7XY_default", "addPropertyControls", "ControlType", "addFonts", "getFontsFromSharedStyle", "fonts", "initComponent", "Component", "props", "cart", "setCart", "useCart", "productCount", "setProductCount", "ye", "ue", "total", "subTotal", "item", "p", "productsList", "removeProduct", "productId", "removeProductFromCart", "product", "oeAB3R7XY_default", "formatCurrency", "setTextCurrency", "value", "setIsNotEmpty", "setIsEmpty", "generateOrder", "address", "setAddress", "useAddress", "loading", "setLoading", "useLoading", "handleOrder", "u", "field", "payload", "fetchData", "window", "error"]
}
