PageSourceSearch

https://app.sundancetv.com/code/js/chunks/news.61f98e6ea0b4e142362f.js

js sundancetv.com collected 2026-09-24 20:31:10 UTC 3,732 bytes, 3 lines download raw bytes

1(()=>{(function(){try{var i=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},u=new i.Error().stack;u&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[u]="7c0f2052-e1be-42a3-928c-a2e2152a807f",i._sentryDebugIdIdentifier="sentry-dbid-7c0f2052-e1be-42a3-928c-a2e2152a807f")}catch(r){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[6946],{15568:((i,u,r)=>{r.d(u,{A:()=>w});var l=r(96540),d=r(12544),v=Object.defineProperty,y=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,p=(c,o,s)=>o in c?v(c,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[o]=s,m=(c,o)=>{for(var s in o||(o={}))O.call(o,s)&&p(c,s,o[s]);if(y)for(var s of y(o))E.call(o,s)&&p(c,s,o[s]);return c};const w=c=>l.createElement(d.A,m({},c))}),91259:((i,u,r)=>{r.r(u),r.d(u,{default:()=>ee});var l=r(96540),d=r(86364),v=r(42942),y=r(13516),O=r(1346),E=r(58562),p=r(48324),m=r(75145),b=r(30318),w=r(90953),c=r(15568),o=r(88382),s=r(57224),S=r(87585),W=Object.defineProperty,K=Object.defineProperties,U=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,I=(n,e,t)=>e in n?W(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,L=(n,e)=>{for(var t in e||(e={}))x.call(e,t)&&I(n,t,e[t]);if(A)for(var t of A(e))V.call(e,t)&&I(n,t,e[t]);return n},G=(n,e)=>K(n,U(e));const H="totalNews",X=m.m.makeGetBucketById(),z=m.m.makeGetContent(),D=25,J=({getReadyState:n,sectionId:e})=>{const t=(0,d.wA)(),{contentTitles:te}=(0,w.U)(),{noNewsAvailable:ne,anErrorOccured:re}=(0,E.b0)(["noNewsAvailable","anErrorOccured"]),N=(0,d.d4)(a=>m.m.getSection(a,v.ContentSection.NEWS)),{isFetching:R,error:oe}=N,se=(0,d.d4)(a=>({section:N,buckets:N.bucketIds.map(f=>{const C=X(a,f);return G(L({},C),{contentList:C.contentList.map(h=>z(a,h))})})})),{isFetchingNext:ae,error:ce,bucketId:B,paging:P,name:M,contentList:g}=se.buckets[0]||{},F=ce||oe;l.useEffect(()=>{B||ie()},[]);const le={section:e,endpoint:v.Endpoints.CONTENT,sectionProps:{resultPerPage:D}},ie=()=>{const a=p.f.emptySection({section:e}),f=p.f.fetchContentRequest(le);(0,d.vA)(()=>{t(a),t(f)})},ue=()=>{const a=P==null?void 0:P.lastSeen.toString(),f=p.f.fetchContentNextPageRequest({bucketId:B,sectionProps:{resultPerPage:D},bucketProps:{lastSeen:a},section:e});t(f),(0,S.u4)(O.ji.LOAD_MORE,{lastSeen:a})},de=({id:a,type:f,accessLevel:C,title:h})=>{const ve=te===b.q5.SHOW;return(0,S.u4)(O.ji.CARD_CLICK,L({id:a,type:f,accessLevel:C},ve&&{title:h}))},fe=()=>{if(g!=null&&g.length)return l.createElement(c.A,{name:M,paging:P,contentList:g,pageName:M,isFull:!0,dispatch:t,onCardClick:de,totalResultsLabel:H})},pe=()=>{if(!!n()&&!(g!=null&&g.length)&&!R&&!F)return l.createElement("div",{className:"empty"},l.createElement("span",null,ne.value))};return l.createElement(s.e,{getReadyState:n,className:"news",list:fe(),hasMoreContent:P==null?void 0:P.moreDataAvailable,fetchNextContentPage:ue,emptyMessage:pe(),isLoadingContent:!!R||!!ae,error:F&&re.value})},Q=(0,o.U)(J,null);var Y=Object.defineProperty,T=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,j=(n,e,t)=>e in n?Y(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,k=(n,e)=>{for(var t in e||(e={}))Z.call(e,t)&&j(n,t,e[t]);if(T)for(var t of T(e))$.call(e,t)&&j(n,t,e[t]);return n};const _=n=>l.createElement(y.xK.Provider,{value:{imageType:null}},l.createElement(Q,k({sectionId:v.ContentSection.NEWS},n))),q=({views:{news:n}})=>({news:n}),ee=(0,d.Ng)(q)(_)})}]);})();
2
3//# sourceMappingURL=news.61f98e6ea0b4e142362f.js.map

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.