PageSourceSearch

https://lafayetteelectronics.com/_nuxt/CGnhiPLy.js

js lafayetteelectronics.com collected 2026-09-25 02:15:55 UTC 1,362 bytes, 8 lines download raw bytes

1import{m as p}from"./atwD3NUm.js";const m="https://www.googletagmanager.com/gtm.js";function c(){const t=window;return t.dataLayer=t.dataLayer||[],t.dataLayer||[]}function d(t){c().push(t)}function g(t,a){d({event:"content-view","content-name":a,"content-view-name":t})}function f(t){c().push({event:"gtm.js","gtm.start":new Date().getTime()});const a=document.createElement("script");a.async=!0,a.src=`${m}?id=${encodeURIComponent(t)}`,document.head.appendChild(a)}let s=!1,o,i;const w=()=>{const t=(e,n)=>{d(["consent",e,{ad_storage:n,ad_user_data:n,ad_personalization:n,analytics_storage:n}])},a=(e,n)=>{g(e,n)},u=()=>{if(typeof o>"u")return;const e=o;o=void 0;const n=document.createElement("script");n.innerHTML=`
2      window.dataLayer = window.dataLayer || [];
3      function gtag() {
4        dataLayer.push(arguments);
5      }
6      gtag('js', new Date());
7      gtag('config', '${e}');
8    `,document.body.appendChild(n)},r=()=>{if(s)return;s=!0;const e=p();f(e.public.gtm.id),a(window.location.pathname,window.location.href),u(),i&&(i(),i=void 0)};return{setCustomerGA4:e=>{o=e},onConsentReady:e=>{i=e},startGTM:(e,n)=>{if(e){if(n===void 0){t("default","denied");return}if(t("update",n),n==="denied")return}r()},pushConsentGranted:()=>{t("update","granted"),r()},pushConsentDenied:()=>{},pushABTest:e=>{d({abTest:e})},pushTrackView:a}};export{w as u};

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.