PageSourceSearch

https://floresku.com/_next/static/chunks/pages/author/[id]-0df2fdcb2edc9b7f8433.js

js floresku.com collected 2026-10-02 23:59:38 UTC 5,919 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[14],{"0EvA":function(t,e,a){"use strict";a.r(e),a.d(e,"__N_SSP",(function(){return p})),a.d(e,"default",(function(){return O}));var c=a("nKUr"),n=a("rePB"),r=a("q1tI"),s=a.n(r),o=(a("+lMf"),a("Y84q"),a("5o4I")),i=a("nK0X"),l=a("GeZR"),u=a("Dx8R"),d=a("wN06"),h=a("GgLZ");a("YFqc");function j(t){var e=t.name,a=t.artikel;return Object(c.jsxs)("div",{className:"author-id",children:[Object(c.jsx)("div",{className:"author__avatar",children:Object(c.jsx)("img",{src:"/author.png",alt:e})}),Object(c.jsxs)("div",{className:"author__meta",children:[Object(c.jsx)("h3",{className:"author__name",children:e}),Object(c.jsxs)("a",{children:["Total ",a," Artikel "]})]})]})}var m=a("g4pe"),f=a.n(m);var b=a("EGQE"),p=!0;function O(t){var e,a=t.data,m=t.title,p=Object(r.useState)(null),O=p[0],_=p[1],g=Object(r.useState)(!0),x=g[0],v=g[1],N=Object(r.useState)(a.data),y=N[0],k=N[1],w=Object(r.useState)(2),E=w[0],B=w[1];if(0===a.data.length)return"";var I=function(){fetch("".concat("https://dev-api-cms.kmbmedia.id","/api/v1/public/posts?portal_id=").concat("18","&perPage=5&page=").concat(E,"&createdBy=").concat(decodeURIComponent(m)),{method:"GET",headers:{"Content-Type":"application/json"}}).then((function(t){return t.json()})).then((function(t){k(y.concat(t.data)),B(E+1)}))},P=Object(d.a)(m);Object(r.useEffect)((function(){if(P!==m){k(a.data);var t=a.total/5;v(E<t)}}),[m]);Object(r.useEffect)((function(){fetch("".concat("https://dev-api-cms.kmbmedia.id","/api/v1/public/posts/trending?portal_id=").concat("18"),{method:"GET",headers:{"Content-Type":"application/json"}}).then((function(t){return t.json()})).then((function(t){_(t)}))}),[]),Object(r.useEffect)((function(){I()}),[!E]);var R=a.data[0]?a.data[0]:"",T=R.createdBy?R.createdBy.full_name:"",S={data:a,title:m,createdBy:R?R.createdBy:null,author:R.authorBy?R.authorBy:null},q=S.author?S.author.imgMedia:null,A=(e={title:m,url:"".concat("https://floresku.com","/author/").concat(m,"/"),canonical:"/author/".concat(m),keywords:m?"author ".concat(m):"floresku.com, flores, flobamoraku"},Object(n.a)(e,"title","".concat(m)),Object(n.a)(e,"img_url","https://ik.imagekit.io/tk6ir0e7mng/uploads/2021/11/1637022686270.png"),e),G=function(t){var e=t.username,a=t.full_name,c=t.author_id,n=t.img_url;return{"@context":"https://schema.org","@graph":[{"@type":"ProfilePage","@id":"".concat("https://floresku.com","/author/").concat(e,"/#webpage"),url:"".concat("https://floresku.com","/author/").concat(e,"/"),name:"".concat(a,", Author at ").concat("floresku.com"),inLanguage:"id-ID",potentialAction:[{"@type":"ReadAction",target:["".concat("https://floresku.com","/author/").concat(e,"/")]}]},{"@type":"Person","@id":"".concat("https://floresku.com","/#/schema/person/").concat(c),name:"".concat(a),image:{"@type":"ImageObject","@id":"".concat("https://floresku.com","/#personlogo"),inLanguage:"id-ID",url:"".concat(n),caption:"".concat(a)},mainEntityOfPage:{"@id":"".concat("https://floresku.com","/author/").concat(e,"/#webpage")}}]}}({username:m,full_name:S.author?S.author.full_name:S.createdBy?S.createdBy.full_name:null,author_id:S.author?S.author.id:S.createdBy?S.createdBy.id:null,img_url:q?q.avatar_url:"/author.png"});return Object(c.jsxs)(u.a,{MetaConfig:A,children:[Object(c.jsx)(f.a,{children:Object(c.jsx)("script",{className:"yoast-schema-graph",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(G)}})}),Object(c.jsx)(j,{artikel:a.total,name:T}),Object(c.jsx)("div",{className:"container py-2 mt-5",children:Object(c.jsx)(b.a,{})}),Object(c.jsx)("div",{className:"container py-5",children:Object(c.jsx)("div",{className:"pb-5",children:Object(c.jsxs)("div",{className:"row justify-content-between",children:[Object(c.jsx)("div",{className:"col-lg-8",children:a.data.length>0?Object(c.jsx)(h.a,{dataLength:y?y.length:0,next:I,hasMore:x,loader:Object(c.jsx)("div",{className:"loading py-2",children:" "}),style:{overflow:"hidden"},children:y.length>0&&y.map((function(t,e){return Object(c.jsxs)("div",{className:"mb-4",children:[Object(c.jsx)(i.a,{data:t})," ",Object(c.jsx)("hr",{})]},t.id)}))}):""}),Object(c.jsx)("div",{className:"col-lg-3",children:Object(c.jsxs)("div",{className:"sticky-sidebar",children:[Object(c.jsx)(o.a,{title:"Trending"}),null!==O&&O.map((function(t,e){if(e<7)return Object(c.jsxs)(s.a.Fragment,{children:[Object(c.jsx)(l.a,{data:t,number:e}),Object(c.jsx)("hr",{})]},t.id)}))]})})]})})})]})}},Y84q:function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));var c=a("nKUr"),n=a("YFqc"),r=a.n(n),s=(a("q1tI"),a("wd/R")),o=a.n(s);a("UDhR");function i(t){var e=t.data;return Object(c.jsx)("div",{className:"card card--list-small class",children:Object(c.jsxs)("div",{className:"card--list-small__container",children:[Object(c.jsx)(r.a,{href:"/read/".concat(e.slug),children:Object(c.jsx)("a",{className:"card--list-small__image",style:{backgroundImage:"url(\n\t\t\t\t\t\t\t\t".concat(e.heroImage?e.heroImage.thumb_url:"","\n\t\t\t\t\t\t\t)")}})}),Object(c.jsxs)("div",{className:"card--list-small__meta",children:[Object(c.jsx)("h3",{className:"card--list-small__title",children:Object(c.jsx)(r.a,{href:"/read/".concat(e.slug),children:Object(c.jsx)("a",{className:"text-clamp__2",children:e.title})})}),Object(c.jsxs)("time",{className:"card__time ",children:[" ",Object(c.jsx)("i",{className:"fa fa-clock-o "})," ",o()(e.published_at).startOf("hours").fromNow()]}),Object(c.jsx)("p",{className:"card__author",children:Object(c.jsxs)("span",{children:[Object(c.jsx)("i",{className:"fa fa-user"})," ",e.createdBy.full_name]})})]})]})})}},wN06:function(t,e,a){"use strict";var c=a("q1tI");e.a=function(t){var e=Object(c.useRef)();return Object(c.useEffect)((function(){e.current=t})),e.current}},yukR:function(t,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/author/[id]",function(){return a("0EvA")}])}},[["yukR",1,0,5,2,3,4,6]]]);

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.