1import{b5 as E,ba as F,bu as V,bv as N,b9 as q,fk as H,bb as r,bY as P,bg as _,bh as n,bk as o,c7 as y,b8 as b,bf as s,be as f,bR as Q,bZ as Y,bQ as M}from"./DGLLgMKg.js";import{_ as U}from"./BZ0EeJn-.js";import{_ as Z}from"./8yPnfGa6.js";import{_ as j}from"./CNJ0Z830.js";import{_ as z,a as J,b as K}from"./tvb0Mu1F.js";import{_ as O}from"./B8NW8R09.js";import"./nE3kN5YM.js";import"./OwyrG5Tf.js";import"./aUB8VmZI.js";import"./kvNqSzNC.js";import"./BurqUzIA.js";import"./ChbSOFnn.js";import"./zNbWDJO-.js";import"./6ymw9yQl.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};u.SENTRY_RELEASE={id:"ca77e5f43204eebdf1490404e85efbd35d7a6e37"};var a=new u.Error().stack;a&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[a]="6e41e0c4-b486-4861-8335-7621e1d4595c",u._sentryDebugIdIdentifier="sentry-dbid-6e41e0c4-b486-4861-8335-7621e1d4595c")}catch{}})();const ct=E({__name:"index",setup(u){const a=F(),l=V(),S=N(),{t:c}=q(),{result:e,onResult:B}=H({tagSlug:l.params.tag_slug,groupSlug:l.params.category_slug,tagImageVersion:M.Small},{prefetch:!0});B(({data:t})=>{t.tagBySlugs||S.push(a("404"))});const h=r(()=>{var t;return(t=e.value)!=null&&t.tagBySlugs?`${e.value.tagBySlugs.name} | ${e.value.tagBySlugs.group.name} | ${l.query.page?l.query.page:1} | 24baby Forum`:""}),k=r(()=>{var t;return(t=e.value)!=null&&t.tagBySlugs&&e.value.tagBySlugs.content?`${e.value.tagBySlugs.content.slice(0,320)}`:""}),v=r(()=>{var t,m,i,p;return(m=(t=e.value)==null?void 0:t.tagBySlugs)!=null&&m.image?e.value.tagBySlugs.image:((p=(i=e.value)==null?void 0:i.tagBySlugs)==null?void 0:p.group).image}),x=r(()=>{var t;return(t=e.value)!=null&&t.tagBySlugs&&e.value.tagBySlugs.name?w(e.value.tagBySlugs.name):null});function w(t){return t.charAt(0).toUpperCase()+t.substr(1)}const T=r(()=>{var t;return(t=e.value)!=null&&t.tagBySlugs?{currentTitle:e.value.tagBySlugs.name,crumbs:[{title:c("app.forum").toString(),path:a("topics")},{title:e.value.tagBySlugs.group.name,path:a(y(e.value.tagBySlugs.group))}]}:{currentTitle:c("app.community").toString(),crumbs:[]}}),{isAuthenticated:I}=P(),$=r(()=>I?null:c("topics.add-to-discussion"));return(t,m)=>{const i=Y,p=U,C=Z,d=j,D=Q,G=J,L=K,R=O,A=z;return b(),_(A,{breadcrumbs:o(T)},{seo:n(()=>[s(i,{"head-title":o(h),"head-description":o(k),"index-page":!0},null,8,["head-title","head-description"])]),header:n(()=>{var g;return[(g=o(e))!=null&&g.tagBySlugs?(b(),_(C,{key:0,image:o(v)??""},{default:n(()=>[s(p,{class:"purple mt-0-5 mt-mobile-disabled",hero:o(x),subtitle:o(e).tagBySlugs.group.name,link:o(a)(("getGroupSlugLinkFromGroup"in t?t.getGroupSlugLinkFromGroup:o(y))(o(e).tagBySlugs.group))},null,8,["hero","subtitle","link"])]),_:1},8,["image"])):f("",!0)]}),content:n(()=>{var g;return[(g=o(e))!=null&&g.tagBySlugs?(b(),_(D,{key:0,title:t.$t("topics.title"),"with-refinement":!0,"with-pagination":!0,"with-filter":!1,"tag-ids":[o(e).tagBySlugs.id],class:"mt-4-0-mobile-2-0","group-id":o(e).tagBySlugs.group.id},{"top-cta":n(()=>[s(d,{"button-text":t.$t("topics.start"),"button-link":o(a)({name:"categories-category_slug-tags-tag_slug-topics-new",params:{category_slug:o(e).tagBySlugs.group.slug,tag_slug:o(e).tagBySlugs.slug}})},null,8,["button-text","button-link"])]),"bottom-cta":n(()=>[s(d,{text:o($),"button-text":t.$t("topics.start"),"button-link":o(a)({name:"categories-category_slug-tags-tag_slug-topics-new",params:{category_slug:o(e).tagBySlugs.group.slug,tag_slug:o(e).tagBySlugs.slug}})},null,8,["text","button-text","button-link"])]),_:1},8,["title","tag-ids","group-id"])):f("",!0)]}),"page-footer":n(()=>[s(G),s(L,{"is-app-download":!0,"is-bottom":!0}),s(R,{class:"mt-4-0-mobile-2-0",title:t.$t("app.groups"),"link-text":t.$t("index.carousel.groups.show-all"),"show-all-link":o(a)("groups","nl")},null,8,["title","link-text","show-all-link"])]),_:1},8,["breadcrumbs"])}}});export{ct 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.