PageSourceSearch

https://fastwork.id/_next/static/chunks/pages/related-product/[productId]-5f51c83af241a4c7.js

js fastwork.id collected 2026-09-25 23:54:03 UTC 6,853 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3594],{3036:(t,e,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/related-product/[productId]",function(){return n(36340)}])},19391:(t,e,n)=>{"use strict";n.d(e,{NS:()=>d,St:()=>l,Zm:()=>u,s3:()=>p,zL:()=>a});var r=n(4758),i=n(59232),c=n(88202),o=n(93193),s=n(4188),u=function(t,e){return{id:null==t?void 0:t.id,name:null==t?void 0:t.snapshot.title,category:null==t?void 0:t.snapshot.subcategory.title,category_slug:null==t?void 0:t.snapshot.subcategory.slug,category_group:null==t?void 0:t.snapshot.category.title,category_group_slug:null==t?void 0:t.snapshot.category.slug,price:null==t?void 0:t.snapshot.base_price,brand:null==t?void 0:t.user.username,position:+e.query.position||null,list:"string"==typeof e.query.source?e.query.source:void 0,count_packages:null==t?void 0:t.snapshot.packages.filter(function(t){return t.active}).filter(function(t,e){return e<3}).length,is_filter_used:!!e.query.filter_used,badges:null==t?void 0:t.badges,filter:(0,s.Tw)(e.asPath.split("?")[1]||"")}},a=function(t,e,n){var r=new URLSearchParams;e&&r.set("instant_hire","true"),n&&r.set("action","company_hiring_intent");var i=r.toString(),s="".concat((0,c.$)().CHAT_DESKTOP_URL,"/message/").concat(t).concat(i?"?".concat(i):"");window&&(window.location.href=(0,o.tv)(s))},l=function(t){var e,n=t.pack,c=t.isCorporate,o=t.snapshot,s=c?"\n\n".concat(i.Ru.t("checkout.chat-message.company-hiring")):"",u=n?"".concat(i.Ru.t("checkout.chat-message.text.package.name-label"),": ").concat(n.name,"\n"):"";return"".concat(i.Ru.t("product-detail.first-chat.message.default"),":\n\n").concat(i.Ru.t("checkout.chat-message.text.product"),": ").concat(o.title,"\n\n").concat(u,"\n").concat(i.Ru.t("checkout.chat-message.text.package.price-label"),": ").concat(r.GP.price(null!=(e=null==n?void 0:n.price)?e:o.base_price,{unit:!0})).concat(s)},d=function(t){return decodeURI((0,s.kA)(null==t?void 0:t.asPath.split("?")[0]))},p=function(t,e,n){var r=new IntersectionObserver(function(n){n.forEach(function(n){n.isIntersecting&&n.intersectionRatio>0&&(null==e||e(),r.unobserve(t))})},n);r.observe(t)}},36340:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__N_SSP:()=>w,default:()=>x});var r=n(37876),i=n(10867),c=n(20294),o=n(15039),s=n.n(o),u=n(54587),a=n.n(u),l=n(89099),d=n(37127),p=n(80481),_=n(56472);let g={src:"/_next/static/media/product-inform.cc301c01.svg",height:180,width:338,blurWidth:0,blurHeight:0},h={src:"/_next/static/media/product-inform-mobile.273627fd.svg",height:130,width:200,blurWidth:0,blurHeight:0};var f=n(93298),v={contentBase:"product-not-found-inform_related-content-base-section",crossSubcat:"product-not-found-inform_related-cross-subcategories-section"},b=n(32192),m=n(98351);let y=function(t){var e=t.isMobile,n=(0,c._)((0,_.Bd)(p.sQ),1)[0],o=(0,l.useRouter)().query,u=null==o?void 0:o["related-subcategory-slug"],y=f.Pw.getInstance();return(0,r.jsxs)(i.po,{wrapper:function(t){return e?(0,r.jsx)(d.wW,{className:"product-inform-layout -desktop",children:t}):(0,r.jsx)(d.w7,{className:"product-inform-layout  -mobile",children:t})},children:[(0,r.jsx)("div",{className:"_pst-rlt _bg-blue-gradient",children:(0,r.jsxs)("div",{className:s()("_pst-rlt _dp-f _jtfct-spbtw _alct-ct  _h-100pct",{"four-products-width-container":!e,"_fdrt-clrv _alit-ct _gg-24px _pdv-32px _pdh-32px":e}),children:[(0,r.jsxs)("div",{className:s()("_dp-f _fdrt-cl _jtfct-ct _gg-8px",{"_pdv-40px":!e,"_gg-16px":e}),children:[(0,r.jsx)("h1",{className:s()("u-heading-5 _fs-800-sm _fs-700",{"_wsp-pl _tal-ct":e}),children:(0,r.jsx)("strong",{children:n("hero.title")})}),(0,r.jsx)("p",{className:s()("_cl-text-default-200 _wsp-pw _fs-400",{"_wsp-pl _tal-ct":e}),children:n("hero.sub-title")})]}),(0,r.jsx)(i.EI,{className:"_mgt-at",ratio:169/90,style:{height:e?"130px":"180px"},children:(0,r.jsx)(a(),{src:e?h:g,alt:"product inform",quality:100,priority:!0,fill:!0,sizes:"100vw",style:{objectFit:"contain"}})})]})}),(0,r.jsx)(b.A,{isMobile:e,productId:o.productId,showOtherSubcate:!0,trackingSource:v.contentBase,trackEvent:function(t){y.impressionRelatedProductNotFoundPage(t,u)}}),(0,r.jsx)("div",{className:"lo-container _mgbt-48px",children:(0,r.jsx)(m.A,{isMobile:e,subcategorySlug:u,trackingSource:v.crossSubcat,trackEvent:function(t){y.impressionRelatedSubcatNotFoundPage(t,u)}})})]})};var w=!0;let x=function(t){var e=t.isMobile;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.W8,{}),(0,r.jsx)(y,{isMobile:e})]})}},71260:(t,e,n)=>{"use strict";n.d(e,{DS:()=>h,K7:()=>m,Rq:()=>f,SJ:()=>y,_3:()=>v,pU:()=>g,qf:()=>b});var r=n(16927),i=n(67684),c=n(62701),o=n(65699),s=n(4902),u=n(42252),a=n(79819),l=n(15526),d=n(66002),p=n(93298),_=n(93661),g=function(){var t=(0,l.n)(function(t){return(0,r._)(function(){return(0,s.YH)(this,function(e){switch(e.label){case 0:return[4,p.jU.createProductActionLog(t)];case 1:return[2,e.sent().createProductActionLog]}})})()});return(0,i._)({referenceUserId:(0,_.Tv)()},t)},h=function(t){var e=[d.g1,t],n=(0,u.I)({queryKey:e,queryFn:function(){return(0,r._)(function(){var e,n;return(0,s.YH)(this,function(r){switch(r.label){case 0:return[4,p.jU.getRelatedProduct(t)];case 1:return[2,(null==(n=r.sent())||null==(e=n.getRelatedProducts)?void 0:e.related_products)||[]]}})})()},cacheTime:1/0,staleTime:1/0,enabled:!!t});return(0,i._)({queryKey:e},n)},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=arguments.length>2?arguments[2]:void 0,o={id:t,page:1,limit:e};return(0,a.q)((0,i._)({queryKey:[d.QV,t,e],queryFn:function(t){var e=t.pageParam,n=void 0===e?o:e;return(0,r._)(function(){return(0,s.YH)(this,function(t){switch(t.label){case 0:return[4,p.jU.getSellerReviews(n)];case 1:return[2,t.sent().getSellerReviews]}})})()},getNextPageParam:function(t){if((null==t?void 0:t.page)!==(null==t?void 0:t.total_pages))return(0,c._)((0,i._)({},o),{page:(null==t?void 0:t.page)+1})}},n))},v=function(){return(0,l.n)(function(t){return p.jU.setFavoriteById(t)})},b=function(t,e){var n=e.isMobile,a=(0,o._)(e,["isMobile"]),l=[d.sj,t],_=(0,u.I)((0,i._)({queryKey:l,queryFn:function(){return(0,r._)(function(){return(0,s.YH)(this,function(e){switch(e.label){case 0:return[4,p.jU.getProductDetailV2("".concat(t),{isMobile:n})];case 1:return[2,e.sent()]}})})()}},a));return(0,c._)((0,i._)({},_),{queryKey:l})},m=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.isMobile,s=void 0!==r&&r,a=n.reviewsLimit,l=void 0===a?5:a,_=(0,o._)(n,["isMobile","reviewsLimit"]),g=[d.ny,t,e,s,l],h=(0,u.I)((0,i._)({queryKey:g,queryFn:function(){return p.jU.getProductDetailWithSellerReviews({productId:t,slug:e,isMobile:s,reviewsLimit:l})}},_));return(0,c._)((0,i._)({},h),{queryKey:g})},y=function(t){return(0,u.I)((0,i._)({queryKey:[d._],queryFn:p.jU.getMyServices},t))}}},t=>{t.O(0,[4174,6310,6018,7817,636,6593,8792],()=>t(t.s=3036)),_N_E=t.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.