PageSourceSearch

https://nnpcgroup.com/_nuxt/BHw4N72w.js

js nnpcgroup.com collected 2026-10-02 07:46:24 UTC 9,723 bytes, 1 lines download raw bytes

1import{k as te,bu as se,bI as ae,bv as oe,bw as ne,aP as ie,aK as de,ao as le,aO as ce,b3 as U,b4 as _e,aR as i,K as d,V as c,l as re,H as e,bs as t,bJ as _,F as $,b0 as B,I as P,bK as g,bq as o,_ as pe,i as ue,J as m,R as ve,bF as y,aM as fe,aZ as he,A as r,bL as F,bA as ge}from"./DeE21wgD.js";import{_ as me}from"./9bQRQSz1.js";import{u as H,_ as ye}from"./jno_cuzh.js";import{u as be}from"./DUllhEEQ.js";import{u as we}from"./DhvK8HmJ.js";import{s as xe}from"./CuJ2tGlP.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};p.SENTRY_RELEASE={id:"a63515c35243e72187497cd5d1d57f4d6eafbaee"};var u=new p.Error().stack;u&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[u]="b718f9b2-9fe1-4c3e-b684-9a8173c58608",p._sentryDebugIdIdentifier="sentry-dbid-b718f9b2-9fe1-4c3e-b684-9a8173c58608")}catch{}})();const ke={class:"locomotive-scroll"},Se={key:0,class:"section home-header slider-header"},De=["loading","fetchpriority","src"],Ie={class:"header-hero"},Ce={class:"hero-text"},Pe={class:"home-hero__text"},Le={class:"home-hero__text-sub-text","data-paragraph":""},Ne={key:1,class:"section"},Re={class:"why-nnpc-section"},Te={class:"why-nnpc-section__inner"},Ae={class:"why-nnpc-flex"},Ee={class:"why-nnpc-flex__text-block"},ze={class:"why-nnpc-flex__heading"},Ue={"data-paragraph":""},$e={class:"nnpc-stats-flex"},Be={class:"nnpc-stat"},Fe={class:"nnpc-stat__main-text"},He={class:"nnpc-stat last"},Me={class:"nnpc-stat__main-text"},Ve=["data-odometer"],qe={key:2,class:"section"},Oe={class:"yrs-of-existence","data-w-id":"35c8c89c-2e72-638a-bd91-2b5c23ab523d"},We={class:"yrs-of-existence__stat-block"},Ke=["data-odometer"],Je={key:3,class:"section mx-height-0"},Ye={class:"news-section"},Ze={class:"news-section__heading","data-paragraph":""},je={class:"news-cluster blog-body-wrapper"},Ge=["href"],Qe={class:"featured-news__image"},Xe=["src"],et={class:"tag-and-date"},tt={class:"tag"},st={"data-paragraph":""},at={class:"news-date","data-paragraph":""}
1,ot={class:"featured-news__desc","data-paragraph":""},nt={class:"featured-news__image"},it=["src"],dt={class:"tag-and-date"},lt={class:"tag"},ct={"data-paragraph":""},_t={class:"news-date","data-paragraph":""},rt={class:"featured-news__desc","data-paragraph":""},pt={class:"elongate"},ut={class:"news-grid"},vt={class:"news-cta"},ft={"data-paragraph":""},ht={class:""},gt={class:"bids-and-footer"},mt={key:0,class:"bids-section"},yt={class:"bids-flex"},bt={class:"bids-flex__text"},wt={class:"bids-flex__text-inner"},xt={"data-paragraph":""},kt={class:"bids-flex__img"},St={class:"footer-wrapper"},Dt={__name:"index",async setup(p){let u,b;const w=se(),M=ge(),{mxDescription:V,mxUrl:x,mxImage:L,mxMetaUtils:q,mxCanonical:O}=be(),{data:k,error:It}=([u,b]=ae(async()=>oe("home-page",async()=>{const[l,a,f]=await Promise.all([w.fetchWidgets({page:"home-page","populate[hero_slider][populate]":"*","populate[why_nnpc]":"*","populate[investor_opportunities][populate]":"*","populate[home_blog_section][populate]":"*","populate[years_of_experience]":"true"}),w.fetchWidgets({page:"posts?filters[featured]=true","sort[0]":"post_date:desc"}),w.fetchWidgets({page:"posts","sort[0]":"post_date:desc","pagination[pageSize]":5})]),v=a.data.length?a.data[0]:f.data[0],D=f.data.filter(I=>I.slug!==v?.slug).slice(0,4);return{pageData:l,featuredPost:v,latestPosts:D}})),u=await u,b(),u),s=r(()=>k.value?.pageData??{data:{}}),n=r(()=>k.value?.featuredPost??null),W=r(()=>k.value?.latestPosts??[]),S=he(null),K={perPage:1,type:"loop",updateOnMove:!0,ease:"cubic-bezier(0.25, 1, 0.5, 1)",pagination:!1},J=r(()=>n.value?.upload_pdf_file||n.value?.pdf_link),Y=r(()=>n.value?.post_type?.type==="Report"&&J.value),Z=r(()=>n.value?.upload_pdf_file?x(n.value.upload_pdf_file.url):F(n.value?.pdf_link)),j=r(()=>`/insights/${n.value?.slug}`),N=r(()=>L(n.value?.post_image));ne(()=>({title:"NNPC LTD | Home",meta:q({title:s.value?.data?.seo?.metaTitle??"NNPC LTD | Home",description:s.value?.data?.seo?.metaDescription??V,url:s.value?.data?.seo?.canonicalURL?F(s.value.data.seo.canonicalURL):`${M.public.siteURL}`,mainImage:s.value?.data?.seo?.metaImage?x(s.value.data.seo.metaImage?.url):null}),link:O(s.value?.data?.seo?.canonicalURL)})),we(),ie(()=>{R(),de(()=>le())}),ce(()=>{clearInterval(S.value)});function G(l){const a=document.querySelector(".slider-controls__progress-active");l.on("mounted move",function(){const f=l.Components.Controller.getEnd()+1;a.style.width=String(100*(l.index+1)/f)+"%"})}function R(){S.value=xe(()=>{T()},8e3)}function Q(){document.querySelector(".splide__arrow--prev").click(),A()}function T(){document.querySelector(".splide__arrow--next")?.click(),A()}function A(){clearInterval(S.value),R()}return(l,a)=>{const f=re,v=pe,D=U("SplideSlide"),I=U("Splide"),E=ue,X=me,ee=ye,z=_e("dompurify-html");return i(),d("div",null,[c(f),e("div",ke,[t(s).data.hero_slider?(i(),d("div",Se,[e("div",{class:"slider-controls"},[e("div",{class:"slider-controls__arrows"},[e("div",{class:"slider-controls__arrow left",onClick:Q}),e("div",{class:"slider-controls__arrow",onClick:T})]),a[0]||(a[0]=e("div",{class:"slider-controls__progress"},[e("div",{class:"slider-controls__progress-active"})],-1))]),c(E,{fallback:"Loading..."},{default:_(()=>[c(I,{class:"header",options:K,"onSplide:arrows:mounted":G},{default:_(()=>[(i(!0),d($,null,B(t(s).data.hero_slider,(h,C)=>(i(),P(D,{key:C,class:"header-slide"},{default:_(()=>[e("div",null,[e("img",{alt:"",class:"img header-slide__img",loading:C===0?"eager":"lazy",fetchpriority:C===0?"high":"auto",sizes:"100vw",src:t(x)(h.hero_image?.url)},null,8,De),a[2]||(a[2]=e("div",{class:"header-slide__overlay"},null,-1)),e("div",Ie,[e("div",Ce,[e("div",Pe,[g(e("h2",null,null,512),[[z,h.hero_title]]),e("div",Le,o(h.hero_content),1)]),c(v,{class:"button white-variant big",to:"/who-we-are"},{default:_(()=>[e("div",null,o(t(s).data.hero_cta_text),1),a[1]||(a[1]=e("div",{class:"button__icon-wrapper big"},null,-1))]),_:1})])])])]),_:2},1024))),128))]),_:1})]),_:1})])):m("",!0),t(s).data.why_nnpc?(i(),d("div",Ne,[e("div",Re,[e("div",Te,[e("div",Ae,[a[3]||(a[3]=e("div",{class:"why-nnpc-flex__image"},null,-1)),e("div",Ee,[e("div",ze,o(t(s).data.why_nnpc.title),1),g(e("div",Ue,null,512),[[z,t(s).data.why_nnpc.heading]])])]),e("div",$e,[e("div",Be,[a[5]||(a[5]=e("div",{class:"nnpc-stat__icon-block"},[e("div",{class:"nnpc-stat__icon barrels"})],-1)),e("div",Fe,[a[4]||(a[4]=e("span",{class:"nnpc-stat__indexed"}
1,"No",-1)),ve(o(t(s).data.why_nnpc.block_1_title),1)]),e("div",null,o(t(s).data.why_nnpc.block_1_description),1)]),e("div",He,[a[7]||(a[7]=e("div",{class:"nnpc-stat__icon-block"},[e("div",{class:"nnpc-stat__icon workers"})],-1)),e("div",Me,[e("span",{"data-odometer":t(s).data.why_nnpc.block_2_title},null,8,Ve),a[6]||(a[6]=e("span",null,"+",-1))]),e("div",null,o(t(s).data.why_nnpc.block_2_description),1)])])])])])):m("",!0),t(s).data.years_of_experience?(i(),d("div",qe,[e("div",Oe,[a[8]||(a[8]=e("div",{class:"yrs-of-existence__bg-wrapper"},[e("div",{class:"yrs-of-existence__bg skyline"}),e("div",{class:"yrs-of-existence__bg yellow-strokes"}),e("div",{class:"yrs-of-existence__bg landscape"})],-1)),e("div",We,[g(e("div",{"data-paragraph":""},o(t(s).data.years_of_experience.top_title),513),[[y,t(s).data.years_of_experience]]),g(e("div",{class:"yrs-of-existence__number","data-odometer":t(s).data.years_of_experience.years_of_experience},o(t(s).data.years_of_experience.years_of_experience),9,Ke),[[y,t(s).data.years_of_experience]]),g(e("div",{"data-paragraph":""},o(t(s).data.years_of_experience.bottom_title),513),[[y,t(s).data.years_of_experience]])]),g(e("div",{class:"yrs-of-existence__text-block","data-paragraph":""},o(t(s).data.years_of_experience.description),513),[[y,t(s).data.years_of_experience]])])])):m("",!0),t(n)?(i(),d("div",Je,[e("div",Ye,[e("div",Ze,o(t(s).data.home_blog_section?.title),1),e("div",je,[t(Y)?(i(),d("a",{key:0,class:"featured-news",href:t(Z),target:"_blank"},[e("div",Qe,[e("img",{alt:"",class:"img",decoding:"async",loading:"lazy",src:t(N)},null,8,Xe)]),e("div",et,[e("div",tt,[e("div",st,o(t(n).post_type?t(n).post_type.type:"News"),1)]),e("div",at,o(t(H)(l.$formatDateTime(t(n).post_date))),1)]),e("div",ot,o(t(n).title),1)],8,Ge)):(i(),P(v,{key:1,class:"featured-news",to:t(j)},{default:_(()=>[e("div",nt,[e("img",{alt:"",class:"img",decoding:"async",loading:"lazy",src:t(N)},null,8,it)]),e("div",dt,[e("div",lt,[e("div",ct,o(t(n).post_type?t(n).post_type.type:"News"),1)]),e("div",_t,o(t(H)(l.$formatDateTime(t(n).post_date))),1)]),e("div",rt,o(t(n).title),1)]),_:1},8,["to"])),e("div",pt,[e("div",ut,[(i(!0),d($,null,B(t(W),h=>(i(),P(X,{key:h.id,"component-data":h,"is-home-page":!0},null,8,["component-data"]))),128))]),e("div",vt,[c(v,{class:"button dark-blue-variant w-inline-block",to:"/insights"},{default:_(()=>[e("div",ft,o(t(s).data.home_blog_section?.cta_text),1),a[9]||(a[9]=e("div",{class:"button__icon-wrapper big dark-blue-variant"},null,-1))]),_:1})])])])])])):m("",!0),e("div",ht,[e("div",gt,[t(s).data.investor_opportunities?(i(),d("div",mt,[m("",!0),e("div",yt,[e("div",bt,[e("div",wt,[e("div",xt,o(t(s).data.investor_opportunities.title),1),c(v,{class:"bids-flex__cta w-inline-block",target:"_blank",to:"/investors"},{default:_(()=>[e("div",null,o(t(s).data.investor_opportunities.cta_text),1),a[10]||(a[10]=e("div",{class:"bids-flex__cta-icon"},null,-1))]),_:1})])]),e("div",kt,[e("div",{class:"bids-flex__img-inner",style:fe({backgroundImage:`url(${t(L)(t(s).data.investor_opportunities.section_image)})`})},null,4)])])])):m("",!0),e("div",St,[c(E,null,{default:_(()=>[c(ee)]),_:1})])])])])])}}},At=te(Dt,[["__scopeId","data-v-76fe7d38"]]);export{At as default};

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.