PageSourceSearch

https://v-capital.co/_nuxt/_...article_.359d6be9.js

js v-capital.co collected 2026-10-04 10:22:41 UTC 5,067 bytes, 1 lines download raw bytes

1import{u as p,o as a,c as s,n as f,a as t,t as i,b as c,w as m,d as u,_ as g,e as b,F as y,r as k}from"./entry.867e9817.js";import{_ as w}from"./ir_button.b4ffc1e1.js";import{_ as v}from"./error.91dd4c59.js";import{h as L}from"./moment.82484010.js";import{_ as B}from"./_plugin-vue_export-helper.a1a6add7.js";import{_ as M}from"./icon_link_arrow.006b6848.js";const Z={data(){return{isLoading:!0,route:"",routeData:"",articleData:{}}},methods:{backButton(){this.$router.go(-1)},dateFormatter(r){return L(r).format("D MMMM YYYY")}},async mounted(){var r;this.route=p(),this.routeData=(r=this.$route.params.listing)!=null?r:null,this.articleData=await $fetch(`https://ir-api.v-capital.co/articles/${this.routeData[2]}`),document.title=`${this.articleData.article_title} | VCI Global`,this.isLoading=!1}},V={key:0},$={key:0},C={class:"containerBootstrap"},H={class:"mt-4 text-3xl font-bold text-center md:text-4xl lg:text-5xl lg:text-start"},T=t("div",null,null,-1),A={class:"mt-4 text-lg text-center md:text-xl lg:text-start font-book"},F={key:1,class:"pt-10 containerBootstrap"},N={class:"mt-4 text-3xl font-bold md:text-4xl lg:text-5xl text-start"},j=t("div",null,null,-1),S={class:"mt-4 text-lg md:text-xl text-start font-book"},Y={class:"verticalPadding containerBootstrap"},E=["innerHTML"],G={key:2,class:"verticalPadding containerBootstrap"},I={class:"flex flex-col items-center"},K=t("div",{class:"w-full py-10"},[t("hr",{class:"w-full"})],-1),O=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2em",height:"2em",viewBox:"0 0 24 24"},[t("path",{fill:"currentColor",d:"M3 11V3h8v8Zm0 10v-8h8v8Zm10-10V3h8v8Zm0 10v-8h8v8ZM5 9h4V5H5Zm10 0h4V5h-4Zm0 10h4v-4h-4ZM5 19h4v-4H5ZM15 9Zm0 6Zm-6 0Zm0-6Z"})],-1),P=[O],R={key:1};function z(r,e,d,l,o,_){const n=w,h=g,D=v;return o.isLoading?u("",!0):(a(),s("div",V,[o.articleData.article_slug==o.routeData[2]?(a(),s("div",$,[o.articleData.article_banner_img?(a(),s("section",{key:0,class:"relative vh-48 bg-cover bg-no-repeat bg-center flex justify-center items-center text-white bg-blend-overlay bg-[#00000066]",style:f({"background-image":`url('${o.articleData.article_banner_img}')`})},[t("div",C,[t("h1",H,i(o.articleData.article_title),1),T,t("h2",A,i(_.dateFormatter(o.articleData.article_publish_at))+" | "+i(o.articleData.article_source),1)])],4)):(a(),s("div",F,[t("h1",N,i(o.articleData.article_title),1),j,t("h2",S,i(_.dateFormatter(o.articleData.article_publish_at))+" | "+i(o.articleData.article_source),1)])),t("section",Y,[t("div",{innerHTML:o.articleData.article_content_html,class:"vHtml"},null,8,E)]),o.routeData[0]=="insight"?(a(),s("section",G,[t("div",I,[c(h,{to:"/contact_us"},{default:m(()=>[c(n,{data:"TALK TO US"})]),_:1}),K,t("a",{onClick:e[0]||(e[0]=(...x)=>_.backButton&&_.backButton(...x)),class:"cursor-pointer"},P)])])):u("",!0)])):!o.isLoading&&o.routeData==""?(a(),s("div",R,[c(D)])):u("",!0)]))}const U=B(Z,[["render",z]]);const X={key:0},q={key:0,class:"verticalPadding containerBootstrap"},J={class:"grid grid-cols-1 gap-10 md:grid-cols-2 lg:grid-cols-3"},Q=["src"],W={class:"gap-5 card-body"},tt=t("h3",{class:"text-sm"},"Insight Article",-1),et={class:"card-title text-lg font-bold hover:text-[#1725cb] cursor-pointer"},ot={class:"text-base"},at=t("p",{class:"text-sm font-bold grow-0",style:{color:"#1725cb"}}," READ MORE ",-1),st=t("img",{style:{width:"14px",height:"14px"},src:M},null,-1),rt={key:1},it={key:2},nt={data(){return{routeData:"",gridData:"",route:""}},async mounted(){var l;window.dataLayer=window.dataLayer||[];function r(){dataLayer.push(arguments)}r("js",new Date),r("config","GTM-KKH4SHX"),this.route=p(),this.routeData=(l=this.$route.params.listing)!=null?l:null;const d=this.routeData[1].replaceAll("-"," ").split(" ").join(" ");document.title=`${d.toUpperCase()} | VCI Global`,this.routeData[0]=="insight"&&!this.routeData[2]&&(this.gridData=await $fetch(`https://ir-api.v-capital.co/articles/category/${this.routeData[1]}`))}},mt=Object.assign(nt,{__name:"[...article]",setup(r){return(e,d)=>{const l=g,o=U,_=v;return e.routeData?(a(),s("div",X,[e.routeData[0]=="insight"&&!e.routeData[2]?(a(),s("div",q,[t("h1",{class:b(["text-4xl md:text-5xl font-bold text-[#0e192c] uppercase mt-4",e.routeData[0]=="insight"?"py-10":"mb-[30px]"])},i(e.routeData[0]=="insight"&&e.routeData[1]!="fintech"&&e.routeData[1]!="information-technology"&&e.routeData[1]!="e-commerce"?e.routeData[1].replace(/-/g," "):e.routeData[1].replace(/-/g," ")),3),t("div",J,[(a(!0),s(y,null,k(e.gridData,(n,h)=>(a(),s("div",{key:h,class:"rounded-none shadow-xl card bg-base-100"},[t("figure",null,[t("img",{src:n.article_thumbnail_img},null,8,Q)]),t("div",W,[tt,c(l,{to:e.route.path+n.article_slug+"/"},{default:m(()=>[t("h2",et,i(n.article_title),1)]),_:2},1032,["to"]),t("p",ot,i(n.article_short_desc),1),c(l,{class:"flex items-center gap-2 cursor-pointer moveArrow",to:e.route.path+n.article_slug+"/"},{default:m(()=>[at,st]),_:2},1032,["to"])])]))),128))])])):e.routeData[0]=="insight"&&e.routeData[2]?(a(),s("div",rt,[c(o)])):(a(),s("div",it,[c(_)]))])):u("",!0)}}});
1export{mt as default};

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.