KL.Modules.loginset = new function () {
var self = this;
this.emailformat = '^[\\w\\d\\._-]+@([\\w\\d_-]*[\\w\\d]\\.)+([\\w]{2,})$';
this.nombreformat = '^[\\wÁÉÍÓÚÝáéíóúýäëïöüÿÄËÏÖÜàèìòùÀÈÌÒÙñÑ\\d-\\. ]*$';
this.currentnode = null;
// Switchear entre divs de login para mostrar contenidos
this.show = show;
function show(id, nopush) {
if (!KL.Modules.loginset.forms[id]) {
console.log("loginset.show(" + id + ") does not exists");
return;
}
if (self.currentnode)
KL.Modules.loginset.forms[self.currentnode].hide();
KL.Modules.loginset.forms[id].show();
if (!nopush)
setTimeout(function() { window.history.pushState('', 'Kiwilimon ' + id, '/login/' + id + document.location.search); }, 0);
self.currentnode = id;
//KL.Modules.stat.registerEvent('loginset', 'loginset/' + id + '/show');
KL.Modules.stat.registerEventGA4('loginset/' + id + '/show', {'send_to': KL.analyticsTag});
}
function hideall() {
for (i in KL.Modules.loginset.forms) {
KL.Modules.loginset.forms[i].hide();
}
}
this.errorlogin = errorlogin;
function errorlogin(id, msg) {
// WA.toDOM(id).className = 'error-campo';
WA.toDOM(id + '-msg').innerHTML = msg;
WA.toDOM(id + '-msg').style.display = '';
}
this.limpiacampo = limpiacampo;
function limpiacampo(id) {
// WA.toDOM(id).className = '';
WA.toDOM(id + '-msg').innerHTML = '';
WA.toDOM(id + '-msg').style.display = 'none';
}
this.Logged = Logged;
function Logged() {
// wait for identified client
if (!KL.Modules.client.clientlogged)
{
setTimeout(function() { Logged(); }, 300);
return;
}
// then change to the page
// Hay un p= ?
p = new URLSearchParams(document.location.search).get('p');
if (p) {
setTimeout( function() { document.location.href = p; /*KL.loader.loadPage(p);*/ } , 0);
return;
}
if(!KL.loader.clickToolInPage){
switch (KL.language) {
case 'en':
document.location.href = '/my-account/profile';
break;
default:
document.location.href = '/mi-cuenta/perfil';
}
} else {
KL.loader.loadPage(KL.loader.clickToolInPage)
}
}
function start() {
// estamos en la pantalla de login ?
if (!WA.toDOM('loginset-social'))
return;
if(WA.toDOM('login-msg-usuario-principal')){
WA.toDOM('login-msg-usuario-principal').style.display = 'block';
WA.toDOM('login-msg-usuario-secundario').style.display = 'none';
var txt1 = '¿Ya tienes cuenta? Solo inicia sesión para empezar a guardar tod';
var txtTipo = 'r';
var txt2 = '
Si no tienes cuenta, regístrate ahora ¡Es fácil y rápido! Así podrás agregar tod';
var url = new URL(document.location.href)
var mess = url.searchParams.get("o")
//var a = '';
var fromTools = false;
//
switch (true){
case /sube-tu-receta/.test(url.pathname):
case /mis-recetas/.test(url.pathname):
txtTipo = 'as tus recetas preferidas';
fromTools = true;
break;
case /colecciones/.test(url.pathname):
case /col/.test(url.pathname):
txtTipo = 'as tus colecciones preferidas';
fromTools = true;
break;
case /shoppinglist/.test(url.pathname):
case /lista-del-super/.test(url.pathname):
txtTipo = 'as tus listas de súper preferidas';
fromTools = true;
break;
case /planner/.test(url.pathname):
case /planeador-de-menu/.test(url.pathname):
txt1 = '
¡Empieza a organizar tus comidas hoy mismo!
Si ya tienes cuenta, solo inicia sesión y comienza a crear tu planeador de menús'
var txtTipo = '';
var txt2 = '
Si aún no tienes cuenta, ¡no te preocupes! Regístrate ahora en minutos y empieza a agregar tus recetas favoritas. ¡Es fácil y rápido!';
fromTools = true;
break;
case /fav/.test(mess):
case /favoritos/.test(url.pathname):
txtTipo = 'as tus recetas, tips y notas'
if(mess !== null){
mess = mess.split('/');
//a = mess[1];
txtTipo = mess[2];
if(txtTipo=='r')
txtTipo = 'as tus recetas preferidas';
if(txtTipo=='t'){
txtTipo = 'os tus tips preferidos';
}
if(txtTipo=='a')
txtTipo = 'as tus notas preferidas';
}
fromTools = true;
break;
}
if(fromTools){
WA.toDOM('login-msg-usuario-secundario').innerHTML = txt1 + txtTipo + '. ' + txt2 + txtTipo +'.
';
WA.toDOM('login-msg-usuario-secundario').style.display = 'block';
WA.toDOM('login-msg-usuario-principal').style.display = 'none';
}
}
for (i in KL.Modules.loginset.forms) {
KL.Modules.loginset.forms[i].start();
}
hideall();
// verify URL to show adhoc screen
// sintaxis: login?p=path[&o=fav|col|addcol|createcol|shoppinglist|sup]/[r]/[key]
xid = document.location.pathname.split("/").pop();
if (KL.Modules.loginset.forms[xid]) {
show(xid, true);
return;
}
// actualiza sw cache
if(navigator.serviceWorker.controller)
navigator.serviceWorker.controller.postMessage({'networkResponse': document.referrer});
show('social', KL.loader.clickTool ? true : false);
}
function stop()
{
// estamos en la pantalla de login ?
if (!WA.toDOM('loginset-social'))
return;
for (i in KL.Modules.loginset.forms) {
KL.Modules.loginset.forms[i].stop();
}
console.log("STOP");
}
this.showHidePass = showHidePass;
function showHidePass(event)
{
var node = event.srcElement;
if(node.type == 'password')
node.type = 'text';
else
node.type = 'password';
}
// Crea popup para login
this.buildPopup = buildPopup;
function buildPopup(){
KL.loader.clickToolInPage = location.pathname;
var data = {"clientdata":null}
data.siteorigin = KL.rootsite;
template = WA.templates['loginset'];
var social = template(data)
return '
${['cond', 'siteorigin','origenctanativo']}
Sign up here
`;
WA.templates['origenctanativo.crafto'] = WA.templater`
Don't have an account at Craftology?
`;
WA.templates['origenctanativo'] = WA.templater`
Don't have an account at Kiwilimón?
`;
WA.templates['loginset_contrasena'] = WA.templater`
Use a minimum of 6 characters, combine numbers, letters, and symbols. Also use uppercase letters to form a secure password. Do not use an obvious password.
${'message'}
${'message'}
If you have trouble resetting your password, please contact us at the address support@kiwilimon.com to recover your account.
`;
KL.currentcode={"breadcrumbs":{"bc":[{"n":"Home","p":"/"},{"n":"Information","p":"/informacion"},{"n":"Cookie Policies","p":"/informacion/politicas-de-cookies"}]},"datachefconectado":{"client":null,"device":"mobile","geo":"CA","gep":"US","ip":"216.73.216.236","locallanguage":"en","origin":"kiwi","server":"front","skin":"","t":1749186560},"texto-cookies":"\u003ch1 style=\"color: #333333; font-size: 28px; font-weight: bold; margin: 0px 0px 20px; padding: 0px; \"\u003eWebsite Cookie Policies\u003c/h1\u003e\r\n\r\nThe site \u003ca href=\"/\" style=\"color: #8cc63e;\"\u003ewww.kiwilimon.com\u003c/a\u003e is operated by kiwilimon, S.A.P.I. de C.V. (\"kiwilimon\"), a company incorporated under the laws of the United Mexican States (\"Mexico\") with its registered office in Mexico City, Mexico.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nkiwilimon hereby informs its users and the general public of the following cookie policies of the kiwilimon website for the sole purpose of informing you of the use and handling of information we collect about you in relation to kiwilimon, the website \u003ca href=\"/\" style=\"color: #8cc63e;\"\u003ewww.kiwilimon.com\u003c/a\u003e, any application owned by kiwilimon and linked to the website, as well as with respect to any of our Services.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\u003cbr /\u003e\r\n\r\n\u003ch4 style=\"color: #333333; font-size: 17px; font-weight: bold; line-height: 19px; margin: 0px 0px 20px;\"\u003eI. DEFINITIONS\u003c/h4\u003e\r\n\r\n\u003cspan style=\"font-weight: 600;\"\u003eCookies:\u003c/span\u003e The \u003cspan style=\"font-weight: 600;\"\u003ecookies\u003c/span\u003e are text files that are automatically downloaded and stored on the user's computer hard drive when browsing a specific Internet page, which allow the Internet server to remember certain data about this user, including their preferences for viewing pages on that server, name, and password.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\n\u003cspan style=\"font-weight: 600;\"\u003eIP address:\u003c/span\u003e Sequence of numbers whose utility is the identification of an electronic device within a network configured particularly for the use of this type of addresses.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\n\u003cspan style=\"font-weight: 600;\"\u003eGET / POST / PUT / DELETE:\u003c/span\u003e They are methods (or commands) of the data exchange protocol between your browser and the server for sending and receiving data.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\n\u003cspan style=\"font-weight: 600;\"\u003eLogs:\u003c/span\u003e The \u003cspan style=\"font-weight: 600;\"\u003elogs\u003c/span\u003e (in Spanish, log) refer to one or more text files automatically created and managed by a server, where all activity on it is stored. Each server, depending on its implementation and/or configuration, may or may not create certain \u003cspan style=\"font-weight: 600;\"\u003elogs\u003c/span\u003e.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\n\u003cspan style=\"font-weight: 600;\"\u003eNAI Opt-out:\u003c/span\u003e It is a tool that allows the user to opt out of having their behavior on an internet site recorded.\u003cbr /\u003e\r\n\u003ca href=\"https://optout.networkadvertising.org/?c=1\" target=\"_blank\" rel=\"nofollow\" style=\"color: #8cc63e;\"\u003ehttps://optout.networkadvertising.org/?c=1\u003c/a\u003e\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\u003cbr /\u003e\r\n\r\n\u003ch4 style=\"color: #333333; font-size: 17px; font-weight: bold; line-height: 19px; margin: 0px 0px 20px;\"\u003eII. OPERATION OF THE WEBSITE\u003c/h4\u003e\r\n\r\nFor the operation and administration of this site, as well as for the fulfillment of its stated purposes, various types of software and computer tools are used that store data such as IP address, visited page, and referred site.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nIn addition, when you enter the site, a session cookie is used. This is exclusive to the website and never shares information with a third party.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nHowever, in the operation of \u003ca href=\"/\" style=\"color: #8cc63e;\"\u003ewww.kiwilimon.com\u003c/a\u003e, intersite \u003cspan style=\"font-weight: 600;\"\u003ecookies\u003c/span\u003e are used when entering through social networks or through their links on this website. Therefore, the connection to the site through social networks is governed by the privacy policies of these.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nIn any case, you can deactivate the \u003cspan style=\"font-weight: 600;\"\u003ecookies\u003c/span\u003e in your browser's configuration options, as described in the manual. However, they cannot be disabled due to their mode of operation, the tools, and the \u003cspan style=\"font-weight: 600;\"\u003elinks\u003c/span\u003e to social networks on the website. When possible, we establish security measures to prevent unauthorized access to our cookies and similar technologies. To ensure that only we or our authorized service providers have access to cookie data, we use unique identifiers.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nService providers are companies that assist us in various aspects of our business, such as operating our websites, services, applications, advertisements, and tools. These service providers may store cookies on your device through our services (third-party cookies) and may also collect information to help them identify your device, such as your IP address or other unique identifiers or device identifiers. Any personal data we collect and store using these. You may encounter cookies and tracking technologies from our external service providers, including but not limited to (1) Facebook®, to provide advertising services through Facebook® advertising and marketing platforms (e.g., Audience Network, Website Custom Audiences) and other social media plugins or marketing tools, and (2) Google®, to provide advertising services through Google® advertising and marketing platforms.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nExcept for the use of such technologies by our service providers or other authorized third parties, we do not allow any third-party content on the websites (such as article advertisements, user communications, classified ads, comments, reviews, etc.) to include or use cookies, web beacons, local storage, or similar technologies for tracking or collecting your personal data for their own purposes. If you believe that a third-party advertisement or other content is collecting your personal data or using tracking technologies on one of our websites, please report it via email to \u003cspan style=\"color: #8cc63e;\"\u003esupport@kiwilimon.com\u003c/span\u003e.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nLikewise, kiwilimon collects information about the preferences of the website's audience through computer tools described in the DEFINITIONS section. The Cookies used aim to identify the behavior of site usage, as well as regular users of the site, which should not be understood in any way as the collection of the user's personal information; such information is completely anonymous.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nIf the user does not want their behavior (site preferences captured through cookies) to be recorded, they can choose through the tool \u003cspan style=\"font-weight: bold;\"\u003eNAI Opt-out\u003c/span\u003e , which the site \u003ca href=\"/\" style=\"color: #8cc63e;\"\u003ewww.kiwilimon.com\u003c/a\u003e does not track your behavior, for which you can activate the checkbox \u003cspan style=\"font-weight: 600;\"\u003e\"Select all\"\u003c/span\u003e , and the system will exclude them from the advertising content that may be displayed on their computer. To activate this option, you can also click on the following link:\u003cbr /\u003e\r\n\u003ca href=\"https://optout.networkadvertising.org/?c=1\" target=\"_blank\" rel=\"nofollow\" style=\"color: #8cc63e;\"\u003ehttps://optout.networkadvertising.org/?c=1\u003c/a\u003e\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nNAI Opt-out's data practices and tools are subject to compliance reviews by NAI. For more information, please visit the site\u003cbr /\u003e\r\n\u003ca href=\"https://thenai.org/opt-out/\" target=\"_blank\" rel=\"nofollow\" style=\"color: #8cc63e;\"\u003ehttps://thenai.org/opt-out/\u003c/a\u003e\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nThe \u003cspan style=\"font-weight: 600;\"\u003elogs\u003c/span\u003e of the site \u003ca href=\"/\" target=\"_blank\" style=\"color: #8cc63e;\"\u003ewww.kiwilimon.com\u003c/a\u003eare only used to create (anonymous) usage statistics and for protection against attacks (intrusion detection, targeted attacks on ports, etc.), and are not shared with any third party. This website retains the \u003cspan style=\"font-weight: 600;\"\u003elogs\u003c/span\u003e of the following data:\r\n\r\n\u003cul style=\"margin-left: 20px;\"\u003e\r\n \u003cli style=\"font-size: 17px; font-weight: 600; line-height: 26px; list-style: inside none disc; padding: 10px 0px 5px;\"\u003eIP address\u003c/li\u003e\r\n \u003cli style=\"font-size: 17px; font-weight: 600; line-height: 26px; list-style: inside none disc; padding: 0px 0px 5px;\"\u003eConnected user ID\u003c/li\u003e\r\n \u003cli style=\"font-size: 17px; font-weight: 600; line-height: 26px; list-style: inside none disc; padding: 0px 0px 5px;\"\u003eVisited page\u003c/li\u003e\r\n \u003cli style=\"font-size: 17px; font-weight: 600; line-height: 26px; list-style: inside none disc; padding: 0px 0px 5px;\"\u003eGET/Post Variables\u003c/li\u003e\r\n \u003cli style=\"font-size: 17px; font-weight: 600; line-height: 26px; list-style: inside none disc; padding: 0px 0px 10px;\"\u003eCookies sent by the client and referred site\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\r\nkiwilimon values your feedback. For any questions, inquiries, and/or comments, please contact us at \u003cspan style=\"color: #8cc63e;\"\u003esoporte@kiwilimon.com\u003c/span\u003e.\r\n\r\n\u003cbr /\u003e\u003cbr /\u003e\r\n\r\nLast updated: June 13, 2022.\r\n"};
KL.LoadedModules.push('politicas-de-cookies');
KL.currenttemplate=WA.templates['politicas-de-cookies'];
KL.LoadedModules.push('menu-informacion');
KL.LoadedModules.push('slider');
KL.LoadedModules.push('tools');
KL.LoadedModules.push('loginset');
KL.LoadedModules.push('feed');