KL.Modules.tools = new function() { var self = this; var tools = {}; var counter = 1; function load() { var toolsNodes = document.getElementsByClassName('tools'); if (toolsNodes) { for (var i = 0; i < toolsNodes.length; i++) { id = toolsNodes[i].id; if (!id) { toolsNodes[i].id = id = "tools" + counter++; } // ONLY if not scanned yet tools[id] = new KL.Modules.onetoolset(toolsNodes[i]); } } } function unload() { for (var i = 0; i < tools.length; i++) tools[i].destroy(); tools = {}; } KL.loader.addHookLoad('tools', load); KL.loader.addHookPostLoad('tools', load); KL.loader.addHookUnload('tools', unload); } KL.Modules.onetoolset = function(node) { var self = this; var containernode = node; var toolsshadow = null; var toolsnode = null; var type = ''; var key = ''; var buttons = []; var opened = false; function open() { toolsshadow.style.display = 'block'; pos = 0; for (var i = 0, l = buttons.length; i < l; i++) { buttons[i].style.top = pos + 'px'; pos += 40; } opened = true; } function close() { toolsshadow.style.display = 'none'; for (var i = 0, l = buttons.length; i < l; i++) { buttons[i].style.top = '0px'; } opened = false; } function clickclose(event) { close(); WA.browser.cancelEvent(event); } function clickfav(event) { if (!KL.Modules.client.clientlogged) { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); // console.log(document.location.pathname); KL.loader.loadPage("/login?p="+document.location.pathname+"&o=/fav/"+type+"/"+key); return; } if (!opened) { open(); WA.browser.cancelEvent(event); return; } WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false}) .then(function(request) { request.addParameter('language', KL.language); request.addParameter('device', KL.device); request.addParameter('service', 'favorite'); request.addParameter('type', type); request.addParameter('key', key); return request.send(); }) .then(function(response){ var code = JSON.parse(response); if (code.status == 'ok') { KL.Modules.stat.registerEvent('tools', 'tools/addfav'); KL.Modules.stat.registerEventGA4('tools/addfav', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.notifica(KL.i18n.tools_favoritos_ok1+' '+KL.i18n.tools_favoritos_ok2+''); } else { KL.Modules.stat.registerEvent('tools', 'tools/errorfav'); KL.Modules.stat.registerEventGA4('tools/errorfav', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.alerta(code.message); } }) .catch(function(code, err) { if (code == 401) // not connected { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/fav/"+type+"/"+key); return; } // print error modal, send to server error KL.Modules.modal.alerta(code, err); console.log("Error sending fav:", code, err); }); return WA.browser.cancelEvent(event); } function clickcollections(event) { if (!KL.Modules.client.clientlogged) { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/col/"+type+"/"+key); return; } WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false}) .then(function(request) { request.addParameter('language', KL.language); request.addParameter('device', KL.device); request.addParameter('service', 'list'); return request.send(); }) .then(function(response){ var code = JSON.parse(response); KL.Modules.stat.registerEvent('tools', 'tools/opencol'); KL.Modules.stat.registerEventGA4('tools/opencol', {'send_to': 'G-X0MHE23QYB'}); data = WA.templates.tools_collectionselect({items:code.payload}); KL.Modules.modal.buildpopup(data); // link clicks for (var i = 0, l = code.payload.length; i < l; i++) { var n = WA.toDOM("tools-collection-" + code.payload[i].clave); if (!n) continue; n.dataset.id = code.payload[i].clave; n.onclick = seleccionacoleccion; } var n = WA.toDOM("tools-collection-create"); if (n) { n.onclick = creacoleccion; } KL.Modules.modal.showpopup({closeable:true}); }) .catch(function(code, err) { if (code == 401) // not connected { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/createcol"); return; } // print error modal, send to server error KL.Modules.modal.alerta(code, err); console.log("Error sending fav:", code, err); }); return WA.browser.cancelEvent(event); } function seleccionacoleccion(event) { if (!KL.Modules.client.clientlogged) { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/addcol/"+type+"/"+key); return; } var cid = this.dataset.id; WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false}) .then(function(request) { request.addParameter('language', KL.language); request.addParameter('device', KL.device); request.addParameter('service', 'insert'); request.addParameter('collection', cid); request.addParameter('type', type); request.addParameter('key', key); return request.send(); }) .then(function(response){ KL.Modules.modal.hidepopup(); var code = JSON.parse(response); if (code.status == 'ok') { KL.Modules.stat.registerEvent('tools', 'tools/addcol'); KL.Modules.stat.registerEventGA4('tools/addcol', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.notifica(KL.i18n.tools_collections_ok1+' '+KL.i18n.tools_collections_ok2+''); } else { KL.Modules.stat.registerEvent('tools', 'tools/errorcol'); KL.Modules.stat.registerEventGA4('tools/errorcol', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.alerta(code.message); } }) .catch(function(code, err) { if (code == 401) // not connected { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/col/"+cid+"/"+type+"/"+key); return; } // print error modal, send to server error KL.Modules.modal.alerta(code, err); console.log("Error sending col:", code, err); }); return WA.browser.cancelEvent(event); } function creacoleccion(event) { var v = WA.toDOM("tools-collection-name").value; if (!KL.Modules.client.clientlogged) { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/createcol/"+KL.fixedEncodeURIComponent(v)+"/"+type+"/"+key); return; } WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false}) .then(function(request) { request.addParameter('language', KL.language); request.addParameter('device', KL.device); request.addParameter('service', 'create'); request.addParameter('name', v); request.addParameter('type', type); request.addParameter('key', key); return request.send(); }) .then(function(response) { KL.Modules.modal.hidepopup(); var code = JSON.parse(response); if (code.status == 'ok') { KL.Modules.stat.registerEvent('tools', 'tools/createaddcol'); KL.Modules.stat.registerEventGA4('tools/createaddcol', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.notifica(KL.i18n.tools_collections_ok1+' '+KL.i18n.tools_collections_ok2+''); } else { KL.Modules.stat.registerEvent('tools', 'tools/errorcol'); KL.Modules.stat.registerEventGA4('tools/errorcol', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.alerta(code.message); } }) .catch(function(code, err) { if (code == 401) // not connected { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/col/"+KL.fixedEncodeURIComponent(v)+"/"+type+"/"+key); return; } // print error modal, send to server error KL.Modules.modal.alerta(code, err); console.log("Error sending col:", code, err); }); return WA.browser.cancelEvent(event); } function clickshoppinglist(event) { if (!KL.Modules.client.clientlogged) { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/shoppinglist/"+key); return; } if (type != 'r') { KL.Modules.modal.alerta("Error, el objeto no es una receta para agregar a la lista del súper."); return; } WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/shoppinglist', method: 'post', send: false}) .then(function(request) { request.addParameter('language', KL.language); request.addParameter('device', KL.device); request.addParameter('service', 'addrecipe'); request.addParameter('key', key); return request.send(); }) .then(function(response){ var code = JSON.parse(response); if (code.status == 'ok') { KL.Modules.stat.registerEvent('tools', 'tools/addshoppinglist'); KL.Modules.stat.registerEventGA4('tools/addshoppinglist', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.notifica(KL.i18n.tools_listasuper_ok1+' '+KL.i18n.tools_listasuper_ok2+''); } else { KL.Modules.stat.registerEvent('tools', 'tools/errorshoppinglist'); KL.Modules.stat.registerEventGA4('tools/errorshoppinglist', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.alerta(code.message); } }) .catch(function(code, err) { if (code == 401) // not connected { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/shoppinglist/"+type+"/"+key); return; } // print error modal, send to server error KL.Modules.modal.alerta(code, err); console.log("Error sending shoppinglist:", code, err); }); return WA.browser.cancelEvent(event); } function getlistasuper(request) { // close tools // put heart filled var code = JSON.parse(request.responseText); if (code.estatus == 'OK') { KL.Modules.modal.hidepopup(); KL.Modules.stat.registerEvent('tools', 'tools/addsup'); KL.Modules.stat.registerEventGA4('tools/addsup', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.notifica(KL.i18n.tools_listasuper_ok1+' '+KL.i18n.tools_listasuper_ok2+''); } else { if (code.code == 1) { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login/sup/"+type+"/"+key); } else { KL.Modules.stat.registerEvent('tools', 'tools/errorsup'); KL.Modules.stat.registerEventGA4('tools/errorsup', {'send_to': 'G-X0MHE23QYB'}); KL.Modules.modal.alerta(code.mensaje); } } } function clickmenuplanner(event) { if (!KL.Modules.client.clientpro) { KL.Modules.stat.registerEvent('tools', 'tools/gologin'); // KL.loader.loadPage("/pro/"+type+"/"+key); KL.loader.loadPage("/pro"); return; } // call PRO MENU PLANNER WA.browser.cancelEvent(event); } this.destroy = destroy; function destroy() { containernode = null; toolsshadow = null; toolsnode = null; buttons = null; self = null; } // Note: only 1 gallery per page if (containernode.scanned) return; containernode.scanned = true; toolsshadow = WA.createDomNode('div', null, 'tools-shadow'); toolsshadow.style.display = 'none'; containernode.appendChild(toolsshadow); toolsnode = WA.createDomNode('div', null, 'tools-container'); containernode.appendChild(toolsnode); // fill with the buttons template type = containernode.dataset.type; key = containernode.dataset.key; code = {t:type,k:key} // create buttons // close: always here var closebutton = WA.createDomNode('div', null, 'anim tools-close icon-k7-tools-close'); closebutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-cerrar')); closebutton.setAttribute('title', WA.i18n.getMessage('txt-tools-cerrar')); closebutton.onclick = clickclose; toolsnode.appendChild(closebutton); buttons.push(closebutton); if (type == 'r') { // menu planner: recipe only /* var mpbutton = WA.createDomNode('div', null, 'anim tools-menuplanner icon-k7-tools-menuplanner'); mpbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-planeadormenu')); mpbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-planeadormenu')); mpbutton.onclick = clickmenuplanner; toolsnode.appendChild(mpbutton); buttons.push(mpbutton); */ // Shopping list / only recipe var slbutton = WA.createDomNode('div', null, 'anim tools-shoppinglist icon-k7-tools-shoppinglist'); slbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-listasuper')); slbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-listasuper')); slbutton.onclick = clickshoppinglist; toolsnode.appendChild(slbutton); buttons.push(slbutton); } var clbutton = WA.createDomNode('div', null, 'anim tools-collections icon-k7-tools-collections'); clbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-colecciones')); clbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-colecciones')); clbutton.onclick = clickcollections; toolsnode.appendChild(clbutton); buttons.push(clbutton); var fvbutton = WA.createDomNode('div', null, 'anim tools-favorites icon-k7-tools-favorites-empty'); fvbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-favorito')); fvbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-favorito')); fvbutton.onclick = clickfav; toolsnode.appendChild(fvbutton); buttons.push(fvbutton); } // tools var translation = { "txt-tools-favorito": "Adicionar aos meus Favoritos", "txt-tools-colecciones": "Adicionar às minhas Coleções", "txt-tools-listasuper": "Adicionar à minha Lista de Compras", "txt-tools-planeadormenu": "Adicionar ao Planejador de Menu", "txt-tools-cerrar": "Cerrar", }; WA.i18n.loadMessages(translation); /* Funciones para manejar el feed */ /* Escrito por: Phil Fecha: Julio 2016 Control de cambios: 26/02/2020: Wilmer, Ajuste a feed search/v6 10/07/2016: Phil, Creación */ KL.Modules.feed = new function() { var self = this; function load() { } this.unload = unload; function unload() { } KL.loader.addHookLoad('feed', load); KL.loader.addHookPostLoad('feed', load); KL.loader.addHookUnload('feed', unload); } KL.Modules.feed.container = function(id, template, datos, q) { var self = this; } KL.Modules.slider = new function() { var self = this; var sliders = {}; var counter = 1; function load() { var sliderNodes = document.getElementsByClassName('slider'); if (sliderNodes) { for (var i = 0; i < sliderNodes.length; i++) { id = sliderNodes[i].id; if (!id) { sliderNodes[i].id = id = "slider" + counter++; } sliders[id] = new KL.Modules.oneslider(sliderNodes[i]); } } } function unload() { for (var i = 0; i < sliders.length; i++) sliders[i].destroy(); sliders = {}; } KL.loader.addHookLoad('slider', load); //KL.loader.addHookPostLoad('slider', load); KL.loader.addHookUnload('slider', unload); } KL.Modules.oneslider = function(node) { var self = this; var slidernode = node; var containernode = null; var position = 0; //var percentmove = 0.9; var percentmove = 1; function clickprevious(event) { var width = WA.browser.getNodeWidth(slidernode); position += Math.round(width*percentmove); if (position > 0) position = 0; containernode.style.left = position + 'px'; //KL.loader.callHooksPostLoad(); KL.Modules.stat.registerEvent('slider', 'slider/previous'); KL.Modules.stat.registerEventGA4('slider/previous', {'send_to': 'G-X0MHE23QYB'}); // TODO(phil) // considerar enviar los IDs a analizar por la animacion // Se envía a analizar las imágenes DAG 11/08/2022 //KL.Modules.images.analyze(); } function clicknext(event) { var width = WA.browser.getNodeWidth(slidernode); position -= Math.round(width*percentmove); var size = getsize(); var min = -size+width; if (min > 0) min = 0; if (position < min) position = min; containernode.style.left = position + 'px'; KL.Modules.stat.registerEvent('slider', 'slider/next'); KL.Modules.stat.registerEventGA4('slider/next', {'send_to': 'G-X0MHE23QYB'}); setTimeout(() => { KL.loader.callHooksPostLoad(); }, 700); //600 // TODO(phil) // considerar enviar los IDs a analizar por la animacion // Se envía a analizar las imágenes DAG 11/08/2022 //KL.Modules.images.analyze(); } function getsize() { var width = 0; for (var i=0, l=containernode.childNodes.length; i width) width = x; } return width; } function draglistener(type, metrics) { if (type == 'start') { // quitar el anim containernode.style.transition = 'none'; } if (type == 'drag') { // mover a la posicion var p = position + metrics.dx; var width = WA.browser.getNodeWidth(slidernode); if (p > 0) p = 0; var size = getsize(); var min = -size+width; if (min > 0) min = 0; if (p < min) p = min; //containernode.style.transform = "translate("+p+"px,0)"; //position = p; containernode.style.left = p + 'px'; } if (type == 'izquierda' || type == 'derecha') { // reponer el anim containernode.style.transition = ''; // animar hasta la posicion correspondiente a la velocidad ? var p = position + metrics.dx + metrics.velocity/4; var width = WA.browser.getNodeWidth(slidernode); if (p > 0) p = 0; var size = getsize(); var min = -size+width; if (min > 0) min = 0; if (p < min) p = min; position = p; containernode.style.left = position + 'px'; // TODO(phil) // considerar enviar los IDs a analizar por la animacion } KL.Modules.images.analyze(); KL.loader.callHooksPostLoad(); } this.destroy = destroy; function destroy() { if (timer) clearTimeout(timer) timer = null; actual = null; gallerynode = null; containernode = null; previousnode = null; nextnode = null; playnode = null; bulletsnode = null; self = null; } // Note: only 1 gallery per page if (slidernode.dataset.scanned) return; slidernode.dataset.scanned = true; if (!slidernode.firstElementChild) return; containernode = WA.createDomNode('div', slidernode.id+'_container', 'slider-container'); while (slidernode.hasChildNodes()) { // Solo queremos nodos div if (slidernode.firstChild.nodeType == 1) { slidernode.firstChild.className += ' slider-element'; containernode.appendChild(slidernode.firstChild); } else slidernode.removeChild(slidernode.firstChild); } slidernode.appendChild(containernode); // 3. boton left previousnode = WA.createDomNode('div', null, 'slider-button left'); slidernode.appendChild(previousnode); previousnode.onclick = function() { KL.Modules.stat.registerEvent('slider', 'slider/previous'); KL.Modules.stat.registerEventGA4('slider/previous', {'send_to': 'G-X0MHE23QYB'}); clickprevious(); }; n = WA.createDomNode('div', null, 'icon-k7-slider-previous'); previousnode.appendChild(n); // 4. boton right nextnode = WA.createDomNode('div', null, 'slider-button right'); slidernode.appendChild(nextnode); nextnode.onclick = function() { KL.Modules.stat.registerEvent('slider', 'slider/next'); KL.Modules.stat.registerEventGA4('slider/next', {'send_to': 'G-X0MHE23QYB'}); clicknext(); }; n = WA.createDomNode('div', null, 'icon-k7-slider-next'); nextnode.appendChild(n); KL.Modules.movements.adddraglistener('slider_' + slidernode.id, {node: containernode, listener:draglistener}); } KL.Modules.clientperfil = new function () { var nodelistaactividad; var nodelistafollowers; var nodelistapersonas; var noderesultadosbuscar; var keychefperfil; var flagsearch = false; var nodelistafavoritos; var nodelistacoleccion; var nombrecoleccion; var idcoleccion; var tipoitem; var idelemento; var valornewq = ""; function cleandataactividad() { //debugger nodelistaactividad = WA.toDOM('activitylist'); nodelistaactividad.innerHTML = ""; page = 1; } function cleandatafollowers() { //debugger nodelistafollowers = WA.toDOM('followerslist'); nodelistafollowers.innerHTML = ""; page = 1; } function cleandatapersonas() { //debugger nodelistapersonas = WA.toDOM('activitylist-personas'); nodelistapersonas.innerHTML = ""; page = 1; } function cleandatacolfav() { //debugger nodelistafavoritos = WA.toDOM('client-favorites-list'); nodelistafavoritos.innerHTML = ""; page = 1; } function cleandatacoldetalle() { //debugger nodelistafavoritos = WA.toDOM('client-coleccion-detalle-list'); nodelistafavoritos.innerHTML = ""; page = 1; } function cleandatabusqueda() { //debugger nodelistabusqueda = WA.toDOM('searchlist'); nodelistabusqueda.innerHTML = ""; page = 1; } function calldataactividad() { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdataactividad, false); r.addParameter('v', 1 ); r.addParameter('type', 'myactivity' ); r.addParameter('order', 1 ); r.addParameter('quantity', 16 ); r.addParameter('page', 1 ); r.addParameter('preload', null ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdataactividad(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); ndiv.style = "clear: both;"; ndiv.innerHTML = text; nodelistaactividad.appendChild(ndiv); // set next, data into //more = code.more //nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } function calldataactividadsiguiendo() { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdataactividadsiguiendo, false); r.addParameter('v', 1 ); r.addParameter('type', 'followers' ); r.addParameter('order', 'sigo' ); //r.addParameter('quantity', 16 ); r.addParameter('quantity', 18 ); r.addParameter('page', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdataactividadsiguiendo(request) { //debugger var nodenext; code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; //if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') ) if ( KL.Modules.client.clientpro ) { // console.log('chef pro'); code.sesionprochef = 'true'; }else{ if (KL.Modules.client.clientlogged) { // console.log('chef normal'); code.sesionprochef = 'false'; } else{ // console.log('no hay chef'); code.sesionprochef = null; } } // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); //ndiv.style = "clear: both;"; ndiv.innerHTML = text; nodelistafollowers.appendChild(ndiv); nodenext = WA.toDOM('followerslist-next'); // set next, data into more = code.more nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } function calldataactividadseguidores() { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdataactividadseguidores, false); r.addParameter('v', 1 ); r.addParameter('type', 'followers' ); r.addParameter('order', 'siguiendome' ); r.addParameter('quantity', 18 ); r.addParameter('page', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdataactividadseguidores(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; //if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') ) if ( KL.Modules.client.clientpro ) { // console.log('chef pro'); code.sesionprochef = 'true'; }else{ if (KL.Modules.client.clientlogged) { // console.log('chef normal'); code.sesionprochef = 'false'; } else{ // console.log('no hay chef'); code.sesionprochef = null; } } // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); //ndiv.style = "clear: both;"; ndiv.innerHTML = text; nodelistafollowers.appendChild(ndiv); // set next, data into //more = code.more //nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } function calldatapersonas(tipochef) { //debugger var vartype; var tipousuario = tipochef; if(tipousuario == 'kiwi') vartype = 'getfriendstoprecipe'; if(tipousuario == 'crafto') vartype = 'getfriendstoptip'; var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatapersonas, false); r.addParameter('v', 1 ); //r.addParameter('type', 'getfriendstoprecipe' ); r.addParameter('type', vartype ); //r.addParameter('order', 1 ); r.addParameter('quantity', 6 ); r.addParameter('page', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdatapersonas(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; code.myaccount = 1; //if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') ) if ( KL.Modules.client.clientpro ) { // console.log('chef pro'); code.sesionprochef = 'true'; }else{ if (KL.Modules.client.clientlogged) { // console.log('chef normal'); code.sesionprochef = 'false'; } else{ // console.log('no hay chef'); code.sesionprochef = null; } } /* if (KL.Modules.client.clientlogged) console.log('respuesta getdatapersonas - cliente conectado'); */ // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); ndiv.style = "clear: both;"; ndiv.innerHTML = text; nodelistapersonas.appendChild(ndiv); // set next, data into //more = code.more //nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } this.seguirachef = seguirachef; function seguirachef(idchef,orden) { // debugger noderesultadosbuscar = WA.toDOM('perfil-amigos-chef-resultados'); keychefperfil = idchef; var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/follower', 'POST', null, getdataseguirachef, false); r.addParameter('trx', 1 ); r.addParameter('chef', keychefperfil ); r.addParameter('order', orden ); r.addParameter('device', KL.device ); r.addParameter('language', KL.language ); r.addParameter('human', 1 ); r.send(); } function getdataseguirachef(request) { //debugger var cont = 0; code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "OK") { if(KL.rootsite == 'crafto') KL.Modules.modal.notifica(WA.i18n.getMessage('txtahorasiguescreador') + ' ' + code.chefnombre); else KL.Modules.modal.notifica(WA.i18n.getMessage('txtahorasigueschef') + ' ' + code.chefnombre); var nodopadrebusqueda = WA.toDOM("perfil-listado-amigos-chef-resultados"); var nodobusqueda = document.getElementsByClassName('chef-ficha-' + keychefperfil)[0]; switch (window.location.pathname) { case '/mi-cuenta/perfil': case '/my-account/profile': cleandataactividad(); calldataactividad(); cleandatapersonas(); if ((KL.rootsite == 'kiwi') || (KL.rootsite == 'kiwirec')) calldatapersonas('kiwi'); if (KL.rootsite == 'crafto') calldatapersonas('crafto'); if(noderesultadosbuscar){ if( (noderesultadosbuscar.childNodes.length > 0) && flagsearch == true){ for (var i = 0; i < noderesultadosbuscar.childNodes[0].children.length; i++) { if(noderesultadosbuscar.childNodes[0].children[cont].dataset.key == nodobusqueda.dataset.key){ noderesultadosbuscar.childNodes[0].removeChild(nodobusqueda); noderesultadosbuscar.style.height = "auto"; break; } cont++; } if( noderesultadosbuscar.childNodes[0].children.length < 1){ WA.toDOM("perfil-buscaamigo").value=''; flagsearch == false; } } } break; case '/mi-cuenta/seguidores': case '/my-account/followers': cleandatafollowers(); calldataactividadseguidores(); if (KL.device == 'pc'){ cleandatapersonas(); if ((KL.rootsite == 'kiwi') || (KL.rootsite == 'kiwirec')) calldatapersonas('kiwi'); if (KL.rootsite == 'crafto') calldatapersonas('crafto'); } break; case '/mi-cuenta/siguiendo': case '/my-account/following': cleandatafollowers(); calldataactividadsiguiendo(); if (KL.device == 'pc'){ cleandatapersonas(); if ((KL.rootsite == 'kiwi') || (KL.rootsite == 'kiwirec')) calldatapersonas('kiwi'); if (KL.rootsite == 'crafto') calldatapersonas('crafto'); } break; // cuando se da clic a seguir a un chef desde la busqueda case '/buscar': case '/search': // console.log('para que tarde 4 segundos en ejecutarse lo siguiente'); setTimeout( function() { //debugger nodesearchnewq = WA.toDOM('searchlist-q'); busquedanewq = new URLSearchParams(location.search); valornewq = busquedaq.get('q'); if(valornewq != null) nodesearchnewq.innerHTML = valornewq; //window.location.reload(); cleandatabusqueda(); callnuevabusqueda(valornewq); }, 4000); break; default: setTimeout( function() { window.location.reload(); }, 4000); // window.location.reload(); } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemadejarseguir')); } } this.dejarseguirachef = dejarseguirachef; function dejarseguirachef(idchef,orden) { //debugger keychefperfil = idchef; var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/follower', 'POST', null, getdatadejarseguidor, false); r.addParameter('trx', 1 ); r.addParameter('chef', keychefperfil ); r.addParameter('order', orden ); r.addParameter('device', KL.device ); r.addParameter('language', KL.language ); r.addParameter('human', 1 ); r.send(); } function getdatadejarseguidor(request) { //debugger //console.log('respuesta dejar de seguir a chef'); code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; //console.log('estatus: ' + code.status); if (code.status == "OK") { if(KL.rootsite == 'crafto') KL.Modules.modal.notifica(WA.i18n.getMessage('txtdejasteseguiracreador') + ' ' + code.chefnombre); else KL.Modules.modal.notifica(WA.i18n.getMessage('txtdejasteseguirachef') + ' ' + code.chefnombre); switch (window.location.pathname) { case '/mi-cuenta/perfil': case '/my-account/profile': cleandataactividad(); calldataactividad(); break; case '/mi-cuenta/seguidores': case '/my-account/followers': cleandatafollowers(); calldataactividadseguidores(); break; case '/mi-cuenta/siguiendo': case '/my-account/following': cleandatafollowers(); calldataactividadsiguiendo(); break; // cuando se da clic a seguir a un chef desde la busqueda case '/buscar': case '/search': // console.log('para que tarde 4 segundos en ejecutarse lo siguiente'); setTimeout( function() { //debugger nodesearchnewq = WA.toDOM('searchlist-q'); busquedanewq = new URLSearchParams(location.search); valornewq = busquedaq.get('q'); if(valornewq != null) nodesearchnewq.innerHTML = valornewq; //window.location.reload(); cleandatabusqueda(); callnuevabusqueda(valornewq); }, 4000); break; default: setTimeout( function() { window.location.reload(); }, 4000); // window.location.reload(); } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemaseguir')); } } function buscachefs(chefbuscar) { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatabuscachefs, false); r.addParameter('v', 1 ); r.addParameter('type', 'getfriends' ); r.addParameter('key', chefbuscar ); r.addParameter('quantity', 6 ); r.addParameter('page', 1 ); r.addParameter('device', KL.device ); r.addParameter('language', KL.language ); r.addParameter('human', 1 ); r.send(); } function getdatabuscachefs(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; code.myaccount = 1; //if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') ) if ( KL.Modules.client.clientpro ) { // console.log('chef pro'); code.sesionprochef = 'true'; }else{ if (KL.Modules.client.clientlogged) { // console.log('chef normal'); code.sesionprochef = 'false'; } else{ // console.log('no hay chef'); code.sesionprochef = null; } } // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); if (code.quantity >= 5) noderesultadosbuscar.style.height = "365px"; else if((code.quantity == 0)){ noderesultadosbuscar.style.height = "auto"; noderesultadosbuscar.innerHTML = "
" + WA.i18n.getMessage('txtnoresultadoschefs') + "
"; } else noderesultadosbuscar.style.height = "auto"; /* if (KL.Modules.client.clientlogged) console.log('respuesta getdatabuscachefs - cliente conectado'); */ ndiv = WA.createDomNode('div', null, null); ndiv.style = "clear: both;"; ndiv.innerHTML = text; noderesultadosbuscar.appendChild(ndiv); // set next, data into more = code.more //nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } this.buscausuarios = buscausuarios; function buscausuarios() { //debugger var txtbuscaamigo = WA.toDOM("perfil-buscaamigo").value; flagsearch = true; noderesultadosbuscar = WA.toDOM('perfil-amigos-chef-resultados'); noderesultadosbuscar.style.height = "0px"; noderesultadosbuscar.innerHTML = ""; buscachefs(txtbuscaamigo); } this.enterKeyPressed = enterKeyPressed; function enterKeyPressed(event) { if (event.keyCode == 13) { buscausuarios(); } else { return; } } // borrar items de colecciones(favoritos) function calldatafavoritos() { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatalistafavoritos, false); r.addParameter('v', 1 ); r.addParameter('type', 'collectionfavorite' ); r.addParameter('quantity', 16 ); r.addParameter('page', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdatalistafavoritos(request) { //debugger var nodenext; code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); ndiv.style = "clear: both;"; ndiv.innerHTML = text; nodelistafavoritos.appendChild(ndiv); nodenext = WA.toDOM('client-favorites-list-next'); // set next, data into more = code.more nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } // borrar items de colecciones(detalle colecciones) function calldatacoldetalle() { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatacoldetalle, false); r.addParameter('v', 1 ); r.addParameter('type', 'collectiondetalle' ); r.addParameter('key', idcoleccion ); r.addParameter('quantity', 16 ); r.addParameter('page', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdatacoldetalle(request) { //debugger var nodenext; code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); ndiv.style = "clear: both;"; ndiv.innerHTML = text; nodelistafavoritos.appendChild(ndiv); nodenext = WA.toDOM('client-coleccion-detalle-list-next'); // set next, data into more = code.more nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } this.borraItemcoleccion = borraItemcoleccion; function borraItemcoleccion(tipoelemento,claveelemento) { //debugger tipoitem = tipoelemento; idelemento = claveelemento; KL.Modules.modal.confirma(WA.i18n.getMessage("txtpreguntaeliminaitemcoleccion"), WA.i18n.getMessage("txtopcionsi"), WA.i18n.getMessage("txtopcionno"), confirmaBorraItemColeccion); } this.confirmaBorraItemColeccion = confirmaBorraItemColeccion; //function confirmaBorraItemColeccion(tipoitem,idelemento) function confirmaBorraItemColeccion(id) { if(id == 1){ if(WA.toDOM('iditemcoleccion')) { idcoleccion = parseInt(WA.toDOM('iditemcoleccion').value); // var idcoleccion = WA.toDOM('iditemcoleccion').value; // console.log('id coleccion favorito: ' + idcoleccion); nombrecoleccion = WA.toDOM('nombre-coleccion').innerHTML; } else return; var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/collection', 'POST', null, getdataborraitemcol, false); r.addParameter('trx', 1 ); r.addParameter('service', 'deleteobject' ); r.addParameter('key', idelemento ); r.addParameter('type', tipoitem ); r.addParameter('collection', idcoleccion ); r.addParameter('device', KL.device ); r.addParameter('language', KL.language ); r.addParameter('human', 1 ); r.send(); } if(id == 2) return; } function getdataborraitemcol(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") { KL.Modules.modal.alerta(WA.i18n.getMessage('txtborradofavorito') + nombrecoleccion); if(WA.toDOM('client-favorites-list')) { cleandatacolfav(); calldatafavoritos(); } if(WA.toDOM('client-coleccion-detalle-list')) { cleandatacoldetalle(); calldatacoldetalle(); } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemaeliminaobjcol')); } } this.callnuevabusqueda = callnuevabusqueda; function callnuevabusqueda(valornewsearch) { // debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/search', 'POST', null, getdatanuevabusqueda, false); r.addParameter('v', 1 ); r.addParameter('q', valornewsearch); r.addParameter('device', KL.device ); r.addParameter('language', KL.language ); r.addParameter('quantity', 18 ); r.addParameter('order', 1 ); r.addParameter('multimedia', 1 ); r.addParameter('page', 1 ); r.send(); } function getdatanuevabusqueda(request) { // debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; //if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') ) if ( KL.Modules.client.clientpro ) { // console.log('chef pro'); code.sesionprochef = 'true'; }else{ if (KL.Modules.client.clientlogged) { // console.log('chef normal'); code.sesionprochef = 'false'; } else{ // console.log('no hay chef'); code.sesionprochef = null; } } node = WA.toDOM('searchlist'); nodenext = WA.toDOM('searchlist-next'); //nodenext.onclick = next; // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); ndiv.style = "display: none"; node.appendChild(ndiv); ndiv.innerHTML = text; while (n = ndiv.firstChild) { node.appendChild(n); } ndiv.parentNode.removeChild(ndiv) // set next, data into more = code.more nodenext.style.display = more?"block":"none"; // analyze img and ads and an // KL.loader.callHooksLoad(); KL.loader.callHooksPostLoad(); } } // client-perfil portugues var translation = { "txtahorasigueschef": "Agora você segue o chef", "txtahorasiguescreador": "Agora você segue o criador", "txtproblemaseguir": "Ocorreu um problema, tente seguir outro usuário", "txtnoresultadoschefs": "Nenhum resultado de pesquisa encontrado", "txtdejasteseguirachef": "Você parou de seguir o chef", "txtdejasteseguiracreador": "Você parou de seguir o criador", "txtproblemadejarseguir": "Ocorreu um problema, tente parar de seguir o chef mais tarde", "txtborradofavorito": "O item selecionado foi removido da sua lista: ", "txtproblemaeliminaobjcol": "Ocorreu um problema, tente excluir o item selecionado mais tarde", "txtpreguntaeliminaitemcoleccion": "Tem certeza de que deseja excluir este item de sua coleção?", "txtopcionsi": "Sim", "txtopcionno": "Não", }; WA.i18n.loadMessages(translation); KL.Modules.recipelist = new function() { var self = this; var node = null; var nodemasnuevo = null; var noderecomendado = null; var nodemaspopular = null; var nodenext = null; var actual = 1; var type = ""; var key = ""; var page = 1; var quantity = 10; var more = false; var total = 0; function cleandata() { node.innerHTML = ""; page = 1; } function calldata() { var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feed', 'POST', null, getdata, false); r.addParameter('v', 1 ); r.addParameter('type', type ); r.addParameter('key', key ); r.addParameter('device', KL.device ); r.addParameter('language', KL.language ); r.addParameter('quantity', quantity ); r.addParameter('order', actual ); r.addParameter('page', page ); r.addParameter('human', 1 ); r.send(); } function getdata(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') ) { // console.log('chef pro'); code.sesionprochef = 'true'; }else{ if (KL.Modules.client.clientlogged) { // console.log('chef normal'); code.sesionprochef = 'false'; } else{ // console.log('no hay chef'); code.sesionprochef = null; } } // inject into template template = WA.templater`${['loop', 'payload','feed_payload']}`; text = template(code); ndiv = WA.createDomNode('div', null, null); ndiv.style = "clear: both;"; ndiv.innerHTML = text; node.appendChild(ndiv); // set next, data into more = code.more nodenext.style.display = more?"block":"none"; // analyze img and ads and an KL.loader.callHooksPostLoad(); } function next() { if (!more) return; page++; calldata(); } function masnuevo() { if (actual == 1) return; actual = 1; nodemasnuevo.className = "recipelist-button on"; noderecomendado.className = "recipelist-button"; nodemaspopular.className = "recipelist-button"; // seek new list cleandata(); calldata(); } function recomendado() { if (actual == 2) return; actual = 2; nodemasnuevo.className = "recipelist-button"; noderecomendado.className = "recipelist-button on"; nodemaspopular.className = "recipelist-button"; // seek new list cleandata(); calldata(); } function maspopular() { if (actual == 3) return; actual = 3; nodemasnuevo.className = "recipelist-button"; noderecomendado.className = "recipelist-button"; nodemaspopular.className = "recipelist-button on"; // seek new list cleandata(); calldata(); } function load() { node = WA.toDOM('recipelist'); if (!node) return; nodemasnuevo = WA.toDOM('recipelist-masnuevo'); nodemasnuevo.onclick = masnuevo; noderecomendado = WA.toDOM('recipelist-recomendado') noderecomendado.onclick = recomendado; nodemaspopular = WA.toDOM('recipelist-maspopular') nodemaspopular.onclick = maspopular; nodenext = WA.toDOM('recipelist-next'); nodenext.onclick = next; type = node.dataset.type; key = node.dataset.key; quantity = parseInt(node.dataset.quantity, 10); page = parseInt(node.dataset.page, 10); more = node.dataset.more=="true"; total = parseInt(node.dataset.total, 10); // If more: adds the "get next page" button nodenext.style.display = more?"block":"none"; } function unload() { if (!node) return; nodemasnuevo.onclick = function() {}; noderecomendado.onclick = function() {}; nodemaspopular.onclick = function() {}; nodenext.onclick = function() {}; nodemasnuevo = null; noderecomendado = null; nodemaspopular = null; nodenext = null; node = null; } KL.loader.addHookLoad('recipelist', load); KL.loader.addHookUnload('recipelist', unload); } KL.Modules.listasuper = new function() { var node = null; var nombreingrediente; var itemextraingrediente; var itemdeletereceta; var bloquerefrescar; var bloquerefrescarthumb; var bloquerefrescarextra; var bloquerefrescardescartado; var templaterefrescar; var templaterefrescarextra; var templaterefrescardescartado; var modoserviciolista; var modoserviciolistaextra; var modoserviciolistadescartado; var idingrediente; var txtlstitulomail; var txtlsmaildestino; var flagtitulo = false; var flagmail = false; this.addNewIngredient = addNewIngredient; function addNewIngredient() { //debugger if(!WA.toDOM('lista-super-input-add-ingrediente')) return; nombreingrediente = WA.toDOM('lista-super-input-add-ingrediente').value; if( nombreingrediente != '') dataAddIngrediente(nombreingrediente); else return; } /* agregar ingrediente extra */ this.dataAddIngrediente = dataAddIngrediente; function dataAddIngrediente(txtnombreingrediente) { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getDataAddIngrediente, false); r.addParameter('trx', 1 ); r.addParameter('service', 'addingredient' ); r.addParameter('ingredientname', txtnombreingrediente ); r.addParameter('device', KL.device ); r.addParameter('language', KL.language ); r.addParameter('human', 1 ); r.send(); } function getDataAddIngrediente(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") { KL.Modules.modal.notifica(WA.i18n.getMessage('txtextraingredienteadd')); if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) { setTimeout( function() { modoserviciolistaextra = 'recipe' cleandatalistasuperextra('lista-super-area-data-ing-extras'); calldatalistasuperextra('listadosupextras'); }, 4000); } if( WA.toDOM('area-lista-super-data-porpasillo').style.display == 'block' ) { setTimeout( function() { modoserviciolistaextra = 'aisle' cleandatalistasuperextra('lista-super-area-data-ing-extras-pasillo'); calldatalistasuperextra('listadosupextraspasillo'); }, 4000); } WA.toDOM('lista-super-input-add-ingrediente').value=''; } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemaaddextraingrediente')); } WA.toDOM('lista-super-input-add-ingrediente').focus(); } function cleandatalistasuper(idbloque) { //debugger bloquerefrescar = idbloque; nodelistasuper = WA.toDOM(bloquerefrescar); nodelistasuper.innerHTML = ""; page = 1; } function cleandatalistasuperextra(idbloque) { //debugger bloquerefrescarextra = idbloque; nodelistasuper = WA.toDOM(bloquerefrescarextra); nodelistasuper.innerHTML = ""; page = 1; } function cleandatalistasuperdescartados(idbloque) { //debugger bloquerefrescardescartado = idbloque; nodelistasuper = WA.toDOM(bloquerefrescardescartado); nodelistasuper.innerHTML = ""; page = 1; } function cleandatathumblistasuper(idbloque) { //debugger bloquerefrescarthumb = idbloque; nodelistasuper = WA.toDOM(bloquerefrescarthumb); nodelistasuper.innerHTML = ""; page = 1; } function calldatalistasuper(idtemplate) { //debugger templaterefrescar = idtemplate; var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getdatalistasuper, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'list' ); //r.addParameter('mode', 'recipe' ); if ( (modoserviciolista == null) || (modoserviciolista == '') ) r.addParameter('mode', 'list' ); else r.addParameter('mode', modoserviciolista ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdatalistasuper(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; nodelistasuper = WA.toDOM( bloquerefrescar ); // inject into template template = WA.templater`${['loop', 'payload', templaterefrescar]}`; text = template(code); nodelistasuper.innerHTML = text; // analyze img and ads and an KL.loader.callHooksPostLoad(); } function calldatalistasuperdescartados(idtemplate) { //debugger templaterefrescardescartado = idtemplate; var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getcalldatalistasuperdescartados, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'list' ); //r.addParameter('mode', 'recipe' ); if ( (modoserviciolistadescartado == null) || (modoserviciolistadescartado == '') ) r.addParameter('mode', 'list' ); else r.addParameter('mode', modoserviciolistadescartado ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getcalldatalistasuperdescartados(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; nodelistasuper = WA.toDOM( bloquerefrescardescartado ); // inject into template template = WA.templater`${['loop', 'payload', templaterefrescardescartado]}`; text = template(code); nodelistasuper.innerHTML = text; // analyze img and ads and an KL.loader.callHooksPostLoad(); } function calldatalistasuperextra(idtemplate) { //debugger templaterefrescarextra = idtemplate; var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getcalldatalistasuperextra, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'list' ); //r.addParameter('mode', 'recipe' ); if ( (modoserviciolistaextra == null) || (modoserviciolistaextra == '') ) r.addParameter('mode', 'recipe' ); else r.addParameter('mode', modoserviciolistaextra ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getcalldatalistasuperextra(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; nodelistasuper = WA.toDOM( bloquerefrescarextra ); // inject into template template = WA.templater`${['loop', 'payload', templaterefrescarextra]}`; text = template(code); nodelistasuper.innerHTML = text; // analyze img and ads and an KL.loader.callHooksPostLoad(); } function calldatathumblistasuper() { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getdatalistasuperthumb, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'list' ); r.addParameter('mode', 'recipe' ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getdatalistasuperthumb(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; nodelistasuper = WA.toDOM('lista-super-area-thumb-data'); // inject into template template = WA.templater`${['loop', 'payload','thumblistadosup']}`; text = template(code); nodelistasuper.innerHTML = text; // analyze img and ads and an KL.loader.callHooksPostLoad(); } /* borrar un ingrediente extra */ this.deleteExtraIngredient = deleteExtraIngredient; function deleteExtraIngredient(claveelemento) { //debugger itemextraingrediente = claveelemento; KL.Modules.modal.confirma(WA.i18n.getMessage("txtseguroeliminaextraing"), WA.i18n.getMessage("txtopcionsi"), WA.i18n.getMessage("txtopcionno"), confirmaBorraItemExtraIng); } this.confirmaBorraItemExtraIng = confirmaBorraItemExtraIng; function confirmaBorraItemExtraIng(id) { //debugger if(id == 1){ var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getconfirmaBorraItemExtraIng, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'deleteingredient' ); r.addParameter('extrakey', itemextraingrediente ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } if(id == 2) return; } function getconfirmaBorraItemExtraIng(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") { KL.Modules.modal.notifica(WA.i18n.getMessage('txtconfirmadeleteitemextraing')); if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) { setTimeout( function() { modoserviciolistaextra = 'recipe' cleandatalistasuperextra('lista-super-area-data-ing-extras'); calldatalistasuperextra('listadosupextras'); }, 4000); } if( WA.toDOM('area-lista-super-data-porpasillo').style.display == 'block' ) { setTimeout( function() { modoserviciolistaextra = 'aisle' cleandatalistasuperextra('lista-super-area-data-ing-extras-pasillo'); calldatalistasuperextra('listadosupextraspasillo'); }, 4000); } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemadeleteitemextraing')); } } /* recupera un ingrediente de la lista de descartados */ /* para pasar un ingrediente normal a la lista de los descartados y visceversa (0 = normal, 1= extra, 2 = descartados) */ this.recuperaingrediente = recuperaingrediente; function recuperaingrediente(idingrediente) { //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getRecuperaIngrediente, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'updateingredient' ); r.addParameter('ingredient', idingrediente ); r.addParameter('active', 0 ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } function getRecuperaIngrediente(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") { KL.Modules.modal.notifica(WA.i18n.getMessage('txtingrecuperado')); if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) { setTimeout( function() { modoserviciolista = 'recipe' cleandatalistasuper('lista-super-area-data-porreceta'); calldatalistasuper('listadosup'); }, 4000); setTimeout( function() { modoserviciolistadescartado = 'recipe' cleandatalistasuperdescartados('lista-super-area-data-ing-descartados'); calldatalistasuperdescartados('listadosupdescartados'); }, 5000); } if( WA.toDOM('area-lista-super-data-porpasillo').style.display == 'block' ) { setTimeout( function() { modoserviciolista = 'aisle' cleandatalistasuper('lista-super-area-data-porpasillo'); calldatalistasuper('listadosuppasillo'); }, 4000); setTimeout( function() { modoserviciolistadescartado = 'aisle' cleandatalistasuperdescartados('lista-super-area-data-ing-descartados-pasillo'); calldatalistasuperdescartados('listadosuppasillodescartados'); }, 5000); } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemaingrecuperado')); } } /* manda un ingrediente de la lista de descartados */ /* borrar receta de la ista del super */ this.descartaIngrediente = descartaIngrediente; function descartaIngrediente(claveelemento) { //debugger idingrediente = claveelemento; KL.Modules.modal.confirma(WA.i18n.getMessage("txtsegurodeleteing"), WA.i18n.getMessage("txtopcionsi"), WA.i18n.getMessage("txtopcionno"), confirmaDescartaIngrediente); } /* para pasar un ingrediente normal a la lista de los descartados y visceversa (0 = normal, 1= extra, 2 = descartados) */ this.confirmaDescartaIngrediente = confirmaDescartaIngrediente; function confirmaDescartaIngrediente(id) { //debugger if(id == 1){ var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getdescartaIngrediente, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'updateingredient' ); r.addParameter('ingredient', idingrediente ); r.addParameter('active', 2 ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } if(id == 2) return; } function getdescartaIngrediente(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") { KL.Modules.modal.notifica(WA.i18n.getMessage('txtingdescartado')); if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) { setTimeout( function() { modoserviciolista = 'recipe' cleandatalistasuper('lista-super-area-data-porreceta'); calldatalistasuper('listadosup'); }, 4000); setTimeout( function() { modoserviciolistadescartado = 'recipe' cleandatalistasuperdescartados('lista-super-area-data-ing-descartados'); calldatalistasuperdescartados('listadosupdescartados'); }, 5000); } if( WA.toDOM('area-lista-super-data-porpasillo').style.display == 'block' ) { setTimeout( function() { modoserviciolista = 'aisle' cleandatalistasuper('lista-super-area-data-porpasillo'); calldatalistasuper('listadosuppasillo'); }, 4000); setTimeout( function() { modoserviciolistadescartado = 'aisle' cleandatalistasuperdescartados('lista-super-area-data-ing-descartados-pasillo'); calldatalistasuperdescartados('listadosuppasillodescartados'); }, 5000); } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemadeletedescartado')); } } /* borrar receta de la ista del super */ this.deleteRecetaLista = deleteRecetaLista; function deleteRecetaLista(claveelemento) { //debugger itemdeletereceta = claveelemento; KL.Modules.modal.confirma(WA.i18n.getMessage("txtseguroeliminareceta"), WA.i18n.getMessage("txtopcionsi"), WA.i18n.getMessage("txtopcionno"), confirmaBorraReceta); } this.confirmaBorraReceta = confirmaBorraReceta; function confirmaBorraReceta(id) { //debugger if(id == 1){ var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getconfirmaBorraReceta, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'deleterecipe' ); r.addParameter('key', itemdeletereceta ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } if(id == 2) return; } function getconfirmaBorraReceta(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") { KL.Modules.modal.notifica(WA.i18n.getMessage('txtconfirmadeletereceta')); if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) { setTimeout( function() { modoserviciolista = 'recipe' cleandatalistasuper('lista-super-area-data-porreceta'); calldatalistasuper('listadosup'); }, 4000); if(KL.device == 'pc'){ setTimeout( function() { modoserviciolista = 'recipe'; cleandatathumblistasuper('lista-super-area-thumb-data'); calldatathumblistasuper(); }, 5000); } } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemadeletereceta')); } } /* borrar por completo la lista del super */ this.deleteListaSuper = deleteListaSuper; function deleteListaSuper() { //debugger KL.Modules.modal.confirma(WA.i18n.getMessage("txtseguroeliminalistasuper"), WA.i18n.getMessage("txtopcionsi"), WA.i18n.getMessage("txtopcionno"), confirmaBorraListaSuper); } this.confirmaBorraListaSuper = confirmaBorraListaSuper; function confirmaBorraListaSuper(id) { //debugger if(id == 1){ var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getconfirmaBorraListaSuper, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'deletelist' ); //r.addParameter('key', itemdeletereceta ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } if(id == 2) return; } function getconfirmaBorraListaSuper(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") { KL.Modules.modal.notifica(WA.i18n.getMessage('txtconfirmadeletelistasuper')); if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) { setTimeout( function() { modoserviciolista = 'recipe'; cleandatalistasuper('lista-super-area-data-porreceta'); calldatalistasuper('listadosup'); }, 100); setTimeout( function() { modoserviciolistaextra = 'recipe'; cleandatalistasuperextra('lista-super-area-data-ing-extras'); calldatalistasuperextra('listadosupextras'); }, 500); setTimeout( function() { modoserviciolistadescartado = 'recipe'; cleandatalistasuperdescartados('lista-super-area-data-ing-descartados'); calldatalistasuperdescartados('listadosupdescartados'); }, 600); } if( WA.toDOM('area-lista-super-data-porpasillo').style.display == 'block' ) { setTimeout( function() { modoserviciolista = 'aisle'; cleandatalistasuper('lista-super-area-data-porpasillo'); calldatalistasuper('listadosuppasillo'); }, 100); setTimeout( function() { modoserviciolistaextra = 'aisle'; cleandatalistasuperextra('lista-super-area-data-ing-extras-pasillo'); calldatalistasuperextra('listadosupextraspasillo'); }, 500); setTimeout( function() { modoserviciolistadescartado = 'aisle'; cleandatalistasuperdescartados('lista-super-area-data-ing-descartados-pasillo'); calldatalistasuperdescartados('listadosuppasillodescartados'); }, 900); } if(KL.device == 'pc'){ setTimeout( function() { modoserviciolista = 'recipe'; cleandatathumblistasuper('lista-super-area-thumb-data'); calldatathumblistasuper(); }, 200); } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemadeletelistasuper')); } } // para mostrar lista ya sea por receta o pasillo var idbloquelista = ''; var listaabierta = false; this.abreLista = abreLista; function abreLista(bloquedivlista) { //debugger WA.toDOM('lista-super-data-gral').style.display = 'none'; if(bloquedivlista == 'porreceta') { esconderLista('porpasillo'); muestraLista(bloquedivlista); return; } if(bloquedivlista == 'porpasillo') { esconderLista('porreceta'); muestraLista(bloquedivlista); return; } } function esconderLista(bloquedivlista) { //debugger idbloquelista = bloquedivlista; WA.toDOM('area-lista-super-data-' + idbloquelista).style.display = 'none'; if(KL.device == 'mobile'){ WA.toDOM('lista-super-btn-' + idbloquelista).classList.remove('on'); } listaabierta = false; } function muestraLista(bloquedivlista) { //debugger idbloquelista = bloquedivlista; if(listaabierta) esconderLista(idbloquelista) if(idbloquelista == 'porreceta') { setTimeout( function() { modoserviciolista = 'recipe'; cleandatalistasuper('lista-super-area-data-porreceta'); calldatalistasuper('listadosup'); }, 100); setTimeout( function() { modoserviciolistaextra = 'recipe'; cleandatalistasuperextra('lista-super-area-data-ing-extras'); calldatalistasuperextra('listadosupextras'); }, 500); setTimeout( function() { modoserviciolistadescartado = 'recipe'; cleandatalistasuperdescartados('lista-super-area-data-ing-descartados'); calldatalistasuperdescartados('listadosupdescartados'); }, 900); } if(idbloquelista == 'porpasillo') { setTimeout( function() { modoserviciolista = 'aisle'; cleandatalistasuper('lista-super-area-data-porpasillo'); calldatalistasuper('listadosuppasillo'); }, 100); setTimeout( function() { modoserviciolistaextra = 'aisle'; cleandatalistasuperextra('lista-super-area-data-ing-extras-pasillo'); calldatalistasuperextra('listadosupextraspasillo'); }, 500); setTimeout( function() { modoserviciolistadescartado = 'aisle'; cleandatalistasuperdescartados('lista-super-area-data-ing-descartados-pasillo'); calldatalistasuperdescartados('listadosuppasillodescartados'); }, 900); } //debugger WA.toDOM('area-lista-super-data-' + idbloquelista).style.display = 'block'; setTimeout( function() { WA.toDOM('lista-super-data-gral').style.display = 'block'; }, 1000); if(KL.device == 'mobile'){ WA.toDOM('lista-super-btn-' + idbloquelista).classList.add('on'); } listaabierta = true; } /* autoincrementar la altura del text area dentro de popup */ this.autoCreceLsPopup = autoCreceLsPopup; function autoCreceLsPopup() { WA.toDOM('lista-super-mensaje').style.height = "106px"; WA.toDOM('lista-super-mensaje').style.height = (WA.toDOM('lista-super-mensaje').scrollHeight)+"px"; } this.showEnviarLsLightBox = showEnviarLsLightBox; function showEnviarLsLightBox() { /* debugger if(!WA.toDOM('lista-super-div-envia-mail')) return; var enviopor; var data = WA.toDOM('lista-super-div-envia-mail').outerHTML; KL.Modules.modal.buildpopup(data); KL.Modules.modal.showpopup({closeable:true}); //WA.toDOM('popup').children[0].style.display = 'block'; WA.toDOM('popup').children[0].style.display = 'flex'; WA.toDOM('body').style.position = 'fixed'; */ if(!WA.toDOM('lista-super-div-envia-mail')) return; var data = WA.toDOM('lista-super-div-envia-mail').outerHTML; // si está visualizandose la lista del super por receta if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) enviopor = WA.i18n.getMessage('txtcompartolsreceta'); // si está visualizandose la lista del super por pasillo if( WA.toDOM('area-lista-super-data-porpasillo').style.display == 'block' ) enviopor = WA.i18n.getMessage('txtcompartolspasillo'); data= "
" + "
" + "
" + WA.i18n.getMessage('txttitdivenviarporls') + "
" + "" + "" + "" + "
" + WA.i18n.getMessage('txttbtnenviarpopupls') + "
" + "
"; KL.Modules.modal.buildpopup(data); KL.Modules.modal.showpopup({closeable:true}); //WA.toDOM('popup').children[0].style.display = 'block'; WA.toDOM('popup').children[0].style.display = 'flex'; WA.toDOM('body').style.position = 'fixed'; } this.cerrarEnviarLsLightBox = cerrarEnviarLsLightBox; function cerrarEnviarLsLightBox() { KL.Modules.modal.hidepopup(); } function lsvalidatitulomail(txtsubjectmail) { //debugger var inputlstxtsubject = String(txtsubjectmail); if (inputlstxtsubject != '') { var numchartxtsubject = inputlstxtsubject.length; if ( (numchartxtsubject <= 3) || (numchartxtsubject >= 50) ) { txtlstitulomail = 'Lista del súper de ' + WA.toDOM('lista-super-data-clientname').value; } else { txtlstitulomail = txtsubjectmail; } } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtingresartitmailvalido')); WA.toDOM('lista-super-input-add-ingrediente').focus(); flagtitulo = false; } } function lsvalidamaildestino(txtdatamail) { //debugger emailRegex = /^[-\w.%+]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$/i; //Se muestra un texto a modo de ejemplo, luego va a ser un icono if (emailRegex.test(txtdatamail)) { txtlsmaildestino = txtdatamail; flagmail = true; } else { KL.Modules.modal.notifica(WA.i18n.getMessage('txtingresardirmailvalido')); flagmail = false; WA.toDOM('lista-super-mail').focus(); } } this.enviarListaSuper = enviarListaSuper; function enviarListaSuper() { //debugger var txtlsmensaje = WA.toDOM('lista-super-mensaje').value; txtlstitulomail = WA.toDOM('lista-super-titulo-mail').value; if( txtlstitulomail != '') { //console.log('valor txtlstitulomail: ' + txtlstitulomail); lsvalidatitulomail(txtlstitulomail); } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txttitulomail')); return; } txtlsmaildestino = WA.toDOM('lista-super-mail').value; if( txtlsmaildestino != '') { //console.log('valor txtlsmaildestino: ' + txtlsmaildestino); lsvalidamaildestino(txtlsmaildestino); } else{ KL.Modules.modal.notifica(WA.i18n.getMessage('txtdireccionmail')); flagmail = false; } if (flagmail != true) return; //debugger var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/shoppinglist', 'POST', null, getenviarListaSuper, false); r.addParameter('v', 1 ); r.addParameter('trx', 1 ); r.addParameter('service', 'sendemail' ); r.addParameter('titulo', txtlstitulomail); r.addParameter('correo', txtlsmaildestino); r.addParameter('mensaje', txtlsmensaje ); // si está visualizandose la lista del super por receta if( WA.toDOM('area-lista-super-data-porreceta').style.display == 'block' ) r.addParameter('mode', 'recipe' ); // si está visualizandose la lista del super por pasillo if( WA.toDOM('area-lista-super-data-porpasillo').style.display == 'block' ) r.addParameter('mode', 'aisle' ); r.addParameter('order', 1 ); r.addParameter('language', KL.language ); r.addParameter('device', KL.device ); r.addParameter('human', 1 ); r.send(); } screen.height function getenviarListaSuper(request) { //debugger code = JSON.parse(request.responseText); code.siteorigin = KL.rootsite; if (code.status == "ok") KL.Modules.modal.notifica(WA.i18n.getMessage('txtconfirmalsenviamail') + txtlsmaildestino); else KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemalsenviamail')); // cierra popup cerrarEnviarLsLightBox(); } this.imprimeListaSuper = imprimeListaSuper; function imprimeListaSuper() { if(navigator.appName.indexOf('Microsoft Internet Explorer') != -1) { window.showModelessDialog(KL.mydomains + '/mi-cuenta/lista-super/imprimir-lista-super','','dialogTop:0px;dialogLeft:0px;dialogHeight:' + screen.height + 'px;dialogWidth:' + screen.width + 'px') } if(navigator.appName.indexOf('Netscape') != -1) { window.open(KL.mydomains + '/mi-cuenta/lista-super/imprimir-lista-super','','width=' + screen.width + 'px,height=' + screen.height + 'px,left=0,top=0');void 0 } return false; } this.verificaconectadols = verificaconectadols; function verificaconectadols(){ if (KL.Modules.client.clientlogged) { location.href = "/mi-cuenta/lista-super/imprimir-lista-super"; return true; } KL.Modules.stat.registerEvent('lista-super', 'lista-super/gologin'); KL.Modules.stat.registerEventGA4('lista-super/gologin', {'send_to': 'G-X0MHE23QYB'}); KL.loader.loadPage("/login"); return false; } function load() { //debugger // disparar unicamente en la pagina /mi-cuenta/seguidores node = WA.toDOM('lista-super-page-principal'); if (!node) return; if (!KL.Modules.client.clientlogged) window.location.href = ('/login/social?p=/mi-cuenta/lista-super'); } function unload() { if (!node) return; node = null; } KL.loader.addHookLoad('listasuper', load); KL.loader.addHookUnload('listasuper', unload); } KL.loader.createCSS(`.tools-shadow { position: absolute; top: 0px; bottom: 0px; width: 100%; background-color: #222222; opacity: 0.2; z-index: 1; } .tools-container { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; z-index: 1; } .tools-container .icon-k7-tools-close:before { content: "\\e946"; font-size: 16px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); } .tools-container .icon-k7-tools-menuplanner:before { content: "\\e90c"; font-size: 16px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); } .tools-container .icon-k7-tools-shoppinglist:before { content: "\\e90a"; font-size: 15px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); } .tools-container .icon-k7-tools-collections:before { content: "\\e907"; font-size: 15px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); } .tools-container .icon-k7-tools-favorites-empty:before { content: "\\e908"; font-size: 16px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); } .tools-container.icon-k7-tools-favorites-full:before { content: "\\e924"; font-size: 16px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); } .tools-container>div { border-radius: 100%; position: absolute; right: 0px; top: 0px; cursor: pointer; text-align: left; } .tools-close, .tools-menuplanner, .tools-shoppinglist, .tools-collections, .tools-favorites{ background-color: #8cc63e; color: #ffffff; height: 30px; width: 30px; } .tools-favorites{ background-color: #ff0000; } .tools-close{ background-color: #eeeeee; color: #888; } .tools-coleccionentrada { height: 15px; cursor: pointer; padding: 5px; } .tools-coleccionentrada:hover { background-color: #ccc; } `); KL.loader.createCSS(`/* generico */ .feed-articulolarge-thumb-titulo-seccion{ background-color: #8cc63e; } /* nutricion */ .feed-articulolarge-thumb-titulo-seccion.id_tema_11{ background-color: #9ec410; } /* bebidas */ .feed-articulolarge-thumb-titulo-seccion.id_tema_30{ background-color: #f05d7f; } /* comida vegana */ .feed-articulolarge-thumb-titulo-seccion.id_tema_1{ background-color: #28d9ff; } /* dieta */ .feed-articulolarge-thumb-titulo-seccion.id_tema_44{ background-color: #2e94ba; } /* reposteria */ .feed-articulolarge-thumb-titulo-seccion.id_tema_20{ background-color: #efc950; } /* tips cocina */ .feed-articulolarge-thumb-titulo-seccion.id_tema_54{ background-color: #f39041; } /* tips consejos */ .feed-articulolarge-thumb-titulo-seccion.id_tema_25{ background-color: #ca5dde; } .feed-divarticulolarge .tools-container, #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .tools-container{ left: 225px; } /* estilos slider top 10 */ /* estilos slider top 10 para tips kiwi / estilos slider top 10 para tips crafto */ div[id^="familiatips"] div[id^="p|kiwi|tipfamilia"], div[id^="clasificaciontips"] div[id^="p|kiwi|tipclasificacion"], div[id^="home_top10"] div[id^="p|kiwi|tiphome"], div[id^="home_top10"] div[id^="p|crafto|tiphome"], div[id^="familiatips"] div[id^="p|crafto|tipfamilia"], div[id^="clasificaciontips"] div[id^="p|crafto|tipclasificacion"], div[id^="familiatips"] div[id^="p|kiwi|tipclasificaciontop|"], div[id^="familiatips"] div[id^="p|crafto|tipclasificaciontop|"]{ width: 190px; margin: 0px 15px 0px 0px; height: 267px; } div[id^="familiatips"] div[id^="feed-tip-divimg"], div[id^="clasificaciontips"] div[id^="feed-tip-divimg"], div[id^="home_top10"] div[id^="feed-tip-divimg"]{ height: 190px; width: 190px; } div[id^="familiatips"] .feed-tip-nombreficha, div[id^="clasificaciontips"] .feed-tip-nombreficha, div[id^="home_top10"] .feed-tip-nombreficha{ font-size: 14px; max-height: 46px; line-height: 15px; text-transform: uppercase; } div[id^="familiatips"] hr, div[id^="clasificaciontips"] hr, div[id^="familiatips"] .feed-tip-nombrechef, div[id^="clasificaciontips"] .feed-tip-nombrechef, div[id^="home_top10"] div[id^="p|kiwi"] hr, div[id^="home_top10"] div[id^="p|crafto"] hr, div[id^="home_top10"] div[id^="p|kiwi"] .feed-tip-nombrechef, div[id^="home_top10"] div[id^="p|crafto"] .feed-tip-nombrechef{ display: none; } div[id^="familiatips"] div[id^="feed-tip-rating"], div[id^="clasificaciontips"] div[id^="feed-tip-rating"], div[id^="home_top10"] div[id^="p|kiwi|tiphometop"] div[id^="feed-tip-rating"], div[id^="home_top10"] div[id^="p|crafto|tiphometop"] div[id^="feed-tip-rating"]{ margin: 0px auto; padding: 0px; } /* fin estilos slider top 10 para tips */ /* area nombre ficha */ #home_top10 .recetaslider-ficha, #familiarecetas_top10 .recetaslider-ficha, #clasificacionrecetas_top10 .recetaslider-ficha, #clasificacionrecetas_top10 .compilacionrecetaslider-ficha, #clasificaciontips_top10 .tipslider-ficha, #home_tecuidalist .feed-articulo-ficha, .pro-slider-fichaspro .feed-receta-ficha{ height: 267px; } #home_top10 .recetaslider-areanombreficha, #familiarecetas_top10 .recetaslider-areanombreficha, #clasificacionrecetas_top10 .recetaslider-areanombreficha, #home_top10 .tipslider-areanombreficha, #home_top10 .articuloslider-areanombreficha{ height: 52px; } #home_top10 .recetasliderpro-areanombreficha, #familiarecetas_top10 .recetasliderpro-areanombreficha, #clasificacionrecetas_top10 .recetasliderpro-areanombreficha{ height: 52px; display: flex; align-items: center; } #home_videos .compilacionrecetaslider-areanombreficha{ height: 75px; } /* nombre de ficha */ #home_top10 .recetaslider-nombreficha, #familiarecetas_top10 .recetaslider-nombreficha, #clasificacionrecetas_top10 .recetaslider-nombreficha, #home_top10 .tipslider-nombreficha, #home_videos .compilacionrecetaslider-nombreficha, #home_top10 .articuloslider-nombreficha, #home_videos div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-nombreficha, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-nombre-articulo{ font-weight: bold; font-size: 14px; color: #000000; max-height: 46px; } #home_top10 .recetaslider-icon-pro, #familiarecetas_top10 .recetaslider-icon-pro, #clasificacionrecetas_top10 .recetaslider-icon-pro{ width: 30px; height: 30px; font-size: 20px; margin: 0px 0px 0px 10px; } #home_top10 .recetasliderpro-nombreficha, #familiarecetas_top10 .recetasliderpro-nombreficha, #clasificacionrecetas_top10 .recetasliderpro-nombreficha{ font-size: 15px; max-height: 31px; width: calc(100% - 40px); } /* rating */ #home_top10 .recetaslider-rating, #familiarecetas_top10 .recetaslider-rating, #clasificacionrecetas_top10 .recetaslider-rating, #home_top10 .tipslider-rating{ display: table; } #home_top10 div[id^="p|kiwi|"] [class$="-rating"], #home_top10 div[id^="p|crafto|"] [class$="-rating"], #familiarecetas_top10 div[id^="p|kiwi|"] [class$="-rating"], #clasificacionrecetas_top10 div[id^="p|kiwi|"] [class$="-rating"]{ padding: 0px; } /* fin estilos slider top 10 */ /* Estilos feed fichas Normal */ /* Estilo solo para los tips, ya que slider top usa la misma ficha que en feed normal */ div[id^="p|kiwi|home"].feed-tip-ficha, div[id^="tiplist"] div[id^="p|kiwi|tipfamilia"], div[id^="tiplist"] div[id^="p|kiwi|tipclasificacion"], div[id^="tiplist"] div[id^="p|kiwi|tiphome"], div[id^="tiplist"] div[id^="p|crafto|tiphome"], div[id^="tiplist"] div[id^="p|crafto|tipfamilia"], div[id^="tiplist"] div[id^="p|crafto|tipclasificacion"]{ width: 300px; margin: 0px 10px 16px; height: 275px; } div[id^="tiplist"] div[id^="feed-tip-divimg"]{ height: 194px; width: 300px; } div[id^="p|kiwi|home"].feed-tip-ficha .feed-tip-nombreficha, div[id^="tiplist"] .feed-tip-nombreficha{ font-size: 17px; max-height: 38px; line-height: 18px; } div[id^="tiplist"].feedtiplist-crafto .feed-tip-nombreficha{ font-family: poppins-semibold; font-size: 15px; font-weight: normal !important; letter-spacing: 0.5px; color: var(--color-texto-base) !important; } div[id^="p|kiwi|home"].feed-tip-ficha div[id^="feed-tip-rating"], div[id^="tiplist"] div[id^="feed-tip-rating"]{ margin: 0px 0px 0px 10px; } /* fin Estilo solo para los tips */ div[id^="p|kiwi|"][class$="-ficha"], div[id^="p|kiwirec|"][class$="-ficha"], div[id^="p|crafto|tipcompilaciones|"].feed-compilaciontip-ficha, div[id^="p|crafto|"][class$="-articulo-ficha"]{ height: 275px; } div[id^="p|kiwi|client"][class$="feed-compilaciontip-ficha"] .compilaciontip-img, div[id^="p|crafto|client"][class$="feed-compilaciontip-ficha"] .compilaciontip-img{ transform: translateY(-50%); } div[id^="p|kiwi|client"][class$="-ficha"], div[id^="p|crafto|client"][class$="-ficha"]{ width: 300px; margin: 0px 10px 16px; } #prorecipeprolist .feed-producto-ficha{ width: 200px; margin: 20px 15px; display: inline-table; float: none !important; } /* div[id^="p|kiwi|probooks|"][class$="-ficha"], div[id^="p|kiwi|prorecipes|"][class$="-ficha"], div[id^="p|kiwi|procollections|"].coleccion-venta-soloportada */ div[id^="p|kiwi|probooks|"][class$="-ficha"], div[id^="p|kiwi|procollections|"].coleccion-venta-soloportada{ height: 262px; margin: 20px 15px; width: 200px; border-radius: 5px; float: none !important; display: inline-table; } div[id^="p|kiwi|procollections|"].coleccion-venta-ficha{ float: none !important; display: inline-table; } div[id^="p|kiwi|procollections|"].coleccion-venta-ficha .coleccionventa-area{ position: absolute; top: 50%; transform: translateY(-50%); vertical-align: top; width: 100%; } div[id^="p|kiwi|probooks|"] .feed-producto-div-nombreprod, div[id^="p|kiwi|prorecipes|"] .feed-producto-div-nombreprod{ display: none; } /* estilos fichas recetas slider pro*/ .pro-slider-fichaspro div[id^="p|kiwi|probooks|"].feed-producto-ficha{ width: 200px; height: 262px; margin: 20px 15px; border-radius: 5px; } .pro-slider-fichaspro .feed-receta-ficha{ width: 190px !important; margin: 0px 30px 0px 0px !important; position: relative; } .pro-slider-fichaspro .feed-divimagenficha{ width: 190px !important; height: 190px !important; } .pro-slider-fichaspro .feed-receta-ficha img{ left: 50% !important; top: 50% !important; transform: translateX(-50%) translateY(-50%) !important; height: 100%; width: auto !important; min-width: 300px; } .pro-slider-fichaspro .feed-receta-ficha hr, .pro-slider-fichaspro .feed-receta-nombrechef{ display: none; } .pro-slider-fichaspro .feed-recetapro-icon{ margin: 0px 0px 0px 10px !important; } .pro-slider-fichaspro .feed-receta-nombreficha-centrado{ max-height: 47px !important; width: calc(100% - 40px) !important; } /* fin estilos fichas recetas slider pro*/ /* estilos fichas donde vienen cosas revueltas de kiwipro en el home */ .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-producto-ficha{ width: 200px !important; height: 272px; /* border-radius: 5px; */ margin: 0px 20px !important; background-color: #ffffff; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-producto-ficha{ float: left; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-divimagenficha, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-divimagenficha{ width: 100% !important; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-divimagenficha img, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-divimagenficha img{ height: 100%; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha:first-child, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha:first-child{ margin: 0px 20px 0px 0px !important; } #home-cont-kiwipro.home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-articulopro-divtextos-articulo, #home-cont-kiwipro.home-cont-sliderpro div[id^="p|kiwi|pro|"] [class$="recetapro-areanombreficha"]{ height: 62px; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha hr, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-receta-nombrechef{ display: none; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-receta-rating{ position: relative; display: flex !important; justify-content: center; margin: -3px 0px 0px 0px !important; padding: 0px; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-separador, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-nombre-autor{ display: none !important; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha{ float: left; } /* .home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-articulo-divimg-articulo{ border-radius: 5px; } */ .home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-recetapro-areanombreficha .feed-recetapro-icon, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-icon{ margin: 0px 0px 0px 10px !important; } .home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-recetapro-areanombreficha .feed-receta-nombreficha-centrado, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-nombre-articulo{ width: calc(100% - 40px) !important; max-height: 46px; } .home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-recetapro-areanombreficha .feed-receta-nombreficha-centrado{ max-height: 46px !important; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-nombre-articulo{ /*max-height: 34px;*/ font-size: 16px; line-height: 15px; } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-area-rating{ display: none !important; padding: 0px; bottom: -10px; left: 50%; transform: translateX(-50%); } .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulo-clasificacion-articulo{ display: block !important; position: absolute; /*bottom: -10px;*/ bottom: -11px; width: 100%; text-align: center; font-style: italic; color: #aaaaaa; box-sizing: border-box; padding: 0px 10px; } /* fin estilos fichas donde vienen cosas revueltas de kiwipro en el home */ .pro-slider-fichaspro .feed-receta-rating{ margin: 0px auto !important; padding: 0px !important; } div[id^="p|kiwi|home|"].feed-compilaciontip-ficha, div[id^="p|crafto|tipcompilaciones|"].feed-compilaciontip-ficha{ margin: 0px 10px 16px; overflow: hidden; width: 300px; } div[id^="p|crafto|tipcompilations|"].feed-compilaciontip-ficha{ margin: 0px 10px 16px; width: 300px; } div[id^="p|kiwi|procollections|"].coleccion-venta-soloportada{ text-align: left; } div[id^="p|kiwi|"] [class$="-divimg-articulo"], div[id^="p|kiwirec|"] [class$="-divimg-articulo"], div[id^="p|crafto|"] [class$="-divimg-articulo"]{ position: relative; } div[id^="p|kiwi|"] [class$="-divimg"], div[id^="p|kiwi|home|"] [class$="-divimg"], div[id^="p|kiwirec|"] [class$="-divimg"], div[id^="p|kiwirec|home|"] [class$="-divimg"], div[id^="p|kiwi|"] [class$="-divimg-articulo"], div[id^="p|kiwirec|"] [class$="-divimg-articulo"], div[id^="p|crafto|"] [class$="-divimg"], div[id^="p|crafto|"] [class$="-divimg-articulo"]{ height: 194px; overflow: hidden; } div[id^="p|kiwi|"] .feed-compilaciontip-divimg, div[id^="p|crafto|"] .feed-compilaciontip-divimg{ width: 300px; } div[id^="p|kiwi|"] .feed-compilacionreceta-divimg .compilacionreceta-img, div[id^="p|crafto|tipcompilaciones|"].feed-compilaciontip-ficha .compilaciontip-img{ height: auto; } div[id^="p|crafto|"] .feed-compilaciontip-divimg .compilaciontip-img{ transform: translateY(-50%); } #home_videos div[id^="p|crafto|"] .feed-compilaciontip-divimg .compilaciontip-img{ transform: initial; } div[id^="p|kiwi|home|"] [class$="-divimg"] .imgcompilacion{ transform: translateY(-50%); } /* estilos feed normal articulos */ div[id^="p|kiwi|"][class$="feed-articulo-ficha"], div[id^="p|kiwirec|"][class$="feed-articulo-ficha"], div[id^="p|crafto|"][class$="feed-articulo-ficha"]{ background-color: #ffffff; float: left; margin: 0px 10px 16px; overflow: hidden; position: relative; width: 300px; } div[id^="p|kiwi|"] .feed-articulopro-divtextos-articulo, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"] .feed-articulopro-divtextos-articulo{ display: flex; align-items: center; height: 52px; position: relative; } div[id^="p|kiwi|"] .feed-articulopro-area-titulo{ display: flex; align-items: center; position: relative; width: 100%; flex: auto; } #home_tecuidalist div[id^="p|kiwi|"] .feed-articulopro-icon{ margin: 0px 0px 0px 10px !important; } div[id^="p|kiwi|"] .feed-articulopro-nombre-articulo{ box-sizing: border-box; color: #8eb4b1; font-family: crimsonpro-semibold; font-size: 19px; text-transform: uppercase; width: calc(100% - 50px); line-height: 17px; max-height: 38px; overflow: hidden; padding: 0px 10px; position: absolute; right: 0px; } #home_tecuidalist div[id^="p|kiwi|"] .feed-articulopro-nombre-articulo{ font-size: 17px; line-height: 15px; max-height: 46px; width: calc(100% - 40px); text-transform: initial; } #home_tecuidalist div[id^="p|kiwi|"] .feed-articulopro-separador{ display: none !important; } div[id^="p|kiwi|"] .feed-articulo-nombre-articulo, div[id^="p|kiwirec|"] .feed-articulo-nombre-articulo, div[id^="p|crafto|"] .feed-articulo-nombre-articulo{ box-sizing: border-box; color: #000000; font-size: 17px; font-weight: bold; line-height: 18px; max-height: 38px; overflow: hidden; padding: 0px 10px; position: absolute; text-align: center; top: 50%; transform: translateY(-50%); width: 100%; } div[id^="p|kiwi|"] .feed-articulopro-desc-articulo, div[id^="p|kiwi|"] .feed-articulo-desc-articulo, div[id^="p|kiwirec|"] .feed-articulo-desc-articulo, div[id^="p|crafto|"] .feed-articulo-desc-articulo{ display: none; } div[id^="p|kiwi|"] .feed-articulopro-separador, div[id^="p|kiwi|"] .feed-articulo-separador, div[id^="p|kiwirec|"] .feed-articulo-separador, div[id^="p|crafto|"] .feed-articulo-separador{ display: block !important; bottom: -2px; } div[id^="p|kiwi|"] .feed-articulopro-nombre-autor, div[id^="p|kiwi|"] .feed-articulo-nombre-autor, div[id^="p|kiwirec|"] .feed-articulopro-nombre-autor, div[id^="p|kiwirec|"] .feed-articulo-nombre-autor, div[id^="p|crafto|"] .feed-articulo-nombre-autor{ display: block !important; position: absolute; bottom: -22px; right: 10px; font-style: italic; color: #aaaaaa; /*bottom: 7px;*/ } div[id^="p|kiwi|"] .feed-articulopro-area-rating, div[id^="p|kiwi|"] .feed-articulo-area-rating, div[id^="p|crafto|"] .feed-articulo-area-rating{ display: block !important; position: absolute; bottom: -23px; left: 10px; /*bottom: 6px;*/ height: 13px !important; } .feedtiplist-crafto div[id^="p|crafto|"] .feed-articulo-area-rating, .feedtiplist-kiwi div[id^="p|kiwi|"] .feed-articulo-area-rating, .feedtiplist-kiwirec div[id^="p|kiwirec|"] .feed-articulo-area-rating{ left: 0px; } div[id^="p|kiwi|"] .feed-articulopro-area-rating .feed-articulo-rating, div[id^="p|kiwi|"] .feed-articulo-area-rating .feed-articulo-rating, div[id^="p|kiwirec|"] .feed-articulo-area-rating .feed-articulo-rating{ color: #8cc63e; } /* fin estilos feed normal articulos */ /* estilos para ficha tips en home principal kiwi */ #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"]{ width: 600px; height: auto; margin: 0px 15px 0px 0px; } #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-divimg{ float: left; width: 265px; height: 265px; } #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-areanombreficha{ float: left; width: calc(100% - 265px); height: 265px; } #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-nombreficha-div{ color: #333333; /*font-size: 18px;*/ font-size: 20px; font-weight: bold; /*line-height: 20px;*/ line-height: 22px; margin: 0px 0px 15px; /*max-height: 62px;*/ max-height: 68px; padding: 0px 10px; overflow: hidden; text-transform: uppercase; text-align: left; } #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-descripcionficha{ box-sizing: border-box; color: #333333; font-size: 15px; font-weight: normal; line-height: 19px; max-height: 98px; overflow: hidden; padding: 0px 10px; position: relative; width: 100%; text-align: left; display: block !important; } #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-ficha-linkvertip{ font-size: 16px; color: #8cc63e; text-align: left; margin: 10px 0px 0px; padding: 0px 10px; line-height: 22px; display: block !important; } .icon-k7-link-vertip:before{content: "\\e923";} #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] hr, #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-rating, #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-nombrechef{ display: none !important; } /* estilos para ficha tips en home principal kiwi */ /* estilos home fichas notas blog */ #home_notasblog div[id^="p|kiwi|articlehome|"].feed-articulo-ficha, #home_notasblog div[id^="p|kiwirec|articlehome|"].feed-articulo-ficha{ background-color: #ffffff; width: 190px; height: 265px; float: left; position: relative; margin: 0px 15px 0px 0px; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-divimg-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-divimg-articulo{ /*height: 190px;*/ height: 180px; position: relative; overflow: hidden; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-divtextos-articulo, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-divtextos-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-divtextos-articulo{ /*height: 75px;*/ height: 85px; position: relative; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-seccion, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-seccion{ display: none; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-nombre-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-nombre-articulo{ box-sizing: border-box; line-height: 15px; overflow: hidden; /*padding: 0px 10px;*/ padding: 0px 7px; position: absolute; text-align: center; /*text-transform: uppercase;*/ top: 38%; /*transform: translateY(-50%);*/ transform: translateY(-46%); width: 100%; font-weight: bold; font-size: 14px; color: #000000; max-height: 46px; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-area-titulo{ position: absolute; top: 38%; transform: translateY(-46%); } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-icon{ margin: 0px 0px 0px 10px !important; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-nombre-articulo{ font-size: 17px; line-height: 15px; max-height: 45px; width: calc(100% - 40px) !important; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion{ background-color: #8cc63e; box-sizing: border-box; color: #ffffff; font-size: 11px; left: 0px; letter-spacing: 1px; max-width: 140px; padding: 8px 13px; position: absolute; text-transform: uppercase; top: 15px; display: block !important; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_3, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_11, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_3, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_11{ background-color: #9ec410; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_30, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_30{ background-color: #f05d7f; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_1, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_1{ background-color: #28d9ff; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_44, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_44{ background-color: #2e94ba; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_20, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_20{ background-color: #efc950; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_54, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_54{ background-color: #f39041; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_25, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_25{ background-color: #ca5dde; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-nombre-autor, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-nombre-autor{ display: block !important; box-sizing: border-box; padding: 0px 10px; text-align: center; color: #aaaaaa; font-family: 'source sans pro'; font-style: italic; font-size: 12px; height: 15px; overflow: hidden; position: absolute; bottom: 5px; right: 0px; width: 100%; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-nombre-autor{ display: block !important; left: 50%; transform: translate(-50%); bottom: 8px; font-size: 12px; width: -webkit-fit-content; width: -moz-fit-content; width: -o-fit-content; width: -ms-fit-content; width: fit-content; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-area-rating, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-area-rating, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-area-rating, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulopro-area-rating{ display: none !important; } #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-desc-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-desc-articulo{ display: none; } /* fin home estilos fichas notas blog */ /* estilos home fichas te cuida */ #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha{ background-color: #ffffff; display: table; float: left; margin: 0px 15px 0px 0px; position: relative; width: 190px; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divcontenido{ height: inherit; position: relative; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divimg-articulo{ width: 100%; /*height: 190px;*/ height: 180px; position: relative; overflow: hidden; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divimg-articulo img{ vertical-align: top; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divtextos-articulo, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"] .feed-articulopro-divtextos-articulo{ height: 62px; position: relative; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-nombre-articulo{ box-sizing: border-box; line-height: 15px; overflow: hidden; /*padding: 0px 10px;*/ padding: 0px 7px; position: absolute; text-align: center; /*text-transform: uppercase;*/ top: 50%; transform: translateY(-50%); width: 100%; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-separador{ display: none !important; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-area-rating, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulopro-area-rating{ display: block !important; color: #8cc63e; position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulopro-area-rating{ left: 50%; transform: translateX(-50%); bottom: -16px; } #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-desc-articulo, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-nombre-autor, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulopro-nombre-autor{ display: none !important; } /* fin estilos home fichas te cuida */ /* estilos fichas productos feed normal */ div[id^="p|kiwi|"] .feed-producto-divimg, div[id^="p|kiwirec|"] .feed-producto-divimg, div[id^="p|kiwi|home|"] .feed-producto-divimg{ height: 233px; } /* estilos fichas productos feed normal */ div[id^="p|kiwi|probooks|"] .feed-producto-divimg, div[id^="p|kiwi|prorecipes|"] .feed-producto-divimg{ height: 100%; } div[id^="p|kiwi|"] [class$="-areanombreficha"], div[id^="p|kiwirec|"] [class$="-areanombreficha"], div[id^="p|crafto|"] [class$="-areanombreficha"], div[id^="p|kiwi|"] .feed-articulo-divtextos-articulo, div[id^="p|kiwirec|"] .feed-articulo-divtextos-articulo, div[id^="p|crafto|"] .feed-articulo-divtextos-articulo{ height: 52px; } div[id^="p|kiwi|"] .feed-articulo-divtextos-articulo, div[id^="p|kiwirec|"] .feed-articulo-divtextos-articulo, div[id^="p|crafto|"] .feed-articulo-divtextos-articulo{ position: relative; } div[id^="p|kiwi|"] [class$="recetapro-areanombreficha"]{ height: 52px; display: flex; align-items: center; } div[id^="p|kiwi|"] .feed-compilacionreceta-areanombreficha, div[id^="p|kiwi|"] .feed-compilaciontip-areanombreficha, div[id^="p|crafto|"] .feed-compilaciontip-areanombreficha{ height: 42px; } div[id^="p|kiwi|"] .feed-compilaciontip-areanombreficha .feed-compilaciontip-nombreficha, div[id^="p|crafto|"] .feed-compilaciontip-areanombreficha .feed-compilaciontip-nombreficha{ color: #000000; font-size: 17px; font-weight: bold; line-height: 18px; max-height: 38px; } div[id^="p|kiwi|"] [class$="-titulo-seccion"], div[id^="p|kiwirec|"] [class$="-titulo-seccion"], div[id^="p|crafto|"] [class$="-titulo-seccion"]{ display: none; } div[id^="p|kiwi|"] [class$="-rating"], div[id^="p|kiwirec|"] [class$="-rating"], div[id^="p|crafto|"] [class$="-rating"]{ padding: 8px 0px 0px; } div[id^="p|crafto|client|"].feed-tip-ficha{ height: 275px; } div[id^="p|kiwi|client|"] [class$="-rating"], div[id^="p|crafto|client|"] [class$="-rating"]{ margin: 0px 0px 0px 10px; height: 275px; } div[id^="p|kiwi|"] [class$="-nombrechef"], div[id^="p|kiwirec|"] [class$="-nombrechef"], div[id^="p|crafto|"] [class$="-nombrechef"]{ bottom: 5px; } .feedtiplist-crafto div[id^="p|crafto|"] [class$="-nombrechef"]{ font-family: poppins-light !important; font-size: 11px !important; letter-spacing: 0.5px; color: var(--color-texto-base) !important; } /* Estilos feed fichas home videos compilacion craftologia / home tips kiwi */ #home_videos .feed-compilaciontip-ficha{ height: auto; margin: 0px 10px 16px; width: 300px; color: var(--color-texto-base) !important; } div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-divimg, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-divimg{ height: 222px; overflow: hidden; } div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-divimg img, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-divimg img { top: initial !important; } div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-divimg .imgcompilacion, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-divimg .imgcompilacion, div[id^="p|crafto|crosslink"] .feed-compilaciontip-divimg .compilaciontip-img{ transform: translateX(-50%) translateY(-50%); } div[id^="p|kiwi|tiphomecompilacion"] .feed-linea-separador-compilacion, div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-descripcion, div[id^="p|crafto|tiphomecompilacion"] .feed-linea-separador-compilacion, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-descripcion{ display: none; } #home_videos div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-areanombreficha, #home_videos div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-areanombreficha{ height: 75px; } div[id^="p|crafto|crosslink"] .feed-compilaciontip-divimg .compilaciontip-img{ height: inherit; } /* Fin Estilos feed fichas home videos compilacion craftologia */ /* Estilos caja recomendaciones de tips */ .tip-recomendaciones .feed-tip-ficha .feed-tippro-icon{ width: 20px !important; height: 20px !important; font-size: 13px !important; } .tip-recomendaciones .feed-tip-ficha .feed-tip-nombrefichapro-centrado{ width: calc(100% - 30px) !important; } /* Fin estilos caja recomendaciones de tips */ /* Fin Estilos feed fichas Normal */ /* Estilos feed fichas Busqueda */ div[id^="p|search|"].feed-tip-ficha{ width: 300px; margin: 0px 10px 16px; } #searchlist div[id^="p|search|"][class$="-ficha"], .searchlist-muestra{ height: 250px; } #searchlist .coleccion-venta-soloportada{ height: 250px !important; margin: 0px 10px 16px !important; width: 300px !important; } #searchlist .coleccion-venta-soloportada img{ top: 0px !important; transform: initial !important; } #te-cuida-divcont-consejos-tips #searchlist div[id^="p|search|"][class$="-ficha"]{ height: auto; } #te-cuida-divcont-consejos-tips .feed-articulo-ficha{ height: auto; } div[id^="p|search|"] .feed-tip-divimg, div[id^="p|search|"].feed-compilaciontip-ficha{ width: 300px; } div[id^="p|search|"].feed-compilaciontip-ficha{ margin: 0px 10px 16px; } div[id^="p|search|"] [class$="-divimg"]{ height: 185px; } div[id^="p|search|"] .feed-compilacionreceta-divimg, div[id^="p|search|"] .feed-compilaciontip-divimg{ height: 208px; } div[id^="p|search|"] .feed-compilaciontip-divimg .compilaciontip-img{ transform: translateY(-50%); } div[id^="p|search|"] [class$="-areanombreficha"]{ height: 42px; } div[id^="p|search|"] [class$="recetapro-areanombreficha"]{ height: 42px; display: flex; align-items: center; } div[id^="p|search|"] .feed-compilaciontip-areanombreficha .feed-compilaciontip-nombreficha{ color: #000000; font-size: 17px; font-weight: bold; line-height: 18px; max-height: 38px; } div[id^="p|search|"] .feed-tip-nombreficha{ font-size: 17px; max-height: 38px; line-height: 18px; } div[id^="p|search|"] .feed-linea-separador-compilacion, div[id^="p|search|"] .feed-compilacionreceta-descripcion, div[id^="p|search|"] .feed-compilaciontip-descripcion{ display: none; } div[id^="p|search|"] [class$="-titulo-seccion"]{ display: block; } div[id^="p|search|"] [class$="-rating"]{ padding: 4px 0px 0px; } div[id^="p|search"] div[id^="feed-tip-rating"]{ margin: 0px 0px 0px 10px; } div[id^="p|search|"] [class$="-nombrechef"]{ bottom: 3px; } /* fichas articulo */ div[id^="p|search|"].feed-articulo-ficha{ background-color: #ffffff; float: left; margin: 0px 10px 16px; overflow: hidden; position: relative; width: 300px; display: flex; flex-direction: column; } div[id^="p|search|"] .feed-articulo-divcontenido{ width: 100% } div[id^="p|search|"] .feed-articulo-divimg-articulo{ width: 100%; height: 208px; overflow: hidden; position: relative; } div[id^="p|search|"] .feed-articulo-divtextos-articulo, div[id^="p|search|"] .feed-articulopro-divtextos-articulo{ height: 42px; position: relative; } div[id^="p|search|"] .feed-articulopro-divtextos-articulo{ display: flex; align-items: center; } div[id^="p|search|"] .feed-articulo-nombre-articulo, div[id^="p|search|"] .feed-articulopro-nombre-articulo{ color: #333333; text-decoration: none; font-size: 17px; font-weight: bold; line-height: 18px; max-height: 38px; overflow: hidden; position: absolute; text-align: center; top: 50%; transform: translateY(-50%); width: 100%; padding: 0px 10px; box-sizing: border-box; } div[id^="p|search|"] .feed-articulopro-nombre-articulo{ color: #8eb4b1; font-family: crimsonpro-semibold; font-size: 16px; line-height: 15px; right: 0px; text-align: left; text-transform: uppercase; width: calc(100% - 50px); max-height: 32px; } div[id^="p|search|"] .feed-articulo-desc-articulo, div[id^="p|search|"] .feed-articulopro-desc-articulo{ display: none; } /* fin fichas articulo */ /* estilos fichas productos feed busqueda */ div[id^="p|search|"] .feed-producto-divimg{ height: 208px; } /* estilos fichas productos feed busqueda */ /* Estilos feed fichas Busqueda */ /* Estilo publicidad en feed */ .buildad.feed{ margin: 0px 10px 16px; float: left; } /* fin Estilo publicidad en feed */ /* Estilo para ficha newsletter - columna derecha */ .feed-newsletter-ficha{ margin: 20px auto 10px; } /* fin Estilo para ficha newsletter */ /* icono seguir chef */ .icon-k7-seguir-chef:before{content: "\\e918";} /* */ /* estilos feed recetarios */ div[id^="p|kiwi|recipebooks|"].feed-producto-ficha, div[id^="p|kiwirec|recipebooks|"].feed-producto-ficha{ width: 300px; margin: 0px 10px 16px; } /* fin estilos feed recetarios */ /* estilo sombra blanquecina sobre fichas de contenido interno */ /* .general-container .shadow-gris */ /* .shadow-gris{ position: absolute; top: 0px; bottom: 0px; width: 100%; background-color: #ffffff; opacity: 0.8; z-index: 10; } */ .feedficha-bloqueo { position: absolute; display: flex; justify-content: center; align-items: center; right: 9px; top: 9px; width: 30px; height: 30px; background-color: var(--azul-kiwipro); border: 1px solid var(--azul-kiwipro); border-radius: 100%; z-index: 5; } /* estilo sombra blanquecina sobre fichas de contenido interno */`); KL.loader.createCSS(`/* slider */ .slider { position: relative; overflow: hidden; height: auto; } .slider-container { width: 100000px; height: auto; position: relative; left: 0; transition: all 1s ease 0s; } .slider-container.noanim { transition: none; } .slider-container:after { content: ""; clear: both; } .icon-k7-slider-previous:before{content: "\\e948";} .icon-k7-slider-next:before{content: "\\e947";} .slider-button { position: absolute; width: 17px; height: 18px; border-radius: 50%; cursor: pointer; background-color: rgba(255, 255, 255, 0.8); z-index: 15; padding: 7px; padding-left: 8px; top: 50%; margin-top: -20px; box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); transition: opacity 0.2s ease 0s; opacity: 0.8; font-size: 16px; font-weight: 700; color: #aaa; } .slider-button.left { left: 5px; } .slider-button.left:hover { color: #333; } .slider-button.right { right: 5px; } .slider-button.right:hover { color: #333; } `); KL.loader.createCSS(`.social-share-contenedor.crafto .social-share-pc.icon-k7-facebook{ background-color: #cadee5; } .social-share-contenedor.crafto .social-share-pc.icon-k7-pinterest{ background-color: #f3c3d3; } .social-share-contenedor.crafto .social-share-pc.icon-k7-mail{ background-color: #fadca9; } .social-share-contenedor.crafto .social-share-pc.icon-k7-facebook:before, .social-share-contenedor.crafto .social-share-pc.icon-k7-pinterest:before, .social-share-contenedor.crafto .social-share-pc.icon-k7-twitter:before, .social-share-contenedor.crafto .social-share-pc.icon-k7-mail:before{ color: var(--color-texto-base); } .social-share-pc.icon-k7-facebook{ background-color: #3b5998; } .social-share-pc.icon-k7-pinterest{ background-color: #bc0c1f; } .social-share-pc.icon-k7-twitter{ /*background-color: #1da1f2;*/ background-color: #0f1419; } .social-share-pc.icon-k7-mail{ background-color: #aaaaaa; } .social-share-pc.icon-k7-facebook:before, .social-share-pc.icon-k7-pinterest:before, .social-share-pc.icon-k7-twitter:before, .social-share-pc.icon-k7-mail:before{ color: #ffffff; font-size: 18px; position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); } .social-share-pc.icon-k7-twitter:before, .social-share-pc.icon-k7-mail:before{ font-size: 15px; } .social-share-pc.icon-k7-mail:before{ font-size: 16px; } .social-share-pc:hover{ background-color: #ffffff; } .social-share-pc:hover.icon-k7-facebook:before{ color: #3b5998; } .social-share-pc:hover.icon-k7-pinterest:before{ color: #bc0c1f; } .social-share-pc:hover.icon-k7-twitter:before{ color: #1da1f2; } .social-share-pc:hover.icon-k7-mail:before{ color: #aaaaaa; }`); KL.loader.createCSS(`.icon-k7-clientp-actividad:before{content: "\\e90d";} .icon-k7-clientp-colecciones:before{content: "\\e907";} .icon-k7-clientp-favoritos:before{content: "\\e908";} .icon-k7-clientp-misrecetas:before{content: "\\e909";} .icon-k7-clientp-listasuper:before{content: "\\e90a";} .icon-k7-clientp-editaperfil:before{content: "\\e91c";} .client-perfil-opcionmenu{ box-sizing: border-box; position: relative; display: flex; align-items: center; justify-content: center; width: 100%; gap: 7px; background-color: #ffffff; border-left: 2px solid #f2f2f2; color: #777777; font-size: 16px; padding: 16px; } .client-perfil-opcionmenu:first-child{ border-left: 2px solid #ffffff; } /* .client-perfil-opcionmenu.activo, .client-perfil-opcionmenu:hover{ background-color: var(--verde-kiwi); border-left: 2px solid var(--verde-kiwi); color: #ffffff; } */ .client-perfil-opcionmenu.activo:after, .client-perfil-opcionmenu:hover:after { border-left: 10px solid transparent; border-right: 10px solid transparent; /*border-top: 10px solid #8cc63e;*/ bottom: -10px; content: ""; height: 0; left: 50%; margin-left: -5px; position: absolute; width: 0; } /* .client-pestanas-off, .client-pestanas-activo{ background-color: #ffffff; border-right: 2px solid #f2f2f2; position: relative; display: flex; align-items: center; height: 100%; justify-content: center; font-size: 18px; text-transform: uppercase; width: 100%; } .client-pestanas-off:after, .client-pestanas-activo:after{ border: none; content: ''; display: block; height: 20px; left: 50%; margin-left: -10px; position: absolute; -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); width: 21px; z-index: -1; top: 39px; } .client-pestanas-off:after{ background-color: transparent; } .client-icon-menu, .client-icon-menu-activo{ margin: 0px 8px 0px 0px; color: #a6a6a6; } */ /* .client-pestanas-activo, .client-pestanas-activo .client-icon-menu, .client-pestanas:hover, .client-pestanas:hover .client-icon-menu */ /* .client-pestanas-activo, .client-pestanas-activo .client-icon-menu-activo, .client-pestanas-off:hover, .client-pestanas-off:hover .client-icon-menu{ color: #ffffff; } */`); KL.loader.createCSS(`.recipelist-button { background-color: #ffffff; border-radius: 2px; color: #222; cursor: pointer; float: left; font-size: 1.1em; font-weight: normal; margin: 5px 10px; padding: 14px; text-align: center; width: 29.45%; } .home-recipelist-pro .recipelist-button.on, .familia-recipelist-pro .recipelist-button.on, .clasificacion-recipelistpro .recipelist-button.on{ background-color: var(--azul-kiwipro); color: white; position: relative; } .recipelist-button.on { background-color: var(--verde-kiwi); color: white; position: relative; } /* .recipelist-button.on:after { content: ''; position: absolute; bottom: -10px; left: 50%; margin-left: -15px; width: 0; height: 0; border-top: solid 10px #8CC63E; border-left: solid 10px transparent; border-right: solid 10px transparent; } */ .icon-k7-recipelist-seemore:before{content: "\\e956";} `); KL.loader.createCSS(`.icon-k7-listasuper:before{content: "\\e90a";} .icon-k7-ls-enviar-mail:before{content: "\\e920";} .icon-k7-ls-imprimir:before{content: "\\e926";} .icon-k7-ls-borrar:before{content: "\\e955";} .icon-k7-cerrar-ls-popup:before{content: "\\e955";} input[type="text"] { -webkit-appearance: none; -webkit-border-radius: 0; outline: 0px; } .lista-super-btn-menu{ color: #777777; } .lista-super-btn-menu:hover{ background-color: var(--verde-kiwi); color: #ffffff; } .lista-super-btn-menu .icon-k7-ls-enviar-mail, .lista-super-btn-menu .icon-k7-ls-imprimir, .lista-super-btn-menu .icon-k7-ls-borrar{ color: #aaaaaa; } .lista-super-btn-menu:hover .icon-k7-ls-enviar-mail, .lista-super-btn-menu:hover .icon-k7-ls-imprimir, .lista-super-btn-menu:hover .icon-k7-ls-borrar{ color: #ffffff; } /* color para textos en placeholder de inputs */ /* Chrome/Opera/Safari */ ::-webkit-input-placeholder { color: #cccccc; font-size: 14px; font-style: italic; font-family: 'source sans pro'; font-weight: normal; text-transform: initial; } /* Firefox 19+ */ ::-moz-placeholder { color: #cccccc; font-size: 14px; font-style: italic; font-family: 'source sans pro'; font-weight: normal; text-transform: initial; } /* IE 10+ */ :-ms-input-placeholder { color: #cccccc; font-size: 14px; font-style: italic; font-family: 'source sans pro'; font-weight: normal; text-transform: initial; } /* Firefox 18- */ :-moz-placeholder { color: #cccccc; font-size: 14px; font-style: italic; font-family: 'source sans pro'; font-weight: normal; text-transform: initial; } /* fin color para textos en placeholder de inputs */ /* estilos check lista ingredientes / pasos */ /* The container */ .lsop-containercheck { color: var(--color-texto-base); cursor: pointer; display: block; font-size: 14px; line-height: 21px; padding: 10px 34px 3px 30px; position: relative; /* -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; */ } /* Hide the browser's default checkbox */ .lsop-containercheck input { cursor: pointer; height: 0; opacity: 0; position: absolute; width: 0; } /* Create a custom checkbox */ .lsop-checkmark { background-color: #ffffff; border: 1px solid #cccccc; border-radius: 100%; height: 15px; left: 0; position: absolute; top: 13px; width: 15px; } /* On mouse-over, add a grey background color */ .lsop-containercheck:hover input ~ .lsop-checkmark { background-color: #ffffff; } /* On mouse-over, add a grey background color */ .lsop-containercheck:hover{ color: var(--verde-kiwi); } /* When the checkbox is checked, add a blue background */ .lsop-containercheck input:checked ~ .lsop-checkmark { background-color: var(--verde-kiwi); } /* Create the checkmark/indicator (hidden when not checked) */ .lsop-checkmark:after { content: ""; display: none; position: absolute; } /* Show the checkmark when checked */ .lsop-containercheck input:checked ~ .lsop-checkmark:after { display: block; } /* Style the checkmark/indicator */ .lsop-containercheck .lsop-checkmark:after { left: 5px; top: 2px; width: 2px; height: 6px; border: solid #ffffff; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } /* fin estilos check lista ingredientes / pasos */ .lista-super-eliminar{ position: relative; background-color: #dddddd; border: 2px solid #ffffff; border-radius: 100%; cursor: pointer; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; } .lista-super-eliminar:hover{ background-color: var(--verde-kiwi); } .lista-super-eliminar.item-receta{ position: relative; } .lista-super-eliminar.item-ing{ position: absolute; top: 50%; right: 0px; z-index: 10; transform: translateY(-50%); } /* estilos para feed agrega más recetas a tu lista */ .lista-super-agrega-recetas{ height: 250px; overflow: hidden; } .lista-super-agrega-recetas #recipelist{ display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 12px; } .lista-super-agrega-recetas .recipelist-areabotones, .lista-super-agrega-recetas .recipelist-btn-next, .lista-super-agrega-recetas .tools-container, .lista-super-agrega-recetas .feed-receta-rating, .lista-super-agrega-recetas .feed-receta-nombrechef, .lista-super-agrega-recetas hr, .lista-super-agrega-recetas .videoplay, .lista-super-agrega-recetas .buildad, .lista-super-agrega-recetas .feedficha-bloqueo { display: none !important; } .lista-super-agrega-recetas div[id^="p|kiwi|"][class$="-ficha"], .lista-super-agrega-recetas div[id^="p|kiwirec|"][class$="-ficha"]{ width: 80px !important; height: auto !important; margin: initial !important; } .lista-super-agrega-recetas .feed-divimagenficha{ width: 100% !important; height: auto !important; position: relative !important; } .lista-super-agrega-recetas .feed-divimagenficha img{ position: relative !important; top: initial !important; transform: initial !important; } .lista-super-agrega-recetas .feed-receta-nombreficha-centrado{ font-size: 13px !important; line-height: 13px !important; max-height: 40px !important; padding: 0px 5px !important; } .lista-super-agrega-recetas div[id^="p|kiwi|"] [class$="-areanombreficha"], .lista-super-agrega-recetas div[id^="p|kiwirec|"] [class$="-areanombreficha"], .lista-super-agrega-recetas div[id^="p|kiwirec|"] .feed-articulo-divtextos-articulo{ height: 48px; } /* estilos para feed agrega más recetas a tu lista */ .lista-super-ficha-thumb-{ display: none !important; } /* estilos popup enviar lista super */ .lista-super-area-envia-mail{ box-sizing: border-box; display: flex; flex-direction: column; width: 730px; background-color: #ffffff; border-radius: 10px; padding: 15px; position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); } .icon-k7-cerrar-ls-popup { position: absolute; top: -12px; right: -12px; background-color: #dddddd; border: 2px solid #ffffff; border-radius: 100%; z-index: 10; cursor: pointer; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 10px; font-weight: bold; } .lista-super-titulo-popup{ background-color: #f2f2f2; color: var(--verde-kiwi); font-size: 18px; padding: 10px; font-weight: bold; border-radius: 5px 5px 0px 0px; margin: 0px 0px 15px 0px; } .lista-super-areainput{ /*border-radius: 5px 5px 0px 0px;*/ box-sizing: border-box; color: #777777; padding: 8px; background-color: #ffffff; border: 1px solid #dddddd; font-family: 'Source Sans Pro'; font-size: 14px; } .lista-super-textarea{ width: 100%; min-height: 106px; overflow: hidden; resize: none; } .lista-super-btn-form{ border: 0px; border-radius: 6px; color: #ffffff; cursor: pointer; display: flex; font-family: 'source sans pro'; font-size: 15px; font-weight: bold; line-height: 18px; margin: 15px 0px 0px auto; padding: 8px 25px; text-transform: uppercase; background-color: var(--verde-kiwi); width: -webkit-fit-content; width: -moz-fit-content; width: -o-fit-content; width: -ms-fit-content; width: fit-content; } /* estilos popup enviar lista super */ `); WA.templates['lista-super'] = WA.templater`
${['cond', 'datachefconectado>client','perfilconectadols']}
`; WA.templates['ingredientesextra.none'] = WA.templater` `; WA.templates['ingdescartados.none'] = WA.templater` `; WA.templates['perfilconectadols.none'] = WA.templater` `; WA.templates['ingdescartadospasillo'] = WA.templater` `; WA.templates['perfilconectadols'] = WA.templater`

Receitas na minha lista

${['loop', 'listasuperlista>payload','thumblistadosup']}

Adicione mais receitas à sua lista

Recomendamos estas receitas

${['call', 'recipelist','recipelist']}

Lista de compras

Enviar
Imprimir
Apagar lista

Adicione as receitas que pretende cozinhar à sua lista de compras. Pode criar mais de uma lista, como uma lista de compras semanais para as receitas do dia a dia e uma lista para o seu jantar de Natal. Consulte a lista por corredor e use-a no supermercado para ir marcando o que vai comprando.

Adicionar
${['loop', 'listasuperlista>payload','listadosup']}
${['loop', 'listasuperlista>payload','listadosupextras']}
${['loop', 'listasuperlista>payload','listadosupdescartados']}
`; WA.templates['listadosupextraspasillo.key.0'] = WA.templater`
${'nameaisle'}
${['loop', 'ingredients','ingredientesextra']}
`; WA.templates['thumblistadosup'] = WA.templater`
${['cond', 'image','lsrecetaimagen']}
${'name'}
`; WA.templates['listadosupdescartados.key.1'] = WA.templater`
${'name'}
${['loop', 'ingredients','ingdescartados']}
`; WA.templates['listadosupextras'] = WA.templater` `; WA.templates['listadosup.key.0'] = WA.templater` `; WA.templates['listadosupextraspasillo.key.1'] = WA.templater` `; WA.templates['listadosup'] = WA.templater`
${['loop', 'ingredients','ingredientes']}
`; WA.templates['listadosuppasillo'] = WA.templater`
${['loop', 'ingredients','ingredientespasillo']}
`; WA.templates['listadosup.key.1'] = WA.templater` `; WA.templates['listadosupextraspasillo'] = WA.templater` `; WA.templates['thumblistadosup.none'] = WA.templater` `; WA.templates['listadosuppasillodescartados.key.1'] = WA.templater`
${'nameaisle'}
${['loop', 'ingredients','ingdescartadospasillo']}
`; WA.templates['lsrecetaimagen.none'] = WA.templater` ${'name'} `; WA.templates['listadosupextras.key.1'] = WA.templater` `; WA.templates['listadosupdescartados.key.0'] = WA.templater` `; WA.templates['lsrecetaimagen'] = WA.templater` ${'name'} `; WA.templates['listadosuppasillo.none'] = WA.templater` `; WA.templates['listadosuppasillodescartados'] = WA.templater` `; WA.templates['listadosuppasillo.key.1'] = WA.templater` `; WA.templates['listadosupextras.key.0'] = WA.templater`
${'name'}
${['loop', 'ingredients','ingredientesextra']}
`; WA.templates['listadosupdescartados'] = WA.templater` `; WA.templates['listadosuppasillo.key.0'] = WA.templater` `; WA.templates['listadosuppasillodescartados.key.0'] = WA.templater` `; WA.templates['listadosup.none'] = WA.templater` `; WA.templates['ingredientes'] = WA.templater` `; WA.templates['ingdescartadospasillo.none'] = WA.templater` `; WA.templates['ingredientespasillo'] = WA.templater` `; WA.templates['ingredientesextra'] = WA.templater` `; WA.templates['client-perfil'] = WA.templater`
${['cond', 'client>seg','clientperfil-numseguidores']} ${['cond', 'client>sig','clientperfil-numsiguiendo']}
${['cond', 'siteorigin','clientorigenavatar']}
${'client>n'} ${'client>a'}
${['cond', 'siteorigin','clientorigenopmenu']}
`; WA.templates['clientperfil-numsiguiendo'] = WA.templater` ${'client>sig'} Siguiendo `; WA.templates['clientorigenopmenu.kiwi'] = WA.templater`
Atividade
Coleções
Favoritos
Minhas Receitas
Lista del Súper
`; WA.templates['clientperfil-numsiguiendo.none'] = WA.templater` `; WA.templates['imgavatarcreador'] = WA.templater` ${'client>n'} ${'client>a'} `; WA.templates['clientorigenperfil.kiwirec'] = WA.templater` ${['cond', 'client>ifondo','imgfondo']} `; WA.templates['clientorigenavatar.kiwirec'] = WA.templater` ${['cond', 'client>i','imgavatarchef']} `; WA.templates['imgavatarcreador.none'] = WA.templater` ${'client>n'} ${'client>a'} `; WA.templates['imgfondo.none'] = WA.templater` background-image: url('${['eval','KL.cdn7domains']}/img/static/kl-profile-bg1.png')`; WA.templates['imgfondocrafto.none'] = WA.templater` background-image: url('${['eval','KL.cdn7domains']}/craftologia/static/bg-perfil-v2.jpg')`; WA.templates['imgfondo'] = WA.templater` background-image: url('${'client>ifondo'}')`; WA.templates['clientorigenperfil.crafto'] = WA.templater` ${['cond', 'client>ifondo','imgfondocrafto']} `; WA.templates['clientorigenopmenu.crafto'] = WA.templater`
Atividade
Coleções
Favoritos
`; WA.templates['social-share'] = WA.templater` `; WA.templates['clientorigenavatar.crafto'] = WA.templater` ${['cond', 'client>i','imgavatarcreador']} `; WA.templates['clientorigenavatar.kiwi'] = WA.templater` ${['cond', 'client>i','imgavatarchef']} `; WA.templates['imgavatarchef.none'] = WA.templater` ${'client>n'} ${'client>a'} `; WA.templates['avatarbordecolor'] = WA.templater` ${'client>color'} `; WA.templates['imgavatarchef'] = WA.templater` ${'client>n'} ${'client>a'} `; WA.templates['avatarbordecolor.none'] = WA.templater` #ffffff `; WA.templates['imgfondocrafto'] = WA.templater` background-image: url('${'client>ifondo'}')`; WA.templates['clientperfil-numseguidores'] = WA.templater` ${'client>seg'} Seguidores `; WA.templates['clientorigenperfil.kiwi'] = WA.templater` ${['cond', 'client>ifondo','imgfondo']} `; WA.templates['clientperfil-numseguidores.none'] = WA.templater` `; WA.templates['clientorigenopmenu.kiwirec'] = WA.templater`
Atividade
Coleções
Favoritos
`; WA.templates['slider'] = WA.templater`
${['loop', 'families','slider_families']} ${['loop', 'classifications','slider_classifications']} ${['loop', 'payload','feedslider']}
`; WA.templates['slider_families'] = WA.templater` `; WA.templates['slider-icon-familia'] = WA.templater` 70x70/${'image'}.webp`; WA.templates['tools'] = WA.templater` `; WA.templates['tools_collectionselect'] = WA.templater`
Selecione uma coleção
${['loop', 'items','tools_collectionitem']}
ou
`; WA.templates['tools_collectionitem'] = WA.templater`
${'nombre'}
`; WA.templates['tools_collectionitem.none'] = WA.templater` Ainda não há coleções `; WA.templates['feed'] = WA.templater`
${['loop', 'payload','feedamp_payload']}
`; WA.templates['feed_articulolarge'] = WA.templater` `; WA.templates['src-articulolarge.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-articulolarge'] = WA.templater` ${'ip'}`; WA.templates['feed_articuloresumen'] = WA.templater` `; WA.templates['src-altarticuloresumen.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-articuloresumen'] = WA.templater` /articuloimagen/${'k'}/${'i'}`; WA.templates['src-articuloresumen.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-altarticuloresumen'] = WA.templater` ${'ip'}`; WA.templates['feed_familiareceta'] = WA.templater` `; WA.templates['src-familiareceta4'] = WA.templater` /recetaimagen/${'ci4'}/${'i4'}`; WA.templates['src-familiareceta4.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-familiareceta1'] = WA.templater` /recetaimagen/${'ci1'}/${'i1'}`; WA.templates['src-familiareceta1.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-familiareceta2'] = WA.templater` /recetaimagen/${'ci2'}/${'i2'}`; WA.templates['src-familiareceta2.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-familiareceta3'] = WA.templater` /recetaimagen/${'ci3'}/${'i3'}`; WA.templates['src-familiareceta3.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['feed_receta'] = WA.templater` `; WA.templates['tiposesion'] = WA.templater` ${['cond', 'level','recetalevelchef']} `; WA.templates['recetalevelchef.3'] = WA.templater` ${['cond', 'siteorigin','origenfeedreccontpro']} `; WA.templates['origenfeedreccontpro.kiwi'] = WA.templater`
`; WA.templates['estatusreceta.10'] = WA.templater`
${'n'}
`; WA.templates['recetalevelchef.1'] = WA.templater` ${['cond', 'siteorigin','origenfeedreccontmarca']} `; WA.templates['origenfeedreccontmarca.kiwi'] = WA.templater` `; WA.templates['estatusreceta'] = WA.templater`
${'n'}
`; WA.templates['src-receta'] = WA.templater` /recetaimagen/${'k'}/${'i'}`; WA.templates['recetalevelchef.2'] = WA.templater` ${['cond', 'siteorigin','origenfeedreccontinterno']} `; WA.templates['origenfeedreccontinterno.kiwi'] = WA.templater`
`; WA.templates['estatusreceta.none'] = WA.templater` `; WA.templates['tiposesion.true'] = WA.templater` `; WA.templates['src-receta.none'] = WA.templater` /img/static/logo_o-400x300.png`; WA.templates['tiposesion.false'] = WA.templater` ${['cond', 'level','recetalevelchef']} `; WA.templates['feed_familiatip'] = WA.templater` `; WA.templates['src-familiatip2'] = WA.templater` /ss_secreto/${'ci2'}/${'i2'}`; WA.templates['src-familiatip2.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-familiatip3'] = WA.templater` /ss_secreto/${'ci3'}/${'i3'}`; WA.templates['src-familiatip3.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-familiatip4'] = WA.templater` /ss_secreto/${'ci4'}/${'i4'}`; WA.templates['src-familiatip4.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-familiatip1'] = WA.templater` /ss_secreto/${'ci1'}/${'i1'}`; WA.templates['src-familiatip1.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['feed_clientactivity'] = WA.templater` ${['cond', 'tipoevento','feedfichaeventoclientactivity']} `; WA.templates['numerorecetas'] = WA.templater`
${'qr'} Receitas
`; WA.templates['imgusuario'] = WA.templater` ${'fn'} ${'ln'} `; WA.templates['imgusuariocrafto'] = WA.templater` ${'fn'} ${'ln'} `; WA.templates['imgcolorfondo'] = WA.templater` ${'co'} `; WA.templates['imgusuario.none'] = WA.templater` ${'fn'} ${'ln'} `; WA.templates['numerotips.none'] = WA.templater` `; WA.templates['numerocolecciones.none'] = WA.templater` `; WA.templates['imgusuariocrafto.none'] = WA.templater` ${'fn'} ${'ln'} `; WA.templates['imgcolorfondo.none'] = WA.templater` #ffffff `; WA.templates['feedfichaeventoclientactivity'] = WA.templater` ${['cond', 'siteorigin','clientorigensigue']} `; WA.templates['clientorigensigue'] = WA.templater` ${['cond', 's','estatusperfilchef']} `; WA.templates['estatusperfilchef.1'] = WA.templater`
${'fecha'}
${'titulo'}
${'fn'} ${'ln'}
${['cond', 'qr','numerorecetas']} ${['cond', 'qt','numerotips']} ${['cond', 'qc','numerocolecciones']} ${['cond', 'qs','numeroseguidores']} ${['cond', 'qg','numerosiguiendo']}
`; WA.templates['origenimgusuario'] = WA.templater` ${['cond', 'av','imgusuario']} `; WA.templates['origenimgusuario.crafto'] = WA.templater` ${['cond', 'av','imgusuariocrafto']} `; WA.templates['estatusperfilchef.none'] = WA.templater`
${'fecha'}
${'titulo'}
`; WA.templates['clientorigensigue.crafto'] = WA.templater` ${['cond', 's','estatusperfilcreador']} `; WA.templates['estatusperfilcreador.1'] = WA.templater`
${'fecha'}
${'titulo'}
${'fn'} ${'ln'}
${['cond', 'qr','numerorecetas']} ${['cond', 'qt','numerotips']} ${['cond', 'qc','numerocolecciones']} ${['cond', 'qs','numeroseguidores']} ${['cond', 'qg','numerosiguiendo']}
`; WA.templates['origenimgusuario'] = WA.templater` ${['cond', 'av','imgusuario']} `; WA.templates['origenimgusuario.crafto'] = WA.templater` ${['cond', 'av','imgusuariocrafto']} `; WA.templates['estatusperfilcreador.none'] = WA.templater`
${'fecha'}
${'titulo'}
`; WA.templates['numerocolecciones'] = WA.templater`
${'qc'} Coleções
`; WA.templates['numerosiguiendo.none'] = WA.templater` `; WA.templates['numerosiguiendo'] = WA.templater`
${'qg'} Siguiendo
`; WA.templates['numerorecetas.none'] = WA.templater` `; WA.templates['numeroseguidores'] = WA.templater`
${'qs'} Seguidores
`; WA.templates['numerotips'] = WA.templater`
${'qt'} Dicas
`; WA.templates['numeroseguidores.none'] = WA.templater` `; WA.templates['feed_compilacionrecetaslider'] = WA.templater` `; WA.templates['src-compilacionrecetaslider.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-compilacionrecetaslider'] = WA.templater` /menu/${'k'}/${'i'}`; WA.templates['feed_compilaciontip'] = WA.templater` `; WA.templates['src-compilaciontip'] = WA.templater` /menutip/${'k'}/${'i'}`; WA.templates['src-compilaciontip.none'] = WA.templater` /img/static/logo_o-400x300.png`; WA.templates['feed_newsletter'] = WA.templater`

Inscreva-se na newsletter

e receba as melhores receitas do kiwilimón.

Inscrever-me
`; WA.templates['feed_coleccioncliente'] = WA.templater`
${['cond', 'myaccount','micuentabtnelimina']} ${['cond', 'myaccount','linkcoleccion']}
${['loop', 'el','coleccionelementos']}
${['cond', 'myaccount','micuentabtnupdate']}
`; WA.templates['micuentabtnelimina.none'] = WA.templater` `; WA.templates['linkcoleccion.none'] = WA.templater` ${['cond', 'siteorigin','linkchefkiwi']} `; WA.templates['linkchefkiwi'] = WA.templater` `; WA.templates['linkchefkiwi.kiwirec'] = WA.templater` `; WA.templates['linkchefkiwi.crafto'] = WA.templater` `; WA.templates['coleccionelementos'] = WA.templater`
${['cond', 'c','idelemento']}
`; WA.templates['coleccionelementos.none'] = WA.templater` `; WA.templates['tipocoleccion.8'] = WA.templater`
${'n'}
${'qt'} itens
`; WA.templates['idelemento'] = WA.templater` ${['cond', 'i','imgelemento']} `; WA.templates['imgelemento.none'] = WA.templater` `; WA.templates['micuentabtnelimina'] = WA.templater` ${['cond', 'tipo','tipocoleccionemilina']} `; WA.templates['tipocoleccionemilina'] = WA.templater`
`; WA.templates['tipocoleccionemilina.8'] = WA.templater` `; WA.templates['micuentabtnupdate'] = WA.templater` ${['cond', 'tipo','tipocoleccion']} `; WA.templates['tipocoleccion'] = WA.templater`
${'n'}
${'qt'} itens
`; WA.templates['imgelemento'] = WA.templater` `; WA.templates['linkcoleccion'] = WA.templater` ${['cond', 'siteorigin','linkmicuentakiwi']} `; WA.templates['linkmicuentakiwi'] = WA.templater`
`; WA.templates['linkmicuentakiwi.kiwirec'] = WA.templater` `; WA.templates['micuentabtnupdate.none'] = WA.templater`
${'n'}
${'qt'} itens
`; WA.templates['feed_articuloclasificacion'] = WA.templater`
`; WA.templates['src-clasificacionarticulo3'] = WA.templater` /articuloimagen/${'ci3'}/${'i3'}`; WA.templates['src-clasificacionarticulo3.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificacionarticulo4'] = WA.templater` /articuloimagen/${'ci4'}/${'i4'}`; WA.templates['src-clasificacionarticulo4.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificacionarticulo1'] = WA.templater` /articuloimagen/${'ci1'}/${'i1'}`; WA.templates['src-clasificacionarticulo1.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificacionarticulo2'] = WA.templater` /articuloimagen/${'ci2'}/${'i2'}`; WA.templates['src-clasificacionarticulo2.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['feed_clasificaciontip'] = WA.templater` `; WA.templates['src-clasificaciontip3'] = WA.templater` /ss_secreto/${'ci3'}/${'i3'}`; WA.templates['src-clasificaciontip3.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificaciontip4'] = WA.templater` /ss_secreto/${'ci4'}/${'i4'}`; WA.templates['src-clasificaciontip4.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificaciontip1'] = WA.templater` /ss_secreto/${'ci1'}/${'i1'}`; WA.templates['src-clasificaciontip1.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificaciontip2'] = WA.templater` /ss_secreto/${'ci2'}/${'i2'}`; WA.templates['src-clasificaciontip2.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['feed_coleccion'] = WA.templater`
comidas
${'n'}
`; WA.templates['src-coleccion'] = WA.templater` /recetaimagen/${'k'}/${'i'}`; WA.templates['src-coleccion.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['feed_clasificacionarticulo'] = WA.templater` `; WA.templates['src-clasificacionarticulo'] = WA.templater` /articuloimagen/${'k'}/${'i'}`; WA.templates['src-clasificacionarticulo.none'] = WA.templater` /img/static/logo-o-150.png`; WA.templates['feed_tip'] = WA.templater` `; WA.templates['estatustip'] = WA.templater`
${'n'}
`; WA.templates['src-tip'] = WA.templater` /ss_secreto/${'k'}/${'i'}`; WA.templates['src-tip.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['estatustip.10'] = WA.templater`
${'n'}
`; WA.templates['feed_articuloslider'] = WA.templater` `; WA.templates['src-articuloslider.none'] = WA.templater` ${['cond', 'ip','src-altarticuloslider']} `; WA.templates['src-altarticuloslider'] = WA.templater` ${'ip'}`; WA.templates['src-altarticuloslider.none'] = WA.templater` /img/static/logo-o-150.png`; WA.templates['estatusarticuloslider.10'] = WA.templater`
${'n'}
`; WA.templates['estatusarticuloslider'] = WA.templater`
${'n'}
`; WA.templates['estatusarticuloslider.none'] = WA.templater` `; WA.templates['src-articuloslider'] = WA.templater` /articuloimagen/${'k'}/${'i'}`; WA.templates['feed_quiz'] = WA.templater` `; WA.templates['src-quizz'] = WA.templater` /quizz/${'k'}/${'i'}`; WA.templates['src-quizz.none'] = WA.templater` /img/static/logo_o-400x300.png`; WA.templates['feed_confoto'] = WA.templater` ${['cond', 'tipoevento','feedfichaeventoconfoto']} `; WA.templates['tipoconfoto.a'] = WA.templater`
Blog
`; WA.templates['feedfichaeventoconfoto'] = WA.templater` ${['cond', 's','estatusficha']} `; WA.templates['estatusficha'] = WA.templater`
${'fecha'}
${'titulo'}
${['cond', 's','estatusfichapro']}

${'d'}

`; WA.templates['estatusfichapro.10'] = WA.templater` `; WA.templates['estatusfichapro'] = WA.templater` `; WA.templates['estatusficha.2'] = WA.templater` `; WA.templates['estatusficha.4'] = WA.templater` `; WA.templates['feedfichaeventoconfoto.none'] = WA.templater` `; WA.templates['src-imgperfilficha'] = WA.templater` ${'ipa'}`; WA.templates['src-imgperfilficha.none'] = WA.templater` /img/static/logo_o-400x300.png`; WA.templates['tipoconfoto.p'] = WA.templater`
Produto
`; WA.templates['tipoconfoto.r'] = WA.templater`
Receita
`; WA.templates['tipoconfoto.t'] = WA.templater`
Dica
`; WA.templates['feed_recetaslider'] = WA.templater` `; WA.templates['src-recetaslider'] = WA.templater` /recetaimagen/${'k'}/${'i'}`; WA.templates['nivelfichareceta'] = WA.templater` `; WA.templates['estatusrecetaslider.10'] = WA.templater`
${'n'}
`; WA.templates['nivelfichaslider.2'] = WA.templater` ${['cond', 'datachefconectado>client>p','nivelfichanormalslider']} `; WA.templates['nivelfichanormalslider'] = WA.templater` `; WA.templates['nivelfichanormalslider.none'] = WA.templater` ${['cond', 'siteorigin','origenfeedinternoslider']} `; WA.templates['origenfeedinternoslider.kiwi'] = WA.templater`
`; WA.templates['nivelfichaslider.3'] = WA.templater` ${['cond', 'datachefconectado>client>p','nivelfichaproslider']} `; WA.templates['nivelfichaproslider'] = WA.templater` `; WA.templates['nivelfichaproslider.none'] = WA.templater` ${['cond', 'siteorigin','origenfeedproslider']} `; WA.templates['origenfeedproslider.kiwi'] = WA.templater`
`; WA.templates['estatusrecetaslider'] = WA.templater`
${'n'}
`; WA.templates['estatusrecetaslider.none'] = WA.templater` `; WA.templates['src-recetaslider.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['nivelfichaslider.1'] = WA.templater` `; WA.templates['feedamp_payload'] = WA.templater` ${['cond', 't','fichatip']} `; WA.templates['fichatip'] = WA.templater` `; WA.templates['src-tiptop10'] = WA.templater` /ss_secreto/${'k'}/320x320/${'i'}.webp`; WA.templates['src-tiptop10.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['amp-feed-videorec-top10'] = WA.templater`
`; WA.templates['amp-feed-videorec-top10.none'] = WA.templater` `; WA.templates['fichatip.none'] = WA.templater` `; WA.templates['feed_clasificacionreceta'] = WA.templater` `; WA.templates['src-clasificacionreceta3.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificacionreceta4'] = WA.templater` /recetaimagen/${'ci4'}/${'i4'}`; WA.templates['src-clasificacionreceta4.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificacionreceta1'] = WA.templater` /recetaimagen/${'ci1'}/${'i1'}`; WA.templates['src-clasificacionreceta1.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificacionreceta2'] = WA.templater` /recetaimagen/${'ci2'}/${'i2'}`; WA.templates['src-clasificacionreceta2.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['src-clasificacionreceta3'] = WA.templater` /recetaimagen/${'ci3'}/${'i3'}`; WA.templates['feed_coleccionventa'] = WA.templater` ${['cond', 'i','portadacoleccion']} `; WA.templates['portadacoleccion'] = WA.templater` `; WA.templates['imgcoleccion'] = WA.templater` /coleccionventa/${'k'}/${'i'}`; WA.templates['imgcoleccion.none'] = WA.templater` `; WA.templates['portadacoleccion.none'] = WA.templater`
${'n'}
Coleção à venda
`; WA.templates['coleccion4.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['coleccion1'] = WA.templater` /recetaimagen/${'ci1'}/${'i1'}`; WA.templates['coleccion1.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['coleccion2'] = WA.templater` /recetaimagen/${'ci2'}/${'i2'}`; WA.templates['coleccion2.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['coleccion3'] = WA.templater` /recetaimagen/${'ci3'}/${'i3'}`; WA.templates['coleccion3.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['coleccion4'] = WA.templater` /recetaimagen/${'ci4'}/${'i4'}`; WA.templates['feed_chef'] = WA.templater`
${['cond', 'av','avatarchef']}
${'fn'} ${'ln'}
Perfil
${['cond', 'qr','numrecetas']} ${['cond', 'qt','numtips']} ${['cond', 'qc','numcolecciones']}
Seguidores: ${'qs'}
Siguiendo: ${'qg'}
`; WA.templates['numcolecciones.none'] = WA.templater` `; WA.templates['btnseguirchef.true'] = WA.templater` ${['cond', 'f','paysigochefsesionprochef']} `; WA.templates['bgclassdefault.none'] = WA.templater` imgfondochefdefault`; WA.templates['numrecetas'] = WA.templater`
Receitas: ${'qr'}
`; WA.templates['bgclassdefault'] = WA.templater` `; WA.templates['bgpersonalizado'] = WA.templater` background-image: url('${'bg'}');`; WA.templates['avatarchef.none'] = WA.templater` ${'fn'} ${'ln'} `; WA.templates['numrecetas.none'] = WA.templater` `; WA.templates['paysigochefsesionprochef.none'] = WA.templater` `; WA.templates['paysigochefsesionprochef'] = WA.templater` `; WA.templates['avatarchef'] = WA.templater` ${'fn'} ${'ln'} `; WA.templates['numtips'] = WA.templater`
Dicas: ${'qt'}
`; WA.templates['btnseguirchef.false'] = WA.templater` ${['cond', 'f','paysigochefsesionprochef']} `; WA.templates['cheffondocolor.none'] = WA.templater` #ffffff`; WA.templates['cheffondocolor'] = WA.templater` ${'co'}`; WA.templates['numcolecciones'] = WA.templater`
Coleções: ${'qc'}
`; WA.templates['btnseguirchef'] = WA.templater` `; WA.templates['numtips.none'] = WA.templater` `; WA.templates['bgpersonalizado.none'] = WA.templater` `; WA.templates['feed_sinfoto'] = WA.templater` ${['cond', 'tipoevento','feedfichaeventosinfoto']} `; WA.templates['feedfichaeventosinfoto.103'] = WA.templater`
${'fecha'}
${'titulo'}
`; WA.templates['feedfichaeventosinfoto.101'] = WA.templater`
${'fecha'}
${'titulo'}
`; WA.templates['feedfichaeventosinfoto'] = WA.templater`
${'fecha'}
${'titulo'}
${'mensaje'}
`; WA.templates['feedamp_payload_none'] = WA.templater` `; WA.templates['feed_ad'] = WA.templater`
`; WA.templates['feed_articulo'] = WA.templater` `; WA.templates['ratingarticulo.none'] = WA.templater`
5.0
`; WA.templates['src-articuloi.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['estatusarticulo.none'] = WA.templater` `; WA.templates['src-articulo.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['ratingarticulo'] = WA.templater`
${'vr'}
`; WA.templates['estatusarticulo.10'] = WA.templater`
${'n'}
${'ms'}
`; WA.templates['estatusarticulo'] = WA.templater`
${'n'}
${'ms'}
`; WA.templates['src-articulo'] = WA.templater` ${'ip'}`; WA.templates['src-articuloi'] = WA.templater` /articuloimagen/${'k'}/${'i'}`; WA.templates['feed_tipslider'] = WA.templater` `; WA.templates['nivelfichatipslider.3'] = WA.templater` ${['cond', 'datachefconectado>client>p','nivelfichatipproslider']} `; WA.templates['nivelfichatipproslider.none'] = WA.templater` ${['cond', 'siteorigin','origenfeedinternotipproslider']} `; WA.templates['origenfeedinternotipproslider.kiwi'] = WA.templater`
`; WA.templates['nivelfichatipproslider'] = WA.templater` `; WA.templates['src-tipslider'] = WA.templater` /ss_secreto/${'k'}/${'i'}`; WA.templates['nivelfichatipslider.none'] = WA.templater` `; WA.templates['estatustipslider'] = WA.templater`
${'n'}
`; WA.templates['nivelfichatipslider.1'] = WA.templater` `; WA.templates['nivelfichatipslider.2'] = WA.templater` ${['cond', 'datachefconectado>client>p','nivelfichatipnormalslider']} `; WA.templates['nivelfichatipnormalslider'] = WA.templater` `; WA.templates['nivelfichatipnormalslider.none'] = WA.templater` ${['cond', 'siteorigin','origenfeedinternotipslider']} `; WA.templates['origenfeedinternotipslider.kiwi'] = WA.templater`
`; WA.templates['src-tipslider.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['estatustipslider.10'] = WA.templater`
${'n'}
`; WA.templates['nivelfichatipslider'] = WA.templater` `; WA.templates['feed_compilacionreceta'] = WA.templater` `; WA.templates['src-compilacionreceta'] = WA.templater` /menu/${'k'}/${'i'}`; WA.templates['src-compilacionreceta.none'] = WA.templater` /img/static/logo_o-400x300.png`; WA.templates['feed_video'] = WA.templater`
`; WA.templates['feed_video.none'] = WA.templater` `; WA.templates['feed_fotoclasificaciones'] = WA.templater` ${['cond', 'tipoevento','feedfichaeventofotoclasificaciones']} `; WA.templates['clasifarticuloimg4.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['tipofotoclasificaciones.ca'] = WA.templater`
Classificação
`; WA.templates['clasifarticuloimg3'] = WA.templater` /articuloimagen/${'ci3'}/${'i3'} `; WA.templates['tipofotoclasificaciones.cr'] = WA.templater`
Classificação
`; WA.templates['clasiftipimg3.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasifimg4.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['tipofotoclasificaciones.fr'] = WA.templater`
Família
`; WA.templates['tipofotoclasificaciones.ct'] = WA.templater`
Classificação
`; WA.templates['clasiftipimg1.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasifarticuloimg2'] = WA.templater` /articuloimagen/${'ci2'}/${'i2'} `; WA.templates['clasifimg4'] = WA.templater` /recetaimagen/${'ci4'}/${'i4'} `; WA.templates['feedfichaeventofotoclasificaciones'] = WA.templater` `; WA.templates['tipofichaactividad'] = WA.templater`
`; WA.templates['tipofichaactividad.ca'] = WA.templater`
`; WA.templates['tipofichaactividad.ft'] = WA.templater`
`; WA.templates['tipofichaactividad.ct'] = WA.templater`
`; WA.templates['clasifarticuloimg1.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasifimg3.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasiftipimg1'] = WA.templater` /ss_secreto/${'ci1'}/${'i1'} `; WA.templates['clasifimg1'] = WA.templater` /recetaimagen/${'ci1'}/${'i1'} `; WA.templates['clasifimg2'] = WA.templater` /recetaimagen/${'ci2'}/${'i2'} `; WA.templates['clasifarticuloimg4'] = WA.templater` /articuloimagen/${'ci4'}/${'i4'} `; WA.templates['clasiftipimg4'] = WA.templater` /ss_secreto/${'ci4'}/${'i4'} `; WA.templates['clasifarticuloimg3.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasiftipimg2'] = WA.templater` /ss_secreto/${'ci2'}/${'i2'} `; WA.templates['clasiftipimg3'] = WA.templater` /ss_secreto/${'ci3'}/${'i3'} `; WA.templates['clasifarticuloimg1'] = WA.templater` /articuloimagen/${'ci1'}/${'i1'} `; WA.templates['tipofotoclasificaciones.kr'] = WA.templater`
Compilação
`; WA.templates['clasifarticuloimg2.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['tipofotoclasificaciones.ft'] = WA.templater`
Família
`; WA.templates['clasifimg3'] = WA.templater` /recetaimagen/${'ci3'}/${'i3'} `; WA.templates['clasifimg1.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasiftipimg2.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasifimg2.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['clasiftipimg4.none'] = WA.templater` /img/static/logo_o-400x300.png `; WA.templates['feed_producto'] = WA.templater` ${['cond', 'siteorigin','origensitio']} `; WA.templates['origensitio.kiwirec'] = WA.templater` `; WA.templates['familiaproducto'] = WA.templater` ${'n'} `; WA.templates['familiaproducto.4'] = WA.templater` ${'n'} `; WA.templates['src-producto'] = WA.templater` /productoventa/${'k'}/${'i'}`; WA.templates['src-producto.none'] = WA.templater` /img/static/logo-o-500x500.png`; WA.templates['origensitio.kiwi'] = WA.templater` ${['cond', 'type','tipofeedrecetarios']} `; WA.templates['tipofeedrecetarios.recetaclasificacion'] = WA.templater` `; WA.templates['tipofeedrecetarios.recipebooks'] = WA.templater` `; WA.templates['idrecretos'] = WA.templater` ${'pa'}`; WA.templates['familiaproducto.4'] = WA.templater` ${'n'} `; WA.templates['familiaproducto'] = WA.templater` ${'n'} `; WA.templates['idrecretos.7'] = WA.templater` /menu/reto-vegano/reto-vegano-dia-1`; WA.templates['idrecretos.8'] = WA.templater` /menu/reto-kiwilimon/dia-1`; WA.templates['idrecretos.9'] = WA.templater` /menu/reto-paleo/reto-paleo-dia-1`; WA.templates['tipofeedrecetarios.search'] = WA.templater` `; WA.templates['searchgrupoproducto.4'] = WA.templater` ${'n'} `; WA.templates['searchgrupoproducto'] = WA.templater` ${['cond', 'k','imgproducto']} `; WA.templates['imgproducto.128'] = WA.templater` ${'n'} `; WA.templates['imgproducto'] = WA.templater` ${'n'} `; WA.templates['idsearchrecretos.7'] = WA.templater` /menu/reto-vegano/reto-vegano-dia-1`; WA.templates['idsearchrecretos.8'] = WA.templater` /menu/reto-kiwilimon/dia-1`; WA.templates['idsearchrecretos.9'] = WA.templater` /menu/reto-paleo/reto-paleo-dia-1`; WA.templates['idsearchrecretos'] = WA.templater` ${'pa'}`; WA.templates['tipofeedrecetarios.collectiondetalle'] = WA.templater` `; WA.templates['tipofeedrecetarios.pro'] = WA.templater` ${['cond', 'datachefconectado','productospro']} `; WA.templates['productospro'] = WA.templater` `; WA.templates['productospro.none'] = WA.templater` `; WA.templates['tipofeedrecetarios.probooks'] = WA.templater` `; WA.templates['familiaproducto.4'] = WA.templater` ${'n'} `; WA.templates['familiaproducto'] = WA.templater` ${'n'} `; WA.templates['tipofeedrecetarios.collectionfavorite'] = WA.templater` `; WA.templates['familiaproducto'] = WA.templater` ${'n'} `; WA.templates['familiaproducto.4'] = WA.templater` ${'n'} `; WA.templates['origensitio.crafto'] = WA.templater` `; WA.templates['feed_productoslider'] = WA.templater` ${['cond', 'k','claverecetario']} `; WA.templates['claverecetario.106'] = WA.templater` `; WA.templates['claverecetario'] = WA.templater` `; WA.templates['src-productoslider'] = WA.templater` /productoventa/${'k'}/${'i'}`; WA.templates['src-productoslider.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['slider_families.none'] = WA.templater` `; WA.templates['slider_classifications'] = WA.templater` ${['cond', 'numberarticles','numeroarticulos']} `; WA.templates['numeroarticulos'] = WA.templater` `; WA.templates['numeroarticulos.none'] = WA.templater` `; WA.templates['slider-icon-clasificacion.none'] = WA.templater` 70x70/${'image'}.webp`; WA.templates['slider-icon-clasificacion'] = WA.templater` 70x70/${'icon'}.webp`; WA.templates['slider_classifications.none'] = WA.templater` `; WA.templates['feedslider'] = WA.templater` ${['cond', 't','tipoficha']} `; WA.templates['tipoficha.recetaslider'] = WA.templater` `; WA.templates['src-recetatop10'] = WA.templater` /recetaimagen/${'k'}/320x320/${'i'}.webp`; WA.templates['src-recetatop10.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['amp-feed-videorec-top10'] = WA.templater`
`; WA.templates['amp-feed-videorec-top10.none'] = WA.templater` `; WA.templates['tipoficha.productoslider'] = WA.templater` `; WA.templates['src-slider-producto'] = WA.templater` /productoventa/${'k'}/250x250/${'i'}.webp`; WA.templates['src-slider-producto.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['tipoficha.tip'] = WA.templater` `; WA.templates['src-tiptop10.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['amp-feed-videorec-top10'] = WA.templater`
`; WA.templates['amp-feed-videorec-top10.none'] = WA.templater` `; WA.templates['src-tiptop10'] = WA.templater` /ss_secreto/${'k'}/320x320/${'i'}.webp`; WA.templates['tipoficha'] = WA.templater` ${'t'} `; WA.templates['tipoficha.none'] = WA.templater` `; WA.templates['feedslider.none'] = WA.templater` `; WA.templates['recipelist'] = WA.templater`
${['cond', 'recipefamilydata>path','rutafamiliarecipelist']} ${['cond', 'recipeclassificationdata>path','rutaclasificacionrecipelist']}
${['loop', 'recipelist>payload','listaampclasif']}
${['cond', 'recipefamilydata>path','linkfamiliarecipelist']} ${['cond', 'recipeclassificationdata>path','linkclasificacionrecipelist']} `; WA.templates['rutafamiliarecipelist'] = WA.templater` Mais recente Recomendado Mais popular `; WA.templates['linkclasificacionrecipelist'] = WA.templater` Veja mais
`; WA.templates['listaampclasif'] = WA.templater` `; WA.templates['amp-feed-video'] = WA.templater`
`; WA.templates['amp-feed-video.none'] = WA.templater` `; WA.templates['src-receta'] = WA.templater` /recetaimagen/${'k'}/320x320/${'i'}.webp`; WA.templates['src-receta.none'] = WA.templater` /img/static/logo-o-320x320.png`; WA.templates['linkfamiliarecipelist'] = WA.templater` Veja mais
`; WA.templates['linkfamiliarecipelist.none'] = WA.templater` `; WA.templates['rutafamiliarecipelist.none'] = WA.templater` `; WA.templates['linkclasificacionrecipelist.none'] = WA.templater` `; WA.templates['rutaclasificacionrecipelist'] = WA.templater` Mais recente Recomendado Mais popular `; WA.templates['rutaclasificacionrecipelist.none'] = WA.templater` `; WA.templates['ingredientespasillo.none'] = WA.templater` `; WA.templates['ingredientes.none'] = WA.templater` `; WA.templates['ingdescartados'] = WA.templater` `; WA.templates['breadcrumbs'] = WA.templater` ${['loop', 'bc','breadcrumbs_element']} `; WA.templates['breadcrumbs_element'] = WA.templater`
${'n'}`; WA.templates['breadcrumbs_element.last'] = WA.templater`
${'n'}`; WA.templates['breadcrumbs_element.none'] = WA.templater` `; WA.templates['breadcrumbs_element.first'] = WA.templater` ${'n'}`; KL.currentcode={"recipelist":{"key":"","more":true,"page":1,"payload":[{"cn":"Yamilette González","cooktime":"5","difficulty":"2","fv":2,"i":"55997.jpg","k":41259,"level":2,"m":2,"mt":"normal","n":"Trança de pão doce ","pa":"/receita/paes/pao-doce-caseiro/tranca-de-pao-doce","pr":"100.0%","preptime":"90","pub":"15 Oct 24 10:45 +0000","s":1,"t":"receta","totaltime":"95","v":"386265757692","vh":"100.00%","vp":"B1xDbuGM","vr":"5.0","x":"p|kiwi|home||1|1|1"},{"cn":"alexandra romero","cooktime":"20","difficulty":"1","fv":1,"i":"55992.jpg","k":41256,"level":2,"m":2,"mt":"normal","n":"Tacos de chicharrón prensado ","pa":"/receita/pratos-principais/mexicanos/tacos-de-chicharron-prensado","pr":"100.0%","preptime":"15","pub":"14 Oct 24 12:36 +0000","s":1,"t":"receta","totaltime":"35","v":"367323945150","vh":"100.00%","vp":"B1xDbuGM","vr":"5.0","x":"p|kiwi|home||1|1|2"},{"k":"","mt":"sola","t":"newsletter","x":"p|kiwi|home||1|1|3"},{"cn":"Bayon ","cooktime":"90","difficulty":"2","fv":3,"i":"55989.jpg","k":41255,"level":1,"m":2,"mt":"normal","n":"Peru à mel ","pa":"/receita/frango-e-carne/perus/peru-a-mel","pr":"100.0%","preptime":"15","pub":"14 Oct 24 10:37 +0000","s":1,"t":"receta","totaltime":"105","v":"093620080029","vh":"100.00%","vp":"B1xDbuGM","vr":"5.0","x":"p|kiwi|home||1|1|4"},{"cn":"Huevo San Juan®","cooktime":"90","difficulty":"2","fv":0,"i":"55986.jpg","k":41254,"level":1,"m":2,"mt":"normal","n":"Suspiros rosas para presentear","pa":"/receita/sobremesas/merengues/suspiros-rosas-para-presentear","pr":"100.0%","preptime":"20","pub":"14 Oct 24 09:33 +0000","s":1,"t":"receta","totaltime":"110","v":"616457576509","vh":"100.00%","vp":"B1xDbuGM","vr":"5.0","x":"p|kiwi|home||1|1|5"},{"class":"adnetwork","formatid":"72089","k":"","mt":"sola","nid":"300x250","num":"p|kiwi|home||1|1|6","placementid":"13081605","preid":"300x250","size":"[[300,250],[336,280]]","t":"ad","x":"p|kiwi|home||1|1|6"},{"cn":"Danonino ","cooktime":"5","difficulty":"1","fv":1,"i":"55983.jpg","k":41253,"level":1,"m":2,"mt":"normal","n":"Panquecas de especiarias de abóbora","pa":"/receita/cafe-da-manha/panquecas-de-especiarias-de-abobora","pr":"100.0%","preptime":"10","pub":"14 Oct 24 08:46 +0000","s":1,"t":"receta","totaltime":"15","v":"807557543491","vh":"100.00%","vp":"B1xDbuGM","vr":"5.0","x":"p|kiwi|home||1|1|7"}],"quantity":7,"time":0,"total":6924,"type":"home"},"sesionprochef":"","siteorigin":"kiwi"}; KL.LoadedModules.push('lista-super'); KL.currenttemplate=WA.templates['lista-super']; KL.LoadedModules.push('slider'); KL.LoadedModules.push('tools'); KL.LoadedModules.push('feed'); KL.LoadedModules.push('client-perfil'); KL.LoadedModules.push('social-share'); KL.LoadedModules.push('recipelist'); // ERROR CALLING THE JSON: http://grkiwirack/v6/clientError: wrong API response // ERROR CALLING THE JSON: http://grkiwirack/v6/shoppinglistError: wrong API response // ERROR CALLING THE JSON: http://grkiwirack/v6/shoppinglistError: wrong API response