import{_ as d,bU as a,Z as i,o as l,c,h as m,w as h,a as e,l as t,Q as p}from"./v5WcX6fg.js";import{u}from"./Dx1KAdHW.js";const w={class:"ad-parent relative mb-3 flex w-full justify-center rounded-2xl bg-bg-raised"},_=["src"],f=["src"],v={__name:"AdPlaceholder",setup(g){const r=u();return a({script:[{src:"https://dn0qt3r0xannq.cloudfront.net/modrinth-7JfmkEIXEp/modrinth-longform/prebid-load.js",async:!0},{src:"https://bservr.com/o.js?uid=8118d1fdb2e0d6f32180bd27",async:!0},{src:"/inmobi.js",async:!0}],link:[{rel:"preload",as:"script",href:"https://www.googletagservices.com/tag/js/gpt.js"}]}),i(()=>{window.tude=window.tude||{cmd:[]},window.Raven=window.Raven||{cmd:[]},window.Raven.cmd.push(({config:s})=>{s.setCustom({param1:"web"})}),tude.cmd.push(function(){tude.refreshAdsViaDivMappings([{divId:"modrinth-rail-1",baseDivId:"pb-slot-square-2",targeting:{location:"web"}}])})}),(s,o)=>{const n=p;return l(),c("div",w,[m(n,{to:t(r).enableMedalPromotion?"/servers?plan&ref=medal":"/servers",class:"flex max-h-[250px] min-h-[250px] min-w-[300px] max-w-[300px] flex-col gap-4 rounded-[inherit]"},{default:h(()=>[e("img",{src:`https://cdn-raw.modrinth.com/${t(r).enableMedalPromotion?"medal-modrinth-servers":"modrinth-servers-placeholder"}-light.webp`,alt:"Host your next server with Modrinth Servers",class:"light-image hidden rounded-[inherit]"},null,8,_),e("img",{src:`https://cdn-raw.modrinth.com/${t(r).enableMedalPromotion?"medal-modrinth-servers":"modrinth-servers-placeholder"}-dark.webp`,alt:"Host your next server with Modrinth Servers",class:"dark-image rounded-[inherit]"},null,8,f)]),_:1},8,["to"]),o[0]||(o[0]=e("div",{class:"absolute top-0 flex items-center justify-center overflow-hidden rounded-2xl bg-bg-raised"},[e("div",{id:"modrinth-rail-1"})],-1))])}}},j=d(v,[["__scopeId","data-v-4c0a7954"]]);export{j as A};