{"version":3,"file":"AddToCart.2kVOrR_D.mjs","names":["React.forwardRef","resolveSlot","useIsDesignTime","useProductData","useCart","useQuantity","useBundle","useState","useRef","useButtonStates","_Fragment","SLOT_RESET","BUTTON_TRANSITION","VISUALLY_HIDDEN","productSourceControls","buttonStateControls"],"sources":["https:/framerusercontent.com/modules/gPdSdZg1B6dNXfiAroOl/hmMcvABMALgaqYRs09cP/S9MoGdgHH.js","https:/framerusercontent.com/modules/uCIgJEt4XF9lXffYRqIN/D7Pk8O1CWjPaWLB74MP0/AddToCart.js"],"sourcesContent":["// Generated by Framer (fb30b49)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const qxTvv_EBh=undefined;const ezTt3ayMo=undefined;const lschgej4H=undefined;const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 7.5 15 L 0 7.5 L 7.5 0 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"15px\" id=\"mhLOETJhO\" transform=\"translate(7.5 4.5)\" width=\"7.5px\"/><path d=\"M 7.5 15 L 0 7.5 L 7.5 0\" fill=\"transparent\" height=\"15px\" id=\"IuLhDW_8t\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(7.5 4.5)\" width=\"7.5px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"1587731742\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-vZRSG\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-vZRSG { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Caret Left\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-vZRSG\");Icon.displayName=\"Caret Left\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerDisableUnlink\":\"true\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Caret Left\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// AddToCart - Commerce Connect\n// Paste into Framer: Code -> Create Code Component...\n// Runtime: https://esm.sh/@commerce-connect/framer@0.14.0?external=react\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,useState}from\"react\";import{BUTTON_TRANSITION,buttonStateControls,productSourceControls,resolveSlot,setRenderTarget,SLOT_RESET,useBundle,useButtonStates,useCart,useIsDesignTime,useProductData,useQuantity,VISUALLY_HIDDEN}from\"https://esm.sh/@commerce-connect/framer@0.14.0?external=react\";// `RenderTarget` solo existe dentro del editor: el paquete `framer` de npm es solo\n// tipos, sin JavaScript, así que el runtime publicado no puede importarlo. Se lo\n// entregamos desde aquí, que es el único sitio donde resuelve de verdad.\nsetRenderTarget(RenderTarget);/**\r\n * El diseño que corresponde al estado actual, o `null` si no hay ninguno conectado.\r\n *\r\n * Framer entrega una ranura vacía como array vacío, no como `undefined`, así que\r\n * comprobar solo si la prop existe daría siempre verdadero y renderizaría nada.\r\n */function slotFor(props,state){const byState={default:props.availableSlot,loading:props.loadingSlot,added:props.addedSlot,unavailable:props.soldOutSlot,error:props.errorSlot};return resolveSlot(byState[state]);}/**\r\n * Botón de añadir al carrito.\r\n *\r\n * Reglas que explican el código:\r\n *\r\n * - **Siempre `<button>`.** Un `<div onClick>` no responde a Enter ni a Espacio, no sale\r\n *   en la lista de controles del lector de pantalla y no se puede alcanzar con Tab.\r\n * - **El cambio de estado se anuncia.** Sin `aria-live`, quien usa lector de pantalla\r\n *   pulsa el botón y no recibe ninguna confirmación de que el producto se añadió.\r\n * - **Deshabilitado con motivo.** Cuando no se puede comprar, el texto dice por qué en\r\n *   vez de dejar un botón gris silencioso.\r\n * - **En canvas nunca compra.** Los datos son de demostración (ADR-011) y una petición\r\n *   real desde el editor sería un cargo fantasma en la tienda del cliente.\r\n *\r\n * @framerSupportedLayoutWidth any-prefer-fixed\r\n * @framerSupportedLayoutHeight any-prefer-fixed\r\n * @framerIntrinsicWidth 220\r\n * @framerIntrinsicHeight 48\r\n */export default function AddToCart(props){const isDesignTime=useIsDesignTime();const{variant,product,status,isDemo}=useProductData(props);const cart=useCart();/**\r\n     * La cantidad se lee del store compartido, no de la prop.\r\n     *\r\n     * Si hay un `QuantitySelector` en la página, manda él. Si no lo hay, el store\r\n     * devuelve 1 y la prop `quantity` actúa como valor fijo. Leerla solo de la prop\r\n     * haría que subir la cantidad a 3 añadiera 1 unidad.\r\n     */const[sharedQuantity]=useQuantity(product?.handle??null);const bundle=useBundle();const toBundle=props.addToBundle===true;const[feedback,setFeedback]=useState(\"idle\");const timeout=useRef(null);useEffect(()=>()=>clearTimeout(timeout.current??undefined),[]);// En modo bundle no hay petición: ocupar un hueco es estado local y responde al\n// instante. El estado de carga del carrito no dice nada aquí.\nconst isBusy=!toBundle&&(cart.status===\"mutating\"||cart.status===\"creating\");// Con el bundle lleno el botón deja de admitir clics, igual que un producto agotado:\n// el motivo es distinto pero la respuesta que necesita el comprador es la misma.\nconst bundleFull=toBundle&&bundle.isFull&&!isDesignTime;const canBuy=Boolean(variant?.availableForSale)&&!isDemo;const state=feedback===\"error\"?\"error\":feedback===\"added\"?\"added\":isBusy?\"loading\":product&&!canBuy&&!isDemo?\"unavailable\":\"default\";const labels={default:props.label??(toBundle?\"Add\":\"Add to cart\"),loading:props.loadingLabel??\"Adding…\",added:props.addedLabel??\"Added\",unavailable:props.unavailableLabel??\"Sold out\",error:props.errorLabel??\"Try again\"};const disabled=isDesignTime?false:!variant||!canBuy||isBusy||bundleFull||status===\"loading\";const estados=useButtonStates(props,disabled);async function handleClick(){// En canvas el botón es interactivo para que el diseñador vea el hover y el\n// foco, pero no se toca la red ni el carrito real.\nif(isDesignTime||!variant)return;clearTimeout(timeout.current??undefined);setFeedback(\"idle\");if(toBundle){/*\r\n             * Un hueco es un producto, no una cantidad: por eso aquí no interviene el\r\n             * selector de cantidad. Tres unidades del mismo sabor son tres huecos, que es\r\n             * como lo cuenta la promoción (\"elige 3 productos\"), no un hueco con un 3.\r\n             */if(!product)return;bundle.add({merchandiseId:variant.id,handle:product.handle,title:product.title,variantTitle:variant.selectedOptions.map(option=>option.value).join(\" / \"),imageUrl:variant.image?.url??product.featuredImage?.url??null});setFeedback(\"added\");timeout.current=setTimeout(()=>setFeedback(\"idle\"),props.addedDurationMs??2e3);return;}// El selector de cantidad gana; la prop es el valor por defecto cuando no hay\n// ninguno en la página.\nconst quantity=sharedQuantity>1?sharedQuantity:Math.max(1,props.quantity??1);await cart.add(variant.id,quantity);const failed=cart.error!==null;setFeedback(failed?\"error\":\"added\");timeout.current=setTimeout(()=>setFeedback(\"idle\"),props.addedDurationMs??2e3);}const slot=slotFor(props,state);const icono=iconoDeSerie(props.icon,props.iconSize??18,state===\"added\");const rotulo=labels[state];/*\r\n     * Botón de solo icono: hay icono y la etiqueta se dejó vacía a propósito.\r\n     *\r\n     * En una parrilla de productos el botón de compra rápida es un círculo sin texto. Sin\r\n     * `aria-label` sería un botón sin nombre para un lector de pantalla, así que el\r\n     * nombre accesible se reconstruye del estado aunque no se pinte.\r\n     */const soloIcono=icono!==null&&rotulo.trim()===\"\";const nombreAccesible=soloIcono?(props.label?.trim()??\"\")||(toBundle?\"Add to bundle\":\"Add to cart\"):undefined;return /*#__PURE__*/_jsxs(_Fragment,{children:[slot?/*\r\n                 * Con diseño propio, el componente solo aporta el botón: semántica, foco,\r\n                 * teclado y el click. El aspecto entero es del diseñador.\r\n                 *\r\n                 * Sigue siendo un `<button>` de verdad y no un `<div onClick>`, aunque el\r\n                 * contenido venga de fuera: es lo que da Enter, Espacio, el rol correcto y\r\n                 * el foco en el orden natural. Un layer de Framer no trae nada de eso.\r\n                 *//*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>void handleClick(),disabled:disabled,\"aria-disabled\":disabled,\"aria-label\":labels[state],...estados.handlers,style:{...SLOT_RESET,cursor:disabled?\"not-allowed\":\"pointer\",transition:BUTTON_TRANSITION,...props.style,...estados.style},\"data-cc-state\":state,\"data-cc-demo\":isDemo?\"true\":undefined,children:slot}):/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>void handleClick(),disabled:disabled,// El motivo del bloqueo se expone también por accesibilidad, no solo por\n// el color del botón.\n\"aria-disabled\":disabled,...estados.handlers,style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",// Sin hueco cuando no hay texto: el icono queda centrado en el círculo.\ngap:icono!==null&&rotulo!==\"\"?10:0,width:props.fullWidth===false?\"auto\":\"100%\",// Alto mínimo, no alto fijo: si el diseñador le da una altura\n// al nodo, Framer la manda en `style` y esa gana. Antes la\n// anotación decía `auto` y la altura del nodo se ignoraba, así\n// que el botón se quedaba en 44 dentro de una caja de 60 y no\n// había forma de igualarlo al selector de al lado.\nminHeight:44,height:\"100%\",padding:props.padding??\"12px 20px\",borderRadius:props.radius??\"8px\",border:\"none\",background:state===\"added\"?props.addedBackground??\"#14B866\":props.background??\"#111111\",color:props.color??\"#FFFFFF\",cursor:disabled?\"not-allowed\":\"pointer\",opacity:disabled?props.disabledOpacity??.4:1,// Sin transición de layout: solo color, que es lo único que cambia.\ntransition:BUTTON_TRANSITION,...props.font,...props.style,// Los estados van los últimos: son lo que gana sobre el color base.\n// \"Added\" es la excepción y se respeta, porque no es un estado del\n// puntero sino una confirmación.\n...state===\"added\"?{}:estados.style},\"aria-label\":nombreAccesible,\"data-cc-state\":state,\"data-cc-demo\":isDemo?\"true\":undefined,children:[icono,rotulo===\"\"?null:/*#__PURE__*/_jsx(\"span\",{children:rotulo})]}),/*#__PURE__*/_jsxs(\"span\",{\"aria-live\":\"polite\",style:VISUALLY_HIDDEN,children:[state===\"added\"?\"Product added to cart\":\"\",state===\"error\"?cart.error?.userMessage??\"Could not add to cart\":\"\"]})]});}/**\r\n * Los iconos van en línea, no como fuente ni imagen.\r\n *\r\n * Así heredan el color del botón —`currentColor`— y no añaden una petición de red por\r\n * cada tarjeta de una parrilla de productos, que es donde más se repite este botón.\r\n */function iconoDeSerie(icon,size,marcado){if(icon===\"none\"||icon===undefined)return null;const comun={width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:1.6,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":true,focusable:false,style:{display:\"block\",flexShrink:0}};/*\r\n     * Confirmación sin palabras.\r\n     *\r\n     * Un botón con etiqueta dice \"Added\" y se acabó. Uno de solo icono no tiene dónde\r\n     * decirlo: sin este cambio, añadir al carrito solo teñiría el círculo de verde y el\r\n     * comprador no sabría si el clic entró.\r\n     */if(marcado){return /*#__PURE__*/_jsx(\"svg\",{...comun,children:/*#__PURE__*/_jsx(\"path\",{d:\"M4 12.5l5 5L20 6.5\"})});}if(icon===\"plus\"){return /*#__PURE__*/_jsx(\"svg\",{...comun,children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 5v14M5 12h14\"})});}if(icon===\"bag\"){return /*#__PURE__*/_jsxs(\"svg\",{...comun,children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6 7h12l1 13H5L6 7Z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 7V5.5a3 3 0 0 1 6 0V7\"})]});}return /*#__PURE__*/_jsxs(\"svg\",{...comun,children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"20\",r:\"1.4\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"18\",cy:\"20\",r:\"1.4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M1.5 2.5h3l2.4 12.1a1.5 1.5 0 0 0 1.5 1.2h9.1a1.5 1.5 0 0 0 1.5-1.2L21.5 6H6\"})]});}AddToCart.displayName=\"Add To Cart\";addPropertyControls(AddToCart,{...productSourceControls,addToBundle:{type:ControlType.Boolean,title:\"Add to bundle\",defaultValue:false,description:\"Fills a bundle slot instead of buying\"},/*\r\n     * Las ranuras van primero: son lo que convierte esto en \"tu diseño\" en vez de \"nuestro\r\n     * botón con colores configurables\", que es la promesa del producto.\r\n     *\r\n     * `maxCount: 1` porque cada estado es uno solo. Sin él, `Slot` acepta infinitos.\r\n     */availableSlot:{type:ControlType.Slot,title:\"Available\",maxCount:1,description:\"Your design for the buyable state. Empty: the default button is used\"},loadingSlot:{type:ControlType.Slot,title:\"Loading\",maxCount:1},addedSlot:{type:ControlType.Slot,title:\"Added\",maxCount:1},soldOutSlot:{type:ControlType.Slot,title:\"Sold out\",maxCount:1},errorSlot:{type:ControlType.Slot,title:\"Error\",maxCount:1},quantity:{type:ControlType.Number,title:\"Quantity\",min:1,max:99,defaultValue:1,displayStepper:true},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Add to cart\"},icon:{type:ControlType.Enum,title:\"Icon\",options:[\"none\",\"cart\",\"bag\",\"plus\"],optionTitles:[\"None\",\"Cart\",\"Bag\",\"Plus\"],defaultValue:\"none\",displaySegmentedControl:true,description:\"Leave the label empty for a round icon-only button\"},iconSize:{type:ControlType.Number,title:\"Icon size\",defaultValue:18,min:12,max:40,step:1},loadingLabel:{type:ControlType.String,title:\"Loading\",defaultValue:\"Adding…\"},addedLabel:{type:ControlType.String,title:\"Added\",defaultValue:\"Added\"},unavailableLabel:{type:ControlType.String,title:\"Sold out\",defaultValue:\"Sold out\"},errorLabel:{type:ControlType.String,title:\"Error\",defaultValue:\"Try again\"},addedDurationMs:{type:ControlType.Number,title:\"Added for\",min:500,max:6e3,step:250,unit:\"ms\",defaultValue:2e3},fullWidth:{type:ControlType.Boolean,title:\"Full width\",defaultValue:true},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"12px 20px\"},radius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"8px\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},color:{type:ControlType.Color,title:\"Text\",defaultValue:\"#FFFFFF\"},background:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#111111\"},...buttonStateControls,addedBackground:{type:ControlType.Color,title:\"Added fill\",defaultValue:\"#14B866\"},disabledOpacity:{type:ControlType.Number,title:\"Disabled\",min:.1,max:1,step:.05,defaultValue:.4,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AddToCart\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"220\",\"framerIntrinsicHeight\":\"48\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AddToCart.map"],"mappings":"4bAC0C,IAAqF,IAA4B,EAAmH,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU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