PageSourceSearch

https://karachiairport.com.pk/assets/index-Ls0E0H3l.js

js karachiairport.com.pk collected 2026-10-02 05:30:55 UTC 5,007 bytes, 2 lines download raw bytes

1import{C as p,j as e,J as q,K as G,L as J,r as i,F as K}from"./index-A3MnN04F.js";import{H as Q}from"./index-P6ry0pKM.js";import{A as U}from"./index-xH5HM4d9.js";import{u as z,C as X}from"./index-OglMhijo.js";import{$ as Z}from"./module-tGsUm5me.js";import"./index-jW6sDLht.js";import"./styled-components.browser.esm-maJW6Vb9.js";function ee(s){const{language:r,increment:l}=p(),{handleMouseEnter:u,handleMouseLeave:m,stopSpeech:h}=z();return e.jsx("div",{id:s==null?void 0:s.id,children:e.jsx(q,{children:e.jsxs(G,{lg:"12",children:[e.jsx(J,{size:"xs",nomargin:!0,padding:"20px 5px 20px 0px",fontFamily:r==="en"?"SF-Pro-Display":"reg-font-Nafees",onMouseEnter:()=>u(s==null?void 0:s.heading),style:{fontSize:r==="en"?`${24+l}px`:`${28+l}px`},onMouseLeave:m,fontWeight:"600",heading:s==null?void 0:s.heading,color:"#00401A"}),e.jsx("p",{style:{padding:"20px 0px",fontFamily:r==="en"?"SF-Pro-Display":"Nafees",fontSize:r==="en"?`${14+l}px`:`${18+l}px`},onMouseEnter:()=>u(s==null?void 0:s.description),onMouseLeave:m,dangerouslySetInnerHTML:{__html:`${s==null?void 0:s.description}`}})]})})})}function le(){var E,C,b,F,w,I,L,N,M,A,k,H,R,P,T;const{language:s,increment:r}=p(),{handleMouseEnter:l,handleMouseLeave:u,stopSpeech:m}=z(),[h,v]=i.useState("1sec0"),[n,D]=i.useState(null),[j,S]=i.useState(!0),O=i.useRef(null);i.useRef(null);const W=o=>{v(o);const t=document.getElementById(o);console.log(t,"wsxcccccssx"),t&&t.scrollIntoView({behavior:"smooth"});const c=t.getBoundingClientRect().top+window.pageYOffset+-240;window.scrollTo({top:c,behavior:"smooth"})},{state:x}=K(),{setActive:Y,pageID:y}=p(),d=i.useRef([]),[te,_]=i.useState("1sec0");i.useEffect(()=>{if(!d.current)return;const o=new IntersectionObserver(t=>{t.forEach(a=>{a.isIntersecting&&(_(`1${a.target.id}`),v(`1${a.target.id}`))})},{threshold:.55});return setTimeout(()=>{d.current.forEach(t=>{t&&o.observe(t)})},100),()=>{d.current.forEach(t=>{t&&o.unobserve(t)})}},[d.current,n]),window.addEventListener("scroll",function(){var o=window.scrollY,t=document.getElementById("scolx");t.scrollLeft=o}),i.useEffect(()=>{console.log(x,"unique id---->"),x?$(x):y&&(Y(localStorage.getItem("active")),$(localStorage.getItem("pageId")))},[y,localStorage.getItem("pageId")]),i.useEffect(()=>{n&&console.log(n,"content-->")},[n]);const $=o=>{var t;(t=X(o))==null||t.then(a=>{a.status=="200"&&(console.log(a,"gggggggggggg"),D(a.data.data),S(!1),console.log(n,"content-->"))}).catch(a=>S(!1))};return console.log(),e.jsx(e.Fragment,{children:j?e.jsx(e.Fragment,{children:e.jsx("div",{className:"d-flex align-items-center justify-content-center",style:{height:"100vh"},children:e.jsx(Z,{visible:j,strokeWidth:4,height:"60",width:"60",color:"#00401A",secondaryColor:"#ddd",ariaLabel:"oval-loading",wrapperStyle:{},wrapperClass:""})})}):e.jsxs("div",{children:[e.jsx("section",{children:e.jsx(Q,{page:s=="en"?"Services & Facilities":"خدمات اور سہولیات",pageChild:(E=n==null?void 0:n[s])==null?void 0:E.name})}),e.jsx("section",{children:e.jsx(U,{id:"1",heading:(C=n==null?void 0:n[s].properties)==null?void 0:C.title,description:(F=(b=n==null?void 0:n[s].properties)==null?void 0:b.bodyContent)==null?void 0:F.markup,image:`
2            https://paawebadmin.paa.gov.pk/${(L=(I=(w=n==null?void 0:n.en)==null?void 0:w.properties)==null?void 0:I.headerImage[0])==null?void 0:L.url}`})}),e.jsx("div",{className:localStorage.getItem("access")=="true"?"Hammadaccess":"Hammad",children:e.jsx("div",{id:"",className:"mt-3 container2 ",style:{borderBottom:"1px solid #E1E1E1"},children:e.jsx("div",{id:"left",class:"text-container1",children:(k=(A=(M=(N=n==null?void 0:n[s])==null?void 0:N.properties)==null?void 0:M.addPassengerFaciliation)==null?void 0:A.items)==null?void 0:k.map((o,t)=>{var a,c;return e.jsx(e.Fragment,{children:e.jsx("div",{id:`1sec${t}`,onClick:()=>W(t),className:"",children:e.jsx("div",{className:"inner_text ",style:{backgroundColor:h==`1sec${t}`?"#F5F8F6":"#ffffff"},children:e.jsx("p",{className:"p-0 m-0",onMouseEnter:()=>{var g,f;return l((f=(g=o==null?void 0:o.content)==null?void 0:g.properties)==null?void 0:f.title)},style:{fontFamily:s==="en"?"SF-Pro-Display":"Nafees",fontSize:s==="en"?`${14+r}px`:`${18+r}px`,color:h==`1sec${t}`?"#00401A":"#52725f",fontWeight:h==`1sec${t}`?"700":"500"},onMouseLeave:u,fontWeight:"500",children:(c=(a=o==null?void 0:o.content)==null?void 0:a.properties)==null?void 0:c.title})})})})})})})}),e.jsx("section",{className:"pt-5 ",children:(T=(P=(R=(H=n==null?void 0:n[s])==null?void 0:H.properties)==null?void 0:R.addPassengerFaciliation)==null?void 0:P.items)==null?void 0:T.map((o,t)=>{var a,c,g,f,B;return e.jsx(e.Fragment,{children:e.jsx("div",{className:"pb-4 pt-4",id:`sec${t}`,ref:V=>d.current[t]=V,children:e.jsx(ee,{id:t,foc:O,description:(g=(c=(a=o==null?void 0:o.content)==null?void 0:a.properties)==null?void 0:c.bodyContent)==null?void 0:g.markup,heading:(B=(f=o==null?void 0:o.content)==null?void 0:f.properties)==null?void 0:B.title})})})})})]})})}export{le 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.