PageSourceSearch

https://rico-brunner.com/assets/Analytics-DO3XMIb8.js

js rico-brunner.com collected 2026-10-06 19:53:16 UTC 1,550 bytes, 10 lines download raw bytes

1import{j as i}from"./jsx-runtime-D_zvdyIk.js";import{e as d,r as m}from"./chunk-B7RQU5TL-Dvld55U7.js";let r;function f(e){const{gtmId:t,dataLayerName:n="dataLayer",auth:a,preview:o,dataLayer:g}=e;r===void 0&&(r=n);const s=n!=="dataLayer"?`&l=${n}`:"",l=a?`&gtm_auth=${a}`:"",c=o?`&gtm_preview=${o}&gtm_cookies_win=x`:"";return i.jsxs(i.Fragment,{children:[i.jsx("script",{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
2                    (function(w,d,s,l,i){
3                    w[l]=w[l]||[];
4                    w[l].push({'gtm.start':
5                    new Date().getTime(),event:'gtm.js'});
6                    var f=d.getElementsByTagName(s)[0],
7                    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8                    'https://t.rico-brunner.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
9                    })(window,document,'script','dataLayer','GTM-NPD2SR7B');
10                    `}}),i.jsx("script",{id:"_next-gtm","data-ntpc":"GTM",src:`https://t.rico-brunner.com/gtm.js?id=${t}${s}${l}${c}`})]})}const u=e=>{if(r===void 0){console.warn("GTM has not been initialized");return}const t=window[r];return t?Array.isArray(e)?t.push(...e):t.push(e):console.warn(`GTM dataLayer ${r} does not exist`),t};function y(){const e=d();return m.useEffect(()=>{const t=window.location.href,n=document.title;return()=>{const a=window.location.href,o=document.title;u({event:"virtual_page_view",page_type:"home",old_url:t,new_url:a,old_title:n,new_title:o})}},[e]),null}export{f as G,y as P,u as s};

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.