PageSourceSearch

https://crimpc.manus.space/assets/DjsCatalog-Bvwe0anZ.js

js crimpc.manus.space collected 2026-10-03 05:01:22 UTC 23,287 bytes, 1 lines download raw bytes

1import{o as ae,r as c,t as C,P as se,j as e,S as te,p as E,I as $,B as d,q as le,T as ce,v as re,e as j,c as oe,A as q,E as ne,w as ie,x as de,g as xe}from"./index-DSkQtZLu.js";import{S as ge}from"./skeleton-BtNjeSoz.js";import{S as R}from"./shield-check-CS-0ut5i.js";import{H as pe}from"./hash-D5EdXurl.js";import{A as me}from"./arrow-left-2hf5QhWp.js";const D=30;function he(x){return x.trim().replace(/^第\s*/,"").replace(/\s*條$/,"")}function je(x){return x==="complete"?{label:"逐項完整",className:"border-emerald-300/25 bg-emerald-300/[0.07] text-emerald-200"}:x==="partial"?{label:"部分完成",className:"border-amber-200/25 bg-amber-200/[0.07] text-amber-100"}:{label:"釋義待補",className:"border-stone-400/20 bg-white/[0.035] text-stone-400"}}function be(){return e.jsx("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:41",className:"grid gap-3 md:grid-cols-2",role:"status","aria-label":"DJS 目錄載入中",children:Array.from({length:8}).map((x,b)=>e.jsx(ge,{"data-loc":"client/src/pages/DjsCatalog.tsx:42",className:"h-52 rounded-2xl bg-white/[0.055]"},b))})}function ve(){const[x,b]=ae(),m=c.useMemo(()=>new URLSearchParams(window.location.search),[x]),[S,k]=c.useState(m.get("q")??""),[o,P]=c.useState(m.get("q")??""),[_,I]=c.useState(""),[t,L]=c.useState(m.get("part")??""),[r,N]=c.useState(m.get("chapter")??""),[h,f]=c.useState(m.get("section")??""),[n,J]=c.useState(m.get("status")||"all"),[g,i]=c.useState(0),{data:p,isLoading:T,isError:U}=C.law.djsCoverage.useQuery(),{data:Q=[]}=C.law.lawHierarchy.useQuery({nodeType:"part"}),{data:B=[]}=C.law.lawHierarchy.useQuery({parentKey:t||null,nodeType:"chapter"},{enabled:!!t}),{data:z=[]}=C.law.lawHierarchy.useQuery({parentKey:r||null,nodeType:"section"},{enabled:!!r}),M=c.useMemo(()=>({query:o||null,partKey:t||null,chapterKey:r||null,sectionKey:h||null,status:n==="all"?null:n,limit:D,offset:g*D}),[r,g,t,o,h,n]),{data:l,isLoading:v,isError:w,refetch:H}=C.law.djsCatalog.useQuery(M);c.useEffect(()=>{document.title=`逐條逐項 DJS 目錄|刑事訴訟法|${se}`},[]);const u=a=>{const s=new URLSearchParams;a.q&&s.set("q",a.q),a.part&&s.set("part",a.part),a.chapter&&s.set("chapter",a.chapter),a.section&&s.set("section",a.section),a.status&&a.status!=="all"&&s.set("status",a.status);const A=s.toString();b(A?`/djs?${A}`:"/djs")},F=a=>{a.preventDefault();const s=S.trim();P(s),i(0),u({q:s,part:t,chapter:r,section:h,status:n})},G=a=>{a.preventDefault();const s=he(_);/^\d+(?:-\d+)?$/.test(s)&&b(`/djs/${encodeURIComponent(s)}`)},O=a=>{const s=a==="all"?"":a;L(s),N(""),f(""),i(0),u({q:o,part:s,status:n})},V=a=>{const s=a==="all"?"":a;N(s),f(""),i(0),u({q:o,part:t,chapter:s,status:n})},X=a=>{const s=a==="all"?"":a;f(s),i(0),u({q:o,part:t,chapter:r,section:s,status:n})},Z=a=>{J(a),i(0),u({q:o,part:t,chapter:r,section:h,status:a})},K=()=>{k(""),P(""),L(""),N(""),f(""),J("all"),i(0),b("/djs")},y=l?Math.ceil(l.total/D):0,W=l&&l.total>0?g*D+1:0,Y=l?Math.min((g+1)*D,l.total):0,ee=!!(o||t||r||h||n!=="all");return e.jsx(te,{"data-loc":"client/src/pages/DjsCatalog.tsx:157",children:e.jsxs("main",{"data-loc":"client/src/pages/DjsCatalog.tsx:158",className:"page-shell",children:[e.jsx("section",{"data-loc":"client/src/pages/DjsCatalog.tsx:159",className:"border-b border-white/[0.07] bg-[radial-gradient(circle_at_78%_18%,rgba(185,138,55,0.13),transparent_30%),linear-gradient(135deg,#071526_0%,#0c2138_58%,#071422_100%)]",children:e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:160",className:"container py-14 lg:py-18",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:161",className:"grid gap-10 lg:grid-cols-[minmax(0,1fr)_360px] lg:items-end",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:162",children:[e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:163",className:"eyebrow",children:"DJS / ARTICLE & PARAGRAPH INDEX"}),e.jsx("h1",{"data-loc":"client/src/pages/DjsCatalog.tsx:164",className:"mt-5 max-w-3xl font-serif text-4xl font-semibold leading-tight text-stone-50 sm:text-5xl",children:"刑事訴訟法逐條逐項 DJS"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:165",className:"mt-5 max-w-2xl text-sm leading-7 text-stone-400",children:"先以官方現行法規建立 712 條、1,881 項的固定索引;只有具可追溯來源且公開發布的分析才會出現在 DJS 區塊。"}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:166",className:"mt-6 flex flex-wrap gap-2 text-[11px] text-stone-500",children:[e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:167",className:"rounded-full border border-white/10 bg-white/[0.035] px-3 py-1.5",children:"官方法規原文"}),e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:168",className:"rounded-full border border-white/10 bg-white/[0.035] px-3 py-1.5",children:"逐項固定識別碼"}),e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:169",className:"rounded-full border border-white/10 bg-white/[0.035] px-3 py-1.5",children:"來源核實標籤"}),e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:170",className:"rounded-full border border-white/10 bg-white/[0.035] px-3 py-1.5",children:"不以模型補成 DJS 原文"})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:174",className:"rounded-2xl border border-amber-200/15 bg-black/15 p-5 shadow-[0_20px_60px_rgba(0,0,0,0.18)]",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:175",className:"flex items-center justify-between gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:176",children:[e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:177",className:"text-[10px] font-bold tracking-[0.18em] text-amber-200/65",children:"DJS COVERAGE"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:178",className:"mt-2 font-serif text-4xl text-stone-50",children:T?"—":`${p?.coveragePercent??0}%`})]}),e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:180",className:"grid size-12 place-items-center rounded-2xl border border-amber-200/15 bg-amber-200/[0.07] text-amber-100",children:e.jsx(R,{"data-loc":"client/src/pages/DjsCatalog.tsx:180",className:"size-5"})})]}),e.jsx("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:182",className:"mt-5 h-1.5 overflow-hidden rounded-full bg-white/[0.07]",role:"progressbar","aria-label":"DJS 公開分析覆蓋率","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p?.coveragePercent??0,children:e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:183",className:"block h-full rounded-full bg-amber-200",style:{width:`${p?.coveragePercent??0}%`}})}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:185",className:"mt-4 text-xs leading-6 text-stone-500",children:U?"覆蓋統計暫時無法取得。":`已公開 ${p?.publishedParagraphs??0}/${p?.paragraphCount??1881} 項;待補 ${Math.max(0,(p?.paragraphCount??1881)-(p?.publishedParagraphs??0))} 項。`})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:189",className:"mt-10 grid gap-3 lg:grid-cols-[minmax(0,1fr)_310px]",children:[e.jsxs("form",{"data-loc":"client/src/pages/DjsCatalog.tsx:190",onSubmit:F,role:"search",className:"flex items-center gap-2 rounded-xl border border-white/[0.1] bg-white/[0.055] p-1.5 backdrop-blur",children:[e.jsx(E,{"data-loc":"client/src/pages/DjsCatalog.tsx:191",className:"ml-3 size-4.5 shrink-0 text-amber-200/70"}),e.jsx($,{"data-loc":"client/src/pages/DjsCatalog.tsx:192",value:S,onChange:a=>
1k(a.target.value),placeholder:"搜尋條號、原文、篇章或程序概念",className:"h-11 border-0 bg-transparent text-stone-100 shadow-none placeholder:text-stone-600 focus-visible:ring-0"}),e.jsx(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:193",type:"submit",className:"h-10 bg-amber-200 text-[#101827] hover:bg-amber-100",children:"搜尋目錄"})]}),e.jsxs("form",{"data-loc":"client/src/pages/DjsCatalog.tsx:195",onSubmit:G,className:"flex items-center gap-2 rounded-xl border border-white/[0.1] bg-white/[0.055] p-1.5 backdrop-blur",children:[e.jsx(pe,{"data-loc":"client/src/pages/DjsCatalog.tsx:196",className:"ml-3 size-4.5 shrink-0 text-amber-200/70"}),e.jsx($,{"data-loc":"client/src/pages/DjsCatalog.tsx:197",value:_,onChange:a=>I(a.target.value),placeholder:"輸入條號,如 101 或 101-1",className:"h-11 border-0 bg-transparent text-stone-100 shadow-none placeholder:text-stone-600 focus-visible:ring-0"}),e.jsx(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:198",type:"submit",variant:"outline",className:"h-10 border-white/10 bg-white/[0.03] text-stone-200 hover:bg-white/[0.08] hover:text-white",children:"直達"})]})]})]})}),e.jsxs("section",{"data-loc":"client/src/pages/DjsCatalog.tsx:204",className:"container py-10 lg:py-14",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:205",className:"grid gap-8 lg:grid-cols-[270px_minmax(0,1fr)]",children:[e.jsx("aside",{"data-loc":"client/src/pages/DjsCatalog.tsx:206",children:e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:207",className:"sticky top-[94px] rounded-2xl border border-white/[0.08] bg-[#0a1625]/78 p-4 shadow-[0_20px_60px_rgba(0,0,0,0.16)]",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:208",className:"flex items-center gap-2 border-b border-white/[0.07] px-1 pb-4 text-sm font-semibold text-stone-200",children:[e.jsx(le,{"data-loc":"client/src/pages/DjsCatalog.tsx:208",className:"size-4 text-amber-100"}),"層級與覆蓋篩選"]}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:209",className:"mt-4 space-y-4",children:[e.jsxs("label",{"data-loc":"client/src/pages/DjsCatalog.tsx:210",className:"block text-xs text-stone-500",children:["篇",e.jsxs("select",{"data-loc":"client/src/pages/DjsCatalog.tsx:211","aria-label":"依篇篩選 DJS",value:t||"all",onChange:a=>O(a.target.value),className:"mt-2 h-11 w-full rounded-xl border border-white/[0.09] bg-[#071422] px-3 text-sm text-stone-200 outline-none focus-visible:ring-2 focus-visible:ring-amber-200/45",children:[e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:212",value:"all",children:"全部篇"}),Q.map(a=>e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:213",value:a.stableKey,children:a.displayLabel},a.stableKey))]})]}),e.jsxs("label",{"data-loc":"client/src/pages/DjsCatalog.tsx:216",className:"block text-xs text-stone-500",children:["章",e.jsxs("select",{"data-loc":"client/src/pages/DjsCatalog.tsx:217","aria-label":"依章篩選 DJS",value:r||"all",onChange:a=>V(a.target.value),disabled:!t,className:"mt-2 h-11 w-full rounded-xl border border-white/[0.09] bg-[#071422] px-3 text-sm text-stone-200 outline-none disabled:cursor-not-allowed disabled:opacity-45 focus-visible:ring-2 focus-visible:ring-amber-200/45",children:[e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:218",value:"all",children:"全部章"}),B.map(a=>e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:219",value:a.stableKey,children:a.displayLabel},a.stableKey))]})]}),e.jsxs("label",{"data-loc":"client/src/pages/DjsCatalog.tsx:222",className:"block text-xs text-stone-500",children:["節",e.jsxs("select",{"data-loc":"client/src/pages/DjsCatalog.tsx:223","aria-label":"依節篩選 DJS",value:h||"all",onChange:a=>X(a.target.value),disabled:!r||z.length===0,className:"mt-2 h-11 w-full rounded-xl border border-white/[0.09] bg-[#071422] px-3 text-sm text-stone-200 outline-none disabled:cursor-not-allowed disabled:opacity-45 focus-visible:ring-2 focus-visible:ring-amber-200/45",children:[e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:224",value:"all",children:"全部節"}),z.map(a=>e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:225",value:a.stableKey,children:a.displayLabel},a.stableKey))]})]}),e.jsxs("label",{"data-loc":"client/src/pages/DjsCatalog.tsx:228",className:"block text-xs text-stone-500",children:["公開分析狀態",e.jsxs("select",{"data-loc":"client/src/pages/DjsCatalog.tsx:229","aria-label":"依 DJS 完成狀態篩選",value:n,onChange:a=>Z(a.target.value),className:"mt-2 h-11 w-full rounded-xl border border-white/[0.09] bg-[#071422] px-3 text-sm text-stone-200 outline-none focus-visible:ring-2 focus-visible:ring-amber-200/45",children:[e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:230",value:"all",children:"全部狀態"}),e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:231",value:"missing",children:"釋義待補"}),e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:232",value:"partial",children:"部分完成"}),e.jsx("option",{"data-loc":"client/src/pages/DjsCatalog.tsx:233",value:"complete",children:"逐項完整"})]})]})]}),ee&&e.jsx(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:237",type:"button",variant:"ghost",onClick:K,className:"mt-4 w-full text-stone-500 hover:bg-white/[0.05] hover:text-stone-200",children:"清除全部條件"})]})}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:241",className:"min-w-0",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:242",className:"mb-6 flex flex-wrap items-end justify-between gap-4 border-b border-white/[0.07] pb-5",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:243",children:[e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:244",className:"text-sm font-medium text-stone-200",children:o?`搜尋「${o}」`:"全部 DJS 條文索引"}),e.jsxs("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:245",className:"mt-1 text-xs text-stone-600",children:["顯示 ",W,"–",Y,",共 ",l?.total??0," 條"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:247",className:"flex items-center gap-2 text-[11px] text-stone-600",children:[e.jsx(ce,{"data-loc":"client/src/pages/DjsCatalog.tsx:247",className:"size-3.5 text-amber-100"}
1),"無來源項次保留官方原文並標示待補"]})]}),v&&e.jsx(be,{"data-loc":"client/src/pages/DjsCatalog.tsx:250"}),w&&e.jsx("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:253",className:"grid min-h-80 place-items-center rounded-2xl border border-white/[0.08] bg-[#0a1625]/72 p-8 text-center",children:e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:254",children:[e.jsx(re,{"data-loc":"client/src/pages/DjsCatalog.tsx:254",className:"mx-auto size-10 text-stone-700"}),e.jsx("h2",{"data-loc":"client/src/pages/DjsCatalog.tsx:254",className:"mt-5 font-serif text-2xl text-stone-200",children:"DJS 目錄暫時無法載入"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:254",className:"mt-3 text-sm text-stone-500",children:"請稍後重試;官方法條頁仍可正常使用。"}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:254",className:"mt-6 flex flex-col justify-center gap-3 sm:flex-row",children:[e.jsx(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:254",type:"button",onClick:()=>void H(),className:"bg-amber-200 text-[#07111f] hover:bg-amber-100",children:"重新載入"}),e.jsx(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:254",asChild:!0,variant:"outline",className:"border-white/10 bg-white/[0.025] text-stone-200 hover:bg-white/[0.06]",children:e.jsx(j,{"data-loc":"client/src/pages/DjsCatalog.tsx:254",href:"/articles",children:"前往法條資料庫"})})]})]})}),!v&&!w&&l?.items.length===0&&e.jsx("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:259",className:"grid min-h-80 place-items-center rounded-2xl border border-white/[0.08] bg-[#0a1625]/72 p-8 text-center",children:e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:260",className:"max-w-md",children:[e.jsx(E,{"data-loc":"client/src/pages/DjsCatalog.tsx:260",className:"mx-auto size-10 text-stone-700"}),e.jsx("h2",{"data-loc":"client/src/pages/DjsCatalog.tsx:260",className:"mt-5 font-serif text-2xl text-stone-200",children:"找不到符合條件的條文"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:260",className:"mt-3 text-sm leading-7 text-stone-500",children:"請改用條號或較短的程序概念;若選擇「逐項完整」,目前 0% 覆蓋會誠實呈現空白結果。"}),e.jsx(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:260",type:"button",onClick:K,variant:"outline",className:"mt-6 border-white/10 bg-white/[0.025] text-stone-200 hover:bg-white/[0.06]",children:"返回全部索引"})]})}),!v&&!w&&l&&l.items.length>0&&e.jsx("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:265",className:"grid gap-3 md:grid-cols-2",children:l.items.map(a=>{const s=je(a.coverageStatus);return e.jsxs("article",{"data-loc":"client/src/pages/DjsCatalog.tsx:269",className:"group flex min-h-52 flex-col rounded-2xl border border-white/[0.08] bg-[#0a1625]/72 p-5 transition-all hover:-translate-y-0.5 hover:border-amber-200/20 hover:bg-[#0c1929]",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:270",className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:271",children:[e.jsxs("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:272",className:"text-[10px] tracking-[0.17em] text-stone-700",children:["ARTICLE ",a.articleNumber]}),e.jsx("h2",{"data-loc":"client/src/pages/DjsCatalog.tsx:273",className:"mt-2 font-serif text-xl font-semibold text-stone-100",children:e.jsx(j,{"data-loc":"client/src/pages/DjsCatalog.tsx:273",href:`/djs/${encodeURIComponent(a.articleNumber)}`,className:"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-amber-200/50",children:a.articleLabel})})]}),e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:275",className:oe("shrink-0 rounded-full border px-2.5 py-1 text-[10px] font-semibold",s.className),children:s.label})]}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:277",className:"mt-4 line-clamp-2 text-xs leading-6 text-stone-600",children:[a.part,a.chapter,a.section].filter(Boolean).join(" / ")||"刑事訴訟法"}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:278",className:"mt-auto pt-6",children:[e.jsx("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:279",className:"h-1 overflow-hidden rounded-full bg-white/[0.06]",children:e.jsx("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:279",className:"block h-full rounded-full bg-amber-200/75",style:{width:`${a.coveragePercent}%`}})}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:280",className:"mt-3 flex items-center justify-between text-[11px] text-stone-600",children:[e.jsxs("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:280",children:[a.analyzedParagraphs,"/",a.totalParagraphs," 項已有公開分析"]}),e.jsxs("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:280",children:[a.coveragePercent,"%"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:281",className:"mt-4 flex flex-wrap items-center justify-between gap-3 border-t border-white/[0.06] pt-4",children:[e.jsxs(j,{"data-loc":"client/src/pages/DjsCatalog.tsx:282",href:`/djs/${encodeURIComponent(a.articleNumber)}`,className:"inline-flex items-center gap-1.5 text-xs font-semibold text-amber-100 hover:text-amber-50",children:["閱讀逐項頁",e.jsx(q,{"data-loc":"client/src/pages/DjsCatalog.tsx:282",className:"size-3.5"})]}),a.sourceUrl&&e.jsxs("a",{"data-loc":"client/src/pages/DjsCatalog.tsx:283",href:a.sourceUrl,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 text-[11px] text-stone-600 hover:text-stone-300",children:["官方原文",e.jsx(ne,{"data-loc":"client/src/pages/DjsCatalog.tsx:283",className:"size-3"})]})]})]})]},a.stableKey)})}),y>1&&e.jsxs("nav",{"data-loc":"client/src/pages/DjsCatalog.tsx:293",className:"mt-8 flex items-center justify-between gap-4","aria-label":"DJS 目éŒ
1„分頁",children:[e.jsxs(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:294",type:"button",variant:"outline",disabled:g===0,onClick:()=>{i(a=>Math.max(0,a-1)),window.scrollTo({top:520,behavior:"smooth"})},className:"border-white/10 bg-white/[0.025] text-stone-300 hover:bg-white/[0.06]",children:[e.jsx(me,{"data-loc":"client/src/pages/DjsCatalog.tsx:294",className:"size-4"}),"上一頁"]}),e.jsxs("span",{"data-loc":"client/src/pages/DjsCatalog.tsx:295",className:"text-xs text-stone-600",children:["第 ",g+1," / ",y," 頁"]}),e.jsxs(d,{"data-loc":"client/src/pages/DjsCatalog.tsx:296",type:"button",variant:"outline",disabled:g+1>=y,onClick:()=>{i(a=>a+1),window.scrollTo({top:520,behavior:"smooth"})},className:"border-white/10 bg-white/[0.025] text-stone-300 hover:bg-white/[0.06]",children:["下一頁",e.jsx(q,{"data-loc":"client/src/pages/DjsCatalog.tsx:296",className:"size-4"})]})]})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/DjsCatalog.tsx:302",className:"mt-12 grid gap-4 border-t border-white/[0.07] pt-10 sm:grid-cols-2 xl:grid-cols-4",children:[e.jsxs(j,{"data-loc":"client/src/pages/DjsCatalog.tsx:303",href:"/articles",className:"rounded-2xl border border-white/[0.08] bg-white/[0.025] p-5 transition-colors hover:bg-white/[0.05]",children:[e.jsx(ie,{"data-loc":"client/src/pages/DjsCatalog.tsx:303",className:"size-5 text-amber-100"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:303",className:"mt-4 font-serif text-lg text-stone-100",children:"核對完整法條"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:303",className:"mt-2 text-xs leading-6 text-stone-600",children:"回到 712 條官方現行法規與收藏筆記。"})]}),e.jsxs(j,{"data-loc":"client/src/pages/DjsCatalog.tsx:304",href:"/charts/investigation",className:"rounded-2xl border border-white/[0.08] bg-white/[0.025] p-5 transition-colors hover:bg-white/[0.05]",children:[e.jsx(de,{"data-loc":"client/src/pages/DjsCatalog.tsx:304",className:"size-5 text-amber-100"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:304",className:"mt-4 font-serif text-lg text-stone-100",children:"進入程序九圖"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:304",className:"mt-2 text-xs leading-6 text-stone-600",children:"以六個刑訴單元與九類視覺結構建立全貌。"})]}),e.jsxs(j,{"data-loc":"client/src/pages/DjsCatalog.tsx:305",href:"/ai?prompt=DJS%20逐項研究與來源查核",className:"rounded-2xl border border-white/[0.08] bg-white/[0.025] p-5 transition-colors hover:bg-white/[0.05]",children:[e.jsx(xe,{"data-loc":"client/src/pages/DjsCatalog.tsx:305",className:"size-5 text-amber-100"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:305",className:"mt-4 font-serif text-lg text-stone-100",children:"AI 研究清單"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:305",className:"mt-2 text-xs leading-6 text-stone-600",children:"以逐項原文為起點建立查核問題,不冒充 DJS 報告。"})]}),e.jsxs("a",{"data-loc":"client/src/pages/DjsCatalog.tsx:306",href:"https://law.moj.gov.tw/LawClass/LawAll.aspx?pcode=C0010001",target:"_blank",rel:"noreferrer",className:"rounded-2xl border border-white/[0.08] bg-white/[0.025] p-5 transition-colors hover:bg-white/[0.05]",children:[e.jsx(R,{"data-loc":"client/src/pages/DjsCatalog.tsx:306",className:"size-5 text-amber-100"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:306",className:"mt-4 font-serif text-lg text-stone-100",children:"官方法規來源"}),e.jsx("p",{"data-loc":"client/src/pages/DjsCatalog.tsx:306",className:"mt-2 text-xs leading-6 text-stone-600",children:"直接開啟全國法規資料庫查核現行條文。"})]})]})]})]})})}export{ve 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.