PageSourceSearch

https://flxpoint-help-center.onrender.com/_nuxt/DzHXfxsD.js

js flxpoint-help-center.onrender.com collected 2026-10-03 11:42:12 UTC 21,102 bytes, 1 lines download raw bytes

1import{_ as Be}from"./DvwJReO8.js";import{_ as He}from"./e8S1lu3L.js";import{a as Ge}from"./D3BEbpqY.js";import{e as Ye,H as Qe,j as We,k as p,l as J,c as u,b as o,g as e,w as l,h as y,f as h,a,F as S,t as d,d as i,Q as Xe,o as n,x as z,n as T,r as M,q,i as Ke,p as Je,W as Ze,y as I}from"./Co3N-VC7.js";import{b as Z,c as ee,C as B,a as H}from"./Bgvk1N0K.js";import{B as L}from"./REg5JKM6.js";import{L as P,T as G}from"./DVsNzv4B.js";import{f as te,S as oe,c as se,d as ae,e as Y,g as et}from"./K5DSs6GQ.js";import{D as ge,a as ve,b as he,c as xe,d as tt,e as be}from"./BzoPsmKC.js";import{f as ot}from"./BuT7ZGrt.js";import{u as st}from"./CtZ9o6fk.js";import{u as le}from"./CdluDVjG.js";import{F as at}from"./PQXQKbAS.js";import{c as Q}from"./CxxjxuEl.js";import{X as lt}from"./CrCQix5k.js";import{I as nt}from"./wcev-J9a.js";import{S as ye}from"./CMUTUnL3.js";import{S as we}from"./DynU6CYy.js";import{C as rt}from"./Dratv-Za.js";import{A as it}from"./aJg-boea.js";import{C as ut}from"./5oayh5lD.js";import{L as ke}from"./BkP4RHU7.js";import{C as dt}from"./ChZKqEu9.js";import{L as pt}from"./B40AP8F3.js";import"./DI49_bfq.js";import"./B_Vf1Fy8.js";import"./BancpHVY.js";import"./BrBsnUvv.js";import"./CuV1veUk.js";import"./Cy8SPLeg.js";import"./B2yH_KGT.js";import"./nBByqvyH.js";import"./iSlDSeqS.js";import"./DJkX-KqU.js";import"./Cj0oaxFs.js";import"./BkfHIqpE.js";import"./DuUGGbOD.js";import"./gtCKk8c-.js";import"./C1jiKldv.js";import"./BCBsT_Hy.js";import"./DlAUqK2U.js";import"./CRco6ws3.js";import"./DufpuP8n.js";import"./CupYqufw.js";import"./DY29fRm-.js";import"./BWLJtf73.js";const mt=Q("clipboard-type",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M9 12v-1h6v1",key:"iehl6m"}],["path",{d:"M11 17h2",key:"12w5me"}],["path",{d:"M12 11v6",key:"1bwqyc"}]]);const ct=Q("cloud-upload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);const ft=Q("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);const gt=Q("split",[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]]),vt={key:0},ht={class:"grid gap-5 md:grid-cols-2"},xt={class:"mb-2 flex items-center gap-1.5"},bt={key:0,class:"rounded-full bg-[#607AE3]/15 px-1.5 py-0.5 text-[10px] font-semibold text-[#4659b8]"},yt={key:0,class:"mt-3 space-y-2"},wt={class:"flex h-7 w-7 shrink-0 items-center justify-center rounded-md bg-[#607AE3]/10 text-[#4659b8]"},kt={class:"min-w-0 flex-1"},_t={class:"truncate text-sm font-medium leading-tight"},At={class:"text-xs text-muted-foreground"},Ct={class:"mb-2 flex items-center gap-1.5"},St={key:0,class:"ml-auto text-xs tabular-nums text-muted-foreground"},Et={key:0,class:"mt-4 flex items-start gap-2 rounded-lg bg-[#607AE3]/[0.07] px-3 py-2 text-xs text-[#3f4f9c]"},Tt={class:"grid gap-3 sm:grid-cols-2",role:"radiogroup","aria-label":"Processing mode"},Dt=["aria-checked","onClick"],Ft={key:0,class:"absolute right-3 top-3 flex h-5 w-5 items-center justify-center rounded-full bg-[#607AE3] text-white"},Vt={class:"mb-3 mt-1 pr-4 text-xs leading-relaxed text-muted-foreground"},Rt={class:"mt-auto flex items-center gap-1.5 border-t border-dashed pt-2.5 text-[11px] font-medium text-muted-foreground"},Mt=["aria-expanded"],It={key:0,class:"rounded-full bg-[#607AE3]/15 px-2 py-0.5 text-[10px] font-semibold text-[#4659b8]"},Lt={class:"grid gap-2"},Pt={class:"grid gap-2"},$t={class:"grid gap-2"},Ut={class:"grid gap-2"},qt={class:"sticky bottom-0 z-20 mt-6 pb-1"},Nt={class:"flex flex-wrap items-center justify-between gap-x-6 gap-y-3 rounded-xl border bg-card/95 px-4 py-3 shadow-lg backdrop-blur supports-[backdrop-filter]:bg-card/80"},jt={class:"flex min-w-0 flex-1 items-start gap-2"},Ot={class:"text-sm font-medium text-destructive"},zt={key:1,class:"text-sm text-muted-foreground"},Bt={class:"font-medium text-foreground"},Ht={key:1,class:"mt-8"},Gt={key:0,class:"mt-4 flex flex-wrap gap-3"},Yt={key:1,class:"mt-3 text-xs text-muted-foreground"},Qt={class:"grid gap-3 py-2"},Wt={class:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground transition-colors group-hover:bg-[#607AE3] group-hover:text-white"},Xt={class:"min-w-0"},Kt={class:"mt-1 block text-xs leading-relaxed text-muted-foreground"},Jt={class:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground transition-colors group-hover:bg-[#607AE3] group-hover:text-white"},Qo=Ye({__name:"upload",async setup(Zt){let g,D;const N=Qe(),x=p(""),w=p(""),k=p(""),F=p(""),ne=p(""),re=p(""),_=p(""),m=p([]),$=p(!1),j=p(!1),V=p(""),c=p("smart-match"),O=p(!1),_e=[{id:"smart-match",icon:ye,title:"Sophie · Smart Match",desc:"The same pipeline Sophie runs on her own every other Monday: checks the existing docs for ones this 
1should update, and proposes a new doc only if nothing covers it.",dest:"Lands in the review queue as Sophie · Smart Match"},{id:"generate",icon:we,title:"Generate Article",desc:"Drafts one new article straight from the source, without reconciling against the KB.",dest:"Opens in the article editor"}],R=p(!1),W=We(),A=p(W.query.run&&Number.isFinite(Number(W.query.run))?Number(W.query.run):null),U=p(!1),{refresh:Ae}=st(),X=I(()=>j.value||A.value!==null&&!U.value);async function Ce(){U.value=!0,await Ae()}function Se(){A.value=null,U.value=!1,Oe(),N.replace({query:{}})}const ie=Xe("fileInput"),{data:Ee}=([g,D]=J(()=>le("/api/categories","$GdXOLNyi76")),g=await g,D(),g),{data:ue}=([g,D]=J(()=>le("/api/templates",{query:{type:"input"}},"$h7G9Ta2oPj")),g=await g,D(),g),{data:de}=([g,D]=J(()=>le("/api/templates",{query:{type:"output"}},"$P-m1pgWeYu")),g=await g,D(),g),Te=et(Ee),C=p({open:!1,field:"input",body:""});function De(r){const t=r==="input"?w.value:k.value,f=r==="input"?ne.value:re.value;return!(!t.trim()||t===f)}function pe(r,t){r==="input"?(w.value=t,ne.value=t):(k.value=t,re.value=t)}function me(r,t){if(!t)return;const E=(r==="input"?ue.value:de.value)?.find(K=>String(K.id)===t);E&&(De(r)?C.value={open:!0,field:r,body:E.prompt}:pe(r,E.prompt))}function Fe(){pe(C.value.field,C.value.body),C.value.open=!1}function Ve(){C.value.open=!1}function Re(r){$.value=!1;const t=r.dataTransfer?.files;t&&(m.value=[...m.value,...Array.from(t)])}function Me(r){const t=r.target;t.files&&(m.value=[...m.value,...Array.from(t.files)],t.value="")}function Ie(r){m.value=m.value.filter((t,f)=>f!==r)}function Le(){m.value=[]}const v=I(()=>m.value.length+(x.value.trim()?1:0)),Pe=I(()=>!!(_.value||w.value||k.value||F.value)),$e=I(()=>v.value===0?"Nothing loaded yet.":v.value===1?"1 source ready.":`${v.value} sources ready.`),Ue=I(()=>c.value==="smart-match"?"Results land in the review queue: nothing publishes without a person accepting it.":"The draft opens in the article editor: nothing publishes until you do."),qe=I(()=>X.value?c.value==="smart-match"?"Analyzing…":"Generating…":c.value==="smart-match"?"Run Sophie · Smart Match":"Generate Article");async function Ne(){const r=[];if(m.value.length>0){const t=new FormData;for(const f of m.value)t.append("file",f);r.push(...await $fetch("/api/upload",{method:"POST",body:t}))}return x.value.trim()&&r.push({filename:"Pasted text",text:x.value}),r}function je(){if(V.value="",v.value===0){V.value="Add at least one file or paste some text.";return}if(c.value==="smart-match"&&v.value>1){O.value=!0;return}ce(!1)}async function ce(r){j.value=!0,A.value=null,U.value=!1;try{const t=await Ne();if(c.value==="smart-match"){const{runId:f}=await $fetch("/api/articles/upload-and-match",{method:"POST",body:{sources:t,inputContext:w.value||void 0,outputFormat:k.value||void 0,additionalNotes:F.value||void 0,categoryId:_.value?Number(_.value):void 0,splitByFile:r,async:!0}});A.value=f,N.replace({query:{run:String(f)}})}else{const f=await $fetch("/api/articles/generate",{method:"POST",body:{sources:t,inputContext:w.value||void 0,outputFormat:k.value||void 0,additionalNotes:F.value||void 0,categoryId:_.value?Number(_.value):void 0}});await N.push(`/articles/${f.articleId}`)}}catch(t){V.value=t.data?.message||"Something went wrong during processing."}finally{j.value=!1}}function fe(r){O.value=!1,ce(r)}function Oe(){m.value=[],x.value="",V.value=""}async function ze(){await N.push("/reviews")}return(r,t)=>{const f=Be,E=He,K=Ge;return n(),u("div",null,[o(f,{title:"Upload & Process",description:"Feed the AI new material: it decides what updates existing docs, what becomes a new one, and what isn't worth documenting."}),e(A)?h("",!0):(n(),u("div",vt,[o(e(H),{class:"mt-8"},{default:l(()=>[o(e(Z),null,{default:l(()=>[o(e(ee),{class:"flex items-center gap-2.5"},{default:l(()=>[o(E,{n:1,done:e(v)>0},null,8,["done"]),t[16]||(t[16]=i("Source material ",-1))]),_:1}),t[17]||(t[17]=a("p",{class:"text-sm text-muted-foreground"},"What the article should be built from: files or pasted text.",-1))]),_:1}),o(e(B),null,{default:l(()=>[a("div",ht,[a("div",null,[a("div",xt,[o(e(P),{class:"flex items-center gap-1.5 text-muted-foreground"},{default:l(()=>[o(e(at),{class:"h-3.5 w-3.5"}),t[18]||(t[18]=i(" Files ",-1))]),_:1}),e(m).length?(n(),u("span",bt,d(e(m).length),1)):h("",!0),e(m).length>1?(n(),u("button",{key:1,type:"button",class:"ml-auto text-xs text-muted-foreground underline-offset-2 transition-colors hover:text-destructive hover:underline",onClick:Le}," Clear all ")):h("",!0)]),a("div",{class:T(["group relative flex min-h-[120px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border border-dashed px-4 py-5 text-center transition-all sm:min-h-[150px]",e($)?"border-[#607AE3] bg-[#607AE3]/[0.06] ring-2 ring-inset ring-[#607AE3]/25":"border-border bg-muted/30 hover:border-[#607AE3]/50 hover:bg-[#607AE3]/[0.04]"]),onDragover:t[0]||(t[0]=z(s=>$.value=!0,["prevent"])),onDragleave:t[1]||(t[1]=z(s=>$.value=!1,["prevent"])),onDrop:z(Re,["prevent"]),onClick:t[2]||(t[2]=s=>e(ie)?.click())},[a("input",{ref_key:"fileInput",ref:ie,type:"file",accept:".pdf,.txt,.html,.htm,.md,.png,.jpg,.jpeg,.webp,.gif",multiple:"",class:"hidden",onChange:Me},null,544),a("span",{class:T(["flex h-9 w-9 items-center justify-center rounded-full transition-colors",e($)?"bg-[#607AE3] text-white":"bg-background text-muted-foreground shadow-sm group-hover:text-[#4659b8]"])},[o(e(ct),{class:"h-5 w-5"})],2),t[19]||(t[19]=a("p",{class:"text-sm font-medium"},[i(" Drag and drop, or "),a("span",{class:"text-[#4659b8] underline-offset-2 group-hover:underline"},"click to browse")],-1)),t[20]||(t[20]=a("p",{class:"text-xs text-muted-foreground"}," PDF, TXT, HTML, Markdown, screenshots. 10MB per file. ",-1))],34),e(m).length>0?(n(),u("div",yt,[(n(!0),u(S,null,M(e(m),(s,b)=>(n(),u("div",{key:b,class:"flex items-center gap-2.5 rounded-lg border bg-muted/30 px-3 py-2 transition-colors hover:border-[#607AE3]/40"},[a("span",wt,[o(e(ft),{class:"h-3.5 w-3.5"})]),a("div",kt,[a("p",_t,d(s.name),1),a("p",At,d(e(ot)(s.size)),1)]),o(e(L),{variant:"ghost",size:"icon-sm",class:"shrink-0 text-muted-foreground hover:text-destructive","aria-label":`Remove ${s.name}`,onClick:eo=>Ie(b)},{default:l(()=>[o(e(lt),{class:"h-3.5 w-3.5"})]),_:1},8,["aria-label","onClick"])]))),128))])):h("",!0)]),a("div",null,[a("div",Ct,[o(e(P),{class:"flex items-center gap-1.5 text-muted-foreground"},{default:l(()=>[o(e(mt),{class:"h-3.5 w-3.5"}),t[21]||(t[21]=i(" Pasted text ",-1))]),_:1}
1),e(x).trim()?(n(),u("span",St,d(e(x).trim().length.toLocaleString())+" characters ",1)):h("",!0)]),o(e(G),{modelValue:e(x),"onUpdate:modelValue":t[3]||(t[3]=s=>q(x)?x.value=s:null),placeholder:"A Slack discussion, meeting notes, a support thread... alone or alongside files.",class:"min-h-[120px] max-h-[400px] overflow-y-auto rounded-xl bg-muted/30 focus-visible:bg-background sm:min-h-[150px]"},null,8,["modelValue"])])]),e(v)>1?(n(),u("p",Et,[o(e(nt),{class:"mt-px h-3.5 w-3.5 shrink-0"}),a("span",null,d(e(v))+" sources so far. You'll choose whether they cover one topic or several when you run.",1)])):h("",!0)]),_:1})]),_:1}),o(e(H),{class:"mt-4"},{default:l(()=>[o(e(Z),null,{default:l(()=>[o(e(ee),{class:"flex items-center gap-2.5"},{default:l(()=>[o(E,{n:2}),t[22]||(t[22]=i("Processing mode ",-1))]),_:1}),t[23]||(t[23]=a("p",{class:"text-sm text-muted-foreground"},"How the AI should treat it: hand it to Sophie to reconcile against the existing docs, or draft a standalone article.",-1))]),_:1}),o(e(B),null,{default:l(()=>[a("div",Tt,[(n(),u(S,null,M(_e,s=>a("button",{key:s.id,type:"button",role:"radio","aria-checked":e(c)===s.id,class:T(["group relative flex h-full flex-col rounded-xl border p-4 text-left transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#607AE3]/40",e(c)===s.id?"border-[#607AE3] bg-[#607AE3]/[0.05] shadow-sm ring-1 ring-[#607AE3]/25":"border-border hover:border-[#607AE3]/40 hover:bg-muted/40"]),onClick:b=>c.value=s.id},[e(c)===s.id?(n(),u("span",Ft,[o(e(rt),{class:"h-3 w-3"})])):h("",!0),a("span",{class:T(["flex h-9 w-9 items-center justify-center rounded-lg transition-colors",e(c)===s.id?"bg-[#607AE3] text-white shadow-sm":"bg-muted text-muted-foreground group-hover:bg-[#607AE3]/10 group-hover:text-[#4659b8]"])},[(n(),y(Ke(s.icon),{class:"h-4 w-4"}))],2),a("p",{class:T(["mt-3 text-sm font-semibold",e(c)===s.id?"text-[#3f4f9c]":""])},d(s.title),3),a("p",Vt,d(s.desc),1),a("p",Rt,[o(e(it),{class:T(["h-3 w-3",e(c)===s.id?"text-[#607AE3]":""])},null,8,["class"]),i(d(s.dest),1)])],10,Dt)),64))])]),_:1})]),_:1}),o(e(H),{class:"mt-4"},{default:l(()=>[o(e(Z),null,{default:l(()=>[o(e(ee),null,{default:l(()=>[a("button",{type:"button",class:"-m-1.5 flex w-full items-center gap-2.5 rounded-lg p-1.5 text-left transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#607AE3]/40","aria-expanded":e(R),onClick:t[4]||(t[4]=s=>R.value=!e(R))},[o(E,{n:3}),t[24]||(t[24]=a("span",{class:"font-semibold"},"Optional guidance",-1)),!e(R)&&e(Pe)?(n(),u("span",It,"set")):h("",!0),o(e(ut),{class:T(["ml-auto h-4 w-4 shrink-0 text-muted-foreground transition-transform",e(R)?"rotate-180":""])},null,8,["class"])],8,Mt)]),_:1}),t[25]||(t[25]=a("p",{class:"text-sm text-muted-foreground"},"Category, what the source is, and how the output should read. Fine to skip.",-1))]),_:1}),Je(o(e(B),{class:"grid gap-4"},{default:l(()=>[a("div",Lt,[o(e(P),{for:"category"},{default:l(()=>[...t[26]||(t[26]=[i("Category (optional)",-1)])]),_:1}),o(e(te),{modelValue:e(_),"onUpdate:modelValue":t[5]||(t[5]=s=>q(_)?_.value=s:null)},{default:l(()=>[o(e(oe),null,{default:l(()=>[o(e(se),{placeholder:"AI will suggest a category"})]),_:1}),o(e(ae),null,{default:l(()=>[(n(!0),u(S,null,M(e(Te),s=>(n(),u(S,{key:s.id},[o(e(Y),{value:String(s.id)},{default:l(()=>[i(d(s.icon?s.icon+" ":"")+d(s.name),1)]),_:2},1032,["value"]),(n(!0),u(S,null,M(s.children,b=>(n(),y(e(Y),{key:b.id,value:String(b.id),class:"pl-8"},{default:l(()=>[i(d(b.icon?b.icon+" ":"")+d(b.name),1)]),_:2},1032,["value"]))),128))],64))),128))]),_:1})]),_:1},8,["modelValue"])]),a("div",Pt,[o(e(P),null,{default:l(()=>[...t[27]||(t[27]=[i("This document is...",-1)])]),_:1}),o(e(te),{"model-value":"","onUpdate:modelValue":t[6]||(t[6]=s=>me("input",String(s??"")))},{default:l(()=>[o(e(oe),null,{default:l(()=>[o(e(se),{placeholder:"Choose a preset (optional)..."})]),_:1}),o(e(ae),null,{default:l(()=>[(n(!0),u(S,null,M(e(ue),s=>(n(),y(e(Y),{key:s.id,value:String(s.id)},{default:l(()=>[i(d(s.name),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1}),o(e(G),{modelValue:e(w),"onUpdate:modelValue":t[7]||(t[7]=s=>q(w)?w.value=s:null),placeholder:"Describe what kind of source material this is...",class:"min-h-[80px]"},null,8,["modelValue"])]),a("div",$t,[o(e(P),null,{default:l(()=>[...t[28]||(t[28]=[i("The output should be...",-1)])]),_:1}),o(e(te),{"model-value":"","onUpdate:modelValue":t[8]||(t[8]=s=>me("output",String(s??"")))},{default:l(()=>[o(e(oe),null,{default:l(()=>[o(e(se),{placeholder:"Choose a preset (optional)..."})]),_:1}),o(e(ae),null,{default:l(()=>[(n(!0),u(S,null,M(e(de),s=>(n(),y(e(Y),{key:s.id,value:String(s.id)},{default:l(()=>[i(d(s.name),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1}),o(e(G),{modelValue:e(k),"onUpdate:modelValue":t[9]||(t[9]=s=>q(k)?k.value=s:null),placeholder:"Describe what the resulting article should look like...",class:"min-h-[80px]"},null,8,["modelValue"]),t[29]||(t[29]=a("p",{class:"text-xs text-muted-foreground"},"Used when this upload generates a new article. Ignored on suggestions that update existing ones.",-1))]),a("div",Ut,[o(e(P),null,{default:l(()=>[...t[30]||(t[30]=[i("Other notes",-1)])]),_:1}),o(e(G),{modelValue:e(F),"onUpdate:modelValue":t[10]||(t[10]=s=>q(F)?F.value=s:null),placeholder:"Anything else the AI should know about this generation...",class:"min-h-[80px]"},null,8,["modelValue"])])]),_:1},512),[[Ze,e(R)]])]),_:1}),e(j)&&e(c)==="generate"?(n(),y(e(H),{key:0,class:"mt-4 border-[#607AE3]/40 bg-[#607AE3]/[0.04]"},{default:l(()=>[o(e(B),{class:"flex items-center gap-3"},{default:l(()=>[o(e(ke),{class:"h-5 w-5 shrink-0 animate-spin text-[#4659b8]"}),t[31]||(t[31]=a("div",null,[a("p",{class:"text-sm font-medium"},"Generating article…"),a("p",{class:"text-xs text-muted-foreground"}," AI is analyzing your source material and creating a structured article. This usually takes 10-30 seconds. ")],-1))]),_:1})]),_:1})):h("",!0),a("div",qt,[a("div",Nt,[a("div",jt,[e(V)?(n(),u(S,{key:0},[o(e(dt),{class:"mt-0.5 h-4 w-4 shrink-0 text-destructive"}),a("p",Ot,d(e(V)),1)],64)):(n(),u("p",zt,[a("span",Bt,d(e($e)),1),i(" "+d(e(Ue)),1)]))]),o(e(L),{size:"lg",class:"w-full bg-[#4659b8] text-white shadow-sm transition-colors hover:bg-[#3b4c9e] sm:w-auto",disabled:e(X),onClick:je},{default:l(()=>[e(X)?(n(),y(e(ke),{key:0,class:"animate-spin"})):e(c)==="smart-match"?(n(),y(e(ye),{key:1})):(n(),y(e(we),{key:2})),i(" "+d(e(qe)),1)]),_:1},8,["disabled"])])])])),e(A)?(n(),u("div",Ht,[(n(),y(K,{key:e(A),"run-id":e(A),onFinished:Ce},null,8,["run-id"])),e(U)?(n(),u("div",Gt,[o(e(L),{onClick:ze},{default:l(()=>[...t[32]||(t[32]=[i("Go to Review Queue",-1)])]),_:1}),o(e(L),{variant:"outline",onClick:Se},{default:l(()=>[...t[33]||(t[33]=[i("Start another upload",-1)])]),_:1})])):(n(),u("p",Yt," You can leave this page: the run keeps going on the server and its results land in Reviews and Activity. "))])):h("",!0),o(e(be),{open:e(C).open,"onUpdate:open":t[11]||(t[11]=s=>e(C).open=s)},{default:l(()=>[o(e(ge),null,{default:l(()=>[o(e(ve),null,{default:l(()=>[o(e(he),null,{default:l(()=>[...t[34]||(t[34]=[i("Replace your edits?",-1)])]),_:1}),o(e(xe),null,{default:l(()=>[i(" You've edited the "+d(e(C).field==="input"?"input description":"output format")+" field. Lo
1ading this preset will replace your changes. ",1)]),_:1})]),_:1}),o(e(tt),null,{default:l(()=>[o(e(L),{variant:"outline",onClick:Ve},{default:l(()=>[...t[35]||(t[35]=[i("Cancel",-1)])]),_:1}),o(e(L),{onClick:Fe},{default:l(()=>[...t[36]||(t[36]=[i("Replace",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),o(e(be),{open:e(O),"onUpdate:open":t[15]||(t[15]=s=>O.value=s)},{default:l(()=>[o(e(ge),{class:"sm:max-w-lg",onInteractOutside:t[14]||(t[14]=z(()=>{},["prevent"]))},{default:l(()=>[o(e(ve),null,{default:l(()=>[o(e(he),null,{default:l(()=>[i("How should we analyze these "+d(e(v))+" sources?",1)]),_:1}),o(e(xe),null,{default:l(()=>[...t[37]||(t[37]=[i(" You've selected Smart Match, so we need to ask: do these sources cover one topic, or several? ",-1)])]),_:1})]),_:1}),a("div",Qt,[a("button",{type:"button",class:"group flex items-start gap-3 rounded-xl border p-4 text-left transition-all hover:border-[#607AE3] hover:bg-[#607AE3]/[0.05] hover:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#607AE3]/40",onClick:t[12]||(t[12]=s=>fe(!1))},[a("span",Wt,[o(e(pt),{class:"h-4 w-4"})]),a("span",Xt,[t[38]||(t[38]=a("span",{class:"block text-sm font-semibold"},"Combined: one topic",-1)),a("span",Kt," Treat all "+d(e(v))+" sources as one (e.g. a transcript plus the slides for the same feature, or a file plus the Slack thread about it). ",1)])]),a("button",{type:"button",class:"group flex items-start gap-3 rounded-xl border p-4 text-left transition-all hover:border-[#607AE3] hover:bg-[#607AE3]/[0.05] hover:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#607AE3]/40",onClick:t[13]||(t[13]=s=>fe(!0))},[a("span",Jt,[o(e(gt),{class:"h-4 w-4"})]),t[39]||(t[39]=a("span",{class:"min-w-0"},[a("span",{class:"block text-sm font-semibold"},"Separately: distinct topics"),a("span",{class:"mt-1 block text-xs leading-relaxed text-muted-foreground"}," Run Smart Match once per source. Each one gets its own similar-article matches and new-article suggestion. ")],-1))])])]),_:1})]),_:1},8,["open"])])}}});export{Qo 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.