1import{k as x,a7 as h,i as C,l as B,ɵ as L,ap as v,a as i,b as c,c as l,d as a,e as m,f as A,g as y,W as p,J as r,ai as k,h as d,j as g,X as u}from"./index-5lvFx4g5.js";import{t as S}from"./rxjs-interop-B73kcDY2.js";import{B as F,a as w}from"./blog-category-pills.component-DPLzDqSM.js";import{p as I,H as P}from"./href-fix.provider-Dx-77LTo.js";import{p as T,S as j}from"./seo.provider-5-8AH4uG.js";import{B as D}from"./breadcrumb.component-CYrk-erN.js";import{g as H}from"./seo.service-Bz_GCVdm.js";import{b as E}from"./blog-article-card.component-D2V19FK9.js";function U(e,o){if(e&1&&(i(0,"div",2),d(1,"app-breadcrumb",7),l()),e&2){const t=r();a(),g("structure",t.blog.breadcrumb.structure)("currentPageLabel",t.blog.breadcrumb.label)}}function z(e,o){if(e&1&&d(0,"app-blog-category-pills",4),e&2){const t=r(2);g("categories",t.categories())("showAllLink",!0)}}function W(e,o){if(e&1&&d(0,"app-blog-infinite-feed",5),e&2){const t=r();g("initialArticles",t.allArticles)("totalArticles",t.totalArticles)("indexLinks",t.allArticleLinks)}}function J(e,o){if(e&1&&(i(0,"section",6)(1,"h2",8),p(2),l(),i(3,"p",9),p(4),l()()),e&2){const t=r(),n=r();a(2),u((t.blog.breadcrumb==null?null:t.blog.breadcrumb.label)||"Blog"),a(2),u(n.i18n.translate("blogEmptyState"))}}function M(e,o){if(e&1&&(i(0,"header",1),c(1,U,2,2,"div",2),i(2,"h1",3),p(3),l(),c(4,z,1,2,"app-blog-category-pills",4),l(),c(5,W,1,3,"app-blog-infinite-feed",5)(6,J,5,2,"section",6)),e&2){const t=o,n=r();a(),m(t.blog.breadcrumb?1:-1),a(2),k(" ",(t.blog.breadcrumb==null?null:t.blog.breadcrumb.label)||"Blog"," "),a(),m(n.categories().length>0?4:-1),a(),m(t.allArticles.length>0?5:6)}}function R(e,o){const t=e.endsWith("/")?e:`${e}/`,n=o.replace(/^\//,"");return new URL(n,t).toString()}class _{constructor(){this.i18n=x(h),this.data=S(C()),this.categories=B(()=>this.data()?.categories??[])}static{this.ɵfac=function(t){return new(t||_)}}static{this.ɵcmp=L({type:_,selectors:[["app-blog"]],features:[A([T(o=>{const t=[{seo:o.blog?.seo,hreflang:o.blog?.hreflang}],n=o.locale??"en",s=H(n);return o.allArticleLinks?.length&&t.push({jsonLd:{"@context":"https://schema.org","@type":"ItemList",itemListElement:o.allArticleLinks.map((b,f)=>({"@type":"ListItem",position:f+1,url:R(s,E(b)),name:b.title}))}}),t}),I(o=>o.blog?.hreflang||null)]),y([j,P])],decls:2,vars:1,consts:[[1,"pt-3"],[1,"container-md","mb-10"],[1,"mb-6"],[1,"font-primary","mb-6","text-[clamp(28px,calc(4vw+1rem),54px)]","font-black","text-pretty","text-neutral-800"],[3,"categories","showAllLink"],[3,"initialArticles","totalArticles","indexLinks"],[1,"container-md","mb-12","rounded-lg","border","border-neutral-200","bg-white","p-8","text-center"],[3,"structure","currentPageLabel"],[1,"mb-2","text-2xl","font-black","text-neutral-800"],[1,"text-neutral-600"]],template:function(t,n){if(t&1&&(i(0,"div",0),c(1,M,7,4),l()),t&2){let s;a(),m((s=n.data())?1:-1,s)}},dependencies:[v,D,F,w],encapsulation:2,changeDetection:0})}}export{_ 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.