PageSourceSearch

https://cwowd.fr/_nuxt/DQr9KQkS.js

js cwowd.fr collected 2026-10-09 04:51:14 UTC 4,288 bytes, 1 lines download raw bytes

1import{e as v,f as i,c as u,a as o,m as c,b as _,d as g,t as x,w as b,j as k,H as y,n as C,_ as j,o as r,y as z,i as L,z as S,h as W}from"#entry";import{a as $}from"./B54PJEM_.js";import{_ as B}from"./DlAUqK2U.js";const N={class:"absolute top-2 right-2 z-20 pointer-events-none"},P={class:"flex items-center gap-1.5 px-2.5 py-0.5 text-[8px] font-black uppercase tracking-widest rounded-md bg-gradient-to-r from-amber-500 to-yellow-500 text-white shadow-sm border border-amber-400/20"},T={key:1,class:"flex flex-col items-center justify-center p-4 text-center"},V=v({__name:"PartnerAdSlot",props:{campaign:{},width:{},height:{},customClass:{},placement:{}},setup(n){const p=i(()=>a.value?.nom?.toLowerCase().startsWith("tipee")?"Merci à tous et toutes !":"Sponsorisé"),t=n,l={sidebar_article:{nom:"Lucky Duck Games - Nouveautés",lien_url:"https://luckyduckgames.com/fr?utm_source=cwowd",visuel:{url:"https://images.unsplash.com/photo-1610890716171-6b1bb98ffd09?auto=format&fit=crop&w=400&h=600&q=80",alternativeText:"Campagne Lucky Duck Games",width:300,height:600}},inline_article:{nom:"Philibert - Ventes Privées",lien_url:"https://www.philibertnet.com/fr/?utm_source=cwowd",visuel:{url:"/ventes_privees.png",alternativeText:"Ventes Privées Philibert",width:912,height:211}},bottom_article:{nom:"Ludum.fr - Box de jeux",lien_url:"https://www.ludum.fr/?utm_source=cwowd",visuel:{url:"https://images.unsplash.com/photo-1553481187-be93c21490a9?auto=format&fit=crop&w=600&h=300&q=80",alternativeText:"Ludum.fr : Recevez des jeux par abonnement",width:600,height:300}},popcard_extrait:{nom:"Ludum.fr - Box de jeux",lien_url:"https://www.ludum.fr/?utm_source=cwowd",visuel:{url:"https://images.unsplash.com/photo-1553481187-be93c21490a9?auto=format&fit=crop&w=600&h=150&q=80",alternativeText:"Ludum.fr : Recevez des jeux par abonnement",width:600,height:150}},header_slim:{nom:"Esprit Jeu - Boutique Spécialisée",lien_url:"https://www.espritjeu.com/?utm_source=cwowd",visuel:{url:"https://images.unsplash.com/photo-1585504198199-20277593b94f?auto=format&fit=crop&w=500&h=80&q=80",alternativeText:"Esprit Jeu, le spécialiste des jeux de société",width:500,height:80}}},a=i(()=>t.campaign?t.campaign:t.placement&&l[t.placement]?l[t.placement]:null),m=i(()=>{const e={};return t.width&&(e.width=typeof t.width=="number"?`${t.width}px`:t.width),t.height&&(e.height=typeof t.height=="number"?`${t.height}px`:t.height),!t.width&&!t.height&&a.value?.visuel?.width&&a.value?.visuel?.height&&(e.aspectRatio=`${a.value.visuel.width} / ${a.value.visuel.height}`),e}),h=e=>{if(!e)return"";if(e.startsWith("http")||e.startsWith("blob:")||e.startsWith("data:")||e.startsWith("/")&&!e.startsWith("/uploads/"))return e;try{return`${W().public.strapiUrl}${e}`}catch{return e}};return(e,s)=>{const d=z,f=S,w=j;return r(),u("div",{ref:"adContainer",class:C(["partner-ad-slot bg-slate-100/60 dark:bg-slate-900/60 border border-amber-500 shadow-md shadow-amber-500/10 ring-1 ring-amber-500/20 rounded-xl flex flex-col items-center justify-center overflow-hidden transition-all duration-300 relative group select-none hover:shadow-lg hover:-translate-y-1",n.customClass]),style:y(m.value)},[o("div",N,[o("span",P,[_(d,{name:"i-heroicons-star",class:"w-2.5 h-2.5 text-white"}),g(" "+x(p.value),1)])]),a.value?(r(),c(w,{key:0,to:k($)(a.value.lien_url),target:"_blank",rel:"noopener",class:"w-full h-full block relative"},{default:b(()=>[a.value.visuel?.url?(r(),c(f,{key:0,src:h(a.value.visuel.url),alt:a.value.visuel?.alternativeText||a.value.nom,class:"w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-105",loading:"lazy"},null,8,["src","alt"])):L("",!0),s[0]||(s[0]=o("div",{class:"absolute inset-0 bg-white/5 dark:bg-white/0 opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none z-10"},null,-1))]),_:1},8,["to"])):(r(),u("div",T,[...s[1]||(s[1]=[o("span",{class:"text-xs font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mb-1"},"CWOWD Partenaires",-1),o("p",{class:"text-[10px] text-slate-400 dark:text-slate-500 max-w-[200px] leading-tight"},"Annoncez votre jeu ici et touchez la communauté des passionnés",-1)])]))],6)}}}),R=Object.assign(B(V,[["__scopeId","data-v-2c14dda3"]]),{__name:"PartnerAdSlot"});export{R as _};

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.