1import{d as Et}from"./chunk-64MQN2Z7.js";import"./chunk-G3QT33YU.js";import"./chunk-VQ5YTHOU.js";import{b as bt,d as St,e as wt,f as At,h as Tt,i as zt}from"./chunk-5OAI2AGD.js";import{B as W,Ba as xt,C as K,Ca as vt,D as Q,Da as jt,E as Y,F as Z,Fa as yt,H as tt,I as et,J as nt,L as it,M as ot,Q as rt,R as at,W as ct,X as st,Y as pt,a as N,aa as mt,b as q,ba as lt,c as G,d as X,da as gt,e as J,fa as dt,ga as Mt,ia as ut,ja as _t,ka as ft,la as Pt,ma as Ct,na as ht,za as Ot}from"./chunk-M47B3HJQ.js";import{Ha as R,Oa as F,Pa as L,Qa as V,Ra as H,Sa as $,T as z,a as T,aa as k,ea as I,k as E,oa as B,r as x,ra as D,wa as U}from"./chunk-4N2ITM72.js";import{$a as _,Bb as o,E as b,Kb as i,Lb as r,Mb as m,Qb as C,Tb as h,Vb as O,Xc as w,a as v,ab as f,bd as A,cc as p,gb as c,hb as l,jc as S,na as y,w as j,xa as M,ya as u,zb as P}from"./chunk-EK3NUCT5.js";import"./chunk-YHOLSLLF.js";function kt(s,g){if(s&1){let t=C();i(0,"div",5)(1,"div",6),m(2,"img",7),r(),m(3,"h3",8),i(4,"div",9)(5,"button",10),h("click",function(){let a=M(t).$implicit,n=O();return u(n.onOpenProject(a))}),i(6,"div",11)(7,"span",12),p(8,"Read More"),r(),i(9,"mat-icon",13),p(10,"arrow_forward"),r()()()()()}if(s&2){let t=g.$implicit,e=g.index;o("scrollAnimate",(e+1)*250),c(2),o("src",t.image,f)("alt",t.title),c(),o("innerHTML",t.title,_)}}function It(s,g){if(s&1){let t=C();i(0,"div",5)(1,"div",6),m(2,"img",7),r(),m(3,"h3",8),i(4,"div",9)(5,"button",10),h("click",function(){let a=M(t).$implicit,n=O();return u(n.onOpenProject(a))}),i(6,"div",11)(7,"span",12),p(8,"Read More"),r(),i(9,"mat-icon",13),p(10,"arrow_forward"),r()()()()()}if(s&2){let t=g.$implicit,e=g.index;o("scrollAnimate",(e+1)*250),c(2),o("src",t.image,f)("alt",t.title),c(),o("innerHTML",t.title,_)}}var He=(()=>{class s{constructor(t,e,a,n,d){this.http=t,this.service=e,this.endpoints=a,this.route=n,this.seoService=d,this.processing=!0,this.httpSubscription=new v,this.pageBanner="",this.upstreamProjects=[],this.midstreamProjects=[]}ngOnInit(){this.route.data.subscribe(t=>{let e=t.seo;e&&this.seoService.updateMeta(e.title,e.description,e.image,e.url,e.keywords)})}ngAfterViewInit(){setTimeout(()=>{this.httpSubscription=this.fetchMultiple().pipe(b(t=>(this.processing=!1,this.service.loading.next(this.processing),this.service.determineErrorResponse(t),[]))).subscribe({next:t=>{if(Array.isArray(t)&&t.length===2){let e=t[0]?.[0],a=t[1];e?.acf?.image&&(this.pageBanner=this.service.getCMSMediaProxy(e.acf.image)),a.filter(n=>{let d={title:n.title?.rendered||"Untitled",summary:n.acf?.summary,contractors:n.acf?.contractors,image:this.service.getCMSMediaProxy(n.acf?.project_image.sizes.medium_large||n.acf?.project_image.sizes.large||n.acf?.project_image.url),url:n.acf.url.startsWith(x.APP_PREFIX)?n.acf.url.replace(x.APP_PREFIX,""):n.acf.url};n.acf.project_type==="Upstream"||n.acf.project_type==="Exploration"?this.upstreamProjects.push(d):n.acf.project_type==="Midstream"&&this.midstreamProjects.push(d)})}this.processing=!1,this.service.loading.next(this.processing)},error:t=>{this.processing=!1,this.service.loading.next(this.processing),this.service.determineErrorResponse(t)}})})}fetchMultiple(){this.processing=!0,this.service.loading.next(this.processing);let e=`${this.endpoints.homepageProjects}&_fields=title,acf&per_page=100`,a=this.http.get(this.endpoints.pageImages+"slug=all-projects&_fields=acf.image&per_page=1"),n=this.http.get(e);return j([a,n])}onOpenProject(t){this.service.onGoToTop(t.url)}ngOnDestroy(){this.httpSubscription&&this.httpSubscription.unsubscribe(),this.processing=!1}static{this.\u0275fac=function(e){return new(e||s)(l(T),l($),l(yt),l(E),l(zt))}}static{this.\u0275cmp=y({type:s,selectors:[["pau-all-projects"]],standalone:!0,features:[S],decls:20,vars:8,consts:[[3,"pageBanner"],[1,"main-section"],[3,"scrollAnimate"],[1,"projects"],["class","project",3,"scrollAnimate",4,"ngFor","ngForOf"],[1,"project",3,"scrollAnimate"],[1,"project-image"],[3,"src","alt"],[3,"innerHTML"],[1,"read-more-button-container"],["mat-button","",1,"read-more-button",3,"click"],[1,"button-label"],[1,"button-text"],[1,"arrow-icon"]],template:function(e,a){e&1&&(m(0,"pau-breadcrumb",0),i(1,"main")(2,"article")(3,"section",1)(4,"h2",2),p(5,"Upstream Commercialization Projects"),r(),i(6,"p",2),p(7," The Petroleum Authority of Uganda (PAU) supports upstream commercialization projects that focus on the exploration, development, and production of Uganda\u2019s oil resources. These initiatives aim to unlock the country\u2019s petroleum potential by guiding field development, drilling operations, and the construction of production facilities. Through these projects, Uganda is advancing towards first oil while promoting national participation and maximizing value from its natural resources. "),r(),i(8,"div",3),P(9,kt,11,4,"div",4),r(),i(10,"h2",2),p(11,"Midstream Commercialization Projects"),r(),i(12,"p",2),p(13," The Petroleum Authority of Uganda (PAU) supports midstream commercialization projects that focus on the transportation, storage, and handling of crude oil. The
1se initiatives are essential for linking upstream production to downstream markets, enabling the efficient movement of petroleum resources. By regulating and overseeing midstream activities, PAU ensures that Uganda\u2019s oil is safely and effectively delivered for processing and export, contributing to national economic growth and energy sector development. "),r(),i(14,"div",3),P(15,It,11,4,"div",4),r()(),i(16,"aside"),m(17,"pau-events-snippet")(18,"pau-latest-news-snippet")(19,"pau-brochures",2),r()()()),e&2&&(o("pageBanner",a.pageBanner),c(4),o("scrollAnimate",150),c(2),o("scrollAnimate",200),c(3),o("ngForOf",a.upstreamProjects),c(),o("scrollAnimate",200),c(2),o("scrollAnimate",200),c(3),o("ngForOf",a.midstreamProjects),c(4),o("scrollAnimate",600))},dependencies:[A,w,Tt,bt,St,At,z,N,G,X,J,q,F,U,R,W,K,Q,D,B,Y,Z,tt,et,nt,ot,rt,at,ct,st,H,V,it,pt,mt,k,dt,Mt,ut,_t,I,lt,ft,Pt,Ct,L,ht,Ot,xt,vt,gt,jt,wt,Et],styles:["main[_ngcontent-%COMP%]{position:relative;padding:60px 0 70px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{width:calc(100% - 140px);margin:auto;display:grid;grid-template-columns:auto 320px;gap:80px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:var(--headings-custom-font);font-size:var(--text-font-size);font-weight:700;margin:0;line-height:25px;letter-spacing:var(--headings-letter-spacing);z-index:1;position:relative;text-align:left;grid-column:span 2}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] span[_ngcontent-%COMP%], main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:20px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .exploration-project-title[_ngcontent-%COMP%]{margin-top:100px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-color);text-align:justify;letter-spacing:var(--content-letter-spacing);font-size:var(--text-font-size);padding:0;margin:15px 0 20px;line-height:var(--text-line-height);opacity:95%}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:60px 30px;gap:60px 15px;margin-bottom:60px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] .project-image[_ngcontent-%COMP%]{width:100%;overflow:hidden;height:200px;height:190px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] .project-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:10px 0;text-align:center;font-weight:400;line-height:20px;height:32px;font-size:12px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;margin:8px 0 15px;line-height:var(--text-line-height);min-height:30px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] .read-more-button-container[_ngcontent-%COMP%]{width:100%;background-color:#fff;text-align:center;padding:0}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] .read-more-button-container[_ngcontent-%COMP%] .read-more-button[_ngcontent-%COMP%]{border-radius:50px;border:1px solid var(--primary-color);padding:0 16px;transition:all .33s ease-in-out;font-size:11px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] .read-more-button-container[_ngcontent-%COMP%] .read-more-button[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%]{display:flex;transition:all .33s ease-in-out;opacity:80%;align-items:center;justify-content:center;justify-items:center;gap:5px;text-transform:uppercase}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] .read-more-button-container[_ngcontent-%COMP%] .read-more-button[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{transition:inherit;font-size:16px!important;margin-top:1px;margin-right:-2px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%] .project[_ngcontent-%COMP%] .read-more-button-container[_ngcontent-%COMP%] .read-more-button[_ngcontent-%COMP%]:hover{background-color:var(--primary-color)}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%]:last-child{margin-bottom:0}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:40px;position:sticky;top:21px;align-self:start}@media (max-width: 1350px){main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] .main-section[_ngcontent-%COMP%] .projects[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}@media (max-width: 1190px){main[_ngcontent-%COMP%]{padding:40px 0 60px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{width:calc(100% - 80px);gap:50px}}@media (max-width: 1024px){main[_ngcontent-%COMP%]{padding:30px 0 50px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{grid-template-columns:auto}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] aside[_ngcontent-%COMP%] pau-brochures[_ngcontent-%COMP%]{width:calc(100vw - 70px);overflow:hidden}}@media (max-width: 950px){main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] aside[_ngcontent-%COMP%] pau-brochures[_ngcontent-%COMP%]{width:calc(100vw - 70px);overflow:hidden}}@media (max-width: 640px){main[_ngcontent-%COMP%]{padding:30px 0 50px}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%]{width:calc(100% - 40px)}main[_ngcontent-%COMP%] article[_ngcontent-%COMP%] aside[_ngcontent-%COMP%] pau-brochures[_ngcontent-%COMP%]{width:calc(100vw - 40px)}}"]})}}return s})();export{He as AllProjectsComponent};
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.