1import{H as D}from"./CouWZOub.js";import{a as R,x as h,n as k,i as c,h as g,e,f as u,F as b,k as E,m as v,r as P,b as p}from"./DyKsjnBy.js";import{S as F}from"./bf4wTwgU.js";import{P as N}from"./ChalBoUl.js";import{u as C}from"./CUGMSffd.js";import{u as H}from"./DAWnr3s6.js";import{u as M}from"./Cp1O2d5O.js";import"./Dba53ezs.js";const T={class:"main-content container pt-3"},q={class:"row"},A={class:"row mt-4 justify-content-center"},W={__name:"index",async setup(L){let a,o;const{getReleased:B}=C(),m=R(),{getBannersByPageId:y}=H(),{data:t,error:V}=([a,o]=h(()=>v("banners-blog",()=>y("blog"))),a=await a,o(),a),{getPageMetaData:w,IDENTIFIERS:x}=M(),s=w(x.BLOG),d=P([]),i=P({perPage:12,currentPage:1,totalPages:0});async function _(r){const l=await v("getReleasedBlogs",()=>B(r));let n=i.value;n.currentPage=l.data.value.meta.page+1,n.totalPages=l.data.value.meta.total_pages,i.value=n,d.value=l.data.value.blogs}async function S(r){_(parseInt(r))}const I="page"in m.query?m.query.page:1;return[a,o]=h(()=>_(I)),await a,o(),k({title:s.title,description:s.description,ogTitle:s.title,ogDescription:s.description}),(r,l)=>{const n=D;return p(),c(b,null,[g(n,{title:e(t).header,excerpt:e(t).sub_header,image:e(t).header_image,"header-align-placement":e(t).header_placement,"sub-header-align-placement":e(t).sub_header_placement},null,8,["title","excerpt","image","header-align-placement","sub-header-align-placement"]),u("div",T,[u("div",q,[(p(!0),c(b,null,E(e(d),f=>(p(),c("div",{class:"col-md-4",key:f.slug},[g(F,{blog:f},null,8,["blog"])]))),128))]),u("div",A,[g(e(N),{"total-pages":e(i).totalPages,onChange:S},null,8,["total-pages"])])])],64)}}};export{W 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.