(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[199],{5479:(e,a,s)=>{Promise.resolve().then(s.bind(s,9669))},9669:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>r});var t=s(5155),i=s(918),l=s(5565),d=s(2115);function r(){let[e,a]=(0,d.useState)(""),[s,r]=(0,d.useState)([]),[n,o]=(0,d.useState)(null),[c,m]=(0,d.useState)(!0);return(0,d.useEffect)(()=>{let e;return async function(){m(!0);try{e=setTimeout(async()=>{var e,s,t,i,l,d;let n=await fetch("".concat("https://strapi.pdammakassar.co.id","/api/profil?populate=Foto"),{headers:{Authorization:"Bearer ".concat("da72541e1d3f3cc8bc9798a27a0f729e804d07989e51fd14d637e37ef19793bb034ef3744cf6d3d1d8be1fba18d0d39610261652c8fa45aaee08dec2d91c0cee677e75bf388847cea4e693098bab341be2e76438250ab56400a8045909e53be15e26c88ebdbd9bc4191ba99b56d6021a1799a5a48bc25def02ef419c287ad770")}}),c=await n.json(),x=(null==c?void 0:null===(e=c.data)||void 0===e?void 0:e.Visi)||"",h=null==c?void 0:null===(s=c.data)||void 0===s?void 0:s.Misi;"string"==typeof h&&(h=h.split("\n").filter(e=>""!==e.trim())),a(x),r(Array.isArray(h)?h:[]);let b=(null==c?void 0:null===(i=c.data)||void 0===i?void 0:null===(t=i.Foto)||void 0===t?void 0:t.url)||(null==c?void 0:null===(d=c.data)||void 0===d?void 0:null===(l=d.Foto)||void 0===l?void 0:l.url);o(b?"".concat("https://strapi.pdammakassar.co.id").concat(b):null),m(!1)},400)}catch(e){a(""),r([]),o(null),m(!1)}}(),()=>clearTimeout(e)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("section",{className:"max-w-4xl px-4 py-12 mx-auto md:py-20",children:[(0,t.jsxs)("div",{className:"mb-10 text-center",children:[(0,t.jsx)("h1",{className:"mb-4 text-3xl font-extrabold text-transparent bg-clip-text bg-gradient-to-r from-indigo-400 via-sky-400 to-indigo-600 md:text-4xl drop-shadow-lg",children:"Visi & Misi PDAM Makassar"}),(0,t.jsx)("p",{className:"max-w-2xl mx-auto text-lg text-indigo-200/90",children:"Komitmen PDAM Makassar dalam memberikan layanan air bersih terbaik untuk masyarakat."})]}),(0,t.jsx)("div",{className:"p-4 mx-auto border shadow-lg md:p-12 max-w-none bg-gray-900/60 rounded-2xl border-indigo-700/30",children:c?(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"w-32 h-5 mb-3 rounded bg-gray-700/40 animate-pulse md:w-40 md:h-6 md:mb-4"}),(0,t.jsx)("div",{className:"w-full h-3 mb-4 rounded bg-gray-700/30 animate-pulse md:h-4 md:mb-6"}),(0,t.jsx)("div",{className:"w-24 h-5 mb-3 rounded bg-gray-700/40 animate-pulse md:w-32 md:h-6 md:mb-4"}),(0,t.jsx)("ul",{children:[void 0,void 0,void 0,void 0].map((e,a)=>(0,t.jsx)("li",{className:"w-full h-3 mb-2 rounded bg-gray-700/20 animate-pulse md:h-4 md:mb-3"},a))})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"mb-2 text-2xl font-bold tracking-wide text-indigo-300",children:"Visi"}),(0,t.jsx)("p",{className:"pl-4 mb-8 text-lg italic leading-relaxed text-indigo-100 border-l-4 border-indigo-400",children:e}),(0,t.jsx)("h2",{className:"mb-2 text-2xl font-bold tracking-wide text-indigo-300",children:"Misi"}),(0,t.jsx)("ul",{className:"space-y-4 text-base text-indigo-100 list-decimal list-inside md:text-lg",children:s.map((e,a)=>(0,t.jsx)("li",{className:"relative pl-2 before:absolute before:-left-4 before:top-1/2 before:-translate-y-1/2 before:w-2 before:h-2 before:rounded-full before:bg-indigo-400",children:(0,t.jsx)("span",{className:"",children:e})},a))})]})}),(0,t.jsxs)("div",{className:"mt-10 mb-10 text-center md:mt-16",children:[(0,t.jsx)("h1",{className:"mb-4 text-2xl font-extrabold text-transparent md:text-4xl bg-clip-text bg-gradient-to-r from-indigo-400 via-sky-400 to-indigo-600 drop-shadow-lg",children:"Makna Logo PDAM Makassar"}),(0,t.jsx)("div",{className:"flex flex-col items-center gap-6",children:c?(0,t.jsx)("div",{className:"w-[200px] h-[200px] md:w-[320px] md:h-[320px] rounded-xl bg-gray-800/40 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-24 h-24 rounded-full md:w-40 md:h-40 bg-gray-700/40 animate-pulse"})}):n?(0,t.jsx)(l.default,{src:n,alt:"Makna Logo PDAM Makassar",width:820,height:820,className:"border shadow-lg rounded-xl border-indigo-700/40 bg-gray-800/40",priority:!0,unoptimized:!0}):(0,t.jsx)("div",{className:"w-[200px] h-[200px] md:w-[320px] md:h-[320px] rounded-xl bg-gray-800/40 flex items-center justify-center text-indigo-200/60 text-base md:text-lg",children:"Gambar makna logo belum tersedia."})})]})]}),(0,t.jsx)(i.A,{})]})}},918:(e,a,s)=>{"use strict";s.d(a,{A:()=>r});var t=s(5155);let i={src:"/_next/static/media/footer-illustration.d3f176f6.svg",height:378,width:1076,blurWidth:0,blurHeight:0};var l=s(5565),d=s(2242);function r(){return(0,t.jsx)("footer",{children:(0,t.jsxs)("div",{className:"relative max-w-6xl px-4 mx-auto sm:px-6",children:[(0,t.jsx)("div",{className:"absolute bottom-0 -translate-x-1/2 pointer-events-none left-1/2 -z-10","aria-hidden":"true",children:(0,t.jsx)(l.default,{className:"max-w-none",src:i,width:1076,height:378,alt:"Footer illustration"})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 py-8 md:grid-cols-2 md:py-12",children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-200",children:"Kantor Pusat"}),(0,t.jsx)("p",{className:"text-indigo-200/80",children:"Alirkan Pengabdian"}),(0,t.jsxs)("div",{className:"space-y-2 text-sm text-indigo-200/65",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-medium text-gray-200",children:"Lokasi:"}),(0,t.jsx)("br",{}),"Jl. Dr. Ratulangi No. 3"]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-medium text-gray-200",children:"Telepon:"}),(0,t.jsx)("br",{}),"(0411) 876777"]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-medium text-gray-200",children:"Alamat Email:"}),(0,t.jsx)("br",{}),"pusat.pdammks@gmail.com"]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-start justify-between md:items-end",children:[(0,t.jsx)("div",{className:"mb-3",children:(0,t.jsx)(d.A,{})}),(0,t.jsx)("div",{className:"text-sm text-indigo-200/65",children:"\xa9 PDAM Kota Makassar"})]})]})]})})}},2242:(e,a,s)=>{"use strict";s.d(a,{A:()=>n});var t=s(5155);let i={src:"/_next/static/media/logo.4e0d4118.png",height:380,width:456,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAb1BMVEVEk8wpnNoCVqoDR5usz+YvoNt4rtXi//+nxeM0reuctNUakNI8p906pt4XR5g+er2iwN46pt5rptEAN5Beptaw3fR7xOhmuuU2kc0EZrMFU6NwqNNltuSex+NRotVBsOhns9+DuNy+2vSQ1/0Cab/4BKBGAAAAHnRSTlMQqf7e/fX+A/3+svzDbWv9m8r8wu784Y75qYnz6P7Pn/k5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAQUlEQVR4nAXBBQLAIAwEsEML8zGXApP/v5EEhHY06wagST4tn4Dwps6ad9w5xof5wmyD1e4dcPxS9q4CcCo1dUQFbpEDZkFhViMAAAAASUVORK5CYII=",blurWidth:8,blurHeight:7};var l=s(5565),d=s(8173),r=s.n(d);function n(){return(0,t.jsxs)(r(),{href:"/",className:"inline-flex items-center gap-2 shrink-0","aria-label":"PDAM Makassar",children:[(0,t.jsx)(l.default,{src:i,alt:"PDAM Makassar Logo",width:50,height:50}),(0,t.jsxs)("span",{className:"hidden text-xs font-bold leading-tight text-blue-50 sm:block",children:[(0,t.jsx)("span",{className:"block",children:"PDAM"}),(0,t.jsx)("span",{className:"block font-normal text-[10px] tracking-wide",children:"PERUMDA AIR MINUM"}),(0,t.jsx)("span",{className:"block font-normal text-[10px] tracking-wide",children:"KOTA MAKASSAR"})]})]})}}},e=>{var a=a=>e(e.s=a);e.O(0,[173,565,441,517,358],()=>a(5479)),_N_E=e.O()}]);