1import{i as e}from"./dist-V0wV9pPA.js";import{Ht as t,g as n,vn as r}from"./runtime-core.esm-bundler-DPmoNEl9.js";import{a as i}from"./useCard-DUHBDvQO.js";import{t as a}from"./usePopupMemory-BWx2Fz0g.js";var o=8760,s=s=>{let{props:c}=e(),l=n(()=>s===`header`?c.headerCampaign:c.contentCampaign),u=s===`header`,d=r(!0);t(l,e=>{if(!e||!u)return;let{isReady:t,canReShow:n}=a(`campaign-header-${e.id}`);d.value=!t()||n(o)},{immediate:!0});let f=()=>{if(!(!l.value||!u)){try{a(`campaign-header-${l.value.id}`).markAsSeen()}catch(e){console.error(`[CampaignBanner] Failed to persist header dismissal`,e)}d.value=!1}},p=n(()=>l.value?.mobile_content||[]),m=n(()=>l.value?.desktop_content||[]),h=n(()=>{if(!l.value?.image)return null;let e=Array.isArray(l.value.image)?l.value.image[0]:l.value.image;return e?.filename?e:null}),{isVideo:g}=i(h.value);return{campaign:l,isVisible:d,handleClose:f,mobileContent:p,desktopContent:m,imageAsset:h,isVideo:g}};export{s as t};
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.