{"version":3,"file":"DatosCMS.CCAJCIYH.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","c","init_jsx_runtime","init_framer_Duogf4LG","addPropertyControls","ControlType","reg","g","G","tipo","key","data","ProductoCMS","p","t","hide","ServicioCMS","T","init_DatosCMS","v"],"sources":["https:/framerusercontent.com/modules/vSEBYzxStujj9y4OqWkn/JtNucbywUcSoDGDigqEr/DatosCMS.js"],"sourcesContent":["// @ts-nocheck\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Puente entre el CMS de Framer y la web (GeovanyWeb). No se ve en pantalla.\nfunction reg(tipo,key,data){const g=globalThis;const G=g.__GA||(g.__GA={producto:new Map,servicio:new Map});G[tipo].set(key,data);if(typeof window!==\"undefined\"){clearTimeout(G.t);G.t=setTimeout(()=>window.dispatchEvent(new Event(\"ga-data\")),0);}}const hide={display:\"none\"};const T={dbbO1a5ma:\"Maletines\",w0bhLIgqX:\"Piezas enteras\",fG01j1X37:\"Lotes gourmet\",sL_ud1Mjr:\"Herramientas\",JaUGgKqSp:\"Ninguna\",ZEZV5fJFP:\"Jam\\xf3n Bellota 100%\",YWEJslH86:\"Paleta Bellota 100%\",WRWhSBrQj:\"Bellota 50%\",UcuMp6pu4:\"Cebo de campo 50%\",Le5s15w3U:\"Normal\",JCvAm4_SV:\"Recortada\",bPQ1tsAnH:\"Ampliada\"};const t=v=>T[v]||v;/** @framerSupportedLayoutWidth any @framerSupportedLayoutHeight any */export function ProductoCMS(p){const key=p.slug||p.nombre;if(p.visible!==false&&key)reg(\"producto\",key,{nombre:p.nombre,precio:p.precio,categoria:t(p.categoria),variedad:t(p.variedad),etiqueta:p.etiqueta,descripcion:p.descripcion,foto:p.foto,estiloFoto:t(p.estiloFoto),destacado:!!p.destacado,slug:p.slug});else if(key){const G=globalThis.__GA;if(G)G.producto.delete(key);}return /*#__PURE__*/_jsx(\"div\",{style:hide,\"aria-hidden\":\"true\"});}addPropertyControls(ProductoCMS,{nombre:{type:ControlType.String,title:\"Nombre\",defaultValue:\"\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"},precio:{type:ControlType.Number,title:\"Precio (€)\",defaultValue:0,min:0},categoria:{type:ControlType.Enum,title:\"Categor\\xeda\",options:[\"dbbO1a5ma\",\"w0bhLIgqX\",\"fG01j1X37\",\"sL_ud1Mjr\"],optionTitles:[\"Maletines\",\"Piezas enteras\",\"Lotes gourmet\",\"Herramientas\"],defaultValue:\"fG01j1X37\"},variedad:{type:ControlType.Enum,title:\"Variedad\",options:[\"JaUGgKqSp\",\"ZEZV5fJFP\",\"YWEJslH86\",\"WRWhSBrQj\",\"UcuMp6pu4\"],optionTitles:[\"Ninguna\",\"Jam\\xf3n Bellota 100%\",\"Paleta Bellota 100%\",\"Bellota 50%\",\"Cebo de campo 50%\"],defaultValue:\"JaUGgKqSp\"},etiqueta:{type:ControlType.String,title:\"Etiqueta\",defaultValue:\"\"},descripcion:{type:ControlType.String,title:\"Descripci\\xf3n\",defaultValue:\"\",displayTextArea:true},foto:{type:ControlType.ResponsiveImage,title:\"Foto\"},estiloFoto:{type:ControlType.Enum,title:\"Estilo de foto\",options:[\"Le5s15w3U\",\"JCvAm4_SV\",\"bPQ1tsAnH\"],optionTitles:[\"Normal\",\"Recortada\",\"Ampliada\"],defaultValue:\"Le5s15w3U\"},destacado:{type:ControlType.Boolean,title:\"Destacado en portada\",defaultValue:false},visible:{type:ControlType.Boolean,title:\"Visible\",defaultValue:true}});/** @framerSupportedLayoutWidth any @framerSupportedLayoutHeight any */export function ServicioCMS(p){const key=p.slug||p.nombre;if(p.visible!==false&&key)reg(\"servicio\",key,{marca:p.marca,nombre:p.nombre,subtitulo:p.subtitulo,peso:p.peso,precio:p.precio,foto:p.foto});else if(key){const G=globalThis.__GA;if(G)G.servicio.delete(key);}return /*#__PURE__*/_jsx(\"div\",{style:hide,\"aria-hidden\":\"true\"});}addPropertyControls(ServicioCMS,{marca:{type:ControlType.String,title:\"Marca\",defaultValue:\"\"},nombre:{type:ControlType.String,title:\"Nombre\",defaultValue:\"\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"},subtitulo:{type:ControlType.String,title:\"Subt\\xedtulo\",defaultValue:\"\"},peso:{type:ControlType.String,title:\"Peso\",defaultValue:\"\"},precio:{type:ControlType.Number,title:\"Precio (€)\",defaultValue:0,min:0},foto:{type:ControlType.ResponsiveImage,title:\"Foto\"},visible:{type:ControlType.Boolean,title:\"Visible\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"ServicioCMS\":{\"type\":\"reactComponent\",\"name\":\"ServicioCMS\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"\"}},\"ProductoCMS\":{\"type\":\"reactComponent\",\"name\":\"ProductoCMS\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DatosCMS.map"],"mappings":"A,0KAEA,SAASQ,EAAI,EAAK,EAAI,EAAK,CAAC,IAAMC,EAAE,WAAiBC,EAAE,AAASD,EAAE,OAAK,CAAC,yBAAS,IAAI,IAAI,yBAAS,IAAI,GAAG,EAAGC,EAAEC,EAAK,CAAC,IAAIC,EAAIC,CAAI,EAAYX,IAAS,SAAa,aAAaQ,EAAE,CAAC,EAAE,EAAE,EAAE,eAAeR,EAAO,cAAc,IAAI,MAAM,SAAS,CAAC,EAAE,CAAC,EAAG,CAA+a,SAAgBY,EAAY,EAAE,CAAC,IAAMF,EAAIG,EAAE,MAAMA,EAAE,OAAO,GAAGA,EAAE,UAAU,IAAOH,EAAIJ,EAAI,WAAWI,EAAI,CAAC,OAAOG,EAAE,OAAO,OAAOA,EAAE,OAAO,UAAUC,EAAED,EAAE,SAAS,EAAE,SAASC,EAAED,EAAE,QAAQ,EAAE,SAASA,EAAE,SAAS,YAAYA,EAAE,YAAY,KAAKA,EAAE,KAAK,W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