1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8419],{157:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/videos/[rubrik]/newlifestyle",function(){return n(8939)}])},8939:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var i,s=n(7568),c=n(7582),a=n(5893),r=n(7294),l=n(1664),o=n(549),u=n(6848),d=n(1472),m=(i=(0,s.Z)(function(e){var t,n;return(0,c.__generator)(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,(0,d.i)({url:d.b.lifeStyleleApi.getDataLifeStyle(e),method:"GET"})];case 1:if(t=i.sent())return[2,t.data];return[2,[]];case 2:return n=i.sent(),console.error("Failed to fetch data:",n),[2,[]];case 3:return[2]}})}),function(e){return i.apply(this,arguments)}),h=function(){var e=(0,r.useState)([]),t=e[0],n=e[1],i=(0,r.useState)(!0),d=i[0],h=i[1],p=(0,r.useState)(null),f=p[0],v=p[1],g=function(e){return(0,s.Z)(function(){var t;return(0,c.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,u.A)(e)];case 1:return n.sent(),[3,3];case 2:return t=n.sent(),console.error("Click tracking error:",t),[3,3];case 3:return[2]}})})};return((0,r.useEffect)(function(){var e;(e=(0,s.Z)(function(){var e,t;return(0,c.__generator)(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,m(7)];case 1:return n(e.sent().data.data),h(!1),[3,3];case 2:return v(e.sent().message),h(!1),[3,3];case 3:return[2]}})}),function(){return e.apply(this,arguments)})()},[]),d)?(0,a.jsxs)("section",{children:[(0,a.jsxs)("div",{className:"section-heading",children:[(0,a.jsx)("h2",{className:"title-section new-title-section",children:(0,a.jsx)(o.Z,{width:100})}),(0,a.jsx)(o.Z,{width:100})]}),(0,a.jsx)("div",{className:"section-body",children:[1,2,3,4,5,6].map(function(e){return(0,a.jsx)("article",{children:(0,a.jsxs)("div",{className:"single-content-post align-items-center",children:[(0,a.jsx)("div",{className:"feature-img position-relative",children:(0,a.jsx)(o.Z,{width:334,height:162})}),(0,a.jsxs)("div",{className:"mt-4 mt-lg-0",children:[(0,a.jsx)("div",{children:(0,a.jsx)(o.Z,{height:50})}),(0,a.jsx)(o.Z,{count:3}),(0,a.jsxs)("ul",{className:"list-unstyled meta d-flex align-items-center",children:[(0,a.jsx)("li",{children:(0,a.jsx)(o.Z,{width:100})}),(0,a.jsx)("li",{children:(0,a.jsx)(o.Z,{width:100})})]})]})]})},e)})})]}):f?(0,a.jsxs)("section",{children:[(0,a.jsxs)("div",{className:"section-heading",children:[(0,a.jsxs)("h2",{className:"title-section new-title-section",children:["the ",(0,a.jsx)("span",{children:"lifestyle"})]}),(0,a.jsx)(l.Link,{href:"/articles?slug=lifestyle",className:"link-indeks",children:"see more"})]}),(0,a.jsx)("div",{className:"section-body",children:(0,a.jsx)("div",{className:"main-error text-center",children:(0,a.jsx)("span",{className:"error",children:"Tidak ada artikel ditemukan !"})})})]}):(0,a.jsx)(r.Fragment,{children:(0,a.jsxs)("section",{className:"new",children:[(0,a.jsxs)("div",{className:"section-heading",children:[(0,a.jsxs)("h2",{className:"title-section new-title-section",children:["the ",(0,a.jsx)("span",{children:"lifestyle"})]}),(0,a.jsx)(l.Link,{href:"/articles/lifestyle",className:"link-indeks",children:"see more"})]}),(0,a.jsx)("div",{className:"section-body",children:(0,a.jsx)("div",{className:"row",children:t&&t.slice(0,5).map(function(e,t){return(0,a.jsx)("article",{className:"col-sm-12 col-md-6",children:(0,a.jsxs)("div",{className:"single-content-post align-items-center",children:[(0,a.jsx)("div",{className:"feature-img position-relative",children:(0,a.jsx)(l.Link,{href:"/"+e.content_type+"/"+e.rubrik.slug+"/"+e.id+"/"+e.slug,onClick:g(e.id),className:"img-hover-scale",children:(0,a.jsx)("img",{className:"img-fluid img-rightside",src:e.thumbnail.medium,alt:e.title})})}),(0,a.jsxs)("div",{className:"post-content",children:[(0,a.jsx)(l.Link,{href:"/"+e.content_type+"/"+e.rubrik.slug+"/"+e.id+"/"+e.slug,onClick:g(e.id),children:(0,a.jsx)("h3",{className:"title",children:e.title})}),(0,a.jsxs)("ul",{className:"list-unstyled meta d-flex align-items-center",children:[(0,a.jsx)("li",{children:(0,a.jsx)(l.Link,{href:"/"+e.content_type+"/"+e.rubrik.slug,children:(0,a.jsx)("img",{className:"img-fluid",src:e.rubrik.logo,alt:e.rubrik.title,width:"40"})})}),(0,a.jsx)("li",{className:"ml-2",children:e.published_human})]})]})]})},t)})})})]})})}},1472:function(e,t,n){"use strict";n.d(t,{b:function(){return N},i:function(){return b}});var i,s=n(7568),c=n(7582),a=n(7066),r="https://stock.cumicumi.com/api/v3",l={getDataLastArticles:"".concat(r,"/latest-article"),postClickArticles:function(e){return"".concat(r,"/articles/").concat(e)}},o={getDataIndigoTv:"".concat("https://stock.cumicumi.com/api/v3","/external-links")},u="https://stock.cumicumi.com/api/v3",d={getDataHeadline:"".concat(u,"/headline"),getDataRelatedNews:"".concat(u,"/headline/v2")},m="https://stock.cumicumi.com/api/v3",h={getDataVideos:function(e){return"".concat(m,"/videos?perpage=").concat(e)},getDataVideosRubrik:function(e,t){return"".concat(m,"/videos?perpage=").concat(e,"&slug=").concat(t)},getDataLatestVideo:"".concat(m,"/latest-video"),postClickVideo:function(e){return"".concat(m,"/videos/").concat(e)}},p={getDataNational:"".concat("https://stock.cumicumi.com/api/v3","/national")},f={getDataKorea:"".concat("https://stock.cumicumi.com/api/v3","/korea")},v="https://stock.cumicumi.com/api/v3",g={getDataNewEvents:"".concat(v,"/events"),postClickNewEvents:function(e){return"".concat(v,"/events/").concat(e)}},k={getDataOurChannel:"".concat("https://stock.cumicumi.com/api/v3","/rubrik-recommendation")},x="https://stock.cumicumi.com/api/v3",y="https://stock.cumicumi.com/api/v3",j={getDataInfo:"".concat(y,"/info"),getDataFooterMenu:"".concat(y,"/footer-menu")},N={indigoTvApi:o,latestArticlesApi:l,headLineApi:d,videosApi:h,viralApi:{getDataViral:function(e){return"".concat("https://stock.cumicumi.com/api/v3","/articles/viral?perpage=").concat(e)}},lifeStyleleApi:{getDataLifeStyle:function(e){return"".concat("https://stock.cumicumi.com/api/v3","/articles/lifestyle?perpage=").concat(e)}}
1,nationalApi:p,koreaApi:f,newEventsApi:g,filmMusicApi:{getDataFilmMusic:function(e){return"".concat("https://stock.cumicumi.com/api/v3","/articles/music?perpage=").concat(e)}},newsApi:{getDataNews:function(e){return"".concat("https://stock.cumicumi.com/api/v3","/latest?perpage=").concat(e)}},ourChannelApi:k,eventsApi:{getDataEvents:function(e,t){return"".concat(x,"/events?perpage=").concat(e,"&slug=").concat(t)},postClickEvents:function(e){return"".concat(x,"/events/").concat(e)}},articlesApi:{getDataArticlesLatest:function(e){return"".concat("https://stock.cumicumi.com/api/v3","/latest?perpage=").concat(e)}},navigationApi:j},b=(i=(0,s.Z)(function(e){var t,n,i,s,r,l,o,u,d,m,h;return(0,c.__generator)(this,function(c){switch(c.label){case 0:t=e.url,n=e.method,i=e.payload,s=e.params,r=e.responseType,o=void 0===(l=e.type)?"data":l,c.label=1;case 1:return c.trys.push([1,3,,4]),u={},"file"===o&&(u["Content-Type"]="multipart/form-data"),[4,(0,a.Z)({method:n,url:t,data:i,params:s,responseType:r,headers:u})];case 2:return[2,c.sent()];case 3:if([404,400,500].includes(null==(h=null==(m=c.sent())?void 0:m.response)?void 0:h.status))return[2,h];throw m;case 4:return[2]}})}),function(e){return i.apply(this,arguments)})},6848:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var i,s,c=n(7568),a=n(7582),r=n(1472);(0,c.Z)(function(){var e,t;return(0,a.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,r.i)({url:r.b.latestArticlesApi.getDataLastArticles,method:"GET"})];case 1:if(e=n.sent())return[2,e.data];return[2,[]];case 2:return t=n.sent(),console.error("Failed to fetch Last Article data:",t),[2,[]];case 3:return[2]}})});var l=(s=(0,c.Z)(function(e){var t,n;return(0,a.__generator)(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,(0,r.i)({url:r.b.latestArticlesApi.postClickArticles(e),method:"POST"})];case 1:if(t=i.sent())return[2,t.data];return[2,[]];case 2:return n=i.sent(),console.error("Failed to fetch Last Article data:",n),[2,[]];case 3:return[2]}})}),function(e){return s.apply(this,arguments)})},7568:function(e,t,n){"use strict";function i(e,t,n,i,s,c,a){try{var r=e[c](a),l=r.value}catch(o){n(o);return}r.done?t(l):Promise.resolve(l).then(i,s)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(s,c){var a=e.apply(t,n);function r(e){i(a,s,c,r,l,"next",e)}function l(e){i(a,s,c,r,l,"throw",e)}r(void 0)})}}n.d(t,{Z:function(){return s}})},549:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(7294);let s=i.createContext({});function c({count:e=1,wrapper:t,className:n,containerClassName:c,containerTestId:a,circle:r=!1,style:l,...o}){var u,d,m;let h=i.useContext(s),p={...o};for(let[f,v]of Object.entries(o))void 0===v&&delete p[f];let g={...h,...p,circle:r},k={...l,...function({baseColor:e,highlightColor:t,width:n,height:i,borderRadius:s,circle:c,direction:a,duration:r,enableAnimation:l=!0}){let o={};return"rtl"===a&&(o["--animation-direction"]="reverse"),"number"==typeof r&&(o["--animation-duration"]=`${r}s`),l||(o["--pseudo-element-display"]="none"),("string"==typeof n||"number"==typeof n)&&(o.width=n),("string"==typeof i||"number"==typeof i)&&(o.height=i),("string"==typeof s||"number"==typeof s)&&(o.borderRadius=s),c&&(o.borderRadius="50%"),void 0!==e&&(o["--base-color"]=e),void 0!==t&&(o["--highlight-color"]=t),o}(g)},x="react-loading-skeleton";n&&(x+=` ${n}`);let y=null!==(u=g.inline)&&void 0!==u&&u,j=[],N=Math.ceil(e);for(let b=0;b<N;b++){let w=k;if(N>e&&b===N-1){let A=null!==(d=w.width)&&void 0!==d?d:"100%",_=e%1,D="number"==typeof A?A*_:`calc(${A} * ${_})`;w={...w,width:D}}let E=i.createElement("span",{className:x,style:w,key:b},"â");y?j.push(E):j.push(i.createElement(i.Fragment,{key:b},E,i.createElement("br",null)))}return i.createElement("span",{className:c,"data-testid":a,"aria-live":"polite","aria-busy":null===(m=g.enableAnimation)||void 0===m||m},t?j.map((e,n)=>i.createElement(t,{key:n},e)):j)}}},function(e){e.O(0,[1664,7066,9774,2888,179],function(){return e(e.s=157)}),_N_E=e.O()}]);
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.