1import{C as v,r as o,F as A,j as t}from"./index-A3MnN04F.js";import{H as $}from"./index-P6ry0pKM.js";import{A as b}from"./index-xH5HM4d9.js";import{u as w,C as E}from"./index-OglMhijo.js";import{$ as F}from"./module-tGsUm5me.js";import"./index-jW6sDLht.js";import"./styled-components.browser.esm-maJW6Vb9.js";function M(){var d,c,p,m,h,u,f,x,j;const{language:a,increment:k}=v();w();const[r,n]=o.useState(!0),[e,S]=o.useState(null),{state:i}=A(),{setActive:I,pageID:l}=v();o.useEffect(()=>{console.log(i,"unique id---->"),i?g(i):l&&(I(localStorage.getItem("active")),g(localStorage.getItem("pageId")))},[l,localStorage.getItem("pageId")]),o.useEffect(()=>{e&&console.log(e,"content-->")},[e]);const g=y=>{var C;(C=E(y))==null||C.then(s=>{s.status=="200"&&(console.log(s,"gggggggggggg"),S(s.data.data),n(!1),console.log(e,"content-->"))}).catch(s=>n(!1))};return t.jsxs(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 & Facilities":"خدÙ
ات Ø§ÙØ± سÛÙÙÛØ§Øª",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{M 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.