PageSourceSearch

https://stream.pickleballtv.com/assets/analytics-viwE_EtN.js

js pickleballtv.com collected 2026-09-29 15:29:53 UTC 3,931 bytes, 7 lines download raw bytes

1import{j as l}from"./jsx-runtime-ZW8ellP4.js";import{r as p}from"./index-89mridoR.js";import{l as u}from"./mocks-sw-BVUakEtb.js";import{v as f}from"./v4-BF7k9QKo.js";try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7bf62df3-cc93-49a1-bd92-d65ef2bc9706",t._sentryDebugIdIdentifier="sentry-dbid-7bf62df3-cc93-49a1-bd92-d65ef2bc9706")})()}catch{}const y="zapp-ga-user-id",_="zapp-braze-user-id",h=({gaTrackingId:t,analyticsSharedVars:e,userId:r})=>t?l.jsx("script",{async:!0,id:"gtag-init",dangerouslySetInnerHTML:{__html:`
2            window.dataLayer = window.dataLayer || [];
3            function gtag(){dataLayer.push(arguments);}
4            gtag('js', new Date());
5            gtag('config', '${t}', ${JSON.stringify({...e,user_id:r})});
6          `}}):null,w=({gtmTrackingId:t})=>{p.useEffect(()=>{if(typeof window>"u"||!t)return;const e="google-tag-manager";document!=null&&document.getElementById(e)||function(a,n,o,i,c){var g;a[i]=a[i]||[],a[i].push({"gtm.start":new Date().getTime(),event:"gtm.js"});const d=n.getElementsByTagName(o)[0],s=n.createElement(o),m="";s.id=e,s.async=!0,s.src="https://www.googletagmanager.com/gtm.js?id="+c+m,(g=d.parentNode)==null||g.insertBefore(s,d)}(window,document,"script","dataLayer",t)},[t])},b=({gtmTrackingId:t})=>t?l.jsx("noscript",{children:l.jsx("iframe",{title:"googletagmanager",src:`https://www.googletagmanager.com/ns.html?id=${t}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}):null,D=({gaTrackingId:t,gtmTrackingId:e})=>{p.useEffect(()=>{if(typeof window>"u"||!t||e)return;const r=`gtag-js-${t}`;let a=document.getElementById(r);if(a)return;a=document.createElement("script");const n=a;n.defer=!0,n.src=`https://www.googletagmanager.com/gtag/js?id=${t}`,n.id=r,document.head.appendChild(n)},[t,e])};function j({gtmTrackingId:t,gaTrackingId:e,userId:r,analyticsSharedVars:a}){return w({gtmTrackingId:t}),D({gaTrackingId:e,gtmTrackingId:t}),l.jsxs(l.Fragment,{children:[l.jsx(h,{gaTrackingId:e,userId:r,analyticsSharedVars:a}),l.jsx(b,{gtmTrackingId:t})]})}function x(){try{const t="zapp-uuid",e=localStorage.getItem(t),r=e||f();return e||localStorage.setItem(t,JSON.stringify(r)),r}catch{return f()}}const G=(t,e,r,a)=>{const{id:n,component_type:o,name:i,styles:c}=r||{},{id:d,type:s,title:m,_entryIndex:g}=a||{};return{eventName:t,trackData:{...e,component_type:o,component_id:n,header_name:i,cell_style:c==null?void 0:c.cell_plugin_configuration_id,item_type:s==null?void 0:s.value,item_number:g,item_name:m,item_id:d}}},$=(t,e,r)=>{try{const{version:a,build_number:n,bundle_id:o,sdk_version:i,layout_id:c,zapp_platform:d,analyticsCustomProperties:s}=e;return{eventName:t,trackData:{version:a,build_number:n,bundle_id:o,sdk_version:i,layout_id:c,zapp_platform:d,analyticsCustomProperties:s,...r}}}catch(a){return u.info(`getNavItemAnalyticsData: ${a.message}`),{eventName:t,trackData:{}}}},z=(t,e,r)=>{try{const a={...e,...r};return(o=>({eventName:t,trackData:{...a,...o}}))({})}catch(a){return u.info(`getPurchaseAnalyticData failed: ${a.message}`),{eventName:t,trackData:{}}}},B=()=>{try{return(localStorage==null?void 0:localStorage.getItem(y))??""}catch(t){return u.error(`failed to get GA user id: ${t==null?void 0:t.message}`),""}},U=t=>{try{localStorage==null||localStorage.setItem(y,t)}catch(e){u.error(`failed to set GA user id: ${e==null?void 0:e.message}`)}},v=()=>{try{return(localStorage==null?void 0:localStorage.getItem(_))??""}catch(t){return u.error(`failed to get Braze user id: ${t==null?void 0:t.message}`),""}},L=t=>{try{localStorage==null||localStorage.setItem(_,t)}catch(e){u.error(`failed to set Braze user id: ${e==null?void 0:e.message}`)}};export{j as G,L as a,z as b,$ as c,B as d,v as e,G as f,x as g,U as s};
7//# sourceMappingURL=analytics-viwE_EtN.js.map

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.