1import{_ as k}from"./Chjvc6V-.js";import{_ as B}from"./BS6HtCC5.js";import{d as C,u as G,M as y,c as N,w as p,D as b,g as D,h as i,k as l,i as n,v as I,l as M,W as S,_ as V,o as r,j as m,t as u}from"./B5s-eb4v.js";import{_ as $}from"./D9Bbcc1W.js";import{u as A}from"./D1b_jEca.js";const q=C({__name:"index",async setup(O){let t,s;const{locale:c,t:e}=G(),{getTopicGroups:f}=y(),{getOfferPages:v}=N();A({title:e("v3.topics.advice.title"),ogTitle:e("v3.topics.advice.title"),description:e("v3.topics.advice.tagline"),ogDescription:e("v3.topics.advice.tagline"),ogImage:e("v2.meta.info.image_url")});const a=([t,s]=p(()=>f(c.value)),t=await t,s(),t),d=b(()=>a&&a.length>0?a.filter(o=>!o.isHealthTopicGroup&&o.isAdviceTopicGroup&&!o.doNotShowInOverview):[]),_=c.value!=="en"?([t,s]=p(()=>v(c.value)),t=await t,s(),t):[];return(o,P)=>{const g=k,h=B,x=S,w=$,T=V;return r(),D("div",null,[i(g),i(h,null,{tagline:l(()=>[m("p",null,u(o.$t("v3.topics.advice.tagline")),1)]),default:l(()=>[m("h1",null,u(o.$t("v3.topics.advice.title")),1)]),_:1}),i(x,{title:n(e)("v2.search.overviewButtonText"),topics:n(d)},null,8,["title","topics"]),n(_)&&n(_).length>0?(r(),I(T,{key:0,class:"p-health-topics__offers",title:n(e)("v3.offer.inFocus"),"bottom-margin":"medium"},{default:l(()=>[i(w,{offers:n(_),limit:2,focus:""},null,8,["offers"])]),_:1},8,["title"])):M("",!0)])}}});export{q as default};
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.