PageSourceSearch

https://visionplustv.id/_nuxt/42d88c7.js

js visionplustv.id collected 2026-10-02 22:39:15 UTC 5,658 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[43,18],{722:function(t,e,n){"use strict";n.r(e);var r={name:"SkeletonListPromo",data:function(){return{mobile:!1}},mounted:function(){this.changeSize(),window.addEventListener("resize",this.changeSize)},beforeDestroy:function(){window.removeEventListener("resize",this.changeSize)},methods:{changeSize:function(){this.mobile=window.innerWidth<=640}}},o=n(0),component=Object(o.a)(r,function(){var t=this,e=t._self._c;return e("div",{staticClass:"grid grid-cols-3 grid-responsive-tablet-2 mt-30 mb-100"},t._l(6,function(n){return e("div",{key:n,staticClass:"promo-wrapper",staticStyle:{"margin-top":"60px"}},[e("Skeleton",{key:t.mobile,attrs:{height:t.mobile?"6rem":"18rem",borderRadius:"14px"}}),t._v(" "),e("div",[e("Skeleton",{attrs:{height:"1rem",borderRadius:"14px"}}),t._v(" "),e("Skeleton",{staticClass:"my-10",attrs:{height:"1rem",borderRadius:"14px"}}),t._v(" "),e("Skeleton",{attrs:{width:"8rem",height:"1rem",borderRadius:"14px"}})],1)],1)}),0)},[],!1,null,null,null);e.default=component.exports;installComponents(component,{Skeleton:n(200).default})},784:function(t,e,n){"use strict";n.r(e);n(24),n(56),n(121);var r,o=n(1),c=(n(27),n(31),n(12),n(201)),l={name:"promo",head:function(){return{title:this.title,meta:[{hid:"description",name:"description",content:""}]}},data:function(){return{title:"Vision+ TV - Promo",loading:!1,pagination:{page:this.$route.query.page||1,limit:6,totalPage:1},listPromo:[]}},watch:{"$route.query.page":(r=Object(o.a)(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.pagination.page=e,t.next=1,this.fetchList();case 1:case"end":return t.stop()}},t,this)})),function(t){return r.apply(this,arguments)})},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;
1)switch(e.prev=e.next){case 0:return t.$store.commit("general/setHeadTitle",t.title),e.next=1,t.fetchList();case 1:case"end":return e.stop()}},e)}))()},methods:{sendEvent:c.a,changePage:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:e.sendEvent(e.$gtag,"click pagination","promo page","-",{pagename:e.$store.state.general.headTitle,page_no:t}),e.$router.push("/promo?page=".concat(t));case 1:case"end":return n.stop()}},n)}))()},formattedData:function(data){var t=[];for(var i in data){var e={};if("en"===this.$i18n.locale){e.title=data[i].titleEn;var n=document.createElement("div");n.innerHTML=data[i].description_en,e.description=n.textContent.length>60?n.textContent.slice(0,60)+"...":n.textContent,e.link="/promo/".concat(data[i].slug_promo_en)}else{e.title=data[i].titleId;var r=document.createElement("div");r.innerHTML=data[i].description_id,e.description=r.textContent.length>60?r.textContent.slice(0,60)+"...":r.textContent,e.link="/promo/".concat(data[i].slug_promo)}e.imageLarge=this.$config.baseUrlCms+data[i].image_large_url.slice(1),e.imageMobile=this.$config.baseUrlCms+data[i].image_mobile_url.slice(1),e.imageWide=this.$config.baseUrlCms+data[i].images_wide_field.slice(1),t.push(e)}return t},fetchList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark(function e(){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,n={url:t.$config.baseUrlCms+"v1/promo?isPublish=true&sortBy=created&sortType=desc&"+"page=".concat(t.pagination.page,"&limit=").concat(t.pagination.limit),contentType:"application/json",token:t.$config.apiGuest},e.next=1,t.$store.dispatch("general/get",n);case 1:!(r=e.sent).error&&r.data.list.length>0&&(t.listPromo=t.formattedData(r.data.list),t.pagination.totalPage=Math.ceil(r.meta.total/t.pagination.limit),t.loading=!1);case 2:case"end":return e.stop()}},e)}))()}}},d=l,m=n(0),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("div",{staticClass:"section py-150"},[e("div",{staticClass:"container container--small"},[e("h3",{staticClass:"subheading subheading-1 tc",staticStyle:{"word-break":"break-word"}},[t._v(t._s(t.$t("promo.title")))]),t._v(" "),t.loading?t._e():e("div",{staticClass:"wrapper-list-promo mt-30 mb-100"},t._l(t.listPromo,function(n,r){return e("div",{key:r,staticClass:"promo-wrapper",staticStyle:{"margin-top":"60px"}},[e("img",{staticClass:"br-12",staticStyle:{width:"20rem","aspect-ratio":"1","max-width":"100%"},attrs:{src:n.imageLarge,alt:""}}),t._v(" "),e("div",[e("h4",{staticClass:"body body-3 bold",staticStyle:{"word-break":"break-word"}},[t._v(t._s(n.title))]),t._v(" "),e("div",{staticClass:"body body-5 op-5"},[t._v(t._s(n.description))]),t._v(" "),e("NuxtLink",{staticClass:"flex anchor-blue body body-5 mt-16 tc",attrs:{to:t.localePath(n.link)}},[e("a",{staticClass:"flex flex--align-center",on:{click:function(e){return t.sendEvent(t.$gtag,"click ".concat(n.title),"promo page","-",{pagename:t.$store.state.general.headTitle,promo_name:n.title})}}},[t._v("\n              "+t._s(t.$t("promo.more"))),e("Icon",{attrs:{select:"chevron",size:18,rotate:90,color:"#07E3D0"}})],1)])],1)])}),0),t._v(" "),t.loading?e("SkeletonListPromo"):t._e(),t._v(" "),t.loading?t._e():e("div",{staticClass:"flex flex--align-center flex--center"},[e("Pagination",{key:t.loading,attrs:{currentPage:parseInt(t.pagination.page),totalPages:t.pagination.totalPage},on:{changePage:function(e){return t.changePage(e)}}})],1)],1)])},[],!1,null,null,null);e.default=component.exports;installComponents(component,{Icon:n(19).default,SkeletonListPromo:n(722).default,Pagination:n(320).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.