PageSourceSearch

https://www.trend.sk/_next/static/chunks/pages/[host]/premium/[...path]-6c4456e2850ce5cf.js

js trend.sk collected 2026-10-02 03:41:21 UTC 4,901 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2570],{7132:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[host]/premium/[...path]",function(){return a(51207)}])},51207:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>r,default:()=>i.Ay});var i=a(61438),r=!0},61438:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>L});var i=a(37876);a(14232);var r=a(43473),s=a(95683),d=a(18370),o=a(90318),n=a(61275),h=a(4317),u=a(82454),c=a(22388),m=a(76262),l=a(6031),p=a(75856),N=a(12392),S=a(46204),_=a(1877),E=a(75192),I=a(48053),C=a(92735),f=a(86282),v=a(2577),T=a(78884),A=a(76162),O=a(40353),P=a(2412),R=a(20694),g=a(12267),D=a(59634),w=a(97091),x=a(41911),y=a(62934),k=a(7227);let F=e=>(0,i.jsx)(f.S,{children:(0,i.jsxs)(v.o,{children:[(0,i.jsx)(T.o5,{getFontObjectByFontFamilyName:A.wk}),(0,i.jsx)(_.c,{...e,api:{fetchData:()=>{}}})]})}),L=F;F.displayName=r.S.PAGE_ARTICLE,(0,s.Z)(o.hR).getStaticProps(e=>async t=>{try{let a=(0,k.u)(t?.params?.premiumStatus,t?.params?.resourceId);e.dispatch((0,x.f)(a));let i=(0,c.nb)(r.S.PAGE_ARTICLE,t);if(i.migratedId&&i.migratedId?.length>2){let t=await e.dispatch((0,n.ig)({migratedId:i.migratedId,migratedSystem:"cas"}).thunkAction);if(t?.path&&t.site?.domain){if("https://tivi.cas.sk"===t.site.domain&&t.heroVideo)return{redirect:{statusCode:301,destination:`https://video.cas.sk/?videoId=${t.heroVideo.entityUuid}`},revalidate:O.u.MINUTES_15};return{redirect:{statusCode:301,destination:t.site?.domain+t?.path},revalidate:O.u.SECONDS_1}}}if(i.migratedRubric&&!i.migratedId)return{redirect:{statusCode:301,destination:i.migratedRubric},revalidate:O.u.SECONDS_1};if(void 0===i.siteName)throw TypeError("siteName is undefined!");let s=await (0,D.e)(i.siteName,i.host);if(void 0===i.urlPath||void 0===i.urlIndex)return{props:{siteName:i.siteName,terms:[],offerId:"",pinboardItems:s},revalidate:O.u.SECONDS_1,notFound:!0};try{await e.dispatch((0,n.zb)({siteName:i.siteName,path:i.urlPath},{fetchViaNextServerAPI:!1,isPremiumFree:t?.params?.premiumStatus===y.$k.PREMIUM_ARTICLE_CONSTRAINED}).thunkAction)}catch(e){return console.log(e),{notFound:!0,revalidate:O.u.SECONDS_1}}let o=await (0,w.g)(i.host,i.siteName,r.S.PAGE_ARTICLE);e.dispatch((0,d.ZC)(r.z.ARTICLE,o,t?.params?.premiumStatus)),e.dispatch((0,d.zd)(r.z.ARTICLE)),e.dispatch((0,E.x0)());let _=e.getState(),f=_.api?.article?.receivedData,v=_.api?.article?.receivedData?.type,T=_.api?.article?.receivedData?.external;if(!f)return{notFound:!0,revalidate:O.u.SECONDS_1};if(f?.redirect&&f?.mainRoute?.path)return{redirect:{destination:f.mainRoute.path,statusCode:301},revalidate:O.u.SECONDS_1};if((0,I.vl)(f)&&i.urlIndex>1&&i.urlPathWithPrefix)return{redirect:{destination:i.urlPathWithPrefix,statusCode:301},revalidate:O.u.SECONDS_1};if(T?.url)return{redirect:{permanent:!0,destination:T.url},revalidate:O.u.SECONDS_1};if(v&&v===m._3.QUIZ&&i.urlIndex>1&&i.urlPathWithPrefix)return{redirect:{permanent:!1,destination:i.urlPathWithPrefix},revalidate:O.u.SECONDS_1};let A=(0,l.ir)((0,l.Ae)(i.host),!0),F=(0,l.RJ)((0,l.Ae)(i.host),!0);e.dispatch((0,d.QS)(A)),e.dispatch((0,d.uu)(F)),e.dispatch((0,c.eL)(i.urlIndex)),e.dispatch((0,c.Kk)(i.urlPath)),e.dispatch((0,d.MO)(r.S.PAGE_ARTICLE)),e.dispatch((0,d.mp)(i.siteName)),e.dispatch((0,d.OO)(i.host)),i.wholeUrlPath&&e.dispatch((0,c.bB)(i.wholeUrlPath));try{i.siteName&&(await e.dispatch((0,C.Fe)(C.hg.CONTENT_BLOCK_VIDEO_PLAYLIST_ACTION,{siteName:i.siteName,categoryName:p.P8.HOME_PAGE,identifier:`${i.siteName}_playlist`}).thunkAction),await e.dispatch((0,C.Fe)(C.hg.CONTENT_BLOCK_ACTION,{siteName:i.siteName,categoryName:p.P8.ARTICLE}).thunkAction)),o?.header?.printPublication&&await e.dispatch((0,h.To)({recent:(0,u.O)(i.siteName)}).thunkAction)}catch(e){console.log(e)}try{await e.dispatch((0,N.ov)({params:{siteName:i.siteName,limit:5,dateFrom:S.Q.DAY_1}},{fetchViaNextServerAPI:!1,redisSettings:{redisKey:`${i.siteName}-${g.X.MOST_VISITED_REDIS_KEY}`,redisExpirationTime:10,timeToRevalidateRedisCache:2,revalidateRedisCacheUrl:g.q.MOST_VISITED,host:i.host},useRedisCaching:!0}).thunkAction),await e.dispatch((0,N.R3)({params:{siteName:i.siteName,limit:5,dateFrom:S.Q.DAY_7}},{fetchViaNextServerAPI:!1,redisSettings:{redisKey:`${i.siteName}-${g.X.MOST_VISITED_REDIS_KEY}`,redisExpirationTime:10,timeToRevalidateRedisCache:2,revalidateRedisCacheUrl:g.q.MOST_VISITED,host:i.host}}).thunkAction)}catch(e){}e.dispatch((0,R.I)());let L=e.getState().data?.totalPages;if(L&&i.urlIndex>L)return{props:{siteName:i.siteName,terms:[],offerId:"",pinboardItems:s},revalidate:O.u.SECONDS_1,notFound:!0};let M=[],V=null;try{let{terms:e,offerIds:t}=await (0,P.Xo)(i.siteName);M=e,V=t&&t[0]}catch(e){console.error(e)}return{props:{siteName:i.siteName,terms:M,offerId:V||"",...a,pinboardItems:s},revalidate:O.u.MINUTES_5}}catch(e){return{notFound:!0,revalidate:O.u.SECONDS_1}}})}},e=>{e.O(0,[8307,4517,8787,935,5301,3467,2738,6593,636,8792],()=>e(e.s=7132)),_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.