PageSourceSearch

https://www.syndicalismehebdo.fr/_nuxt/V3iQ_VN1.js

js syndicalismehebdo.fr collected 2026-10-01 10:44:19 UTC 2,700 bytes, 1 lines download raw bytes

1import{aL as s,aZ as q,aK as d,aM as k,aA as S,aB as z,a_ as w,bC as B,aU as C,bc as U}from"./DzWOW6Si.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="f5acae93-f096-4bfa-bb79-59b6e10c245c",a._sentryDebugIdIdentifier="sentry-dbid-f5acae93-f096-4bfa-bb79-59b6e10c245c")}catch{}})();const N=["id"],K={__name:"GptAd",props:{adUnit:{type:String,required:!0},size:{type:[Array,String],required:!0},sizeMapping:{type:Array,required:!1,default:()=>[]},id:{type:[Number,String],required:!1,default:()=>Math.random().toString(36).substring(5)},isResponsive:{type:Boolean,required:!1,default:!0},windowResizeDebounce:{type:Number,required:!1,default:300},collapseEmptyDiv:{type:Boolean,required:!1,default:!0}},setup(a){const t=a,g=s(),f=s([]),m=s(),o=s(),y=s(!1),x=s(!0),{$gptAds:l}=q(),M=d(()=>l.networkCode||null),I=d(()=>`${M.value}/${t.addUnit}`),u=d(()=>`div-gpt-ad-${t.id}-0`),v=d(()=>b(t.size)),A=d(()=>{if(!y.value)return null;let e=v.value;o.value!==null&&(e=f.value[o.value][1]);const n=Array.isArray(e[0])?e[0]:[e[0],e[1]],[r,i]=n;return{margin:"0 auto",width:`${r}px`,height:`${i}px`,border:"1px solid black"}}),b=e=>Array.isArray(e)?e:typeof e=="string"?e.split(",").map(n=>h(n)):[],h=e=>Array.isArray(e)?e:typeof e=="string"?e.split("x").map(n=>parseInt(n,10)):[],E=e=>{e.slot.getSlotId().getDomId()===u.value&&(x.value=!!e.isEmpty)},D=()=>{clearTimeout(m.value),m.value=setTimeout(()=>{const e=_();e!==o.value&&(o.value=e)},t.windowResizeDebounce)},_=()=>{const e=f.value||[];let n=null;return e.some((r,i)=>{const[c]=r,[p,R]=c,$=`(min-width: ${p}px) and (min-height: ${R}px)`;return window.matchMedia($).matches?(n=i,!0):!1}),n};return k(()=>{!window.googletag||!googletag||!googletag.cmd||googletag.cmd.push(()=>{const e=googletag.pubads();e.addEventListener("slotRenderEnded",E);const n=googletag.defineSlot(I.value,v.value,u.value).addService(e);if(t.collapseEmptyDiv!==null&&n.setCollapseEmptyDiv(t.collapseEmptyDiv),t.sizeMapping.length>0){const r=googletag.sizeMapping();t.sizeMapping.forEach(i=>{const c=h(i[0]),p=b(i[1]);r.addSize(c,p),f.value.push([c,p])}),n.defineSizeMapping(r.build())}if(t.sizeMapping.length>0&&t.isResponsive){const r=_();o.value=r,window.addEventListener("resize",D)}g.value=n,l&&l.slots&&l.slots.push(n),y.value||googletag.display(u.value)})}),(e,n)=>(S(),z("div",{id:w(u),style:B(w(A)),class:""},null,12,N))}},L={},T={class:"Ad flex justify-center items-center"};function j(a,t){return S(),z("div",T,[U(a.$slots,"default",{},void 0,!0)])}const P=C(L,[["render",j],["__scopeId","data-v-e98915a5"]]);export{K as _,P as a};

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.