{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/uMheNYhhuARAj8mwsEwo/IslwGS4CWhykXJOu7nCO/siteMetadata.js", "ssg:https://framerusercontent.com/modules/jQo0rBcHGbW2xrBPkl8Q/qQjLhjwzGqhb3Dswxac0/THcqoa_mS.js"],
  "sourcesContent": ["// Generated by Framer (9e04080)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"<!-- 1.0 Play Showreel (Home Page) \u2013 click_video_hp -->\\n\\n<script>\\n// Aggiungi questo script come componente code in Framer\\n\\n// Funzione per inviare eventi a GTM\\nfunction pushToDataLayer(eventName, eventCategory, eventAction, eventLabel) {\\n  window.dataLayer = window.dataLayer || [];\\n  window.dataLayer.push({\\n    event: eventName,\\n    eventCategory: eventCategory,\\n    eventAction: eventAction,\\n    eventLabel: eventLabel\\n  });\\n}\\n\\n// Seleziona il pulsante play (assumendo che abbia la classe 'framer-gV1oA')\\nconst playButton = document.querySelector('.framer-gV1oA');\\n\\n// Funzione per inizializzare il tracciamento del video\\nfunction initializeVideoTracking() {\\n  const video = document.querySelector('#overlay video');\\n  \\n  if (video) {\\n    // Variabili per tracciare il progresso del video\\n    let progress1Sent = false;\\n    let progress25Sent = false;\\n    let progress50Sent = false;\\n    let progress75Sent = false;\\n    let progress100Sent = false;\\n\\n    // Evento timeupdate per tracciare il progresso\\n    video.addEventListener('timeupdate', () => {\\n      const progress = (video.currentTime / video.duration) * 100;\\n\\n      // Traccia video_start al 1%\\n      if (progress >= 1 && !progress1Sent) {\\n        pushToDataLayer('video_start', 'Video', 'Start', 'Showreel_Homepage');\\n        progress1Sent = true;\\n      }\\n\\n      // Traccia video_progress a 25%, 50%, 75%\\n      if (progress >= 25 && !progress25Sent) {\\n        pushToDataLayer('video_progress', 'Video', 'Progress', 'Showreel_Homepage_25%');\\n        progress25Sent = true;\\n      }\\n      if (progress >= 50 && !progress50Sent) {\\n        pushToDataLayer('video_progress', 'Video', 'Progress', 'Showreel_Homepage_50%');\\n        progress50Sent = true;\\n      }\\n      if (progress >= 75 && !progress75Sent) {\\n        pushToDataLayer('video_progress', 'Video', 'Progress', 'Showreel_Homepage_75%');\\n        progress75Sent = true;\\n      }\\n\\n      // Traccia video_complete quando il progresso \\xe8 vicino al 100%\\n      if (progress >= 99.5 && !progress100Sent) { // Usiamo 99.5 per catturare il momento prima del loop\\n        pushToDataLayer('video_complete', 'Video', 'Complete', 'Showreel_Homepage');\\n        progress100Sent = true;\\n      }\\n    });\\n\\n    // Reset delle variabili se il video viene riavviato\\n    video.addEventListener('seeked', () => {\\n      if (video.currentTime <= 0.1) { // Considera il riavvio se vicino a 0\\n        progress1Sent = false;\\n        progress25Sent = false;\\n        progress50Sent = false;\\n        progress75Sent = false;\\n        progress100Sent = false;\\n      }\\n    });\\n  } else {\\n    console.error('Elemento video non trovato!');\\n  }\\n}\\n\\n// Gestione del click sul pulsante play\\nif (playButton) {\\n  playButton.addEventListener('click', () => {\\n    // Invia evento click_video_showreel\\n    pushToDataLayer('click_video_showreel', 'Video', 'Play', 'Showreel_Homepage');\\n    \\n    // Attendi un breve periodo per permettere all'overlay di apparire\\n    setTimeout(() => {\\n      initializeVideoTracking();\\n    }, 500); // 500ms di attesa\\n  });\\n} else {\\n  // Se il pulsante play non \\xe8 presente, inizializza direttamente\\n  setTimeout(() => {\\n    initializeVideoTracking();\\n  }, 500);\\n}\\n</script>\\n\\n\\n\\n\\n<!-- 2. Link a Leviathan (footer) \u2013 click_leviathan -->\\n\\n<script>\\n  document.addEventListener(\\\"DOMContentLoaded\\\", function () {\\n    document.querySelectorAll(\\\"a\\\").forEach(function (link) {\\n      if (link.textContent.trim().toLowerCase() === \\\"leviathan\\\") {\\n        link.addEventListener(\\\"click\\\", function (e) {\\n          e.preventDefault();\\n          dataLayer.push({\\n            event: \\\"click_leviathan\\\",\\n            eventCategory: \\\"OutboundLink\\\",\\n            eventAction: \\\"click\\\",\\n            eventLabel: \\\"Footer_Leviathan\\\"\\n          });\\n          setTimeout(function () {\\n            window.open(link.href, \\\"_blank\\\");\\n          }, 250);\\n        });\\n      }\\n    });\\n  });\\n</script>\\n\\n\\n\\n\\n<!-- 3. Play Video Showcase (ex 'click_video_case') \u2013 click_video_showcase -->\\n\\n<script>\\n  document.addEventListener(\\\"DOMContentLoaded\\\", function () {\\n    const playButtons = document.querySelectorAll('div[data-framer-name=\\\"Play\\\"][name=\\\"Video Button\\\"]');\\n\\n    playButtons.forEach(function (button) {\\n      button.addEventListener(\\\"click\\\", function () {\\n        let title = \\\"Sconosciuto\\\";\\n\\n        // Risali al contenitore con la card\\n        const cardContainer = button.closest('div[data-framer-name=\\\"Video Pause\\\"]');\\n\\n        if (cardContainer) {\\n          // Cerca l'h3 dentro la card stessa\\n          const h3 = cardContainer.querySelector(\\\"h3.framer-text\\\");\\n          if (h3) {\\n            title = h3.textContent.trim();\\n          }\\n        }\\n\\n        dataLayer.push({\\n          event: \\\"click_video_case\\\",\\n          eventCategory: \\\"ShowcaseVideo\\\",\\n          eventAction: \\\"Play\\\",\\n          tipologia_video: title\\n        });\\n\\n        console.log(\\\"Tracciato click_video_case su:\\\", title);\\n      });\\n    });\\n  });\\n</script>\\n\",customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5ZGQJKCL\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->\\n\\n\\n\\n\\n',customHTMLHeadEnd:\"<script>\\n  document.addEventListener(\\\"DOMContentLoaded\\\", function () {\\n    const params = new URLSearchParams(window.location.search);\\n    const fields = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'gclid'];\\n\\n    fields.forEach((field) => {\\n      const value = params.get(field);\\n      if (value) {\\n        const input = document.querySelector(`input[name=\\\"${field}\\\"]`);\\n        if (input) input.value = value;\\n      }\\n    });\\n  });\\n</script>\\n\",customHTMLHeadStart:'\\n<script type=\"text/javascript\">var _iub = _iub || {}; _iub.cons_instructions = _iub.cons_instructions || []; _iub.cons_instructions.push([\"init\", {api_key: \"IX7CQUWqcnBaFq6BB8R36FPCo4ByCS0m\"}]);</script><script type=\"text/javascript\" src=\"https://cdn.iubenda.com/cons/iubenda_cons.js\" async=\"\"></script>\\n\\n\\n\\n<script type=\"text/javascript\">\\n  var _iub = _iub || [];\\n  _iub.csConfiguration = {\\n    \"googleConsentMode\": \"template\",\\n    \"askConsentAtCookiePolicyUpdate\": true,\\n    \"countryDetection\": true,\\n    \"enableFadp\": true,\\n    \"floatingPreferencesButtonDisplay\":\"bottom-right\",\\n    \"perPurposeConsent\": true,\\n    \"siteId\": 3429589,\\n    \"whitelabel\": false,\\n    \"cookiePolicyId\": 39513596,\\n    \"consentOnContinuedBrowsing\": false,\\n    \"purposes\": \"1, 2, 3, 4, 5\",\\n    \"lang\": \"it\",\\n   \"banner\": {\\n      \"acceptButtonDisplay\": true,\\n      \"closeButtonRejects\": true,\\n      \"customizeButtonDisplay\": true,\\n      \"explicitWithdrawal\": true,\\n      \"listPurposes\": true,\\n      \"position\": \"float-top-center\",\\n      \"rejectButtonDisplay\": true,\\n      \"showTitle\": false\\n    },\\n    // Da qui inizia il callback per GTM\\n    \"callback\": {\\n      \"onPreferenceExpressedOrNotNeeded\": function(preference) {\\n        dataLayer.push({\\n          iubenda_ccpa_opted_out: _iub.cs.api.isCcpaOptedOut()\\n        });\\n        if (!preference) {\\n          dataLayer.push({\\n            event: \"iubenda_preference_not_needed\"\\n          });\\n        } else {\\n          if (preference.consent === true) {\\n            dataLayer.push({\\n              event: \"iubenda_consent_given\"\\n            });\\n          } else if (preference.consent === false) {\\n            dataLayer.push({\\n              event: \"iubenda_consent_rejected\"\\n            });\\n          } else if (preference.purposes) {\\n            for (var purposeId in preference.purposes) {\\n              if (preference.purposes[purposeId]) {\\n                dataLayer.push({\\n                  event: \"iubenda_consent_given_purpose_\" + purposeId\\n                });\\n              }\\n            }\\n          }\\n        }\\n      }\\n    }\\n  };\\n</script>\\n<script type=\"text/javascript\" src=\"//cs.iubenda.com/sync/3429589.js\"></script>\\n<script type=\"text/javascript\" src=\"//cdn.iubenda.com/cs/iubenda_cs.js\" charset=\"UTF-8\" async=\"\"></script>\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\\'gtm.start\\':\\nnew Date().getTime(),event:\\'gtm.js\\'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!=\\'dataLayer\\'?\\'&l=\\'+l:\\'\\';j.async=true;j.src=\\n\\'https://www.googletagmanager.com/gtm.js?id=\\'+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,\\'script\\',\\'dataLayer\\',\\'GTM-5ZGQJKCL\\');</script>\\n<!-- End Google Tag Manager -->\\n\\n',description:\"Da noi puoi girare contenuti foto e video professionali per il tuo brand, contenuti influencer, TikTok, Reels e molto altro. Contattaci!\",favicon:\"https://framerusercontent.com/assets/esT3PpcWnsQi1u3VNuiZfUMNsFc.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/RuyQCg7IZ4BZrUTMIQ1lGgt9oO4.png\",title:\"Thana Content House\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "// Generated by Framer (890879b)\nimport siteMetadata from\"https://framerusercontent.com/modules/uMheNYhhuARAj8mwsEwo/IslwGS4CWhykXJOu7nCO/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"4nz86t\",mediaQuery:\"(min-width: 1440px)\"},{hash:\"giarf0\",mediaQuery:\"(min-width: 810px) and (max-width: 1439px)\"},{hash:\"1yaabtv\",mediaQuery:\"(max-width: 809px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-tSO6V\",title:siteMetadata(params,activeLocale).title||\"404\",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": "AACe,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,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;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;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;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;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