1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6574,4642],{8774:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/home/national",function(){return n(4642)}])},4642:function(e,t,n){"use strict";n.r(t);var i=n(7568),s=n(7582),a=n(5893),l=n(7294),c=n(3108),r=n(549),o=n(1664),d=n.n(o),u=n(5675),h=n.n(u),m=n(9734);t.default=function(){(0,l.useState)(7)[0];var e,t=function(e){return function(t){axios.post("https://stock.cumicumi.com/api/v3articles/politik"+e).then(function(e){dispatch(postArticlesByID(e.data))}).catch(function(e){console.log("Error",e)})}},n=(0,m.ZP)("".concat("https://stock.cumicumi.com/api/v3","/articles/politik"),(e=(0,i.Z)(function(e){var t,n;return(0,s.__generator)(this,function(t){switch(t.label){case 0:return[4,fetch(e)];case 1:return[4,t.sent().json()];case 2:return[2,t.sent().data]}})}),function(t){return e.apply(this,arguments)})),o=n.data;return n.error?(0,a.jsxs)("section",{className:"area-content",children:[(0,a.jsxs)("div",{className:"section-heading",children:[(0,a.jsx)("h2",{className:"title-section new-title-section",children:(0,a.jsx)("span",{children:"Politik & Hukum"})}),(0,a.jsx)(d(),{href:"/articles/politik",className:"link-indeks",children:"see more"})]}),(0,a.jsx)("div",{className:"section-body",children:(0,a.jsx)("div",{className:"row g-0",children:(0,a.jsx)("div",{className:"main-error text-center",children:(0,a.jsx)("span",{className:"error",children:"Tidak ada artikel ditemukan !"})})})})]}):o?(0,a.jsx)(l.Fragment,{children:(0,a.jsxs)("section",{className:"area-content",children:[(0,a.jsxs)("div",{className:"section-heading",children:[(0,a.jsx)("h2",{className:"title-section new-title-section",children:(0,a.jsx)("span",{children:"Politik & Hukum"})}),(0,a.jsx)(d(),{href:"/articles/politik",className:"link-indeks",children:"see more"})]}),(0,a.jsx)("div",{className:"col",children:o&&o.slice(0,6).map(function(e,n){return(0,a.jsxs)("article",{className:"col-lg-6 d-inline-block home__viral",children:[(0,a.jsx)("div",{id:"thumbnail_national",className:"w-auto rounded ",children:(0,a.jsx)(d(),{href:"/"+e.content_type+"/"+e.rubrik.slug+"/"+e.id+"/"+e.slug,children:(0,a.jsx)("a",{className:"feature-img position-relative",onClick:"Articles"===e.content_type?t(e.id):"",children:(0,a.jsx)(h(),{id:"thumbnail",className:"img-fluid",src:e.thumbnail.medium,alt:e.title,width:711,height:370})})})}),(0,a.jsxs)("div",{children:[(0,a.jsx)(d(),{href:"/"+e.content_type+"/"+e.rubrik.slug+"/"+e.id+"/"+e.slug,children:(0,a.jsx)("a",{onClick:"Articles"===e.content_type?t(e.id):"",children:(0,a.jsx)(c.ZP,{className:"title",tagName:"h3",content:e.title})})}),(0,a.jsx)("ul",{className:"list-unstyled meta d-flex align-items-center",children:(0,a.jsx)("li",{id:"timeline",children:e.published_human})})]})]},n)})})]})}):(0,a.jsxs)("section",{className:"area-content",children:[(0,a.jsxs)("div",{className:"section-heading",children:[(0,a.jsx)("h2",{className:"title-section new-title-section",children:(0,a.jsx)(r.Z,{width:100})}),(0,a.jsx)(d(),{href:"/articles",className:"link-indeks",children:(0,a.jsx)(r.Z,{width:100})})]}),(0,a.jsx)("div",{className:"section-body"})]})}},7568:function(e,t,n){"use strict";function i(e,t,n,i,s,a,l){try{var c=e[a](l),r=c.value}catch(o){n(o);return}c.done?t(r):Promise.resolve(r).then(i,s)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(s,a){var l=e.apply(t,n);function c(e){i(l,s,a,c,r,"next",e)}function r(e){i(l,s,a,c,r,"throw",e)}c(void 0)})}}n.d(t,{Z:function(){return s}})},549:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(7294);let s=i.createContext({});function a({count:e=1,wrapper:t,className:n,containerClassName:a,containerTestId:l,circle:c=!1,style:r,...o}){var d,u,h;let m=i.useContext(s),f={...o};for(let[p,x]of Object.entries(o))void 0===x&&delete f[p];let j={...m,...f,circle:c},v={...r,...function({baseColor:e,highlightColor:t,width:n,height:i,borderRadius:s,circle:a,direction:l,duration:c,enableAnimation:r=!0}){let o={};return"rtl"===l&&(o["--animation-direction"]="reverse"),"number"==typeof c&&(o["--animation-duration"]=`${c}s`),r||(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),a&&(o.borderRadius="50%"),void 0!==e&&(o["--base-color"]=e),void 0!==t&&(o["--highlight-color"]=t),o}(j)},N="react-loading-skeleton";n&&(N+=` ${n}`);let k=null!==(d=j.inline)&&void 0!==d&&d,y=[],g=Math.ceil(e);for(let b=0;b<g;b++){let _=v;if(g>e&&b===g-1){let w=null!==(u=_.width)&&void 0!==u?u:"100%",E=e%1,P="number"==typeof w?w*E:`calc(${w} * ${E})`;_={..._,width:P}}let Z=i.createElement("span",{className:N,style:_,key:b},"â");k?y.push(Z):y.push(i.createElement(i.Fragment,{key:b},Z,i.createElement("br",null)))}return i.createElement("span",{className:a,"data-testid":l,"aria-live":"polite","aria-busy":null===(h=j.enableAnimation)||void 0===h||h},t?y.map((e,n)=>i.createElement(t,{key:n},e)):y)}}},function(e){e.O(0,[1664,3108,9734,5675,9774,2888,179],function(){return e(e.s=8774)}),_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.