{"version":3,"file":"VariantsSlot.C0iB-Rmn.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_CDGohruR","ControlType","VariantSlot","props","init_VariantsSlot"],"sources":["https:/framerusercontent.com/modules/zGSJ0geD4g59xKnYebx1/CNEw5F8TWIOWKROijzOh/VariantsSlot.js"],"sourcesContent":["/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * VariantSlot\n *\n * PURPOSE:\n * This is a data-carrier component. It renders nothing visible (1×1px).\n * Place it inside a Framer Collection List filtered by Brand.\n * Bind each field to the corresponding CMS column.\n * Then pass the Collection List as the `variantSlots` prop of ProductDetailAddToCart.\n *\n * ProductDetailAddToCart reads props from each VariantSlot child\n * to build the variant dropdown automatically.\n */export default function VariantSlot(props){// Intentionally invisible — data carrier only\nreturn /*#__PURE__*/_jsx(\"div\",{style:{...props.style,width:\"1px\",height:\"1px\",overflow:\"hidden\",opacity:0,pointerEvents:\"none\",position:\"absolute\"},\"data-variant-slot\":\"true\",\"data-slot-name\":props.slotName,\"data-slot-subtitle\":props.slotSubtitle,\"data-slot-price\":props.slotPrice,\"data-slot-slug\":props.slotSlug});}VariantSlot.defaultProps={slotName:\"Product Name\",slotSubtitle:\"Brand 3.5g\",slotPrice:1500,slotSlug:\"/products/example\"};addPropertyControls(VariantSlot,{slotName:{type:ControlType.String,title:\"→ Name\",defaultValue:\"Product Name\",description:\"Bind to CMS: Nombre\"},slotSubtitle:{type:ControlType.String,title:\"→ Subtitle\",defaultValue:\"Brand 3.5g\",description:\"Bind to CMS: Brand / Subtitle\"},slotPrice:{type:ControlType.Number,title:\"→ Price\",defaultValue:1500,min:0,step:.01,description:\"Bind to CMS: Precio\"},slotSlug:{type:ControlType.String,title:\"→ Slug\",defaultValue:\"/products/example\",description:\"Bind to CMS: Slug (for navigation on select)\"},slotImage:{type:ControlType.ResponsiveImage,title:\"→ Image\",description:\"Bind to CMS: Product Image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VariantSlot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VariantsSlot.map"],"mappings":"A,4JAiBG,SAAwBM,EAAY,EAAM,CAC7C,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,GAAGC,EAAM,MAAM,MAAM,MAAM,OAAO,MAAM,SAAS,SAAS,QAAQ,EAAE,cAAc,OAAO,SAAS,UAAU,EAAE,oBAAoB,OAAO,iBAAiBA,EAAM,SAAS,qBAAqBA,EAAM,aAAa,kBAAkBA,EAAM,UAAU,iBAAiBA,EAAM,QAAQ,CAAC,CAAE,C,sCAAC,EAAY,aAAa,CAAC,SAAS,eAAe,aAAa,aAAa,UAAU,KAAK,SAAS,mBAAmB,EAAEJ,EAAoBG,EAAY,CAAC,SAAS,CAAC,KAAKD,EAAY,OAAO,MAAM,SAAS,aAAa,eAAe,YAAY,qBAAqB,EAAE,aAAa,CAAC,KAAKA,EAAY,OAAO,MAAM,aAAa,aAAa,aAAa,YAAY,+BAA+B,EAAE,UAAU,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,aAAa,KAAK,IAAI,EAAE,KAAK,IAAI,YAAY,qBAAqB,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,aAAa,oBAAoB,YAAY,8CAA8C,EAAE,UAAU,CAAC,KAAKA,EAAY,gBAAgB,MAAM,UAAU,YAAY,4BAA4B,CAAC,CAAC,C"}