1import{r as s,C as v,F as A,j as t}from"./index-ZUrh9BGr.js";import{H as $}from"./index-CCmFdeaE.js";import{A as b}from"./index-q2h7Cg69.js";import{u as E,C as w}from"./index-9pE-Wb4o.js";import{$ as F}from"./module-04a2iDLL.js";import"./index-GzE-uzYu.js";import"./styled-components.browser.esm-fMArxupj.js";function N(){var d,c,p,m,h,u,f,x,j;const[r,n]=s.useState(!0),[e,S]=s.useState(null),{language:a,increment:k}=v();E();const{state:i}=A(),{setActive:I,pageID:l}=v();s.useEffect(()=>{console.log(i,"unique id---->"),i?g(i):l&&(I(localStorage.getItem("active")),g(localStorage.getItem("pageId")))},[l,localStorage.getItem("pageId")]),s.useEffect(()=>{e&&console.log(e,"content-->")},[e]);const g=y=>{var C;(C=w(y))==null||C.then(o=>{o.status=="200"&&(console.log(o,"gggggggggggg"),S(o.data.data),n(!1),console.log(e,"content-->"))}).catch(o=>n(!1))};return t.jsx(t.Fragment,{children:r?t.jsx(t.Fragment,{children:t.jsx("div",{className:"d-flex align-items-center justify-content-center",style:{height:"100vh"},children:t.jsx(F,{visible:r,strokeWidth:4,height:"60",width:"60",color:"#00401A",secondaryColor:"#ddd",ariaLabel:"oval-loading",wrapperStyle:{},wrapperClass:""})})}):t.jsxs("div",{children:[t.jsx("section",{children:t.jsx($,{page:a=="en"?"Services & Facilites":"خدÙ
ات Ø§ÙØ± سÛÙÙÛØ§Øª",pageChild:(d=e==null?void 0:e[a])==null?void 0:d.name})}),t.jsx("section",{children:t.jsx(b,{id:"1",heading:(p=(c=e==null?void 0:e[a])==null?void 0:c.properties)==null?void 0:p.title,description:(u=(h=(m=e==null?void 0:e[a])==null?void 0:m.properties)==null?void 0:h.bodyContent)==null?void 0:u.markup,image:`https://paawebadmin.paa.gov.pk/${
1(j=(x=(f=e==null?void 0:e.en)==null?void 0:f.properties)==null?void 0:x.headerImage[0])==null?void 0:j.url}`})})]})})}export{N 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.