PageSourceSearch

https://www.eye-care-hospital.com/assets/admin._id.edit-CXQLMIuE.js

js eye-care-hospital.com collected 2026-10-07 18:46:00 UTC 1,463 bytes, 1 lines download raw bytes

1import{bs as n,u as c,b0 as d,r as u,j as e,s as l}from"./index-H7bJZ0Cr.js";import{p as f,P as g}from"./PostForm-BqJw8Rej.js";import{t as x}from"./index-CJySpA7L.js";import{L as _}from"./loader-circle-D93rGBGZ.js";import"./createLucideIcon-c_p-YTfc.js";import"./list-ordered-DycNc1bj.js";import"./quote-B6lElWEQ.js";import"./trash-2-WuBSuC6-.js";import"./image-bY_Qay01.js";import"./AdminUI-DjSkHxaf.js";import"./utils-BQHNewu7.js";import"./search-6kIkxahy.js";import"./sparkles-BXH62pCc.js";import"./upload-image-B0TguUoi.js";import"./admin-activity-_lxRrq5C.js";import"./arrow-left-B4g7C2Ea.js";import"./eye-DZ6gqid3.js";import"./file-text-Dvv8nfL4.js";function z(){const{id:r}=n.useParams(),s=c(),{data:t,isLoading:i,error:o}=d({queryKey:["admin-post",r],queryFn:async()=>{const{data:p,error:a}=await l.from("blog_posts").select("*").eq("id",r).single();if(a)throw a;return p}});if(u.useEffect(()=>{o&&(x.error("Post not found"),s({to:"/admin/posts"}))},[o,s]),i||!t)return e.jsx("div",{className:"flex items-center justify-center py-32",children:e.jsx(_,{className:"h-6 w-6 animate-spin text-primary"})});const m={id:t.id,title:t.title,slug:t.slug,excerpt:t.excerpt??"",content:t.content??"",cover_image:t.cover_image,tag:t.tag??"",status:t.status,published_at:t.published_at,meta_title:t.meta_title??"",meta_description:t.meta_description??"",meta_keywords:t.meta_keywords??"",faqs:f(t.faqs)};return e.jsx(g,{mode:"edit",initial:m})}export{z as component};

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.