{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/OFfkqtiWkA2lNE3QxpPH/TbFCwKzWycI18cMp1w3R/yqER4HHdx.js"],
  "sourcesContent": ["// Generated by Framer (890879b)\nimport siteMetadata from\"https://framerusercontent.com/modules/rEjivqICOGCY7xp8HvPP/KLA7j5czxF9RYuXpRn2F/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"136uz1l\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1jrzz7w\",mediaQuery:\"(max-width: 1199px)\"}],customHTMLBodyStart:'<script type=\"text/javascript\">\\n(() => {\\n    function redirectToPlayStore() {\\n        // Check if the code is running in a browser environment\\n        if (typeof window !== \"undefined\") {\\n            console.log(\"Client-side detected, proceeding with redirection.\");\\n            \\n            try {\\n                // Capture all query parameters from the URL\\n                const queryParams = new URLSearchParams(window.location.search);\\n                \\n                // Extract the required parameters\\n                const utmSource = queryParams.get(\"utm_source\") || \\'testsource\\';\\n                const utmMedium = queryParams.get(\"utm_medium\") || \\'testmedium\\';\\n                const utmCampaign = queryParams.get(\"utm_campaign\") || \\'testcampaign\\';\\n                const offerwallId = queryParams.get(\"offerwall_id\") || \\'\\';\\n                const campaignId = queryParams.get(\"campaign_id\") || \\'\\';\\n                const userId = queryParams.get(\"user_id\") || \\'\\';  // Default to an empty string if user_id is missing\\n                const offerId = queryParams.get(\"offer_id\") || \\'details\\';\\n                \\n                // Log the parameters to verify that they are captured\\n                console.log(\"utmSource:\", utmSource);\\n                console.log(\"utmMedium:\", utmMedium);\\n                console.log(\"utmCampaign:\", utmCampaign);\\n                console.log(\"offerwallId:\", offerwallId);\\n                console.log(\"campaignId:\", campaignId);\\n                console.log(\"userId:\", userId);\\n                console.log(\"offerId:\", offerId);\\n                \\n                // Base Play Store URL for the Adsgift Indosat app\\n                const playStoreBaseUrl = \"https://play.google.com/store/apps/details?id=com.adfone.indosat\";\\n                \\n                // Construct the referrer URL by encoding the parameters\\n                const referrer = encodeURIComponent(`utm_source=${utmSource}&utm_medium=${utmMedium}&utm_campaign=${utmCampaign}&offerwall_id=${offerwallId}&campaign_id=${campaignId}&user_id=${userId}&offer_id=${offerId}`);\\n                \\n                // Redirect to the Play Store URL with the referrer parameters\\n                console.log(\"Redirecting to Play Store with referrer:\");\\n                console.log(`${playStoreBaseUrl}&referrer=${referrer}`);\\n                window.location.href = `${playStoreBaseUrl}&referrer=${referrer}`;  // Redirect to Play Store with referrer data\\n                \\n            } catch (error) {\\n                console.error(\"Error during redirection:\", error);\\n            }\\n        } else {\\n            console.log(\"Server-side rendering detected. No client-side operations are performed.\");\\n        }\\n    }\\n    \\n    // Run redirectToPlayStore on page load\\n    document.addEventListener(\"DOMContentLoaded\", redirectToPlayStore);\\n})();\\n</script>',description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-FMBqy\",title:siteMetadata(params,activeLocale).title||\"Openexternaldeeplink\",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,qBAAqB,CAAC,EAAE,oBAAoB;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,YAA21F,YAAYF,EAAaC,EAAOC,CAAY,EAAE,YAAY,SAAS,CAAC,EAAE,OAAO,0BAA0B,gBAAgB,eAAe,MAAMF,EAAaC,EAAOC,CAAY,EAAE,OAAO,uBAAuB,SAAS,oBAAoB,CAAE,CAAQ,IAAMC,EAAgB,EACp5GC,EAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,GAAG,CAAC,EAAE,gBAAkB,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,GAAG,CAAC,EAAE,mBAAqB,CAAC,KAAO,UAAU,CAAC,CAAC",
  "names": ["metadata", "params", "activeLocale", "metadataVersion", "__FramerMetadata__"]
}
