PageSourceSearch

https://maisonferrand.com/_app/immutable/chunks/C-txD3lN.js

js maisonferrand.com collected 2026-09-26 00:32:35 UTC 1,083 bytes, 1 lines download raw bytes

1import{b as w,c as p,d as g,g as c}from"./CyMhVuKh.js";import{c as l}from"./CktRXeS5.js";const f=()=>{let n=w(p(l.get("userPrefs"))),s=!1,a=null;const i=e=>(a=e,e==null?Promise.reject("GTM ID not set up"):new Promise((r,d)=>{if(s){r();return}const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtm.js?id=${e}&l=dataLayer`,t.async=!0,t.onload=()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"}),s=!0,r(),o()},t.onerror=()=>{d("Failed to load GTM script")},document.head.appendChild(t)})),u=async(e,r)=>{if(a)try{if(!s&&a&&await i(a),!window.dataLayer)return;window.dataLayer.push({event:"page_view",page:{title:e,location:location.href,path:r}})}catch{}},o=()=>{if(!window.dataLayer)return;g(n,l.get("userPrefs"),!0);let e={ads:!1,analytics:!1};c(n)!=null&&(e=JSON.parse(c(n))),window.dataLayer.push({event:"consent_update",consent:{ad_storage:e.ads?"granted":"denied",analytics_storage:e.analytics?"granted":"denied"}})};return{init:i,updatePreferences:o,pageView:u}},h=f();export{h as g};

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.