PageSourceSearch

https://www.ohmymag.com/modules/custom/websites_mod/dist/js/ads-datalayer-sdk-js.js

js ohmymag.com collected 2026-10-02 05:42:46 UTC 2,211 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsites_base=self.webpackChunkwebsites_base||[]).push([[2845,3060],{8027(e,r,t){t.d(r,{default:()=>a});var o=t(4839);const a=()=>{const{env:e}=window.cherryStore.environments,r={video:"articleVideo",text:"article",gallery:"diaporamas"},t=(e,r,t)=>{Array.isArray(t)?t.length>0&&(e[r]=t):null!=t&&""!==t&&(e[r]=t)};let a=["gss","gsg"].indexOf(window.cherryStore.website.prefix)>-1?"autres":"Website",i=["gss","gsg"].indexOf(window.cherryStore.website.prefix)>-1?"autres":"";window.environmentHelper.is("page-home")&&(a="Website",i="_homepage"),window.cherryStore.category&&(a="liste",i=window.cherryStore.category.slug),window.cherryStore.article&&(a=(window.cherryStore.article.news?"tac-":"")+r[window.cherryStore.article.type],i=window.cherryStore.article.category.slug),window.dataLayer=window.dataLayer||[];const n=window.cherryStore.website.group.toLowerCase(),w=window.cherryStore.website.domain;let s=window.cherryStore.website.subDomain;const d=window.cherryStore.website.abbr;let c=d;["game","GENDE","GENFR","GENUK","OMMDE","OMMFR","OMMUK","umma","MAX"].includes(d)&&/\bnews\b/i.test(s)&&(c=`${d}-tac`,s="news");const y={path:window.location.pathname,pageType:a,pageCategory:i};window.cherryStore.article&&(t(y,"title",window.cherryStore.article.name),t(y,"author",window.cherryStore.article.author),t(y,"keywords",window.cherryStore.article.keywords));const l={env:"prod"===e?"production":["alfa","bravo","charlie","echo","delta","qa","preprod"].find(r=>r===e)?"staging":e,brand:{name:n,abbr:c,domain:w,subDomain:s},hasVideos:!(!window.cherryStore.article||"video"!==window.cherryStore.article.type),page:y};return["OMMUK","OMMDE","GENUK","GENDE"].includes(window.cherryStore.website.abbr)&&(l.brand.isConsentNeeded=!1),window.dataLayer.push({advertisement:l}),window.dataLayer.push({pageHitID:(0,o.default)()}),Promise.resolve()}},4839(e,r,t){t.d(r,{default:()=>o}),window.cherryStore.analytics.uuid=`${window.cherryStore.website.abbr.toLowerCase()}_${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(e){return(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})}_${Math.round(+new Date/1e3)}`;const o=()=>window.cherryStore.analytics.uuid}}]);

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.