PageSourceSearch

https://zhidu-guji.surge.sh/assets/Story-BSM9KZDk.js

js zhidu-guji.surge.sh collected 2026-10-03 14:57:27 UTC 20,948 bytes, 1 lines download raw bytes

1import{r as i,j as e}from"./vendor-Cwnt0uRb.js";import{c as $}from"./data-XoOyqNrE.js";import{P as W,I as r,F as X}from"./entry-index-C3Num_HY.js";import{s as j,g as Z}from"./data-DdQWoiW8.js";import"./data-DLzH34ke.js";import"./vendor-Cbn70ZEN.js";function le(){const[B,R]=i.useState(!0);i.useEffect(()=>{const s=setTimeout(()=>R(!1),600);return()=>clearTimeout(s)},[]);const[I,G]=i.useState($[0]),[w,P]=i.useState($[0].chapters[0]),[d,M]=i.useState([]),[o,b]=i.useState(0),[K,D]=i.useState(!0),[u,m]=i.useState(!1),[L,k]=i.useState("forward"),[A,N]=i.useState(0),[f,V]=i.useState("predefined"),[l,T]=i.useState(0),[x,v]=i.useState(0),[g,C]=i.useState(null),a=i.useRef(null);i.useEffect(()=>{(async()=>{D(!0),b(0),N(0);try{const t=await X(w);M(t)}catch{M([])}finally{D(!1)}})()},[w]);const y=i.useCallback((s,t)=>{s<0||s>=d.length||(a.current&&(clearInterval(a.current),a.current=null),k(t),N(c=>c+1),b(s),m(!1))},[d.length]),_=i.useCallback(()=>{if(u){m(!1),a.current&&(clearInterval(a.current),a.current=null);return}m(!0),a.current=setInterval(()=>{b(s=>s>=d.length-1?(a.current&&(clearInterval(a.current),a.current=null),m(!1),s):(k("forward"),N(t=>t+1),s+1))},6e3)},[u,d.length]),h=d[o],E=i.useCallback(s=>{a.current&&(clearInterval(a.current),a.current=null),m(!1),V(s)},[]),O=i.useCallback(s=>{a.current&&(clearInterval(a.current),a.current=null),m(!1),b(0),G(s),P(s.chapters[0])},[]),q=i.useCallback(s=>{a.current&&(clearInterval(a.current),a.current=null),m(!1),b(0),P(s)},[]),n=j[l],p=i.useCallback((s,t)=>{s<0||s>=j.length||(a.current&&(clearInterval(a.current),a.current=null),k(t),N(c=>c+1),T(s),v(0),C(null),m(!1))},[]),z=i.useCallback(()=>{if(u){m(!1),a.current&&(clearInterval(a.current),a.current=null);return}m(!0);const s=n.dialogue.length;a.current=setInterval(()=>{v(t=>t>=s-1?l<j.length-1?(T(c=>c+1),N(c=>c+1),k("forward"),0):(a.current&&(clearInterval(a.current),a.current=null),m(!1),t):t+1)},4e3)},[u,n,l]);i.useEffect(()=>()=>{a.current&&clearInterval(a.current)},[]);const H=i.useCallback(()=>{const s=n.dialogue.length;x<s-1?v(t=>t+1):l<j.length-1&&p(l+1,"forward")},[x,n,l,p]),U=i.useCallback(()=>{x>0?v(s=>s-1):l>0&&(p(l-1,"backward"),v(j[l-1].dialogue.length-1))},[x,l,p]),F=i.useMemo(()=>f==="predefined"&&n?n.characters:[],[f,n]),S=i.useMemo(()=>{if(f!=="predefined"||!n)return[];const s=n.dialogue;return g?s.filter(t=>t.speaker===g):s.slice(0,x+1)},[f,n,g,x]),Y=s=>{switch(s){case"wise":return"from-guji-brown via-guji-gold/40 to-guji-cream";case"peaceful":return"from-guji-jade/80 via-guji-tea/40 to-guji-cream";case"tense":return"from-guji-seal/80 via-guji-brown/40 to-guji-cream";case"emotional":return"from-guji-ink via-guji-brown/40 to-guji-cream";default:return"from-guji-gold via-guji-cream to-guji-paper"}},J=s=>({wise:"睿智",peaceful:"宁静",tense:"紧张",emotional:"深情"})[s]||"叙事",Q=s=>s||"";return e.jsx(e.Fragment,{children:B?e.jsx(W,{columns:1}):e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 text-guji-brown mb-4",children:[e.jsx(r,{name:"drama",className:"w-6 h-6"}),e.jsx("span",{className:"text-sm tracking-wider",children:"MULTIMODAL STORYTELLING"})]}),e.jsx("h2",{className:"text-3xl md:text-5xl font-serif font-bold text-guji-ink mb-4",children:"情景演绎"}),e.jsx("p",{className:"text-guji-brown text-lg max-w-2xl mx-auto",children:"把文字变成画面,让古人活在眼前 —— 沉浸式感受千年之前的智慧对话"})]}),e.jsx("div",{className:"flex justify-center mb-8",children:e.jsxs("div",{className:"flex gap-2 p-1 bg-guji-cream rounded-xl",children:[e.jsx("button",{onClick:()=>E("predefined"),className:`btn-tactile px-6 py-2.5 rounded-lg font-medium text-sm ${f==="predefined"?"bg-guji-ink text-guji-cream shadow-md":"text-guji-ink hover:bg-guji-gold/20"}`,children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(r,{name:"drama",className:"w-4 h-4"}),"经典情景"]})}),e.jsx("button",{onClick:()=>E("chapter"),className:`btn-tactile px-6 py-2.5 rounded-lg font-medium text-sm ${f==="chapter"?"bg-guji-ink text-guji-cream shadow-md":"text-guji-ink hover:bg-guji-gold/20"}`,children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(r,{name:"book-open",className:"w-4 h-4"}),"典籍场景"]})})]})}),e.jsxs("div",{className:"grid lg:grid-cols-12 gap-8",children:[e.jsx("div",{className:"lg:col-span-3 space-y-4",children:f==="predefined"?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"card p-6",children:[e.jsx("h3",{className:"text-lg font-serif font-semibold text-guji-ink mb-4",children:"经典情景"}),e.jsx("div",{className:"space-y-2",children:j.map((s,t)=>e.jsx("button",{onClick:()=>p(t,t>l?"forward":"backward"),className:`w-full text-left p-3 rounded-xl transition-colors ${l===t?"bg-guji-ink text-guji-cream":"hover:bg-guji-cream text-guji-ink"}`,children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded-full ${l===t?"bg-guji-gold/30 text-guji-cream":"bg-guji-gold/20 text-guji-brown"}`,children:t+1}),e.jsx("span",{className:"font-serif text-sm truncate",children:s.title.split("·")[0]})]})},s.id))})]}),F.length>0&&e.jsxs("div",{className:"card p-6",children:[e.jsx("h3",{className:"text-lg font-serif font-semibold text-guji-ink mb-4",children:"人物介绍"}),e.jsxs("div",{className:"space-y-3",children:[F.map((s,t)=>e.jsxs("button",{onClick:()=>C(g===s.name?null:s.name),className:`w-full text-left p-3 rounded-xl transition-colors ${g===s.name?"bg-guji-gold/20 border border-guji-gold/40":"hover:bg-guji-cream border border-transparent"}`,children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("div",{className:"w-7 h-7 rounded-full bg-guji-gold/30 flex items-center justify-center text-xs font-serif font-bold text-guji-ink",children:s.name.charAt(0)}),e.jsx("span",{className:"font-serif text-sm text-guji-ink",children:s.name})]}),e.jsx("p",{className:"text-xs text-guji-brown",children:s.role}),e.jsx("p",{className:"text-xs text-guji-brown/70 mt-1",children:s.personality})]},t)),g&&e.jsx("button",{onClick:()=>C(null),className:"w-full text-center py-1.5 text-xs text-guji-brown hover:text-guji-ink transition-colors",children:"显示全部对话"})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"card p-6",children:[e.jsx("h3",{className:"text-lg font-serif font-semibold text-guji-ink mb-4",children:"选择典籍"}),e.jsx("div",{className:"space-y-2",children:$.map(s=>e.jsx("button",{onClick:()=>O(s),className:`w-full text-left p-3 rounded-xl transition-colors ${I.id===s.id?"bg-guji-ink text-guji-cream":"hover:bg-guji-cream text-guji-ink"}`,children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-8 h-10 rounded flex items-center justify-center text-guji-cream font-serif text-sm",style:{backgroundColor:s.coverColor},children:s.title.charAt(0)}),e.jsx("span",{className:"font-serif text-sm",children:s.title})]})},s.id))})]}),e.jsxs("div",{className:"card p-6",children:[e.jsx("h3",{className:"text-lg font-serif font-semibold text-guji-ink mb-4",children:"选择章节"}),e.jsx("div",{className:"space-y-2",children:I.chapters.map(s=>e.jsx("button",{onClick:()=>q(s),className:`w-full text-left p-3 rounded-xl text-sm transition-colors ${w.id===s.id?"bg-guji-gold text-guji-ink":"hover:bg-guji-cream text-guji-ink"}`,children:e.jsx("span",{className:"font-serif",children:s.title})},s.id))})]}),d.length>0&&e.jsxs("div",{className:"card p-6",children:[e.jsx("h3",{className:"text-lg font-serif font-semibold text-guji-ink mb-4",children:"场景导航"}),e.jsx("div",{className:"space-y-2",children:d.map((s,t)=>e.jsx("button",{onClick:()=>y(t,t>o?"forward":"backward"),className:`w-full text-left p-3 rounded-xl text-sm transition-colors ${o===t?"bg-guji-ink text-guji-cream":"hover:bg-guji-cream text-guji-ink"}`,children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"text-xs opacity-60",children:["场景 ",t+1]}),e.jsx("span",{className:"font-serif truncate",children:s.title.split(":")[1]||s.title})]})},s.id))})]})]})}),e.jsx("div",{className:"lg:col-span-9",children:f==="predefined"?e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:`card overflow-hidden animate-scene-enter ${L==="forward"?"animate-scene-forward":"animate-scene-backward"}`,children:[e.jsx("div",{className:"h-48 flex items-center justify-center text-guji-brown/40 border-b border-guji-gold/10",style:{background:`linear-gradient(135deg, ${n.mood==="peaceful"?"rgba(34,139,87,0.08)":n.mood==="tense"?"rgba(139,69,19,0.08)":n.mood==="wise"?"rgba(218,165,32,0.08)":"rgba(128,0,0,0.08)"}, transparent)`},dangerouslySetInnerHTML:{__html:Z(n.svgKey)}}),e.jsxs("div",{className:"p-8",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsxs("span",{className:"text-xs px-2 py-1 bg-guji-gold/20 text-guji-brown rounded-full",children:["场景 ",l+1," / ",j.length]}),e.jsx("span",{className:"text-xs px-2 py-1 bg-guji-cream text-guji-brown rounded-full",children:n.mood==="peaceful"?"宁静":n.mood==="tense"?"紧张":n.mood==="wise"?"睿智":"感怀"})]}),e.jsx("h2",{className:"text-2xl font-serif font-bold text-guji-ink mb-3",children:n.title}),e.jsx("p",{className:"text-guji-brown leading-loose mb-6 italic",children:n.description}),e.jsx("div",{className:"bg-guji-cream/50 rounded-xl p-4 mb-6 border-l-4 border-l-guji-gold",children:e.jsx("p",{className:"text-sm text-guji-ink leading-loose",children:n.narration})}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"text-xs text-guji-brown",children:"对话进度"}),e.jsx("span",{className:"text-xs text-guji-brown",children:g?`${S.length}条`:`${x+1} / ${n.dialogue.length}`})]}),e.jsx("div",{className:"h-2 bg-guji-cream rounded-full overflow-hidden",children:e.jsx("div",{className:"h-full bg-gradient-to-r from-guji-gold to-guji-seal transition-[width] duration-500",style:{width:g?"100%":`${(x+1)/n.dialogue.length*100}%`}})})]}),e.jsx("div",{className:"space-y-4 mb-6 min-h-[200px]",children:S.map((s,t)=>{const c=!g&&t===S.length-1;return e.jsxs("div",{className:`flex gap-3 ${c?"animate-msg-enter":""}`,children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-guji-gold/30 flex items-center justify-center text-sm font-serif font-bold text-guji-ink",children:s.speaker.charAt(0)}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"font-serif text-sm text-guji-brown mb-1",children:s.speaker}),e.jsx("p",{className:"text-guji-ink leading-relaxed",children:s.text})]})]},t)})}),!g&&e.jsxs("div",{className:"flex items-center justify-between gap-4 pt-4 border-t border-guji-gold/10",children:[e.jsx("button",{onClick:U,disabled:x===0&&l===0,className:"px-4 py-2 rounded-lg bg-guji-cream text-guji-ink text-sm hover:bg-guji-gold/20 transition-colors disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(r,{name:"arrow-left",className:"w-4 h-4"}),"上一句"]})}),e.jsx("button",{onClick:z,className:"px-6 py-2 rounded-lg bg-guji-ink text-guji-cream text-sm hover:bg-guji-ink/80 transition-colors",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:[u?e.jsx(r,{name:"pause",className:"w-4 h-4"}):e.jsx(r,{name:"play",className:"w-4 h-4"}),u?"暂停":"自动播放"]})}),e.jsx("button",{onClick:H,disabled:x===n.dialogue.length-1&&l===j.length-1,className:"px-4 py-2 rounded-lg bg-guji-cream text-guji-ink text-sm hover:bg-guji-gold/20 transition-colors disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:["下一句",e.jsx(r,{name:"arrow-right",className:"w-4 h-4"})]})})]}),e.jsxs("div",{className:"mt-6 p-3 bg-guji-cream/30 rounded-lg flex items-center gap-2",children:[e.jsx(r,{name:"music",className:"w-4 h-4 text-guji-brown"}),e.jsxs("span",{className:"text-xs text-guji-brown",children:["配乐建议:",n.musicSuggestion]})]})]})]},A),e.jsxs("div",{className:"card p-6",children:[e.jsx("h3",{className:"text-lg font-serif font-semibold text-guji-ink mb-3",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(r,{name:"clock",className:"w-5 h-5"}),"历史背景"]})}),e.jsx("p",{className:"text-sm text-guji-ink/80 leading-loose",children:n.historicalBackgroun
1d})]}),e.jsxs("div",{className:"card p-6",children:[e.jsx("h3",{className:"text-lg font-serif font-semibold text-guji-ink mb-3",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(r,{name:"lightbulb",className:"w-5 h-5"}),"思想内涵解读"]})}),e.jsx("p",{className:"text-sm text-guji-ink/80 leading-loose",children:n.thoughtInterpretation})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("button",{onClick:()=>p(l-1,"backward"),disabled:l===0,className:"btn-tactile px-6 py-3 rounded-xl bg-guji-cream text-guji-ink hover:bg-guji-gold/20 disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(r,{name:"arrow-left",className:"w-5 h-5"}),"上一场景"]})}),e.jsxs("span",{className:"text-sm text-guji-brown",children:[l+1," / ",j.length]}),e.jsx("button",{onClick:()=>p(l+1,"forward"),disabled:l===j.length-1,className:"btn-tactile btn-ripple px-6 py-3 rounded-xl bg-guji-ink text-guji-cream hover:bg-guji-ink/80 disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:["下一场景",e.jsx(r,{name:"arrow-right",className:"w-5 h-5"})]})})]})]}):K?e.jsx("div",{className:"card p-12 text-center min-h-[600px] flex flex-col items-center justify-center",children:e.jsxs("div",{className:"animate-pulse",children:[e.jsx("div",{className:"mb-8 flex justify-center text-guji-ink",children:e.jsx(r,{name:"play",className:"w-16 h-16"})}),e.jsx("h3",{className:"text-2xl font-serif font-semibold text-guji-ink mb-4",children:"正在构建场景..."}),e.jsx("p",{className:"text-guji-brown",children:"AI 正在分析文本,还原历史场景"})]})}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:`card overflow-hidden animate-scene-enter ${L==="forward"?"animate-scene-fade-slide-in":""}`,children:[e.jsxs("div",{className:`relative h-64 md:h-80 bg-gradient-to-br ${Y(h?.mood||"peaceful")} flex items-center justify-center overflow-hidden`,children:[e.jsx("div",{className:"absolute top-10 left-10 text-6xl opacity-20 font-serif text-guji-ink transition-transform duration-700",children:h?.dialogue[0]?.speaker?.charAt(0)||"道"}),e.jsx("div",{className:"absolute bottom-10 right-10 text-6xl opacity-20 font-serif text-guji-ink transition-transform duration-700",children:h?.dialogue[h.dialogue.length-1]?.speaker?.charAt(0)||"言"}),e.jsx("div",{className:"absolute top-1/2 left-1/4 opacity-10 transition-transform duration-1000 text-guji-ink",children:e.jsx(r,{name:"leaf",className:"w-8 h-8"})}),e.jsx("div",{className:"absolute bottom-1/4 right-1/3 opacity-10 transition-transform duration-1000 text-guji-ink",children:e.jsx(r,{name:"sparkles",className:"w-8 h-8"})}),e.jsx("div",{className:"absolute top-4 right-4 px-3 py-1 rounded-full bg-white/20 backdrop-blur-sm text-xs font-serif text-guji-ink/70",children:J(h?.mood||"peaceful")}),e.jsxs("div",{className:"relative z-10 text-center px-8",children:[e.jsxs("div",{className:"text-sm text-guji-ink/60 mb-2 font-serif",children:["场景 ",o+1," / ",d.length]}),e.jsx("h3",{className:"text-3xl md:text-4xl font-serif font-bold text-guji-ink",children:h?.title})]}),e.jsxs("div",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 flex items-center gap-3",children:[d.map((s,t)=>e.jsx("div",{className:`h-1.5 rounded-full transition-[width,background-color] duration-500 ${t===o?"w-8 bg-guji-ink":t<o?"w-4 bg-guji-ink/40":"w-4 bg-guji-ink/20"}`},t)),e.jsxs("span",{className:"text-xs text-guji-ink/50 font-medium ml-2",children:[Math.round((o+1)/d.length*100),"%"]})]})]}),e.jsxs("div",{className:"p-8",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("div",{className:"text-xs text-guji-brown mb-2",children:"— 场景叙述 —"}),e.jsx("p",{className:"text-lg text-guji-ink leading-loose font-serif italic",children:h?.narration})]}),e.jsx("div",{className:"space-y-6",children:h?.dialogue.map((s,t)=>{const c=t%2===0;return e.jsxs("div",{className:`flex items-end gap-3 ${c?"justify-start":"justify-end flex-row-reverse"}`,style:{animationDelay:`${t*200}ms`},children:[e.jsx("div",{className:`w-10 h-10 rounded-full flex items-center justify-center text-sm font-serif font-bold flex-shrink-0 transition-transform duration-300 ${c?"bg-guji-gold text-guji-ink":"bg-guji-brown text-guji-cream"}`,children:s.speaker.charAt(0)}),e.jsxs("div",{className:`max-w-[75%] ${c?"animate-dialogue-left":"animate-dialogue-right"}`,children:[e.jsx("div",{className:`text-xs font-medium mb-1.5 px-2 py-0.5 rounded-full inline-block ${c?"text-guji-brown bg-guji-cream":"text-guji-gold bg-guji-ink/50"}`,children:s.speaker}),e.jsx("div",{className:`p-5 rounded-2xl transition-colors duration-300 ${c?"bg-guji-cream rounded-tl-none border border-guji-gold/30":"bg-guji-ink text-guji-cream rounded-tr-none"}`,children:e.jsx("p",{className:"font-serif leading-relaxed text-lg",children:s.text})})]})]},t)})}),e.jsx("div",{className:"mt-8 p-5 bg-gradient-to-r from-guji-cream/80 to-guji-paper rounded-xl border border-guji-gold/20",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex-shrink-0 text-guji-ink",children:e.jsx(r,{name:"palette",className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsxs("h5",{className:"text-sm font-medium text-guji-ink mb-1 flex items-center gap-2",children:["意境画面",e.jsx("span",{className:"text-xs text-guji-brown font-normal",children:"Visual Scene"})]}),e.jsx("p",{className:"text-sm text-guji-brown leading-relaxed font-serif",children:Q(h?.visualPrompt)})]})]})})]}),e.jsx("div",{className:"px-8 py-6 bg-guji-cream/30 border-t border-guji-gold/20",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("button",{onClick:()=>y(o-1,"backward"),disabled:o===0,className:"px-4 py-2 text-guji-ink hover:text-guji-brown disabled:opacity-30 transition-colors font-medium",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(r,{name:"arrow-left",className:"w-5 h-5"}),"上一场"]})}),e.jsxs("button",{onClick:_,className:`px-8 py-3 rounded-xl font-medium flex items-center gap-2 transition-colors duration-300 ${u?"bg-guji-brown text-guji-cream animate-play-pulse":"bg-guji-ink text-guji-cream hover:bg-guji-brown"}`,children:[e.jsx("span",{className:`transition-transform duration-300 ${u?"scale-110":"scale-100"}`,children:u?e.jsx(r,{name:"pause",className:"w-5 h-5"}):e.jsx(r,{name:"play",className:"w-5 h-5"})}),e.jsx("span",{className:"transition-colors duration-300",children:u?"暂停自动播放":"自动播放场景"})]}),e.jsx("button",{onClick:()=>y(o+1,"forward"),disabled:o===d.length-1,className:"px-4 py-2 text-guji-ink hover:text-guji-brown disabled:opacity-30 transition-colors font-medium",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:["下一场",e.
1jsx(r,{name:"arrow-right",className:"w-5 h-5"})]})})]})})]},A),e.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:d.map((s,t)=>e.jsxs("button",{onClick:()=>y(t,t>o?"forward":"backward"),className:`text-left p-4 rounded-xl border-2 transition-[transform,border-color,box-shadow] duration-300 ${o===t?"border-guji-ink bg-guji-paper shadow-lg scale-[1.02]":"border-guji-gold/20 bg-guji-paper hover:border-guji-gold hover:scale-[1.01]"}`,children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("span",{className:`w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold transition-colors duration-300 ${o===t?"bg-guji-ink text-guji-cream":"bg-guji-gold/20 text-guji-brown"}`,children:t+1}),e.jsx("span",{className:"text-sm font-serif text-guji-ink",children:s.title.split(":")[1]||s.title})]}),e.jsxs("p",{className:"text-xs text-guji-brown line-clamp-2 leading-relaxed",children:[s.narration.slice(0,50),"..."]})]},s.id))}),e.jsxs("div",{className:"card p-6",children:[e.jsx("h4",{className:"text-sm font-medium text-guji-brown mb-4",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(r,{name:"scroll",className:"w-4 h-4"}),"原文参考"]})}),e.jsx("blockquote",{className:"font-serif text-xl text-guji-ink leading-loose p-6 bg-guji-cream/50 rounded-xl border-l-4 border-l-guji-gold",children:w.originalText})]})]})})]})]})})}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.