{"version":3,"file":"mMBXPq2dS.CXKJDMWT.mjs","names":["metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/uPtZMLbV9bABm9FXvXSP/ydPLEiiVhaezcq690nYh/mMBXPq2dS.js"],"sourcesContent":["// Generated by Framer (04b9457)\nimport siteMetadata from\"https://framerusercontent.com/modules/95D7Uzf2OLmb4miKrOPr/qoTMB6wvQL33CvqX7fp3/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"nzf6t1\",mediaQuery:\"(min-width: 1300px)\"},{hash:\"1886ltl\",mediaQuery:\"(min-width: 750px) and (max-width: 1299.98px)\"},{hash:\"17odehj\",mediaQuery:\"(max-width: 749.98px)\"}],customHTMLBodyEnd:\"\\n<!-- Dennis Ingl\\xe9s AI – custom embed (production + no VF branding) -->\\n<style>\\n  /* Chat panel – hidden by default */\\n  #dennis-ai-container {\\n    position: fixed;\\n    right: 24px;\\n    bottom: 24px;\\n    width: 420px;\\n    height: 580px;\\n    max-height: calc(100vh - 48px);\\n    display: none;              /* hidden until user opens */\\n    background: #fff;\\n    border-radius: 16px;\\n    box-shadow: 0 20px 60px rgba(0,0,0,.25);\\n    overflow: hidden;\\n    z-index: 99999;\\n  }\\n  #dennis-ai-container.open { display: block; }\\n\\n  /* Mobile: full‑width panel */\\n  @media (max-width: 768px) {\\n    #dennis-ai-container {\\n      right: 0; left: 0; bottom: 0;\\n      width: 100vw; height: 80vh; border-radius: 16px 16px 0 0;\\n    }\\n  }\\n\\n  /* Optional: hide Voiceflow default header/branding if present */\\n  /* These selectors may change over time; keep only if you still see branding */\\n  [data-testid*=\\\"branding\\\"],\\n  .vf-branding,\\n  .vf-powered,\\n  .vf-chat-header__branding { display:none !important; }\\n</style>\\n\\n<!-- Your custom chat container -->\\n<div id=\\\"dennis-ai-container\\\" aria-label=\\\"IA Dennis Ingl\\xe9s\\\"></div>\\n\\n<script>\\n  // 1) MOBILE AUDIO UNLOCK: unlock WebAudio on first tap/click\\n  (function () {\\n    let unlocked = false;\\n    function unlock() {\\n      if (unlocked) return; unlocked = true;\\n      try {\\n        const AC = window.AudioContext || window.webkitAudioContext;\\n        const ctx = new AC();\\n        const src = ctx.createBufferSource();\\n        src.buffer = ctx.createBuffer(1, 1, 22050);\\n        src.connect(ctx.destination);\\n        src.start(0);\\n        setTimeout(() => ctx.close(), 150);\\n      } catch (e) {}\\n      document.removeEventListener('touchstart', unlock, { capture:true });\\n      document.removeEventListener('click', unlock, { capture:true });\\n    }\\n    document.addEventListener('touchstart', unlock, { once:true, capture:true });\\n    document.addEventListener('click', unlock, { once:true, capture:true });\\n  })();\\n\\n  // 2) Load Voiceflow widget (production Version ID + embedded render)\\n  (function(d, t) {\\n    var v = d.createElement(t), s = d.getElementsByTagName(t)[0];\\n    v.onload = function() {\\n      window.VF_CHAT = window.voiceflow.chat.load({\\n        verify:   { projectID: '688a73f2c70ad225a5cf927b' },              // <- your Project ID\\n        versionID:'688a73f2c70ad225a5cf927c',                              // <- **your PRODUCTION Version ID**\\n        url:      'https://general-runtime.voiceflow.com',\\n        voice:    { url: 'https://runtime-api.voiceflow.com' },\\n        render:   { mode: 'embedded', target: document.getElementById('dennis-ai-container') },\\n        // optional: starting state / variables\\n        // autostart: false,\\n      });\\n    };\\n    v.src  = 'https://cdn.voiceflow.com/widget-next/bundle.mjs';\\n    v.type = 'text/javascript';\\n    s.parentNode.insertBefore(v, s);\\n  })(document, 'script');\\n\\n  // 3) Open / close helpers\\n  function openDennisAI() {\\n    document.getElementById('dennis-ai-container').classList.add('open');\\n    // Scroll into view on mobile (optional)\\n    if (window.innerWidth < 768) setTimeout(() => window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' }), 50);\\n  }\\n  function closeDennisAI() {\\n    document.getElementById('dennis-ai-container').classList.remove('open');\\n  }\\n\\n  // 4) Wire up buttons by ID if they exist on the page\\n  // Give your Framer button the ID \\\"open-ai-btn\\\" to open; \\\"close-ai-btn\\\" to close.\\n  document.addEventListener('click', function(e) {\\n    const id = e.target.id;\\n    if (id === 'open-ai-btn') { e.preventDefault(); openDennisAI(); }\\n    if (id === 'close-ai-btn') { e.preventDefault(); closeDennisAI(); }\\n  });\\n</script>\\n\",description:siteMetadata(params,activeLocale).description,elements:{},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-9roUz\",socialImage:\"https://framerusercontent.com/assets/3drncDsS8yar2x6SRuwXDpXN1XA.png\",title:\"Clase GRATIS + Codigo de Descuento\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yGAC0H,SAAwBA,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,sBAAsB,CAAC,CAAC,KAAK,UAAU,WAAW,gDAAgD,CAAC,CAAC,KAAK,UAAU,WAAW,wBAAwB,CAAC,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAksH,YAAYC,EAAa,EAAO,EAAa,CAAC,YAAY,SAAS,EAAE,CAAC,aAAa,CAAC,MAAM,GAAK,CAAC,OAAO,0BAA0B,gBAAgB,eAAe,YAAY,uEAAuE,MAAM,qCAAqC,SAAS,qBAAqB,sBAA5wI,CAA2xI,EAAgB,EACx5I,EAAqB,CAAC,QAAU,CAAC,gBAAkB,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,QAAU,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAA"}