PageSourceSearch

https://platform.unago.ai/assets/DeferredAnalytics-C74LwnKH.js

js unago.ai collected 2026-10-05 13:11:32 UTC 3,448 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/instrument-aIZZS_6w.js","assets/vendor-sentry-CDLqh2i0.js","assets/rolldown-runtime-ChpBd9eV.js","assets/vendor-core-BWT5hEzS.js","assets/vendor-react-DcWoBPJp.js","assets/analyticsConsent-B_bxRYxD.js","assets/telemetry-6j1UXWjV.js"])))=>i.map(i=>d[i]);
2import{o as y}from"./rolldown-runtime-ChpBd9eV.js";import{a as g,n as _}from"./vendor-react-DcWoBPJp.js";import{t as f}from"./preload-helper-BrnWUoxD.js";import{l}from"./chunk-QUQL4437-DKXSrjJr.js";import{n as I,r as d}from"./authAnalytics-DK9RBC7g.js";import{i as c}from"./AuthService-RwBp9Rl0.js";import{r as p}from"./AuthContext-CWrypuf9.js";import{c as w,i as E,m,n as v,o as A,p as h,s as U,t as k,u as H}from"./customerio-pp8jPX-y.js";import{t as P}from"./analyticsConsent-B_bxRYxD.js";import{t as C}from"./googleAds-B2bF3HYc.js";var n=y(g(),1);function R(){return"53790776c29b2ddd1861"}function S(){return"https://assets.customer.io/assets/track-eu.js"}function T(){const t=(0,n.useRef)(!1);(0,n.useEffect)(()=>{if(t.current)return;t.current=!0;const r=R(),e=S();!r||!e||(v(r,e),A("session_started",{url:h()}))},[])}function x(){const{identity:t,isAuthenticated:r}=p(),e=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(!r||!t){e.current=null;return}if(e.current===t.id)return;const s=c.getCompanyInfo();k(t.id,{name:t.name,companyId:s.companyId??void 0,companyName:s.companyName??void 0}),e.current=t.id},[r,t])}function j(){const t=l();(0,n.useEffect)(()=>{E(t.pathname)},[t.pathname])}function $(){return T(),x(),j(),null}function L(){return{apiKey:"phc_HUyKrRzb4Ke4roimBwBhZg3B5wsH5BShpmD1GYGEGgn",apiHost:"https://eu.i.posthog.com",allowedHosts:B("platform.unago.ai,platform.hyperionwave.com,app.hyperionwave.com,devm.hyperionwave.com")}}function B(t){if(!t)return;const r=t.split(",").map(e=>e.trim()).filter(Boolean);return r.length>0?r:void 0}function G(t,r,e){const s=`${t}${r}${e}`;return typeof window>"u"?m(s):m(`${window.location.origin}${s}`)}function O(){const t=(0,n.useRef)(!1);(0,n.useEffect)(()=>{if(t.current)return;t.current=!0;const{apiKey:r,apiHost:e,allowedHosts:s}=L();r&&(H(r,e,{allowedHosts:s}),U("session_started",{url:h()}))},[])}function b(){const{identity:t,isAuthenticated:r,loading:e}=p(),s=(0,n.useRef)(null),a=(0,n.useCallback)((i,u)=>{s.current&&s.current!==i.id&&d(),I(i,u),s.current=i.id},[]);(0,n.useEffect)(()=>{if(!e){if(!r||!t){s.current&&(d(),s.current=null);return}a(t,"auth_context")}},[r,t,e,a]),(0,n.useEffect)(()=>{const i=()=>{if(e||!c.hasStoredSession()||!c.isAuthenticated())return;const u=c.getIdentity();u&&a(u,"auth_refreshed_event")};return window.addEventListener("auth:refreshed",i),()=>window.removeEventListener("auth:refreshed",i)},[a,e])}function D(){const t=l();(0,n.useEffect)(()=>{w(t.pathname,{currentUrl:G(t.pathname,t.search,t.hash),search:t.search,hash:t.hash})},[t.pathname,t.search,t.hash])}function F(){return O(),b(),D(),null}var o=_();function K(){return(0,n.useEffect)(()=>{C()},[]),null}function X(){return(0,n.useEffect)(()=>{P()&&(f(async()=>{const{initSentry:t}=await import("./instrument-aIZZS_6w.js");return{initSentry:t}},__vite__mapDeps([0,1,2,3,4,5])).then(({initSentry:t})=>t()),f(async()=>{const{initTracing:t}=await import("./telemetry-6j1UXWjV.js");return{initTracing:t}},__vite__mapDeps([6,3,2,5])).then(({initTracing:t})=>t()))},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)($,{}),(0,o.jsx)(F,{}),(0,o.jsx)(K,{})]})}export{X as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.