import{v as s,o as i,f as o}from"./souav-I_ihqEhP.js";import{u as t}from"./chunk-2TwmvfjT.js";import{C as u,r as l,P as c,Q as n,M as r,u as p,H as a,U as h,W as m,N as k}from"./chunk-BRI0aX6c.js";import"./chunk-D1JGNTfG.js";import"./chunk-9PZSJnHb.js";import"./chunk-Bf-nSo-6.js";import"./chunk-DwkOxDMO.js";import"./chunk-CMQyd8eO.js";import"./chunk-a7obrEbD.js";import"./chunk-DQhVL27x.js";import"./chunk-cn7T4ICr.js";import"./chunk-Bh3yC0yB.js";import"./chunk-DjdYu-xF.js";import"./chunk-BHPWSuhB.js";/* empty css              */import"./chunk-qE2C5OKe.js";import"./chunk-C-I2o6tN.js";import"./chunk-xF6SoLGd.js";import"./chunk-C2rd06Pa.js";import"./chunk-CiYjHJ2H.js";const e={class:"w-full px-2"},j={key:0,class:"w-full grid grid-cols-2 gap-x-2"},d=u({__name:"DetailTopAdView",setup(u){const d=t(),v=l("height: 120px");function f(){v.value="height: auto"}function g(s){o.clickAd(s)}return(o,t)=>(k(),c("div",e,[p(d).hasTitleBelowAdv?(k(),c("div",j,[(k(!0),c(a,null,h(p(d).titleBelowAdvList,(i,o)=>(k(),r(s,{onClick:s=>g(i),url:i.img,key:o,class:"w-full","img-height":100},null,8,["onClick","url"]))),128))])):n("",!0),p(d).hasVideoTopAdv?(k(),r(i,{key:1,onClick:t[0]||(t[0]=s=>g(p(d).videoTopAdv)),style:m(v.value),class:"w-full mt-[10px]",url:p(d).videoTopAdv.img,loadFinishCB:f},null,8,["style","url"])):n("",!0)]))}});export{d as default};
