1const dl=drupalSettings.gtm?drupalSettings.gtm.settings.data_layer:'dataLayer';window[dl]=window[dl]||[];(function(drupalSettings){if(!drupalSettings.gtm){return} 2const config=drupalSettings.gtm;window[dl].push({'gtm.start':new Date().getTime(),event:'gtm.js'});const gtmSettings=config.settings;if(gtmSettings.include_classes===!0){window[dl].push({'gtm.allowlist':gtmSettings.allowlist_classes??[],'gtm.blocklist':gtmSettings.blocklist_classes??[],})} 3let gtm_environment='';if(gtmSettings.include_environment===!0){const gtm_auth=gtmSettings.environment_token??'';const gtm_preview=gtmSettings.environment_id??'';gtm_environment=`>m_auth=${gtm_auth}>m_preview=${gtm_preview}>m_cookies_win=x`} 4config.tagIds.forEach(function(tagId){const script=document.createElement('script');script.async=!0;const dLink=dl!='dataLayer'?`&l=${dl}`:'';script.src=`https://www.googletagmanager.com/gtm.js?id=${tagId}${gtm_environment}${dLink}`;script.type='text/javascript';document.getElementsByTagName('head')[0].appendChild(script)})})(drupalSettings)
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.