2 lines
21 KiB
JavaScript
2 lines
21 KiB
JavaScript
import{i as b,o as n,c as r,b as e,g as x,t as d,l as C,r as v,a as w,F as p,d as m,n as $,j as h,h as y,e as B,w as P,f as j,k as L}from"./app-lWrE2aWG.js";import{s as f}from"./SearchModal-CGHtjMJb.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";import S from"./ClientImageSlider-ZnyNtD9R.js";import{F as k}from"./v3-CDJmn87G.js";import{P as T}from"./PageTabBuilder-81M-YOIr.js";const H={name:"EventBackButton",components:{Link:b},data(){return{}},methods:{textLimit(s,t){if(s.length>t){let l;return l=s.substring(0,t),l+"..."}return s},back(){this.$page.props.urlPrev!=="empty"&&this.$inertia.visit(this.$page.props.urlPrev)}},props:{title:{type:String}}};function V(s,t,l,u,o,i){return n(),r("a",{onClick:t[0]||(t[0]=C((...c)=>this.back&&this.back(...c),["prevent"])),class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500",href:"#"},[t[1]||(t[1]=e("svg",{class:"flex-shrink-0 size-4",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m15 18-6-6 6-6"})],-1)),x(" "+d(l.title),1)])}const St=g(H,[["render",V]]),z={name:"TitleEvent",components:{Link:b},data(){return{}},methods:{textLimit(s,t){if(s.length>t){let l;return l=s.substring(0,t),l+"..."}return s}},props:{header:{type:String}}},F={class:"text-brand-primary text-2xl mb-3 mt-2 md:text-3xl font-semibold tracking-tight dark:text-white lg:text-[40px] lg:leading-tight"};function M(s,t,l,u,o,i){return n(),r("h1",F,d(l.header),1)}const Tt=g(z,[["render",M]]),I={name:"HeadingBlock",methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},props:{block:{type:Object}}},O={class:"md:font-bold md:text-xl text-lg font-medium text-gray-800"};function E(s,t,l,u,o,i){return n(),r("div",null,[e("h2",O,d(l.block.data.content),1)])}const Z=g(I,[["render",E]]),N={name:"ParagraphBlock",methods:{wrapTables(s){if(s.type==="paragraph"&&s.data&&s.data.content){const t=s.data.content.replace(/<table([^>]*)>([\s\S]*?)<\/table>/g,(l,u,o)=>`<div class="div-table"><table${u}>${o}</table></div>`);return{...s,data:{...s.data,content:t}}}return s}},props:{block:{type:Object}}},A=["innerHTML"];function D(s,t,l,u,o,i){return n(),r("div",{class:"text-sm text-gray-600 leading-6 md:text-[16px] md:text-[#374151] md:leading-8 md:font-light paragraph-container",innerHTML:i.wrapTables(l.block).data.content},null,8,A)}const Y=g(N,[["render",D]]),q={name:"ImageBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},G=["src"];function J(s,t,l,u,o,i){const c=v("FsLightbox");return n(),r(p,null,[e("div",null,[e("img",{onClick:t[0]||(t[0]=a=>o.toggler=!o.toggler),loading:"lazy",class:"mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition",src:"/storage/"+l.block.data.url,alt:""},null,8,G)]),w(c,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+l.block.data.url]},null,8,["toggler","sources"])],64)}const K=g(q,[["render",J]]),Q={name:"FileBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},R={class:""},U=["href"],W={class:"flex border rounded-lg px-4 py-2 items-center justify-between duration-300 hover:bg-gray-100"},X={class:"flex items-center"};function ee(s,t,l,u,o,i){return n(!0),r(p,null,m(l.block.data.file,c=>(n(),r("div",R,[e("a",{class:"",href:"/storage/"+c.path,download:"",type:"button"},[e("div",W,[e("div",X,[t[0]||(t[0]=e("div",{class:"w-[30px] h-[30px] bg-black flex justify-center items-center rounded-md mr-2"},[e("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M15.9375 12.2188H12.75C12.4682 12.2188 12.198 12.1068 11.9987 11.9076C11.7994 11.7083 11.6875 11.438 11.6875 11.1562V5.84375C11.6875 5.56196 11.7994 5.29171 11.9987 5.09245C12.198 4.89319 12.4682 4.78125 12.75 4.78125H15.9375V5.84375H12.75V11.1562H15.9375V12.2188ZM9.5625 12.2188H7.4375C7.15571 12.2188 6.88546 12.1068 6.6862 11.9076C6.48694 11.7083 6.375 11.438 6.375 11.1562V5.84375C6.375 5.56196 6.48694 5.29171 6.6862 5.09245C6.88546 4.89319 7.15571 4.78125 7.4375 4.78125H9.5625C9.84429 4.78125 10.1145 4.89319 10.3138 5.09245C10.5131 5.29171 10.625 5.56196 10.625 5.84375V11.1562C10.625 11.438 10.5131 11.7083 10.3138 11.9076C10.1145 12.1068 9.84429 12.2188 9.5625 12.2188ZM7.4375 5.84375V11.1562H9.5625V5.84375H7.4375ZM3.1875 12.2188H1.0625V4.78125H3.1875C3.75087 4.78195 4.29096 5.00606 4.68933 5.40442C5.08769 5.80279 5.3118 6.34288 5.3125 6.90625V10.0938C5.3118 10.6571 5.08769 11.1972 4.68933 11.5956C4.29096 11.9939 3.75087 12.218 3.1875 12.2188ZM2.125 11.1562H3.1875C3.46929 11.1562 3.73954 11.0443 3.9388 10.8451C4.13806 10.6458 4.25 10.3755 4.25 10.0938V6.90625C4.25 6.62446 4.13806 6.35421 3.9388 6.15495C3.73954 5.95569 3.46929 5.84375 3.1875 5.84375H2.125V11.1562Z",fill:"#F8F8F8"})])],-1)),e("div",null,d(c.title),1)])])],8,U)]))),256)}const te=g(Q,[["render",ee]]),se={name:"PersonBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},oe={class:"w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},le={class:"flex items-center gap-x-4"},ne=["src"],re={class:"grow"},ae={class:"font-medium text-gray-800 hover:text-gray-500"},ie={class:"text-xs text-gray-500 mt-2"};function ce(s,t,l,u,o,i){const c=v("FsLightbox");return n(),r(p,null,[e("div",oe,[e("div",le,[e("img",{onClick:t[0]||(t[0]=a=>o.toggler=!o.toggler),loading:"lazy",class:"rounded-xl w-[150px]",src:"/storage/"+l.block.data.photo,alt:"Image Description"},null,8,ne),e("div",re,[e("p",ae,d(l.block.data.name),1),(n(!0),r(p,null,m(l.block.data.info,a=>(n(),r("p",ie,d(a.column)+": "+d(a.content),1))),256))])])]),w(c,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+l.block.data.photo]},null,8,["toggler","sources"])],64)}const de=g(se,[["render",ce]]),ue={name:"StepperBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},ge={class:"flex gap-x-3"},pe={class:"w-16 text-end min-w-[4rem]"},me={class:"text-xs text-gray-500"},he={class:"grow max-w-[70%] pt-0.5 pb-8 overflow-wrap break-words"},fe={class:"flex gap-x-1.5 font-semibold text-gray-800"},xe=["innerHTML"];function be(s,t,l,u,o,i){return n(),r("div",null,[(n(!0),r(p,null,m(l.block.data.steps,(c,a)=>(n(),r("div",ge,[e("div",pe,[e("span",me,d(l.block.data.step_name)+" "+d(a+1),1)]),t[0]||(t[0]=e("div",{class:"relative last:after:hidden after:absolute after:top-7 after:bottom-0 after:start-3.5 after:w-px after:-translate-x-[0.5px] after:bg-gray-200"},[e("div",{class:"relative z-10 size-7 flex justify-center items-center"},[e("div",{class:"size-2 rounded-full bg-primaryBlue"})])],-1)),e("div",he,[e("h3",fe,d(c.title),1),e("p",{class:"mt-1 text-sm text-gray-600 step-content",innerHTML:c.content},null,8,xe)])]))),256))])}const ve=g(ue,[["render",be]]),_e={name:"VideoBlock",data(){return{toggler:!1,domainPath:null}},methods:{},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},we={class:"h-full w-full rounded-lg",controls:""},ke=["src","type"],ye={class:"mt-3 text-sm text-center text-gray-500 dark:text-neutral-500"};function $e(s,t,l,u,o,i){return n(),r(p,null,[e("video",we,[e("source",{src:o.domainPath+"/storage/"+l.block.data.path,type:l.block.data.mime},null,8,ke),t[0]||(t[0]=x(" Your browser does not support the video tag. "))]),e("figcaption",ye,d(l.block.data.title),1)],64)}const Be=g(_e,[["render",$e]]),Pe={name:"TabBlock",components:{PageTabBuilder:T},data(){return{activeTab:0}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},Ce={class:""},je={class:"-mb-0.5 flex justify-center gap-x-2","aria-label":"Tabs",role:"tablist","aria-orientation":"horizontal"},Le=["onClick","id","data-hs-tab","aria-controls"],Se={class:"mt-3"},Te=["id","aria-labelledby"];function He(s,t,l,u,o,i){const c=v("PageTabBuilder");return n(),r(p,null,[e("div",Ce,[e("nav",je,[(n(!0),r(p,null,m(l.block.data.tab,(a,_)=>(n(),r("button",{type:"button",class:$(["hs-tab-active:bg-gray-100 rounded-md hs-tab-active:text-gray-700 py-1.5 px-3 inline-flex items-center gap-x-2 border-b-2 border-transparent text-sm whitespace-nowrap text-gray-500 focus:outline-none disabled:opacity-50 disabled:pointer-events-none",o.activeTab===_?"active":""]),onClick:yt=>o.activeTab=_,id:i.generateSlug(a.title)+"-item","data-hs-tab":"#"+i.generateSlug(a.title),"aria-selected":"false","aria-controls":i.generateSlug(a.title),role:"tab"},d(a.title),11,Le))),256))])]),e("div",Se,[(n(!0),r(p,null,m(l.block.data.tab,(a,_)=>(n(),r("div",{id:i.generateSlug(a.title),class:$(o.activeTab===_?"":"hidden"),role:"tabpanel","aria-labelledby":i.generateSlug(a.title)+"-item"},[w(c,{blocks:a.content},null,8,["blocks"])],10,Te))),256))])],64)}const Ve=g(Pe,[["render",He]]),ze={name:"PostListBlock",components:{axios:h,Link:b},data(){return{posts:null,loading:!0}},methods:{getPosts(){h.get(route("client.widget.post.index"),{params:{count:this.block.data.count,category:this.block.data.category}}).then(s=>{this.posts=s.data,this.loading=!1}).catch(s=>{console.error("Ошибка:",s),this.loading=!1})}},mounted(){this.getPosts()},props:{block:{type:Object}}},Fe={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},Me={key:0,class:"flex flex-col space-y-4"},Ie={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},Oe={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},Ee={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},Ze=["src"],Ne={class:"grow"},Ae={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"},De={class:"flex justify-center"},Ye=["href"];function qe(s,t,l,u,o,i){const c=v("Link");return n(),r("div",Fe,[o.loading?(n(),r("div",Me,t[0]||(t[0]=[y('<div class="flex animate-pulse"><div class="shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"><div class="bg-gray-200 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl"></div></div><div class="ms-4 mt-2 w-full"><p class="h-4 bg-gray-200 rounded-full" style="width:40%;"></p><ul class="mt-5 space-y-3 flex flex-col"><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-20 h-4 bg-gray-200 rounded-full"></li></ul></div></div><div class="flex animate-pulse"><div class="shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"><div class="bg-gray-200 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl"></div></div><div class="ms-4 mt-2 w-full"><p class="h-4 bg-gray-200 rounded-full" style="width:40%;"></p><ul class="mt-5 space-y-3 flex flex-col"><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-20 h-4 bg-gray-200 rounded-full"></li></ul></div></div><div class="flex animate-pulse"><div class="shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"><div class="bg-gray-200 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl"></div></div><div class="ms-4 mt-2 w-full"><p class="h-4 bg-gray-200 rounded-full" style="width:40%;"></p><ul class="mt-5 space-y-3 flex flex-col"><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-20 h-4 bg-gray-200 rounded-full"></li></ul></div></div>',3)]))):(n(),r("div",Ie,[(n(!0),r(p,null,m(o.posts.data,a=>(n(),B(c,{key:a.id,class:"group block rounded-xl overflow-hidden focus:outline-none",href:s.route("client.post.show",a.slug)},{default:P(()=>[e("div",Oe,[e("div",Ee,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:a.preview?"storage/images/"+a.preview:"/img/thumbnail-1.png"},null,8,Ze)]),e("div",Ne,[e("h3",Ae,d(a.title),1),t[1]||(t[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),t[2]||(t[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[x(" Читать далее "),e("svg",{class:"shrink-0 size-4",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),128)),e("div",De,[e("a",{href:s.route("client.post.index",{category:l.block.data.category}),class:"group inline-flex items-center gap-x-1 text-sm font-semibold text-[#1A5AAF]"},t[3]||(t[3]=[x(" Все новости "),e("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m9 18 6-6-6-6"})],-1)]),8,Ye)])]))])}const Ge=g(ze,[["render",qe]]),Je={name:"PageItemBlock",components:{axios:h,Link:b},data(){return{page:null,breadcrumbs:null,loading:!0}},methods:{getPage(s){h.get(route("client.widget.page.single",s)).then(t=>{this.page=t.data.data.page,this.breadcrumbs=t.data.data.breadcrumbs,this.loading=!1}).catch(t=>{console.error("Ошибка:",t),this.loading=!1})}},mounted(){this.getPage(this.block.data.page)},props:{block:{type:Object}}},Ke={key:0,class:"flex flex-col space-y-4"},Qe={key:1,class:"w-full px-2 sm:px-3 lg:px-4mx-auto"},Re=["href"],Ue={class:"p-4 md:p-5"},We={class:"flex items-center gap-x-5"},Xe={class:"grow"},et={key:0,class:"flex items-center whitespace-nowrap"},tt={class:"inline-flex items-center"},st={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},ot={class:"inline-flex items-center"},lt={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},nt={class:"inline-flex items-center"},rt={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},at={class:"mt-1 group-hover:text-blue-600 font-semibold text-gray-700"};function it(s,t,l,u,o,i){return o.loading?(n(),r("div",Ke,t[0]||(t[0]=[y('<div class="flex animate-pulse"><div class="ms-4 mt-2 w-full border px-4 py-4 rounded-xl shadow-sm"><p class="h-4 bg-gray-200 rounded-full" style="width:40%;"></p><ul class="mt-5 space-y-3 flex flex-col"><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li></ul></div></div>',1)]))):(n(),r("div",Qe,[e("a",{class:"group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition",href:o.page.is_url?o.page.path:s.route("page.view",o.page.path)+"/"},[e("div",Ue,[e("div",We,[t[3]||(t[3]=e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"mt-1 shrink-0 size-7 text-gray-600"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})],-1)),e("div",Xe,[o.breadcrumbs?(n(),r("ol",et,[e("li",tt,[e("span",st,d(o.breadcrumbs.mainSection),1),t[1]||(t[1]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m9 18 6-6-6-6"})],-1))]),e("li",ot,[e("span",lt,d(o.breadcrumbs.mainSection),1),t[2]||(t[2]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m9 18 6-6-6-6"})],-1))]),e("li",nt,[e("span",rt,d(o.breadcrumbs.page),1)])])):j("",!0),e("h3",at,d(o.page.title),1)])])])],8,Re)]))}const ct=g(Je,[["render",it]]),dt={name:"PostListBlock",components:{axios:h,Link:b},data(){return{post:null,loading:!0}},methods:{getPost(s){h.get(route("client.widget.post.single",s),{params:{count:this.block.data.count,category:this.block.data.category}}).then(t=>{this.post=t.data,this.loading=!1}).catch(t=>{console.error("Ошибка:",t),this.loading=!1})}},mounted(){this.getPost(this.block.data.post)},props:{block:{type:Object}}},ut={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},gt={key:0,class:"flex flex-col space-y-4"},pt={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},mt={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},ht={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},ft=["src"],xt={class:"grow"},bt={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"};function vt(s,t,l,u,o,i){const c=v("Link");return n(),r("div",ut,[o.loading?(n(),r("div",gt,t[0]||(t[0]=[y('<div class="flex animate-pulse"><div class="shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"><div class="bg-gray-200 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl"></div></div><div class="ms-4 mt-2 w-full"><p class="h-4 bg-gray-200 rounded-full" style="width:40%;"></p><ul class="mt-5 space-y-3 flex flex-col"><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-full h-4 bg-gray-200 rounded-full"></li><li class="w-20 h-4 bg-gray-200 rounded-full"></li></ul></div></div>',1)]))):(n(),r("div",pt,[w(c,{class:"group block rounded-xl overflow-hidden focus:outline-none",href:s.route("client.post.show",o.post.data.slug)},{default:P(()=>[e("div",mt,[e("div",ht,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:o.post.data.preview?"storage/images/"+o.post.data.preview:"/img/thumbnail-1.png"},null,8,ft)]),e("div",xt,[e("h3",bt,d(o.post.data.title),1),t[1]||(t[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),t[2]||(t[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[x(" Читать далее "),e("svg",{class:"shrink-0 size-4",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m9 18 6-6-6-6"})])],-1))])])]),_:1},8,["href"])]))])}const _t=g(dt,[["render",vt]]),wt={name:"EventBuilder",components:{FileBlock:te,ImageBlock:K,ClientImageSlider:S,ParagraphBlock:Y,HeadingBlock:Z,PersonBlock:de,StepperBlock:ve,VideoBlock:Be,TabBlock:Ve,PostListBlock:Ge,PageItemBlock:ct,PostItemBlock:_t},methods:{getComponent(s){return{heading:"HeadingBlock",paragraph:"ParagraphBlock",images:"ClientImageSlider",image:"ImageBlock",files:"FileBlock",person:"PersonBlock",stepper:"StepperBlock",video:"VideoBlock",tabs:"TabBlock",postsList:"PostListBlock",postItem:"PostItemBlock",pageItem:"PageItemBlock"}[s]||null}},props:{blocks:{type:Object}}};function kt(s,t,l,u,o,i){return n(!0),r(p,null,m(l.blocks,(c,a)=>(n(),B(L(i.getComponent(c.type)),{key:a,block:c},null,8,["block"]))),128)}const Ht=g(wt,[["render",kt]]);export{Ht as E,Tt as T,St as a};
|