import{_ as x}from"./DefaultLayout-52cb34e4.js";import"./moment-a9aaa855.js";import"./swiper-core-2c82c4aa.js";import{h as g,o as n,c as l,b as s,F as u,r as f,n as v,i as k,j as i,e as w,s as y,t as r,a as c,E as L,g as H,k as _,u as z}from"./app-13978987.js";import $ from"./Sidebar-906c5704.js";import"./MobileMenu-4272ee25.js";import"./FeatureSection-b1ebef06.js";import"./SeoMeta-91cb18dc.js";import"./ToastrContainer-82d03ccc.js";const C={key:0,class:"basic-pagination"},N=["innerHTML"],S=["innerHTML"],B={__name:"Pagination",props:{links:[Object,Array],preserveState:!1,preserveScroll:!1},setup(o){return(m,t)=>{const h=g("Link");return o.links.length>3?(n(),l("div",C,[s("nav",null,[s("ul",null,[(n(!0),l(u,null,f(o.links,(a,e)=>(n(),l("li",null,[a.url===null?(n(),l("a",{key:e,class:v({current:a.active}),innerHTML:a.label},null,10,N)):(n(),k(h,{"preserve-state":o.preserveState,"preserve-scroll":o.preserveScroll,key:`link-${e}`,class:v({current:a.active}),href:a.url},{default:i(()=>[s("span",{class:"text-nowrap",innerHTML:a.label},null,8,S)]),_:2},1032,["preserve-state","preserve-scroll","class","href"]))]))),256))])])])):w("",!0)}}},M={class:"breadcrumb__area breadcrumb-height p-relative blue-bg-2"},T=s("div",{class:"breadcrumb__shape-1"},[s("img",{src:"/assets/img/breadcrumb/breadcrumb-shape-1.png",alt:""})],-1),V=s("div",{class:"breadcrumb__shape-2"},[s("img",{src:"/assets/img/breadcrumb/breadcrumb-shape-2.png",alt:""})],-1),j={class:"container"},E={class:"row"},U={class:"col-sm-8"},F={class:"breadcrumb__content"},O={class:"breadcrumb__title tp-char-animation"},R={class:"breadcrumb__list wow tpfadeUp","data-wow-duration":".9s","data-wow-delay":".4s"},A={class:"child-one"},D=s("span",{class:"dvdr"},[s("i",{class:"fal fa-angle-right"})],-1),I=L('<div class="col-sm-4 text-md-end d-none d-md-block text-center"><div class="breadcrumb__img p-relative z-index text-start"><img class="z-index-3" src="/assets/img/breadcrumb/breadcrumb-3.png" alt=""><div class="breadcrumb__sub-img wow tpfadeUp" data-wow-duration=".9s" data-wow-delay=".4s"><img src="/assets/img/breadcrumb/breadcrumb-sub-1.png" alt=""></div></div></div>',1),P={class:"postbox__area pt-100 pb-100"},q={class:"container"},G={class:"row"},J={class:"col-xxl-8 col-xl-8 col-lg-8"},K={key:0,class:"mt-130 text-center"},Q={id:"blog",class:"postbox__wrapper pr-20"},W={class:"postbox__thumb w-img"},X=["src"],Y={class:"postbox__content"},Z={class:"postbox__meta"},ss={href:"#"},es={class:"postbox__title"},ts={class:"postbox__text"},as={class:"postbox__btn mt-35"},os=s("b",null,null,-1),rs={class:"col-xxl-4 col-xl-4 col-lg-4"},ns=H({layout:x}),bs=Object.assign(ns,{__name:"Index",props:["posts","categories","recent_posts","tags"],setup(o){const{textExcerpt:m}=y();return(t,h)=>{const a=g("Link");return n(),l(u,null,[s("div",M,[T,V,s("div",j,[s("div",E,[s("div",U,[s("div",F,[s("h3",O,r(t.trans("Read our blogs")),1),s("div",R,[s("span",A,[c(a,{href:"/"},{default:i(()=>[_(r(t.trans("Home")),1)]),_:1})]),D,s("span",null,r(t.trans("Blogs")),1)])])]),I])])]),s("div",P,[s("div",q,[s("div",G,[s("div",J,[o.posts.data.length===0?(n(),l("h4",K,r(t.trans("No posts found")),1)):w("",!0),s("div",Q,[(n(!0),l(u,null,f(o.posts.data,e=>{var p;return n(),l("article",{key:e.id,class:"postbox__item format-image mb-70 transition-3"},[s("div",W,[c(a,{href:t.sanitizeHtml(t.route("blogs.show",e.slug))},{default:i(()=>{var d;return[s("img",{src:(d=e.preview)==null?void 0:d.value,alt:""},null,8,X)]}),_:2},1032,["href"])]),s("div",Y,[s("div",Z,[s("span",null,[c(a,{href:e.category_show_url},{default:i(()=>{var d,b;return[_(r(((b=(d=e.categories)==null?void 0:d[0])==null?void 0:b.title)??"Uncategorized"),1)]}),_:2},1032,["href"])]),s("span",null,[s("a",ss,r(e.create_date),1)])]),s("h3",es,[c(a,{href:t.sanitizeHtml(t.route("blogs.show",e.slug))},{default:i(()=>[_(r(e.title),1)]),_:2},1032,["href"])]),s("div",ts,[s("p",null,r(z(m)((p=e.short_description)==null?void 0:p.value,350)),1)]),s("div",as,[c(a,{class:"tp-btn-inner tp-btn-hover alt-color-black",href:t.sanitizeHtml(t.route("blogs.show",e.slug))},{default:i(()=>[s("span",null,r(t.trans("Read More")),1),os]),_:2},1032,["href"])])])])}),128)),c(B,{links:o.posts.links},null,8,["links"])])]),s("div",rs,[c($,{categories:o.categories,posts:o.recent_posts,tags:o.tags},null,8,["categories","posts","tags"])])])])])],64)}}});export{bs as default};
