1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8624],{8624:(e,t,a)=>{a.r(t),a.d(t,{default:()=>V});var l=a(821),o=["content"],n=["content"],d=["href"],r={class:"mb-12 lg:mb-32"},s={class:"container m-auto text-gray-600"},i={class:"flex flex-wrap -m-4"},c=["onClick"],m={class:"dark:text-d-10 h-full bg-l-1 dark:bg-d-1"},u=["src","alt"],p={class:"p-4"},f={class:""},g={class:"post-date text-d-10"},x={class:"text-sl-h4"},v={class:"text-l-10 dark:text-d-10 rounded-md w-fit mx-auto fixed top-[50%] left-[50%] -translate-y-[50%] -translate-x-[50%] bg-l-1 dark:bg-d-1"},h=[(0,l.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor","aria-hidden":"true",class:"rotate-45 block cursor-pointer stroke-2 h-6 w-6 text-l-20 hover:text-l-10 dark:text-d-20 dark:hover:text-d-10"},[(0,l.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4v16m8-8H4"})],-1)],b=(0,l.createElementVNode)("div",{id:"video",class:"w-[90vw] max-w-[1100px]"},null,-1);var k=a(8078),w=a(1421);const y=(0,l.defineComponent)({props:{data:Array,posts:Array}
1,components:{TitleGlobal:k.Z,VueFinalModal:w.iR,ModalsContainer:w.Lu},created:function(){window.delayNum=100},data:function(){return{showPopup:!1,popupVideo:null}},methods:{delayNum:function(){return window.delayNum=window.delayNum+10,window.delayNum},openVideo:function(e){var t=e.video||"";t?(this.playVideo(/^https?:\/\//i.test(t)?t:"/media/"+t),this.showPopup=!0):window.location.href="/video/"+e.slug},playVideo:function(e){var t=document.getElementById("video");if(t.innerHTML="",/youtube(?:-nocookie)?\.com\/embed\//i.test(e)){var a=document.createElement("iframe");return a.setAttribute("src",e+(-1===e.indexOf("?")?"?autoplay=1":"&autoplay=1")),a.setAttribute("title","Softlogic video"),a.setAttribute("allow","autoplay; encrypted-media; picture-in-picture"),a.setAttribute("allowfullscreen","true"),a.className="w-full aspect-video",void t.appendChild(a)}var l=document.createElement("video");l.id="video-player",l.controls=!0,l.autoplay=!0,l.className="w-full max-h-[80vh]";var o=document.createElement("source");o.setAttribute("src",e),o.setAttribute("type","video/mp4"),l.appendChild(o),t.appendChild(l),l.load()},stopVideo:function(){var e=document.getElementById("video");e&&(e.innerHTML="")}}});const V=(0,a(3744).Z)(y,[["render",function(e,t,a,k,w,y){var V=(0,l.resolveComponent)("Head"),N=(0,l.resolveComponent)("TitleGlobal"),E=(0,l.resolveComponent)("vue-final-modal");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createVNode)(V,null,{default:(0,l.withCtx)((function(){return[(0,l.createElementVNode)("title",null,(0,l.toDisplayString)(e.seoTitle(e.data.title)),1),(0,l.createElementVNode)("meta",{name:"description",content:e.data.seo.description},null,8,o),(0,l.createElementVNode)("meta",{name:"keywords",content:e.data.seo.keywords},null,8,n),(0,l.createElementVNode)("link",{rel:"canonical",href:"https://softlogic.ai/"+e.data.slug},null,8,d)]})),_:1}),(0,l.createElementVNode)("div",r,[(0,l.createElementVNode)("div",s,[(0,l.createVNode)(N,{title:e.seoH1(e.data.title),top:"1",tag:"h1"},null,8,["title"]),(0,l.createElementVNode)("div",i,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.posts.data,(function(t){return(0,l.openBlock)(),(0,l.createElementBlock)("div",{style:{cursor:"pointer"},"data-aos":"fade-up","data-aos-duration":"400","data-aos-offset":"100",class:"w-full xl:w-1/2 md:w-1/2 p-4",onClick:function(a){return e.openVideo(t)}},[(0,l.createElementVNode)("div",m,[(0,l.createElementVNode)("img",{src:"/media/"+t.video_img,alt:t.title,loading:"lazy",width:"1000",height:"667",class:"w-full object-cover object-top",style:{"aspect-ratio":"16 / 9"}},null,8,u),(0,l.createElementVNode)("div",p,[(0,l.createElementVNode)("div",f,[(0,l.createElementVNode)("span",g,(0,l.toDisplayString)(t.date),1),(0,l.createElementVNode)("span",x,(0,l.toDisplayString)(t.title),1)])])])],8,c)})),256))])])]),(0,l.createVNode)(E,{modelValue:e.showPopup,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.showPopup=t}),onClosed:t[2]||(t[2]=function(t){return e.stopVideo()})},{default:(0,l.withCtx)((function(){return[(0,l.createElementVNode)("div",v,[(0,l.createElementVNode)("button",{class:"tm__modal__close",onClick:t[0]||(t[0]=function(t){return e.showPopup=!1,e.stopVideo()})},h),b])]})),_:1},8,["modelValue"])],64)}]])},8078:(e,t,a)=>{a.d(t,{Z:()=>u});var l=a(821),o={key:0,class:"text-left mt-12 mb-16 container"},n=["innerHTML"],d=(0,l.createElementVNode)("div",{class:"flex justify-start mt-3"},[(0,l.createElementVNode)("div",{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"50",class:"w-16 h-1 rounded-full bg-c-lblue inline-flex"})],-1),r=["innerHTML"],s=(0,l.createElementVNode)("div",{class:"flex justify-center mt-3"},[(0,l.createElementVNode)("div",{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"50",class:"w-16 h-1 rounded-full bg-c-lblue inline-flex"})],-1),i=["innerHTML"],c=(0,l.createElementVNode)("div",{class:"flex justify-start mt-3"},[(0,l.createElementVNode)("div",{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"50",class:"w-16 h-1 rounded-full bg-c-lblue inline-flex"})],-1);const m={props:{title:String,subtitle:String,tag:{type:String,default:"h2"},left:Number,cl:String,m:Number,mt:Number,top:Number}};const u=(0,a(3744).Z)(m,[["render",function(e,t,a,m,u,p){return(0,l.openBlock)(),(0,l.createElementBlock)("div",null,[1==a.top?((0,l.openBlock)(),(0,l.createElementBlock)("div",o,[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(a.tag),{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"10",class:"text-sl-h2 lg:text-sl-h1 font-medium text-l-10 dark:text-d-10 mb-2 lg:mb-2",innerHTML:a.title},null,8,["innerHTML"])),(0,l.createElementVNode)("p",{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"30",class:"p-0 text-sl-t leading-relaxed xl:w-2/4 lg:w-3/4 text-l-20 dark:text-d-20",innerHTML:a.subtitle},null,8,n),d])):(0,l.createCommentVNode)("",!0),1!=a.left&&1!=a.top?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:(0,l.normalizeClass)([{"mt-16 lg:mt-32 mb-16 lg:mb-32":0!=a.m,"mt-0 lg:mt-0 mb-8":"0"==a.m&&1!=a.mt,"mt-4 lg:mt-28 mb-20 lg:mb-40":1==a.mt},"text-center"])},[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(a.tag),{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"10",class:"text-sl-h2 text-l-10 dark:text-d-10 mb-2 lg:mb-2",innerHTML:a.title},null,8,["innerHTML"])),(0,l.createElementVNode)("p",{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"30",class:"p-0 text-sl-h3 leading-relaxed xl:w-2/4 lg:w-3/4 mx-auto text-l-20 dark:text-d-20",innerHTML:a.subtitle},null,8,r),s],2)):(0,l.createCommentVNode)("",!0),1==a.left&&1!=a.top?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:2,class:(0,l.normalizeClass)([{"mt-16 lg:mt-32 mb-16 lg:mb-32":0!=a.m,"mt-0 lg:mt-0 mb-8":"0"==a.m&&1!=a.mt,"mt-4 lg:mt-28 mb-20 lg:mb-40":1==a.mt},"text-left"])},[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(a.tag),{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"10",class:"text-sl-h2 text-l-10 dark:text-d-10 mb-0 lg:mb-2",innerHTML:a.title},null,8,["innerHTML"])),(0,l.createElementVNode)("p",{"data-aos":"fade-right","data-aos-duration":"300","data-aos-offset":"150","data-aos-delay":"30",class:"p-0 text-sl-h3 leading-relaxed xl:w-2/4 lg:w-3/4 mx-auto text-l-20 dark:text-d-20",innerHTML:a.subtitle},null,8,i),c],2)):(0,l.createCommentVNode)("",!0)])}]])}}]);
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.