{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Lw3ggs1CDDz2A1olL4md/6zT9EwrRcNtWSZLHzLIA/DhgovgL5v.js"],
  "sourcesContent": ["// Generated by Framer (bab6da3)\nimport siteMetadata from\"https://framerusercontent.com/modules/zcMr8hbUhq6CTpBwrAaa/vyEZtLEYix7QZ3k29Wzy/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"1tiee6s\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1l2vfst\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"zqdgj3\",mediaQuery:\"(max-width: 809px)\"}],customHTMLBodyEnd:'<script defer=\"\">\\n  document.addEventListener(\"DOMContentLoaded\", () => {\\n    // ==========================================\\n    // PAR\\xc1METROS PERSONALIZABLES\\n    // ==========================================\\n    const PHONE_NUMBER = \"17865789817\"; // N\\xfamero de tel\\xe9fono de destino\\n    const URL_PARAM_NAME = \"name\"; // Nombre del par\\xe1metro de URL para el nombre\\n    const URL_PARAM_SITUATION = \"perfil\"; // Nombre del par\\xe1metro de URL para la situaci\\xf3n\\n    const DEFAULT_NAME = \"Un momento\"; // Nombre por defecto\\n    const DEFAULT_MESSAGE =\\n      \"Hey Alex, I want to sign up for The G Challenge\"; // Mensaje por defecto\\n    const MESSAGE_TEMPLATE =\\n      \"Hey Alex, my name is {name}. I want to sign up for The\\xa0G\\xa0Challenge\";\\n    const COUNTDOWN_SECONDS = 6000; // Tiempo de cuenta atr\\xe1s en segundos\\n    // ==========================================\\n\\n    const params = new URLSearchParams(window.location.search);\\n    const hasParams =\\n      params.has(URL_PARAM_NAME) || params.has(URL_PARAM_SITUATION);\\n\\n    // Capitaliza cada palabra del nombre\\n    function capitalizeFullName(name) {\\n      return name\\n        .split(\" \")\\n        .map(\\n          (word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()\\n        )\\n        .join(\" \");\\n    }\\n\\n    const firstName = capitalizeFullName(\\n      params.get(URL_PARAM_NAME) || DEFAULT_NAME\\n    );\\n\\n    const situation = params.get(URL_PARAM_SITUATION) || \"\";\\n\\n    function getSituationEmoji(situation) {\\n      const emojiMap = {\\n        \"Estratega de Lanzamientos\": \"\uD83D\uDE80\",\\n        Infoproductor: \"\uD83D\uDD25\",\\n        \"Due\\xf1o de agencia de lanzamientos\": \"\uD83C\uDFAF\",\\n        Plataformas: \"\uD83D\uDE0A\",\\n        \"Implementador T\\xe9cnico\": \"\uD83E\uDD16\",\\n        Afiliado: \"\uD83D\uDFE2\",\\n        Otro: \"\u2705\",\\n      };\\n      return emojiMap[situation] || emojiMap[\"Otro\"];\\n    }\\n\\n    // Actualizar el nombre en el t\\xedtulo\\n    const nombreElement = document.getElementById(\"nombreUsuario\");\\n    if (nombreElement) {\\n      var mayus = firstName.toUpperCase();\\n      nombreElement.innerHTML = mayus;\\n    }\\n\\n    function createMessage(name, situation) {\\n      if (!hasParams) {\\n        return DEFAULT_MESSAGE;\\n      }\\n      const message = MESSAGE_TEMPLATE.replace(\"{name}\", name);\\n      const situationEmoji = getSituationEmoji(situation);\\n      return `${message} ${situationEmoji}`;\\n    }\\n\\n    const encodedMessage = encodeURIComponent(\\n      createMessage(firstName, situation)\\n    );\\n    const whatsappBaseUrl = \"api.whatsapp.com/send\";\\n    const whatsappLink = `https://${whatsappBaseUrl}?phone=${PHONE_NUMBER}&text=${encodedMessage}`;\\n\\n    function redirectToWhatsApp() {\\n      const isInstagram = navigator.userAgent.includes(\"Instagram\");\\n      const isIOS = /iPhone|iPad/.test(navigator.userAgent);\\n      const isAndroid = /Android/.test(navigator.userAgent);\\n\\n      if (isInstagram) {\\n        if (isIOS) {\\n          const chromeUrl = `googlechromes://${whatsappBaseUrl}?phone=${PHONE_NUMBER}&text=${encodedMessage}`;\\n          window.location.href = chromeUrl;\\n          setTimeout(() => {\\n            window.location.href = whatsappLink;\\n          }, 500);\\n        } else if (isAndroid) {\\n          window.location.href = `intent://${whatsappBaseUrl}?phone=${PHONE_NUMBER}&text=${encodedMessage}#Intent;scheme=https;package=com.android.chrome;end`;\\n        } else {\\n          window.location.href = whatsappLink;\\n        }\\n      } else {\\n        window.location.href = whatsappLink;\\n      }\\n    }\\n\\n    document.querySelectorAll(\\'a[href=\"https://$whatsapp\"]\\').forEach((anchor) => {\\n      anchor.addEventListener(\"click\", (event) => {\\n        event.preventDefault();\\n        redirectToWhatsApp();\\n      });\\n    });\\n\\n    setTimeout(() => {\\n      redirectToWhatsApp();\\n    }, COUNTDOWN_SECONDS * 1000);\\n  });\\n</script>',description:siteMetadata(params,activeLocale).description,elements:{k9gWV2Oq5:\"faq\",OoDYDUL1h:\"how-it-works\",R4CDWhl6w:\"pricing\",rDaWRgYPZ:\"testimonials\",tY0KrbARI:\"bento\",WBfEP1kLL:\"features\",XuNyU7GCI:\"navigation-trigger\"},robots:\"max-image-preview:large\",serializationId:\"framer-fu1mA\",title:siteMetadata(params,activeLocale).title||\"Thanks G\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "yCACyI,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,UAAU,WAAW,qBAAqB,EAAE,CAAC,KAAK,UAAU,WAAW,4CAA4C,EAAE,CAAC,KAAK,SAAS,WAAW,oBAAoB,CAAC,EAAE,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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