import{k as p,q as u,c as h,o as m,a as t,t as d}from"./app-Do7K7VDV.js";async function f(i,s=null,n=null){let a=await fetch("/api/options/"+i).then(e=>e.json());return s?a[s]??n:a}const g={class:"fancy-banner-six mt-100 lg-mt-80"},v={class:"container"},b={class:"bg-wrapper bg-one position-relative z-1 pt-85 lg-pt-60 pb-60 pe-2 ps-2 text-center"},y={class:"row"},w={class:"col-md-9 m-auto","data-sal":"slide-up","data-sal-duration":"900"},z=["innerHTML"],H={class:"fs-28","data-sal":"slide-up","data-sal-duration":"900","data-sal-delay":"100"},k={"data-sal":"slide-up","data-sal-duration":"900","data-sal-delay":"200"},x=["href"],B=["src"],M=["src"],S={__name:"FancyBannerSix",setup(i){const s=p({});u(async()=>{s.value=await f("primary_data","fancy_banner_six")});const n=(a,e)=>a&&e?a.replace(/\{.*?\}/g,`<img src="${e}">`):a;return(a,e)=>{var o,l,c,r,_;return m(),h("div",g,[t("div",v,[t("div",b,[t("div",y,[t("div",w,[t("h2",{class:"mb-35",innerHTML:a.sanitizeHtml(n((o=s.value)==null?void 0:o.title,(l=s.value)==null?void 0:l.title_image))},null,8,z)])]),t("p",H,d((c=s.value)==null?void 0:c.subtitle),1),t("div",k,[t("a",{href:a.sanitizeUrl((r=s.value)==null?void 0:r.button_link),class:"btn-fourteen mt-20"},d((_=s.value)==null?void 0:_.button_text),9,x)]),t("img",{src:a.sanitizeHtml(s.value.shape_one??"/assets/frontend/images/icon/icon_52.png"),alt:"",class:"shapes shape_01"},null,8,B),t("img",{src:a.sanitizeHtml(s.value.shape_two??"/assets/frontend/images/icon/icon_53.png"),alt:"",class:"shapes shape_02"},null,8,M)])])])}}};export{S as _};
