PageSourceSearch

https://kendarikota.go.id/build/assets/IPKDDetail-DS0gdua-.js

js kendarikota.go.id collected 2026-10-02 16:32:40 UTC 4,824 bytes, 6 lines download raw bytes

1import{j as e,$ as n}from"./app-tGKFK444.js";import{G as d}from"./GuestLayout-B7R2KB1W.js";import{P as m}from"./PageLayout-DdJ5hjaR.js";import{C as t}from"./card-D4LHRf6p.js";import{f as a}from"./utils-C4f-JZH-.js";import{A as x}from"./arrow-left-CIieqm4S.js";import{c}from"./createLucideIcon-CsmKS_r2.js";import"./index-0pqntcb_.js";import"./index-CRSyw7_n.js";import"./index-DazO46Bu.js";import"./mail-DYMwrp6_.js";import"./clock-BkE-5IEf.js";import"./SubDomain-Btd-v9jV.js";/**
2 * @license lucide-react v0.474.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const h=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]],p=c("ArchiveRestore",h);function M({tahun:r,data:s,isArchive:o}){return e.jsx(d,{children:e.jsx(m,{title:"PPID - Dokumen IPKD "+r,children:e.jsxs("div",{className:"mx-auto max-w-6xl",children:[e.jsx(t,{className:"p-6 mb-6",children:e.jsxs("div",{className:"flex flex-col lg:flex-row justify-between items-start",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-xl lg:text-2xl font-bold text-[#1B3C60] leading-[1.15] lg:leading-[1.25]",children:s.judul}),e.jsxs("div",{className:"flex items-center gap-6 mt-2 text-sm text-gray-600",children:["Detail Dokumen IPKD Tahun ",r]})]}),e.jsxs("a",{href:s.lampiran?route("download-ipkd",s.id):"#",download:!0,className:`${s.lampiran?"":"pointer-events-none opacity-45"} text-nowrap mt-4 lg:mt-0 bg-[#1B3C60] text-sm lg:text-base text-white px-4 py-2 rounded-md shadow-md flex items-center gap-2 transition`,children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"size-4 lg:size-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v2a2 2 0 002 2h12a2 2 0 002-2v-2M7 10l5 5m0 0l5-5m-5 5V4"})}),"Download File"]})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{children:[e.jsxs(n,{href:route("menu-ipkd","2024"),className:"mb-2 bg-gray-600 text-xs text-white px-4 py-2 rounded-md shadow-md flex justify-center items-center gap-2 transition hover:bg-gray-700",children:[e.jsx(x,{className:"w-4 h-4"}),"Kembali"]}),e.jsx(t,{className:"p-6 h-fit",children:e.jsxs("dl",{className:"space-y-3 text-sm",children:[e.jsxs("div",{children:[e.jsx("dt",{className:"font-semibold text-gray-700",children:"Judul Dokumen IPKD"}),e.jsx("dd",{className:"text-gray-600",children:s.judul??"-"})]}),e.jsxs("div",{children:[e.jsx("dt",{className:"font-semibold text-gray-700",children:"Tanggal Publish"}),e.jsx("dd",{className:"text-gray-600",children:s.tgl_publish?a(s.tgl_publish):"-"})]}),e.jsxs("div",{children:[e.jsx("dt",{className:"font-semibold text-gray-700",children:"Tanggal Disahkan"}),e.jsx("dd",{className:"text-gray-600",children:s.tgl_disahkan?a(s.tgl_disahkan):"-"})]})]})})]}),e.jsx("div",{className:"md:col-span-2",children:e.jsxs(t,{className:"p-4",children:[e.jsx("h3",{className:"text-center font-semibold mb-2",children:"Preview Dokumen"}),s.lampiran?o?e.jsxs("div",{className:"bg-gray-50 w-full h-[240px] border rounded-md flex flex-col items-center justify-center text-gray-700 py-6",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-12 w-12 mb-3 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v2a2 2 0 002 2h12a2 2 0 002-2v-2M7 10l5 5m0 0l5-5m-5 5V4"})}),e.jsx("p",{className:"text-sm mb-2",children:(()=>{var l,i;return`Arsip: format ${(((i=(l=s.lampiran)==null?void 0:l.split(".").pop())==null?void 0:i.toLowerCase())||"").toUpperCase()} — klik Tombol "Unduh Arsip".`})()}),e.jsxs("a",{href:route("download-ipkd",s.id),className:"text-xs flex items-center gap-2 bg-[#1B3C60] hover:bg-[#234b78] text-white px-3.5 py-2 rounded-md shadow-md transition-all",children:[e.jsx(p,{className:"w-4 h-4"}),"Unduh Arsip"]})]}):e.jsx("iframe",{src:`/storage/${s.lampiran}`,className:"w-full h-[550px] lg:h-[600px] border rounded-md"}):e.jsxs("div",{className:"bg-gray-50 w-full h-[240px] border rounded-md flex flex-col items-center justify-center text-gray-500",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-12 w-12 mb-2 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h7l5 5v11a2 2 0 01-2 2z"})}),e.jsx("p",{className:"text-sm",children:"Dokumen tidak tersedia"})]})]})})]})]})})})}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.