PageSourceSearch

https://nollywood.com/_next/static/chunks/app/news/page-c0ce374d586cc591.js

js nollywood.com collected 2026-10-02 13:28:13 UTC 14,244 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2324],{3511:(e,n,t)=>{"use strict";t.d(n,{Ag:()=>i,CY:()=>r,MY:()=>m,Qg:()=>d,SG:()=>o,T6:()=>u,fi:()=>l,fr:()=>c,xB:()=>a,zu:()=>s});var r=function(e){return e.MOVIE="MOVIE",e.TV_SHOW="TV_SHOW",e.WEB_SERIES="WEB_SERIES",e.EPISODE="EPISODE",e.DOCUMENTARY="DOCUMENTARY",e.SHORT_FILM="SHORT_FILM",e.MUSIC_VIDEO="MUSIC_VIDEO",e.PODCAST="PODCAST",e.OTHER="OTHER",e}({}),s=function(e){return e.PHOTO="PHOTO",e.VIDEO="VIDEO",e.YOUTUBE="YOUTUBE",e}({}),l=function(e){return e.HEADSHOT="HEADSHOT",e.POSTER="POSTER",e.TRAILER="TRAILER",e.PROMO="PROMO",e.TEASER="TEASER",e.CLIP="CLIP",e.FEATURETTE="FEATURETTE",e.PROFILE="PROFILE",e.BLOOPERS="BLOOPERS",e.FULL_EPISODE="FULL_EPISODE",e.FEATURE_FILM="FEATURE_FILM",e.INTERVIEW="INTERVIEW",e.BEHIND_THE_SCENES="BEHIND_THE_SCENES",e.STILL="STILL",e.LOGO="LOGO",e.BACKDROP="BACKDROP",e.FANART="FANART",e.DEMOREEL="DEMOREEL",e.SHOWREEL="SHOWREEL",e.MONOLOGUE="MONOLOGUE",e.SELF_TAPE="SELF_TAPE",e.OTHER="OTHER",e}({}),i=function(e){return e.USER="USER",e.CRITIC="CRITIC",e}({}),a=function(e){return e.asc="asc",e.desc="desc",e}({}),d=function(e){return e.WORK="WORK",e.PEOPLE="PEOPLE",e.MIXED="MIXED",e}({}),o=function(e){return e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED",e}({}),c=function(e){return e.WORK="WORK",e.PERSON="PERSON",e}({}),u=function(e){return e.PHOTOS="PHOTOS",e.VIDEOS="VIDEOS",e}({}),m=function(e){return e.PRODUCTION="PRODUCTION",e.GOOFS="GOOFS",e.QUOTES="QUOTES",e.EASTER_EGGS="EASTER_EGGS",e.GENERAL="GENERAL",e}({})},8995:(e,n,t)=>{"use strict";t.d(n,{Tj:()=>c,Xj:()=>i,eA:()=>a,j_:()=>d,u5:()=>o});var r=t(52452),s=t(3511),l=t(48916);let i=e=>(0,l.I)(r.iQ,{variables:{input:e},errorPolicy:"all",fetchPolicy:"cache-first"}),a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:12;return i({pagination:{page:1,pageSize:e},sort:{sortBy:"publishedAt",sortOrder:s.xB.desc}})},d=e=>(e=>(0,l.I)(r.uR,{variables:{identifier:e},errorPolicy:"all",skip:!e,fetchPolicy:"cache-first"}))(e),o={limit:4,sortBy:"publishedAt",sortOrder:s.xB.desc},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return(0,l.I)(r.kD,{variables:{input:e},errorPolicy:"all",fetchPolicy:"cache-first",skip:(null==n?void 0:n.skip)===!0})}},46268:(e,n,t)=>{"use strict";t.d(n,{g:()=>s});var r=t(13514);let s=e=>{let{title:n}=e;return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"lg:w-1.5 lg:h-1.5 w-2 h-2 bg-[#72B13A] rounded-full mt-[3px] lg:mt-0 flex-shrink-0"}),(0,r.jsx)("span",{className:"text-nowrap flex items-center text-lg ",children:n})]})}},67408:(e,n,t)=>{"use strict";t.d(n,{QG:()=>m,Uq:()=>h,c0:()=>g,cx:()=>x,hP:()=>p});var r=t(41438),s=t(87608);function l(){let e=(0,r._)(["\n  query GetMe {\n    me {\n      id\n      username\n      displayUsername\n      email\n      profilePictureUrl\n      profilePictureId\n      firstName\n      lastName\n      isVerified\n      emailVerified\n      isLocked\n      isCritic\n      reviewCount\n      ratingCount\n      watchListCount\n      points\n      badgeProgression {\n        earnedCount\n        availableCount\n      }\n      badges(input: { sort: { sortBy: earnedAt, sortOrder: desc } }) {\n        id\n        badgeKey\n        status\n        progress {\n          currentProgress\n          totalProgress\n        }\n        badge {\n          key\n          name\n          description\n          icon {\n            url\n          }\n        }\n      }\n      credentialSummary {\n        hasPassword\n        linkedAccounts {\n          id\n          provider\n          providerDisplayName\n          providerEmail\n          linkedAt\n          lastUsedAt\n        }\n      }\n    }\n  }\n"]);return l=function(){return e},e}function i(){let e=(0,r._)(["\n  query GetUser($identifier: String!) {\n    getUser(identifier: $identifier) {\n      id\n      username\n      email\n      profilePictureUrl\n      firstName\n      lastName\n      emailVerified\n      isVerified\n      isLocked\n      reviewCount\n      ratingCount\n      watchListCount\n    }\n  }\n"]);return i=function(){return e},e}function a(){let e=(0,r._)(["\n  query CheckUsernameAvailability($username: String!) {\n    checkUsernameAvailability(username: $username)\n  }\n"]);return a=function(){return e},e}function d(){let e=(0,r._)(["\n  query GetOAuthProviders {\n    getOAuthProviders {\n      id\n      name\n      displayName\n      displayOrder\n      uiConfiguration {\n        loginButtonText\n        signupButtonText\n        loginButtonClass\n        signupButtonClass\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"]);return d=function(){return e},e}
1function o(){let e=(0,r._)(["\n  query GetMyRatings($input: MyRatingsInput!) {\n    myRatings(input: $input) {\n      items {\n        id\n        userId\n        workId\n        value\n        isPublic\n        createdAt\n        updatedAt\n        work {\n          id\n          title\n          slug\n          workType\n          releaseYear\n          runtime\n          currentUserRating\n          userRating\n          criticRating\n          poster {\n            url\n          }\n          backdrop {\n            url\n          }\n          genres {\n            id\n            name\n            slug\n          }\n        }\n      }\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        totalPages\n        total\n      }\n    }\n  }\n"]);return o=function(){return e},e}function c(){let e=(0,r._)(["\n  query GetMyReviews($input: MyReviewsInput!) {\n    myReviews(input: $input) {\n      items {\n        id\n        userId\n        workId\n        workType\n        reviewerType\n        title\n        content\n        rating\n        upvotes\n        downvotes\n        status\n        publishedAt\n        createdAt\n        updatedAt\n        user {\n          id\n          username\n          firstName\n          lastName\n          profilePictureUrl\n        }\n        work {\n          id\n          slug\n          title\n          workType\n          releaseYear\n          poster {\n            url\n          }\n        }\n      }\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        totalPages\n        total\n      }\n    }\n  }\n"]);return c=function(){return e},e}function u(){let e=(0,r._)(['\n  query GetMyReviewForWork {\n    myReviews(\n      input: {\n        pagination: { page: 1, pageSize: 100 }\n        sort: { sortBy: "createdAt", sortOrder: desc }\n      }\n    ) {\n      items {\n        id\n        workId\n        title\n        content\n        rating\n        status\n        publishedAt\n        createdAt\n        updatedAt\n      }\n    }\n  }\n']);return u=function(){return e},e}let m=(0,s.J1)(l());(0,s.J1)(i());let g=(0,s.J1)(a()),h=(0,s.J1)(d()),p=(0,s.J1)(o()),x=(0,s.J1)(c());(0,s.J1)(u())},73033:(e,n,t)=>{Promise.resolve().then(t.bind(t,91108))},91108:(e,n,t)=>{"use strict";t.d(n,{NewsPageContent:()=>m});var r=t(13514),s=t(99352),l=t(91512),i=t.n(l);let a=e=>{var n,t;let{article:s}=e,l=(null==(n=s.coverImage)?void 0:n.url)||"https://res.cloudinary.com/seunsanyaa/image/upload/v1755441664/image_61_1_sg9qp2.webp",a=new Date((null==s?void 0:s.publishedAt)||s.createdAt).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"});return(0,r.jsx)(i(),{href:"/news/".concat(s.slug),className:"block",children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,r.jsx)("div",{className:"w-full h-[22rem] rounded-md overflow-hidden aspect-video",children:(0,r.jsx)("img",{src:l,alt:(null==(t=s.coverImage)?void 0:t.altText)||s.title,width:553,height:200,className:"object-cover w-full h-full"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[#797979] text-sm font-normal leading-[100%]",children:a}),(0,r.jsx)("h1",{className:"text-white text-5xl font-normal leading-[normal] py-4",children:s.title}),(0,r.jsxs)("p",{className:"text-[#C3C3C3] text-base font-normal leading-[175%] pr-10 pt-2 ",children:[s.summary||"Read the full article to learn more about this story.",(0,r.jsx)("br",{}),(0,r.jsx)("span",{className:"text-[#72B13A] text-base font-normal leading-[175%] pr-1 pt-2 ",children:"Read More"})]})]})]})})};var d=t(46268),o=t(8995),c=t(3511),u=t(15138);function m(){let[e,n]=(0,u.useState)(1),[t,l]=(0,u.useState)([]),[i,m]=(0,u.useState)(!1),[g,h]=(0,u.useState)(!1),{data:p,loading:x,error:f,fetchMore:E}=(0,o.Xj)({pagination:{page:1,pageSize:13},sort:{sortBy:"publishedAt",sortOrder:c.xB.desc}});(0,u.useEffect)(()=>{var e,n,t;(null==p||null==(e=p.getPublishedArticles)?void 0:e.items)&&(l(p.getPublishedArticles.items),m(null!=(t=null==(n=p.getPublishedArticles.pageInfo)?void 0:n.hasNextPage)&&t))},[p]);let v=async()=>{if(g||!i)return;h(!0);let t=e+1;try{var r,s,a,d,o,u,p;let e=await E({variables:{input:{pagination:{page:t,pageSize:13},sort:{sortBy:"publishedAt",sortOrder:c.xB.desc}}}}),i=null!=(u=null==(s=e.data)||null==(r=s.getPublishedArticles)?void 0:r.items)?u:[],g=null!=(p=null==(o=e.data)||null==(d=o.getPublishedArticles)||null==(a=d.pageInfo)?void 0:a.hasNextPage)&&p;l(e=>[...e,...i]),m(g),n(t)}catch(e){console.error("Error loading more articles:",e)}finally{h(!1)}};if(x&&0===t.length)return(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("div",{className:"flex items-center gap-1 pb-5 lg:py-5",children:(0,r.jsx)(d.g,{title:(0,r.jsx)("h5",{className:"text-white text-lg font-normal leading-[normal]",children:"News"})})}),(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)("div",{className:"hidden mb-12 lg:block",children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,r.jsx)("div",{className:"w-full h-[22rem] bg-[#242424] rounded-md animate-pulse"}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("div",{className:"h-4 bg-[#242424] rounded w-20 animate-pulse"}),(0,r.jsx)("div",{className:"h-12 bg-[#242424] rounded animate-pulse"}),(0,r.jsx)("div",{className:"h-6 bg-[#242424] rounded animate-pulse"}),(0,r.jsx)("div",{className:"h-6 bg-[#242424] rounded w-3/4 animate-pulse"})]})]})}),(0,r.jsx)("div",{className:"flex flex-col grid-cols-3 gap-6 lg:grid",children:Array.from({length:6}).map((e,n)=>(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("div",{className:"w-full h-[15rem] bg-[#242424] rounded-md animate-pulse"}),(0,r.jsx)("div",{className:"h-4 bg-[#242424] rounded w-16 animate-pulse"}),(0,r.jsx)("div",{className:"h-6 bg-[#242424] rounded animate-pulse"})]},n))})]})]});if(f)return(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("div",{className:"flex items-center gap-1 pb-5 lg:py-5",children:(0,r.jsx)(d.g,{title:(0,r.jsx)("h5",{className:"text-white text-lg font-normal leading-[normal]",children:"News"})})}),(0,r.jsxs)("div",{className:"p-4 border rounded-lg bg-red-500/10 border-red-500/20",children:[(0,r.jsxs)("p",{className:"text-red-400",children:["Error loading articles: ",f.message]}),(0,r.jsx)("button",{onClick:()=>window.location.reload(),className:"mt-2 text-red-400 underline hover:no-underline",children:"Try again"})]})]});if(0===t.length)return(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("div",{className:"flex items-center gap-1 pb-5 lg:py-5",children:(0,r.jsx)(d.g,{title:(0,r.jsx)("h5",{className:"text-white text-lg font-normal leading-[normal]",children:"News"})})}),(0,r.jsxs)("div",{className:"py-20 text-center",children:[(0,r.jsx)("h3",{className:"mb-2 text-xl font-medium text-white",children:"No articles available"}),(0,r.jsx)("p",{className:"text-base text-gray-400",children:"Check back later for the latest news and updates."})]})]});let N=t[0],O=t.slice(1);return(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("div",{className:"flex items-center gap-1 pb-5 lg:py-5",children:(0,r.jsx)(d.g,{title:(0,r.jsx)("h5",{className:"text-white text-lg font-normal leading-[normal]",children:"News"})})}),N&&(0,r.jsx)("div",{className:"hidden mb-12 lg:block",children:(0,r.jsx)(a,{article:N})}),(0,r.jsxs)("div",{className:"grid gap-8 pb-8 md:grid-cols-2 lg:grid-cols-3",children:[N&&(0,r.jsx)("div",{className:"lg:hidden",children:(0,r.jsx)(s.n,{article:N})}),O.map((e,n)=>(0,r.jsx)("div",{className:n===O.length-1&&i?"hidden lg:block":"",children:(0,r.jsx)(s.n,{article:e})},e.id))]}),i&&(0,r.jsx)("div",{className:"flex justify-center pt-4 pb-20",children:(0,r.jsx)("button",{onClick:v,disabled:g,className:"flex items-center gap-2 px-8 py-3 rounded-full border border-[#72B13A] text-[#72B13A] font-medium text-sm hover:bg-[#72B13A] hover:text-black transition-all duration-200 disabled:opacity-60 disabled:cursor-not-allowed",children:g?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"inline-block w-4 h-4 border-2 border-[#72B13A] border-t-transparent roun
1ded-full animate-spin"}),"Loading..."]}):"Load More"})}),!i&&(0,r.jsx)("div",{className:"pb-20"})]})}},99352:(e,n,t)=>{"use strict";t.d(n,{n:()=>i});var r=t(13514),s=t(91512),l=t.n(s);let i=e=>{var n,t;let{article:s,className:i}=e,a=new Date((null==s?void 0:s.publishedAt)||s.createdAt).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"});if(!s)return null;let d=(null==(n=s.coverImage)?void 0:n.url)||"https://res.cloudinary.com/seunsanyaa/image/upload/v1760513574/Frame_57069_dlitmd.webp";return(0,r.jsx)("div",{className:"w-full max-w-full overflow-hidden group",children:(0,r.jsxs)(l(),{href:"/news/".concat(s.slug),className:"flex flex-col w-full h-full max-w-full gap-4 overflow-hidden",children:[(0,r.jsx)("div",{className:"w-full h-60 rounded-md overflow-hidden",children:(0,r.jsx)("img",{src:d,alt:(null==(t=s.coverImage)?void 0:t.altText)||s.title,width:553,height:300,className:"object-cover w-full h-full transition-transform duration-300 group-hover:scale-105"})}),(0,r.jsx)("p",{className:" lg:text-[16px] text-[12px] font-normal leading-[100%] text-[#797979] ".concat(i),children:a}),(0,r.jsx)("h4",{className:" text-[16px] md:text-[18px] xl:text-[20px] font-medium leading-[normal] pr-3 wrap-break-word max-w-full overflow-hidden group-hover:text-[#72B13A] transition-colors duration-200 ".concat(i),children:s.title})]})})}}},e=>{e.O(0,[1512,4940,7001,8916,7571,2452,5010,50,7358],()=>e(e.s=73033)),_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.