import{_}from"./AdminLayout.vue_vue_type_script_setup_true_lang-DtHb-1yq.js";import{_ as d}from"./Button.vue_vue_type_script_setup_true_lang-CKPSvBok.js";import{_ as u}from"./Card.vue_vue_type_script_setup_true_lang-D4PxcbNb.js";import{_ as f}from"./Badge.vue_vue_type_script_setup_true_lang-Ciy8TpTM.js";import{i as v,m as r,b as m,E as s,a as e,e as x,t as g,w as o,v as l,h as n,g as a,F as b,s as k}from"./index-DF5uCdwt.js";import{_ as w}from"./Switch.vue_vue_type_script_setup_true_lang-J_gM7TPs.js";import"./cn-2dOUpm6k.js";const z={class:"grid grid-cols-2 lg:grid-cols-3 gap-4"},V={class:"flex items-center justify-between w-full"},y={class:"text-sm"},$={class:"space-y-2"},B={class:"text-xs"},S={class:"bg-[var(--wdot-bg-subtle)] px-2 py-0.5 rounded font-mono"},C={class:"flex items-center gap-2 text-xs"},N={class:"text-[var(--wdot-fg-muted)]"},E={class:"grid grid-cols-2 gap-2 pt-2 mt-2 border-t border-[var(--wdot-border)]"},F={class:"text-sm font-bold"},L={class:"text-sm font-bold"},U={class:"flex gap-1 pt-2"},J=v({__name:"AdSlots",setup(h){const c=k([{id:1,name:"홈 메인 배너",code:"home_main",size:"1920×600",placement:"메인 상단",active:!0,impressions:18247,clicks:247},{id:2,name:"사이드 배너",code:"side_banner",size:"300×250",placement:"사이드바",active:!0,impressions:12847,clicks:187},{id:3,name:"푸터 배너",code:"footer_banner",size:"1200×120",placement:"푸터",active:!0,impressions:9847,clicks:84},{id:4,name:"게시판 상단",code:"board_top",size:"728×90",placement:"게시판 목록 상단",active:!0,impressions:8127,clicks:124},{id:5,name:"팝업 (모달)",code:"popup_modal",size:"600×400",placement:"방문 시 1회",active:!1,impressions:0,clicks:0},{id:6,name:"글 상세 하단",code:"post_bottom",size:"728×90",placement:"게시글 본문 하단",active:!0,impressions:7234,clicks:187}]);return(j,t)=>(r(),m(_,null,{breadcrumb:s(()=>[...t[0]||(t[0]=[a("광고 · ",-1),e("b",null,"슬롯",-1)])]),title:s(()=>[...t[1]||(t[1]=[a("광고 슬롯 관리",-1)])]),actions:s(()=>[n(o(d),{variant:"outline"},{default:s(()=>[...t[2]||(t[2]=[a("CSV 내보내기",-1)])]),_:1}),n(o(d),{variant:"primary"},{default:s(()=>[...t[3]||(t[3]=[a("+ 새 슬롯",-1)])]),_:1})]),default:s(()=>[e("div",z,[(r(!0),x(b,null,g(c.value,i=>(r(),m(o(u),{key:i.id},{header:s(()=>[e("div",V,[e("b",y,l(i.name),1),n(o(w),{modelValue:i.active,"onUpdate:modelValue":p=>i.active=p},null,8,["modelValue","onUpdate:modelValue"])])]),default:s(()=>[e("div",$,[e("div",B,[e("code",S,l(i.code),1)]),e("div",C,[n(o(f),{variant:"neutral"},{default:s(()=>[a(l(i.size),1)]),_:2},1024),e("span",N,l(i.placement),1)]),e("div",E,[e("div",null,[t[4]||(t[4]=e("div",{class:"text-[10px] text-[var(--wdot-fg-muted)]"},"노출",-1)),e("div",F,l(i.impressions.toLocaleString()),1)]),e("div",null,[t[5]||(t[5]=e("div",{class:"text-[10px] text-[var(--wdot-fg-muted)]"},"클릭",-1)),e("div",L,l(i.clicks),1)])]),e("div",U,[n(o(d),{variant:"outline",size:"sm",class:"flex-1"},{default:s(()=>[...t[6]||(t[6]=[a("배너 연결",-1)])]),_:1}),n(o(d),{variant:"outline",size:"sm",class:"flex-1"},{default:s(()=>[...t[7]||(t[7]=[a("통계",-1)])]),_:1})])])]),_:2},1024))),128))])]),_:1}))}});export{J as default};
