{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/jAakPsfuazCga7btnb8k/2Pl3EHKOL7eR0rehgUk9/siteMetadata.js"],
  "sourcesContent": ["// Generated by Framer (2306ade)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"<script>\\n    function getUTMParams() {\\n    const urlParams = new URLSearchParams(window.location.search);\\n    const utms = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content'];\\n    const result = [];\\n\\n    utms.forEach(param => {\\n        if (urlParams.has(param)) {\\n            result.push(`${param}=${encodeURIComponent(urlParams.get(param))}`);\\n        }\\n    });\\n\\n    return result.join('&');\\n}\\n\\n    function isMobile() {\\n            return /Mobi|Android/i.test(navigator.userAgent);\\n        }\\n\\n        posthog.register({\\n            $device_type: isMobile() ? 'Mobile' : 'Desktop'\\n        });\\n    posthog.onFeatureFlags(function () {\\n        const variant = posthog.getFeatureFlag('user-completes-signup-1');\\n\\n        if (!variant) return;\\n\\n        const utmParams = getUTMParams();\\n        let destinationLink;\\n\\n        switch (variant) {\\n        case 'control':\\n            destinationLink = `https://app.zaviago.com${utmParams ? '?' + utmParams : ''}`;\\n            break;\\n        case 'instructions_then_signup':\\n            destinationLink = `/register${utmParams ? '?' + utmParams : ''}`;\\n            break;\\n        case 'direct_line_signup':\\n            // Grab UTM string (e.g. utm_source=..., etc.)\\n    const utmQuery = utmParams ? `?${utmParams}` : '';\\n    const stateObject = {\\n        next: `/dashboard${utmQuery}`\\n    };\\n    const stateParam = encodeURIComponent(JSON.stringify(stateObject));\\n    \\n    destinationLink = `https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=2007103684&redirect_uri=${encodeURIComponent(\\\"https://app.zaviago.com/auth/line/callback\\\")}&state=${stateParam}&bot_prompt=aggressive&scope=profile%20openid%20email`;\\n    break;\\n    }\\n\\n\\n        function updateLinks() {\\n            const ctaLinks = document.querySelectorAll('[href^=\\\"https://access.line.me\\\"]');\\n            ctaLinks.forEach(el => {\\n                if (el.getAttribute('href') !== destinationLink) {\\n                    el.setAttribute('href', destinationLink);\\n                }\\n            });\\n        }\\n\\n        // Initial update\\n        updateLinks();\\n\\n        // Observe changes in DOM without triggering loops\\n        const observer = new MutationObserver((mutations) => {\\n            let shouldUpdate = false;\\n            for (const mutation of mutations) {\\n                if (\\n                    mutation.type === 'childList' ||\\n                    (mutation.type === 'attributes' && mutation.attributeName === 'href')\\n                ) {\\n                    shouldUpdate = true;\\n                    break;\\n                }\\n            }\\n\\n            if (shouldUpdate) {\\n                updateLinks();\\n            }\\n        });\\n\\n        observer.observe(document.body, {\\n            childList: true,\\n            subtree: true,\\n            attributes: true,\\n            attributeFilter: ['href'], // only observe href changes\\n        });\\n    });\\n</script>\\n\",customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PHWL7GV\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadStart:\"<!-- 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-PHWL7GV');</script>\\n<!-- End Google Tag Manager -->\\n\\n<script>\\n    !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(\\\".\\\");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement(\\\"script\\\")).type=\\\"text/javascript\\\",p.async=!0,p.src=s.api_host+\\\"/static/array.js\\\",(r=t.getElementsByTagName(\\\"script\\\")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a=\\\"posthog\\\",u.people=u.people||[],u.toString=function(t){var e=\\\"posthog\\\";return\\\"posthog\\\"!==a&&(e+=\\\".\\\"+a),t||(e+=\\\" (stub)\\\"),e},u.people.toString=function(){return u.toString(1)+\\\".people (stub)\\\"},o=\\\"capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys\\\".split(\\\" \\\"),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);\\n\\n\\nfunction getPostHogCookie(publicKey) {\\n  const cookieName = `ph_${publicKey}_posthog`;\\n  const cookies = document.cookie.split(';');\\n\\n  for (const cookie of cookies) {\\n    const [name, value] = cookie.trim().split('=');\\n    if (name === cookieName) {\\n      try {\\n        return JSON.parse(decodeURIComponent(value));\\n      } catch (err) {\\n        console.error('Failed to parse PostHog cookie JSON:', err);\\n        return null;\\n      }\\n    }\\n  }\\n\\n  console.warn(`Cookie ${cookieName} not found.`);\\n  return null;\\n}\\nconst PUBLIC_POSTHOG_KEY = 'phc_aIujng2ZGNvCqhhFnHvaN9mqbIVRxS2UZdUYdXLUu0T';\\nconst posthogData = getPostHogCookie(PUBLIC_POSTHOG_KEY);\\nconsole.log(posthogData);\\n\\n    posthog.init(PUBLIC_POSTHOG_KEY,{api_host:'https://app.posthog.com',\\n    bootstrap: {\\n        distinctID: posthogData?.distinct_id ?? crypto.randomUUID(),\\n        isIdentifiedID: false,\\n        sessionID: (posthogData?.$sesid ?? []).find(id => typeof id === \\\"string\\\") ?? crypto.randomUUID(),\\n        featureFlags: {\\n            'user-completes-signup-1': true,\\n            'variant-flag': 'control'\\n        },\\n    },})\\n</script>\",description:\"zaviago. \u0E23\u0E30\u0E1A\u0E1A\u0E04\u0E25\u0E31\u0E07\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2D\u0E2D\u0E19\u0E44\u0E25\u0E19\u0E4C \u0E02\u0E32\u0E22\u0E2B\u0E25\u0E32\u0E22\u0E0A\u0E48\u0E2D\u0E07\u0E17\u0E32\u0E07 \u0E41\u0E25\u0E30\u0E23\u0E30\u0E1A\u0E1A\u0E08\u0E31\u0E14\u0E01\u0E32\u0E23\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08\u0E41\u0E1A\u0E1A\u0E04\u0E23\u0E1A\u0E27\u0E07\u0E08\u0E23 \u0E42\u0E1B\u0E23\u0E41\u0E01\u0E23\u0E21\u0E40\u0E01\u0E47\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E25\u0E39\u0E01\u0E04\u0E49\u0E32 CRM \u0E41\u0E1A\u0E1A B2C \u0E41\u0E25\u0E30 B2B \u0E08\u0E19\u0E16\u0E36\u0E07\u0E23\u0E30\u0E1A\u0E1A ERP \u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E2B\u0E23\u0E37\u0E2D\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08 \u0E42\u0E14\u0E22\u0E43\u0E0A\u0E49\u0E40\u0E17\u0E04\u0E42\u0E19\u0E42\u0E25\u0E22\u0E35\u0E14\u0E34\u0E08\u0E34\u0E17\u0E31\u0E25\u0E40\u0E1B\u0E47\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\",favicon:\"https://framerusercontent.com/assets/3yOjKv7fd7ynUiNkIaNVc32rXg.svg\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/TKSLB2hIw0i7A7hkKmGpJJHfmM.png\",title:\"Zaviago | \u0E23\u0E30\u0E1A\u0E1A\u0E08\u0E31\u0E14\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E40\u0E14\u0E2D\u0E23\u0E4C\u0E41\u0E25\u0E30\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08\u0E2D\u0E2D\u0E19\u0E44\u0E25\u0E19\u0E4C\"};}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,EAA47F,oBAAoB;AAAA;AAAA,4CAAuP,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,YAA0oF,YAAY,kgCAAyM,QAAQ,sEAAsE,OAAO,0BAA0B,YAAY,sEAAsE,MAAM,kNAA6C,CAAE",
  "names": ["metadata", "params", "activeLocale"]
}
