import{_ as f}from"./Stories.vue_vue_type_script_setup_true_lang-Byf49IbM.js";import{u as h}from"./useRandomStr-7r5tQ8Eq.js";import{_}from"./MainLayout.vue_vue_type_script_setup_true_lang-BnRI7JXG.js";import{d as k,G as $,c as s,o,a as w,b as t,x as p,h as a,j as l,a5 as m,f as N,t as u,u as c,m as v,F as d,p as B}from"./app-DJb_CRLj.js";import"./swiper-bundle-D10wXgdm.js";import"./swiper-core-BbUUCioi.js";import"./useNumberFormat-Bu1g0G_b.js";import"./simplebar.min-CZ5saGqI.js";import"./debounce-CDPmhVE8.js";/* empty css                             *//* empty css                          *//* empty css            */import"./useToastify-DqLaHt3f.js";import"./AdminNavigation.vue_vue_type_script_setup_true_lang-BfIfENbj.js";import"./useHexToRgb-Crf73LpK.js";const C=["href"],F=["content"],V=["content"],b=["content"],U=["content"],j=["content"],D=["content"],I=["content"],R=["content"],S=["content"],E=["content"],G=["content"],H=["content"],L={class:"d-none"},te=k({layout:_,__name:"Index",props:{stories:{},components:{},seo:{}},setup(g){const y=$(g.components);return(e,n)=>{var i;return o(),s(d,null,[w(c(v),null,{default:l(()=>[t("link",{rel:"canonical",href:e.seo.canonical!=null&&e.seo.canonical!=""?e.seo.canonical:e.$page.props.appUrl},null,8,C),e.seo.description!=null?(o(),s("meta",{key:0,name:"description",content:e.seo.description},null,8,F)):a("",!0),t("meta",{name:"author",content:e.$page.props.appName},null,8,V),e.seo.title!=null?(o(),s("meta",{key:1,property:"og:title",content:e.seo.title},null,8,b)):a("",!0),e.seo.description!=null?(o(),s("meta",{key:2,property:"og:description",content:e.seo.description},null,8,U)):a("",!0),t("meta",{property:"og:url",content:e.$page.props.currentUrl},null,8,j),t("meta",{property:"og:image",content:e.$page.props.appFavicon},null,8,D),n[0]||(n[0]=t("meta",{property:"og:type",content:"website"},null,-1)),t("meta",{property:"og:site_name",content:e.seo.site_name},null,8,I),n[1]||(n[1]=t("meta",{property:"og:locale",content:"fa_IR"},null,-1)),n[2]||(n[2]=t("meta",{name:"twitter:card",content:"summary_large_image"},null,-1)),t("meta",{name:"twitter:site",content:e.$page.props.appUrl},null,8,R),t("meta",{name:"twitter:image",content:e.$page.props.appFavicon},null,8,S),t("meta",{name:"twitter:creator",content:e.$page.props.appName},null,8,E),e.seo.title!=null?(o(),s("meta",{key:3,name:"twitter:title",content:e.seo.title},null,8,G)):a("",!0),e.seo.description!=null?(o(),s("meta",{key:4,name:"twitter:description",content:e.seo.description},null,8,H)):a("",!0),n[3]||(n[3]=t("meta",{name:"robots",content:"index, follow"},null,-1)),e.seo.schema!=null?(o(),p(m("script"),{key:5,type:"application/ld+json"},{default:l(()=>[N(u(e.seo.schema),1)]),_:1})):a("",!0)]),_:1}),t("h1",L,u(e.$page.props.appH1),1),e.stories.status&&((i=e.stories.data)!=null&&i.length)?(o(),p(f,{key:0,stories:e.stories.data,component_id:c(h)(10),status:"prod"},null,8,["stories","component_id"])):a("",!0),(o(!0),s(d,null,B(y,r=>(o(),p(m(r.component),{key:r.id,component_id:r.id,data:r.data,status:"prod"},null,8,["component_id","data"]))),128))],64)}}});export{te as default};
