PageSourceSearch

https://golektruk.com/_next/static/chunks/pages/trucker/[history]-1bec9ad3eeb4e9ff.js

js golektruk.com collected 2026-09-24 11:58:31 UTC 2,558 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4382],{72079:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/trucker/[history]",function(){return i(50010)}])},50010:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return h},default:function(){return f}});var a=i(85893),n=i(1280),c=i(92950),r=i(93769),s=i(13271),o=i(48379),d=i(21311),u=i(31032),l=i(53892),p=i(72728),_=i(11163),k=i(67294),h=!0;function f(e){let{history:t}=e,{data:i,fetchNextPage:h,hasNextPage:f,isLoading:m,refetch:b}=(0,u.Z)("trucker",t),{push:y}=(0,_.useRouter)(),[g,x]=(0,k.useState)(!1),{toDetail:v}=(0,s.Z)(),[w,N]=(0,k.useState)(!1),j=(0,k.useCallback)(async e=>{let t=await (0,o.Z)("/ketengan/check?post_id=".concat(e,"&type=trucker"));g||t.data?w||(N(!0),v({id:e,product:"trucker",setisLoadingClickCard:N})):(0,d.Z)(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"mb-4 text-left",children:"Anda diwajibkan berlangganan terlebih dahulu."}),(0,a.jsx)(n.Z,{onClick:()=>y("/trucker/subscribe").then(()=>e()),children:"Berlangganan Sekarang"})]}),{disableBackdropClose:!0})},[y,g]);return(0,a.jsxs)(r.Z,{refetch:b,product:"trucker",last:"viewed"==t?"Dilihat":"Dihubungi",fetchNextPage:h,hasNextPage:f,isLoading:m,isEmpty:0==i.length,alreadySubscribe:e=>x(!!e),children:[(0,a.jsxs)("h1",{className:"hidden text-18 font-semibold desktop:mb-8 desktop:block",children:["Terakhir ","viewed"==t?"Dilihat":"Dihubungi"]}),i.map((e,i)=>(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-14 font-medium desktop:text-16",children:(0,l.Z)(new Date(e.date),"EEEE, dd MMMM yyyy",{locale:p.Z})}),(0,a.jsx)("div",{className:"mb-4 flex flex-col gap-4 desktop:mb-8",children:e.items.map((e,i)=>(0,a.jsx)(c.Z,{product:"trucker",payloadType:e.payload_type,views:e.views,called:e.count_offering,truckType:e.truck_type,truckCategory:e.truck_category,due:e.date_post,from:"".concat(e.from_city," - ").concat(e.from_province),price:e.price,thumbnail:e.uuid_image?e.uuid_image[0]:e.truck_type_uuid_image,type:e.uuid_image?"post_shipper":"truck_type",to:e.destination_city&&e.destination_province?"".concat(e.destination_city," - ").concat(e.destination_province):"Siap antar kemana saja",status:e.is_banned?"Diblokir":e.is_deleted?"Dihapus":!e.active||e.is_expired?"Tidak Aktif":void 0,bannedReason:e.banned_reason,onDetail:async()=>{j(e.post_id)},offering_price:"contacted"==t?e.offering_price:void 0},i))})]},i))]})}}},function(e){e.O(0,[6556,955,5937,6202,1343,9774,2888,179],function(){return e(e.s=72079)}),_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.