import{v as t,j as s}from"./souav-I_ihqEhP.js";import{C as o}from"./chunk-cn7T4ICr.js";import{C as i,P as e,B as n,N as r}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-Bh3yC0yB.js";import"./chunk-DjdYu-xF.js";import"./chunk-BHPWSuhB.js";/* empty css              */const c={class:"mt-2 w-full px-2"},a=i({__name:"ShareAdView",props:{model:{}},setup(i){const a=i;function m(){s.emit("showShare",a.model),l("share-ad-view")}const l=t=>{new o(".".concat(t),{text:()=>a.model.description}).on("success",()=>{});const s=a.model.description;navigator.clipboard.writeText(s).then(()=>{}).catch(t=>{})};return(s,o)=>(r(),e("div",c,[n(t,{"is-ad":!0,"ad-id":s.model.contentId,"ad-title":s.model.title,url:s.model.img,class:"share-ad-view w-full",onClick:m},null,8,["ad-id","ad-title","url"])]))}});export{a as default};
